UNPKG

4.26 MBJavaScriptView Raw
1exports.load = function(_cli_pkg_requires) {
2// make sure to keep this as 'var'
3// we don't want block scoping
4
5var dartNodePreambleSelf = typeof global !== "undefined" ? global : window;
6
7var self = Object.create(dartNodePreambleSelf);
8
9self.scheduleImmediate = typeof setImmediate !== "undefined"
10 ? function (cb) {
11 setImmediate(cb);
12 }
13 : function(cb) {
14 setTimeout(cb, 0);
15 };
16
17// CommonJS globals.
18self.exports = exports;
19
20// Node.js specific exports, check to see if they exist & or polyfilled
21
22if (typeof process !== "undefined") {
23 self.process = process;
24}
25
26if (typeof __dirname !== "undefined") {
27 self.__dirname = __dirname;
28}
29
30if (typeof __filename !== "undefined") {
31 self.__filename = __filename;
32}
33
34if (typeof Buffer !== "undefined") {
35 self.Buffer = Buffer;
36}
37
38// if we're running in a browser, Dart supports most of this out of box
39// make sure we only run these in Node.js environment
40
41var dartNodeIsActuallyNode = !dartNodePreambleSelf.window
42
43try {
44 // Check if we're in a Web Worker instead.
45 if ("undefined" !== typeof WorkerGlobalScope && dartNodePreambleSelf instanceof WorkerGlobalScope) {
46 dartNodeIsActuallyNode = false;
47 }
48
49 // Check if we're in Electron, with Node.js integration, and override if true.
50 if ("undefined" !== typeof process && process.versions && process.versions.hasOwnProperty('electron') && process.versions.hasOwnProperty('node')) {
51 dartNodeIsActuallyNode = true;
52 }
53} catch(e) {}
54
55if (dartNodeIsActuallyNode) {
56 // This line is to:
57 // 1) Prevent Webpack from bundling.
58 // 2) In Webpack on Node.js, make sure we're using the native Node.js require, which is available via __non_webpack_require__
59 // https://github.com/mbullington/node_preamble.dart/issues/18#issuecomment-527305561
60 var url = ("undefined" !== typeof __webpack_require__ ? __non_webpack_require__ : require)("url");
61
62 // Setting `self.location=` in Electron throws a `TypeError`, so we define it
63 // as a property instead to be safe.
64 Object.defineProperty(self, "location", {
65 value: {
66 get href() {
67 if (url.pathToFileURL) {
68 return url.pathToFileURL(process.cwd()).href + "/";
69 } else {
70 // This isn't really a correct transformation, but it's the best we have
71 // for versions of Node <10.12.0 which introduced `url.pathToFileURL()`.
72 // For example, it will fail for paths that contain characters that need
73 // to be escaped in URLs.
74 return "file://" + (function() {
75 var cwd = process.cwd();
76 if (process.platform != "win32") return cwd;
77 return "/" + cwd.replace(/\\/g, "/");
78 })() + "/"
79 }
80 }
81 }
82 });
83
84 (function() {
85 function computeCurrentScript() {
86 try {
87 throw new Error();
88 } catch(e) {
89 var stack = e.stack;
90 var re = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg");
91 var lastMatch = null;
92 do {
93 var match = re.exec(stack);
94 if (match != null) lastMatch = match;
95 } while (match != null);
96 return lastMatch[1];
97 }
98 }
99
100 // Setting `self.document=` isn't known to throw an error anywhere like
101 // `self.location=` does on Electron, but it's better to be future-proof
102 // just in case..
103 var cachedCurrentScript = null;
104 Object.defineProperty(self, "document", {
105 value: {
106 get currentScript() {
107 if (cachedCurrentScript == null) {
108 cachedCurrentScript = {src: computeCurrentScript()};
109 }
110 return cachedCurrentScript;
111 }
112 }
113 });
114 })();
115
116 self.dartDeferredLibraryLoader = function(uri, successCallback, errorCallback) {
117 try {
118 load(uri);
119 successCallback();
120 } catch (error) {
121 errorCallback(error);
122 }
123 };
124}
125
126self.util = require("util");
127self.immutable = require("immutable");
128self.fs = require("fs");
129self.chokidar = _cli_pkg_requires.chokidar;
130self.readline = _cli_pkg_requires.readline;
131// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, no-legacy-javascript, csp), the Dart to JavaScript compiler version: 2.16.2.
132// The code supports the following hooks:
133// dartPrint(message):
134// if this function is defined it is called instead of the Dart [print]
135// method.
136//
137// dartMainRunner(main, args):
138// if this function is defined, the Dart [main] method will not be invoked
139// directly. Instead, a closure that will invoke [main], and its arguments
140// [args] is passed to [dartMainRunner].
141//
142// dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId):
143// if this function is defined, it will be called when a deferred library
144// is loaded. It should load and eval the javascript of `uri`, and call
145// successCallback. If it fails to do so, it should call errorCallback with
146// an error. The loadId argument is the deferred import that resulted in
147// this uri being loaded.
148//
149// dartCallInstrumentation(id, qualifiedName):
150// if this function is defined, it will be called at each entry of a
151// method or constructor. Used only when compiling programs with
152// --experiment-call-instrumentation.
153(function dartProgram() {
154 function copyProperties(from, to) {
155 var keys = Object.keys(from);
156 for (var i = 0; i < keys.length; i++) {
157 var key = keys[i];
158 to[key] = from[key];
159 }
160 }
161 function mixinPropertiesHard(from, to) {
162 var keys = Object.keys(from);
163 for (var i = 0; i < keys.length; i++) {
164 var key = keys[i];
165 if (!to.hasOwnProperty(key))
166 to[key] = from[key];
167 }
168 }
169 function mixinPropertiesEasy(from, to) {
170 Object.assign(to, from);
171 }
172 var supportsDirectProtoAccess = function() {
173 var cls = function() {
174 };
175 cls.prototype = {p: {}};
176 var object = new cls();
177 if (!(object.__proto__ && object.__proto__.p === cls.prototype.p))
178 return false;
179 try {
180 if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0)
181 return true;
182 if (typeof version == "function" && version.length == 0) {
183 var v = version();
184 if (/^\d+\.\d+\.\d+\.\d+$/.test(v))
185 return true;
186 }
187 } catch (_) {
188 }
189 return false;
190 }();
191 function setFunctionNamesIfNecessary(holders) {
192 function t() {
193 }
194 ;
195 if (typeof t.name == "string")
196 return;
197 for (var i = 0; i < holders.length; i++) {
198 var holder = holders[i];
199 var keys = Object.keys(holder);
200 for (var j = 0; j < keys.length; j++) {
201 var key = keys[j];
202 var f = holder[key];
203 if (typeof f == "function")
204 f.name = key;
205 }
206 }
207 }
208 function inherit(cls, sup) {
209 cls.prototype.constructor = cls;
210 cls.prototype["$is" + cls.name] = cls;
211 if (sup != null) {
212 if (supportsDirectProtoAccess) {
213 cls.prototype.__proto__ = sup.prototype;
214 return;
215 }
216 var clsPrototype = Object.create(sup.prototype);
217 copyProperties(cls.prototype, clsPrototype);
218 cls.prototype = clsPrototype;
219 }
220 }
221 function inheritMany(sup, classes) {
222 for (var i = 0; i < classes.length; i++)
223 inherit(classes[i], sup);
224 }
225 function mixinEasy(cls, mixin) {
226 mixinPropertiesEasy(mixin.prototype, cls.prototype);
227 cls.prototype.constructor = cls;
228 }
229 function mixinHard(cls, mixin) {
230 mixinPropertiesHard(mixin.prototype, cls.prototype);
231 cls.prototype.constructor = cls;
232 }
233 function lazyOld(holder, name, getterName, initializer) {
234 var uninitializedSentinel = holder;
235 holder[name] = uninitializedSentinel;
236 holder[getterName] = function() {
237 holder[getterName] = function() {
238 A.throwCyclicInit(name);
239 };
240 var result;
241 var sentinelInProgress = initializer;
242 try {
243 if (holder[name] === uninitializedSentinel) {
244 result = holder[name] = sentinelInProgress;
245 result = holder[name] = initializer();
246 } else
247 result = holder[name];
248 } finally {
249 if (result === sentinelInProgress)
250 holder[name] = null;
251 holder[getterName] = function() {
252 return this[name];
253 };
254 }
255 return result;
256 };
257 }
258 function lazy(holder, name, getterName, initializer) {
259 var uninitializedSentinel = holder;
260 holder[name] = uninitializedSentinel;
261 holder[getterName] = function() {
262 if (holder[name] === uninitializedSentinel)
263 holder[name] = initializer();
264 holder[getterName] = function() {
265 return this[name];
266 };
267 return holder[name];
268 };
269 }
270 function lazyFinal(holder, name, getterName, initializer) {
271 var uninitializedSentinel = holder;
272 holder[name] = uninitializedSentinel;
273 holder[getterName] = function() {
274 if (holder[name] === uninitializedSentinel) {
275 var value = initializer();
276 if (holder[name] !== uninitializedSentinel)
277 A.throwLateFieldADI(name);
278 holder[name] = value;
279 }
280 var finalValue = holder[name];
281 holder[getterName] = function() {
282 return finalValue;
283 };
284 return finalValue;
285 };
286 }
287 function makeConstList(list) {
288 list.immutable$list = Array;
289 list.fixed$length = Array;
290 return list;
291 }
292 function convertToFastObject(properties) {
293 function t() {
294 }
295 t.prototype = properties;
296 new t();
297 return properties;
298 }
299 function convertAllToFastObject(arrayOfObjects) {
300 for (var i = 0; i < arrayOfObjects.length; ++i)
301 convertToFastObject(arrayOfObjects[i]);
302 }
303 var functionCounter = 0;
304 function instanceTearOffGetter(isIntercepted, parameters) {
305 var cache = null;
306 return isIntercepted ? function(receiver) {
307 if (cache === null)
308 cache = A.closureFromTearOff(parameters);
309 return new cache(receiver, this);
310 } : function() {
311 if (cache === null)
312 cache = A.closureFromTearOff(parameters);
313 return new cache(this, null);
314 };
315 }
316 function staticTearOffGetter(parameters) {
317 var cache = null;
318 return function() {
319 if (cache === null)
320 cache = A.closureFromTearOff(parameters).prototype;
321 return cache;
322 };
323 }
324 var typesOffset = 0;
325 function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
326 if (typeof funType == "number")
327 funType += typesOffset;
328 return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
329 }
330 function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
331 var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
332 var getterFunction = staticTearOffGetter(parameters);
333 holder[getterName] = getterFunction;
334 }
335 function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
336 isIntercepted = !!isIntercepted;
337 var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
338 var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
339 prototype[getterName] = getterFunction;
340 }
341 function setOrUpdateInterceptorsByTag(newTags) {
342 var tags = init.interceptorsByTag;
343 if (!tags) {
344 init.interceptorsByTag = newTags;
345 return;
346 }
347 copyProperties(newTags, tags);
348 }
349 function setOrUpdateLeafTags(newTags) {
350 var tags = init.leafTags;
351 if (!tags) {
352 init.leafTags = newTags;
353 return;
354 }
355 copyProperties(newTags, tags);
356 }
357 function updateTypes(newTypes) {
358 var types = init.types;
359 var length = types.length;
360 types.push.apply(types, newTypes);
361 return length;
362 }
363 function updateHolder(holder, newHolder) {
364 copyProperties(newHolder, holder);
365 return holder;
366 }
367 var hunkHelpers = function() {
368 var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
369 return function(container, getterName, name, funType) {
370 return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
371 };
372 },
373 mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
374 return function(container, getterName, name, funType) {
375 return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
376 };
377 };
378 return {inherit: inherit, inheritMany: inheritMany, mixin: mixinEasy, mixinHard: mixinHard, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, ["call$0"], 0), _instance_1u: mkInstance(0, 1, null, ["call$1"], 0), _instance_2u: mkInstance(0, 2, null, ["call$2"], 0), _instance_0i: mkInstance(1, 0, null, ["call$0"], 0), _instance_1i: mkInstance(1, 1, null, ["call$1"], 0), _instance_2i: mkInstance(1, 2, null, ["call$2"], 0), _static_0: mkStatic(0, null, ["call$0"], 0), _static_1: mkStatic(1, null, ["call$1"], 0), _static_2: mkStatic(2, null, ["call$2"], 0), makeConstList: makeConstList, lazy: lazy, lazyFinal: lazyFinal, lazyOld: lazyOld, updateHolder: updateHolder, convertToFastObject: convertToFastObject, setFunctionNamesIfNecessary: setFunctionNamesIfNecessary, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags};
379 }();
380 function initializeDeferredHunk(hunk) {
381 typesOffset = init.types.length;
382 hunk(hunkHelpers, init, holders, $);
383 }
384 var A = {JS_CONST: function JS_CONST() {
385 },
386 CastIterable_CastIterable(source, $S, $T) {
387 if ($S._eval$1("EfficientLengthIterable<0>")._is(source))
388 return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
389 return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
390 },
391 LateError$fieldADI(fieldName) {
392 return new A.LateError("Field '" + fieldName + "' has been assigned during initialization.");
393 },
394 LateError$localNI(localName) {
395 return new A.LateError("Local '" + localName + "' has not been initialized.");
396 },
397 hexDigitValue(char) {
398 var letter,
399 digit = char ^ 48;
400 if (digit <= 9)
401 return digit;
402 letter = char | 32;
403 if (97 <= letter && letter <= 102)
404 return letter - 87;
405 return -1;
406 },
407 SystemHash_combine(hash, value) {
408 hash = hash + value & 536870911;
409 hash = hash + ((hash & 524287) << 10) & 536870911;
410 return hash ^ hash >>> 6;
411 },
412 SystemHash_finish(hash) {
413 hash = hash + ((hash & 67108863) << 3) & 536870911;
414 hash ^= hash >>> 11;
415 return hash + ((hash & 16383) << 15) & 536870911;
416 },
417 checkNotNullable(value, $name, $T) {
418 return value;
419 },
420 SubListIterable$(_iterable, _start, _endOrLength, $E) {
421 A.RangeError_checkNotNegative(_start, "start");
422 if (_endOrLength != null) {
423 A.RangeError_checkNotNegative(_endOrLength, "end");
424 if (_start > _endOrLength)
425 A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
426 }
427 return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
428 },
429 MappedIterable_MappedIterable(iterable, $function, $S, $T) {
430 if (type$.EfficientLengthIterable_dynamic._is(iterable))
431 return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
432 return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
433 },
434 TakeIterable_TakeIterable(iterable, takeCount, $E) {
435 var _s9_ = "takeCount";
436 A.ArgumentError_checkNotNull(takeCount, _s9_);
437 A.RangeError_checkNotNegative(takeCount, _s9_);
438 if (type$.EfficientLengthIterable_dynamic._is(iterable))
439 return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
440 return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
441 },
442 SkipIterable_SkipIterable(iterable, count, $E) {
443 var _s5_ = "count";
444 if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
445 A.ArgumentError_checkNotNull(count, _s5_);
446 A.RangeError_checkNotNegative(count, _s5_);
447 return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
448 }
449 A.ArgumentError_checkNotNull(count, _s5_);
450 A.RangeError_checkNotNegative(count, _s5_);
451 return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
452 },
453 FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
454 if ($E._eval$1("EfficientLengthIterable<0>")._is(second))
455 return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
456 return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
457 },
458 IterableElementError_noElement() {
459 return new A.StateError("No element");
460 },
461 IterableElementError_tooMany() {
462 return new A.StateError("Too many elements");
463 },
464 IterableElementError_tooFew() {
465 return new A.StateError("Too few elements");
466 },
467 Sort_sort(a, compare) {
468 A.Sort__doSort(a, 0, J.get$length$asx(a) - 1, compare);
469 },
470 Sort__doSort(a, left, right, compare) {
471 if (right - left <= 32)
472 A.Sort__insertionSort(a, left, right, compare);
473 else
474 A.Sort__dualPivotQuicksort(a, left, right, compare);
475 },
476 Sort__insertionSort(a, left, right, compare) {
477 var i, t1, el, j, j0;
478 for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
479 el = t1.$index(a, i);
480 j = i;
481 while (true) {
482 if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
483 break;
484 j0 = j - 1;
485 t1.$indexSet(a, j, t1.$index(a, j0));
486 j = j0;
487 }
488 t1.$indexSet(a, j, el);
489 }
490 },
491 Sort__dualPivotQuicksort(a, left, right, compare) {
492 var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, t2,
493 sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
494 index1 = left + sixth,
495 index5 = right - sixth,
496 index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
497 index2 = index3 - sixth,
498 index4 = index3 + sixth,
499 t1 = J.getInterceptor$asx(a),
500 el1 = t1.$index(a, index1),
501 el2 = t1.$index(a, index2),
502 el3 = t1.$index(a, index3),
503 el4 = t1.$index(a, index4),
504 el5 = t1.$index(a, index5);
505 if (compare.call$2(el1, el2) > 0) {
506 t0 = el2;
507 el2 = el1;
508 el1 = t0;
509 }
510 if (compare.call$2(el4, el5) > 0) {
511 t0 = el5;
512 el5 = el4;
513 el4 = t0;
514 }
515 if (compare.call$2(el1, el3) > 0) {
516 t0 = el3;
517 el3 = el1;
518 el1 = t0;
519 }
520 if (compare.call$2(el2, el3) > 0) {
521 t0 = el3;
522 el3 = el2;
523 el2 = t0;
524 }
525 if (compare.call$2(el1, el4) > 0) {
526 t0 = el4;
527 el4 = el1;
528 el1 = t0;
529 }
530 if (compare.call$2(el3, el4) > 0) {
531 t0 = el4;
532 el4 = el3;
533 el3 = t0;
534 }
535 if (compare.call$2(el2, el5) > 0) {
536 t0 = el5;
537 el5 = el2;
538 el2 = t0;
539 }
540 if (compare.call$2(el2, el3) > 0) {
541 t0 = el3;
542 el3 = el2;
543 el2 = t0;
544 }
545 if (compare.call$2(el4, el5) > 0) {
546 t0 = el5;
547 el5 = el4;
548 el4 = t0;
549 }
550 t1.$indexSet(a, index1, el1);
551 t1.$indexSet(a, index3, el3);
552 t1.$indexSet(a, index5, el5);
553 t1.$indexSet(a, index2, t1.$index(a, left));
554 t1.$indexSet(a, index4, t1.$index(a, right));
555 less = left + 1;
556 great = right - 1;
557 if (J.$eq$(compare.call$2(el2, el4), 0)) {
558 for (k = less; k <= great; ++k) {
559 ak = t1.$index(a, k);
560 comp = compare.call$2(ak, el2);
561 if (comp === 0)
562 continue;
563 if (comp < 0) {
564 if (k !== less) {
565 t1.$indexSet(a, k, t1.$index(a, less));
566 t1.$indexSet(a, less, ak);
567 }
568 ++less;
569 } else
570 for (; true;) {
571 comp = compare.call$2(t1.$index(a, great), el2);
572 if (comp > 0) {
573 --great;
574 continue;
575 } else {
576 great0 = great - 1;
577 if (comp < 0) {
578 t1.$indexSet(a, k, t1.$index(a, less));
579 less0 = less + 1;
580 t1.$indexSet(a, less, t1.$index(a, great));
581 t1.$indexSet(a, great, ak);
582 great = great0;
583 less = less0;
584 break;
585 } else {
586 t1.$indexSet(a, k, t1.$index(a, great));
587 t1.$indexSet(a, great, ak);
588 great = great0;
589 break;
590 }
591 }
592 }
593 }
594 pivots_are_equal = true;
595 } else {
596 for (k = less; k <= great; ++k) {
597 ak = t1.$index(a, k);
598 if (compare.call$2(ak, el2) < 0) {
599 if (k !== less) {
600 t1.$indexSet(a, k, t1.$index(a, less));
601 t1.$indexSet(a, less, ak);
602 }
603 ++less;
604 } else if (compare.call$2(ak, el4) > 0)
605 for (; true;)
606 if (compare.call$2(t1.$index(a, great), el4) > 0) {
607 --great;
608 if (great < k)
609 break;
610 continue;
611 } else {
612 great0 = great - 1;
613 if (compare.call$2(t1.$index(a, great), el2) < 0) {
614 t1.$indexSet(a, k, t1.$index(a, less));
615 less0 = less + 1;
616 t1.$indexSet(a, less, t1.$index(a, great));
617 t1.$indexSet(a, great, ak);
618 less = less0;
619 } else {
620 t1.$indexSet(a, k, t1.$index(a, great));
621 t1.$indexSet(a, great, ak);
622 }
623 great = great0;
624 break;
625 }
626 }
627 pivots_are_equal = false;
628 }
629 t2 = less - 1;
630 t1.$indexSet(a, left, t1.$index(a, t2));
631 t1.$indexSet(a, t2, el2);
632 t2 = great + 1;
633 t1.$indexSet(a, right, t1.$index(a, t2));
634 t1.$indexSet(a, t2, el4);
635 A.Sort__doSort(a, left, less - 2, compare);
636 A.Sort__doSort(a, great + 2, right, compare);
637 if (pivots_are_equal)
638 return;
639 if (less < index1 && great > index5) {
640 for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
641 ++less;
642 for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
643 --great;
644 for (k = less; k <= great; ++k) {
645 ak = t1.$index(a, k);
646 if (compare.call$2(ak, el2) === 0) {
647 if (k !== less) {
648 t1.$indexSet(a, k, t1.$index(a, less));
649 t1.$indexSet(a, less, ak);
650 }
651 ++less;
652 } else if (compare.call$2(ak, el4) === 0)
653 for (; true;)
654 if (compare.call$2(t1.$index(a, great), el4) === 0) {
655 --great;
656 if (great < k)
657 break;
658 continue;
659 } else {
660 great0 = great - 1;
661 if (compare.call$2(t1.$index(a, great), el2) < 0) {
662 t1.$indexSet(a, k, t1.$index(a, less));
663 less0 = less + 1;
664 t1.$indexSet(a, less, t1.$index(a, great));
665 t1.$indexSet(a, great, ak);
666 less = less0;
667 } else {
668 t1.$indexSet(a, k, t1.$index(a, great));
669 t1.$indexSet(a, great, ak);
670 }
671 great = great0;
672 break;
673 }
674 }
675 A.Sort__doSort(a, less, great, compare);
676 } else
677 A.Sort__doSort(a, less, great, compare);
678 },
679 _CastIterableBase: function _CastIterableBase() {
680 },
681 CastIterator: function CastIterator(t0, t1) {
682 this._source = t0;
683 this.$ti = t1;
684 },
685 CastIterable: function CastIterable(t0, t1) {
686 this._source = t0;
687 this.$ti = t1;
688 },
689 _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
690 this._source = t0;
691 this.$ti = t1;
692 },
693 _CastListBase: function _CastListBase() {
694 },
695 _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
696 this.$this = t0;
697 this.compare = t1;
698 },
699 CastList: function CastList(t0, t1) {
700 this._source = t0;
701 this.$ti = t1;
702 },
703 CastSet: function CastSet(t0, t1, t2) {
704 this._source = t0;
705 this._emptySet = t1;
706 this.$ti = t2;
707 },
708 CastMap: function CastMap(t0, t1) {
709 this._source = t0;
710 this.$ti = t1;
711 },
712 CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
713 this.$this = t0;
714 this.f = t1;
715 },
716 CastMap_entries_closure: function CastMap_entries_closure(t0) {
717 this.$this = t0;
718 },
719 LateError: function LateError(t0) {
720 this._message = t0;
721 },
722 CodeUnits: function CodeUnits(t0) {
723 this._string = t0;
724 },
725 nullFuture_closure: function nullFuture_closure() {
726 },
727 SentinelValue: function SentinelValue() {
728 },
729 EfficientLengthIterable: function EfficientLengthIterable() {
730 },
731 ListIterable: function ListIterable() {
732 },
733 SubListIterable: function SubListIterable(t0, t1, t2, t3) {
734 var _ = this;
735 _.__internal$_iterable = t0;
736 _._start = t1;
737 _._endOrLength = t2;
738 _.$ti = t3;
739 },
740 ListIterator: function ListIterator(t0, t1) {
741 var _ = this;
742 _.__internal$_iterable = t0;
743 _.__internal$_length = t1;
744 _.__internal$_index = 0;
745 _.__internal$_current = null;
746 },
747 MappedIterable: function MappedIterable(t0, t1, t2) {
748 this.__internal$_iterable = t0;
749 this._f = t1;
750 this.$ti = t2;
751 },
752 EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
753 this.__internal$_iterable = t0;
754 this._f = t1;
755 this.$ti = t2;
756 },
757 MappedIterator: function MappedIterator(t0, t1) {
758 this.__internal$_current = null;
759 this._iterator = t0;
760 this._f = t1;
761 },
762 MappedListIterable: function MappedListIterable(t0, t1, t2) {
763 this._source = t0;
764 this._f = t1;
765 this.$ti = t2;
766 },
767 WhereIterable: function WhereIterable(t0, t1, t2) {
768 this.__internal$_iterable = t0;
769 this._f = t1;
770 this.$ti = t2;
771 },
772 WhereIterator: function WhereIterator(t0, t1) {
773 this._iterator = t0;
774 this._f = t1;
775 },
776 ExpandIterable: function ExpandIterable(t0, t1, t2) {
777 this.__internal$_iterable = t0;
778 this._f = t1;
779 this.$ti = t2;
780 },
781 ExpandIterator: function ExpandIterator(t0, t1, t2) {
782 var _ = this;
783 _._iterator = t0;
784 _._f = t1;
785 _._currentExpansion = t2;
786 _.__internal$_current = null;
787 },
788 TakeIterable: function TakeIterable(t0, t1, t2) {
789 this.__internal$_iterable = t0;
790 this._takeCount = t1;
791 this.$ti = t2;
792 },
793 EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
794 this.__internal$_iterable = t0;
795 this._takeCount = t1;
796 this.$ti = t2;
797 },
798 TakeIterator: function TakeIterator(t0, t1) {
799 this._iterator = t0;
800 this._remaining = t1;
801 },
802 SkipIterable: function SkipIterable(t0, t1, t2) {
803 this.__internal$_iterable = t0;
804 this._skipCount = t1;
805 this.$ti = t2;
806 },
807 EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
808 this.__internal$_iterable = t0;
809 this._skipCount = t1;
810 this.$ti = t2;
811 },
812 SkipIterator: function SkipIterator(t0, t1) {
813 this._iterator = t0;
814 this._skipCount = t1;
815 },
816 SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
817 this.__internal$_iterable = t0;
818 this._f = t1;
819 this.$ti = t2;
820 },
821 SkipWhileIterator: function SkipWhileIterator(t0, t1) {
822 this._iterator = t0;
823 this._f = t1;
824 this._hasSkipped = false;
825 },
826 EmptyIterable: function EmptyIterable(t0) {
827 this.$ti = t0;
828 },
829 EmptyIterator: function EmptyIterator() {
830 },
831 FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
832 this.__internal$_first = t0;
833 this._second = t1;
834 this.$ti = t2;
835 },
836 EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
837 this.__internal$_first = t0;
838 this._second = t1;
839 this.$ti = t2;
840 },
841 FollowedByIterator: function FollowedByIterator(t0, t1) {
842 this._currentIterator = t0;
843 this._nextIterable = t1;
844 },
845 WhereTypeIterable: function WhereTypeIterable(t0, t1) {
846 this._source = t0;
847 this.$ti = t1;
848 },
849 WhereTypeIterator: function WhereTypeIterator(t0, t1) {
850 this._source = t0;
851 this.$ti = t1;
852 },
853 FixedLengthListMixin: function FixedLengthListMixin() {
854 },
855 UnmodifiableListMixin: function UnmodifiableListMixin() {
856 },
857 UnmodifiableListBase: function UnmodifiableListBase() {
858 },
859 ReversedListIterable: function ReversedListIterable(t0, t1) {
860 this._source = t0;
861 this.$ti = t1;
862 },
863 Symbol: function Symbol(t0) {
864 this.__internal$_name = t0;
865 },
866 __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
867 },
868 ConstantMap_ConstantMap$from(other, $K, $V) {
869 var allStrings, k, object, t2,
870 keys = A.List_List$from(other.get$keys(other), true, $K),
871 t1 = keys.length,
872 _i = 0;
873 while (true) {
874 if (!(_i < t1)) {
875 allStrings = true;
876 break;
877 }
878 k = keys[_i];
879 if (typeof k != "string" || "__proto__" === k) {
880 allStrings = false;
881 break;
882 }
883 ++_i;
884 }
885 if (allStrings) {
886 object = {};
887 for (_i = 0; t2 = keys.length, _i < t2; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
888 k = keys[_i];
889 object[k] = other.$index(0, k);
890 }
891 return new A.ConstantStringMap(t2, object, keys, $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantStringMap<1,2>"));
892 }
893 return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
894 },
895 ConstantMap__throwUnmodifiable() {
896 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
897 },
898 instantiate1(f, T1) {
899 var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>"));
900 t1.Instantiation$1(f);
901 return t1;
902 },
903 unminifyOrTag(rawClassName) {
904 var preserved = init.mangledGlobalNames[rawClassName];
905 if (preserved != null)
906 return preserved;
907 return rawClassName;
908 },
909 isJsIndexable(object, record) {
910 var result;
911 if (record != null) {
912 result = record.x;
913 if (result != null)
914 return result;
915 }
916 return type$.JavaScriptIndexingBehavior_dynamic._is(object);
917 },
918 S(value) {
919 var result;
920 if (typeof value == "string")
921 return value;
922 if (typeof value == "number") {
923 if (value !== 0)
924 return "" + value;
925 } else if (true === value)
926 return "true";
927 else if (false === value)
928 return "false";
929 else if (value == null)
930 return "null";
931 result = J.toString$0$(value);
932 return result;
933 },
934 Primitives_objectHashCode(object) {
935 var t1, hash,
936 property = $.Primitives__identityHashCodeProperty;
937 if (property == null) {
938 t1 = Symbol("identityHashCode");
939 property = $.Primitives__identityHashCodeProperty = t1;
940 }
941 hash = object[property];
942 if (hash == null) {
943 hash = Math.random() * 0x3fffffff | 0;
944 object[property] = hash;
945 }
946 return hash;
947 },
948 Primitives_parseInt(source, radix) {
949 var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
950 match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
951 if (match == null)
952 return _null;
953 decimalMatch = match[3];
954 if (radix == null) {
955 if (decimalMatch != null)
956 return parseInt(source, 10);
957 if (match[2] != null)
958 return parseInt(source, 16);
959 return _null;
960 }
961 if (radix < 2 || radix > 36)
962 throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
963 if (radix === 10 && decimalMatch != null)
964 return parseInt(source, 10);
965 if (radix < 10 || decimalMatch == null) {
966 maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
967 digitsPart = match[1];
968 for (t1 = digitsPart.length, i = 0; i < t1; ++i)
969 if ((B.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode)
970 return _null;
971 }
972 return parseInt(source, radix);
973 },
974 Primitives_parseDouble(source) {
975 var result, trimmed;
976 if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
977 return null;
978 result = parseFloat(source);
979 if (isNaN(result)) {
980 trimmed = B.JSString_methods.trim$0(source);
981 if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
982 return result;
983 return null;
984 }
985 return result;
986 },
987 Primitives_objectTypeName(object) {
988 return A.Primitives__objectTypeNameNewRti(object);
989 },
990 Primitives__objectTypeNameNewRti(object) {
991 var interceptor, dispatchName, t1, $constructor, constructorName;
992 if (object instanceof A.Object)
993 return A._rtiToString(A.instanceType(object), null);
994 interceptor = J.getInterceptor$(object);
995 if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
996 dispatchName = B.C_JS_CONST(object);
997 t1 = dispatchName !== "Object" && dispatchName !== "";
998 if (t1)
999 return dispatchName;
1000 $constructor = object.constructor;
1001 if (typeof $constructor == "function") {
1002 constructorName = $constructor.name;
1003 if (typeof constructorName == "string")
1004 t1 = constructorName !== "Object" && constructorName !== "";
1005 else
1006 t1 = false;
1007 if (t1)
1008 return constructorName;
1009 }
1010 }
1011 return A._rtiToString(A.instanceType(object), null);
1012 },
1013 Primitives_currentUri() {
1014 if (!!self.location)
1015 return self.location.href;
1016 return null;
1017 },
1018 Primitives__fromCharCodeApply(array) {
1019 var result, i, i0, chunkEnd,
1020 end = array.length;
1021 if (end <= 500)
1022 return String.fromCharCode.apply(null, array);
1023 for (result = "", i = 0; i < end; i = i0) {
1024 i0 = i + 500;
1025 chunkEnd = i0 < end ? i0 : end;
1026 result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
1027 }
1028 return result;
1029 },
1030 Primitives_stringFromCodePoints(codePoints) {
1031 var t1, _i, i,
1032 a = A._setArrayType([], type$.JSArray_int);
1033 for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
1034 i = codePoints[_i];
1035 if (!A._isInt(i))
1036 throw A.wrapException(A.argumentErrorValue(i));
1037 if (i <= 65535)
1038 a.push(i);
1039 else if (i <= 1114111) {
1040 a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
1041 a.push(56320 + (i & 1023));
1042 } else
1043 throw A.wrapException(A.argumentErrorValue(i));
1044 }
1045 return A.Primitives__fromCharCodeApply(a);
1046 },
1047 Primitives_stringFromCharCodes(charCodes) {
1048 var t1, _i, i;
1049 for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
1050 i = charCodes[_i];
1051 if (!A._isInt(i))
1052 throw A.wrapException(A.argumentErrorValue(i));
1053 if (i < 0)
1054 throw A.wrapException(A.argumentErrorValue(i));
1055 if (i > 65535)
1056 return A.Primitives_stringFromCodePoints(charCodes);
1057 }
1058 return A.Primitives__fromCharCodeApply(charCodes);
1059 },
1060 Primitives_stringFromNativeUint8List(charCodes, start, end) {
1061 var i, result, i0, chunkEnd;
1062 if (end <= 500 && start === 0 && end === charCodes.length)
1063 return String.fromCharCode.apply(null, charCodes);
1064 for (i = start, result = ""; i < end; i = i0) {
1065 i0 = i + 500;
1066 chunkEnd = i0 < end ? i0 : end;
1067 result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
1068 }
1069 return result;
1070 },
1071 Primitives_stringFromCharCode(charCode) {
1072 var bits;
1073 if (0 <= charCode) {
1074 if (charCode <= 65535)
1075 return String.fromCharCode(charCode);
1076 if (charCode <= 1114111) {
1077 bits = charCode - 65536;
1078 return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
1079 }
1080 }
1081 throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
1082 },
1083 Primitives_lazyAsJsDate(receiver) {
1084 if (receiver.date === void 0)
1085 receiver.date = new Date(receiver._core$_value);
1086 return receiver.date;
1087 },
1088 Primitives_getYear(receiver) {
1089 var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
1090 return t1;
1091 },
1092 Primitives_getMonth(receiver) {
1093 var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
1094 return t1;
1095 },
1096 Primitives_getDay(receiver) {
1097 var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
1098 return t1;
1099 },
1100 Primitives_getHours(receiver) {
1101 var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
1102 return t1;
1103 },
1104 Primitives_getMinutes(receiver) {
1105 var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
1106 return t1;
1107 },
1108 Primitives_getSeconds(receiver) {
1109 var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
1110 return t1;
1111 },
1112 Primitives_getMilliseconds(receiver) {
1113 var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
1114 return t1;
1115 },
1116 Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
1117 var $arguments, namedArgumentList, t1 = {};
1118 t1.argumentCount = 0;
1119 $arguments = [];
1120 namedArgumentList = [];
1121 t1.argumentCount = positionalArguments.length;
1122 B.JSArray_methods.addAll$1($arguments, positionalArguments);
1123 t1.names = "";
1124 if (namedArguments != null && !namedArguments.get$isEmpty(namedArguments))
1125 namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
1126 "" + t1.argumentCount;
1127 return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
1128 },
1129 Primitives_applyFunction($function, positionalArguments, namedArguments) {
1130 var t1, argumentCount, jsStub;
1131 if (Array.isArray(positionalArguments))
1132 t1 = namedArguments == null || namedArguments.get$isEmpty(namedArguments);
1133 else
1134 t1 = false;
1135 if (t1) {
1136 argumentCount = positionalArguments.length;
1137 if (argumentCount === 0) {
1138 if (!!$function.call$0)
1139 return $function.call$0();
1140 } else if (argumentCount === 1) {
1141 if (!!$function.call$1)
1142 return $function.call$1(positionalArguments[0]);
1143 } else if (argumentCount === 2) {
1144 if (!!$function.call$2)
1145 return $function.call$2(positionalArguments[0], positionalArguments[1]);
1146 } else if (argumentCount === 3) {
1147 if (!!$function.call$3)
1148 return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
1149 } else if (argumentCount === 4) {
1150 if (!!$function.call$4)
1151 return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
1152 } else if (argumentCount === 5)
1153 if (!!$function.call$5)
1154 return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
1155 jsStub = $function["call" + "$" + argumentCount];
1156 if (jsStub != null)
1157 return jsStub.apply($function, positionalArguments);
1158 }
1159 return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
1160 },
1161 Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
1162 var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2,
1163 $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic),
1164 argumentCount = $arguments.length,
1165 requiredParameterCount = $function.$requiredArgCount;
1166 if (argumentCount < requiredParameterCount)
1167 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1168 defaultValuesClosure = $function.$defaultValues;
1169 t1 = defaultValuesClosure == null;
1170 defaultValues = !t1 ? defaultValuesClosure() : null;
1171 interceptor = J.getInterceptor$($function);
1172 jsFunction = interceptor["call*"];
1173 if (typeof jsFunction == "string")
1174 jsFunction = interceptor[jsFunction];
1175 if (t1) {
1176 if (namedArguments != null && namedArguments.get$isNotEmpty(namedArguments))
1177 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1178 if (argumentCount === requiredParameterCount)
1179 return jsFunction.apply($function, $arguments);
1180 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1181 }
1182 if (Array.isArray(defaultValues)) {
1183 if (namedArguments != null && namedArguments.get$isNotEmpty(namedArguments))
1184 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1185 maxArguments = requiredParameterCount + defaultValues.length;
1186 if (argumentCount > maxArguments)
1187 return A.Primitives_functionNoSuchMethod($function, $arguments, null);
1188 if (argumentCount < maxArguments) {
1189 missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
1190 if ($arguments === positionalArguments)
1191 $arguments = A.List_List$of($arguments, true, type$.dynamic);
1192 B.JSArray_methods.addAll$1($arguments, missingDefaults);
1193 }
1194 return jsFunction.apply($function, $arguments);
1195 } else {
1196 if (argumentCount > requiredParameterCount)
1197 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1198 if ($arguments === positionalArguments)
1199 $arguments = A.List_List$of($arguments, true, type$.dynamic);
1200 keys = Object.keys(defaultValues);
1201 if (namedArguments == null)
1202 for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
1203 defaultValue = defaultValues[keys[_i]];
1204 if (B.C__Required === defaultValue)
1205 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1206 B.JSArray_methods.add$1($arguments, defaultValue);
1207 }
1208 else {
1209 for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
1210 t2 = keys[_i];
1211 if (namedArguments.containsKey$1(t2)) {
1212 ++used;
1213 B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
1214 } else {
1215 defaultValue = defaultValues[t2];
1216 if (B.C__Required === defaultValue)
1217 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1218 B.JSArray_methods.add$1($arguments, defaultValue);
1219 }
1220 }
1221 if (used !== namedArguments.get$length(namedArguments))
1222 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1223 }
1224 return jsFunction.apply($function, $arguments);
1225 }
1226 },
1227 diagnoseIndexError(indexable, index) {
1228 var $length, _s5_ = "index";
1229 if (!A._isInt(index))
1230 return new A.ArgumentError(true, index, _s5_, null);
1231 $length = J.get$length$asx(indexable);
1232 if (index < 0 || index >= $length)
1233 return A.IndexError$(index, indexable, _s5_, null, $length);
1234 return A.RangeError$value(index, _s5_, null);
1235 },
1236 diagnoseRangeError(start, end, $length) {
1237 if (start < 0 || start > $length)
1238 return A.RangeError$range(start, 0, $length, "start", null);
1239 if (end != null)
1240 if (end < start || end > $length)
1241 return A.RangeError$range(end, start, $length, "end", null);
1242 return new A.ArgumentError(true, end, "end", null);
1243 },
1244 argumentErrorValue(object) {
1245 return new A.ArgumentError(true, object, null, null);
1246 },
1247 checkNum(value) {
1248 return value;
1249 },
1250 wrapException(ex) {
1251 var wrapper, t1;
1252 if (ex == null)
1253 ex = new A.NullThrownError();
1254 wrapper = new Error();
1255 wrapper.dartException = ex;
1256 t1 = A.toStringWrapper;
1257 if ("defineProperty" in Object) {
1258 Object.defineProperty(wrapper, "message", {get: t1});
1259 wrapper.name = "";
1260 } else
1261 wrapper.toString = t1;
1262 return wrapper;
1263 },
1264 toStringWrapper() {
1265 return J.toString$0$(this.dartException);
1266 },
1267 throwExpression(ex) {
1268 throw A.wrapException(ex);
1269 },
1270 throwConcurrentModificationError(collection) {
1271 throw A.wrapException(A.ConcurrentModificationError$(collection));
1272 },
1273 TypeErrorDecoder_extractPattern(message) {
1274 var match, $arguments, argumentsExpr, expr, method, receiver;
1275 message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
1276 match = message.match(/\\\$[a-zA-Z]+\\\$/g);
1277 if (match == null)
1278 match = A._setArrayType([], type$.JSArray_String);
1279 $arguments = match.indexOf("\\$arguments\\$");
1280 argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
1281 expr = match.indexOf("\\$expr\\$");
1282 method = match.indexOf("\\$method\\$");
1283 receiver = match.indexOf("\\$receiver\\$");
1284 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);
1285 },
1286 TypeErrorDecoder_provokeCallErrorOn(expression) {
1287 return function($expr$) {
1288 var $argumentsExpr$ = "$arguments$";
1289 try {
1290 $expr$.$method$($argumentsExpr$);
1291 } catch (e) {
1292 return e.message;
1293 }
1294 }(expression);
1295 },
1296 TypeErrorDecoder_provokePropertyErrorOn(expression) {
1297 return function($expr$) {
1298 try {
1299 $expr$.$method$;
1300 } catch (e) {
1301 return e.message;
1302 }
1303 }(expression);
1304 },
1305 JsNoSuchMethodError$(_message, match) {
1306 var t1 = match == null,
1307 t2 = t1 ? null : match.method;
1308 return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
1309 },
1310 unwrapException(ex) {
1311 if (ex == null)
1312 return new A.NullThrownFromJavaScriptException(ex);
1313 if (ex instanceof A.ExceptionAndStackTrace)
1314 return A.saveStackTrace(ex, ex.dartException);
1315 if (typeof ex !== "object")
1316 return ex;
1317 if ("dartException" in ex)
1318 return A.saveStackTrace(ex, ex.dartException);
1319 return A._unwrapNonDartException(ex);
1320 },
1321 saveStackTrace(ex, error) {
1322 if (type$.Error._is(error))
1323 if (error.$thrownJsError == null)
1324 error.$thrownJsError = ex;
1325 return error;
1326 },
1327 _unwrapNonDartException(ex) {
1328 var message, number, ieErrorCode, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null;
1329 if (!("message" in ex))
1330 return ex;
1331 message = ex.message;
1332 if ("number" in ex && typeof ex.number == "number") {
1333 number = ex.number;
1334 ieErrorCode = number & 65535;
1335 if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
1336 switch (ieErrorCode) {
1337 case 438:
1338 return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", _null));
1339 case 445:
1340 case 5007:
1341 t1 = A.S(message) + " (Error " + ieErrorCode + ")";
1342 return A.saveStackTrace(ex, new A.NullError(t1, _null));
1343 }
1344 }
1345 if (ex instanceof TypeError) {
1346 nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
1347 notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
1348 nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
1349 nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
1350 undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
1351 undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
1352 nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
1353 $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
1354 undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
1355 undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
1356 match = nsme.matchTypeError$1(message);
1357 if (match != null)
1358 return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
1359 else {
1360 match = notClosure.matchTypeError$1(message);
1361 if (match != null) {
1362 match.method = "call";
1363 return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
1364 } else {
1365 match = nullCall.matchTypeError$1(message);
1366 if (match == null) {
1367 match = nullLiteralCall.matchTypeError$1(message);
1368 if (match == null) {
1369 match = undefCall.matchTypeError$1(message);
1370 if (match == null) {
1371 match = undefLiteralCall.matchTypeError$1(message);
1372 if (match == null) {
1373 match = nullProperty.matchTypeError$1(message);
1374 if (match == null) {
1375 match = nullLiteralCall.matchTypeError$1(message);
1376 if (match == null) {
1377 match = undefProperty.matchTypeError$1(message);
1378 if (match == null) {
1379 match = undefLiteralProperty.matchTypeError$1(message);
1380 t1 = match != null;
1381 } else
1382 t1 = true;
1383 } else
1384 t1 = true;
1385 } else
1386 t1 = true;
1387 } else
1388 t1 = true;
1389 } else
1390 t1 = true;
1391 } else
1392 t1 = true;
1393 } else
1394 t1 = true;
1395 if (t1)
1396 return A.saveStackTrace(ex, new A.NullError(message, match == null ? _null : match.method));
1397 }
1398 }
1399 return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
1400 }
1401 if (ex instanceof RangeError) {
1402 if (typeof message == "string" && message.indexOf("call stack") !== -1)
1403 return new A.StackOverflowError();
1404 message = function(ex) {
1405 try {
1406 return String(ex);
1407 } catch (e) {
1408 }
1409 return null;
1410 }(ex);
1411 return A.saveStackTrace(ex, new A.ArgumentError(false, _null, _null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
1412 }
1413 if (typeof InternalError == "function" && ex instanceof InternalError)
1414 if (typeof message == "string" && message === "too much recursion")
1415 return new A.StackOverflowError();
1416 return ex;
1417 },
1418 getTraceFromException(exception) {
1419 var trace;
1420 if (exception instanceof A.ExceptionAndStackTrace)
1421 return exception.stackTrace;
1422 if (exception == null)
1423 return new A._StackTrace(exception);
1424 trace = exception.$cachedTrace;
1425 if (trace != null)
1426 return trace;
1427 return exception.$cachedTrace = new A._StackTrace(exception);
1428 },
1429 objectHashCode(object) {
1430 if (object == null || typeof object != "object")
1431 return J.get$hashCode$(object);
1432 else
1433 return A.Primitives_objectHashCode(object);
1434 },
1435 fillLiteralMap(keyValuePairs, result) {
1436 var index, index0, index1,
1437 $length = keyValuePairs.length;
1438 for (index = 0; index < $length; index = index1) {
1439 index0 = index + 1;
1440 index1 = index0 + 1;
1441 result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
1442 }
1443 return result;
1444 },
1445 fillLiteralSet(values, result) {
1446 var index,
1447 $length = values.length;
1448 for (index = 0; index < $length; ++index)
1449 result.add$1(0, values[index]);
1450 return result;
1451 },
1452 invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
1453 switch (numberOfArguments) {
1454 case 0:
1455 return closure.call$0();
1456 case 1:
1457 return closure.call$1(arg1);
1458 case 2:
1459 return closure.call$2(arg1, arg2);
1460 case 3:
1461 return closure.call$3(arg1, arg2, arg3);
1462 case 4:
1463 return closure.call$4(arg1, arg2, arg3, arg4);
1464 }
1465 throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
1466 },
1467 convertDartClosureToJS(closure, arity) {
1468 var $function;
1469 if (closure == null)
1470 return null;
1471 $function = closure.$identity;
1472 if (!!$function)
1473 return $function;
1474 $function = function(closure, arity, invoke) {
1475 return function(a1, a2, a3, a4) {
1476 return invoke(closure, arity, a1, a2, a3, a4);
1477 };
1478 }(closure, arity, A.invokeClosure);
1479 closure.$identity = $function;
1480 return $function;
1481 },
1482 Closure_fromTearOff(parameters) {
1483 var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
1484 container = parameters.co,
1485 isStatic = parameters.iS,
1486 isIntercepted = parameters.iI,
1487 needsDirectAccess = parameters.nDA,
1488 applyTrampolineIndex = parameters.aI,
1489 funsOrNames = parameters.fs,
1490 callNames = parameters.cs,
1491 $name = funsOrNames[0],
1492 callName = callNames[0],
1493 $function = container[$name],
1494 t1 = parameters.fT;
1495 t1.toString;
1496 $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
1497 $prototype.$initialize = $prototype.constructor;
1498 if (isStatic)
1499 $constructor = function static_tear_off() {
1500 this.$initialize();
1501 };
1502 else
1503 $constructor = function tear_off(a, b) {
1504 this.$initialize(a, b);
1505 };
1506 $prototype.constructor = $constructor;
1507 $constructor.prototype = $prototype;
1508 $prototype.$_name = $name;
1509 $prototype.$_target = $function;
1510 t2 = !isStatic;
1511 if (t2)
1512 trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
1513 else {
1514 $prototype.$static_name = $name;
1515 trampoline = $function;
1516 }
1517 $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted);
1518 $prototype[callName] = trampoline;
1519 for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
1520 stub = funsOrNames[i];
1521 if (typeof stub == "string") {
1522 stub0 = container[stub];
1523 stubName = stub;
1524 stub = stub0;
1525 } else
1526 stubName = "";
1527 stubCallName = callNames[i];
1528 if (stubCallName != null) {
1529 if (t2)
1530 stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
1531 $prototype[stubCallName] = stub;
1532 }
1533 if (i === applyTrampolineIndex)
1534 applyTrampoline = stub;
1535 }
1536 $prototype["call*"] = applyTrampoline;
1537 $prototype.$requiredArgCount = parameters.rC;
1538 $prototype.$defaultValues = parameters.dV;
1539 return $constructor;
1540 },
1541 Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) {
1542 if (typeof functionType == "number")
1543 return functionType;
1544 if (typeof functionType == "string") {
1545 if (isStatic)
1546 throw A.wrapException("Cannot compute signature for static tearoff.");
1547 return function(recipe, evalOnReceiver) {
1548 return function() {
1549 return evalOnReceiver(this, recipe);
1550 };
1551 }(functionType, A.BoundClosure_evalRecipe);
1552 }
1553 throw A.wrapException("Error in functionType of tearoff");
1554 },
1555 Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
1556 var getReceiver = A.BoundClosure_receiverOf;
1557 switch (needsDirectAccess ? -1 : arity) {
1558 case 0:
1559 return function(entry, receiverOf) {
1560 return function() {
1561 return receiverOf(this)[entry]();
1562 };
1563 }(stubName, getReceiver);
1564 case 1:
1565 return function(entry, receiverOf) {
1566 return function(a) {
1567 return receiverOf(this)[entry](a);
1568 };
1569 }(stubName, getReceiver);
1570 case 2:
1571 return function(entry, receiverOf) {
1572 return function(a, b) {
1573 return receiverOf(this)[entry](a, b);
1574 };
1575 }(stubName, getReceiver);
1576 case 3:
1577 return function(entry, receiverOf) {
1578 return function(a, b, c) {
1579 return receiverOf(this)[entry](a, b, c);
1580 };
1581 }(stubName, getReceiver);
1582 case 4:
1583 return function(entry, receiverOf) {
1584 return function(a, b, c, d) {
1585 return receiverOf(this)[entry](a, b, c, d);
1586 };
1587 }(stubName, getReceiver);
1588 case 5:
1589 return function(entry, receiverOf) {
1590 return function(a, b, c, d, e) {
1591 return receiverOf(this)[entry](a, b, c, d, e);
1592 };
1593 }(stubName, getReceiver);
1594 default:
1595 return function(f, receiverOf) {
1596 return function() {
1597 return f.apply(receiverOf(this), arguments);
1598 };
1599 }($function, getReceiver);
1600 }
1601 },
1602 Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
1603 var arity, t1;
1604 if (isIntercepted)
1605 return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
1606 arity = $function.length;
1607 t1 = A.Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function);
1608 return t1;
1609 },
1610 Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
1611 var getReceiver = A.BoundClosure_receiverOf,
1612 getInterceptor = A.BoundClosure_interceptorOf;
1613 switch (needsDirectAccess ? -1 : arity) {
1614 case 0:
1615 throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
1616 case 1:
1617 return function(entry, interceptorOf, receiverOf) {
1618 return function() {
1619 return interceptorOf(this)[entry](receiverOf(this));
1620 };
1621 }(stubName, getInterceptor, getReceiver);
1622 case 2:
1623 return function(entry, interceptorOf, receiverOf) {
1624 return function(a) {
1625 return interceptorOf(this)[entry](receiverOf(this), a);
1626 };
1627 }(stubName, getInterceptor, getReceiver);
1628 case 3:
1629 return function(entry, interceptorOf, receiverOf) {
1630 return function(a, b) {
1631 return interceptorOf(this)[entry](receiverOf(this), a, b);
1632 };
1633 }(stubName, getInterceptor, getReceiver);
1634 case 4:
1635 return function(entry, interceptorOf, receiverOf) {
1636 return function(a, b, c) {
1637 return interceptorOf(this)[entry](receiverOf(this), a, b, c);
1638 };
1639 }(stubName, getInterceptor, getReceiver);
1640 case 5:
1641 return function(entry, interceptorOf, receiverOf) {
1642 return function(a, b, c, d) {
1643 return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
1644 };
1645 }(stubName, getInterceptor, getReceiver);
1646 case 6:
1647 return function(entry, interceptorOf, receiverOf) {
1648 return function(a, b, c, d, e) {
1649 return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
1650 };
1651 }(stubName, getInterceptor, getReceiver);
1652 default:
1653 return function(f, interceptorOf, receiverOf) {
1654 return function() {
1655 var a = [receiverOf(this)];
1656 Array.prototype.push.apply(a, arguments);
1657 return f.apply(interceptorOf(this), a);
1658 };
1659 }($function, getInterceptor, getReceiver);
1660 }
1661 },
1662 Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
1663 var receiverField, arity, t1,
1664 interceptorField = $.BoundClosure__interceptorFieldNameCache;
1665 interceptorField == null ? $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor") : interceptorField;
1666 receiverField = $.BoundClosure__receiverFieldNameCache;
1667 receiverField == null ? $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver") : receiverField;
1668 arity = $function.length;
1669 t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
1670 return t1;
1671 },
1672 closureFromTearOff(parameters) {
1673 return A.Closure_fromTearOff(parameters);
1674 },
1675 BoundClosure_evalRecipe(closure, recipe) {
1676 return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
1677 },
1678 BoundClosure_receiverOf(closure) {
1679 return closure._receiver;
1680 },
1681 BoundClosure_interceptorOf(closure) {
1682 return closure._interceptor;
1683 },
1684 BoundClosure__computeFieldNamed(fieldName) {
1685 var t1, i, $name,
1686 template = new A.BoundClosure("receiver", "interceptor"),
1687 names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template));
1688 for (t1 = names.length, i = 0; i < t1; ++i) {
1689 $name = names[i];
1690 if (template[$name] === fieldName)
1691 return $name;
1692 }
1693 throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
1694 },
1695 throwCyclicInit(staticName) {
1696 throw A.wrapException(new A.CyclicInitializationError(staticName));
1697 },
1698 getIsolateAffinityTag($name) {
1699 return init.getIsolateTag($name);
1700 },
1701 defineProperty(obj, property, value) {
1702 Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
1703 },
1704 lookupAndCacheInterceptor(obj) {
1705 var interceptor, interceptorClass, altTag, mark, t1,
1706 tag = $.getTagFunction.call$1(obj),
1707 record = $.dispatchRecordsForInstanceTags[tag];
1708 if (record != null) {
1709 Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1710 return record.i;
1711 }
1712 interceptor = $.interceptorsForUncacheableTags[tag];
1713 if (interceptor != null)
1714 return interceptor;
1715 interceptorClass = init.interceptorsByTag[tag];
1716 if (interceptorClass == null) {
1717 altTag = $.alternateTagFunction.call$2(obj, tag);
1718 if (altTag != null) {
1719 record = $.dispatchRecordsForInstanceTags[altTag];
1720 if (record != null) {
1721 Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1722 return record.i;
1723 }
1724 interceptor = $.interceptorsForUncacheableTags[altTag];
1725 if (interceptor != null)
1726 return interceptor;
1727 interceptorClass = init.interceptorsByTag[altTag];
1728 tag = altTag;
1729 }
1730 }
1731 if (interceptorClass == null)
1732 return null;
1733 interceptor = interceptorClass.prototype;
1734 mark = tag[0];
1735 if (mark === "!") {
1736 record = A.makeLeafDispatchRecord(interceptor);
1737 $.dispatchRecordsForInstanceTags[tag] = record;
1738 Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1739 return record.i;
1740 }
1741 if (mark === "~") {
1742 $.interceptorsForUncacheableTags[tag] = interceptor;
1743 return interceptor;
1744 }
1745 if (mark === "-") {
1746 t1 = A.makeLeafDispatchRecord(interceptor);
1747 Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
1748 return t1.i;
1749 }
1750 if (mark === "+")
1751 return A.patchInteriorProto(obj, interceptor);
1752 if (mark === "*")
1753 throw A.wrapException(A.UnimplementedError$(tag));
1754 if (init.leafTags[tag] === true) {
1755 t1 = A.makeLeafDispatchRecord(interceptor);
1756 Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
1757 return t1.i;
1758 } else
1759 return A.patchInteriorProto(obj, interceptor);
1760 },
1761 patchInteriorProto(obj, interceptor) {
1762 var proto = Object.getPrototypeOf(obj);
1763 Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
1764 return interceptor;
1765 },
1766 makeLeafDispatchRecord(interceptor) {
1767 return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
1768 },
1769 makeDefaultDispatchRecord(tag, interceptorClass, proto) {
1770 var interceptor = interceptorClass.prototype;
1771 if (init.leafTags[tag] === true)
1772 return A.makeLeafDispatchRecord(interceptor);
1773 else
1774 return J.makeDispatchRecord(interceptor, proto, null, null);
1775 },
1776 initNativeDispatch() {
1777 if (true === $.initNativeDispatchFlag)
1778 return;
1779 $.initNativeDispatchFlag = true;
1780 A.initNativeDispatchContinue();
1781 },
1782 initNativeDispatchContinue() {
1783 var map, tags, fun, i, tag, proto, record, interceptorClass;
1784 $.dispatchRecordsForInstanceTags = Object.create(null);
1785 $.interceptorsForUncacheableTags = Object.create(null);
1786 A.initHooks();
1787 map = init.interceptorsByTag;
1788 tags = Object.getOwnPropertyNames(map);
1789 if (typeof window != "undefined") {
1790 window;
1791 fun = function() {
1792 };
1793 for (i = 0; i < tags.length; ++i) {
1794 tag = tags[i];
1795 proto = $.prototypeForTagFunction.call$1(tag);
1796 if (proto != null) {
1797 record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
1798 if (record != null) {
1799 Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1800 fun.prototype = proto;
1801 }
1802 }
1803 }
1804 }
1805 for (i = 0; i < tags.length; ++i) {
1806 tag = tags[i];
1807 if (/^[A-Za-z_]/.test(tag)) {
1808 interceptorClass = map[tag];
1809 map["!" + tag] = interceptorClass;
1810 map["~" + tag] = interceptorClass;
1811 map["-" + tag] = interceptorClass;
1812 map["+" + tag] = interceptorClass;
1813 map["*" + tag] = interceptorClass;
1814 }
1815 }
1816 },
1817 initHooks() {
1818 var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
1819 hooks = B.C_JS_CONST0();
1820 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)))))));
1821 if (typeof dartNativeDispatchHooksTransformer != "undefined") {
1822 transformers = dartNativeDispatchHooksTransformer;
1823 if (typeof transformers == "function")
1824 transformers = [transformers];
1825 if (transformers.constructor == Array)
1826 for (i = 0; i < transformers.length; ++i) {
1827 transformer = transformers[i];
1828 if (typeof transformer == "function")
1829 hooks = transformer(hooks) || hooks;
1830 }
1831 }
1832 getTag = hooks.getTag;
1833 getUnknownTag = hooks.getUnknownTag;
1834 prototypeForTag = hooks.prototypeForTag;
1835 $.getTagFunction = new A.initHooks_closure(getTag);
1836 $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
1837 $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
1838 },
1839 applyHooksTransformer(transformer, hooks) {
1840 return transformer(hooks) || hooks;
1841 },
1842 JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) {
1843 var m = multiLine ? "m" : "",
1844 i = caseSensitive ? "" : "i",
1845 u = unicode ? "u" : "",
1846 s = dotAll ? "s" : "",
1847 g = global ? "g" : "",
1848 regexp = function(source, modifiers) {
1849 try {
1850 return new RegExp(source, modifiers);
1851 } catch (e) {
1852 return e;
1853 }
1854 }(source, m + i + u + s + g);
1855 if (regexp instanceof RegExp)
1856 return regexp;
1857 throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
1858 },
1859 stringContainsUnchecked(receiver, other, startIndex) {
1860 var t1;
1861 if (typeof other == "string")
1862 return receiver.indexOf(other, startIndex) >= 0;
1863 else if (other instanceof A.JSSyntaxRegExp) {
1864 t1 = B.JSString_methods.substring$1(receiver, startIndex);
1865 return other._nativeRegExp.test(t1);
1866 } else {
1867 t1 = J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex));
1868 return !t1.get$isEmpty(t1);
1869 }
1870 },
1871 escapeReplacement(replacement) {
1872 if (replacement.indexOf("$", 0) >= 0)
1873 return replacement.replace(/\$/g, "$$$$");
1874 return replacement;
1875 },
1876 stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
1877 var match = regexp._execGlobal$2(receiver, startIndex);
1878 if (match == null)
1879 return receiver;
1880 return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement);
1881 },
1882 quoteStringForRegExp(string) {
1883 if (/[[\]{}()*+?.\\^$|]/.test(string))
1884 return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
1885 return string;
1886 },
1887 stringReplaceAllUnchecked(receiver, pattern, replacement) {
1888 var nativeRegexp;
1889 if (typeof pattern == "string")
1890 return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
1891 if (pattern instanceof A.JSSyntaxRegExp) {
1892 nativeRegexp = pattern.get$_nativeGlobalVersion();
1893 nativeRegexp.lastIndex = 0;
1894 return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
1895 }
1896 throw A.wrapException("String.replaceAll(Pattern) UNIMPLEMENTED");
1897 },
1898 stringReplaceAllUncheckedString(receiver, pattern, replacement) {
1899 var $length, t1, i, index;
1900 if (pattern === "") {
1901 if (receiver === "")
1902 return replacement;
1903 $length = receiver.length;
1904 t1 = "" + replacement;
1905 for (i = 0; i < $length; ++i)
1906 t1 = t1 + receiver[i] + replacement;
1907 return t1.charCodeAt(0) == 0 ? t1 : t1;
1908 }
1909 index = receiver.indexOf(pattern, 0);
1910 if (index < 0)
1911 return receiver;
1912 if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
1913 return receiver.split(pattern).join(replacement);
1914 return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
1915 },
1916 stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
1917 var index, t1, matches, match;
1918 if (typeof pattern == "string") {
1919 index = receiver.indexOf(pattern, startIndex);
1920 if (index < 0)
1921 return receiver;
1922 return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
1923 }
1924 if (pattern instanceof A.JSSyntaxRegExp)
1925 return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
1926 t1 = J.allMatches$2$s(pattern, receiver, startIndex);
1927 matches = t1.get$iterator(t1);
1928 if (!matches.moveNext$0())
1929 return receiver;
1930 match = matches.get$current(matches);
1931 return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
1932 },
1933 stringReplaceRangeUnchecked(receiver, start, end, replacement) {
1934 var prefix = receiver.substring(0, start),
1935 suffix = receiver.substring(end);
1936 return prefix + replacement + suffix;
1937 },
1938 ConstantMapView: function ConstantMapView(t0, t1) {
1939 this._map = t0;
1940 this.$ti = t1;
1941 },
1942 ConstantMap: function ConstantMap() {
1943 },
1944 ConstantStringMap: function ConstantStringMap(t0, t1, t2, t3) {
1945 var _ = this;
1946 _.__js_helper$_length = t0;
1947 _._jsObject = t1;
1948 _.__js_helper$_keys = t2;
1949 _.$ti = t3;
1950 },
1951 ConstantStringMap_values_closure: function ConstantStringMap_values_closure(t0) {
1952 this.$this = t0;
1953 },
1954 _ConstantMapKeyIterable: function _ConstantMapKeyIterable(t0, t1) {
1955 this.__js_helper$_map = t0;
1956 this.$ti = t1;
1957 },
1958 Instantiation: function Instantiation() {
1959 },
1960 Instantiation1: function Instantiation1(t0, t1) {
1961 this._genericClosure = t0;
1962 this.$ti = t1;
1963 },
1964 JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
1965 var _ = this;
1966 _.__js_helper$_memberName = t0;
1967 _.__js_helper$_kind = t1;
1968 _._arguments = t2;
1969 _._namedArgumentNames = t3;
1970 _._typeArgumentCount = t4;
1971 },
1972 Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
1973 this._box_0 = t0;
1974 this.namedArgumentList = t1;
1975 this.$arguments = t2;
1976 },
1977 TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
1978 var _ = this;
1979 _._pattern = t0;
1980 _._arguments = t1;
1981 _._argumentsExpr = t2;
1982 _._expr = t3;
1983 _._method = t4;
1984 _._receiver = t5;
1985 },
1986 NullError: function NullError(t0, t1) {
1987 this.__js_helper$_message = t0;
1988 this._method = t1;
1989 },
1990 JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
1991 this.__js_helper$_message = t0;
1992 this._method = t1;
1993 this._receiver = t2;
1994 },
1995 UnknownJsTypeError: function UnknownJsTypeError(t0) {
1996 this.__js_helper$_message = t0;
1997 },
1998 NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
1999 this._irritant = t0;
2000 },
2001 ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
2002 this.dartException = t0;
2003 this.stackTrace = t1;
2004 },
2005 _StackTrace: function _StackTrace(t0) {
2006 this._exception = t0;
2007 this._trace = null;
2008 },
2009 Closure: function Closure() {
2010 },
2011 Closure0Args: function Closure0Args() {
2012 },
2013 Closure2Args: function Closure2Args() {
2014 },
2015 TearOffClosure: function TearOffClosure() {
2016 },
2017 StaticClosure: function StaticClosure() {
2018 },
2019 BoundClosure: function BoundClosure(t0, t1) {
2020 this._receiver = t0;
2021 this._interceptor = t1;
2022 },
2023 RuntimeError: function RuntimeError(t0) {
2024 this.message = t0;
2025 },
2026 _Required: function _Required() {
2027 },
2028 JsLinkedHashMap: function JsLinkedHashMap(t0) {
2029 var _ = this;
2030 _.__js_helper$_length = 0;
2031 _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
2032 _._modifications = 0;
2033 _.$ti = t0;
2034 },
2035 JsLinkedHashMap_values_closure: function JsLinkedHashMap_values_closure(t0) {
2036 this.$this = t0;
2037 },
2038 JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
2039 this.$this = t0;
2040 },
2041 LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
2042 var _ = this;
2043 _.hashMapCellKey = t0;
2044 _.hashMapCellValue = t1;
2045 _._previous = _._next = null;
2046 },
2047 LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) {
2048 this.__js_helper$_map = t0;
2049 this.$ti = t1;
2050 },
2051 LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1) {
2052 var _ = this;
2053 _.__js_helper$_map = t0;
2054 _._modifications = t1;
2055 _.__js_helper$_current = _._cell = null;
2056 },
2057 initHooks_closure: function initHooks_closure(t0) {
2058 this.getTag = t0;
2059 },
2060 initHooks_closure0: function initHooks_closure0(t0) {
2061 this.getUnknownTag = t0;
2062 },
2063 initHooks_closure1: function initHooks_closure1(t0) {
2064 this.prototypeForTag = t0;
2065 },
2066 JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
2067 var _ = this;
2068 _.pattern = t0;
2069 _._nativeRegExp = t1;
2070 _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
2071 },
2072 _MatchImplementation: function _MatchImplementation(t0) {
2073 this._match = t0;
2074 },
2075 _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
2076 this._re = t0;
2077 this.__js_helper$_string = t1;
2078 this.__js_helper$_start = t2;
2079 },
2080 _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
2081 var _ = this;
2082 _._regExp = t0;
2083 _.__js_helper$_string = t1;
2084 _._nextIndex = t2;
2085 _.__js_helper$_current = null;
2086 },
2087 StringMatch: function StringMatch(t0, t1) {
2088 this.start = t0;
2089 this.pattern = t1;
2090 },
2091 _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
2092 this._input = t0;
2093 this._pattern = t1;
2094 this.__js_helper$_index = t2;
2095 },
2096 _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
2097 var _ = this;
2098 _._input = t0;
2099 _._pattern = t1;
2100 _.__js_helper$_index = t2;
2101 _.__js_helper$_current = null;
2102 },
2103 throwLateFieldADI(fieldName) {
2104 return A.throwExpression(A.LateError$fieldADI(fieldName));
2105 },
2106 _Cell$() {
2107 var t1 = new A._Cell("");
2108 return t1._value = t1;
2109 },
2110 _Cell$named(_name) {
2111 var t1 = new A._Cell(_name);
2112 return t1._value = t1;
2113 },
2114 _lateReadCheck(value, $name) {
2115 if (value === $)
2116 throw A.wrapException(new A.LateError("Field '" + $name + "' has not been initialized."));
2117 return value;
2118 },
2119 _lateWriteOnceCheck(value, $name) {
2120 if (value !== $)
2121 throw A.wrapException(new A.LateError("Field '" + $name + "' has already been initialized."));
2122 },
2123 _lateInitializeOnceCheck(value, $name) {
2124 if (value !== $)
2125 throw A.wrapException(A.LateError$fieldADI($name));
2126 },
2127 _Cell: function _Cell(t0) {
2128 this.__late_helper$_name = t0;
2129 this._value = null;
2130 },
2131 _ensureNativeList(list) {
2132 return list;
2133 },
2134 NativeInt8List__create1(arg) {
2135 return new Int8Array(arg);
2136 },
2137 _checkValidIndex(index, list, $length) {
2138 if (index >>> 0 !== index || index >= $length)
2139 throw A.wrapException(A.diagnoseIndexError(list, index));
2140 },
2141 _checkValidRange(start, end, $length) {
2142 var t1;
2143 if (!(start >>> 0 !== start))
2144 if (end == null)
2145 t1 = start > $length;
2146 else
2147 t1 = end >>> 0 !== end || start > end || end > $length;
2148 else
2149 t1 = true;
2150 if (t1)
2151 throw A.wrapException(A.diagnoseRangeError(start, end, $length));
2152 if (end == null)
2153 return $length;
2154 return end;
2155 },
2156 NativeTypedData: function NativeTypedData() {
2157 },
2158 NativeTypedArray: function NativeTypedArray() {
2159 },
2160 NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
2161 },
2162 NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
2163 },
2164 NativeFloat32List: function NativeFloat32List() {
2165 },
2166 NativeFloat64List: function NativeFloat64List() {
2167 },
2168 NativeInt16List: function NativeInt16List() {
2169 },
2170 NativeInt32List: function NativeInt32List() {
2171 },
2172 NativeInt8List: function NativeInt8List() {
2173 },
2174 NativeUint16List: function NativeUint16List() {
2175 },
2176 NativeUint32List: function NativeUint32List() {
2177 },
2178 NativeUint8ClampedList: function NativeUint8ClampedList() {
2179 },
2180 NativeUint8List: function NativeUint8List() {
2181 },
2182 _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
2183 },
2184 _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
2185 },
2186 _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
2187 },
2188 _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
2189 },
2190 Rti__getQuestionFromStar(universe, rti) {
2191 var question = rti._precomputed1;
2192 return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question;
2193 },
2194 Rti__getFutureFromFutureOr(universe, rti) {
2195 var future = rti._precomputed1;
2196 return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
2197 },
2198 Rti__isUnionOfFunctionType(rti) {
2199 var kind = rti._kind;
2200 if (kind === 6 || kind === 7 || kind === 8)
2201 return A.Rti__isUnionOfFunctionType(rti._primary);
2202 return kind === 11 || kind === 12;
2203 },
2204 Rti__getCanonicalRecipe(rti) {
2205 return rti._canonicalRecipe;
2206 },
2207 findType(recipe) {
2208 return A._Universe_eval(init.typeUniverse, recipe, false);
2209 },
2210 instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
2211 var t1, cache, key, probe, rti;
2212 if (genericFunctionRti == null)
2213 return null;
2214 t1 = instantiationRti._rest;
2215 cache = genericFunctionRti._bindCache;
2216 if (cache == null)
2217 cache = genericFunctionRti._bindCache = new Map();
2218 key = instantiationRti._canonicalRecipe;
2219 probe = cache.get(key);
2220 if (probe != null)
2221 return probe;
2222 rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
2223 cache.set(key, rti);
2224 return rti;
2225 },
2226 _substitute(universe, rti, typeArguments, depth) {
2227 var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
2228 kind = rti._kind;
2229 switch (kind) {
2230 case 5:
2231 case 1:
2232 case 2:
2233 case 3:
2234 case 4:
2235 return rti;
2236 case 6:
2237 baseType = rti._primary;
2238 substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
2239 if (substitutedBaseType === baseType)
2240 return rti;
2241 return A._Universe__lookupStarRti(universe, substitutedBaseType, true);
2242 case 7:
2243 baseType = rti._primary;
2244 substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
2245 if (substitutedBaseType === baseType)
2246 return rti;
2247 return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
2248 case 8:
2249 baseType = rti._primary;
2250 substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
2251 if (substitutedBaseType === baseType)
2252 return rti;
2253 return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
2254 case 9:
2255 interfaceTypeArguments = rti._rest;
2256 substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
2257 if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
2258 return rti;
2259 return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
2260 case 10:
2261 base = rti._primary;
2262 substitutedBase = A._substitute(universe, base, typeArguments, depth);
2263 $arguments = rti._rest;
2264 substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
2265 if (substitutedBase === base && substitutedArguments === $arguments)
2266 return rti;
2267 return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
2268 case 11:
2269 returnType = rti._primary;
2270 substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
2271 functionParameters = rti._rest;
2272 substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
2273 if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
2274 return rti;
2275 return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
2276 case 12:
2277 bounds = rti._rest;
2278 depth += bounds.length;
2279 substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
2280 base = rti._primary;
2281 substitutedBase = A._substitute(universe, base, typeArguments, depth);
2282 if (substitutedBounds === bounds && substitutedBase === base)
2283 return rti;
2284 return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
2285 case 13:
2286 index = rti._primary;
2287 if (index < depth)
2288 return rti;
2289 argument = typeArguments[index - depth];
2290 if (argument == null)
2291 return rti;
2292 return argument;
2293 default:
2294 throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
2295 }
2296 },
2297 _substituteArray(universe, rtiArray, typeArguments, depth) {
2298 var changed, i, rti, substitutedRti,
2299 $length = rtiArray.length,
2300 result = A._Utils_newArrayOrEmpty($length);
2301 for (changed = false, i = 0; i < $length; ++i) {
2302 rti = rtiArray[i];
2303 substitutedRti = A._substitute(universe, rti, typeArguments, depth);
2304 if (substitutedRti !== rti)
2305 changed = true;
2306 result[i] = substitutedRti;
2307 }
2308 return changed ? result : rtiArray;
2309 },
2310 _substituteNamed(universe, namedArray, typeArguments, depth) {
2311 var changed, i, t1, t2, rti, substitutedRti,
2312 $length = namedArray.length,
2313 result = A._Utils_newArrayOrEmpty($length);
2314 for (changed = false, i = 0; i < $length; i += 3) {
2315 t1 = namedArray[i];
2316 t2 = namedArray[i + 1];
2317 rti = namedArray[i + 2];
2318 substitutedRti = A._substitute(universe, rti, typeArguments, depth);
2319 if (substitutedRti !== rti)
2320 changed = true;
2321 result.splice(i, 3, t1, t2, substitutedRti);
2322 }
2323 return changed ? result : namedArray;
2324 },
2325 _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
2326 var result,
2327 requiredPositional = functionParameters._requiredPositional,
2328 substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
2329 optionalPositional = functionParameters._optionalPositional,
2330 substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
2331 named = functionParameters._named,
2332 substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
2333 if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
2334 return functionParameters;
2335 result = new A._FunctionParameters();
2336 result._requiredPositional = substitutedRequiredPositional;
2337 result._optionalPositional = substitutedOptionalPositional;
2338 result._named = substitutedNamed;
2339 return result;
2340 },
2341 _setArrayType(target, rti) {
2342 target[init.arrayRti] = rti;
2343 return target;
2344 },
2345 closureFunctionType(closure) {
2346 var signature = closure.$signature;
2347 if (signature != null) {
2348 if (typeof signature == "number")
2349 return A.getTypeFromTypesTable(signature);
2350 return closure.$signature();
2351 }
2352 return null;
2353 },
2354 instanceOrFunctionType(object, testRti) {
2355 var rti;
2356 if (A.Rti__isUnionOfFunctionType(testRti))
2357 if (object instanceof A.Closure) {
2358 rti = A.closureFunctionType(object);
2359 if (rti != null)
2360 return rti;
2361 }
2362 return A.instanceType(object);
2363 },
2364 instanceType(object) {
2365 var rti;
2366 if (object instanceof A.Object) {
2367 rti = object.$ti;
2368 return rti != null ? rti : A._instanceTypeFromConstructor(object);
2369 }
2370 if (Array.isArray(object))
2371 return A._arrayInstanceType(object);
2372 return A._instanceTypeFromConstructor(J.getInterceptor$(object));
2373 },
2374 _arrayInstanceType(object) {
2375 var rti = object[init.arrayRti],
2376 defaultRti = type$.JSArray_dynamic;
2377 if (rti == null)
2378 return defaultRti;
2379 if (rti.constructor !== defaultRti.constructor)
2380 return defaultRti;
2381 return rti;
2382 },
2383 _instanceType(object) {
2384 var rti = object.$ti;
2385 return rti != null ? rti : A._instanceTypeFromConstructor(object);
2386 },
2387 _instanceTypeFromConstructor(instance) {
2388 var $constructor = instance.constructor,
2389 probe = $constructor.$ccache;
2390 if (probe != null)
2391 return probe;
2392 return A._instanceTypeFromConstructorMiss(instance, $constructor);
2393 },
2394 _instanceTypeFromConstructorMiss(instance, $constructor) {
2395 var effectiveConstructor = instance instanceof A.Closure ? instance.__proto__.__proto__.constructor : $constructor,
2396 rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
2397 $constructor.$ccache = rti;
2398 return rti;
2399 },
2400 getTypeFromTypesTable(index) {
2401 var rti,
2402 table = init.types,
2403 type = table[index];
2404 if (typeof type == "string") {
2405 rti = A._Universe_eval(init.typeUniverse, type, false);
2406 table[index] = rti;
2407 return rti;
2408 }
2409 return type;
2410 },
2411 getRuntimeType(object) {
2412 var rti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
2413 return A.createRuntimeType(rti == null ? A.instanceType(object) : rti);
2414 },
2415 createRuntimeType(rti) {
2416 var recipe, starErasedRecipe, starErasedRti,
2417 type = rti._cachedRuntimeType;
2418 if (type != null)
2419 return type;
2420 recipe = rti._canonicalRecipe;
2421 starErasedRecipe = recipe.replace(/\*/g, "");
2422 if (starErasedRecipe === recipe)
2423 return rti._cachedRuntimeType = new A._Type(rti);
2424 starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true);
2425 type = starErasedRti._cachedRuntimeType;
2426 return rti._cachedRuntimeType = type == null ? starErasedRti._cachedRuntimeType = new A._Type(starErasedRti) : type;
2427 },
2428 typeLiteral(recipe) {
2429 return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
2430 },
2431 _installSpecializedIsTest(object) {
2432 var t1, unstarred, isFn, $name, testRti = this;
2433 if (testRti === type$.Object)
2434 return A._finishIsFn(testRti, object, A._isObject);
2435 if (!A.isStrongTopType(testRti))
2436 if (!(testRti === type$.legacy_Object))
2437 t1 = false;
2438 else
2439 t1 = true;
2440 else
2441 t1 = true;
2442 if (t1)
2443 return A._finishIsFn(testRti, object, A._isTop);
2444 t1 = testRti._kind;
2445 unstarred = t1 === 6 ? testRti._primary : testRti;
2446 if (unstarred === type$.int)
2447 isFn = A._isInt;
2448 else if (unstarred === type$.double || unstarred === type$.num)
2449 isFn = A._isNum;
2450 else if (unstarred === type$.String)
2451 isFn = A._isString;
2452 else
2453 isFn = unstarred === type$.bool ? A._isBool : null;
2454 if (isFn != null)
2455 return A._finishIsFn(testRti, object, isFn);
2456 if (unstarred._kind === 9) {
2457 $name = unstarred._primary;
2458 if (unstarred._rest.every(A.isTopType)) {
2459 testRti._specializedTestResource = "$is" + $name;
2460 if ($name === "List")
2461 return A._finishIsFn(testRti, object, A._isListTestViaProperty);
2462 return A._finishIsFn(testRti, object, A._isTestViaProperty);
2463 }
2464 } else if (t1 === 7)
2465 return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation);
2466 return A._finishIsFn(testRti, object, A._generalIsTestImplementation);
2467 },
2468 _finishIsFn(testRti, object, isFn) {
2469 testRti._is = isFn;
2470 return testRti._is(object);
2471 },
2472 _installSpecializedAsCheck(object) {
2473 var t1, testRti = this,
2474 asFn = A._generalAsCheckImplementation;
2475 if (!A.isStrongTopType(testRti))
2476 if (!(testRti === type$.legacy_Object))
2477 t1 = false;
2478 else
2479 t1 = true;
2480 else
2481 t1 = true;
2482 if (t1)
2483 asFn = A._asTop;
2484 else if (testRti === type$.Object)
2485 asFn = A._asObject;
2486 else {
2487 t1 = A.isNullable(testRti);
2488 if (t1)
2489 asFn = A._generalNullableAsCheckImplementation;
2490 }
2491 testRti._as = asFn;
2492 return testRti._as(object);
2493 },
2494 _nullIs(testRti) {
2495 var t1,
2496 kind = testRti._kind;
2497 if (!A.isStrongTopType(testRti))
2498 if (!(testRti === type$.legacy_Object))
2499 if (!(testRti === type$.legacy_Never))
2500 if (kind !== 7)
2501 t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull;
2502 else
2503 t1 = true;
2504 else
2505 t1 = true;
2506 else
2507 t1 = true;
2508 else
2509 t1 = true;
2510 return t1;
2511 },
2512 _generalIsTestImplementation(object) {
2513 var testRti = this;
2514 if (object == null)
2515 return A._nullIs(testRti);
2516 return A._isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), null, testRti, null);
2517 },
2518 _generalNullableIsTestImplementation(object) {
2519 if (object == null)
2520 return true;
2521 return this._primary._is(object);
2522 },
2523 _isTestViaProperty(object) {
2524 var tag, testRti = this;
2525 if (object == null)
2526 return A._nullIs(testRti);
2527 tag = testRti._specializedTestResource;
2528 if (object instanceof A.Object)
2529 return !!object[tag];
2530 return !!J.getInterceptor$(object)[tag];
2531 },
2532 _isListTestViaProperty(object) {
2533 var tag, testRti = this;
2534 if (object == null)
2535 return A._nullIs(testRti);
2536 if (typeof object != "object")
2537 return false;
2538 if (Array.isArray(object))
2539 return true;
2540 tag = testRti._specializedTestResource;
2541 if (object instanceof A.Object)
2542 return !!object[tag];
2543 return !!J.getInterceptor$(object)[tag];
2544 },
2545 _generalAsCheckImplementation(object) {
2546 var t1, testRti = this;
2547 if (object == null) {
2548 t1 = A.isNullable(testRti);
2549 if (t1)
2550 return object;
2551 } else if (testRti._is(object))
2552 return object;
2553 A._failedAsCheck(object, testRti);
2554 },
2555 _generalNullableAsCheckImplementation(object) {
2556 var testRti = this;
2557 if (object == null)
2558 return object;
2559 else if (testRti._is(object))
2560 return object;
2561 A._failedAsCheck(object, testRti);
2562 },
2563 _failedAsCheck(object, testRti) {
2564 throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A.instanceOrFunctionType(object, testRti), A._rtiToString(testRti, null))));
2565 },
2566 _Error_compose(object, objectRti, checkedTypeDescription) {
2567 var objectDescription = A.Error_safeToString(object),
2568 objectTypeDescription = A._rtiToString(objectRti == null ? A.instanceType(object) : objectRti, null);
2569 return objectDescription + ": type '" + objectTypeDescription + "' is not a subtype of type '" + checkedTypeDescription + "'";
2570 },
2571 _TypeError$fromMessage(message) {
2572 return new A._TypeError("TypeError: " + message);
2573 },
2574 _TypeError__TypeError$forType(object, type) {
2575 return new A._TypeError("TypeError: " + A._Error_compose(object, null, type));
2576 },
2577 _isObject(object) {
2578 return object != null;
2579 },
2580 _asObject(object) {
2581 if (object != null)
2582 return object;
2583 throw A.wrapException(A._TypeError__TypeError$forType(object, "Object"));
2584 },
2585 _isTop(object) {
2586 return true;
2587 },
2588 _asTop(object) {
2589 return object;
2590 },
2591 _isBool(object) {
2592 return true === object || false === object;
2593 },
2594 _asBool(object) {
2595 if (true === object)
2596 return true;
2597 if (false === object)
2598 return false;
2599 throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
2600 },
2601 _asBoolS(object) {
2602 if (true === object)
2603 return true;
2604 if (false === object)
2605 return false;
2606 if (object == null)
2607 return object;
2608 throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
2609 },
2610 _asBoolQ(object) {
2611 if (true === object)
2612 return true;
2613 if (false === object)
2614 return false;
2615 if (object == null)
2616 return object;
2617 throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?"));
2618 },
2619 _asDouble(object) {
2620 if (typeof object == "number")
2621 return object;
2622 throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
2623 },
2624 _asDoubleS(object) {
2625 if (typeof object == "number")
2626 return object;
2627 if (object == null)
2628 return object;
2629 throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
2630 },
2631 _asDoubleQ(object) {
2632 if (typeof object == "number")
2633 return object;
2634 if (object == null)
2635 return object;
2636 throw A.wrapException(A._TypeError__TypeError$forType(object, "double?"));
2637 },
2638 _isInt(object) {
2639 return typeof object == "number" && Math.floor(object) === object;
2640 },
2641 _asInt(object) {
2642 if (typeof object == "number" && Math.floor(object) === object)
2643 return object;
2644 throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
2645 },
2646 _asIntS(object) {
2647 if (typeof object == "number" && Math.floor(object) === object)
2648 return object;
2649 if (object == null)
2650 return object;
2651 throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
2652 },
2653 _asIntQ(object) {
2654 if (typeof object == "number" && Math.floor(object) === object)
2655 return object;
2656 if (object == null)
2657 return object;
2658 throw A.wrapException(A._TypeError__TypeError$forType(object, "int?"));
2659 },
2660 _isNum(object) {
2661 return typeof object == "number";
2662 },
2663 _asNum(object) {
2664 if (typeof object == "number")
2665 return object;
2666 throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
2667 },
2668 _asNumS(object) {
2669 if (typeof object == "number")
2670 return object;
2671 if (object == null)
2672 return object;
2673 throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
2674 },
2675 _asNumQ(object) {
2676 if (typeof object == "number")
2677 return object;
2678 if (object == null)
2679 return object;
2680 throw A.wrapException(A._TypeError__TypeError$forType(object, "num?"));
2681 },
2682 _isString(object) {
2683 return typeof object == "string";
2684 },
2685 _asString(object) {
2686 if (typeof object == "string")
2687 return object;
2688 throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
2689 },
2690 _asStringS(object) {
2691 if (typeof object == "string")
2692 return object;
2693 if (object == null)
2694 return object;
2695 throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
2696 },
2697 _asStringQ(object) {
2698 if (typeof object == "string")
2699 return object;
2700 if (object == null)
2701 return object;
2702 throw A.wrapException(A._TypeError__TypeError$forType(object, "String?"));
2703 },
2704 _rtiArrayToString(array, genericContext) {
2705 var s, sep, i;
2706 for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
2707 s += sep + A._rtiToString(array[i], genericContext);
2708 return s;
2709 },
2710 _functionRtiToString(functionType, genericContext, bounds) {
2711 var boundsLength, outerContextLength, offset, i, t1, t2, typeParametersText, typeSep, boundRti, kind, t3, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ";
2712 if (bounds != null) {
2713 boundsLength = bounds.length;
2714 if (genericContext == null) {
2715 genericContext = A._setArrayType([], type$.JSArray_String);
2716 outerContextLength = null;
2717 } else
2718 outerContextLength = genericContext.length;
2719 offset = genericContext.length;
2720 for (i = boundsLength; i > 0; --i)
2721 genericContext.push("T" + (offset + i));
2722 for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
2723 typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[genericContext.length - 1 - i]);
2724 boundRti = bounds[i];
2725 kind = boundRti._kind;
2726 if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
2727 if (!(boundRti === t2))
2728 t3 = false;
2729 else
2730 t3 = true;
2731 else
2732 t3 = true;
2733 if (!t3)
2734 typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
2735 }
2736 typeParametersText += ">";
2737 } else {
2738 typeParametersText = "";
2739 outerContextLength = null;
2740 }
2741 t1 = functionType._primary;
2742 parameters = functionType._rest;
2743 requiredPositional = parameters._requiredPositional;
2744 requiredPositionalLength = requiredPositional.length;
2745 optionalPositional = parameters._optionalPositional;
2746 optionalPositionalLength = optionalPositional.length;
2747 named = parameters._named;
2748 namedLength = named.length;
2749 returnTypeText = A._rtiToString(t1, genericContext);
2750 for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
2751 argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
2752 if (optionalPositionalLength > 0) {
2753 argumentsText += sep + "[";
2754 for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
2755 argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
2756 argumentsText += "]";
2757 }
2758 if (namedLength > 0) {
2759 argumentsText += sep + "{";
2760 for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
2761 argumentsText += sep;
2762 if (named[i + 1])
2763 argumentsText += "required ";
2764 argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
2765 }
2766 argumentsText += "}";
2767 }
2768 if (outerContextLength != null) {
2769 genericContext.toString;
2770 genericContext.length = outerContextLength;
2771 }
2772 return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
2773 },
2774 _rtiToString(rti, genericContext) {
2775 var s, questionArgument, argumentKind, $name, $arguments, t1,
2776 kind = rti._kind;
2777 if (kind === 5)
2778 return "erased";
2779 if (kind === 2)
2780 return "dynamic";
2781 if (kind === 3)
2782 return "void";
2783 if (kind === 1)
2784 return "Never";
2785 if (kind === 4)
2786 return "any";
2787 if (kind === 6) {
2788 s = A._rtiToString(rti._primary, genericContext);
2789 return s;
2790 }
2791 if (kind === 7) {
2792 questionArgument = rti._primary;
2793 s = A._rtiToString(questionArgument, genericContext);
2794 argumentKind = questionArgument._kind;
2795 return (argumentKind === 11 || argumentKind === 12 ? "(" + s + ")" : s) + "?";
2796 }
2797 if (kind === 8)
2798 return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
2799 if (kind === 9) {
2800 $name = A._unminifyOrTag(rti._primary);
2801 $arguments = rti._rest;
2802 return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
2803 }
2804 if (kind === 11)
2805 return A._functionRtiToString(rti, genericContext, null);
2806 if (kind === 12)
2807 return A._functionRtiToString(rti._primary, genericContext, rti._rest);
2808 if (kind === 13) {
2809 t1 = rti._primary;
2810 return genericContext[genericContext.length - 1 - t1];
2811 }
2812 return "?";
2813 },
2814 _unminifyOrTag(rawClassName) {
2815 var preserved = init.mangledGlobalNames[rawClassName];
2816 if (preserved != null)
2817 return preserved;
2818 return rawClassName;
2819 },
2820 _Universe_findRule(universe, targetType) {
2821 var rule = universe.tR[targetType];
2822 for (; typeof rule == "string";)
2823 rule = universe.tR[rule];
2824 return rule;
2825 },
2826 _Universe_findErasedType(universe, cls) {
2827 var $length, erased, $arguments, i, $interface,
2828 t1 = universe.eT,
2829 probe = t1[cls];
2830 if (probe == null)
2831 return A._Universe_eval(universe, cls, false);
2832 else if (typeof probe == "number") {
2833 $length = probe;
2834 erased = A._Universe__lookupTerminalRti(universe, 5, "#");
2835 $arguments = A._Utils_newArrayOrEmpty($length);
2836 for (i = 0; i < $length; ++i)
2837 $arguments[i] = erased;
2838 $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
2839 t1[cls] = $interface;
2840 return $interface;
2841 } else
2842 return probe;
2843 },
2844 _Universe_addRules(universe, rules) {
2845 return A._Utils_objectAssign(universe.tR, rules);
2846 },
2847 _Universe_addErasedTypes(universe, types) {
2848 return A._Utils_objectAssign(universe.eT, types);
2849 },
2850 _Universe_eval(universe, recipe, normalize) {
2851 var rti,
2852 t1 = universe.eC,
2853 probe = t1.get(recipe);
2854 if (probe != null)
2855 return probe;
2856 rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize));
2857 t1.set(recipe, rti);
2858 return rti;
2859 },
2860 _Universe_evalInEnvironment(universe, environment, recipe) {
2861 var probe, rti,
2862 cache = environment._evalCache;
2863 if (cache == null)
2864 cache = environment._evalCache = new Map();
2865 probe = cache.get(recipe);
2866 if (probe != null)
2867 return probe;
2868 rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
2869 cache.set(recipe, rti);
2870 return rti;
2871 },
2872 _Universe_bind(universe, environment, argumentsRti) {
2873 var argumentsRecipe, probe, rti,
2874 cache = environment._bindCache;
2875 if (cache == null)
2876 cache = environment._bindCache = new Map();
2877 argumentsRecipe = argumentsRti._canonicalRecipe;
2878 probe = cache.get(argumentsRecipe);
2879 if (probe != null)
2880 return probe;
2881 rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]);
2882 cache.set(argumentsRecipe, rti);
2883 return rti;
2884 },
2885 _Universe__installTypeTests(universe, rti) {
2886 rti._as = A._installSpecializedAsCheck;
2887 rti._is = A._installSpecializedIsTest;
2888 return rti;
2889 },
2890 _Universe__lookupTerminalRti(universe, kind, key) {
2891 var rti, t1,
2892 probe = universe.eC.get(key);
2893 if (probe != null)
2894 return probe;
2895 rti = new A.Rti(null, null);
2896 rti._kind = kind;
2897 rti._canonicalRecipe = key;
2898 t1 = A._Universe__installTypeTests(universe, rti);
2899 universe.eC.set(key, t1);
2900 return t1;
2901 },
2902 _Universe__lookupStarRti(universe, baseType, normalize) {
2903 var t1,
2904 key = baseType._canonicalRecipe + "*",
2905 probe = universe.eC.get(key);
2906 if (probe != null)
2907 return probe;
2908 t1 = A._Universe__createStarRti(universe, baseType, key, normalize);
2909 universe.eC.set(key, t1);
2910 return t1;
2911 },
2912 _Universe__createStarRti(universe, baseType, key, normalize) {
2913 var baseKind, t1, rti;
2914 if (normalize) {
2915 baseKind = baseType._kind;
2916 if (!A.isStrongTopType(baseType))
2917 t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6;
2918 else
2919 t1 = true;
2920 if (t1)
2921 return baseType;
2922 }
2923 rti = new A.Rti(null, null);
2924 rti._kind = 6;
2925 rti._primary = baseType;
2926 rti._canonicalRecipe = key;
2927 return A._Universe__installTypeTests(universe, rti);
2928 },
2929 _Universe__lookupQuestionRti(universe, baseType, normalize) {
2930 var t1,
2931 key = baseType._canonicalRecipe + "?",
2932 probe = universe.eC.get(key);
2933 if (probe != null)
2934 return probe;
2935 t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
2936 universe.eC.set(key, t1);
2937 return t1;
2938 },
2939 _Universe__createQuestionRti(universe, baseType, key, normalize) {
2940 var baseKind, t1, starArgument, rti;
2941 if (normalize) {
2942 baseKind = baseType._kind;
2943 if (!A.isStrongTopType(baseType))
2944 if (!(baseType === type$.Null || baseType === type$.JSNull))
2945 if (baseKind !== 7)
2946 t1 = baseKind === 8 && A.isNullable(baseType._primary);
2947 else
2948 t1 = true;
2949 else
2950 t1 = true;
2951 else
2952 t1 = true;
2953 if (t1)
2954 return baseType;
2955 else if (baseKind === 1 || baseType === type$.legacy_Never)
2956 return type$.Null;
2957 else if (baseKind === 6) {
2958 starArgument = baseType._primary;
2959 if (starArgument._kind === 8 && A.isNullable(starArgument._primary))
2960 return starArgument;
2961 else
2962 return A.Rti__getQuestionFromStar(universe, baseType);
2963 }
2964 }
2965 rti = new A.Rti(null, null);
2966 rti._kind = 7;
2967 rti._primary = baseType;
2968 rti._canonicalRecipe = key;
2969 return A._Universe__installTypeTests(universe, rti);
2970 },
2971 _Universe__lookupFutureOrRti(universe, baseType, normalize) {
2972 var t1,
2973 key = baseType._canonicalRecipe + "/",
2974 probe = universe.eC.get(key);
2975 if (probe != null)
2976 return probe;
2977 t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
2978 universe.eC.set(key, t1);
2979 return t1;
2980 },
2981 _Universe__createFutureOrRti(universe, baseType, key, normalize) {
2982 var t1, t2, rti;
2983 if (normalize) {
2984 t1 = baseType._kind;
2985 if (!A.isStrongTopType(baseType))
2986 if (!(baseType === type$.legacy_Object))
2987 t2 = false;
2988 else
2989 t2 = true;
2990 else
2991 t2 = true;
2992 if (t2 || baseType === type$.Object)
2993 return baseType;
2994 else if (t1 === 1)
2995 return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
2996 else if (baseType === type$.Null || baseType === type$.JSNull)
2997 return type$.nullable_Future_Null;
2998 }
2999 rti = new A.Rti(null, null);
3000 rti._kind = 8;
3001 rti._primary = baseType;
3002 rti._canonicalRecipe = key;
3003 return A._Universe__installTypeTests(universe, rti);
3004 },
3005 _Universe__lookupGenericFunctionParameterRti(universe, index) {
3006 var rti, t1,
3007 key = "" + index + "^",
3008 probe = universe.eC.get(key);
3009 if (probe != null)
3010 return probe;
3011 rti = new A.Rti(null, null);
3012 rti._kind = 13;
3013 rti._primary = index;
3014 rti._canonicalRecipe = key;
3015 t1 = A._Universe__installTypeTests(universe, rti);
3016 universe.eC.set(key, t1);
3017 return t1;
3018 },
3019 _Universe__canonicalRecipeJoin($arguments) {
3020 var s, sep, i,
3021 $length = $arguments.length;
3022 for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
3023 s += sep + $arguments[i]._canonicalRecipe;
3024 return s;
3025 },
3026 _Universe__canonicalRecipeJoinNamed($arguments) {
3027 var s, sep, i, t1, nameSep, s0,
3028 $length = $arguments.length;
3029 for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
3030 t1 = $arguments[i];
3031 nameSep = $arguments[i + 1] ? "!" : ":";
3032 s0 = $arguments[i + 2]._canonicalRecipe;
3033 s += sep + t1 + nameSep + s0;
3034 }
3035 return s;
3036 },
3037 _Universe__lookupInterfaceRti(universe, $name, $arguments) {
3038 var probe, rti, t1,
3039 s = $name;
3040 if ($arguments.length > 0)
3041 s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
3042 probe = universe.eC.get(s);
3043 if (probe != null)
3044 return probe;
3045 rti = new A.Rti(null, null);
3046 rti._kind = 9;
3047 rti._primary = $name;
3048 rti._rest = $arguments;
3049 if ($arguments.length > 0)
3050 rti._precomputed1 = $arguments[0];
3051 rti._canonicalRecipe = s;
3052 t1 = A._Universe__installTypeTests(universe, rti);
3053 universe.eC.set(s, t1);
3054 return t1;
3055 },
3056 _Universe__lookupBindingRti(universe, base, $arguments) {
3057 var newBase, newArguments, key, probe, rti, t1;
3058 if (base._kind === 10) {
3059 newBase = base._primary;
3060 newArguments = base._rest.concat($arguments);
3061 } else {
3062 newArguments = $arguments;
3063 newBase = base;
3064 }
3065 key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
3066 probe = universe.eC.get(key);
3067 if (probe != null)
3068 return probe;
3069 rti = new A.Rti(null, null);
3070 rti._kind = 10;
3071 rti._primary = newBase;
3072 rti._rest = newArguments;
3073 rti._canonicalRecipe = key;
3074 t1 = A._Universe__installTypeTests(universe, rti);
3075 universe.eC.set(key, t1);
3076 return t1;
3077 },
3078 _Universe__lookupFunctionRti(universe, returnType, parameters) {
3079 var sep, t1, key, probe, rti,
3080 s = returnType._canonicalRecipe,
3081 requiredPositional = parameters._requiredPositional,
3082 requiredPositionalLength = requiredPositional.length,
3083 optionalPositional = parameters._optionalPositional,
3084 optionalPositionalLength = optionalPositional.length,
3085 named = parameters._named,
3086 namedLength = named.length,
3087 recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
3088 if (optionalPositionalLength > 0) {
3089 sep = requiredPositionalLength > 0 ? "," : "";
3090 t1 = A._Universe__canonicalRecipeJoin(optionalPositional);
3091 recipe += sep + "[" + t1 + "]";
3092 }
3093 if (namedLength > 0) {
3094 sep = requiredPositionalLength > 0 ? "," : "";
3095 t1 = A._Universe__canonicalRecipeJoinNamed(named);
3096 recipe += sep + "{" + t1 + "}";
3097 }
3098 key = s + (recipe + ")");
3099 probe = universe.eC.get(key);
3100 if (probe != null)
3101 return probe;
3102 rti = new A.Rti(null, null);
3103 rti._kind = 11;
3104 rti._primary = returnType;
3105 rti._rest = parameters;
3106 rti._canonicalRecipe = key;
3107 t1 = A._Universe__installTypeTests(universe, rti);
3108 universe.eC.set(key, t1);
3109 return t1;
3110 },
3111 _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
3112 var t1,
3113 key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
3114 probe = universe.eC.get(key);
3115 if (probe != null)
3116 return probe;
3117 t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
3118 universe.eC.set(key, t1);
3119 return t1;
3120 },
3121 _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
3122 var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
3123 if (normalize) {
3124 $length = bounds.length;
3125 typeArguments = A._Utils_newArrayOrEmpty($length);
3126 for (count = 0, i = 0; i < $length; ++i) {
3127 bound = bounds[i];
3128 if (bound._kind === 1) {
3129 typeArguments[i] = bound;
3130 ++count;
3131 }
3132 }
3133 if (count > 0) {
3134 substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
3135 substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
3136 return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
3137 }
3138 }
3139 rti = new A.Rti(null, null);
3140 rti._kind = 12;
3141 rti._primary = baseFunctionType;
3142 rti._rest = bounds;
3143 rti._canonicalRecipe = key;
3144 return A._Universe__installTypeTests(universe, rti);
3145 },
3146 _Parser_create(universe, environment, recipe, normalize) {
3147 return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
3148 },
3149 _Parser_parse(parser) {
3150 var t2, i, ch, t3, array, head, base, parameters, optionalPositional, named, item,
3151 source = parser.r,
3152 t1 = parser.s;
3153 for (t2 = source.length, i = 0; i < t2;) {
3154 ch = source.charCodeAt(i);
3155 if (ch >= 48 && ch <= 57)
3156 i = A._Parser_handleDigit(i + 1, ch, source, t1);
3157 else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36)
3158 i = A._Parser_handleIdentifier(parser, i, source, t1, false);
3159 else if (ch === 46)
3160 i = A._Parser_handleIdentifier(parser, i, source, t1, true);
3161 else {
3162 ++i;
3163 switch (ch) {
3164 case 44:
3165 break;
3166 case 58:
3167 t1.push(false);
3168 break;
3169 case 33:
3170 t1.push(true);
3171 break;
3172 case 59:
3173 t1.push(A._Parser_toType(parser.u, parser.e, t1.pop()));
3174 break;
3175 case 94:
3176 t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop()));
3177 break;
3178 case 35:
3179 t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
3180 break;
3181 case 64:
3182 t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
3183 break;
3184 case 126:
3185 t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
3186 break;
3187 case 60:
3188 t1.push(parser.p);
3189 parser.p = t1.length;
3190 break;
3191 case 62:
3192 t3 = parser.u;
3193 array = t1.splice(parser.p);
3194 A._Parser_toTypes(parser.u, parser.e, array);
3195 parser.p = t1.pop();
3196 head = t1.pop();
3197 if (typeof head == "string")
3198 t1.push(A._Universe__lookupInterfaceRti(t3, head, array));
3199 else {
3200 base = A._Parser_toType(t3, parser.e, head);
3201 switch (base._kind) {
3202 case 11:
3203 t1.push(A._Universe__lookupGenericFunctionRti(t3, base, array, parser.n));
3204 break;
3205 default:
3206 t1.push(A._Universe__lookupBindingRti(t3, base, array));
3207 break;
3208 }
3209 }
3210 break;
3211 case 38:
3212 A._Parser_handleExtendedOperations(parser, t1);
3213 break;
3214 case 42:
3215 t3 = parser.u;
3216 t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
3217 break;
3218 case 63:
3219 t3 = parser.u;
3220 t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
3221 break;
3222 case 47:
3223 t3 = parser.u;
3224 t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
3225 break;
3226 case 40:
3227 t1.push(parser.p);
3228 parser.p = t1.length;
3229 break;
3230 case 41:
3231 t3 = parser.u;
3232 parameters = new A._FunctionParameters();
3233 optionalPositional = t3.sEA;
3234 named = t3.sEA;
3235 head = t1.pop();
3236 if (typeof head == "number")
3237 switch (head) {
3238 case -1:
3239 optionalPositional = t1.pop();
3240 break;
3241 case -2:
3242 named = t1.pop();
3243 break;
3244 default:
3245 t1.push(head);
3246 break;
3247 }
3248 else
3249 t1.push(head);
3250 array = t1.splice(parser.p);
3251 A._Parser_toTypes(parser.u, parser.e, array);
3252 parser.p = t1.pop();
3253 parameters._requiredPositional = array;
3254 parameters._optionalPositional = optionalPositional;
3255 parameters._named = named;
3256 t1.push(A._Universe__lookupFunctionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parameters));
3257 break;
3258 case 91:
3259 t1.push(parser.p);
3260 parser.p = t1.length;
3261 break;
3262 case 93:
3263 array = t1.splice(parser.p);
3264 A._Parser_toTypes(parser.u, parser.e, array);
3265 parser.p = t1.pop();
3266 t1.push(array);
3267 t1.push(-1);
3268 break;
3269 case 123:
3270 t1.push(parser.p);
3271 parser.p = t1.length;
3272 break;
3273 case 125:
3274 array = t1.splice(parser.p);
3275 A._Parser_toTypesNamed(parser.u, parser.e, array);
3276 parser.p = t1.pop();
3277 t1.push(array);
3278 t1.push(-2);
3279 break;
3280 default:
3281 throw "Bad character " + ch;
3282 }
3283 }
3284 }
3285 item = t1.pop();
3286 return A._Parser_toType(parser.u, parser.e, item);
3287 },
3288 _Parser_handleDigit(i, digit, source, stack) {
3289 var t1, ch,
3290 value = digit - 48;
3291 for (t1 = source.length; i < t1; ++i) {
3292 ch = source.charCodeAt(i);
3293 if (!(ch >= 48 && ch <= 57))
3294 break;
3295 value = value * 10 + (ch - 48);
3296 }
3297 stack.push(value);
3298 return i;
3299 },
3300 _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
3301 var t1, ch, t2, string, environment, recipe,
3302 i = start + 1;
3303 for (t1 = source.length; i < t1; ++i) {
3304 ch = source.charCodeAt(i);
3305 if (ch === 46) {
3306 if (hasPeriod)
3307 break;
3308 hasPeriod = true;
3309 } else {
3310 if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36))
3311 t2 = ch >= 48 && ch <= 57;
3312 else
3313 t2 = true;
3314 if (!t2)
3315 break;
3316 }
3317 }
3318 string = source.substring(start, i);
3319 if (hasPeriod) {
3320 t1 = parser.u;
3321 environment = parser.e;
3322 if (environment._kind === 10)
3323 environment = environment._primary;
3324 recipe = A._Universe_findRule(t1, environment._primary)[string];
3325 if (recipe == null)
3326 A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
3327 stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
3328 } else
3329 stack.push(string);
3330 return i;
3331 },
3332 _Parser_handleExtendedOperations(parser, stack) {
3333 var $top = stack.pop();
3334 if (0 === $top) {
3335 stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
3336 return;
3337 }
3338 if (1 === $top) {
3339 stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
3340 return;
3341 }
3342 throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
3343 },
3344 _Parser_toType(universe, environment, item) {
3345 if (typeof item == "string")
3346 return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
3347 else if (typeof item == "number")
3348 return A._Parser_indexToType(universe, environment, item);
3349 else
3350 return item;
3351 },
3352 _Parser_toTypes(universe, environment, items) {
3353 var i,
3354 $length = items.length;
3355 for (i = 0; i < $length; ++i)
3356 items[i] = A._Parser_toType(universe, environment, items[i]);
3357 },
3358 _Parser_toTypesNamed(universe, environment, items) {
3359 var i,
3360 $length = items.length;
3361 for (i = 2; i < $length; i += 3)
3362 items[i] = A._Parser_toType(universe, environment, items[i]);
3363 },
3364 _Parser_indexToType(universe, environment, index) {
3365 var typeArguments, len,
3366 kind = environment._kind;
3367 if (kind === 10) {
3368 if (index === 0)
3369 return environment._primary;
3370 typeArguments = environment._rest;
3371 len = typeArguments.length;
3372 if (index <= len)
3373 return typeArguments[index - 1];
3374 index -= len;
3375 environment = environment._primary;
3376 kind = environment._kind;
3377 } else if (index === 0)
3378 return environment;
3379 if (kind !== 9)
3380 throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
3381 typeArguments = environment._rest;
3382 if (index <= typeArguments.length)
3383 return typeArguments[index - 1];
3384 throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
3385 },
3386 _isSubtype(universe, s, sEnv, t, tEnv) {
3387 var t1, sKind, leftTypeVariable, tKind, sBounds, tBounds, sLength, i, sBound, tBound;
3388 if (s === t)
3389 return true;
3390 if (!A.isStrongTopType(t))
3391 if (!(t === type$.legacy_Object))
3392 t1 = false;
3393 else
3394 t1 = true;
3395 else
3396 t1 = true;
3397 if (t1)
3398 return true;
3399 sKind = s._kind;
3400 if (sKind === 4)
3401 return true;
3402 if (A.isStrongTopType(s))
3403 return false;
3404 if (s._kind !== 1)
3405 t1 = false;
3406 else
3407 t1 = true;
3408 if (t1)
3409 return true;
3410 leftTypeVariable = sKind === 13;
3411 if (leftTypeVariable)
3412 if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv))
3413 return true;
3414 tKind = t._kind;
3415 t1 = s === type$.Null || s === type$.JSNull;
3416 if (t1) {
3417 if (tKind === 8)
3418 return A._isSubtype(universe, s, sEnv, t._primary, tEnv);
3419 return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6;
3420 }
3421 if (t === type$.Object) {
3422 if (sKind === 8)
3423 return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3424 if (sKind === 6)
3425 return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3426 return sKind !== 7;
3427 }
3428 if (sKind === 6)
3429 return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3430 if (tKind === 6) {
3431 t1 = A.Rti__getQuestionFromStar(universe, t);
3432 return A._isSubtype(universe, s, sEnv, t1, tEnv);
3433 }
3434 if (sKind === 8) {
3435 if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv))
3436 return false;
3437 return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv);
3438 }
3439 if (sKind === 7) {
3440 t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv);
3441 return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3442 }
3443 if (tKind === 8) {
3444 if (A._isSubtype(universe, s, sEnv, t._primary, tEnv))
3445 return true;
3446 return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv);
3447 }
3448 if (tKind === 7) {
3449 t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv);
3450 return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv);
3451 }
3452 if (leftTypeVariable)
3453 return false;
3454 t1 = sKind !== 11;
3455 if ((!t1 || sKind === 12) && t === type$.Function)
3456 return true;
3457 if (tKind === 12) {
3458 if (s === type$.JavaScriptFunction)
3459 return true;
3460 if (sKind !== 12)
3461 return false;
3462 sBounds = s._rest;
3463 tBounds = t._rest;
3464 sLength = sBounds.length;
3465 if (sLength !== tBounds.length)
3466 return false;
3467 sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
3468 tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
3469 for (i = 0; i < sLength; ++i) {
3470 sBound = sBounds[i];
3471 tBound = tBounds[i];
3472 if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv))
3473 return false;
3474 }
3475 return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv);
3476 }
3477 if (tKind === 11) {
3478 if (s === type$.JavaScriptFunction)
3479 return true;
3480 if (t1)
3481 return false;
3482 return A._isFunctionSubtype(universe, s, sEnv, t, tEnv);
3483 }
3484 if (sKind === 9) {
3485 if (tKind !== 9)
3486 return false;
3487 return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv);
3488 }
3489 return false;
3490 },
3491 _isFunctionSubtype(universe, s, sEnv, t, tEnv) {
3492 var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
3493 if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv))
3494 return false;
3495 sParameters = s._rest;
3496 tParameters = t._rest;
3497 sRequiredPositional = sParameters._requiredPositional;
3498 tRequiredPositional = tParameters._requiredPositional;
3499 sRequiredPositionalLength = sRequiredPositional.length;
3500 tRequiredPositionalLength = tRequiredPositional.length;
3501 if (sRequiredPositionalLength > tRequiredPositionalLength)
3502 return false;
3503 requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
3504 sOptionalPositional = sParameters._optionalPositional;
3505 tOptionalPositional = tParameters._optionalPositional;
3506 sOptionalPositionalLength = sOptionalPositional.length;
3507 tOptionalPositionalLength = tOptionalPositional.length;
3508 if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
3509 return false;
3510 for (i = 0; i < sRequiredPositionalLength; ++i) {
3511 t1 = sRequiredPositional[i];
3512 if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv))
3513 return false;
3514 }
3515 for (i = 0; i < requiredPositionalDelta; ++i) {
3516 t1 = sOptionalPositional[i];
3517 if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv))
3518 return false;
3519 }
3520 for (i = 0; i < tOptionalPositionalLength; ++i) {
3521 t1 = sOptionalPositional[requiredPositionalDelta + i];
3522 if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv))
3523 return false;
3524 }
3525 sNamed = sParameters._named;
3526 tNamed = tParameters._named;
3527 sNamedLength = sNamed.length;
3528 tNamedLength = tNamed.length;
3529 for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
3530 tName = tNamed[tIndex];
3531 for (; true;) {
3532 if (sIndex >= sNamedLength)
3533 return false;
3534 sName = sNamed[sIndex];
3535 sIndex += 3;
3536 if (tName < sName)
3537 return false;
3538 sIsRequired = sNamed[sIndex - 2];
3539 if (sName < tName) {
3540 if (sIsRequired)
3541 return false;
3542 continue;
3543 }
3544 t1 = tNamed[tIndex + 1];
3545 if (sIsRequired && !t1)
3546 return false;
3547 t1 = sNamed[sIndex - 1];
3548 if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv))
3549 return false;
3550 break;
3551 }
3552 }
3553 for (; sIndex < sNamedLength;) {
3554 if (sNamed[sIndex + 1])
3555 return false;
3556 sIndex += 3;
3557 }
3558 return true;
3559 },
3560 _isInterfaceSubtype(universe, s, sEnv, t, tEnv) {
3561 var rule, recipes, $length, supertypeArgs, i, t1, t2,
3562 sName = s._primary,
3563 tName = t._primary;
3564 for (; sName !== tName;) {
3565 rule = universe.tR[sName];
3566 if (rule == null)
3567 return false;
3568 if (typeof rule == "string") {
3569 sName = rule;
3570 continue;
3571 }
3572 recipes = rule[tName];
3573 if (recipes == null)
3574 return false;
3575 $length = recipes.length;
3576 supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
3577 for (i = 0; i < $length; ++i)
3578 supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
3579 return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv);
3580 }
3581 t1 = s._rest;
3582 t2 = t._rest;
3583 return A._areArgumentsSubtypes(universe, t1, null, sEnv, t2, tEnv);
3584 },
3585 _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) {
3586 var i, t1, t2,
3587 $length = sArgs.length;
3588 for (i = 0; i < $length; ++i) {
3589 t1 = sArgs[i];
3590 t2 = tArgs[i];
3591 if (!A._isSubtype(universe, t1, sEnv, t2, tEnv))
3592 return false;
3593 }
3594 return true;
3595 },
3596 isNullable(t) {
3597 var t1,
3598 kind = t._kind;
3599 if (!(t === type$.Null || t === type$.JSNull))
3600 if (!A.isStrongTopType(t))
3601 if (kind !== 7)
3602 if (!(kind === 6 && A.isNullable(t._primary)))
3603 t1 = kind === 8 && A.isNullable(t._primary);
3604 else
3605 t1 = true;
3606 else
3607 t1 = true;
3608 else
3609 t1 = true;
3610 else
3611 t1 = true;
3612 return t1;
3613 },
3614 isTopType(t) {
3615 var t1;
3616 if (!A.isStrongTopType(t))
3617 if (!(t === type$.legacy_Object))
3618 t1 = false;
3619 else
3620 t1 = true;
3621 else
3622 t1 = true;
3623 return t1;
3624 },
3625 isStrongTopType(t) {
3626 var kind = t._kind;
3627 return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
3628 },
3629 _Utils_objectAssign(o, other) {
3630 var i, key,
3631 keys = Object.keys(other),
3632 $length = keys.length;
3633 for (i = 0; i < $length; ++i) {
3634 key = keys[i];
3635 o[key] = other[key];
3636 }
3637 },
3638 _Utils_newArrayOrEmpty($length) {
3639 return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
3640 },
3641 Rti: function Rti(t0, t1) {
3642 var _ = this;
3643 _._as = t0;
3644 _._is = t1;
3645 _._cachedRuntimeType = _._specializedTestResource = _._precomputed1 = null;
3646 _._kind = 0;
3647 _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
3648 },
3649 _FunctionParameters: function _FunctionParameters() {
3650 this._named = this._optionalPositional = this._requiredPositional = null;
3651 },
3652 _Type: function _Type(t0) {
3653 this._rti = t0;
3654 },
3655 _Error: function _Error() {
3656 },
3657 _TypeError: function _TypeError(t0) {
3658 this.__rti$_message = t0;
3659 },
3660 _AsyncRun__initializeScheduleImmediate() {
3661 var div, span, t1 = {};
3662 if (self.scheduleImmediate != null)
3663 return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
3664 if (self.MutationObserver != null && self.document != null) {
3665 div = self.document.createElement("div");
3666 span = self.document.createElement("span");
3667 t1.storedCallback = null;
3668 new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
3669 return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
3670 } else if (self.setImmediate != null)
3671 return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
3672 return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
3673 },
3674 _AsyncRun__scheduleImmediateJsOverride(callback) {
3675 self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
3676 },
3677 _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
3678 self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
3679 },
3680 _AsyncRun__scheduleImmediateWithTimer(callback) {
3681 A.Timer__createTimer(B.Duration_0, callback);
3682 },
3683 Timer__createTimer(duration, callback) {
3684 var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
3685 return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
3686 },
3687 _TimerImpl$(milliseconds, callback) {
3688 var t1 = new A._TimerImpl(true);
3689 t1._TimerImpl$2(milliseconds, callback);
3690 return t1;
3691 },
3692 _TimerImpl$periodic(milliseconds, callback) {
3693 var t1 = new A._TimerImpl(false);
3694 t1._TimerImpl$periodic$2(milliseconds, callback);
3695 return t1;
3696 },
3697 _makeAsyncAwaitCompleter($T) {
3698 return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
3699 },
3700 _asyncStartSync(bodyFunction, completer) {
3701 bodyFunction.call$2(0, null);
3702 completer.isSync = true;
3703 return completer._future;
3704 },
3705 _asyncAwait(object, bodyFunction) {
3706 A._awaitOnObject(object, bodyFunction);
3707 },
3708 _asyncReturn(object, completer) {
3709 completer.complete$1(object);
3710 },
3711 _asyncRethrow(object, completer) {
3712 completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
3713 },
3714 _awaitOnObject(object, bodyFunction) {
3715 var t1, future,
3716 thenCallback = new A._awaitOnObject_closure(bodyFunction),
3717 errorCallback = new A._awaitOnObject_closure0(bodyFunction);
3718 if (object instanceof A._Future)
3719 object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
3720 else {
3721 t1 = type$.dynamic;
3722 if (type$.Future_dynamic._is(object))
3723 object.then$1$2$onError(0, thenCallback, errorCallback, t1);
3724 else {
3725 future = new A._Future($.Zone__current, type$._Future_dynamic);
3726 future._state = 8;
3727 future._resultOrListeners = object;
3728 future._thenAwait$1$2(thenCallback, errorCallback, t1);
3729 }
3730 }
3731 },
3732 _wrapJsFunctionForAsync($function) {
3733 var $protected = function(fn, ERROR) {
3734 return function(errorCode, result) {
3735 while (true)
3736 try {
3737 fn(errorCode, result);
3738 break;
3739 } catch (error) {
3740 result = error;
3741 errorCode = ERROR;
3742 }
3743 };
3744 }($function, 1);
3745 return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
3746 },
3747 _IterationMarker_yieldStar(values) {
3748 return new A._IterationMarker(values, 1);
3749 },
3750 _IterationMarker_endOfIteration() {
3751 return B._IterationMarker_null_2;
3752 },
3753 _IterationMarker_uncaughtError(error) {
3754 return new A._IterationMarker(error, 3);
3755 },
3756 _makeSyncStarIterable(body, $T) {
3757 return new A._SyncStarIterable(body, $T._eval$1("_SyncStarIterable<0>"));
3758 },
3759 AsyncError$(error, stackTrace) {
3760 var t1 = A.checkNotNullable(error, "error", type$.Object);
3761 return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace);
3762 },
3763 AsyncError_defaultStackTrace(error) {
3764 var stackTrace;
3765 if (type$.Error._is(error)) {
3766 stackTrace = error.get$stackTrace();
3767 if (stackTrace != null)
3768 return stackTrace;
3769 }
3770 return B._StringStackTrace_3uE;
3771 },
3772 Future_Future$value(value, $T) {
3773 var t1;
3774 $T._as(value);
3775 t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
3776 t1._asyncComplete$1(value);
3777 return t1;
3778 },
3779 Future_Future$error(error, stackTrace, $T) {
3780 var t1, replacement;
3781 A.checkNotNullable(error, "error", type$.Object);
3782 t1 = $.Zone__current;
3783 if (t1 !== B.C__RootZone) {
3784 replacement = t1.errorCallback$2(error, stackTrace);
3785 if (replacement != null) {
3786 error = replacement.error;
3787 stackTrace = replacement.stackTrace;
3788 }
3789 }
3790 if (stackTrace == null)
3791 stackTrace = A.AsyncError_defaultStackTrace(error);
3792 t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
3793 t1._asyncCompleteError$2(error, stackTrace);
3794 return t1;
3795 },
3796 Future_wait(futures, $T) {
3797 var error, stackTrace, handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null,
3798 eagerError = false,
3799 _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
3800 _box_0.values = null;
3801 _box_0.remaining = 0;
3802 error = A._Cell$named("error");
3803 stackTrace = A._Cell$named("stackTrace");
3804 handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, error, stackTrace);
3805 try {
3806 for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
3807 future = t1.get$current(t1);
3808 pos = _box_0.remaining;
3809 J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, error, stackTrace, $T), handleError, t2);
3810 ++_box_0.remaining;
3811 }
3812 t1 = _box_0.remaining;
3813 if (t1 === 0) {
3814 t1 = _future;
3815 t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
3816 return t1;
3817 }
3818 _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
3819 } catch (exception) {
3820 e = A.unwrapException(exception);
3821 st = A.getTraceFromException(exception);
3822 if (_box_0.remaining === 0 || eagerError)
3823 return A.Future_Future$error(e, st, $T._eval$1("List<0>"));
3824 else {
3825 error._value = e;
3826 stackTrace._value = st;
3827 }
3828 }
3829 return _future;
3830 },
3831 _Future$zoneValue(value, _zone, $T) {
3832 var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
3833 t1._state = 8;
3834 t1._resultOrListeners = value;
3835 return t1;
3836 },
3837 _Future__chainCoreFuture(source, target) {
3838 var t1, listeners;
3839 for (; t1 = source._state, (t1 & 4) !== 0;)
3840 source = source._resultOrListeners;
3841 if ((t1 & 24) !== 0) {
3842 listeners = target._removeListeners$0();
3843 target._cloneResult$1(source);
3844 A._Future__propagateToListeners(target, listeners);
3845 } else {
3846 listeners = target._resultOrListeners;
3847 target._state = target._state & 1 | 4;
3848 target._resultOrListeners = source;
3849 source._prependListeners$1(listeners);
3850 }
3851 },
3852 _Future__propagateToListeners(source, listeners) {
3853 var t2, _box_0, t3, t4, hasError, nextListener, nextListener0, sourceResult, t5, zone, oldZone, result, current, _box_1 = {},
3854 t1 = _box_1.source = source;
3855 for (t2 = type$.Future_dynamic; true;) {
3856 _box_0 = {};
3857 t3 = t1._state;
3858 t4 = (t3 & 16) === 0;
3859 hasError = !t4;
3860 if (listeners == null) {
3861 if (hasError && (t3 & 1) === 0) {
3862 t2 = t1._resultOrListeners;
3863 t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
3864 }
3865 return;
3866 }
3867 _box_0.listener = listeners;
3868 nextListener = listeners._nextListener;
3869 for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
3870 t1._nextListener = null;
3871 A._Future__propagateToListeners(_box_1.source, t1);
3872 _box_0.listener = nextListener;
3873 nextListener0 = nextListener._nextListener;
3874 }
3875 t3 = _box_1.source;
3876 sourceResult = t3._resultOrListeners;
3877 _box_0.listenerHasError = hasError;
3878 _box_0.listenerValueOrError = sourceResult;
3879 if (t4) {
3880 t5 = t1.state;
3881 t5 = (t5 & 1) !== 0 || (t5 & 15) === 8;
3882 } else
3883 t5 = true;
3884 if (t5) {
3885 zone = t1.result._zone;
3886 if (hasError) {
3887 t1 = t3._zone;
3888 t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
3889 } else
3890 t1 = false;
3891 if (t1) {
3892 t1 = _box_1.source;
3893 t2 = t1._resultOrListeners;
3894 t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
3895 return;
3896 }
3897 oldZone = $.Zone__current;
3898 if (oldZone !== zone)
3899 $.Zone__current = zone;
3900 else
3901 oldZone = null;
3902 t1 = _box_0.listener.state;
3903 if ((t1 & 15) === 8)
3904 new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
3905 else if (t4) {
3906 if ((t1 & 1) !== 0)
3907 new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
3908 } else if ((t1 & 2) !== 0)
3909 new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
3910 if (oldZone != null)
3911 $.Zone__current = oldZone;
3912 t1 = _box_0.listenerValueOrError;
3913 if (t2._is(t1)) {
3914 t3 = _box_0.listener.$ti;
3915 t3 = t3._eval$1("Future<2>")._is(t1) || !t3._rest[1]._is(t1);
3916 } else
3917 t3 = false;
3918 if (t3) {
3919 result = _box_0.listener.result;
3920 if ((t1._state & 24) !== 0) {
3921 current = result._resultOrListeners;
3922 result._resultOrListeners = null;
3923 listeners = result._reverseListeners$1(current);
3924 result._state = t1._state & 30 | result._state & 1;
3925 result._resultOrListeners = t1._resultOrListeners;
3926 _box_1.source = t1;
3927 continue;
3928 } else
3929 A._Future__chainCoreFuture(t1, result);
3930 return;
3931 }
3932 }
3933 result = _box_0.listener.result;
3934 current = result._resultOrListeners;
3935 result._resultOrListeners = null;
3936 listeners = result._reverseListeners$1(current);
3937 t1 = _box_0.listenerHasError;
3938 t3 = _box_0.listenerValueOrError;
3939 if (!t1) {
3940 result._state = 8;
3941 result._resultOrListeners = t3;
3942 } else {
3943 result._state = result._state & 1 | 16;
3944 result._resultOrListeners = t3;
3945 }
3946 _box_1.source = result;
3947 t1 = result;
3948 }
3949 },
3950 _registerErrorHandler(errorHandler, zone) {
3951 if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
3952 return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
3953 if (type$.dynamic_Function_Object._is(errorHandler))
3954 return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
3955 throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
3956 },
3957 _microtaskLoop() {
3958 var entry, next;
3959 for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
3960 $._lastPriorityCallback = null;
3961 next = entry.next;
3962 $._nextCallback = next;
3963 if (next == null)
3964 $._lastCallback = null;
3965 entry.callback.call$0();
3966 }
3967 },
3968 _startMicrotaskLoop() {
3969 $._isInCallbackLoop = true;
3970 try {
3971 A._microtaskLoop();
3972 } finally {
3973 $._lastPriorityCallback = null;
3974 $._isInCallbackLoop = false;
3975 if ($._nextCallback != null)
3976 $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
3977 }
3978 },
3979 _scheduleAsyncCallback(callback) {
3980 var newEntry = new A._AsyncCallbackEntry(callback),
3981 lastCallback = $._lastCallback;
3982 if (lastCallback == null) {
3983 $._nextCallback = $._lastCallback = newEntry;
3984 if (!$._isInCallbackLoop)
3985 $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
3986 } else
3987 $._lastCallback = lastCallback.next = newEntry;
3988 },
3989 _schedulePriorityAsyncCallback(callback) {
3990 var entry, lastPriorityCallback, next,
3991 t1 = $._nextCallback;
3992 if (t1 == null) {
3993 A._scheduleAsyncCallback(callback);
3994 $._lastPriorityCallback = $._lastCallback;
3995 return;
3996 }
3997 entry = new A._AsyncCallbackEntry(callback);
3998 lastPriorityCallback = $._lastPriorityCallback;
3999 if (lastPriorityCallback == null) {
4000 entry.next = t1;
4001 $._nextCallback = $._lastPriorityCallback = entry;
4002 } else {
4003 next = lastPriorityCallback.next;
4004 entry.next = next;
4005 $._lastPriorityCallback = lastPriorityCallback.next = entry;
4006 if (next == null)
4007 $._lastCallback = entry;
4008 }
4009 },
4010 scheduleMicrotask(callback) {
4011 var t1, _null = null,
4012 currentZone = $.Zone__current;
4013 if (B.C__RootZone === currentZone) {
4014 A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
4015 return;
4016 }
4017 if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
4018 t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
4019 else
4020 t1 = false;
4021 if (t1) {
4022 A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
4023 return;
4024 }
4025 t1 = $.Zone__current;
4026 t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
4027 },
4028 Stream_Stream$fromFuture(future, $T) {
4029 var _null = null,
4030 t1 = $T._eval$1("_SyncStreamController<0>"),
4031 controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
4032 future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
4033 return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
4034 },
4035 StreamIterator_StreamIterator(stream) {
4036 return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
4037 },
4038 StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
4039 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>"));
4040 },
4041 _runGuarded(notificationHandler) {
4042 var e, s, exception;
4043 if (notificationHandler == null)
4044 return;
4045 try {
4046 notificationHandler.call$0();
4047 } catch (exception) {
4048 e = A.unwrapException(exception);
4049 s = A.getTraceFromException(exception);
4050 $.Zone__current.handleUncaughtError$2(e, s);
4051 }
4052 },
4053 _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
4054 var t1 = $.Zone__current,
4055 t2 = cancelOnError ? 1 : 0,
4056 t3 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
4057 t4 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
4058 t5 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
4059 return new A._ControllerSubscription(_controller, t3, t4, t1.registerCallback$1$1(t5, type$.void), t1, t2, $T._eval$1("_ControllerSubscription<0>"));
4060 },
4061 _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
4062 var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
4063 return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
4064 },
4065 _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
4066 if (handleError == null)
4067 handleError = A.async___nullErrorHandler$closure();
4068 if (type$.void_Function_Object_StackTrace._is(handleError))
4069 return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
4070 if (type$.void_Function_Object._is(handleError))
4071 return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
4072 throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
4073 },
4074 _nullDataHandler(value) {
4075 },
4076 _nullErrorHandler(error, stackTrace) {
4077 $.Zone__current.handleUncaughtError$2(error, stackTrace);
4078 },
4079 _nullDoneHandler() {
4080 },
4081 Timer_Timer(duration, callback) {
4082 var t1 = $.Zone__current;
4083 if (t1 === B.C__RootZone)
4084 return t1.createTimer$2(duration, callback);
4085 return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
4086 },
4087 _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
4088 A._rootHandleError(error, stackTrace);
4089 },
4090 _rootHandleError(error, stackTrace) {
4091 A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
4092 },
4093 _rootRun($self, $parent, zone, f) {
4094 var old,
4095 t1 = $.Zone__current;
4096 if (t1 === zone)
4097 return f.call$0();
4098 $.Zone__current = zone;
4099 old = t1;
4100 try {
4101 t1 = f.call$0();
4102 return t1;
4103 } finally {
4104 $.Zone__current = old;
4105 }
4106 },
4107 _rootRunUnary($self, $parent, zone, f, arg) {
4108 var old,
4109 t1 = $.Zone__current;
4110 if (t1 === zone)
4111 return f.call$1(arg);
4112 $.Zone__current = zone;
4113 old = t1;
4114 try {
4115 t1 = f.call$1(arg);
4116 return t1;
4117 } finally {
4118 $.Zone__current = old;
4119 }
4120 },
4121 _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
4122 var old,
4123 t1 = $.Zone__current;
4124 if (t1 === zone)
4125 return f.call$2(arg1, arg2);
4126 $.Zone__current = zone;
4127 old = t1;
4128 try {
4129 t1 = f.call$2(arg1, arg2);
4130 return t1;
4131 } finally {
4132 $.Zone__current = old;
4133 }
4134 },
4135 _rootRegisterCallback($self, $parent, zone, f) {
4136 return f;
4137 },
4138 _rootRegisterUnaryCallback($self, $parent, zone, f) {
4139 return f;
4140 },
4141 _rootRegisterBinaryCallback($self, $parent, zone, f) {
4142 return f;
4143 },
4144 _rootErrorCallback($self, $parent, zone, error, stackTrace) {
4145 return null;
4146 },
4147 _rootScheduleMicrotask($self, $parent, zone, f) {
4148 var t1, t2;
4149 if (B.C__RootZone !== zone) {
4150 t1 = B.C__RootZone.get$errorZone();
4151 t2 = zone.get$errorZone();
4152 f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
4153 }
4154 A._scheduleAsyncCallback(f);
4155 },
4156 _rootCreateTimer($self, $parent, zone, duration, callback) {
4157 return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
4158 },
4159 _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
4160 var milliseconds;
4161 if (B.C__RootZone !== zone)
4162 callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
4163 milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
4164 return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
4165 },
4166 _rootPrint($self, $parent, zone, line) {
4167 A.printString(line);
4168 },
4169 _printToZone(line) {
4170 $.Zone__current.print$1(line);
4171 },
4172 _rootFork($self, $parent, zone, specification, zoneValues) {
4173 var valueMap, t1, handleUncaughtError;
4174 $.printToZone = A.async___printToZone$closure();
4175 if (specification == null)
4176 specification = B._ZoneSpecification_ALf;
4177 if (zoneValues == null)
4178 valueMap = zone.get$_async$_map();
4179 else {
4180 t1 = type$.nullable_Object;
4181 valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
4182 }
4183 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);
4184 handleUncaughtError = specification.handleUncaughtError;
4185 if (handleUncaughtError != null)
4186 t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
4187 return t1;
4188 },
4189 runZoned(body, zoneValues, $R) {
4190 A.checkNotNullable(body, "body", $R._eval$1("0()"));
4191 return A._runZoned(body, zoneValues, null, $R);
4192 },
4193 _runZoned(body, zoneValues, specification, $R) {
4194 return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
4195 },
4196 _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
4197 this._box_0 = t0;
4198 },
4199 _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
4200 this._box_0 = t0;
4201 this.div = t1;
4202 this.span = t2;
4203 },
4204 _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
4205 this.callback = t0;
4206 },
4207 _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
4208 this.callback = t0;
4209 },
4210 _TimerImpl: function _TimerImpl(t0) {
4211 this._once = t0;
4212 this._handle = null;
4213 this._tick = 0;
4214 },
4215 _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
4216 this.$this = t0;
4217 this.callback = t1;
4218 },
4219 _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
4220 var _ = this;
4221 _.$this = t0;
4222 _.milliseconds = t1;
4223 _.start = t2;
4224 _.callback = t3;
4225 },
4226 _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
4227 this._future = t0;
4228 this.isSync = false;
4229 this.$ti = t1;
4230 },
4231 _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
4232 this.bodyFunction = t0;
4233 },
4234 _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
4235 this.bodyFunction = t0;
4236 },
4237 _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
4238 this.$protected = t0;
4239 },
4240 _IterationMarker: function _IterationMarker(t0, t1) {
4241 this.value = t0;
4242 this.state = t1;
4243 },
4244 _SyncStarIterator: function _SyncStarIterator(t0) {
4245 var _ = this;
4246 _._body = t0;
4247 _._suspendedBodies = _._nestedIterator = _._async$_current = null;
4248 },
4249 _SyncStarIterable: function _SyncStarIterable(t0, t1) {
4250 this._outerHelper = t0;
4251 this.$ti = t1;
4252 },
4253 AsyncError: function AsyncError(t0, t1) {
4254 this.error = t0;
4255 this.stackTrace = t1;
4256 },
4257 Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5) {
4258 var _ = this;
4259 _._box_0 = t0;
4260 _.cleanUp = t1;
4261 _.eagerError = t2;
4262 _._future = t3;
4263 _.error = t4;
4264 _.stackTrace = t5;
4265 },
4266 Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
4267 var _ = this;
4268 _._box_0 = t0;
4269 _.pos = t1;
4270 _._future = t2;
4271 _.cleanUp = t3;
4272 _.eagerError = t4;
4273 _.error = t5;
4274 _.stackTrace = t6;
4275 _.T = t7;
4276 },
4277 _Completer: function _Completer() {
4278 },
4279 _AsyncCompleter: function _AsyncCompleter(t0, t1) {
4280 this.future = t0;
4281 this.$ti = t1;
4282 },
4283 _SyncCompleter: function _SyncCompleter(t0, t1) {
4284 this.future = t0;
4285 this.$ti = t1;
4286 },
4287 _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
4288 var _ = this;
4289 _._nextListener = null;
4290 _.result = t0;
4291 _.state = t1;
4292 _.callback = t2;
4293 _.errorCallback = t3;
4294 _.$ti = t4;
4295 },
4296 _Future: function _Future(t0, t1) {
4297 var _ = this;
4298 _._state = 0;
4299 _._zone = t0;
4300 _._resultOrListeners = null;
4301 _.$ti = t1;
4302 },
4303 _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
4304 this.$this = t0;
4305 this.listener = t1;
4306 },
4307 _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
4308 this._box_0 = t0;
4309 this.$this = t1;
4310 },
4311 _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) {
4312 this.$this = t0;
4313 },
4314 _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) {
4315 this.$this = t0;
4316 },
4317 _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) {
4318 this.$this = t0;
4319 this.e = t1;
4320 this.s = t2;
4321 },
4322 _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
4323 this.$this = t0;
4324 this.value = t1;
4325 },
4326 _Future__chainFuture_closure: function _Future__chainFuture_closure(t0, t1) {
4327 this.$this = t0;
4328 this.value = t1;
4329 },
4330 _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) {
4331 this.$this = t0;
4332 this.error = t1;
4333 this.stackTrace = t2;
4334 },
4335 _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
4336 this._box_0 = t0;
4337 this._box_1 = t1;
4338 this.hasError = t2;
4339 },
4340 _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) {
4341 this.originalSource = t0;
4342 },
4343 _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
4344 this._box_0 = t0;
4345 this.sourceResult = t1;
4346 },
4347 _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
4348 this._box_1 = t0;
4349 this._box_0 = t1;
4350 },
4351 _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
4352 this.callback = t0;
4353 this.next = null;
4354 },
4355 Stream: function Stream() {
4356 },
4357 Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
4358 this.controller = t0;
4359 this.T = t1;
4360 },
4361 Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
4362 this.controller = t0;
4363 },
4364 Stream_length_closure: function Stream_length_closure(t0, t1) {
4365 this._box_0 = t0;
4366 this.$this = t1;
4367 },
4368 Stream_length_closure0: function Stream_length_closure0(t0, t1) {
4369 this._box_0 = t0;
4370 this.future = t1;
4371 },
4372 StreamTransformerBase: function StreamTransformerBase() {
4373 },
4374 _StreamController: function _StreamController() {
4375 },
4376 _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
4377 this.$this = t0;
4378 },
4379 _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
4380 this.$this = t0;
4381 },
4382 _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
4383 },
4384 _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
4385 },
4386 _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
4387 var _ = this;
4388 _._varData = null;
4389 _._state = 0;
4390 _._doneFuture = null;
4391 _.onListen = t0;
4392 _.onPause = t1;
4393 _.onResume = t2;
4394 _.onCancel = t3;
4395 _.$ti = t4;
4396 },
4397 _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
4398 var _ = this;
4399 _._varData = null;
4400 _._state = 0;
4401 _._doneFuture = null;
4402 _.onListen = t0;
4403 _.onPause = t1;
4404 _.onResume = t2;
4405 _.onCancel = t3;
4406 _.$ti = t4;
4407 },
4408 _ControllerStream: function _ControllerStream(t0, t1) {
4409 this._controller = t0;
4410 this.$ti = t1;
4411 },
4412 _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
4413 var _ = this;
4414 _._controller = t0;
4415 _._onData = t1;
4416 _._onError = t2;
4417 _._onDone = t3;
4418 _._zone = t4;
4419 _._state = t5;
4420 _._pending = _._cancelFuture = null;
4421 _.$ti = t6;
4422 },
4423 _AddStreamState: function _AddStreamState() {
4424 },
4425 _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
4426 this.$this = t0;
4427 },
4428 _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
4429 this.varData = t0;
4430 this.addStreamFuture = t1;
4431 this.addSubscription = t2;
4432 },
4433 _BufferingStreamSubscription: function _BufferingStreamSubscription() {
4434 },
4435 _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
4436 this.$this = t0;
4437 this.error = t1;
4438 this.stackTrace = t2;
4439 },
4440 _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
4441 this.$this = t0;
4442 },
4443 _StreamImpl: function _StreamImpl() {
4444 },
4445 _DelayedEvent: function _DelayedEvent() {
4446 },
4447 _DelayedData: function _DelayedData(t0) {
4448 this.value = t0;
4449 this.next = null;
4450 },
4451 _DelayedError: function _DelayedError(t0, t1) {
4452 this.error = t0;
4453 this.stackTrace = t1;
4454 this.next = null;
4455 },
4456 _DelayedDone: function _DelayedDone() {
4457 },
4458 _PendingEvents: function _PendingEvents() {
4459 },
4460 _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
4461 this.$this = t0;
4462 this.dispatch = t1;
4463 },
4464 _StreamImplEvents: function _StreamImplEvents() {
4465 this.lastPendingEvent = this.firstPendingEvent = null;
4466 this._state = 0;
4467 },
4468 _StreamIterator: function _StreamIterator(t0) {
4469 this._subscription = null;
4470 this._stateData = t0;
4471 this._async$_hasValue = false;
4472 },
4473 _ForwardingStream: function _ForwardingStream() {
4474 },
4475 _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
4476 var _ = this;
4477 _._stream = t0;
4478 _._subscription = null;
4479 _._onData = t1;
4480 _._onError = t2;
4481 _._onDone = t3;
4482 _._zone = t4;
4483 _._state = t5;
4484 _._pending = _._cancelFuture = null;
4485 _.$ti = t6;
4486 },
4487 _ExpandStream: function _ExpandStream(t0, t1, t2) {
4488 this._expand = t0;
4489 this._async$_source = t1;
4490 this.$ti = t2;
4491 },
4492 _ZoneFunction: function _ZoneFunction(t0, t1) {
4493 this.zone = t0;
4494 this.$function = t1;
4495 },
4496 _RunNullaryZoneFunction: function _RunNullaryZoneFunction(t0, t1) {
4497 this.zone = t0;
4498 this.$function = t1;
4499 },
4500 _RunUnaryZoneFunction: function _RunUnaryZoneFunction(t0, t1) {
4501 this.zone = t0;
4502 this.$function = t1;
4503 },
4504 _RunBinaryZoneFunction: function _RunBinaryZoneFunction(t0, t1) {
4505 this.zone = t0;
4506 this.$function = t1;
4507 },
4508 _RegisterNullaryZoneFunction: function _RegisterNullaryZoneFunction(t0, t1) {
4509 this.zone = t0;
4510 this.$function = t1;
4511 },
4512 _RegisterUnaryZoneFunction: function _RegisterUnaryZoneFunction(t0, t1) {
4513 this.zone = t0;
4514 this.$function = t1;
4515 },
4516 _RegisterBinaryZoneFunction: function _RegisterBinaryZoneFunction(t0, t1) {
4517 this.zone = t0;
4518 this.$function = t1;
4519 },
4520 _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
4521 var _ = this;
4522 _.handleUncaughtError = t0;
4523 _.run = t1;
4524 _.runUnary = t2;
4525 _.runBinary = t3;
4526 _.registerCallback = t4;
4527 _.registerUnaryCallback = t5;
4528 _.registerBinaryCallback = t6;
4529 _.errorCallback = t7;
4530 _.scheduleMicrotask = t8;
4531 _.createTimer = t9;
4532 _.createPeriodicTimer = t10;
4533 _.print = t11;
4534 _.fork = t12;
4535 },
4536 _ZoneDelegate: function _ZoneDelegate(t0) {
4537 this._delegationTarget = t0;
4538 },
4539 _Zone: function _Zone() {
4540 },
4541 _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
4542 var _ = this;
4543 _._run = t0;
4544 _._runUnary = t1;
4545 _._runBinary = t2;
4546 _._registerCallback = t3;
4547 _._registerUnaryCallback = t4;
4548 _._registerBinaryCallback = t5;
4549 _._errorCallback = t6;
4550 _._scheduleMicrotask = t7;
4551 _._createTimer = t8;
4552 _._createPeriodicTimer = t9;
4553 _._print = t10;
4554 _._fork = t11;
4555 _._handleUncaughtError = t12;
4556 _._delegateCache = null;
4557 _.parent = t13;
4558 _._async$_map = t14;
4559 },
4560 _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
4561 this.$this = t0;
4562 this.registered = t1;
4563 this.R = t2;
4564 },
4565 _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
4566 var _ = this;
4567 _.$this = t0;
4568 _.registered = t1;
4569 _.T = t2;
4570 _.R = t3;
4571 },
4572 _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
4573 this.$this = t0;
4574 this.registered = t1;
4575 },
4576 _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
4577 this.error = t0;
4578 this.stackTrace = t1;
4579 },
4580 _RootZone: function _RootZone() {
4581 },
4582 _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
4583 this.$this = t0;
4584 this.f = t1;
4585 this.R = t2;
4586 },
4587 _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
4588 var _ = this;
4589 _.$this = t0;
4590 _.f = t1;
4591 _.T = t2;
4592 _.R = t3;
4593 },
4594 _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
4595 this.$this = t0;
4596 this.f = t1;
4597 },
4598 HashMap_HashMap($K, $V) {
4599 return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
4600 },
4601 _HashMap__getTableEntry(table, key) {
4602 var entry = table[key];
4603 return entry === table ? null : entry;
4604 },
4605 _HashMap__setTableEntry(table, key, value) {
4606 if (value == null)
4607 table[key] = table;
4608 else
4609 table[key] = value;
4610 },
4611 _HashMap__newHashTable() {
4612 var table = Object.create(null);
4613 A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
4614 delete table["<non-identifier-key>"];
4615 return table;
4616 },
4617 LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
4618 if (isValidKey == null)
4619 if (hashCode == null) {
4620 if (equals == null)
4621 return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
4622 hashCode = A.collection___defaultHashCode$closure();
4623 } else {
4624 if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
4625 return A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6($K, $V);
4626 if (equals == null)
4627 equals = A.collection___defaultEquals$closure();
4628 }
4629 else {
4630 if (hashCode == null)
4631 hashCode = A.collection___defaultHashCode$closure();
4632 if (equals == null)
4633 equals = A.collection___defaultEquals$closure();
4634 }
4635 return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
4636 },
4637 LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
4638 return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
4639 },
4640 LinkedHashMap_LinkedHashMap$_empty($K, $V) {
4641 return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
4642 },
4643 _LinkedIdentityHashMap__LinkedIdentityHashMap$es6($K, $V) {
4644 return new A._LinkedIdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedIdentityHashMap<1,2>"));
4645 },
4646 _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
4647 var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
4648 return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
4649 },
4650 LinkedHashSet_LinkedHashSet($E) {
4651 return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
4652 },
4653 LinkedHashSet_LinkedHashSet$_empty($E) {
4654 return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
4655 },
4656 LinkedHashSet_LinkedHashSet$_literal(values, $E) {
4657 return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
4658 },
4659 _LinkedHashSet__newHashTable() {
4660 var table = Object.create(null);
4661 table["<non-identifier-key>"] = table;
4662 delete table["<non-identifier-key>"];
4663 return table;
4664 },
4665 _LinkedHashSetIterator$(_set, _modifications) {
4666 var t1 = new A._LinkedHashSetIterator(_set, _modifications);
4667 t1._collection$_cell = _set._collection$_first;
4668 return t1;
4669 },
4670 UnmodifiableListView$(source, $E) {
4671 return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
4672 },
4673 _defaultEquals(a, b) {
4674 return J.$eq$(a, b);
4675 },
4676 _defaultHashCode(a) {
4677 return J.get$hashCode$(a);
4678 },
4679 HashMap_HashMap$from(other, $K, $V) {
4680 var result = A.HashMap_HashMap($K, $V);
4681 other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
4682 return result;
4683 },
4684 IterableBase_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
4685 var parts, t1;
4686 if (A._isToStringVisiting(iterable)) {
4687 if (leftDelimiter === "(" && rightDelimiter === ")")
4688 return "(...)";
4689 return leftDelimiter + "..." + rightDelimiter;
4690 }
4691 parts = A._setArrayType([], type$.JSArray_String);
4692 $._toStringVisiting.push(iterable);
4693 try {
4694 A._iterablePartsToStrings(iterable, parts);
4695 } finally {
4696 $._toStringVisiting.pop();
4697 }
4698 t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
4699 return t1.charCodeAt(0) == 0 ? t1 : t1;
4700 },
4701 IterableBase_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
4702 var buffer, t1;
4703 if (A._isToStringVisiting(iterable))
4704 return leftDelimiter + "..." + rightDelimiter;
4705 buffer = new A.StringBuffer(leftDelimiter);
4706 $._toStringVisiting.push(iterable);
4707 try {
4708 t1 = buffer;
4709 t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
4710 } finally {
4711 $._toStringVisiting.pop();
4712 }
4713 buffer._contents += rightDelimiter;
4714 t1 = buffer._contents;
4715 return t1.charCodeAt(0) == 0 ? t1 : t1;
4716 },
4717 _isToStringVisiting(o) {
4718 var t1, i;
4719 for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i)
4720 if (o === $._toStringVisiting[i])
4721 return true;
4722 return false;
4723 },
4724 _iterablePartsToStrings(iterable, parts) {
4725 var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
4726 it = iterable.get$iterator(iterable),
4727 $length = 0, count = 0;
4728 while (true) {
4729 if (!($length < 80 || count < 3))
4730 break;
4731 if (!it.moveNext$0())
4732 return;
4733 next = A.S(it.get$current(it));
4734 parts.push(next);
4735 $length += next.length + 2;
4736 ++count;
4737 }
4738 if (!it.moveNext$0()) {
4739 if (count <= 5)
4740 return;
4741 ultimateString = parts.pop();
4742 penultimateString = parts.pop();
4743 } else {
4744 penultimate = it.get$current(it);
4745 ++count;
4746 if (!it.moveNext$0()) {
4747 if (count <= 4) {
4748 parts.push(A.S(penultimate));
4749 return;
4750 }
4751 ultimateString = A.S(penultimate);
4752 penultimateString = parts.pop();
4753 $length += ultimateString.length + 2;
4754 } else {
4755 ultimate = it.get$current(it);
4756 ++count;
4757 for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
4758 ultimate0 = it.get$current(it);
4759 ++count;
4760 if (count > 100) {
4761 while (true) {
4762 if (!($length > 75 && count > 3))
4763 break;
4764 $length -= parts.pop().length + 2;
4765 --count;
4766 }
4767 parts.push("...");
4768 return;
4769 }
4770 }
4771 penultimateString = A.S(penultimate);
4772 ultimateString = A.S(ultimate);
4773 $length += ultimateString.length + penultimateString.length + 4;
4774 }
4775 }
4776 if (count > parts.length + 2) {
4777 $length += 5;
4778 elision = "...";
4779 } else
4780 elision = null;
4781 while (true) {
4782 if (!($length > 80 && parts.length > 3))
4783 break;
4784 $length -= parts.pop().length + 2;
4785 if (elision == null) {
4786 $length += 5;
4787 elision = "...";
4788 }
4789 }
4790 if (elision != null)
4791 parts.push(elision);
4792 parts.push(penultimateString);
4793 parts.push(ultimateString);
4794 },
4795 LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
4796 var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
4797 other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
4798 return result;
4799 },
4800 LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
4801 var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
4802 t1.addAll$1(0, other);
4803 return t1;
4804 },
4805 LinkedHashSet_LinkedHashSet$from(elements, $E) {
4806 var t1, _i,
4807 result = A.LinkedHashSet_LinkedHashSet($E);
4808 for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
4809 result.add$1(0, $E._as(elements[_i]));
4810 return result;
4811 },
4812 LinkedHashSet_LinkedHashSet$of(elements, $E) {
4813 var t1 = A.LinkedHashSet_LinkedHashSet($E);
4814 t1.addAll$1(0, elements);
4815 return t1;
4816 },
4817 ListMixin__compareAny(a, b) {
4818 var t1 = type$.Comparable_dynamic;
4819 return J.compareTo$1$ns(t1._as(a), t1._as(b));
4820 },
4821 MapBase_mapToString(m) {
4822 var result, t1 = {};
4823 if (A._isToStringVisiting(m))
4824 return "{...}";
4825 result = new A.StringBuffer("");
4826 try {
4827 $._toStringVisiting.push(m);
4828 result._contents += "{";
4829 t1.first = true;
4830 m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
4831 result._contents += "}";
4832 } finally {
4833 $._toStringVisiting.pop();
4834 }
4835 t1 = result._contents;
4836 return t1.charCodeAt(0) == 0 ? t1 : t1;
4837 },
4838 MapBase__fillMapWithIterables(map, keys, values) {
4839 var keyIterator = keys.get$iterator(keys),
4840 valueIterator = values.get$iterator(values),
4841 hasNextKey = keyIterator.moveNext$0(),
4842 hasNextValue = valueIterator.moveNext$0();
4843 while (true) {
4844 if (!(hasNextKey && hasNextValue))
4845 break;
4846 map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
4847 hasNextKey = keyIterator.moveNext$0();
4848 hasNextValue = valueIterator.moveNext$0();
4849 }
4850 if (hasNextKey || hasNextValue)
4851 throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
4852 },
4853 ListQueue$($E) {
4854 return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
4855 },
4856 ListQueue__calculateCapacity(initialCapacity) {
4857 return 8;
4858 },
4859 ListQueue_ListQueue$of(elements, $E) {
4860 var t1 = A.ListQueue$($E);
4861 t1.addAll$1(0, elements);
4862 return t1;
4863 },
4864 ListQueue__nextPowerOf2(number) {
4865 var nextNumber;
4866 number = (number << 1 >>> 0) - 1;
4867 for (; true; number = nextNumber) {
4868 nextNumber = (number & number - 1) >>> 0;
4869 if (nextNumber === 0)
4870 return number;
4871 }
4872 },
4873 _ListQueueIterator$(queue) {
4874 return new A._ListQueueIterator(queue, queue._collection$_tail, queue._modificationCount, queue._collection$_head);
4875 },
4876 _UnmodifiableSetMixin__throwUnmodifiable() {
4877 throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
4878 },
4879 _HashMap: function _HashMap(t0) {
4880 var _ = this;
4881 _._collection$_length = 0;
4882 _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4883 _.$ti = t0;
4884 },
4885 _HashMap_values_closure: function _HashMap_values_closure(t0) {
4886 this.$this = t0;
4887 },
4888 _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
4889 this.$this = t0;
4890 },
4891 _IdentityHashMap: function _IdentityHashMap(t0) {
4892 var _ = this;
4893 _._collection$_length = 0;
4894 _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4895 _.$ti = t0;
4896 },
4897 _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
4898 this._map = t0;
4899 this.$ti = t1;
4900 },
4901 _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1) {
4902 var _ = this;
4903 _._map = t0;
4904 _._keys = t1;
4905 _._offset = 0;
4906 _._collection$_current = null;
4907 },
4908 _LinkedIdentityHashMap: function _LinkedIdentityHashMap(t0) {
4909 var _ = this;
4910 _.__js_helper$_length = 0;
4911 _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
4912 _._modifications = 0;
4913 _.$ti = t0;
4914 },
4915 _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
4916 var _ = this;
4917 _._equals = t0;
4918 _._hashCode = t1;
4919 _._validKey = t2;
4920 _.__js_helper$_length = 0;
4921 _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
4922 _._modifications = 0;
4923 _.$ti = t3;
4924 },
4925 _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
4926 this.K = t0;
4927 },
4928 _LinkedHashSet: function _LinkedHashSet(t0) {
4929 var _ = this;
4930 _._collection$_length = 0;
4931 _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4932 _._collection$_modifications = 0;
4933 _.$ti = t0;
4934 },
4935 _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
4936 var _ = this;
4937 _._collection$_length = 0;
4938 _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4939 _._collection$_modifications = 0;
4940 _.$ti = t0;
4941 },
4942 _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
4943 this._element = t0;
4944 this._collection$_previous = this._collection$_next = null;
4945 },
4946 _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1) {
4947 var _ = this;
4948 _._set = t0;
4949 _._collection$_modifications = t1;
4950 _._collection$_current = _._collection$_cell = null;
4951 },
4952 UnmodifiableListView: function UnmodifiableListView(t0, t1) {
4953 this._collection$_source = t0;
4954 this.$ti = t1;
4955 },
4956 HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
4957 this.result = t0;
4958 this.K = t1;
4959 this.V = t2;
4960 },
4961 IterableBase: function IterableBase() {
4962 },
4963 LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
4964 this.result = t0;
4965 this.K = t1;
4966 this.V = t2;
4967 },
4968 ListBase: function ListBase() {
4969 },
4970 ListMixin: function ListMixin() {
4971 },
4972 MapBase: function MapBase() {
4973 },
4974 MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
4975 this._box_0 = t0;
4976 this.result = t1;
4977 },
4978 MapMixin: function MapMixin() {
4979 },
4980 MapMixin_entries_closure: function MapMixin_entries_closure(t0) {
4981 this.$this = t0;
4982 },
4983 UnmodifiableMapBase: function UnmodifiableMapBase() {
4984 },
4985 _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
4986 this._map = t0;
4987 this.$ti = t1;
4988 },
4989 _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1) {
4990 this._keys = t0;
4991 this._map = t1;
4992 this._collection$_current = null;
4993 },
4994 _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
4995 },
4996 MapView: function MapView() {
4997 },
4998 UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
4999 this._map = t0;
5000 this.$ti = t1;
5001 },
5002 ListQueue: function ListQueue(t0, t1) {
5003 var _ = this;
5004 _._collection$_table = t0;
5005 _._modificationCount = _._collection$_tail = _._collection$_head = 0;
5006 _.$ti = t1;
5007 },
5008 _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3) {
5009 var _ = this;
5010 _._queue = t0;
5011 _._collection$_end = t1;
5012 _._modificationCount = t2;
5013 _._collection$_position = t3;
5014 _._collection$_current = null;
5015 },
5016 SetMixin: function SetMixin() {
5017 },
5018 _SetBase: function _SetBase() {
5019 },
5020 _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
5021 },
5022 _UnmodifiableSet: function _UnmodifiableSet(t0, t1) {
5023 this._map = t0;
5024 this.$ti = t1;
5025 },
5026 _ListBase_Object_ListMixin: function _ListBase_Object_ListMixin() {
5027 },
5028 _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
5029 },
5030 __SetBase_Object_SetMixin: function __SetBase_Object_SetMixin() {
5031 },
5032 __UnmodifiableSet__SetBase__UnmodifiableSetMixin: function __UnmodifiableSet__SetBase__UnmodifiableSetMixin() {
5033 },
5034 Utf8Decoder__convertIntercepted(allowMalformed, codeUnits, start, end) {
5035 var casted, result;
5036 if (codeUnits instanceof Uint8Array) {
5037 casted = codeUnits;
5038 end = casted.length;
5039 if (end - start < 15)
5040 return null;
5041 result = A.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end);
5042 if (result != null && allowMalformed)
5043 if (result.indexOf("\ufffd") >= 0)
5044 return null;
5045 return result;
5046 }
5047 return null;
5048 },
5049 Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
5050 var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder();
5051 if (decoder == null)
5052 return null;
5053 if (0 === start && end === codeUnits.length)
5054 return A.Utf8Decoder__useTextDecoder(decoder, codeUnits);
5055 return A.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, A.RangeError_checkValidRange(start, end, codeUnits.length)));
5056 },
5057 Utf8Decoder__useTextDecoder(decoder, codeUnits) {
5058 var t1, exception;
5059 try {
5060 t1 = decoder.decode(codeUnits);
5061 return t1;
5062 } catch (exception) {
5063 }
5064 return null;
5065 },
5066 Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
5067 if (B.JSInt_methods.$mod($length, 4) !== 0)
5068 throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
5069 if (firstPadding + paddingCount !== $length)
5070 throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
5071 if (paddingCount > 2)
5072 throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
5073 },
5074 _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
5075 var t1, i, byteOr, byte, outputIndex0, outputIndex1,
5076 bits = state >>> 2,
5077 expectedChars = 3 - (state & 3);
5078 for (t1 = J.getInterceptor$asx(bytes), i = start, byteOr = 0; i < end; ++i) {
5079 byte = t1.$index(bytes, i);
5080 byteOr = (byteOr | byte) >>> 0;
5081 bits = (bits << 8 | byte) & 16777215;
5082 --expectedChars;
5083 if (expectedChars === 0) {
5084 outputIndex0 = outputIndex + 1;
5085 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 18 & 63);
5086 outputIndex = outputIndex0 + 1;
5087 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 12 & 63);
5088 outputIndex0 = outputIndex + 1;
5089 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 6 & 63);
5090 outputIndex = outputIndex0 + 1;
5091 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits & 63);
5092 bits = 0;
5093 expectedChars = 3;
5094 }
5095 }
5096 if (byteOr >= 0 && byteOr <= 255) {
5097 if (isLast && expectedChars < 3) {
5098 outputIndex0 = outputIndex + 1;
5099 outputIndex1 = outputIndex0 + 1;
5100 if (3 - expectedChars === 1) {
5101 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 2 & 63);
5102 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 4 & 63);
5103 output[outputIndex1] = 61;
5104 output[outputIndex1 + 1] = 61;
5105 } else {
5106 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 10 & 63);
5107 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 4 & 63);
5108 output[outputIndex1] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 2 & 63);
5109 output[outputIndex1 + 1] = 61;
5110 }
5111 return 0;
5112 }
5113 return (bits << 2 | 3 - expectedChars) >>> 0;
5114 }
5115 for (i = start; i < end;) {
5116 byte = t1.$index(bytes, i);
5117 if (byte < 0 || byte > 255)
5118 break;
5119 ++i;
5120 }
5121 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));
5122 },
5123 JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
5124 return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
5125 },
5126 _defaultToEncodable(object) {
5127 return object.toJson$0();
5128 },
5129 _JsonStringStringifier$(_sink, _toEncodable) {
5130 return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
5131 },
5132 _JsonStringStringifier_stringify(object, toEncodable, indent) {
5133 var t1,
5134 output = new A.StringBuffer(""),
5135 stringifier = A._JsonStringStringifier$(output, toEncodable);
5136 stringifier.writeObject$1(object);
5137 t1 = output._contents;
5138 return t1.charCodeAt(0) == 0 ? t1 : t1;
5139 },
5140 _Utf8Decoder_errorDescription(state) {
5141 switch (state) {
5142 case 65:
5143 return "Missing extension byte";
5144 case 67:
5145 return "Unexpected extension byte";
5146 case 69:
5147 return "Invalid UTF-8 byte";
5148 case 71:
5149 return "Overlong encoding";
5150 case 73:
5151 return "Out of unicode range";
5152 case 75:
5153 return "Encoded surrogate";
5154 case 77:
5155 return "Unfinished UTF-8 octet sequence";
5156 default:
5157 return "";
5158 }
5159 },
5160 _Utf8Decoder__makeUint8List(codeUnits, start, end) {
5161 var t1, i, b,
5162 $length = end - start,
5163 bytes = new Uint8Array($length);
5164 for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
5165 b = t1.$index(codeUnits, start + i);
5166 bytes[i] = (b & 4294967040) >>> 0 !== 0 ? 255 : b;
5167 }
5168 return bytes;
5169 },
5170 Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() {
5171 },
5172 Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() {
5173 },
5174 AsciiCodec: function AsciiCodec() {
5175 },
5176 _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
5177 },
5178 AsciiEncoder: function AsciiEncoder(t0) {
5179 this._subsetMask = t0;
5180 },
5181 Base64Codec: function Base64Codec() {
5182 },
5183 Base64Encoder: function Base64Encoder() {
5184 },
5185 _Base64Encoder: function _Base64Encoder(t0) {
5186 this._convert$_state = 0;
5187 this._alphabet = t0;
5188 },
5189 _Base64EncoderSink: function _Base64EncoderSink() {
5190 },
5191 _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
5192 this._sink = t0;
5193 this._encoder = t1;
5194 },
5195 ByteConversionSink: function ByteConversionSink() {
5196 },
5197 ByteConversionSinkBase: function ByteConversionSinkBase() {
5198 },
5199 ChunkedConversionSink: function ChunkedConversionSink() {
5200 },
5201 Codec: function Codec() {
5202 },
5203 Converter: function Converter() {
5204 },
5205 Encoding: function Encoding() {
5206 },
5207 JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
5208 this.unsupportedObject = t0;
5209 this.cause = t1;
5210 },
5211 JsonCyclicError: function JsonCyclicError(t0, t1) {
5212 this.unsupportedObject = t0;
5213 this.cause = t1;
5214 },
5215 JsonCodec: function JsonCodec() {
5216 },
5217 JsonEncoder: function JsonEncoder(t0) {
5218 this._toEncodable = t0;
5219 },
5220 _JsonStringifier: function _JsonStringifier() {
5221 },
5222 _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
5223 this._box_0 = t0;
5224 this.keyValueList = t1;
5225 },
5226 _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
5227 this._sink = t0;
5228 this._seen = t1;
5229 this._toEncodable = t2;
5230 },
5231 StringConversionSinkBase: function StringConversionSinkBase() {
5232 },
5233 StringConversionSinkMixin: function StringConversionSinkMixin() {
5234 },
5235 _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
5236 this._stringSink = t0;
5237 },
5238 _StringCallbackSink: function _StringCallbackSink(t0, t1) {
5239 this._convert$_callback = t0;
5240 this._stringSink = t1;
5241 },
5242 _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
5243 this._decoder = t0;
5244 this._sink = t1;
5245 this._stringSink = t2;
5246 },
5247 Utf8Codec: function Utf8Codec() {
5248 },
5249 Utf8Encoder: function Utf8Encoder() {
5250 },
5251 _Utf8Encoder: function _Utf8Encoder(t0) {
5252 this._bufferIndex = 0;
5253 this._convert$_buffer = t0;
5254 },
5255 Utf8Decoder: function Utf8Decoder(t0) {
5256 this._allowMalformed = t0;
5257 },
5258 _Utf8Decoder: function _Utf8Decoder(t0) {
5259 this.allowMalformed = t0;
5260 this._convert$_state = 16;
5261 this._charOrIndex = 0;
5262 },
5263 identityHashCode(object) {
5264 return A.objectHashCode(object);
5265 },
5266 Function_apply($function, positionalArguments) {
5267 return A.Primitives_applyFunction($function, positionalArguments, null);
5268 },
5269 Expando$() {
5270 return new A.Expando(new WeakMap());
5271 },
5272 Expando__checkType(object) {
5273 var t1 = A._isBool(object) || typeof object == "number" || typeof object == "string";
5274 if (t1)
5275 throw A.wrapException(A.ArgumentError$value(object, string$.Expand, null));
5276 },
5277 int_parse(source, radix) {
5278 var value = A.Primitives_parseInt(source, radix);
5279 if (value != null)
5280 return value;
5281 throw A.wrapException(A.FormatException$(source, null, null));
5282 },
5283 double_parse(source) {
5284 var value = A.Primitives_parseDouble(source);
5285 if (value != null)
5286 return value;
5287 throw A.wrapException(A.FormatException$("Invalid double", source, null));
5288 },
5289 Error__objectToString(object) {
5290 if (object instanceof A.Closure)
5291 return object.toString$0(0);
5292 return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
5293 },
5294 Error__throw(error, stackTrace) {
5295 error = A.wrapException(error);
5296 error.stack = stackTrace.toString$0(0);
5297 throw error;
5298 throw A.wrapException("unreachable");
5299 },
5300 List_List$filled($length, fill, growable, $E) {
5301 var i,
5302 result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
5303 if ($length !== 0 && fill != null)
5304 for (i = 0; i < result.length; ++i)
5305 result[i] = fill;
5306 return result;
5307 },
5308 List_List$from(elements, growable, $E) {
5309 var t1,
5310 list = A._setArrayType([], $E._eval$1("JSArray<0>"));
5311 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
5312 list.push(t1.get$current(t1));
5313 if (growable)
5314 return list;
5315 return J.JSArray_markFixedList(list);
5316 },
5317 List_List$of(elements, growable, $E) {
5318 var t1;
5319 if (growable)
5320 return A.List_List$_of(elements, $E);
5321 t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E));
5322 return t1;
5323 },
5324 List_List$_of(elements, $E) {
5325 var list, t1;
5326 if (Array.isArray(elements))
5327 return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
5328 list = A._setArrayType([], $E._eval$1("JSArray<0>"));
5329 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
5330 list.push(t1.get$current(t1));
5331 return list;
5332 },
5333 List_List$unmodifiable(elements, $E) {
5334 return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E));
5335 },
5336 String_String$fromCharCodes(charCodes, start, end) {
5337 var array, len;
5338 if (Array.isArray(charCodes)) {
5339 array = charCodes;
5340 len = array.length;
5341 end = A.RangeError_checkValidRange(start, end, len);
5342 return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
5343 }
5344 if (type$.NativeUint8List._is(charCodes))
5345 return A.Primitives_stringFromNativeUint8List(charCodes, start, A.RangeError_checkValidRange(start, end, charCodes.length));
5346 return A.String__stringFromIterable(charCodes, start, end);
5347 },
5348 String_String$fromCharCode(charCode) {
5349 return A.Primitives_stringFromCharCode(charCode);
5350 },
5351 String__stringFromIterable(charCodes, start, end) {
5352 var t1, it, i, list, _null = null;
5353 if (start < 0)
5354 throw A.wrapException(A.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null));
5355 t1 = end == null;
5356 if (!t1 && end < start)
5357 throw A.wrapException(A.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null));
5358 it = J.get$iterator$ax(charCodes);
5359 for (i = 0; i < start; ++i)
5360 if (!it.moveNext$0())
5361 throw A.wrapException(A.RangeError$range(start, 0, i, _null, _null));
5362 list = [];
5363 if (t1)
5364 for (; it.moveNext$0();)
5365 list.push(it.get$current(it));
5366 else
5367 for (i = start; i < end; ++i) {
5368 if (!it.moveNext$0())
5369 throw A.wrapException(A.RangeError$range(end, start, i, _null, _null));
5370 list.push(it.get$current(it));
5371 }
5372 return A.Primitives_stringFromCharCodes(list);
5373 },
5374 RegExp_RegExp(source, multiLine) {
5375 return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false));
5376 },
5377 identical(a, b) {
5378 return a == null ? b == null : a === b;
5379 },
5380 StringBuffer__writeAll(string, objects, separator) {
5381 var iterator = J.get$iterator$ax(objects);
5382 if (!iterator.moveNext$0())
5383 return string;
5384 if (separator.length === 0) {
5385 do
5386 string += A.S(iterator.get$current(iterator));
5387 while (iterator.moveNext$0());
5388 } else {
5389 string += A.S(iterator.get$current(iterator));
5390 for (; iterator.moveNext$0();)
5391 string = string + separator + A.S(iterator.get$current(iterator));
5392 }
5393 return string;
5394 },
5395 NoSuchMethodError$(receiver, memberName, positionalArguments, namedArguments) {
5396 return new A.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments);
5397 },
5398 Uri_base() {
5399 var uri = A.Primitives_currentUri();
5400 if (uri != null)
5401 return A.Uri_parse(uri);
5402 throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
5403 },
5404 _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) {
5405 var t1, bytes, i, t2, byte,
5406 _s16_ = "0123456789ABCDEF";
5407 if (encoding === B.C_Utf8Codec) {
5408 t1 = $.$get$_Uri__needsNoEncoding()._nativeRegExp;
5409 t1 = t1.test(text);
5410 } else
5411 t1 = false;
5412 if (t1)
5413 return text;
5414 bytes = encoding.get$encoder().convert$1(text);
5415 for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
5416 byte = bytes[i];
5417 if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0)
5418 t2 += A.Primitives_stringFromCharCode(byte);
5419 else
5420 t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
5421 }
5422 return t2.charCodeAt(0) == 0 ? t2 : t2;
5423 },
5424 StackTrace_current() {
5425 var stackTrace, exception;
5426 if ($.$get$_hasErrorStackProperty())
5427 return A.getTraceFromException(new Error());
5428 try {
5429 throw A.wrapException("");
5430 } catch (exception) {
5431 stackTrace = A.getTraceFromException(exception);
5432 return stackTrace;
5433 }
5434 },
5435 DateTime$_withValue(_value, isUtc) {
5436 var t1;
5437 if (Math.abs(_value) <= 864e13)
5438 t1 = false;
5439 else
5440 t1 = true;
5441 if (t1)
5442 A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + _value, null));
5443 A.checkNotNullable(false, "isUtc", type$.bool);
5444 return new A.DateTime(_value, false);
5445 },
5446 DateTime__fourDigits(n) {
5447 var absN = Math.abs(n),
5448 sign = n < 0 ? "-" : "";
5449 if (absN >= 1000)
5450 return "" + n;
5451 if (absN >= 100)
5452 return sign + "0" + absN;
5453 if (absN >= 10)
5454 return sign + "00" + absN;
5455 return sign + "000" + absN;
5456 },
5457 DateTime__threeDigits(n) {
5458 if (n >= 100)
5459 return "" + n;
5460 if (n >= 10)
5461 return "0" + n;
5462 return "00" + n;
5463 },
5464 DateTime__twoDigits(n) {
5465 if (n >= 10)
5466 return "" + n;
5467 return "0" + n;
5468 },
5469 Duration$(milliseconds) {
5470 return new A.Duration(1000 * milliseconds);
5471 },
5472 Error_safeToString(object) {
5473 if (typeof object == "number" || A._isBool(object) || object == null)
5474 return J.toString$0$(object);
5475 if (typeof object == "string")
5476 return JSON.stringify(object);
5477 return A.Error__objectToString(object);
5478 },
5479 AssertionError$(message) {
5480 return new A.AssertionError(message);
5481 },
5482 ArgumentError$(message, $name) {
5483 return new A.ArgumentError(false, null, $name, message);
5484 },
5485 ArgumentError$value(value, $name, message) {
5486 return new A.ArgumentError(true, value, $name, message);
5487 },
5488 ArgumentError_checkNotNull(argument, $name) {
5489 return argument;
5490 },
5491 RangeError$(message) {
5492 var _null = null;
5493 return new A.RangeError(_null, _null, false, _null, _null, message);
5494 },
5495 RangeError$value(value, $name, message) {
5496 return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
5497 },
5498 RangeError$range(invalidValue, minValue, maxValue, $name, message) {
5499 return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
5500 },
5501 RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
5502 if (value < minValue || value > maxValue)
5503 throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
5504 return value;
5505 },
5506 RangeError_checkValidIndex(index, indexable, $name) {
5507 var $length = indexable.get$length(indexable);
5508 if (0 > index || index >= $length)
5509 throw A.wrapException(A.IndexError$(index, indexable, $name == null ? "index" : $name, null, $length));
5510 return index;
5511 },
5512 RangeError_checkValidRange(start, end, $length) {
5513 if (0 > start || start > $length)
5514 throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
5515 if (end != null) {
5516 if (start > end || end > $length)
5517 throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
5518 return end;
5519 }
5520 return $length;
5521 },
5522 RangeError_checkNotNegative(value, $name) {
5523 if (value < 0)
5524 throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
5525 return value;
5526 },
5527 IndexError$(invalidValue, indexable, $name, message, $length) {
5528 var t1 = $length == null ? J.get$length$asx(indexable) : $length;
5529 return new A.IndexError(t1, true, invalidValue, $name, "Index out of range");
5530 },
5531 UnsupportedError$(message) {
5532 return new A.UnsupportedError(message);
5533 },
5534 UnimplementedError$(message) {
5535 return new A.UnimplementedError(message);
5536 },
5537 StateError$(message) {
5538 return new A.StateError(message);
5539 },
5540 ConcurrentModificationError$(modifiedObject) {
5541 return new A.ConcurrentModificationError(modifiedObject);
5542 },
5543 FormatException$(message, source, offset) {
5544 return new A.FormatException(message, source, offset);
5545 },
5546 Iterable_Iterable$generate(count, generator, $E) {
5547 if (count <= 0)
5548 return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
5549 return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
5550 },
5551 Map_castFrom(source, $K, $V, K2, V2) {
5552 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>"));
5553 },
5554 Object_hash(object1, object2, object3) {
5555 var t1, t2;
5556 if (B.C_SentinelValue === object3) {
5557 t1 = J.get$hashCode$(object1);
5558 object2 = J.get$hashCode$(object2);
5559 return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
5560 }
5561 t1 = J.get$hashCode$(object1);
5562 object2 = J.get$hashCode$(object2);
5563 object3 = J.get$hashCode$(object3);
5564 t2 = $.$get$_hashSeed();
5565 return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(t2, t1), object2), object3));
5566 },
5567 print(object) {
5568 var line = A.S(object),
5569 toZone = $.printToZone;
5570 if (toZone == null)
5571 A.printString(line);
5572 else
5573 toZone.call$1(line);
5574 },
5575 Set_castFrom(source, newSet, $S, $T) {
5576 return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
5577 },
5578 _combineSurrogatePair(start, end) {
5579 return 65536 + ((start & 1023) << 10) + (end & 1023);
5580 },
5581 Uri_Uri$dataFromString($content, encoding, mimeType) {
5582 var encodingName, t1,
5583 buffer = new A.StringBuffer(""),
5584 indices = A._setArrayType([-1], type$.JSArray_int);
5585 if (encoding == null)
5586 encodingName = null;
5587 else
5588 encodingName = "utf-8";
5589 if (encoding == null)
5590 encoding = B.C_AsciiCodec;
5591 A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
5592 indices.push(buffer._contents.length);
5593 buffer._contents += ",";
5594 A.UriData__uriEncodeBytes(B.List_CVk, encoding.encode$1($content), buffer);
5595 t1 = buffer._contents;
5596 return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
5597 },
5598 Uri_parse(uri) {
5599 var delta, indices, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t1, t2, schemeAuth, queryStart0, pathStart0, userInfoStart, userInfo, host, portNumber, port, path, query, _null = null,
5600 end = uri.length;
5601 if (end >= 5) {
5602 delta = ((B.JSString_methods._codeUnitAt$1(uri, 4) ^ 58) * 3 | B.JSString_methods._codeUnitAt$1(uri, 0) ^ 100 | B.JSString_methods._codeUnitAt$1(uri, 1) ^ 97 | B.JSString_methods._codeUnitAt$1(uri, 2) ^ 116 | B.JSString_methods._codeUnitAt$1(uri, 3) ^ 97) >>> 0;
5603 if (delta === 0)
5604 return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
5605 else if (delta === 32)
5606 return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
5607 }
5608 indices = A.List_List$filled(8, 0, false, type$.int);
5609 indices[0] = 0;
5610 indices[1] = -1;
5611 indices[2] = -1;
5612 indices[7] = -1;
5613 indices[3] = 0;
5614 indices[4] = 0;
5615 indices[5] = end;
5616 indices[6] = end;
5617 if (A._scan(uri, 0, end, 0, indices) >= 14)
5618 indices[7] = end;
5619 schemeEnd = indices[1];
5620 if (schemeEnd >= 0)
5621 if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
5622 indices[7] = schemeEnd;
5623 hostStart = indices[2] + 1;
5624 portStart = indices[3];
5625 pathStart = indices[4];
5626 queryStart = indices[5];
5627 fragmentStart = indices[6];
5628 if (fragmentStart < queryStart)
5629 queryStart = fragmentStart;
5630 if (pathStart < hostStart)
5631 pathStart = queryStart;
5632 else if (pathStart <= schemeEnd)
5633 pathStart = schemeEnd + 1;
5634 if (portStart < hostStart)
5635 portStart = pathStart;
5636 isSimple = indices[7] < 0;
5637 if (isSimple)
5638 if (hostStart > schemeEnd + 3) {
5639 scheme = _null;
5640 isSimple = false;
5641 } else {
5642 t1 = portStart > 0;
5643 if (t1 && portStart + 1 === pathStart) {
5644 scheme = _null;
5645 isSimple = false;
5646 } else {
5647 if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
5648 t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
5649 else
5650 t2 = true;
5651 if (t2) {
5652 scheme = _null;
5653 isSimple = false;
5654 } else {
5655 if (schemeEnd === 4)
5656 if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
5657 if (hostStart <= 0) {
5658 if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
5659 schemeAuth = "file:///";
5660 delta = 3;
5661 } else {
5662 schemeAuth = "file://";
5663 delta = 2;
5664 }
5665 uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
5666 schemeEnd -= 0;
5667 t1 = delta - 0;
5668 queryStart += t1;
5669 fragmentStart += t1;
5670 end = uri.length;
5671 hostStart = 7;
5672 portStart = 7;
5673 pathStart = 7;
5674 } else if (pathStart === queryStart) {
5675 ++fragmentStart;
5676 queryStart0 = queryStart + 1;
5677 uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
5678 ++end;
5679 queryStart = queryStart0;
5680 }
5681 scheme = "file";
5682 } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
5683 if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
5684 fragmentStart -= 3;
5685 pathStart0 = pathStart - 3;
5686 queryStart -= 3;
5687 uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
5688 end -= 3;
5689 pathStart = pathStart0;
5690 }
5691 scheme = "http";
5692 } else
5693 scheme = _null;
5694 else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
5695 if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
5696 fragmentStart -= 4;
5697 pathStart0 = pathStart - 4;
5698 queryStart -= 4;
5699 uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
5700 end -= 3;
5701 pathStart = pathStart0;
5702 }
5703 scheme = "https";
5704 } else
5705 scheme = _null;
5706 isSimple = true;
5707 }
5708 }
5709 }
5710 else
5711 scheme = _null;
5712 if (isSimple) {
5713 if (end < uri.length) {
5714 uri = B.JSString_methods.substring$2(uri, 0, end);
5715 schemeEnd -= 0;
5716 hostStart -= 0;
5717 portStart -= 0;
5718 pathStart -= 0;
5719 queryStart -= 0;
5720 fragmentStart -= 0;
5721 }
5722 return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
5723 }
5724 if (scheme == null)
5725 if (schemeEnd > 0)
5726 scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
5727 else {
5728 if (schemeEnd === 0)
5729 A._Uri__fail(uri, 0, "Invalid empty scheme");
5730 scheme = "";
5731 }
5732 if (hostStart > 0) {
5733 userInfoStart = schemeEnd + 3;
5734 userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
5735 host = A._Uri__makeHost(uri, hostStart, portStart, false);
5736 t1 = portStart + 1;
5737 if (t1 < pathStart) {
5738 portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
5739 port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
5740 } else
5741 port = _null;
5742 } else {
5743 port = _null;
5744 host = port;
5745 userInfo = "";
5746 }
5747 path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
5748 query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
5749 return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
5750 },
5751 Uri_decodeComponent(encodedComponent) {
5752 return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
5753 },
5754 Uri__parseIPv4Address(host, start, end) {
5755 var i, partStart, partIndex, char, part, partIndex0,
5756 _s43_ = "IPv4 address should contain exactly 4 parts",
5757 _s37_ = "each part must be in the range 0..255",
5758 error = new A.Uri__parseIPv4Address_error(host),
5759 result = new Uint8Array(4);
5760 for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
5761 char = B.JSString_methods.codeUnitAt$1(host, i);
5762 if (char !== 46) {
5763 if ((char ^ 48) > 9)
5764 error.call$2("invalid character", i);
5765 } else {
5766 if (partIndex === 3)
5767 error.call$2(_s43_, i);
5768 part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
5769 if (part > 255)
5770 error.call$2(_s37_, partStart);
5771 partIndex0 = partIndex + 1;
5772 result[partIndex] = part;
5773 partStart = i + 1;
5774 partIndex = partIndex0;
5775 }
5776 }
5777 if (partIndex !== 3)
5778 error.call$2(_s43_, end);
5779 part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
5780 if (part > 255)
5781 error.call$2(_s37_, partStart);
5782 result[partIndex] = part;
5783 return result;
5784 },
5785 Uri_parseIPv6Address(host, start, end) {
5786 var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
5787 error = new A.Uri_parseIPv6Address_error(host),
5788 parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
5789 if (host.length < 2)
5790 error.call$2("address is too short", _null);
5791 parts = A._setArrayType([], type$.JSArray_int);
5792 for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
5793 char = B.JSString_methods.codeUnitAt$1(host, i);
5794 if (char === 58) {
5795 if (i === start) {
5796 ++i;
5797 if (B.JSString_methods.codeUnitAt$1(host, i) !== 58)
5798 error.call$2("invalid start colon.", i);
5799 partStart = i;
5800 }
5801 if (i === partStart) {
5802 if (wildcardSeen)
5803 error.call$2("only one wildcard `::` is allowed", i);
5804 parts.push(-1);
5805 wildcardSeen = true;
5806 } else
5807 parts.push(parseHex.call$2(partStart, i));
5808 partStart = i + 1;
5809 } else if (char === 46)
5810 seenDot = true;
5811 }
5812 if (parts.length === 0)
5813 error.call$2("too few parts", _null);
5814 atEnd = partStart === end;
5815 t1 = B.JSArray_methods.get$last(parts);
5816 if (atEnd && t1 !== -1)
5817 error.call$2("expected a part after last `:`", end);
5818 if (!atEnd)
5819 if (!seenDot)
5820 parts.push(parseHex.call$2(partStart, end));
5821 else {
5822 last = A.Uri__parseIPv4Address(host, partStart, end);
5823 parts.push((last[0] << 8 | last[1]) >>> 0);
5824 parts.push((last[2] << 8 | last[3]) >>> 0);
5825 }
5826 if (wildcardSeen) {
5827 if (parts.length > 7)
5828 error.call$2("an address with a wildcard must have less than 7 parts", _null);
5829 } else if (parts.length !== 8)
5830 error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
5831 bytes = new Uint8Array(16);
5832 for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
5833 value = parts[i];
5834 if (value === -1)
5835 for (j = 0; j < wildCardLength; ++j) {
5836 bytes[index] = 0;
5837 bytes[index + 1] = 0;
5838 index += 2;
5839 }
5840 else {
5841 bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
5842 bytes[index + 1] = value & 255;
5843 index += 2;
5844 }
5845 }
5846 return bytes;
5847 },
5848 _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
5849 return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
5850 },
5851 _Uri__Uri(host, path, pathSegments, scheme) {
5852 var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
5853 scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
5854 userInfo = A._Uri__makeUserInfo(_null, 0, 0);
5855 host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
5856 query = A._Uri__makeQuery(_null, 0, 0, _null);
5857 fragment = A._Uri__makeFragment(_null, 0, 0);
5858 port = A._Uri__makePort(_null, scheme);
5859 isFile = scheme === "file";
5860 if (host == null)
5861 t1 = userInfo.length !== 0 || port != null || isFile;
5862 else
5863 t1 = false;
5864 if (t1)
5865 host = "";
5866 t1 = host == null;
5867 hasAuthority = !t1;
5868 path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
5869 t2 = scheme.length === 0;
5870 if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
5871 path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
5872 else
5873 path = A._Uri__removeDotSegments(path);
5874 return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
5875 },
5876 _Uri__defaultPort(scheme) {
5877 if (scheme === "http")
5878 return 80;
5879 if (scheme === "https")
5880 return 443;
5881 return 0;
5882 },
5883 _Uri__compareScheme(scheme, uri) {
5884 var t1, i, schemeChar, uriChar, delta, lowerChar;
5885 for (t1 = scheme.length, i = 0; i < t1; ++i) {
5886 schemeChar = B.JSString_methods._codeUnitAt$1(scheme, i);
5887 uriChar = B.JSString_methods._codeUnitAt$1(uri, i);
5888 delta = schemeChar ^ uriChar;
5889 if (delta !== 0) {
5890 if (delta === 32) {
5891 lowerChar = uriChar | delta;
5892 if (97 <= lowerChar && lowerChar <= 122)
5893 continue;
5894 }
5895 return false;
5896 }
5897 }
5898 return true;
5899 },
5900 _Uri__fail(uri, index, message) {
5901 throw A.wrapException(A.FormatException$(message, uri, index));
5902 },
5903 _Uri__Uri$file(path, windows) {
5904 return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
5905 },
5906 _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
5907 var t1, _i, segment, t2, t3;
5908 for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
5909 segment = segments[_i];
5910 t2 = J.getInterceptor$asx(segment);
5911 t3 = t2.get$length(segment);
5912 if (0 > t3)
5913 A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null));
5914 if (A.stringContainsUnchecked(segment, "/", 0)) {
5915 t1 = A.UnsupportedError$("Illegal path character " + A.S(segment));
5916 throw A.wrapException(t1);
5917 }
5918 }
5919 },
5920 _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
5921 var t1, t2, t3, t4;
5922 for (t1 = A.SubListIterable$(segments, firstSegment, null, A._arrayInstanceType(segments)._precomputed1), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
5923 t3 = t2._as(t1.__internal$_current);
5924 t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
5925 if (A.stringContainsUnchecked(t3, t4, 0))
5926 if (argumentError)
5927 throw A.wrapException(A.ArgumentError$("Illegal character in path", null));
5928 else
5929 throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
5930 }
5931 },
5932 _Uri__checkWindowsDriveLetter(charCode, argumentError) {
5933 var t1,
5934 _s21_ = "Illegal drive letter ";
5935 if (!(65 <= charCode && charCode <= 90))
5936 t1 = 97 <= charCode && charCode <= 122;
5937 else
5938 t1 = true;
5939 if (t1)
5940 return;
5941 if (argumentError)
5942 throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
5943 else
5944 throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
5945 },
5946 _Uri__makeFileUri(path, slashTerminated) {
5947 var _null = null,
5948 segments = A._setArrayType(path.split("/"), type$.JSArray_String);
5949 if (B.JSString_methods.startsWith$1(path, "/"))
5950 return A._Uri__Uri(_null, _null, segments, "file");
5951 else
5952 return A._Uri__Uri(_null, _null, segments, _null);
5953 },
5954 _Uri__makeWindowsFileUrl(path, slashTerminated) {
5955 var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
5956 if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
5957 if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
5958 path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
5959 else {
5960 path = B.JSString_methods.substring$1(path, 4);
5961 if (path.length < 3 || B.JSString_methods._codeUnitAt$1(path, 1) !== 58 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
5962 throw A.wrapException(A.ArgumentError$("Windows paths with \\\\?\\ prefix must be absolute", _null));
5963 }
5964 else
5965 path = A.stringReplaceAllUnchecked(path, "/", _s1_);
5966 t1 = path.length;
5967 if (t1 > 1 && B.JSString_methods._codeUnitAt$1(path, 1) === 58) {
5968 A._Uri__checkWindowsDriveLetter(B.JSString_methods._codeUnitAt$1(path, 0), true);
5969 if (t1 === 2 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
5970 throw A.wrapException(A.ArgumentError$("Windows paths with drive letter must be absolute", _null));
5971 pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
5972 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
5973 return A._Uri__Uri(_null, _null, pathSegments, _s4_);
5974 }
5975 if (B.JSString_methods.startsWith$1(path, _s1_))
5976 if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
5977 pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
5978 t1 = pathStart < 0;
5979 hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
5980 pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
5981 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
5982 return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
5983 } else {
5984 pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
5985 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
5986 return A._Uri__Uri(_null, _null, pathSegments, _s4_);
5987 }
5988 else {
5989 pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
5990 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
5991 return A._Uri__Uri(_null, _null, pathSegments, _null);
5992 }
5993 },
5994 _Uri__makePort(port, scheme) {
5995 if (port != null && port === A._Uri__defaultPort(scheme))
5996 return null;
5997 return port;
5998 },
5999 _Uri__makeHost(host, start, end, strictIPv6) {
6000 var t1, t2, index, zoneIDstart, zoneID, i;
6001 if (host == null)
6002 return null;
6003 if (start === end)
6004 return "";
6005 if (B.JSString_methods.codeUnitAt$1(host, start) === 91) {
6006 t1 = end - 1;
6007 if (B.JSString_methods.codeUnitAt$1(host, t1) !== 93)
6008 A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
6009 t2 = start + 1;
6010 index = A._Uri__checkZoneID(host, t2, t1);
6011 if (index < t1) {
6012 zoneIDstart = index + 1;
6013 zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
6014 } else
6015 zoneID = "";
6016 A.Uri_parseIPv6Address(host, t2, index);
6017 return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
6018 }
6019 for (i = start; i < end; ++i)
6020 if (B.JSString_methods.codeUnitAt$1(host, i) === 58) {
6021 index = B.JSString_methods.indexOf$2(host, "%", start);
6022 index = index >= start && index < end ? index : end;
6023 if (index < end) {
6024 zoneIDstart = index + 1;
6025 zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
6026 } else
6027 zoneID = "";
6028 A.Uri_parseIPv6Address(host, start, index);
6029 return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
6030 }
6031 return A._Uri__normalizeRegName(host, start, end);
6032 },
6033 _Uri__checkZoneID(host, start, end) {
6034 var index = B.JSString_methods.indexOf$2(host, "%", start);
6035 return index >= start && index < end ? index : end;
6036 },
6037 _Uri__normalizeZoneID(host, start, end, prefix) {
6038 var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice,
6039 buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
6040 for (index = start, sectionStart = index, isNormalized = true; index < end;) {
6041 char = B.JSString_methods.codeUnitAt$1(host, index);
6042 if (char === 37) {
6043 replacement = A._Uri__normalizeEscape(host, index, true);
6044 t1 = replacement == null;
6045 if (t1 && isNormalized) {
6046 index += 3;
6047 continue;
6048 }
6049 if (buffer == null)
6050 buffer = new A.StringBuffer("");
6051 t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
6052 if (t1)
6053 replacement = B.JSString_methods.substring$2(host, index, index + 3);
6054 else if (replacement === "%")
6055 A._Uri__fail(host, index, "ZoneID should not contain % anymore");
6056 buffer._contents = t2 + replacement;
6057 index += 3;
6058 sectionStart = index;
6059 isNormalized = true;
6060 } else if (char < 127 && (B.List_nxB[char >>> 4] & 1 << (char & 15)) !== 0) {
6061 if (isNormalized && 65 <= char && 90 >= char) {
6062 if (buffer == null)
6063 buffer = new A.StringBuffer("");
6064 if (sectionStart < index) {
6065 buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
6066 sectionStart = index;
6067 }
6068 isNormalized = false;
6069 }
6070 ++index;
6071 } else {
6072 if ((char & 64512) === 55296 && index + 1 < end) {
6073 tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
6074 if ((tail & 64512) === 56320) {
6075 char = (char & 1023) << 10 | tail & 1023 | 65536;
6076 sourceLength = 2;
6077 } else
6078 sourceLength = 1;
6079 } else
6080 sourceLength = 1;
6081 slice = B.JSString_methods.substring$2(host, sectionStart, index);
6082 if (buffer == null) {
6083 buffer = new A.StringBuffer("");
6084 t1 = buffer;
6085 } else
6086 t1 = buffer;
6087 t1._contents += slice;
6088 t1._contents += A._Uri__escapeChar(char);
6089 index += sourceLength;
6090 sectionStart = index;
6091 }
6092 }
6093 if (buffer == null)
6094 return B.JSString_methods.substring$2(host, start, end);
6095 if (sectionStart < end)
6096 buffer._contents += B.JSString_methods.substring$2(host, sectionStart, end);
6097 t1 = buffer._contents;
6098 return t1.charCodeAt(0) == 0 ? t1 : t1;
6099 },
6100 _Uri__normalizeRegName(host, start, end) {
6101 var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail;
6102 for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
6103 char = B.JSString_methods.codeUnitAt$1(host, index);
6104 if (char === 37) {
6105 replacement = A._Uri__normalizeEscape(host, index, true);
6106 t1 = replacement == null;
6107 if (t1 && isNormalized) {
6108 index += 3;
6109 continue;
6110 }
6111 if (buffer == null)
6112 buffer = new A.StringBuffer("");
6113 slice = B.JSString_methods.substring$2(host, sectionStart, index);
6114 t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
6115 if (t1) {
6116 replacement = B.JSString_methods.substring$2(host, index, index + 3);
6117 sourceLength = 3;
6118 } else if (replacement === "%") {
6119 replacement = "%25";
6120 sourceLength = 1;
6121 } else
6122 sourceLength = 3;
6123 buffer._contents = t2 + replacement;
6124 index += sourceLength;
6125 sectionStart = index;
6126 isNormalized = true;
6127 } else if (char < 127 && (B.List_qNA[char >>> 4] & 1 << (char & 15)) !== 0) {
6128 if (isNormalized && 65 <= char && 90 >= char) {
6129 if (buffer == null)
6130 buffer = new A.StringBuffer("");
6131 if (sectionStart < index) {
6132 buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
6133 sectionStart = index;
6134 }
6135 isNormalized = false;
6136 }
6137 ++index;
6138 } else if (char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0)
6139 A._Uri__fail(host, index, "Invalid character");
6140 else {
6141 if ((char & 64512) === 55296 && index + 1 < end) {
6142 tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
6143 if ((tail & 64512) === 56320) {
6144 char = (char & 1023) << 10 | tail & 1023 | 65536;
6145 sourceLength = 2;
6146 } else
6147 sourceLength = 1;
6148 } else
6149 sourceLength = 1;
6150 slice = B.JSString_methods.substring$2(host, sectionStart, index);
6151 if (!isNormalized)
6152 slice = slice.toLowerCase();
6153 if (buffer == null) {
6154 buffer = new A.StringBuffer("");
6155 t1 = buffer;
6156 } else
6157 t1 = buffer;
6158 t1._contents += slice;
6159 t1._contents += A._Uri__escapeChar(char);
6160 index += sourceLength;
6161 sectionStart = index;
6162 }
6163 }
6164 if (buffer == null)
6165 return B.JSString_methods.substring$2(host, start, end);
6166 if (sectionStart < end) {
6167 slice = B.JSString_methods.substring$2(host, sectionStart, end);
6168 buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
6169 }
6170 t1 = buffer._contents;
6171 return t1.charCodeAt(0) == 0 ? t1 : t1;
6172 },
6173 _Uri__makeScheme(scheme, start, end) {
6174 var i, containsUpperCase, codeUnit;
6175 if (start === end)
6176 return "";
6177 if (!A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(scheme, start)))
6178 A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
6179 for (i = start, containsUpperCase = false; i < end; ++i) {
6180 codeUnit = B.JSString_methods._codeUnitAt$1(scheme, i);
6181 if (!(codeUnit < 128 && (B.List_JYB[codeUnit >>> 4] & 1 << (codeUnit & 15)) !== 0))
6182 A._Uri__fail(scheme, i, "Illegal scheme character");
6183 if (65 <= codeUnit && codeUnit <= 90)
6184 containsUpperCase = true;
6185 }
6186 scheme = B.JSString_methods.substring$2(scheme, start, end);
6187 return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
6188 },
6189 _Uri__canonicalizeScheme(scheme) {
6190 if (scheme === "http")
6191 return "http";
6192 if (scheme === "file")
6193 return "file";
6194 if (scheme === "https")
6195 return "https";
6196 if (scheme === "package")
6197 return "package";
6198 return scheme;
6199 },
6200 _Uri__makeUserInfo(userInfo, start, end) {
6201 if (userInfo == null)
6202 return "";
6203 return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_gRj, false);
6204 },
6205 _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
6206 var result,
6207 isFile = scheme === "file",
6208 ensureLeadingSlash = isFile || hasAuthority;
6209 if (path == null) {
6210 if (pathSegments == null)
6211 return isFile ? "/" : "";
6212 result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
6213 } else if (pathSegments != null)
6214 throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
6215 else
6216 result = A._Uri__normalizeOrSubstring(path, start, end, B.List_qg4, true);
6217 if (result.length === 0) {
6218 if (isFile)
6219 return "/";
6220 } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
6221 result = "/" + result;
6222 return A._Uri__normalizePath(result, scheme, hasAuthority);
6223 },
6224 _Uri__normalizePath(path, scheme, hasAuthority) {
6225 var t1 = scheme.length === 0;
6226 if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/"))
6227 return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
6228 return A._Uri__removeDotSegments(path);
6229 },
6230 _Uri__makeQuery(query, start, end, queryParameters) {
6231 if (query != null)
6232 return A._Uri__normalizeOrSubstring(query, start, end, B.List_CVk, true);
6233 return null;
6234 },
6235 _Uri__makeFragment(fragment, start, end) {
6236 if (fragment == null)
6237 return null;
6238 return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_CVk, true);
6239 },
6240 _Uri__normalizeEscape(source, index, lowerCase) {
6241 var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
6242 t1 = index + 2;
6243 if (t1 >= source.length)
6244 return "%";
6245 firstDigit = B.JSString_methods.codeUnitAt$1(source, index + 1);
6246 secondDigit = B.JSString_methods.codeUnitAt$1(source, t1);
6247 firstDigitValue = A.hexDigitValue(firstDigit);
6248 secondDigitValue = A.hexDigitValue(secondDigit);
6249 if (firstDigitValue < 0 || secondDigitValue < 0)
6250 return "%";
6251 value = firstDigitValue * 16 + secondDigitValue;
6252 if (value < 127 && (B.List_nxB[B.JSInt_methods._shrOtherPositive$1(value, 4)] & 1 << (value & 15)) !== 0)
6253 return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
6254 if (firstDigit >= 97 || secondDigit >= 97)
6255 return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
6256 return null;
6257 },
6258 _Uri__escapeChar(char) {
6259 var codeUnits, flag, encodedBytes, index, byte,
6260 _s16_ = "0123456789ABCDEF";
6261 if (char < 128) {
6262 codeUnits = new Uint8Array(3);
6263 codeUnits[0] = 37;
6264 codeUnits[1] = B.JSString_methods._codeUnitAt$1(_s16_, char >>> 4);
6265 codeUnits[2] = B.JSString_methods._codeUnitAt$1(_s16_, char & 15);
6266 } else {
6267 if (char > 2047)
6268 if (char > 65535) {
6269 flag = 240;
6270 encodedBytes = 4;
6271 } else {
6272 flag = 224;
6273 encodedBytes = 3;
6274 }
6275 else {
6276 flag = 192;
6277 encodedBytes = 2;
6278 }
6279 codeUnits = new Uint8Array(3 * encodedBytes);
6280 for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
6281 byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
6282 codeUnits[index] = 37;
6283 codeUnits[index + 1] = B.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4);
6284 codeUnits[index + 2] = B.JSString_methods._codeUnitAt$1(_s16_, byte & 15);
6285 index += 3;
6286 }
6287 }
6288 return A.String_String$fromCharCodes(codeUnits, 0, null);
6289 },
6290 _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters) {
6291 var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters);
6292 return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
6293 },
6294 _Uri__normalize(component, start, end, charTable, escapeDelimiters) {
6295 var t1, index, sectionStart, buffer, char, replacement, sourceLength, t2, tail, _null = null;
6296 for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
6297 char = B.JSString_methods.codeUnitAt$1(component, index);
6298 if (char < 127 && (charTable[char >>> 4] & 1 << (char & 15)) !== 0)
6299 ++index;
6300 else {
6301 if (char === 37) {
6302 replacement = A._Uri__normalizeEscape(component, index, false);
6303 if (replacement == null) {
6304 index += 3;
6305 continue;
6306 }
6307 if ("%" === replacement) {
6308 replacement = "%25";
6309 sourceLength = 1;
6310 } else
6311 sourceLength = 3;
6312 } else if (t1 && char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0) {
6313 A._Uri__fail(component, index, "Invalid character");
6314 sourceLength = _null;
6315 replacement = sourceLength;
6316 } else {
6317 if ((char & 64512) === 55296) {
6318 t2 = index + 1;
6319 if (t2 < end) {
6320 tail = B.JSString_methods.codeUnitAt$1(component, t2);
6321 if ((tail & 64512) === 56320) {
6322 char = (char & 1023) << 10 | tail & 1023 | 65536;
6323 sourceLength = 2;
6324 } else
6325 sourceLength = 1;
6326 } else
6327 sourceLength = 1;
6328 } else
6329 sourceLength = 1;
6330 replacement = A._Uri__escapeChar(char);
6331 }
6332 if (buffer == null) {
6333 buffer = new A.StringBuffer("");
6334 t2 = buffer;
6335 } else
6336 t2 = buffer;
6337 t2._contents += B.JSString_methods.substring$2(component, sectionStart, index);
6338 t2._contents += A.S(replacement);
6339 index += sourceLength;
6340 sectionStart = index;
6341 }
6342 }
6343 if (buffer == null)
6344 return _null;
6345 if (sectionStart < end)
6346 buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end);
6347 t1 = buffer._contents;
6348 return t1.charCodeAt(0) == 0 ? t1 : t1;
6349 },
6350 _Uri__mayContainDotSegments(path) {
6351 if (B.JSString_methods.startsWith$1(path, "."))
6352 return true;
6353 return B.JSString_methods.indexOf$1(path, "/.") !== -1;
6354 },
6355 _Uri__removeDotSegments(path) {
6356 var output, t1, t2, appendSlash, _i, segment;
6357 if (!A._Uri__mayContainDotSegments(path))
6358 return path;
6359 output = A._setArrayType([], type$.JSArray_String);
6360 for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
6361 segment = t1[_i];
6362 if (J.$eq$(segment, "..")) {
6363 if (output.length !== 0) {
6364 output.pop();
6365 if (output.length === 0)
6366 output.push("");
6367 }
6368 appendSlash = true;
6369 } else if ("." === segment)
6370 appendSlash = true;
6371 else {
6372 output.push(segment);
6373 appendSlash = false;
6374 }
6375 }
6376 if (appendSlash)
6377 output.push("");
6378 return B.JSArray_methods.join$1(output, "/");
6379 },
6380 _Uri__normalizeRelativePath(path, allowScheme) {
6381 var output, t1, t2, appendSlash, _i, segment;
6382 if (!A._Uri__mayContainDotSegments(path))
6383 return !allowScheme ? A._Uri__escapeScheme(path) : path;
6384 output = A._setArrayType([], type$.JSArray_String);
6385 for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
6386 segment = t1[_i];
6387 if (".." === segment)
6388 if (output.length !== 0 && B.JSArray_methods.get$last(output) !== "..") {
6389 output.pop();
6390 appendSlash = true;
6391 } else {
6392 output.push("..");
6393 appendSlash = false;
6394 }
6395 else if ("." === segment)
6396 appendSlash = true;
6397 else {
6398 output.push(segment);
6399 appendSlash = false;
6400 }
6401 }
6402 t1 = output.length;
6403 if (t1 !== 0)
6404 t1 = t1 === 1 && output[0].length === 0;
6405 else
6406 t1 = true;
6407 if (t1)
6408 return "./";
6409 if (appendSlash || B.JSArray_methods.get$last(output) === "..")
6410 output.push("");
6411 if (!allowScheme)
6412 output[0] = A._Uri__escapeScheme(output[0]);
6413 return B.JSArray_methods.join$1(output, "/");
6414 },
6415 _Uri__escapeScheme(path) {
6416 var i, char,
6417 t1 = path.length;
6418 if (t1 >= 2 && A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(path, 0)))
6419 for (i = 1; i < t1; ++i) {
6420 char = B.JSString_methods._codeUnitAt$1(path, i);
6421 if (char === 58)
6422 return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
6423 if (char > 127 || (B.List_JYB[char >>> 4] & 1 << (char & 15)) === 0)
6424 break;
6425 }
6426 return path;
6427 },
6428 _Uri__packageNameEnd(uri, path) {
6429 if (uri.isScheme$1("package") && uri._host == null)
6430 return A._skipPackageNameChars(path, 0, path.length);
6431 return -1;
6432 },
6433 _Uri__toWindowsFilePath(uri) {
6434 var hasDriveLetter, t2, host,
6435 segments = uri.get$pathSegments(),
6436 t1 = segments.length;
6437 if (t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58) {
6438 A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false);
6439 A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
6440 hasDriveLetter = true;
6441 } else {
6442 A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
6443 hasDriveLetter = false;
6444 }
6445 t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : "";
6446 if (uri.get$hasAuthority()) {
6447 host = uri.get$host();
6448 if (host.length !== 0)
6449 t2 = t2 + "\\" + host + "\\";
6450 }
6451 t2 = A.StringBuffer__writeAll(t2, segments, "\\");
6452 t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
6453 return t1.charCodeAt(0) == 0 ? t1 : t1;
6454 },
6455 _Uri__hexCharPairToByte(s, pos) {
6456 var byte, i, charCode;
6457 for (byte = 0, i = 0; i < 2; ++i) {
6458 charCode = B.JSString_methods._codeUnitAt$1(s, pos + i);
6459 if (48 <= charCode && charCode <= 57)
6460 byte = byte * 16 + charCode - 48;
6461 else {
6462 charCode |= 32;
6463 if (97 <= charCode && charCode <= 102)
6464 byte = byte * 16 + charCode - 87;
6465 else
6466 throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
6467 }
6468 }
6469 return byte;
6470 },
6471 _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
6472 var simple, codeUnit, t1, bytes,
6473 i = start;
6474 while (true) {
6475 if (!(i < end)) {
6476 simple = true;
6477 break;
6478 }
6479 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
6480 if (codeUnit <= 127)
6481 if (codeUnit !== 37)
6482 t1 = false;
6483 else
6484 t1 = true;
6485 else
6486 t1 = true;
6487 if (t1) {
6488 simple = false;
6489 break;
6490 }
6491 ++i;
6492 }
6493 if (simple) {
6494 if (B.C_Utf8Codec !== encoding)
6495 t1 = false;
6496 else
6497 t1 = true;
6498 if (t1)
6499 return B.JSString_methods.substring$2(text, start, end);
6500 else
6501 bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
6502 } else {
6503 bytes = A._setArrayType([], type$.JSArray_int);
6504 for (t1 = text.length, i = start; i < end; ++i) {
6505 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
6506 if (codeUnit > 127)
6507 throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
6508 if (codeUnit === 37) {
6509 if (i + 3 > t1)
6510 throw A.wrapException(A.ArgumentError$("Truncated URI", null));
6511 bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
6512 i += 2;
6513 } else
6514 bytes.push(codeUnit);
6515 }
6516 }
6517 return B.Utf8Decoder_false.convert$1(bytes);
6518 },
6519 _Uri__isAlphabeticCharacter(codeUnit) {
6520 var lowerCase = codeUnit | 32;
6521 return 97 <= lowerCase && lowerCase <= 122;
6522 },
6523 UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
6524 var t1, slashIndex;
6525 if (mimeType == null || mimeType === "text/plain")
6526 mimeType = "";
6527 if (mimeType.length === 0 || mimeType === "application/octet-stream")
6528 t1 = buffer._contents += mimeType;
6529 else {
6530 slashIndex = A.UriData__validateMimeType(mimeType);
6531 if (slashIndex < 0)
6532 throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
6533 t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
6534 buffer._contents = t1 + "/";
6535 t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
6536 }
6537 if (charsetName != null) {
6538 indices.push(t1.length);
6539 indices.push(buffer._contents.length + 8);
6540 buffer._contents += ";charset=";
6541 buffer._contents += A._Uri__uriEncode(B.List_qFt, charsetName, B.C_Utf8Codec, false);
6542 }
6543 },
6544 UriData__validateMimeType(mimeType) {
6545 var t1, slashIndex, i;
6546 for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
6547 if (B.JSString_methods._codeUnitAt$1(mimeType, i) !== 47)
6548 continue;
6549 if (slashIndex < 0) {
6550 slashIndex = i;
6551 continue;
6552 }
6553 return -1;
6554 }
6555 return slashIndex;
6556 },
6557 UriData__parse(text, start, sourceUri) {
6558 var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
6559 _s17_ = "Invalid MIME type",
6560 indices = A._setArrayType([start - 1], type$.JSArray_int);
6561 for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
6562 char = B.JSString_methods._codeUnitAt$1(text, i);
6563 if (char === 44 || char === 59)
6564 break;
6565 if (char === 47) {
6566 if (slashIndex < 0) {
6567 slashIndex = i;
6568 continue;
6569 }
6570 throw A.wrapException(A.FormatException$(_s17_, text, i));
6571 }
6572 }
6573 if (slashIndex < 0 && i > start)
6574 throw A.wrapException(A.FormatException$(_s17_, text, i));
6575 for (; char !== 44;) {
6576 indices.push(i);
6577 ++i;
6578 for (equalsIndex = -1; i < t1; ++i) {
6579 char = B.JSString_methods._codeUnitAt$1(text, i);
6580 if (char === 61) {
6581 if (equalsIndex < 0)
6582 equalsIndex = i;
6583 } else if (char === 59 || char === 44)
6584 break;
6585 }
6586 if (equalsIndex >= 0)
6587 indices.push(equalsIndex);
6588 else {
6589 lastSeparator = B.JSArray_methods.get$last(indices);
6590 if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
6591 throw A.wrapException(A.FormatException$("Expecting '='", text, i));
6592 break;
6593 }
6594 }
6595 indices.push(i);
6596 t2 = i + 1;
6597 if ((indices.length & 1) === 1)
6598 text = B.C_Base64Codec.normalize$3(text, t2, t1);
6599 else {
6600 data = A._Uri__normalize(text, t2, t1, B.List_CVk, true);
6601 if (data != null)
6602 text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
6603 }
6604 return new A.UriData(text, indices, sourceUri);
6605 },
6606 UriData__uriEncodeBytes(canonicalTable, bytes, buffer) {
6607 var t1, byteOr, i, byte, t2, t3,
6608 _s16_ = "0123456789ABCDEF";
6609 for (t1 = J.getInterceptor$asx(bytes), byteOr = 0, i = 0; i < t1.get$length(bytes); ++i) {
6610 byte = t1.$index(bytes, i);
6611 byteOr |= byte;
6612 t2 = byte < 128 && (canonicalTable[B.JSInt_methods._shrOtherPositive$1(byte, 4)] & 1 << (byte & 15)) !== 0;
6613 t3 = buffer._contents;
6614 if (t2)
6615 buffer._contents = t3 + A.Primitives_stringFromCharCode(byte);
6616 else {
6617 t2 = t3 + A.Primitives_stringFromCharCode(37);
6618 buffer._contents = t2;
6619 t2 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, B.JSInt_methods._shrOtherPositive$1(byte, 4)));
6620 buffer._contents = t2;
6621 buffer._contents = t2 + A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, byte & 15));
6622 }
6623 }
6624 if ((byteOr & 4294967040) >>> 0 !== 0)
6625 for (i = 0; i < t1.get$length(bytes); ++i) {
6626 byte = t1.$index(bytes, i);
6627 if (byte < 0 || byte > 255)
6628 throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
6629 }
6630 },
6631 _createTables() {
6632 var _i, t1, t2, t3, b,
6633 _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",
6634 _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "?", _s1_3 = "#",
6635 tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List);
6636 for (_i = 0; _i < 22; ++_i)
6637 tables[_i] = new Uint8Array(96);
6638 t1 = new A._createTables_build(tables);
6639 t2 = new A._createTables_setChars();
6640 t3 = new A._createTables_setRange();
6641 b = t1.call$2(0, 225);
6642 t2.call$3(b, _s77_, 1);
6643 t2.call$3(b, _s1_, 14);
6644 t2.call$3(b, _s1_0, 34);
6645 t2.call$3(b, _s1_1, 3);
6646 t2.call$3(b, _s1_2, 172);
6647 t2.call$3(b, _s1_3, 205);
6648 b = t1.call$2(14, 225);
6649 t2.call$3(b, _s77_, 1);
6650 t2.call$3(b, _s1_, 15);
6651 t2.call$3(b, _s1_0, 34);
6652 t2.call$3(b, _s1_1, 234);
6653 t2.call$3(b, _s1_2, 172);
6654 t2.call$3(b, _s1_3, 205);
6655 b = t1.call$2(15, 225);
6656 t2.call$3(b, _s77_, 1);
6657 t2.call$3(b, "%", 225);
6658 t2.call$3(b, _s1_0, 34);
6659 t2.call$3(b, _s1_1, 9);
6660 t2.call$3(b, _s1_2, 172);
6661 t2.call$3(b, _s1_3, 205);
6662 b = t1.call$2(1, 225);
6663 t2.call$3(b, _s77_, 1);
6664 t2.call$3(b, _s1_0, 34);
6665 t2.call$3(b, _s1_1, 10);
6666 t2.call$3(b, _s1_2, 172);
6667 t2.call$3(b, _s1_3, 205);
6668 b = t1.call$2(2, 235);
6669 t2.call$3(b, _s77_, 139);
6670 t2.call$3(b, _s1_1, 131);
6671 t2.call$3(b, _s1_, 146);
6672 t2.call$3(b, _s1_2, 172);
6673 t2.call$3(b, _s1_3, 205);
6674 b = t1.call$2(3, 235);
6675 t2.call$3(b, _s77_, 11);
6676 t2.call$3(b, _s1_1, 68);
6677 t2.call$3(b, _s1_, 18);
6678 t2.call$3(b, _s1_2, 172);
6679 t2.call$3(b, _s1_3, 205);
6680 b = t1.call$2(4, 229);
6681 t2.call$3(b, _s77_, 5);
6682 t3.call$3(b, "AZ", 229);
6683 t2.call$3(b, _s1_0, 102);
6684 t2.call$3(b, "@", 68);
6685 t2.call$3(b, "[", 232);
6686 t2.call$3(b, _s1_1, 138);
6687 t2.call$3(b, _s1_2, 172);
6688 t2.call$3(b, _s1_3, 205);
6689 b = t1.call$2(5, 229);
6690 t2.call$3(b, _s77_, 5);
6691 t3.call$3(b, "AZ", 229);
6692 t2.call$3(b, _s1_0, 102);
6693 t2.call$3(b, "@", 68);
6694 t2.call$3(b, _s1_1, 138);
6695 t2.call$3(b, _s1_2, 172);
6696 t2.call$3(b, _s1_3, 205);
6697 b = t1.call$2(6, 231);
6698 t3.call$3(b, "19", 7);
6699 t2.call$3(b, "@", 68);
6700 t2.call$3(b, _s1_1, 138);
6701 t2.call$3(b, _s1_2, 172);
6702 t2.call$3(b, _s1_3, 205);
6703 b = t1.call$2(7, 231);
6704 t3.call$3(b, "09", 7);
6705 t2.call$3(b, "@", 68);
6706 t2.call$3(b, _s1_1, 138);
6707 t2.call$3(b, _s1_2, 172);
6708 t2.call$3(b, _s1_3, 205);
6709 t2.call$3(t1.call$2(8, 8), "]", 5);
6710 b = t1.call$2(9, 235);
6711 t2.call$3(b, _s77_, 11);
6712 t2.call$3(b, _s1_, 16);
6713 t2.call$3(b, _s1_1, 234);
6714 t2.call$3(b, _s1_2, 172);
6715 t2.call$3(b, _s1_3, 205);
6716 b = t1.call$2(16, 235);
6717 t2.call$3(b, _s77_, 11);
6718 t2.call$3(b, _s1_, 17);
6719 t2.call$3(b, _s1_1, 234);
6720 t2.call$3(b, _s1_2, 172);
6721 t2.call$3(b, _s1_3, 205);
6722 b = t1.call$2(17, 235);
6723 t2.call$3(b, _s77_, 11);
6724 t2.call$3(b, _s1_1, 9);
6725 t2.call$3(b, _s1_2, 172);
6726 t2.call$3(b, _s1_3, 205);
6727 b = t1.call$2(10, 235);
6728 t2.call$3(b, _s77_, 11);
6729 t2.call$3(b, _s1_, 18);
6730 t2.call$3(b, _s1_1, 234);
6731 t2.call$3(b, _s1_2, 172);
6732 t2.call$3(b, _s1_3, 205);
6733 b = t1.call$2(18, 235);
6734 t2.call$3(b, _s77_, 11);
6735 t2.call$3(b, _s1_, 19);
6736 t2.call$3(b, _s1_1, 234);
6737 t2.call$3(b, _s1_2, 172);
6738 t2.call$3(b, _s1_3, 205);
6739 b = t1.call$2(19, 235);
6740 t2.call$3(b, _s77_, 11);
6741 t2.call$3(b, _s1_1, 234);
6742 t2.call$3(b, _s1_2, 172);
6743 t2.call$3(b, _s1_3, 205);
6744 b = t1.call$2(11, 235);
6745 t2.call$3(b, _s77_, 11);
6746 t2.call$3(b, _s1_1, 10);
6747 t2.call$3(b, _s1_2, 172);
6748 t2.call$3(b, _s1_3, 205);
6749 b = t1.call$2(12, 236);
6750 t2.call$3(b, _s77_, 12);
6751 t2.call$3(b, _s1_2, 12);
6752 t2.call$3(b, _s1_3, 205);
6753 b = t1.call$2(13, 237);
6754 t2.call$3(b, _s77_, 13);
6755 t2.call$3(b, _s1_2, 13);
6756 t3.call$3(t1.call$2(20, 245), "az", 21);
6757 b = t1.call$2(21, 245);
6758 t3.call$3(b, "az", 21);
6759 t3.call$3(b, "09", 21);
6760 t2.call$3(b, "+-.", 21);
6761 return tables;
6762 },
6763 _scan(uri, start, end, state, indices) {
6764 var i, table, char, transition,
6765 tables = $.$get$_scannerTables();
6766 for (i = start; i < end; ++i) {
6767 table = tables[state];
6768 char = B.JSString_methods._codeUnitAt$1(uri, i) ^ 96;
6769 transition = table[char > 95 ? 31 : char];
6770 state = transition & 31;
6771 indices[transition >>> 5] = i;
6772 }
6773 return state;
6774 },
6775 _SimpleUri__packageNameEnd(uri) {
6776 if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
6777 return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
6778 return -1;
6779 },
6780 _skipPackageNameChars(source, start, end) {
6781 var i, dots, char;
6782 for (i = start, dots = 0; i < end; ++i) {
6783 char = B.JSString_methods.codeUnitAt$1(source, i);
6784 if (char === 47)
6785 return dots !== 0 ? i : -1;
6786 if (char === 37 || char === 58)
6787 return -1;
6788 dots |= char ^ 46;
6789 }
6790 return -1;
6791 },
6792 NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
6793 this._box_0 = t0;
6794 this.sb = t1;
6795 },
6796 DateTime: function DateTime(t0, t1) {
6797 this._core$_value = t0;
6798 this.isUtc = t1;
6799 },
6800 Duration: function Duration(t0) {
6801 this._duration = t0;
6802 },
6803 Error: function Error() {
6804 },
6805 AssertionError: function AssertionError(t0) {
6806 this.message = t0;
6807 },
6808 TypeError: function TypeError() {
6809 },
6810 NullThrownError: function NullThrownError() {
6811 },
6812 ArgumentError: function ArgumentError(t0, t1, t2, t3) {
6813 var _ = this;
6814 _._hasValue = t0;
6815 _.invalidValue = t1;
6816 _.name = t2;
6817 _.message = t3;
6818 },
6819 RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
6820 var _ = this;
6821 _.start = t0;
6822 _.end = t1;
6823 _._hasValue = t2;
6824 _.invalidValue = t3;
6825 _.name = t4;
6826 _.message = t5;
6827 },
6828 IndexError: function IndexError(t0, t1, t2, t3, t4) {
6829 var _ = this;
6830 _.length = t0;
6831 _._hasValue = t1;
6832 _.invalidValue = t2;
6833 _.name = t3;
6834 _.message = t4;
6835 },
6836 NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
6837 var _ = this;
6838 _._core$_receiver = t0;
6839 _._memberName = t1;
6840 _._core$_arguments = t2;
6841 _._namedArguments = t3;
6842 },
6843 UnsupportedError: function UnsupportedError(t0) {
6844 this.message = t0;
6845 },
6846 UnimplementedError: function UnimplementedError(t0) {
6847 this.message = t0;
6848 },
6849 StateError: function StateError(t0) {
6850 this.message = t0;
6851 },
6852 ConcurrentModificationError: function ConcurrentModificationError(t0) {
6853 this.modifiedObject = t0;
6854 },
6855 OutOfMemoryError: function OutOfMemoryError() {
6856 },
6857 StackOverflowError: function StackOverflowError() {
6858 },
6859 CyclicInitializationError: function CyclicInitializationError(t0) {
6860 this.variableName = t0;
6861 },
6862 _Exception: function _Exception(t0) {
6863 this.message = t0;
6864 },
6865 FormatException: function FormatException(t0, t1, t2) {
6866 this.message = t0;
6867 this.source = t1;
6868 this.offset = t2;
6869 },
6870 Expando: function Expando(t0) {
6871 this._jsWeakMap = t0;
6872 },
6873 Iterable: function Iterable() {
6874 },
6875 _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
6876 this.length = t0;
6877 this._generator = t1;
6878 this.$ti = t2;
6879 },
6880 Iterator: function Iterator() {
6881 },
6882 MapEntry: function MapEntry(t0, t1, t2) {
6883 this.key = t0;
6884 this.value = t1;
6885 this.$ti = t2;
6886 },
6887 Null: function Null() {
6888 },
6889 Object: function Object() {
6890 },
6891 _StringStackTrace: function _StringStackTrace(t0) {
6892 this._stackTrace = t0;
6893 },
6894 Runes: function Runes(t0) {
6895 this.string = t0;
6896 },
6897 RuneIterator: function RuneIterator(t0) {
6898 var _ = this;
6899 _.string = t0;
6900 _._nextPosition = _._position = 0;
6901 _._currentCodePoint = -1;
6902 },
6903 StringBuffer: function StringBuffer(t0) {
6904 this._contents = t0;
6905 },
6906 Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
6907 this.host = t0;
6908 },
6909 Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
6910 this.host = t0;
6911 },
6912 Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
6913 this.error = t0;
6914 this.host = t1;
6915 },
6916 _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
6917 var _ = this;
6918 _.scheme = t0;
6919 _._userInfo = t1;
6920 _._host = t2;
6921 _._port = t3;
6922 _.path = t4;
6923 _._query = t5;
6924 _._fragment = t6;
6925 _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $;
6926 },
6927 _Uri__makePath_closure: function _Uri__makePath_closure() {
6928 },
6929 UriData: function UriData(t0, t1, t2) {
6930 this._text = t0;
6931 this._separatorIndices = t1;
6932 this._uriCache = t2;
6933 },
6934 _createTables_build: function _createTables_build(t0) {
6935 this.tables = t0;
6936 },
6937 _createTables_setChars: function _createTables_setChars() {
6938 },
6939 _createTables_setRange: function _createTables_setRange() {
6940 },
6941 _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
6942 var _ = this;
6943 _._uri = t0;
6944 _._schemeEnd = t1;
6945 _._hostStart = t2;
6946 _._portStart = t3;
6947 _._pathStart = t4;
6948 _._queryStart = t5;
6949 _._fragmentStart = t6;
6950 _._schemeCache = t7;
6951 _._hashCodeCache = null;
6952 },
6953 _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
6954 var _ = this;
6955 _.scheme = t0;
6956 _._userInfo = t1;
6957 _._host = t2;
6958 _._port = t3;
6959 _.path = t4;
6960 _._query = t5;
6961 _._fragment = t6;
6962 _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $;
6963 },
6964 _convertDataTree(data) {
6965 var t1 = new A._convertDataTree__convert(new A._IdentityHashMap(type$._IdentityHashMap_dynamic_dynamic)).call$1(data);
6966 t1.toString;
6967 return t1;
6968 },
6969 callConstructor(constr, $arguments) {
6970 var args, factoryFunction;
6971 if ($arguments instanceof Array)
6972 switch ($arguments.length) {
6973 case 0:
6974 return new constr();
6975 case 1:
6976 return new constr($arguments[0]);
6977 case 2:
6978 return new constr($arguments[0], $arguments[1]);
6979 case 3:
6980 return new constr($arguments[0], $arguments[1], $arguments[2]);
6981 case 4:
6982 return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
6983 }
6984 args = [null];
6985 B.JSArray_methods.addAll$1(args, $arguments);
6986 factoryFunction = constr.bind.apply(constr, args);
6987 String(factoryFunction);
6988 return new factoryFunction();
6989 },
6990 _convertDataTree__convert: function _convertDataTree__convert(t0) {
6991 this._convertedObjects = t0;
6992 },
6993 max(a, b) {
6994 return Math.max(A.checkNum(a), A.checkNum(b));
6995 },
6996 pow(x, exponent) {
6997 return Math.pow(x, exponent);
6998 },
6999 Random_Random() {
7000 return B.C__JSRandom;
7001 },
7002 _JSRandom: function _JSRandom() {
7003 },
7004 ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
7005 var _ = this;
7006 _._arg_parser$_options = t0;
7007 _._aliases = t1;
7008 _.options = t2;
7009 _.commands = t3;
7010 _._optionsAndSeparators = t4;
7011 _.allowTrailingOptions = t5;
7012 _.usageLineLength = t6;
7013 },
7014 ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
7015 this.$this = t0;
7016 },
7017 ArgParserException$(message, commands) {
7018 return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), message, null, null);
7019 },
7020 ArgParserException: function ArgParserException(t0, t1, t2, t3) {
7021 var _ = this;
7022 _.commands = t0;
7023 _.message = t1;
7024 _.source = t2;
7025 _.offset = t3;
7026 },
7027 ArgResults: function ArgResults(t0, t1, t2, t3) {
7028 var _ = this;
7029 _._parser = t0;
7030 _._parsed = t1;
7031 _.name = t2;
7032 _.rest = t3;
7033 },
7034 Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
7035 var _ = this;
7036 _.name = t0;
7037 _.abbr = t1;
7038 _.help = t2;
7039 _.valueHelp = t3;
7040 _.allowed = t4;
7041 _.allowedHelp = t5;
7042 _.defaultsTo = t6;
7043 _.negatable = t7;
7044 _.callback = t8;
7045 _.type = t9;
7046 _.splitCommas = t10;
7047 _.mandatory = t11;
7048 _.hide = t12;
7049 },
7050 OptionType: function OptionType(t0) {
7051 this.name = t0;
7052 },
7053 Parser$(_commandName, _grammar, _args, _parent, rest) {
7054 var t1 = A._setArrayType([], type$.JSArray_String);
7055 if (rest != null)
7056 B.JSArray_methods.addAll$1(t1, rest);
7057 return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
7058 },
7059 _isLetterOrDigit(codeUnit) {
7060 var t1;
7061 if (!(codeUnit >= 65 && codeUnit <= 90))
7062 if (!(codeUnit >= 97 && codeUnit <= 122))
7063 t1 = codeUnit >= 48 && codeUnit <= 57;
7064 else
7065 t1 = true;
7066 else
7067 t1 = true;
7068 return t1;
7069 },
7070 Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
7071 var _ = this;
7072 _._commandName = t0;
7073 _._parser$_parent = t1;
7074 _._grammar = t2;
7075 _._args = t3;
7076 _._parser$_rest = t4;
7077 _._results = t5;
7078 },
7079 Parser_parse_closure: function Parser_parse_closure(t0) {
7080 this.$this = t0;
7081 },
7082 Parser__setOption_closure: function Parser__setOption_closure() {
7083 },
7084 _Usage: function _Usage(t0, t1, t2) {
7085 var _ = this;
7086 _._usage$_optionsAndSeparators = t0;
7087 _._buffer = t1;
7088 _._currentColumn = 0;
7089 _.___Usage__columnWidths = $;
7090 _._newlinesNeeded = 0;
7091 _.lineLength = t2;
7092 },
7093 _Usage__writeOption_closure: function _Usage__writeOption_closure() {
7094 },
7095 _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
7096 this.option = t0;
7097 },
7098 ErrorResult: function ErrorResult(t0, t1) {
7099 this.error = t0;
7100 this.stackTrace = t1;
7101 },
7102 ValueResult: function ValueResult(t0, t1) {
7103 this.value = t0;
7104 this.$ti = t1;
7105 },
7106 StreamCompleter: function StreamCompleter(t0, t1) {
7107 this._stream_completer$_stream = t0;
7108 this.$ti = t1;
7109 },
7110 _CompleterStream: function _CompleterStream(t0) {
7111 this._sourceStream = this._stream_completer$_controller = null;
7112 this.$ti = t0;
7113 },
7114 StreamGroup: function StreamGroup(t0, t1, t2) {
7115 var _ = this;
7116 _.__StreamGroup__controller = $;
7117 _._closed = false;
7118 _._stream_group$_state = t0;
7119 _._subscriptions = t1;
7120 _.$ti = t2;
7121 },
7122 StreamGroup_add_closure: function StreamGroup_add_closure() {
7123 },
7124 StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
7125 this.$this = t0;
7126 this.stream = t1;
7127 },
7128 StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
7129 },
7130 StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
7131 this.$this = t0;
7132 },
7133 StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
7134 this.$this = t0;
7135 this.stream = t1;
7136 },
7137 _StreamGroupState: function _StreamGroupState(t0) {
7138 this.name = t0;
7139 },
7140 StreamQueue: function StreamQueue(t0, t1, t2, t3) {
7141 var _ = this;
7142 _._stream_queue$_source = t0;
7143 _._stream_queue$_subscription = null;
7144 _._isDone = false;
7145 _._eventsReceived = 0;
7146 _._eventQueue = t1;
7147 _._requestQueue = t2;
7148 _.$ti = t3;
7149 },
7150 StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
7151 this.$this = t0;
7152 },
7153 StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
7154 this.$this = t0;
7155 },
7156 StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
7157 this.$this = t0;
7158 },
7159 _NextRequest: function _NextRequest(t0, t1) {
7160 this._completer = t0;
7161 this.$ti = t1;
7162 },
7163 Repl: function Repl(t0, t1, t2, t3) {
7164 var _ = this;
7165 _.prompt = t0;
7166 _.continuation = t1;
7167 _.validator = t2;
7168 _.__Repl__adapter = $;
7169 _.history = t3;
7170 },
7171 alwaysValid_closure: function alwaysValid_closure() {
7172 },
7173 ReplAdapter: function ReplAdapter(t0) {
7174 this.repl = t0;
7175 this.rl = null;
7176 },
7177 ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
7178 var _ = this;
7179 _._box_0 = t0;
7180 _.$this = t1;
7181 _.rl = t2;
7182 _.runController = t3;
7183 },
7184 ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
7185 this.lineController = t0;
7186 },
7187 Stdin: function Stdin() {
7188 },
7189 Stdout: function Stdout() {
7190 },
7191 ReadlineModule: function ReadlineModule() {
7192 },
7193 ReadlineOptions: function ReadlineOptions() {
7194 },
7195 ReadlineInterface: function ReadlineInterface() {
7196 },
7197 EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
7198 this.$ti = t0;
7199 },
7200 _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
7201 },
7202 DefaultEquality: function DefaultEquality() {
7203 },
7204 IterableEquality: function IterableEquality() {
7205 },
7206 ListEquality: function ListEquality() {
7207 },
7208 _MapEntry: function _MapEntry(t0, t1, t2) {
7209 this.equality = t0;
7210 this.key = t1;
7211 this.value = t2;
7212 },
7213 MapEquality: function MapEquality() {
7214 },
7215 QueueList$(initialCapacity, $E) {
7216 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>"));
7217 },
7218 QueueList_QueueList$from(source, $E) {
7219 var $length, queue, t1;
7220 if (type$.List_dynamic._is(source)) {
7221 $length = J.get$length$asx(source);
7222 queue = A.QueueList$($length + 1, $E);
7223 J.setRange$4$ax(queue._table, 0, $length, source, 0);
7224 queue._tail = $length;
7225 return queue;
7226 } else {
7227 t1 = A.QueueList$(null, $E);
7228 t1.addAll$1(0, source);
7229 return t1;
7230 }
7231 },
7232 QueueList__computeInitialCapacity(initialCapacity) {
7233 if (initialCapacity == null || initialCapacity < 8)
7234 return 8;
7235 ++initialCapacity;
7236 if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
7237 return initialCapacity;
7238 return A.QueueList__nextPowerOf2(initialCapacity);
7239 },
7240 QueueList__nextPowerOf2(number) {
7241 var nextNumber;
7242 number = (number << 1 >>> 0) - 1;
7243 for (; true; number = nextNumber) {
7244 nextNumber = (number & number - 1) >>> 0;
7245 if (nextNumber === 0)
7246 return number;
7247 }
7248 },
7249 QueueList: function QueueList(t0, t1, t2, t3) {
7250 var _ = this;
7251 _._table = t0;
7252 _._head = t1;
7253 _._tail = t2;
7254 _.$ti = t3;
7255 },
7256 _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
7257 var _ = this;
7258 _._queue_list$_delegate = t0;
7259 _._table = t1;
7260 _._head = t2;
7261 _._tail = t3;
7262 _.$ti = t4;
7263 },
7264 _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
7265 },
7266 UnmodifiableSetMixin__throw() {
7267 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
7268 },
7269 UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
7270 this._base = t0;
7271 this.$ti = t1;
7272 },
7273 UnmodifiableSetMixin: function UnmodifiableSetMixin() {
7274 },
7275 _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
7276 },
7277 _DelegatingIterableBase: function _DelegatingIterableBase() {
7278 },
7279 DelegatingSet: function DelegatingSet(t0, t1) {
7280 this._base = t0;
7281 this.$ti = t1;
7282 },
7283 MapKeySet: function MapKeySet(t0, t1) {
7284 this._baseMap = t0;
7285 this.$ti = t1;
7286 },
7287 MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
7288 this.$this = t0;
7289 this.other = t1;
7290 },
7291 _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
7292 },
7293 BufferModule: function BufferModule() {
7294 },
7295 BufferConstants: function BufferConstants() {
7296 },
7297 Buffer: function Buffer() {
7298 },
7299 ConsoleModule: function ConsoleModule() {
7300 },
7301 Console: function Console() {
7302 },
7303 EventEmitter: function EventEmitter() {
7304 },
7305 fs() {
7306 var t1 = $._fs;
7307 return t1 == null ? $._fs = self.fs : t1;
7308 },
7309 FS: function FS() {
7310 },
7311 FSConstants: function FSConstants() {
7312 },
7313 FSWatcher: function FSWatcher() {
7314 },
7315 ReadStream: function ReadStream() {
7316 },
7317 ReadStreamOptions: function ReadStreamOptions() {
7318 },
7319 WriteStream: function WriteStream() {
7320 },
7321 WriteStreamOptions: function WriteStreamOptions() {
7322 },
7323 FileOptions: function FileOptions() {
7324 },
7325 StatOptions: function StatOptions() {
7326 },
7327 MkdirOptions: function MkdirOptions() {
7328 },
7329 RmdirOptions: function RmdirOptions() {
7330 },
7331 WatchOptions: function WatchOptions() {
7332 },
7333 WatchFileOptions: function WatchFileOptions() {
7334 },
7335 Stats: function Stats() {
7336 },
7337 Promise: function Promise() {
7338 },
7339 Date: function Date() {
7340 },
7341 JsError: function JsError() {
7342 },
7343 Atomics: function Atomics() {
7344 },
7345 Modules: function Modules() {
7346 },
7347 Module1: function Module1() {
7348 },
7349 Net: function Net() {
7350 },
7351 Socket: function Socket() {
7352 },
7353 NetAddress: function NetAddress() {
7354 },
7355 NetServer: function NetServer() {
7356 },
7357 NodeJsError: function NodeJsError() {
7358 },
7359 JsAssertionError: function JsAssertionError() {
7360 },
7361 JsRangeError: function JsRangeError() {
7362 },
7363 JsReferenceError: function JsReferenceError() {
7364 },
7365 JsSyntaxError: function JsSyntaxError() {
7366 },
7367 JsTypeError: function JsTypeError() {
7368 },
7369 JsSystemError: function JsSystemError() {
7370 },
7371 Process: function Process() {
7372 },
7373 CPUUsage: function CPUUsage() {
7374 },
7375 Release: function Release() {
7376 },
7377 StreamModule: function StreamModule() {
7378 },
7379 Readable: function Readable() {
7380 },
7381 Writable: function Writable() {
7382 },
7383 Duplex: function Duplex() {
7384 },
7385 Transform: function Transform() {
7386 },
7387 WritableOptions: function WritableOptions() {
7388 },
7389 ReadableOptions: function ReadableOptions() {
7390 },
7391 Immediate: function Immediate() {
7392 },
7393 Timeout: function Timeout() {
7394 },
7395 TTY: function TTY() {
7396 },
7397 TTYReadStream: function TTYReadStream() {
7398 },
7399 TTYWriteStream: function TTYWriteStream() {
7400 },
7401 jsify(dartObject) {
7402 if (A._isBasicType(dartObject))
7403 return dartObject;
7404 return A._convertDataTree(dartObject);
7405 },
7406 _isBasicType(value) {
7407 return false;
7408 },
7409 promiseToFuture(promise, $T) {
7410 var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
7411 completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
7412 J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure(completer)), A.allowInterop(new A.promiseToFuture_closure0(completer)));
7413 return t1;
7414 },
7415 futureToPromise(future, $T) {
7416 return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
7417 },
7418 Util: function Util() {
7419 },
7420 promiseToFuture_closure: function promiseToFuture_closure(t0) {
7421 this.completer = t0;
7422 },
7423 promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
7424 this.completer = t0;
7425 },
7426 futureToPromise_closure: function futureToPromise_closure(t0, t1) {
7427 this.future = t0;
7428 this.T = t1;
7429 },
7430 futureToPromise__closure: function futureToPromise__closure(t0, t1) {
7431 this.resolve = t0;
7432 this.T = t1;
7433 },
7434 Context_Context(style) {
7435 var current = style == null ? A.current() : ".";
7436 if (style == null)
7437 style = $.$get$Style_platform();
7438 return new A.Context(type$.InternalStyle._as(style), current);
7439 },
7440 _parseUri(uri) {
7441 if (typeof uri == "string")
7442 return A.Uri_parse(uri);
7443 if (type$.Uri._is(uri))
7444 return uri;
7445 throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
7446 },
7447 _validateArgList(method, args) {
7448 var numArgs, i, numArgs0, message, t1, t2, t3, t4;
7449 for (numArgs = args.length, i = 1; i < numArgs; ++i) {
7450 if (args[i] == null || args[i - 1] != null)
7451 continue;
7452 for (; numArgs >= 1; numArgs = numArgs0) {
7453 numArgs0 = numArgs - 1;
7454 if (args[numArgs0] != null)
7455 break;
7456 }
7457 message = new A.StringBuffer("");
7458 t1 = "" + (method + "(");
7459 message._contents = t1;
7460 t2 = A._arrayInstanceType(args);
7461 t3 = t2._eval$1("SubListIterable<1>");
7462 t4 = new A.SubListIterable(args, 0, numArgs, t3);
7463 t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
7464 t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
7465 message._contents = t3;
7466 message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
7467 throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
7468 }
7469 },
7470 Context: function Context(t0, t1) {
7471 this.style = t0;
7472 this._context$_current = t1;
7473 },
7474 Context_joinAll_closure: function Context_joinAll_closure() {
7475 },
7476 Context_split_closure: function Context_split_closure() {
7477 },
7478 _validateArgList_closure: function _validateArgList_closure() {
7479 },
7480 _PathDirection: function _PathDirection(t0) {
7481 this.name = t0;
7482 },
7483 _PathRelation: function _PathRelation(t0) {
7484 this.name = t0;
7485 },
7486 InternalStyle: function InternalStyle() {
7487 },
7488 ParsedPath_ParsedPath$parse(path, style) {
7489 var t1, parts, separators, start, i,
7490 root = style.getRoot$1(path),
7491 isRootRelative = style.isRootRelative$1(path);
7492 if (root != null)
7493 path = B.JSString_methods.substring$1(path, root.length);
7494 t1 = type$.JSArray_String;
7495 parts = A._setArrayType([], t1);
7496 separators = A._setArrayType([], t1);
7497 t1 = path.length;
7498 if (t1 !== 0 && style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, 0))) {
7499 separators.push(path[0]);
7500 start = 1;
7501 } else {
7502 separators.push("");
7503 start = 0;
7504 }
7505 for (i = start; i < t1; ++i)
7506 if (style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, i))) {
7507 parts.push(B.JSString_methods.substring$2(path, start, i));
7508 separators.push(path[i]);
7509 start = i + 1;
7510 }
7511 if (start < t1) {
7512 parts.push(B.JSString_methods.substring$1(path, start));
7513 separators.push("");
7514 }
7515 return new A.ParsedPath(style, root, isRootRelative, parts, separators);
7516 },
7517 ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
7518 var _ = this;
7519 _.style = t0;
7520 _.root = t1;
7521 _.isRootRelative = t2;
7522 _.parts = t3;
7523 _.separators = t4;
7524 },
7525 ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
7526 },
7527 ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
7528 },
7529 PathException$(message) {
7530 return new A.PathException(message);
7531 },
7532 PathException: function PathException(t0) {
7533 this.message = t0;
7534 },
7535 PathMap__create(context, $V) {
7536 var t1 = {};
7537 t1.context = context;
7538 t1.context = $.$get$context();
7539 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);
7540 },
7541 PathMap: function PathMap(t0, t1) {
7542 this._map = t0;
7543 this.$ti = t1;
7544 },
7545 PathMap__create_closure: function PathMap__create_closure(t0) {
7546 this._box_0 = t0;
7547 },
7548 PathMap__create_closure0: function PathMap__create_closure0(t0) {
7549 this._box_0 = t0;
7550 },
7551 PathMap__create_closure1: function PathMap__create_closure1() {
7552 },
7553 Style__getPlatformStyle() {
7554 if (A.Uri_base().get$scheme() !== "file")
7555 return $.$get$Style_url();
7556 var t1 = A.Uri_base();
7557 if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
7558 return $.$get$Style_url();
7559 if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
7560 return $.$get$Style_windows();
7561 return $.$get$Style_posix();
7562 },
7563 Style: function Style() {
7564 },
7565 PosixStyle: function PosixStyle(t0, t1, t2) {
7566 this.separatorPattern = t0;
7567 this.needsSeparatorPattern = t1;
7568 this.rootPattern = t2;
7569 },
7570 UrlStyle: function UrlStyle(t0, t1, t2, t3) {
7571 var _ = this;
7572 _.separatorPattern = t0;
7573 _.needsSeparatorPattern = t1;
7574 _.rootPattern = t2;
7575 _.relativeRootPattern = t3;
7576 },
7577 WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
7578 var _ = this;
7579 _.separatorPattern = t0;
7580 _.needsSeparatorPattern = t1;
7581 _.rootPattern = t2;
7582 _.relativeRootPattern = t3;
7583 },
7584 WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
7585 },
7586 CssMediaQuery: function CssMediaQuery(t0, t1, t2) {
7587 this.modifier = t0;
7588 this.type = t1;
7589 this.features = t2;
7590 },
7591 _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
7592 this._media_query$_name = t0;
7593 },
7594 MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
7595 this.query = t0;
7596 },
7597 ModifiableCssAtRule$($name, span, childless, value) {
7598 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7599 return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7600 },
7601 ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
7602 var _ = this;
7603 _.name = t0;
7604 _.value = t1;
7605 _.isChildless = t2;
7606 _.span = t3;
7607 _.children = t4;
7608 _._children = t5;
7609 _._indexInParent = _._parent = null;
7610 _.isGroupEnd = false;
7611 },
7612 ModifiableCssComment: function ModifiableCssComment(t0, t1) {
7613 var _ = this;
7614 _.text = t0;
7615 _.span = t1;
7616 _._indexInParent = _._parent = null;
7617 _.isGroupEnd = false;
7618 },
7619 ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
7620 var t1 = valueSpanForMap == null ? value.get$span(value) : valueSpanForMap;
7621 if (parsedAsCustomProperty)
7622 if (!J.startsWith$1$s($name.get$value($name), "--"))
7623 A.throwExpression(A.ArgumentError$(string$.parsed, null));
7624 else if (!(value.get$value(value) instanceof A.SassString))
7625 A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(value.get$value(value)).toString$0(0) + ").", null));
7626 return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, span);
7627 },
7628 ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4) {
7629 var _ = this;
7630 _.name = t0;
7631 _.value = t1;
7632 _.parsedAsCustomProperty = t2;
7633 _.valueSpanForMap = t3;
7634 _.span = t4;
7635 _._indexInParent = _._parent = null;
7636 _.isGroupEnd = false;
7637 },
7638 ModifiableCssImport$(url, span, media, supports) {
7639 return new A.ModifiableCssImport(url, supports, media == null ? null : A.List_List$unmodifiable(media, type$.CssMediaQuery), span);
7640 },
7641 ModifiableCssImport: function ModifiableCssImport(t0, t1, t2, t3) {
7642 var _ = this;
7643 _.url = t0;
7644 _.supports = t1;
7645 _.media = t2;
7646 _.span = t3;
7647 _._indexInParent = _._parent = null;
7648 _.isGroupEnd = false;
7649 },
7650 ModifiableCssKeyframeBlock$(selector, span) {
7651 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7652 return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7653 },
7654 ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
7655 var _ = this;
7656 _.selector = t0;
7657 _.span = t1;
7658 _.children = t2;
7659 _._children = t3;
7660 _._indexInParent = _._parent = null;
7661 _.isGroupEnd = false;
7662 },
7663 ModifiableCssMediaRule$(queries, span) {
7664 var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
7665 t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7666 if (J.get$isEmpty$asx(queries))
7667 A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
7668 return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
7669 },
7670 ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
7671 var _ = this;
7672 _.queries = t0;
7673 _.span = t1;
7674 _.children = t2;
7675 _._children = t3;
7676 _._indexInParent = _._parent = null;
7677 _.isGroupEnd = false;
7678 },
7679 ModifiableCssNode: function ModifiableCssNode() {
7680 },
7681 ModifiableCssParentNode: function ModifiableCssParentNode() {
7682 },
7683 ModifiableCssStyleRule$(selector, span, originalSelector) {
7684 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7685 return new A.ModifiableCssStyleRule(selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7686 },
7687 ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4) {
7688 var _ = this;
7689 _.selector = t0;
7690 _.originalSelector = t1;
7691 _.span = t2;
7692 _.children = t3;
7693 _._children = t4;
7694 _._indexInParent = _._parent = null;
7695 _.isGroupEnd = false;
7696 },
7697 ModifiableCssStylesheet$(span) {
7698 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7699 return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7700 },
7701 ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
7702 var _ = this;
7703 _.span = t0;
7704 _.children = t1;
7705 _._children = t2;
7706 _._indexInParent = _._parent = null;
7707 _.isGroupEnd = false;
7708 },
7709 ModifiableCssSupportsRule$(condition, span) {
7710 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7711 return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7712 },
7713 ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
7714 var _ = this;
7715 _.condition = t0;
7716 _.span = t1;
7717 _.children = t2;
7718 _._children = t3;
7719 _._indexInParent = _._parent = null;
7720 _.isGroupEnd = false;
7721 },
7722 ModifiableCssValue: function ModifiableCssValue(t0, t1, t2) {
7723 this.value = t0;
7724 this.span = t1;
7725 this.$ti = t2;
7726 },
7727 CssNode: function CssNode() {
7728 },
7729 CssParentNode: function CssParentNode() {
7730 },
7731 CssStylesheet: function CssStylesheet(t0, t1) {
7732 this.children = t0;
7733 this.span = t1;
7734 },
7735 CssValue: function CssValue(t0, t1, t2) {
7736 this.value = t0;
7737 this.span = t1;
7738 this.$ti = t2;
7739 },
7740 AstNode: function AstNode() {
7741 },
7742 _FakeAstNode: function _FakeAstNode(t0) {
7743 this._callback = t0;
7744 },
7745 Argument: function Argument(t0, t1, t2) {
7746 this.name = t0;
7747 this.defaultValue = t1;
7748 this.span = t2;
7749 },
7750 ArgumentDeclaration_ArgumentDeclaration$parse(contents, url) {
7751 return A.ScssParser$(contents, null, url).parseArgumentDeclaration$0();
7752 },
7753 ArgumentDeclaration: function ArgumentDeclaration(t0, t1, t2) {
7754 this.$arguments = t0;
7755 this.restArgument = t1;
7756 this.span = t2;
7757 },
7758 ArgumentDeclaration_verify_closure: function ArgumentDeclaration_verify_closure() {
7759 },
7760 ArgumentDeclaration_verify_closure0: function ArgumentDeclaration_verify_closure0() {
7761 },
7762 ArgumentInvocation$empty(span) {
7763 return new A.ArgumentInvocation(B.List_empty7, B.Map_empty2, null, null, span);
7764 },
7765 ArgumentInvocation: function ArgumentInvocation(t0, t1, t2, t3, t4) {
7766 var _ = this;
7767 _.positional = t0;
7768 _.named = t1;
7769 _.rest = t2;
7770 _.keywordRest = t3;
7771 _.span = t4;
7772 },
7773 AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
7774 var _ = this;
7775 _.include = t0;
7776 _.names = t1;
7777 _._all = t2;
7778 _._at_root_query$_rule = t3;
7779 },
7780 ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
7781 var _ = this;
7782 _.name = t0;
7783 _.expression = t1;
7784 _.isGuarded = t2;
7785 _.span = t3;
7786 },
7787 BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
7788 var _ = this;
7789 _.operator = t0;
7790 _.left = t1;
7791 _.right = t2;
7792 _.allowsSlash = t3;
7793 },
7794 BinaryOperator: function BinaryOperator(t0, t1, t2) {
7795 this.name = t0;
7796 this.operator = t1;
7797 this.precedence = t2;
7798 },
7799 BooleanExpression: function BooleanExpression(t0, t1) {
7800 this.value = t0;
7801 this.span = t1;
7802 },
7803 CalculationExpression__verifyArguments($arguments) {
7804 return A.List_List$unmodifiable(new A.MappedListIterable($arguments, new A.CalculationExpression__verifyArguments_closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Expression);
7805 },
7806 CalculationExpression__verify(expression) {
7807 var t1,
7808 _s29_ = "Invalid calculation argument ";
7809 if (expression instanceof A.NumberExpression)
7810 return;
7811 if (expression instanceof A.CalculationExpression)
7812 return;
7813 if (expression instanceof A.VariableExpression)
7814 return;
7815 if (expression instanceof A.FunctionExpression)
7816 return;
7817 if (expression instanceof A.IfExpression)
7818 return;
7819 if (expression instanceof A.StringExpression) {
7820 if (expression.hasQuotes)
7821 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
7822 } else if (expression instanceof A.ParenthesizedExpression)
7823 A.CalculationExpression__verify(expression.expression);
7824 else if (expression instanceof A.BinaryOperationExpression) {
7825 A.CalculationExpression__verify(expression.left);
7826 A.CalculationExpression__verify(expression.right);
7827 t1 = expression.operator;
7828 if (t1 === B.BinaryOperator_AcR0)
7829 return;
7830 if (t1 === B.BinaryOperator_iyO)
7831 return;
7832 if (t1 === B.BinaryOperator_O1M)
7833 return;
7834 if (t1 === B.BinaryOperator_RTB)
7835 return;
7836 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
7837 } else
7838 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
7839 },
7840 CalculationExpression: function CalculationExpression(t0, t1, t2) {
7841 this.name = t0;
7842 this.$arguments = t1;
7843 this.span = t2;
7844 },
7845 CalculationExpression__verifyArguments_closure: function CalculationExpression__verifyArguments_closure() {
7846 },
7847 ColorExpression: function ColorExpression(t0, t1) {
7848 this.value = t0;
7849 this.span = t1;
7850 },
7851 FunctionExpression: function FunctionExpression(t0, t1, t2, t3) {
7852 var _ = this;
7853 _.namespace = t0;
7854 _.originalName = t1;
7855 _.$arguments = t2;
7856 _.span = t3;
7857 },
7858 IfExpression: function IfExpression(t0, t1) {
7859 this.$arguments = t0;
7860 this.span = t1;
7861 },
7862 InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
7863 this.name = t0;
7864 this.$arguments = t1;
7865 this.span = t2;
7866 },
7867 ListExpression: function ListExpression(t0, t1, t2, t3) {
7868 var _ = this;
7869 _.contents = t0;
7870 _.separator = t1;
7871 _.hasBrackets = t2;
7872 _.span = t3;
7873 },
7874 ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
7875 this.$this = t0;
7876 },
7877 MapExpression: function MapExpression(t0, t1) {
7878 this.pairs = t0;
7879 this.span = t1;
7880 },
7881 MapExpression_toString_closure: function MapExpression_toString_closure() {
7882 },
7883 NullExpression: function NullExpression(t0) {
7884 this.span = t0;
7885 },
7886 NumberExpression: function NumberExpression(t0, t1, t2) {
7887 this.value = t0;
7888 this.unit = t1;
7889 this.span = t2;
7890 },
7891 ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
7892 this.expression = t0;
7893 this.span = t1;
7894 },
7895 SelectorExpression: function SelectorExpression(t0) {
7896 this.span = t0;
7897 },
7898 StringExpression_quoteText(text) {
7899 var t1,
7900 quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
7901 buffer = new A.StringBuffer("");
7902 buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
7903 A.StringExpression__quoteInnerText(text, quote, buffer, true);
7904 t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
7905 return t1.charCodeAt(0) == 0 ? t1 : t1;
7906 },
7907 StringExpression__quoteInnerText(text, quote, buffer, $static) {
7908 var t1, t2, i, codeUnit, next, t3;
7909 for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
7910 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
7911 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
7912 buffer.writeCharCode$1(92);
7913 buffer.writeCharCode$1(97);
7914 if (i !== t2) {
7915 next = B.JSString_methods._codeUnitAt$1(text, i + 1);
7916 if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex(next))
7917 buffer.writeCharCode$1(32);
7918 }
7919 } else {
7920 if (codeUnit !== quote)
7921 if (codeUnit !== 92)
7922 t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
7923 else
7924 t3 = true;
7925 else
7926 t3 = true;
7927 if (t3)
7928 buffer.writeCharCode$1(92);
7929 buffer.writeCharCode$1(codeUnit);
7930 }
7931 }
7932 },
7933 StringExpression__bestQuote(strings) {
7934 var t1, containsDoubleQuote, t2, t3, i, codeUnit;
7935 for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
7936 t2 = t1.get$current(t1);
7937 for (t3 = t2.length, i = 0; i < t3; ++i) {
7938 codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
7939 if (codeUnit === 39)
7940 return 34;
7941 if (codeUnit === 34)
7942 containsDoubleQuote = true;
7943 }
7944 }
7945 return containsDoubleQuote ? 39 : 34;
7946 },
7947 StringExpression: function StringExpression(t0, t1) {
7948 this.text = t0;
7949 this.hasQuotes = t1;
7950 },
7951 UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
7952 this.operator = t0;
7953 this.operand = t1;
7954 this.span = t2;
7955 },
7956 UnaryOperator: function UnaryOperator(t0, t1) {
7957 this.name = t0;
7958 this.operator = t1;
7959 },
7960 ValueExpression: function ValueExpression(t0, t1) {
7961 this.value = t0;
7962 this.span = t1;
7963 },
7964 VariableExpression: function VariableExpression(t0, t1, t2) {
7965 this.namespace = t0;
7966 this.name = t1;
7967 this.span = t2;
7968 },
7969 DynamicImport: function DynamicImport(t0, t1) {
7970 this.urlString = t0;
7971 this.span = t1;
7972 },
7973 StaticImport: function StaticImport(t0, t1, t2, t3) {
7974 var _ = this;
7975 _.url = t0;
7976 _.supports = t1;
7977 _.media = t2;
7978 _.span = t3;
7979 },
7980 Interpolation$(contents, span) {
7981 var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), span);
7982 t1.Interpolation$2(contents, span);
7983 return t1;
7984 },
7985 Interpolation: function Interpolation(t0, t1) {
7986 this.contents = t0;
7987 this.span = t1;
7988 },
7989 Interpolation_toString_closure: function Interpolation_toString_closure() {
7990 },
7991 AtRootRule$(children, span, query) {
7992 var t1 = A.List_List$unmodifiable(children, type$.Statement),
7993 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
7994 return new A.AtRootRule(query, span, t1, t2);
7995 },
7996 AtRootRule: function AtRootRule(t0, t1, t2, t3) {
7997 var _ = this;
7998 _.query = t0;
7999 _.span = t1;
8000 _.children = t2;
8001 _.hasDeclarations = t3;
8002 },
8003 AtRule$($name, span, children, value) {
8004 var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
8005 t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8006 return new A.AtRule($name, value, span, t1, t2 === true);
8007 },
8008 AtRule: function AtRule(t0, t1, t2, t3, t4) {
8009 var _ = this;
8010 _.name = t0;
8011 _.value = t1;
8012 _.span = t2;
8013 _.children = t3;
8014 _.hasDeclarations = t4;
8015 },
8016 CallableDeclaration: function CallableDeclaration() {
8017 },
8018 ContentBlock$($arguments, children, span) {
8019 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8020 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8021 return new A.ContentBlock("@content", $arguments, span, t1, t2);
8022 },
8023 ContentBlock: function ContentBlock(t0, t1, t2, t3, t4) {
8024 var _ = this;
8025 _.name = t0;
8026 _.$arguments = t1;
8027 _.span = t2;
8028 _.children = t3;
8029 _.hasDeclarations = t4;
8030 },
8031 ContentRule: function ContentRule(t0, t1) {
8032 this.$arguments = t0;
8033 this.span = t1;
8034 },
8035 DebugRule: function DebugRule(t0, t1) {
8036 this.expression = t0;
8037 this.span = t1;
8038 },
8039 Declaration$($name, value, span) {
8040 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression))
8041 A.throwExpression(A.ArgumentError$(string$.Declarwu + value.toString$0(0) + "` of type " + value.get$runtimeType(value).toString$0(0) + ").", null));
8042 return new A.Declaration($name, value, span, null, false);
8043 },
8044 Declaration$nested($name, children, span, value) {
8045 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8046 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8047 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression))
8048 A.throwExpression(A.ArgumentError$(string$.Declarwa, null));
8049 return new A.Declaration($name, value, span, t1, t2);
8050 },
8051 Declaration: function Declaration(t0, t1, t2, t3, t4) {
8052 var _ = this;
8053 _.name = t0;
8054 _.value = t1;
8055 _.span = t2;
8056 _.children = t3;
8057 _.hasDeclarations = t4;
8058 },
8059 EachRule$(variables, list, children, span) {
8060 var t1 = A.List_List$unmodifiable(variables, type$.String),
8061 t2 = A.List_List$unmodifiable(children, type$.Statement),
8062 t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
8063 return new A.EachRule(t1, list, span, t2, t3);
8064 },
8065 EachRule: function EachRule(t0, t1, t2, t3, t4) {
8066 var _ = this;
8067 _.variables = t0;
8068 _.list = t1;
8069 _.span = t2;
8070 _.children = t3;
8071 _.hasDeclarations = t4;
8072 },
8073 EachRule_toString_closure: function EachRule_toString_closure() {
8074 },
8075 ErrorRule: function ErrorRule(t0, t1) {
8076 this.expression = t0;
8077 this.span = t1;
8078 },
8079 ExtendRule: function ExtendRule(t0, t1, t2) {
8080 this.selector = t0;
8081 this.isOptional = t1;
8082 this.span = t2;
8083 },
8084 ForRule$(variable, from, to, children, span, exclusive) {
8085 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8086 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8087 return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
8088 },
8089 ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
8090 var _ = this;
8091 _.variable = t0;
8092 _.from = t1;
8093 _.to = t2;
8094 _.isExclusive = t3;
8095 _.span = t4;
8096 _.children = t5;
8097 _.hasDeclarations = t6;
8098 },
8099 ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
8100 var _ = this;
8101 _.url = t0;
8102 _.shownMixinsAndFunctions = t1;
8103 _.shownVariables = t2;
8104 _.hiddenMixinsAndFunctions = t3;
8105 _.hiddenVariables = t4;
8106 _.prefix = t5;
8107 _.configuration = t6;
8108 _.span = t7;
8109 },
8110 FunctionRule$($name, $arguments, children, span, comment) {
8111 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8112 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8113 return new A.FunctionRule($name, $arguments, span, t1, t2);
8114 },
8115 FunctionRule: function FunctionRule(t0, t1, t2, t3, t4) {
8116 var _ = this;
8117 _.name = t0;
8118 _.$arguments = t1;
8119 _.span = t2;
8120 _.children = t3;
8121 _.hasDeclarations = t4;
8122 },
8123 IfClause$(expression, children) {
8124 var t1 = A.List_List$unmodifiable(children, type$.Statement);
8125 return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
8126 },
8127 ElseClause$(children) {
8128 var t1 = A.List_List$unmodifiable(children, type$.Statement);
8129 return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
8130 },
8131 IfRule: function IfRule(t0, t1, t2) {
8132 this.clauses = t0;
8133 this.lastClause = t1;
8134 this.span = t2;
8135 },
8136 IfRule_toString_closure: function IfRule_toString_closure() {
8137 },
8138 IfRuleClause: function IfRuleClause() {
8139 },
8140 IfRuleClause$__closure: function IfRuleClause$__closure() {
8141 },
8142 IfRuleClause$___closure: function IfRuleClause$___closure() {
8143 },
8144 IfClause: function IfClause(t0, t1, t2) {
8145 this.expression = t0;
8146 this.children = t1;
8147 this.hasDeclarations = t2;
8148 },
8149 ElseClause: function ElseClause(t0, t1) {
8150 this.children = t0;
8151 this.hasDeclarations = t1;
8152 },
8153 ImportRule: function ImportRule(t0, t1) {
8154 this.imports = t0;
8155 this.span = t1;
8156 },
8157 IncludeRule: function IncludeRule(t0, t1, t2, t3, t4) {
8158 var _ = this;
8159 _.namespace = t0;
8160 _.name = t1;
8161 _.$arguments = t2;
8162 _.content = t3;
8163 _.span = t4;
8164 },
8165 LoudComment: function LoudComment(t0) {
8166 this.text = t0;
8167 },
8168 MediaRule$(query, children, span) {
8169 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8170 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8171 return new A.MediaRule(query, span, t1, t2);
8172 },
8173 MediaRule: function MediaRule(t0, t1, t2, t3) {
8174 var _ = this;
8175 _.query = t0;
8176 _.span = t1;
8177 _.children = t2;
8178 _.hasDeclarations = t3;
8179 },
8180 MixinRule$($name, $arguments, children, span, comment) {
8181 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8182 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8183 return new A.MixinRule($name, $arguments, span, t1, t2);
8184 },
8185 MixinRule: function MixinRule(t0, t1, t2, t3, t4) {
8186 var _ = this;
8187 _.__MixinRule_hasContent = $;
8188 _.name = t0;
8189 _.$arguments = t1;
8190 _.span = t2;
8191 _.children = t3;
8192 _.hasDeclarations = t4;
8193 },
8194 _HasContentVisitor: function _HasContentVisitor() {
8195 },
8196 ParentStatement: function ParentStatement() {
8197 },
8198 ParentStatement_closure: function ParentStatement_closure() {
8199 },
8200 ParentStatement__closure: function ParentStatement__closure() {
8201 },
8202 ReturnRule: function ReturnRule(t0, t1) {
8203 this.expression = t0;
8204 this.span = t1;
8205 },
8206 SilentComment: function SilentComment(t0, t1) {
8207 this.text = t0;
8208 this.span = t1;
8209 },
8210 StyleRule$(selector, children, span) {
8211 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8212 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8213 return new A.StyleRule(selector, span, t1, t2);
8214 },
8215 StyleRule: function StyleRule(t0, t1, t2, t3) {
8216 var _ = this;
8217 _.selector = t0;
8218 _.span = t1;
8219 _.children = t2;
8220 _.hasDeclarations = t3;
8221 },
8222 Stylesheet$(children, span) {
8223 var t1 = A._setArrayType([], type$.JSArray_UseRule),
8224 t2 = A._setArrayType([], type$.JSArray_ForwardRule),
8225 t3 = A.List_List$unmodifiable(children, type$.Statement),
8226 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
8227 t1 = new A.Stylesheet(span, false, t1, t2, t3, t4);
8228 t1.Stylesheet$internal$3$plainCss(children, span, false);
8229 return t1;
8230 },
8231 Stylesheet$internal(children, span, plainCss) {
8232 var t1 = A._setArrayType([], type$.JSArray_UseRule),
8233 t2 = A._setArrayType([], type$.JSArray_ForwardRule),
8234 t3 = A.List_List$unmodifiable(children, type$.Statement),
8235 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
8236 t1 = new A.Stylesheet(span, plainCss, t1, t2, t3, t4);
8237 t1.Stylesheet$internal$3$plainCss(children, span, plainCss);
8238 return t1;
8239 },
8240 Stylesheet_Stylesheet$parse(contents, syntax, logger, url) {
8241 var t1, t2;
8242 switch (syntax) {
8243 case B.Syntax_Sass:
8244 t1 = A.SpanScanner$(contents, url);
8245 t2 = logger == null ? B.StderrLogger_false : logger;
8246 return new A.SassParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2).parse$0();
8247 case B.Syntax_SCSS:
8248 return A.ScssParser$(contents, logger, url).parse$0();
8249 case B.Syntax_CSS:
8250 t1 = A.SpanScanner$(contents, url);
8251 t2 = logger == null ? B.StderrLogger_false : logger;
8252 return new A.CssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2).parse$0();
8253 default:
8254 throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
8255 }
8256 },
8257 Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5) {
8258 var _ = this;
8259 _.span = t0;
8260 _.plainCss = t1;
8261 _._uses = t2;
8262 _._forwards = t3;
8263 _.children = t4;
8264 _.hasDeclarations = t5;
8265 },
8266 SupportsRule$(condition, children, span) {
8267 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8268 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8269 return new A.SupportsRule(condition, span, t1, t2);
8270 },
8271 SupportsRule: function SupportsRule(t0, t1, t2, t3) {
8272 var _ = this;
8273 _.condition = t0;
8274 _.span = t1;
8275 _.children = t2;
8276 _.hasDeclarations = t3;
8277 },
8278 UseRule: function UseRule(t0, t1, t2, t3) {
8279 var _ = this;
8280 _.url = t0;
8281 _.namespace = t1;
8282 _.configuration = t2;
8283 _.span = t3;
8284 },
8285 VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
8286 if (namespace != null && global)
8287 A.throwExpression(A.ArgumentError$(string$.Other_, null));
8288 return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
8289 },
8290 VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
8291 var _ = this;
8292 _.namespace = t0;
8293 _.name = t1;
8294 _.expression = t2;
8295 _.isGuarded = t3;
8296 _.isGlobal = t4;
8297 _.span = t5;
8298 },
8299 WarnRule: function WarnRule(t0, t1) {
8300 this.expression = t0;
8301 this.span = t1;
8302 },
8303 WhileRule$(condition, children, span) {
8304 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8305 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8306 return new A.WhileRule(condition, span, t1, t2);
8307 },
8308 WhileRule: function WhileRule(t0, t1, t2, t3) {
8309 var _ = this;
8310 _.condition = t0;
8311 _.span = t1;
8312 _.children = t2;
8313 _.hasDeclarations = t3;
8314 },
8315 SupportsAnything: function SupportsAnything(t0, t1) {
8316 this.contents = t0;
8317 this.span = t1;
8318 },
8319 SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
8320 this.name = t0;
8321 this.value = t1;
8322 this.span = t2;
8323 },
8324 SupportsFunction: function SupportsFunction(t0, t1, t2) {
8325 this.name = t0;
8326 this.$arguments = t1;
8327 this.span = t2;
8328 },
8329 SupportsInterpolation: function SupportsInterpolation(t0, t1) {
8330 this.expression = t0;
8331 this.span = t1;
8332 },
8333 SupportsNegation: function SupportsNegation(t0, t1) {
8334 this.condition = t0;
8335 this.span = t1;
8336 },
8337 SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
8338 var _ = this;
8339 _.left = t0;
8340 _.right = t1;
8341 _.operator = t2;
8342 _.span = t3;
8343 },
8344 Selector: function Selector() {
8345 },
8346 AttributeSelector: function AttributeSelector(t0, t1, t2, t3) {
8347 var _ = this;
8348 _.name = t0;
8349 _.op = t1;
8350 _.value = t2;
8351 _.modifier = t3;
8352 },
8353 AttributeOperator: function AttributeOperator(t0) {
8354 this._attribute$_text = t0;
8355 },
8356 ClassSelector: function ClassSelector(t0) {
8357 this.name = t0;
8358 },
8359 ComplexSelector$(components, lineBreak) {
8360 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
8361 if (t1.length === 0)
8362 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
8363 return new A.ComplexSelector(t1, lineBreak);
8364 },
8365 ComplexSelector: function ComplexSelector(t0, t1) {
8366 var _ = this;
8367 _.components = t0;
8368 _.lineBreak = t1;
8369 _._complex$_maxSpecificity = _._minSpecificity = null;
8370 _.__ComplexSelector_isInvisible = $;
8371 },
8372 ComplexSelector_isInvisible_closure: function ComplexSelector_isInvisible_closure() {
8373 },
8374 Combinator: function Combinator(t0) {
8375 this._complex$_text = t0;
8376 },
8377 CompoundSelector$(components) {
8378 var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
8379 if (t1.length === 0)
8380 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
8381 return new A.CompoundSelector(t1);
8382 },
8383 CompoundSelector: function CompoundSelector(t0) {
8384 this.components = t0;
8385 this._maxSpecificity = this._compound$_minSpecificity = null;
8386 },
8387 CompoundSelector_isInvisible_closure: function CompoundSelector_isInvisible_closure() {
8388 },
8389 IDSelector: function IDSelector(t0) {
8390 this.name = t0;
8391 },
8392 IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
8393 this.$this = t0;
8394 },
8395 SelectorList$(components) {
8396 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
8397 if (t1.length === 0)
8398 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
8399 return new A.SelectorList(t1);
8400 },
8401 SelectorList_SelectorList$parse(contents, allowParent, allowPlaceholder, logger) {
8402 return A.SelectorParser$(contents, allowParent, allowPlaceholder, logger, null).parse$0();
8403 },
8404 SelectorList: function SelectorList(t0) {
8405 this.components = t0;
8406 },
8407 SelectorList_isInvisible_closure: function SelectorList_isInvisible_closure() {
8408 },
8409 SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
8410 },
8411 SelectorList_asSassList__closure: function SelectorList_asSassList__closure() {
8412 },
8413 SelectorList_unify_closure: function SelectorList_unify_closure(t0) {
8414 this.other = t0;
8415 },
8416 SelectorList_unify__closure: function SelectorList_unify__closure(t0) {
8417 this.complex1 = t0;
8418 },
8419 SelectorList_unify___closure: function SelectorList_unify___closure() {
8420 },
8421 SelectorList_resolveParentSelectors_closure: function SelectorList_resolveParentSelectors_closure(t0, t1, t2) {
8422 this.$this = t0;
8423 this.implicitParent = t1;
8424 this.parent = t2;
8425 },
8426 SelectorList_resolveParentSelectors__closure: function SelectorList_resolveParentSelectors__closure(t0) {
8427 this.complex = t0;
8428 },
8429 SelectorList_resolveParentSelectors__closure0: function SelectorList_resolveParentSelectors__closure0(t0) {
8430 this._box_0 = t0;
8431 },
8432 SelectorList__complexContainsParentSelector_closure: function SelectorList__complexContainsParentSelector_closure() {
8433 },
8434 SelectorList__complexContainsParentSelector__closure: function SelectorList__complexContainsParentSelector__closure() {
8435 },
8436 SelectorList__resolveParentSelectorsCompound_closure: function SelectorList__resolveParentSelectorsCompound_closure() {
8437 },
8438 SelectorList__resolveParentSelectorsCompound_closure0: function SelectorList__resolveParentSelectorsCompound_closure0(t0) {
8439 this.parent = t0;
8440 },
8441 SelectorList__resolveParentSelectorsCompound_closure1: function SelectorList__resolveParentSelectorsCompound_closure1(t0, t1) {
8442 this.compound = t0;
8443 this.resolvedMembers = t1;
8444 },
8445 ParentSelector: function ParentSelector(t0) {
8446 this.suffix = t0;
8447 },
8448 PlaceholderSelector: function PlaceholderSelector(t0) {
8449 this.name = t0;
8450 },
8451 PseudoSelector$($name, argument, element, selector) {
8452 var t1 = !element,
8453 t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
8454 return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector);
8455 },
8456 PseudoSelector__isFakePseudoElement($name) {
8457 switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
8458 case 97:
8459 case 65:
8460 return A.equalsIgnoreCase($name, "after");
8461 case 98:
8462 case 66:
8463 return A.equalsIgnoreCase($name, "before");
8464 case 102:
8465 case 70:
8466 return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
8467 default:
8468 return false;
8469 }
8470 },
8471 PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5) {
8472 var _ = this;
8473 _.name = t0;
8474 _.normalizedName = t1;
8475 _.isClass = t2;
8476 _.isSyntacticClass = t3;
8477 _.argument = t4;
8478 _.selector = t5;
8479 _._pseudo$_maxSpecificity = _._pseudo$_minSpecificity = null;
8480 },
8481 PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
8482 },
8483 QualifiedName: function QualifiedName(t0, t1) {
8484 this.name = t0;
8485 this.namespace = t1;
8486 },
8487 SimpleSelector: function SimpleSelector() {
8488 },
8489 TypeSelector: function TypeSelector(t0) {
8490 this.name = t0;
8491 },
8492 UniversalSelector: function UniversalSelector(t0) {
8493 this.namespace = t0;
8494 },
8495 compileAsync(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
8496 return A.compileAsync$body(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose);
8497 },
8498 compileAsync$body(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
8499 var $async$goto = 0,
8500 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
8501 $async$returnValue, t1, terseLogger, t2, stylesheet, result;
8502 var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
8503 if ($async$errorCode === 1)
8504 return A._asyncRethrow($async$result, $async$completer);
8505 while (true)
8506 switch ($async$goto) {
8507 case 0:
8508 // Function start
8509 if (!verbose) {
8510 t1 = logger == null ? new A.StderrLogger(false) : logger;
8511 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), t1);
8512 logger = terseLogger;
8513 } else
8514 terseLogger = null;
8515 t1 = syntax === A.Syntax_forPath(path);
8516 $async$goto = t1 ? 3 : 5;
8517 break;
8518 case 3:
8519 // then
8520 t1 = $.$get$context();
8521 t2 = t1.absolute$7(".", null, null, null, null, null, null);
8522 $async$goto = 6;
8523 return A._asyncAwait(importCache.importCanonical$3$originalUrl(new A.FilesystemImporter(t2), t1.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null)) : t1.canonicalize$1(0, path)), t1.toUri$1(path)), $async$compileAsync);
8524 case 6:
8525 // returning from await.
8526 t2 = $async$result;
8527 t2.toString;
8528 stylesheet = t2;
8529 // goto join
8530 $async$goto = 4;
8531 break;
8532 case 5:
8533 // else
8534 t1 = A.readFile(path);
8535 t2 = $.$get$context();
8536 stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, logger, t2.toUri$1(path));
8537 t1 = t2;
8538 case 4:
8539 // join
8540 $async$goto = 7;
8541 return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, new A.FilesystemImporter(t1.absolute$7(".", null, null, null, null, null, null)), null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileAsync);
8542 case 7:
8543 // returning from await.
8544 result = $async$result;
8545 if (terseLogger != null)
8546 terseLogger.summarize$1$node(false);
8547 $async$returnValue = result;
8548 // goto return
8549 $async$goto = 1;
8550 break;
8551 case 1:
8552 // return
8553 return A._asyncReturn($async$returnValue, $async$completer);
8554 }
8555 });
8556 return A._asyncStartSync($async$compileAsync, $async$completer);
8557 },
8558 compileStringAsync(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
8559 return A.compileStringAsync$body(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose);
8560 },
8561 compileStringAsync$body(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
8562 var $async$goto = 0,
8563 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
8564 $async$returnValue, t1, terseLogger, stylesheet, result;
8565 var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
8566 if ($async$errorCode === 1)
8567 return A._asyncRethrow($async$result, $async$completer);
8568 while (true)
8569 switch ($async$goto) {
8570 case 0:
8571 // Function start
8572 if (!verbose) {
8573 t1 = logger == null ? new A.StderrLogger(false) : logger;
8574 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), t1);
8575 logger = terseLogger;
8576 } else
8577 terseLogger = null;
8578 stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, logger, null);
8579 $async$goto = 3;
8580 return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
8581 case 3:
8582 // returning from await.
8583 result = $async$result;
8584 if (terseLogger != null)
8585 terseLogger.summarize$1$node(false);
8586 $async$returnValue = result;
8587 // goto return
8588 $async$goto = 1;
8589 break;
8590 case 1:
8591 // return
8592 return A._asyncReturn($async$returnValue, $async$completer);
8593 }
8594 });
8595 return A._asyncStartSync($async$compileStringAsync, $async$completer);
8596 },
8597 _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
8598 var $async$goto = 0,
8599 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
8600 $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
8601 var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
8602 if ($async$errorCode === 1)
8603 return A._asyncRethrow($async$result, $async$completer);
8604 while (true)
8605 switch ($async$goto) {
8606 case 0:
8607 // Function start
8608 $async$temp1 = A;
8609 $async$goto = 3;
8610 return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
8611 case 3:
8612 // returning from await.
8613 serializeResult = $async$temp1.serialize($async$result.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, true);
8614 resultSourceMap = serializeResult.sourceMap;
8615 if (resultSourceMap != null && true)
8616 A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
8617 $async$returnValue = new A.CompileResult(serializeResult);
8618 // goto return
8619 $async$goto = 1;
8620 break;
8621 case 1:
8622 // return
8623 return A._asyncReturn($async$returnValue, $async$completer);
8624 }
8625 });
8626 return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
8627 },
8628 _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
8629 this.stylesheet = t0;
8630 this.importCache = t1;
8631 },
8632 AsyncEnvironment$() {
8633 var t1 = type$.String,
8634 t2 = type$.Module_AsyncCallable,
8635 t3 = type$.AstNode,
8636 t4 = type$.int,
8637 t5 = type$.AsyncCallable,
8638 t6 = type$.JSArray_Map_String_AsyncCallable;
8639 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);
8640 },
8641 AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
8642 var t1 = type$.String,
8643 t2 = type$.int;
8644 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);
8645 },
8646 _EnvironmentModule__EnvironmentModule0(environment, css, extensionStore, forwarded) {
8647 var t1, t2, t3, t4, t5, t6;
8648 if (forwarded == null)
8649 forwarded = B.Set_empty0;
8650 t1 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
8651 t2 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure5(), type$.Map_String_Value), type$.Value);
8652 t3 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure6(), type$.Map_String_AstNode), type$.AstNode);
8653 t4 = type$.Map_String_AsyncCallable;
8654 t5 = type$.AsyncCallable;
8655 t6 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure7(), t4), t5);
8656 t5 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure8(), t4), t5);
8657 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure9());
8658 return A._EnvironmentModule$_0(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure10()));
8659 },
8660 _EnvironmentModule__makeModulesByVariable0(forwarded) {
8661 var modulesByVariable, t1, t2, t3, t4, t5;
8662 if (forwarded.get$isEmpty(forwarded))
8663 return B.Map_empty3;
8664 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
8665 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
8666 t2 = t1.get$current(t1);
8667 if (t2 instanceof A._EnvironmentModule0) {
8668 for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
8669 t4 = t3.get$current(t3);
8670 t5 = t4.get$variables();
8671 A.setAll(modulesByVariable, t5.get$keys(t5), t4);
8672 }
8673 A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables)), t2);
8674 } else {
8675 t3 = t2.get$variables();
8676 A.setAll(modulesByVariable, t3.get$keys(t3), t2);
8677 }
8678 }
8679 return modulesByVariable;
8680 },
8681 _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
8682 var t1, t2, t3;
8683 localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
8684 if (otherMaps.get$isEmpty(otherMaps))
8685 return localMap;
8686 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
8687 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
8688 t3 = t2.get$current(t2);
8689 if (t3.get$isNotEmpty(t3))
8690 t1.push(t3);
8691 }
8692 t1.push(localMap);
8693 if (t1.length === 1)
8694 return localMap;
8695 return A.MergedMapView$(t1, type$.String, $V);
8696 },
8697 _EnvironmentModule$_0(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
8698 return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
8699 },
8700 AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
8701 var _ = this;
8702 _._async_environment$_modules = t0;
8703 _._async_environment$_namespaceNodes = t1;
8704 _._async_environment$_globalModules = t2;
8705 _._async_environment$_importedModules = t3;
8706 _._async_environment$_forwardedModules = t4;
8707 _._async_environment$_nestedForwardedModules = t5;
8708 _._async_environment$_allModules = t6;
8709 _._async_environment$_variables = t7;
8710 _._async_environment$_variableNodes = t8;
8711 _._async_environment$_variableIndices = t9;
8712 _._async_environment$_functions = t10;
8713 _._async_environment$_functionIndices = t11;
8714 _._async_environment$_mixins = t12;
8715 _._async_environment$_mixinIndices = t13;
8716 _._async_environment$_content = t14;
8717 _._async_environment$_inMixin = false;
8718 _._async_environment$_inSemiGlobalScope = true;
8719 _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
8720 },
8721 AsyncEnvironment_importForwards_closure: function AsyncEnvironment_importForwards_closure() {
8722 },
8723 AsyncEnvironment_importForwards_closure0: function AsyncEnvironment_importForwards_closure0() {
8724 },
8725 AsyncEnvironment_importForwards_closure1: function AsyncEnvironment_importForwards_closure1() {
8726 },
8727 AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
8728 this.name = t0;
8729 },
8730 AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
8731 this.$this = t0;
8732 this.name = t1;
8733 },
8734 AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
8735 this.name = t0;
8736 },
8737 AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
8738 this.$this = t0;
8739 this.name = t1;
8740 },
8741 AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
8742 this.name = t0;
8743 },
8744 AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
8745 this.name = t0;
8746 },
8747 AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
8748 },
8749 AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
8750 },
8751 AsyncEnvironment__fromOneModule_closure: function AsyncEnvironment__fromOneModule_closure(t0, t1) {
8752 this.callback = t0;
8753 this.T = t1;
8754 },
8755 AsyncEnvironment__fromOneModule__closure: function AsyncEnvironment__fromOneModule__closure(t0, t1) {
8756 this.entry = t0;
8757 this.T = t1;
8758 },
8759 _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
8760 var _ = this;
8761 _.upstream = t0;
8762 _.variables = t1;
8763 _.variableNodes = t2;
8764 _.functions = t3;
8765 _.mixins = t4;
8766 _.extensionStore = t5;
8767 _.css = t6;
8768 _.transitivelyContainsCss = t7;
8769 _.transitivelyContainsExtensions = t8;
8770 _._async_environment$_environment = t9;
8771 _._async_environment$_modulesByVariable = t10;
8772 },
8773 _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
8774 },
8775 _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
8776 },
8777 _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
8778 },
8779 _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
8780 },
8781 _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
8782 },
8783 _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
8784 },
8785 AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
8786 var t2, t3, _i, path, _null = null,
8787 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
8788 t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
8789 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
8790 t3 = t2.get$current(t2);
8791 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
8792 }
8793 if (sassPath != null) {
8794 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
8795 t3 = t2.length;
8796 _i = 0;
8797 for (; _i < t3; ++_i) {
8798 path = t2[_i];
8799 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
8800 }
8801 }
8802 return t1;
8803 },
8804 AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5) {
8805 var _ = this;
8806 _._async_import_cache$_importers = t0;
8807 _._async_import_cache$_logger = t1;
8808 _._async_import_cache$_canonicalizeCache = t2;
8809 _._async_import_cache$_relativeCanonicalizeCache = t3;
8810 _._async_import_cache$_importCache = t4;
8811 _._async_import_cache$_resultsCache = t5;
8812 },
8813 AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
8814 var _ = this;
8815 _.$this = t0;
8816 _.baseUrl = t1;
8817 _.url = t2;
8818 _.baseImporter = t3;
8819 _.forImport = t4;
8820 },
8821 AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2) {
8822 this.$this = t0;
8823 this.url = t1;
8824 this.forImport = t2;
8825 },
8826 AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
8827 this.importer = t0;
8828 this.url = t1;
8829 },
8830 AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
8831 var _ = this;
8832 _.$this = t0;
8833 _.importer = t1;
8834 _.canonicalUrl = t2;
8835 _.originalUrl = t3;
8836 _.quiet = t4;
8837 },
8838 AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
8839 this.canonicalUrl = t0;
8840 },
8841 AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
8842 },
8843 AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
8844 },
8845 AsyncBuiltInCallable$mixin($name, $arguments, callback, url) {
8846 return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure(callback));
8847 },
8848 AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2) {
8849 this.name = t0;
8850 this._async_built_in$_arguments = t1;
8851 this._async_built_in$_callback = t2;
8852 },
8853 AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
8854 this.callback = t0;
8855 },
8856 BuiltInCallable$function($name, $arguments, callback, url) {
8857 return new A.BuiltInCallable($name, A._setArrayType([new A.Tuple2(A.ScssParser$("@function " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), callback, type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value));
8858 },
8859 BuiltInCallable$mixin($name, $arguments, callback, url) {
8860 return new A.BuiltInCallable($name, A._setArrayType([new A.Tuple2(A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.BuiltInCallable$mixin_closure(callback), type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value));
8861 },
8862 BuiltInCallable$overloadedFunction($name, overloads) {
8863 var t2, t3, t4, t5, t6, t7,
8864 t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value);
8865 for (t2 = overloads.get$entries(overloads), t2 = t2.get$iterator(t2), t3 = type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value, t4 = type$.String, t5 = type$.VariableDeclaration; t2.moveNext$0();) {
8866 t6 = t2.get$current(t2);
8867 t7 = A.SpanScanner$("@function " + $name + "(" + A.S(t6.key) + ") {", null);
8868 t1.push(new A.Tuple2(new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t7, B.StderrLogger_false).parseArgumentDeclaration$0(), t6.value, t3));
8869 }
8870 return new A.BuiltInCallable($name, t1);
8871 },
8872 BuiltInCallable: function BuiltInCallable(t0, t1) {
8873 this.name = t0;
8874 this._overloads = t1;
8875 },
8876 BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
8877 this.callback = t0;
8878 },
8879 PlainCssCallable: function PlainCssCallable(t0) {
8880 this.name = t0;
8881 },
8882 UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
8883 var _ = this;
8884 _.declaration = t0;
8885 _.environment = t1;
8886 _.inDependency = t2;
8887 _.$ti = t3;
8888 },
8889 _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
8890 var serializeResult = A.serialize(A._EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet).stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, true),
8891 resultSourceMap = serializeResult.sourceMap;
8892 if (resultSourceMap != null && true)
8893 A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
8894 return new A.CompileResult(serializeResult);
8895 },
8896 _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
8897 this.stylesheet = t0;
8898 this.importCache = t1;
8899 },
8900 CompileResult: function CompileResult(t0) {
8901 this._serialize = t0;
8902 },
8903 Configuration: function Configuration(t0) {
8904 this._values = t0;
8905 },
8906 Configuration_toString_closure: function Configuration_toString_closure() {
8907 },
8908 ExplicitConfiguration: function ExplicitConfiguration(t0, t1) {
8909 this.nodeWithSpan = t0;
8910 this._values = t1;
8911 },
8912 ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
8913 this.value = t0;
8914 this.configurationSpan = t1;
8915 this.assignmentNode = t2;
8916 },
8917 Environment$() {
8918 var t1 = type$.String,
8919 t2 = type$.Module_Callable,
8920 t3 = type$.AstNode,
8921 t4 = type$.int,
8922 t5 = type$.Callable,
8923 t6 = type$.JSArray_Map_String_Callable;
8924 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);
8925 },
8926 Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
8927 var t1 = type$.String,
8928 t2 = type$.int;
8929 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);
8930 },
8931 _EnvironmentModule__EnvironmentModule(environment, css, extensionStore, forwarded) {
8932 var t1, t2, t3, t4, t5, t6;
8933 if (forwarded == null)
8934 forwarded = B.Set_empty;
8935 t1 = A._EnvironmentModule__makeModulesByVariable(forwarded);
8936 t2 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure(), type$.Map_String_Value), type$.Value);
8937 t3 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure0(), type$.Map_String_AstNode), type$.AstNode);
8938 t4 = type$.Map_String_Callable;
8939 t5 = type$.Callable;
8940 t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t4), t5);
8941 t5 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t4), t5);
8942 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure3());
8943 return A._EnvironmentModule$_(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure4()));
8944 },
8945 _EnvironmentModule__makeModulesByVariable(forwarded) {
8946 var modulesByVariable, t1, t2, t3, t4, t5;
8947 if (forwarded.get$isEmpty(forwarded))
8948 return B.Map_empty;
8949 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
8950 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
8951 t2 = t1.get$current(t1);
8952 if (t2 instanceof A._EnvironmentModule) {
8953 for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
8954 t4 = t3.get$current(t3);
8955 t5 = t4.get$variables();
8956 A.setAll(modulesByVariable, t5.get$keys(t5), t4);
8957 }
8958 A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
8959 } else {
8960 t3 = t2.get$variables();
8961 A.setAll(modulesByVariable, t3.get$keys(t3), t2);
8962 }
8963 }
8964 return modulesByVariable;
8965 },
8966 _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
8967 var t1, t2, t3;
8968 localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
8969 if (otherMaps.get$isEmpty(otherMaps))
8970 return localMap;
8971 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
8972 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
8973 t3 = t2.get$current(t2);
8974 if (t3.get$isNotEmpty(t3))
8975 t1.push(t3);
8976 }
8977 t1.push(localMap);
8978 if (t1.length === 1)
8979 return localMap;
8980 return A.MergedMapView$(t1, type$.String, $V);
8981 },
8982 _EnvironmentModule$_(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
8983 return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
8984 },
8985 Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
8986 var _ = this;
8987 _._environment$_modules = t0;
8988 _._namespaceNodes = t1;
8989 _._globalModules = t2;
8990 _._importedModules = t3;
8991 _._forwardedModules = t4;
8992 _._nestedForwardedModules = t5;
8993 _._allModules = t6;
8994 _._variables = t7;
8995 _._variableNodes = t8;
8996 _._variableIndices = t9;
8997 _._functions = t10;
8998 _._functionIndices = t11;
8999 _._mixins = t12;
9000 _._mixinIndices = t13;
9001 _._content = t14;
9002 _._inMixin = false;
9003 _._inSemiGlobalScope = true;
9004 _._lastVariableIndex = _._lastVariableName = null;
9005 },
9006 Environment_importForwards_closure: function Environment_importForwards_closure() {
9007 },
9008 Environment_importForwards_closure0: function Environment_importForwards_closure0() {
9009 },
9010 Environment_importForwards_closure1: function Environment_importForwards_closure1() {
9011 },
9012 Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
9013 this.name = t0;
9014 },
9015 Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
9016 this.$this = t0;
9017 this.name = t1;
9018 },
9019 Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
9020 this.name = t0;
9021 },
9022 Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
9023 this.$this = t0;
9024 this.name = t1;
9025 },
9026 Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
9027 this.name = t0;
9028 },
9029 Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
9030 this.name = t0;
9031 },
9032 Environment_toModule_closure: function Environment_toModule_closure() {
9033 },
9034 Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
9035 },
9036 Environment__fromOneModule_closure: function Environment__fromOneModule_closure(t0, t1) {
9037 this.callback = t0;
9038 this.T = t1;
9039 },
9040 Environment__fromOneModule__closure: function Environment__fromOneModule__closure(t0, t1) {
9041 this.entry = t0;
9042 this.T = t1;
9043 },
9044 _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
9045 var _ = this;
9046 _.upstream = t0;
9047 _.variables = t1;
9048 _.variableNodes = t2;
9049 _.functions = t3;
9050 _.mixins = t4;
9051 _.extensionStore = t5;
9052 _.css = t6;
9053 _.transitivelyContainsCss = t7;
9054 _.transitivelyContainsExtensions = t8;
9055 _._environment$_environment = t9;
9056 _._modulesByVariable = t10;
9057 },
9058 _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
9059 },
9060 _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
9061 },
9062 _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
9063 },
9064 _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
9065 },
9066 _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
9067 },
9068 _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
9069 },
9070 SassException$(message, span) {
9071 return new A.SassException(message, span);
9072 },
9073 MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace) {
9074 return new A.MultiSpanSassRuntimeException(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
9075 },
9076 SassFormatException$(message, span) {
9077 return new A.SassFormatException(message, span);
9078 },
9079 SassScriptException$(message) {
9080 return new A.SassScriptException(message);
9081 },
9082 MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
9083 return new A.MultiSpanSassScriptException(primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message);
9084 },
9085 SassException: function SassException(t0, t1) {
9086 this._span_exception$_message = t0;
9087 this._span = t1;
9088 },
9089 MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3) {
9090 var _ = this;
9091 _.primaryLabel = t0;
9092 _.secondarySpans = t1;
9093 _._span_exception$_message = t2;
9094 _._span = t3;
9095 },
9096 SassRuntimeException: function SassRuntimeException(t0, t1, t2) {
9097 this.trace = t0;
9098 this._span_exception$_message = t1;
9099 this._span = t2;
9100 },
9101 MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4) {
9102 var _ = this;
9103 _.trace = t0;
9104 _.primaryLabel = t1;
9105 _.secondarySpans = t2;
9106 _._span_exception$_message = t3;
9107 _._span = t4;
9108 },
9109 SassFormatException: function SassFormatException(t0, t1) {
9110 this._span_exception$_message = t0;
9111 this._span = t1;
9112 },
9113 SassScriptException: function SassScriptException(t0) {
9114 this.message = t0;
9115 },
9116 MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
9117 this.primaryLabel = t0;
9118 this.secondarySpans = t1;
9119 this.message = t2;
9120 },
9121 compileStylesheet(options, graph, source, destination, ifModified) {
9122 return A.compileStylesheet$body(options, graph, source, destination, ifModified);
9123 },
9124 compileStylesheet$body(options, graph, source, destination, ifModified) {
9125 var $async$goto = 0,
9126 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
9127 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], syntax, result, importCache, error, exception, t2, t3, t4, t5, t6, t7, t8, t9, result0, logger, terseLogger, stylesheet, css, buffer, sourceName, destinationName, t1, importer, $async$exception;
9128 var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
9129 if ($async$errorCode === 1) {
9130 $async$currentError = $async$result;
9131 $async$goto = $async$handler;
9132 }
9133 while (true)
9134 switch ($async$goto) {
9135 case 0:
9136 // Function start
9137 t1 = $.$get$context();
9138 importer = new A.FilesystemImporter(t1.absolute$7(".", null, null, null, null, null, null));
9139 if (ifModified)
9140 try {
9141 if (source != null && destination != null && !graph.modifiedSince$3(t1.toUri$1(source), A.modificationTime(destination), importer)) {
9142 // goto return
9143 $async$goto = 1;
9144 break;
9145 }
9146 } catch (exception) {
9147 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
9148 throw exception;
9149 }
9150 syntax = null;
9151 if (A._asBoolQ(options._ifParsed$1("indented")) === true)
9152 syntax = B.Syntax_Sass;
9153 else if (source != null)
9154 syntax = A.Syntax_forPath(source);
9155 else
9156 syntax = B.Syntax_SCSS;
9157 result = null;
9158 $async$handler = 4;
9159 t1 = options._options;
9160 $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
9161 break;
9162 case 7:
9163 // then
9164 t2 = type$.List_String._as(t1.$index(0, "load-path"));
9165 t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9166 t4 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri;
9167 t5 = type$.Uri;
9168 t2 = A.AsyncImportCache__toImporters(null, t2, null);
9169 importCache = new A.AsyncImportCache(t2, t3, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t4), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri, t4), A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.ImporterResult));
9170 $async$goto = source == null ? 10 : 12;
9171 break;
9172 case 10:
9173 // then
9174 $async$goto = 13;
9175 return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
9176 case 13:
9177 // returning from await.
9178 t2 = $async$result;
9179 t3 = syntax;
9180 t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9181 t5 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
9182 t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9183 t7 = A._asBool(t1.$index(0, "quiet-deps"));
9184 t8 = A._asBool(t1.$index(0, "verbose"));
9185 t9 = options.get$emitSourceMap();
9186 $async$goto = 14;
9187 return A._asyncAwait(A.compileStringAsync(t2, A._asBool(t1.$index(0, "charset")), importCache, new A.FilesystemImporter(t5), t4, t7, t9, t6, t3, t8), $async$compileStylesheet);
9188 case 14:
9189 // returning from await.
9190 result0 = $async$result;
9191 // goto join
9192 $async$goto = 11;
9193 break;
9194 case 12:
9195 // else
9196 t2 = syntax;
9197 t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9198 t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9199 t5 = A._asBool(t1.$index(0, "quiet-deps"));
9200 t6 = A._asBool(t1.$index(0, "verbose"));
9201 t7 = options.get$emitSourceMap();
9202 $async$goto = 15;
9203 return A._asyncAwait(A.compileAsync(source, A._asBool(t1.$index(0, "charset")), importCache, t3, t5, t7, t4, t2, t6), $async$compileStylesheet);
9204 case 15:
9205 // returning from await.
9206 result0 = $async$result;
9207 case 11:
9208 // join
9209 result = result0;
9210 // goto join
9211 $async$goto = 8;
9212 break;
9213 case 9:
9214 // else
9215 $async$goto = source == null ? 16 : 18;
9216 break;
9217 case 16:
9218 // then
9219 $async$goto = 19;
9220 return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
9221 case 19:
9222 // returning from await.
9223 t2 = $async$result;
9224 t3 = syntax;
9225 logger = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9226 t4 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
9227 t5 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9228 t6 = A._asBool(t1.$index(0, "quiet-deps"));
9229 t7 = A._asBool(t1.$index(0, "verbose"));
9230 t8 = options.get$emitSourceMap();
9231 t1 = A._asBool(t1.$index(0, "charset"));
9232 if (!t7) {
9233 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
9234 logger = terseLogger;
9235 } else
9236 terseLogger = null;
9237 stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS : t3, logger, null);
9238 result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, new A.FilesystemImporter(t4), null, t5, true, null, null, t6, t8, t1);
9239 if (terseLogger != null)
9240 terseLogger.summarize$1$node(false);
9241 // goto join
9242 $async$goto = 17;
9243 break;
9244 case 18:
9245 // else
9246 t2 = syntax;
9247 logger = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9248 importCache = graph.importCache;
9249 t3 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9250 t4 = A._asBool(t1.$index(0, "quiet-deps"));
9251 t5 = A._asBool(t1.$index(0, "verbose"));
9252 t6 = options.get$emitSourceMap();
9253 t1 = A._asBool(t1.$index(0, "charset"));
9254 if (!t5) {
9255 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
9256 logger = terseLogger;
9257 } else
9258 terseLogger = null;
9259 t5 = t2 == null || t2 === A.Syntax_forPath(source);
9260 if (t5) {
9261 t2 = $.$get$context();
9262 t5 = t2.absolute$7(".", null, null, null, null, null, null);
9263 t5 = importCache.importCanonical$3$originalUrl(new A.FilesystemImporter(t5), t2.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t2.absolute$7(t2.normalize$1(source), null, null, null, null, null, null)) : t2.canonicalize$1(0, source)), t2.toUri$1(source));
9264 t5.toString;
9265 stylesheet = t5;
9266 } else {
9267 t5 = A.readFile(source);
9268 if (t2 == null)
9269 t2 = A.Syntax_forPath(source);
9270 t7 = $.$get$context();
9271 stylesheet = A.Stylesheet_Stylesheet$parse(t5, t2, logger, t7.toUri$1(source));
9272 t2 = t7;
9273 }
9274 result0 = A._compileStylesheet(stylesheet, logger, importCache, null, new A.FilesystemImporter(t2.absolute$7(".", null, null, null, null, null, null)), null, t3, true, null, null, t4, t6, t1);
9275 if (terseLogger != null)
9276 terseLogger.summarize$1$node(false);
9277 case 17:
9278 // join
9279 result = result0;
9280 case 8:
9281 // join
9282 $async$handler = 2;
9283 // goto after finally
9284 $async$goto = 6;
9285 break;
9286 case 4:
9287 // catch
9288 $async$handler = 3;
9289 $async$exception = $async$currentError;
9290 t1 = A.unwrapException($async$exception);
9291 if (t1 instanceof A.SassException) {
9292 error = t1;
9293 if (options.get$emitErrorCss())
9294 if (destination == null)
9295 A.print(error.toCssString$0());
9296 else {
9297 A.ensureDir($.$get$context().dirname$1(destination));
9298 A.writeFile(destination, error.toCssString$0() + "\n");
9299 }
9300 throw $async$exception;
9301 } else
9302 throw $async$exception;
9303 // goto after finally
9304 $async$goto = 6;
9305 break;
9306 case 3:
9307 // uncaught
9308 // goto rethrow
9309 $async$goto = 2;
9310 break;
9311 case 6:
9312 // after finally
9313 css = result._serialize.css + A._writeSourceMap(options, result._serialize.sourceMap, destination);
9314 if (destination == null) {
9315 if (css.length !== 0)
9316 A.print(css);
9317 } else {
9318 A.ensureDir($.$get$context().dirname$1(destination));
9319 A.writeFile(destination, css + "\n");
9320 }
9321 t1 = options._options;
9322 if (!A._asBool(t1.$index(0, "quiet")))
9323 t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
9324 else
9325 t1 = true;
9326 if (t1) {
9327 // goto return
9328 $async$goto = 1;
9329 break;
9330 }
9331 buffer = new A.StringBuffer("");
9332 t1 = options.get$color() ? buffer._contents = "" + "\x1b[32m" : "";
9333 if (source == null)
9334 sourceName = "stdin";
9335 else {
9336 t2 = $.$get$context();
9337 sourceName = t2.prettyUri$1(t2.toUri$1(source));
9338 }
9339 destination.toString;
9340 t2 = $.$get$context();
9341 destinationName = t2.prettyUri$1(t2.toUri$1(destination));
9342 t1 += "Compiled " + sourceName + " to " + destinationName + ".";
9343 buffer._contents = t1;
9344 if (options.get$color())
9345 buffer._contents = t1 + "\x1b[0m";
9346 A.print(buffer);
9347 case 1:
9348 // return
9349 return A._asyncReturn($async$returnValue, $async$completer);
9350 case 2:
9351 // rethrow
9352 return A._asyncRethrow($async$currentError, $async$completer);
9353 }
9354 });
9355 return A._asyncStartSync($async$compileStylesheet, $async$completer);
9356 },
9357 _writeSourceMap(options, sourceMap, destination) {
9358 var t1, sourceMapText, url, sourceMapPath, t2;
9359 if (sourceMap == null)
9360 return "";
9361 if (destination != null) {
9362 t1 = $.$get$context();
9363 sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
9364 }
9365 A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
9366 t1 = options._options;
9367 sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
9368 if (A._asBool(t1.$index(0, "embed-source-map")))
9369 url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
9370 else {
9371 destination.toString;
9372 sourceMapPath = destination + ".map";
9373 t2 = $.$get$context();
9374 A.ensureDir(t2.dirname$1(sourceMapPath));
9375 A.writeFile(sourceMapPath, sourceMapText);
9376 url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
9377 }
9378 t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded) === B.OutputStyle_compressed ? "" : "\n\n";
9379 return t1 + ("/*# sourceMappingURL=" + url.toString$0(0) + " */");
9380 },
9381 _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
9382 this.options = t0;
9383 this.destination = t1;
9384 },
9385 ExecutableOptions__separator(text) {
9386 var t1 = $.$get$ExecutableOptions__separatorBar(),
9387 t2 = B.JSString_methods.$mul(t1, 3) + " ";
9388 t2 = t2 + (J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[1m" : "") + text;
9389 return t2 + (J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[0m" : "") + " " + B.JSString_methods.$mul(t1, 35 - text.length);
9390 },
9391 ExecutableOptions__fail(message) {
9392 return A.throwExpression(A.UsageException$(message));
9393 },
9394 ExecutableOptions_ExecutableOptions$parse(args) {
9395 var options, error, t1, exception;
9396 try {
9397 t1 = A.Parser$(null, $.$get$ExecutableOptions__parser(), A.ListQueue_ListQueue$of(args, type$.String), null, null).parse$0();
9398 if (t1.wasParsed$1("poll") && !A._asBool(t1.$index(0, "watch")))
9399 A.ExecutableOptions__fail("--poll may not be passed without --watch.");
9400 options = new A.ExecutableOptions(t1);
9401 if (A._asBool(options._options.$index(0, "help")))
9402 A.ExecutableOptions__fail("Compile Sass to CSS.");
9403 return options;
9404 } catch (exception) {
9405 t1 = A.unwrapException(exception);
9406 if (type$.FormatException._is(t1)) {
9407 error = t1;
9408 A.ExecutableOptions__fail(J.get$message$x(error));
9409 } else
9410 throw exception;
9411 }
9412 },
9413 UsageException$(message) {
9414 return new A.UsageException(message);
9415 },
9416 ExecutableOptions: function ExecutableOptions(t0) {
9417 var _ = this;
9418 _._options = t0;
9419 _.__ExecutableOptions_interactive = $;
9420 _._sourcesToDestinations = null;
9421 _.__ExecutableOptions__sourceDirectoriesToDestinations = $;
9422 },
9423 ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
9424 },
9425 ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
9426 this.$this = t0;
9427 },
9428 ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
9429 },
9430 UsageException: function UsageException(t0) {
9431 this.message = t0;
9432 },
9433 watch(options, graph) {
9434 return A.watch$body(options, graph);
9435 },
9436 watch$body(options, graph) {
9437 var $async$goto = 0,
9438 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
9439 $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, watcher;
9440 var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
9441 if ($async$errorCode === 1)
9442 return A._asyncRethrow($async$result, $async$completer);
9443 while (true)
9444 switch ($async$goto) {
9445 case 0:
9446 // Function start
9447 options._ensureSources$0();
9448 t1 = type$.String;
9449 t2 = A._lateReadCheck(options.__ExecutableOptions__sourceDirectoriesToDestinations, "_sourceDirectoriesToDestinations").cast$2$0(0, t1, t1);
9450 t2 = A.List_List$of(t2.get$keys(t2), true, t1);
9451 for (options._ensureSources$0(), t3 = options._sourcesToDestinations.cast$2$0(0, t1, t1), t3 = J.get$iterator$ax(t3.get$keys(t3)); t3.moveNext$0();) {
9452 t4 = t3.get$current(t3);
9453 t2.push($.$get$context().dirname$1(t4));
9454 }
9455 t3 = options._options;
9456 B.JSArray_methods.addAll$1(t2, type$.List_String._as(t3.$index(0, "load-path")));
9457 t4 = A._asBool(t3.$index(0, "poll"));
9458 t5 = type$.Stream_WatchEvent;
9459 t6 = A.PathMap__create(null, t5);
9460 t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
9461 t5.__StreamGroup__controller = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
9462 dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
9463 $async$goto = 3;
9464 return A._asyncAwait(A.Future_wait(new A.MappedListIterable(t2, new A.watch_closure(dirWatcher), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Future<~>>")), type$.void), $async$watch);
9465 case 3:
9466 // returning from await.
9467 watcher = new A._Watcher(options, graph);
9468 options._ensureSources$0(), t1 = options._sourcesToDestinations.cast$2$0(0, t1, t1), t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
9469 case 4:
9470 // for condition
9471 if (!t1.moveNext$0()) {
9472 // goto after for
9473 $async$goto = 5;
9474 break;
9475 }
9476 t2 = t1.get$current(t1);
9477 t4 = $.$get$context();
9478 t5 = t4.absolute$7(".", null, null, null, null, null, null);
9479 t6 = t2.key;
9480 graph.addCanonical$4$recanonicalize(new A.FilesystemImporter(t5), t4.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t4.absolute$7(t4.normalize$1(t6), null, null, null, null, null, null)) : t4.canonicalize$1(0, t6)), t4.toUri$1(t6), false);
9481 $async$goto = 6;
9482 return A._asyncAwait(watcher.compile$3$ifModified(0, t6, t2.value, true), $async$watch);
9483 case 6:
9484 // returning from await.
9485 if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
9486 t1 = A._lateReadCheck(dirWatcher._group.__StreamGroup__controller, "_controller");
9487 t1._subscribe$4(null, null, null, false).cancel$0();
9488 // goto return
9489 $async$goto = 1;
9490 break;
9491 }
9492 // goto for condition
9493 $async$goto = 4;
9494 break;
9495 case 5:
9496 // after for
9497 A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
9498 $async$goto = 7;
9499 return A._asyncAwait(watcher.watch$1(0, dirWatcher), $async$watch);
9500 case 7:
9501 // returning from await.
9502 case 1:
9503 // return
9504 return A._asyncReturn($async$returnValue, $async$completer);
9505 }
9506 });
9507 return A._asyncStartSync($async$watch, $async$completer);
9508 },
9509 watch_closure: function watch_closure(t0) {
9510 this.dirWatcher = t0;
9511 },
9512 _Watcher: function _Watcher(t0, t1) {
9513 this._watch$_options = t0;
9514 this._graph = t1;
9515 },
9516 _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
9517 },
9518 EmptyExtensionStore: function EmptyExtensionStore() {
9519 },
9520 Extension: function Extension(t0, t1, t2, t3, t4) {
9521 var _ = this;
9522 _.extender = t0;
9523 _.target = t1;
9524 _.mediaContext = t2;
9525 _.isOptional = t3;
9526 _.span = t4;
9527 },
9528 Extender: function Extender(t0, t1, t2) {
9529 var _ = this;
9530 _.selector = t0;
9531 _.isOriginal = t1;
9532 _._extension = null;
9533 _.span = t2;
9534 },
9535 ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
9536 var t1, t2, t3, t4, t5, t6, t7, t8, t9, _i, complex, t10, t11, t12, _i0, simple, t13, _i1, t14, t15,
9537 extender = A.ExtensionStore$_mode(mode);
9538 if (!selector.get$isInvisible())
9539 extender._originals.addAll$1(0, selector.components);
9540 for (t1 = targets.components, t2 = t1.length, t3 = source.components, t4 = t3.length, t5 = type$.ComplexSelector, t6 = type$.Extension, t7 = type$.CompoundSelector, t8 = type$.SimpleSelector, t9 = type$.Map_ComplexSelector_Extension, _i = 0; _i < t2; ++_i) {
9541 complex = t1[_i];
9542 t10 = complex.components;
9543 if (t10.length !== 1)
9544 throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + A.S(complex) + "."));
9545 t11 = A.LinkedHashMap_LinkedHashMap$_empty(t8, t9);
9546 for (t10 = t7._as(B.JSArray_methods.get$first(t10)).components, t12 = t10.length, _i0 = 0; _i0 < t12; ++_i0) {
9547 simple = t10[_i0];
9548 t13 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
9549 for (_i1 = 0; _i1 < t4; ++_i1) {
9550 complex = t3[_i1];
9551 if (complex._complex$_maxSpecificity == null)
9552 complex._computeSpecificity$0();
9553 complex._complex$_maxSpecificity.toString;
9554 t14 = new A.Extender(complex, false, span);
9555 t15 = new A.Extension(t14, simple, null, true, span);
9556 t14._extension = t15;
9557 t13.$indexSet(0, complex, t15);
9558 }
9559 t11.$indexSet(0, simple, t13);
9560 }
9561 selector = extender._extendList$3(selector, span, t11);
9562 }
9563 return selector;
9564 },
9565 ExtensionStore$() {
9566 var t1 = type$.SimpleSelector;
9567 return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableCssValue_SelectorList, type$.List_CssMediaQuery), A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), B.ExtendMode_normal);
9568 },
9569 ExtensionStore$_mode(_mode) {
9570 var t1 = type$.SimpleSelector;
9571 return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableCssValue_SelectorList, type$.List_CssMediaQuery), A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), _mode);
9572 },
9573 ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
9574 var _ = this;
9575 _._selectors = t0;
9576 _._extensions = t1;
9577 _._extensionsByExtender = t2;
9578 _._mediaContexts = t3;
9579 _._sourceSpecificity = t4;
9580 _._originals = t5;
9581 _._mode = t6;
9582 },
9583 ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
9584 },
9585 ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
9586 },
9587 ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
9588 },
9589 ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
9590 },
9591 ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
9592 this.complex = t0;
9593 },
9594 ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
9595 },
9596 ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
9597 },
9598 ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure(t0, t1) {
9599 this._box_0 = t0;
9600 this.$this = t1;
9601 },
9602 ExtensionStore_addExtensions__closure1: function ExtensionStore_addExtensions__closure1(t0, t1, t2, t3, t4) {
9603 var _ = this;
9604 _._box_0 = t0;
9605 _.existingSources = t1;
9606 _.extensionsForTarget = t2;
9607 _.selectorsForTarget = t3;
9608 _.target = t4;
9609 },
9610 ExtensionStore_addExtensions___closure: function ExtensionStore_addExtensions___closure() {
9611 },
9612 ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0(t0, t1) {
9613 this._box_0 = t0;
9614 this.$this = t1;
9615 },
9616 ExtensionStore_addExtensions__closure: function ExtensionStore_addExtensions__closure(t0, t1) {
9617 this.$this = t0;
9618 this.newExtensions = t1;
9619 },
9620 ExtensionStore_addExtensions__closure0: function ExtensionStore_addExtensions__closure0(t0, t1) {
9621 this.$this = t0;
9622 this.newExtensions = t1;
9623 },
9624 ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0) {
9625 this.complex = t0;
9626 },
9627 ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
9628 this._box_0 = t0;
9629 this.$this = t1;
9630 this.complex = t2;
9631 },
9632 ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure() {
9633 },
9634 ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2, t3) {
9635 var _ = this;
9636 _._box_0 = t0;
9637 _.$this = t1;
9638 _.complex = t2;
9639 _.path = t3;
9640 },
9641 ExtensionStore__extendComplex___closure: function ExtensionStore__extendComplex___closure() {
9642 },
9643 ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure(t0) {
9644 this.mediaQueryContext = t0;
9645 },
9646 ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0(t0, t1) {
9647 this._box_1 = t0;
9648 this.mediaQueryContext = t1;
9649 },
9650 ExtensionStore__extendCompound__closure: function ExtensionStore__extendCompound__closure() {
9651 },
9652 ExtensionStore__extendCompound__closure0: function ExtensionStore__extendCompound__closure0(t0) {
9653 this._box_0 = t0;
9654 },
9655 ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1() {
9656 },
9657 ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
9658 },
9659 ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3(t0) {
9660 this.original = t0;
9661 },
9662 ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2, t3) {
9663 var _ = this;
9664 _.$this = t0;
9665 _.extensions = t1;
9666 _.targetsUsed = t2;
9667 _.simpleSpan = t3;
9668 },
9669 ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1, t2) {
9670 this.$this = t0;
9671 this.withoutPseudo = t1;
9672 this.simpleSpan = t2;
9673 },
9674 ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
9675 },
9676 ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
9677 },
9678 ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
9679 },
9680 ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
9681 },
9682 ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
9683 this.pseudo = t0;
9684 },
9685 ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0) {
9686 this.pseudo = t0;
9687 },
9688 ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
9689 this._box_0 = t0;
9690 this.complex1 = t1;
9691 },
9692 ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
9693 this._box_0 = t0;
9694 this.complex1 = t1;
9695 },
9696 ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
9697 var _ = this;
9698 _.$this = t0;
9699 _.newSelectors = t1;
9700 _.oldToNewSelectors = t2;
9701 _.newMediaContexts = t3;
9702 },
9703 unifyComplex(complexes) {
9704 var t2, unifiedBase, base, t3, t4, _i, complexesWithoutBases,
9705 t1 = J.getInterceptor$asx(complexes);
9706 if (t1.get$length(complexes) === 1)
9707 return complexes;
9708 for (t2 = t1.get$iterator(complexes), unifiedBase = null; t2.moveNext$0();) {
9709 base = J.get$last$ax(t2.get$current(t2));
9710 if (!(base instanceof A.CompoundSelector))
9711 return null;
9712 if (unifiedBase == null)
9713 unifiedBase = base.components;
9714 else
9715 for (t3 = base.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
9716 unifiedBase = t3[_i].unify$1(unifiedBase);
9717 if (unifiedBase == null)
9718 return null;
9719 }
9720 }
9721 t1 = t1.map$1$1(complexes, new A.unifyComplex_closure(), type$.List_ComplexSelectorComponent);
9722 complexesWithoutBases = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
9723 t1 = B.JSArray_methods.get$last(complexesWithoutBases);
9724 unifiedBase.toString;
9725 J.add$1$ax(t1, A.CompoundSelector$(unifiedBase));
9726 return A.weave(complexesWithoutBases);
9727 },
9728 unifyCompound(compound1, compound2) {
9729 var t1, result, _i, unified;
9730 for (t1 = compound1.length, result = compound2, _i = 0; _i < t1; ++_i, result = unified) {
9731 unified = compound1[_i].unify$1(result);
9732 if (unified == null)
9733 return null;
9734 }
9735 return A.CompoundSelector$(result);
9736 },
9737 unifyUniversalAndElement(selector1, selector2) {
9738 var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
9739 _s45_ = string$.must_b;
9740 if (selector1 instanceof A.UniversalSelector) {
9741 namespace1 = selector1.namespace;
9742 name1 = _null;
9743 } else if (selector1 instanceof A.TypeSelector) {
9744 t1 = selector1.name;
9745 namespace1 = t1.namespace;
9746 name1 = t1.name;
9747 } else
9748 throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
9749 if (selector2 instanceof A.UniversalSelector) {
9750 namespace2 = selector2.namespace;
9751 name2 = _null;
9752 } else if (selector2 instanceof A.TypeSelector) {
9753 t1 = selector2.name;
9754 namespace2 = t1.namespace;
9755 name2 = t1.name;
9756 } else
9757 throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
9758 if (namespace1 == namespace2 || namespace2 === "*")
9759 namespace = namespace1;
9760 else {
9761 if (namespace1 !== "*")
9762 return _null;
9763 namespace = namespace2;
9764 }
9765 if (name1 == name2 || name2 == null)
9766 $name = name1;
9767 else {
9768 if (!(name1 == null || name1 === "*"))
9769 return _null;
9770 $name = name2;
9771 }
9772 return $name == null ? new A.UniversalSelector(namespace) : new A.TypeSelector(new A.QualifiedName($name, namespace));
9773 },
9774 weave(complexes) {
9775 var t2, t3, t4, t5, target, _i, parents, newPrefixes, parentPrefixes, t6,
9776 t1 = type$.JSArray_List_ComplexSelectorComponent,
9777 prefixes = A._setArrayType([J.toList$0$ax(B.JSArray_methods.get$first(complexes))], t1);
9778 for (t2 = A.SubListIterable$(complexes, 1, null, A._arrayInstanceType(complexes)._precomputed1), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
9779 t4 = t3._as(t2.__internal$_current);
9780 t5 = J.getInterceptor$asx(t4);
9781 if (t5.get$isEmpty(t4))
9782 continue;
9783 target = t5.get$last(t4);
9784 if (t5.get$length(t4) === 1) {
9785 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i)
9786 J.add$1$ax(prefixes[_i], target);
9787 continue;
9788 }
9789 parents = t5.take$1(t4, t5.get$length(t4) - 1).toList$0(0);
9790 newPrefixes = A._setArrayType([], t1);
9791 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
9792 parentPrefixes = A._weaveParents(prefixes[_i], parents);
9793 if (parentPrefixes == null)
9794 continue;
9795 for (t5 = parentPrefixes.get$iterator(parentPrefixes); t5.moveNext$0();) {
9796 t6 = t5.get$current(t5);
9797 J.add$1$ax(t6, target);
9798 newPrefixes.push(t6);
9799 }
9800 }
9801 prefixes = newPrefixes;
9802 }
9803 return prefixes;
9804 },
9805 _weaveParents(parents1, parents2) {
9806 var finalCombinators, root1, root2, root, groups1, groups2, lcs, t2, choices, t3, _i, group, t4, t5, _null = null,
9807 t1 = type$.ComplexSelectorComponent,
9808 queue1 = A.ListQueue_ListQueue$of(parents1, t1),
9809 queue2 = A.ListQueue_ListQueue$of(parents2, t1),
9810 initialCombinators = A._mergeInitialCombinators(queue1, queue2);
9811 if (initialCombinators == null)
9812 return _null;
9813 finalCombinators = A._mergeFinalCombinators(queue1, queue2, _null);
9814 if (finalCombinators == null)
9815 return _null;
9816 root1 = A._firstIfRoot(queue1);
9817 root2 = A._firstIfRoot(queue2);
9818 t1 = root1 != null;
9819 if (t1 && root2 != null) {
9820 root = A.unifyCompound(root1.components, root2.components);
9821 if (root == null)
9822 return _null;
9823 queue1.addFirst$1(root);
9824 queue2.addFirst$1(root);
9825 } else if (t1)
9826 queue2.addFirst$1(root1);
9827 else if (root2 != null)
9828 queue1.addFirst$1(root2);
9829 groups1 = A._groupSelectors(queue1);
9830 groups2 = A._groupSelectors(queue2);
9831 t1 = type$.List_ComplexSelectorComponent;
9832 lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(), t1);
9833 t2 = type$.JSArray_Iterable_ComplexSelectorComponent;
9834 choices = A._setArrayType([A._setArrayType([initialCombinators], t2)], type$.JSArray_List_Iterable_ComplexSelectorComponent);
9835 for (t3 = lcs.length, _i = 0; _i < lcs.length; lcs.length === t3 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
9836 group = lcs[_i];
9837 t4 = A._chunks(groups1, groups2, new A._weaveParents_closure0(group), t1);
9838 t5 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent>>");
9839 choices.push(A.List_List$of(new A.MappedListIterable(t4, new A._weaveParents_closure1(), t5), true, t5._eval$1("ListIterable.E")));
9840 choices.push(A._setArrayType([group], t2));
9841 groups1.removeFirst$0();
9842 groups2.removeFirst$0();
9843 }
9844 t2 = A._chunks(groups1, groups2, new A._weaveParents_closure2(), t1);
9845 t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent>>");
9846 choices.push(A.List_List$of(new A.MappedListIterable(t2, new A._weaveParents_closure3(), t3), true, t3._eval$1("ListIterable.E")));
9847 B.JSArray_methods.addAll$1(choices, finalCombinators);
9848 return J.map$1$1$ax(A.paths(new A.WhereIterable(choices, new A._weaveParents_closure4(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent), type$.Iterable_ComplexSelectorComponent), new A._weaveParents_closure5(), t1);
9849 },
9850 _firstIfRoot(queue) {
9851 var first;
9852 if (queue._collection$_head === queue._collection$_tail)
9853 return null;
9854 first = queue.get$first(queue);
9855 if (first instanceof A.CompoundSelector) {
9856 if (!A._hasRoot(first))
9857 return null;
9858 queue.removeFirst$0();
9859 return first;
9860 } else
9861 return null;
9862 },
9863 _mergeInitialCombinators(components1, components2) {
9864 var t4, combinators2, lcs,
9865 t1 = type$.JSArray_Combinator,
9866 combinators1 = A._setArrayType([], t1),
9867 t2 = type$.Combinator,
9868 t3 = components1.$ti._precomputed1;
9869 while (true) {
9870 if (!components1.get$isEmpty(components1)) {
9871 t4 = components1._collection$_head;
9872 if (t4 === components1._collection$_tail)
9873 A.throwExpression(A.IterableElementError_noElement());
9874 t4 = t3._as(components1._collection$_table[t4]) instanceof A.Combinator;
9875 } else
9876 t4 = false;
9877 if (!t4)
9878 break;
9879 combinators1.push(t2._as(components1.removeFirst$0()));
9880 }
9881 combinators2 = A._setArrayType([], t1);
9882 t1 = components2.$ti._precomputed1;
9883 while (true) {
9884 if (!components2.get$isEmpty(components2)) {
9885 t3 = components2._collection$_head;
9886 if (t3 === components2._collection$_tail)
9887 A.throwExpression(A.IterableElementError_noElement());
9888 t3 = t1._as(components2._collection$_table[t3]) instanceof A.Combinator;
9889 } else
9890 t3 = false;
9891 if (!t3)
9892 break;
9893 combinators2.push(t2._as(components2.removeFirst$0()));
9894 }
9895 lcs = A.longestCommonSubsequence(combinators1, combinators2, null, t2);
9896 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
9897 return combinators2;
9898 if (B.C_ListEquality.equals$2(0, lcs, combinators2))
9899 return combinators1;
9900 return null;
9901 },
9902 _mergeFinalCombinators(components1, components2, result) {
9903 var t1, combinators1, t2, combinators2, lcs, combinator1, combinator2, compound1, compound2, choices, unified, followingSiblingSelector, nextSiblingSelector, _null = null;
9904 if (result == null)
9905 result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
9906 if (components1._collection$_head === components1._collection$_tail || !(components1.get$last(components1) instanceof A.Combinator))
9907 t1 = components2._collection$_head === components2._collection$_tail || !(components2.get$last(components2) instanceof A.Combinator);
9908 else
9909 t1 = false;
9910 if (t1)
9911 return result;
9912 t1 = type$.JSArray_Combinator;
9913 combinators1 = A._setArrayType([], t1);
9914 t2 = type$.Combinator;
9915 while (true) {
9916 if (!(!components1.get$isEmpty(components1) && components1.get$last(components1) instanceof A.Combinator))
9917 break;
9918 combinators1.push(t2._as(components1.removeLast$0(0)));
9919 }
9920 combinators2 = A._setArrayType([], t1);
9921 while (true) {
9922 if (!(!components2.get$isEmpty(components2) && components2.get$last(components2) instanceof A.Combinator))
9923 break;
9924 combinators2.push(t2._as(components2.removeLast$0(0)));
9925 }
9926 t1 = combinators1.length;
9927 if (t1 > 1 || combinators2.length > 1) {
9928 lcs = A.longestCommonSubsequence(combinators1, combinators2, _null, t2);
9929 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
9930 result.addFirst$1(A._setArrayType([A.List_List$of(new A.ReversedListIterable(combinators2, type$.ReversedListIterable_Combinator), true, type$.ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9931 else if (B.C_ListEquality.equals$2(0, lcs, combinators2))
9932 result.addFirst$1(A._setArrayType([A.List_List$of(new A.ReversedListIterable(combinators1, type$.ReversedListIterable_Combinator), true, type$.ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9933 else
9934 return _null;
9935 return result;
9936 }
9937 combinator1 = t1 === 0 ? _null : B.JSArray_methods.get$first(combinators1);
9938 combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
9939 t1 = combinator1 != null;
9940 if (t1 && combinator2 != null) {
9941 t1 = type$.CompoundSelector;
9942 compound1 = t1._as(components1.removeLast$0(0));
9943 compound2 = t1._as(components2.removeLast$0(0));
9944 t1 = combinator1 === B.Combinator_CzM;
9945 if (t1 && combinator2 === B.Combinator_CzM)
9946 if (A.compoundIsSuperselector(compound1, compound2, _null))
9947 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, B.Combinator_CzM], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9948 else {
9949 t1 = type$.JSArray_ComplexSelectorComponent;
9950 t2 = type$.JSArray_List_ComplexSelectorComponent;
9951 if (A.compoundIsSuperselector(compound2, compound1, _null))
9952 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, B.Combinator_CzM], t1)], t2));
9953 else {
9954 choices = A._setArrayType([A._setArrayType([compound1, B.Combinator_CzM, compound2, B.Combinator_CzM], t1), A._setArrayType([compound2, B.Combinator_CzM, compound1, B.Combinator_CzM], t1)], t2);
9955 unified = A.unifyCompound(compound1.components, compound2.components);
9956 if (unified != null)
9957 choices.push(A._setArrayType([unified, B.Combinator_CzM], t1));
9958 result.addFirst$1(choices);
9959 }
9960 }
9961 else {
9962 if (!(t1 && combinator2 === B.Combinator_uzg))
9963 t2 = combinator1 === B.Combinator_uzg && combinator2 === B.Combinator_CzM;
9964 else
9965 t2 = true;
9966 if (t2) {
9967 followingSiblingSelector = t1 ? compound1 : compound2;
9968 nextSiblingSelector = t1 ? compound2 : compound1;
9969 t1 = type$.JSArray_ComplexSelectorComponent;
9970 t2 = type$.JSArray_List_ComplexSelectorComponent;
9971 if (A.compoundIsSuperselector(followingSiblingSelector, nextSiblingSelector, _null))
9972 result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingSelector, B.Combinator_uzg], t1)], t2));
9973 else {
9974 unified = A.unifyCompound(compound1.components, compound2.components);
9975 t2 = A._setArrayType([A._setArrayType([followingSiblingSelector, B.Combinator_CzM, nextSiblingSelector, B.Combinator_uzg], t1)], t2);
9976 if (unified != null)
9977 t2.push(A._setArrayType([unified, B.Combinator_uzg], t1));
9978 result.addFirst$1(t2);
9979 }
9980 } else {
9981 if (combinator1 === B.Combinator_sgq)
9982 t2 = combinator2 === B.Combinator_uzg || combinator2 === B.Combinator_CzM;
9983 else
9984 t2 = false;
9985 if (t2) {
9986 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, combinator2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9987 components1._add$1(compound1);
9988 components1._add$1(B.Combinator_sgq);
9989 } else {
9990 if (combinator2 === B.Combinator_sgq)
9991 t1 = combinator1 === B.Combinator_uzg || t1;
9992 else
9993 t1 = false;
9994 if (t1) {
9995 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, combinator1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9996 components2._add$1(compound2);
9997 components2._add$1(B.Combinator_sgq);
9998 } else if (combinator1 === combinator2) {
9999 unified = A.unifyCompound(compound1.components, compound2.components);
10000 if (unified == null)
10001 return _null;
10002 result.addFirst$1(A._setArrayType([A._setArrayType([unified, combinator1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10003 } else
10004 return _null;
10005 }
10006 }
10007 }
10008 return A._mergeFinalCombinators(components1, components2, result);
10009 } else if (t1) {
10010 if (combinator1 === B.Combinator_sgq)
10011 if (!components2.get$isEmpty(components2)) {
10012 t1 = type$.CompoundSelector;
10013 t1 = A.compoundIsSuperselector(t1._as(components2.get$last(components2)), t1._as(components1.get$last(components1)), _null);
10014 } else
10015 t1 = false;
10016 else
10017 t1 = false;
10018 if (t1)
10019 components2.removeLast$0(0);
10020 result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0), combinator1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10021 return A._mergeFinalCombinators(components1, components2, result);
10022 } else {
10023 if (combinator2 === B.Combinator_sgq)
10024 if (!components1.get$isEmpty(components1)) {
10025 t1 = type$.CompoundSelector;
10026 t1 = A.compoundIsSuperselector(t1._as(components1.get$last(components1)), t1._as(components2.get$last(components2)), _null);
10027 } else
10028 t1 = false;
10029 else
10030 t1 = false;
10031 if (t1)
10032 components1.removeLast$0(0);
10033 t1 = components2.removeLast$0(0);
10034 combinator2.toString;
10035 result.addFirst$1(A._setArrayType([A._setArrayType([t1, combinator2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10036 return A._mergeFinalCombinators(components1, components2, result);
10037 }
10038 },
10039 _mustUnify(complex1, complex2) {
10040 var t2, t3, t4,
10041 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
10042 for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();) {
10043 t3 = t2.get$current(t2);
10044 if (t3 instanceof A.CompoundSelector)
10045 for (t3 = B.JSArray_methods.get$iterator(t3.components), t4 = new A.WhereIterator(t3, A.functions___isUnique$closure()); t4.moveNext$0();)
10046 t1.add$1(0, t3.get$current(t3));
10047 }
10048 if (t1._collection$_length === 0)
10049 return false;
10050 return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
10051 },
10052 _isUnique(simple) {
10053 var t1;
10054 if (!(simple instanceof A.IDSelector))
10055 t1 = simple instanceof A.PseudoSelector && !simple.isClass;
10056 else
10057 t1 = true;
10058 return t1;
10059 },
10060 _chunks(queue1, queue2, done, $T) {
10061 var chunk2, t2,
10062 t1 = $T._eval$1("JSArray<0>"),
10063 chunk1 = A._setArrayType([], t1);
10064 for (; !done.call$1(queue1);)
10065 chunk1.push(queue1.removeFirst$0());
10066 chunk2 = A._setArrayType([], t1);
10067 for (; !done.call$1(queue2);)
10068 chunk2.push(queue2.removeFirst$0());
10069 t1 = chunk1.length === 0;
10070 if (t1 && chunk2.length === 0)
10071 return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
10072 if (t1)
10073 return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
10074 if (chunk2.length === 0)
10075 return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
10076 t1 = A.List_List$of(chunk1, true, $T);
10077 B.JSArray_methods.addAll$1(t1, chunk2);
10078 t2 = A.List_List$of(chunk2, true, $T);
10079 B.JSArray_methods.addAll$1(t2, chunk1);
10080 return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
10081 },
10082 paths(choices, $T) {
10083 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));
10084 },
10085 _groupSelectors(complex) {
10086 var t1, t2, group, t3, t4,
10087 groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
10088 iterator = A._ListQueueIterator$(complex);
10089 if (!iterator.moveNext$0())
10090 return groups;
10091 t1 = A._instanceType(iterator)._precomputed1;
10092 t2 = type$.JSArray_ComplexSelectorComponent;
10093 group = A._setArrayType([t1._as(iterator._collection$_current)], t2);
10094 groups._queue_list$_add$1(group);
10095 for (; iterator.moveNext$0();) {
10096 t3 = B.JSArray_methods.get$last(group) instanceof A.Combinator || t1._as(iterator._collection$_current) instanceof A.Combinator;
10097 t4 = iterator._collection$_current;
10098 if (t3)
10099 group.push(t1._as(t4));
10100 else {
10101 group = A._setArrayType([t1._as(t4)], t2);
10102 groups._queue_list$_add$1(group);
10103 }
10104 }
10105 return groups;
10106 },
10107 _hasRoot(compound) {
10108 return B.JSArray_methods.any$1(compound.components, new A._hasRoot_closure());
10109 },
10110 listIsSuperselector(list1, list2) {
10111 return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
10112 },
10113 complexIsParentSuperselector(complex1, complex2) {
10114 var t2, base,
10115 t1 = J.getInterceptor$ax(complex1);
10116 if (t1.get$first(complex1) instanceof A.Combinator)
10117 return false;
10118 t2 = J.getInterceptor$ax(complex2);
10119 if (t2.get$first(complex2) instanceof A.Combinator)
10120 return false;
10121 if (t1.get$length(complex1) > t2.get$length(complex2))
10122 return false;
10123 base = A.CompoundSelector$(A._setArrayType([new A.PlaceholderSelector("<temp>")], type$.JSArray_SimpleSelector));
10124 t1 = type$.ComplexSelectorComponent;
10125 t2 = A.List_List$of(complex1, true, t1);
10126 t2.push(base);
10127 t1 = A.List_List$of(complex2, true, t1);
10128 t1.push(base);
10129 return A.complexIsSuperselector(t2, t1);
10130 },
10131 complexIsSuperselector(complex1, complex2) {
10132 var t1, t2, t3, i1, i2, remaining1, remaining2, t4, t5, t6, afterSuperselector, afterSuperselector0, compound2, i10, combinator1, combinator2;
10133 if (B.JSArray_methods.get$last(complex1) instanceof A.Combinator)
10134 return false;
10135 if (B.JSArray_methods.get$last(complex2) instanceof A.Combinator)
10136 return false;
10137 for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), t3 = type$.CompoundSelector, i1 = 0, i2 = 0; true;) {
10138 remaining1 = complex1.length - i1;
10139 remaining2 = complex2.length - i2;
10140 if (remaining1 === 0 || remaining2 === 0)
10141 return false;
10142 if (remaining1 > remaining2)
10143 return false;
10144 t4 = complex1[i1];
10145 if (t4 instanceof A.Combinator)
10146 return false;
10147 if (complex2[i2] instanceof A.Combinator)
10148 return false;
10149 t3._as(t4);
10150 if (remaining1 === 1) {
10151 t5 = t3._as(B.JSArray_methods.get$last(complex2));
10152 t6 = complex2.length - 1;
10153 t3 = new A.SubListIterable(complex2, 0, t6, t1);
10154 t3.SubListIterable$3(complex2, 0, t6, t2);
10155 return A.compoundIsSuperselector(t4, t5, t3.skip$1(0, i2));
10156 }
10157 afterSuperselector = i2 + 1;
10158 for (afterSuperselector0 = afterSuperselector; afterSuperselector0 < complex2.length; ++afterSuperselector0) {
10159 t5 = afterSuperselector0 - 1;
10160 compound2 = complex2[t5];
10161 if (compound2 instanceof A.CompoundSelector) {
10162 t6 = new A.SubListIterable(complex2, 0, t5, t1);
10163 t6.SubListIterable$3(complex2, 0, t5, t2);
10164 if (A.compoundIsSuperselector(t4, compound2, t6.skip$1(0, afterSuperselector)))
10165 break;
10166 }
10167 }
10168 if (afterSuperselector0 === complex2.length)
10169 return false;
10170 i10 = i1 + 1;
10171 combinator1 = complex1[i10];
10172 combinator2 = complex2[afterSuperselector0];
10173 if (combinator1 instanceof A.Combinator) {
10174 if (!(combinator2 instanceof A.Combinator))
10175 return false;
10176 if (combinator1 === B.Combinator_CzM) {
10177 if (combinator2 === B.Combinator_sgq)
10178 return false;
10179 } else if (combinator2 !== combinator1)
10180 return false;
10181 if (remaining1 === 3 && remaining2 > 3)
10182 return false;
10183 i1 += 2;
10184 i2 = afterSuperselector0 + 1;
10185 } else {
10186 if (combinator2 instanceof A.Combinator) {
10187 if (combinator2 !== B.Combinator_sgq)
10188 return false;
10189 i2 = afterSuperselector0 + 1;
10190 } else
10191 i2 = afterSuperselector0;
10192 i1 = i10;
10193 }
10194 }
10195 },
10196 compoundIsSuperselector(compound1, compound2, parents) {
10197 var t1, t2, _i, simple1, simple2;
10198 for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
10199 simple1 = t1[_i];
10200 if (simple1 instanceof A.PseudoSelector && simple1.selector != null) {
10201 if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
10202 return false;
10203 } else if (!A._simpleIsSuperselectorOfCompound(simple1, compound2))
10204 return false;
10205 }
10206 for (t1 = compound2.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
10207 simple2 = t1[_i];
10208 if (simple2 instanceof A.PseudoSelector && !simple2.isClass && simple2.selector == null && !A._simpleIsSuperselectorOfCompound(simple2, compound1))
10209 return false;
10210 }
10211 return true;
10212 },
10213 _simpleIsSuperselectorOfCompound(simple, compound) {
10214 return B.JSArray_methods.any$1(compound.components, new A._simpleIsSuperselectorOfCompound_closure(simple));
10215 },
10216 _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
10217 var selector1_ = pseudo1.selector;
10218 if (selector1_ == null)
10219 throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
10220 switch (pseudo1.normalizedName) {
10221 case "is":
10222 case "matches":
10223 case "any":
10224 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));
10225 case "has":
10226 case "host":
10227 case "host-context":
10228 return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1_));
10229 case "slotted":
10230 return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1_));
10231 case "not":
10232 return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
10233 case "current":
10234 return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1_));
10235 case "nth-child":
10236 case "nth-last-child":
10237 return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1_));
10238 default:
10239 throw A.wrapException("unreachable");
10240 }
10241 },
10242 _selectorPseudoArgs(compound, $name, isClass) {
10243 var t1 = type$.WhereTypeIterable_PseudoSelector;
10244 return A.IterableNullableExtension_whereNotNull(new A.MappedIterable(new A.WhereIterable(new A.WhereTypeIterable(compound.components, t1), new A._selectorPseudoArgs_closure(isClass, $name), t1._eval$1("WhereIterable<Iterable.E>")), new A._selectorPseudoArgs_closure0(), t1._eval$1("MappedIterable<Iterable.E,SelectorList?>")), type$.SelectorList);
10245 },
10246 unifyComplex_closure: function unifyComplex_closure() {
10247 },
10248 _weaveParents_closure: function _weaveParents_closure() {
10249 },
10250 _weaveParents_closure0: function _weaveParents_closure0(t0) {
10251 this.group = t0;
10252 },
10253 _weaveParents_closure1: function _weaveParents_closure1() {
10254 },
10255 _weaveParents__closure1: function _weaveParents__closure1() {
10256 },
10257 _weaveParents_closure2: function _weaveParents_closure2() {
10258 },
10259 _weaveParents_closure3: function _weaveParents_closure3() {
10260 },
10261 _weaveParents__closure0: function _weaveParents__closure0() {
10262 },
10263 _weaveParents_closure4: function _weaveParents_closure4() {
10264 },
10265 _weaveParents_closure5: function _weaveParents_closure5() {
10266 },
10267 _weaveParents__closure: function _weaveParents__closure() {
10268 },
10269 _mustUnify_closure: function _mustUnify_closure(t0) {
10270 this.uniqueSelectors = t0;
10271 },
10272 _mustUnify__closure: function _mustUnify__closure(t0) {
10273 this.uniqueSelectors = t0;
10274 },
10275 paths_closure: function paths_closure(t0) {
10276 this.T = t0;
10277 },
10278 paths__closure: function paths__closure(t0, t1) {
10279 this.paths = t0;
10280 this.T = t1;
10281 },
10282 paths___closure: function paths___closure(t0, t1) {
10283 this.option = t0;
10284 this.T = t1;
10285 },
10286 _hasRoot_closure: function _hasRoot_closure() {
10287 },
10288 listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
10289 this.list1 = t0;
10290 },
10291 listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
10292 this.complex1 = t0;
10293 },
10294 _simpleIsSuperselectorOfCompound_closure: function _simpleIsSuperselectorOfCompound_closure(t0) {
10295 this.simple = t0;
10296 },
10297 _simpleIsSuperselectorOfCompound__closure: function _simpleIsSuperselectorOfCompound__closure(t0) {
10298 this.simple = t0;
10299 },
10300 _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
10301 this.selector1 = t0;
10302 },
10303 _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
10304 this.parents = t0;
10305 this.compound2 = t1;
10306 },
10307 _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
10308 this.selector1 = t0;
10309 },
10310 _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
10311 this.selector1 = t0;
10312 },
10313 _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
10314 this.compound2 = t0;
10315 this.pseudo1 = t1;
10316 },
10317 _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
10318 this.complex = t0;
10319 this.pseudo1 = t1;
10320 },
10321 _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
10322 this.simple2 = t0;
10323 },
10324 _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
10325 this.simple2 = t0;
10326 },
10327 _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
10328 this.selector1 = t0;
10329 },
10330 _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
10331 this.pseudo1 = t0;
10332 this.selector1 = t1;
10333 },
10334 _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
10335 this.isClass = t0;
10336 this.name = t1;
10337 },
10338 _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
10339 },
10340 MergedExtension_merge(left, right) {
10341 var t4, t5, t6,
10342 t1 = left.extender,
10343 t2 = t1.selector,
10344 t3 = B.C_ListEquality.equals$2(0, t2.components, right.extender.selector.components);
10345 if (!t3 || !left.target.$eq(0, right.target))
10346 throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
10347 t3 = left.mediaContext;
10348 t4 = t3 == null;
10349 if (!t4) {
10350 t5 = right.mediaContext;
10351 t5 = t5 != null && !B.C_ListEquality.equals$2(0, t3, t5);
10352 } else
10353 t5 = false;
10354 if (t5)
10355 throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
10356 if (right.isOptional && right.mediaContext == null)
10357 return left;
10358 if (left.isOptional && t4)
10359 return right;
10360 t5 = left.target;
10361 t6 = left.span;
10362 if (t4)
10363 t3 = right.mediaContext;
10364 t2.get$maxSpecificity();
10365 t1 = new A.Extender(t2, false, t1.span);
10366 return t1._extension = new A.MergedExtension(left, right, t1, t5, t3, true, t6);
10367 },
10368 MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
10369 var _ = this;
10370 _.left = t0;
10371 _.right = t1;
10372 _.extender = t2;
10373 _.target = t3;
10374 _.mediaContext = t4;
10375 _.isOptional = t5;
10376 _.span = t6;
10377 },
10378 ExtendMode: function ExtendMode(t0) {
10379 this.name = t0;
10380 },
10381 globalFunctions_closure: function globalFunctions_closure() {
10382 },
10383 _updateComponents($arguments, adjust, change, scale) {
10384 var keywords, alpha, red, green, blue, hueNumber, t2, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t3, t4, t5, _null = null,
10385 t1 = J.getInterceptor$asx($arguments),
10386 color = t1.$index($arguments, 0).assertColor$1("color"),
10387 argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
10388 if (argumentList._list$_contents.length !== 0)
10389 throw A.wrapException(A.SassScriptException$(string$.Only_op));
10390 argumentList._wereKeywordsAccessed = true;
10391 keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, type$.String, type$.Value);
10392 t1 = new A._updateComponents_getParam(keywords, scale, change);
10393 alpha = t1.call$2("alpha", 1);
10394 red = t1.call$2("red", 255);
10395 green = t1.call$2("green", 255);
10396 blue = t1.call$2("blue", 255);
10397 if (scale)
10398 hueNumber = _null;
10399 else {
10400 t2 = keywords.remove$1(0, "hue");
10401 hueNumber = t2 == null ? _null : t2.assertNumber$1("hue");
10402 }
10403 t2 = hueNumber == null;
10404 if (!t2)
10405 A._checkAngle(hueNumber, "hue");
10406 hue = t2 ? _null : hueNumber._number$_value;
10407 saturation = t1.call$3$checkPercent("saturation", 100, true);
10408 lightness = t1.call$3$checkPercent("lightness", 100, true);
10409 whiteness = t1.call$3$assertPercent("whiteness", 100, true);
10410 blackness = t1.call$3$assertPercent("blackness", 100, true);
10411 if (keywords.get$isNotEmpty(keywords))
10412 throw A.wrapException(A.SassScriptException$("No " + A.pluralize("argument", keywords.get$length(keywords), _null) + " named " + A.S(A.toSentence(keywords.get$keys(keywords).map$1$1(0, new A._updateComponents_closure(), type$.Object), "or")) + "."));
10413 hasRgb = red != null || green != null || blue != null;
10414 hasSL = saturation != null || lightness != null;
10415 hasWB = whiteness != null || blackness != null;
10416 if (hasRgb)
10417 t1 = hasSL || hasWB || hue != null;
10418 else
10419 t1 = false;
10420 if (t1)
10421 throw A.wrapException(A.SassScriptException$(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters."));
10422 if (hasSL && hasWB)
10423 throw A.wrapException(A.SassScriptException$(string$.HSL_pa));
10424 t1 = new A._updateComponents_updateValue(change, adjust);
10425 t2 = new A._updateComponents_updateRgb(t1);
10426 if (hasRgb) {
10427 t3 = t2.call$2(color.get$red(color), red);
10428 t4 = t2.call$2(color.get$green(color), green);
10429 t2 = t2.call$2(color.get$blue(color), blue);
10430 return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
10431 } else if (hasWB) {
10432 if (change)
10433 t2 = hue;
10434 else {
10435 t2 = color.get$hue(color);
10436 t2 += hue == null ? 0 : hue;
10437 }
10438 t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
10439 t4 = t1.call$3(color.get$blackness(color), blackness, 100);
10440 t5 = color._alpha;
10441 t1 = t1.call$3(t5, alpha, 1);
10442 if (t2 == null)
10443 t2 = color.get$hue(color);
10444 if (t3 == null)
10445 t3 = color.get$whiteness(color);
10446 if (t4 == null)
10447 t4 = color.get$blackness(color);
10448 return A.SassColor_SassColor$hwb(t2, t3, t4, t1 == null ? t5 : t1);
10449 } else {
10450 t2 = hue == null;
10451 if (!t2 || hasSL) {
10452 if (change)
10453 t2 = hue;
10454 else {
10455 t3 = color.get$hue(color);
10456 t3 += t2 ? 0 : hue;
10457 t2 = t3;
10458 }
10459 t3 = t1.call$3(color.get$saturation(color), saturation, 100);
10460 t4 = t1.call$3(color.get$lightness(color), lightness, 100);
10461 return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
10462 } else if (alpha != null)
10463 return color.changeAlpha$1(t1.call$3(color._alpha, alpha, 1));
10464 else
10465 return color;
10466 }
10467 },
10468 _functionString($name, $arguments) {
10469 return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
10470 },
10471 _removedColorFunction($name, argument, negative) {
10472 return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
10473 },
10474 _rgb($name, $arguments) {
10475 var t2, red, green, blue,
10476 t1 = J.getInterceptor$asx($arguments),
10477 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
10478 if (!t1.$index($arguments, 0).get$isSpecialNumber())
10479 if (!t1.$index($arguments, 1).get$isSpecialNumber())
10480 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
10481 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
10482 t2 = t2 === true;
10483 } else
10484 t2 = true;
10485 else
10486 t2 = true;
10487 else
10488 t2 = true;
10489 if (t2)
10490 return A._functionString($name, $arguments);
10491 red = t1.$index($arguments, 0).assertNumber$1("red");
10492 green = t1.$index($arguments, 1).assertNumber$1("green");
10493 blue = t1.$index($arguments, 2).assertNumber$1("blue");
10494 return A.SassColor$rgbInternal(A.fuzzyRound(A._percentageOrUnitless(red, 255, "red")), A.fuzzyRound(A._percentageOrUnitless(green, 255, "green")), A.fuzzyRound(A._percentageOrUnitless(blue, 255, "blue")), A.NullableExtension_andThen(alpha, new A._rgb_closure()), B._ColorFormatEnum_rgbFunction);
10495 },
10496 _rgbTwoArg($name, $arguments) {
10497 var first, color,
10498 t1 = J.getInterceptor$asx($arguments);
10499 if (t1.$index($arguments, 0).get$isVar())
10500 return A._functionString($name, $arguments);
10501 else if (t1.$index($arguments, 1).get$isVar()) {
10502 first = t1.$index($arguments, 0);
10503 if (first instanceof A.SassColor)
10504 return new A.SassString($name + "(" + first.get$red(first) + ", " + first.get$green(first) + ", " + first.get$blue(first) + ", " + A.serializeValue(t1.$index($arguments, 1), false, true) + ")", false);
10505 else
10506 return A._functionString($name, $arguments);
10507 } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
10508 color = t1.$index($arguments, 0).assertColor$1("color");
10509 return new A.SassString($name + "(" + color.get$red(color) + ", " + color.get$green(color) + ", " + color.get$blue(color) + ", " + A.serializeValue(t1.$index($arguments, 1), false, true) + ")", false);
10510 }
10511 return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
10512 },
10513 _hsl($name, $arguments) {
10514 var t2, hue, saturation, lightness,
10515 _s10_ = "saturation",
10516 _s9_ = "lightness",
10517 t1 = J.getInterceptor$asx($arguments),
10518 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
10519 if (!t1.$index($arguments, 0).get$isSpecialNumber())
10520 if (!t1.$index($arguments, 1).get$isSpecialNumber())
10521 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
10522 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
10523 t2 = t2 === true;
10524 } else
10525 t2 = true;
10526 else
10527 t2 = true;
10528 else
10529 t2 = true;
10530 if (t2)
10531 return A._functionString($name, $arguments);
10532 hue = t1.$index($arguments, 0).assertNumber$1("hue");
10533 saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
10534 lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
10535 A._checkAngle(hue, "hue");
10536 A._checkPercent(saturation, _s10_);
10537 A._checkPercent(lightness, _s9_);
10538 return A.SassColor$hslInternal(hue._number$_value, B.JSNumber_methods.clamp$2(saturation._number$_value, 0, 100), B.JSNumber_methods.clamp$2(lightness._number$_value, 0, 100), A.NullableExtension_andThen(alpha, new A._hsl_closure()), B._ColorFormatEnum_hslFunction);
10539 },
10540 _checkAngle(angle, $name) {
10541 var t1, t2, t3, actualUnit,
10542 _s31_ = "To preserve current behavior: $";
10543 if (!angle.get$hasUnits() || angle.hasUnit$1("deg"))
10544 return;
10545 t1 = "" + ("$" + A.S($name) + ": Passing a unit other than deg (" + angle.toString$0(0) + ") is deprecated.\n") + "\n";
10546 if (angle.compatibleWithUnit$1("deg")) {
10547 t2 = "You're passing " + angle.toString$0(0) + string$.x2c_whici;
10548 t3 = type$.JSArray_String;
10549 t3 = t1 + (t2 + new A.SingleUnitSassNumber("deg", angle._number$_value, null).toString$0(0) + ".\n") + (string$.Soon__ + angle.coerce$2(A._setArrayType(["deg"], t3), A._setArrayType([], t3)).toString$0(0) + ".\n") + "\n";
10550 actualUnit = B.JSArray_methods.get$first(angle.get$numeratorUnits(angle));
10551 t3 = t3 + (_s31_ + A.S($name) + " * 1deg/1" + actualUnit + "\n") + ("To migrate to new behavior: 0deg + $" + A.S($name) + "\n") + "\n";
10552 t1 = t3;
10553 } else
10554 t1 = t1 + (_s31_ + A.S($name) + A._removeUnits(angle) + "\n") + "\n";
10555 t1 += "See https://sass-lang.com/d/color-units";
10556 A.EvaluationContext_current().warn$2$deprecation(0, t1.charCodeAt(0) == 0 ? t1 : t1, true);
10557 },
10558 _checkPercent(number, $name) {
10559 var t1;
10560 if (number.hasUnit$1("%"))
10561 return;
10562 t1 = "$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d + $name + A._removeUnits(number) + " * 1%";
10563 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
10564 },
10565 _removeUnits(number) {
10566 var t2,
10567 t1 = number.get$denominatorUnits(number);
10568 t1 = new A.MappedListIterable(t1, new A._removeUnits_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
10569 t2 = number.get$numeratorUnits(number);
10570 return t1 + new A.MappedListIterable(t2, new A._removeUnits_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
10571 },
10572 _hwb($arguments) {
10573 var _s9_ = "whiteness",
10574 _s9_0 = "blackness",
10575 t1 = J.getInterceptor$asx($arguments),
10576 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
10577 hue = t1.$index($arguments, 0).assertNumber$1("hue"),
10578 whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
10579 blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
10580 whiteness.assertUnit$2("%", _s9_);
10581 blackness.assertUnit$2("%", _s9_0);
10582 return A.SassColor_SassColor$hwb(hue._number$_value, whiteness.valueInRange$3(0, 100, _s9_), blackness.valueInRange$3(0, 100, _s9_0), A.NullableExtension_andThen(alpha, new A._hwb_closure()));
10583 },
10584 _parseChannels($name, argumentNames, channels) {
10585 var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash,
10586 _s17_ = "$channels must be";
10587 if (channels.get$isVar())
10588 return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
10589 if (channels.get$separator(channels) === B.ListSeparator_1gm) {
10590 list = channels.get$asList();
10591 t1 = list.length;
10592 if (t1 !== 2)
10593 throw A.wrapException(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", list.length, "were") + " passed."));
10594 channels0 = list[0];
10595 alphaFromSlashList = list[1];
10596 if (!alphaFromSlashList.get$isSpecialNumber())
10597 alphaFromSlashList.assertNumber$1("alpha");
10598 if (list[0].get$isVar())
10599 return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
10600 } else {
10601 channels0 = channels;
10602 alphaFromSlashList = null;
10603 }
10604 isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_kWM;
10605 isBracketed = channels0.get$hasBrackets();
10606 if (isCommaSeparated || isBracketed) {
10607 buffer = new A.StringBuffer(_s17_);
10608 if (isBracketed) {
10609 t1 = _s17_ + " an unbracketed";
10610 buffer._contents = t1;
10611 } else
10612 t1 = _s17_;
10613 if (isCommaSeparated) {
10614 t1 += isBracketed ? "," : " a";
10615 buffer._contents = t1;
10616 t1 = buffer._contents = t1 + " space-separated";
10617 }
10618 buffer._contents = t1 + " list.";
10619 throw A.wrapException(A.SassScriptException$(buffer.toString$0(0)));
10620 }
10621 list = channels0.get$asList();
10622 t1 = list.length;
10623 if (t1 > 3)
10624 throw A.wrapException(A.SassScriptException$("Only 3 elements allowed, but " + t1 + " were passed."));
10625 else if (t1 < 3) {
10626 if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure()))
10627 if (list.length !== 0) {
10628 t1 = B.JSArray_methods.get$last(list);
10629 if (t1 instanceof A.SassString)
10630 if (t1._hasQuotes) {
10631 t1 = t1._string$_text;
10632 t1 = A.startsWithIgnoreCase(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
10633 } else
10634 t1 = false;
10635 else
10636 t1 = false;
10637 } else
10638 t1 = false;
10639 else
10640 t1 = true;
10641 if (t1)
10642 return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
10643 else
10644 throw A.wrapException(A.SassScriptException$("Missing element " + argumentNames[list.length] + "."));
10645 }
10646 if (alphaFromSlashList != null) {
10647 t1 = A.List_List$of(list, true, type$.Value);
10648 t1.push(alphaFromSlashList);
10649 return t1;
10650 }
10651 maybeSlashSeparated = list[2];
10652 if (maybeSlashSeparated instanceof A.SassNumber) {
10653 slash = maybeSlashSeparated.asSlash;
10654 if (slash == null)
10655 return list;
10656 return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value);
10657 } else if (maybeSlashSeparated instanceof A.SassString && !maybeSlashSeparated._hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string$_text, "/"))
10658 return A._functionString($name, A._setArrayType([channels0], type$.JSArray_Value));
10659 else
10660 return list;
10661 },
10662 _percentageOrUnitless(number, max, $name) {
10663 var value;
10664 if (!number.get$hasUnits())
10665 value = number._number$_value;
10666 else if (number.hasUnit$1("%"))
10667 value = max * number._number$_value / 100;
10668 else
10669 throw A.wrapException(A.SassScriptException$("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".'));
10670 return B.JSNumber_methods.clamp$2(value, 0, max);
10671 },
10672 _mixColors(color1, color2, weight) {
10673 var weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
10674 normalizedWeight = weightScale * 2 - 1,
10675 t1 = color1._alpha,
10676 t2 = color2._alpha,
10677 alphaDistance = t1 - t2,
10678 t3 = normalizedWeight * alphaDistance,
10679 weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2,
10680 weight2 = 1 - weight1;
10681 return A.SassColor$rgb(A.fuzzyRound(color1.get$red(color1) * weight1 + color2.get$red(color2) * weight2), A.fuzzyRound(color1.get$green(color1) * weight1 + color2.get$green(color2) * weight2), A.fuzzyRound(color1.get$blue(color1) * weight1 + color2.get$blue(color2) * weight2), t1 * weightScale + t2 * (1 - weightScale));
10682 },
10683 _opacify($arguments) {
10684 var t1 = J.getInterceptor$asx($arguments),
10685 color = t1.$index($arguments, 0).assertColor$1("color");
10686 return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._alpha + t1.$index($arguments, 1).assertNumber$1("amount").valueInRange$3(0, 1, "amount"), 0, 1));
10687 },
10688 _transparentize($arguments) {
10689 var t1 = J.getInterceptor$asx($arguments),
10690 color = t1.$index($arguments, 0).assertColor$1("color");
10691 return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._alpha - t1.$index($arguments, 1).assertNumber$1("amount").valueInRange$3(0, 1, "amount"), 0, 1));
10692 },
10693 _function4($name, $arguments, callback) {
10694 return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
10695 },
10696 global_closure: function global_closure() {
10697 },
10698 global_closure0: function global_closure0() {
10699 },
10700 global_closure1: function global_closure1() {
10701 },
10702 global_closure2: function global_closure2() {
10703 },
10704 global_closure3: function global_closure3() {
10705 },
10706 global_closure4: function global_closure4() {
10707 },
10708 global_closure5: function global_closure5() {
10709 },
10710 global_closure6: function global_closure6() {
10711 },
10712 global_closure7: function global_closure7() {
10713 },
10714 global_closure8: function global_closure8() {
10715 },
10716 global_closure9: function global_closure9() {
10717 },
10718 global_closure10: function global_closure10() {
10719 },
10720 global_closure11: function global_closure11() {
10721 },
10722 global_closure12: function global_closure12() {
10723 },
10724 global_closure13: function global_closure13() {
10725 },
10726 global_closure14: function global_closure14() {
10727 },
10728 global_closure15: function global_closure15() {
10729 },
10730 global_closure16: function global_closure16() {
10731 },
10732 global_closure17: function global_closure17() {
10733 },
10734 global_closure18: function global_closure18() {
10735 },
10736 global_closure19: function global_closure19() {
10737 },
10738 global_closure20: function global_closure20() {
10739 },
10740 global_closure21: function global_closure21() {
10741 },
10742 global_closure22: function global_closure22() {
10743 },
10744 global_closure23: function global_closure23() {
10745 },
10746 global_closure24: function global_closure24() {
10747 },
10748 global__closure: function global__closure() {
10749 },
10750 global_closure25: function global_closure25() {
10751 },
10752 module_closure: function module_closure() {
10753 },
10754 module_closure0: function module_closure0() {
10755 },
10756 module_closure1: function module_closure1() {
10757 },
10758 module_closure2: function module_closure2() {
10759 },
10760 module_closure3: function module_closure3() {
10761 },
10762 module_closure4: function module_closure4() {
10763 },
10764 module_closure5: function module_closure5() {
10765 },
10766 module_closure6: function module_closure6() {
10767 },
10768 module__closure: function module__closure() {
10769 },
10770 module_closure7: function module_closure7() {
10771 },
10772 _red_closure: function _red_closure() {
10773 },
10774 _green_closure: function _green_closure() {
10775 },
10776 _blue_closure: function _blue_closure() {
10777 },
10778 _mix_closure: function _mix_closure() {
10779 },
10780 _hue_closure: function _hue_closure() {
10781 },
10782 _saturation_closure: function _saturation_closure() {
10783 },
10784 _lightness_closure: function _lightness_closure() {
10785 },
10786 _complement_closure: function _complement_closure() {
10787 },
10788 _adjust_closure: function _adjust_closure() {
10789 },
10790 _scale_closure: function _scale_closure() {
10791 },
10792 _change_closure: function _change_closure() {
10793 },
10794 _ieHexStr_closure: function _ieHexStr_closure() {
10795 },
10796 _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
10797 },
10798 _updateComponents_getParam: function _updateComponents_getParam(t0, t1, t2) {
10799 this.keywords = t0;
10800 this.scale = t1;
10801 this.change = t2;
10802 },
10803 _updateComponents_closure: function _updateComponents_closure() {
10804 },
10805 _updateComponents_updateValue: function _updateComponents_updateValue(t0, t1) {
10806 this.change = t0;
10807 this.adjust = t1;
10808 },
10809 _updateComponents_updateRgb: function _updateComponents_updateRgb(t0) {
10810 this.updateValue = t0;
10811 },
10812 _functionString_closure: function _functionString_closure() {
10813 },
10814 _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
10815 this.name = t0;
10816 this.argument = t1;
10817 this.negative = t2;
10818 },
10819 _rgb_closure: function _rgb_closure() {
10820 },
10821 _hsl_closure: function _hsl_closure() {
10822 },
10823 _removeUnits_closure: function _removeUnits_closure() {
10824 },
10825 _removeUnits_closure0: function _removeUnits_closure0() {
10826 },
10827 _hwb_closure: function _hwb_closure() {
10828 },
10829 _parseChannels_closure: function _parseChannels_closure() {
10830 },
10831 _function3($name, $arguments, callback) {
10832 return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
10833 },
10834 _length_closure0: function _length_closure0() {
10835 },
10836 _nth_closure: function _nth_closure() {
10837 },
10838 _setNth_closure: function _setNth_closure() {
10839 },
10840 _join_closure: function _join_closure() {
10841 },
10842 _append_closure0: function _append_closure0() {
10843 },
10844 _zip_closure: function _zip_closure() {
10845 },
10846 _zip__closure: function _zip__closure() {
10847 },
10848 _zip__closure0: function _zip__closure0(t0) {
10849 this._box_0 = t0;
10850 },
10851 _zip__closure1: function _zip__closure1(t0) {
10852 this._box_0 = t0;
10853 },
10854 _index_closure0: function _index_closure0() {
10855 },
10856 _separator_closure: function _separator_closure() {
10857 },
10858 _isBracketed_closure: function _isBracketed_closure() {
10859 },
10860 _slash_closure: function _slash_closure() {
10861 },
10862 _modify(map, keys, modify, addNesting) {
10863 var keyIterator = J.get$iterator$ax(keys);
10864 return keyIterator.moveNext$0() ? new A._modify__modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
10865 },
10866 _deepMergeImpl(map1, map2) {
10867 var t1 = {},
10868 t2 = map2._map$_contents;
10869 if (t2.get$isEmpty(t2))
10870 return map1;
10871 t1.mutable = false;
10872 t1.result = t2;
10873 map1._map$_contents.forEach$1(0, new A._deepMergeImpl_closure(t1, new A._deepMergeImpl__ensureMutable(t1)));
10874 if (t1.mutable) {
10875 t2 = type$.Value;
10876 t2 = new A.SassMap(A.ConstantMap_ConstantMap$from(t1.result, t2, t2));
10877 t1 = t2;
10878 } else
10879 t1 = map2;
10880 return t1;
10881 },
10882 _function2($name, $arguments, callback) {
10883 return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
10884 },
10885 _get_closure: function _get_closure() {
10886 },
10887 _set_closure: function _set_closure() {
10888 },
10889 _set__closure0: function _set__closure0(t0) {
10890 this.$arguments = t0;
10891 },
10892 _set_closure0: function _set_closure0() {
10893 },
10894 _set__closure: function _set__closure(t0) {
10895 this.args = t0;
10896 },
10897 _merge_closure: function _merge_closure() {
10898 },
10899 _merge_closure0: function _merge_closure0() {
10900 },
10901 _merge__closure: function _merge__closure(t0) {
10902 this.map2 = t0;
10903 },
10904 _deepMerge_closure: function _deepMerge_closure() {
10905 },
10906 _deepRemove_closure: function _deepRemove_closure() {
10907 },
10908 _deepRemove__closure: function _deepRemove__closure(t0) {
10909 this.keys = t0;
10910 },
10911 _remove_closure: function _remove_closure() {
10912 },
10913 _remove_closure0: function _remove_closure0() {
10914 },
10915 _keys_closure: function _keys_closure() {
10916 },
10917 _values_closure: function _values_closure() {
10918 },
10919 _hasKey_closure: function _hasKey_closure() {
10920 },
10921 _modify__modifyNestedMap: function _modify__modifyNestedMap(t0, t1, t2) {
10922 this.keyIterator = t0;
10923 this.modify = t1;
10924 this.addNesting = t2;
10925 },
10926 _deepMergeImpl__ensureMutable: function _deepMergeImpl__ensureMutable(t0) {
10927 this._box_0 = t0;
10928 },
10929 _deepMergeImpl_closure: function _deepMergeImpl_closure(t0, t1) {
10930 this._box_0 = t0;
10931 this._ensureMutable = t1;
10932 },
10933 _fuzzyRoundIfZero(number) {
10934 if (!(Math.abs(number - 0) < $.$get$epsilon()))
10935 return number;
10936 return B.JSNumber_methods.get$isNegative(number) ? -0.0 : 0;
10937 },
10938 _numberFunction($name, transform) {
10939 return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
10940 },
10941 _function1($name, $arguments, callback) {
10942 return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
10943 },
10944 _ceil_closure: function _ceil_closure() {
10945 },
10946 _clamp_closure: function _clamp_closure() {
10947 },
10948 _floor_closure: function _floor_closure() {
10949 },
10950 _max_closure: function _max_closure() {
10951 },
10952 _min_closure: function _min_closure() {
10953 },
10954 _abs_closure: function _abs_closure() {
10955 },
10956 _hypot_closure: function _hypot_closure() {
10957 },
10958 _hypot__closure: function _hypot__closure() {
10959 },
10960 _log_closure: function _log_closure() {
10961 },
10962 _pow_closure: function _pow_closure() {
10963 },
10964 _sqrt_closure: function _sqrt_closure() {
10965 },
10966 _acos_closure: function _acos_closure() {
10967 },
10968 _asin_closure: function _asin_closure() {
10969 },
10970 _atan_closure: function _atan_closure() {
10971 },
10972 _atan2_closure: function _atan2_closure() {
10973 },
10974 _cos_closure: function _cos_closure() {
10975 },
10976 _sin_closure: function _sin_closure() {
10977 },
10978 _tan_closure: function _tan_closure() {
10979 },
10980 _compatible_closure: function _compatible_closure() {
10981 },
10982 _isUnitless_closure: function _isUnitless_closure() {
10983 },
10984 _unit_closure: function _unit_closure() {
10985 },
10986 _percentage_closure: function _percentage_closure() {
10987 },
10988 _randomFunction_closure: function _randomFunction_closure() {
10989 },
10990 _div_closure: function _div_closure() {
10991 },
10992 _numberFunction_closure: function _numberFunction_closure(t0) {
10993 this.transform = t0;
10994 },
10995 _function5($name, $arguments, callback) {
10996 return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
10997 },
10998 global_closure26: function global_closure26() {
10999 },
11000 global_closure27: function global_closure27() {
11001 },
11002 global_closure28: function global_closure28() {
11003 },
11004 global_closure29: function global_closure29() {
11005 },
11006 local_closure: function local_closure() {
11007 },
11008 local_closure0: function local_closure0() {
11009 },
11010 local__closure: function local__closure() {
11011 },
11012 _prependParent(compound) {
11013 var t2, _null = null,
11014 t1 = compound.components,
11015 first = B.JSArray_methods.get$first(t1);
11016 if (first instanceof A.UniversalSelector)
11017 return _null;
11018 if (first instanceof A.TypeSelector) {
11019 t2 = first.name;
11020 if (t2.namespace != null)
11021 return _null;
11022 t2 = A._setArrayType([new A.ParentSelector(t2.name)], type$.JSArray_SimpleSelector);
11023 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
11024 return A.CompoundSelector$(t2);
11025 } else {
11026 t2 = A._setArrayType([new A.ParentSelector(_null)], type$.JSArray_SimpleSelector);
11027 B.JSArray_methods.addAll$1(t2, t1);
11028 return A.CompoundSelector$(t2);
11029 }
11030 },
11031 _function0($name, $arguments, callback) {
11032 return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
11033 },
11034 _nest_closure: function _nest_closure() {
11035 },
11036 _nest__closure: function _nest__closure(t0) {
11037 this._box_0 = t0;
11038 },
11039 _nest__closure0: function _nest__closure0() {
11040 },
11041 _append_closure: function _append_closure() {
11042 },
11043 _append__closure: function _append__closure() {
11044 },
11045 _append__closure0: function _append__closure0() {
11046 },
11047 _append___closure: function _append___closure(t0) {
11048 this.parent = t0;
11049 },
11050 _extend_closure: function _extend_closure() {
11051 },
11052 _replace_closure: function _replace_closure() {
11053 },
11054 _unify_closure: function _unify_closure() {
11055 },
11056 _isSuperselector_closure: function _isSuperselector_closure() {
11057 },
11058 _simpleSelectors_closure: function _simpleSelectors_closure() {
11059 },
11060 _simpleSelectors__closure: function _simpleSelectors__closure() {
11061 },
11062 _parse_closure: function _parse_closure() {
11063 },
11064 _codepointForIndex(index, lengthInCodepoints, allowNegative) {
11065 var result;
11066 if (index === 0)
11067 return 0;
11068 if (index > 0)
11069 return Math.min(index - 1, lengthInCodepoints);
11070 result = lengthInCodepoints + index;
11071 if (result < 0 && !allowNegative)
11072 return 0;
11073 return result;
11074 },
11075 _function($name, $arguments, callback) {
11076 return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
11077 },
11078 _unquote_closure: function _unquote_closure() {
11079 },
11080 _quote_closure: function _quote_closure() {
11081 },
11082 _length_closure: function _length_closure() {
11083 },
11084 _insert_closure: function _insert_closure() {
11085 },
11086 _index_closure: function _index_closure() {
11087 },
11088 _slice_closure: function _slice_closure() {
11089 },
11090 _toUpperCase_closure: function _toUpperCase_closure() {
11091 },
11092 _toLowerCase_closure: function _toLowerCase_closure() {
11093 },
11094 _uniqueId_closure: function _uniqueId_closure() {
11095 },
11096 ImportCache$(loadPaths, logger) {
11097 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri,
11098 t2 = type$.Uri,
11099 t3 = A.ImportCache__toImporters(null, loadPaths, null),
11100 t4 = logger == null ? B.StderrLogger_false : logger;
11101 return new A.ImportCache(t3, t4, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult));
11102 },
11103 ImportCache__toImporters(importers, loadPaths, packageConfig) {
11104 var t2, t3, _i, path, _null = null,
11105 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
11106 t1 = A._setArrayType([], type$.JSArray_Importer_2);
11107 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
11108 t3 = t2.get$current(t2);
11109 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
11110 }
11111 if (sassPath != null) {
11112 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
11113 t3 = t2.length;
11114 _i = 0;
11115 for (; _i < t3; ++_i) {
11116 path = t2[_i];
11117 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
11118 }
11119 }
11120 return t1;
11121 },
11122 ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5) {
11123 var _ = this;
11124 _._importers = t0;
11125 _._logger = t1;
11126 _._canonicalizeCache = t2;
11127 _._relativeCanonicalizeCache = t3;
11128 _._importCache = t4;
11129 _._resultsCache = t5;
11130 },
11131 ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
11132 var _ = this;
11133 _.$this = t0;
11134 _.baseUrl = t1;
11135 _.url = t2;
11136 _.baseImporter = t3;
11137 _.forImport = t4;
11138 },
11139 ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2) {
11140 this.$this = t0;
11141 this.url = t1;
11142 this.forImport = t2;
11143 },
11144 ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
11145 this.importer = t0;
11146 this.url = t1;
11147 },
11148 ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
11149 var _ = this;
11150 _.$this = t0;
11151 _.importer = t1;
11152 _.canonicalUrl = t2;
11153 _.originalUrl = t3;
11154 _.quiet = t4;
11155 },
11156 ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
11157 this.canonicalUrl = t0;
11158 },
11159 ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
11160 },
11161 ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
11162 },
11163 Importer: function Importer() {
11164 },
11165 AsyncImporter: function AsyncImporter() {
11166 },
11167 FilesystemImporter: function FilesystemImporter(t0) {
11168 this._loadPath = t0;
11169 },
11170 FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
11171 },
11172 ImporterResult: function ImporterResult(t0, t1, t2) {
11173 this.contents = t0;
11174 this._sourceMapUrl = t1;
11175 this.syntax = t2;
11176 },
11177 fromImport() {
11178 var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
11179 return t1 === true;
11180 },
11181 resolveImportPath(path) {
11182 var t1,
11183 extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
11184 if (extension === ".sass" || extension === ".scss" || extension === ".css") {
11185 t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
11186 return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
11187 }
11188 t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
11189 if (t1 == null)
11190 t1 = A._exactlyOne(A._tryPathWithExtensions(path));
11191 return t1 == null ? A._tryPathAsDirectory(path) : t1;
11192 },
11193 _tryPathWithExtensions(path) {
11194 var result = A._tryPath(path + ".sass");
11195 B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
11196 return result.length !== 0 ? result : A._tryPath(path + ".css");
11197 },
11198 _tryPath(path) {
11199 var t1 = $.$get$context(),
11200 partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
11201 t1 = A._setArrayType([], type$.JSArray_String);
11202 if (A.fileExists(partial))
11203 t1.push(partial);
11204 if (A.fileExists(path))
11205 t1.push(path);
11206 return t1;
11207 },
11208 _tryPathAsDirectory(path) {
11209 var t1;
11210 if (!A.dirExists(path))
11211 return null;
11212 t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
11213 return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
11214 },
11215 _exactlyOne(paths) {
11216 var t1 = paths.length;
11217 if (t1 === 0)
11218 return null;
11219 if (t1 === 1)
11220 return B.JSArray_methods.get$first(paths);
11221 throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
11222 },
11223 resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
11224 this.path = t0;
11225 this.extension = t1;
11226 },
11227 resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
11228 this.path = t0;
11229 },
11230 _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
11231 this.path = t0;
11232 },
11233 _exactlyOne_closure: function _exactlyOne_closure() {
11234 },
11235 InterpolationBuffer: function InterpolationBuffer(t0, t1) {
11236 this._interpolation_buffer$_text = t0;
11237 this._interpolation_buffer$_contents = t1;
11238 },
11239 _realCasePath(path) {
11240 var prefix, t1;
11241 if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
11242 return path;
11243 if (J.$eq$(J.get$platform$x(self.process), "win32")) {
11244 prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
11245 t1 = prefix.length;
11246 if (t1 !== 0 && A.isAlphabetic0(B.JSString_methods._codeUnitAt$1(prefix, 0)))
11247 path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
11248 }
11249 return new A._realCasePath_helper().call$1(path);
11250 },
11251 _realCasePath_helper: function _realCasePath_helper() {
11252 },
11253 _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2) {
11254 this.helper = t0;
11255 this.dirname = t1;
11256 this.path = t2;
11257 },
11258 _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
11259 this.basename = t0;
11260 },
11261 readFile(path) {
11262 var sourceFile, t1, i,
11263 contents = A._asString(A._readFile(path, "utf8"));
11264 if (!B.JSString_methods.contains$1(contents, "\ufffd"))
11265 return contents;
11266 sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
11267 for (t1 = contents.length, i = 0; i < t1; ++i) {
11268 if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
11269 continue;
11270 throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
11271 }
11272 return contents;
11273 },
11274 _readFile(path, encoding) {
11275 return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
11276 },
11277 writeFile(path, contents) {
11278 return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
11279 },
11280 deleteFile(path) {
11281 return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
11282 },
11283 readStdin() {
11284 return A.readStdin$body();
11285 },
11286 readStdin$body() {
11287 var $async$goto = 0,
11288 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
11289 $async$returnValue, sink, t1, t2, completer;
11290 var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
11291 if ($async$errorCode === 1)
11292 return A._asyncRethrow($async$result, $async$completer);
11293 while (true)
11294 switch ($async$goto) {
11295 case 0:
11296 // Function start
11297 t1 = {};
11298 t2 = new A._Future($.Zone__current, type$._Future_String);
11299 completer = new A._AsyncCompleter(t2, type$._AsyncCompleter_String);
11300 t1.contents = null;
11301 sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
11302 J.on$2$x(J.get$stdin$x(self.process), "data", A.allowInterop(new A.readStdin_closure0(sink)));
11303 J.on$2$x(J.get$stdin$x(self.process), "end", A.allowInterop(new A.readStdin_closure1(sink)));
11304 J.on$2$x(J.get$stdin$x(self.process), "error", A.allowInterop(new A.readStdin_closure2(completer)));
11305 $async$returnValue = t2;
11306 // goto return
11307 $async$goto = 1;
11308 break;
11309 case 1:
11310 // return
11311 return A._asyncReturn($async$returnValue, $async$completer);
11312 }
11313 });
11314 return A._asyncStartSync($async$readStdin, $async$completer);
11315 },
11316 fileExists(path) {
11317 return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
11318 },
11319 dirExists(path) {
11320 return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
11321 },
11322 ensureDir(path) {
11323 return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
11324 },
11325 listDir(path, recursive) {
11326 return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
11327 },
11328 modificationTime(path) {
11329 return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
11330 },
11331 _systemErrorToFileSystemException(callback) {
11332 var error, t1, exception, t2;
11333 try {
11334 t1 = callback.call$0();
11335 return t1;
11336 } catch (exception) {
11337 error = A.unwrapException(exception);
11338 if (!type$.JsSystemError._is(error))
11339 throw exception;
11340 t1 = error;
11341 t2 = J.getInterceptor$x(t1);
11342 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)));
11343 }
11344 },
11345 isWindows() {
11346 return J.$eq$(J.get$platform$x(self.process), "win32");
11347 },
11348 watchDir(path, poll) {
11349 var t2, t3, t1 = {},
11350 watcher = J.watch$2$x(self.chokidar, path, {disableGlobbing: true, usePolling: poll});
11351 t1.controller = null;
11352 t2 = J.getInterceptor$x(watcher);
11353 t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure(t1)));
11354 t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure0(t1)));
11355 t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure1(t1)));
11356 t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure2(t1)));
11357 t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
11358 t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure3(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
11359 return t3;
11360 },
11361 FileSystemException: function FileSystemException(t0, t1) {
11362 this.message = t0;
11363 this.path = t1;
11364 },
11365 Stderr: function Stderr(t0) {
11366 this._stderr = t0;
11367 },
11368 _readFile_closure: function _readFile_closure(t0, t1) {
11369 this.path = t0;
11370 this.encoding = t1;
11371 },
11372 writeFile_closure: function writeFile_closure(t0, t1) {
11373 this.path = t0;
11374 this.contents = t1;
11375 },
11376 deleteFile_closure: function deleteFile_closure(t0) {
11377 this.path = t0;
11378 },
11379 readStdin_closure: function readStdin_closure(t0, t1) {
11380 this._box_0 = t0;
11381 this.completer = t1;
11382 },
11383 readStdin_closure0: function readStdin_closure0(t0) {
11384 this.sink = t0;
11385 },
11386 readStdin_closure1: function readStdin_closure1(t0) {
11387 this.sink = t0;
11388 },
11389 readStdin_closure2: function readStdin_closure2(t0) {
11390 this.completer = t0;
11391 },
11392 fileExists_closure: function fileExists_closure(t0) {
11393 this.path = t0;
11394 },
11395 dirExists_closure: function dirExists_closure(t0) {
11396 this.path = t0;
11397 },
11398 ensureDir_closure: function ensureDir_closure(t0) {
11399 this.path = t0;
11400 },
11401 listDir_closure: function listDir_closure(t0, t1) {
11402 this.recursive = t0;
11403 this.path = t1;
11404 },
11405 listDir__closure: function listDir__closure(t0) {
11406 this.path = t0;
11407 },
11408 listDir__closure0: function listDir__closure0() {
11409 },
11410 listDir_closure_list: function listDir_closure_list() {
11411 },
11412 listDir__list_closure: function listDir__list_closure(t0, t1) {
11413 this.parent = t0;
11414 this.list = t1;
11415 },
11416 modificationTime_closure: function modificationTime_closure(t0) {
11417 this.path = t0;
11418 },
11419 watchDir_closure: function watchDir_closure(t0) {
11420 this._box_0 = t0;
11421 },
11422 watchDir_closure0: function watchDir_closure0(t0) {
11423 this._box_0 = t0;
11424 },
11425 watchDir_closure1: function watchDir_closure1(t0) {
11426 this._box_0 = t0;
11427 },
11428 watchDir_closure2: function watchDir_closure2(t0) {
11429 this._box_0 = t0;
11430 },
11431 watchDir_closure3: function watchDir_closure3(t0, t1, t2) {
11432 this._box_0 = t0;
11433 this.watcher = t1;
11434 this.completer = t2;
11435 },
11436 watchDir__closure: function watchDir__closure(t0) {
11437 this.watcher = t0;
11438 },
11439 _QuietLogger: function _QuietLogger() {
11440 },
11441 StderrLogger: function StderrLogger(t0) {
11442 this.color = t0;
11443 },
11444 TerseLogger: function TerseLogger(t0, t1) {
11445 this._warningCounts = t0;
11446 this._inner = t1;
11447 },
11448 TerseLogger_summarize_closure: function TerseLogger_summarize_closure() {
11449 },
11450 TerseLogger_summarize_closure0: function TerseLogger_summarize_closure0() {
11451 },
11452 TrackingLogger: function TrackingLogger(t0) {
11453 this._tracking$_logger = t0;
11454 this._emittedDebug = this._emittedWarning = false;
11455 },
11456 BuiltInModule$($name, functions, mixins, variables, $T) {
11457 var t1 = A._Uri__Uri(null, $name, null, "sass"),
11458 t2 = A.BuiltInModule__callableMap(functions, $T),
11459 t3 = A.BuiltInModule__callableMap(mixins, $T),
11460 t4 = variables == null ? B.Map_empty1 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
11461 return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
11462 },
11463 BuiltInModule__callableMap(callables, $T) {
11464 var t2, _i, callable,
11465 t1 = type$.String;
11466 if (callables == null)
11467 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
11468 else {
11469 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
11470 for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
11471 callable = callables[_i];
11472 t1.$indexSet(0, J.get$name$x(callable), callable);
11473 }
11474 t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
11475 }
11476 return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
11477 },
11478 BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
11479 var _ = this;
11480 _.url = t0;
11481 _.functions = t1;
11482 _.mixins = t2;
11483 _.variables = t3;
11484 _.$ti = t4;
11485 },
11486 ForwardedModuleView_ifNecessary(inner, rule, $T) {
11487 var t1;
11488 if (rule.prefix == null)
11489 if (rule.shownMixinsAndFunctions == null)
11490 if (rule.shownVariables == null) {
11491 t1 = rule.hiddenMixinsAndFunctions;
11492 if (t1 == null)
11493 t1 = null;
11494 else {
11495 t1 = t1._base;
11496 t1 = t1.get$isEmpty(t1);
11497 }
11498 if (t1 === true) {
11499 t1 = rule.hiddenVariables;
11500 if (t1 == null)
11501 t1 = null;
11502 else {
11503 t1 = t1._base;
11504 t1 = t1.get$isEmpty(t1);
11505 }
11506 t1 = t1 === true;
11507 } else
11508 t1 = false;
11509 } else
11510 t1 = false;
11511 else
11512 t1 = false;
11513 else
11514 t1 = false;
11515 if (t1)
11516 return inner;
11517 else
11518 return A.ForwardedModuleView$(inner, rule, $T);
11519 },
11520 ForwardedModuleView$(_inner, _rule, $T) {
11521 var t1 = _rule.prefix,
11522 t2 = _rule.shownVariables,
11523 t3 = _rule.hiddenVariables,
11524 t4 = _rule.shownMixinsAndFunctions,
11525 t5 = _rule.hiddenMixinsAndFunctions;
11526 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>"));
11527 },
11528 ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
11529 var t2,
11530 t1 = prefix == null;
11531 if (t1)
11532 if (safelist == null)
11533 if (blocklist != null) {
11534 t2 = blocklist._base;
11535 t2 = t2.get$isEmpty(t2);
11536 } else
11537 t2 = true;
11538 else
11539 t2 = false;
11540 else
11541 t2 = false;
11542 if (t2)
11543 return map;
11544 if (!t1)
11545 map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
11546 if (safelist != null)
11547 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>"));
11548 else {
11549 if (blocklist != null) {
11550 t1 = blocklist._base;
11551 t1 = t1.get$isNotEmpty(t1);
11552 } else
11553 t1 = false;
11554 if (t1)
11555 map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
11556 }
11557 return map;
11558 },
11559 ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
11560 var _ = this;
11561 _._forwarded_view$_inner = t0;
11562 _._rule = t1;
11563 _.variables = t2;
11564 _.variableNodes = t3;
11565 _.functions = t4;
11566 _.mixins = t5;
11567 _.$ti = t6;
11568 },
11569 ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
11570 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;
11571 },
11572 ShadowedModuleView__shadowedMap(map, blocklist, $V) {
11573 var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
11574 return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
11575 },
11576 ShadowedModuleView__needsBlocklist(map, blocklist) {
11577 var t1 = map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
11578 return t1;
11579 },
11580 ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
11581 var _ = this;
11582 _._shadowed_view$_inner = t0;
11583 _.variables = t1;
11584 _.variableNodes = t2;
11585 _.functions = t3;
11586 _.mixins = t4;
11587 _.$ti = t5;
11588 },
11589 JSArray0: function JSArray0() {
11590 },
11591 Chokidar: function Chokidar() {
11592 },
11593 ChokidarOptions: function ChokidarOptions() {
11594 },
11595 ChokidarWatcher: function ChokidarWatcher() {
11596 },
11597 JSFunction: function JSFunction() {
11598 },
11599 NodeImporterResult: function NodeImporterResult() {
11600 },
11601 RenderContext: function RenderContext() {
11602 },
11603 RenderContextOptions: function RenderContextOptions() {
11604 },
11605 RenderContextResult: function RenderContextResult() {
11606 },
11607 RenderContextResultStats: function RenderContextResultStats() {
11608 },
11609 JSClass: function JSClass() {
11610 },
11611 JSUrl: function JSUrl() {
11612 },
11613 _PropertyDescriptor: function _PropertyDescriptor() {
11614 },
11615 AtRootQueryParser: function AtRootQueryParser(t0, t1) {
11616 this.scanner = t0;
11617 this.logger = t1;
11618 },
11619 AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
11620 this.$this = t0;
11621 },
11622 _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
11623 },
11624 CssParser: function CssParser(t0, t1, t2) {
11625 var _ = this;
11626 _._isUseAllowed = true;
11627 _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
11628 _._globalVariables = t0;
11629 _.lastSilentComment = null;
11630 _.scanner = t1;
11631 _.logger = t2;
11632 },
11633 KeyframeSelectorParser$(contents, logger) {
11634 var t1 = A.SpanScanner$(contents, null);
11635 return new A.KeyframeSelectorParser(t1, logger);
11636 },
11637 KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1) {
11638 this.scanner = t0;
11639 this.logger = t1;
11640 },
11641 KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
11642 this.$this = t0;
11643 },
11644 MediaQueryParser: function MediaQueryParser(t0, t1) {
11645 this.scanner = t0;
11646 this.logger = t1;
11647 },
11648 MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
11649 this.$this = t0;
11650 },
11651 Parser_isIdentifier(text) {
11652 var t1, t2, exception, logger = null;
11653 try {
11654 t1 = logger;
11655 t2 = A.SpanScanner$(text, null);
11656 new A.Parser(t2, t1 == null ? B.StderrLogger_false : t1)._parseIdentifier$0();
11657 return true;
11658 } catch (exception) {
11659 if (A.unwrapException(exception) instanceof A.SassFormatException)
11660 return false;
11661 else
11662 throw exception;
11663 }
11664 },
11665 Parser: function Parser(t0, t1) {
11666 this.scanner = t0;
11667 this.logger = t1;
11668 },
11669 Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
11670 this.$this = t0;
11671 },
11672 Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
11673 this.caseSensitive = t0;
11674 this.char = t1;
11675 },
11676 SassParser: function SassParser(t0, t1, t2) {
11677 var _ = this;
11678 _._currentIndentation = 0;
11679 _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
11680 _._isUseAllowed = true;
11681 _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
11682 _._globalVariables = t0;
11683 _.lastSilentComment = null;
11684 _.scanner = t1;
11685 _.logger = t2;
11686 },
11687 SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
11688 this.$this = t0;
11689 this.child = t1;
11690 this.children = t2;
11691 },
11692 ScssParser$(contents, logger, url) {
11693 var t1 = A.SpanScanner$(contents, url),
11694 t2 = logger == null ? B.StderrLogger_false : logger;
11695 return new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2);
11696 },
11697 ScssParser: function ScssParser(t0, t1, t2) {
11698 var _ = this;
11699 _._isUseAllowed = true;
11700 _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
11701 _._globalVariables = t0;
11702 _.lastSilentComment = null;
11703 _.scanner = t1;
11704 _.logger = t2;
11705 },
11706 SelectorParser$(contents, allowParent, allowPlaceholder, logger, url) {
11707 var t1 = A.SpanScanner$(contents, url);
11708 return new A.SelectorParser(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false : logger);
11709 },
11710 SelectorParser: function SelectorParser(t0, t1, t2, t3) {
11711 var _ = this;
11712 _._allowParent = t0;
11713 _._allowPlaceholder = t1;
11714 _.scanner = t2;
11715 _.logger = t3;
11716 },
11717 SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
11718 this.$this = t0;
11719 },
11720 SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
11721 this.$this = t0;
11722 },
11723 StylesheetParser: function StylesheetParser() {
11724 },
11725 StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
11726 this.$this = t0;
11727 },
11728 StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
11729 this.$this = t0;
11730 },
11731 StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0() {
11732 },
11733 StylesheetParser_parseArgumentDeclaration_closure: function StylesheetParser_parseArgumentDeclaration_closure(t0) {
11734 this.$this = t0;
11735 },
11736 StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
11737 this.$this = t0;
11738 },
11739 StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
11740 this.$this = t0;
11741 },
11742 StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
11743 this.$this = t0;
11744 this.production = t1;
11745 this.T = t2;
11746 },
11747 StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
11748 this.$this = t0;
11749 },
11750 StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
11751 this.$this = t0;
11752 this.start = t1;
11753 },
11754 StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
11755 this.declaration = t0;
11756 },
11757 StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
11758 this.name = t0;
11759 },
11760 StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0, t1) {
11761 this._box_0 = t0;
11762 this.name = t1;
11763 },
11764 StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
11765 var _ = this;
11766 _._box_0 = t0;
11767 _.$this = t1;
11768 _.wasInStyleRule = t2;
11769 _.start = t3;
11770 },
11771 StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
11772 this._box_0 = t0;
11773 },
11774 StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0, t1) {
11775 this._box_0 = t0;
11776 this.value = t1;
11777 },
11778 StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
11779 this.query = t0;
11780 },
11781 StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
11782 },
11783 StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
11784 var _ = this;
11785 _.$this = t0;
11786 _.wasInControlDirective = t1;
11787 _.variables = t2;
11788 _.list = t3;
11789 },
11790 StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
11791 this.name = t0;
11792 this.$arguments = t1;
11793 this.precedingComment = t2;
11794 },
11795 StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
11796 this._box_0 = t0;
11797 this.$this = t1;
11798 },
11799 StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
11800 var _ = this;
11801 _._box_0 = t0;
11802 _.$this = t1;
11803 _.wasInControlDirective = t2;
11804 _.variable = t3;
11805 _.from = t4;
11806 _.to = t5;
11807 },
11808 StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
11809 this.$this = t0;
11810 this.variables = t1;
11811 this.identifiers = t2;
11812 },
11813 StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
11814 this.contentArguments_ = t0;
11815 },
11816 StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
11817 this.query = t0;
11818 },
11819 StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
11820 var _ = this;
11821 _.$this = t0;
11822 _.name = t1;
11823 _.$arguments = t2;
11824 _.precedingComment = t3;
11825 },
11826 StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0, t1, t2, t3) {
11827 var _ = this;
11828 _._box_0 = t0;
11829 _.$this = t1;
11830 _.name = t2;
11831 _.value = t3;
11832 },
11833 StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
11834 this.condition = t0;
11835 },
11836 StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
11837 this.$this = t0;
11838 this.wasInControlDirective = t1;
11839 this.condition = t2;
11840 },
11841 StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
11842 this._box_0 = t0;
11843 this.name = t1;
11844 },
11845 StylesheetParser_expression_resetState: function StylesheetParser_expression_resetState(t0, t1, t2) {
11846 this._box_0 = t0;
11847 this.$this = t1;
11848 this.start = t2;
11849 },
11850 StylesheetParser_expression_resolveOneOperation: function StylesheetParser_expression_resolveOneOperation(t0, t1) {
11851 this._box_0 = t0;
11852 this.$this = t1;
11853 },
11854 StylesheetParser_expression_resolveOperations: function StylesheetParser_expression_resolveOperations(t0, t1) {
11855 this._box_0 = t0;
11856 this.resolveOneOperation = t1;
11857 },
11858 StylesheetParser_expression_addSingleExpression: function StylesheetParser_expression_addSingleExpression(t0, t1, t2, t3) {
11859 var _ = this;
11860 _._box_0 = t0;
11861 _.$this = t1;
11862 _.resetState = t2;
11863 _.resolveOperations = t3;
11864 },
11865 StylesheetParser_expression_addOperator: function StylesheetParser_expression_addOperator(t0, t1, t2) {
11866 this._box_0 = t0;
11867 this.$this = t1;
11868 this.resolveOneOperation = t2;
11869 },
11870 StylesheetParser_expression_resolveSpaceExpressions: function StylesheetParser_expression_resolveSpaceExpressions(t0, t1, t2) {
11871 this._box_0 = t0;
11872 this.$this = t1;
11873 this.resolveOperations = t2;
11874 },
11875 StylesheetParser__expressionUntilComma_closure: function StylesheetParser__expressionUntilComma_closure(t0) {
11876 this.$this = t0;
11877 },
11878 StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
11879 },
11880 StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
11881 },
11882 StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
11883 this.$this = t0;
11884 this.start = t1;
11885 },
11886 StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
11887 },
11888 StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
11889 this.$this = t0;
11890 },
11891 StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
11892 this.$this = t0;
11893 this.start = t1;
11894 },
11895 StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
11896 var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream.item1, allUpstream.item2, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
11897 t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
11898 return t1;
11899 },
11900 StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
11901 this._nodes = t0;
11902 this.importCache = t1;
11903 this._transitiveModificationTimes = t2;
11904 },
11905 StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
11906 this.$this = t0;
11907 },
11908 StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
11909 this.node = t0;
11910 this.transitiveModificationTime = t1;
11911 },
11912 StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
11913 var _ = this;
11914 _.$this = t0;
11915 _.url = t1;
11916 _.baseImporter = t2;
11917 _.baseUrl = t3;
11918 },
11919 StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
11920 var _ = this;
11921 _.$this = t0;
11922 _.importer = t1;
11923 _.canonicalUrl = t2;
11924 _.originalUrl = t3;
11925 },
11926 StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
11927 this.$this = t0;
11928 this.node = t1;
11929 this.canonicalUrl = t2;
11930 },
11931 StylesheetGraph__recanonicalizeImportsForNode_closure: function StylesheetGraph__recanonicalizeImportsForNode_closure(t0, t1, t2, t3, t4, t5) {
11932 var _ = this;
11933 _.$this = t0;
11934 _.importer = t1;
11935 _.canonicalUrl = t2;
11936 _.node = t3;
11937 _.forImport = t4;
11938 _.newMap = t5;
11939 },
11940 StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
11941 var _ = this;
11942 _.$this = t0;
11943 _.url = t1;
11944 _.baseImporter = t2;
11945 _.baseUrl = t3;
11946 _.forImport = t4;
11947 },
11948 StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1, t2, t3) {
11949 var _ = this;
11950 _.$this = t0;
11951 _.importer = t1;
11952 _.canonicalUrl = t2;
11953 _.resolvedUrl = t3;
11954 },
11955 StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
11956 var _ = this;
11957 _._stylesheet = t0;
11958 _.importer = t1;
11959 _.canonicalUrl = t2;
11960 _._upstream = t3;
11961 _._upstreamImports = t4;
11962 _._downstream = t5;
11963 },
11964 Syntax_forPath(path) {
11965 switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
11966 case ".sass":
11967 return B.Syntax_Sass;
11968 case ".css":
11969 return B.Syntax_CSS;
11970 default:
11971 return B.Syntax_SCSS;
11972 }
11973 },
11974 Syntax: function Syntax(t0) {
11975 this._syntax$_name = t0;
11976 },
11977 LimitedMapView$blocklist(_map, blocklist, $K, $V) {
11978 var t2, key,
11979 t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
11980 for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
11981 key = t2.get$current(t2);
11982 if (!blocklist.contains$1(0, key))
11983 t1.add$1(0, key);
11984 }
11985 return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
11986 },
11987 LimitedMapView: function LimitedMapView(t0, t1, t2) {
11988 this._limited_map_view$_map = t0;
11989 this._limited_map_view$_keys = t1;
11990 this.$ti = t2;
11991 },
11992 MergedMapView$(maps, $K, $V) {
11993 var t1 = $K._eval$1("@<0>")._bind$1($V);
11994 t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
11995 t1.MergedMapView$1(maps, $K, $V);
11996 return t1;
11997 },
11998 MergedMapView: function MergedMapView(t0, t1) {
11999 this._mapsByKey = t0;
12000 this.$ti = t1;
12001 },
12002 MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
12003 this._watchers = t0;
12004 this._group = t1;
12005 this._poll = t2;
12006 },
12007 NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
12008 this._no_source_map_buffer$_buffer = t0;
12009 },
12010 PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
12011 this._prefixed_map_view$_map = t0;
12012 this._prefix = t1;
12013 this.$ti = t2;
12014 },
12015 _PrefixedKeys: function _PrefixedKeys(t0) {
12016 this._view = t0;
12017 },
12018 _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
12019 this.$this = t0;
12020 },
12021 PublicMemberMapView: function PublicMemberMapView(t0, t1) {
12022 this._public_member_map_view$_inner = t0;
12023 this.$ti = t1;
12024 },
12025 SourceMapBuffer: function SourceMapBuffer(t0, t1) {
12026 var _ = this;
12027 _._source_map_buffer$_buffer = t0;
12028 _._entries = t1;
12029 _._column = _._line = 0;
12030 _._inSpan = false;
12031 },
12032 SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
12033 this._box_0 = t0;
12034 this.prefixLength = t1;
12035 },
12036 UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
12037 this._unprefixed_map_view$_map = t0;
12038 this._unprefixed_map_view$_prefix = t1;
12039 this.$ti = t2;
12040 },
12041 _UnprefixedKeys: function _UnprefixedKeys(t0) {
12042 this._unprefixed_map_view$_view = t0;
12043 },
12044 _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
12045 this.$this = t0;
12046 },
12047 _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
12048 this.$this = t0;
12049 },
12050 toSentence(iter, conjunction) {
12051 var t1 = iter.__internal$_iterable,
12052 t2 = J.getInterceptor$asx(t1);
12053 if (t2.get$length(t1) === 1)
12054 return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
12055 return A.TakeIterable_TakeIterable(iter, t2.get$length(t1) - 1, A._instanceType(iter)._eval$1("Iterable.E")).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter._f.call$1(t2.get$last(t1))));
12056 },
12057 indent(string, indentation) {
12058 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");
12059 },
12060 pluralize($name, number, plural) {
12061 if (number === 1)
12062 return $name;
12063 if (plural != null)
12064 return plural;
12065 return $name + "s";
12066 },
12067 trimAscii(string, excludeEscape) {
12068 var t1,
12069 start = A._firstNonWhitespace(string);
12070 if (start == null)
12071 t1 = "";
12072 else {
12073 t1 = A._lastNonWhitespace(string, true);
12074 t1.toString;
12075 t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
12076 }
12077 return t1;
12078 },
12079 trimAsciiRight(string, excludeEscape) {
12080 var end = A._lastNonWhitespace(string, excludeEscape);
12081 return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
12082 },
12083 _firstNonWhitespace(string) {
12084 var t1, i, t2;
12085 for (t1 = string.length, i = 0; i < t1; ++i) {
12086 t2 = B.JSString_methods._codeUnitAt$1(string, i);
12087 if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
12088 return i;
12089 }
12090 return null;
12091 },
12092 _lastNonWhitespace(string, excludeEscape) {
12093 var t1, i, codeUnit;
12094 for (t1 = string.length, i = t1 - 1; i >= 0; --i) {
12095 codeUnit = B.JSString_methods.codeUnitAt$1(string, i);
12096 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
12097 if (excludeEscape && i !== 0 && i !== t1 && codeUnit === 92)
12098 return i + 1;
12099 else
12100 return i;
12101 }
12102 return null;
12103 },
12104 isPublic(member) {
12105 var start = B.JSString_methods._codeUnitAt$1(member, 0);
12106 return start !== 45 && start !== 95;
12107 },
12108 flattenVertically(iterable, $T) {
12109 var result,
12110 t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
12111 queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), true, t1._eval$1("ListIterable.E"));
12112 if (queues.length === 1)
12113 return B.JSArray_methods.get$first(queues);
12114 result = A._setArrayType([], $T._eval$1("JSArray<0>"));
12115 for (; queues.length !== 0;) {
12116 if (!!queues.fixed$length)
12117 A.throwExpression(A.UnsupportedError$("removeWhere"));
12118 B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
12119 }
12120 return result;
12121 },
12122 firstOrNull(iterable) {
12123 var iterator = J.get$iterator$ax(iterable);
12124 return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
12125 },
12126 codepointIndexToCodeUnitIndex(string, codepointIndex) {
12127 var codeUnitIndex, i, codeUnitIndex0;
12128 for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
12129 codeUnitIndex0 = codeUnitIndex + 1;
12130 codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
12131 }
12132 return codeUnitIndex;
12133 },
12134 codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
12135 var codepointIndex, i;
12136 for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
12137 ++codepointIndex;
12138 return codepointIndex;
12139 },
12140 frameForSpan(span, member, url) {
12141 var t2, t3, t4,
12142 t1 = url == null ? span.file.url : url;
12143 if (t1 == null)
12144 t1 = $.$get$_noSourceUrl();
12145 t2 = span.file;
12146 t3 = span._file$_start;
12147 t4 = A.FileLocation$_(t2, t3);
12148 t4 = t4.file.getLine$1(t4.offset);
12149 t3 = A.FileLocation$_(t2, t3);
12150 return new A.Frame(t1, t4 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
12151 },
12152 declarationName(span) {
12153 var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
12154 return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
12155 },
12156 unvendor($name) {
12157 var i,
12158 t1 = $name.length;
12159 if (t1 < 2)
12160 return $name;
12161 if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
12162 return $name;
12163 if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
12164 return $name;
12165 for (i = 2; i < t1; ++i)
12166 if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
12167 return B.JSString_methods.substring$1($name, i + 1);
12168 return $name;
12169 },
12170 equalsIgnoreCase(string1, string2) {
12171 var t1, i;
12172 if (string1 === string2)
12173 return true;
12174 if (string1 == null || false)
12175 return false;
12176 t1 = string1.length;
12177 if (t1 !== string2.length)
12178 return false;
12179 for (i = 0; i < t1; ++i)
12180 if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
12181 return false;
12182 return true;
12183 },
12184 startsWithIgnoreCase(string, prefix) {
12185 var i,
12186 t1 = prefix.length;
12187 if (string.length < t1)
12188 return false;
12189 for (i = 0; i < t1; ++i)
12190 if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
12191 return false;
12192 return true;
12193 },
12194 mapInPlace(list, $function) {
12195 var i;
12196 for (i = 0; i < list.length; ++i)
12197 list[i] = $function.call$1(list[i]);
12198 },
12199 longestCommonSubsequence(list1, list2, select, $T) {
12200 var t1, _length, lengths, t2, t3, _i, selections, i, i0, j, selection, j0;
12201 if (select == null)
12202 select = new A.longestCommonSubsequence_closure($T);
12203 t1 = J.getInterceptor$asx(list1);
12204 _length = t1.get$length(list1) + 1;
12205 lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
12206 for (t2 = J.getInterceptor$asx(list2), t3 = type$.int, _i = 0; _i < _length; ++_i)
12207 lengths[_i] = A.List_List$filled(t2.get$length(list2) + 1, 0, false, t3);
12208 _length = t1.get$length(list1);
12209 selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
12210 for (t3 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
12211 selections[_i] = A.List_List$filled(t2.get$length(list2), null, false, t3);
12212 for (i = 0; i < t1.get$length(list1); i = i0)
12213 for (i0 = i + 1, j = 0; j < t2.get$length(list2); j = j0) {
12214 selection = select.call$2(t1.$index(list1, i), t2.$index(list2, j));
12215 selections[i][j] = selection;
12216 t3 = lengths[i0];
12217 j0 = j + 1;
12218 t3[j0] = selection == null ? Math.max(t3[j], lengths[i][j0]) : lengths[i][j] + 1;
12219 }
12220 return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(t1.get$length(list1) - 1, t2.get$length(list2) - 1);
12221 },
12222 removeFirstWhere(list, test, orElse) {
12223 var i;
12224 for (i = 0; i < list.length; ++i) {
12225 if (!test.call$1(list[i]))
12226 continue;
12227 B.JSArray_methods.removeAt$1(list, i);
12228 return;
12229 }
12230 orElse.call$0();
12231 },
12232 mapAddAll2(destination, source, K1, K2, $V) {
12233 source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
12234 },
12235 setAll(map, keys, value) {
12236 var t1;
12237 for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
12238 map.$indexSet(0, t1.get$current(t1), value);
12239 },
12240 rotateSlice(list, start, end) {
12241 var i, next,
12242 element = list.$index(0, end - 1);
12243 for (i = start; i < end; ++i, element = next) {
12244 next = list.$index(0, i);
12245 list.$indexSet(0, i, element);
12246 }
12247 },
12248 mapAsync(iterable, callback, $E, $F) {
12249 return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
12250 },
12251 mapAsync$body(iterable, callback, $E, $F, $async$type) {
12252 var $async$goto = 0,
12253 $async$completer = A._makeAsyncAwaitCompleter($async$type),
12254 $async$returnValue, t2, _i, t1, $async$temp1;
12255 var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
12256 if ($async$errorCode === 1)
12257 return A._asyncRethrow($async$result, $async$completer);
12258 while (true)
12259 switch ($async$goto) {
12260 case 0:
12261 // Function start
12262 t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
12263 t2 = iterable.length, _i = 0;
12264 case 3:
12265 // for condition
12266 if (!(_i < t2)) {
12267 // goto after for
12268 $async$goto = 5;
12269 break;
12270 }
12271 $async$temp1 = t1;
12272 $async$goto = 6;
12273 return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
12274 case 6:
12275 // returning from await.
12276 $async$temp1.push($async$result);
12277 case 4:
12278 // for update
12279 ++_i;
12280 // goto for condition
12281 $async$goto = 3;
12282 break;
12283 case 5:
12284 // after for
12285 $async$returnValue = t1;
12286 // goto return
12287 $async$goto = 1;
12288 break;
12289 case 1:
12290 // return
12291 return A._asyncReturn($async$returnValue, $async$completer);
12292 }
12293 });
12294 return A._asyncStartSync($async$mapAsync, $async$completer);
12295 },
12296 putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
12297 return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
12298 },
12299 putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
12300 var $async$goto = 0,
12301 $async$completer = A._makeAsyncAwaitCompleter($async$type),
12302 $async$returnValue, value;
12303 var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
12304 if ($async$errorCode === 1)
12305 return A._asyncRethrow($async$result, $async$completer);
12306 while (true)
12307 switch ($async$goto) {
12308 case 0:
12309 // Function start
12310 if (map.containsKey$1(key)) {
12311 $async$returnValue = $V._as(map.$index(0, key));
12312 // goto return
12313 $async$goto = 1;
12314 break;
12315 }
12316 $async$goto = 3;
12317 return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
12318 case 3:
12319 // returning from await.
12320 value = $async$result;
12321 map.$indexSet(0, key, value);
12322 $async$returnValue = value;
12323 // goto return
12324 $async$goto = 1;
12325 break;
12326 case 1:
12327 // return
12328 return A._asyncReturn($async$returnValue, $async$completer);
12329 }
12330 });
12331 return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
12332 },
12333 copyMapOfMap(map, K1, K2, $V) {
12334 var t2, t3, t4, t5,
12335 t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
12336 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
12337 t3 = t2.get$current(t2);
12338 t4 = t3.key;
12339 t3 = t3.value;
12340 t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
12341 t5.addAll$1(0, t3);
12342 t1.$indexSet(0, t4, t5);
12343 }
12344 return t1;
12345 },
12346 copyMapOfList(map, $K, $E) {
12347 var t2, t3,
12348 t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
12349 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
12350 t3 = t2.get$current(t2);
12351 t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
12352 }
12353 return t1;
12354 },
12355 consumeEscapedCharacter(scanner) {
12356 var first, value, i, next, t1;
12357 scanner.expectChar$1(92);
12358 first = scanner.peekChar$0();
12359 if (first == null)
12360 return 65533;
12361 else if (first === 10 || first === 13 || first === 12)
12362 scanner.error$1(0, "Expected escape sequence.");
12363 else if (A.isHex(first)) {
12364 for (value = 0, i = 0; i < 6; ++i) {
12365 next = scanner.peekChar$0();
12366 if (next == null || !A.isHex(next))
12367 break;
12368 value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
12369 }
12370 t1 = scanner.peekChar$0();
12371 if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
12372 scanner.readChar$0();
12373 if (value !== 0)
12374 t1 = value >= 55296 && value <= 57343 || value >= 1114111;
12375 else
12376 t1 = true;
12377 if (t1)
12378 return 65533;
12379 else
12380 return value;
12381 } else
12382 return scanner.readChar$0();
12383 },
12384 throwWithTrace(error, trace) {
12385 A.attachTrace(error, trace);
12386 throw A.wrapException(error);
12387 },
12388 attachTrace(error, trace) {
12389 var t1;
12390 if (trace.toString$0(0).length === 0)
12391 return;
12392 t1 = $.$get$_traces();
12393 A.Expando__checkType(error);
12394 t1 = t1._jsWeakMap;
12395 if (t1.get(error) == null)
12396 t1.set(error, trace);
12397 },
12398 getTrace(error) {
12399 var t1;
12400 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
12401 t1 = null;
12402 else {
12403 t1 = $.$get$_traces();
12404 A.Expando__checkType(error);
12405 t1 = t1._jsWeakMap.get(error);
12406 }
12407 return t1;
12408 },
12409 indent_closure: function indent_closure(t0) {
12410 this.indentation = t0;
12411 },
12412 flattenVertically_closure: function flattenVertically_closure(t0) {
12413 this.T = t0;
12414 },
12415 flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
12416 this.result = t0;
12417 this.T = t1;
12418 },
12419 longestCommonSubsequence_closure: function longestCommonSubsequence_closure(t0) {
12420 this.T = t0;
12421 },
12422 longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
12423 this.selections = t0;
12424 this.lengths = t1;
12425 this.T = t2;
12426 },
12427 mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
12428 var _ = this;
12429 _.destination = t0;
12430 _.K1 = t1;
12431 _.K2 = t2;
12432 _.V = t3;
12433 },
12434 Value: function Value() {
12435 },
12436 SassArgumentList$(contents, keywords, separator) {
12437 var t1 = type$.Value;
12438 t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
12439 t1.SassList$3$brackets(contents, separator, false);
12440 return t1;
12441 },
12442 SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
12443 var _ = this;
12444 _._keywords = t0;
12445 _._wereKeywordsAccessed = false;
12446 _._list$_contents = t1;
12447 _._separator = t2;
12448 _._hasBrackets = t3;
12449 },
12450 SassBoolean: function SassBoolean(t0) {
12451 this.value = t0;
12452 },
12453 SassCalculation_calc(argument) {
12454 argument = A.SassCalculation__simplify(argument);
12455 if (argument instanceof A.SassNumber)
12456 return argument;
12457 if (argument instanceof A.SassCalculation)
12458 return argument;
12459 return new A.SassCalculation("calc", A.List_List$unmodifiable([argument], type$.Object));
12460 },
12461 SassCalculation_min($arguments) {
12462 var minimum, _i, arg, t2,
12463 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
12464 t1 = args.length;
12465 if (t1 === 0)
12466 throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
12467 for (minimum = null, _i = 0; _i < t1; ++_i) {
12468 arg = args[_i];
12469 if (arg instanceof A.SassNumber)
12470 t2 = minimum != null && !minimum.isComparableTo$1(arg);
12471 else
12472 t2 = true;
12473 if (t2) {
12474 minimum = null;
12475 break;
12476 } else if (minimum == null || minimum.greaterThan$1(arg).value)
12477 minimum = arg;
12478 }
12479 if (minimum != null)
12480 return minimum;
12481 A.SassCalculation__verifyCompatibleNumbers(args);
12482 return new A.SassCalculation("min", args);
12483 },
12484 SassCalculation_max($arguments) {
12485 var maximum, _i, arg, t2,
12486 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
12487 t1 = args.length;
12488 if (t1 === 0)
12489 throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
12490 for (maximum = null, _i = 0; _i < t1; ++_i) {
12491 arg = args[_i];
12492 if (arg instanceof A.SassNumber)
12493 t2 = maximum != null && !maximum.isComparableTo$1(arg);
12494 else
12495 t2 = true;
12496 if (t2) {
12497 maximum = null;
12498 break;
12499 } else if (maximum == null || maximum.lessThan$1(arg).value)
12500 maximum = arg;
12501 }
12502 if (maximum != null)
12503 return maximum;
12504 A.SassCalculation__verifyCompatibleNumbers(args);
12505 return new A.SassCalculation("max", args);
12506 },
12507 SassCalculation_clamp(min, value, max) {
12508 var t1, args;
12509 if (value == null && max != null)
12510 throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
12511 min = A.SassCalculation__simplify(min);
12512 value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
12513 max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
12514 if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
12515 if (value.lessThanOrEquals$1(min).value)
12516 return min;
12517 if (value.greaterThanOrEquals$1(max).value)
12518 return max;
12519 return value;
12520 }
12521 t1 = [min];
12522 if (value != null)
12523 t1.push(value);
12524 if (max != null)
12525 t1.push(max);
12526 args = A.List_List$unmodifiable(t1, type$.Object);
12527 A.SassCalculation__verifyCompatibleNumbers(args);
12528 A.SassCalculation__verifyLength(args, 3);
12529 return new A.SassCalculation("clamp", args);
12530 },
12531 SassCalculation_operateInternal(operator, left, right, inMinMax, simplify) {
12532 var t1, t2;
12533 if (!simplify)
12534 return new A.CalculationOperation(operator, left, right);
12535 left = A.SassCalculation__simplify(left);
12536 right = A.SassCalculation__simplify(right);
12537 t1 = operator === B.CalculationOperator_Iem;
12538 if (t1 || operator === B.CalculationOperator_uti) {
12539 if (left instanceof A.SassNumber)
12540 if (right instanceof A.SassNumber)
12541 t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
12542 else
12543 t2 = false;
12544 else
12545 t2 = false;
12546 if (t2)
12547 return t1 ? left.plus$1(right) : left.minus$1(right);
12548 A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
12549 if (right instanceof A.SassNumber) {
12550 t2 = right._number$_value;
12551 t2 = t2 < 0 && !(Math.abs(t2 - 0) < $.$get$epsilon());
12552 } else
12553 t2 = false;
12554 if (t2) {
12555 right = right.times$1(new A.UnitlessSassNumber(-1, null));
12556 operator = t1 ? B.CalculationOperator_uti : B.CalculationOperator_Iem;
12557 }
12558 return new A.CalculationOperation(operator, left, right);
12559 } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
12560 return operator === B.CalculationOperator_Dih ? left.times$1(right) : left.dividedBy$1(right);
12561 else
12562 return new A.CalculationOperation(operator, left, right);
12563 },
12564 SassCalculation__simplify(arg) {
12565 var _s32_ = " can't be used in a calculation.";
12566 if (arg instanceof A.SassNumber || arg instanceof A.CalculationInterpolation || arg instanceof A.CalculationOperation)
12567 return arg;
12568 else if (arg instanceof A.SassString) {
12569 if (!arg._hasQuotes)
12570 return arg;
12571 throw A.wrapException(A.SassCalculation__exception("Quoted string " + arg.toString$0(0) + _s32_));
12572 } else if (arg instanceof A.SassCalculation)
12573 return arg.name === "calc" ? arg.$arguments[0] : arg;
12574 else if (arg instanceof A.Value)
12575 throw A.wrapException(A.SassCalculation__exception("Value " + arg.toString$0(0) + _s32_));
12576 else
12577 throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
12578 },
12579 SassCalculation__verifyCompatibleNumbers(args) {
12580 var t1, _i, t2, arg, i, number1, j, number2;
12581 for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
12582 arg = args[_i];
12583 if (!(arg instanceof A.SassNumber))
12584 continue;
12585 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
12586 throw A.wrapException(A.SassCalculation__exception("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations."));
12587 }
12588 for (t1 = t2, i = 0; i < t1 - 1; ++i) {
12589 number1 = args[i];
12590 if (!(number1 instanceof A.SassNumber))
12591 continue;
12592 for (j = i + 1; t1 = args.length, j < t1; ++j) {
12593 number2 = args[j];
12594 if (!(number2 instanceof A.SassNumber))
12595 continue;
12596 if (number1.hasPossiblyCompatibleUnits$1(number2))
12597 continue;
12598 throw A.wrapException(A.SassCalculation__exception(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible."));
12599 }
12600 }
12601 },
12602 SassCalculation__verifyLength(args, expectedLength) {
12603 var t1 = args.length;
12604 if (t1 === expectedLength)
12605 return;
12606 if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
12607 return;
12608 throw A.wrapException(A.SassCalculation__exception("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed."));
12609 },
12610 SassCalculation__exception(message) {
12611 return new A.SassScriptException(message);
12612 },
12613 SassCalculation: function SassCalculation(t0, t1) {
12614 this.name = t0;
12615 this.$arguments = t1;
12616 },
12617 SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
12618 },
12619 CalculationOperation: function CalculationOperation(t0, t1, t2) {
12620 this.operator = t0;
12621 this.left = t1;
12622 this.right = t2;
12623 },
12624 CalculationOperator: function CalculationOperator(t0, t1, t2) {
12625 this.name = t0;
12626 this.operator = t1;
12627 this.precedence = t2;
12628 },
12629 CalculationInterpolation: function CalculationInterpolation(t0) {
12630 this.value = t0;
12631 },
12632 SassColor$rgb(red, green, blue, alpha) {
12633 var _null = null,
12634 t1 = new A.SassColor(red, green, blue, _null, _null, _null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), _null);
12635 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
12636 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
12637 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
12638 return t1;
12639 },
12640 SassColor$rgbInternal(_red, _green, _blue, alpha, format) {
12641 var t1 = new A.SassColor(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
12642 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
12643 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
12644 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
12645 return t1;
12646 },
12647 SassColor$hslInternal(hue, saturation, lightness, alpha, format) {
12648 var t1 = B.JSNumber_methods.$mod(hue, 360),
12649 t2 = A.fuzzyAssertRange(saturation, 0, 100, "saturation"),
12650 t3 = A.fuzzyAssertRange(lightness, 0, 100, "lightness");
12651 return new A.SassColor(null, null, null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
12652 },
12653 SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
12654 var t2, t1 = {},
12655 scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
12656 scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange(whiteness, 0, 100, "whiteness") / 100,
12657 scaledBlackness = A.fuzzyAssertRange(blackness, 0, 100, "blackness") / 100,
12658 sum = scaledWhiteness + scaledBlackness;
12659 if (sum > 1) {
12660 t2 = t1.scaledWhiteness = scaledWhiteness / sum;
12661 scaledBlackness /= sum;
12662 } else
12663 t2 = scaledWhiteness;
12664 t2 = new A.SassColor_SassColor$hwb_toRgb(t1, 1 - t2 - scaledBlackness);
12665 return A.SassColor$rgb(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
12666 },
12667 SassColor__hueToRgb(m1, m2, hue) {
12668 if (hue < 0)
12669 ++hue;
12670 if (hue > 1)
12671 --hue;
12672 if (hue < 0.16666666666666666)
12673 return m1 + (m2 - m1) * hue * 6;
12674 else if (hue < 0.5)
12675 return m2;
12676 else if (hue < 0.6666666666666666)
12677 return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
12678 else
12679 return m1;
12680 },
12681 SassColor: function SassColor(t0, t1, t2, t3, t4, t5, t6, t7) {
12682 var _ = this;
12683 _._red = t0;
12684 _._green = t1;
12685 _._blue = t2;
12686 _._hue = t3;
12687 _._saturation = t4;
12688 _._lightness = t5;
12689 _._alpha = t6;
12690 _.format = t7;
12691 },
12692 SassColor_SassColor$hwb_toRgb: function SassColor_SassColor$hwb_toRgb(t0, t1) {
12693 this._box_0 = t0;
12694 this.factor = t1;
12695 },
12696 _ColorFormatEnum: function _ColorFormatEnum(t0) {
12697 this._color$_name = t0;
12698 },
12699 SpanColorFormat: function SpanColorFormat(t0) {
12700 this._color$_span = t0;
12701 },
12702 SassFunction: function SassFunction(t0) {
12703 this.callable = t0;
12704 },
12705 SassList$(contents, _separator, brackets) {
12706 var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
12707 t1.SassList$3$brackets(contents, _separator, brackets);
12708 return t1;
12709 },
12710 SassList: function SassList(t0, t1, t2) {
12711 this._list$_contents = t0;
12712 this._separator = t1;
12713 this._hasBrackets = t2;
12714 },
12715 SassList_isBlank_closure: function SassList_isBlank_closure() {
12716 },
12717 ListSeparator: function ListSeparator(t0, t1) {
12718 this._list$_name = t0;
12719 this.separator = t1;
12720 },
12721 SassMap: function SassMap(t0) {
12722 this._map$_contents = t0;
12723 },
12724 SassMap_asList_closure: function SassMap_asList_closure(t0) {
12725 this.result = t0;
12726 },
12727 _SassNull: function _SassNull() {
12728 },
12729 conversionFactor(unit1, unit2) {
12730 var innerMap;
12731 if (unit1 === unit2)
12732 return 1;
12733 innerMap = B.Map_K2BWj.$index(0, unit1);
12734 if (innerMap == null)
12735 return null;
12736 return innerMap.$index(0, unit2);
12737 },
12738 SassNumber_SassNumber(value, unit) {
12739 return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
12740 },
12741 SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
12742 var t1, numerators, unsimplifiedDenominators, denominators, _i, denominator, simplifiedAway, i, factor, _null = null;
12743 if (denominatorUnits == null || denominatorUnits.length === 0) {
12744 t1 = numeratorUnits.length;
12745 if (t1 === 0)
12746 return new A.UnitlessSassNumber(value, _null);
12747 else if (t1 === 1)
12748 return new A.SingleUnitSassNumber(numeratorUnits[0], value, _null);
12749 else
12750 return new A.ComplexSassNumber(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
12751 } else {
12752 t1 = numeratorUnits.length;
12753 if (t1 === 0)
12754 return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
12755 else {
12756 numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
12757 unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits)._eval$1("JSArray<1>"));
12758 denominators = A._setArrayType([], type$.JSArray_String);
12759 for (t1 = unsimplifiedDenominators.length, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
12760 denominator = unsimplifiedDenominators[_i];
12761 i = 0;
12762 while (true) {
12763 if (!(i < numerators.length)) {
12764 simplifiedAway = false;
12765 break;
12766 }
12767 c$0: {
12768 factor = A.conversionFactor(denominator, numerators[i]);
12769 if (factor == null)
12770 break c$0;
12771 value *= factor;
12772 B.JSArray_methods.removeAt$1(numerators, i);
12773 simplifiedAway = true;
12774 break;
12775 }
12776 ++i;
12777 }
12778 if (!simplifiedAway)
12779 denominators.push(denominator);
12780 }
12781 if (denominatorUnits.length === 0) {
12782 t1 = numeratorUnits.length;
12783 if (t1 === 0)
12784 return new A.UnitlessSassNumber(value, _null);
12785 else if (t1 === 1)
12786 return new A.SingleUnitSassNumber(B.JSArray_methods.get$single(numeratorUnits), value, _null);
12787 }
12788 t1 = type$.String;
12789 return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), value, _null);
12790 }
12791 }
12792 },
12793 SassNumber: function SassNumber() {
12794 },
12795 SassNumber__coerceOrConvertValue__compatibilityException: function SassNumber__coerceOrConvertValue__compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
12796 var _ = this;
12797 _.$this = t0;
12798 _.other = t1;
12799 _.otherName = t2;
12800 _.otherHasUnits = t3;
12801 _.name = t4;
12802 _.newNumerators = t5;
12803 _.newDenominators = t6;
12804 },
12805 SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
12806 this._box_0 = t0;
12807 this.newNumerator = t1;
12808 },
12809 SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
12810 this._compatibilityException = t0;
12811 },
12812 SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
12813 this._box_0 = t0;
12814 this.newDenominator = t1;
12815 },
12816 SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
12817 this._compatibilityException = t0;
12818 },
12819 SassNumber_plus_closure: function SassNumber_plus_closure() {
12820 },
12821 SassNumber_minus_closure: function SassNumber_minus_closure() {
12822 },
12823 SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
12824 this._box_0 = t0;
12825 this.numerator = t1;
12826 },
12827 SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
12828 this.newNumerators = t0;
12829 this.numerator = t1;
12830 },
12831 SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
12832 this._box_0 = t0;
12833 this.numerator = t1;
12834 },
12835 SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
12836 this.newNumerators = t0;
12837 this.numerator = t1;
12838 },
12839 SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
12840 this.units2 = t0;
12841 },
12842 SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
12843 },
12844 SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
12845 this.$this = t0;
12846 },
12847 ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
12848 var _ = this;
12849 _._numeratorUnits = t0;
12850 _._denominatorUnits = t1;
12851 _._number$_value = t2;
12852 _.hashCache = null;
12853 _.asSlash = t3;
12854 },
12855 SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
12856 var _ = this;
12857 _._unit = t0;
12858 _._number$_value = t1;
12859 _.hashCache = null;
12860 _.asSlash = t2;
12861 },
12862 SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
12863 this.$this = t0;
12864 this.unit = t1;
12865 },
12866 SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
12867 this.$this = t0;
12868 },
12869 SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
12870 this._box_0 = t0;
12871 this.$this = t1;
12872 },
12873 SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
12874 this._box_0 = t0;
12875 this.$this = t1;
12876 },
12877 UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
12878 this._number$_value = t0;
12879 this.hashCache = null;
12880 this.asSlash = t1;
12881 },
12882 SassString$(_text, quotes) {
12883 return new A.SassString(_text, quotes);
12884 },
12885 SassString: function SassString(t0, t1) {
12886 var _ = this;
12887 _._string$_text = t0;
12888 _._hasQuotes = t1;
12889 _.__SassString__sassLength = $;
12890 _._hashCache = null;
12891 },
12892 _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
12893 var t1 = type$.Uri,
12894 t2 = type$.Module_AsyncCallable,
12895 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode),
12896 t4 = logger == null ? B.StderrLogger_false : logger;
12897 t3 = new A._EvaluateVisitor0(importCache, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.AsyncCallable), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode), t4, A.LinkedHashSet_LinkedHashSet$_empty(type$.Tuple2_String_SourceSpan), quietDeps, sourceMap, A.AsyncEnvironment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty);
12898 t3._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
12899 return t3;
12900 },
12901 _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
12902 var _ = this;
12903 _._async_evaluate$_importCache = t0;
12904 _._async_evaluate$_nodeImporter = t1;
12905 _._async_evaluate$_builtInFunctions = t2;
12906 _._async_evaluate$_builtInModules = t3;
12907 _._async_evaluate$_modules = t4;
12908 _._async_evaluate$_moduleNodes = t5;
12909 _._async_evaluate$_logger = t6;
12910 _._async_evaluate$_warningsEmitted = t7;
12911 _._async_evaluate$_quietDeps = t8;
12912 _._async_evaluate$_sourceMap = t9;
12913 _._async_evaluate$_environment = t10;
12914 _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
12915 _._async_evaluate$_member = "root stylesheet";
12916 _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = _._async_evaluate$_currentCallable = null;
12917 _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
12918 _._async_evaluate$_loadedUrls = t11;
12919 _._async_evaluate$_activeModules = t12;
12920 _._async_evaluate$_stack = t13;
12921 _._async_evaluate$_importer = null;
12922 _._async_evaluate$_inDependency = false;
12923 _._async_evaluate$__extensionStore = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
12924 _._async_evaluate$_configuration = t14;
12925 },
12926 _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
12927 this.$this = t0;
12928 },
12929 _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
12930 this.$this = t0;
12931 },
12932 _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
12933 this.$this = t0;
12934 },
12935 _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
12936 this.$this = t0;
12937 },
12938 _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
12939 this.$this = t0;
12940 },
12941 _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
12942 this.$this = t0;
12943 },
12944 _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
12945 this.$this = t0;
12946 },
12947 _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
12948 this.$this = t0;
12949 },
12950 _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0, t1, t2) {
12951 this.$this = t0;
12952 this.name = t1;
12953 this.module = t2;
12954 },
12955 _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
12956 this.$this = t0;
12957 },
12958 _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
12959 this.$this = t0;
12960 },
12961 _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
12962 this.values = t0;
12963 this.span = t1;
12964 this.callableNode = t2;
12965 },
12966 _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0) {
12967 this.$this = t0;
12968 },
12969 _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
12970 this.$this = t0;
12971 this.node = t1;
12972 this.importer = t2;
12973 },
12974 _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
12975 this.callback = t0;
12976 this.builtInModule = t1;
12977 },
12978 _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
12979 var _ = this;
12980 _.$this = t0;
12981 _.url = t1;
12982 _.nodeWithSpan = t2;
12983 _.baseUrl = t3;
12984 _.namesInErrors = t4;
12985 _.configuration = t5;
12986 _.callback = t6;
12987 },
12988 _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1) {
12989 this.$this = t0;
12990 this.message = t1;
12991 },
12992 _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5) {
12993 var _ = this;
12994 _.$this = t0;
12995 _.importer = t1;
12996 _.stylesheet = t2;
12997 _.extensionStore = t3;
12998 _.configuration = t4;
12999 _.css = t5;
13000 },
13001 _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2() {
13002 },
13003 _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3(t0) {
13004 this.selectors = t0;
13005 },
13006 _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4() {
13007 },
13008 _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
13009 this.originalSelectors = t0;
13010 },
13011 _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
13012 },
13013 _EvaluateVisitor__topologicalModules_visitModule0: function _EvaluateVisitor__topologicalModules_visitModule0(t0, t1) {
13014 this.seen = t0;
13015 this.sorted = t1;
13016 },
13017 _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
13018 this.$this = t0;
13019 this.resolved = t1;
13020 },
13021 _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
13022 this.$this = t0;
13023 this.node = t1;
13024 },
13025 _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
13026 this.$this = t0;
13027 this.node = t1;
13028 },
13029 _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
13030 this.$this = t0;
13031 this.newParent = t1;
13032 this.node = t2;
13033 },
13034 _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
13035 this.$this = t0;
13036 this.innerScope = t1;
13037 },
13038 _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
13039 this.$this = t0;
13040 this.innerScope = t1;
13041 },
13042 _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
13043 this.innerScope = t0;
13044 this.callback = t1;
13045 },
13046 _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
13047 this.$this = t0;
13048 this.innerScope = t1;
13049 },
13050 _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
13051 },
13052 _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
13053 this.$this = t0;
13054 this.innerScope = t1;
13055 },
13056 _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
13057 this.$this = t0;
13058 this.content = t1;
13059 },
13060 _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0) {
13061 this.$this = t0;
13062 },
13063 _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
13064 this.$this = t0;
13065 this.children = t1;
13066 },
13067 _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
13068 this.$this = t0;
13069 this.node = t1;
13070 this.nodeWithSpan = t2;
13071 },
13072 _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
13073 this.$this = t0;
13074 this.node = t1;
13075 this.nodeWithSpan = t2;
13076 },
13077 _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
13078 var _ = this;
13079 _.$this = t0;
13080 _.list = t1;
13081 _.setVariables = t2;
13082 _.node = t3;
13083 },
13084 _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
13085 this.$this = t0;
13086 this.setVariables = t1;
13087 this.node = t2;
13088 },
13089 _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
13090 this.$this = t0;
13091 },
13092 _EvaluateVisitor_visitExtendRule_closure0: function _EvaluateVisitor_visitExtendRule_closure0(t0, t1) {
13093 this.$this = t0;
13094 this.targetText = t1;
13095 },
13096 _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
13097 this.$this = t0;
13098 },
13099 _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1) {
13100 this.$this = t0;
13101 this.children = t1;
13102 },
13103 _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
13104 this.$this = t0;
13105 this.children = t1;
13106 },
13107 _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
13108 },
13109 _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
13110 this.$this = t0;
13111 this.node = t1;
13112 },
13113 _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
13114 this.$this = t0;
13115 this.node = t1;
13116 },
13117 _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
13118 this.fromNumber = t0;
13119 },
13120 _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
13121 this.toNumber = t0;
13122 this.fromNumber = t1;
13123 },
13124 _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
13125 var _ = this;
13126 _._box_0 = t0;
13127 _.$this = t1;
13128 _.node = t2;
13129 _.from = t3;
13130 _.direction = t4;
13131 _.fromNumber = t5;
13132 },
13133 _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
13134 this.$this = t0;
13135 },
13136 _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
13137 this.$this = t0;
13138 this.node = t1;
13139 },
13140 _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
13141 this.$this = t0;
13142 this.node = t1;
13143 },
13144 _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0, t1) {
13145 this._box_0 = t0;
13146 this.$this = t1;
13147 },
13148 _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0) {
13149 this.$this = t0;
13150 },
13151 _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
13152 this.$this = t0;
13153 this.$import = t1;
13154 },
13155 _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
13156 this.$this = t0;
13157 },
13158 _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
13159 },
13160 _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
13161 },
13162 _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4, t5) {
13163 var _ = this;
13164 _.$this = t0;
13165 _.result = t1;
13166 _.stylesheet = t2;
13167 _.loadsUserDefinedModules = t3;
13168 _.environment = t4;
13169 _.children = t5;
13170 },
13171 _EvaluateVisitor__visitStaticImport_closure0: function _EvaluateVisitor__visitStaticImport_closure0(t0) {
13172 this.$this = t0;
13173 },
13174 _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0, t1) {
13175 this.$this = t0;
13176 this.node = t1;
13177 },
13178 _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
13179 this.node = t0;
13180 },
13181 _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
13182 this.$this = t0;
13183 },
13184 _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1, t2, t3) {
13185 var _ = this;
13186 _.$this = t0;
13187 _.contentCallable = t1;
13188 _.mixin = t2;
13189 _.nodeWithSpan = t3;
13190 },
13191 _EvaluateVisitor_visitIncludeRule__closure0: function _EvaluateVisitor_visitIncludeRule__closure0(t0, t1, t2) {
13192 this.$this = t0;
13193 this.mixin = t1;
13194 this.nodeWithSpan = t2;
13195 },
13196 _EvaluateVisitor_visitIncludeRule___closure0: function _EvaluateVisitor_visitIncludeRule___closure0(t0, t1, t2) {
13197 this.$this = t0;
13198 this.mixin = t1;
13199 this.nodeWithSpan = t2;
13200 },
13201 _EvaluateVisitor_visitIncludeRule____closure0: function _EvaluateVisitor_visitIncludeRule____closure0(t0, t1) {
13202 this.$this = t0;
13203 this.statement = t1;
13204 },
13205 _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
13206 this.$this = t0;
13207 this.queries = t1;
13208 },
13209 _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3) {
13210 var _ = this;
13211 _.$this = t0;
13212 _.mergedQueries = t1;
13213 _.queries = t2;
13214 _.node = t3;
13215 },
13216 _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
13217 this.$this = t0;
13218 this.node = t1;
13219 },
13220 _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
13221 this.$this = t0;
13222 this.node = t1;
13223 },
13224 _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
13225 this.mergedQueries = t0;
13226 },
13227 _EvaluateVisitor__visitMediaQueries_closure0: function _EvaluateVisitor__visitMediaQueries_closure0(t0, t1) {
13228 this.$this = t0;
13229 this.resolved = t1;
13230 },
13231 _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6(t0, t1) {
13232 this.$this = t0;
13233 this.selectorText = t1;
13234 },
13235 _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7(t0, t1) {
13236 this.$this = t0;
13237 this.node = t1;
13238 },
13239 _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
13240 },
13241 _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9(t0, t1) {
13242 this.$this = t0;
13243 this.selectorText = t1;
13244 },
13245 _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10(t0, t1) {
13246 this._box_0 = t0;
13247 this.$this = t1;
13248 },
13249 _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1, t2) {
13250 this.$this = t0;
13251 this.rule = t1;
13252 this.node = t2;
13253 },
13254 _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
13255 this.$this = t0;
13256 this.node = t1;
13257 },
13258 _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12() {
13259 },
13260 _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
13261 this.$this = t0;
13262 this.node = t1;
13263 },
13264 _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
13265 this.$this = t0;
13266 this.node = t1;
13267 },
13268 _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
13269 },
13270 _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
13271 this.$this = t0;
13272 this.node = t1;
13273 this.override = t2;
13274 },
13275 _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
13276 this.$this = t0;
13277 this.node = t1;
13278 },
13279 _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
13280 this.$this = t0;
13281 this.node = t1;
13282 this.value = t2;
13283 },
13284 _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
13285 this.$this = t0;
13286 this.node = t1;
13287 },
13288 _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
13289 this.$this = t0;
13290 this.node = t1;
13291 },
13292 _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
13293 this.$this = t0;
13294 this.node = t1;
13295 },
13296 _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
13297 this.$this = t0;
13298 },
13299 _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
13300 this.$this = t0;
13301 this.node = t1;
13302 },
13303 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0() {
13304 },
13305 _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
13306 this.$this = t0;
13307 this.node = t1;
13308 },
13309 _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
13310 this.node = t0;
13311 this.operand = t1;
13312 },
13313 _EvaluateVisitor__visitCalculationValue_closure0: function _EvaluateVisitor__visitCalculationValue_closure0(t0, t1, t2) {
13314 this.$this = t0;
13315 this.node = t1;
13316 this.inMinMax = t2;
13317 },
13318 _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
13319 this.$this = t0;
13320 },
13321 _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1) {
13322 this.$this = t0;
13323 this.node = t1;
13324 },
13325 _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1, t2) {
13326 this._box_0 = t0;
13327 this.$this = t1;
13328 this.node = t2;
13329 },
13330 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
13331 this.$this = t0;
13332 this.node = t1;
13333 this.$function = t2;
13334 },
13335 _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
13336 var _ = this;
13337 _.$this = t0;
13338 _.callable = t1;
13339 _.evaluated = t2;
13340 _.nodeWithSpan = t3;
13341 _.run = t4;
13342 _.V = t5;
13343 },
13344 _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
13345 var _ = this;
13346 _.$this = t0;
13347 _.evaluated = t1;
13348 _.callable = t2;
13349 _.nodeWithSpan = t3;
13350 _.run = t4;
13351 _.V = t5;
13352 },
13353 _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
13354 var _ = this;
13355 _.$this = t0;
13356 _.evaluated = t1;
13357 _.callable = t2;
13358 _.nodeWithSpan = t3;
13359 _.run = t4;
13360 _.V = t5;
13361 },
13362 _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
13363 },
13364 _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
13365 this.$this = t0;
13366 this.callable = t1;
13367 },
13368 _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1(t0, t1, t2) {
13369 this.overload = t0;
13370 this.evaluated = t1;
13371 this.namedSet = t2;
13372 },
13373 _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2() {
13374 },
13375 _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
13376 },
13377 _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
13378 this.$this = t0;
13379 this.restNodeForSpan = t1;
13380 },
13381 _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
13382 var _ = this;
13383 _.$this = t0;
13384 _.named = t1;
13385 _.restNodeForSpan = t2;
13386 _.namedNodes = t3;
13387 },
13388 _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
13389 },
13390 _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
13391 this.restArgs = t0;
13392 },
13393 _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
13394 this.$this = t0;
13395 this.restNodeForSpan = t1;
13396 this.restArgs = t2;
13397 },
13398 _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
13399 var _ = this;
13400 _.$this = t0;
13401 _.named = t1;
13402 _.restNodeForSpan = t2;
13403 _.restArgs = t3;
13404 },
13405 _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
13406 this.$this = t0;
13407 this.keywordRestNodeForSpan = t1;
13408 this.keywordRestArgs = t2;
13409 },
13410 _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
13411 var _ = this;
13412 _.$this = t0;
13413 _.values = t1;
13414 _.convert = t2;
13415 _.expressionNode = t3;
13416 _.map = t4;
13417 _.nodeWithSpan = t5;
13418 },
13419 _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
13420 this.$arguments = t0;
13421 this.positional = t1;
13422 this.named = t2;
13423 },
13424 _EvaluateVisitor_visitStringExpression_closure0: function _EvaluateVisitor_visitStringExpression_closure0(t0) {
13425 this.$this = t0;
13426 },
13427 _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
13428 this.$this = t0;
13429 this.node = t1;
13430 },
13431 _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
13432 },
13433 _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
13434 this.$this = t0;
13435 this.node = t1;
13436 },
13437 _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
13438 },
13439 _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
13440 this.$this = t0;
13441 this.node = t1;
13442 },
13443 _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2) {
13444 this.$this = t0;
13445 this.mergedQueries = t1;
13446 this.node = t2;
13447 },
13448 _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
13449 this.$this = t0;
13450 this.node = t1;
13451 },
13452 _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
13453 this.$this = t0;
13454 this.node = t1;
13455 },
13456 _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
13457 this.mergedQueries = t0;
13458 },
13459 _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1(t0, t1, t2) {
13460 this.$this = t0;
13461 this.rule = t1;
13462 this.node = t2;
13463 },
13464 _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
13465 this.$this = t0;
13466 this.node = t1;
13467 },
13468 _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2() {
13469 },
13470 _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
13471 this.$this = t0;
13472 this.node = t1;
13473 },
13474 _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
13475 this.$this = t0;
13476 this.node = t1;
13477 },
13478 _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
13479 },
13480 _EvaluateVisitor__performInterpolation_closure0: function _EvaluateVisitor__performInterpolation_closure0(t0, t1, t2) {
13481 this.$this = t0;
13482 this.warnForColor = t1;
13483 this.interpolation = t2;
13484 },
13485 _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
13486 this.value = t0;
13487 this.quote = t1;
13488 },
13489 _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
13490 this.$this = t0;
13491 this.expression = t1;
13492 },
13493 _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
13494 },
13495 _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
13496 this.$this = t0;
13497 },
13498 _EvaluateVisitor__stackTrace_closure0: function _EvaluateVisitor__stackTrace_closure0(t0) {
13499 this.$this = t0;
13500 },
13501 _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
13502 this._async_evaluate$_visitor = t0;
13503 },
13504 _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
13505 },
13506 _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
13507 this.hasBeenMerged = t0;
13508 },
13509 _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
13510 },
13511 _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
13512 },
13513 EvaluateResult: function EvaluateResult(t0) {
13514 this.stylesheet = t0;
13515 },
13516 _EvaluationContext0: function _EvaluationContext0(t0, t1) {
13517 this._async_evaluate$_visitor = t0;
13518 this._async_evaluate$_defaultWarnNodeWithSpan = t1;
13519 },
13520 _ArgumentResults0: function _ArgumentResults0(t0, t1, t2, t3, t4) {
13521 var _ = this;
13522 _.positional = t0;
13523 _.positionalNodes = t1;
13524 _.named = t2;
13525 _.namedNodes = t3;
13526 _.separator = t4;
13527 },
13528 _LoadedStylesheet0: function _LoadedStylesheet0(t0, t1, t2) {
13529 this.stylesheet = t0;
13530 this.importer = t1;
13531 this.isDependency = t2;
13532 },
13533 cloneCssStylesheet(stylesheet, extensionStore) {
13534 var result = extensionStore.clone$0();
13535 return new A.Tuple2(new A._CloneCssVisitor(result.item2)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), result.item1, type$.Tuple2_ModifiableCssStylesheet_ExtensionStore);
13536 },
13537 _CloneCssVisitor: function _CloneCssVisitor(t0) {
13538 this._oldToNewSelectors = t0;
13539 },
13540 _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
13541 var t1 = type$.Uri,
13542 t2 = type$.Module_Callable,
13543 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode),
13544 t4 = logger == null ? B.StderrLogger_false : logger;
13545 t3 = new A._EvaluateVisitor(importCache, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Callable), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode), t4, A.LinkedHashSet_LinkedHashSet$_empty(type$.Tuple2_String_SourceSpan), quietDeps, sourceMap, A.Environment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty);
13546 t3._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
13547 return t3;
13548 },
13549 Evaluator: function Evaluator(t0, t1) {
13550 this._visitor = t0;
13551 this._importer = t1;
13552 },
13553 _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
13554 var _ = this;
13555 _._evaluate$_importCache = t0;
13556 _._nodeImporter = t1;
13557 _._builtInFunctions = t2;
13558 _._builtInModules = t3;
13559 _._modules = t4;
13560 _._moduleNodes = t5;
13561 _._evaluate$_logger = t6;
13562 _._warningsEmitted = t7;
13563 _._quietDeps = t8;
13564 _._sourceMap = t9;
13565 _._environment = t10;
13566 _._declarationName = _.__parent = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
13567 _._member = "root stylesheet";
13568 _._importSpan = _._callableNode = _._currentCallable = null;
13569 _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
13570 _._loadedUrls = t11;
13571 _._activeModules = t12;
13572 _._stack = t13;
13573 _._importer = null;
13574 _._inDependency = false;
13575 _.__extensionStore = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
13576 _._configuration = t14;
13577 },
13578 _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
13579 this.$this = t0;
13580 },
13581 _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
13582 this.$this = t0;
13583 },
13584 _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
13585 this.$this = t0;
13586 },
13587 _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
13588 this.$this = t0;
13589 },
13590 _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
13591 this.$this = t0;
13592 },
13593 _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
13594 this.$this = t0;
13595 },
13596 _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
13597 this.$this = t0;
13598 },
13599 _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
13600 this.$this = t0;
13601 },
13602 _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
13603 this.$this = t0;
13604 this.name = t1;
13605 this.module = t2;
13606 },
13607 _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
13608 this.$this = t0;
13609 },
13610 _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
13611 this.$this = t0;
13612 },
13613 _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
13614 this.values = t0;
13615 this.span = t1;
13616 this.callableNode = t2;
13617 },
13618 _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
13619 this.$this = t0;
13620 },
13621 _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
13622 this.$this = t0;
13623 this.node = t1;
13624 this.importer = t2;
13625 },
13626 _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
13627 this.$this = t0;
13628 this.importer = t1;
13629 this.expression = t2;
13630 },
13631 _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
13632 this.$this = t0;
13633 this.expression = t1;
13634 },
13635 _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
13636 this.$this = t0;
13637 this.importer = t1;
13638 this.statement = t2;
13639 },
13640 _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
13641 this.$this = t0;
13642 this.statement = t1;
13643 },
13644 _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
13645 this.callback = t0;
13646 this.builtInModule = t1;
13647 },
13648 _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
13649 var _ = this;
13650 _.$this = t0;
13651 _.url = t1;
13652 _.nodeWithSpan = t2;
13653 _.baseUrl = t3;
13654 _.namesInErrors = t4;
13655 _.configuration = t5;
13656 _.callback = t6;
13657 },
13658 _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
13659 this.$this = t0;
13660 this.message = t1;
13661 },
13662 _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5) {
13663 var _ = this;
13664 _.$this = t0;
13665 _.importer = t1;
13666 _.stylesheet = t2;
13667 _.extensionStore = t3;
13668 _.configuration = t4;
13669 _.css = t5;
13670 },
13671 _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
13672 },
13673 _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
13674 this.selectors = t0;
13675 },
13676 _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
13677 },
13678 _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
13679 this.originalSelectors = t0;
13680 },
13681 _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
13682 },
13683 _EvaluateVisitor__topologicalModules_visitModule: function _EvaluateVisitor__topologicalModules_visitModule(t0, t1) {
13684 this.seen = t0;
13685 this.sorted = t1;
13686 },
13687 _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
13688 this.$this = t0;
13689 this.resolved = t1;
13690 },
13691 _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
13692 this.$this = t0;
13693 this.node = t1;
13694 },
13695 _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
13696 this.$this = t0;
13697 this.node = t1;
13698 },
13699 _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
13700 this.$this = t0;
13701 this.newParent = t1;
13702 this.node = t2;
13703 },
13704 _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
13705 this.$this = t0;
13706 this.innerScope = t1;
13707 },
13708 _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
13709 this.$this = t0;
13710 this.innerScope = t1;
13711 },
13712 _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
13713 this.innerScope = t0;
13714 this.callback = t1;
13715 },
13716 _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
13717 this.$this = t0;
13718 this.innerScope = t1;
13719 },
13720 _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
13721 },
13722 _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
13723 this.$this = t0;
13724 this.innerScope = t1;
13725 },
13726 _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
13727 this.$this = t0;
13728 this.content = t1;
13729 },
13730 _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0) {
13731 this.$this = t0;
13732 },
13733 _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
13734 this.$this = t0;
13735 this.children = t1;
13736 },
13737 _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
13738 this.$this = t0;
13739 this.node = t1;
13740 this.nodeWithSpan = t2;
13741 },
13742 _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
13743 this.$this = t0;
13744 this.node = t1;
13745 this.nodeWithSpan = t2;
13746 },
13747 _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
13748 var _ = this;
13749 _.$this = t0;
13750 _.list = t1;
13751 _.setVariables = t2;
13752 _.node = t3;
13753 },
13754 _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
13755 this.$this = t0;
13756 this.setVariables = t1;
13757 this.node = t2;
13758 },
13759 _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
13760 this.$this = t0;
13761 },
13762 _EvaluateVisitor_visitExtendRule_closure: function _EvaluateVisitor_visitExtendRule_closure(t0, t1) {
13763 this.$this = t0;
13764 this.targetText = t1;
13765 },
13766 _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
13767 this.$this = t0;
13768 },
13769 _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1) {
13770 this.$this = t0;
13771 this.children = t1;
13772 },
13773 _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
13774 this.$this = t0;
13775 this.children = t1;
13776 },
13777 _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
13778 },
13779 _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
13780 this.$this = t0;
13781 this.node = t1;
13782 },
13783 _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
13784 this.$this = t0;
13785 this.node = t1;
13786 },
13787 _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
13788 this.fromNumber = t0;
13789 },
13790 _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
13791 this.toNumber = t0;
13792 this.fromNumber = t1;
13793 },
13794 _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
13795 var _ = this;
13796 _._box_0 = t0;
13797 _.$this = t1;
13798 _.node = t2;
13799 _.from = t3;
13800 _.direction = t4;
13801 _.fromNumber = t5;
13802 },
13803 _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
13804 this.$this = t0;
13805 },
13806 _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
13807 this.$this = t0;
13808 this.node = t1;
13809 },
13810 _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
13811 this.$this = t0;
13812 this.node = t1;
13813 },
13814 _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0, t1) {
13815 this._box_0 = t0;
13816 this.$this = t1;
13817 },
13818 _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0) {
13819 this.$this = t0;
13820 },
13821 _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
13822 this.$this = t0;
13823 this.$import = t1;
13824 },
13825 _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
13826 this.$this = t0;
13827 },
13828 _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
13829 },
13830 _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
13831 },
13832 _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4, t5) {
13833 var _ = this;
13834 _.$this = t0;
13835 _.result = t1;
13836 _.stylesheet = t2;
13837 _.loadsUserDefinedModules = t3;
13838 _.environment = t4;
13839 _.children = t5;
13840 },
13841 _EvaluateVisitor__visitStaticImport_closure: function _EvaluateVisitor__visitStaticImport_closure(t0) {
13842 this.$this = t0;
13843 },
13844 _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
13845 this.$this = t0;
13846 this.node = t1;
13847 },
13848 _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
13849 this.node = t0;
13850 },
13851 _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0) {
13852 this.$this = t0;
13853 },
13854 _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0, t1, t2, t3) {
13855 var _ = this;
13856 _.$this = t0;
13857 _.contentCallable = t1;
13858 _.mixin = t2;
13859 _.nodeWithSpan = t3;
13860 },
13861 _EvaluateVisitor_visitIncludeRule__closure: function _EvaluateVisitor_visitIncludeRule__closure(t0, t1, t2) {
13862 this.$this = t0;
13863 this.mixin = t1;
13864 this.nodeWithSpan = t2;
13865 },
13866 _EvaluateVisitor_visitIncludeRule___closure: function _EvaluateVisitor_visitIncludeRule___closure(t0, t1, t2) {
13867 this.$this = t0;
13868 this.mixin = t1;
13869 this.nodeWithSpan = t2;
13870 },
13871 _EvaluateVisitor_visitIncludeRule____closure: function _EvaluateVisitor_visitIncludeRule____closure(t0, t1) {
13872 this.$this = t0;
13873 this.statement = t1;
13874 },
13875 _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
13876 this.$this = t0;
13877 this.queries = t1;
13878 },
13879 _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3) {
13880 var _ = this;
13881 _.$this = t0;
13882 _.mergedQueries = t1;
13883 _.queries = t2;
13884 _.node = t3;
13885 },
13886 _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
13887 this.$this = t0;
13888 this.node = t1;
13889 },
13890 _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
13891 this.$this = t0;
13892 this.node = t1;
13893 },
13894 _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
13895 this.mergedQueries = t0;
13896 },
13897 _EvaluateVisitor__visitMediaQueries_closure: function _EvaluateVisitor__visitMediaQueries_closure(t0, t1) {
13898 this.$this = t0;
13899 this.resolved = t1;
13900 },
13901 _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
13902 this.$this = t0;
13903 this.selectorText = t1;
13904 },
13905 _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0(t0, t1) {
13906 this.$this = t0;
13907 this.node = t1;
13908 },
13909 _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1() {
13910 },
13911 _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2(t0, t1) {
13912 this.$this = t0;
13913 this.selectorText = t1;
13914 },
13915 _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3(t0, t1) {
13916 this._box_0 = t0;
13917 this.$this = t1;
13918 },
13919 _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4(t0, t1, t2) {
13920 this.$this = t0;
13921 this.rule = t1;
13922 this.node = t2;
13923 },
13924 _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
13925 this.$this = t0;
13926 this.node = t1;
13927 },
13928 _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
13929 },
13930 _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
13931 this.$this = t0;
13932 this.node = t1;
13933 },
13934 _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
13935 this.$this = t0;
13936 this.node = t1;
13937 },
13938 _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
13939 },
13940 _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
13941 this.$this = t0;
13942 this.node = t1;
13943 this.override = t2;
13944 },
13945 _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
13946 this.$this = t0;
13947 this.node = t1;
13948 },
13949 _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
13950 this.$this = t0;
13951 this.node = t1;
13952 this.value = t2;
13953 },
13954 _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
13955 this.$this = t0;
13956 this.node = t1;
13957 },
13958 _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
13959 this.$this = t0;
13960 this.node = t1;
13961 },
13962 _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
13963 this.$this = t0;
13964 this.node = t1;
13965 },
13966 _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
13967 this.$this = t0;
13968 },
13969 _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
13970 this.$this = t0;
13971 this.node = t1;
13972 },
13973 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation() {
13974 },
13975 _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
13976 this.$this = t0;
13977 this.node = t1;
13978 },
13979 _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
13980 this.node = t0;
13981 this.operand = t1;
13982 },
13983 _EvaluateVisitor__visitCalculationValue_closure: function _EvaluateVisitor__visitCalculationValue_closure(t0, t1, t2) {
13984 this.$this = t0;
13985 this.node = t1;
13986 this.inMinMax = t2;
13987 },
13988 _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
13989 this.$this = t0;
13990 },
13991 _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
13992 this.$this = t0;
13993 this.node = t1;
13994 },
13995 _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0(t0, t1, t2) {
13996 this._box_0 = t0;
13997 this.$this = t1;
13998 this.node = t2;
13999 },
14000 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
14001 this.$this = t0;
14002 this.node = t1;
14003 this.$function = t2;
14004 },
14005 _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
14006 var _ = this;
14007 _.$this = t0;
14008 _.callable = t1;
14009 _.evaluated = t2;
14010 _.nodeWithSpan = t3;
14011 _.run = t4;
14012 _.V = t5;
14013 },
14014 _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
14015 var _ = this;
14016 _.$this = t0;
14017 _.evaluated = t1;
14018 _.callable = t2;
14019 _.nodeWithSpan = t3;
14020 _.run = t4;
14021 _.V = t5;
14022 },
14023 _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
14024 var _ = this;
14025 _.$this = t0;
14026 _.evaluated = t1;
14027 _.callable = t2;
14028 _.nodeWithSpan = t3;
14029 _.run = t4;
14030 _.V = t5;
14031 },
14032 _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
14033 },
14034 _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
14035 this.$this = t0;
14036 this.callable = t1;
14037 },
14038 _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
14039 this.overload = t0;
14040 this.evaluated = t1;
14041 this.namedSet = t2;
14042 },
14043 _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0() {
14044 },
14045 _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
14046 },
14047 _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
14048 this.$this = t0;
14049 this.restNodeForSpan = t1;
14050 },
14051 _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
14052 var _ = this;
14053 _.$this = t0;
14054 _.named = t1;
14055 _.restNodeForSpan = t2;
14056 _.namedNodes = t3;
14057 },
14058 _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
14059 },
14060 _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
14061 this.restArgs = t0;
14062 },
14063 _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
14064 this.$this = t0;
14065 this.restNodeForSpan = t1;
14066 this.restArgs = t2;
14067 },
14068 _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
14069 var _ = this;
14070 _.$this = t0;
14071 _.named = t1;
14072 _.restNodeForSpan = t2;
14073 _.restArgs = t3;
14074 },
14075 _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
14076 this.$this = t0;
14077 this.keywordRestNodeForSpan = t1;
14078 this.keywordRestArgs = t2;
14079 },
14080 _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
14081 var _ = this;
14082 _.$this = t0;
14083 _.values = t1;
14084 _.convert = t2;
14085 _.expressionNode = t3;
14086 _.map = t4;
14087 _.nodeWithSpan = t5;
14088 },
14089 _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
14090 this.$arguments = t0;
14091 this.positional = t1;
14092 this.named = t2;
14093 },
14094 _EvaluateVisitor_visitStringExpression_closure: function _EvaluateVisitor_visitStringExpression_closure(t0) {
14095 this.$this = t0;
14096 },
14097 _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
14098 this.$this = t0;
14099 this.node = t1;
14100 },
14101 _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
14102 },
14103 _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
14104 this.$this = t0;
14105 this.node = t1;
14106 },
14107 _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
14108 },
14109 _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
14110 this.$this = t0;
14111 this.node = t1;
14112 },
14113 _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2) {
14114 this.$this = t0;
14115 this.mergedQueries = t1;
14116 this.node = t2;
14117 },
14118 _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
14119 this.$this = t0;
14120 this.node = t1;
14121 },
14122 _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
14123 this.$this = t0;
14124 this.node = t1;
14125 },
14126 _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
14127 this.mergedQueries = t0;
14128 },
14129 _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure(t0, t1, t2) {
14130 this.$this = t0;
14131 this.rule = t1;
14132 this.node = t2;
14133 },
14134 _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
14135 this.$this = t0;
14136 this.node = t1;
14137 },
14138 _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0() {
14139 },
14140 _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
14141 this.$this = t0;
14142 this.node = t1;
14143 },
14144 _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
14145 this.$this = t0;
14146 this.node = t1;
14147 },
14148 _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
14149 },
14150 _EvaluateVisitor__performInterpolation_closure: function _EvaluateVisitor__performInterpolation_closure(t0, t1, t2) {
14151 this.$this = t0;
14152 this.warnForColor = t1;
14153 this.interpolation = t2;
14154 },
14155 _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
14156 this.value = t0;
14157 this.quote = t1;
14158 },
14159 _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
14160 this.$this = t0;
14161 this.expression = t1;
14162 },
14163 _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
14164 },
14165 _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
14166 this.$this = t0;
14167 },
14168 _EvaluateVisitor__stackTrace_closure: function _EvaluateVisitor__stackTrace_closure(t0) {
14169 this.$this = t0;
14170 },
14171 _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
14172 this._visitor = t0;
14173 },
14174 _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
14175 },
14176 _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
14177 this.hasBeenMerged = t0;
14178 },
14179 _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
14180 },
14181 _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
14182 },
14183 _EvaluationContext: function _EvaluationContext(t0, t1) {
14184 this._visitor = t0;
14185 this._defaultWarnNodeWithSpan = t1;
14186 },
14187 _ArgumentResults: function _ArgumentResults(t0, t1, t2, t3, t4) {
14188 var _ = this;
14189 _.positional = t0;
14190 _.positionalNodes = t1;
14191 _.named = t2;
14192 _.namedNodes = t3;
14193 _.separator = t4;
14194 },
14195 _LoadedStylesheet: function _LoadedStylesheet(t0, t1, t2) {
14196 this.stylesheet = t0;
14197 this.importer = t1;
14198 this.isDependency = t2;
14199 },
14200 _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1) {
14201 this._usesAndForwards = t0;
14202 this._imports = t1;
14203 },
14204 RecursiveStatementVisitor: function RecursiveStatementVisitor() {
14205 },
14206 serialize(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
14207 var t1, css, t2, prefix,
14208 visitor = A._SerializeVisitor$(2, inspect, lineFeed, true, sourceMap, style, true);
14209 node.accept$1(visitor);
14210 t1 = visitor._serialize$_buffer;
14211 css = t1.toString$0(0);
14212 if (charset) {
14213 t2 = new A.CodeUnits(css);
14214 t2 = t2.any$1(t2, new A.serialize_closure());
14215 } else
14216 t2 = false;
14217 if (t2)
14218 prefix = style === B.OutputStyle_compressed ? "\ufeff" : '@charset "UTF-8";\n';
14219 else
14220 prefix = "";
14221 t2 = prefix + css;
14222 return new A.SerializeResult(t2, sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null);
14223 },
14224 serializeValue(value, inspect, quote) {
14225 var visitor = A._SerializeVisitor$(null, inspect, null, quote, false, null, true);
14226 value.accept$1(visitor);
14227 return visitor._serialize$_buffer.toString$0(0);
14228 },
14229 serializeSelector(selector, inspect) {
14230 var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
14231 selector.accept$1(visitor);
14232 return visitor._serialize$_buffer.toString$0(0);
14233 },
14234 _SerializeVisitor$(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
14235 var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
14236 t2 = style == null ? B.OutputStyle_expanded : style,
14237 t3 = indentWidth == null ? 2 : indentWidth;
14238 A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
14239 return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.C_LineFeed);
14240 },
14241 serialize_closure: function serialize_closure() {
14242 },
14243 _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6) {
14244 var _ = this;
14245 _._serialize$_buffer = t0;
14246 _._indentation = 0;
14247 _._style = t1;
14248 _._inspect = t2;
14249 _._quote = t3;
14250 _._indentCharacter = t4;
14251 _._indentWidth = t5;
14252 _._serialize$_lineFeed = t6;
14253 },
14254 _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
14255 this.$this = t0;
14256 this.node = t1;
14257 },
14258 _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
14259 this.$this = t0;
14260 this.node = t1;
14261 },
14262 _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
14263 this.$this = t0;
14264 this.node = t1;
14265 },
14266 _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
14267 this.$this = t0;
14268 this.node = t1;
14269 },
14270 _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
14271 this.$this = t0;
14272 this.node = t1;
14273 },
14274 _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
14275 this.$this = t0;
14276 this.node = t1;
14277 },
14278 _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
14279 this.$this = t0;
14280 this.node = t1;
14281 },
14282 _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
14283 this.$this = t0;
14284 this.node = t1;
14285 },
14286 _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
14287 this.$this = t0;
14288 this.node = t1;
14289 },
14290 _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
14291 this.$this = t0;
14292 this.node = t1;
14293 },
14294 _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
14295 },
14296 _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
14297 this.$this = t0;
14298 this.value = t1;
14299 },
14300 _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
14301 this.$this = t0;
14302 },
14303 _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
14304 this.$this = t0;
14305 },
14306 _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
14307 },
14308 _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
14309 this.$this = t0;
14310 this.value = t1;
14311 },
14312 _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1, t2) {
14313 this._box_0 = t0;
14314 this.$this = t1;
14315 this.children = t2;
14316 },
14317 OutputStyle: function OutputStyle(t0) {
14318 this._name = t0;
14319 },
14320 LineFeed: function LineFeed() {
14321 },
14322 SerializeResult: function SerializeResult(t0, t1) {
14323 this.css = t0;
14324 this.sourceMap = t1;
14325 },
14326 _IterableExtension__search(_this, callback) {
14327 var t1, value;
14328 for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
14329 value = callback.call$1(t1.get$current(t1));
14330 if (value != null)
14331 return value;
14332 }
14333 return null;
14334 },
14335 StatementSearchVisitor: function StatementSearchVisitor() {
14336 },
14337 StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
14338 this.$this = t0;
14339 },
14340 StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
14341 this.$this = t0;
14342 },
14343 StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
14344 this.$this = t0;
14345 },
14346 StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
14347 this.$this = t0;
14348 },
14349 StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
14350 this.$this = t0;
14351 },
14352 Entry: function Entry(t0, t1, t2) {
14353 this.source = t0;
14354 this.target = t1;
14355 this.identifierName = t2;
14356 },
14357 SingleMapping_SingleMapping$fromEntries(entries) {
14358 var lines, t1, t2, urls, names, files, targetEntries, t3, t4, lineNum, _i, sourceEntry, t5, t6, sourceUrl, t7, urlId,
14359 sourceEntries = J.toList$0$ax(entries);
14360 B.JSArray_methods.sort$0(sourceEntries);
14361 lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
14362 t1 = type$.String;
14363 t2 = type$.int;
14364 urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
14365 names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
14366 files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
14367 targetEntries = A._Cell$();
14368 for (t2 = sourceEntries.length, t3 = type$.JSArray_TargetEntry, t4 = targetEntries.__late_helper$_name, lineNum = null, _i = 0; _i < sourceEntries.length; sourceEntries.length === t2 || (0, A.throwConcurrentModificationError)(sourceEntries), ++_i) {
14369 sourceEntry = sourceEntries[_i];
14370 if (lineNum == null || sourceEntry.target.line > lineNum) {
14371 lineNum = sourceEntry.target.line;
14372 t5 = A._setArrayType([], t3);
14373 targetEntries._value = t5;
14374 lines.push(new A.TargetLineEntry(lineNum, t5));
14375 }
14376 t5 = sourceEntry.source;
14377 t6 = t5.file;
14378 sourceUrl = t6.url;
14379 t7 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
14380 urlId = urls.putIfAbsent$2(t7, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
14381 files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
14382 t7 = targetEntries._value;
14383 if (t7 === targetEntries)
14384 A.throwExpression(A.LateError$localNI(t4));
14385 t5 = t5.offset;
14386 J.add$1$ax(t7, new A.TargetEntry(sourceEntry.target.column, urlId, t6.getLine$1(t5), t6.getColumn$1(t5), null));
14387 }
14388 t2 = urls.get$values(urls).map$1$1(0, new A.SingleMapping_SingleMapping$fromEntries_closure1(files), type$.nullable_SourceFile).toList$0(0);
14389 t3 = urls.get$keys(urls).toList$0(0);
14390 t4 = names.get$keys(names);
14391 return new A.SingleMapping(t3, A.List_List$of(t4, true, A._instanceType(t4)._eval$1("Iterable.E")), t2, lines, null, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.dynamic));
14392 },
14393 Mapping: function Mapping() {
14394 },
14395 SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
14396 var _ = this;
14397 _.urls = t0;
14398 _.names = t1;
14399 _.files = t2;
14400 _.lines = t3;
14401 _.targetUrl = t4;
14402 _.sourceRoot = null;
14403 _.extensions = t5;
14404 },
14405 SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
14406 this.urls = t0;
14407 },
14408 SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
14409 this.sourceEntry = t0;
14410 },
14411 SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
14412 this.files = t0;
14413 },
14414 SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
14415 },
14416 SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
14417 this.result = t0;
14418 },
14419 TargetLineEntry: function TargetLineEntry(t0, t1) {
14420 this.line = t0;
14421 this.entries = t1;
14422 },
14423 TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
14424 var _ = this;
14425 _.column = t0;
14426 _.sourceUrlId = t1;
14427 _.sourceLine = t2;
14428 _.sourceColumn = t3;
14429 _.sourceNameId = t4;
14430 },
14431 SourceFile$fromString(text, url) {
14432 var t1 = new A.CodeUnits(text),
14433 t2 = A._setArrayType([0], type$.JSArray_int),
14434 t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
14435 t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
14436 t2.SourceFile$decoded$2$url(t1, url);
14437 return t2;
14438 },
14439 SourceFile$decoded(decodedChars, url) {
14440 var t1 = A._setArrayType([0], type$.JSArray_int),
14441 t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
14442 t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
14443 t1.SourceFile$decoded$2$url(decodedChars, url);
14444 return t1;
14445 },
14446 FileLocation$_(file, offset) {
14447 if (offset < 0)
14448 A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
14449 else if (offset > file._decodedChars.length)
14450 A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(file) + "."));
14451 return new A.FileLocation(file, offset);
14452 },
14453 _FileSpan$(file, _start, _end) {
14454 if (_end < _start)
14455 A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
14456 else if (_end > file._decodedChars.length)
14457 A.throwExpression(A.RangeError$("End " + _end + string$.x20must_ + file.get$length(file) + "."));
14458 else if (_start < 0)
14459 A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
14460 return new A._FileSpan(file, _start, _end);
14461 },
14462 FileSpanExtension_subspan(_this, start, end) {
14463 var startOffset,
14464 t1 = _this._end,
14465 t2 = _this._file$_start,
14466 t3 = t1 - t2;
14467 A.RangeError_checkValidRange(start, end, t3);
14468 if (start === 0)
14469 t3 = end == null || end === t3;
14470 else
14471 t3 = false;
14472 if (t3)
14473 return _this;
14474 t3 = _this.file;
14475 startOffset = A.FileLocation$_(t3, t2).offset;
14476 t1 = end == null ? A.FileLocation$_(t3, t1).offset : startOffset + end;
14477 return t3.span$2(0, startOffset + start, t1);
14478 },
14479 SourceFile: function SourceFile(t0, t1, t2) {
14480 var _ = this;
14481 _.url = t0;
14482 _._lineStarts = t1;
14483 _._decodedChars = t2;
14484 _._cachedLine = null;
14485 },
14486 FileLocation: function FileLocation(t0, t1) {
14487 this.file = t0;
14488 this.offset = t1;
14489 },
14490 _FileSpan: function _FileSpan(t0, t1, t2) {
14491 this.file = t0;
14492 this._file$_start = t1;
14493 this._end = t2;
14494 },
14495 Highlighter$(span, color) {
14496 var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
14497 t2 = new A.Highlighter_closure(color).call$0(),
14498 t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
14499 t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
14500 t5 = A._arrayInstanceType(t1);
14501 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(""));
14502 },
14503 Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
14504 var t2, t3, t4, t5, t6,
14505 t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
14506 for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
14507 t3 = t2.get$current(t2);
14508 t1.push(A._Highlight$(t3.key, t3.value, false));
14509 }
14510 t1 = A.Highlighter__collateLines(t1);
14511 if (color)
14512 t2 = "\x1b[31m";
14513 else
14514 t2 = null;
14515 if (color)
14516 t3 = "\x1b[34m";
14517 else
14518 t3 = null;
14519 t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
14520 t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
14521 t6 = A._arrayInstanceType(t1);
14522 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(""));
14523 },
14524 Highlighter__contiguous(lines) {
14525 var i, thisLine, nextLine;
14526 for (i = 0; i < lines.length - 1;) {
14527 thisLine = lines[i];
14528 ++i;
14529 nextLine = lines[i];
14530 if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
14531 return false;
14532 }
14533 return true;
14534 },
14535 Highlighter__collateLines(highlights) {
14536 var t1, t2,
14537 highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
14538 for (t1 = highlightsByUrl.get$values(highlightsByUrl), t1 = t1.get$iterator(t1); t1.moveNext$0();)
14539 J.sort$1$ax(t1.get$current(t1), new A.Highlighter__collateLines_closure0());
14540 t1 = highlightsByUrl.get$entries(highlightsByUrl);
14541 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>");
14542 return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
14543 },
14544 _Highlight$(span, label, primary) {
14545 return new A._Highlight(new A._Highlight_closure(span).call$0(), primary, label);
14546 },
14547 _Highlight__normalizeNewlines(span) {
14548 var endOffset, t1, i, t2, t3, t4,
14549 text = span.get$text();
14550 if (!B.JSString_methods.contains$1(text, "\r\n"))
14551 return span;
14552 endOffset = span.get$end(span).get$offset();
14553 for (t1 = text.length - 1, i = 0; i < t1; ++i)
14554 if (B.JSString_methods._codeUnitAt$1(text, i) === 13 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 10)
14555 --endOffset;
14556 t1 = span.get$start(span);
14557 t2 = span.get$sourceUrl(span);
14558 t3 = span.get$end(span).get$line();
14559 t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
14560 t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
14561 t4 = span.get$context(span);
14562 return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
14563 },
14564 _Highlight__normalizeTrailingNewline(span) {
14565 var context, text, start, end, t1, t2, t3;
14566 if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
14567 return span;
14568 if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
14569 return span;
14570 context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
14571 text = span.get$text();
14572 start = span.get$start(span);
14573 end = span.get$end(span);
14574 if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
14575 t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
14576 t1.toString;
14577 t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
14578 } else
14579 t1 = false;
14580 if (t1) {
14581 text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
14582 if (text.length === 0)
14583 end = start;
14584 else {
14585 t1 = span.get$end(span).get$offset();
14586 t2 = span.get$sourceUrl(span);
14587 t3 = span.get$end(span).get$line();
14588 end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
14589 start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
14590 }
14591 }
14592 return A.SourceSpanWithContext$(start, end, text, context);
14593 },
14594 _Highlight__normalizeEndOfLine(span) {
14595 var text, t1, t2, t3, t4;
14596 if (span.get$end(span).get$column() !== 0)
14597 return span;
14598 if (span.get$end(span).get$line() === span.get$start(span).get$line())
14599 return span;
14600 text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
14601 t1 = span.get$start(span);
14602 t2 = span.get$end(span).get$offset();
14603 t3 = span.get$sourceUrl(span);
14604 t4 = span.get$end(span).get$line();
14605 t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
14606 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));
14607 },
14608 _Highlight__lastLineLength(text) {
14609 var t1 = text.length;
14610 if (t1 === 0)
14611 return 0;
14612 else if (B.JSString_methods.codeUnitAt$1(text, t1 - 1) === 10)
14613 return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
14614 else
14615 return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
14616 },
14617 Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
14618 var _ = this;
14619 _._lines = t0;
14620 _._primaryColor = t1;
14621 _._secondaryColor = t2;
14622 _._paddingBeforeSidebar = t3;
14623 _._maxMultilineSpans = t4;
14624 _._multipleFiles = t5;
14625 _._highlighter$_buffer = t6;
14626 },
14627 Highlighter_closure: function Highlighter_closure(t0) {
14628 this.color = t0;
14629 },
14630 Highlighter$__closure: function Highlighter$__closure() {
14631 },
14632 Highlighter$___closure: function Highlighter$___closure() {
14633 },
14634 Highlighter$__closure0: function Highlighter$__closure0() {
14635 },
14636 Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
14637 },
14638 Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
14639 },
14640 Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
14641 },
14642 Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
14643 this.line = t0;
14644 },
14645 Highlighter_highlight_closure: function Highlighter_highlight_closure() {
14646 },
14647 Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
14648 this.$this = t0;
14649 },
14650 Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
14651 this.$this = t0;
14652 this.startLine = t1;
14653 this.line = t2;
14654 },
14655 Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
14656 this.$this = t0;
14657 this.highlight = t1;
14658 },
14659 Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
14660 this.$this = t0;
14661 },
14662 Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
14663 var _ = this;
14664 _._box_0 = t0;
14665 _.$this = t1;
14666 _.current = t2;
14667 _.startLine = t3;
14668 _.line = t4;
14669 _.highlight = t5;
14670 _.endLine = t6;
14671 },
14672 Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
14673 this._box_0 = t0;
14674 this.$this = t1;
14675 },
14676 Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
14677 this.$this = t0;
14678 this.vertical = t1;
14679 },
14680 Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
14681 var _ = this;
14682 _.$this = t0;
14683 _.text = t1;
14684 _.startColumn = t2;
14685 _.endColumn = t3;
14686 },
14687 Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
14688 this.$this = t0;
14689 this.line = t1;
14690 this.highlight = t2;
14691 },
14692 Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
14693 this.$this = t0;
14694 this.line = t1;
14695 this.highlight = t2;
14696 },
14697 Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
14698 var _ = this;
14699 _.$this = t0;
14700 _.coversWholeLine = t1;
14701 _.line = t2;
14702 _.highlight = t3;
14703 },
14704 Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
14705 this._box_0 = t0;
14706 this.$this = t1;
14707 this.end = t2;
14708 },
14709 _Highlight: function _Highlight(t0, t1, t2) {
14710 this.span = t0;
14711 this.isPrimary = t1;
14712 this.label = t2;
14713 },
14714 _Highlight_closure: function _Highlight_closure(t0) {
14715 this.span = t0;
14716 },
14717 _Line: function _Line(t0, t1, t2, t3) {
14718 var _ = this;
14719 _.text = t0;
14720 _.number = t1;
14721 _.url = t2;
14722 _.highlights = t3;
14723 },
14724 SourceLocation$(offset, column, line, sourceUrl) {
14725 if (offset < 0)
14726 A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
14727 else if (line < 0)
14728 A.throwExpression(A.RangeError$("Line may not be negative, was " + line + "."));
14729 else if (column < 0)
14730 A.throwExpression(A.RangeError$("Column may not be negative, was " + column + "."));
14731 return new A.SourceLocation(sourceUrl, offset, line, column);
14732 },
14733 SourceLocation: function SourceLocation(t0, t1, t2, t3) {
14734 var _ = this;
14735 _.sourceUrl = t0;
14736 _.offset = t1;
14737 _.line = t2;
14738 _.column = t3;
14739 },
14740 SourceLocationMixin: function SourceLocationMixin() {
14741 },
14742 SourceSpanBase: function SourceSpanBase() {
14743 },
14744 SourceSpanException: function SourceSpanException() {
14745 },
14746 SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
14747 this.source = t0;
14748 this._span_exception$_message = t1;
14749 this._span = t2;
14750 },
14751 SourceSpanMixin: function SourceSpanMixin() {
14752 },
14753 SourceSpanWithContext$(start, end, text, _context) {
14754 var t1 = new A.SourceSpanWithContext(_context, start, end, text);
14755 t1.SourceSpanBase$3(start, end, text);
14756 if (!B.JSString_methods.contains$1(_context, text))
14757 A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
14758 if (A.findLineStart(_context, text, start.get$column()) == null)
14759 A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
14760 return t1;
14761 },
14762 SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
14763 var _ = this;
14764 _._context = t0;
14765 _.start = t1;
14766 _.end = t2;
14767 _.text = t3;
14768 },
14769 Chain_Chain$parse(chain) {
14770 var t1, t2,
14771 _s51_ = string$.x3d_____;
14772 if (chain.length === 0)
14773 return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
14774 t1 = $.$get$vmChainGap();
14775 if (B.JSString_methods.contains$1(chain, t1)) {
14776 t1 = B.JSString_methods.split$1(chain, t1);
14777 t2 = A._arrayInstanceType(t1);
14778 return new A.Chain(A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(t1, new A.Chain_Chain$parse_closure(), t2._eval$1("WhereIterable<1>")), new A.Chain_Chain$parse_closure0(), t2._eval$1("MappedIterable<1,Trace>")), type$.Trace));
14779 }
14780 if (!B.JSString_methods.contains$1(chain, _s51_))
14781 return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
14782 return new A.Chain(A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(chain.split(_s51_), type$.JSArray_String), new A.Chain_Chain$parse_closure1(), type$.MappedListIterable_String_Trace), type$.Trace));
14783 },
14784 Chain: function Chain(t0) {
14785 this.traces = t0;
14786 },
14787 Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
14788 },
14789 Chain_Chain$parse_closure0: function Chain_Chain$parse_closure0() {
14790 },
14791 Chain_Chain$parse_closure1: function Chain_Chain$parse_closure1() {
14792 },
14793 Chain_toTrace_closure: function Chain_toTrace_closure() {
14794 },
14795 Chain_toString_closure0: function Chain_toString_closure0() {
14796 },
14797 Chain_toString__closure0: function Chain_toString__closure0() {
14798 },
14799 Chain_toString_closure: function Chain_toString_closure(t0) {
14800 this.longest = t0;
14801 },
14802 Chain_toString__closure: function Chain_toString__closure(t0) {
14803 this.longest = t0;
14804 },
14805 Frame_Frame$parseVM(frame) {
14806 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
14807 },
14808 Frame_Frame$parseV8(frame) {
14809 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
14810 },
14811 Frame_Frame$_parseFirefoxEval(frame) {
14812 return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
14813 },
14814 Frame_Frame$parseFirefox(frame) {
14815 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
14816 },
14817 Frame_Frame$parseFriendly(frame) {
14818 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
14819 },
14820 Frame__uriOrPathToUri(uriOrPath) {
14821 if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
14822 return A.Uri_parse(uriOrPath);
14823 else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
14824 return A._Uri__Uri$file(uriOrPath, true);
14825 else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
14826 return A._Uri__Uri$file(uriOrPath, false);
14827 if (B.JSString_methods.contains$1(uriOrPath, "\\"))
14828 return $.$get$windows().toUri$1(uriOrPath);
14829 return A.Uri_parse(uriOrPath);
14830 },
14831 Frame__catchFormatException(text, body) {
14832 var t1, exception;
14833 try {
14834 t1 = body.call$0();
14835 return t1;
14836 } catch (exception) {
14837 if (type$.FormatException._is(A.unwrapException(exception)))
14838 return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
14839 else
14840 throw exception;
14841 }
14842 },
14843 Frame: function Frame(t0, t1, t2, t3) {
14844 var _ = this;
14845 _.uri = t0;
14846 _.line = t1;
14847 _.column = t2;
14848 _.member = t3;
14849 },
14850 Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
14851 this.frame = t0;
14852 },
14853 Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
14854 this.frame = t0;
14855 },
14856 Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) {
14857 this.frame = t0;
14858 },
14859 Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
14860 this.frame = t0;
14861 },
14862 Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
14863 this.frame = t0;
14864 },
14865 Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
14866 this.frame = t0;
14867 },
14868 LazyTrace: function LazyTrace(t0) {
14869 this._thunk = t0;
14870 this.__LazyTrace__trace = $;
14871 },
14872 LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
14873 this.$this = t0;
14874 },
14875 Trace_Trace$from(trace) {
14876 if (type$.Trace._is(trace))
14877 return trace;
14878 if (trace instanceof A.Chain)
14879 return trace.toTrace$0();
14880 return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
14881 },
14882 Trace_Trace$parse(trace) {
14883 var error, t1, exception;
14884 try {
14885 if (trace.length === 0) {
14886 t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
14887 return t1;
14888 }
14889 if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
14890 t1 = A.Trace$parseV8(trace);
14891 return t1;
14892 }
14893 if (B.JSString_methods.contains$1(trace, "\tat ")) {
14894 t1 = A.Trace$parseJSCore(trace);
14895 return t1;
14896 }
14897 if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
14898 t1 = A.Trace$parseFirefox(trace);
14899 return t1;
14900 }
14901 if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
14902 t1 = A.Chain_Chain$parse(trace).toTrace$0();
14903 return t1;
14904 }
14905 if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
14906 t1 = A.Trace$parseFriendly(trace);
14907 return t1;
14908 }
14909 t1 = A.Trace$parseVM(trace);
14910 return t1;
14911 } catch (exception) {
14912 t1 = A.unwrapException(exception);
14913 if (type$.FormatException._is(t1)) {
14914 error = t1;
14915 throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
14916 } else
14917 throw exception;
14918 }
14919 },
14920 Trace$parseVM(trace) {
14921 var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
14922 return new A.Trace(t1, new A._StringStackTrace(trace));
14923 },
14924 Trace__parseVM(trace) {
14925 var $frames,
14926 t1 = B.JSString_methods.trim$0(trace),
14927 t2 = $.$get$vmChainGap(),
14928 t3 = type$.WhereIterable_String,
14929 lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
14930 if (!lines.get$iterator(lines).moveNext$0())
14931 return A._setArrayType([], type$.JSArray_Frame);
14932 t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(lines) - 1, t3._eval$1("Iterable.E"));
14933 t1 = A.MappedIterable_MappedIterable(t1, new A.Trace__parseVM_closure0(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
14934 $frames = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
14935 if (!J.endsWith$1$s(lines.get$last(lines), ".da"))
14936 B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(lines)));
14937 return $frames;
14938 },
14939 Trace$parseV8(trace) {
14940 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()),
14941 t2 = type$.Frame;
14942 t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, new A.Trace$parseV8_closure0(), t1.$ti._eval$1("Iterable.E"), t2), t2);
14943 return new A.Trace(t2, new A._StringStackTrace(trace));
14944 },
14945 Trace$parseJSCore(trace) {
14946 var t1 = A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(A._setArrayType(trace.split("\n"), type$.JSArray_String), new A.Trace$parseJSCore_closure(), type$.WhereIterable_String), new A.Trace$parseJSCore_closure0(), type$.MappedIterable_String_Frame), type$.Frame);
14947 return new A.Trace(t1, new A._StringStackTrace(trace));
14948 },
14949 Trace$parseFirefox(trace) {
14950 var t1 = A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(trace).split("\n"), type$.JSArray_String), new A.Trace$parseFirefox_closure(), type$.WhereIterable_String), new A.Trace$parseFirefox_closure0(), type$.MappedIterable_String_Frame), type$.Frame);
14951 return new A.Trace(t1, new A._StringStackTrace(trace));
14952 },
14953 Trace$parseFriendly(trace) {
14954 var t1 = trace.length === 0 ? A._setArrayType([], type$.JSArray_Frame) : new A.MappedIterable(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(trace).split("\n"), type$.JSArray_String), new A.Trace$parseFriendly_closure(), type$.WhereIterable_String), new A.Trace$parseFriendly_closure0(), type$.MappedIterable_String_Frame);
14955 t1 = A.List_List$unmodifiable(t1, type$.Frame);
14956 return new A.Trace(t1, new A._StringStackTrace(trace));
14957 },
14958 Trace$($frames, original) {
14959 var t1 = A.List_List$unmodifiable($frames, type$.Frame);
14960 return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
14961 },
14962 Trace: function Trace(t0, t1) {
14963 this.frames = t0;
14964 this.original = t1;
14965 },
14966 Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
14967 this.trace = t0;
14968 },
14969 Trace__parseVM_closure: function Trace__parseVM_closure() {
14970 },
14971 Trace__parseVM_closure0: function Trace__parseVM_closure0() {
14972 },
14973 Trace$parseV8_closure: function Trace$parseV8_closure() {
14974 },
14975 Trace$parseV8_closure0: function Trace$parseV8_closure0() {
14976 },
14977 Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
14978 },
14979 Trace$parseJSCore_closure0: function Trace$parseJSCore_closure0() {
14980 },
14981 Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
14982 },
14983 Trace$parseFirefox_closure0: function Trace$parseFirefox_closure0() {
14984 },
14985 Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
14986 },
14987 Trace$parseFriendly_closure0: function Trace$parseFriendly_closure0() {
14988 },
14989 Trace_terse_closure: function Trace_terse_closure() {
14990 },
14991 Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
14992 this.oldPredicate = t0;
14993 },
14994 Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
14995 this._box_0 = t0;
14996 },
14997 Trace_toString_closure0: function Trace_toString_closure0() {
14998 },
14999 Trace_toString_closure: function Trace_toString_closure(t0) {
15000 this.longest = t0;
15001 },
15002 UnparsedFrame: function UnparsedFrame(t0, t1) {
15003 this.uri = t0;
15004 this.member = t1;
15005 },
15006 TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
15007 var _null = null, t1 = {},
15008 controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
15009 t1.subscription = null;
15010 controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
15011 return controller.get$stream();
15012 },
15013 TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
15014 sink.addError$2(error, stackTrace);
15015 },
15016 TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
15017 var _ = this;
15018 _._box_1 = t0;
15019 _._this = t1;
15020 _.handleData = t2;
15021 _.controller = t3;
15022 _.handleError = t4;
15023 _.handleDone = t5;
15024 _.S = t6;
15025 },
15026 TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
15027 this.handleData = t0;
15028 this.controller = t1;
15029 this.S = t2;
15030 },
15031 TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
15032 this.handleError = t0;
15033 this.controller = t1;
15034 },
15035 TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
15036 this._box_0 = t0;
15037 this.handleDone = t1;
15038 this.controller = t2;
15039 },
15040 TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
15041 this._box_1 = t0;
15042 this._box_0 = t1;
15043 },
15044 RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
15045 var t1 = {};
15046 t1.soFar = t1.timer = null;
15047 t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
15048 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);
15049 },
15050 _collect($event, soFar, $T) {
15051 var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
15052 J.add$1$ax(t1, $event);
15053 return t1;
15054 },
15055 RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
15056 var _ = this;
15057 _._box_0 = t0;
15058 _.S = t1;
15059 _.collect = t2;
15060 _.leading = t3;
15061 _.duration = t4;
15062 _.trailing = t5;
15063 _.T = t6;
15064 },
15065 RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
15066 this._box_0 = t0;
15067 this.sink = t1;
15068 this.S = t2;
15069 },
15070 RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
15071 var _ = this;
15072 _._box_0 = t0;
15073 _.trailing = t1;
15074 _.emit = t2;
15075 _.sink = t3;
15076 },
15077 RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
15078 this._box_0 = t0;
15079 this.trailing = t1;
15080 this.S = t2;
15081 },
15082 StringScannerException$(message, span, source) {
15083 return new A.StringScannerException(source, message, span);
15084 },
15085 StringScannerException: function StringScannerException(t0, t1, t2) {
15086 this.source = t0;
15087 this._span_exception$_message = t1;
15088 this._span = t2;
15089 },
15090 LineScanner$(string) {
15091 return new A.LineScanner(null, string);
15092 },
15093 LineScanner: function LineScanner(t0, t1) {
15094 var _ = this;
15095 _._line_scanner$_column = _._line_scanner$_line = 0;
15096 _.sourceUrl = t0;
15097 _.string = t1;
15098 _._string_scanner$_position = 0;
15099 _._lastMatchPosition = _._lastMatch = null;
15100 },
15101 SpanScanner$(string, sourceUrl) {
15102 var t2,
15103 t1 = A.SourceFile$fromString(string, sourceUrl);
15104 if (sourceUrl == null)
15105 t2 = null;
15106 else
15107 t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
15108 return new A.SpanScanner(t1, t2, string);
15109 },
15110 SpanScanner: function SpanScanner(t0, t1, t2) {
15111 var _ = this;
15112 _._sourceFile = t0;
15113 _.sourceUrl = t1;
15114 _.string = t2;
15115 _._string_scanner$_position = 0;
15116 _._lastMatchPosition = _._lastMatch = null;
15117 },
15118 _SpanScannerState: function _SpanScannerState(t0, t1) {
15119 this._scanner = t0;
15120 this.position = t1;
15121 },
15122 StringScanner$(string, position, sourceUrl) {
15123 var t1;
15124 if (sourceUrl == null)
15125 t1 = null;
15126 else
15127 t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
15128 return new A.StringScanner(t1, string);
15129 },
15130 StringScanner: function StringScanner(t0, t1) {
15131 var _ = this;
15132 _.sourceUrl = t0;
15133 _.string = t1;
15134 _._string_scanner$_position = 0;
15135 _._lastMatchPosition = _._lastMatch = null;
15136 },
15137 AsciiGlyphSet: function AsciiGlyphSet() {
15138 },
15139 UnicodeGlyphSet: function UnicodeGlyphSet() {
15140 },
15141 Tuple2: function Tuple2(t0, t1, t2) {
15142 this.item1 = t0;
15143 this.item2 = t1;
15144 this.$ti = t2;
15145 },
15146 Tuple3: function Tuple3(t0, t1, t2, t3) {
15147 var _ = this;
15148 _.item1 = t0;
15149 _.item2 = t1;
15150 _.item3 = t2;
15151 _.$ti = t3;
15152 },
15153 Tuple4: function Tuple4(t0, t1, t2, t3, t4) {
15154 var _ = this;
15155 _.item1 = t0;
15156 _.item2 = t1;
15157 _.item3 = t2;
15158 _.item4 = t3;
15159 _.$ti = t4;
15160 },
15161 WatchEvent: function WatchEvent(t0, t1) {
15162 this.type = t0;
15163 this.path = t1;
15164 },
15165 ChangeType: function ChangeType(t0) {
15166 this._watch_event$_name = t0;
15167 },
15168 SupportsAnything0: function SupportsAnything0(t0, t1) {
15169 this.contents = t0;
15170 this.span = t1;
15171 },
15172 Argument0: function Argument0(t0, t1, t2) {
15173 this.name = t0;
15174 this.defaultValue = t1;
15175 this.span = t2;
15176 },
15177 ArgumentDeclaration_ArgumentDeclaration$parse0(contents, url) {
15178 return A.ScssParser$0(contents, null, url).parseArgumentDeclaration$0();
15179 },
15180 ArgumentDeclaration0: function ArgumentDeclaration0(t0, t1, t2) {
15181 this.$arguments = t0;
15182 this.restArgument = t1;
15183 this.span = t2;
15184 },
15185 ArgumentDeclaration_verify_closure1: function ArgumentDeclaration_verify_closure1() {
15186 },
15187 ArgumentDeclaration_verify_closure2: function ArgumentDeclaration_verify_closure2() {
15188 },
15189 ArgumentInvocation$empty0(span) {
15190 return new A.ArgumentInvocation0(B.List_empty17, B.Map_empty9, null, null, span);
15191 },
15192 ArgumentInvocation0: function ArgumentInvocation0(t0, t1, t2, t3, t4) {
15193 var _ = this;
15194 _.positional = t0;
15195 _.named = t1;
15196 _.rest = t2;
15197 _.keywordRest = t3;
15198 _.span = t4;
15199 },
15200 argumentListClass_closure: function argumentListClass_closure() {
15201 },
15202 argumentListClass__closure: function argumentListClass__closure() {
15203 },
15204 argumentListClass__closure0: function argumentListClass__closure0() {
15205 },
15206 SassArgumentList$0(contents, keywords, separator) {
15207 var t1 = type$.Value_2;
15208 t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
15209 t1.SassList$3$brackets0(contents, separator, false);
15210 return t1;
15211 },
15212 SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
15213 var _ = this;
15214 _._argument_list$_keywords = t0;
15215 _._argument_list$_wereKeywordsAccessed = false;
15216 _._list1$_contents = t1;
15217 _._list1$_separator = t2;
15218 _._list1$_hasBrackets = t3;
15219 },
15220 JSArray1: function JSArray1() {
15221 },
15222 AsyncImporter0: function AsyncImporter0() {
15223 },
15224 NodeToDartAsyncImporter: function NodeToDartAsyncImporter(t0, t1) {
15225 this._async0$_canonicalize = t0;
15226 this._load = t1;
15227 },
15228 AsyncBuiltInCallable$mixin0($name, $arguments, callback, url) {
15229 return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback));
15230 },
15231 AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2) {
15232 this.name = t0;
15233 this._async_built_in0$_arguments = t1;
15234 this._async_built_in0$_callback = t2;
15235 },
15236 AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
15237 this.callback = t0;
15238 },
15239 compileAsync0(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
15240 var $async$goto = 0,
15241 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15242 $async$returnValue, terseLogger, t1, t2, t3, stylesheet, t4, result;
15243 var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15244 if ($async$errorCode === 1)
15245 return A._asyncRethrow($async$result, $async$completer);
15246 while (true)
15247 switch ($async$goto) {
15248 case 0:
15249 // Function start
15250 if (!verbose) {
15251 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
15252 logger = terseLogger;
15253 } else
15254 terseLogger = null;
15255 t1 = nodeImporter == null;
15256 if (t1)
15257 t2 = syntax == null || syntax === A.Syntax_forPath0(path);
15258 else
15259 t2 = false;
15260 $async$goto = t2 ? 3 : 5;
15261 break;
15262 case 3:
15263 // then
15264 if (importCache == null)
15265 importCache = A.AsyncImportCache$none(logger);
15266 t2 = $.$get$context();
15267 t3 = t2.absolute$7(".", null, null, null, null, null, null);
15268 $async$goto = 6;
15269 return A._asyncAwait(importCache.importCanonical$3$originalUrl(new A.FilesystemImporter0(t3), t2.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath0(t2.absolute$7(t2.normalize$1(path), null, null, null, null, null, null)) : t2.canonicalize$1(0, path)), t2.toUri$1(path)), $async$compileAsync0);
15270 case 6:
15271 // returning from await.
15272 t3 = $async$result;
15273 t3.toString;
15274 stylesheet = t3;
15275 // goto join
15276 $async$goto = 4;
15277 break;
15278 case 5:
15279 // else
15280 t2 = A.readFile0(path);
15281 t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
15282 t4 = $.$get$context();
15283 stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
15284 t2 = t4;
15285 case 4:
15286 // join
15287 $async$goto = 7;
15288 return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, new A.FilesystemImporter0(t2.absolute$7(".", null, null, null, null, null, null)), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileAsync0);
15289 case 7:
15290 // returning from await.
15291 result = $async$result;
15292 if (terseLogger != null)
15293 terseLogger.summarize$1$node(!t1);
15294 $async$returnValue = result;
15295 // goto return
15296 $async$goto = 1;
15297 break;
15298 case 1:
15299 // return
15300 return A._asyncReturn($async$returnValue, $async$completer);
15301 }
15302 });
15303 return A._asyncStartSync($async$compileAsync0, $async$completer);
15304 },
15305 compileStringAsync0(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
15306 var $async$goto = 0,
15307 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15308 $async$returnValue, terseLogger, stylesheet, result;
15309 var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15310 if ($async$errorCode === 1)
15311 return A._asyncRethrow($async$result, $async$completer);
15312 while (true)
15313 switch ($async$goto) {
15314 case 0:
15315 // Function start
15316 if (!verbose) {
15317 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
15318 logger = terseLogger;
15319 } else
15320 terseLogger = null;
15321 stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS0 : syntax, logger, url);
15322 $async$goto = 3;
15323 return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer == null ? new A.FilesystemImporter0($.$get$context().absolute$7(".", null, null, null, null, null, null)) : importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
15324 case 3:
15325 // returning from await.
15326 result = $async$result;
15327 if (terseLogger != null)
15328 terseLogger.summarize$1$node(nodeImporter != null);
15329 $async$returnValue = result;
15330 // goto return
15331 $async$goto = 1;
15332 break;
15333 case 1:
15334 // return
15335 return A._asyncReturn($async$returnValue, $async$completer);
15336 }
15337 });
15338 return A._asyncStartSync($async$compileStringAsync0, $async$completer);
15339 },
15340 _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
15341 var $async$goto = 0,
15342 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15343 $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
15344 var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15345 if ($async$errorCode === 1)
15346 return A._asyncRethrow($async$result, $async$completer);
15347 while (true)
15348 switch ($async$goto) {
15349 case 0:
15350 // Function start
15351 $async$goto = 3;
15352 return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
15353 case 3:
15354 // returning from await.
15355 evaluateResult = $async$result;
15356 serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces);
15357 resultSourceMap = serializeResult.sourceMap;
15358 if (resultSourceMap != null && importCache != null)
15359 A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
15360 $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
15361 // goto return
15362 $async$goto = 1;
15363 break;
15364 case 1:
15365 // return
15366 return A._asyncReturn($async$returnValue, $async$completer);
15367 }
15368 });
15369 return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
15370 },
15371 _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
15372 this.stylesheet = t0;
15373 this.importCache = t1;
15374 },
15375 AsyncEnvironment$0() {
15376 var t1 = type$.String,
15377 t2 = type$.Module_AsyncCallable_2,
15378 t3 = type$.AstNode_2,
15379 t4 = type$.int,
15380 t5 = type$.AsyncCallable_2,
15381 t6 = type$.JSArray_Map_String_AsyncCallable_2;
15382 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);
15383 },
15384 AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
15385 var t1 = type$.String,
15386 t2 = type$.int;
15387 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);
15388 },
15389 _EnvironmentModule__EnvironmentModule2(environment, css, extensionStore, forwarded) {
15390 var t1, t2, t3, t4, t5, t6;
15391 if (forwarded == null)
15392 forwarded = B.Set_empty3;
15393 t1 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
15394 t2 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure17(), type$.Map_String_Value_2), type$.Value_2);
15395 t3 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure18(), type$.Map_String_AstNode_2), type$.AstNode_2);
15396 t4 = type$.Map_String_AsyncCallable_2;
15397 t5 = type$.AsyncCallable_2;
15398 t6 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure19(), t4), t5);
15399 t5 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure20(), t4), t5);
15400 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure21());
15401 return A._EnvironmentModule$_2(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure22()));
15402 },
15403 _EnvironmentModule__makeModulesByVariable2(forwarded) {
15404 var modulesByVariable, t1, t2, t3, t4, t5;
15405 if (forwarded.get$isEmpty(forwarded))
15406 return B.Map_empty10;
15407 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
15408 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
15409 t2 = t1.get$current(t1);
15410 if (t2 instanceof A._EnvironmentModule2) {
15411 for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
15412 t4 = t3.get$current(t3);
15413 t5 = t4.get$variables();
15414 A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
15415 }
15416 A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
15417 } else {
15418 t3 = t2.get$variables();
15419 A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
15420 }
15421 }
15422 return modulesByVariable;
15423 },
15424 _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
15425 var t1, t2, t3;
15426 localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
15427 if (otherMaps.get$isEmpty(otherMaps))
15428 return localMap;
15429 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
15430 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
15431 t3 = t2.get$current(t2);
15432 if (t3.get$isNotEmpty(t3))
15433 t1.push(t3);
15434 }
15435 t1.push(localMap);
15436 if (t1.length === 1)
15437 return localMap;
15438 return A.MergedMapView$0(t1, type$.String, $V);
15439 },
15440 _EnvironmentModule$_2(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
15441 return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
15442 },
15443 AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
15444 var _ = this;
15445 _._async_environment0$_modules = t0;
15446 _._async_environment0$_namespaceNodes = t1;
15447 _._async_environment0$_globalModules = t2;
15448 _._async_environment0$_importedModules = t3;
15449 _._async_environment0$_forwardedModules = t4;
15450 _._async_environment0$_nestedForwardedModules = t5;
15451 _._async_environment0$_allModules = t6;
15452 _._async_environment0$_variables = t7;
15453 _._async_environment0$_variableNodes = t8;
15454 _._async_environment0$_variableIndices = t9;
15455 _._async_environment0$_functions = t10;
15456 _._async_environment0$_functionIndices = t11;
15457 _._async_environment0$_mixins = t12;
15458 _._async_environment0$_mixinIndices = t13;
15459 _._async_environment0$_content = t14;
15460 _._async_environment0$_inMixin = false;
15461 _._async_environment0$_inSemiGlobalScope = true;
15462 _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
15463 },
15464 AsyncEnvironment_importForwards_closure2: function AsyncEnvironment_importForwards_closure2() {
15465 },
15466 AsyncEnvironment_importForwards_closure3: function AsyncEnvironment_importForwards_closure3() {
15467 },
15468 AsyncEnvironment_importForwards_closure4: function AsyncEnvironment_importForwards_closure4() {
15469 },
15470 AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
15471 this.name = t0;
15472 },
15473 AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
15474 this.$this = t0;
15475 this.name = t1;
15476 },
15477 AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
15478 this.name = t0;
15479 },
15480 AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
15481 this.$this = t0;
15482 this.name = t1;
15483 },
15484 AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
15485 this.name = t0;
15486 },
15487 AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
15488 this.name = t0;
15489 },
15490 AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
15491 },
15492 AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
15493 },
15494 AsyncEnvironment__fromOneModule_closure0: function AsyncEnvironment__fromOneModule_closure0(t0, t1) {
15495 this.callback = t0;
15496 this.T = t1;
15497 },
15498 AsyncEnvironment__fromOneModule__closure0: function AsyncEnvironment__fromOneModule__closure0(t0, t1) {
15499 this.entry = t0;
15500 this.T = t1;
15501 },
15502 _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
15503 var _ = this;
15504 _.upstream = t0;
15505 _.variables = t1;
15506 _.variableNodes = t2;
15507 _.functions = t3;
15508 _.mixins = t4;
15509 _.extensionStore = t5;
15510 _.css = t6;
15511 _.transitivelyContainsCss = t7;
15512 _.transitivelyContainsExtensions = t8;
15513 _._async_environment0$_environment = t9;
15514 _._async_environment0$_modulesByVariable = t10;
15515 },
15516 _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
15517 },
15518 _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
15519 },
15520 _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
15521 },
15522 _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
15523 },
15524 _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
15525 },
15526 _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
15527 },
15528 _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
15529 var t4,
15530 t1 = type$.Uri,
15531 t2 = type$.Module_AsyncCallable_2,
15532 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
15533 if (nodeImporter == null)
15534 t4 = importCache == null ? A.AsyncImportCache$none(logger) : importCache;
15535 else
15536 t4 = null;
15537 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$.AstNode_2), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Tuple2_String_SourceSpan), quietDeps, sourceMap, A.AsyncEnvironment$0(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode_2), t3, B.Configuration_Map_empty0);
15538 t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
15539 return t1;
15540 },
15541 _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
15542 var _ = this;
15543 _._async_evaluate0$_importCache = t0;
15544 _._async_evaluate0$_nodeImporter = t1;
15545 _._async_evaluate0$_builtInFunctions = t2;
15546 _._async_evaluate0$_builtInModules = t3;
15547 _._async_evaluate0$_modules = t4;
15548 _._async_evaluate0$_moduleNodes = t5;
15549 _._async_evaluate0$_logger = t6;
15550 _._async_evaluate0$_warningsEmitted = t7;
15551 _._async_evaluate0$_quietDeps = t8;
15552 _._async_evaluate0$_sourceMap = t9;
15553 _._async_evaluate0$_environment = t10;
15554 _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
15555 _._async_evaluate0$_member = "root stylesheet";
15556 _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = _._async_evaluate0$_currentCallable = null;
15557 _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
15558 _._async_evaluate0$_loadedUrls = t11;
15559 _._async_evaluate0$_activeModules = t12;
15560 _._async_evaluate0$_stack = t13;
15561 _._async_evaluate0$_importer = null;
15562 _._async_evaluate0$_inDependency = false;
15563 _._async_evaluate0$__extensionStore = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
15564 _._async_evaluate0$_configuration = t14;
15565 },
15566 _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
15567 this.$this = t0;
15568 },
15569 _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
15570 this.$this = t0;
15571 },
15572 _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
15573 this.$this = t0;
15574 },
15575 _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
15576 this.$this = t0;
15577 },
15578 _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
15579 this.$this = t0;
15580 },
15581 _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
15582 this.$this = t0;
15583 },
15584 _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
15585 this.$this = t0;
15586 },
15587 _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
15588 this.$this = t0;
15589 },
15590 _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
15591 this.$this = t0;
15592 this.name = t1;
15593 this.module = t2;
15594 },
15595 _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
15596 this.$this = t0;
15597 },
15598 _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
15599 this.$this = t0;
15600 },
15601 _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0, t1, t2) {
15602 this.values = t0;
15603 this.span = t1;
15604 this.callableNode = t2;
15605 },
15606 _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0) {
15607 this.$this = t0;
15608 },
15609 _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
15610 this.$this = t0;
15611 this.node = t1;
15612 this.importer = t2;
15613 },
15614 _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
15615 this.callback = t0;
15616 this.builtInModule = t1;
15617 },
15618 _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
15619 var _ = this;
15620 _.$this = t0;
15621 _.url = t1;
15622 _.nodeWithSpan = t2;
15623 _.baseUrl = t3;
15624 _.namesInErrors = t4;
15625 _.configuration = t5;
15626 _.callback = t6;
15627 },
15628 _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1) {
15629 this.$this = t0;
15630 this.message = t1;
15631 },
15632 _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5) {
15633 var _ = this;
15634 _.$this = t0;
15635 _.importer = t1;
15636 _.stylesheet = t2;
15637 _.extensionStore = t3;
15638 _.configuration = t4;
15639 _.css = t5;
15640 },
15641 _EvaluateVisitor__combineCss_closure8: function _EvaluateVisitor__combineCss_closure8() {
15642 },
15643 _EvaluateVisitor__combineCss_closure9: function _EvaluateVisitor__combineCss_closure9(t0) {
15644 this.selectors = t0;
15645 },
15646 _EvaluateVisitor__combineCss_closure10: function _EvaluateVisitor__combineCss_closure10() {
15647 },
15648 _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
15649 this.originalSelectors = t0;
15650 },
15651 _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
15652 },
15653 _EvaluateVisitor__topologicalModules_visitModule2: function _EvaluateVisitor__topologicalModules_visitModule2(t0, t1) {
15654 this.seen = t0;
15655 this.sorted = t1;
15656 },
15657 _EvaluateVisitor_visitAtRootRule_closure8: function _EvaluateVisitor_visitAtRootRule_closure8(t0, t1) {
15658 this.$this = t0;
15659 this.resolved = t1;
15660 },
15661 _EvaluateVisitor_visitAtRootRule_closure9: function _EvaluateVisitor_visitAtRootRule_closure9(t0, t1) {
15662 this.$this = t0;
15663 this.node = t1;
15664 },
15665 _EvaluateVisitor_visitAtRootRule_closure10: function _EvaluateVisitor_visitAtRootRule_closure10(t0, t1) {
15666 this.$this = t0;
15667 this.node = t1;
15668 },
15669 _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
15670 this.$this = t0;
15671 this.newParent = t1;
15672 this.node = t2;
15673 },
15674 _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
15675 this.$this = t0;
15676 this.innerScope = t1;
15677 },
15678 _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
15679 this.$this = t0;
15680 this.innerScope = t1;
15681 },
15682 _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
15683 this.innerScope = t0;
15684 this.callback = t1;
15685 },
15686 _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
15687 this.$this = t0;
15688 this.innerScope = t1;
15689 },
15690 _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
15691 },
15692 _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
15693 this.$this = t0;
15694 this.innerScope = t1;
15695 },
15696 _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
15697 this.$this = t0;
15698 this.content = t1;
15699 },
15700 _EvaluateVisitor_visitDeclaration_closure5: function _EvaluateVisitor_visitDeclaration_closure5(t0) {
15701 this.$this = t0;
15702 },
15703 _EvaluateVisitor_visitDeclaration_closure6: function _EvaluateVisitor_visitDeclaration_closure6(t0, t1) {
15704 this.$this = t0;
15705 this.children = t1;
15706 },
15707 _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
15708 this.$this = t0;
15709 this.node = t1;
15710 this.nodeWithSpan = t2;
15711 },
15712 _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
15713 this.$this = t0;
15714 this.node = t1;
15715 this.nodeWithSpan = t2;
15716 },
15717 _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
15718 var _ = this;
15719 _.$this = t0;
15720 _.list = t1;
15721 _.setVariables = t2;
15722 _.node = t3;
15723 },
15724 _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
15725 this.$this = t0;
15726 this.setVariables = t1;
15727 this.node = t2;
15728 },
15729 _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
15730 this.$this = t0;
15731 },
15732 _EvaluateVisitor_visitExtendRule_closure2: function _EvaluateVisitor_visitExtendRule_closure2(t0, t1) {
15733 this.$this = t0;
15734 this.targetText = t1;
15735 },
15736 _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
15737 this.$this = t0;
15738 },
15739 _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1) {
15740 this.$this = t0;
15741 this.children = t1;
15742 },
15743 _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
15744 this.$this = t0;
15745 this.children = t1;
15746 },
15747 _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
15748 },
15749 _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
15750 this.$this = t0;
15751 this.node = t1;
15752 },
15753 _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
15754 this.$this = t0;
15755 this.node = t1;
15756 },
15757 _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
15758 this.fromNumber = t0;
15759 },
15760 _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
15761 this.toNumber = t0;
15762 this.fromNumber = t1;
15763 },
15764 _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
15765 var _ = this;
15766 _._box_0 = t0;
15767 _.$this = t1;
15768 _.node = t2;
15769 _.from = t3;
15770 _.direction = t4;
15771 _.fromNumber = t5;
15772 },
15773 _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
15774 this.$this = t0;
15775 },
15776 _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
15777 this.$this = t0;
15778 this.node = t1;
15779 },
15780 _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
15781 this.$this = t0;
15782 this.node = t1;
15783 },
15784 _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0, t1) {
15785 this._box_0 = t0;
15786 this.$this = t1;
15787 },
15788 _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0) {
15789 this.$this = t0;
15790 },
15791 _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
15792 this.$this = t0;
15793 this.$import = t1;
15794 },
15795 _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
15796 this.$this = t0;
15797 },
15798 _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
15799 },
15800 _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
15801 },
15802 _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4, t5) {
15803 var _ = this;
15804 _.$this = t0;
15805 _.result = t1;
15806 _.stylesheet = t2;
15807 _.loadsUserDefinedModules = t3;
15808 _.environment = t4;
15809 _.children = t5;
15810 },
15811 _EvaluateVisitor__visitStaticImport_closure2: function _EvaluateVisitor__visitStaticImport_closure2(t0) {
15812 this.$this = t0;
15813 },
15814 _EvaluateVisitor_visitIncludeRule_closure11: function _EvaluateVisitor_visitIncludeRule_closure11(t0, t1) {
15815 this.$this = t0;
15816 this.node = t1;
15817 },
15818 _EvaluateVisitor_visitIncludeRule_closure12: function _EvaluateVisitor_visitIncludeRule_closure12(t0) {
15819 this.node = t0;
15820 },
15821 _EvaluateVisitor_visitIncludeRule_closure14: function _EvaluateVisitor_visitIncludeRule_closure14(t0) {
15822 this.$this = t0;
15823 },
15824 _EvaluateVisitor_visitIncludeRule_closure13: function _EvaluateVisitor_visitIncludeRule_closure13(t0, t1, t2, t3) {
15825 var _ = this;
15826 _.$this = t0;
15827 _.contentCallable = t1;
15828 _.mixin = t2;
15829 _.nodeWithSpan = t3;
15830 },
15831 _EvaluateVisitor_visitIncludeRule__closure2: function _EvaluateVisitor_visitIncludeRule__closure2(t0, t1, t2) {
15832 this.$this = t0;
15833 this.mixin = t1;
15834 this.nodeWithSpan = t2;
15835 },
15836 _EvaluateVisitor_visitIncludeRule___closure2: function _EvaluateVisitor_visitIncludeRule___closure2(t0, t1, t2) {
15837 this.$this = t0;
15838 this.mixin = t1;
15839 this.nodeWithSpan = t2;
15840 },
15841 _EvaluateVisitor_visitIncludeRule____closure2: function _EvaluateVisitor_visitIncludeRule____closure2(t0, t1) {
15842 this.$this = t0;
15843 this.statement = t1;
15844 },
15845 _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
15846 this.$this = t0;
15847 this.queries = t1;
15848 },
15849 _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3) {
15850 var _ = this;
15851 _.$this = t0;
15852 _.mergedQueries = t1;
15853 _.queries = t2;
15854 _.node = t3;
15855 },
15856 _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
15857 this.$this = t0;
15858 this.node = t1;
15859 },
15860 _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
15861 this.$this = t0;
15862 this.node = t1;
15863 },
15864 _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
15865 this.mergedQueries = t0;
15866 },
15867 _EvaluateVisitor__visitMediaQueries_closure2: function _EvaluateVisitor__visitMediaQueries_closure2(t0, t1) {
15868 this.$this = t0;
15869 this.resolved = t1;
15870 },
15871 _EvaluateVisitor_visitStyleRule_closure20: function _EvaluateVisitor_visitStyleRule_closure20(t0, t1) {
15872 this.$this = t0;
15873 this.selectorText = t1;
15874 },
15875 _EvaluateVisitor_visitStyleRule_closure21: function _EvaluateVisitor_visitStyleRule_closure21(t0, t1) {
15876 this.$this = t0;
15877 this.node = t1;
15878 },
15879 _EvaluateVisitor_visitStyleRule_closure22: function _EvaluateVisitor_visitStyleRule_closure22() {
15880 },
15881 _EvaluateVisitor_visitStyleRule_closure23: function _EvaluateVisitor_visitStyleRule_closure23(t0, t1) {
15882 this.$this = t0;
15883 this.selectorText = t1;
15884 },
15885 _EvaluateVisitor_visitStyleRule_closure24: function _EvaluateVisitor_visitStyleRule_closure24(t0, t1) {
15886 this._box_0 = t0;
15887 this.$this = t1;
15888 },
15889 _EvaluateVisitor_visitStyleRule_closure25: function _EvaluateVisitor_visitStyleRule_closure25(t0, t1, t2) {
15890 this.$this = t0;
15891 this.rule = t1;
15892 this.node = t2;
15893 },
15894 _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
15895 this.$this = t0;
15896 this.node = t1;
15897 },
15898 _EvaluateVisitor_visitStyleRule_closure26: function _EvaluateVisitor_visitStyleRule_closure26() {
15899 },
15900 _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
15901 this.$this = t0;
15902 this.node = t1;
15903 },
15904 _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
15905 this.$this = t0;
15906 this.node = t1;
15907 },
15908 _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
15909 },
15910 _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
15911 this.$this = t0;
15912 this.node = t1;
15913 this.override = t2;
15914 },
15915 _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
15916 this.$this = t0;
15917 this.node = t1;
15918 },
15919 _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
15920 this.$this = t0;
15921 this.node = t1;
15922 this.value = t2;
15923 },
15924 _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
15925 this.$this = t0;
15926 this.node = t1;
15927 },
15928 _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
15929 this.$this = t0;
15930 this.node = t1;
15931 },
15932 _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
15933 this.$this = t0;
15934 this.node = t1;
15935 },
15936 _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
15937 this.$this = t0;
15938 },
15939 _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
15940 this.$this = t0;
15941 this.node = t1;
15942 },
15943 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2() {
15944 },
15945 _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
15946 this.$this = t0;
15947 this.node = t1;
15948 },
15949 _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
15950 this.node = t0;
15951 this.operand = t1;
15952 },
15953 _EvaluateVisitor__visitCalculationValue_closure2: function _EvaluateVisitor__visitCalculationValue_closure2(t0, t1, t2) {
15954 this.$this = t0;
15955 this.node = t1;
15956 this.inMinMax = t2;
15957 },
15958 _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
15959 this.$this = t0;
15960 },
15961 _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
15962 this.$this = t0;
15963 this.node = t1;
15964 },
15965 _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6(t0, t1, t2) {
15966 this._box_0 = t0;
15967 this.$this = t1;
15968 this.node = t2;
15969 },
15970 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
15971 this.$this = t0;
15972 this.node = t1;
15973 this.$function = t2;
15974 },
15975 _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
15976 var _ = this;
15977 _.$this = t0;
15978 _.callable = t1;
15979 _.evaluated = t2;
15980 _.nodeWithSpan = t3;
15981 _.run = t4;
15982 _.V = t5;
15983 },
15984 _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
15985 var _ = this;
15986 _.$this = t0;
15987 _.evaluated = t1;
15988 _.callable = t2;
15989 _.nodeWithSpan = t3;
15990 _.run = t4;
15991 _.V = t5;
15992 },
15993 _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
15994 var _ = this;
15995 _.$this = t0;
15996 _.evaluated = t1;
15997 _.callable = t2;
15998 _.nodeWithSpan = t3;
15999 _.run = t4;
16000 _.V = t5;
16001 },
16002 _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
16003 },
16004 _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
16005 this.$this = t0;
16006 this.callable = t1;
16007 },
16008 _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
16009 this.overload = t0;
16010 this.evaluated = t1;
16011 this.namedSet = t2;
16012 },
16013 _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6() {
16014 },
16015 _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
16016 },
16017 _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
16018 this.$this = t0;
16019 this.restNodeForSpan = t1;
16020 },
16021 _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
16022 var _ = this;
16023 _.$this = t0;
16024 _.named = t1;
16025 _.restNodeForSpan = t2;
16026 _.namedNodes = t3;
16027 },
16028 _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
16029 },
16030 _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
16031 this.restArgs = t0;
16032 },
16033 _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
16034 this.$this = t0;
16035 this.restNodeForSpan = t1;
16036 this.restArgs = t2;
16037 },
16038 _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
16039 var _ = this;
16040 _.$this = t0;
16041 _.named = t1;
16042 _.restNodeForSpan = t2;
16043 _.restArgs = t3;
16044 },
16045 _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
16046 this.$this = t0;
16047 this.keywordRestNodeForSpan = t1;
16048 this.keywordRestArgs = t2;
16049 },
16050 _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
16051 var _ = this;
16052 _.$this = t0;
16053 _.values = t1;
16054 _.convert = t2;
16055 _.expressionNode = t3;
16056 _.map = t4;
16057 _.nodeWithSpan = t5;
16058 },
16059 _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
16060 this.$arguments = t0;
16061 this.positional = t1;
16062 this.named = t2;
16063 },
16064 _EvaluateVisitor_visitStringExpression_closure2: function _EvaluateVisitor_visitStringExpression_closure2(t0) {
16065 this.$this = t0;
16066 },
16067 _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
16068 this.$this = t0;
16069 this.node = t1;
16070 },
16071 _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
16072 },
16073 _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
16074 this.$this = t0;
16075 this.node = t1;
16076 },
16077 _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
16078 },
16079 _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
16080 this.$this = t0;
16081 this.node = t1;
16082 },
16083 _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2) {
16084 this.$this = t0;
16085 this.mergedQueries = t1;
16086 this.node = t2;
16087 },
16088 _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
16089 this.$this = t0;
16090 this.node = t1;
16091 },
16092 _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
16093 this.$this = t0;
16094 this.node = t1;
16095 },
16096 _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
16097 this.mergedQueries = t0;
16098 },
16099 _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5(t0, t1, t2) {
16100 this.$this = t0;
16101 this.rule = t1;
16102 this.node = t2;
16103 },
16104 _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
16105 this.$this = t0;
16106 this.node = t1;
16107 },
16108 _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6() {
16109 },
16110 _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
16111 this.$this = t0;
16112 this.node = t1;
16113 },
16114 _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
16115 this.$this = t0;
16116 this.node = t1;
16117 },
16118 _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
16119 },
16120 _EvaluateVisitor__performInterpolation_closure2: function _EvaluateVisitor__performInterpolation_closure2(t0, t1, t2) {
16121 this.$this = t0;
16122 this.warnForColor = t1;
16123 this.interpolation = t2;
16124 },
16125 _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
16126 this.value = t0;
16127 this.quote = t1;
16128 },
16129 _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
16130 this.$this = t0;
16131 this.expression = t1;
16132 },
16133 _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
16134 },
16135 _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
16136 this.$this = t0;
16137 },
16138 _EvaluateVisitor__stackTrace_closure2: function _EvaluateVisitor__stackTrace_closure2(t0) {
16139 this.$this = t0;
16140 },
16141 _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
16142 this._async_evaluate0$_visitor = t0;
16143 },
16144 _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
16145 },
16146 _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
16147 this.hasBeenMerged = t0;
16148 },
16149 _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
16150 },
16151 _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
16152 },
16153 EvaluateResult0: function EvaluateResult0(t0, t1) {
16154 this.stylesheet = t0;
16155 this.loadedUrls = t1;
16156 },
16157 _EvaluationContext2: function _EvaluationContext2(t0, t1) {
16158 this._async_evaluate0$_visitor = t0;
16159 this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
16160 },
16161 _ArgumentResults2: function _ArgumentResults2(t0, t1, t2, t3, t4) {
16162 var _ = this;
16163 _.positional = t0;
16164 _.positionalNodes = t1;
16165 _.named = t2;
16166 _.namedNodes = t3;
16167 _.separator = t4;
16168 },
16169 _LoadedStylesheet2: function _LoadedStylesheet2(t0, t1, t2) {
16170 this.stylesheet = t0;
16171 this.importer = t1;
16172 this.isDependency = t2;
16173 },
16174 NodeToDartAsyncFileImporter: function NodeToDartAsyncFileImporter(t0) {
16175 this._findFileUrl = t0;
16176 },
16177 AsyncImportCache$(importers, loadPaths, logger, packageConfig) {
16178 var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
16179 t2 = type$.Uri,
16180 t3 = A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig);
16181 return new A.AsyncImportCache0(t3, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
16182 },
16183 AsyncImportCache$none(logger) {
16184 var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
16185 t2 = type$.Uri;
16186 return new A.AsyncImportCache0(B.List_empty21, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
16187 },
16188 AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
16189 var t2, t3, _i, path, _null = null,
16190 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
16191 t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
16192 if (importers != null)
16193 B.JSArray_methods.addAll$1(t1, importers);
16194 if (loadPaths != null)
16195 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
16196 t3 = t2.get$current(t2);
16197 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
16198 }
16199 if (sassPath != null) {
16200 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
16201 t3 = t2.length;
16202 _i = 0;
16203 for (; _i < t3; ++_i) {
16204 path = t2[_i];
16205 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
16206 }
16207 }
16208 return t1;
16209 },
16210 AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5) {
16211 var _ = this;
16212 _._async_import_cache0$_importers = t0;
16213 _._async_import_cache0$_logger = t1;
16214 _._async_import_cache0$_canonicalizeCache = t2;
16215 _._async_import_cache0$_relativeCanonicalizeCache = t3;
16216 _._async_import_cache0$_importCache = t4;
16217 _._async_import_cache0$_resultsCache = t5;
16218 },
16219 AsyncImportCache_canonicalize_closure1: function AsyncImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
16220 var _ = this;
16221 _.$this = t0;
16222 _.baseUrl = t1;
16223 _.url = t2;
16224 _.baseImporter = t3;
16225 _.forImport = t4;
16226 },
16227 AsyncImportCache_canonicalize_closure2: function AsyncImportCache_canonicalize_closure2(t0, t1, t2) {
16228 this.$this = t0;
16229 this.url = t1;
16230 this.forImport = t2;
16231 },
16232 AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
16233 this.importer = t0;
16234 this.url = t1;
16235 },
16236 AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
16237 var _ = this;
16238 _.$this = t0;
16239 _.importer = t1;
16240 _.canonicalUrl = t2;
16241 _.originalUrl = t3;
16242 _.quiet = t4;
16243 },
16244 AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
16245 this.canonicalUrl = t0;
16246 },
16247 AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3() {
16248 },
16249 AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
16250 },
16251 AtRootQueryParser0: function AtRootQueryParser0(t0, t1) {
16252 this.scanner = t0;
16253 this.logger = t1;
16254 },
16255 AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
16256 this.$this = t0;
16257 },
16258 AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
16259 var _ = this;
16260 _.include = t0;
16261 _.names = t1;
16262 _._at_root_query0$_all = t2;
16263 _._at_root_query0$_rule = t3;
16264 },
16265 AtRootRule$0(children, span, query) {
16266 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
16267 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
16268 return new A.AtRootRule0(query, span, t1, t2);
16269 },
16270 AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
16271 var _ = this;
16272 _.query = t0;
16273 _.span = t1;
16274 _.children = t2;
16275 _.hasDeclarations = t3;
16276 },
16277 ModifiableCssAtRule$0($name, span, childless, value) {
16278 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
16279 return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
16280 },
16281 ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
16282 var _ = this;
16283 _.name = t0;
16284 _.value = t1;
16285 _.isChildless = t2;
16286 _.span = t3;
16287 _.children = t4;
16288 _._node1$_children = t5;
16289 _._node1$_indexInParent = _._node1$_parent = null;
16290 _.isGroupEnd = false;
16291 },
16292 AtRule$0($name, span, children, value) {
16293 var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
16294 t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
16295 return new A.AtRule0($name, value, span, t1, t2 === true);
16296 },
16297 AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
16298 var _ = this;
16299 _.name = t0;
16300 _.value = t1;
16301 _.span = t2;
16302 _.children = t3;
16303 _.hasDeclarations = t4;
16304 },
16305 AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3) {
16306 var _ = this;
16307 _.name = t0;
16308 _.op = t1;
16309 _.value = t2;
16310 _.modifier = t3;
16311 },
16312 AttributeOperator0: function AttributeOperator0(t0) {
16313 this._attribute0$_text = t0;
16314 },
16315 BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
16316 var _ = this;
16317 _.operator = t0;
16318 _.left = t1;
16319 _.right = t2;
16320 _.allowsSlash = t3;
16321 },
16322 BinaryOperator0: function BinaryOperator0(t0, t1, t2) {
16323 this.name = t0;
16324 this.operator = t1;
16325 this.precedence = t2;
16326 },
16327 BooleanExpression0: function BooleanExpression0(t0, t1) {
16328 this.value = t0;
16329 this.span = t1;
16330 },
16331 legacyBooleanClass_closure: function legacyBooleanClass_closure() {
16332 },
16333 legacyBooleanClass__closure: function legacyBooleanClass__closure() {
16334 },
16335 legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
16336 },
16337 booleanClass_closure: function booleanClass_closure() {
16338 },
16339 booleanClass__closure: function booleanClass__closure() {
16340 },
16341 SassBoolean0: function SassBoolean0(t0) {
16342 this.value = t0;
16343 },
16344 BuiltInCallable$function0($name, $arguments, callback, url) {
16345 return new A.BuiltInCallable0($name, A._setArrayType([new A.Tuple2(A.ScssParser$0("@function " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), callback, type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2));
16346 },
16347 BuiltInCallable$mixin0($name, $arguments, callback, url) {
16348 return new A.BuiltInCallable0($name, A._setArrayType([new A.Tuple2(A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.BuiltInCallable$mixin_closure0(callback), type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2));
16349 },
16350 BuiltInCallable$parsed($name, $arguments, callback) {
16351 return new A.BuiltInCallable0($name, A._setArrayType([new A.Tuple2($arguments, callback, type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2));
16352 },
16353 BuiltInCallable$overloadedFunction0($name, overloads) {
16354 var t2, t3, t4, t5, t6, t7,
16355 t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2);
16356 for (t2 = overloads.get$entries(overloads), t2 = t2.get$iterator(t2), t3 = type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2, t4 = type$.String, t5 = type$.VariableDeclaration_2; t2.moveNext$0();) {
16357 t6 = t2.get$current(t2);
16358 t7 = A.SpanScanner$("@function " + $name + "(" + A.S(t6.key) + ") {", null);
16359 t1.push(new A.Tuple2(new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t7, B.StderrLogger_false0).parseArgumentDeclaration$0(), t6.value, t3));
16360 }
16361 return new A.BuiltInCallable0($name, t1);
16362 },
16363 BuiltInCallable0: function BuiltInCallable0(t0, t1) {
16364 this.name = t0;
16365 this._built_in$_overloads = t1;
16366 },
16367 BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
16368 this.callback = t0;
16369 },
16370 BuiltInModule$0($name, functions, mixins, variables, $T) {
16371 var t1 = A._Uri__Uri(null, $name, null, "sass"),
16372 t2 = A.BuiltInModule__callableMap0(functions, $T),
16373 t3 = A.BuiltInModule__callableMap0(mixins, $T),
16374 t4 = variables == null ? B.Map_empty8 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
16375 return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
16376 },
16377 BuiltInModule__callableMap0(callables, $T) {
16378 var t2, _i, callable,
16379 t1 = type$.String;
16380 if (callables == null)
16381 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
16382 else {
16383 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
16384 for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
16385 callable = callables[_i];
16386 t1.$indexSet(0, J.get$name$x(callable), callable);
16387 }
16388 t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
16389 }
16390 return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
16391 },
16392 BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
16393 var _ = this;
16394 _.url = t0;
16395 _.functions = t1;
16396 _.mixins = t2;
16397 _.variables = t3;
16398 _.$ti = t4;
16399 },
16400 CalculationExpression__verifyArguments0($arguments) {
16401 return A.List_List$unmodifiable(new A.MappedListIterable($arguments, new A.CalculationExpression__verifyArguments_closure0(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Expression_2);
16402 },
16403 CalculationExpression__verify0(expression) {
16404 var t1,
16405 _s29_ = "Invalid calculation argument ";
16406 if (expression instanceof A.NumberExpression0)
16407 return;
16408 if (expression instanceof A.CalculationExpression0)
16409 return;
16410 if (expression instanceof A.VariableExpression0)
16411 return;
16412 if (expression instanceof A.FunctionExpression0)
16413 return;
16414 if (expression instanceof A.IfExpression0)
16415 return;
16416 if (expression instanceof A.StringExpression0) {
16417 if (expression.hasQuotes)
16418 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16419 } else if (expression instanceof A.ParenthesizedExpression0)
16420 A.CalculationExpression__verify0(expression.expression);
16421 else if (expression instanceof A.BinaryOperationExpression0) {
16422 A.CalculationExpression__verify0(expression.left);
16423 A.CalculationExpression__verify0(expression.right);
16424 t1 = expression.operator;
16425 if (t1 === B.BinaryOperator_AcR2)
16426 return;
16427 if (t1 === B.BinaryOperator_iyO0)
16428 return;
16429 if (t1 === B.BinaryOperator_O1M0)
16430 return;
16431 if (t1 === B.BinaryOperator_RTB0)
16432 return;
16433 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16434 } else
16435 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16436 },
16437 CalculationExpression0: function CalculationExpression0(t0, t1, t2) {
16438 this.name = t0;
16439 this.$arguments = t1;
16440 this.span = t2;
16441 },
16442 CalculationExpression__verifyArguments_closure0: function CalculationExpression__verifyArguments_closure0() {
16443 },
16444 SassCalculation_calc0(argument) {
16445 argument = A.SassCalculation__simplify0(argument);
16446 if (argument instanceof A.SassNumber0)
16447 return argument;
16448 if (argument instanceof A.SassCalculation0)
16449 return argument;
16450 return new A.SassCalculation0("calc", A.List_List$unmodifiable([argument], type$.Object));
16451 },
16452 SassCalculation_min0($arguments) {
16453 var minimum, _i, arg, t2,
16454 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
16455 t1 = args.length;
16456 if (t1 === 0)
16457 throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
16458 for (minimum = null, _i = 0; _i < t1; ++_i) {
16459 arg = args[_i];
16460 if (arg instanceof A.SassNumber0)
16461 t2 = minimum != null && !minimum.isComparableTo$1(arg);
16462 else
16463 t2 = true;
16464 if (t2) {
16465 minimum = null;
16466 break;
16467 } else if (minimum == null || minimum.greaterThan$1(arg).value)
16468 minimum = arg;
16469 }
16470 if (minimum != null)
16471 return minimum;
16472 A.SassCalculation__verifyCompatibleNumbers0(args);
16473 return new A.SassCalculation0("min", args);
16474 },
16475 SassCalculation_max0($arguments) {
16476 var maximum, _i, arg, t2,
16477 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
16478 t1 = args.length;
16479 if (t1 === 0)
16480 throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
16481 for (maximum = null, _i = 0; _i < t1; ++_i) {
16482 arg = args[_i];
16483 if (arg instanceof A.SassNumber0)
16484 t2 = maximum != null && !maximum.isComparableTo$1(arg);
16485 else
16486 t2 = true;
16487 if (t2) {
16488 maximum = null;
16489 break;
16490 } else if (maximum == null || maximum.lessThan$1(arg).value)
16491 maximum = arg;
16492 }
16493 if (maximum != null)
16494 return maximum;
16495 A.SassCalculation__verifyCompatibleNumbers0(args);
16496 return new A.SassCalculation0("max", args);
16497 },
16498 SassCalculation_clamp0(min, value, max) {
16499 var t1, args;
16500 if (value == null && max != null)
16501 throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
16502 min = A.SassCalculation__simplify0(min);
16503 value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
16504 max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
16505 if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
16506 if (value.lessThanOrEquals$1(min).value)
16507 return min;
16508 if (value.greaterThanOrEquals$1(max).value)
16509 return max;
16510 return value;
16511 }
16512 t1 = [min];
16513 if (value != null)
16514 t1.push(value);
16515 if (max != null)
16516 t1.push(max);
16517 args = A.List_List$unmodifiable(t1, type$.Object);
16518 A.SassCalculation__verifyCompatibleNumbers0(args);
16519 A.SassCalculation__verifyLength0(args, 3);
16520 return new A.SassCalculation0("clamp", args);
16521 },
16522 SassCalculation_operateInternal0(operator, left, right, inMinMax, simplify) {
16523 var t1, t2;
16524 if (!simplify)
16525 return new A.CalculationOperation0(operator, left, right);
16526 left = A.SassCalculation__simplify0(left);
16527 right = A.SassCalculation__simplify0(right);
16528 t1 = operator === B.CalculationOperator_Iem0;
16529 if (t1 || operator === B.CalculationOperator_uti0) {
16530 if (left instanceof A.SassNumber0)
16531 if (right instanceof A.SassNumber0)
16532 t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
16533 else
16534 t2 = false;
16535 else
16536 t2 = false;
16537 if (t2)
16538 return t1 ? left.plus$1(right) : left.minus$1(right);
16539 A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
16540 if (right instanceof A.SassNumber0) {
16541 t2 = right._number1$_value;
16542 t2 = t2 < 0 && !(Math.abs(t2 - 0) < $.$get$epsilon0());
16543 } else
16544 t2 = false;
16545 if (t2) {
16546 right = right.times$1(new A.UnitlessSassNumber0(-1, null));
16547 operator = t1 ? B.CalculationOperator_uti0 : B.CalculationOperator_Iem0;
16548 }
16549 return new A.CalculationOperation0(operator, left, right);
16550 } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
16551 return operator === B.CalculationOperator_Dih0 ? left.times$1(right) : left.dividedBy$1(right);
16552 else
16553 return new A.CalculationOperation0(operator, left, right);
16554 },
16555 SassCalculation__simplify0(arg) {
16556 var _s32_ = " can't be used in a calculation.";
16557 if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationInterpolation0 || arg instanceof A.CalculationOperation0)
16558 return arg;
16559 else if (arg instanceof A.SassString0) {
16560 if (!arg._string0$_hasQuotes)
16561 return arg;
16562 throw A.wrapException(A.SassCalculation__exception0("Quoted string " + arg.toString$0(0) + _s32_));
16563 } else if (arg instanceof A.SassCalculation0)
16564 return arg.name === "calc" ? arg.$arguments[0] : arg;
16565 else if (arg instanceof A.Value0)
16566 throw A.wrapException(A.SassCalculation__exception0("Value " + arg.toString$0(0) + _s32_));
16567 else
16568 throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
16569 },
16570 SassCalculation__verifyCompatibleNumbers0(args) {
16571 var t1, _i, t2, arg, i, number1, j, number2;
16572 for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
16573 arg = args[_i];
16574 if (!(arg instanceof A.SassNumber0))
16575 continue;
16576 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
16577 throw A.wrapException(A.SassCalculation__exception0("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations."));
16578 }
16579 for (t1 = t2, i = 0; i < t1 - 1; ++i) {
16580 number1 = args[i];
16581 if (!(number1 instanceof A.SassNumber0))
16582 continue;
16583 for (j = i + 1; t1 = args.length, j < t1; ++j) {
16584 number2 = args[j];
16585 if (!(number2 instanceof A.SassNumber0))
16586 continue;
16587 if (number1.hasPossiblyCompatibleUnits$1(number2))
16588 continue;
16589 throw A.wrapException(A.SassCalculation__exception0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible."));
16590 }
16591 }
16592 },
16593 SassCalculation__verifyLength0(args, expectedLength) {
16594 var t1 = args.length;
16595 if (t1 === expectedLength)
16596 return;
16597 if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
16598 return;
16599 throw A.wrapException(A.SassCalculation__exception0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed."));
16600 },
16601 SassCalculation__exception0(message) {
16602 return new A.SassScriptException0(message);
16603 },
16604 SassCalculation0: function SassCalculation0(t0, t1) {
16605 this.name = t0;
16606 this.$arguments = t1;
16607 },
16608 SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
16609 },
16610 CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
16611 this.operator = t0;
16612 this.left = t1;
16613 this.right = t2;
16614 },
16615 CalculationOperator0: function CalculationOperator0(t0, t1, t2) {
16616 this.name = t0;
16617 this.operator = t1;
16618 this.precedence = t2;
16619 },
16620 CalculationInterpolation0: function CalculationInterpolation0(t0) {
16621 this.value = t0;
16622 },
16623 CallableDeclaration0: function CallableDeclaration0() {
16624 },
16625 Chokidar0: function Chokidar0() {
16626 },
16627 ChokidarOptions0: function ChokidarOptions0() {
16628 },
16629 ChokidarWatcher0: function ChokidarWatcher0() {
16630 },
16631 ClassSelector0: function ClassSelector0(t0) {
16632 this.name = t0;
16633 },
16634 cloneCssStylesheet0(stylesheet, extensionStore) {
16635 var result = extensionStore.clone$0();
16636 return new A.Tuple2(new A._CloneCssVisitor0(result.item2)._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(stylesheet.get$span(stylesheet)), stylesheet), result.item1, type$.Tuple2_ModifiableCssStylesheet_ExtensionStore_2);
16637 },
16638 _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
16639 this._clone_css$_oldToNewSelectors = t0;
16640 },
16641 ColorExpression0: function ColorExpression0(t0, t1) {
16642 this.value = t0;
16643 this.span = t1;
16644 },
16645 _updateComponents0($arguments, adjust, change, scale) {
16646 var keywords, alpha, red, green, blue, hueNumber, t2, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t3, t4, _null = null,
16647 t1 = J.getInterceptor$asx($arguments),
16648 color = t1.$index($arguments, 0).assertColor$1("color"),
16649 argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
16650 if (argumentList._list1$_contents.length !== 0)
16651 throw A.wrapException(A.SassScriptException$0(string$.Only_op));
16652 argumentList._argument_list$_wereKeywordsAccessed = true;
16653 keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, type$.String, type$.Value_2);
16654 t1 = new A._updateComponents_getParam0(keywords, scale, change);
16655 alpha = t1.call$2("alpha", 1);
16656 red = t1.call$2("red", 255);
16657 green = t1.call$2("green", 255);
16658 blue = t1.call$2("blue", 255);
16659 if (scale)
16660 hueNumber = _null;
16661 else {
16662 t2 = keywords.remove$1(0, "hue");
16663 hueNumber = t2 == null ? _null : t2.assertNumber$1("hue");
16664 }
16665 t2 = hueNumber == null;
16666 if (!t2)
16667 A._checkAngle0(hueNumber, "hue");
16668 hue = t2 ? _null : hueNumber._number1$_value;
16669 saturation = t1.call$3$checkPercent("saturation", 100, true);
16670 lightness = t1.call$3$checkPercent("lightness", 100, true);
16671 whiteness = t1.call$3$assertPercent("whiteness", 100, true);
16672 blackness = t1.call$3$assertPercent("blackness", 100, true);
16673 if (keywords.get$isNotEmpty(keywords))
16674 throw A.wrapException(A.SassScriptException$0("No " + A.pluralize0("argument", keywords.get$length(keywords), _null) + " named " + A.S(A.toSentence0(keywords.get$keys(keywords).map$1$1(0, new A._updateComponents_closure0(), type$.Object), "or")) + "."));
16675 hasRgb = red != null || green != null || blue != null;
16676 hasSL = saturation != null || lightness != null;
16677 hasWB = whiteness != null || blackness != null;
16678 if (hasRgb)
16679 t1 = hasSL || hasWB || hue != null;
16680 else
16681 t1 = false;
16682 if (t1)
16683 throw A.wrapException(A.SassScriptException$0(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters."));
16684 if (hasSL && hasWB)
16685 throw A.wrapException(A.SassScriptException$0(string$.HSL_pa));
16686 t1 = new A._updateComponents_updateValue0(change, adjust);
16687 t2 = new A._updateComponents_updateRgb0(t1);
16688 if (hasRgb) {
16689 t3 = t2.call$2(color.get$red(color), red);
16690 t4 = t2.call$2(color.get$green(color), green);
16691 t2 = t2.call$2(color.get$blue(color), blue);
16692 return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
16693 } else if (hasWB) {
16694 if (change)
16695 t2 = hue;
16696 else {
16697 t2 = color.get$hue(color);
16698 t2 += hue == null ? 0 : hue;
16699 }
16700 t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
16701 t4 = t1.call$3(color.get$blackness(color), blackness, 100);
16702 return color.changeHwb$4$alpha$blackness$hue$whiteness(t1.call$3(color._color1$_alpha, alpha, 1), t4, t2, t3);
16703 } else {
16704 t2 = hue == null;
16705 if (!t2 || hasSL) {
16706 if (change)
16707 t2 = hue;
16708 else {
16709 t3 = color.get$hue(color);
16710 t3 += t2 ? 0 : hue;
16711 t2 = t3;
16712 }
16713 t3 = t1.call$3(color.get$saturation(color), saturation, 100);
16714 t4 = t1.call$3(color.get$lightness(color), lightness, 100);
16715 return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
16716 } else if (alpha != null)
16717 return color.changeAlpha$1(t1.call$3(color._color1$_alpha, alpha, 1));
16718 else
16719 return color;
16720 }
16721 },
16722 _functionString0($name, $arguments) {
16723 return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
16724 },
16725 _removedColorFunction0($name, argument, negative) {
16726 return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
16727 },
16728 _rgb0($name, $arguments) {
16729 var t2, red, green, blue,
16730 t1 = J.getInterceptor$asx($arguments),
16731 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
16732 if (!t1.$index($arguments, 0).get$isSpecialNumber())
16733 if (!t1.$index($arguments, 1).get$isSpecialNumber())
16734 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
16735 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
16736 t2 = t2 === true;
16737 } else
16738 t2 = true;
16739 else
16740 t2 = true;
16741 else
16742 t2 = true;
16743 if (t2)
16744 return A._functionString0($name, $arguments);
16745 red = t1.$index($arguments, 0).assertNumber$1("red");
16746 green = t1.$index($arguments, 1).assertNumber$1("green");
16747 blue = t1.$index($arguments, 2).assertNumber$1("blue");
16748 return A.SassColor$rgbInternal0(A.fuzzyRound0(A._percentageOrUnitless0(red, 255, "red")), A.fuzzyRound0(A._percentageOrUnitless0(green, 255, "green")), A.fuzzyRound0(A._percentageOrUnitless0(blue, 255, "blue")), A.NullableExtension_andThen0(alpha, new A._rgb_closure0()), B._ColorFormatEnum_rgbFunction0);
16749 },
16750 _rgbTwoArg0($name, $arguments) {
16751 var first, color,
16752 t1 = J.getInterceptor$asx($arguments);
16753 if (t1.$index($arguments, 0).get$isVar())
16754 return A._functionString0($name, $arguments);
16755 else if (t1.$index($arguments, 1).get$isVar()) {
16756 first = t1.$index($arguments, 0);
16757 if (first instanceof A.SassColor0)
16758 return new A.SassString0($name + "(" + first.get$red(first) + ", " + first.get$green(first) + ", " + first.get$blue(first) + ", " + A.serializeValue0(t1.$index($arguments, 1), false, true) + ")", false);
16759 else
16760 return A._functionString0($name, $arguments);
16761 } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
16762 color = t1.$index($arguments, 0).assertColor$1("color");
16763 return new A.SassString0($name + "(" + color.get$red(color) + ", " + color.get$green(color) + ", " + color.get$blue(color) + ", " + A.serializeValue0(t1.$index($arguments, 1), false, true) + ")", false);
16764 }
16765 return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
16766 },
16767 _hsl0($name, $arguments) {
16768 var t2, hue, saturation, lightness,
16769 _s10_ = "saturation",
16770 _s9_ = "lightness",
16771 t1 = J.getInterceptor$asx($arguments),
16772 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
16773 if (!t1.$index($arguments, 0).get$isSpecialNumber())
16774 if (!t1.$index($arguments, 1).get$isSpecialNumber())
16775 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
16776 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
16777 t2 = t2 === true;
16778 } else
16779 t2 = true;
16780 else
16781 t2 = true;
16782 else
16783 t2 = true;
16784 if (t2)
16785 return A._functionString0($name, $arguments);
16786 hue = t1.$index($arguments, 0).assertNumber$1("hue");
16787 saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
16788 lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
16789 A._checkAngle0(hue, "hue");
16790 A._checkPercent0(saturation, _s10_);
16791 A._checkPercent0(lightness, _s9_);
16792 return A.SassColor$hslInternal0(hue._number1$_value, B.JSNumber_methods.clamp$2(saturation._number1$_value, 0, 100), B.JSNumber_methods.clamp$2(lightness._number1$_value, 0, 100), A.NullableExtension_andThen0(alpha, new A._hsl_closure0()), B._ColorFormatEnum_hslFunction0);
16793 },
16794 _checkAngle0(angle, $name) {
16795 var t1, t2, t3, actualUnit,
16796 _s31_ = "To preserve current behavior: $";
16797 if (!angle.get$hasUnits() || angle.hasUnit$1("deg"))
16798 return;
16799 t1 = "" + ("$" + A.S($name) + ": Passing a unit other than deg (" + angle.toString$0(0) + ") is deprecated.\n") + "\n";
16800 if (angle.compatibleWithUnit$1("deg")) {
16801 t2 = "You're passing " + angle.toString$0(0) + string$.x2c_whici;
16802 t3 = type$.JSArray_String;
16803 t3 = t1 + (t2 + new A.SingleUnitSassNumber0("deg", angle._number1$_value, null).toString$0(0) + ".\n") + (string$.Soon__ + angle.coerce$2(A._setArrayType(["deg"], t3), A._setArrayType([], t3)).toString$0(0) + ".\n") + "\n";
16804 actualUnit = B.JSArray_methods.get$first(angle.get$numeratorUnits(angle));
16805 t3 = t3 + (_s31_ + A.S($name) + " * 1deg/1" + actualUnit + "\n") + ("To migrate to new behavior: 0deg + $" + A.S($name) + "\n") + "\n";
16806 t1 = t3;
16807 } else
16808 t1 = t1 + (_s31_ + A.S($name) + A._removeUnits0(angle) + "\n") + "\n";
16809 t1 += "See https://sass-lang.com/d/color-units";
16810 A.EvaluationContext_current0().warn$2$deprecation(0, t1.charCodeAt(0) == 0 ? t1 : t1, true);
16811 },
16812 _checkPercent0(number, $name) {
16813 var t1;
16814 if (number.hasUnit$1("%"))
16815 return;
16816 t1 = "$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d + $name + A._removeUnits0(number) + " * 1%";
16817 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
16818 },
16819 _removeUnits0(number) {
16820 var t2,
16821 t1 = number.get$denominatorUnits(number);
16822 t1 = new A.MappedListIterable(t1, new A._removeUnits_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
16823 t2 = number.get$numeratorUnits(number);
16824 return t1 + new A.MappedListIterable(t2, new A._removeUnits_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
16825 },
16826 _hwb0($arguments) {
16827 var _s9_ = "whiteness",
16828 _s9_0 = "blackness",
16829 t1 = J.getInterceptor$asx($arguments),
16830 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
16831 hue = t1.$index($arguments, 0).assertNumber$1("hue"),
16832 whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
16833 blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
16834 whiteness.assertUnit$2("%", _s9_);
16835 blackness.assertUnit$2("%", _s9_0);
16836 return A.SassColor_SassColor$hwb0(hue._number1$_value, whiteness.valueInRange$3(0, 100, _s9_), blackness.valueInRange$3(0, 100, _s9_0), A.NullableExtension_andThen0(alpha, new A._hwb_closure0()));
16837 },
16838 _parseChannels0($name, argumentNames, channels) {
16839 var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash,
16840 _s17_ = "$channels must be";
16841 if (channels.get$isVar())
16842 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16843 if (channels.get$separator(channels) === B.ListSeparator_1gm0) {
16844 list = channels.get$asList();
16845 t1 = list.length;
16846 if (t1 !== 2)
16847 throw A.wrapException(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", list.length, "were") + " passed."));
16848 channels0 = list[0];
16849 alphaFromSlashList = list[1];
16850 if (!alphaFromSlashList.get$isSpecialNumber())
16851 alphaFromSlashList.assertNumber$1("alpha");
16852 if (list[0].get$isVar())
16853 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16854 } else {
16855 channels0 = channels;
16856 alphaFromSlashList = null;
16857 }
16858 isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_kWM0;
16859 isBracketed = channels0.get$hasBrackets();
16860 if (isCommaSeparated || isBracketed) {
16861 buffer = new A.StringBuffer(_s17_);
16862 if (isBracketed) {
16863 t1 = _s17_ + " an unbracketed";
16864 buffer._contents = t1;
16865 } else
16866 t1 = _s17_;
16867 if (isCommaSeparated) {
16868 t1 += isBracketed ? "," : " a";
16869 buffer._contents = t1;
16870 t1 = buffer._contents = t1 + " space-separated";
16871 }
16872 buffer._contents = t1 + " list.";
16873 throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0)));
16874 }
16875 list = channels0.get$asList();
16876 t1 = list.length;
16877 if (t1 > 3)
16878 throw A.wrapException(A.SassScriptException$0("Only 3 elements allowed, but " + t1 + " were passed."));
16879 else if (t1 < 3) {
16880 if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure0()))
16881 if (list.length !== 0) {
16882 t1 = B.JSArray_methods.get$last(list);
16883 if (t1 instanceof A.SassString0)
16884 if (t1._string0$_hasQuotes) {
16885 t1 = t1._string0$_text;
16886 t1 = A.startsWithIgnoreCase0(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
16887 } else
16888 t1 = false;
16889 else
16890 t1 = false;
16891 } else
16892 t1 = false;
16893 else
16894 t1 = true;
16895 if (t1)
16896 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16897 else
16898 throw A.wrapException(A.SassScriptException$0("Missing element " + argumentNames[list.length] + "."));
16899 }
16900 if (alphaFromSlashList != null) {
16901 t1 = A.List_List$of(list, true, type$.Value_2);
16902 t1.push(alphaFromSlashList);
16903 return t1;
16904 }
16905 maybeSlashSeparated = list[2];
16906 if (maybeSlashSeparated instanceof A.SassNumber0) {
16907 slash = maybeSlashSeparated.asSlash;
16908 if (slash == null)
16909 return list;
16910 return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value_2);
16911 } else if (maybeSlashSeparated instanceof A.SassString0 && !maybeSlashSeparated._string0$_hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string0$_text, "/"))
16912 return A._functionString0($name, A._setArrayType([channels0], type$.JSArray_Value_2));
16913 else
16914 return list;
16915 },
16916 _percentageOrUnitless0(number, max, $name) {
16917 var value;
16918 if (!number.get$hasUnits())
16919 value = number._number1$_value;
16920 else if (number.hasUnit$1("%"))
16921 value = max * number._number1$_value / 100;
16922 else
16923 throw A.wrapException(A.SassScriptException$0("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".'));
16924 return B.JSNumber_methods.clamp$2(value, 0, max);
16925 },
16926 _mixColors0(color1, color2, weight) {
16927 var weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
16928 normalizedWeight = weightScale * 2 - 1,
16929 t1 = color1._color1$_alpha,
16930 t2 = color2._color1$_alpha,
16931 alphaDistance = t1 - t2,
16932 t3 = normalizedWeight * alphaDistance,
16933 weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2,
16934 weight2 = 1 - weight1;
16935 return A.SassColor$rgb0(A.fuzzyRound0(color1.get$red(color1) * weight1 + color2.get$red(color2) * weight2), A.fuzzyRound0(color1.get$green(color1) * weight1 + color2.get$green(color2) * weight2), A.fuzzyRound0(color1.get$blue(color1) * weight1 + color2.get$blue(color2) * weight2), t1 * weightScale + t2 * (1 - weightScale));
16936 },
16937 _opacify0($arguments) {
16938 var t1 = J.getInterceptor$asx($arguments),
16939 color = t1.$index($arguments, 0).assertColor$1("color");
16940 return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._color1$_alpha + t1.$index($arguments, 1).assertNumber$1("amount").valueInRange$3(0, 1, "amount"), 0, 1));
16941 },
16942 _transparentize0($arguments) {
16943 var t1 = J.getInterceptor$asx($arguments),
16944 color = t1.$index($arguments, 0).assertColor$1("color");
16945 return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._color1$_alpha - t1.$index($arguments, 1).assertNumber$1("amount").valueInRange$3(0, 1, "amount"), 0, 1));
16946 },
16947 _function11($name, $arguments, callback) {
16948 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
16949 },
16950 global_closure30: function global_closure30() {
16951 },
16952 global_closure31: function global_closure31() {
16953 },
16954 global_closure32: function global_closure32() {
16955 },
16956 global_closure33: function global_closure33() {
16957 },
16958 global_closure34: function global_closure34() {
16959 },
16960 global_closure35: function global_closure35() {
16961 },
16962 global_closure36: function global_closure36() {
16963 },
16964 global_closure37: function global_closure37() {
16965 },
16966 global_closure38: function global_closure38() {
16967 },
16968 global_closure39: function global_closure39() {
16969 },
16970 global_closure40: function global_closure40() {
16971 },
16972 global_closure41: function global_closure41() {
16973 },
16974 global_closure42: function global_closure42() {
16975 },
16976 global_closure43: function global_closure43() {
16977 },
16978 global_closure44: function global_closure44() {
16979 },
16980 global_closure45: function global_closure45() {
16981 },
16982 global_closure46: function global_closure46() {
16983 },
16984 global_closure47: function global_closure47() {
16985 },
16986 global_closure48: function global_closure48() {
16987 },
16988 global_closure49: function global_closure49() {
16989 },
16990 global_closure50: function global_closure50() {
16991 },
16992 global_closure51: function global_closure51() {
16993 },
16994 global_closure52: function global_closure52() {
16995 },
16996 global_closure53: function global_closure53() {
16997 },
16998 global_closure54: function global_closure54() {
16999 },
17000 global_closure55: function global_closure55() {
17001 },
17002 global__closure0: function global__closure0() {
17003 },
17004 global_closure56: function global_closure56() {
17005 },
17006 module_closure8: function module_closure8() {
17007 },
17008 module_closure9: function module_closure9() {
17009 },
17010 module_closure10: function module_closure10() {
17011 },
17012 module_closure11: function module_closure11() {
17013 },
17014 module_closure12: function module_closure12() {
17015 },
17016 module_closure13: function module_closure13() {
17017 },
17018 module_closure14: function module_closure14() {
17019 },
17020 module_closure15: function module_closure15() {
17021 },
17022 module__closure0: function module__closure0() {
17023 },
17024 module_closure16: function module_closure16() {
17025 },
17026 _red_closure0: function _red_closure0() {
17027 },
17028 _green_closure0: function _green_closure0() {
17029 },
17030 _blue_closure0: function _blue_closure0() {
17031 },
17032 _mix_closure0: function _mix_closure0() {
17033 },
17034 _hue_closure0: function _hue_closure0() {
17035 },
17036 _saturation_closure0: function _saturation_closure0() {
17037 },
17038 _lightness_closure0: function _lightness_closure0() {
17039 },
17040 _complement_closure0: function _complement_closure0() {
17041 },
17042 _adjust_closure0: function _adjust_closure0() {
17043 },
17044 _scale_closure0: function _scale_closure0() {
17045 },
17046 _change_closure0: function _change_closure0() {
17047 },
17048 _ieHexStr_closure0: function _ieHexStr_closure0() {
17049 },
17050 _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
17051 },
17052 _updateComponents_getParam0: function _updateComponents_getParam0(t0, t1, t2) {
17053 this.keywords = t0;
17054 this.scale = t1;
17055 this.change = t2;
17056 },
17057 _updateComponents_closure0: function _updateComponents_closure0() {
17058 },
17059 _updateComponents_updateValue0: function _updateComponents_updateValue0(t0, t1) {
17060 this.change = t0;
17061 this.adjust = t1;
17062 },
17063 _updateComponents_updateRgb0: function _updateComponents_updateRgb0(t0) {
17064 this.updateValue = t0;
17065 },
17066 _functionString_closure0: function _functionString_closure0() {
17067 },
17068 _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
17069 this.name = t0;
17070 this.argument = t1;
17071 this.negative = t2;
17072 },
17073 _rgb_closure0: function _rgb_closure0() {
17074 },
17075 _hsl_closure0: function _hsl_closure0() {
17076 },
17077 _removeUnits_closure1: function _removeUnits_closure1() {
17078 },
17079 _removeUnits_closure2: function _removeUnits_closure2() {
17080 },
17081 _hwb_closure0: function _hwb_closure0() {
17082 },
17083 _parseChannels_closure0: function _parseChannels_closure0() {
17084 },
17085 _NodeSassColor: function _NodeSassColor() {
17086 },
17087 legacyColorClass_closure: function legacyColorClass_closure() {
17088 },
17089 legacyColorClass_closure0: function legacyColorClass_closure0() {
17090 },
17091 legacyColorClass_closure1: function legacyColorClass_closure1() {
17092 },
17093 legacyColorClass_closure2: function legacyColorClass_closure2() {
17094 },
17095 legacyColorClass_closure3: function legacyColorClass_closure3() {
17096 },
17097 legacyColorClass_closure4: function legacyColorClass_closure4() {
17098 },
17099 legacyColorClass_closure5: function legacyColorClass_closure5() {
17100 },
17101 legacyColorClass_closure6: function legacyColorClass_closure6() {
17102 },
17103 legacyColorClass_closure7: function legacyColorClass_closure7() {
17104 },
17105 colorClass_closure: function colorClass_closure() {
17106 },
17107 colorClass__closure: function colorClass__closure() {
17108 },
17109 colorClass__closure0: function colorClass__closure0() {
17110 },
17111 colorClass__closure1: function colorClass__closure1() {
17112 },
17113 colorClass__closure2: function colorClass__closure2() {
17114 },
17115 colorClass__closure3: function colorClass__closure3() {
17116 },
17117 colorClass__closure4: function colorClass__closure4() {
17118 },
17119 colorClass__closure5: function colorClass__closure5() {
17120 },
17121 colorClass__closure6: function colorClass__closure6() {
17122 },
17123 colorClass__closure7: function colorClass__closure7() {
17124 },
17125 colorClass__closure8: function colorClass__closure8() {
17126 },
17127 colorClass__closure9: function colorClass__closure9() {
17128 },
17129 _Channels: function _Channels() {
17130 },
17131 SassColor$rgb0(red, green, blue, alpha) {
17132 var _null = null,
17133 t1 = new A.SassColor0(red, green, blue, _null, _null, _null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
17134 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
17135 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
17136 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
17137 return t1;
17138 },
17139 SassColor$rgbInternal0(_red, _green, _blue, alpha, format) {
17140 var t1 = new A.SassColor0(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
17141 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
17142 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
17143 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
17144 return t1;
17145 },
17146 SassColor$hsl(hue, saturation, lightness, alpha) {
17147 var _null = null,
17148 t1 = B.JSNumber_methods.$mod(hue, 360),
17149 t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
17150 t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
17151 return new A.SassColor0(_null, _null, _null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
17152 },
17153 SassColor$hslInternal0(hue, saturation, lightness, alpha, format) {
17154 var t1 = B.JSNumber_methods.$mod(hue, 360),
17155 t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
17156 t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
17157 return new A.SassColor0(null, null, null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
17158 },
17159 SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
17160 var t2, t1 = {},
17161 scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
17162 scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange0(whiteness, 0, 100, "whiteness") / 100,
17163 scaledBlackness = A.fuzzyAssertRange0(blackness, 0, 100, "blackness") / 100,
17164 sum = scaledWhiteness + scaledBlackness;
17165 if (sum > 1) {
17166 t2 = t1.scaledWhiteness = scaledWhiteness / sum;
17167 scaledBlackness /= sum;
17168 } else
17169 t2 = scaledWhiteness;
17170 t2 = new A.SassColor_SassColor$hwb_toRgb0(t1, 1 - t2 - scaledBlackness);
17171 return A.SassColor$rgb0(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
17172 },
17173 SassColor__hueToRgb0(m1, m2, hue) {
17174 if (hue < 0)
17175 ++hue;
17176 if (hue > 1)
17177 --hue;
17178 if (hue < 0.16666666666666666)
17179 return m1 + (m2 - m1) * hue * 6;
17180 else if (hue < 0.5)
17181 return m2;
17182 else if (hue < 0.6666666666666666)
17183 return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
17184 else
17185 return m1;
17186 },
17187 SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5, t6, t7) {
17188 var _ = this;
17189 _._color1$_red = t0;
17190 _._color1$_green = t1;
17191 _._color1$_blue = t2;
17192 _._color1$_hue = t3;
17193 _._color1$_saturation = t4;
17194 _._color1$_lightness = t5;
17195 _._color1$_alpha = t6;
17196 _.format = t7;
17197 },
17198 SassColor_SassColor$hwb_toRgb0: function SassColor_SassColor$hwb_toRgb0(t0, t1) {
17199 this._box_0 = t0;
17200 this.factor = t1;
17201 },
17202 _ColorFormatEnum0: function _ColorFormatEnum0(t0) {
17203 this._color1$_name = t0;
17204 },
17205 SpanColorFormat0: function SpanColorFormat0(t0) {
17206 this._color1$_span = t0;
17207 },
17208 ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
17209 var _ = this;
17210 _.text = t0;
17211 _.span = t1;
17212 _._node1$_indexInParent = _._node1$_parent = null;
17213 _.isGroupEnd = false;
17214 },
17215 compile0(path, options) {
17216 var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, exception, _null = null,
17217 t1 = options == null,
17218 color0 = t1 ? _null : J.get$alertColor$x(options),
17219 color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
17220 ascii0 = t1 ? _null : J.get$alertAscii$x(options),
17221 ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
17222 try {
17223 t2 = t1 ? _null : J.get$loadPaths$x(options);
17224 t3 = t1 ? _null : J.get$quietDeps$x(options);
17225 if (t3 == null)
17226 t3 = false;
17227 t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
17228 t5 = t1 ? _null : J.get$verbose$x(options);
17229 if (t5 == null)
17230 t5 = false;
17231 t6 = t1 ? _null : J.get$sourceMap$x(options);
17232 if (t6 == null)
17233 t6 = false;
17234 t7 = t1 ? _null : J.get$logger$x(options);
17235 t8 = ascii;
17236 if (t8 == null)
17237 t8 = $._glyphs === B.C_AsciiGlyphSet;
17238 t8 = new A.NodeToDartLogger(t7, new A.StderrLogger0(color), t8);
17239 if (t1)
17240 t7 = _null;
17241 else {
17242 t7 = J.get$importers$x(options);
17243 t7 = t7 == null ? _null : J.map$1$1$ax(t7, A.compile___parseImporter$closure(), type$.Importer);
17244 }
17245 t9 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
17246 result = A.compile(path, true, new A.CastList(t9, A._arrayInstanceType(t9)._eval$1("CastList<1,Callable0>")), A.ImportCache$0(t7, t2, t8, _null), _null, _null, t8, _null, t3, t6, t4, _null, true, t5);
17247 t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
17248 if (t1 == null)
17249 t1 = false;
17250 t1 = A._convertResult(result, t1);
17251 return t1;
17252 } catch (exception) {
17253 t1 = A.unwrapException(exception);
17254 if (t1 instanceof A.SassException0) {
17255 error = t1;
17256 stackTrace = A.getTraceFromException(exception);
17257 A.throwNodeException(error, ascii, color, stackTrace);
17258 } else
17259 throw exception;
17260 }
17261 },
17262 compileString0(text, options) {
17263 var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _null = null,
17264 t1 = options == null,
17265 color0 = t1 ? _null : J.get$alertColor$x(options),
17266 color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
17267 ascii0 = t1 ? _null : J.get$alertAscii$x(options),
17268 ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
17269 try {
17270 t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
17271 t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils1__jsToDartUrl$closure());
17272 t4 = t1 ? _null : J.get$loadPaths$x(options);
17273 t5 = t1 ? _null : J.get$quietDeps$x(options);
17274 if (t5 == null)
17275 t5 = false;
17276 t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
17277 t7 = t1 ? _null : J.get$verbose$x(options);
17278 if (t7 == null)
17279 t7 = false;
17280 t8 = t1 ? _null : J.get$sourceMap$x(options);
17281 if (t8 == null)
17282 t8 = false;
17283 t9 = t1 ? _null : J.get$logger$x(options);
17284 t10 = ascii;
17285 if (t10 == null)
17286 t10 = $._glyphs === B.C_AsciiGlyphSet;
17287 t10 = new A.NodeToDartLogger(t9, new A.StderrLogger0(color), t10);
17288 if (t1)
17289 t9 = _null;
17290 else {
17291 t9 = J.get$importers$x(options);
17292 t9 = t9 == null ? _null : J.map$1$1$ax(t9, A.compile___parseImporter$closure(), type$.Importer);
17293 }
17294 t11 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
17295 if (t11 == null)
17296 t11 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter() : _null;
17297 t12 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
17298 result = A.compileString(text, true, new A.CastList(t12, A._arrayInstanceType(t12)._eval$1("CastList<1,Callable0>")), A.ImportCache$0(t9, t4, t10, _null), t11, _null, _null, t10, _null, t5, t8, t6, t2, t3, true, t7);
17299 t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
17300 if (t1 == null)
17301 t1 = false;
17302 t1 = A._convertResult(result, t1);
17303 return t1;
17304 } catch (exception) {
17305 t1 = A.unwrapException(exception);
17306 if (t1 instanceof A.SassException0) {
17307 error = t1;
17308 stackTrace = A.getTraceFromException(exception);
17309 A.throwNodeException(error, ascii, color, stackTrace);
17310 } else
17311 throw exception;
17312 }
17313 },
17314 compileAsync1(path, options) {
17315 var ascii,
17316 t1 = options == null,
17317 color = t1 ? null : J.get$alertColor$x(options);
17318 if (color == null)
17319 color = J.$eq$(self.process.stdout.isTTY, true);
17320 ascii = t1 ? null : J.get$alertAscii$x(options);
17321 if (ascii == null)
17322 ascii = $._glyphs === B.C_AsciiGlyphSet;
17323 return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(path, color, options, ascii).call$0()), ascii, color);
17324 },
17325 compileStringAsync1(text, options) {
17326 var ascii,
17327 t1 = options == null,
17328 color = t1 ? null : J.get$alertColor$x(options);
17329 if (color == null)
17330 color = J.$eq$(self.process.stdout.isTTY, true);
17331 ascii = t1 ? null : J.get$alertAscii$x(options);
17332 if (ascii == null)
17333 ascii = $._glyphs === B.C_AsciiGlyphSet;
17334 return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, ascii).call$0()), ascii, color);
17335 },
17336 _convertResult(result, includeSourceContents) {
17337 var loadedUrls,
17338 t1 = result._compile_result$_serialize,
17339 t2 = t1.sourceMap,
17340 sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
17341 if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
17342 sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
17343 t2 = result._evaluate.loadedUrls;
17344 loadedUrls = A.toJSArray(new A.EfficientLengthMappedIterable(t2, A.utils1__dartToJSUrl$closure(), A._instanceType(t2)._eval$1("EfficientLengthMappedIterable<1,Object?>")));
17345 t1 = t1.css;
17346 return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify(sourceMap), loadedUrls: loadedUrls};
17347 },
17348 _wrapAsyncSassExceptions(promise, ascii, color) {
17349 return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
17350 },
17351 _parseOutputStyle0(style) {
17352 if (style == null || style === "expanded")
17353 return B.OutputStyle_expanded0;
17354 if (style === "compressed")
17355 return B.OutputStyle_compressed0;
17356 A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
17357 },
17358 _parseAsyncImporter(importer) {
17359 var t1, findFileUrl, canonicalize, load;
17360 if (importer == null)
17361 A.jsThrow(new self.Error("Importers may not be null."));
17362 type$.NodeImporter._as(importer);
17363 t1 = J.getInterceptor$x(importer);
17364 findFileUrl = t1.get$findFileUrl(importer);
17365 canonicalize = t1.get$canonicalize(importer);
17366 load = t1.get$load(importer);
17367 if (findFileUrl == null) {
17368 if (canonicalize == null || load == null)
17369 A.jsThrow(new self.Error(string$.An_impu));
17370 return new A.NodeToDartAsyncImporter(canonicalize, load);
17371 } else if (canonicalize != null || load != null)
17372 A.jsThrow(new self.Error(string$.An_impa));
17373 else
17374 return new A.NodeToDartAsyncFileImporter(findFileUrl);
17375 },
17376 _parseImporter0(importer) {
17377 var t1, findFileUrl, canonicalize, load;
17378 if (importer == null)
17379 A.jsThrow(new self.Error("Importers may not be null."));
17380 type$.NodeImporter._as(importer);
17381 t1 = J.getInterceptor$x(importer);
17382 findFileUrl = t1.get$findFileUrl(importer);
17383 canonicalize = t1.get$canonicalize(importer);
17384 load = t1.get$load(importer);
17385 if (findFileUrl == null) {
17386 if (canonicalize == null || load == null)
17387 A.jsThrow(new self.Error(string$.An_impu));
17388 return new A.NodeToDartImporter(canonicalize, load);
17389 } else if (canonicalize != null || load != null)
17390 A.jsThrow(new self.Error(string$.An_impa));
17391 else
17392 return new A.NodeToDartFileImporter(findFileUrl);
17393 },
17394 _parseFunctions0(functions, asynch) {
17395 var result;
17396 if (functions == null)
17397 return B.List_empty20;
17398 result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
17399 A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
17400 return result;
17401 },
17402 compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
17403 var _ = this;
17404 _.path = t0;
17405 _.color = t1;
17406 _.options = t2;
17407 _.ascii = t3;
17408 },
17409 compileAsync__closure: function compileAsync__closure() {
17410 },
17411 compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
17412 var _ = this;
17413 _.text = t0;
17414 _.options = t1;
17415 _.color = t2;
17416 _.ascii = t3;
17417 },
17418 compileStringAsync__closure: function compileStringAsync__closure() {
17419 },
17420 compileStringAsync__closure0: function compileStringAsync__closure0() {
17421 },
17422 _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
17423 this.color = t0;
17424 this.ascii = t1;
17425 },
17426 _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
17427 this.asynch = t0;
17428 this.result = t1;
17429 },
17430 _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
17431 this._box_0 = t0;
17432 this.callback = t1;
17433 },
17434 _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
17435 this._box_0 = t0;
17436 this.callback = t1;
17437 },
17438 compile(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
17439 var terseLogger, t1, t2, t3, stylesheet, t4, result, _null = null;
17440 if (!verbose) {
17441 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
17442 logger = terseLogger;
17443 } else
17444 terseLogger = _null;
17445 t1 = nodeImporter == null;
17446 if (t1)
17447 t2 = syntax == null || syntax === A.Syntax_forPath0(path);
17448 else
17449 t2 = false;
17450 if (t2) {
17451 if (importCache == null)
17452 importCache = A.ImportCache$none(logger);
17453 t2 = $.$get$context();
17454 t3 = t2.absolute$7(".", _null, _null, _null, _null, _null, _null);
17455 t3 = importCache.importCanonical$3$originalUrl(new A.FilesystemImporter0(t3), t2.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath0(t2.absolute$7(t2.normalize$1(path), _null, _null, _null, _null, _null, _null)) : t2.canonicalize$1(0, path)), t2.toUri$1(path));
17456 t3.toString;
17457 stylesheet = t3;
17458 } else {
17459 t2 = A.readFile0(path);
17460 t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
17461 t4 = $.$get$context();
17462 stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
17463 t2 = t4;
17464 }
17465 result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, new A.FilesystemImporter0(t2.absolute$7(".", _null, _null, _null, _null, _null, _null)), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
17466 if (terseLogger != null)
17467 terseLogger.summarize$1$node(!t1);
17468 return result;
17469 },
17470 compileString(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
17471 var terseLogger, stylesheet, result, _null = null;
17472 if (!verbose) {
17473 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
17474 logger = terseLogger;
17475 } else
17476 terseLogger = _null;
17477 stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS0 : syntax, logger, url);
17478 result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer == null ? new A.FilesystemImporter0($.$get$context().absolute$7(".", _null, _null, _null, _null, _null, _null)) : importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
17479 if (terseLogger != null)
17480 terseLogger.summarize$1$node(nodeImporter != null);
17481 return result;
17482 },
17483 _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
17484 var evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet),
17485 serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces),
17486 resultSourceMap = serializeResult.sourceMap;
17487 if (resultSourceMap != null && importCache != null)
17488 A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
17489 return new A.CompileResult0(evaluateResult, serializeResult);
17490 },
17491 _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
17492 this.stylesheet = t0;
17493 this.importCache = t1;
17494 },
17495 CompileOptions: function CompileOptions() {
17496 },
17497 CompileStringOptions: function CompileStringOptions() {
17498 },
17499 NodeCompileResult: function NodeCompileResult() {
17500 },
17501 CompileResult0: function CompileResult0(t0, t1) {
17502 this._evaluate = t0;
17503 this._compile_result$_serialize = t1;
17504 },
17505 ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
17506 var _ = this;
17507 _._complex1$_numeratorUnits = t0;
17508 _._complex1$_denominatorUnits = t1;
17509 _._number1$_value = t2;
17510 _.hashCache = null;
17511 _.asSlash = t3;
17512 },
17513 ComplexSelector$0(components, lineBreak) {
17514 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
17515 if (t1.length === 0)
17516 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
17517 return new A.ComplexSelector0(t1, lineBreak);
17518 },
17519 ComplexSelector0: function ComplexSelector0(t0, t1) {
17520 var _ = this;
17521 _.components = t0;
17522 _.lineBreak = t1;
17523 _._complex0$_maxSpecificity = _._complex0$_minSpecificity = null;
17524 _._complex0$__ComplexSelector_isInvisible = $;
17525 },
17526 ComplexSelector_isInvisible_closure0: function ComplexSelector_isInvisible_closure0() {
17527 },
17528 Combinator0: function Combinator0(t0) {
17529 this._complex0$_text = t0;
17530 },
17531 CompoundSelector$0(components) {
17532 var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
17533 if (t1.length === 0)
17534 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
17535 return new A.CompoundSelector0(t1);
17536 },
17537 CompoundSelector0: function CompoundSelector0(t0) {
17538 this.components = t0;
17539 this._compound0$_maxSpecificity = this._compound0$_minSpecificity = null;
17540 },
17541 CompoundSelector_isInvisible_closure0: function CompoundSelector_isInvisible_closure0() {
17542 },
17543 Configuration0: function Configuration0(t0) {
17544 this._configuration$_values = t0;
17545 },
17546 Configuration_toString_closure0: function Configuration_toString_closure0() {
17547 },
17548 ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1) {
17549 this.nodeWithSpan = t0;
17550 this._configuration$_values = t1;
17551 },
17552 ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
17553 this.value = t0;
17554 this.configurationSpan = t1;
17555 this.assignmentNode = t2;
17556 },
17557 ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
17558 var _ = this;
17559 _.name = t0;
17560 _.expression = t1;
17561 _.isGuarded = t2;
17562 _.span = t3;
17563 },
17564 ContentBlock$0($arguments, children, span) {
17565 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
17566 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
17567 return new A.ContentBlock0("@content", $arguments, span, t1, t2);
17568 },
17569 ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4) {
17570 var _ = this;
17571 _.name = t0;
17572 _.$arguments = t1;
17573 _.span = t2;
17574 _.children = t3;
17575 _.hasDeclarations = t4;
17576 },
17577 ContentRule0: function ContentRule0(t0, t1) {
17578 this.$arguments = t0;
17579 this.span = t1;
17580 },
17581 _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
17582 },
17583 CssParser0: function CssParser0(t0, t1, t2) {
17584 var _ = this;
17585 _._stylesheet0$_isUseAllowed = true;
17586 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
17587 _._stylesheet0$_globalVariables = t0;
17588 _.lastSilentComment = null;
17589 _.scanner = t1;
17590 _.logger = t2;
17591 },
17592 DebugRule0: function DebugRule0(t0, t1) {
17593 this.expression = t0;
17594 this.span = t1;
17595 },
17596 ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
17597 var t1 = valueSpanForMap == null ? value.get$span(value) : valueSpanForMap;
17598 if (parsedAsCustomProperty)
17599 if (!J.startsWith$1$s($name.get$value($name), "--"))
17600 A.throwExpression(A.ArgumentError$(string$.parsed, null));
17601 else if (!(value.get$value(value) instanceof A.SassString0))
17602 A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(value.get$value(value)).toString$0(0) + ").", null));
17603 return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, span);
17604 },
17605 ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4) {
17606 var _ = this;
17607 _.name = t0;
17608 _.value = t1;
17609 _.parsedAsCustomProperty = t2;
17610 _.valueSpanForMap = t3;
17611 _.span = t4;
17612 _._node1$_indexInParent = _._node1$_parent = null;
17613 _.isGroupEnd = false;
17614 },
17615 Declaration$0($name, value, span) {
17616 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
17617 A.throwExpression(A.ArgumentError$(string$.Declarwu + value.toString$0(0) + "` of type " + value.get$runtimeType(value).toString$0(0) + ").", null));
17618 return new A.Declaration0($name, value, span, null, false);
17619 },
17620 Declaration$nested0($name, children, span, value) {
17621 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
17622 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
17623 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
17624 A.throwExpression(A.ArgumentError$(string$.Declarwa, null));
17625 return new A.Declaration0($name, value, span, t1, t2);
17626 },
17627 Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
17628 var _ = this;
17629 _.name = t0;
17630 _.value = t1;
17631 _.span = t2;
17632 _.children = t3;
17633 _.hasDeclarations = t4;
17634 },
17635 SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
17636 this.name = t0;
17637 this.value = t1;
17638 this.span = t2;
17639 },
17640 DynamicImport0: function DynamicImport0(t0, t1) {
17641 this.urlString = t0;
17642 this.span = t1;
17643 },
17644 EachRule$0(variables, list, children, span) {
17645 var t1 = A.List_List$unmodifiable(variables, type$.String),
17646 t2 = A.List_List$unmodifiable(children, type$.Statement_2),
17647 t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
17648 return new A.EachRule0(t1, list, span, t2, t3);
17649 },
17650 EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
17651 var _ = this;
17652 _.variables = t0;
17653 _.list = t1;
17654 _.span = t2;
17655 _.children = t3;
17656 _.hasDeclarations = t4;
17657 },
17658 EachRule_toString_closure0: function EachRule_toString_closure0() {
17659 },
17660 EmptyExtensionStore0: function EmptyExtensionStore0() {
17661 },
17662 Environment$0() {
17663 var t1 = type$.String,
17664 t2 = type$.Module_Callable_2,
17665 t3 = type$.AstNode_2,
17666 t4 = type$.int,
17667 t5 = type$.Callable_2,
17668 t6 = type$.JSArray_Map_String_Callable_2;
17669 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);
17670 },
17671 Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
17672 var t1 = type$.String,
17673 t2 = type$.int;
17674 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);
17675 },
17676 _EnvironmentModule__EnvironmentModule1(environment, css, extensionStore, forwarded) {
17677 var t1, t2, t3, t4, t5, t6;
17678 if (forwarded == null)
17679 forwarded = B.Set_empty2;
17680 t1 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
17681 t2 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure11(), type$.Map_String_Value_2), type$.Value_2);
17682 t3 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure12(), type$.Map_String_AstNode_2), type$.AstNode_2);
17683 t4 = type$.Map_String_Callable_2;
17684 t5 = type$.Callable_2;
17685 t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t4), t5);
17686 t5 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t4), t5);
17687 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure15());
17688 return A._EnvironmentModule$_1(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure16()));
17689 },
17690 _EnvironmentModule__makeModulesByVariable1(forwarded) {
17691 var modulesByVariable, t1, t2, t3, t4, t5;
17692 if (forwarded.get$isEmpty(forwarded))
17693 return B.Map_empty6;
17694 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
17695 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
17696 t2 = t1.get$current(t1);
17697 if (t2 instanceof A._EnvironmentModule1) {
17698 for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
17699 t4 = t3.get$current(t3);
17700 t5 = t4.get$variables();
17701 A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
17702 }
17703 A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
17704 } else {
17705 t3 = t2.get$variables();
17706 A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
17707 }
17708 }
17709 return modulesByVariable;
17710 },
17711 _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
17712 var t1, t2, t3;
17713 localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
17714 if (otherMaps.get$isEmpty(otherMaps))
17715 return localMap;
17716 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
17717 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
17718 t3 = t2.get$current(t2);
17719 if (t3.get$isNotEmpty(t3))
17720 t1.push(t3);
17721 }
17722 t1.push(localMap);
17723 if (t1.length === 1)
17724 return localMap;
17725 return A.MergedMapView$0(t1, type$.String, $V);
17726 },
17727 _EnvironmentModule$_1(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
17728 return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
17729 },
17730 Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
17731 var _ = this;
17732 _._environment0$_modules = t0;
17733 _._environment0$_namespaceNodes = t1;
17734 _._environment0$_globalModules = t2;
17735 _._environment0$_importedModules = t3;
17736 _._environment0$_forwardedModules = t4;
17737 _._environment0$_nestedForwardedModules = t5;
17738 _._environment0$_allModules = t6;
17739 _._environment0$_variables = t7;
17740 _._environment0$_variableNodes = t8;
17741 _._environment0$_variableIndices = t9;
17742 _._environment0$_functions = t10;
17743 _._environment0$_functionIndices = t11;
17744 _._environment0$_mixins = t12;
17745 _._environment0$_mixinIndices = t13;
17746 _._environment0$_content = t14;
17747 _._environment0$_inMixin = false;
17748 _._environment0$_inSemiGlobalScope = true;
17749 _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
17750 },
17751 Environment_importForwards_closure2: function Environment_importForwards_closure2() {
17752 },
17753 Environment_importForwards_closure3: function Environment_importForwards_closure3() {
17754 },
17755 Environment_importForwards_closure4: function Environment_importForwards_closure4() {
17756 },
17757 Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
17758 this.name = t0;
17759 },
17760 Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
17761 this.$this = t0;
17762 this.name = t1;
17763 },
17764 Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
17765 this.name = t0;
17766 },
17767 Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
17768 this.$this = t0;
17769 this.name = t1;
17770 },
17771 Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
17772 this.name = t0;
17773 },
17774 Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
17775 this.name = t0;
17776 },
17777 Environment_toModule_closure0: function Environment_toModule_closure0() {
17778 },
17779 Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
17780 },
17781 Environment__fromOneModule_closure0: function Environment__fromOneModule_closure0(t0, t1) {
17782 this.callback = t0;
17783 this.T = t1;
17784 },
17785 Environment__fromOneModule__closure0: function Environment__fromOneModule__closure0(t0, t1) {
17786 this.entry = t0;
17787 this.T = t1;
17788 },
17789 _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
17790 var _ = this;
17791 _.upstream = t0;
17792 _.variables = t1;
17793 _.variableNodes = t2;
17794 _.functions = t3;
17795 _.mixins = t4;
17796 _.extensionStore = t5;
17797 _.css = t6;
17798 _.transitivelyContainsCss = t7;
17799 _.transitivelyContainsExtensions = t8;
17800 _._environment0$_environment = t9;
17801 _._environment0$_modulesByVariable = t10;
17802 },
17803 _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
17804 },
17805 _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
17806 },
17807 _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
17808 },
17809 _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
17810 },
17811 _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
17812 },
17813 _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
17814 },
17815 ErrorRule0: function ErrorRule0(t0, t1) {
17816 this.expression = t0;
17817 this.span = t1;
17818 },
17819 _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
17820 var t4,
17821 t1 = type$.Uri,
17822 t2 = type$.Module_Callable_2,
17823 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
17824 if (nodeImporter == null)
17825 t4 = importCache == null ? A.ImportCache$none(logger) : importCache;
17826 else
17827 t4 = null;
17828 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$.AstNode_2), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Tuple2_String_SourceSpan), quietDeps, sourceMap, A.Environment$0(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode_2), t3, B.Configuration_Map_empty0);
17829 t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
17830 return t1;
17831 },
17832 _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
17833 var _ = this;
17834 _._evaluate0$_importCache = t0;
17835 _._evaluate0$_nodeImporter = t1;
17836 _._evaluate0$_builtInFunctions = t2;
17837 _._evaluate0$_builtInModules = t3;
17838 _._evaluate0$_modules = t4;
17839 _._evaluate0$_moduleNodes = t5;
17840 _._evaluate0$_logger = t6;
17841 _._evaluate0$_warningsEmitted = t7;
17842 _._evaluate0$_quietDeps = t8;
17843 _._evaluate0$_sourceMap = t9;
17844 _._evaluate0$_environment = t10;
17845 _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
17846 _._evaluate0$_member = "root stylesheet";
17847 _._evaluate0$_importSpan = _._evaluate0$_callableNode = _._evaluate0$_currentCallable = null;
17848 _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
17849 _._evaluate0$_loadedUrls = t11;
17850 _._evaluate0$_activeModules = t12;
17851 _._evaluate0$_stack = t13;
17852 _._evaluate0$_importer = null;
17853 _._evaluate0$_inDependency = false;
17854 _._evaluate0$__extensionStore = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
17855 _._evaluate0$_configuration = t14;
17856 },
17857 _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
17858 this.$this = t0;
17859 },
17860 _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
17861 this.$this = t0;
17862 },
17863 _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
17864 this.$this = t0;
17865 },
17866 _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
17867 this.$this = t0;
17868 },
17869 _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
17870 this.$this = t0;
17871 },
17872 _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
17873 this.$this = t0;
17874 },
17875 _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
17876 this.$this = t0;
17877 },
17878 _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
17879 this.$this = t0;
17880 },
17881 _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
17882 this.$this = t0;
17883 this.name = t1;
17884 this.module = t2;
17885 },
17886 _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
17887 this.$this = t0;
17888 },
17889 _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
17890 this.$this = t0;
17891 },
17892 _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
17893 this.values = t0;
17894 this.span = t1;
17895 this.callableNode = t2;
17896 },
17897 _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0) {
17898 this.$this = t0;
17899 },
17900 _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
17901 this.$this = t0;
17902 this.node = t1;
17903 this.importer = t2;
17904 },
17905 _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
17906 this.callback = t0;
17907 this.builtInModule = t1;
17908 },
17909 _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
17910 var _ = this;
17911 _.$this = t0;
17912 _.url = t1;
17913 _.nodeWithSpan = t2;
17914 _.baseUrl = t3;
17915 _.namesInErrors = t4;
17916 _.configuration = t5;
17917 _.callback = t6;
17918 },
17919 _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
17920 this.$this = t0;
17921 this.message = t1;
17922 },
17923 _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5) {
17924 var _ = this;
17925 _.$this = t0;
17926 _.importer = t1;
17927 _.stylesheet = t2;
17928 _.extensionStore = t3;
17929 _.configuration = t4;
17930 _.css = t5;
17931 },
17932 _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
17933 },
17934 _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
17935 this.selectors = t0;
17936 },
17937 _EvaluateVisitor__combineCss_closure7: function _EvaluateVisitor__combineCss_closure7() {
17938 },
17939 _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
17940 this.originalSelectors = t0;
17941 },
17942 _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
17943 },
17944 _EvaluateVisitor__topologicalModules_visitModule1: function _EvaluateVisitor__topologicalModules_visitModule1(t0, t1) {
17945 this.seen = t0;
17946 this.sorted = t1;
17947 },
17948 _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
17949 this.$this = t0;
17950 this.resolved = t1;
17951 },
17952 _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
17953 this.$this = t0;
17954 this.node = t1;
17955 },
17956 _EvaluateVisitor_visitAtRootRule_closure7: function _EvaluateVisitor_visitAtRootRule_closure7(t0, t1) {
17957 this.$this = t0;
17958 this.node = t1;
17959 },
17960 _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
17961 this.$this = t0;
17962 this.newParent = t1;
17963 this.node = t2;
17964 },
17965 _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
17966 this.$this = t0;
17967 this.innerScope = t1;
17968 },
17969 _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
17970 this.$this = t0;
17971 this.innerScope = t1;
17972 },
17973 _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
17974 this.innerScope = t0;
17975 this.callback = t1;
17976 },
17977 _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
17978 this.$this = t0;
17979 this.innerScope = t1;
17980 },
17981 _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
17982 },
17983 _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
17984 this.$this = t0;
17985 this.innerScope = t1;
17986 },
17987 _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
17988 this.$this = t0;
17989 this.content = t1;
17990 },
17991 _EvaluateVisitor_visitDeclaration_closure3: function _EvaluateVisitor_visitDeclaration_closure3(t0) {
17992 this.$this = t0;
17993 },
17994 _EvaluateVisitor_visitDeclaration_closure4: function _EvaluateVisitor_visitDeclaration_closure4(t0, t1) {
17995 this.$this = t0;
17996 this.children = t1;
17997 },
17998 _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
17999 this.$this = t0;
18000 this.node = t1;
18001 this.nodeWithSpan = t2;
18002 },
18003 _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
18004 this.$this = t0;
18005 this.node = t1;
18006 this.nodeWithSpan = t2;
18007 },
18008 _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
18009 var _ = this;
18010 _.$this = t0;
18011 _.list = t1;
18012 _.setVariables = t2;
18013 _.node = t3;
18014 },
18015 _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
18016 this.$this = t0;
18017 this.setVariables = t1;
18018 this.node = t2;
18019 },
18020 _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
18021 this.$this = t0;
18022 },
18023 _EvaluateVisitor_visitExtendRule_closure1: function _EvaluateVisitor_visitExtendRule_closure1(t0, t1) {
18024 this.$this = t0;
18025 this.targetText = t1;
18026 },
18027 _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
18028 this.$this = t0;
18029 },
18030 _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1) {
18031 this.$this = t0;
18032 this.children = t1;
18033 },
18034 _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
18035 this.$this = t0;
18036 this.children = t1;
18037 },
18038 _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
18039 },
18040 _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
18041 this.$this = t0;
18042 this.node = t1;
18043 },
18044 _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
18045 this.$this = t0;
18046 this.node = t1;
18047 },
18048 _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
18049 this.fromNumber = t0;
18050 },
18051 _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
18052 this.toNumber = t0;
18053 this.fromNumber = t1;
18054 },
18055 _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
18056 var _ = this;
18057 _._box_0 = t0;
18058 _.$this = t1;
18059 _.node = t2;
18060 _.from = t3;
18061 _.direction = t4;
18062 _.fromNumber = t5;
18063 },
18064 _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
18065 this.$this = t0;
18066 },
18067 _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
18068 this.$this = t0;
18069 this.node = t1;
18070 },
18071 _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
18072 this.$this = t0;
18073 this.node = t1;
18074 },
18075 _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0, t1) {
18076 this._box_0 = t0;
18077 this.$this = t1;
18078 },
18079 _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0) {
18080 this.$this = t0;
18081 },
18082 _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
18083 this.$this = t0;
18084 this.$import = t1;
18085 },
18086 _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
18087 this.$this = t0;
18088 },
18089 _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
18090 },
18091 _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
18092 },
18093 _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4, t5) {
18094 var _ = this;
18095 _.$this = t0;
18096 _.result = t1;
18097 _.stylesheet = t2;
18098 _.loadsUserDefinedModules = t3;
18099 _.environment = t4;
18100 _.children = t5;
18101 },
18102 _EvaluateVisitor__visitStaticImport_closure1: function _EvaluateVisitor__visitStaticImport_closure1(t0) {
18103 this.$this = t0;
18104 },
18105 _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0, t1) {
18106 this.$this = t0;
18107 this.node = t1;
18108 },
18109 _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0) {
18110 this.node = t0;
18111 },
18112 _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
18113 this.$this = t0;
18114 },
18115 _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0, t1, t2, t3) {
18116 var _ = this;
18117 _.$this = t0;
18118 _.contentCallable = t1;
18119 _.mixin = t2;
18120 _.nodeWithSpan = t3;
18121 },
18122 _EvaluateVisitor_visitIncludeRule__closure1: function _EvaluateVisitor_visitIncludeRule__closure1(t0, t1, t2) {
18123 this.$this = t0;
18124 this.mixin = t1;
18125 this.nodeWithSpan = t2;
18126 },
18127 _EvaluateVisitor_visitIncludeRule___closure1: function _EvaluateVisitor_visitIncludeRule___closure1(t0, t1, t2) {
18128 this.$this = t0;
18129 this.mixin = t1;
18130 this.nodeWithSpan = t2;
18131 },
18132 _EvaluateVisitor_visitIncludeRule____closure1: function _EvaluateVisitor_visitIncludeRule____closure1(t0, t1) {
18133 this.$this = t0;
18134 this.statement = t1;
18135 },
18136 _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
18137 this.$this = t0;
18138 this.queries = t1;
18139 },
18140 _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3) {
18141 var _ = this;
18142 _.$this = t0;
18143 _.mergedQueries = t1;
18144 _.queries = t2;
18145 _.node = t3;
18146 },
18147 _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
18148 this.$this = t0;
18149 this.node = t1;
18150 },
18151 _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
18152 this.$this = t0;
18153 this.node = t1;
18154 },
18155 _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
18156 this.mergedQueries = t0;
18157 },
18158 _EvaluateVisitor__visitMediaQueries_closure1: function _EvaluateVisitor__visitMediaQueries_closure1(t0, t1) {
18159 this.$this = t0;
18160 this.resolved = t1;
18161 },
18162 _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13(t0, t1) {
18163 this.$this = t0;
18164 this.selectorText = t1;
18165 },
18166 _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1) {
18167 this.$this = t0;
18168 this.node = t1;
18169 },
18170 _EvaluateVisitor_visitStyleRule_closure15: function _EvaluateVisitor_visitStyleRule_closure15() {
18171 },
18172 _EvaluateVisitor_visitStyleRule_closure16: function _EvaluateVisitor_visitStyleRule_closure16(t0, t1) {
18173 this.$this = t0;
18174 this.selectorText = t1;
18175 },
18176 _EvaluateVisitor_visitStyleRule_closure17: function _EvaluateVisitor_visitStyleRule_closure17(t0, t1) {
18177 this._box_0 = t0;
18178 this.$this = t1;
18179 },
18180 _EvaluateVisitor_visitStyleRule_closure18: function _EvaluateVisitor_visitStyleRule_closure18(t0, t1, t2) {
18181 this.$this = t0;
18182 this.rule = t1;
18183 this.node = t2;
18184 },
18185 _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
18186 this.$this = t0;
18187 this.node = t1;
18188 },
18189 _EvaluateVisitor_visitStyleRule_closure19: function _EvaluateVisitor_visitStyleRule_closure19() {
18190 },
18191 _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
18192 this.$this = t0;
18193 this.node = t1;
18194 },
18195 _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
18196 this.$this = t0;
18197 this.node = t1;
18198 },
18199 _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
18200 },
18201 _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
18202 this.$this = t0;
18203 this.node = t1;
18204 this.override = t2;
18205 },
18206 _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
18207 this.$this = t0;
18208 this.node = t1;
18209 },
18210 _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
18211 this.$this = t0;
18212 this.node = t1;
18213 this.value = t2;
18214 },
18215 _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
18216 this.$this = t0;
18217 this.node = t1;
18218 },
18219 _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
18220 this.$this = t0;
18221 this.node = t1;
18222 },
18223 _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
18224 this.$this = t0;
18225 this.node = t1;
18226 },
18227 _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
18228 this.$this = t0;
18229 },
18230 _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
18231 this.$this = t0;
18232 this.node = t1;
18233 },
18234 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1() {
18235 },
18236 _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
18237 this.$this = t0;
18238 this.node = t1;
18239 },
18240 _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
18241 this.node = t0;
18242 this.operand = t1;
18243 },
18244 _EvaluateVisitor__visitCalculationValue_closure1: function _EvaluateVisitor__visitCalculationValue_closure1(t0, t1, t2) {
18245 this.$this = t0;
18246 this.node = t1;
18247 this.inMinMax = t2;
18248 },
18249 _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
18250 this.$this = t0;
18251 },
18252 _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3(t0, t1) {
18253 this.$this = t0;
18254 this.node = t1;
18255 },
18256 _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
18257 this._box_0 = t0;
18258 this.$this = t1;
18259 this.node = t2;
18260 },
18261 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
18262 this.$this = t0;
18263 this.node = t1;
18264 this.$function = t2;
18265 },
18266 _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
18267 var _ = this;
18268 _.$this = t0;
18269 _.callable = t1;
18270 _.evaluated = t2;
18271 _.nodeWithSpan = t3;
18272 _.run = t4;
18273 _.V = t5;
18274 },
18275 _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
18276 var _ = this;
18277 _.$this = t0;
18278 _.evaluated = t1;
18279 _.callable = t2;
18280 _.nodeWithSpan = t3;
18281 _.run = t4;
18282 _.V = t5;
18283 },
18284 _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
18285 var _ = this;
18286 _.$this = t0;
18287 _.evaluated = t1;
18288 _.callable = t2;
18289 _.nodeWithSpan = t3;
18290 _.run = t4;
18291 _.V = t5;
18292 },
18293 _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
18294 },
18295 _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
18296 this.$this = t0;
18297 this.callable = t1;
18298 },
18299 _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1, t2) {
18300 this.overload = t0;
18301 this.evaluated = t1;
18302 this.namedSet = t2;
18303 },
18304 _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
18305 },
18306 _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
18307 },
18308 _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
18309 this.$this = t0;
18310 this.restNodeForSpan = t1;
18311 },
18312 _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
18313 var _ = this;
18314 _.$this = t0;
18315 _.named = t1;
18316 _.restNodeForSpan = t2;
18317 _.namedNodes = t3;
18318 },
18319 _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
18320 },
18321 _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
18322 this.restArgs = t0;
18323 },
18324 _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
18325 this.$this = t0;
18326 this.restNodeForSpan = t1;
18327 this.restArgs = t2;
18328 },
18329 _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
18330 var _ = this;
18331 _.$this = t0;
18332 _.named = t1;
18333 _.restNodeForSpan = t2;
18334 _.restArgs = t3;
18335 },
18336 _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
18337 this.$this = t0;
18338 this.keywordRestNodeForSpan = t1;
18339 this.keywordRestArgs = t2;
18340 },
18341 _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
18342 var _ = this;
18343 _.$this = t0;
18344 _.values = t1;
18345 _.convert = t2;
18346 _.expressionNode = t3;
18347 _.map = t4;
18348 _.nodeWithSpan = t5;
18349 },
18350 _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
18351 this.$arguments = t0;
18352 this.positional = t1;
18353 this.named = t2;
18354 },
18355 _EvaluateVisitor_visitStringExpression_closure1: function _EvaluateVisitor_visitStringExpression_closure1(t0) {
18356 this.$this = t0;
18357 },
18358 _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
18359 this.$this = t0;
18360 this.node = t1;
18361 },
18362 _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
18363 },
18364 _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
18365 this.$this = t0;
18366 this.node = t1;
18367 },
18368 _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
18369 },
18370 _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
18371 this.$this = t0;
18372 this.node = t1;
18373 },
18374 _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2) {
18375 this.$this = t0;
18376 this.mergedQueries = t1;
18377 this.node = t2;
18378 },
18379 _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
18380 this.$this = t0;
18381 this.node = t1;
18382 },
18383 _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
18384 this.$this = t0;
18385 this.node = t1;
18386 },
18387 _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
18388 this.mergedQueries = t0;
18389 },
18390 _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3(t0, t1, t2) {
18391 this.$this = t0;
18392 this.rule = t1;
18393 this.node = t2;
18394 },
18395 _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
18396 this.$this = t0;
18397 this.node = t1;
18398 },
18399 _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4() {
18400 },
18401 _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
18402 this.$this = t0;
18403 this.node = t1;
18404 },
18405 _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
18406 this.$this = t0;
18407 this.node = t1;
18408 },
18409 _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
18410 },
18411 _EvaluateVisitor__performInterpolation_closure1: function _EvaluateVisitor__performInterpolation_closure1(t0, t1, t2) {
18412 this.$this = t0;
18413 this.warnForColor = t1;
18414 this.interpolation = t2;
18415 },
18416 _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
18417 this.value = t0;
18418 this.quote = t1;
18419 },
18420 _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
18421 this.$this = t0;
18422 this.expression = t1;
18423 },
18424 _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
18425 },
18426 _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
18427 this.$this = t0;
18428 },
18429 _EvaluateVisitor__stackTrace_closure1: function _EvaluateVisitor__stackTrace_closure1(t0) {
18430 this.$this = t0;
18431 },
18432 _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
18433 this._evaluate0$_visitor = t0;
18434 },
18435 _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
18436 },
18437 _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
18438 this.hasBeenMerged = t0;
18439 },
18440 _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
18441 },
18442 _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
18443 },
18444 _EvaluationContext1: function _EvaluationContext1(t0, t1) {
18445 this._evaluate0$_visitor = t0;
18446 this._evaluate0$_defaultWarnNodeWithSpan = t1;
18447 },
18448 _ArgumentResults1: function _ArgumentResults1(t0, t1, t2, t3, t4) {
18449 var _ = this;
18450 _.positional = t0;
18451 _.positionalNodes = t1;
18452 _.named = t2;
18453 _.namedNodes = t3;
18454 _.separator = t4;
18455 },
18456 _LoadedStylesheet1: function _LoadedStylesheet1(t0, t1, t2) {
18457 this.stylesheet = t0;
18458 this.importer = t1;
18459 this.isDependency = t2;
18460 },
18461 throwNodeException(exception, ascii, color, trace) {
18462 var wasAscii, jsException, trace0;
18463 trace = trace;
18464 wasAscii = $._glyphs === B.C_AsciiGlyphSet;
18465 $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
18466 try {
18467 jsException = type$._NodeException._as(A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]));
18468 trace0 = A.getTrace0(exception);
18469 trace = trace0 == null ? trace : trace0;
18470 if (trace != null)
18471 A.attachJsStack(jsException, trace);
18472 A.jsThrow(jsException);
18473 } finally {
18474 $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
18475 }
18476 },
18477 _NodeException: function _NodeException() {
18478 },
18479 exceptionClass_closure: function exceptionClass_closure() {
18480 },
18481 exceptionClass__closure: function exceptionClass__closure() {
18482 },
18483 exceptionClass__closure0: function exceptionClass__closure0() {
18484 },
18485 exceptionClass__closure1: function exceptionClass__closure1() {
18486 },
18487 SassException$0(message, span) {
18488 return new A.SassException0(message, span);
18489 },
18490 MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace) {
18491 return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
18492 },
18493 SassFormatException$0(message, span) {
18494 return new A.SassFormatException0(message, span);
18495 },
18496 SassScriptException$0(message) {
18497 return new A.SassScriptException0(message);
18498 },
18499 MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
18500 return new A.MultiSpanSassScriptException0(primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message);
18501 },
18502 SassException0: function SassException0(t0, t1) {
18503 this._span_exception$_message = t0;
18504 this._span = t1;
18505 },
18506 MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3) {
18507 var _ = this;
18508 _.primaryLabel = t0;
18509 _.secondarySpans = t1;
18510 _._span_exception$_message = t2;
18511 _._span = t3;
18512 },
18513 SassRuntimeException0: function SassRuntimeException0(t0, t1, t2) {
18514 this.trace = t0;
18515 this._span_exception$_message = t1;
18516 this._span = t2;
18517 },
18518 MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4) {
18519 var _ = this;
18520 _.trace = t0;
18521 _.primaryLabel = t1;
18522 _.secondarySpans = t2;
18523 _._span_exception$_message = t3;
18524 _._span = t4;
18525 },
18526 SassFormatException0: function SassFormatException0(t0, t1) {
18527 this._span_exception$_message = t0;
18528 this._span = t1;
18529 },
18530 SassScriptException0: function SassScriptException0(t0) {
18531 this.message = t0;
18532 },
18533 MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
18534 this.primaryLabel = t0;
18535 this.secondarySpans = t1;
18536 this.message = t2;
18537 },
18538 Exports: function Exports() {
18539 },
18540 LoggerNamespace: function LoggerNamespace() {
18541 },
18542 ExtendRule0: function ExtendRule0(t0, t1, t2) {
18543 this.selector = t0;
18544 this.isOptional = t1;
18545 this.span = t2;
18546 },
18547 Extension0: function Extension0(t0, t1, t2, t3, t4) {
18548 var _ = this;
18549 _.extender = t0;
18550 _.target = t1;
18551 _.mediaContext = t2;
18552 _.isOptional = t3;
18553 _.span = t4;
18554 },
18555 Extender0: function Extender0(t0, t1, t2) {
18556 var _ = this;
18557 _.selector = t0;
18558 _.isOriginal = t1;
18559 _._extension$_extension = null;
18560 _.span = t2;
18561 },
18562 ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
18563 var t1, t2, t3, t4, t5, t6, t7, t8, t9, _i, complex, t10, t11, t12, _i0, simple, t13, _i1, t14, t15,
18564 extender = A.ExtensionStore$_mode0(mode);
18565 if (!selector.get$isInvisible())
18566 extender._extension_store$_originals.addAll$1(0, selector.components);
18567 for (t1 = targets.components, t2 = t1.length, t3 = source.components, t4 = t3.length, t5 = type$.ComplexSelector_2, t6 = type$.Extension_2, t7 = type$.CompoundSelector_2, t8 = type$.SimpleSelector_2, t9 = type$.Map_ComplexSelector_Extension_2, _i = 0; _i < t2; ++_i) {
18568 complex = t1[_i];
18569 t10 = complex.components;
18570 if (t10.length !== 1)
18571 throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + A.S(complex) + "."));
18572 t11 = A.LinkedHashMap_LinkedHashMap$_empty(t8, t9);
18573 for (t10 = t7._as(B.JSArray_methods.get$first(t10)).components, t12 = t10.length, _i0 = 0; _i0 < t12; ++_i0) {
18574 simple = t10[_i0];
18575 t13 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
18576 for (_i1 = 0; _i1 < t4; ++_i1) {
18577 complex = t3[_i1];
18578 if (complex._complex0$_maxSpecificity == null)
18579 complex._complex0$_computeSpecificity$0();
18580 complex._complex0$_maxSpecificity.toString;
18581 t14 = new A.Extender0(complex, false, span);
18582 t15 = new A.Extension0(t14, simple, null, true, span);
18583 t14._extension$_extension = t15;
18584 t13.$indexSet(0, complex, t15);
18585 }
18586 t11.$indexSet(0, simple, t13);
18587 }
18588 selector = extender._extension_store$_extendList$3(selector, span, t11);
18589 }
18590 return selector;
18591 },
18592 ExtensionStore$0() {
18593 var t1 = type$.SimpleSelector_2;
18594 return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableCssValue_SelectorList_2, type$.List_CssMediaQuery_2), A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), B.ExtendMode_normal0);
18595 },
18596 ExtensionStore$_mode0(_mode) {
18597 var t1 = type$.SimpleSelector_2;
18598 return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableCssValue_SelectorList_2, type$.List_CssMediaQuery_2), A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), _mode);
18599 },
18600 ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
18601 var _ = this;
18602 _._extension_store$_selectors = t0;
18603 _._extension_store$_extensions = t1;
18604 _._extension_store$_extensionsByExtender = t2;
18605 _._extension_store$_mediaContexts = t3;
18606 _._extension_store$_sourceSpecificity = t4;
18607 _._extension_store$_originals = t5;
18608 _._extension_store$_mode = t6;
18609 },
18610 ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
18611 },
18612 ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
18613 },
18614 ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
18615 },
18616 ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
18617 },
18618 ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
18619 this.complex = t0;
18620 },
18621 ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
18622 },
18623 ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
18624 },
18625 ExtensionStore_addExtensions_closure1: function ExtensionStore_addExtensions_closure1(t0, t1) {
18626 this._box_0 = t0;
18627 this.$this = t1;
18628 },
18629 ExtensionStore_addExtensions__closure4: function ExtensionStore_addExtensions__closure4(t0, t1, t2, t3, t4) {
18630 var _ = this;
18631 _._box_0 = t0;
18632 _.existingSources = t1;
18633 _.extensionsForTarget = t2;
18634 _.selectorsForTarget = t3;
18635 _.target = t4;
18636 },
18637 ExtensionStore_addExtensions___closure0: function ExtensionStore_addExtensions___closure0() {
18638 },
18639 ExtensionStore_addExtensions_closure2: function ExtensionStore_addExtensions_closure2(t0, t1) {
18640 this._box_0 = t0;
18641 this.$this = t1;
18642 },
18643 ExtensionStore_addExtensions__closure2: function ExtensionStore_addExtensions__closure2(t0, t1) {
18644 this.$this = t0;
18645 this.newExtensions = t1;
18646 },
18647 ExtensionStore_addExtensions__closure3: function ExtensionStore_addExtensions__closure3(t0, t1) {
18648 this.$this = t0;
18649 this.newExtensions = t1;
18650 },
18651 ExtensionStore__extendComplex_closure1: function ExtensionStore__extendComplex_closure1(t0) {
18652 this.complex = t0;
18653 },
18654 ExtensionStore__extendComplex_closure2: function ExtensionStore__extendComplex_closure2(t0, t1, t2) {
18655 this._box_0 = t0;
18656 this.$this = t1;
18657 this.complex = t2;
18658 },
18659 ExtensionStore__extendComplex__closure1: function ExtensionStore__extendComplex__closure1() {
18660 },
18661 ExtensionStore__extendComplex__closure2: function ExtensionStore__extendComplex__closure2(t0, t1, t2, t3) {
18662 var _ = this;
18663 _._box_0 = t0;
18664 _.$this = t1;
18665 _.complex = t2;
18666 _.path = t3;
18667 },
18668 ExtensionStore__extendComplex___closure0: function ExtensionStore__extendComplex___closure0() {
18669 },
18670 ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
18671 this.mediaQueryContext = t0;
18672 },
18673 ExtensionStore__extendCompound_closure5: function ExtensionStore__extendCompound_closure5(t0, t1) {
18674 this._box_1 = t0;
18675 this.mediaQueryContext = t1;
18676 },
18677 ExtensionStore__extendCompound__closure1: function ExtensionStore__extendCompound__closure1() {
18678 },
18679 ExtensionStore__extendCompound__closure2: function ExtensionStore__extendCompound__closure2(t0) {
18680 this._box_0 = t0;
18681 },
18682 ExtensionStore__extendCompound_closure6: function ExtensionStore__extendCompound_closure6() {
18683 },
18684 ExtensionStore__extendCompound_closure7: function ExtensionStore__extendCompound_closure7() {
18685 },
18686 ExtensionStore__extendCompound_closure8: function ExtensionStore__extendCompound_closure8(t0) {
18687 this.original = t0;
18688 },
18689 ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2, t3) {
18690 var _ = this;
18691 _.$this = t0;
18692 _.extensions = t1;
18693 _.targetsUsed = t2;
18694 _.simpleSpan = t3;
18695 },
18696 ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1, t2) {
18697 this.$this = t0;
18698 this.withoutPseudo = t1;
18699 this.simpleSpan = t2;
18700 },
18701 ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
18702 },
18703 ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
18704 },
18705 ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
18706 },
18707 ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
18708 },
18709 ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
18710 this.pseudo = t0;
18711 },
18712 ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0) {
18713 this.pseudo = t0;
18714 },
18715 ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
18716 this._box_0 = t0;
18717 this.complex1 = t1;
18718 },
18719 ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
18720 this._box_0 = t0;
18721 this.complex1 = t1;
18722 },
18723 ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
18724 var _ = this;
18725 _.$this = t0;
18726 _.newSelectors = t1;
18727 _.oldToNewSelectors = t2;
18728 _.newMediaContexts = t3;
18729 },
18730 FiberClass: function FiberClass() {
18731 },
18732 Fiber: function Fiber() {
18733 },
18734 NodeToDartFileImporter: function NodeToDartFileImporter(t0) {
18735 this._file0$_findFileUrl = t0;
18736 },
18737 FilesystemImporter$(loadPath) {
18738 var _null = null;
18739 return new A.FilesystemImporter0($.$get$context().absolute$7(loadPath, _null, _null, _null, _null, _null, _null));
18740 },
18741 FilesystemImporter0: function FilesystemImporter0(t0) {
18742 this._filesystem$_loadPath = t0;
18743 },
18744 FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
18745 },
18746 ForRule$0(variable, from, to, children, span, exclusive) {
18747 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
18748 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
18749 return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
18750 },
18751 ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
18752 var _ = this;
18753 _.variable = t0;
18754 _.from = t1;
18755 _.to = t2;
18756 _.isExclusive = t3;
18757 _.span = t4;
18758 _.children = t5;
18759 _.hasDeclarations = t6;
18760 },
18761 ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
18762 var _ = this;
18763 _.url = t0;
18764 _.shownMixinsAndFunctions = t1;
18765 _.shownVariables = t2;
18766 _.hiddenMixinsAndFunctions = t3;
18767 _.hiddenVariables = t4;
18768 _.prefix = t5;
18769 _.configuration = t6;
18770 _.span = t7;
18771 },
18772 ForwardedModuleView_ifNecessary0(inner, rule, $T) {
18773 var t1;
18774 if (rule.prefix == null)
18775 if (rule.shownMixinsAndFunctions == null)
18776 if (rule.shownVariables == null) {
18777 t1 = rule.hiddenMixinsAndFunctions;
18778 if (t1 == null)
18779 t1 = null;
18780 else {
18781 t1 = t1._base;
18782 t1 = t1.get$isEmpty(t1);
18783 }
18784 if (t1 === true) {
18785 t1 = rule.hiddenVariables;
18786 if (t1 == null)
18787 t1 = null;
18788 else {
18789 t1 = t1._base;
18790 t1 = t1.get$isEmpty(t1);
18791 }
18792 t1 = t1 === true;
18793 } else
18794 t1 = false;
18795 } else
18796 t1 = false;
18797 else
18798 t1 = false;
18799 else
18800 t1 = false;
18801 if (t1)
18802 return inner;
18803 else
18804 return A.ForwardedModuleView$0(inner, rule, $T);
18805 },
18806 ForwardedModuleView$0(_inner, _rule, $T) {
18807 var t1 = _rule.prefix,
18808 t2 = _rule.shownVariables,
18809 t3 = _rule.hiddenVariables,
18810 t4 = _rule.shownMixinsAndFunctions,
18811 t5 = _rule.hiddenMixinsAndFunctions;
18812 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>"));
18813 },
18814 ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
18815 var t2,
18816 t1 = prefix == null;
18817 if (t1)
18818 if (safelist == null)
18819 if (blocklist != null) {
18820 t2 = blocklist._base;
18821 t2 = t2.get$isEmpty(t2);
18822 } else
18823 t2 = true;
18824 else
18825 t2 = false;
18826 else
18827 t2 = false;
18828 if (t2)
18829 return map;
18830 if (!t1)
18831 map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
18832 if (safelist != null)
18833 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>"));
18834 else {
18835 if (blocklist != null) {
18836 t1 = blocklist._base;
18837 t1 = t1.get$isNotEmpty(t1);
18838 } else
18839 t1 = false;
18840 if (t1)
18841 map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
18842 }
18843 return map;
18844 },
18845 ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
18846 var _ = this;
18847 _._forwarded_view0$_inner = t0;
18848 _._forwarded_view0$_rule = t1;
18849 _.variables = t2;
18850 _.variableNodes = t3;
18851 _.functions = t4;
18852 _.mixins = t5;
18853 _.$ti = t6;
18854 },
18855 FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3) {
18856 var _ = this;
18857 _.namespace = t0;
18858 _.originalName = t1;
18859 _.$arguments = t2;
18860 _.span = t3;
18861 },
18862 JSFunction0: function JSFunction0() {
18863 },
18864 SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
18865 this.name = t0;
18866 this.$arguments = t1;
18867 this.span = t2;
18868 },
18869 functionClass_closure: function functionClass_closure() {
18870 },
18871 functionClass__closure: function functionClass__closure() {
18872 },
18873 functionClass__closure0: function functionClass__closure0() {
18874 },
18875 SassFunction0: function SassFunction0(t0) {
18876 this.callable = t0;
18877 },
18878 FunctionRule$0($name, $arguments, children, span, comment) {
18879 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
18880 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
18881 return new A.FunctionRule0($name, $arguments, span, t1, t2);
18882 },
18883 FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4) {
18884 var _ = this;
18885 _.name = t0;
18886 _.$arguments = t1;
18887 _.span = t2;
18888 _.children = t3;
18889 _.hasDeclarations = t4;
18890 },
18891 unifyComplex0(complexes) {
18892 var t2, unifiedBase, base, t3, t4, _i, complexesWithoutBases,
18893 t1 = J.getInterceptor$asx(complexes);
18894 if (t1.get$length(complexes) === 1)
18895 return complexes;
18896 for (t2 = t1.get$iterator(complexes), unifiedBase = null; t2.moveNext$0();) {
18897 base = J.get$last$ax(t2.get$current(t2));
18898 if (!(base instanceof A.CompoundSelector0))
18899 return null;
18900 if (unifiedBase == null)
18901 unifiedBase = base.components;
18902 else
18903 for (t3 = base.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
18904 unifiedBase = t3[_i].unify$1(unifiedBase);
18905 if (unifiedBase == null)
18906 return null;
18907 }
18908 }
18909 t1 = t1.map$1$1(complexes, new A.unifyComplex_closure0(), type$.List_ComplexSelectorComponent_2);
18910 complexesWithoutBases = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
18911 t1 = B.JSArray_methods.get$last(complexesWithoutBases);
18912 unifiedBase.toString;
18913 J.add$1$ax(t1, A.CompoundSelector$0(unifiedBase));
18914 return A.weave0(complexesWithoutBases);
18915 },
18916 unifyCompound0(compound1, compound2) {
18917 var t1, result, _i, unified;
18918 for (t1 = compound1.length, result = compound2, _i = 0; _i < t1; ++_i, result = unified) {
18919 unified = compound1[_i].unify$1(result);
18920 if (unified == null)
18921 return null;
18922 }
18923 return A.CompoundSelector$0(result);
18924 },
18925 unifyUniversalAndElement0(selector1, selector2) {
18926 var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
18927 _s45_ = string$.must_b;
18928 if (selector1 instanceof A.UniversalSelector0) {
18929 namespace1 = selector1.namespace;
18930 name1 = _null;
18931 } else if (selector1 instanceof A.TypeSelector0) {
18932 t1 = selector1.name;
18933 namespace1 = t1.namespace;
18934 name1 = t1.name;
18935 } else
18936 throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
18937 if (selector2 instanceof A.UniversalSelector0) {
18938 namespace2 = selector2.namespace;
18939 name2 = _null;
18940 } else if (selector2 instanceof A.TypeSelector0) {
18941 t1 = selector2.name;
18942 namespace2 = t1.namespace;
18943 name2 = t1.name;
18944 } else
18945 throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
18946 if (namespace1 == namespace2 || namespace2 === "*")
18947 namespace = namespace1;
18948 else {
18949 if (namespace1 !== "*")
18950 return _null;
18951 namespace = namespace2;
18952 }
18953 if (name1 == name2 || name2 == null)
18954 $name = name1;
18955 else {
18956 if (!(name1 == null || name1 === "*"))
18957 return _null;
18958 $name = name2;
18959 }
18960 return $name == null ? new A.UniversalSelector0(namespace) : new A.TypeSelector0(new A.QualifiedName0($name, namespace));
18961 },
18962 weave0(complexes) {
18963 var t2, t3, t4, t5, target, _i, parents, newPrefixes, parentPrefixes, t6,
18964 t1 = type$.JSArray_List_ComplexSelectorComponent_2,
18965 prefixes = A._setArrayType([J.toList$0$ax(B.JSArray_methods.get$first(complexes))], t1);
18966 for (t2 = A.SubListIterable$(complexes, 1, null, A._arrayInstanceType(complexes)._precomputed1), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
18967 t4 = t3._as(t2.__internal$_current);
18968 t5 = J.getInterceptor$asx(t4);
18969 if (t5.get$isEmpty(t4))
18970 continue;
18971 target = t5.get$last(t4);
18972 if (t5.get$length(t4) === 1) {
18973 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i)
18974 J.add$1$ax(prefixes[_i], target);
18975 continue;
18976 }
18977 parents = t5.take$1(t4, t5.get$length(t4) - 1).toList$0(0);
18978 newPrefixes = A._setArrayType([], t1);
18979 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
18980 parentPrefixes = A._weaveParents0(prefixes[_i], parents);
18981 if (parentPrefixes == null)
18982 continue;
18983 for (t5 = parentPrefixes.get$iterator(parentPrefixes); t5.moveNext$0();) {
18984 t6 = t5.get$current(t5);
18985 J.add$1$ax(t6, target);
18986 newPrefixes.push(t6);
18987 }
18988 }
18989 prefixes = newPrefixes;
18990 }
18991 return prefixes;
18992 },
18993 _weaveParents0(parents1, parents2) {
18994 var finalCombinators, root1, root2, root, groups1, groups2, lcs, t2, choices, t3, _i, group, t4, t5, _null = null,
18995 t1 = type$.ComplexSelectorComponent_2,
18996 queue1 = A.ListQueue_ListQueue$of(parents1, t1),
18997 queue2 = A.ListQueue_ListQueue$of(parents2, t1),
18998 initialCombinators = A._mergeInitialCombinators0(queue1, queue2);
18999 if (initialCombinators == null)
19000 return _null;
19001 finalCombinators = A._mergeFinalCombinators0(queue1, queue2, _null);
19002 if (finalCombinators == null)
19003 return _null;
19004 root1 = A._firstIfRoot0(queue1);
19005 root2 = A._firstIfRoot0(queue2);
19006 t1 = root1 != null;
19007 if (t1 && root2 != null) {
19008 root = A.unifyCompound0(root1.components, root2.components);
19009 if (root == null)
19010 return _null;
19011 queue1.addFirst$1(root);
19012 queue2.addFirst$1(root);
19013 } else if (t1)
19014 queue2.addFirst$1(root1);
19015 else if (root2 != null)
19016 queue1.addFirst$1(root2);
19017 groups1 = A._groupSelectors0(queue1);
19018 groups2 = A._groupSelectors0(queue2);
19019 t1 = type$.List_ComplexSelectorComponent_2;
19020 lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure6(), t1);
19021 t2 = type$.JSArray_Iterable_ComplexSelectorComponent_2;
19022 choices = A._setArrayType([A._setArrayType([initialCombinators], t2)], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
19023 for (t3 = lcs.length, _i = 0; _i < lcs.length; lcs.length === t3 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
19024 group = lcs[_i];
19025 t4 = A._chunks0(groups1, groups2, new A._weaveParents_closure7(group), t1);
19026 t5 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent0>>");
19027 choices.push(A.List_List$of(new A.MappedListIterable(t4, new A._weaveParents_closure8(), t5), true, t5._eval$1("ListIterable.E")));
19028 choices.push(A._setArrayType([group], t2));
19029 groups1.removeFirst$0();
19030 groups2.removeFirst$0();
19031 }
19032 t2 = A._chunks0(groups1, groups2, new A._weaveParents_closure9(), t1);
19033 t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent0>>");
19034 choices.push(A.List_List$of(new A.MappedListIterable(t2, new A._weaveParents_closure10(), t3), true, t3._eval$1("ListIterable.E")));
19035 B.JSArray_methods.addAll$1(choices, finalCombinators);
19036 return J.map$1$1$ax(A.paths0(new A.WhereIterable(choices, new A._weaveParents_closure11(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent_2), type$.Iterable_ComplexSelectorComponent_2), new A._weaveParents_closure12(), t1);
19037 },
19038 _firstIfRoot0(queue) {
19039 var first;
19040 if (queue._collection$_head === queue._collection$_tail)
19041 return null;
19042 first = queue.get$first(queue);
19043 if (first instanceof A.CompoundSelector0) {
19044 if (!A._hasRoot0(first))
19045 return null;
19046 queue.removeFirst$0();
19047 return first;
19048 } else
19049 return null;
19050 },
19051 _mergeInitialCombinators0(components1, components2) {
19052 var t4, combinators2, lcs,
19053 t1 = type$.JSArray_Combinator_2,
19054 combinators1 = A._setArrayType([], t1),
19055 t2 = type$.Combinator_2,
19056 t3 = components1.$ti._precomputed1;
19057 while (true) {
19058 if (!components1.get$isEmpty(components1)) {
19059 t4 = components1._collection$_head;
19060 if (t4 === components1._collection$_tail)
19061 A.throwExpression(A.IterableElementError_noElement());
19062 t4 = t3._as(components1._collection$_table[t4]) instanceof A.Combinator0;
19063 } else
19064 t4 = false;
19065 if (!t4)
19066 break;
19067 combinators1.push(t2._as(components1.removeFirst$0()));
19068 }
19069 combinators2 = A._setArrayType([], t1);
19070 t1 = components2.$ti._precomputed1;
19071 while (true) {
19072 if (!components2.get$isEmpty(components2)) {
19073 t3 = components2._collection$_head;
19074 if (t3 === components2._collection$_tail)
19075 A.throwExpression(A.IterableElementError_noElement());
19076 t3 = t1._as(components2._collection$_table[t3]) instanceof A.Combinator0;
19077 } else
19078 t3 = false;
19079 if (!t3)
19080 break;
19081 combinators2.push(t2._as(components2.removeFirst$0()));
19082 }
19083 lcs = A.longestCommonSubsequence0(combinators1, combinators2, null, t2);
19084 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
19085 return combinators2;
19086 if (B.C_ListEquality.equals$2(0, lcs, combinators2))
19087 return combinators1;
19088 return null;
19089 },
19090 _mergeFinalCombinators0(components1, components2, result) {
19091 var t1, combinators1, t2, combinators2, lcs, combinator1, combinator2, compound1, compound2, choices, unified, followingSiblingSelector, nextSiblingSelector, _null = null;
19092 if (result == null)
19093 result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
19094 if (components1._collection$_head === components1._collection$_tail || !(components1.get$last(components1) instanceof A.Combinator0))
19095 t1 = components2._collection$_head === components2._collection$_tail || !(components2.get$last(components2) instanceof A.Combinator0);
19096 else
19097 t1 = false;
19098 if (t1)
19099 return result;
19100 t1 = type$.JSArray_Combinator_2;
19101 combinators1 = A._setArrayType([], t1);
19102 t2 = type$.Combinator_2;
19103 while (true) {
19104 if (!(!components1.get$isEmpty(components1) && components1.get$last(components1) instanceof A.Combinator0))
19105 break;
19106 combinators1.push(t2._as(components1.removeLast$0(0)));
19107 }
19108 combinators2 = A._setArrayType([], t1);
19109 while (true) {
19110 if (!(!components2.get$isEmpty(components2) && components2.get$last(components2) instanceof A.Combinator0))
19111 break;
19112 combinators2.push(t2._as(components2.removeLast$0(0)));
19113 }
19114 t1 = combinators1.length;
19115 if (t1 > 1 || combinators2.length > 1) {
19116 lcs = A.longestCommonSubsequence0(combinators1, combinators2, _null, t2);
19117 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
19118 result.addFirst$1(A._setArrayType([A.List_List$of(new A.ReversedListIterable(combinators2, type$.ReversedListIterable_Combinator_2), true, type$.ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19119 else if (B.C_ListEquality.equals$2(0, lcs, combinators2))
19120 result.addFirst$1(A._setArrayType([A.List_List$of(new A.ReversedListIterable(combinators1, type$.ReversedListIterable_Combinator_2), true, type$.ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19121 else
19122 return _null;
19123 return result;
19124 }
19125 combinator1 = t1 === 0 ? _null : B.JSArray_methods.get$first(combinators1);
19126 combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
19127 t1 = combinator1 != null;
19128 if (t1 && combinator2 != null) {
19129 t1 = type$.CompoundSelector_2;
19130 compound1 = t1._as(components1.removeLast$0(0));
19131 compound2 = t1._as(components2.removeLast$0(0));
19132 t1 = combinator1 === B.Combinator_CzM0;
19133 if (t1 && combinator2 === B.Combinator_CzM0)
19134 if (A.compoundIsSuperselector0(compound1, compound2, _null))
19135 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, B.Combinator_CzM0], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19136 else {
19137 t1 = type$.JSArray_ComplexSelectorComponent_2;
19138 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
19139 if (A.compoundIsSuperselector0(compound2, compound1, _null))
19140 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, B.Combinator_CzM0], t1)], t2));
19141 else {
19142 choices = A._setArrayType([A._setArrayType([compound1, B.Combinator_CzM0, compound2, B.Combinator_CzM0], t1), A._setArrayType([compound2, B.Combinator_CzM0, compound1, B.Combinator_CzM0], t1)], t2);
19143 unified = A.unifyCompound0(compound1.components, compound2.components);
19144 if (unified != null)
19145 choices.push(A._setArrayType([unified, B.Combinator_CzM0], t1));
19146 result.addFirst$1(choices);
19147 }
19148 }
19149 else {
19150 if (!(t1 && combinator2 === B.Combinator_uzg0))
19151 t2 = combinator1 === B.Combinator_uzg0 && combinator2 === B.Combinator_CzM0;
19152 else
19153 t2 = true;
19154 if (t2) {
19155 followingSiblingSelector = t1 ? compound1 : compound2;
19156 nextSiblingSelector = t1 ? compound2 : compound1;
19157 t1 = type$.JSArray_ComplexSelectorComponent_2;
19158 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
19159 if (A.compoundIsSuperselector0(followingSiblingSelector, nextSiblingSelector, _null))
19160 result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingSelector, B.Combinator_uzg0], t1)], t2));
19161 else {
19162 unified = A.unifyCompound0(compound1.components, compound2.components);
19163 t2 = A._setArrayType([A._setArrayType([followingSiblingSelector, B.Combinator_CzM0, nextSiblingSelector, B.Combinator_uzg0], t1)], t2);
19164 if (unified != null)
19165 t2.push(A._setArrayType([unified, B.Combinator_uzg0], t1));
19166 result.addFirst$1(t2);
19167 }
19168 } else {
19169 if (combinator1 === B.Combinator_sgq0)
19170 t2 = combinator2 === B.Combinator_uzg0 || combinator2 === B.Combinator_CzM0;
19171 else
19172 t2 = false;
19173 if (t2) {
19174 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, combinator2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19175 components1._add$1(compound1);
19176 components1._add$1(B.Combinator_sgq0);
19177 } else {
19178 if (combinator2 === B.Combinator_sgq0)
19179 t1 = combinator1 === B.Combinator_uzg0 || t1;
19180 else
19181 t1 = false;
19182 if (t1) {
19183 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19184 components2._add$1(compound2);
19185 components2._add$1(B.Combinator_sgq0);
19186 } else if (combinator1 === combinator2) {
19187 unified = A.unifyCompound0(compound1.components, compound2.components);
19188 if (unified == null)
19189 return _null;
19190 result.addFirst$1(A._setArrayType([A._setArrayType([unified, combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19191 } else
19192 return _null;
19193 }
19194 }
19195 }
19196 return A._mergeFinalCombinators0(components1, components2, result);
19197 } else if (t1) {
19198 if (combinator1 === B.Combinator_sgq0)
19199 if (!components2.get$isEmpty(components2)) {
19200 t1 = type$.CompoundSelector_2;
19201 t1 = A.compoundIsSuperselector0(t1._as(components2.get$last(components2)), t1._as(components1.get$last(components1)), _null);
19202 } else
19203 t1 = false;
19204 else
19205 t1 = false;
19206 if (t1)
19207 components2.removeLast$0(0);
19208 result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0), combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19209 return A._mergeFinalCombinators0(components1, components2, result);
19210 } else {
19211 if (combinator2 === B.Combinator_sgq0)
19212 if (!components1.get$isEmpty(components1)) {
19213 t1 = type$.CompoundSelector_2;
19214 t1 = A.compoundIsSuperselector0(t1._as(components1.get$last(components1)), t1._as(components2.get$last(components2)), _null);
19215 } else
19216 t1 = false;
19217 else
19218 t1 = false;
19219 if (t1)
19220 components1.removeLast$0(0);
19221 t1 = components2.removeLast$0(0);
19222 combinator2.toString;
19223 result.addFirst$1(A._setArrayType([A._setArrayType([t1, combinator2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19224 return A._mergeFinalCombinators0(components1, components2, result);
19225 }
19226 },
19227 _mustUnify0(complex1, complex2) {
19228 var t2, t3, t4,
19229 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
19230 for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();) {
19231 t3 = t2.get$current(t2);
19232 if (t3 instanceof A.CompoundSelector0)
19233 for (t3 = B.JSArray_methods.get$iterator(t3.components), t4 = new A.WhereIterator(t3, A.functions0___isUnique$closure()); t4.moveNext$0();)
19234 t1.add$1(0, t3.get$current(t3));
19235 }
19236 if (t1._collection$_length === 0)
19237 return false;
19238 return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
19239 },
19240 _isUnique0(simple) {
19241 var t1;
19242 if (!(simple instanceof A.IDSelector0))
19243 t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
19244 else
19245 t1 = true;
19246 return t1;
19247 },
19248 _chunks0(queue1, queue2, done, $T) {
19249 var chunk2, t2,
19250 t1 = $T._eval$1("JSArray<0>"),
19251 chunk1 = A._setArrayType([], t1);
19252 for (; !done.call$1(queue1);)
19253 chunk1.push(queue1.removeFirst$0());
19254 chunk2 = A._setArrayType([], t1);
19255 for (; !done.call$1(queue2);)
19256 chunk2.push(queue2.removeFirst$0());
19257 t1 = chunk1.length === 0;
19258 if (t1 && chunk2.length === 0)
19259 return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
19260 if (t1)
19261 return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
19262 if (chunk2.length === 0)
19263 return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
19264 t1 = A.List_List$of(chunk1, true, $T);
19265 B.JSArray_methods.addAll$1(t1, chunk2);
19266 t2 = A.List_List$of(chunk2, true, $T);
19267 B.JSArray_methods.addAll$1(t2, chunk1);
19268 return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
19269 },
19270 paths0(choices, $T) {
19271 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));
19272 },
19273 _groupSelectors0(complex) {
19274 var t1, t2, group, t3, t4,
19275 groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
19276 iterator = A._ListQueueIterator$(complex);
19277 if (!iterator.moveNext$0())
19278 return groups;
19279 t1 = A._instanceType(iterator)._precomputed1;
19280 t2 = type$.JSArray_ComplexSelectorComponent_2;
19281 group = A._setArrayType([t1._as(iterator._collection$_current)], t2);
19282 groups._queue_list$_add$1(group);
19283 for (; iterator.moveNext$0();) {
19284 t3 = B.JSArray_methods.get$last(group) instanceof A.Combinator0 || t1._as(iterator._collection$_current) instanceof A.Combinator0;
19285 t4 = iterator._collection$_current;
19286 if (t3)
19287 group.push(t1._as(t4));
19288 else {
19289 group = A._setArrayType([t1._as(t4)], t2);
19290 groups._queue_list$_add$1(group);
19291 }
19292 }
19293 return groups;
19294 },
19295 _hasRoot0(compound) {
19296 return B.JSArray_methods.any$1(compound.components, new A._hasRoot_closure0());
19297 },
19298 listIsSuperselector0(list1, list2) {
19299 return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
19300 },
19301 complexIsParentSuperselector0(complex1, complex2) {
19302 var t2, base,
19303 t1 = J.getInterceptor$ax(complex1);
19304 if (t1.get$first(complex1) instanceof A.Combinator0)
19305 return false;
19306 t2 = J.getInterceptor$ax(complex2);
19307 if (t2.get$first(complex2) instanceof A.Combinator0)
19308 return false;
19309 if (t1.get$length(complex1) > t2.get$length(complex2))
19310 return false;
19311 base = A.CompoundSelector$0(A._setArrayType([new A.PlaceholderSelector0("<temp>")], type$.JSArray_SimpleSelector_2));
19312 t1 = type$.ComplexSelectorComponent_2;
19313 t2 = A.List_List$of(complex1, true, t1);
19314 t2.push(base);
19315 t1 = A.List_List$of(complex2, true, t1);
19316 t1.push(base);
19317 return A.complexIsSuperselector0(t2, t1);
19318 },
19319 complexIsSuperselector0(complex1, complex2) {
19320 var t1, t2, t3, i1, i2, remaining1, remaining2, t4, t5, t6, afterSuperselector, afterSuperselector0, compound2, i10, combinator1, combinator2;
19321 if (B.JSArray_methods.get$last(complex1) instanceof A.Combinator0)
19322 return false;
19323 if (B.JSArray_methods.get$last(complex2) instanceof A.Combinator0)
19324 return false;
19325 for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), t3 = type$.CompoundSelector_2, i1 = 0, i2 = 0; true;) {
19326 remaining1 = complex1.length - i1;
19327 remaining2 = complex2.length - i2;
19328 if (remaining1 === 0 || remaining2 === 0)
19329 return false;
19330 if (remaining1 > remaining2)
19331 return false;
19332 t4 = complex1[i1];
19333 if (t4 instanceof A.Combinator0)
19334 return false;
19335 if (complex2[i2] instanceof A.Combinator0)
19336 return false;
19337 t3._as(t4);
19338 if (remaining1 === 1) {
19339 t5 = t3._as(B.JSArray_methods.get$last(complex2));
19340 t6 = complex2.length - 1;
19341 t3 = new A.SubListIterable(complex2, 0, t6, t1);
19342 t3.SubListIterable$3(complex2, 0, t6, t2);
19343 return A.compoundIsSuperselector0(t4, t5, t3.skip$1(0, i2));
19344 }
19345 afterSuperselector = i2 + 1;
19346 for (afterSuperselector0 = afterSuperselector; afterSuperselector0 < complex2.length; ++afterSuperselector0) {
19347 t5 = afterSuperselector0 - 1;
19348 compound2 = complex2[t5];
19349 if (compound2 instanceof A.CompoundSelector0) {
19350 t6 = new A.SubListIterable(complex2, 0, t5, t1);
19351 t6.SubListIterable$3(complex2, 0, t5, t2);
19352 if (A.compoundIsSuperselector0(t4, compound2, t6.skip$1(0, afterSuperselector)))
19353 break;
19354 }
19355 }
19356 if (afterSuperselector0 === complex2.length)
19357 return false;
19358 i10 = i1 + 1;
19359 combinator1 = complex1[i10];
19360 combinator2 = complex2[afterSuperselector0];
19361 if (combinator1 instanceof A.Combinator0) {
19362 if (!(combinator2 instanceof A.Combinator0))
19363 return false;
19364 if (combinator1 === B.Combinator_CzM0) {
19365 if (combinator2 === B.Combinator_sgq0)
19366 return false;
19367 } else if (combinator2 !== combinator1)
19368 return false;
19369 if (remaining1 === 3 && remaining2 > 3)
19370 return false;
19371 i1 += 2;
19372 i2 = afterSuperselector0 + 1;
19373 } else {
19374 if (combinator2 instanceof A.Combinator0) {
19375 if (combinator2 !== B.Combinator_sgq0)
19376 return false;
19377 i2 = afterSuperselector0 + 1;
19378 } else
19379 i2 = afterSuperselector0;
19380 i1 = i10;
19381 }
19382 }
19383 },
19384 compoundIsSuperselector0(compound1, compound2, parents) {
19385 var t1, t2, _i, simple1, simple2;
19386 for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
19387 simple1 = t1[_i];
19388 if (simple1 instanceof A.PseudoSelector0 && simple1.selector != null) {
19389 if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
19390 return false;
19391 } else if (!A._simpleIsSuperselectorOfCompound0(simple1, compound2))
19392 return false;
19393 }
19394 for (t1 = compound2.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
19395 simple2 = t1[_i];
19396 if (simple2 instanceof A.PseudoSelector0 && !simple2.isClass && simple2.selector == null && !A._simpleIsSuperselectorOfCompound0(simple2, compound1))
19397 return false;
19398 }
19399 return true;
19400 },
19401 _simpleIsSuperselectorOfCompound0(simple, compound) {
19402 return B.JSArray_methods.any$1(compound.components, new A._simpleIsSuperselectorOfCompound_closure0(simple));
19403 },
19404 _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
19405 var selector1_ = pseudo1.selector;
19406 if (selector1_ == null)
19407 throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
19408 switch (pseudo1.normalizedName) {
19409 case "is":
19410 case "matches":
19411 case "any":
19412 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));
19413 case "has":
19414 case "host":
19415 case "host-context":
19416 return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1_));
19417 case "slotted":
19418 return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1_));
19419 case "not":
19420 return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
19421 case "current":
19422 return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1_));
19423 case "nth-child":
19424 case "nth-last-child":
19425 return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1_));
19426 default:
19427 throw A.wrapException("unreachable");
19428 }
19429 },
19430 _selectorPseudoArgs0(compound, $name, isClass) {
19431 var t1 = type$.WhereTypeIterable_PseudoSelector_2;
19432 return A.IterableNullableExtension_whereNotNull(new A.MappedIterable(new A.WhereIterable(new A.WhereTypeIterable(compound.components, t1), new A._selectorPseudoArgs_closure1(isClass, $name), t1._eval$1("WhereIterable<Iterable.E>")), new A._selectorPseudoArgs_closure2(), t1._eval$1("MappedIterable<Iterable.E,SelectorList0?>")), type$.SelectorList_2);
19433 },
19434 unifyComplex_closure0: function unifyComplex_closure0() {
19435 },
19436 _weaveParents_closure6: function _weaveParents_closure6() {
19437 },
19438 _weaveParents_closure7: function _weaveParents_closure7(t0) {
19439 this.group = t0;
19440 },
19441 _weaveParents_closure8: function _weaveParents_closure8() {
19442 },
19443 _weaveParents__closure4: function _weaveParents__closure4() {
19444 },
19445 _weaveParents_closure9: function _weaveParents_closure9() {
19446 },
19447 _weaveParents_closure10: function _weaveParents_closure10() {
19448 },
19449 _weaveParents__closure3: function _weaveParents__closure3() {
19450 },
19451 _weaveParents_closure11: function _weaveParents_closure11() {
19452 },
19453 _weaveParents_closure12: function _weaveParents_closure12() {
19454 },
19455 _weaveParents__closure2: function _weaveParents__closure2() {
19456 },
19457 _mustUnify_closure0: function _mustUnify_closure0(t0) {
19458 this.uniqueSelectors = t0;
19459 },
19460 _mustUnify__closure0: function _mustUnify__closure0(t0) {
19461 this.uniqueSelectors = t0;
19462 },
19463 paths_closure0: function paths_closure0(t0) {
19464 this.T = t0;
19465 },
19466 paths__closure0: function paths__closure0(t0, t1) {
19467 this.paths = t0;
19468 this.T = t1;
19469 },
19470 paths___closure0: function paths___closure0(t0, t1) {
19471 this.option = t0;
19472 this.T = t1;
19473 },
19474 _hasRoot_closure0: function _hasRoot_closure0() {
19475 },
19476 listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
19477 this.list1 = t0;
19478 },
19479 listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
19480 this.complex1 = t0;
19481 },
19482 _simpleIsSuperselectorOfCompound_closure0: function _simpleIsSuperselectorOfCompound_closure0(t0) {
19483 this.simple = t0;
19484 },
19485 _simpleIsSuperselectorOfCompound__closure0: function _simpleIsSuperselectorOfCompound__closure0(t0) {
19486 this.simple = t0;
19487 },
19488 _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
19489 this.selector1 = t0;
19490 },
19491 _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
19492 this.parents = t0;
19493 this.compound2 = t1;
19494 },
19495 _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
19496 this.selector1 = t0;
19497 },
19498 _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
19499 this.selector1 = t0;
19500 },
19501 _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
19502 this.compound2 = t0;
19503 this.pseudo1 = t1;
19504 },
19505 _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
19506 this.complex = t0;
19507 this.pseudo1 = t1;
19508 },
19509 _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
19510 this.simple2 = t0;
19511 },
19512 _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
19513 this.simple2 = t0;
19514 },
19515 _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
19516 this.selector1 = t0;
19517 },
19518 _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
19519 this.pseudo1 = t0;
19520 this.selector1 = t1;
19521 },
19522 _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
19523 this.isClass = t0;
19524 this.name = t1;
19525 },
19526 _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
19527 },
19528 globalFunctions_closure0: function globalFunctions_closure0() {
19529 },
19530 IDSelector0: function IDSelector0(t0) {
19531 this.name = t0;
19532 },
19533 IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
19534 this.$this = t0;
19535 },
19536 IfExpression0: function IfExpression0(t0, t1) {
19537 this.$arguments = t0;
19538 this.span = t1;
19539 },
19540 IfClause$0(expression, children) {
19541 var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
19542 return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
19543 },
19544 ElseClause$0(children) {
19545 var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
19546 return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
19547 },
19548 IfRule0: function IfRule0(t0, t1, t2) {
19549 this.clauses = t0;
19550 this.lastClause = t1;
19551 this.span = t2;
19552 },
19553 IfRule_toString_closure0: function IfRule_toString_closure0() {
19554 },
19555 IfRuleClause0: function IfRuleClause0() {
19556 },
19557 IfRuleClause$__closure0: function IfRuleClause$__closure0() {
19558 },
19559 IfRuleClause$___closure0: function IfRuleClause$___closure0() {
19560 },
19561 IfClause0: function IfClause0(t0, t1, t2) {
19562 this.expression = t0;
19563 this.children = t1;
19564 this.hasDeclarations = t2;
19565 },
19566 ElseClause0: function ElseClause0(t0, t1) {
19567 this.children = t0;
19568 this.hasDeclarations = t1;
19569 },
19570 jsToDartList(list) {
19571 return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
19572 },
19573 dartMapToImmutableMap(dartMap) {
19574 var t1, t2,
19575 immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
19576 for (t1 = dartMap.get$entries(dartMap), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
19577 t2 = t1.get$current(t1);
19578 immutableMap = J.$set$2$x(immutableMap, t2.key, t2.value);
19579 }
19580 return J.asImmutable$0$x(immutableMap);
19581 },
19582 immutableMapToDartMap(immutableMap) {
19583 var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
19584 J.forEach$1$x(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
19585 return dartMap;
19586 },
19587 ImmutableList: function ImmutableList() {
19588 },
19589 ImmutableMap: function ImmutableMap() {
19590 },
19591 immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
19592 this.dartMap = t0;
19593 },
19594 NodeImporter__addSassPath($async$includePaths) {
19595 return A._makeSyncStarIterable(function() {
19596 var includePaths = $async$includePaths;
19597 var $async$goto = 0, $async$handler = 2, $async$currentError, sassPath;
19598 return function $async$NodeImporter__addSassPath($async$errorCode, $async$result) {
19599 if ($async$errorCode === 1) {
19600 $async$currentError = $async$result;
19601 $async$goto = $async$handler;
19602 }
19603 while (true)
19604 switch ($async$goto) {
19605 case 0:
19606 // Function start
19607 $async$goto = 3;
19608 return A._IterationMarker_yieldStar(includePaths);
19609 case 3:
19610 // after yield
19611 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH);
19612 if (sassPath == null) {
19613 // goto return
19614 $async$goto = 1;
19615 break;
19616 }
19617 $async$goto = 4;
19618 return A._IterationMarker_yieldStar(A._setArrayType(sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":"), type$.JSArray_String));
19619 case 4:
19620 // after yield
19621 case 1:
19622 // return
19623 return A._IterationMarker_endOfIteration();
19624 case 2:
19625 // rethrow
19626 return A._IterationMarker_uncaughtError($async$currentError);
19627 }
19628 };
19629 }, type$.String);
19630 },
19631 NodeImporter: function NodeImporter(t0, t1, t2) {
19632 this._implementation$_options = t0;
19633 this._includePaths = t1;
19634 this._implementation$_importers = t2;
19635 },
19636 NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
19637 this.path = t0;
19638 },
19639 NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
19640 },
19641 ModifiableCssImport$0(url, span, media, supports) {
19642 return new A.ModifiableCssImport0(url, supports, media == null ? null : A.List_List$unmodifiable(media, type$.CssMediaQuery_2), span);
19643 },
19644 ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2, t3) {
19645 var _ = this;
19646 _.url = t0;
19647 _.supports = t1;
19648 _.media = t2;
19649 _.span = t3;
19650 _._node1$_indexInParent = _._node1$_parent = null;
19651 _.isGroupEnd = false;
19652 },
19653 ImportCache$0(importers, loadPaths, logger, packageConfig) {
19654 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
19655 t2 = type$.Uri,
19656 t3 = A.ImportCache__toImporters0(importers, loadPaths, packageConfig);
19657 return new A.ImportCache0(t3, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
19658 },
19659 ImportCache$none(logger) {
19660 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
19661 t2 = type$.Uri;
19662 return new A.ImportCache0(B.List_empty19, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
19663 },
19664 ImportCache__toImporters0(importers, loadPaths, packageConfig) {
19665 var t2, t3, _i, path, _null = null,
19666 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
19667 t1 = A._setArrayType([], type$.JSArray_Importer);
19668 if (importers != null)
19669 B.JSArray_methods.addAll$1(t1, importers);
19670 if (loadPaths != null)
19671 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
19672 t3 = t2.get$current(t2);
19673 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
19674 }
19675 if (sassPath != null) {
19676 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
19677 t3 = t2.length;
19678 _i = 0;
19679 for (; _i < t3; ++_i) {
19680 path = t2[_i];
19681 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
19682 }
19683 }
19684 return t1;
19685 },
19686 ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5) {
19687 var _ = this;
19688 _._import_cache$_importers = t0;
19689 _._import_cache$_logger = t1;
19690 _._import_cache$_canonicalizeCache = t2;
19691 _._import_cache$_relativeCanonicalizeCache = t3;
19692 _._import_cache$_importCache = t4;
19693 _._import_cache$_resultsCache = t5;
19694 },
19695 ImportCache_canonicalize_closure1: function ImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
19696 var _ = this;
19697 _.$this = t0;
19698 _.baseUrl = t1;
19699 _.url = t2;
19700 _.baseImporter = t3;
19701 _.forImport = t4;
19702 },
19703 ImportCache_canonicalize_closure2: function ImportCache_canonicalize_closure2(t0, t1, t2) {
19704 this.$this = t0;
19705 this.url = t1;
19706 this.forImport = t2;
19707 },
19708 ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
19709 this.importer = t0;
19710 this.url = t1;
19711 },
19712 ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
19713 var _ = this;
19714 _.$this = t0;
19715 _.importer = t1;
19716 _.canonicalUrl = t2;
19717 _.originalUrl = t3;
19718 _.quiet = t4;
19719 },
19720 ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
19721 this.canonicalUrl = t0;
19722 },
19723 ImportCache_humanize_closure3: function ImportCache_humanize_closure3() {
19724 },
19725 ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
19726 },
19727 ImportRule0: function ImportRule0(t0, t1) {
19728 this.imports = t0;
19729 this.span = t1;
19730 },
19731 NodeImporter0: function NodeImporter0() {
19732 },
19733 CanonicalizeOptions: function CanonicalizeOptions() {
19734 },
19735 NodeImporterResult0: function NodeImporterResult0() {
19736 },
19737 Importer0: function Importer0() {
19738 },
19739 NodeImporterResult1: function NodeImporterResult1() {
19740 },
19741 IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4) {
19742 var _ = this;
19743 _.namespace = t0;
19744 _.name = t1;
19745 _.$arguments = t2;
19746 _.content = t3;
19747 _.span = t4;
19748 },
19749 InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
19750 this.name = t0;
19751 this.$arguments = t1;
19752 this.span = t2;
19753 },
19754 Interpolation$0(contents, span) {
19755 var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), span);
19756 t1.Interpolation$20(contents, span);
19757 return t1;
19758 },
19759 Interpolation0: function Interpolation0(t0, t1) {
19760 this.contents = t0;
19761 this.span = t1;
19762 },
19763 Interpolation_toString_closure0: function Interpolation_toString_closure0() {
19764 },
19765 SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
19766 this.expression = t0;
19767 this.span = t1;
19768 },
19769 InterpolationBuffer0: function InterpolationBuffer0(t0, t1) {
19770 this._interpolation_buffer0$_text = t0;
19771 this._interpolation_buffer0$_contents = t1;
19772 },
19773 _realCasePath0(path) {
19774 var prefix, t1;
19775 if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
19776 return path;
19777 if (J.$eq$(J.get$platform$x(self.process), "win32")) {
19778 prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
19779 t1 = prefix.length;
19780 if (t1 !== 0 && A.isAlphabetic1(B.JSString_methods._codeUnitAt$1(prefix, 0)))
19781 path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
19782 }
19783 return new A._realCasePath_helper0().call$1(path);
19784 },
19785 _realCasePath_helper0: function _realCasePath_helper0() {
19786 },
19787 _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2) {
19788 this.helper = t0;
19789 this.dirname = t1;
19790 this.path = t2;
19791 },
19792 _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
19793 this.basename = t0;
19794 },
19795 ModifiableCssKeyframeBlock$0(selector, span) {
19796 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
19797 return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
19798 },
19799 ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
19800 var _ = this;
19801 _.selector = t0;
19802 _.span = t1;
19803 _.children = t2;
19804 _._node1$_children = t3;
19805 _._node1$_indexInParent = _._node1$_parent = null;
19806 _.isGroupEnd = false;
19807 },
19808 KeyframeSelectorParser$0(contents, logger) {
19809 var t1 = A.SpanScanner$(contents, null);
19810 return new A.KeyframeSelectorParser0(t1, logger);
19811 },
19812 KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1) {
19813 this.scanner = t0;
19814 this.logger = t1;
19815 },
19816 KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
19817 this.$this = t0;
19818 },
19819 render(options, callback) {
19820 var fiber = J.get$fiber$x(options);
19821 if (fiber != null)
19822 J.run$0$x(fiber.call$1(A.allowInterop(new A.render_closure(callback, options))));
19823 else
19824 A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
19825 },
19826 _renderAsync(options) {
19827 var $async$goto = 0,
19828 $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
19829 $async$returnValue, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, data, file;
19830 var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
19831 if ($async$errorCode === 1)
19832 return A._asyncRethrow($async$result, $async$completer);
19833 while (true)
19834 switch ($async$goto) {
19835 case 0:
19836 // Function start
19837 start = new A.DateTime(Date.now(), false);
19838 t1 = J.getInterceptor$x(options);
19839 data = t1.get$data(options);
19840 file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
19841 $async$goto = data != null ? 3 : 5;
19842 break;
19843 case 3:
19844 // then
19845 t2 = A._parseImporter(options, start);
19846 t3 = A._parseFunctions(options, start, true);
19847 t4 = t1.get$indentedSyntax(options);
19848 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : null;
19849 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19850 t6 = J.$eq$(t1.get$indentType(options), "tab");
19851 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19852 t8 = A._parseLineFeed(t1.get$linefeed(options));
19853 t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
19854 t10 = t1.get$quietDeps(options);
19855 if (t10 == null)
19856 t10 = false;
19857 t11 = t1.get$verbose(options);
19858 if (t11 == null)
19859 t11 = false;
19860 t12 = t1.get$charset(options);
19861 if (t12 == null)
19862 t12 = true;
19863 t13 = A._enableSourceMaps(options);
19864 t1 = t1.get$logger(options);
19865 t14 = J.$eq$(self.process.stdout.isTTY, true);
19866 t15 = $._glyphs;
19867 $async$goto = 6;
19868 return A._asyncAwait(A.compileStringAsync0(data, t12, t3, null, null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t14), t15 === B.C_AsciiGlyphSet), t2, t10, t13, t5, t4, t9, !t6, t11), $async$_renderAsync);
19869 case 6:
19870 // returning from await.
19871 result = $async$result;
19872 // goto join
19873 $async$goto = 4;
19874 break;
19875 case 5:
19876 // else
19877 $async$goto = file != null ? 7 : 9;
19878 break;
19879 case 7:
19880 // then
19881 t2 = A._parseImporter(options, start);
19882 t3 = A._parseFunctions(options, start, true);
19883 t4 = t1.get$indentedSyntax(options);
19884 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : null;
19885 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19886 t6 = J.$eq$(t1.get$indentType(options), "tab");
19887 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19888 t8 = A._parseLineFeed(t1.get$linefeed(options));
19889 t9 = t1.get$quietDeps(options);
19890 if (t9 == null)
19891 t9 = false;
19892 t10 = t1.get$verbose(options);
19893 if (t10 == null)
19894 t10 = false;
19895 t11 = t1.get$charset(options);
19896 if (t11 == null)
19897 t11 = true;
19898 t12 = A._enableSourceMaps(options);
19899 t1 = t1.get$logger(options);
19900 t13 = J.$eq$(self.process.stdout.isTTY, true);
19901 t14 = $._glyphs;
19902 $async$goto = 10;
19903 return A._asyncAwait(A.compileAsync0(file, t11, t3, null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t13), t14 === B.C_AsciiGlyphSet), t2, t9, t12, t5, t4, !t6, t10), $async$_renderAsync);
19904 case 10:
19905 // returning from await.
19906 result = $async$result;
19907 // goto join
19908 $async$goto = 8;
19909 break;
19910 case 9:
19911 // else
19912 throw A.wrapException(A.ArgumentError$(string$.Either, null));
19913 case 8:
19914 // join
19915 case 4:
19916 // join
19917 $async$returnValue = A._newRenderResult(options, result, start);
19918 // goto return
19919 $async$goto = 1;
19920 break;
19921 case 1:
19922 // return
19923 return A._asyncReturn($async$returnValue, $async$completer);
19924 }
19925 });
19926 return A._asyncStartSync($async$_renderAsync, $async$completer);
19927 },
19928 renderSync(options) {
19929 var start, result, data, file, error, stackTrace, error0, stackTrace0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, exception, _null = null;
19930 try {
19931 start = new A.DateTime(Date.now(), false);
19932 result = null;
19933 t1 = J.getInterceptor$x(options);
19934 data = t1.get$data(options);
19935 file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
19936 if (data != null) {
19937 t2 = A._parseImporter(options, start);
19938 t3 = A._parseFunctions(options, start, false);
19939 t4 = t1.get$indentedSyntax(options);
19940 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : _null;
19941 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19942 t6 = J.$eq$(t1.get$indentType(options), "tab");
19943 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19944 t8 = A._parseLineFeed(t1.get$linefeed(options));
19945 t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
19946 t10 = t1.get$quietDeps(options);
19947 if (t10 == null)
19948 t10 = false;
19949 t11 = t1.get$verbose(options);
19950 if (t11 == null)
19951 t11 = false;
19952 t12 = t1.get$charset(options);
19953 if (t12 == null)
19954 t12 = true;
19955 t13 = A._enableSourceMaps(options);
19956 t1 = t1.get$logger(options);
19957 t14 = J.$eq$(self.process.stdout.isTTY, true);
19958 t15 = $._glyphs;
19959 result = A.compileString(data, t12, new A.CastList(t3, A._arrayInstanceType(t3)._eval$1("CastList<1,Callable0>")), _null, _null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t14), t15 === B.C_AsciiGlyphSet), t2, t10, t13, t5, t4, t9, !t6, t11);
19960 } else if (file != null) {
19961 t2 = A._parseImporter(options, start);
19962 t3 = A._parseFunctions(options, start, false);
19963 t4 = t1.get$indentedSyntax(options);
19964 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : _null;
19965 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19966 t6 = J.$eq$(t1.get$indentType(options), "tab");
19967 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19968 t8 = A._parseLineFeed(t1.get$linefeed(options));
19969 t9 = t1.get$quietDeps(options);
19970 if (t9 == null)
19971 t9 = false;
19972 t10 = t1.get$verbose(options);
19973 if (t10 == null)
19974 t10 = false;
19975 t11 = t1.get$charset(options);
19976 if (t11 == null)
19977 t11 = true;
19978 t12 = A._enableSourceMaps(options);
19979 t1 = t1.get$logger(options);
19980 t13 = J.$eq$(self.process.stdout.isTTY, true);
19981 t14 = $._glyphs;
19982 result = A.compile(file, t11, new A.CastList(t3, A._arrayInstanceType(t3)._eval$1("CastList<1,Callable0>")), _null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t13), t14 === B.C_AsciiGlyphSet), t2, t9, t12, t5, t4, !t6, t10);
19983 } else {
19984 t1 = A.ArgumentError$(string$.Either, _null);
19985 throw A.wrapException(t1);
19986 }
19987 t1 = A._newRenderResult(options, result, start);
19988 return t1;
19989 } catch (exception) {
19990 t1 = A.unwrapException(exception);
19991 if (t1 instanceof A.SassException0) {
19992 error = t1;
19993 stackTrace = A.getTraceFromException(exception);
19994 A.jsThrow(A._wrapException(error, stackTrace));
19995 } else {
19996 error0 = t1;
19997 stackTrace0 = A.getTraceFromException(exception);
19998 t1 = J.toString$0$(error0);
19999 t2 = A.getTrace0(error0);
20000 A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
20001 }
20002 }
20003 },
20004 _wrapException(exception, stackTrace) {
20005 var file, t1, t2, t3, t4,
20006 url = A.SourceSpanException.prototype.get$span.call(exception, exception).file.url;
20007 if (url == null)
20008 file = "stdin";
20009 else
20010 file = url.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(url)) : url.toString$0(0);
20011 t1 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
20012 t2 = A.getTrace0(exception);
20013 if (t2 == null)
20014 t2 = stackTrace;
20015 t3 = A.SourceSpanException.prototype.get$span.call(exception, exception);
20016 t3 = A.FileLocation$_(t3.file, t3._file$_start);
20017 t3 = t3.file.getLine$1(t3.offset);
20018 t4 = A.SourceSpanException.prototype.get$span.call(exception, exception);
20019 t4 = A.FileLocation$_(t4.file, t4._file$_start);
20020 return A._newRenderError(t1, t2, t4.file.getColumn$1(t4.offset) + 1, file, t3 + 1, 1);
20021 },
20022 _parseFunctions(options, start, asynch) {
20023 var result,
20024 functions = J.get$functions$x(options);
20025 if (functions == null)
20026 return B.List_empty20;
20027 result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
20028 A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
20029 return result;
20030 },
20031 _parseImporter(options, start) {
20032 var importers, t2, t3, contextOptions, fiber,
20033 t1 = J.getInterceptor$x(options);
20034 if (t1.get$importer(options) == null)
20035 importers = A._setArrayType([], type$.JSArray_JSFunction);
20036 else {
20037 t2 = type$.List_nullable_Object;
20038 t3 = type$.JSFunction;
20039 importers = t2._is(t1.get$importer(options)) ? J.cast$1$0$ax(t2._as(t1.get$importer(options)), t3) : A._setArrayType([t3._as(t1.get$importer(options))], type$.JSArray_JSFunction);
20040 }
20041 t2 = J.getInterceptor$asx(importers);
20042 contextOptions = t2.get$isNotEmpty(importers) ? A._contextOptions(options, start) : new A.Object();
20043 fiber = t1.get$fiber(options);
20044 if (fiber != null) {
20045 t2 = t2.map$1$1(importers, new A._parseImporter_closure(fiber), type$.JSFunction);
20046 importers = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E"));
20047 }
20048 t1 = t1.get$includePaths(options);
20049 if (t1 == null)
20050 t1 = [];
20051 t2 = type$.String;
20052 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));
20053 },
20054 _contextOptions(options, start) {
20055 var includePaths, t3, t4, t5, t6, t7,
20056 t1 = J.getInterceptor$x(options),
20057 t2 = t1.get$includePaths(options);
20058 if (t2 == null)
20059 t2 = [];
20060 includePaths = A.List_List$from(t2, true, type$.String);
20061 t2 = t1.get$file(options);
20062 t3 = t1.get$data(options);
20063 t4 = A._setArrayType([A.current()], type$.JSArray_String);
20064 B.JSArray_methods.addAll$1(t4, includePaths);
20065 t4 = B.JSArray_methods.join$1(t4, J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
20066 t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
20067 t6 = A._parseIndentWidth(t1.get$indentWidth(options));
20068 if (t6 == null)
20069 t6 = 2;
20070 t7 = A._parseLineFeed(t1.get$linefeed(options));
20071 t1 = t1.get$file(options);
20072 if (t1 == null)
20073 t1 = "data";
20074 return {file: t2, data: t3, includePaths: t4, precision: 10, style: 1, indentType: t5, indentWidth: t6, linefeed: t7.text, result: {stats: {start: start._core$_value, entry: t1}}};
20075 },
20076 _parseOutputStyle(style) {
20077 if (style == null || style === "expanded")
20078 return B.OutputStyle_expanded0;
20079 if (style === "compressed")
20080 return B.OutputStyle_compressed0;
20081 throw A.wrapException(A.ArgumentError$('Unsupported output style "' + A.S(style) + '".', null));
20082 },
20083 _parseIndentWidth(width) {
20084 if (width == null)
20085 return null;
20086 return A._isInt(width) ? width : A.int_parse(J.toString$0$(width), null);
20087 },
20088 _parseLineFeed(str) {
20089 switch (str) {
20090 case "cr":
20091 return B.LineFeed_kMT;
20092 case "crlf":
20093 return B.LineFeed_Mss;
20094 case "lfcr":
20095 return B.LineFeed_a1Y;
20096 default:
20097 return B.LineFeed_D6m;
20098 }
20099 },
20100 _newRenderResult(options, result, start) {
20101 var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, t5, file, sourceMapDirUrl, i, source, t6, t7, buffer, indices, url, t8, t9, _null = null,
20102 t1 = Date.now(),
20103 t2 = result._compile_result$_serialize,
20104 css = t2.css,
20105 sourceMapBytes = type$.Null._as(self.undefined);
20106 if (A._enableSourceMaps(options)) {
20107 t3 = J.getInterceptor$x(options);
20108 sourceMapOption = t3.get$sourceMap(options);
20109 if (typeof sourceMapOption == "string")
20110 sourceMapPath = sourceMapOption;
20111 else {
20112 t4 = t3.get$outFile(options);
20113 t4.toString;
20114 sourceMapPath = J.$add$ansx(t4, ".map");
20115 }
20116 t4 = $.$get$context();
20117 sourceMapDir = t4.dirname$1(sourceMapPath);
20118 t2 = t2.sourceMap;
20119 t2.toString;
20120 t2.sourceRoot = t3.get$sourceMapRoot(options);
20121 outFile = t3.get$outFile(options);
20122 t5 = outFile == null;
20123 if (t5) {
20124 file = t3.get$file(options);
20125 if (file == null)
20126 t2.targetUrl = "stdin.css";
20127 else
20128 t2.targetUrl = t4.toUri$1(t4.withoutExtension$1(file) + ".css").toString$0(0);
20129 } else
20130 t2.targetUrl = t4.toUri$1(t4.relative$2$from(outFile, sourceMapDir)).toString$0(0);
20131 sourceMapDirUrl = t4.toUri$1(sourceMapDir).toString$0(0);
20132 for (t4 = t2.urls, i = 0; i < t4.length; ++i) {
20133 source = t4[i];
20134 if (source === "stdin")
20135 continue;
20136 t6 = $.$get$url();
20137 t7 = t6.style;
20138 if (t7.rootLength$1(source) <= 0 || t7.isRootRelative$1(source))
20139 continue;
20140 t4[i] = t6.relative$2$from(source, sourceMapDirUrl);
20141 }
20142 t4 = t3.get$sourceMapContents(options);
20143 sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t2.toJson$1$includeSourceContents(!J.$eq$(t4, false) && t4 != null), _null), "utf8");
20144 t2 = t3.get$omitSourceMapUrl(options);
20145 if (!(!J.$eq$(t2, false) && t2 != null)) {
20146 t2 = t3.get$sourceMapEmbed(options);
20147 if (!J.$eq$(t2, false) && t2 != null) {
20148 buffer = new A.StringBuffer("");
20149 indices = A._setArrayType([-1], type$.JSArray_int);
20150 A.UriData__writeUri("application/json", _null, _null, buffer, indices);
20151 indices.push(buffer._contents.length);
20152 t2 = buffer._contents += ";base64,";
20153 indices.push(t2.length - 1);
20154 t2 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
20155 t3 = sourceMapBytes.length;
20156 A.RangeError_checkValidRange(0, t3, t3);
20157 t2._convert$_add$4(sourceMapBytes, 0, t3, true);
20158 t2 = buffer._contents;
20159 url = new A.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, _null).get$uri();
20160 } else {
20161 if (t5)
20162 t2 = sourceMapPath;
20163 else {
20164 t2 = $.$get$context();
20165 t2 = t2.relative$2$from(sourceMapPath, t2.dirname$1(outFile));
20166 }
20167 url = $.$get$context().toUri$1(t2);
20168 }
20169 css += "\n\n/*# sourceMappingURL=" + url.toString$0(0) + " */";
20170 }
20171 }
20172 t2 = self.Buffer.from(css, "utf8");
20173 t3 = J.get$file$x(options);
20174 if (t3 == null)
20175 t3 = "data";
20176 t4 = start._core$_value;
20177 t1 = new A.DateTime(t1, false)._core$_value;
20178 t5 = B.JSInt_methods._tdivFast$1(A.Duration$(t1 - t4)._duration, 1000);
20179 t6 = A._setArrayType([], type$.JSArray_String);
20180 for (t7 = result._evaluate.loadedUrls, t7 = A._LinkedHashSetIterator$(t7, t7._collection$_modifications), t8 = A._instanceType(t7)._precomputed1; t7.moveNext$0();) {
20181 t9 = t8._as(t7._collection$_current);
20182 if (t9.get$scheme() === "file")
20183 t6.push($.$get$context().style.pathFromUri$1(A._parseUri(t9)));
20184 else
20185 t6.push(t9.toString$0(0));
20186 }
20187 return {css: t2, map: sourceMapBytes, stats: {entry: t3, start: t4, end: t1, duration: t5, includedFiles: t6}};
20188 },
20189 _enableSourceMaps(options) {
20190 var t2,
20191 t1 = J.getInterceptor$x(options);
20192 if (typeof t1.get$sourceMap(options) != "string") {
20193 t2 = t1.get$sourceMap(options);
20194 t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
20195 } else
20196 t1 = true;
20197 return t1;
20198 },
20199 _newRenderError(message, stackTrace, column, file, line, $status) {
20200 var error = new self.Error(message);
20201 error.formatted = "Error: " + message;
20202 if (line != null)
20203 error.line = line;
20204 if (column != null)
20205 error.column = column;
20206 if (file != null)
20207 error.file = file;
20208 error.status = $status;
20209 A.attachJsStack(error, stackTrace);
20210 return error;
20211 },
20212 render_closure: function render_closure(t0, t1) {
20213 this.callback = t0;
20214 this.options = t1;
20215 },
20216 render_closure0: function render_closure0(t0) {
20217 this.callback = t0;
20218 },
20219 render_closure1: function render_closure1(t0) {
20220 this.callback = t0;
20221 },
20222 _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
20223 var _ = this;
20224 _.options = t0;
20225 _.start = t1;
20226 _.result = t2;
20227 _.asynch = t3;
20228 },
20229 _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
20230 this.fiber = t0;
20231 this.callback = t1;
20232 this.context = t2;
20233 },
20234 _parseFunctions___closure0: function _parseFunctions___closure0(t0) {
20235 this.currentFiber = t0;
20236 },
20237 _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
20238 this.currentFiber = t0;
20239 this.result = t1;
20240 },
20241 _parseFunctions___closure1: function _parseFunctions___closure1(t0) {
20242 this.fiber = t0;
20243 },
20244 _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
20245 this.callback = t0;
20246 this.context = t1;
20247 },
20248 _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
20249 this.callback = t0;
20250 this.context = t1;
20251 },
20252 _parseFunctions___closure: function _parseFunctions___closure(t0) {
20253 this.completer = t0;
20254 },
20255 _parseImporter_closure: function _parseImporter_closure(t0) {
20256 this.fiber = t0;
20257 },
20258 _parseImporter__closure: function _parseImporter__closure(t0, t1) {
20259 this.fiber = t0;
20260 this.importer = t1;
20261 },
20262 _parseImporter___closure: function _parseImporter___closure(t0) {
20263 this.currentFiber = t0;
20264 },
20265 _parseImporter____closure: function _parseImporter____closure(t0, t1) {
20266 this.currentFiber = t0;
20267 this.result = t1;
20268 },
20269 _parseImporter___closure0: function _parseImporter___closure0(t0) {
20270 this.fiber = t0;
20271 },
20272 LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
20273 var t2, key,
20274 t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
20275 for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
20276 key = t2.get$current(t2);
20277 if (!blocklist.contains$1(0, key))
20278 t1.add$1(0, key);
20279 }
20280 return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
20281 },
20282 LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
20283 this._limited_map_view0$_map = t0;
20284 this._limited_map_view0$_keys = t1;
20285 this.$ti = t2;
20286 },
20287 ListExpression0: function ListExpression0(t0, t1, t2, t3) {
20288 var _ = this;
20289 _.contents = t0;
20290 _.separator = t1;
20291 _.hasBrackets = t2;
20292 _.span = t3;
20293 },
20294 ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
20295 this.$this = t0;
20296 },
20297 _function10($name, $arguments, callback) {
20298 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
20299 },
20300 _length_closure2: function _length_closure2() {
20301 },
20302 _nth_closure0: function _nth_closure0() {
20303 },
20304 _setNth_closure0: function _setNth_closure0() {
20305 },
20306 _join_closure0: function _join_closure0() {
20307 },
20308 _append_closure2: function _append_closure2() {
20309 },
20310 _zip_closure0: function _zip_closure0() {
20311 },
20312 _zip__closure2: function _zip__closure2() {
20313 },
20314 _zip__closure3: function _zip__closure3(t0) {
20315 this._box_0 = t0;
20316 },
20317 _zip__closure4: function _zip__closure4(t0) {
20318 this._box_0 = t0;
20319 },
20320 _index_closure2: function _index_closure2() {
20321 },
20322 _separator_closure0: function _separator_closure0() {
20323 },
20324 _isBracketed_closure0: function _isBracketed_closure0() {
20325 },
20326 _slash_closure0: function _slash_closure0() {
20327 },
20328 SelectorList$0(components) {
20329 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
20330 if (t1.length === 0)
20331 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
20332 return new A.SelectorList0(t1);
20333 },
20334 SelectorList_SelectorList$parse0(contents, allowParent, allowPlaceholder, logger) {
20335 return A.SelectorParser$0(contents, allowParent, allowPlaceholder, logger, null).parse$0();
20336 },
20337 SelectorList0: function SelectorList0(t0) {
20338 this.components = t0;
20339 },
20340 SelectorList_isInvisible_closure0: function SelectorList_isInvisible_closure0() {
20341 },
20342 SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
20343 },
20344 SelectorList_asSassList__closure0: function SelectorList_asSassList__closure0() {
20345 },
20346 SelectorList_unify_closure0: function SelectorList_unify_closure0(t0) {
20347 this.other = t0;
20348 },
20349 SelectorList_unify__closure0: function SelectorList_unify__closure0(t0) {
20350 this.complex1 = t0;
20351 },
20352 SelectorList_unify___closure0: function SelectorList_unify___closure0() {
20353 },
20354 SelectorList_resolveParentSelectors_closure0: function SelectorList_resolveParentSelectors_closure0(t0, t1, t2) {
20355 this.$this = t0;
20356 this.implicitParent = t1;
20357 this.parent = t2;
20358 },
20359 SelectorList_resolveParentSelectors__closure1: function SelectorList_resolveParentSelectors__closure1(t0) {
20360 this.complex = t0;
20361 },
20362 SelectorList_resolveParentSelectors__closure2: function SelectorList_resolveParentSelectors__closure2(t0) {
20363 this._box_0 = t0;
20364 },
20365 SelectorList__complexContainsParentSelector_closure0: function SelectorList__complexContainsParentSelector_closure0() {
20366 },
20367 SelectorList__complexContainsParentSelector__closure0: function SelectorList__complexContainsParentSelector__closure0() {
20368 },
20369 SelectorList__resolveParentSelectorsCompound_closure2: function SelectorList__resolveParentSelectorsCompound_closure2() {
20370 },
20371 SelectorList__resolveParentSelectorsCompound_closure3: function SelectorList__resolveParentSelectorsCompound_closure3(t0) {
20372 this.parent = t0;
20373 },
20374 SelectorList__resolveParentSelectorsCompound_closure4: function SelectorList__resolveParentSelectorsCompound_closure4(t0, t1) {
20375 this.compound = t0;
20376 this.resolvedMembers = t1;
20377 },
20378 _NodeSassList: function _NodeSassList() {
20379 },
20380 legacyListClass_closure: function legacyListClass_closure() {
20381 },
20382 legacyListClass__closure: function legacyListClass__closure() {
20383 },
20384 legacyListClass_closure0: function legacyListClass_closure0() {
20385 },
20386 legacyListClass_closure1: function legacyListClass_closure1() {
20387 },
20388 legacyListClass_closure2: function legacyListClass_closure2() {
20389 },
20390 legacyListClass_closure3: function legacyListClass_closure3() {
20391 },
20392 legacyListClass_closure4: function legacyListClass_closure4() {
20393 },
20394 listClass_closure: function listClass_closure() {
20395 },
20396 listClass__closure: function listClass__closure() {
20397 },
20398 listClass__closure0: function listClass__closure0() {
20399 },
20400 _ConstructorOptions: function _ConstructorOptions() {
20401 },
20402 SassList$0(contents, _separator, brackets) {
20403 var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
20404 t1.SassList$3$brackets0(contents, _separator, brackets);
20405 return t1;
20406 },
20407 SassList0: function SassList0(t0, t1, t2) {
20408 this._list1$_contents = t0;
20409 this._list1$_separator = t1;
20410 this._list1$_hasBrackets = t2;
20411 },
20412 SassList_isBlank_closure0: function SassList_isBlank_closure0() {
20413 },
20414 ListSeparator0: function ListSeparator0(t0, t1) {
20415 this._list1$_name = t0;
20416 this.separator = t1;
20417 },
20418 NodeLogger: function NodeLogger() {
20419 },
20420 WarnOptions: function WarnOptions() {
20421 },
20422 DebugOptions: function DebugOptions() {
20423 },
20424 _QuietLogger0: function _QuietLogger0() {
20425 },
20426 LoudComment0: function LoudComment0(t0) {
20427 this.text = t0;
20428 },
20429 MapExpression0: function MapExpression0(t0, t1) {
20430 this.pairs = t0;
20431 this.span = t1;
20432 },
20433 MapExpression_toString_closure0: function MapExpression_toString_closure0() {
20434 },
20435 _modify0(map, keys, modify, addNesting) {
20436 var keyIterator = J.get$iterator$ax(keys);
20437 return keyIterator.moveNext$0() ? new A._modify__modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
20438 },
20439 _deepMergeImpl0(map1, map2) {
20440 var t1 = {},
20441 t2 = map2._map0$_contents;
20442 if (t2.get$isEmpty(t2))
20443 return map1;
20444 t1.mutable = false;
20445 t1.result = t2;
20446 map1._map0$_contents.forEach$1(0, new A._deepMergeImpl_closure0(t1, new A._deepMergeImpl__ensureMutable0(t1)));
20447 if (t1.mutable) {
20448 t2 = type$.Value_2;
20449 t2 = new A.SassMap0(A.ConstantMap_ConstantMap$from(t1.result, t2, t2));
20450 t1 = t2;
20451 } else
20452 t1 = map2;
20453 return t1;
20454 },
20455 _function9($name, $arguments, callback) {
20456 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
20457 },
20458 _get_closure0: function _get_closure0() {
20459 },
20460 _set_closure1: function _set_closure1() {
20461 },
20462 _set__closure2: function _set__closure2(t0) {
20463 this.$arguments = t0;
20464 },
20465 _set_closure2: function _set_closure2() {
20466 },
20467 _set__closure1: function _set__closure1(t0) {
20468 this.args = t0;
20469 },
20470 _merge_closure1: function _merge_closure1() {
20471 },
20472 _merge_closure2: function _merge_closure2() {
20473 },
20474 _merge__closure0: function _merge__closure0(t0) {
20475 this.map2 = t0;
20476 },
20477 _deepMerge_closure0: function _deepMerge_closure0() {
20478 },
20479 _deepRemove_closure0: function _deepRemove_closure0() {
20480 },
20481 _deepRemove__closure0: function _deepRemove__closure0(t0) {
20482 this.keys = t0;
20483 },
20484 _remove_closure1: function _remove_closure1() {
20485 },
20486 _remove_closure2: function _remove_closure2() {
20487 },
20488 _keys_closure0: function _keys_closure0() {
20489 },
20490 _values_closure0: function _values_closure0() {
20491 },
20492 _hasKey_closure0: function _hasKey_closure0() {
20493 },
20494 _modify__modifyNestedMap0: function _modify__modifyNestedMap0(t0, t1, t2) {
20495 this.keyIterator = t0;
20496 this.modify = t1;
20497 this.addNesting = t2;
20498 },
20499 _deepMergeImpl__ensureMutable0: function _deepMergeImpl__ensureMutable0(t0) {
20500 this._box_0 = t0;
20501 },
20502 _deepMergeImpl_closure0: function _deepMergeImpl_closure0(t0, t1) {
20503 this._box_0 = t0;
20504 this._ensureMutable = t1;
20505 },
20506 _NodeSassMap: function _NodeSassMap() {
20507 },
20508 legacyMapClass_closure: function legacyMapClass_closure() {
20509 },
20510 legacyMapClass__closure: function legacyMapClass__closure() {
20511 },
20512 legacyMapClass__closure0: function legacyMapClass__closure0() {
20513 },
20514 legacyMapClass_closure0: function legacyMapClass_closure0() {
20515 },
20516 legacyMapClass_closure1: function legacyMapClass_closure1() {
20517 },
20518 legacyMapClass_closure2: function legacyMapClass_closure2() {
20519 },
20520 legacyMapClass_closure3: function legacyMapClass_closure3() {
20521 },
20522 legacyMapClass_closure4: function legacyMapClass_closure4() {
20523 },
20524 mapClass_closure: function mapClass_closure() {
20525 },
20526 mapClass__closure: function mapClass__closure() {
20527 },
20528 mapClass__closure0: function mapClass__closure0() {
20529 },
20530 mapClass__closure1: function mapClass__closure1() {
20531 },
20532 SassMap0: function SassMap0(t0) {
20533 this._map0$_contents = t0;
20534 },
20535 SassMap_asList_closure0: function SassMap_asList_closure0(t0) {
20536 this.result = t0;
20537 },
20538 _fuzzyRoundIfZero0(number) {
20539 if (!(Math.abs(number - 0) < $.$get$epsilon0()))
20540 return number;
20541 return B.JSNumber_methods.get$isNegative(number) ? -0.0 : 0;
20542 },
20543 _numberFunction0($name, transform) {
20544 return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
20545 },
20546 _function8($name, $arguments, callback) {
20547 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
20548 },
20549 _ceil_closure0: function _ceil_closure0() {
20550 },
20551 _clamp_closure0: function _clamp_closure0() {
20552 },
20553 _floor_closure0: function _floor_closure0() {
20554 },
20555 _max_closure0: function _max_closure0() {
20556 },
20557 _min_closure0: function _min_closure0() {
20558 },
20559 _abs_closure0: function _abs_closure0() {
20560 },
20561 _hypot_closure0: function _hypot_closure0() {
20562 },
20563 _hypot__closure0: function _hypot__closure0() {
20564 },
20565 _log_closure0: function _log_closure0() {
20566 },
20567 _pow_closure0: function _pow_closure0() {
20568 },
20569 _sqrt_closure0: function _sqrt_closure0() {
20570 },
20571 _acos_closure0: function _acos_closure0() {
20572 },
20573 _asin_closure0: function _asin_closure0() {
20574 },
20575 _atan_closure0: function _atan_closure0() {
20576 },
20577 _atan2_closure0: function _atan2_closure0() {
20578 },
20579 _cos_closure0: function _cos_closure0() {
20580 },
20581 _sin_closure0: function _sin_closure0() {
20582 },
20583 _tan_closure0: function _tan_closure0() {
20584 },
20585 _compatible_closure0: function _compatible_closure0() {
20586 },
20587 _isUnitless_closure0: function _isUnitless_closure0() {
20588 },
20589 _unit_closure0: function _unit_closure0() {
20590 },
20591 _percentage_closure0: function _percentage_closure0() {
20592 },
20593 _randomFunction_closure0: function _randomFunction_closure0() {
20594 },
20595 _div_closure0: function _div_closure0() {
20596 },
20597 _numberFunction_closure0: function _numberFunction_closure0(t0) {
20598 this.transform = t0;
20599 },
20600 CssMediaQuery0: function CssMediaQuery0(t0, t1, t2) {
20601 this.modifier = t0;
20602 this.type = t1;
20603 this.features = t2;
20604 },
20605 _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
20606 this._media_query1$_name = t0;
20607 },
20608 MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
20609 this.query = t0;
20610 },
20611 MediaQueryParser0: function MediaQueryParser0(t0, t1) {
20612 this.scanner = t0;
20613 this.logger = t1;
20614 },
20615 MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
20616 this.$this = t0;
20617 },
20618 ModifiableCssMediaRule$0(queries, span) {
20619 var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
20620 t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
20621 if (J.get$isEmpty$asx(queries))
20622 A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
20623 return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
20624 },
20625 ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
20626 var _ = this;
20627 _.queries = t0;
20628 _.span = t1;
20629 _.children = t2;
20630 _._node1$_children = t3;
20631 _._node1$_indexInParent = _._node1$_parent = null;
20632 _.isGroupEnd = false;
20633 },
20634 MediaRule$0(query, children, span) {
20635 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
20636 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
20637 return new A.MediaRule0(query, span, t1, t2);
20638 },
20639 MediaRule0: function MediaRule0(t0, t1, t2, t3) {
20640 var _ = this;
20641 _.query = t0;
20642 _.span = t1;
20643 _.children = t2;
20644 _.hasDeclarations = t3;
20645 },
20646 MergedExtension_merge0(left, right) {
20647 var t4, t5, t6,
20648 t1 = left.extender,
20649 t2 = t1.selector,
20650 t3 = B.C_ListEquality.equals$2(0, t2.components, right.extender.selector.components);
20651 if (!t3 || !left.target.$eq(0, right.target))
20652 throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
20653 t3 = left.mediaContext;
20654 t4 = t3 == null;
20655 if (!t4) {
20656 t5 = right.mediaContext;
20657 t5 = t5 != null && !B.C_ListEquality.equals$2(0, t3, t5);
20658 } else
20659 t5 = false;
20660 if (t5)
20661 throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
20662 if (right.isOptional && right.mediaContext == null)
20663 return left;
20664 if (left.isOptional && t4)
20665 return right;
20666 t5 = left.target;
20667 t6 = left.span;
20668 if (t4)
20669 t3 = right.mediaContext;
20670 t2.get$maxSpecificity();
20671 t1 = new A.Extender0(t2, false, t1.span);
20672 return t1._extension$_extension = new A.MergedExtension0(left, right, t1, t5, t3, true, t6);
20673 },
20674 MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
20675 var _ = this;
20676 _.left = t0;
20677 _.right = t1;
20678 _.extender = t2;
20679 _.target = t3;
20680 _.mediaContext = t4;
20681 _.isOptional = t5;
20682 _.span = t6;
20683 },
20684 MergedMapView$0(maps, $K, $V) {
20685 var t1 = $K._eval$1("@<0>")._bind$1($V);
20686 t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
20687 t1.MergedMapView$10(maps, $K, $V);
20688 return t1;
20689 },
20690 MergedMapView0: function MergedMapView0(t0, t1) {
20691 this._merged_map_view$_mapsByKey = t0;
20692 this.$ti = t1;
20693 },
20694 _function12($name, $arguments, callback) {
20695 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
20696 },
20697 global_closure57: function global_closure57() {
20698 },
20699 global_closure58: function global_closure58() {
20700 },
20701 global_closure59: function global_closure59() {
20702 },
20703 global_closure60: function global_closure60() {
20704 },
20705 local_closure1: function local_closure1() {
20706 },
20707 local_closure2: function local_closure2() {
20708 },
20709 local__closure0: function local__closure0() {
20710 },
20711 MixinRule$0($name, $arguments, children, span, comment) {
20712 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
20713 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
20714 return new A.MixinRule0($name, $arguments, span, t1, t2);
20715 },
20716 MixinRule0: function MixinRule0(t0, t1, t2, t3, t4) {
20717 var _ = this;
20718 _._mixin_rule$__MixinRule_hasContent = $;
20719 _.name = t0;
20720 _.$arguments = t1;
20721 _.span = t2;
20722 _.children = t3;
20723 _.hasDeclarations = t4;
20724 },
20725 _HasContentVisitor0: function _HasContentVisitor0() {
20726 },
20727 ExtendMode0: function ExtendMode0(t0) {
20728 this.name = t0;
20729 },
20730 SupportsNegation0: function SupportsNegation0(t0, t1) {
20731 this.condition = t0;
20732 this.span = t1;
20733 },
20734 NoOpImporter: function NoOpImporter() {
20735 },
20736 NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
20737 this._no_source_map_buffer0$_buffer = t0;
20738 },
20739 AstNode0: function AstNode0() {
20740 },
20741 _FakeAstNode0: function _FakeAstNode0(t0) {
20742 this._node2$_callback = t0;
20743 },
20744 CssNode0: function CssNode0() {
20745 },
20746 CssParentNode0: function CssParentNode0() {
20747 },
20748 readFile0(path) {
20749 var sourceFile, t1, i,
20750 contents = A._asString(A._readFile0(path, "utf8"));
20751 if (!B.JSString_methods.contains$1(contents, "\ufffd"))
20752 return contents;
20753 sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
20754 for (t1 = contents.length, i = 0; i < t1; ++i) {
20755 if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
20756 continue;
20757 throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
20758 }
20759 return contents;
20760 },
20761 _readFile0(path, encoding) {
20762 return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
20763 },
20764 fileExists0(path) {
20765 return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
20766 },
20767 dirExists0(path) {
20768 return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
20769 },
20770 listDir0(path) {
20771 return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
20772 },
20773 _systemErrorToFileSystemException0(callback) {
20774 var error, t1, exception, t2;
20775 try {
20776 t1 = callback.call$0();
20777 return t1;
20778 } catch (exception) {
20779 error = A.unwrapException(exception);
20780 if (!type$.JsSystemError._is(error))
20781 throw exception;
20782 t1 = error;
20783 t2 = J.getInterceptor$x(t1);
20784 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)));
20785 }
20786 },
20787 FileSystemException0: function FileSystemException0(t0, t1) {
20788 this.message = t0;
20789 this.path = t1;
20790 },
20791 Stderr0: function Stderr0(t0) {
20792 this._node0$_stderr = t0;
20793 },
20794 _readFile_closure0: function _readFile_closure0(t0, t1) {
20795 this.path = t0;
20796 this.encoding = t1;
20797 },
20798 fileExists_closure0: function fileExists_closure0(t0) {
20799 this.path = t0;
20800 },
20801 dirExists_closure0: function dirExists_closure0(t0) {
20802 this.path = t0;
20803 },
20804 listDir_closure0: function listDir_closure0(t0, t1) {
20805 this.recursive = t0;
20806 this.path = t1;
20807 },
20808 listDir__closure1: function listDir__closure1(t0) {
20809 this.path = t0;
20810 },
20811 listDir__closure2: function listDir__closure2() {
20812 },
20813 listDir_closure_list0: function listDir_closure_list0() {
20814 },
20815 listDir__list_closure0: function listDir__list_closure0(t0, t1) {
20816 this.parent = t0;
20817 this.list = t1;
20818 },
20819 ModifiableCssNode0: function ModifiableCssNode0() {
20820 },
20821 ModifiableCssParentNode0: function ModifiableCssParentNode0() {
20822 },
20823 main() {
20824 J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
20825 J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
20826 J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
20827 J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
20828 J.set$Value$x(self.exports, $.$get$valueClass());
20829 J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
20830 J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
20831 J.set$SassColor$x(self.exports, $.$get$colorClass());
20832 J.set$SassFunction$x(self.exports, $.$get$functionClass());
20833 J.set$SassList$x(self.exports, $.$get$listClass());
20834 J.set$SassMap$x(self.exports, $.$get$mapClass());
20835 J.set$SassNumber$x(self.exports, $.$get$numberClass());
20836 J.set$SassString$x(self.exports, $.$get$stringClass());
20837 J.set$sassNull$x(self.exports, B.C__SassNull0);
20838 J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
20839 J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
20840 J.set$Exception$x(self.exports, $.$get$exceptionClass());
20841 J.set$Logger$x(self.exports, {silent: {warn: A.allowInteropNamed("sass.Logger.silent.warn", new A.main_closure0()), debug: A.allowInteropNamed("sass.Logger.silent.debug", new A.main_closure1())}});
20842 J.set$info$x(self.exports, "dart-sass\t1.49.11\t(Sass Compiler)\t[Dart]\ndart2js\t2.16.2\t(Dart Compiler)\t[Dart]");
20843 A.updateSourceSpanPrototype();
20844 J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
20845 J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
20846 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});
20847 J.set$NULL$x(self.exports, B.C__SassNull0);
20848 J.set$TRUE$x(self.exports, B.SassBoolean_true0);
20849 J.set$FALSE$x(self.exports, B.SassBoolean_false0);
20850 },
20851 main_closure0: function main_closure0() {
20852 },
20853 main_closure1: function main_closure1() {
20854 },
20855 NodeToDartLogger: function NodeToDartLogger(t0, t1, t2) {
20856 this._node = t0;
20857 this._fallback = t1;
20858 this._ascii = t2;
20859 },
20860 NodeToDartLogger_warn_closure: function NodeToDartLogger_warn_closure(t0, t1, t2, t3, t4) {
20861 var _ = this;
20862 _.$this = t0;
20863 _.message = t1;
20864 _.span = t2;
20865 _.trace = t3;
20866 _.deprecation = t4;
20867 },
20868 NodeToDartLogger_debug_closure: function NodeToDartLogger_debug_closure(t0, t1, t2) {
20869 this.$this = t0;
20870 this.message = t1;
20871 this.span = t2;
20872 },
20873 NullExpression0: function NullExpression0(t0) {
20874 this.span = t0;
20875 },
20876 legacyNullClass_closure: function legacyNullClass_closure() {
20877 },
20878 legacyNullClass__closure: function legacyNullClass__closure() {
20879 },
20880 _SassNull0: function _SassNull0() {
20881 },
20882 NumberExpression0: function NumberExpression0(t0, t1, t2) {
20883 this.value = t0;
20884 this.unit = t1;
20885 this.span = t2;
20886 },
20887 _parseNumber(value, unit) {
20888 var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
20889 if (unit == null || unit.length === 0)
20890 return new A.UnitlessSassNumber0(value, null);
20891 if (!J.contains$1$asx(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
20892 return new A.SingleUnitSassNumber0(unit, value, null);
20893 invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
20894 operands = unit.split("/");
20895 t1 = operands.length;
20896 if (t1 > 2)
20897 throw A.wrapException(invalidUnit);
20898 numerator = operands[0];
20899 denominator = t1 === 1 ? null : operands[1];
20900 t1 = type$.JSArray_String;
20901 numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
20902 if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
20903 throw A.wrapException(invalidUnit);
20904 denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
20905 if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
20906 throw A.wrapException(invalidUnit);
20907 return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
20908 },
20909 _NodeSassNumber: function _NodeSassNumber() {
20910 },
20911 legacyNumberClass_closure: function legacyNumberClass_closure() {
20912 },
20913 legacyNumberClass_closure0: function legacyNumberClass_closure0() {
20914 },
20915 legacyNumberClass_closure1: function legacyNumberClass_closure1() {
20916 },
20917 legacyNumberClass_closure2: function legacyNumberClass_closure2() {
20918 },
20919 legacyNumberClass_closure3: function legacyNumberClass_closure3() {
20920 },
20921 _parseNumber_closure: function _parseNumber_closure() {
20922 },
20923 _parseNumber_closure0: function _parseNumber_closure0() {
20924 },
20925 numberClass_closure: function numberClass_closure() {
20926 },
20927 numberClass__closure: function numberClass__closure() {
20928 },
20929 numberClass__closure0: function numberClass__closure0() {
20930 },
20931 numberClass__closure1: function numberClass__closure1() {
20932 },
20933 numberClass__closure2: function numberClass__closure2() {
20934 },
20935 numberClass__closure3: function numberClass__closure3() {
20936 },
20937 numberClass__closure4: function numberClass__closure4() {
20938 },
20939 numberClass__closure5: function numberClass__closure5() {
20940 },
20941 numberClass__closure6: function numberClass__closure6() {
20942 },
20943 numberClass__closure7: function numberClass__closure7() {
20944 },
20945 numberClass__closure8: function numberClass__closure8() {
20946 },
20947 numberClass__closure9: function numberClass__closure9() {
20948 },
20949 numberClass__closure10: function numberClass__closure10() {
20950 },
20951 numberClass__closure11: function numberClass__closure11() {
20952 },
20953 numberClass__closure12: function numberClass__closure12() {
20954 },
20955 numberClass__closure13: function numberClass__closure13() {
20956 },
20957 numberClass__closure14: function numberClass__closure14() {
20958 },
20959 numberClass__closure15: function numberClass__closure15() {
20960 },
20961 numberClass__closure16: function numberClass__closure16() {
20962 },
20963 numberClass__closure17: function numberClass__closure17() {
20964 },
20965 numberClass__closure18: function numberClass__closure18() {
20966 },
20967 numberClass__closure19: function numberClass__closure19() {
20968 },
20969 _ConstructorOptions0: function _ConstructorOptions0() {
20970 },
20971 conversionFactor0(unit1, unit2) {
20972 var innerMap;
20973 if (unit1 === unit2)
20974 return 1;
20975 innerMap = B.Map_K2BWj.$index(0, unit1);
20976 if (innerMap == null)
20977 return null;
20978 return innerMap.$index(0, unit2);
20979 },
20980 SassNumber_SassNumber0(value, unit) {
20981 return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
20982 },
20983 SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
20984 var t1, numerators, t2, unsimplifiedDenominators, denominators, t3, _i, denominator, simplifiedAway, i, factor, _null = null;
20985 if (denominatorUnits == null || J.get$isEmpty$asx(denominatorUnits))
20986 if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
20987 return new A.UnitlessSassNumber0(value, _null);
20988 else {
20989 t1 = J.getInterceptor$asx(numeratorUnits);
20990 if (t1.get$length(numeratorUnits) === 1)
20991 return new A.SingleUnitSassNumber0(t1.$index(numeratorUnits, 0), value, _null);
20992 else
20993 return new A.ComplexSassNumber0(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
20994 }
20995 else if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
20996 return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
20997 else {
20998 t1 = J.getInterceptor$ax(numeratorUnits);
20999 numerators = t1.toList$0(numeratorUnits);
21000 t2 = J.getInterceptor$ax(denominatorUnits);
21001 unsimplifiedDenominators = t2.toList$0(denominatorUnits);
21002 denominators = A._setArrayType([], type$.JSArray_String);
21003 for (t3 = unsimplifiedDenominators.length, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t3 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
21004 denominator = unsimplifiedDenominators[_i];
21005 i = 0;
21006 while (true) {
21007 if (!(i < numerators.length)) {
21008 simplifiedAway = false;
21009 break;
21010 }
21011 c$0: {
21012 factor = A.conversionFactor0(denominator, numerators[i]);
21013 if (factor == null)
21014 break c$0;
21015 value *= factor;
21016 B.JSArray_methods.removeAt$1(numerators, i);
21017 simplifiedAway = true;
21018 break;
21019 }
21020 ++i;
21021 }
21022 if (!simplifiedAway)
21023 denominators.push(denominator);
21024 }
21025 if (t2.get$isEmpty(denominatorUnits))
21026 if (t1.get$isEmpty(numeratorUnits))
21027 return new A.UnitlessSassNumber0(value, _null);
21028 else if (t1.get$length(numeratorUnits) === 1)
21029 return new A.SingleUnitSassNumber0(t1.get$single(numeratorUnits), value, _null);
21030 t1 = type$.String;
21031 return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), value, _null);
21032 }
21033 },
21034 SassNumber0: function SassNumber0() {
21035 },
21036 SassNumber__coerceOrConvertValue__compatibilityException0: function SassNumber__coerceOrConvertValue__compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
21037 var _ = this;
21038 _.$this = t0;
21039 _.other = t1;
21040 _.otherName = t2;
21041 _.otherHasUnits = t3;
21042 _.name = t4;
21043 _.newNumerators = t5;
21044 _.newDenominators = t6;
21045 },
21046 SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
21047 this._box_0 = t0;
21048 this.newNumerator = t1;
21049 },
21050 SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
21051 this._compatibilityException = t0;
21052 },
21053 SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
21054 this._box_0 = t0;
21055 this.newDenominator = t1;
21056 },
21057 SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
21058 this._compatibilityException = t0;
21059 },
21060 SassNumber_plus_closure0: function SassNumber_plus_closure0() {
21061 },
21062 SassNumber_minus_closure0: function SassNumber_minus_closure0() {
21063 },
21064 SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
21065 this._box_0 = t0;
21066 this.numerator = t1;
21067 },
21068 SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
21069 this.newNumerators = t0;
21070 this.numerator = t1;
21071 },
21072 SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
21073 this._box_0 = t0;
21074 this.numerator = t1;
21075 },
21076 SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
21077 this.newNumerators = t0;
21078 this.numerator = t1;
21079 },
21080 SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
21081 this.units2 = t0;
21082 },
21083 SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
21084 },
21085 SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
21086 this.$this = t0;
21087 },
21088 SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
21089 var _ = this;
21090 _.left = t0;
21091 _.right = t1;
21092 _.operator = t2;
21093 _.span = t3;
21094 },
21095 ParentSelector0: function ParentSelector0(t0) {
21096 this.suffix = t0;
21097 },
21098 ParentStatement0: function ParentStatement0() {
21099 },
21100 ParentStatement_closure0: function ParentStatement_closure0() {
21101 },
21102 ParentStatement__closure0: function ParentStatement__closure0() {
21103 },
21104 ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
21105 this.expression = t0;
21106 this.span = t1;
21107 },
21108 Parser_isIdentifier0(text) {
21109 var t1, t2, exception, logger = null;
21110 try {
21111 t1 = logger;
21112 t2 = A.SpanScanner$(text, null);
21113 new A.Parser1(t2, t1 == null ? B.StderrLogger_false0 : t1)._parser0$_parseIdentifier$0();
21114 return true;
21115 } catch (exception) {
21116 if (A.unwrapException(exception) instanceof A.SassFormatException0)
21117 return false;
21118 else
21119 throw exception;
21120 }
21121 },
21122 Parser1: function Parser1(t0, t1) {
21123 this.scanner = t0;
21124 this.logger = t1;
21125 },
21126 Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
21127 this.$this = t0;
21128 },
21129 Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
21130 this.caseSensitive = t0;
21131 this.char = t1;
21132 },
21133 PlaceholderSelector0: function PlaceholderSelector0(t0) {
21134 this.name = t0;
21135 },
21136 PlainCssCallable0: function PlainCssCallable0(t0) {
21137 this.name = t0;
21138 },
21139 PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
21140 this._prefixed_map_view0$_map = t0;
21141 this._prefixed_map_view0$_prefix = t1;
21142 this.$ti = t2;
21143 },
21144 _PrefixedKeys0: function _PrefixedKeys0(t0) {
21145 this._prefixed_map_view0$_view = t0;
21146 },
21147 _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
21148 this.$this = t0;
21149 },
21150 PseudoSelector$0($name, argument, element, selector) {
21151 var t1 = !element,
21152 t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
21153 return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector);
21154 },
21155 PseudoSelector__isFakePseudoElement0($name) {
21156 switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
21157 case 97:
21158 case 65:
21159 return A.equalsIgnoreCase0($name, "after");
21160 case 98:
21161 case 66:
21162 return A.equalsIgnoreCase0($name, "before");
21163 case 102:
21164 case 70:
21165 return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
21166 default:
21167 return false;
21168 }
21169 },
21170 PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5) {
21171 var _ = this;
21172 _.name = t0;
21173 _.normalizedName = t1;
21174 _.isClass = t2;
21175 _.isSyntacticClass = t3;
21176 _.argument = t4;
21177 _.selector = t5;
21178 _._pseudo0$_maxSpecificity = _._pseudo0$_minSpecificity = null;
21179 },
21180 PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
21181 },
21182 PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
21183 this._public_member_map_view0$_inner = t0;
21184 this.$ti = t1;
21185 },
21186 QualifiedName0: function QualifiedName0(t0, t1) {
21187 this.name = t0;
21188 this.namespace = t1;
21189 },
21190 createJSClass($name, $constructor) {
21191 return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
21192 },
21193 JSClassExtension_injectSuperclass(_this, superclass) {
21194 var t1 = J.getInterceptor$x(superclass),
21195 t2 = J.getInterceptor$x(_this);
21196 self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
21197 self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
21198 },
21199 JSClassExtension_setCustomInspect(_this, inspect) {
21200 J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
21201 },
21202 JSClassExtension_get_defineMethod(_this) {
21203 return new A.JSClassExtension_get_defineMethod_closure(_this);
21204 },
21205 JSClassExtension_defineMethods(_this, methods) {
21206 methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
21207 },
21208 JSClassExtension_get_defineGetter(_this) {
21209 return new A.JSClassExtension_get_defineGetter_closure(_this);
21210 },
21211 JSClass0: function JSClass0() {
21212 },
21213 JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
21214 this.inspect = t0;
21215 },
21216 JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
21217 this._this = t0;
21218 },
21219 JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
21220 this._this = t0;
21221 },
21222 RenderContext0: function RenderContext0() {
21223 },
21224 RenderContextOptions0: function RenderContextOptions0() {
21225 },
21226 RenderContextResult0: function RenderContextResult0() {
21227 },
21228 RenderContextResultStats0: function RenderContextResultStats0() {
21229 },
21230 RenderOptions: function RenderOptions() {
21231 },
21232 RenderResult: function RenderResult() {
21233 },
21234 RenderResultStats: function RenderResultStats() {
21235 },
21236 ImporterResult$(contents, sourceMapUrl, syntax) {
21237 var t2,
21238 t1 = syntax == null;
21239 if (t1)
21240 t2 = B.Syntax_SCSS0;
21241 else
21242 t2 = syntax;
21243 if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
21244 A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
21245 else if (t1 && true)
21246 A.throwExpression(A.ArgumentError$("The syntax parameter must be passed.", null));
21247 return new A.ImporterResult0(contents, sourceMapUrl, t2);
21248 },
21249 ImporterResult0: function ImporterResult0(t0, t1, t2) {
21250 this.contents = t0;
21251 this._result$_sourceMapUrl = t1;
21252 this.syntax = t2;
21253 },
21254 ReturnRule0: function ReturnRule0(t0, t1) {
21255 this.expression = t0;
21256 this.span = t1;
21257 },
21258 main0(args) {
21259 return A.main$body(args);
21260 },
21261 main$body(args) {
21262 var $async$goto = 0,
21263 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
21264 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], printError, graph, source, destination, error, stackTrace, error0, stackTrace0, path, error1, error2, stackTrace1, buffer, options, t1, t2, t3, exception, t4, t5, _box_0, $async$exception, $async$exception1, $async$temp1;
21265 var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
21266 if ($async$errorCode === 1) {
21267 $async$currentError = $async$result;
21268 $async$goto = $async$handler;
21269 }
21270 while (true)
21271 switch ($async$goto) {
21272 case 0:
21273 // Function start
21274 _box_0 = {};
21275 _box_0.printedError = false;
21276 printError = new A.main_printError(_box_0);
21277 _box_0.options = null;
21278 $async$handler = 4;
21279 options = A.ExecutableOptions_ExecutableOptions$parse(args);
21280 _box_0.options = options;
21281 t1 = options._options;
21282 $._glyphs = !(t1.wasParsed$1("unicode") ? A._asBool(t1.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
21283 $async$goto = A._asBool(_box_0.options._options.$index(0, "version")) ? 7 : 8;
21284 break;
21285 case 7:
21286 // then
21287 $async$temp1 = A;
21288 $async$goto = 9;
21289 return A._asyncAwait(A._loadVersion(), $async$main0);
21290 case 9:
21291 // returning from await.
21292 $async$temp1.print($async$result);
21293 J.set$exitCode$x(self.process, 0);
21294 // goto return
21295 $async$goto = 1;
21296 break;
21297 case 8:
21298 // join
21299 $async$goto = _box_0.options.get$interactive() ? 10 : 11;
21300 break;
21301 case 10:
21302 // then
21303 $async$goto = 12;
21304 return A._asyncAwait(A.repl(_box_0.options), $async$main0);
21305 case 12:
21306 // returning from await.
21307 // goto return
21308 $async$goto = 1;
21309 break;
21310 case 11:
21311 // join
21312 t1 = type$.List_String._as(_box_0.options._options.$index(0, "load-path"));
21313 t2 = _box_0.options;
21314 t3 = type$.Uri;
21315 graph = new A.StylesheetGraph(A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.StylesheetNode), A.ImportCache$(t1, A._asBool(t2._options.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(t2.get$color())), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
21316 $async$goto = A._asBool(_box_0.options._options.$index(0, "watch")) ? 13 : 14;
21317 break;
21318 case 13:
21319 // then
21320 $async$goto = 15;
21321 return A._asyncAwait(A.watch(_box_0.options, graph), $async$main0);
21322 case 15:
21323 // returning from await.
21324 // goto return
21325 $async$goto = 1;
21326 break;
21327 case 14:
21328 // join
21329 t1 = _box_0.options, t1._ensureSources$0(), t1 = t1._sourcesToDestinations, t1 = J.get$iterator$ax(t1.get$keys(t1));
21330 case 16:
21331 // for condition
21332 if (!t1.moveNext$0()) {
21333 // goto after for
21334 $async$goto = 17;
21335 break;
21336 }
21337 source = t1.get$current(t1);
21338 t2 = _box_0.options;
21339 t2._ensureSources$0();
21340 destination = t2._sourcesToDestinations.$index(0, source);
21341 $async$handler = 19;
21342 t2 = _box_0.options;
21343 $async$goto = 22;
21344 return A._asyncAwait(A.compileStylesheet(t2, graph, source, destination, A._asBool(t2._options.$index(0, "update"))), $async$main0);
21345 case 22:
21346 // returning from await.
21347 $async$handler = 4;
21348 // goto after finally
21349 $async$goto = 21;
21350 break;
21351 case 19:
21352 // catch
21353 $async$handler = 18;
21354 $async$exception = $async$currentError;
21355 t2 = A.unwrapException($async$exception);
21356 if (t2 instanceof A.SassException) {
21357 error = t2;
21358 stackTrace = A.getTraceFromException($async$exception);
21359 new A.main_closure(_box_0, destination).call$0();
21360 t2 = _box_0.options._options;
21361 if (!t2._parser.options._map.containsKey$1("color"))
21362 A.throwExpression(A.ArgumentError$('Could not find an option named "color".', null));
21363 t2 = t2._parsed.containsKey$1("color") ? A._asBool(t2.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
21364 t2 = J.toString$1$color$(error, t2);
21365 if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
21366 t3 = error;
21367 t4 = typeof t3 == "string";
21368 if (t4 || typeof t3 == "number" || A._isBool(t3))
21369 t3 = null;
21370 else {
21371 t5 = $.$get$_traces();
21372 t4 = A._isBool(t3) || typeof t3 == "number" || t4;
21373 if (t4)
21374 A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
21375 t3 = t5._jsWeakMap.get(t3);
21376 }
21377 if (t3 == null)
21378 t3 = stackTrace;
21379 } else
21380 t3 = null;
21381 printError.call$2(t2, t3);
21382 if (J.get$exitCode$x(self.process) !== 66)
21383 J.set$exitCode$x(self.process, 65);
21384 if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
21385 // goto return
21386 $async$goto = 1;
21387 break;
21388 }
21389 } else if (t2 instanceof A.FileSystemException) {
21390 error0 = t2;
21391 stackTrace0 = A.getTraceFromException($async$exception);
21392 path = error0.path;
21393 t2 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
21394 if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
21395 t3 = error0;
21396 t4 = typeof t3 == "string";
21397 if (t4 || typeof t3 == "number" || A._isBool(t3))
21398 t3 = null;
21399 else {
21400 t5 = $.$get$_traces();
21401 t4 = A._isBool(t3) || typeof t3 == "number" || t4;
21402 if (t4)
21403 A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
21404 t3 = t5._jsWeakMap.get(t3);
21405 }
21406 if (t3 == null)
21407 t3 = stackTrace0;
21408 } else
21409 t3 = null;
21410 printError.call$2(t2, t3);
21411 J.set$exitCode$x(self.process, 66);
21412 if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
21413 // goto return
21414 $async$goto = 1;
21415 break;
21416 }
21417 } else
21418 throw $async$exception;
21419 // goto after finally
21420 $async$goto = 21;
21421 break;
21422 case 18:
21423 // uncaught
21424 // goto catch
21425 $async$goto = 4;
21426 break;
21427 case 21:
21428 // after finally
21429 // goto for condition
21430 $async$goto = 16;
21431 break;
21432 case 17:
21433 // after for
21434 $async$handler = 2;
21435 // goto after finally
21436 $async$goto = 6;
21437 break;
21438 case 4:
21439 // catch
21440 $async$handler = 3;
21441 $async$exception1 = $async$currentError;
21442 t1 = A.unwrapException($async$exception1);
21443 if (t1 instanceof A.UsageException) {
21444 error1 = t1;
21445 A.print(error1.message + "\n");
21446 A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
21447 t1 = $.$get$ExecutableOptions__parser();
21448 A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
21449 J.set$exitCode$x(self.process, 64);
21450 } else {
21451 error2 = t1;
21452 stackTrace1 = A.getTraceFromException($async$exception1);
21453 buffer = new A.StringBuffer("");
21454 t1 = _box_0.options;
21455 if (t1 != null && t1.get$color())
21456 buffer._contents += "\x1b[31m\x1b[1m";
21457 buffer._contents += "Unexpected exception:";
21458 t1 = _box_0.options;
21459 if (t1 != null && t1.get$color())
21460 buffer._contents += "\x1b[0m";
21461 buffer._contents += "\n";
21462 buffer._contents += A.S(error2) + "\n";
21463 t1 = buffer._contents;
21464 t2 = A.getTrace(error2);
21465 if (t2 == null)
21466 t2 = stackTrace1;
21467 printError.call$2(t1.charCodeAt(0) == 0 ? t1 : t1, t2);
21468 J.set$exitCode$x(self.process, 255);
21469 }
21470 // goto after finally
21471 $async$goto = 6;
21472 break;
21473 case 3:
21474 // uncaught
21475 // goto rethrow
21476 $async$goto = 2;
21477 break;
21478 case 6:
21479 // after finally
21480 case 1:
21481 // return
21482 return A._asyncReturn($async$returnValue, $async$completer);
21483 case 2:
21484 // rethrow
21485 return A._asyncRethrow($async$currentError, $async$completer);
21486 }
21487 });
21488 return A._asyncStartSync($async$main0, $async$completer);
21489 },
21490 _loadVersion() {
21491 var $async$goto = 0,
21492 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
21493 $async$returnValue;
21494 var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
21495 if ($async$errorCode === 1)
21496 return A._asyncRethrow($async$result, $async$completer);
21497 while (true)
21498 switch ($async$goto) {
21499 case 0:
21500 // Function start
21501 $async$returnValue = "1.49.11 compiled with dart2js 2.16.2";
21502 // goto return
21503 $async$goto = 1;
21504 break;
21505 case 1:
21506 // return
21507 return A._asyncReturn($async$returnValue, $async$completer);
21508 }
21509 });
21510 return A._asyncStartSync($async$_loadVersion, $async$completer);
21511 },
21512 main_printError: function main_printError(t0) {
21513 this._box_0 = t0;
21514 },
21515 main_closure: function main_closure(t0, t1) {
21516 this._box_0 = t0;
21517 this.destination = t1;
21518 },
21519 SassParser0: function SassParser0(t0, t1, t2) {
21520 var _ = this;
21521 _._sass0$_currentIndentation = 0;
21522 _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
21523 _._stylesheet0$_isUseAllowed = true;
21524 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
21525 _._stylesheet0$_globalVariables = t0;
21526 _.lastSilentComment = null;
21527 _.scanner = t1;
21528 _.logger = t2;
21529 },
21530 SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
21531 this.$this = t0;
21532 this.child = t1;
21533 this.children = t2;
21534 },
21535 _translateReturnValue(val) {
21536 if (type$.Future_dynamic._is(val))
21537 return A.futureToPromise(val, type$.dynamic);
21538 else
21539 return val;
21540 },
21541 main1() {
21542 new Uint8Array(0);
21543 A.main();
21544 J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
21545 },
21546 _wrapMain(main) {
21547 if (type$.dynamic_Function._is(main))
21548 return A.allowInterop(new A._wrapMain_closure(main));
21549 else
21550 return A.allowInterop(new A._wrapMain_closure0(main));
21551 },
21552 _Exports: function _Exports() {
21553 },
21554 _wrapMain_closure: function _wrapMain_closure(t0) {
21555 this.main = t0;
21556 },
21557 _wrapMain_closure0: function _wrapMain_closure0(t0) {
21558 this.main = t0;
21559 },
21560 ScssParser$0(contents, logger, url) {
21561 var t1 = A.SpanScanner$(contents, url),
21562 t2 = logger == null ? B.StderrLogger_false0 : logger;
21563 return new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2);
21564 },
21565 ScssParser0: function ScssParser0(t0, t1, t2) {
21566 var _ = this;
21567 _._stylesheet0$_isUseAllowed = true;
21568 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
21569 _._stylesheet0$_globalVariables = t0;
21570 _.lastSilentComment = null;
21571 _.scanner = t1;
21572 _.logger = t2;
21573 },
21574 Selector0: function Selector0() {
21575 },
21576 SelectorExpression0: function SelectorExpression0(t0) {
21577 this.span = t0;
21578 },
21579 _prependParent0(compound) {
21580 var t2, _null = null,
21581 t1 = compound.components,
21582 first = B.JSArray_methods.get$first(t1);
21583 if (first instanceof A.UniversalSelector0)
21584 return _null;
21585 if (first instanceof A.TypeSelector0) {
21586 t2 = first.name;
21587 if (t2.namespace != null)
21588 return _null;
21589 t2 = A._setArrayType([new A.ParentSelector0(t2.name)], type$.JSArray_SimpleSelector_2);
21590 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
21591 return A.CompoundSelector$0(t2);
21592 } else {
21593 t2 = A._setArrayType([new A.ParentSelector0(_null)], type$.JSArray_SimpleSelector_2);
21594 B.JSArray_methods.addAll$1(t2, t1);
21595 return A.CompoundSelector$0(t2);
21596 }
21597 },
21598 _function7($name, $arguments, callback) {
21599 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
21600 },
21601 _nest_closure0: function _nest_closure0() {
21602 },
21603 _nest__closure1: function _nest__closure1(t0) {
21604 this._box_0 = t0;
21605 },
21606 _nest__closure2: function _nest__closure2() {
21607 },
21608 _append_closure1: function _append_closure1() {
21609 },
21610 _append__closure1: function _append__closure1() {
21611 },
21612 _append__closure2: function _append__closure2() {
21613 },
21614 _append___closure0: function _append___closure0(t0) {
21615 this.parent = t0;
21616 },
21617 _extend_closure0: function _extend_closure0() {
21618 },
21619 _replace_closure0: function _replace_closure0() {
21620 },
21621 _unify_closure0: function _unify_closure0() {
21622 },
21623 _isSuperselector_closure0: function _isSuperselector_closure0() {
21624 },
21625 _simpleSelectors_closure0: function _simpleSelectors_closure0() {
21626 },
21627 _simpleSelectors__closure0: function _simpleSelectors__closure0() {
21628 },
21629 _parse_closure0: function _parse_closure0() {
21630 },
21631 SelectorParser$0(contents, allowParent, allowPlaceholder, logger, url) {
21632 var t1 = A.SpanScanner$(contents, url);
21633 return new A.SelectorParser0(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false0 : logger);
21634 },
21635 SelectorParser0: function SelectorParser0(t0, t1, t2, t3) {
21636 var _ = this;
21637 _._selector$_allowParent = t0;
21638 _._selector$_allowPlaceholder = t1;
21639 _.scanner = t2;
21640 _.logger = t3;
21641 },
21642 SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
21643 this.$this = t0;
21644 },
21645 SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
21646 this.$this = t0;
21647 },
21648 serialize0(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
21649 var t1, css, t2, prefix,
21650 visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, true, sourceMap, style, useSpaces);
21651 node.accept$1(visitor);
21652 t1 = visitor._serialize0$_buffer;
21653 css = t1.toString$0(0);
21654 if (charset) {
21655 t2 = new A.CodeUnits(css);
21656 t2 = t2.any$1(t2, new A.serialize_closure0());
21657 } else
21658 t2 = false;
21659 if (t2)
21660 prefix = style === B.OutputStyle_compressed0 ? "\ufeff" : '@charset "UTF-8";\n';
21661 else
21662 prefix = "";
21663 t2 = prefix + css;
21664 return new A.SerializeResult0(t2, sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null);
21665 },
21666 serializeValue0(value, inspect, quote) {
21667 var visitor = A._SerializeVisitor$0(null, inspect, null, quote, false, null, true);
21668 value.accept$1(visitor);
21669 return visitor._serialize0$_buffer.toString$0(0);
21670 },
21671 serializeSelector0(selector, inspect) {
21672 var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
21673 selector.accept$1(visitor);
21674 return visitor._serialize0$_buffer.toString$0(0);
21675 },
21676 _SerializeVisitor$0(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
21677 var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
21678 t2 = style == null ? B.OutputStyle_expanded0 : style,
21679 t3 = useSpaces ? 32 : 9,
21680 t4 = indentWidth == null ? 2 : indentWidth,
21681 t5 = lineFeed == null ? B.LineFeed_D6m : lineFeed;
21682 A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
21683 return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5);
21684 },
21685 serialize_closure0: function serialize_closure0() {
21686 },
21687 _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6) {
21688 var _ = this;
21689 _._serialize0$_buffer = t0;
21690 _._serialize0$_indentation = 0;
21691 _._serialize0$_style = t1;
21692 _._serialize0$_inspect = t2;
21693 _._serialize0$_quote = t3;
21694 _._serialize0$_indentCharacter = t4;
21695 _._serialize0$_indentWidth = t5;
21696 _._lineFeed = t6;
21697 },
21698 _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
21699 this.$this = t0;
21700 this.node = t1;
21701 },
21702 _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
21703 this.$this = t0;
21704 this.node = t1;
21705 },
21706 _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
21707 this.$this = t0;
21708 this.node = t1;
21709 },
21710 _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
21711 this.$this = t0;
21712 this.node = t1;
21713 },
21714 _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
21715 this.$this = t0;
21716 this.node = t1;
21717 },
21718 _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
21719 this.$this = t0;
21720 this.node = t1;
21721 },
21722 _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
21723 this.$this = t0;
21724 this.node = t1;
21725 },
21726 _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
21727 this.$this = t0;
21728 this.node = t1;
21729 },
21730 _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
21731 this.$this = t0;
21732 this.node = t1;
21733 },
21734 _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
21735 this.$this = t0;
21736 this.node = t1;
21737 },
21738 _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
21739 },
21740 _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
21741 this.$this = t0;
21742 this.value = t1;
21743 },
21744 _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
21745 this.$this = t0;
21746 },
21747 _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
21748 this.$this = t0;
21749 },
21750 _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
21751 },
21752 _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
21753 this.$this = t0;
21754 this.value = t1;
21755 },
21756 _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1, t2) {
21757 this._box_0 = t0;
21758 this.$this = t1;
21759 this.children = t2;
21760 },
21761 OutputStyle0: function OutputStyle0(t0) {
21762 this._serialize0$_name = t0;
21763 },
21764 LineFeed0: function LineFeed0(t0, t1) {
21765 this.name = t0;
21766 this.text = t1;
21767 },
21768 SerializeResult0: function SerializeResult0(t0, t1) {
21769 this.css = t0;
21770 this.sourceMap = t1;
21771 },
21772 ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
21773 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;
21774 },
21775 ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
21776 var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
21777 return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
21778 },
21779 ShadowedModuleView__needsBlocklist0(map, blocklist) {
21780 var t1 = map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
21781 return t1;
21782 },
21783 ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
21784 var _ = this;
21785 _._shadowed_view0$_inner = t0;
21786 _.variables = t1;
21787 _.variableNodes = t2;
21788 _.functions = t3;
21789 _.mixins = t4;
21790 _.$ti = t5;
21791 },
21792 SilentComment0: function SilentComment0(t0, t1) {
21793 this.text = t0;
21794 this.span = t1;
21795 },
21796 SimpleSelector0: function SimpleSelector0() {
21797 },
21798 SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
21799 var _ = this;
21800 _._single_unit$_unit = t0;
21801 _._number1$_value = t1;
21802 _.hashCache = null;
21803 _.asSlash = t2;
21804 },
21805 SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
21806 this.$this = t0;
21807 this.unit = t1;
21808 },
21809 SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
21810 this.$this = t0;
21811 },
21812 SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
21813 this._box_0 = t0;
21814 this.$this = t1;
21815 },
21816 SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
21817 this._box_0 = t0;
21818 this.$this = t1;
21819 },
21820 SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
21821 var _ = this;
21822 _._source_map_buffer0$_buffer = t0;
21823 _._source_map_buffer0$_entries = t1;
21824 _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
21825 _._source_map_buffer0$_inSpan = false;
21826 },
21827 SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
21828 this._box_0 = t0;
21829 this.prefixLength = t1;
21830 },
21831 updateSourceSpanPrototype() {
21832 var span = A.SourceFile$fromString("", null).span$1(0, 0),
21833 t1 = type$.JSClass,
21834 t2 = t1._as(span.constructor),
21835 t3 = type$.String,
21836 t4 = type$.Function;
21837 A.LinkedHashMap_LinkedHashMap$_literal(["start", new A.updateSourceSpanPrototype_closure(), "end", new A.updateSourceSpanPrototype_closure0(), "url", new A.updateSourceSpanPrototype_closure1(), "text", new A.updateSourceSpanPrototype_closure2(), "context", new A.updateSourceSpanPrototype_closure3()], t3, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t2));
21838 t1 = t1._as(A.FileLocation$_(span.file, span._file$_start).constructor);
21839 A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure4(), "column", new A.updateSourceSpanPrototype_closure5()], t3, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
21840 },
21841 updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure() {
21842 },
21843 updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
21844 },
21845 updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
21846 },
21847 updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
21848 },
21849 updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
21850 },
21851 updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
21852 },
21853 updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
21854 },
21855 _IterableExtension__search0(_this, callback) {
21856 var t1, value;
21857 for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
21858 value = callback.call$1(t1.get$current(t1));
21859 if (value != null)
21860 return value;
21861 }
21862 return null;
21863 },
21864 StatementSearchVisitor0: function StatementSearchVisitor0() {
21865 },
21866 StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
21867 this.$this = t0;
21868 },
21869 StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
21870 this.$this = t0;
21871 },
21872 StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
21873 this.$this = t0;
21874 },
21875 StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
21876 this.$this = t0;
21877 },
21878 StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
21879 this.$this = t0;
21880 },
21881 StaticImport0: function StaticImport0(t0, t1, t2, t3) {
21882 var _ = this;
21883 _.url = t0;
21884 _.supports = t1;
21885 _.media = t2;
21886 _.span = t3;
21887 },
21888 StderrLogger0: function StderrLogger0(t0) {
21889 this.color = t0;
21890 },
21891 StringExpression_quoteText0(text) {
21892 var t1,
21893 quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
21894 buffer = new A.StringBuffer("");
21895 buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
21896 A.StringExpression__quoteInnerText0(text, quote, buffer, true);
21897 t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
21898 return t1.charCodeAt(0) == 0 ? t1 : t1;
21899 },
21900 StringExpression__quoteInnerText0(text, quote, buffer, $static) {
21901 var t1, t2, i, codeUnit, next, t3;
21902 for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
21903 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
21904 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
21905 buffer.writeCharCode$1(92);
21906 buffer.writeCharCode$1(97);
21907 if (i !== t2) {
21908 next = B.JSString_methods._codeUnitAt$1(text, i + 1);
21909 if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex0(next))
21910 buffer.writeCharCode$1(32);
21911 }
21912 } else {
21913 if (codeUnit !== quote)
21914 if (codeUnit !== 92)
21915 t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
21916 else
21917 t3 = true;
21918 else
21919 t3 = true;
21920 if (t3)
21921 buffer.writeCharCode$1(92);
21922 buffer.writeCharCode$1(codeUnit);
21923 }
21924 }
21925 },
21926 StringExpression__bestQuote0(strings) {
21927 var t1, containsDoubleQuote, t2, t3, i, codeUnit;
21928 for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
21929 t2 = t1.get$current(t1);
21930 for (t3 = t2.length, i = 0; i < t3; ++i) {
21931 codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
21932 if (codeUnit === 39)
21933 return 34;
21934 if (codeUnit === 34)
21935 containsDoubleQuote = true;
21936 }
21937 }
21938 return containsDoubleQuote ? 39 : 34;
21939 },
21940 StringExpression0: function StringExpression0(t0, t1) {
21941 this.text = t0;
21942 this.hasQuotes = t1;
21943 },
21944 _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
21945 var result;
21946 if (index === 0)
21947 return 0;
21948 if (index > 0)
21949 return Math.min(index - 1, lengthInCodepoints);
21950 result = lengthInCodepoints + index;
21951 if (result < 0 && !allowNegative)
21952 return 0;
21953 return result;
21954 },
21955 _function6($name, $arguments, callback) {
21956 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
21957 },
21958 _unquote_closure0: function _unquote_closure0() {
21959 },
21960 _quote_closure0: function _quote_closure0() {
21961 },
21962 _length_closure1: function _length_closure1() {
21963 },
21964 _insert_closure0: function _insert_closure0() {
21965 },
21966 _index_closure1: function _index_closure1() {
21967 },
21968 _slice_closure0: function _slice_closure0() {
21969 },
21970 _toUpperCase_closure0: function _toUpperCase_closure0() {
21971 },
21972 _toLowerCase_closure0: function _toLowerCase_closure0() {
21973 },
21974 _uniqueId_closure0: function _uniqueId_closure0() {
21975 },
21976 _NodeSassString: function _NodeSassString() {
21977 },
21978 legacyStringClass_closure: function legacyStringClass_closure() {
21979 },
21980 legacyStringClass_closure0: function legacyStringClass_closure0() {
21981 },
21982 legacyStringClass_closure1: function legacyStringClass_closure1() {
21983 },
21984 stringClass_closure: function stringClass_closure() {
21985 },
21986 stringClass__closure: function stringClass__closure() {
21987 },
21988 stringClass__closure0: function stringClass__closure0() {
21989 },
21990 stringClass__closure1: function stringClass__closure1() {
21991 },
21992 stringClass__closure2: function stringClass__closure2() {
21993 },
21994 stringClass__closure3: function stringClass__closure3() {
21995 },
21996 _ConstructorOptions1: function _ConstructorOptions1() {
21997 },
21998 SassString$0(_text, quotes) {
21999 return new A.SassString0(_text, quotes);
22000 },
22001 SassString0: function SassString0(t0, t1) {
22002 var _ = this;
22003 _._string0$_text = t0;
22004 _._string0$_hasQuotes = t1;
22005 _._string0$__SassString__sassLength = $;
22006 _._string0$_hashCache = null;
22007 },
22008 ModifiableCssStyleRule$0(selector, span, originalSelector) {
22009 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
22010 return new A.ModifiableCssStyleRule0(selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
22011 },
22012 ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4) {
22013 var _ = this;
22014 _.selector = t0;
22015 _.originalSelector = t1;
22016 _.span = t2;
22017 _.children = t3;
22018 _._node1$_children = t4;
22019 _._node1$_indexInParent = _._node1$_parent = null;
22020 _.isGroupEnd = false;
22021 },
22022 StyleRule$0(selector, children, span) {
22023 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
22024 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
22025 return new A.StyleRule0(selector, span, t1, t2);
22026 },
22027 StyleRule0: function StyleRule0(t0, t1, t2, t3) {
22028 var _ = this;
22029 _.selector = t0;
22030 _.span = t1;
22031 _.children = t2;
22032 _.hasDeclarations = t3;
22033 },
22034 CssStylesheet0: function CssStylesheet0(t0, t1) {
22035 this.children = t0;
22036 this.span = t1;
22037 },
22038 ModifiableCssStylesheet$0(span) {
22039 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
22040 return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
22041 },
22042 ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
22043 var _ = this;
22044 _.span = t0;
22045 _.children = t1;
22046 _._node1$_children = t2;
22047 _._node1$_indexInParent = _._node1$_parent = null;
22048 _.isGroupEnd = false;
22049 },
22050 StylesheetParser0: function StylesheetParser0() {
22051 },
22052 StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
22053 this.$this = t0;
22054 },
22055 StylesheetParser_parse__closure1: function StylesheetParser_parse__closure1(t0) {
22056 this.$this = t0;
22057 },
22058 StylesheetParser_parse__closure2: function StylesheetParser_parse__closure2() {
22059 },
22060 StylesheetParser_parseArgumentDeclaration_closure0: function StylesheetParser_parseArgumentDeclaration_closure0(t0) {
22061 this.$this = t0;
22062 },
22063 StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
22064 this.$this = t0;
22065 this.production = t1;
22066 this.T = t2;
22067 },
22068 StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
22069 this.$this = t0;
22070 this.requireParens = t1;
22071 },
22072 StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
22073 this.$this = t0;
22074 },
22075 StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
22076 this.$this = t0;
22077 this.start = t1;
22078 },
22079 StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
22080 this.declaration = t0;
22081 },
22082 StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
22083 this.name = t0;
22084 },
22085 StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0, t1) {
22086 this._box_0 = t0;
22087 this.name = t1;
22088 },
22089 StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
22090 var _ = this;
22091 _._box_0 = t0;
22092 _.$this = t1;
22093 _.wasInStyleRule = t2;
22094 _.start = t3;
22095 },
22096 StylesheetParser__propertyOrVariableDeclaration_closure1: function StylesheetParser__propertyOrVariableDeclaration_closure1(t0) {
22097 this._box_0 = t0;
22098 },
22099 StylesheetParser__propertyOrVariableDeclaration_closure2: function StylesheetParser__propertyOrVariableDeclaration_closure2(t0, t1) {
22100 this._box_0 = t0;
22101 this.value = t1;
22102 },
22103 StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
22104 this.query = t0;
22105 },
22106 StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
22107 },
22108 StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
22109 var _ = this;
22110 _.$this = t0;
22111 _.wasInControlDirective = t1;
22112 _.variables = t2;
22113 _.list = t3;
22114 },
22115 StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
22116 this.name = t0;
22117 this.$arguments = t1;
22118 this.precedingComment = t2;
22119 },
22120 StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
22121 this._box_0 = t0;
22122 this.$this = t1;
22123 },
22124 StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
22125 var _ = this;
22126 _._box_0 = t0;
22127 _.$this = t1;
22128 _.wasInControlDirective = t2;
22129 _.variable = t3;
22130 _.from = t4;
22131 _.to = t5;
22132 },
22133 StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
22134 this.$this = t0;
22135 this.variables = t1;
22136 this.identifiers = t2;
22137 },
22138 StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
22139 this.contentArguments_ = t0;
22140 },
22141 StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
22142 this.query = t0;
22143 },
22144 StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
22145 var _ = this;
22146 _.$this = t0;
22147 _.name = t1;
22148 _.$arguments = t2;
22149 _.precedingComment = t3;
22150 },
22151 StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
22152 var _ = this;
22153 _._box_0 = t0;
22154 _.$this = t1;
22155 _.name = t2;
22156 _.value = t3;
22157 },
22158 StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
22159 this.condition = t0;
22160 },
22161 StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
22162 this.$this = t0;
22163 this.wasInControlDirective = t1;
22164 this.condition = t2;
22165 },
22166 StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
22167 this._box_0 = t0;
22168 this.name = t1;
22169 },
22170 StylesheetParser_expression_resetState0: function StylesheetParser_expression_resetState0(t0, t1, t2) {
22171 this._box_0 = t0;
22172 this.$this = t1;
22173 this.start = t2;
22174 },
22175 StylesheetParser_expression_resolveOneOperation0: function StylesheetParser_expression_resolveOneOperation0(t0, t1) {
22176 this._box_0 = t0;
22177 this.$this = t1;
22178 },
22179 StylesheetParser_expression_resolveOperations0: function StylesheetParser_expression_resolveOperations0(t0, t1) {
22180 this._box_0 = t0;
22181 this.resolveOneOperation = t1;
22182 },
22183 StylesheetParser_expression_addSingleExpression0: function StylesheetParser_expression_addSingleExpression0(t0, t1, t2, t3) {
22184 var _ = this;
22185 _._box_0 = t0;
22186 _.$this = t1;
22187 _.resetState = t2;
22188 _.resolveOperations = t3;
22189 },
22190 StylesheetParser_expression_addOperator0: function StylesheetParser_expression_addOperator0(t0, t1, t2) {
22191 this._box_0 = t0;
22192 this.$this = t1;
22193 this.resolveOneOperation = t2;
22194 },
22195 StylesheetParser_expression_resolveSpaceExpressions0: function StylesheetParser_expression_resolveSpaceExpressions0(t0, t1, t2) {
22196 this._box_0 = t0;
22197 this.$this = t1;
22198 this.resolveOperations = t2;
22199 },
22200 StylesheetParser__expressionUntilComma_closure0: function StylesheetParser__expressionUntilComma_closure0(t0) {
22201 this.$this = t0;
22202 },
22203 StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
22204 },
22205 StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
22206 },
22207 StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
22208 this.$this = t0;
22209 this.start = t1;
22210 },
22211 StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
22212 },
22213 StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
22214 this.$this = t0;
22215 },
22216 StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
22217 this.$this = t0;
22218 this.start = t1;
22219 },
22220 Stylesheet$internal0(children, span, plainCss) {
22221 var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
22222 t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
22223 t3 = A.List_List$unmodifiable(children, type$.Statement_2),
22224 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure0());
22225 t1 = new A.Stylesheet0(span, plainCss, t1, t2, t3, t4);
22226 t1.Stylesheet$internal$3$plainCss0(children, span, plainCss);
22227 return t1;
22228 },
22229 Stylesheet_Stylesheet$parse0(contents, syntax, logger, url) {
22230 var t1, t2;
22231 switch (syntax) {
22232 case B.Syntax_Sass0:
22233 t1 = A.SpanScanner$(contents, url);
22234 t2 = logger == null ? B.StderrLogger_false0 : logger;
22235 return new A.SassParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
22236 case B.Syntax_SCSS0:
22237 return A.ScssParser$0(contents, logger, url).parse$0();
22238 case B.Syntax_CSS0:
22239 t1 = A.SpanScanner$(contents, url);
22240 t2 = logger == null ? B.StderrLogger_false0 : logger;
22241 return new A.CssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
22242 default:
22243 throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
22244 }
22245 },
22246 Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5) {
22247 var _ = this;
22248 _.span = t0;
22249 _.plainCss = t1;
22250 _._stylesheet1$_uses = t2;
22251 _._stylesheet1$_forwards = t3;
22252 _.children = t4;
22253 _.hasDeclarations = t5;
22254 },
22255 ModifiableCssSupportsRule$0(condition, span) {
22256 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
22257 return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
22258 },
22259 ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
22260 var _ = this;
22261 _.condition = t0;
22262 _.span = t1;
22263 _.children = t2;
22264 _._node1$_children = t3;
22265 _._node1$_indexInParent = _._node1$_parent = null;
22266 _.isGroupEnd = false;
22267 },
22268 SupportsRule$0(condition, children, span) {
22269 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
22270 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
22271 return new A.SupportsRule0(condition, span, t1, t2);
22272 },
22273 SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
22274 var _ = this;
22275 _.condition = t0;
22276 _.span = t1;
22277 _.children = t2;
22278 _.hasDeclarations = t3;
22279 },
22280 NodeToDartImporter: function NodeToDartImporter(t0, t1) {
22281 this._sync$_canonicalize = t0;
22282 this._sync$_load = t1;
22283 },
22284 Syntax_forPath0(path) {
22285 switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
22286 case ".sass":
22287 return B.Syntax_Sass0;
22288 case ".css":
22289 return B.Syntax_CSS0;
22290 default:
22291 return B.Syntax_SCSS0;
22292 }
22293 },
22294 Syntax0: function Syntax0(t0) {
22295 this._syntax0$_name = t0;
22296 },
22297 TerseLogger0: function TerseLogger0(t0, t1) {
22298 this._terse$_warningCounts = t0;
22299 this._terse$_inner = t1;
22300 },
22301 TerseLogger_summarize_closure1: function TerseLogger_summarize_closure1() {
22302 },
22303 TerseLogger_summarize_closure2: function TerseLogger_summarize_closure2() {
22304 },
22305 TypeSelector0: function TypeSelector0(t0) {
22306 this.name = t0;
22307 },
22308 Types: function Types() {
22309 },
22310 UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
22311 this.operator = t0;
22312 this.operand = t1;
22313 this.span = t2;
22314 },
22315 UnaryOperator0: function UnaryOperator0(t0, t1) {
22316 this.name = t0;
22317 this.operator = t1;
22318 },
22319 UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
22320 this._number1$_value = t0;
22321 this.hashCache = null;
22322 this.asSlash = t1;
22323 },
22324 UniversalSelector0: function UniversalSelector0(t0) {
22325 this.namespace = t0;
22326 },
22327 UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
22328 this._unprefixed_map_view0$_map = t0;
22329 this._unprefixed_map_view0$_prefix = t1;
22330 this.$ti = t2;
22331 },
22332 _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
22333 this._unprefixed_map_view0$_view = t0;
22334 },
22335 _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
22336 this.$this = t0;
22337 },
22338 _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
22339 this.$this = t0;
22340 },
22341 JSUrl0: function JSUrl0() {
22342 },
22343 UseRule0: function UseRule0(t0, t1, t2, t3) {
22344 var _ = this;
22345 _.url = t0;
22346 _.namespace = t1;
22347 _.configuration = t2;
22348 _.span = t3;
22349 },
22350 UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
22351 var _ = this;
22352 _.declaration = t0;
22353 _.environment = t1;
22354 _.inDependency = t2;
22355 _.$ti = t3;
22356 },
22357 fromImport0() {
22358 var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
22359 return t1 === true;
22360 },
22361 resolveImportPath0(path) {
22362 var t1,
22363 extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
22364 if (extension === ".sass" || extension === ".scss" || extension === ".css") {
22365 t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
22366 return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
22367 }
22368 t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
22369 if (t1 == null)
22370 t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
22371 return t1 == null ? A._tryPathAsDirectory0(path) : t1;
22372 },
22373 _tryPathWithExtensions0(path) {
22374 var result = A._tryPath0(path + ".sass");
22375 B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
22376 return result.length !== 0 ? result : A._tryPath0(path + ".css");
22377 },
22378 _tryPath0(path) {
22379 var t1 = $.$get$context(),
22380 partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
22381 t1 = A._setArrayType([], type$.JSArray_String);
22382 if (A.fileExists0(partial))
22383 t1.push(partial);
22384 if (A.fileExists0(path))
22385 t1.push(path);
22386 return t1;
22387 },
22388 _tryPathAsDirectory0(path) {
22389 var t1;
22390 if (!A.dirExists0(path))
22391 return null;
22392 t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
22393 return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
22394 },
22395 _exactlyOne0(paths) {
22396 var t1 = paths.length;
22397 if (t1 === 0)
22398 return null;
22399 if (t1 === 1)
22400 return B.JSArray_methods.get$first(paths);
22401 throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
22402 },
22403 resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
22404 this.path = t0;
22405 this.extension = t1;
22406 },
22407 resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
22408 this.path = t0;
22409 },
22410 _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
22411 this.path = t0;
22412 },
22413 _exactlyOne_closure0: function _exactlyOne_closure0() {
22414 },
22415 jsThrow(error) {
22416 return type$.Never._as($.$get$_jsThrow().call$1(error));
22417 },
22418 attachJsStack(error, trace) {
22419 var traceString = trace.toString$0(0),
22420 firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
22421 if (firstRealLine !== -1)
22422 traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
22423 error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
22424 },
22425 jsForEach(object, callback) {
22426 var t1, t2;
22427 for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
22428 t2 = t1.get$current(t1);
22429 callback.call$2(t2, object[t2]);
22430 }
22431 },
22432 defineGetter(object, $name, get, value) {
22433 self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
22434 },
22435 allowInteropNamed($name, $function) {
22436 $function = A.allowInterop($function);
22437 A.defineGetter($function, "name", null, $name);
22438 A._hideDartProperties($function);
22439 return $function;
22440 },
22441 allowInteropCaptureThisNamed($name, $function) {
22442 $function = A.allowInteropCaptureThis($function);
22443 A.defineGetter($function, "name", null, $name);
22444 A._hideDartProperties($function);
22445 return $function;
22446 },
22447 _hideDartProperties(object) {
22448 var t1, t2, t3, t4;
22449 for (t1 = J.cast$1$0$ax(self.Object.getOwnPropertyNames(object), type$.String), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
22450 t3 = t2._as(t1.__internal$_current);
22451 if (B.JSString_methods.startsWith$1(t3, "_")) {
22452 t4 = {value: object[t3], enumerable: false};
22453 self.Object.defineProperty(object, t3, t4);
22454 }
22455 }
22456 },
22457 futureToPromise0(future) {
22458 return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
22459 },
22460 jsToDartUrl(url) {
22461 return A.Uri_parse(J.toString$0$(url));
22462 },
22463 dartToJSUrl(url) {
22464 return new self.URL(url.toString$0(0));
22465 },
22466 toJSArray(iterable) {
22467 var t1, t2,
22468 array = new self.Array();
22469 for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
22470 t2.push$1(array, t1.get$current(t1));
22471 return array;
22472 },
22473 objectToMap(object) {
22474 var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
22475 A.jsForEach(object, new A.objectToMap_closure(map));
22476 return map;
22477 },
22478 jsToDartSeparator(separator) {
22479 switch (separator) {
22480 case " ":
22481 return B.ListSeparator_woc0;
22482 case ",":
22483 return B.ListSeparator_kWM0;
22484 case "/":
22485 return B.ListSeparator_1gm0;
22486 case null:
22487 return B.ListSeparator_undecided_null0;
22488 default:
22489 A.jsThrow(new self.Error('Unknown separator "' + A.S(separator) + '".'));
22490 }
22491 },
22492 parseSyntax(syntax) {
22493 if (syntax == null || syntax === "scss")
22494 return B.Syntax_SCSS0;
22495 if (syntax === "indented")
22496 return B.Syntax_Sass0;
22497 if (syntax === "css")
22498 return B.Syntax_CSS0;
22499 A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
22500 },
22501 _PropertyDescriptor0: function _PropertyDescriptor0() {
22502 },
22503 futureToPromise_closure0: function futureToPromise_closure0(t0) {
22504 this.future = t0;
22505 },
22506 futureToPromise__closure0: function futureToPromise__closure0(t0) {
22507 this.resolve = t0;
22508 },
22509 futureToPromise__closure1: function futureToPromise__closure1(t0) {
22510 this.reject = t0;
22511 },
22512 objectToMap_closure: function objectToMap_closure(t0) {
22513 this.map = t0;
22514 },
22515 toSentence0(iter, conjunction) {
22516 var t1 = iter.__internal$_iterable,
22517 t2 = J.getInterceptor$asx(t1);
22518 if (t2.get$length(t1) === 1)
22519 return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
22520 return A.TakeIterable_TakeIterable(iter, t2.get$length(t1) - 1, A._instanceType(iter)._eval$1("Iterable.E")).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter._f.call$1(t2.get$last(t1))));
22521 },
22522 indent0(string, indentation) {
22523 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");
22524 },
22525 pluralize0($name, number, plural) {
22526 if (number === 1)
22527 return $name;
22528 if (plural != null)
22529 return plural;
22530 return $name + "s";
22531 },
22532 trimAscii0(string, excludeEscape) {
22533 var t1,
22534 start = A._firstNonWhitespace0(string);
22535 if (start == null)
22536 t1 = "";
22537 else {
22538 t1 = A._lastNonWhitespace0(string, true);
22539 t1.toString;
22540 t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
22541 }
22542 return t1;
22543 },
22544 trimAsciiRight0(string, excludeEscape) {
22545 var end = A._lastNonWhitespace0(string, excludeEscape);
22546 return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
22547 },
22548 _firstNonWhitespace0(string) {
22549 var t1, i, t2;
22550 for (t1 = string.length, i = 0; i < t1; ++i) {
22551 t2 = B.JSString_methods._codeUnitAt$1(string, i);
22552 if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
22553 return i;
22554 }
22555 return null;
22556 },
22557 _lastNonWhitespace0(string, excludeEscape) {
22558 var t1, i, codeUnit;
22559 for (t1 = string.length, i = t1 - 1; i >= 0; --i) {
22560 codeUnit = B.JSString_methods.codeUnitAt$1(string, i);
22561 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
22562 if (excludeEscape && i !== 0 && i !== t1 && codeUnit === 92)
22563 return i + 1;
22564 else
22565 return i;
22566 }
22567 return null;
22568 },
22569 isPublic0(member) {
22570 var start = B.JSString_methods._codeUnitAt$1(member, 0);
22571 return start !== 45 && start !== 95;
22572 },
22573 flattenVertically0(iterable, $T) {
22574 var result,
22575 t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
22576 queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
22577 if (queues.length === 1)
22578 return B.JSArray_methods.get$first(queues);
22579 result = A._setArrayType([], $T._eval$1("JSArray<0>"));
22580 for (; queues.length !== 0;) {
22581 if (!!queues.fixed$length)
22582 A.throwExpression(A.UnsupportedError$("removeWhere"));
22583 B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
22584 }
22585 return result;
22586 },
22587 firstOrNull0(iterable) {
22588 var iterator = J.get$iterator$ax(iterable);
22589 return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
22590 },
22591 codepointIndexToCodeUnitIndex0(string, codepointIndex) {
22592 var codeUnitIndex, i, codeUnitIndex0;
22593 for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
22594 codeUnitIndex0 = codeUnitIndex + 1;
22595 codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
22596 }
22597 return codeUnitIndex;
22598 },
22599 codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
22600 var codepointIndex, i;
22601 for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
22602 ++codepointIndex;
22603 return codepointIndex;
22604 },
22605 frameForSpan0(span, member, url) {
22606 var t2, t3, t4,
22607 t1 = url == null ? span.file.url : url;
22608 if (t1 == null)
22609 t1 = $.$get$_noSourceUrl0();
22610 t2 = span.file;
22611 t3 = span._file$_start;
22612 t4 = A.FileLocation$_(t2, t3);
22613 t4 = t4.file.getLine$1(t4.offset);
22614 t3 = A.FileLocation$_(t2, t3);
22615 return new A.Frame(t1, t4 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
22616 },
22617 declarationName0(span) {
22618 var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
22619 return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
22620 },
22621 unvendor0($name) {
22622 var i,
22623 t1 = $name.length;
22624 if (t1 < 2)
22625 return $name;
22626 if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
22627 return $name;
22628 if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
22629 return $name;
22630 for (i = 2; i < t1; ++i)
22631 if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
22632 return B.JSString_methods.substring$1($name, i + 1);
22633 return $name;
22634 },
22635 equalsIgnoreCase0(string1, string2) {
22636 var t1, i;
22637 if (string1 === string2)
22638 return true;
22639 if (string1 == null || false)
22640 return false;
22641 t1 = string1.length;
22642 if (t1 !== string2.length)
22643 return false;
22644 for (i = 0; i < t1; ++i)
22645 if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
22646 return false;
22647 return true;
22648 },
22649 startsWithIgnoreCase0(string, prefix) {
22650 var i,
22651 t1 = prefix.length;
22652 if (string.length < t1)
22653 return false;
22654 for (i = 0; i < t1; ++i)
22655 if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
22656 return false;
22657 return true;
22658 },
22659 mapInPlace0(list, $function) {
22660 var i;
22661 for (i = 0; i < list.length; ++i)
22662 list[i] = $function.call$1(list[i]);
22663 },
22664 longestCommonSubsequence0(list1, list2, select, $T) {
22665 var t1, _length, lengths, t2, t3, _i, selections, i, i0, j, selection, j0;
22666 if (select == null)
22667 select = new A.longestCommonSubsequence_closure0($T);
22668 t1 = J.getInterceptor$asx(list1);
22669 _length = t1.get$length(list1) + 1;
22670 lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
22671 for (t2 = J.getInterceptor$asx(list2), t3 = type$.int, _i = 0; _i < _length; ++_i)
22672 lengths[_i] = A.List_List$filled(t2.get$length(list2) + 1, 0, false, t3);
22673 _length = t1.get$length(list1);
22674 selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
22675 for (t3 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
22676 selections[_i] = A.List_List$filled(t2.get$length(list2), null, false, t3);
22677 for (i = 0; i < t1.get$length(list1); i = i0)
22678 for (i0 = i + 1, j = 0; j < t2.get$length(list2); j = j0) {
22679 selection = select.call$2(t1.$index(list1, i), t2.$index(list2, j));
22680 selections[i][j] = selection;
22681 t3 = lengths[i0];
22682 j0 = j + 1;
22683 t3[j0] = selection == null ? Math.max(t3[j], lengths[i][j0]) : lengths[i][j] + 1;
22684 }
22685 return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(t1.get$length(list1) - 1, t2.get$length(list2) - 1);
22686 },
22687 removeFirstWhere0(list, test, orElse) {
22688 var i;
22689 for (i = 0; i < list.length; ++i) {
22690 if (!test.call$1(list[i]))
22691 continue;
22692 B.JSArray_methods.removeAt$1(list, i);
22693 return;
22694 }
22695 orElse.call$0();
22696 },
22697 mapAddAll20(destination, source, K1, K2, $V) {
22698 source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
22699 },
22700 setAll0(map, keys, value) {
22701 var t1;
22702 for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
22703 map.$indexSet(0, t1.get$current(t1), value);
22704 },
22705 rotateSlice0(list, start, end) {
22706 var i, next,
22707 element = list.$index(0, end - 1);
22708 for (i = start; i < end; ++i, element = next) {
22709 next = list.$index(0, i);
22710 list.$indexSet(0, i, element);
22711 }
22712 },
22713 mapAsync0(iterable, callback, $E, $F) {
22714 return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
22715 },
22716 mapAsync$body0(iterable, callback, $E, $F, $async$type) {
22717 var $async$goto = 0,
22718 $async$completer = A._makeAsyncAwaitCompleter($async$type),
22719 $async$returnValue, t2, _i, t1, $async$temp1;
22720 var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
22721 if ($async$errorCode === 1)
22722 return A._asyncRethrow($async$result, $async$completer);
22723 while (true)
22724 switch ($async$goto) {
22725 case 0:
22726 // Function start
22727 t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
22728 t2 = iterable.length, _i = 0;
22729 case 3:
22730 // for condition
22731 if (!(_i < t2)) {
22732 // goto after for
22733 $async$goto = 5;
22734 break;
22735 }
22736 $async$temp1 = t1;
22737 $async$goto = 6;
22738 return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
22739 case 6:
22740 // returning from await.
22741 $async$temp1.push($async$result);
22742 case 4:
22743 // for update
22744 ++_i;
22745 // goto for condition
22746 $async$goto = 3;
22747 break;
22748 case 5:
22749 // after for
22750 $async$returnValue = t1;
22751 // goto return
22752 $async$goto = 1;
22753 break;
22754 case 1:
22755 // return
22756 return A._asyncReturn($async$returnValue, $async$completer);
22757 }
22758 });
22759 return A._asyncStartSync($async$mapAsync0, $async$completer);
22760 },
22761 putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
22762 return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
22763 },
22764 putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
22765 var $async$goto = 0,
22766 $async$completer = A._makeAsyncAwaitCompleter($async$type),
22767 $async$returnValue, value;
22768 var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
22769 if ($async$errorCode === 1)
22770 return A._asyncRethrow($async$result, $async$completer);
22771 while (true)
22772 switch ($async$goto) {
22773 case 0:
22774 // Function start
22775 if (map.containsKey$1(key)) {
22776 $async$returnValue = $V._as(map.$index(0, key));
22777 // goto return
22778 $async$goto = 1;
22779 break;
22780 }
22781 $async$goto = 3;
22782 return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
22783 case 3:
22784 // returning from await.
22785 value = $async$result;
22786 map.$indexSet(0, key, value);
22787 $async$returnValue = value;
22788 // goto return
22789 $async$goto = 1;
22790 break;
22791 case 1:
22792 // return
22793 return A._asyncReturn($async$returnValue, $async$completer);
22794 }
22795 });
22796 return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
22797 },
22798 copyMapOfMap0(map, K1, K2, $V) {
22799 var t2, t3, t4, t5,
22800 t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
22801 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
22802 t3 = t2.get$current(t2);
22803 t4 = t3.key;
22804 t3 = t3.value;
22805 t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
22806 t5.addAll$1(0, t3);
22807 t1.$indexSet(0, t4, t5);
22808 }
22809 return t1;
22810 },
22811 copyMapOfList0(map, $K, $E) {
22812 var t2, t3,
22813 t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
22814 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
22815 t3 = t2.get$current(t2);
22816 t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
22817 }
22818 return t1;
22819 },
22820 consumeEscapedCharacter0(scanner) {
22821 var first, value, i, next, t1;
22822 scanner.expectChar$1(92);
22823 first = scanner.peekChar$0();
22824 if (first == null)
22825 return 65533;
22826 else if (first === 10 || first === 13 || first === 12)
22827 scanner.error$1(0, "Expected escape sequence.");
22828 else if (A.isHex0(first)) {
22829 for (value = 0, i = 0; i < 6; ++i) {
22830 next = scanner.peekChar$0();
22831 if (next == null || !A.isHex0(next))
22832 break;
22833 value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
22834 }
22835 t1 = scanner.peekChar$0();
22836 if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
22837 scanner.readChar$0();
22838 if (value !== 0)
22839 t1 = value >= 55296 && value <= 57343 || value >= 1114111;
22840 else
22841 t1 = true;
22842 if (t1)
22843 return 65533;
22844 else
22845 return value;
22846 } else
22847 return scanner.readChar$0();
22848 },
22849 throwWithTrace0(error, trace) {
22850 A.attachTrace0(error, trace);
22851 throw A.wrapException(error);
22852 },
22853 attachTrace0(error, trace) {
22854 var t1;
22855 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
22856 return;
22857 if (trace.toString$0(0).length === 0)
22858 return;
22859 t1 = $.$get$_traces0();
22860 A.Expando__checkType(error);
22861 t1 = t1._jsWeakMap;
22862 if (t1.get(error) == null)
22863 t1.set(error, trace);
22864 },
22865 getTrace0(error) {
22866 var t1;
22867 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
22868 t1 = null;
22869 else {
22870 t1 = $.$get$_traces0();
22871 A.Expando__checkType(error);
22872 t1 = t1._jsWeakMap.get(error);
22873 }
22874 return t1;
22875 },
22876 indent_closure0: function indent_closure0(t0) {
22877 this.indentation = t0;
22878 },
22879 flattenVertically_closure1: function flattenVertically_closure1(t0) {
22880 this.T = t0;
22881 },
22882 flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
22883 this.result = t0;
22884 this.T = t1;
22885 },
22886 longestCommonSubsequence_closure0: function longestCommonSubsequence_closure0(t0) {
22887 this.T = t0;
22888 },
22889 longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
22890 this.selections = t0;
22891 this.lengths = t1;
22892 this.T = t2;
22893 },
22894 mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
22895 var _ = this;
22896 _.destination = t0;
22897 _.K1 = t1;
22898 _.K2 = t2;
22899 _.V = t3;
22900 },
22901 CssValue0: function CssValue0(t0, t1, t2) {
22902 this.value = t0;
22903 this.span = t1;
22904 this.$ti = t2;
22905 },
22906 ValueExpression0: function ValueExpression0(t0, t1) {
22907 this.value = t0;
22908 this.span = t1;
22909 },
22910 ModifiableCssValue0: function ModifiableCssValue0(t0, t1, t2) {
22911 this.value = t0;
22912 this.span = t1;
22913 this.$ti = t2;
22914 },
22915 valueClass_closure: function valueClass_closure() {
22916 },
22917 valueClass__closure: function valueClass__closure() {
22918 },
22919 valueClass__closure0: function valueClass__closure0() {
22920 },
22921 valueClass__closure1: function valueClass__closure1() {
22922 },
22923 valueClass__closure2: function valueClass__closure2() {
22924 },
22925 valueClass__closure3: function valueClass__closure3() {
22926 },
22927 valueClass__closure4: function valueClass__closure4() {
22928 },
22929 valueClass__closure5: function valueClass__closure5() {
22930 },
22931 valueClass__closure6: function valueClass__closure6() {
22932 },
22933 valueClass__closure7: function valueClass__closure7() {
22934 },
22935 valueClass__closure8: function valueClass__closure8() {
22936 },
22937 valueClass__closure9: function valueClass__closure9() {
22938 },
22939 valueClass__closure10: function valueClass__closure10() {
22940 },
22941 valueClass__closure11: function valueClass__closure11() {
22942 },
22943 valueClass__closure12: function valueClass__closure12() {
22944 },
22945 valueClass__closure13: function valueClass__closure13() {
22946 },
22947 valueClass__closure14: function valueClass__closure14() {
22948 },
22949 valueClass__closure15: function valueClass__closure15() {
22950 },
22951 valueClass__closure16: function valueClass__closure16() {
22952 },
22953 Value0: function Value0() {
22954 },
22955 VariableExpression0: function VariableExpression0(t0, t1, t2) {
22956 this.namespace = t0;
22957 this.name = t1;
22958 this.span = t2;
22959 },
22960 VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
22961 if (namespace != null && global)
22962 A.throwExpression(A.ArgumentError$(string$.Other_, null));
22963 return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
22964 },
22965 VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
22966 var _ = this;
22967 _.namespace = t0;
22968 _.name = t1;
22969 _.expression = t2;
22970 _.isGuarded = t3;
22971 _.isGlobal = t4;
22972 _.span = t5;
22973 },
22974 WarnRule0: function WarnRule0(t0, t1) {
22975 this.expression = t0;
22976 this.span = t1;
22977 },
22978 WhileRule$0(condition, children, span) {
22979 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
22980 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
22981 return new A.WhileRule0(condition, span, t1, t2);
22982 },
22983 WhileRule0: function WhileRule0(t0, t1, t2, t3) {
22984 var _ = this;
22985 _.condition = t0;
22986 _.span = t1;
22987 _.children = t2;
22988 _.hasDeclarations = t3;
22989 },
22990 printString(string) {
22991 if (typeof dartPrint == "function") {
22992 dartPrint(string);
22993 return;
22994 }
22995 if (typeof console == "object" && typeof console.log != "undefined") {
22996 console.log(string);
22997 return;
22998 }
22999 if (typeof window == "object")
23000 return;
23001 if (typeof print == "function") {
23002 print(string);
23003 return;
23004 }
23005 throw "Unable to print message: " + String(string);
23006 },
23007 _convertDartFunctionFast(f) {
23008 var ret,
23009 existing = f.$dart_jsFunction;
23010 if (existing != null)
23011 return existing;
23012 ret = function(_call, f) {
23013 return function() {
23014 return _call(f, Array.prototype.slice.apply(arguments));
23015 };
23016 }(A._callDartFunctionFast, f);
23017 ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
23018 f.$dart_jsFunction = ret;
23019 return ret;
23020 },
23021 _convertDartFunctionFastCaptureThis(f) {
23022 var ret,
23023 existing = f._$dart_jsFunctionCaptureThis;
23024 if (existing != null)
23025 return existing;
23026 ret = function(_call, f) {
23027 return function() {
23028 return _call(f, this, Array.prototype.slice.apply(arguments));
23029 };
23030 }(A._callDartFunctionFastCaptureThis, f);
23031 ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
23032 f._$dart_jsFunctionCaptureThis = ret;
23033 return ret;
23034 },
23035 _callDartFunctionFast(callback, $arguments) {
23036 return A.Function_apply(callback, $arguments);
23037 },
23038 _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
23039 var t1 = [$self];
23040 B.JSArray_methods.addAll$1(t1, $arguments);
23041 return A.Function_apply(callback, t1);
23042 },
23043 allowInterop(f) {
23044 if (typeof f == "function")
23045 return f;
23046 else
23047 return A._convertDartFunctionFast(f);
23048 },
23049 allowInteropCaptureThis(f) {
23050 if (typeof f == "function")
23051 throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
23052 else
23053 return A._convertDartFunctionFastCaptureThis(f);
23054 },
23055 mergeMaps(map1, map2, $K, $V) {
23056 var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
23057 result.addAll$1(0, map2);
23058 return result;
23059 },
23060 groupBy(values, key, $S, $T) {
23061 var t1, t2, _i, element, t3, t4,
23062 map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
23063 for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
23064 element = values[_i];
23065 t3 = key.call$1(element);
23066 t4 = map.$index(0, t3);
23067 if (t4 == null) {
23068 t4 = A._setArrayType([], t2);
23069 map.$indexSet(0, t3, t4);
23070 t3 = t4;
23071 } else
23072 t3 = t4;
23073 J.add$1$ax(t3, element);
23074 }
23075 return map;
23076 },
23077 minBy(values, orderBy) {
23078 var t1, t2, minValue, minOrderBy, element, elementOrderBy;
23079 for (t1 = new A.MappedIterator(J.get$iterator$ax(values.__internal$_iterable), values._f), t2 = A._instanceType(t1)._rest[1], minValue = null, minOrderBy = null; t1.moveNext$0();) {
23080 element = t2._as(t1.__internal$_current);
23081 elementOrderBy = orderBy.call$1(element);
23082 if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
23083 minOrderBy = elementOrderBy;
23084 minValue = element;
23085 }
23086 }
23087 return minValue;
23088 },
23089 IterableNullableExtension_whereNotNull(_this, $T) {
23090 return A.IterableNullableExtension_whereNotNull$body(_this, $T, $T);
23091 },
23092 IterableNullableExtension_whereNotNull$body($async$_this, $async$$T, $async$type) {
23093 return A._makeSyncStarIterable(function() {
23094 var _this = $async$_this,
23095 $T = $async$$T;
23096 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, element;
23097 return function $async$IterableNullableExtension_whereNotNull($async$errorCode, $async$result) {
23098 if ($async$errorCode === 1) {
23099 $async$currentError = $async$result;
23100 $async$goto = $async$handler;
23101 }
23102 while (true)
23103 switch ($async$goto) {
23104 case 0:
23105 // Function start
23106 t1 = _this.get$iterator(_this);
23107 case 2:
23108 // for condition
23109 if (!t1.moveNext$0()) {
23110 // goto after for
23111 $async$goto = 3;
23112 break;
23113 }
23114 element = t1.get$current(t1);
23115 $async$goto = element != null ? 4 : 5;
23116 break;
23117 case 4:
23118 // then
23119 $async$goto = 6;
23120 return element;
23121 case 6:
23122 // after yield
23123 case 5:
23124 // join
23125 // goto for condition
23126 $async$goto = 2;
23127 break;
23128 case 3:
23129 // after for
23130 // implicit return
23131 return A._IterationMarker_endOfIteration();
23132 case 1:
23133 // rethrow
23134 return A._IterationMarker_uncaughtError($async$currentError);
23135 }
23136 };
23137 }, $async$type);
23138 },
23139 IterableIntegerExtension_get_sum(_this) {
23140 var t1, t2, result;
23141 for (t1 = new A.MappedIterator(J.get$iterator$ax(_this.__internal$_iterable), _this._f), t2 = A._instanceType(t1)._rest[1], result = 0; t1.moveNext$0();)
23142 result += t2._as(t1.__internal$_current);
23143 return result;
23144 },
23145 ListExtensions_mapIndexed(_this, convert, $E, $R) {
23146 return A.ListExtensions_mapIndexed$body(_this, convert, $E, $R, $R);
23147 },
23148 ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R, $async$type) {
23149 return A._makeSyncStarIterable(function() {
23150 var _this = $async$_this,
23151 convert = $async$convert,
23152 $E = $async$$E,
23153 $R = $async$$R;
23154 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, index;
23155 return function $async$ListExtensions_mapIndexed($async$errorCode, $async$result) {
23156 if ($async$errorCode === 1) {
23157 $async$currentError = $async$result;
23158 $async$goto = $async$handler;
23159 }
23160 while (true)
23161 switch ($async$goto) {
23162 case 0:
23163 // Function start
23164 t1 = _this.length, index = 0;
23165 case 2:
23166 // for condition
23167 if (!(index < t1)) {
23168 // goto after for
23169 $async$goto = 4;
23170 break;
23171 }
23172 $async$goto = 5;
23173 return convert.call$2(index, _this[index]);
23174 case 5:
23175 // after yield
23176 case 3:
23177 // for update
23178 ++index;
23179 // goto for condition
23180 $async$goto = 2;
23181 break;
23182 case 4:
23183 // after for
23184 // implicit return
23185 return A._IterationMarker_endOfIteration();
23186 case 1:
23187 // rethrow
23188 return A._IterationMarker_uncaughtError($async$currentError);
23189 }
23190 };
23191 }, $async$type);
23192 },
23193 defaultCompare(value1, value2) {
23194 return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
23195 },
23196 current() {
23197 var exception, t1, path, lastIndex, uri = null;
23198 try {
23199 uri = A.Uri_base();
23200 } catch (exception) {
23201 if (type$.Exception._is(A.unwrapException(exception))) {
23202 t1 = $._current;
23203 if (t1 != null)
23204 return t1;
23205 throw exception;
23206 } else
23207 throw exception;
23208 }
23209 if (J.$eq$(uri, $._currentUriBase)) {
23210 t1 = $._current;
23211 t1.toString;
23212 return t1;
23213 }
23214 $._currentUriBase = uri;
23215 if ($.$get$Style_platform() == $.$get$Style_url())
23216 t1 = $._current = uri.resolve$1(".").toString$0(0);
23217 else {
23218 path = uri.toFilePath$0();
23219 lastIndex = path.length - 1;
23220 t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
23221 }
23222 return t1;
23223 },
23224 absolute(part1, part2, part3, part4, part5, part6, part7) {
23225 return $.$get$context().absolute$7(part1, part2, part3, part4, part5, part6, part7);
23226 },
23227 join(part1, part2, part3) {
23228 var _null = null;
23229 return $.$get$context().join$8(0, part1, part2, part3, _null, _null, _null, _null, _null);
23230 },
23231 prettyUri(uri) {
23232 return $.$get$context().prettyUri$1(uri);
23233 },
23234 isAlphabetic(char) {
23235 var t1;
23236 if (!(char >= 65 && char <= 90))
23237 t1 = char >= 97 && char <= 122;
23238 else
23239 t1 = true;
23240 return t1;
23241 },
23242 isDriveLetter(path, index) {
23243 var t1 = path.length,
23244 t2 = index + 2;
23245 if (t1 < t2)
23246 return false;
23247 if (!A.isAlphabetic(B.JSString_methods.codeUnitAt$1(path, index)))
23248 return false;
23249 if (B.JSString_methods.codeUnitAt$1(path, index + 1) !== 58)
23250 return false;
23251 if (t1 === t2)
23252 return true;
23253 return B.JSString_methods.codeUnitAt$1(path, t2) === 47;
23254 },
23255 _combine(hash, value) {
23256 hash = hash + value & 536870911;
23257 hash = hash + ((hash & 524287) << 10) & 536870911;
23258 return hash ^ hash >>> 6;
23259 },
23260 _finish(hash) {
23261 hash = hash + ((hash & 67108863) << 3) & 536870911;
23262 hash ^= hash >>> 11;
23263 return hash + ((hash & 16383) << 15) & 536870911;
23264 },
23265 EvaluationContext_current() {
23266 var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
23267 if (type$.EvaluationContext._is(context))
23268 return context;
23269 throw A.wrapException(A.StateError$(string$.No_Sass));
23270 },
23271 repl(options) {
23272 return A.repl$body(options);
23273 },
23274 repl$body(options) {
23275 var $async$goto = 0,
23276 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
23277 $async$handler = 1, $async$currentError, $async$next = [], repl, logger, evaluator, line, declaration, error, stackTrace, t4, t5, t6, t7, t8, line0, toZone, exception, t1, t2, t3, repl0;
23278 var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
23279 if ($async$errorCode === 1) {
23280 $async$currentError = $async$result;
23281 $async$goto = $async$handler;
23282 }
23283 while (true)
23284 switch ($async$goto) {
23285 case 0:
23286 // Function start
23287 t1 = A._setArrayType([], type$.JSArray_String);
23288 t2 = B.JSString_methods.$mul(" ", 3);
23289 t3 = $.$get$alwaysValid();
23290 repl0 = new A.Repl(">> ", t2, t3, t1);
23291 repl0.__Repl__adapter = new A.ReplAdapter(repl0);
23292 repl = repl0;
23293 t1 = options._options;
23294 logger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
23295 t2 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
23296 evaluator = new A.Evaluator(A._EvaluateVisitor$(null, A.ImportCache$(type$.List_String._as(t1.$index(0, "load-path")), logger), logger, null, false, false), new A.FilesystemImporter(t2));
23297 t2 = new A._StreamIterator(A.checkNotNullable(A._lateReadCheck(repl.__Repl__adapter, "_adapter").runAsync$0(), "stream", type$.Object));
23298 $async$handler = 2;
23299 t1 = type$.Expression, t3 = type$.String, t4 = type$.VariableDeclaration;
23300 case 5:
23301 // for condition
23302 $async$goto = 7;
23303 return A._asyncAwait(t2.moveNext$0(), $async$repl);
23304 case 7:
23305 // returning from await.
23306 if (!$async$result) {
23307 // goto after for
23308 $async$goto = 6;
23309 break;
23310 }
23311 line = t2.get$current(t2);
23312 if (J.trim$0$s(line).length === 0) {
23313 // goto for condition
23314 $async$goto = 5;
23315 break;
23316 }
23317 try {
23318 if (J.startsWith$1$s(line, "@")) {
23319 t5 = evaluator;
23320 t6 = logger;
23321 t7 = A.SpanScanner$(line, null);
23322 if (t6 == null)
23323 t6 = B.StderrLogger_false;
23324 t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6).parseUseRule$0();
23325 t5._visitor.runStatement$2(t5._importer, t6);
23326 // goto for condition
23327 $async$goto = 5;
23328 break;
23329 }
23330 t5 = A.SpanScanner$(line, null);
23331 if (new A.Parser(t5, B.StderrLogger_false)._isVariableDeclarationLike$0()) {
23332 t5 = logger;
23333 t6 = A.SpanScanner$(line, null);
23334 if (t5 == null)
23335 t5 = B.StderrLogger_false;
23336 declaration = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t6, t5).parseVariableDeclaration$0();
23337 t5 = evaluator;
23338 t5._visitor.runStatement$2(t5._importer, declaration);
23339 t5 = evaluator;
23340 t6 = declaration.name;
23341 t7 = declaration.span;
23342 t8 = declaration.namespace;
23343 line0 = t5._visitor.runExpression$2(t5._importer, new A.VariableExpression(t8, t6, t7)).toString$0(0);
23344 toZone = $.printToZone;
23345 if (toZone == null)
23346 A.printString(line0);
23347 else
23348 toZone.call$1(line0);
23349 } else {
23350 t5 = evaluator;
23351 t6 = logger;
23352 t7 = A.SpanScanner$(line, null);
23353 if (t6 == null)
23354 t6 = B.StderrLogger_false;
23355 t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6);
23356 t6 = t6._parseSingleProduction$1$1(t6.get$expression(), t1);
23357 line0 = t5._visitor.runExpression$2(t5._importer, t6).toString$0(0);
23358 toZone = $.printToZone;
23359 if (toZone == null)
23360 A.printString(line0);
23361 else
23362 toZone.call$1(line0);
23363 }
23364 } catch (exception) {
23365 t5 = A.unwrapException(exception);
23366 if (t5 instanceof A.SassException) {
23367 error = t5;
23368 stackTrace = A.getTraceFromException(exception);
23369 t5 = error;
23370 t6 = typeof t5 == "string";
23371 if (t6 || typeof t5 == "number" || A._isBool(t5))
23372 t5 = null;
23373 else {
23374 t7 = $.$get$_traces();
23375 t6 = A._isBool(t5) || typeof t5 == "number" || t6;
23376 if (t6)
23377 A.throwExpression(A.ArgumentError$value(t5, string$.Expand, null));
23378 t5 = t7._jsWeakMap.get(t5);
23379 }
23380 if (t5 == null)
23381 t5 = stackTrace;
23382 A._logError(error, t5, line, repl, options, logger);
23383 } else
23384 throw exception;
23385 }
23386 // goto for condition
23387 $async$goto = 5;
23388 break;
23389 case 6:
23390 // after for
23391 $async$next.push(4);
23392 // goto finally
23393 $async$goto = 3;
23394 break;
23395 case 2:
23396 // uncaught
23397 $async$next = [1];
23398 case 3:
23399 // finally
23400 $async$handler = 1;
23401 $async$goto = 8;
23402 return A._asyncAwait(t2.cancel$0(), $async$repl);
23403 case 8:
23404 // returning from await.
23405 // goto the next finally handler
23406 $async$goto = $async$next.pop();
23407 break;
23408 case 4:
23409 // after finally
23410 // implicit return
23411 return A._asyncReturn(null, $async$completer);
23412 case 1:
23413 // rethrow
23414 return A._asyncRethrow($async$currentError, $async$completer);
23415 }
23416 });
23417 return A._asyncStartSync($async$repl, $async$completer);
23418 },
23419 _logError(error, stackTrace, line, repl, options, logger) {
23420 var t1, t2, spacesBeforeError;
23421 if (A.SourceSpanException.prototype.get$span.call(error, error).file.url == null)
23422 if (!A._asBool(options._options.$index(0, "quiet")))
23423 t1 = logger._emittedDebug || logger._emittedWarning;
23424 else
23425 t1 = false;
23426 else
23427 t1 = true;
23428 if (t1) {
23429 A.print(error.toString$1$color(0, options.get$color()));
23430 return;
23431 }
23432 t1 = options.get$color() ? "" + "\x1b[31m" : "";
23433 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23434 t2 = A.FileLocation$_(t2.file, t2._file$_start);
23435 spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
23436 if (options.get$color()) {
23437 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23438 t2 = A.FileLocation$_(t2.file, t2._file$_start);
23439 t2 = t2.file.getColumn$1(t2.offset) < line.length;
23440 } else
23441 t2 = false;
23442 if (t2) {
23443 t1 += "\x1b[1F\x1b[" + spacesBeforeError + "C";
23444 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23445 t2 = t1 + (A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null) + "\n");
23446 t1 = t2;
23447 }
23448 t1 += B.JSString_methods.$mul(" ", spacesBeforeError);
23449 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23450 t2 = t1 + (B.JSString_methods.$mul("^", Math.max(1, t2._end - t2._file$_start)) + "\n");
23451 t1 = options.get$color() ? t2 + "\x1b[0m" : t2;
23452 t1 += "Error: " + error._span_exception$_message + "\n";
23453 if (A._asBool(options._options.$index(0, "trace")))
23454 t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
23455 A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
23456 },
23457 isWhitespace(character) {
23458 return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
23459 },
23460 isNewline(character) {
23461 return character === 10 || character === 13 || character === 12;
23462 },
23463 isAlphabetic0(character) {
23464 var t1;
23465 if (!(character >= 97 && character <= 122))
23466 t1 = character >= 65 && character <= 90;
23467 else
23468 t1 = true;
23469 return t1;
23470 },
23471 isDigit(character) {
23472 return character != null && character >= 48 && character <= 57;
23473 },
23474 isHex(character) {
23475 if (character == null)
23476 return false;
23477 if (A.isDigit(character))
23478 return true;
23479 if (character >= 97 && character <= 102)
23480 return true;
23481 if (character >= 65 && character <= 70)
23482 return true;
23483 return false;
23484 },
23485 asHex(character) {
23486 if (character <= 57)
23487 return character - 48;
23488 if (character <= 70)
23489 return 10 + character - 65;
23490 return 10 + character - 97;
23491 },
23492 hexCharFor(number) {
23493 return number < 10 ? 48 + number : 87 + number;
23494 },
23495 opposite(character) {
23496 switch (character) {
23497 case 40:
23498 return 41;
23499 case 123:
23500 return 125;
23501 case 91:
23502 return 93;
23503 default:
23504 throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
23505 }
23506 },
23507 characterEqualsIgnoreCase(character1, character2) {
23508 var upperCase1;
23509 if (character1 === character2)
23510 return true;
23511 if ((character1 ^ character2) >>> 0 !== 32)
23512 return false;
23513 upperCase1 = (character1 & 4294967263) >>> 0;
23514 return upperCase1 >= 65 && upperCase1 <= 90;
23515 },
23516 NullableExtension_andThen(_this, fn) {
23517 return _this == null ? null : fn.call$1(_this);
23518 },
23519 SetExtension_removeNull(_this, $T) {
23520 _this.remove$1(0, null);
23521 return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
23522 },
23523 fuzzyHashCode(number) {
23524 return number == 1 / 0 || number == -1 / 0 || isNaN(number) ? B.JSNumber_methods.get$hashCode(number) : B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
23525 },
23526 fuzzyLessThan(number1, number2) {
23527 return number1 < number2 && !(Math.abs(number1 - number2) < $.$get$epsilon());
23528 },
23529 fuzzyLessThanOrEquals(number1, number2) {
23530 return number1 < number2 || Math.abs(number1 - number2) < $.$get$epsilon();
23531 },
23532 fuzzyGreaterThan(number1, number2) {
23533 return number1 > number2 && !(Math.abs(number1 - number2) < $.$get$epsilon());
23534 },
23535 fuzzyGreaterThanOrEquals(number1, number2) {
23536 return number1 > number2 || Math.abs(number1 - number2) < $.$get$epsilon();
23537 },
23538 fuzzyIsInt(number) {
23539 if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
23540 return false;
23541 if (A._isInt(number))
23542 return true;
23543 return Math.abs(B.JSNumber_methods.$mod(Math.abs(number - 0.5), 1) - 0.5) < $.$get$epsilon();
23544 },
23545 fuzzyRound(number) {
23546 var t1;
23547 if (number > 0) {
23548 t1 = B.JSNumber_methods.$mod(number, 1);
23549 return t1 < 0.5 && !(Math.abs(t1 - 0.5) < $.$get$epsilon()) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23550 } else {
23551 t1 = B.JSNumber_methods.$mod(number, 1);
23552 return t1 < 0.5 || Math.abs(t1 - 0.5) < $.$get$epsilon() ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23553 }
23554 },
23555 fuzzyCheckRange(number, min, max) {
23556 var t1 = $.$get$epsilon();
23557 if (Math.abs(number - min) < t1)
23558 return min;
23559 if (Math.abs(number - max) < t1)
23560 return max;
23561 if (number > min && number < max)
23562 return number;
23563 return null;
23564 },
23565 fuzzyAssertRange(number, min, max, $name) {
23566 var result = A.fuzzyCheckRange(number, min, max);
23567 if (result != null)
23568 return result;
23569 throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
23570 },
23571 SpanExtensions_trimLeft(_this) {
23572 var t5,
23573 t1 = _this._file$_start,
23574 t2 = _this._end,
23575 t3 = _this.file._decodedChars,
23576 t4 = t3.length,
23577 start = 0;
23578 while (true) {
23579 t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
23580 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23581 break;
23582 ++start;
23583 }
23584 return A.FileSpanExtension_subspan(_this, start, null);
23585 },
23586 SpanExtensions_trimRight(_this) {
23587 var t5,
23588 t1 = _this._file$_start,
23589 t2 = _this._end,
23590 t3 = _this.file._decodedChars,
23591 end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
23592 t4 = t3.length;
23593 while (true) {
23594 t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
23595 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23596 break;
23597 --end;
23598 }
23599 return A.FileSpanExtension_subspan(_this, 0, end + 1);
23600 },
23601 encodeVlq(value) {
23602 var res, signBit, digit, t1;
23603 if (value < $.$get$MIN_INT32() || value > $.$get$MAX_INT32())
23604 throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
23605 res = A._setArrayType([], type$.JSArray_String);
23606 if (value < 0) {
23607 value = -value;
23608 signBit = 1;
23609 } else
23610 signBit = 0;
23611 value = value << 1 | signBit;
23612 do {
23613 digit = value & 31;
23614 value = value >>> 5;
23615 t1 = value > 0;
23616 res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
23617 } while (t1);
23618 return res;
23619 },
23620 isAllTheSame(iter) {
23621 var firstValue, t1, t2;
23622 if (iter.get$length(iter) === 0)
23623 return true;
23624 firstValue = iter.get$first(iter);
23625 for (t1 = A.SubListIterable$(iter, 1, null, iter.$ti._eval$1("ListIterable.E")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
23626 if (!J.$eq$(t2._as(t1.__internal$_current), firstValue))
23627 return false;
23628 return true;
23629 },
23630 replaceFirstNull(list, element) {
23631 var index = B.JSArray_methods.indexOf$1(list, null);
23632 if (index < 0)
23633 throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
23634 list[index] = element;
23635 },
23636 replaceWithNull(list, element) {
23637 var index = B.JSArray_methods.indexOf$1(list, element);
23638 if (index < 0)
23639 throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
23640 list[index] = null;
23641 },
23642 countCodeUnits(string, codeUnit) {
23643 var t1, t2, count;
23644 for (t1 = new A.CodeUnits(string), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, count = 0; t1.moveNext$0();)
23645 if (t2._as(t1.__internal$_current) === codeUnit)
23646 ++count;
23647 return count;
23648 },
23649 findLineStart(context, text, column) {
23650 var beginningOfLine, index, lineStart;
23651 if (text.length === 0)
23652 for (beginningOfLine = 0; true;) {
23653 index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
23654 if (index === -1)
23655 return context.length - beginningOfLine >= column ? beginningOfLine : null;
23656 if (index - beginningOfLine >= column)
23657 return beginningOfLine;
23658 beginningOfLine = index + 1;
23659 }
23660 index = B.JSString_methods.indexOf$1(context, text);
23661 for (; index !== -1;) {
23662 lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
23663 if (column === index - lineStart)
23664 return lineStart;
23665 index = B.JSString_methods.indexOf$2(context, text, index + 1);
23666 }
23667 return null;
23668 },
23669 validateErrorArgs(string, match, position, $length) {
23670 var t2,
23671 t1 = position != null;
23672 if (t1)
23673 if (position < 0)
23674 throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
23675 else if (position > string.length)
23676 throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
23677 t2 = $length != null;
23678 if (t2 && $length < 0)
23679 throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
23680 if (t1 && t2 && position + $length > string.length)
23681 throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
23682 },
23683 isWhitespace0(character) {
23684 return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
23685 },
23686 isNewline0(character) {
23687 return character === 10 || character === 13 || character === 12;
23688 },
23689 isAlphabetic1(character) {
23690 var t1;
23691 if (!(character >= 97 && character <= 122))
23692 t1 = character >= 65 && character <= 90;
23693 else
23694 t1 = true;
23695 return t1;
23696 },
23697 isDigit0(character) {
23698 return character != null && character >= 48 && character <= 57;
23699 },
23700 isHex0(character) {
23701 if (character == null)
23702 return false;
23703 if (A.isDigit0(character))
23704 return true;
23705 if (character >= 97 && character <= 102)
23706 return true;
23707 if (character >= 65 && character <= 70)
23708 return true;
23709 return false;
23710 },
23711 asHex0(character) {
23712 if (character <= 57)
23713 return character - 48;
23714 if (character <= 70)
23715 return 10 + character - 65;
23716 return 10 + character - 97;
23717 },
23718 hexCharFor0(number) {
23719 return number < 10 ? 48 + number : 87 + number;
23720 },
23721 opposite0(character) {
23722 switch (character) {
23723 case 40:
23724 return 41;
23725 case 123:
23726 return 125;
23727 case 91:
23728 return 93;
23729 default:
23730 throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
23731 }
23732 },
23733 characterEqualsIgnoreCase0(character1, character2) {
23734 var upperCase1;
23735 if (character1 === character2)
23736 return true;
23737 if ((character1 ^ character2) >>> 0 !== 32)
23738 return false;
23739 upperCase1 = (character1 & 4294967263) >>> 0;
23740 return upperCase1 >= 65 && upperCase1 <= 90;
23741 },
23742 EvaluationContext_current0() {
23743 var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
23744 if (type$.EvaluationContext_2._is(context))
23745 return context;
23746 throw A.wrapException(A.StateError$(string$.No_Sass));
23747 },
23748 NullableExtension_andThen0(_this, fn) {
23749 return _this == null ? null : fn.call$1(_this);
23750 },
23751 fuzzyHashCode0(number) {
23752 return number == 1 / 0 || number == -1 / 0 || isNaN(number) ? B.JSNumber_methods.get$hashCode(number) : B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
23753 },
23754 fuzzyLessThan0(number1, number2) {
23755 return number1 < number2 && !(Math.abs(number1 - number2) < $.$get$epsilon0());
23756 },
23757 fuzzyLessThanOrEquals0(number1, number2) {
23758 return number1 < number2 || Math.abs(number1 - number2) < $.$get$epsilon0();
23759 },
23760 fuzzyGreaterThan0(number1, number2) {
23761 return number1 > number2 && !(Math.abs(number1 - number2) < $.$get$epsilon0());
23762 },
23763 fuzzyGreaterThanOrEquals0(number1, number2) {
23764 return number1 > number2 || Math.abs(number1 - number2) < $.$get$epsilon0();
23765 },
23766 fuzzyIsInt0(number) {
23767 if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
23768 return false;
23769 if (A._isInt(number))
23770 return true;
23771 return Math.abs(B.JSNumber_methods.$mod(Math.abs(number - 0.5), 1) - 0.5) < $.$get$epsilon0();
23772 },
23773 fuzzyRound0(number) {
23774 var t1;
23775 if (number > 0) {
23776 t1 = B.JSNumber_methods.$mod(number, 1);
23777 return t1 < 0.5 && !(Math.abs(t1 - 0.5) < $.$get$epsilon0()) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23778 } else {
23779 t1 = B.JSNumber_methods.$mod(number, 1);
23780 return t1 < 0.5 || Math.abs(t1 - 0.5) < $.$get$epsilon0() ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23781 }
23782 },
23783 fuzzyCheckRange0(number, min, max) {
23784 var t1 = $.$get$epsilon0();
23785 if (Math.abs(number - min) < t1)
23786 return min;
23787 if (Math.abs(number - max) < t1)
23788 return max;
23789 if (number > min && number < max)
23790 return number;
23791 return null;
23792 },
23793 fuzzyAssertRange0(number, min, max, $name) {
23794 var result = A.fuzzyCheckRange0(number, min, max);
23795 if (result != null)
23796 return result;
23797 throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
23798 },
23799 SpanExtensions_trimLeft0(_this) {
23800 var t5,
23801 t1 = _this._file$_start,
23802 t2 = _this._end,
23803 t3 = _this.file._decodedChars,
23804 t4 = t3.length,
23805 start = 0;
23806 while (true) {
23807 t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
23808 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23809 break;
23810 ++start;
23811 }
23812 return A.FileSpanExtension_subspan(_this, start, null);
23813 },
23814 SpanExtensions_trimRight0(_this) {
23815 var t5,
23816 t1 = _this._file$_start,
23817 t2 = _this._end,
23818 t3 = _this.file._decodedChars,
23819 end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
23820 t4 = t3.length;
23821 while (true) {
23822 t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
23823 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23824 break;
23825 --end;
23826 }
23827 return A.FileSpanExtension_subspan(_this, 0, end + 1);
23828 },
23829 unwrapValue(object) {
23830 var value;
23831 if (object != null) {
23832 if (object instanceof A.Value0)
23833 return object;
23834 value = object.dartValue;
23835 if (value != null && value instanceof A.Value0)
23836 return value;
23837 if (object instanceof self.Error)
23838 throw A.wrapException(object);
23839 }
23840 throw A.wrapException(A.S(object) + " must be a Sass value type.");
23841 },
23842 wrapValue(value) {
23843 if (value instanceof A.SassColor0)
23844 return A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
23845 if (value instanceof A.SassList0)
23846 return A.callConstructor($.$get$legacyListClass(), [null, null, value]);
23847 if (value instanceof A.SassMap0)
23848 return A.callConstructor($.$get$legacyMapClass(), [null, value]);
23849 if (value instanceof A.SassNumber0)
23850 return A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
23851 if (value instanceof A.SassString0)
23852 return A.callConstructor($.$get$legacyStringClass(), [null, value]);
23853 return value;
23854 }
23855 },
23856 J = {
23857 makeDispatchRecord(interceptor, proto, extension, indexability) {
23858 return {i: interceptor, p: proto, e: extension, x: indexability};
23859 },
23860 getNativeInterceptor(object) {
23861 var proto, objectProto, $constructor, interceptor, t1,
23862 record = object[init.dispatchPropertyName];
23863 if (record == null)
23864 if ($.initNativeDispatchFlag == null) {
23865 A.initNativeDispatch();
23866 record = object[init.dispatchPropertyName];
23867 }
23868 if (record != null) {
23869 proto = record.p;
23870 if (false === proto)
23871 return record.i;
23872 if (true === proto)
23873 return object;
23874 objectProto = Object.getPrototypeOf(object);
23875 if (proto === objectProto)
23876 return record.i;
23877 if (record.e === objectProto)
23878 throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
23879 }
23880 $constructor = object.constructor;
23881 if ($constructor == null)
23882 interceptor = null;
23883 else {
23884 t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
23885 if (t1 == null)
23886 t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
23887 interceptor = $constructor[t1];
23888 }
23889 if (interceptor != null)
23890 return interceptor;
23891 interceptor = A.lookupAndCacheInterceptor(object);
23892 if (interceptor != null)
23893 return interceptor;
23894 if (typeof object == "function")
23895 return B.JavaScriptFunction_methods;
23896 proto = Object.getPrototypeOf(object);
23897 if (proto == null)
23898 return B.PlainJavaScriptObject_methods;
23899 if (proto === Object.prototype)
23900 return B.PlainJavaScriptObject_methods;
23901 if (typeof $constructor == "function") {
23902 t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
23903 if (t1 == null)
23904 t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
23905 Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
23906 return B.UnknownJavaScriptObject_methods;
23907 }
23908 return B.UnknownJavaScriptObject_methods;
23909 },
23910 JSArray_JSArray$fixed($length, $E) {
23911 if ($length < 0 || $length > 4294967295)
23912 throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
23913 return J.JSArray_JSArray$markFixed(new Array($length), $E);
23914 },
23915 JSArray_JSArray$allocateFixed($length, $E) {
23916 if ($length > 4294967295)
23917 throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
23918 return J.JSArray_JSArray$markFixed(new Array($length), $E);
23919 },
23920 JSArray_JSArray$growable($length, $E) {
23921 if ($length < 0)
23922 throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
23923 return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
23924 },
23925 JSArray_JSArray$allocateGrowable($length, $E) {
23926 if ($length < 0)
23927 throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
23928 return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
23929 },
23930 JSArray_JSArray$markFixed(allocation, $E) {
23931 return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")));
23932 },
23933 JSArray_markFixedList(list) {
23934 list.fixed$length = Array;
23935 return list;
23936 },
23937 JSArray_markUnmodifiableList(list) {
23938 list.fixed$length = Array;
23939 list.immutable$list = Array;
23940 return list;
23941 },
23942 JSArray__compareAny(a, b) {
23943 return J.compareTo$1$ns(a, b);
23944 },
23945 JSString__isWhitespace(codeUnit) {
23946 if (codeUnit < 256)
23947 switch (codeUnit) {
23948 case 9:
23949 case 10:
23950 case 11:
23951 case 12:
23952 case 13:
23953 case 32:
23954 case 133:
23955 case 160:
23956 return true;
23957 default:
23958 return false;
23959 }
23960 switch (codeUnit) {
23961 case 5760:
23962 case 8192:
23963 case 8193:
23964 case 8194:
23965 case 8195:
23966 case 8196:
23967 case 8197:
23968 case 8198:
23969 case 8199:
23970 case 8200:
23971 case 8201:
23972 case 8202:
23973 case 8232:
23974 case 8233:
23975 case 8239:
23976 case 8287:
23977 case 12288:
23978 case 65279:
23979 return true;
23980 default:
23981 return false;
23982 }
23983 },
23984 JSString__skipLeadingWhitespace(string, index) {
23985 var t1, codeUnit;
23986 for (t1 = string.length; index < t1;) {
23987 codeUnit = B.JSString_methods._codeUnitAt$1(string, index);
23988 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
23989 break;
23990 ++index;
23991 }
23992 return index;
23993 },
23994 JSString__skipTrailingWhitespace(string, index) {
23995 var index0, codeUnit;
23996 for (; index > 0; index = index0) {
23997 index0 = index - 1;
23998 codeUnit = B.JSString_methods.codeUnitAt$1(string, index0);
23999 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
24000 break;
24001 }
24002 return index;
24003 },
24004 getInterceptor$(receiver) {
24005 if (typeof receiver == "number") {
24006 if (Math.floor(receiver) == receiver)
24007 return J.JSInt.prototype;
24008 return J.JSNumNotInt.prototype;
24009 }
24010 if (typeof receiver == "string")
24011 return J.JSString.prototype;
24012 if (receiver == null)
24013 return J.JSNull.prototype;
24014 if (typeof receiver == "boolean")
24015 return J.JSBool.prototype;
24016 if (receiver.constructor == Array)
24017 return J.JSArray.prototype;
24018 if (typeof receiver != "object") {
24019 if (typeof receiver == "function")
24020 return J.JavaScriptFunction.prototype;
24021 return receiver;
24022 }
24023 if (receiver instanceof A.Object)
24024 return receiver;
24025 return J.getNativeInterceptor(receiver);
24026 },
24027 getInterceptor$ansx(receiver) {
24028 if (typeof receiver == "number")
24029 return J.JSNumber.prototype;
24030 if (typeof receiver == "string")
24031 return J.JSString.prototype;
24032 if (receiver == null)
24033 return receiver;
24034 if (receiver.constructor == Array)
24035 return J.JSArray.prototype;
24036 if (typeof receiver != "object") {
24037 if (typeof receiver == "function")
24038 return J.JavaScriptFunction.prototype;
24039 return receiver;
24040 }
24041 if (receiver instanceof A.Object)
24042 return receiver;
24043 return J.getNativeInterceptor(receiver);
24044 },
24045 getInterceptor$asx(receiver) {
24046 if (typeof receiver == "string")
24047 return J.JSString.prototype;
24048 if (receiver == null)
24049 return receiver;
24050 if (receiver.constructor == Array)
24051 return J.JSArray.prototype;
24052 if (typeof receiver != "object") {
24053 if (typeof receiver == "function")
24054 return J.JavaScriptFunction.prototype;
24055 return receiver;
24056 }
24057 if (receiver instanceof A.Object)
24058 return receiver;
24059 return J.getNativeInterceptor(receiver);
24060 },
24061 getInterceptor$ax(receiver) {
24062 if (receiver == null)
24063 return receiver;
24064 if (receiver.constructor == Array)
24065 return J.JSArray.prototype;
24066 if (typeof receiver != "object") {
24067 if (typeof receiver == "function")
24068 return J.JavaScriptFunction.prototype;
24069 return receiver;
24070 }
24071 if (receiver instanceof A.Object)
24072 return receiver;
24073 return J.getNativeInterceptor(receiver);
24074 },
24075 getInterceptor$n(receiver) {
24076 if (typeof receiver == "number")
24077 return J.JSNumber.prototype;
24078 if (receiver == null)
24079 return receiver;
24080 if (!(receiver instanceof A.Object))
24081 return J.UnknownJavaScriptObject.prototype;
24082 return receiver;
24083 },
24084 getInterceptor$ns(receiver) {
24085 if (typeof receiver == "number")
24086 return J.JSNumber.prototype;
24087 if (typeof receiver == "string")
24088 return J.JSString.prototype;
24089 if (receiver == null)
24090 return receiver;
24091 if (!(receiver instanceof A.Object))
24092 return J.UnknownJavaScriptObject.prototype;
24093 return receiver;
24094 },
24095 getInterceptor$s(receiver) {
24096 if (typeof receiver == "string")
24097 return J.JSString.prototype;
24098 if (receiver == null)
24099 return receiver;
24100 if (!(receiver instanceof A.Object))
24101 return J.UnknownJavaScriptObject.prototype;
24102 return receiver;
24103 },
24104 getInterceptor$u(receiver) {
24105 if (receiver == null)
24106 return J.JSNull.prototype;
24107 if (!(receiver instanceof A.Object))
24108 return J.UnknownJavaScriptObject.prototype;
24109 return receiver;
24110 },
24111 getInterceptor$x(receiver) {
24112 if (receiver == null)
24113 return receiver;
24114 if (typeof receiver != "object") {
24115 if (typeof receiver == "function")
24116 return J.JavaScriptFunction.prototype;
24117 return receiver;
24118 }
24119 if (receiver instanceof A.Object)
24120 return receiver;
24121 return J.getNativeInterceptor(receiver);
24122 },
24123 getInterceptor$z(receiver) {
24124 if (receiver == null)
24125 return receiver;
24126 if (!(receiver instanceof A.Object))
24127 return J.UnknownJavaScriptObject.prototype;
24128 return receiver;
24129 },
24130 set$Exception$x(receiver, value) {
24131 return J.getInterceptor$x(receiver).set$Exception(receiver, value);
24132 },
24133 set$FALSE$x(receiver, value) {
24134 return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
24135 },
24136 set$Logger$x(receiver, value) {
24137 return J.getInterceptor$x(receiver).set$Logger(receiver, value);
24138 },
24139 set$NULL$x(receiver, value) {
24140 return J.getInterceptor$x(receiver).set$NULL(receiver, value);
24141 },
24142 set$SassArgumentList$x(receiver, value) {
24143 return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
24144 },
24145 set$SassBoolean$x(receiver, value) {
24146 return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
24147 },
24148 set$SassColor$x(receiver, value) {
24149 return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
24150 },
24151 set$SassFunction$x(receiver, value) {
24152 return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
24153 },
24154 set$SassList$x(receiver, value) {
24155 return J.getInterceptor$x(receiver).set$SassList(receiver, value);
24156 },
24157 set$SassMap$x(receiver, value) {
24158 return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
24159 },
24160 set$SassNumber$x(receiver, value) {
24161 return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
24162 },
24163 set$SassString$x(receiver, value) {
24164 return J.getInterceptor$x(receiver).set$SassString(receiver, value);
24165 },
24166 set$TRUE$x(receiver, value) {
24167 return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
24168 },
24169 set$Value$x(receiver, value) {
24170 return J.getInterceptor$x(receiver).set$Value(receiver, value);
24171 },
24172 set$cli_pkg_main_0_$x(receiver, value) {
24173 return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
24174 },
24175 set$compile$x(receiver, value) {
24176 return J.getInterceptor$x(receiver).set$compile(receiver, value);
24177 },
24178 set$compileAsync$x(receiver, value) {
24179 return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
24180 },
24181 set$compileString$x(receiver, value) {
24182 return J.getInterceptor$x(receiver).set$compileString(receiver, value);
24183 },
24184 set$compileStringAsync$x(receiver, value) {
24185 return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
24186 },
24187 set$context$x(receiver, value) {
24188 return J.getInterceptor$x(receiver).set$context(receiver, value);
24189 },
24190 set$dartValue$x(receiver, value) {
24191 return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
24192 },
24193 set$exitCode$x(receiver, value) {
24194 return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
24195 },
24196 set$info$x(receiver, value) {
24197 return J.getInterceptor$x(receiver).set$info(receiver, value);
24198 },
24199 set$length$asx(receiver, value) {
24200 return J.getInterceptor$asx(receiver).set$length(receiver, value);
24201 },
24202 set$render$x(receiver, value) {
24203 return J.getInterceptor$x(receiver).set$render(receiver, value);
24204 },
24205 set$renderSync$x(receiver, value) {
24206 return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
24207 },
24208 set$sassFalse$x(receiver, value) {
24209 return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
24210 },
24211 set$sassNull$x(receiver, value) {
24212 return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
24213 },
24214 set$sassTrue$x(receiver, value) {
24215 return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
24216 },
24217 set$types$x(receiver, value) {
24218 return J.getInterceptor$x(receiver).set$types(receiver, value);
24219 },
24220 get$$prototype$x(receiver) {
24221 return J.getInterceptor$x(receiver).get$$prototype(receiver);
24222 },
24223 get$_dartException$x(receiver) {
24224 return J.getInterceptor$x(receiver).get$_dartException(receiver);
24225 },
24226 get$alertAscii$x(receiver) {
24227 return J.getInterceptor$x(receiver).get$alertAscii(receiver);
24228 },
24229 get$alertColor$x(receiver) {
24230 return J.getInterceptor$x(receiver).get$alertColor(receiver);
24231 },
24232 get$blue$x(receiver) {
24233 return J.getInterceptor$x(receiver).get$blue(receiver);
24234 },
24235 get$brackets$x(receiver) {
24236 return J.getInterceptor$x(receiver).get$brackets(receiver);
24237 },
24238 get$code$x(receiver) {
24239 return J.getInterceptor$x(receiver).get$code(receiver);
24240 },
24241 get$current$x(receiver) {
24242 return J.getInterceptor$x(receiver).get$current(receiver);
24243 },
24244 get$dartValue$x(receiver) {
24245 return J.getInterceptor$x(receiver).get$dartValue(receiver);
24246 },
24247 get$debug$x(receiver) {
24248 return J.getInterceptor$x(receiver).get$debug(receiver);
24249 },
24250 get$denominatorUnits$x(receiver) {
24251 return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
24252 },
24253 get$end$z(receiver) {
24254 return J.getInterceptor$z(receiver).get$end(receiver);
24255 },
24256 get$env$x(receiver) {
24257 return J.getInterceptor$x(receiver).get$env(receiver);
24258 },
24259 get$exitCode$x(receiver) {
24260 return J.getInterceptor$x(receiver).get$exitCode(receiver);
24261 },
24262 get$fiber$x(receiver) {
24263 return J.getInterceptor$x(receiver).get$fiber(receiver);
24264 },
24265 get$file$x(receiver) {
24266 return J.getInterceptor$x(receiver).get$file(receiver);
24267 },
24268 get$first$ax(receiver) {
24269 return J.getInterceptor$ax(receiver).get$first(receiver);
24270 },
24271 get$functions$x(receiver) {
24272 return J.getInterceptor$x(receiver).get$functions(receiver);
24273 },
24274 get$green$x(receiver) {
24275 return J.getInterceptor$x(receiver).get$green(receiver);
24276 },
24277 get$hashCode$(receiver) {
24278 return J.getInterceptor$(receiver).get$hashCode(receiver);
24279 },
24280 get$importer$x(receiver) {
24281 return J.getInterceptor$x(receiver).get$importer(receiver);
24282 },
24283 get$importers$x(receiver) {
24284 return J.getInterceptor$x(receiver).get$importers(receiver);
24285 },
24286 get$isEmpty$asx(receiver) {
24287 return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
24288 },
24289 get$isNotEmpty$asx(receiver) {
24290 return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
24291 },
24292 get$isTTY$x(receiver) {
24293 return J.getInterceptor$x(receiver).get$isTTY(receiver);
24294 },
24295 get$iterator$ax(receiver) {
24296 return J.getInterceptor$ax(receiver).get$iterator(receiver);
24297 },
24298 get$keys$z(receiver) {
24299 return J.getInterceptor$z(receiver).get$keys(receiver);
24300 },
24301 get$last$ax(receiver) {
24302 return J.getInterceptor$ax(receiver).get$last(receiver);
24303 },
24304 get$length$asx(receiver) {
24305 return J.getInterceptor$asx(receiver).get$length(receiver);
24306 },
24307 get$loadPaths$x(receiver) {
24308 return J.getInterceptor$x(receiver).get$loadPaths(receiver);
24309 },
24310 get$logger$x(receiver) {
24311 return J.getInterceptor$x(receiver).get$logger(receiver);
24312 },
24313 get$message$x(receiver) {
24314 return J.getInterceptor$x(receiver).get$message(receiver);
24315 },
24316 get$mtime$x(receiver) {
24317 return J.getInterceptor$x(receiver).get$mtime(receiver);
24318 },
24319 get$name$x(receiver) {
24320 return J.getInterceptor$x(receiver).get$name(receiver);
24321 },
24322 get$numeratorUnits$x(receiver) {
24323 return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
24324 },
24325 get$options$x(receiver) {
24326 return J.getInterceptor$x(receiver).get$options(receiver);
24327 },
24328 get$parent$z(receiver) {
24329 return J.getInterceptor$z(receiver).get$parent(receiver);
24330 },
24331 get$path$x(receiver) {
24332 return J.getInterceptor$x(receiver).get$path(receiver);
24333 },
24334 get$platform$x(receiver) {
24335 return J.getInterceptor$x(receiver).get$platform(receiver);
24336 },
24337 get$quietDeps$x(receiver) {
24338 return J.getInterceptor$x(receiver).get$quietDeps(receiver);
24339 },
24340 get$quotes$x(receiver) {
24341 return J.getInterceptor$x(receiver).get$quotes(receiver);
24342 },
24343 get$red$x(receiver) {
24344 return J.getInterceptor$x(receiver).get$red(receiver);
24345 },
24346 get$reversed$ax(receiver) {
24347 return J.getInterceptor$ax(receiver).get$reversed(receiver);
24348 },
24349 get$runtimeType$u(receiver) {
24350 return J.getInterceptor$u(receiver).get$runtimeType(receiver);
24351 },
24352 get$separator$x(receiver) {
24353 return J.getInterceptor$x(receiver).get$separator(receiver);
24354 },
24355 get$single$ax(receiver) {
24356 return J.getInterceptor$ax(receiver).get$single(receiver);
24357 },
24358 get$sourceMap$x(receiver) {
24359 return J.getInterceptor$x(receiver).get$sourceMap(receiver);
24360 },
24361 get$sourceMapIncludeSources$x(receiver) {
24362 return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
24363 },
24364 get$span$z(receiver) {
24365 return J.getInterceptor$z(receiver).get$span(receiver);
24366 },
24367 get$stderr$x(receiver) {
24368 return J.getInterceptor$x(receiver).get$stderr(receiver);
24369 },
24370 get$stdin$x(receiver) {
24371 return J.getInterceptor$x(receiver).get$stdin(receiver);
24372 },
24373 get$style$x(receiver) {
24374 return J.getInterceptor$x(receiver).get$style(receiver);
24375 },
24376 get$syntax$x(receiver) {
24377 return J.getInterceptor$x(receiver).get$syntax(receiver);
24378 },
24379 get$trace$z(receiver) {
24380 return J.getInterceptor$z(receiver).get$trace(receiver);
24381 },
24382 get$url$x(receiver) {
24383 return J.getInterceptor$x(receiver).get$url(receiver);
24384 },
24385 get$values$z(receiver) {
24386 return J.getInterceptor$z(receiver).get$values(receiver);
24387 },
24388 get$verbose$x(receiver) {
24389 return J.getInterceptor$x(receiver).get$verbose(receiver);
24390 },
24391 get$warn$x(receiver) {
24392 return J.getInterceptor$x(receiver).get$warn(receiver);
24393 },
24394 $add$ansx(receiver, a0) {
24395 if (typeof receiver == "number" && typeof a0 == "number")
24396 return receiver + a0;
24397 return J.getInterceptor$ansx(receiver).$add(receiver, a0);
24398 },
24399 $eq$(receiver, a0) {
24400 if (receiver == null)
24401 return a0 == null;
24402 if (typeof receiver != "object")
24403 return a0 != null && receiver === a0;
24404 return J.getInterceptor$(receiver).$eq(receiver, a0);
24405 },
24406 $index$asx(receiver, a0) {
24407 if (typeof a0 === "number")
24408 if (receiver.constructor == Array || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
24409 if (a0 >>> 0 === a0 && a0 < receiver.length)
24410 return receiver[a0];
24411 return J.getInterceptor$asx(receiver).$index(receiver, a0);
24412 },
24413 $indexSet$ax(receiver, a0, a1) {
24414 if (typeof a0 === "number")
24415 if ((receiver.constructor == Array || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
24416 return receiver[a0] = a1;
24417 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
24418 },
24419 $set$2$x(receiver, a0, a1) {
24420 return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
24421 },
24422 add$1$ax(receiver, a0) {
24423 return J.getInterceptor$ax(receiver).add$1(receiver, a0);
24424 },
24425 addAll$1$ax(receiver, a0) {
24426 return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
24427 },
24428 allMatches$1$s(receiver, a0) {
24429 return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
24430 },
24431 allMatches$2$s(receiver, a0, a1) {
24432 return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
24433 },
24434 any$1$ax(receiver, a0) {
24435 return J.getInterceptor$ax(receiver).any$1(receiver, a0);
24436 },
24437 apply$2$x(receiver, a0, a1) {
24438 return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
24439 },
24440 asImmutable$0$x(receiver) {
24441 return J.getInterceptor$x(receiver).asImmutable$0(receiver);
24442 },
24443 asMutable$0$x(receiver) {
24444 return J.getInterceptor$x(receiver).asMutable$0(receiver);
24445 },
24446 canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
24447 return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
24448 },
24449 cast$1$0$ax(receiver, $T1) {
24450 return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
24451 },
24452 close$0$x(receiver) {
24453 return J.getInterceptor$x(receiver).close$0(receiver);
24454 },
24455 codeUnitAt$1$s(receiver, a0) {
24456 return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
24457 },
24458 compareTo$1$ns(receiver, a0) {
24459 return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
24460 },
24461 contains$1$asx(receiver, a0) {
24462 return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
24463 },
24464 createInterface$1$x(receiver, a0) {
24465 return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
24466 },
24467 elementAt$1$ax(receiver, a0) {
24468 return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
24469 },
24470 endsWith$1$s(receiver, a0) {
24471 return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
24472 },
24473 every$1$ax(receiver, a0) {
24474 return J.getInterceptor$ax(receiver).every$1(receiver, a0);
24475 },
24476 existsSync$1$x(receiver, a0) {
24477 return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
24478 },
24479 expand$1$1$ax(receiver, a0, $T1) {
24480 return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
24481 },
24482 fillRange$3$ax(receiver, a0, a1, a2) {
24483 return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
24484 },
24485 fold$2$ax(receiver, a0, a1) {
24486 return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
24487 },
24488 forEach$1$x(receiver, a0) {
24489 return J.getInterceptor$x(receiver).forEach$1(receiver, a0);
24490 },
24491 getRange$2$ax(receiver, a0, a1) {
24492 return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
24493 },
24494 getTime$0$x(receiver) {
24495 return J.getInterceptor$x(receiver).getTime$0(receiver);
24496 },
24497 isDirectory$0$x(receiver) {
24498 return J.getInterceptor$x(receiver).isDirectory$0(receiver);
24499 },
24500 isFile$0$x(receiver) {
24501 return J.getInterceptor$x(receiver).isFile$0(receiver);
24502 },
24503 join$0$ax(receiver) {
24504 return J.getInterceptor$ax(receiver).join$0(receiver);
24505 },
24506 join$1$ax(receiver, a0) {
24507 return J.getInterceptor$ax(receiver).join$1(receiver, a0);
24508 },
24509 listen$1$z(receiver, a0) {
24510 return J.getInterceptor$z(receiver).listen$1(receiver, a0);
24511 },
24512 map$1$1$ax(receiver, a0, $T1) {
24513 return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
24514 },
24515 matchAsPrefix$2$s(receiver, a0, a1) {
24516 return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
24517 },
24518 mkdirSync$1$x(receiver, a0) {
24519 return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
24520 },
24521 noSuchMethod$1$(receiver, a0) {
24522 return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
24523 },
24524 on$2$x(receiver, a0, a1) {
24525 return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
24526 },
24527 readFileSync$2$x(receiver, a0, a1) {
24528 return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
24529 },
24530 readdirSync$1$x(receiver, a0) {
24531 return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
24532 },
24533 remove$1$z(receiver, a0) {
24534 return J.getInterceptor$z(receiver).remove$1(receiver, a0);
24535 },
24536 run$0$x(receiver) {
24537 return J.getInterceptor$x(receiver).run$0(receiver);
24538 },
24539 run$1$x(receiver, a0) {
24540 return J.getInterceptor$x(receiver).run$1(receiver, a0);
24541 },
24542 setRange$4$ax(receiver, a0, a1, a2, a3) {
24543 return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
24544 },
24545 skip$1$ax(receiver, a0) {
24546 return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
24547 },
24548 sort$1$ax(receiver, a0) {
24549 return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
24550 },
24551 startsWith$1$s(receiver, a0) {
24552 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
24553 },
24554 statSync$1$x(receiver, a0) {
24555 return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
24556 },
24557 substring$1$s(receiver, a0) {
24558 return J.getInterceptor$s(receiver).substring$1(receiver, a0);
24559 },
24560 substring$2$s(receiver, a0, a1) {
24561 return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
24562 },
24563 take$1$ax(receiver, a0) {
24564 return J.getInterceptor$ax(receiver).take$1(receiver, a0);
24565 },
24566 then$1$1$x(receiver, a0, $T1) {
24567 return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1);
24568 },
24569 then$1$2$onError$x(receiver, a0, a1, $T1) {
24570 return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
24571 },
24572 then$2$x(receiver, a0, a1) {
24573 return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
24574 },
24575 toArray$0$x(receiver) {
24576 return J.getInterceptor$x(receiver).toArray$0(receiver);
24577 },
24578 toList$0$ax(receiver) {
24579 return J.getInterceptor$ax(receiver).toList$0(receiver);
24580 },
24581 toList$1$growable$ax(receiver, a0) {
24582 return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
24583 },
24584 toRadixString$1$n(receiver, a0) {
24585 return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0);
24586 },
24587 toSet$0$ax(receiver) {
24588 return J.getInterceptor$ax(receiver).toSet$0(receiver);
24589 },
24590 toString$0$(receiver) {
24591 return J.getInterceptor$(receiver).toString$0(receiver);
24592 },
24593 toString$1$color$(receiver, a0) {
24594 return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
24595 },
24596 trim$0$s(receiver) {
24597 return J.getInterceptor$s(receiver).trim$0(receiver);
24598 },
24599 unlinkSync$1$x(receiver, a0) {
24600 return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
24601 },
24602 watch$2$x(receiver, a0, a1) {
24603 return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
24604 },
24605 where$1$ax(receiver, a0) {
24606 return J.getInterceptor$ax(receiver).where$1(receiver, a0);
24607 },
24608 write$1$x(receiver, a0) {
24609 return J.getInterceptor$x(receiver).write$1(receiver, a0);
24610 },
24611 writeFileSync$2$x(receiver, a0, a1) {
24612 return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
24613 },
24614 yield$0$x(receiver) {
24615 return J.getInterceptor$x(receiver).yield$0(receiver);
24616 },
24617 Interceptor: function Interceptor() {
24618 },
24619 JSBool: function JSBool() {
24620 },
24621 JSNull: function JSNull() {
24622 },
24623 JavaScriptObject: function JavaScriptObject() {
24624 },
24625 LegacyJavaScriptObject: function LegacyJavaScriptObject() {
24626 },
24627 PlainJavaScriptObject: function PlainJavaScriptObject() {
24628 },
24629 UnknownJavaScriptObject: function UnknownJavaScriptObject() {
24630 },
24631 JavaScriptFunction: function JavaScriptFunction() {
24632 },
24633 JSArray: function JSArray(t0) {
24634 this.$ti = t0;
24635 },
24636 JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
24637 this.$ti = t0;
24638 },
24639 ArrayIterator: function ArrayIterator(t0, t1) {
24640 var _ = this;
24641 _._iterable = t0;
24642 _._length = t1;
24643 _._index = 0;
24644 _._current = null;
24645 },
24646 JSNumber: function JSNumber() {
24647 },
24648 JSInt: function JSInt() {
24649 },
24650 JSNumNotInt: function JSNumNotInt() {
24651 },
24652 JSString: function JSString() {
24653 }
24654 },
24655 B = {};
24656 var holders = [A, J, B];
24657 hunkHelpers.setFunctionNamesIfNecessary(holders);
24658 var $ = {};
24659 A.JS_CONST.prototype = {};
24660 J.Interceptor.prototype = {
24661 $eq(receiver, other) {
24662 return receiver === other;
24663 },
24664 get$hashCode(receiver) {
24665 return A.Primitives_objectHashCode(receiver);
24666 },
24667 toString$0(receiver) {
24668 return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
24669 },
24670 noSuchMethod$1(receiver, invocation) {
24671 throw A.wrapException(A.NoSuchMethodError$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
24672 }
24673 };
24674 J.JSBool.prototype = {
24675 toString$0(receiver) {
24676 return String(receiver);
24677 },
24678 get$hashCode(receiver) {
24679 return receiver ? 519018 : 218159;
24680 },
24681 $isbool: 1
24682 };
24683 J.JSNull.prototype = {
24684 $eq(receiver, other) {
24685 return null == other;
24686 },
24687 toString$0(receiver) {
24688 return "null";
24689 },
24690 get$hashCode(receiver) {
24691 return 0;
24692 },
24693 get$runtimeType(receiver) {
24694 return B.Type_Null_Yyn;
24695 },
24696 $isNull: 1
24697 };
24698 J.JavaScriptObject.prototype = {};
24699 J.LegacyJavaScriptObject.prototype = {
24700 get$hashCode(receiver) {
24701 return 0;
24702 },
24703 toString$0(receiver) {
24704 return String(receiver);
24705 },
24706 $isPromise: 1,
24707 $isJsSystemError: 1,
24708 $is_NodeSassColor: 1,
24709 $is_Channels: 1,
24710 $isCompileOptions: 1,
24711 $isCompileStringOptions: 1,
24712 $isNodeCompileResult: 1,
24713 $is_NodeException: 1,
24714 $isFiber: 1,
24715 $isJSFunction0: 1,
24716 $isImmutableList: 1,
24717 $isImmutableMap: 1,
24718 $isNodeImporter0: 1,
24719 $isNodeImporterResult0: 1,
24720 $isNodeImporterResult1: 1,
24721 $is_NodeSassList: 1,
24722 $is_ConstructorOptions: 1,
24723 $isWarnOptions: 1,
24724 $isDebugOptions: 1,
24725 $is_NodeSassMap: 1,
24726 $is_NodeSassNumber: 1,
24727 $is_ConstructorOptions0: 1,
24728 $isJSClass0: 1,
24729 $isRenderContextOptions0: 1,
24730 $isRenderOptions: 1,
24731 $isRenderResult: 1,
24732 $is_NodeSassString: 1,
24733 $is_ConstructorOptions1: 1,
24734 $isJSUrl0: 1,
24735 get$isTTY(obj) {
24736 return obj.isTTY;
24737 },
24738 get$write(obj) {
24739 return obj.write;
24740 },
24741 write$1(receiver, p0) {
24742 return receiver.write(p0);
24743 },
24744 createInterface$1(receiver, p0) {
24745 return receiver.createInterface(p0);
24746 },
24747 on$2(receiver, p0, p1) {
24748 return receiver.on(p0, p1);
24749 },
24750 get$close(obj) {
24751 return obj.close;
24752 },
24753 close$0(receiver) {
24754 return receiver.close();
24755 },
24756 setPrompt$1(receiver, p0) {
24757 return receiver.setPrompt(p0);
24758 },
24759 get$length(obj) {
24760 return obj.length;
24761 },
24762 toString$0(receiver) {
24763 return receiver.toString();
24764 },
24765 clear$0(receiver) {
24766 return receiver.clear();
24767 },
24768 get$debug(obj) {
24769 return obj.debug;
24770 },
24771 debug$2(receiver, p0, p1) {
24772 return receiver.debug(p0, p1);
24773 },
24774 get$warn(obj) {
24775 return obj.warn;
24776 },
24777 warn$1(receiver, p0) {
24778 return receiver.warn(p0);
24779 },
24780 existsSync$1(receiver, p0) {
24781 return receiver.existsSync(p0);
24782 },
24783 mkdirSync$1(receiver, p0) {
24784 return receiver.mkdirSync(p0);
24785 },
24786 readdirSync$1(receiver, p0) {
24787 return receiver.readdirSync(p0);
24788 },
24789 readFileSync$2(receiver, p0, p1) {
24790 return receiver.readFileSync(p0, p1);
24791 },
24792 statSync$1(receiver, p0) {
24793 return receiver.statSync(p0);
24794 },
24795 unlinkSync$1(receiver, p0) {
24796 return receiver.unlinkSync(p0);
24797 },
24798 watch$2(receiver, p0, p1) {
24799 return receiver.watch(p0, p1);
24800 },
24801 writeFileSync$2(receiver, p0, p1) {
24802 return receiver.writeFileSync(p0, p1);
24803 },
24804 get$path(obj) {
24805 return obj.path;
24806 },
24807 isDirectory$0(receiver) {
24808 return receiver.isDirectory();
24809 },
24810 isFile$0(receiver) {
24811 return receiver.isFile();
24812 },
24813 get$mtime(obj) {
24814 return obj.mtime;
24815 },
24816 then$1$1(receiver, p0) {
24817 return receiver.then(p0);
24818 },
24819 then$2(receiver, p0, p1) {
24820 return receiver.then(p0, p1);
24821 },
24822 getTime$0(receiver) {
24823 return receiver.getTime();
24824 },
24825 get$message(obj) {
24826 return obj.message;
24827 },
24828 message$1(receiver, p0) {
24829 return receiver.message(p0);
24830 },
24831 get$code(obj) {
24832 return obj.code;
24833 },
24834 get$syscall(obj) {
24835 return obj.syscall;
24836 },
24837 get$env(obj) {
24838 return obj.env;
24839 },
24840 get$exitCode(obj) {
24841 return obj.exitCode;
24842 },
24843 set$exitCode(obj, v) {
24844 return obj.exitCode = v;
24845 },
24846 get$platform(obj) {
24847 return obj.platform;
24848 },
24849 get$stderr(obj) {
24850 return obj.stderr;
24851 },
24852 get$stdin(obj) {
24853 return obj.stdin;
24854 },
24855 get$name(obj) {
24856 return obj.name;
24857 },
24858 push$1(receiver, p0) {
24859 return receiver.push(p0);
24860 },
24861 call$0(receiver) {
24862 return receiver.call();
24863 },
24864 call$1(receiver, p0) {
24865 return receiver.call(p0);
24866 },
24867 call$2(receiver, p0, p1) {
24868 return receiver.call(p0, p1);
24869 },
24870 call$3$1(receiver, p0) {
24871 return receiver.call(p0);
24872 },
24873 call$2$1(receiver, p0) {
24874 return receiver.call(p0);
24875 },
24876 call$1$1(receiver, p0) {
24877 return receiver.call(p0);
24878 },
24879 call$3(receiver, p0, p1, p2) {
24880 return receiver.call(p0, p1, p2);
24881 },
24882 call$3$3(receiver, p0, p1, p2) {
24883 return receiver.call(p0, p1, p2);
24884 },
24885 call$2$2(receiver, p0, p1) {
24886 return receiver.call(p0, p1);
24887 },
24888 call$1$0(receiver) {
24889 return receiver.call();
24890 },
24891 call$2$0(receiver) {
24892 return receiver.call();
24893 },
24894 call$2$3(receiver, p0, p1, p2) {
24895 return receiver.call(p0, p1, p2);
24896 },
24897 call$1$2(receiver, p0, p1) {
24898 return receiver.call(p0, p1);
24899 },
24900 apply$2(receiver, p0, p1) {
24901 return receiver.apply(p0, p1);
24902 },
24903 get$file(obj) {
24904 return obj.file;
24905 },
24906 get$contents(obj) {
24907 return obj.contents;
24908 },
24909 get$options(obj) {
24910 return obj.options;
24911 },
24912 get$data(obj) {
24913 return obj.data;
24914 },
24915 get$includePaths(obj) {
24916 return obj.includePaths;
24917 },
24918 get$style(obj) {
24919 return obj.style;
24920 },
24921 get$indentType(obj) {
24922 return obj.indentType;
24923 },
24924 get$indentWidth(obj) {
24925 return obj.indentWidth;
24926 },
24927 get$linefeed(obj) {
24928 return obj.linefeed;
24929 },
24930 set$context(obj, v) {
24931 return obj.context = v;
24932 },
24933 get$$prototype(obj) {
24934 return obj.prototype;
24935 },
24936 get$dartValue(obj) {
24937 return obj.dartValue;
24938 },
24939 set$dartValue(obj, v) {
24940 return obj.dartValue = v;
24941 },
24942 get$red(obj) {
24943 return obj.red;
24944 },
24945 get$green(obj) {
24946 return obj.green;
24947 },
24948 get$blue(obj) {
24949 return obj.blue;
24950 },
24951 get$hue(obj) {
24952 return obj.hue;
24953 },
24954 get$saturation(obj) {
24955 return obj.saturation;
24956 },
24957 get$lightness(obj) {
24958 return obj.lightness;
24959 },
24960 get$whiteness(obj) {
24961 return obj.whiteness;
24962 },
24963 get$blackness(obj) {
24964 return obj.blackness;
24965 },
24966 get$alpha(obj) {
24967 return obj.alpha;
24968 },
24969 get$alertAscii(obj) {
24970 return obj.alertAscii;
24971 },
24972 get$alertColor(obj) {
24973 return obj.alertColor;
24974 },
24975 get$loadPaths(obj) {
24976 return obj.loadPaths;
24977 },
24978 get$quietDeps(obj) {
24979 return obj.quietDeps;
24980 },
24981 get$verbose(obj) {
24982 return obj.verbose;
24983 },
24984 get$sourceMap(obj) {
24985 return obj.sourceMap;
24986 },
24987 get$sourceMapIncludeSources(obj) {
24988 return obj.sourceMapIncludeSources;
24989 },
24990 get$logger(obj) {
24991 return obj.logger;
24992 },
24993 get$importers(obj) {
24994 return obj.importers;
24995 },
24996 get$functions(obj) {
24997 return obj.functions;
24998 },
24999 get$syntax(obj) {
25000 return obj.syntax;
25001 },
25002 get$url(obj) {
25003 return obj.url;
25004 },
25005 get$importer(obj) {
25006 return obj.importer;
25007 },
25008 get$_dartException(obj) {
25009 return obj._dartException;
25010 },
25011 set$renderSync(obj, v) {
25012 return obj.renderSync = v;
25013 },
25014 set$compileString(obj, v) {
25015 return obj.compileString = v;
25016 },
25017 set$compileStringAsync(obj, v) {
25018 return obj.compileStringAsync = v;
25019 },
25020 set$compile(obj, v) {
25021 return obj.compile = v;
25022 },
25023 set$compileAsync(obj, v) {
25024 return obj.compileAsync = v;
25025 },
25026 set$info(obj, v) {
25027 return obj.info = v;
25028 },
25029 set$Exception(obj, v) {
25030 return obj.Exception = v;
25031 },
25032 set$Logger(obj, v) {
25033 return obj.Logger = v;
25034 },
25035 set$Value(obj, v) {
25036 return obj.Value = v;
25037 },
25038 set$SassArgumentList(obj, v) {
25039 return obj.SassArgumentList = v;
25040 },
25041 set$SassBoolean(obj, v) {
25042 return obj.SassBoolean = v;
25043 },
25044 set$SassColor(obj, v) {
25045 return obj.SassColor = v;
25046 },
25047 set$SassFunction(obj, v) {
25048 return obj.SassFunction = v;
25049 },
25050 set$SassList(obj, v) {
25051 return obj.SassList = v;
25052 },
25053 set$SassMap(obj, v) {
25054 return obj.SassMap = v;
25055 },
25056 set$SassNumber(obj, v) {
25057 return obj.SassNumber = v;
25058 },
25059 set$SassString(obj, v) {
25060 return obj.SassString = v;
25061 },
25062 set$sassNull(obj, v) {
25063 return obj.sassNull = v;
25064 },
25065 set$sassTrue(obj, v) {
25066 return obj.sassTrue = v;
25067 },
25068 set$sassFalse(obj, v) {
25069 return obj.sassFalse = v;
25070 },
25071 set$render(obj, v) {
25072 return obj.render = v;
25073 },
25074 set$types(obj, v) {
25075 return obj.types = v;
25076 },
25077 set$NULL(obj, v) {
25078 return obj.NULL = v;
25079 },
25080 set$TRUE(obj, v) {
25081 return obj.TRUE = v;
25082 },
25083 set$FALSE(obj, v) {
25084 return obj.FALSE = v;
25085 },
25086 get$current(obj) {
25087 return obj.current;
25088 },
25089 yield$0(receiver) {
25090 return receiver.yield();
25091 },
25092 run$1$1(receiver, p0) {
25093 return receiver.run(p0);
25094 },
25095 run$1(receiver, p0) {
25096 return receiver.run(p0);
25097 },
25098 run$0(receiver) {
25099 return receiver.run();
25100 },
25101 toArray$0(receiver) {
25102 return receiver.toArray();
25103 },
25104 asMutable$0(receiver) {
25105 return receiver.asMutable();
25106 },
25107 asImmutable$0(receiver) {
25108 return receiver.asImmutable();
25109 },
25110 $set$2(receiver, p0, p1) {
25111 return receiver.set(p0, p1);
25112 },
25113 forEach$1(receiver, p0) {
25114 return receiver.forEach(p0);
25115 },
25116 get$canonicalize(obj) {
25117 return obj.canonicalize;
25118 },
25119 canonicalize$1(receiver, p0) {
25120 return receiver.canonicalize(p0);
25121 },
25122 get$load(obj) {
25123 return obj.load;
25124 },
25125 load$1(receiver, p0) {
25126 return receiver.load(p0);
25127 },
25128 get$findFileUrl(obj) {
25129 return obj.findFileUrl;
25130 },
25131 get$sourceMapUrl(obj) {
25132 return obj.sourceMapUrl;
25133 },
25134 get$separator(obj) {
25135 return obj.separator;
25136 },
25137 get$brackets(obj) {
25138 return obj.brackets;
25139 },
25140 get$numeratorUnits(obj) {
25141 return obj.numeratorUnits;
25142 },
25143 get$denominatorUnits(obj) {
25144 return obj.denominatorUnits;
25145 },
25146 get$indentedSyntax(obj) {
25147 return obj.indentedSyntax;
25148 },
25149 get$omitSourceMapUrl(obj) {
25150 return obj.omitSourceMapUrl;
25151 },
25152 get$outFile(obj) {
25153 return obj.outFile;
25154 },
25155 get$outputStyle(obj) {
25156 return obj.outputStyle;
25157 },
25158 get$fiber(obj) {
25159 return obj.fiber;
25160 },
25161 get$sourceMapContents(obj) {
25162 return obj.sourceMapContents;
25163 },
25164 get$sourceMapEmbed(obj) {
25165 return obj.sourceMapEmbed;
25166 },
25167 get$sourceMapRoot(obj) {
25168 return obj.sourceMapRoot;
25169 },
25170 get$charset(obj) {
25171 return obj.charset;
25172 },
25173 set$cli_pkg_main_0_(obj, v) {
25174 return obj.cli_pkg_main_0_ = v;
25175 },
25176 get$quotes(obj) {
25177 return obj.quotes;
25178 }
25179 };
25180 J.PlainJavaScriptObject.prototype = {};
25181 J.UnknownJavaScriptObject.prototype = {};
25182 J.JavaScriptFunction.prototype = {
25183 toString$0(receiver) {
25184 var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
25185 if (dartClosure == null)
25186 return this.super$LegacyJavaScriptObject$toString(receiver);
25187 return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
25188 },
25189 $isFunction: 1
25190 };
25191 J.JSArray.prototype = {
25192 cast$1$0(receiver, $R) {
25193 return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
25194 },
25195 add$1(receiver, value) {
25196 if (!!receiver.fixed$length)
25197 A.throwExpression(A.UnsupportedError$("add"));
25198 receiver.push(value);
25199 },
25200 removeAt$1(receiver, index) {
25201 var t1;
25202 if (!!receiver.fixed$length)
25203 A.throwExpression(A.UnsupportedError$("removeAt"));
25204 t1 = receiver.length;
25205 if (index >= t1)
25206 throw A.wrapException(A.RangeError$value(index, null, null));
25207 return receiver.splice(index, 1)[0];
25208 },
25209 insert$2(receiver, index, value) {
25210 var t1;
25211 if (!!receiver.fixed$length)
25212 A.throwExpression(A.UnsupportedError$("insert"));
25213 t1 = receiver.length;
25214 if (index > t1)
25215 throw A.wrapException(A.RangeError$value(index, null, null));
25216 receiver.splice(index, 0, value);
25217 },
25218 insertAll$2(receiver, index, iterable) {
25219 var insertionLength, end;
25220 if (!!receiver.fixed$length)
25221 A.throwExpression(A.UnsupportedError$("insertAll"));
25222 A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
25223 if (!type$.EfficientLengthIterable_dynamic._is(iterable))
25224 iterable = J.toList$0$ax(iterable);
25225 insertionLength = J.get$length$asx(iterable);
25226 receiver.length = receiver.length + insertionLength;
25227 end = index + insertionLength;
25228 this.setRange$4(receiver, end, receiver.length, receiver, index);
25229 this.setRange$3(receiver, index, end, iterable);
25230 },
25231 removeLast$0(receiver) {
25232 if (!!receiver.fixed$length)
25233 A.throwExpression(A.UnsupportedError$("removeLast"));
25234 if (receiver.length === 0)
25235 throw A.wrapException(A.diagnoseIndexError(receiver, -1));
25236 return receiver.pop();
25237 },
25238 _removeWhere$2(receiver, test, removeMatching) {
25239 var i, element, t1, retained = [],
25240 end = receiver.length;
25241 for (i = 0; i < end; ++i) {
25242 element = receiver[i];
25243 if (!test.call$1(element))
25244 retained.push(element);
25245 if (receiver.length !== end)
25246 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25247 }
25248 t1 = retained.length;
25249 if (t1 === end)
25250 return;
25251 this.set$length(receiver, t1);
25252 for (i = 0; i < retained.length; ++i)
25253 receiver[i] = retained[i];
25254 },
25255 where$1(receiver, f) {
25256 return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
25257 },
25258 expand$1$1(receiver, f, $T) {
25259 return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
25260 },
25261 addAll$1(receiver, collection) {
25262 var t1;
25263 if (!!receiver.fixed$length)
25264 A.throwExpression(A.UnsupportedError$("addAll"));
25265 if (Array.isArray(collection)) {
25266 this._addAllFromArray$1(receiver, collection);
25267 return;
25268 }
25269 for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
25270 receiver.push(t1.get$current(t1));
25271 },
25272 _addAllFromArray$1(receiver, array) {
25273 var i,
25274 len = array.length;
25275 if (len === 0)
25276 return;
25277 if (receiver === array)
25278 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25279 for (i = 0; i < len; ++i)
25280 receiver.push(array[i]);
25281 },
25282 map$1$1(receiver, f, $T) {
25283 return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
25284 },
25285 join$1(receiver, separator) {
25286 var i,
25287 list = A.List_List$filled(receiver.length, "", false, type$.String);
25288 for (i = 0; i < receiver.length; ++i)
25289 list[i] = A.S(receiver[i]);
25290 return list.join(separator);
25291 },
25292 join$0($receiver) {
25293 return this.join$1($receiver, "");
25294 },
25295 take$1(receiver, n) {
25296 return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
25297 },
25298 skip$1(receiver, n) {
25299 return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
25300 },
25301 fold$1$2(receiver, initialValue, combine) {
25302 var value, i,
25303 $length = receiver.length;
25304 for (value = initialValue, i = 0; i < $length; ++i) {
25305 value = combine.call$2(value, receiver[i]);
25306 if (receiver.length !== $length)
25307 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25308 }
25309 return value;
25310 },
25311 fold$2($receiver, initialValue, combine) {
25312 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
25313 },
25314 elementAt$1(receiver, index) {
25315 return receiver[index];
25316 },
25317 sublist$2(receiver, start, end) {
25318 var end0 = receiver.length;
25319 if (start > end0)
25320 throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
25321 if (end == null)
25322 end = end0;
25323 else if (end < start || end > end0)
25324 throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
25325 if (start === end)
25326 return A._setArrayType([], A._arrayInstanceType(receiver));
25327 return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
25328 },
25329 sublist$1($receiver, start) {
25330 return this.sublist$2($receiver, start, null);
25331 },
25332 getRange$2(receiver, start, end) {
25333 A.RangeError_checkValidRange(start, end, receiver.length);
25334 return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
25335 },
25336 get$first(receiver) {
25337 if (receiver.length > 0)
25338 return receiver[0];
25339 throw A.wrapException(A.IterableElementError_noElement());
25340 },
25341 get$last(receiver) {
25342 var t1 = receiver.length;
25343 if (t1 > 0)
25344 return receiver[t1 - 1];
25345 throw A.wrapException(A.IterableElementError_noElement());
25346 },
25347 get$single(receiver) {
25348 var t1 = receiver.length;
25349 if (t1 === 1)
25350 return receiver[0];
25351 if (t1 === 0)
25352 throw A.wrapException(A.IterableElementError_noElement());
25353 throw A.wrapException(A.IterableElementError_tooMany());
25354 },
25355 removeRange$2(receiver, start, end) {
25356 if (!!receiver.fixed$length)
25357 A.throwExpression(A.UnsupportedError$("removeRange"));
25358 A.RangeError_checkValidRange(start, end, receiver.length);
25359 receiver.splice(start, end - start);
25360 },
25361 setRange$4(receiver, start, end, iterable, skipCount) {
25362 var $length, otherList, otherStart, t1, i;
25363 if (!!receiver.immutable$list)
25364 A.throwExpression(A.UnsupportedError$("setRange"));
25365 A.RangeError_checkValidRange(start, end, receiver.length);
25366 $length = end - start;
25367 if ($length === 0)
25368 return;
25369 A.RangeError_checkNotNegative(skipCount, "skipCount");
25370 if (type$.List_dynamic._is(iterable)) {
25371 otherList = iterable;
25372 otherStart = skipCount;
25373 } else {
25374 otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
25375 otherStart = 0;
25376 }
25377 t1 = J.getInterceptor$asx(otherList);
25378 if (otherStart + $length > t1.get$length(otherList))
25379 throw A.wrapException(A.IterableElementError_tooFew());
25380 if (otherStart < start)
25381 for (i = $length - 1; i >= 0; --i)
25382 receiver[start + i] = t1.$index(otherList, otherStart + i);
25383 else
25384 for (i = 0; i < $length; ++i)
25385 receiver[start + i] = t1.$index(otherList, otherStart + i);
25386 },
25387 setRange$3($receiver, start, end, iterable) {
25388 return this.setRange$4($receiver, start, end, iterable, 0);
25389 },
25390 fillRange$3(receiver, start, end, fillValue) {
25391 var i;
25392 if (!!receiver.immutable$list)
25393 A.throwExpression(A.UnsupportedError$("fill range"));
25394 A.RangeError_checkValidRange(start, end, receiver.length);
25395 A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
25396 for (i = start; i < end; ++i)
25397 receiver[i] = fillValue;
25398 },
25399 any$1(receiver, test) {
25400 var i,
25401 end = receiver.length;
25402 for (i = 0; i < end; ++i) {
25403 if (test.call$1(receiver[i]))
25404 return true;
25405 if (receiver.length !== end)
25406 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25407 }
25408 return false;
25409 },
25410 every$1(receiver, test) {
25411 var i,
25412 end = receiver.length;
25413 for (i = 0; i < end; ++i) {
25414 if (!test.call$1(receiver[i]))
25415 return false;
25416 if (receiver.length !== end)
25417 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25418 }
25419 return true;
25420 },
25421 get$reversed(receiver) {
25422 return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
25423 },
25424 sort$1(receiver, compare) {
25425 if (!!receiver.immutable$list)
25426 A.throwExpression(A.UnsupportedError$("sort"));
25427 A.Sort_sort(receiver, compare == null ? J._interceptors_JSArray__compareAny$closure() : compare);
25428 },
25429 sort$0($receiver) {
25430 return this.sort$1($receiver, null);
25431 },
25432 indexOf$1(receiver, element) {
25433 var i,
25434 $length = receiver.length;
25435 if (0 >= $length)
25436 return -1;
25437 for (i = 0; i < $length; ++i)
25438 if (J.$eq$(receiver[i], element))
25439 return i;
25440 return -1;
25441 },
25442 contains$1(receiver, other) {
25443 var i;
25444 for (i = 0; i < receiver.length; ++i)
25445 if (J.$eq$(receiver[i], other))
25446 return true;
25447 return false;
25448 },
25449 get$isEmpty(receiver) {
25450 return receiver.length === 0;
25451 },
25452 get$isNotEmpty(receiver) {
25453 return receiver.length !== 0;
25454 },
25455 toString$0(receiver) {
25456 return A.IterableBase_iterableToFullString(receiver, "[", "]");
25457 },
25458 toList$1$growable(receiver, growable) {
25459 var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
25460 return t1;
25461 },
25462 toList$0($receiver) {
25463 return this.toList$1$growable($receiver, true);
25464 },
25465 toSet$0(receiver) {
25466 return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
25467 },
25468 get$iterator(receiver) {
25469 return new J.ArrayIterator(receiver, receiver.length);
25470 },
25471 get$hashCode(receiver) {
25472 return A.Primitives_objectHashCode(receiver);
25473 },
25474 get$length(receiver) {
25475 return receiver.length;
25476 },
25477 set$length(receiver, newLength) {
25478 if (!!receiver.fixed$length)
25479 A.throwExpression(A.UnsupportedError$("set length"));
25480 if (newLength < 0)
25481 throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
25482 if (newLength > receiver.length)
25483 A._arrayInstanceType(receiver)._precomputed1._as(null);
25484 receiver.length = newLength;
25485 },
25486 $index(receiver, index) {
25487 if (!(index >= 0 && index < receiver.length))
25488 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25489 return receiver[index];
25490 },
25491 $indexSet(receiver, index, value) {
25492 if (!!receiver.immutable$list)
25493 A.throwExpression(A.UnsupportedError$("indexed set"));
25494 if (!(index >= 0 && index < receiver.length))
25495 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25496 receiver[index] = value;
25497 },
25498 $add(receiver, other) {
25499 var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
25500 this.addAll$1(t1, other);
25501 return t1;
25502 },
25503 indexWhere$1(receiver, test) {
25504 var i;
25505 if (0 >= receiver.length)
25506 return -1;
25507 for (i = 0; i < receiver.length; ++i)
25508 if (test.call$1(receiver[i]))
25509 return i;
25510 return -1;
25511 },
25512 $isEfficientLengthIterable: 1,
25513 $isIterable: 1,
25514 $isList: 1
25515 };
25516 J.JSUnmodifiableArray.prototype = {};
25517 J.ArrayIterator.prototype = {
25518 get$current(_) {
25519 return A._instanceType(this)._precomputed1._as(this._current);
25520 },
25521 moveNext$0() {
25522 var t2, _this = this,
25523 t1 = _this._iterable,
25524 $length = t1.length;
25525 if (_this._length !== $length)
25526 throw A.wrapException(A.throwConcurrentModificationError(t1));
25527 t2 = _this._index;
25528 if (t2 >= $length) {
25529 _this._current = null;
25530 return false;
25531 }
25532 _this._current = t1[t2];
25533 _this._index = t2 + 1;
25534 return true;
25535 }
25536 };
25537 J.JSNumber.prototype = {
25538 compareTo$1(receiver, b) {
25539 var bIsNegative;
25540 if (receiver < b)
25541 return -1;
25542 else if (receiver > b)
25543 return 1;
25544 else if (receiver === b) {
25545 if (receiver === 0) {
25546 bIsNegative = this.get$isNegative(b);
25547 if (this.get$isNegative(receiver) === bIsNegative)
25548 return 0;
25549 if (this.get$isNegative(receiver))
25550 return -1;
25551 return 1;
25552 }
25553 return 0;
25554 } else if (isNaN(receiver)) {
25555 if (isNaN(b))
25556 return 0;
25557 return 1;
25558 } else
25559 return -1;
25560 },
25561 get$isNegative(receiver) {
25562 return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
25563 },
25564 ceil$0(receiver) {
25565 var truncated, d;
25566 if (receiver >= 0) {
25567 if (receiver <= 2147483647) {
25568 truncated = receiver | 0;
25569 return receiver === truncated ? truncated : truncated + 1;
25570 }
25571 } else if (receiver >= -2147483648)
25572 return receiver | 0;
25573 d = Math.ceil(receiver);
25574 if (isFinite(d))
25575 return d;
25576 throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
25577 },
25578 floor$0(receiver) {
25579 var truncated, d;
25580 if (receiver >= 0) {
25581 if (receiver <= 2147483647)
25582 return receiver | 0;
25583 } else if (receiver >= -2147483648) {
25584 truncated = receiver | 0;
25585 return receiver === truncated ? truncated : truncated - 1;
25586 }
25587 d = Math.floor(receiver);
25588 if (isFinite(d))
25589 return d;
25590 throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
25591 },
25592 round$0(receiver) {
25593 if (receiver > 0) {
25594 if (receiver !== 1 / 0)
25595 return Math.round(receiver);
25596 } else if (receiver > -1 / 0)
25597 return 0 - Math.round(0 - receiver);
25598 throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
25599 },
25600 clamp$2(receiver, lowerLimit, upperLimit) {
25601 if (B.JSInt_methods.compareTo$1(lowerLimit, upperLimit) > 0)
25602 throw A.wrapException(A.argumentErrorValue(lowerLimit));
25603 if (this.compareTo$1(receiver, lowerLimit) < 0)
25604 return lowerLimit;
25605 if (this.compareTo$1(receiver, upperLimit) > 0)
25606 return upperLimit;
25607 return receiver;
25608 },
25609 toRadixString$1(receiver, radix) {
25610 var result, match, exponent, t1;
25611 if (radix < 2 || radix > 36)
25612 throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
25613 result = receiver.toString(radix);
25614 if (B.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41)
25615 return result;
25616 match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
25617 if (match == null)
25618 A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
25619 result = match[1];
25620 exponent = +match[3];
25621 t1 = match[2];
25622 if (t1 != null) {
25623 result += t1;
25624 exponent -= t1.length;
25625 }
25626 return result + B.JSString_methods.$mul("0", exponent);
25627 },
25628 toString$0(receiver) {
25629 if (receiver === 0 && 1 / receiver < 0)
25630 return "-0.0";
25631 else
25632 return "" + receiver;
25633 },
25634 get$hashCode(receiver) {
25635 var absolute, floorLog2, factor, scaled,
25636 intValue = receiver | 0;
25637 if (receiver === intValue)
25638 return intValue & 536870911;
25639 absolute = Math.abs(receiver);
25640 floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
25641 factor = Math.pow(2, floorLog2);
25642 scaled = absolute < 1 ? absolute / factor : factor / absolute;
25643 return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
25644 },
25645 $add(receiver, other) {
25646 return receiver + other;
25647 },
25648 $mod(receiver, other) {
25649 var result = receiver % other;
25650 if (result === 0)
25651 return 0;
25652 if (result > 0)
25653 return result;
25654 if (other < 0)
25655 return result - other;
25656 else
25657 return result + other;
25658 },
25659 $tdiv(receiver, other) {
25660 if ((receiver | 0) === receiver)
25661 if (other >= 1 || other < -1)
25662 return receiver / other | 0;
25663 return this._tdivSlow$1(receiver, other);
25664 },
25665 _tdivFast$1(receiver, other) {
25666 return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
25667 },
25668 _tdivSlow$1(receiver, other) {
25669 var quotient = receiver / other;
25670 if (quotient >= -2147483648 && quotient <= 2147483647)
25671 return quotient | 0;
25672 if (quotient > 0) {
25673 if (quotient !== 1 / 0)
25674 return Math.floor(quotient);
25675 } else if (quotient > -1 / 0)
25676 return Math.ceil(quotient);
25677 throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
25678 },
25679 _shrOtherPositive$1(receiver, other) {
25680 var t1;
25681 if (receiver > 0)
25682 t1 = this._shrBothPositive$1(receiver, other);
25683 else {
25684 t1 = other > 31 ? 31 : other;
25685 t1 = receiver >> t1 >>> 0;
25686 }
25687 return t1;
25688 },
25689 _shrReceiverPositive$1(receiver, other) {
25690 if (0 > other)
25691 throw A.wrapException(A.argumentErrorValue(other));
25692 return this._shrBothPositive$1(receiver, other);
25693 },
25694 _shrBothPositive$1(receiver, other) {
25695 return other > 31 ? 0 : receiver >>> other;
25696 },
25697 $isComparable: 1,
25698 $isdouble: 1,
25699 $isnum: 1
25700 };
25701 J.JSInt.prototype = {$isint: 1};
25702 J.JSNumNotInt.prototype = {};
25703 J.JSString.prototype = {
25704 codeUnitAt$1(receiver, index) {
25705 if (index < 0)
25706 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25707 if (index >= receiver.length)
25708 A.throwExpression(A.diagnoseIndexError(receiver, index));
25709 return receiver.charCodeAt(index);
25710 },
25711 _codeUnitAt$1(receiver, index) {
25712 if (index >= receiver.length)
25713 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25714 return receiver.charCodeAt(index);
25715 },
25716 allMatches$2(receiver, string, start) {
25717 var t1 = string.length;
25718 if (start > t1)
25719 throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
25720 return new A._StringAllMatchesIterable(string, receiver, start);
25721 },
25722 allMatches$1($receiver, string) {
25723 return this.allMatches$2($receiver, string, 0);
25724 },
25725 matchAsPrefix$2(receiver, string, start) {
25726 var t1, i, _null = null;
25727 if (start < 0 || start > string.length)
25728 throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
25729 t1 = receiver.length;
25730 if (start + t1 > string.length)
25731 return _null;
25732 for (i = 0; i < t1; ++i)
25733 if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i))
25734 return _null;
25735 return new A.StringMatch(start, receiver);
25736 },
25737 $add(receiver, other) {
25738 return receiver + other;
25739 },
25740 endsWith$1(receiver, other) {
25741 var otherLength = other.length,
25742 t1 = receiver.length;
25743 if (otherLength > t1)
25744 return false;
25745 return other === this.substring$1(receiver, t1 - otherLength);
25746 },
25747 replaceFirst$2(receiver, from, to) {
25748 A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
25749 return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
25750 },
25751 split$1(receiver, pattern) {
25752 if (typeof pattern == "string")
25753 return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
25754 else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0)
25755 return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
25756 else
25757 return this._defaultSplit$1(receiver, pattern);
25758 },
25759 replaceRange$3(receiver, start, end, replacement) {
25760 var e = A.RangeError_checkValidRange(start, end, receiver.length);
25761 return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
25762 },
25763 _defaultSplit$1(receiver, pattern) {
25764 var t1, start, $length, match, matchStart, matchEnd,
25765 result = A._setArrayType([], type$.JSArray_String);
25766 for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
25767 match = t1.get$current(t1);
25768 matchStart = match.get$start(match);
25769 matchEnd = match.get$end(match);
25770 $length = matchEnd - matchStart;
25771 if ($length === 0 && start === matchStart)
25772 continue;
25773 result.push(this.substring$2(receiver, start, matchStart));
25774 start = matchEnd;
25775 }
25776 if (start < receiver.length || $length > 0)
25777 result.push(this.substring$1(receiver, start));
25778 return result;
25779 },
25780 startsWith$2(receiver, pattern, index) {
25781 var endIndex;
25782 if (index < 0 || index > receiver.length)
25783 throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
25784 if (typeof pattern == "string") {
25785 endIndex = index + pattern.length;
25786 if (endIndex > receiver.length)
25787 return false;
25788 return pattern === receiver.substring(index, endIndex);
25789 }
25790 return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
25791 },
25792 startsWith$1($receiver, pattern) {
25793 return this.startsWith$2($receiver, pattern, 0);
25794 },
25795 substring$2(receiver, start, end) {
25796 return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
25797 },
25798 substring$1($receiver, start) {
25799 return this.substring$2($receiver, start, null);
25800 },
25801 trim$0(receiver) {
25802 var startIndex, t1, endIndex0,
25803 result = receiver.trim(),
25804 endIndex = result.length;
25805 if (endIndex === 0)
25806 return result;
25807 if (this._codeUnitAt$1(result, 0) === 133) {
25808 startIndex = J.JSString__skipLeadingWhitespace(result, 1);
25809 if (startIndex === endIndex)
25810 return "";
25811 } else
25812 startIndex = 0;
25813 t1 = endIndex - 1;
25814 endIndex0 = this.codeUnitAt$1(result, t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
25815 if (startIndex === 0 && endIndex0 === endIndex)
25816 return result;
25817 return result.substring(startIndex, endIndex0);
25818 },
25819 trimRight$0(receiver) {
25820 var result, endIndex, t1;
25821 if (typeof receiver.trimRight != "undefined") {
25822 result = receiver.trimRight();
25823 endIndex = result.length;
25824 if (endIndex === 0)
25825 return result;
25826 t1 = endIndex - 1;
25827 if (this.codeUnitAt$1(result, t1) === 133)
25828 endIndex = J.JSString__skipTrailingWhitespace(result, t1);
25829 } else {
25830 endIndex = J.JSString__skipTrailingWhitespace(receiver, receiver.length);
25831 result = receiver;
25832 }
25833 if (endIndex === result.length)
25834 return result;
25835 if (endIndex === 0)
25836 return "";
25837 return result.substring(0, endIndex);
25838 },
25839 $mul(receiver, times) {
25840 var s, result;
25841 if (0 >= times)
25842 return "";
25843 if (times === 1 || receiver.length === 0)
25844 return receiver;
25845 if (times !== times >>> 0)
25846 throw A.wrapException(B.C_OutOfMemoryError);
25847 for (s = receiver, result = ""; true;) {
25848 if ((times & 1) === 1)
25849 result = s + result;
25850 times = times >>> 1;
25851 if (times === 0)
25852 break;
25853 s += s;
25854 }
25855 return result;
25856 },
25857 padLeft$2(receiver, width, padding) {
25858 var delta = width - receiver.length;
25859 if (delta <= 0)
25860 return receiver;
25861 return this.$mul(padding, delta) + receiver;
25862 },
25863 padRight$1(receiver, width) {
25864 var delta = width - receiver.length;
25865 if (delta <= 0)
25866 return receiver;
25867 return receiver + this.$mul(" ", delta);
25868 },
25869 indexOf$2(receiver, pattern, start) {
25870 var t1;
25871 if (start < 0 || start > receiver.length)
25872 throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
25873 t1 = receiver.indexOf(pattern, start);
25874 return t1;
25875 },
25876 indexOf$1($receiver, pattern) {
25877 return this.indexOf$2($receiver, pattern, 0);
25878 },
25879 lastIndexOf$2(receiver, pattern, start) {
25880 var t1, t2, i;
25881 if (start == null)
25882 start = receiver.length;
25883 else if (start < 0 || start > receiver.length)
25884 throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
25885 if (typeof pattern == "string") {
25886 t1 = pattern.length;
25887 t2 = receiver.length;
25888 if (start + t1 > t2)
25889 start = t2 - t1;
25890 return receiver.lastIndexOf(pattern, start);
25891 }
25892 for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
25893 if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
25894 return i;
25895 return -1;
25896 },
25897 lastIndexOf$1($receiver, pattern) {
25898 return this.lastIndexOf$2($receiver, pattern, null);
25899 },
25900 contains$2(receiver, other, startIndex) {
25901 var t1 = receiver.length;
25902 if (startIndex > t1)
25903 throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
25904 return A.stringContainsUnchecked(receiver, other, startIndex);
25905 },
25906 contains$1($receiver, other) {
25907 return this.contains$2($receiver, other, 0);
25908 },
25909 get$isNotEmpty(receiver) {
25910 return receiver.length !== 0;
25911 },
25912 compareTo$1(receiver, other) {
25913 var t1;
25914 if (receiver === other)
25915 t1 = 0;
25916 else
25917 t1 = receiver < other ? -1 : 1;
25918 return t1;
25919 },
25920 toString$0(receiver) {
25921 return receiver;
25922 },
25923 get$hashCode(receiver) {
25924 var t1, hash, i;
25925 for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
25926 hash = hash + receiver.charCodeAt(i) & 536870911;
25927 hash = hash + ((hash & 524287) << 10) & 536870911;
25928 hash ^= hash >> 6;
25929 }
25930 hash = hash + ((hash & 67108863) << 3) & 536870911;
25931 hash ^= hash >> 11;
25932 return hash + ((hash & 16383) << 15) & 536870911;
25933 },
25934 get$length(receiver) {
25935 return receiver.length;
25936 },
25937 $isComparable: 1,
25938 $isString: 1
25939 };
25940 A._CastIterableBase.prototype = {
25941 get$iterator(_) {
25942 var t1 = A._instanceType(this);
25943 return new A.CastIterator(J.get$iterator$ax(this.get$_source()), t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastIterator<1,2>"));
25944 },
25945 get$length(_) {
25946 return J.get$length$asx(this.get$_source());
25947 },
25948 get$isEmpty(_) {
25949 return J.get$isEmpty$asx(this.get$_source());
25950 },
25951 get$isNotEmpty(_) {
25952 return J.get$isNotEmpty$asx(this.get$_source());
25953 },
25954 skip$1(_, count) {
25955 var t1 = A._instanceType(this);
25956 return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
25957 },
25958 take$1(_, count) {
25959 var t1 = A._instanceType(this);
25960 return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
25961 },
25962 elementAt$1(_, index) {
25963 return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
25964 },
25965 get$first(_) {
25966 return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
25967 },
25968 get$last(_) {
25969 return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
25970 },
25971 get$single(_) {
25972 return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
25973 },
25974 contains$1(_, other) {
25975 return J.contains$1$asx(this.get$_source(), other);
25976 },
25977 toString$0(_) {
25978 return J.toString$0$(this.get$_source());
25979 }
25980 };
25981 A.CastIterator.prototype = {
25982 moveNext$0() {
25983 return this._source.moveNext$0();
25984 },
25985 get$current(_) {
25986 var t1 = this._source;
25987 return this.$ti._rest[1]._as(t1.get$current(t1));
25988 }
25989 };
25990 A.CastIterable.prototype = {
25991 get$_source() {
25992 return this._source;
25993 }
25994 };
25995 A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
25996 A._CastListBase.prototype = {
25997 $index(_, index) {
25998 return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
25999 },
26000 $indexSet(_, index, value) {
26001 J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
26002 },
26003 set$length(_, $length) {
26004 J.set$length$asx(this._source, $length);
26005 },
26006 add$1(_, value) {
26007 J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
26008 },
26009 sort$1(_, compare) {
26010 var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
26011 J.sort$1$ax(this._source, t1);
26012 },
26013 getRange$2(_, start, end) {
26014 var t1 = this.$ti;
26015 return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
26016 },
26017 setRange$4(_, start, end, iterable, skipCount) {
26018 var t1 = this.$ti;
26019 J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
26020 },
26021 fillRange$3(_, start, end, fillValue) {
26022 J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
26023 },
26024 $isEfficientLengthIterable: 1,
26025 $isList: 1
26026 };
26027 A._CastListBase_sort_closure.prototype = {
26028 call$2(v1, v2) {
26029 var t1 = this.$this.$ti._rest[1];
26030 return this.compare.call$2(t1._as(v1), t1._as(v2));
26031 },
26032 $signature() {
26033 return this.$this.$ti._eval$1("int(1,1)");
26034 }
26035 };
26036 A.CastList.prototype = {
26037 cast$1$0(_, $R) {
26038 return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
26039 },
26040 get$_source() {
26041 return this._source;
26042 }
26043 };
26044 A.CastSet.prototype = {
26045 add$1(_, value) {
26046 return this._source.add$1(0, this.$ti._precomputed1._as(value));
26047 },
26048 addAll$1(_, elements) {
26049 var t1 = this.$ti;
26050 this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
26051 },
26052 difference$1(other) {
26053 var t1, _this = this;
26054 if (_this._emptySet != null)
26055 return _this._conditionalAdd$2(other, false);
26056 t1 = _this.$ti;
26057 return new A.CastSet(_this._source.difference$1(other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>"));
26058 },
26059 _conditionalAdd$2(other, otherContains) {
26060 var t3, castElement,
26061 emptySet = this._emptySet,
26062 t1 = this.$ti,
26063 t2 = t1._rest[1],
26064 result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
26065 for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
26066 castElement = t1._as(t2.get$current(t2));
26067 if (otherContains === t3.contains$1(0, castElement))
26068 result.add$1(0, castElement);
26069 }
26070 return result;
26071 },
26072 toSet$0(_) {
26073 var emptySet = this._emptySet,
26074 t1 = this.$ti._rest[1],
26075 result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
26076 result.addAll$1(0, this);
26077 return result;
26078 },
26079 $isEfficientLengthIterable: 1,
26080 $isSet: 1,
26081 get$_source() {
26082 return this._source;
26083 }
26084 };
26085 A.CastMap.prototype = {
26086 cast$2$0(_, RK, RV) {
26087 var t1 = this.$ti;
26088 return new A.CastMap(this._source, t1._eval$1("@<1>")._bind$1(t1._rest[1])._bind$1(RK)._bind$1(RV)._eval$1("CastMap<1,2,3,4>"));
26089 },
26090 containsKey$1(key) {
26091 return this._source.containsKey$1(key);
26092 },
26093 $index(_, key) {
26094 return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
26095 },
26096 $indexSet(_, key, value) {
26097 var t1 = this.$ti;
26098 this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
26099 },
26100 addAll$1(_, other) {
26101 var t1 = this.$ti;
26102 this._source.addAll$1(0, new A.CastMap(other, t1._eval$1("@<3>")._bind$1(t1._rest[3])._bind$1(t1._precomputed1)._bind$1(t1._rest[1])._eval$1("CastMap<1,2,3,4>")));
26103 },
26104 remove$1(_, key) {
26105 return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
26106 },
26107 forEach$1(_, f) {
26108 this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
26109 },
26110 get$keys(_) {
26111 var t1 = this._source,
26112 t2 = this.$ti;
26113 return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
26114 },
26115 get$values(_) {
26116 var t1 = this._source,
26117 t2 = this.$ti;
26118 return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
26119 },
26120 get$length(_) {
26121 var t1 = this._source;
26122 return t1.get$length(t1);
26123 },
26124 get$isEmpty(_) {
26125 var t1 = this._source;
26126 return t1.get$isEmpty(t1);
26127 },
26128 get$isNotEmpty(_) {
26129 var t1 = this._source;
26130 return t1.get$isNotEmpty(t1);
26131 },
26132 get$entries(_) {
26133 var t1 = this._source;
26134 return t1.get$entries(t1).map$1$1(0, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
26135 }
26136 };
26137 A.CastMap_forEach_closure.prototype = {
26138 call$2(key, value) {
26139 var t1 = this.$this.$ti;
26140 this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
26141 },
26142 $signature() {
26143 return this.$this.$ti._eval$1("~(1,2)");
26144 }
26145 };
26146 A.CastMap_entries_closure.prototype = {
26147 call$1(e) {
26148 var t1 = this.$this.$ti,
26149 t2 = t1._rest[3];
26150 return new A.MapEntry(t1._rest[2]._as(e.key), t2._as(e.value), t1._eval$1("@<3>")._bind$1(t2)._eval$1("MapEntry<1,2>"));
26151 },
26152 $signature() {
26153 return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
26154 }
26155 };
26156 A.LateError.prototype = {
26157 toString$0(_) {
26158 var t1 = "LateInitializationError: " + this._message;
26159 return t1;
26160 }
26161 };
26162 A.CodeUnits.prototype = {
26163 get$length(_) {
26164 return this._string.length;
26165 },
26166 $index(_, i) {
26167 return B.JSString_methods.codeUnitAt$1(this._string, i);
26168 }
26169 };
26170 A.nullFuture_closure.prototype = {
26171 call$0() {
26172 return A.Future_Future$value(null, type$.Null);
26173 },
26174 $signature: 2
26175 };
26176 A.SentinelValue.prototype = {};
26177 A.EfficientLengthIterable.prototype = {};
26178 A.ListIterable.prototype = {
26179 get$iterator(_) {
26180 return new A.ListIterator(this, this.get$length(this));
26181 },
26182 get$isEmpty(_) {
26183 return this.get$length(this) === 0;
26184 },
26185 get$first(_) {
26186 if (this.get$length(this) === 0)
26187 throw A.wrapException(A.IterableElementError_noElement());
26188 return this.elementAt$1(0, 0);
26189 },
26190 get$last(_) {
26191 var _this = this;
26192 if (_this.get$length(_this) === 0)
26193 throw A.wrapException(A.IterableElementError_noElement());
26194 return _this.elementAt$1(0, _this.get$length(_this) - 1);
26195 },
26196 get$single(_) {
26197 var _this = this;
26198 if (_this.get$length(_this) === 0)
26199 throw A.wrapException(A.IterableElementError_noElement());
26200 if (_this.get$length(_this) > 1)
26201 throw A.wrapException(A.IterableElementError_tooMany());
26202 return _this.elementAt$1(0, 0);
26203 },
26204 contains$1(_, element) {
26205 var i, _this = this,
26206 $length = _this.get$length(_this);
26207 for (i = 0; i < $length; ++i) {
26208 if (J.$eq$(_this.elementAt$1(0, i), element))
26209 return true;
26210 if ($length !== _this.get$length(_this))
26211 throw A.wrapException(A.ConcurrentModificationError$(_this));
26212 }
26213 return false;
26214 },
26215 any$1(_, test) {
26216 var i, _this = this,
26217 $length = _this.get$length(_this);
26218 for (i = 0; i < $length; ++i) {
26219 if (test.call$1(_this.elementAt$1(0, i)))
26220 return true;
26221 if ($length !== _this.get$length(_this))
26222 throw A.wrapException(A.ConcurrentModificationError$(_this));
26223 }
26224 return false;
26225 },
26226 join$1(_, separator) {
26227 var first, t1, i, _this = this,
26228 $length = _this.get$length(_this);
26229 if (separator.length !== 0) {
26230 if ($length === 0)
26231 return "";
26232 first = A.S(_this.elementAt$1(0, 0));
26233 if ($length !== _this.get$length(_this))
26234 throw A.wrapException(A.ConcurrentModificationError$(_this));
26235 for (t1 = first, i = 1; i < $length; ++i) {
26236 t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
26237 if ($length !== _this.get$length(_this))
26238 throw A.wrapException(A.ConcurrentModificationError$(_this));
26239 }
26240 return t1.charCodeAt(0) == 0 ? t1 : t1;
26241 } else {
26242 for (i = 0, t1 = ""; i < $length; ++i) {
26243 t1 += A.S(_this.elementAt$1(0, i));
26244 if ($length !== _this.get$length(_this))
26245 throw A.wrapException(A.ConcurrentModificationError$(_this));
26246 }
26247 return t1.charCodeAt(0) == 0 ? t1 : t1;
26248 }
26249 },
26250 join$0($receiver) {
26251 return this.join$1($receiver, "");
26252 },
26253 where$1(_, test) {
26254 return this.super$Iterable$where(0, test);
26255 },
26256 map$1$1(_, toElement, $T) {
26257 return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
26258 },
26259 reduce$1(_, combine) {
26260 var value, i, _this = this,
26261 $length = _this.get$length(_this);
26262 if ($length === 0)
26263 throw A.wrapException(A.IterableElementError_noElement());
26264 value = _this.elementAt$1(0, 0);
26265 for (i = 1; i < $length; ++i) {
26266 value = combine.call$2(value, _this.elementAt$1(0, i));
26267 if ($length !== _this.get$length(_this))
26268 throw A.wrapException(A.ConcurrentModificationError$(_this));
26269 }
26270 return value;
26271 },
26272 fold$1$2(_, initialValue, combine) {
26273 var value, i, _this = this,
26274 $length = _this.get$length(_this);
26275 for (value = initialValue, i = 0; i < $length; ++i) {
26276 value = combine.call$2(value, _this.elementAt$1(0, i));
26277 if ($length !== _this.get$length(_this))
26278 throw A.wrapException(A.ConcurrentModificationError$(_this));
26279 }
26280 return value;
26281 },
26282 fold$2($receiver, initialValue, combine) {
26283 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
26284 },
26285 skip$1(_, count) {
26286 return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
26287 },
26288 take$1(_, count) {
26289 return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
26290 },
26291 toList$1$growable(_, growable) {
26292 return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
26293 },
26294 toList$0($receiver) {
26295 return this.toList$1$growable($receiver, true);
26296 },
26297 toSet$0(_) {
26298 var i, _this = this,
26299 result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
26300 for (i = 0; i < _this.get$length(_this); ++i)
26301 result.add$1(0, _this.elementAt$1(0, i));
26302 return result;
26303 }
26304 };
26305 A.SubListIterable.prototype = {
26306 SubListIterable$3(_iterable, _start, _endOrLength, $E) {
26307 var endOrLength,
26308 t1 = this._start;
26309 A.RangeError_checkNotNegative(t1, "start");
26310 endOrLength = this._endOrLength;
26311 if (endOrLength != null) {
26312 A.RangeError_checkNotNegative(endOrLength, "end");
26313 if (t1 > endOrLength)
26314 throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
26315 }
26316 },
26317 get$_endIndex() {
26318 var $length = J.get$length$asx(this.__internal$_iterable),
26319 endOrLength = this._endOrLength;
26320 if (endOrLength == null || endOrLength > $length)
26321 return $length;
26322 return endOrLength;
26323 },
26324 get$_startIndex() {
26325 var $length = J.get$length$asx(this.__internal$_iterable),
26326 t1 = this._start;
26327 if (t1 > $length)
26328 return $length;
26329 return t1;
26330 },
26331 get$length(_) {
26332 var endOrLength,
26333 $length = J.get$length$asx(this.__internal$_iterable),
26334 t1 = this._start;
26335 if (t1 >= $length)
26336 return 0;
26337 endOrLength = this._endOrLength;
26338 if (endOrLength == null || endOrLength >= $length)
26339 return $length - t1;
26340 return endOrLength - t1;
26341 },
26342 elementAt$1(_, index) {
26343 var _this = this,
26344 realIndex = _this.get$_startIndex() + index;
26345 if (index < 0 || realIndex >= _this.get$_endIndex())
26346 throw A.wrapException(A.IndexError$(index, _this, "index", null, null));
26347 return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
26348 },
26349 skip$1(_, count) {
26350 var newStart, endOrLength, _this = this;
26351 A.RangeError_checkNotNegative(count, "count");
26352 newStart = _this._start + count;
26353 endOrLength = _this._endOrLength;
26354 if (endOrLength != null && newStart >= endOrLength)
26355 return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
26356 return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
26357 },
26358 take$1(_, count) {
26359 var endOrLength, t1, newEnd, _this = this;
26360 A.RangeError_checkNotNegative(count, "count");
26361 endOrLength = _this._endOrLength;
26362 t1 = _this._start;
26363 newEnd = t1 + count;
26364 if (endOrLength == null)
26365 return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
26366 else {
26367 if (endOrLength < newEnd)
26368 return _this;
26369 return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
26370 }
26371 },
26372 toList$1$growable(_, growable) {
26373 var $length, result, i, _this = this,
26374 start = _this._start,
26375 t1 = _this.__internal$_iterable,
26376 t2 = J.getInterceptor$asx(t1),
26377 end = t2.get$length(t1),
26378 endOrLength = _this._endOrLength;
26379 if (endOrLength != null && endOrLength < end)
26380 end = endOrLength;
26381 $length = end - start;
26382 if ($length <= 0) {
26383 t1 = _this.$ti._precomputed1;
26384 return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
26385 }
26386 result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
26387 for (i = 1; i < $length; ++i) {
26388 result[i] = t2.elementAt$1(t1, start + i);
26389 if (t2.get$length(t1) < end)
26390 throw A.wrapException(A.ConcurrentModificationError$(_this));
26391 }
26392 return result;
26393 },
26394 toList$0($receiver) {
26395 return this.toList$1$growable($receiver, true);
26396 }
26397 };
26398 A.ListIterator.prototype = {
26399 get$current(_) {
26400 return A._instanceType(this)._precomputed1._as(this.__internal$_current);
26401 },
26402 moveNext$0() {
26403 var t3, _this = this,
26404 t1 = _this.__internal$_iterable,
26405 t2 = J.getInterceptor$asx(t1),
26406 $length = t2.get$length(t1);
26407 if (_this.__internal$_length !== $length)
26408 throw A.wrapException(A.ConcurrentModificationError$(t1));
26409 t3 = _this.__internal$_index;
26410 if (t3 >= $length) {
26411 _this.__internal$_current = null;
26412 return false;
26413 }
26414 _this.__internal$_current = t2.elementAt$1(t1, t3);
26415 ++_this.__internal$_index;
26416 return true;
26417 }
26418 };
26419 A.MappedIterable.prototype = {
26420 get$iterator(_) {
26421 return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26422 },
26423 get$length(_) {
26424 return J.get$length$asx(this.__internal$_iterable);
26425 },
26426 get$isEmpty(_) {
26427 return J.get$isEmpty$asx(this.__internal$_iterable);
26428 },
26429 get$first(_) {
26430 return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
26431 },
26432 get$last(_) {
26433 return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
26434 },
26435 get$single(_) {
26436 return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
26437 },
26438 elementAt$1(_, index) {
26439 return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
26440 }
26441 };
26442 A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
26443 A.MappedIterator.prototype = {
26444 moveNext$0() {
26445 var _this = this,
26446 t1 = _this._iterator;
26447 if (t1.moveNext$0()) {
26448 _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
26449 return true;
26450 }
26451 _this.__internal$_current = null;
26452 return false;
26453 },
26454 get$current(_) {
26455 return A._instanceType(this)._rest[1]._as(this.__internal$_current);
26456 }
26457 };
26458 A.MappedListIterable.prototype = {
26459 get$length(_) {
26460 return J.get$length$asx(this._source);
26461 },
26462 elementAt$1(_, index) {
26463 return this._f.call$1(J.elementAt$1$ax(this._source, index));
26464 }
26465 };
26466 A.WhereIterable.prototype = {
26467 get$iterator(_) {
26468 return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26469 },
26470 map$1$1(_, toElement, $T) {
26471 return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
26472 }
26473 };
26474 A.WhereIterator.prototype = {
26475 moveNext$0() {
26476 var t1, t2;
26477 for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
26478 if (t2.call$1(t1.get$current(t1)))
26479 return true;
26480 return false;
26481 },
26482 get$current(_) {
26483 var t1 = this._iterator;
26484 return t1.get$current(t1);
26485 }
26486 };
26487 A.ExpandIterable.prototype = {
26488 get$iterator(_) {
26489 return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator);
26490 }
26491 };
26492 A.ExpandIterator.prototype = {
26493 get$current(_) {
26494 return A._instanceType(this)._rest[1]._as(this.__internal$_current);
26495 },
26496 moveNext$0() {
26497 var t2, t3, _this = this,
26498 t1 = _this._currentExpansion;
26499 if (t1 == null)
26500 return false;
26501 for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
26502 _this.__internal$_current = null;
26503 if (t2.moveNext$0()) {
26504 _this._currentExpansion = null;
26505 t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
26506 _this._currentExpansion = t1;
26507 } else
26508 return false;
26509 }
26510 t1 = _this._currentExpansion;
26511 _this.__internal$_current = t1.get$current(t1);
26512 return true;
26513 }
26514 };
26515 A.TakeIterable.prototype = {
26516 get$iterator(_) {
26517 return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount);
26518 }
26519 };
26520 A.EfficientLengthTakeIterable.prototype = {
26521 get$length(_) {
26522 var iterableLength = J.get$length$asx(this.__internal$_iterable),
26523 t1 = this._takeCount;
26524 if (iterableLength > t1)
26525 return t1;
26526 return iterableLength;
26527 },
26528 $isEfficientLengthIterable: 1
26529 };
26530 A.TakeIterator.prototype = {
26531 moveNext$0() {
26532 if (--this._remaining >= 0)
26533 return this._iterator.moveNext$0();
26534 this._remaining = -1;
26535 return false;
26536 },
26537 get$current(_) {
26538 var t1;
26539 if (this._remaining < 0)
26540 return A._instanceType(this)._precomputed1._as(null);
26541 t1 = this._iterator;
26542 return t1.get$current(t1);
26543 }
26544 };
26545 A.SkipIterable.prototype = {
26546 skip$1(_, count) {
26547 A.ArgumentError_checkNotNull(count, "count");
26548 A.RangeError_checkNotNegative(count, "count");
26549 return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
26550 },
26551 get$iterator(_) {
26552 return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
26553 }
26554 };
26555 A.EfficientLengthSkipIterable.prototype = {
26556 get$length(_) {
26557 var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
26558 if ($length >= 0)
26559 return $length;
26560 return 0;
26561 },
26562 skip$1(_, count) {
26563 A.ArgumentError_checkNotNull(count, "count");
26564 A.RangeError_checkNotNegative(count, "count");
26565 return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
26566 },
26567 $isEfficientLengthIterable: 1
26568 };
26569 A.SkipIterator.prototype = {
26570 moveNext$0() {
26571 var t1, i;
26572 for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
26573 t1.moveNext$0();
26574 this._skipCount = 0;
26575 return t1.moveNext$0();
26576 },
26577 get$current(_) {
26578 var t1 = this._iterator;
26579 return t1.get$current(t1);
26580 }
26581 };
26582 A.SkipWhileIterable.prototype = {
26583 get$iterator(_) {
26584 return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26585 }
26586 };
26587 A.SkipWhileIterator.prototype = {
26588 moveNext$0() {
26589 var t1, t2, _this = this;
26590 if (!_this._hasSkipped) {
26591 _this._hasSkipped = true;
26592 for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
26593 if (!t2.call$1(t1.get$current(t1)))
26594 return true;
26595 }
26596 return _this._iterator.moveNext$0();
26597 },
26598 get$current(_) {
26599 var t1 = this._iterator;
26600 return t1.get$current(t1);
26601 }
26602 };
26603 A.EmptyIterable.prototype = {
26604 get$iterator(_) {
26605 return B.C_EmptyIterator;
26606 },
26607 get$isEmpty(_) {
26608 return true;
26609 },
26610 get$length(_) {
26611 return 0;
26612 },
26613 get$first(_) {
26614 throw A.wrapException(A.IterableElementError_noElement());
26615 },
26616 get$last(_) {
26617 throw A.wrapException(A.IterableElementError_noElement());
26618 },
26619 get$single(_) {
26620 throw A.wrapException(A.IterableElementError_noElement());
26621 },
26622 elementAt$1(_, index) {
26623 throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
26624 },
26625 contains$1(_, element) {
26626 return false;
26627 },
26628 join$1(_, separator) {
26629 return "";
26630 },
26631 join$0($receiver) {
26632 return this.join$1($receiver, "");
26633 },
26634 where$1(_, test) {
26635 return this;
26636 },
26637 map$1$1(_, toElement, $T) {
26638 return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
26639 },
26640 skip$1(_, count) {
26641 A.RangeError_checkNotNegative(count, "count");
26642 return this;
26643 },
26644 take$1(_, count) {
26645 A.RangeError_checkNotNegative(count, "count");
26646 return this;
26647 },
26648 toList$1$growable(_, growable) {
26649 var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
26650 return t1;
26651 },
26652 toList$0($receiver) {
26653 return this.toList$1$growable($receiver, true);
26654 },
26655 toSet$0(_) {
26656 return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
26657 }
26658 };
26659 A.EmptyIterator.prototype = {
26660 moveNext$0() {
26661 return false;
26662 },
26663 get$current(_) {
26664 throw A.wrapException(A.IterableElementError_noElement());
26665 }
26666 };
26667 A.FollowedByIterable.prototype = {
26668 get$iterator(_) {
26669 return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
26670 },
26671 get$length(_) {
26672 var t1 = this._second;
26673 return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
26674 },
26675 get$isEmpty(_) {
26676 var t1;
26677 if (J.get$isEmpty$asx(this.__internal$_first)) {
26678 t1 = this._second;
26679 t1 = t1.get$isEmpty(t1);
26680 } else
26681 t1 = false;
26682 return t1;
26683 },
26684 get$isNotEmpty(_) {
26685 var t1;
26686 if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
26687 t1 = this._second;
26688 t1 = t1.get$isNotEmpty(t1);
26689 } else
26690 t1 = true;
26691 return t1;
26692 },
26693 contains$1(_, value) {
26694 var t1;
26695 if (!J.contains$1$asx(this.__internal$_first, value)) {
26696 t1 = this._second;
26697 t1 = t1.contains$1(t1, value);
26698 } else
26699 t1 = true;
26700 return t1;
26701 },
26702 get$first(_) {
26703 var t1,
26704 iterator = J.get$iterator$ax(this.__internal$_first);
26705 if (iterator.moveNext$0())
26706 return iterator.get$current(iterator);
26707 t1 = this._second;
26708 return t1.get$first(t1);
26709 },
26710 get$last(_) {
26711 var last,
26712 t1 = this._second,
26713 iterator = t1.get$iterator(t1);
26714 if (iterator.moveNext$0()) {
26715 last = iterator.get$current(iterator);
26716 for (; iterator.moveNext$0();)
26717 last = iterator.get$current(iterator);
26718 return last;
26719 }
26720 return J.get$last$ax(this.__internal$_first);
26721 }
26722 };
26723 A.EfficientLengthFollowedByIterable.prototype = {
26724 elementAt$1(_, index) {
26725 var t1 = this.__internal$_first,
26726 t2 = J.getInterceptor$asx(t1),
26727 firstLength = t2.get$length(t1);
26728 if (index < firstLength)
26729 return t2.elementAt$1(t1, index);
26730 t1 = this._second;
26731 return t1.elementAt$1(t1, index - firstLength);
26732 },
26733 get$first(_) {
26734 var t1 = this.__internal$_first,
26735 t2 = J.getInterceptor$asx(t1);
26736 if (t2.get$isNotEmpty(t1))
26737 return t2.get$first(t1);
26738 t1 = this._second;
26739 return t1.get$first(t1);
26740 },
26741 get$last(_) {
26742 var t1 = this._second;
26743 if (t1.get$isNotEmpty(t1))
26744 return t1.get$last(t1);
26745 return J.get$last$ax(this.__internal$_first);
26746 },
26747 $isEfficientLengthIterable: 1
26748 };
26749 A.FollowedByIterator.prototype = {
26750 moveNext$0() {
26751 var t1, _this = this;
26752 if (_this._currentIterator.moveNext$0())
26753 return true;
26754 t1 = _this._nextIterable;
26755 if (t1 != null) {
26756 t1 = t1.get$iterator(t1);
26757 _this._currentIterator = t1;
26758 _this._nextIterable = null;
26759 return t1.moveNext$0();
26760 }
26761 return false;
26762 },
26763 get$current(_) {
26764 var t1 = this._currentIterator;
26765 return t1.get$current(t1);
26766 }
26767 };
26768 A.WhereTypeIterable.prototype = {
26769 get$iterator(_) {
26770 return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
26771 }
26772 };
26773 A.WhereTypeIterator.prototype = {
26774 moveNext$0() {
26775 var t1, t2;
26776 for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
26777 if (t2._is(t1.get$current(t1)))
26778 return true;
26779 return false;
26780 },
26781 get$current(_) {
26782 var t1 = this._source;
26783 return this.$ti._precomputed1._as(t1.get$current(t1));
26784 }
26785 };
26786 A.FixedLengthListMixin.prototype = {
26787 set$length(receiver, newLength) {
26788 throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
26789 },
26790 add$1(receiver, value) {
26791 throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
26792 }
26793 };
26794 A.UnmodifiableListMixin.prototype = {
26795 $indexSet(_, index, value) {
26796 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26797 },
26798 set$length(_, newLength) {
26799 throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
26800 },
26801 add$1(_, value) {
26802 throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
26803 },
26804 sort$1(_, compare) {
26805 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26806 },
26807 setRange$4(_, start, end, iterable, skipCount) {
26808 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26809 },
26810 fillRange$3(_, start, end, fillValue) {
26811 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26812 }
26813 };
26814 A.UnmodifiableListBase.prototype = {};
26815 A.ReversedListIterable.prototype = {
26816 get$length(_) {
26817 return J.get$length$asx(this._source);
26818 },
26819 elementAt$1(_, index) {
26820 var t1 = this._source,
26821 t2 = J.getInterceptor$asx(t1);
26822 return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
26823 }
26824 };
26825 A.Symbol.prototype = {
26826 get$hashCode(_) {
26827 var hash = this._hashCode;
26828 if (hash != null)
26829 return hash;
26830 hash = 664597 * J.get$hashCode$(this.__internal$_name) & 536870911;
26831 this._hashCode = hash;
26832 return hash;
26833 },
26834 toString$0(_) {
26835 return 'Symbol("' + A.S(this.__internal$_name) + '")';
26836 },
26837 $eq(_, other) {
26838 if (other == null)
26839 return false;
26840 return other instanceof A.Symbol && this.__internal$_name == other.__internal$_name;
26841 },
26842 $isSymbol0: 1
26843 };
26844 A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
26845 A.ConstantMapView.prototype = {};
26846 A.ConstantMap.prototype = {
26847 cast$2$0(_, RK, RV) {
26848 var t1 = A._instanceType(this);
26849 return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
26850 },
26851 get$isEmpty(_) {
26852 return this.get$length(this) === 0;
26853 },
26854 get$isNotEmpty(_) {
26855 return this.get$length(this) !== 0;
26856 },
26857 toString$0(_) {
26858 return A.MapBase_mapToString(this);
26859 },
26860 $indexSet(_, key, val) {
26861 A.ConstantMap__throwUnmodifiable();
26862 },
26863 remove$1(_, key) {
26864 A.ConstantMap__throwUnmodifiable();
26865 },
26866 addAll$1(_, other) {
26867 A.ConstantMap__throwUnmodifiable();
26868 },
26869 get$entries(_) {
26870 return this.entries$body$ConstantMap(0, A._instanceType(this)._eval$1("MapEntry<1,2>"));
26871 },
26872 entries$body$ConstantMap($async$_, $async$type) {
26873 var $async$self = this;
26874 return A._makeSyncStarIterable(function() {
26875 var _ = $async$_;
26876 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key;
26877 return function $async$get$entries($async$errorCode, $async$result) {
26878 if ($async$errorCode === 1) {
26879 $async$currentError = $async$result;
26880 $async$goto = $async$handler;
26881 }
26882 while (true)
26883 switch ($async$goto) {
26884 case 0:
26885 // Function start
26886 t1 = $async$self.get$keys($async$self), t1 = t1.get$iterator(t1), t2 = A._instanceType($async$self), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapEntry<1,2>");
26887 case 2:
26888 // for condition
26889 if (!t1.moveNext$0()) {
26890 // goto after for
26891 $async$goto = 3;
26892 break;
26893 }
26894 key = t1.get$current(t1);
26895 $async$goto = 4;
26896 return new A.MapEntry(key, $async$self.$index(0, key), t2);
26897 case 4:
26898 // after yield
26899 // goto for condition
26900 $async$goto = 2;
26901 break;
26902 case 3:
26903 // after for
26904 // implicit return
26905 return A._IterationMarker_endOfIteration();
26906 case 1:
26907 // rethrow
26908 return A._IterationMarker_uncaughtError($async$currentError);
26909 }
26910 };
26911 }, $async$type);
26912 },
26913 $isMap: 1
26914 };
26915 A.ConstantStringMap.prototype = {
26916 get$length(_) {
26917 return this.__js_helper$_length;
26918 },
26919 containsKey$1(key) {
26920 if (typeof key != "string")
26921 return false;
26922 if ("__proto__" === key)
26923 return false;
26924 return this._jsObject.hasOwnProperty(key);
26925 },
26926 $index(_, key) {
26927 if (!this.containsKey$1(key))
26928 return null;
26929 return this._jsObject[key];
26930 },
26931 forEach$1(_, f) {
26932 var t1, t2, i, key,
26933 keys = this.__js_helper$_keys;
26934 for (t1 = keys.length, t2 = this._jsObject, i = 0; i < t1; ++i) {
26935 key = keys[i];
26936 f.call$2(key, t2[key]);
26937 }
26938 },
26939 get$keys(_) {
26940 return new A._ConstantMapKeyIterable(this, this.$ti._eval$1("_ConstantMapKeyIterable<1>"));
26941 },
26942 get$values(_) {
26943 var t1 = this.$ti;
26944 return A.MappedIterable_MappedIterable(this.__js_helper$_keys, new A.ConstantStringMap_values_closure(this), t1._precomputed1, t1._rest[1]);
26945 }
26946 };
26947 A.ConstantStringMap_values_closure.prototype = {
26948 call$1(key) {
26949 return this.$this._jsObject[key];
26950 },
26951 $signature() {
26952 return this.$this.$ti._eval$1("2(1)");
26953 }
26954 };
26955 A._ConstantMapKeyIterable.prototype = {
26956 get$iterator(_) {
26957 var t1 = this.__js_helper$_map.__js_helper$_keys;
26958 return new J.ArrayIterator(t1, t1.length);
26959 },
26960 get$length(_) {
26961 return this.__js_helper$_map.__js_helper$_keys.length;
26962 }
26963 };
26964 A.Instantiation.prototype = {
26965 Instantiation$1(_genericClosure) {
26966 if (false)
26967 A.instantiatedGenericFunctionType(0, 0);
26968 },
26969 $eq(_, other) {
26970 if (other == null)
26971 return false;
26972 return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeType(this) === A.getRuntimeType(other);
26973 },
26974 get$hashCode(_) {
26975 return A.Object_hash(this._genericClosure, A.getRuntimeType(this), B.C_SentinelValue);
26976 },
26977 toString$0(_) {
26978 var types = "<" + B.JSArray_methods.join$1(this.get$_types(), ", ") + ">";
26979 return this._genericClosure.toString$0(0) + " with " + types;
26980 }
26981 };
26982 A.Instantiation1.prototype = {
26983 get$_types() {
26984 return [A.createRuntimeType(this.$ti._precomputed1)];
26985 },
26986 call$0() {
26987 return this._genericClosure.call$1$0(this.$ti._rest[0]);
26988 },
26989 call$2(a0, a1) {
26990 return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
26991 },
26992 call$3(a0, a1, a2) {
26993 return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
26994 },
26995 call$4(a0, a1, a2, a3) {
26996 return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
26997 },
26998 $signature() {
26999 return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
27000 }
27001 };
27002 A.JSInvocationMirror.prototype = {
27003 get$memberName() {
27004 var t1 = this.__js_helper$_memberName;
27005 return t1;
27006 },
27007 get$positionalArguments() {
27008 var t1, argumentCount, list, index, _this = this;
27009 if (_this.__js_helper$_kind === 1)
27010 return B.List_empty9;
27011 t1 = _this._arguments;
27012 argumentCount = t1.length - _this._namedArgumentNames.length - _this._typeArgumentCount;
27013 if (argumentCount === 0)
27014 return B.List_empty9;
27015 list = [];
27016 for (index = 0; index < argumentCount; ++index)
27017 list.push(t1[index]);
27018 return J.JSArray_markUnmodifiableList(list);
27019 },
27020 get$namedArguments() {
27021 var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, _this = this;
27022 if (_this.__js_helper$_kind !== 0)
27023 return B.Map_empty4;
27024 t1 = _this._namedArgumentNames;
27025 namedArgumentCount = t1.length;
27026 t2 = _this._arguments;
27027 namedArgumentsStartIndex = t2.length - namedArgumentCount - _this._typeArgumentCount;
27028 if (namedArgumentCount === 0)
27029 return B.Map_empty4;
27030 map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
27031 for (i = 0; i < namedArgumentCount; ++i)
27032 map.$indexSet(0, new A.Symbol(t1[i]), t2[namedArgumentsStartIndex + i]);
27033 return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
27034 }
27035 };
27036 A.Primitives_functionNoSuchMethod_closure.prototype = {
27037 call$2($name, argument) {
27038 var t1 = this._box_0;
27039 t1.names = t1.names + "$" + $name;
27040 this.namedArgumentList.push($name);
27041 this.$arguments.push(argument);
27042 ++t1.argumentCount;
27043 },
27044 $signature: 255
27045 };
27046 A.TypeErrorDecoder.prototype = {
27047 matchTypeError$1(message) {
27048 var result, t1, _this = this,
27049 match = new RegExp(_this._pattern).exec(message);
27050 if (match == null)
27051 return null;
27052 result = Object.create(null);
27053 t1 = _this._arguments;
27054 if (t1 !== -1)
27055 result.arguments = match[t1 + 1];
27056 t1 = _this._argumentsExpr;
27057 if (t1 !== -1)
27058 result.argumentsExpr = match[t1 + 1];
27059 t1 = _this._expr;
27060 if (t1 !== -1)
27061 result.expr = match[t1 + 1];
27062 t1 = _this._method;
27063 if (t1 !== -1)
27064 result.method = match[t1 + 1];
27065 t1 = _this._receiver;
27066 if (t1 !== -1)
27067 result.receiver = match[t1 + 1];
27068 return result;
27069 }
27070 };
27071 A.NullError.prototype = {
27072 toString$0(_) {
27073 var t1 = this._method;
27074 if (t1 == null)
27075 return "NoSuchMethodError: " + this.__js_helper$_message;
27076 return "NoSuchMethodError: method not found: '" + t1 + "' on null";
27077 }
27078 };
27079 A.JsNoSuchMethodError.prototype = {
27080 toString$0(_) {
27081 var t2, _this = this,
27082 _s38_ = "NoSuchMethodError: method not found: '",
27083 t1 = _this._method;
27084 if (t1 == null)
27085 return "NoSuchMethodError: " + _this.__js_helper$_message;
27086 t2 = _this._receiver;
27087 if (t2 == null)
27088 return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
27089 return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
27090 }
27091 };
27092 A.UnknownJsTypeError.prototype = {
27093 toString$0(_) {
27094 var t1 = this.__js_helper$_message;
27095 return t1.length === 0 ? "Error" : "Error: " + t1;
27096 }
27097 };
27098 A.NullThrownFromJavaScriptException.prototype = {
27099 toString$0(_) {
27100 return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
27101 },
27102 $isException: 1
27103 };
27104 A.ExceptionAndStackTrace.prototype = {};
27105 A._StackTrace.prototype = {
27106 toString$0(_) {
27107 var trace,
27108 t1 = this._trace;
27109 if (t1 != null)
27110 return t1;
27111 t1 = this._exception;
27112 trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
27113 return this._trace = trace == null ? "" : trace;
27114 },
27115 $isStackTrace: 1
27116 };
27117 A.Closure.prototype = {
27118 toString$0(_) {
27119 var $constructor = this.constructor,
27120 $name = $constructor == null ? null : $constructor.name;
27121 return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
27122 },
27123 $isFunction: 1,
27124 get$$call() {
27125 return this;
27126 },
27127 "call*": "call$1",
27128 $requiredArgCount: 1,
27129 $defaultValues: null
27130 };
27131 A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
27132 A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
27133 A.TearOffClosure.prototype = {};
27134 A.StaticClosure.prototype = {
27135 toString$0(_) {
27136 var $name = this.$static_name;
27137 if ($name == null)
27138 return "Closure of unknown static method";
27139 return "Closure '" + A.unminifyOrTag($name) + "'";
27140 }
27141 };
27142 A.BoundClosure.prototype = {
27143 $eq(_, other) {
27144 if (other == null)
27145 return false;
27146 if (this === other)
27147 return true;
27148 if (!(other instanceof A.BoundClosure))
27149 return false;
27150 return this.$_target === other.$_target && this._receiver === other._receiver;
27151 },
27152 get$hashCode(_) {
27153 return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
27154 },
27155 toString$0(_) {
27156 return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
27157 }
27158 };
27159 A.RuntimeError.prototype = {
27160 toString$0(_) {
27161 return "RuntimeError: " + this.message;
27162 },
27163 get$message(receiver) {
27164 return this.message;
27165 }
27166 };
27167 A._Required.prototype = {};
27168 A.JsLinkedHashMap.prototype = {
27169 get$length(_) {
27170 return this.__js_helper$_length;
27171 },
27172 get$isEmpty(_) {
27173 return this.__js_helper$_length === 0;
27174 },
27175 get$isNotEmpty(_) {
27176 return !this.get$isEmpty(this);
27177 },
27178 get$keys(_) {
27179 return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"));
27180 },
27181 get$values(_) {
27182 var _this = this,
27183 t1 = A._instanceType(_this);
27184 return A.MappedIterable_MappedIterable(_this.get$keys(_this), new A.JsLinkedHashMap_values_closure(_this), t1._precomputed1, t1._rest[1]);
27185 },
27186 containsKey$1(key) {
27187 var strings, nums, _this = this;
27188 if (typeof key == "string") {
27189 strings = _this._strings;
27190 if (strings == null)
27191 return false;
27192 return _this._containsTableEntry$2(strings, key);
27193 } else if (typeof key == "number" && (key & 0x3ffffff) === key) {
27194 nums = _this._nums;
27195 if (nums == null)
27196 return false;
27197 return _this._containsTableEntry$2(nums, key);
27198 } else
27199 return _this.internalContainsKey$1(key);
27200 },
27201 internalContainsKey$1(key) {
27202 var _this = this,
27203 rest = _this.__js_helper$_rest;
27204 if (rest == null)
27205 return false;
27206 return _this.internalFindBucketIndex$2(_this._getTableBucket$2(rest, _this.internalComputeHashCode$1(key)), key) >= 0;
27207 },
27208 addAll$1(_, other) {
27209 other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
27210 },
27211 $index(_, key) {
27212 var strings, cell, t1, nums, _this = this, _null = null;
27213 if (typeof key == "string") {
27214 strings = _this._strings;
27215 if (strings == null)
27216 return _null;
27217 cell = _this._getTableCell$2(strings, key);
27218 t1 = cell == null ? _null : cell.hashMapCellValue;
27219 return t1;
27220 } else if (typeof key == "number" && (key & 0x3ffffff) === key) {
27221 nums = _this._nums;
27222 if (nums == null)
27223 return _null;
27224 cell = _this._getTableCell$2(nums, key);
27225 t1 = cell == null ? _null : cell.hashMapCellValue;
27226 return t1;
27227 } else
27228 return _this.internalGet$1(key);
27229 },
27230 internalGet$1(key) {
27231 var bucket, index, _this = this,
27232 rest = _this.__js_helper$_rest;
27233 if (rest == null)
27234 return null;
27235 bucket = _this._getTableBucket$2(rest, _this.internalComputeHashCode$1(key));
27236 index = _this.internalFindBucketIndex$2(bucket, key);
27237 if (index < 0)
27238 return null;
27239 return bucket[index].hashMapCellValue;
27240 },
27241 $indexSet(_, key, value) {
27242 var strings, nums, _this = this;
27243 if (typeof key == "string") {
27244 strings = _this._strings;
27245 _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
27246 } else if (typeof key == "number" && (key & 0x3ffffff) === key) {
27247 nums = _this._nums;
27248 _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
27249 } else
27250 _this.internalSet$2(key, value);
27251 },
27252 internalSet$2(key, value) {
27253 var hash, bucket, index, _this = this,
27254 rest = _this.__js_helper$_rest;
27255 if (rest == null)
27256 rest = _this.__js_helper$_rest = _this._newHashTable$0();
27257 hash = _this.internalComputeHashCode$1(key);
27258 bucket = _this._getTableBucket$2(rest, hash);
27259 if (bucket == null)
27260 _this._setTableEntry$3(rest, hash, [_this._newLinkedCell$2(key, value)]);
27261 else {
27262 index = _this.internalFindBucketIndex$2(bucket, key);
27263 if (index >= 0)
27264 bucket[index].hashMapCellValue = value;
27265 else
27266 bucket.push(_this._newLinkedCell$2(key, value));
27267 }
27268 },
27269 putIfAbsent$2(key, ifAbsent) {
27270 var value, _this = this;
27271 if (_this.containsKey$1(key))
27272 return A._instanceType(_this)._rest[1]._as(_this.$index(0, key));
27273 value = ifAbsent.call$0();
27274 _this.$indexSet(0, key, value);
27275 return value;
27276 },
27277 remove$1(_, key) {
27278 var _this = this;
27279 if (typeof key == "string")
27280 return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
27281 else if (typeof key == "number" && (key & 0x3ffffff) === key)
27282 return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
27283 else
27284 return _this.internalRemove$1(key);
27285 },
27286 internalRemove$1(key) {
27287 var hash, bucket, index, cell, _this = this,
27288 rest = _this.__js_helper$_rest;
27289 if (rest == null)
27290 return null;
27291 hash = _this.internalComputeHashCode$1(key);
27292 bucket = _this._getTableBucket$2(rest, hash);
27293 index = _this.internalFindBucketIndex$2(bucket, key);
27294 if (index < 0)
27295 return null;
27296 cell = bucket.splice(index, 1)[0];
27297 _this.__js_helper$_unlinkCell$1(cell);
27298 if (bucket.length === 0)
27299 _this._deleteTableEntry$2(rest, hash);
27300 return cell.hashMapCellValue;
27301 },
27302 clear$0(_) {
27303 var _this = this;
27304 if (_this.__js_helper$_length > 0) {
27305 _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
27306 _this.__js_helper$_length = 0;
27307 _this._modified$0();
27308 }
27309 },
27310 forEach$1(_, action) {
27311 var _this = this,
27312 cell = _this._first,
27313 modifications = _this._modifications;
27314 for (; cell != null;) {
27315 action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
27316 if (modifications !== _this._modifications)
27317 throw A.wrapException(A.ConcurrentModificationError$(_this));
27318 cell = cell._next;
27319 }
27320 },
27321 _addHashTableEntry$3(table, key, value) {
27322 var cell = this._getTableCell$2(table, key);
27323 if (cell == null)
27324 this._setTableEntry$3(table, key, this._newLinkedCell$2(key, value));
27325 else
27326 cell.hashMapCellValue = value;
27327 },
27328 __js_helper$_removeHashTableEntry$2(table, key) {
27329 var cell;
27330 if (table == null)
27331 return null;
27332 cell = this._getTableCell$2(table, key);
27333 if (cell == null)
27334 return null;
27335 this.__js_helper$_unlinkCell$1(cell);
27336 this._deleteTableEntry$2(table, key);
27337 return cell.hashMapCellValue;
27338 },
27339 _modified$0() {
27340 this._modifications = this._modifications + 1 & 67108863;
27341 },
27342 _newLinkedCell$2(key, value) {
27343 var t1, _this = this,
27344 cell = new A.LinkedHashMapCell(key, value);
27345 if (_this._first == null)
27346 _this._first = _this._last = cell;
27347 else {
27348 t1 = _this._last;
27349 t1.toString;
27350 cell._previous = t1;
27351 _this._last = t1._next = cell;
27352 }
27353 ++_this.__js_helper$_length;
27354 _this._modified$0();
27355 return cell;
27356 },
27357 __js_helper$_unlinkCell$1(cell) {
27358 var _this = this,
27359 previous = cell._previous,
27360 next = cell._next;
27361 if (previous == null)
27362 _this._first = next;
27363 else
27364 previous._next = next;
27365 if (next == null)
27366 _this._last = previous;
27367 else
27368 next._previous = previous;
27369 --_this.__js_helper$_length;
27370 _this._modified$0();
27371 },
27372 internalComputeHashCode$1(key) {
27373 return J.get$hashCode$(key) & 0x3ffffff;
27374 },
27375 internalFindBucketIndex$2(bucket, key) {
27376 var $length, i;
27377 if (bucket == null)
27378 return -1;
27379 $length = bucket.length;
27380 for (i = 0; i < $length; ++i)
27381 if (J.$eq$(bucket[i].hashMapCellKey, key))
27382 return i;
27383 return -1;
27384 },
27385 toString$0(_) {
27386 return A.MapBase_mapToString(this);
27387 },
27388 _getTableCell$2(table, key) {
27389 return table[key];
27390 },
27391 _getTableBucket$2(table, key) {
27392 return table[key];
27393 },
27394 _setTableEntry$3(table, key, value) {
27395 table[key] = value;
27396 },
27397 _deleteTableEntry$2(table, key) {
27398 delete table[key];
27399 },
27400 _containsTableEntry$2(table, key) {
27401 return this._getTableCell$2(table, key) != null;
27402 },
27403 _newHashTable$0() {
27404 var _s20_ = "<non-identifier-key>",
27405 table = Object.create(null);
27406 this._setTableEntry$3(table, _s20_, table);
27407 this._deleteTableEntry$2(table, _s20_);
27408 return table;
27409 }
27410 };
27411 A.JsLinkedHashMap_values_closure.prototype = {
27412 call$1(each) {
27413 var t1 = this.$this;
27414 return A._instanceType(t1)._rest[1]._as(t1.$index(0, each));
27415 },
27416 $signature() {
27417 return A._instanceType(this.$this)._eval$1("2(1)");
27418 }
27419 };
27420 A.JsLinkedHashMap_addAll_closure.prototype = {
27421 call$2(key, value) {
27422 this.$this.$indexSet(0, key, value);
27423 },
27424 $signature() {
27425 return A._instanceType(this.$this)._eval$1("~(1,2)");
27426 }
27427 };
27428 A.LinkedHashMapCell.prototype = {};
27429 A.LinkedHashMapKeyIterable.prototype = {
27430 get$length(_) {
27431 return this.__js_helper$_map.__js_helper$_length;
27432 },
27433 get$isEmpty(_) {
27434 return this.__js_helper$_map.__js_helper$_length === 0;
27435 },
27436 get$iterator(_) {
27437 var t1 = this.__js_helper$_map,
27438 t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications);
27439 t2._cell = t1._first;
27440 return t2;
27441 },
27442 contains$1(_, element) {
27443 return this.__js_helper$_map.containsKey$1(element);
27444 }
27445 };
27446 A.LinkedHashMapKeyIterator.prototype = {
27447 get$current(_) {
27448 return this.__js_helper$_current;
27449 },
27450 moveNext$0() {
27451 var cell, _this = this,
27452 t1 = _this.__js_helper$_map;
27453 if (_this._modifications !== t1._modifications)
27454 throw A.wrapException(A.ConcurrentModificationError$(t1));
27455 cell = _this._cell;
27456 if (cell == null) {
27457 _this.__js_helper$_current = null;
27458 return false;
27459 } else {
27460 _this.__js_helper$_current = cell.hashMapCellKey;
27461 _this._cell = cell._next;
27462 return true;
27463 }
27464 }
27465 };
27466 A.initHooks_closure.prototype = {
27467 call$1(o) {
27468 return this.getTag(o);
27469 },
27470 $signature: 78
27471 };
27472 A.initHooks_closure0.prototype = {
27473 call$2(o, tag) {
27474 return this.getUnknownTag(o, tag);
27475 },
27476 $signature: 590
27477 };
27478 A.initHooks_closure1.prototype = {
27479 call$1(tag) {
27480 return this.prototypeForTag(tag);
27481 },
27482 $signature: 363
27483 };
27484 A.JSSyntaxRegExp.prototype = {
27485 toString$0(_) {
27486 return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
27487 },
27488 get$_nativeGlobalVersion() {
27489 var _this = this,
27490 t1 = _this._nativeGlobalRegExp;
27491 if (t1 != null)
27492 return t1;
27493 t1 = _this._nativeRegExp;
27494 return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
27495 },
27496 get$_nativeAnchoredVersion() {
27497 var _this = this,
27498 t1 = _this._nativeAnchoredRegExp;
27499 if (t1 != null)
27500 return t1;
27501 t1 = _this._nativeRegExp;
27502 return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
27503 },
27504 firstMatch$1(string) {
27505 var m = this._nativeRegExp.exec(string);
27506 if (m == null)
27507 return null;
27508 return new A._MatchImplementation(m);
27509 },
27510 allMatches$2(_, string, start) {
27511 var t1 = string.length;
27512 if (start > t1)
27513 throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
27514 return new A._AllMatchesIterable(this, string, start);
27515 },
27516 allMatches$1($receiver, string) {
27517 return this.allMatches$2($receiver, string, 0);
27518 },
27519 _execGlobal$2(string, start) {
27520 var match,
27521 regexp = this.get$_nativeGlobalVersion();
27522 regexp.lastIndex = start;
27523 match = regexp.exec(string);
27524 if (match == null)
27525 return null;
27526 return new A._MatchImplementation(match);
27527 },
27528 _execAnchored$2(string, start) {
27529 var match,
27530 regexp = this.get$_nativeAnchoredVersion();
27531 regexp.lastIndex = start;
27532 match = regexp.exec(string);
27533 if (match == null)
27534 return null;
27535 if (match.pop() != null)
27536 return null;
27537 return new A._MatchImplementation(match);
27538 },
27539 matchAsPrefix$2(_, string, start) {
27540 if (start < 0 || start > string.length)
27541 throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
27542 return this._execAnchored$2(string, start);
27543 }
27544 };
27545 A._MatchImplementation.prototype = {
27546 get$start(_) {
27547 return this._match.index;
27548 },
27549 get$end(_) {
27550 var t1 = this._match;
27551 return t1.index + t1[0].length;
27552 },
27553 $isMatch: 1,
27554 $isRegExpMatch: 1
27555 };
27556 A._AllMatchesIterable.prototype = {
27557 get$iterator(_) {
27558 return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start);
27559 }
27560 };
27561 A._AllMatchesIterator.prototype = {
27562 get$current(_) {
27563 return type$.RegExpMatch._as(this.__js_helper$_current);
27564 },
27565 moveNext$0() {
27566 var t1, t2, t3, match, nextIndex, _this = this,
27567 string = _this.__js_helper$_string;
27568 if (string == null)
27569 return false;
27570 t1 = _this._nextIndex;
27571 t2 = string.length;
27572 if (t1 <= t2) {
27573 t3 = _this._regExp;
27574 match = t3._execGlobal$2(string, t1);
27575 if (match != null) {
27576 _this.__js_helper$_current = match;
27577 nextIndex = match.get$end(match);
27578 if (match._match.index === nextIndex) {
27579 if (t3._nativeRegExp.unicode) {
27580 t1 = _this._nextIndex;
27581 t3 = t1 + 1;
27582 if (t3 < t2) {
27583 t1 = B.JSString_methods.codeUnitAt$1(string, t1);
27584 if (t1 >= 55296 && t1 <= 56319) {
27585 t1 = B.JSString_methods.codeUnitAt$1(string, t3);
27586 t1 = t1 >= 56320 && t1 <= 57343;
27587 } else
27588 t1 = false;
27589 } else
27590 t1 = false;
27591 } else
27592 t1 = false;
27593 nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
27594 }
27595 _this._nextIndex = nextIndex;
27596 return true;
27597 }
27598 }
27599 _this.__js_helper$_string = _this.__js_helper$_current = null;
27600 return false;
27601 }
27602 };
27603 A.StringMatch.prototype = {
27604 get$end(_) {
27605 return this.start + this.pattern.length;
27606 },
27607 $isMatch: 1,
27608 get$start(receiver) {
27609 return this.start;
27610 }
27611 };
27612 A._StringAllMatchesIterable.prototype = {
27613 get$iterator(_) {
27614 return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
27615 },
27616 get$first(_) {
27617 var t1 = this._pattern,
27618 index = this._input.indexOf(t1, this.__js_helper$_index);
27619 if (index >= 0)
27620 return new A.StringMatch(index, t1);
27621 throw A.wrapException(A.IterableElementError_noElement());
27622 }
27623 };
27624 A._StringAllMatchesIterator.prototype = {
27625 moveNext$0() {
27626 var index, end, _this = this,
27627 t1 = _this.__js_helper$_index,
27628 t2 = _this._pattern,
27629 t3 = t2.length,
27630 t4 = _this._input,
27631 t5 = t4.length;
27632 if (t1 + t3 > t5) {
27633 _this.__js_helper$_current = null;
27634 return false;
27635 }
27636 index = t4.indexOf(t2, t1);
27637 if (index < 0) {
27638 _this.__js_helper$_index = t5 + 1;
27639 _this.__js_helper$_current = null;
27640 return false;
27641 }
27642 end = index + t3;
27643 _this.__js_helper$_current = new A.StringMatch(index, t2);
27644 _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
27645 return true;
27646 },
27647 get$current(_) {
27648 var t1 = this.__js_helper$_current;
27649 t1.toString;
27650 return t1;
27651 }
27652 };
27653 A._Cell.prototype = {
27654 _readLocal$0() {
27655 var t1 = this._value;
27656 if (t1 === this)
27657 throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
27658 return t1;
27659 }
27660 };
27661 A.NativeTypedData.prototype = {
27662 _invalidPosition$3(receiver, position, $length, $name) {
27663 var t1 = A.RangeError$range(position, 0, $length, $name, null);
27664 throw A.wrapException(t1);
27665 },
27666 _checkPosition$3(receiver, position, $length, $name) {
27667 if (position >>> 0 !== position || position > $length)
27668 this._invalidPosition$3(receiver, position, $length, $name);
27669 }
27670 };
27671 A.NativeTypedArray.prototype = {
27672 get$length(receiver) {
27673 return receiver.length;
27674 },
27675 _setRangeFast$4(receiver, start, end, source, skipCount) {
27676 var count, sourceLength,
27677 targetLength = receiver.length;
27678 this._checkPosition$3(receiver, start, targetLength, "start");
27679 this._checkPosition$3(receiver, end, targetLength, "end");
27680 if (start > end)
27681 throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
27682 count = end - start;
27683 if (skipCount < 0)
27684 throw A.wrapException(A.ArgumentError$(skipCount, null));
27685 sourceLength = source.length;
27686 if (sourceLength - skipCount < count)
27687 throw A.wrapException(A.StateError$("Not enough elements"));
27688 if (skipCount !== 0 || sourceLength !== count)
27689 source = source.subarray(skipCount, skipCount + count);
27690 receiver.set(source, start);
27691 },
27692 $isJavaScriptIndexingBehavior: 1
27693 };
27694 A.NativeTypedArrayOfDouble.prototype = {
27695 $index(receiver, index) {
27696 A._checkValidIndex(index, receiver, receiver.length);
27697 return receiver[index];
27698 },
27699 $indexSet(receiver, index, value) {
27700 A._checkValidIndex(index, receiver, receiver.length);
27701 receiver[index] = value;
27702 },
27703 setRange$4(receiver, start, end, iterable, skipCount) {
27704 if (type$.NativeTypedArrayOfDouble._is(iterable)) {
27705 this._setRangeFast$4(receiver, start, end, iterable, skipCount);
27706 return;
27707 }
27708 this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
27709 },
27710 $isEfficientLengthIterable: 1,
27711 $isIterable: 1,
27712 $isList: 1
27713 };
27714 A.NativeTypedArrayOfInt.prototype = {
27715 $indexSet(receiver, index, value) {
27716 A._checkValidIndex(index, receiver, receiver.length);
27717 receiver[index] = value;
27718 },
27719 setRange$4(receiver, start, end, iterable, skipCount) {
27720 if (type$.NativeTypedArrayOfInt._is(iterable)) {
27721 this._setRangeFast$4(receiver, start, end, iterable, skipCount);
27722 return;
27723 }
27724 this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
27725 },
27726 $isEfficientLengthIterable: 1,
27727 $isIterable: 1,
27728 $isList: 1
27729 };
27730 A.NativeFloat32List.prototype = {
27731 sublist$2(receiver, start, end) {
27732 return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27733 }
27734 };
27735 A.NativeFloat64List.prototype = {
27736 sublist$2(receiver, start, end) {
27737 return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27738 }
27739 };
27740 A.NativeInt16List.prototype = {
27741 $index(receiver, index) {
27742 A._checkValidIndex(index, receiver, receiver.length);
27743 return receiver[index];
27744 },
27745 sublist$2(receiver, start, end) {
27746 return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27747 }
27748 };
27749 A.NativeInt32List.prototype = {
27750 $index(receiver, index) {
27751 A._checkValidIndex(index, receiver, receiver.length);
27752 return receiver[index];
27753 },
27754 sublist$2(receiver, start, end) {
27755 return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27756 }
27757 };
27758 A.NativeInt8List.prototype = {
27759 $index(receiver, index) {
27760 A._checkValidIndex(index, receiver, receiver.length);
27761 return receiver[index];
27762 },
27763 sublist$2(receiver, start, end) {
27764 return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27765 }
27766 };
27767 A.NativeUint16List.prototype = {
27768 $index(receiver, index) {
27769 A._checkValidIndex(index, receiver, receiver.length);
27770 return receiver[index];
27771 },
27772 sublist$2(receiver, start, end) {
27773 return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27774 }
27775 };
27776 A.NativeUint32List.prototype = {
27777 $index(receiver, index) {
27778 A._checkValidIndex(index, receiver, receiver.length);
27779 return receiver[index];
27780 },
27781 sublist$2(receiver, start, end) {
27782 return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27783 }
27784 };
27785 A.NativeUint8ClampedList.prototype = {
27786 get$length(receiver) {
27787 return receiver.length;
27788 },
27789 $index(receiver, index) {
27790 A._checkValidIndex(index, receiver, receiver.length);
27791 return receiver[index];
27792 },
27793 sublist$2(receiver, start, end) {
27794 return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27795 }
27796 };
27797 A.NativeUint8List.prototype = {
27798 get$length(receiver) {
27799 return receiver.length;
27800 },
27801 $index(receiver, index) {
27802 A._checkValidIndex(index, receiver, receiver.length);
27803 return receiver[index];
27804 },
27805 sublist$2(receiver, start, end) {
27806 return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27807 },
27808 $isNativeUint8List: 1,
27809 $isUint8List: 1
27810 };
27811 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
27812 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
27813 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
27814 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
27815 A.Rti.prototype = {
27816 _eval$1(recipe) {
27817 return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
27818 },
27819 _bind$1(typeOrTuple) {
27820 return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
27821 }
27822 };
27823 A._FunctionParameters.prototype = {};
27824 A._Type.prototype = {
27825 toString$0(_) {
27826 return A._rtiToString(this._rti, null);
27827 }
27828 };
27829 A._Error.prototype = {
27830 toString$0(_) {
27831 return this.__rti$_message;
27832 }
27833 };
27834 A._TypeError.prototype = {
27835 get$message(_) {
27836 return this.__rti$_message;
27837 },
27838 $isTypeError: 1
27839 };
27840 A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
27841 call$1(_) {
27842 var t1 = this._box_0,
27843 f = t1.storedCallback;
27844 t1.storedCallback = null;
27845 f.call$0();
27846 },
27847 $signature: 66
27848 };
27849 A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
27850 call$1(callback) {
27851 var t1, t2;
27852 this._box_0.storedCallback = callback;
27853 t1 = this.div;
27854 t2 = this.span;
27855 t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
27856 },
27857 $signature: 27
27858 };
27859 A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
27860 call$0() {
27861 this.callback.call$0();
27862 },
27863 $signature: 1
27864 };
27865 A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
27866 call$0() {
27867 this.callback.call$0();
27868 },
27869 $signature: 1
27870 };
27871 A._TimerImpl.prototype = {
27872 _TimerImpl$2(milliseconds, callback) {
27873 if (self.setTimeout != null)
27874 this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
27875 else
27876 throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
27877 },
27878 _TimerImpl$periodic$2(milliseconds, callback) {
27879 if (self.setTimeout != null)
27880 this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
27881 else
27882 throw A.wrapException(A.UnsupportedError$("Periodic timer."));
27883 },
27884 cancel$0() {
27885 if (self.setTimeout != null) {
27886 var t1 = this._handle;
27887 if (t1 == null)
27888 return;
27889 if (this._once)
27890 self.clearTimeout(t1);
27891 else
27892 self.clearInterval(t1);
27893 this._handle = null;
27894 } else
27895 throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
27896 }
27897 };
27898 A._TimerImpl_internalCallback.prototype = {
27899 call$0() {
27900 var t1 = this.$this;
27901 t1._handle = null;
27902 t1._tick = 1;
27903 this.callback.call$0();
27904 },
27905 $signature: 0
27906 };
27907 A._TimerImpl$periodic_closure.prototype = {
27908 call$0() {
27909 var duration, _this = this,
27910 t1 = _this.$this,
27911 tick = t1._tick + 1,
27912 t2 = _this.milliseconds;
27913 if (t2 > 0) {
27914 duration = Date.now() - _this.start;
27915 if (duration > (tick + 1) * t2)
27916 tick = B.JSInt_methods.$tdiv(duration, t2);
27917 }
27918 t1._tick = tick;
27919 _this.callback.call$1(t1);
27920 },
27921 $signature: 1
27922 };
27923 A._AsyncAwaitCompleter.prototype = {
27924 complete$1(value) {
27925 var t1, _this = this;
27926 if (value == null)
27927 value = _this.$ti._precomputed1._as(value);
27928 if (!_this.isSync)
27929 _this._future._asyncComplete$1(value);
27930 else {
27931 t1 = _this._future;
27932 if (_this.$ti._eval$1("Future<1>")._is(value))
27933 t1._chainFuture$1(value);
27934 else
27935 t1._completeWithValue$1(value);
27936 }
27937 },
27938 completeError$2(e, st) {
27939 var t1 = this._future;
27940 if (this.isSync)
27941 t1._completeError$2(e, st);
27942 else
27943 t1._asyncCompleteError$2(e, st);
27944 }
27945 };
27946 A._awaitOnObject_closure.prototype = {
27947 call$1(result) {
27948 return this.bodyFunction.call$2(0, result);
27949 },
27950 $signature: 119
27951 };
27952 A._awaitOnObject_closure0.prototype = {
27953 call$2(error, stackTrace) {
27954 this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
27955 },
27956 $signature: 264
27957 };
27958 A._wrapJsFunctionForAsync_closure.prototype = {
27959 call$2(errorCode, result) {
27960 this.$protected(errorCode, result);
27961 },
27962 $signature: 319
27963 };
27964 A._IterationMarker.prototype = {
27965 toString$0(_) {
27966 return "IterationMarker(" + this.state + ", " + A.S(this.value) + ")";
27967 }
27968 };
27969 A._SyncStarIterator.prototype = {
27970 get$current(_) {
27971 var nested = this._nestedIterator;
27972 if (nested == null)
27973 return this._async$_current;
27974 return nested.get$current(nested);
27975 },
27976 moveNext$0() {
27977 var t1, value, state, suspendedBodies, inner, _this = this;
27978 for (; true;) {
27979 t1 = _this._nestedIterator;
27980 if (t1 != null)
27981 if (t1.moveNext$0())
27982 return true;
27983 else
27984 _this._nestedIterator = null;
27985 value = function(body, SUCCESS, ERROR) {
27986 var errorValue,
27987 errorCode = SUCCESS;
27988 while (true)
27989 try {
27990 return body(errorCode, errorValue);
27991 } catch (error) {
27992 errorValue = error;
27993 errorCode = ERROR;
27994 }
27995 }(_this._body, 0, 1);
27996 if (value instanceof A._IterationMarker) {
27997 state = value.state;
27998 if (state === 2) {
27999 suspendedBodies = _this._suspendedBodies;
28000 if (suspendedBodies == null || suspendedBodies.length === 0) {
28001 _this._async$_current = null;
28002 return false;
28003 }
28004 _this._body = suspendedBodies.pop();
28005 continue;
28006 } else {
28007 t1 = value.value;
28008 if (state === 3)
28009 throw t1;
28010 else {
28011 inner = J.get$iterator$ax(t1);
28012 if (inner instanceof A._SyncStarIterator) {
28013 t1 = _this._suspendedBodies;
28014 if (t1 == null)
28015 t1 = _this._suspendedBodies = [];
28016 t1.push(_this._body);
28017 _this._body = inner._body;
28018 continue;
28019 } else {
28020 _this._nestedIterator = inner;
28021 continue;
28022 }
28023 }
28024 }
28025 } else {
28026 _this._async$_current = value;
28027 return true;
28028 }
28029 }
28030 return false;
28031 }
28032 };
28033 A._SyncStarIterable.prototype = {
28034 get$iterator(_) {
28035 return new A._SyncStarIterator(this._outerHelper());
28036 }
28037 };
28038 A.AsyncError.prototype = {
28039 toString$0(_) {
28040 return A.S(this.error);
28041 },
28042 $isError: 1,
28043 get$stackTrace() {
28044 return this.stackTrace;
28045 }
28046 };
28047 A.Future_wait_handleError.prototype = {
28048 call$2(theError, theStackTrace) {
28049 var _this = this,
28050 t1 = _this._box_0,
28051 t2 = --t1.remaining;
28052 if (t1.values != null) {
28053 t1.values = null;
28054 if (t1.remaining === 0 || _this.eagerError)
28055 _this._future._completeError$2(theError, theStackTrace);
28056 else {
28057 _this.error._value = theError;
28058 _this.stackTrace._value = theStackTrace;
28059 }
28060 } else if (t2 === 0 && !_this.eagerError)
28061 _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
28062 },
28063 $signature: 61
28064 };
28065 A.Future_wait_closure.prototype = {
28066 call$1(value) {
28067 var valueList, _this = this,
28068 t1 = _this._box_0;
28069 --t1.remaining;
28070 valueList = t1.values;
28071 if (valueList != null) {
28072 J.$indexSet$ax(valueList, _this.pos, value);
28073 if (t1.remaining === 0)
28074 _this._future._completeWithValue$1(A.List_List$from(valueList, true, _this.T));
28075 } else if (t1.remaining === 0 && !_this.eagerError)
28076 _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
28077 },
28078 $signature() {
28079 return this.T._eval$1("Null(0)");
28080 }
28081 };
28082 A._Completer.prototype = {
28083 completeError$2(error, stackTrace) {
28084 var replacement;
28085 A.checkNotNullable(error, "error", type$.Object);
28086 if ((this.future._state & 30) !== 0)
28087 throw A.wrapException(A.StateError$("Future already completed"));
28088 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
28089 if (replacement != null) {
28090 error = replacement.error;
28091 stackTrace = replacement.stackTrace;
28092 } else if (stackTrace == null)
28093 stackTrace = A.AsyncError_defaultStackTrace(error);
28094 this._completeError$2(error, stackTrace);
28095 },
28096 completeError$1(error) {
28097 return this.completeError$2(error, null);
28098 }
28099 };
28100 A._AsyncCompleter.prototype = {
28101 complete$1(value) {
28102 var t1 = this.future;
28103 if ((t1._state & 30) !== 0)
28104 throw A.wrapException(A.StateError$("Future already completed"));
28105 t1._asyncComplete$1(value);
28106 },
28107 complete$0() {
28108 return this.complete$1(null);
28109 },
28110 _completeError$2(error, stackTrace) {
28111 this.future._asyncCompleteError$2(error, stackTrace);
28112 }
28113 };
28114 A._SyncCompleter.prototype = {
28115 complete$1(value) {
28116 var t1 = this.future;
28117 if ((t1._state & 30) !== 0)
28118 throw A.wrapException(A.StateError$("Future already completed"));
28119 t1._complete$1(value);
28120 },
28121 _completeError$2(error, stackTrace) {
28122 this.future._completeError$2(error, stackTrace);
28123 }
28124 };
28125 A._FutureListener.prototype = {
28126 matchesErrorTest$1(asyncError) {
28127 if ((this.state & 15) !== 6)
28128 return true;
28129 return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
28130 },
28131 handleError$1(asyncError) {
28132 var exception,
28133 errorCallback = this.errorCallback,
28134 result = null,
28135 t1 = type$.dynamic,
28136 t2 = type$.Object,
28137 t3 = asyncError.error,
28138 t4 = this.result._zone;
28139 if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
28140 result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
28141 else
28142 result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
28143 try {
28144 t1 = result;
28145 return t1;
28146 } catch (exception) {
28147 if (type$.TypeError._is(A.unwrapException(exception))) {
28148 if ((this.state & 1) !== 0)
28149 throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
28150 throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
28151 } else
28152 throw exception;
28153 }
28154 }
28155 };
28156 A._Future.prototype = {
28157 then$1$2$onError(_, f, onError, $R) {
28158 var result, t1,
28159 currentZone = $.Zone__current;
28160 if (currentZone === B.C__RootZone) {
28161 if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
28162 throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
28163 } else {
28164 f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
28165 if (onError != null)
28166 onError = A._registerErrorHandler(onError, currentZone);
28167 }
28168 result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
28169 t1 = onError == null ? 1 : 3;
28170 this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
28171 return result;
28172 },
28173 then$1$1($receiver, f, $R) {
28174 return this.then$1$2$onError($receiver, f, null, $R);
28175 },
28176 _thenAwait$1$2(f, onError, $E) {
28177 var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
28178 this._addListener$1(new A._FutureListener(result, 19, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
28179 return result;
28180 },
28181 whenComplete$1(action) {
28182 var t1 = this.$ti,
28183 t2 = $.Zone__current,
28184 result = new A._Future(t2, t1);
28185 if (t2 !== B.C__RootZone)
28186 action = t2.registerCallback$1$1(action, type$.dynamic);
28187 this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>")));
28188 return result;
28189 },
28190 _setErrorObject$1(error) {
28191 this._state = this._state & 1 | 16;
28192 this._resultOrListeners = error;
28193 },
28194 _cloneResult$1(source) {
28195 this._state = source._state & 30 | this._state & 1;
28196 this._resultOrListeners = source._resultOrListeners;
28197 },
28198 _addListener$1(listener) {
28199 var _this = this,
28200 t1 = _this._state;
28201 if (t1 <= 3) {
28202 listener._nextListener = _this._resultOrListeners;
28203 _this._resultOrListeners = listener;
28204 } else {
28205 if ((t1 & 4) !== 0) {
28206 t1 = _this._resultOrListeners;
28207 if ((t1._state & 24) === 0) {
28208 t1._addListener$1(listener);
28209 return;
28210 }
28211 _this._cloneResult$1(t1);
28212 }
28213 _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
28214 }
28215 },
28216 _prependListeners$1(listeners) {
28217 var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
28218 _box_0.listeners = listeners;
28219 if (listeners == null)
28220 return;
28221 t1 = _this._state;
28222 if (t1 <= 3) {
28223 existingListeners = _this._resultOrListeners;
28224 _this._resultOrListeners = listeners;
28225 if (existingListeners != null) {
28226 next = listeners._nextListener;
28227 for (cursor = listeners; next != null; cursor = next, next = next0)
28228 next0 = next._nextListener;
28229 cursor._nextListener = existingListeners;
28230 }
28231 } else {
28232 if ((t1 & 4) !== 0) {
28233 t1 = _this._resultOrListeners;
28234 if ((t1._state & 24) === 0) {
28235 t1._prependListeners$1(listeners);
28236 return;
28237 }
28238 _this._cloneResult$1(t1);
28239 }
28240 _box_0.listeners = _this._reverseListeners$1(listeners);
28241 _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
28242 }
28243 },
28244 _removeListeners$0() {
28245 var current = this._resultOrListeners;
28246 this._resultOrListeners = null;
28247 return this._reverseListeners$1(current);
28248 },
28249 _reverseListeners$1(listeners) {
28250 var current, prev, next;
28251 for (current = listeners, prev = null; current != null; prev = current, current = next) {
28252 next = current._nextListener;
28253 current._nextListener = prev;
28254 }
28255 return prev;
28256 },
28257 _chainForeignFuture$1(source) {
28258 var e, s, exception, _this = this;
28259 _this._state ^= 2;
28260 try {
28261 source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
28262 } catch (exception) {
28263 e = A.unwrapException(exception);
28264 s = A.getTraceFromException(exception);
28265 A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
28266 }
28267 },
28268 _complete$1(value) {
28269 var listeners, _this = this,
28270 t1 = _this.$ti;
28271 if (t1._eval$1("Future<1>")._is(value))
28272 if (t1._is(value))
28273 A._Future__chainCoreFuture(value, _this);
28274 else
28275 _this._chainForeignFuture$1(value);
28276 else {
28277 listeners = _this._removeListeners$0();
28278 _this._state = 8;
28279 _this._resultOrListeners = value;
28280 A._Future__propagateToListeners(_this, listeners);
28281 }
28282 },
28283 _completeWithValue$1(value) {
28284 var _this = this,
28285 listeners = _this._removeListeners$0();
28286 _this._state = 8;
28287 _this._resultOrListeners = value;
28288 A._Future__propagateToListeners(_this, listeners);
28289 },
28290 _completeError$2(error, stackTrace) {
28291 var listeners = this._removeListeners$0();
28292 this._setErrorObject$1(A.AsyncError$(error, stackTrace));
28293 A._Future__propagateToListeners(this, listeners);
28294 },
28295 _asyncComplete$1(value) {
28296 if (this.$ti._eval$1("Future<1>")._is(value)) {
28297 this._chainFuture$1(value);
28298 return;
28299 }
28300 this._asyncCompleteWithValue$1(value);
28301 },
28302 _asyncCompleteWithValue$1(value) {
28303 this._state ^= 2;
28304 this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
28305 },
28306 _chainFuture$1(value) {
28307 var _this = this;
28308 if (_this.$ti._is(value)) {
28309 if ((value._state & 16) !== 0) {
28310 _this._state ^= 2;
28311 _this._zone.scheduleMicrotask$1(new A._Future__chainFuture_closure(_this, value));
28312 } else
28313 A._Future__chainCoreFuture(value, _this);
28314 return;
28315 }
28316 _this._chainForeignFuture$1(value);
28317 },
28318 _asyncCompleteError$2(error, stackTrace) {
28319 this._state ^= 2;
28320 this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
28321 },
28322 $isFuture: 1
28323 };
28324 A._Future__addListener_closure.prototype = {
28325 call$0() {
28326 A._Future__propagateToListeners(this.$this, this.listener);
28327 },
28328 $signature: 0
28329 };
28330 A._Future__prependListeners_closure.prototype = {
28331 call$0() {
28332 A._Future__propagateToListeners(this.$this, this._box_0.listeners);
28333 },
28334 $signature: 0
28335 };
28336 A._Future__chainForeignFuture_closure.prototype = {
28337 call$1(value) {
28338 var error, stackTrace, exception,
28339 t1 = this.$this;
28340 t1._state ^= 2;
28341 try {
28342 t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
28343 } catch (exception) {
28344 error = A.unwrapException(exception);
28345 stackTrace = A.getTraceFromException(exception);
28346 t1._completeError$2(error, stackTrace);
28347 }
28348 },
28349 $signature: 66
28350 };
28351 A._Future__chainForeignFuture_closure0.prototype = {
28352 call$2(error, stackTrace) {
28353 this.$this._completeError$2(error, stackTrace);
28354 },
28355 $signature: 63
28356 };
28357 A._Future__chainForeignFuture_closure1.prototype = {
28358 call$0() {
28359 this.$this._completeError$2(this.e, this.s);
28360 },
28361 $signature: 0
28362 };
28363 A._Future__asyncCompleteWithValue_closure.prototype = {
28364 call$0() {
28365 this.$this._completeWithValue$1(this.value);
28366 },
28367 $signature: 0
28368 };
28369 A._Future__chainFuture_closure.prototype = {
28370 call$0() {
28371 A._Future__chainCoreFuture(this.value, this.$this);
28372 },
28373 $signature: 0
28374 };
28375 A._Future__asyncCompleteError_closure.prototype = {
28376 call$0() {
28377 this.$this._completeError$2(this.error, this.stackTrace);
28378 },
28379 $signature: 0
28380 };
28381 A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
28382 call$0() {
28383 var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null;
28384 try {
28385 t1 = _this._box_0.listener;
28386 completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
28387 } catch (exception) {
28388 e = A.unwrapException(exception);
28389 s = A.getTraceFromException(exception);
28390 t1 = _this.hasError && _this._box_1.source._resultOrListeners.error === e;
28391 t2 = _this._box_0;
28392 if (t1)
28393 t2.listenerValueOrError = _this._box_1.source._resultOrListeners;
28394 else
28395 t2.listenerValueOrError = A.AsyncError$(e, s);
28396 t2.listenerHasError = true;
28397 return;
28398 }
28399 if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
28400 if ((completeResult._state & 16) !== 0) {
28401 t1 = _this._box_0;
28402 t1.listenerValueOrError = completeResult._resultOrListeners;
28403 t1.listenerHasError = true;
28404 }
28405 return;
28406 }
28407 if (type$.Future_dynamic._is(completeResult)) {
28408 originalSource = _this._box_1.source;
28409 t1 = _this._box_0;
28410 t1.listenerValueOrError = J.then$1$1$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic);
28411 t1.listenerHasError = false;
28412 }
28413 },
28414 $signature: 0
28415 };
28416 A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
28417 call$1(_) {
28418 return this.originalSource;
28419 },
28420 $signature: 279
28421 };
28422 A._Future__propagateToListeners_handleValueCallback.prototype = {
28423 call$0() {
28424 var e, s, t1, t2, t3, exception;
28425 try {
28426 t1 = this._box_0;
28427 t2 = t1.listener;
28428 t3 = t2.$ti;
28429 t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
28430 } catch (exception) {
28431 e = A.unwrapException(exception);
28432 s = A.getTraceFromException(exception);
28433 t1 = this._box_0;
28434 t1.listenerValueOrError = A.AsyncError$(e, s);
28435 t1.listenerHasError = true;
28436 }
28437 },
28438 $signature: 0
28439 };
28440 A._Future__propagateToListeners_handleError.prototype = {
28441 call$0() {
28442 var asyncError, e, s, t1, exception, t2, _this = this;
28443 try {
28444 asyncError = _this._box_1.source._resultOrListeners;
28445 t1 = _this._box_0;
28446 if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
28447 t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
28448 t1.listenerHasError = false;
28449 }
28450 } catch (exception) {
28451 e = A.unwrapException(exception);
28452 s = A.getTraceFromException(exception);
28453 t1 = _this._box_1.source._resultOrListeners;
28454 t2 = _this._box_0;
28455 if (t1.error === e)
28456 t2.listenerValueOrError = t1;
28457 else
28458 t2.listenerValueOrError = A.AsyncError$(e, s);
28459 t2.listenerHasError = true;
28460 }
28461 },
28462 $signature: 0
28463 };
28464 A._AsyncCallbackEntry.prototype = {};
28465 A.Stream.prototype = {
28466 get$isBroadcast() {
28467 return false;
28468 },
28469 get$length(_) {
28470 var t1 = {},
28471 future = new A._Future($.Zone__current, type$._Future_int);
28472 t1.count = 0;
28473 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());
28474 return future;
28475 }
28476 };
28477 A.Stream_Stream$fromFuture_closure.prototype = {
28478 call$1(value) {
28479 var t1 = this.controller;
28480 t1._async$_add$1(value);
28481 t1._closeUnchecked$0();
28482 },
28483 $signature() {
28484 return this.T._eval$1("Null(0)");
28485 }
28486 };
28487 A.Stream_Stream$fromFuture_closure0.prototype = {
28488 call$2(error, stackTrace) {
28489 var t1 = this.controller;
28490 t1._addError$2(error, stackTrace);
28491 t1._closeUnchecked$0();
28492 },
28493 $signature: 303
28494 };
28495 A.Stream_length_closure.prototype = {
28496 call$1(_) {
28497 ++this._box_0.count;
28498 },
28499 $signature() {
28500 return A._instanceType(this.$this)._eval$1("~(Stream.T)");
28501 }
28502 };
28503 A.Stream_length_closure0.prototype = {
28504 call$0() {
28505 this.future._complete$1(this._box_0.count);
28506 },
28507 $signature: 0
28508 };
28509 A.StreamTransformerBase.prototype = {};
28510 A._StreamController.prototype = {
28511 get$stream() {
28512 return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
28513 },
28514 get$_pendingEvents() {
28515 if ((this._state & 8) === 0)
28516 return this._varData;
28517 return this._varData.varData;
28518 },
28519 _ensurePendingEvents$0() {
28520 var events, state, _this = this;
28521 if ((_this._state & 8) === 0) {
28522 events = _this._varData;
28523 return events == null ? _this._varData = new A._StreamImplEvents() : events;
28524 }
28525 state = _this._varData;
28526 events = state.varData;
28527 return events == null ? state.varData = new A._StreamImplEvents() : events;
28528 },
28529 get$_subscription() {
28530 var varData = this._varData;
28531 return (this._state & 8) !== 0 ? varData.varData : varData;
28532 },
28533 _badEventState$0() {
28534 if ((this._state & 4) !== 0)
28535 return new A.StateError("Cannot add event after closing");
28536 return new A.StateError("Cannot add event while adding a stream");
28537 },
28538 addStream$2$cancelOnError(source, cancelOnError) {
28539 var t2, t3, t4, _this = this,
28540 t1 = _this._state;
28541 if (t1 >= 4)
28542 throw A.wrapException(_this._badEventState$0());
28543 if ((t1 & 2) !== 0) {
28544 t1 = new A._Future($.Zone__current, type$._Future_dynamic);
28545 t1._asyncComplete$1(null);
28546 return t1;
28547 }
28548 t1 = _this._varData;
28549 t2 = new A._Future($.Zone__current, type$._Future_dynamic);
28550 t3 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), false, _this.get$_close(), _this.get$_addError());
28551 t4 = _this._state;
28552 if ((t4 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t4 & 2) === 0)
28553 t3.pause$0(0);
28554 _this._varData = new A._StreamControllerAddStreamState(t1, t2, t3);
28555 _this._state |= 8;
28556 return t2;
28557 },
28558 _ensureDoneFuture$0() {
28559 var t1 = this._doneFuture;
28560 if (t1 == null)
28561 t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
28562 return t1;
28563 },
28564 add$1(_, value) {
28565 if (this._state >= 4)
28566 throw A.wrapException(this._badEventState$0());
28567 this._async$_add$1(value);
28568 },
28569 addError$2(error, stackTrace) {
28570 var replacement;
28571 A.checkNotNullable(error, "error", type$.Object);
28572 if (this._state >= 4)
28573 throw A.wrapException(this._badEventState$0());
28574 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
28575 if (replacement != null) {
28576 error = replacement.error;
28577 stackTrace = replacement.stackTrace;
28578 } else if (stackTrace == null)
28579 stackTrace = A.AsyncError_defaultStackTrace(error);
28580 this._addError$2(error, stackTrace);
28581 },
28582 addError$1(error) {
28583 return this.addError$2(error, null);
28584 },
28585 close$0(_) {
28586 var _this = this,
28587 t1 = _this._state;
28588 if ((t1 & 4) !== 0)
28589 return _this._ensureDoneFuture$0();
28590 if (t1 >= 4)
28591 throw A.wrapException(_this._badEventState$0());
28592 _this._closeUnchecked$0();
28593 return _this._ensureDoneFuture$0();
28594 },
28595 _closeUnchecked$0() {
28596 var t1 = this._state |= 4;
28597 if ((t1 & 1) !== 0)
28598 this._sendDone$0();
28599 else if ((t1 & 3) === 0)
28600 this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
28601 },
28602 _async$_add$1(value) {
28603 var t1 = this._state;
28604 if ((t1 & 1) !== 0)
28605 this._sendData$1(value);
28606 else if ((t1 & 3) === 0)
28607 this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
28608 },
28609 _addError$2(error, stackTrace) {
28610 var t1 = this._state;
28611 if ((t1 & 1) !== 0)
28612 this._sendError$2(error, stackTrace);
28613 else if ((t1 & 3) === 0)
28614 this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
28615 },
28616 _close$0() {
28617 var addState = this._varData;
28618 this._varData = addState.varData;
28619 this._state &= 4294967287;
28620 addState.addStreamFuture._asyncComplete$1(null);
28621 },
28622 _subscribe$4(onData, onError, onDone, cancelOnError) {
28623 var subscription, pendingEvents, t1, addState, _this = this;
28624 if ((_this._state & 3) !== 0)
28625 throw A.wrapException(A.StateError$("Stream has already been listened to."));
28626 subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
28627 pendingEvents = _this.get$_pendingEvents();
28628 t1 = _this._state |= 1;
28629 if ((t1 & 8) !== 0) {
28630 addState = _this._varData;
28631 addState.varData = subscription;
28632 addState.addSubscription.resume$0(0);
28633 } else
28634 _this._varData = subscription;
28635 subscription._setPendingEvents$1(pendingEvents);
28636 subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
28637 return subscription;
28638 },
28639 _recordCancel$1(subscription) {
28640 var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
28641 if ((_this._state & 8) !== 0)
28642 result = _this._varData.cancel$0();
28643 _this._varData = null;
28644 _this._state = _this._state & 4294967286 | 2;
28645 onCancel = _this.onCancel;
28646 if (onCancel != null)
28647 if (result == null)
28648 try {
28649 cancelResult = onCancel.call$0();
28650 if (type$.Future_void._is(cancelResult))
28651 result = cancelResult;
28652 } catch (exception) {
28653 e = A.unwrapException(exception);
28654 s = A.getTraceFromException(exception);
28655 result0 = new A._Future($.Zone__current, type$._Future_void);
28656 result0._asyncCompleteError$2(e, s);
28657 result = result0;
28658 }
28659 else
28660 result = result.whenComplete$1(onCancel);
28661 t1 = new A._StreamController__recordCancel_complete(_this);
28662 if (result != null)
28663 result = result.whenComplete$1(t1);
28664 else
28665 t1.call$0();
28666 return result;
28667 },
28668 _recordPause$1(subscription) {
28669 if ((this._state & 8) !== 0)
28670 this._varData.addSubscription.pause$0(0);
28671 A._runGuarded(this.onPause);
28672 },
28673 _recordResume$1(subscription) {
28674 if ((this._state & 8) !== 0)
28675 this._varData.addSubscription.resume$0(0);
28676 A._runGuarded(this.onResume);
28677 },
28678 $isEventSink: 1,
28679 set$onPause(val) {
28680 return this.onPause = val;
28681 },
28682 set$onResume(val) {
28683 return this.onResume = val;
28684 },
28685 set$onCancel(val) {
28686 return this.onCancel = val;
28687 }
28688 };
28689 A._StreamController__subscribe_closure.prototype = {
28690 call$0() {
28691 A._runGuarded(this.$this.onListen);
28692 },
28693 $signature: 0
28694 };
28695 A._StreamController__recordCancel_complete.prototype = {
28696 call$0() {
28697 var doneFuture = this.$this._doneFuture;
28698 if (doneFuture != null && (doneFuture._state & 30) === 0)
28699 doneFuture._asyncComplete$1(null);
28700 },
28701 $signature: 0
28702 };
28703 A._SyncStreamControllerDispatch.prototype = {
28704 _sendData$1(data) {
28705 this.get$_subscription()._async$_add$1(data);
28706 },
28707 _sendError$2(error, stackTrace) {
28708 this.get$_subscription()._addError$2(error, stackTrace);
28709 },
28710 _sendDone$0() {
28711 this.get$_subscription()._close$0();
28712 }
28713 };
28714 A._AsyncStreamControllerDispatch.prototype = {
28715 _sendData$1(data) {
28716 this.get$_subscription()._addPending$1(new A._DelayedData(data));
28717 },
28718 _sendError$2(error, stackTrace) {
28719 this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
28720 },
28721 _sendDone$0() {
28722 this.get$_subscription()._addPending$1(B.C__DelayedDone);
28723 }
28724 };
28725 A._AsyncStreamController.prototype = {};
28726 A._SyncStreamController.prototype = {};
28727 A._ControllerStream.prototype = {
28728 get$hashCode(_) {
28729 return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
28730 },
28731 $eq(_, other) {
28732 if (other == null)
28733 return false;
28734 if (this === other)
28735 return true;
28736 return other instanceof A._ControllerStream && other._controller === this._controller;
28737 }
28738 };
28739 A._ControllerSubscription.prototype = {
28740 _async$_onCancel$0() {
28741 return this._controller._recordCancel$1(this);
28742 },
28743 _async$_onPause$0() {
28744 this._controller._recordPause$1(this);
28745 },
28746 _async$_onResume$0() {
28747 this._controller._recordResume$1(this);
28748 }
28749 };
28750 A._AddStreamState.prototype = {
28751 cancel$0() {
28752 var cancel = this.addSubscription.cancel$0();
28753 return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
28754 }
28755 };
28756 A._AddStreamState_cancel_closure.prototype = {
28757 call$0() {
28758 this.$this.addStreamFuture._asyncComplete$1(null);
28759 },
28760 $signature: 1
28761 };
28762 A._StreamControllerAddStreamState.prototype = {};
28763 A._BufferingStreamSubscription.prototype = {
28764 _setPendingEvents$1(pendingEvents) {
28765 var _this = this;
28766 if (pendingEvents == null)
28767 return;
28768 _this._pending = pendingEvents;
28769 if (pendingEvents.lastPendingEvent != null) {
28770 _this._state = (_this._state | 64) >>> 0;
28771 pendingEvents.schedule$1(_this);
28772 }
28773 },
28774 pause$1(_, resumeSignal) {
28775 var t2, t3, _this = this,
28776 t1 = _this._state;
28777 if ((t1 & 8) !== 0)
28778 return;
28779 t2 = (t1 + 128 | 4) >>> 0;
28780 _this._state = t2;
28781 if (t1 < 128) {
28782 t3 = _this._pending;
28783 if (t3 != null)
28784 if (t3._state === 1)
28785 t3._state = 3;
28786 }
28787 if ((t1 & 4) === 0 && (t2 & 32) === 0)
28788 _this._guardCallback$1(_this.get$_async$_onPause());
28789 },
28790 pause$0($receiver) {
28791 return this.pause$1($receiver, null);
28792 },
28793 resume$0(_) {
28794 var _this = this,
28795 t1 = _this._state;
28796 if ((t1 & 8) !== 0)
28797 return;
28798 if (t1 >= 128) {
28799 t1 = _this._state = t1 - 128;
28800 if (t1 < 128)
28801 if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent != null)
28802 _this._pending.schedule$1(_this);
28803 else {
28804 t1 = (t1 & 4294967291) >>> 0;
28805 _this._state = t1;
28806 if ((t1 & 32) === 0)
28807 _this._guardCallback$1(_this.get$_async$_onResume());
28808 }
28809 }
28810 },
28811 cancel$0() {
28812 var _this = this,
28813 t1 = (_this._state & 4294967279) >>> 0;
28814 _this._state = t1;
28815 if ((t1 & 8) === 0)
28816 _this._cancel$0();
28817 t1 = _this._cancelFuture;
28818 return t1 == null ? $.$get$Future__nullFuture() : t1;
28819 },
28820 _cancel$0() {
28821 var t2, _this = this,
28822 t1 = _this._state = (_this._state | 8) >>> 0;
28823 if ((t1 & 64) !== 0) {
28824 t2 = _this._pending;
28825 if (t2._state === 1)
28826 t2._state = 3;
28827 }
28828 if ((t1 & 32) === 0)
28829 _this._pending = null;
28830 _this._cancelFuture = _this._async$_onCancel$0();
28831 },
28832 _async$_add$1(data) {
28833 var t1 = this._state;
28834 if ((t1 & 8) !== 0)
28835 return;
28836 if (t1 < 32)
28837 this._sendData$1(data);
28838 else
28839 this._addPending$1(new A._DelayedData(data));
28840 },
28841 _addError$2(error, stackTrace) {
28842 var t1 = this._state;
28843 if ((t1 & 8) !== 0)
28844 return;
28845 if (t1 < 32)
28846 this._sendError$2(error, stackTrace);
28847 else
28848 this._addPending$1(new A._DelayedError(error, stackTrace));
28849 },
28850 _close$0() {
28851 var _this = this,
28852 t1 = _this._state;
28853 if ((t1 & 8) !== 0)
28854 return;
28855 t1 = (t1 | 2) >>> 0;
28856 _this._state = t1;
28857 if (t1 < 32)
28858 _this._sendDone$0();
28859 else
28860 _this._addPending$1(B.C__DelayedDone);
28861 },
28862 _async$_onPause$0() {
28863 },
28864 _async$_onResume$0() {
28865 },
28866 _async$_onCancel$0() {
28867 return null;
28868 },
28869 _addPending$1($event) {
28870 var t1, _this = this,
28871 pending = _this._pending;
28872 if (pending == null)
28873 pending = new A._StreamImplEvents();
28874 _this._pending = pending;
28875 pending.add$1(0, $event);
28876 t1 = _this._state;
28877 if ((t1 & 64) === 0) {
28878 t1 = (t1 | 64) >>> 0;
28879 _this._state = t1;
28880 if (t1 < 128)
28881 pending.schedule$1(_this);
28882 }
28883 },
28884 _sendData$1(data) {
28885 var _this = this,
28886 t1 = _this._state;
28887 _this._state = (t1 | 32) >>> 0;
28888 _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
28889 _this._state = (_this._state & 4294967263) >>> 0;
28890 _this._checkState$1((t1 & 4) !== 0);
28891 },
28892 _sendError$2(error, stackTrace) {
28893 var cancelFuture, _this = this,
28894 t1 = _this._state,
28895 t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
28896 if ((t1 & 1) !== 0) {
28897 _this._state = (t1 | 16) >>> 0;
28898 _this._cancel$0();
28899 cancelFuture = _this._cancelFuture;
28900 if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
28901 cancelFuture.whenComplete$1(t2);
28902 else
28903 t2.call$0();
28904 } else {
28905 t2.call$0();
28906 _this._checkState$1((t1 & 4) !== 0);
28907 }
28908 },
28909 _sendDone$0() {
28910 var cancelFuture, _this = this,
28911 t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
28912 _this._cancel$0();
28913 _this._state = (_this._state | 16) >>> 0;
28914 cancelFuture = _this._cancelFuture;
28915 if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
28916 cancelFuture.whenComplete$1(t1);
28917 else
28918 t1.call$0();
28919 },
28920 _guardCallback$1(callback) {
28921 var _this = this,
28922 t1 = _this._state;
28923 _this._state = (t1 | 32) >>> 0;
28924 callback.call$0();
28925 _this._state = (_this._state & 4294967263) >>> 0;
28926 _this._checkState$1((t1 & 4) !== 0);
28927 },
28928 _checkState$1(wasInputPaused) {
28929 var t2, isInputPaused, _this = this,
28930 t1 = _this._state;
28931 if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) {
28932 t1 = _this._state = (t1 & 4294967231) >>> 0;
28933 if ((t1 & 4) !== 0)
28934 if (t1 < 128) {
28935 t2 = _this._pending;
28936 t2 = t2 == null ? null : t2.lastPendingEvent == null;
28937 t2 = t2 !== false;
28938 } else
28939 t2 = false;
28940 else
28941 t2 = false;
28942 if (t2) {
28943 t1 = (t1 & 4294967291) >>> 0;
28944 _this._state = t1;
28945 }
28946 }
28947 for (; true; wasInputPaused = isInputPaused) {
28948 if ((t1 & 8) !== 0) {
28949 _this._pending = null;
28950 return;
28951 }
28952 isInputPaused = (t1 & 4) !== 0;
28953 if (wasInputPaused === isInputPaused)
28954 break;
28955 _this._state = (t1 ^ 32) >>> 0;
28956 if (isInputPaused)
28957 _this._async$_onPause$0();
28958 else
28959 _this._async$_onResume$0();
28960 t1 = (_this._state & 4294967263) >>> 0;
28961 _this._state = t1;
28962 }
28963 if ((t1 & 64) !== 0 && t1 < 128)
28964 _this._pending.schedule$1(_this);
28965 },
28966 $isStreamSubscription: 1
28967 };
28968 A._BufferingStreamSubscription__sendError_sendError.prototype = {
28969 call$0() {
28970 var onError, t3, t4,
28971 t1 = this.$this,
28972 t2 = t1._state;
28973 if ((t2 & 8) !== 0 && (t2 & 16) === 0)
28974 return;
28975 t1._state = (t2 | 32) >>> 0;
28976 onError = t1._onError;
28977 t2 = this.error;
28978 t3 = type$.Object;
28979 t4 = t1._zone;
28980 if (type$.void_Function_Object_StackTrace._is(onError))
28981 t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
28982 else
28983 t4.runUnaryGuarded$1$2(onError, t2, t3);
28984 t1._state = (t1._state & 4294967263) >>> 0;
28985 },
28986 $signature: 0
28987 };
28988 A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
28989 call$0() {
28990 var t1 = this.$this,
28991 t2 = t1._state;
28992 if ((t2 & 16) === 0)
28993 return;
28994 t1._state = (t2 | 42) >>> 0;
28995 t1._zone.runGuarded$1(t1._onDone);
28996 t1._state = (t1._state & 4294967263) >>> 0;
28997 },
28998 $signature: 0
28999 };
29000 A._StreamImpl.prototype = {
29001 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
29002 return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
29003 },
29004 listen$1($receiver, onData) {
29005 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
29006 },
29007 listen$3$onDone$onError($receiver, onData, onDone, onError) {
29008 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
29009 }
29010 };
29011 A._DelayedEvent.prototype = {
29012 get$next() {
29013 return this.next;
29014 },
29015 set$next(val) {
29016 return this.next = val;
29017 }
29018 };
29019 A._DelayedData.prototype = {
29020 perform$1(dispatch) {
29021 dispatch._sendData$1(this.value);
29022 }
29023 };
29024 A._DelayedError.prototype = {
29025 perform$1(dispatch) {
29026 dispatch._sendError$2(this.error, this.stackTrace);
29027 }
29028 };
29029 A._DelayedDone.prototype = {
29030 perform$1(dispatch) {
29031 dispatch._sendDone$0();
29032 },
29033 get$next() {
29034 return null;
29035 },
29036 set$next(_) {
29037 throw A.wrapException(A.StateError$("No events after a done."));
29038 }
29039 };
29040 A._PendingEvents.prototype = {
29041 schedule$1(dispatch) {
29042 var _this = this,
29043 t1 = _this._state;
29044 if (t1 === 1)
29045 return;
29046 if (t1 >= 1) {
29047 _this._state = 1;
29048 return;
29049 }
29050 A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
29051 _this._state = 1;
29052 }
29053 };
29054 A._PendingEvents_schedule_closure.prototype = {
29055 call$0() {
29056 var $event, nextEvent,
29057 t1 = this.$this,
29058 oldState = t1._state;
29059 t1._state = 0;
29060 if (oldState === 3)
29061 return;
29062 $event = t1.firstPendingEvent;
29063 nextEvent = $event.get$next();
29064 t1.firstPendingEvent = nextEvent;
29065 if (nextEvent == null)
29066 t1.lastPendingEvent = null;
29067 $event.perform$1(this.dispatch);
29068 },
29069 $signature: 0
29070 };
29071 A._StreamImplEvents.prototype = {
29072 add$1(_, $event) {
29073 var _this = this,
29074 lastEvent = _this.lastPendingEvent;
29075 if (lastEvent == null)
29076 _this.firstPendingEvent = _this.lastPendingEvent = $event;
29077 else {
29078 lastEvent.set$next($event);
29079 _this.lastPendingEvent = $event;
29080 }
29081 }
29082 };
29083 A._StreamIterator.prototype = {
29084 get$current(_) {
29085 if (this._async$_hasValue)
29086 return this._stateData;
29087 return null;
29088 },
29089 moveNext$0() {
29090 var future, _this = this,
29091 subscription = _this._subscription;
29092 if (subscription != null) {
29093 if (_this._async$_hasValue) {
29094 future = new A._Future($.Zone__current, type$._Future_bool);
29095 _this._stateData = future;
29096 _this._async$_hasValue = false;
29097 subscription.resume$0(0);
29098 return future;
29099 }
29100 throw A.wrapException(A.StateError$("Already waiting for next."));
29101 }
29102 return _this._initializeOrDone$0();
29103 },
29104 _initializeOrDone$0() {
29105 var future, subscription, _this = this,
29106 stateData = _this._stateData;
29107 if (stateData != null) {
29108 future = new A._Future($.Zone__current, type$._Future_bool);
29109 _this._stateData = future;
29110 subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
29111 if (_this._stateData != null)
29112 _this._subscription = subscription;
29113 return future;
29114 }
29115 return $.$get$Future__falseFuture();
29116 },
29117 cancel$0() {
29118 var _this = this,
29119 subscription = _this._subscription,
29120 stateData = _this._stateData;
29121 _this._stateData = null;
29122 if (subscription != null) {
29123 _this._subscription = null;
29124 if (!_this._async$_hasValue)
29125 stateData._asyncComplete$1(false);
29126 else
29127 _this._async$_hasValue = false;
29128 return subscription.cancel$0();
29129 }
29130 return $.$get$Future__nullFuture();
29131 },
29132 _onData$1(data) {
29133 var moveNextFuture, t1, _this = this;
29134 if (_this._subscription == null)
29135 return;
29136 moveNextFuture = _this._stateData;
29137 _this._stateData = data;
29138 _this._async$_hasValue = true;
29139 moveNextFuture._complete$1(true);
29140 if (_this._async$_hasValue) {
29141 t1 = _this._subscription;
29142 if (t1 != null)
29143 t1.pause$0(0);
29144 }
29145 },
29146 _onError$2(error, stackTrace) {
29147 var _this = this,
29148 subscription = _this._subscription,
29149 moveNextFuture = _this._stateData;
29150 _this._stateData = _this._subscription = null;
29151 if (subscription != null)
29152 moveNextFuture._completeError$2(error, stackTrace);
29153 else
29154 moveNextFuture._asyncCompleteError$2(error, stackTrace);
29155 },
29156 _onDone$0() {
29157 var _this = this,
29158 subscription = _this._subscription,
29159 moveNextFuture = _this._stateData;
29160 _this._stateData = _this._subscription = null;
29161 if (subscription != null)
29162 moveNextFuture._completeWithValue$1(false);
29163 else
29164 moveNextFuture._asyncCompleteWithValue$1(false);
29165 }
29166 };
29167 A._ForwardingStream.prototype = {
29168 get$isBroadcast() {
29169 return this._async$_source.get$isBroadcast();
29170 },
29171 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
29172 var t1 = this.$ti,
29173 t2 = t1._rest[1],
29174 t3 = $.Zone__current,
29175 t4 = cancelOnError === true ? 1 : 0,
29176 t5 = A._BufferingStreamSubscription__registerDataHandler(t3, onData, t2),
29177 t6 = A._BufferingStreamSubscription__registerErrorHandler(t3, onError),
29178 t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
29179 t2 = new A._ForwardingStreamSubscription(this, t5, t6, t3.registerCallback$1$1(t7, type$.void), t3, t4, t1._eval$1("@<1>")._bind$1(t2)._eval$1("_ForwardingStreamSubscription<1,2>"));
29180 t2._subscription = this._async$_source.listen$3$onDone$onError(0, t2.get$_handleData(), t2.get$_handleDone(), t2.get$_handleError());
29181 return t2;
29182 },
29183 listen$1($receiver, onData) {
29184 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
29185 },
29186 listen$3$onDone$onError($receiver, onData, onDone, onError) {
29187 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
29188 }
29189 };
29190 A._ForwardingStreamSubscription.prototype = {
29191 _async$_add$1(data) {
29192 if ((this._state & 2) !== 0)
29193 return;
29194 this.super$_BufferingStreamSubscription$_add(data);
29195 },
29196 _addError$2(error, stackTrace) {
29197 if ((this._state & 2) !== 0)
29198 return;
29199 this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
29200 },
29201 _async$_onPause$0() {
29202 var t1 = this._subscription;
29203 if (t1 != null)
29204 t1.pause$0(0);
29205 },
29206 _async$_onResume$0() {
29207 var t1 = this._subscription;
29208 if (t1 != null)
29209 t1.resume$0(0);
29210 },
29211 _async$_onCancel$0() {
29212 var subscription = this._subscription;
29213 if (subscription != null) {
29214 this._subscription = null;
29215 return subscription.cancel$0();
29216 }
29217 return null;
29218 },
29219 _handleData$1(data) {
29220 this._stream._handleData$2(data, this);
29221 },
29222 _handleError$2(error, stackTrace) {
29223 this._addError$2(error, stackTrace);
29224 },
29225 _handleDone$0() {
29226 this._close$0();
29227 }
29228 };
29229 A._ExpandStream.prototype = {
29230 _handleData$2(inputEvent, sink) {
29231 var value, e, s, t1, exception, error, stackTrace, replacement;
29232 try {
29233 for (t1 = J.get$iterator$ax(this._expand.call$1(inputEvent)); t1.moveNext$0();) {
29234 value = t1.get$current(t1);
29235 sink._async$_add$1(value);
29236 }
29237 } catch (exception) {
29238 e = A.unwrapException(exception);
29239 s = A.getTraceFromException(exception);
29240 error = e;
29241 stackTrace = s;
29242 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
29243 if (replacement != null) {
29244 error = replacement.error;
29245 stackTrace = replacement.stackTrace;
29246 }
29247 sink._addError$2(error, stackTrace);
29248 }
29249 }
29250 };
29251 A._ZoneFunction.prototype = {};
29252 A._RunNullaryZoneFunction.prototype = {};
29253 A._RunUnaryZoneFunction.prototype = {};
29254 A._RunBinaryZoneFunction.prototype = {};
29255 A._RegisterNullaryZoneFunction.prototype = {};
29256 A._RegisterUnaryZoneFunction.prototype = {};
29257 A._RegisterBinaryZoneFunction.prototype = {};
29258 A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
29259 A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
29260 A._Zone.prototype = {
29261 _processUncaughtError$3(zone, error, stackTrace) {
29262 var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
29263 implementation = this.get$_handleUncaughtError(),
29264 implZone = implementation.zone;
29265 if (implZone === B.C__RootZone) {
29266 A._rootHandleError(error, stackTrace);
29267 return;
29268 }
29269 handler = implementation.$function;
29270 parentDelegate = implZone.get$_parentDelegate();
29271 t1 = J.get$parent$z(implZone);
29272 t1.toString;
29273 parentZone = t1;
29274 currentZone = $.Zone__current;
29275 try {
29276 $.Zone__current = parentZone;
29277 handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
29278 $.Zone__current = currentZone;
29279 } catch (exception) {
29280 e = A.unwrapException(exception);
29281 s = A.getTraceFromException(exception);
29282 $.Zone__current = currentZone;
29283 t1 = error === e ? stackTrace : s;
29284 parentZone._processUncaughtError$3(implZone, e, t1);
29285 }
29286 },
29287 $isZone: 1
29288 };
29289 A._CustomZone.prototype = {
29290 get$_delegate() {
29291 var t1 = this._delegateCache;
29292 return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
29293 },
29294 get$_parentDelegate() {
29295 return this.parent.get$_delegate();
29296 },
29297 get$errorZone() {
29298 return this._handleUncaughtError.zone;
29299 },
29300 runGuarded$1(f) {
29301 var e, s, exception;
29302 try {
29303 this.run$1$1(0, f, type$.void);
29304 } catch (exception) {
29305 e = A.unwrapException(exception);
29306 s = A.getTraceFromException(exception);
29307 this._processUncaughtError$3(this, e, s);
29308 }
29309 },
29310 runUnaryGuarded$1$2(f, arg, $T) {
29311 var e, s, exception;
29312 try {
29313 this.runUnary$2$2(f, arg, type$.void, $T);
29314 } catch (exception) {
29315 e = A.unwrapException(exception);
29316 s = A.getTraceFromException(exception);
29317 this._processUncaughtError$3(this, e, s);
29318 }
29319 },
29320 runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
29321 var e, s, exception;
29322 try {
29323 this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
29324 } catch (exception) {
29325 e = A.unwrapException(exception);
29326 s = A.getTraceFromException(exception);
29327 this._processUncaughtError$3(this, e, s);
29328 }
29329 },
29330 bindCallback$1$1(f, $R) {
29331 return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
29332 },
29333 bindUnaryCallback$2$1(f, $R, $T) {
29334 return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
29335 },
29336 bindCallbackGuarded$1(f) {
29337 return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
29338 },
29339 $index(_, key) {
29340 var value,
29341 t1 = this._async$_map,
29342 result = t1.$index(0, key);
29343 if (result != null || t1.containsKey$1(key))
29344 return result;
29345 value = this.parent.$index(0, key);
29346 if (value != null)
29347 t1.$indexSet(0, key, value);
29348 return value;
29349 },
29350 handleUncaughtError$2(error, stackTrace) {
29351 this._processUncaughtError$3(this, error, stackTrace);
29352 },
29353 fork$2$specification$zoneValues(specification, zoneValues) {
29354 var implementation = this._fork,
29355 t1 = implementation.zone;
29356 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
29357 },
29358 run$1$1(_, f) {
29359 var implementation = this._run,
29360 t1 = implementation.zone;
29361 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
29362 },
29363 runUnary$2$2(f, arg) {
29364 var implementation = this._runUnary,
29365 t1 = implementation.zone;
29366 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
29367 },
29368 runBinary$3$3(f, arg1, arg2) {
29369 var implementation = this._runBinary,
29370 t1 = implementation.zone;
29371 return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
29372 },
29373 registerCallback$1$1(callback) {
29374 var implementation = this._registerCallback,
29375 t1 = implementation.zone;
29376 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29377 },
29378 registerUnaryCallback$2$1(callback) {
29379 var implementation = this._registerUnaryCallback,
29380 t1 = implementation.zone;
29381 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29382 },
29383 registerBinaryCallback$3$1(callback) {
29384 var implementation = this._registerBinaryCallback,
29385 t1 = implementation.zone;
29386 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29387 },
29388 errorCallback$2(error, stackTrace) {
29389 var implementation, implementationZone;
29390 A.checkNotNullable(error, "error", type$.Object);
29391 implementation = this._errorCallback;
29392 implementationZone = implementation.zone;
29393 if (implementationZone === B.C__RootZone)
29394 return null;
29395 return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
29396 },
29397 scheduleMicrotask$1(f) {
29398 var implementation = this._scheduleMicrotask,
29399 t1 = implementation.zone;
29400 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
29401 },
29402 createTimer$2(duration, f) {
29403 var implementation = this._createTimer,
29404 t1 = implementation.zone;
29405 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
29406 },
29407 print$1(line) {
29408 var implementation = this._print,
29409 t1 = implementation.zone;
29410 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
29411 },
29412 get$_run() {
29413 return this._run;
29414 },
29415 get$_runUnary() {
29416 return this._runUnary;
29417 },
29418 get$_runBinary() {
29419 return this._runBinary;
29420 },
29421 get$_registerCallback() {
29422 return this._registerCallback;
29423 },
29424 get$_registerUnaryCallback() {
29425 return this._registerUnaryCallback;
29426 },
29427 get$_registerBinaryCallback() {
29428 return this._registerBinaryCallback;
29429 },
29430 get$_errorCallback() {
29431 return this._errorCallback;
29432 },
29433 get$_scheduleMicrotask() {
29434 return this._scheduleMicrotask;
29435 },
29436 get$_createTimer() {
29437 return this._createTimer;
29438 },
29439 get$_createPeriodicTimer() {
29440 return this._createPeriodicTimer;
29441 },
29442 get$_print() {
29443 return this._print;
29444 },
29445 get$_fork() {
29446 return this._fork;
29447 },
29448 get$_handleUncaughtError() {
29449 return this._handleUncaughtError;
29450 },
29451 get$parent(receiver) {
29452 return this.parent;
29453 },
29454 get$_async$_map() {
29455 return this._async$_map;
29456 }
29457 };
29458 A._CustomZone_bindCallback_closure.prototype = {
29459 call$0() {
29460 return this.$this.run$1$1(0, this.registered, this.R);
29461 },
29462 $signature() {
29463 return this.R._eval$1("0()");
29464 }
29465 };
29466 A._CustomZone_bindUnaryCallback_closure.prototype = {
29467 call$1(arg) {
29468 var _this = this;
29469 return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
29470 },
29471 $signature() {
29472 return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
29473 }
29474 };
29475 A._CustomZone_bindCallbackGuarded_closure.prototype = {
29476 call$0() {
29477 return this.$this.runGuarded$1(this.registered);
29478 },
29479 $signature: 0
29480 };
29481 A._rootHandleError_closure.prototype = {
29482 call$0() {
29483 var t1 = this.error,
29484 t2 = this.stackTrace;
29485 A.checkNotNullable(t1, "error", type$.Object);
29486 A.checkNotNullable(t2, "stackTrace", type$.StackTrace);
29487 A.Error__throw(t1, t2);
29488 },
29489 $signature: 0
29490 };
29491 A._RootZone.prototype = {
29492 get$_run() {
29493 return B._RunNullaryZoneFunction__RootZone__rootRun;
29494 },
29495 get$_runUnary() {
29496 return B._RunUnaryZoneFunction__RootZone__rootRunUnary;
29497 },
29498 get$_runBinary() {
29499 return B._RunBinaryZoneFunction__RootZone__rootRunBinary;
29500 },
29501 get$_registerCallback() {
29502 return B._RegisterNullaryZoneFunction__RootZone__rootRegisterCallback;
29503 },
29504 get$_registerUnaryCallback() {
29505 return B._RegisterUnaryZoneFunction_Bqo;
29506 },
29507 get$_registerBinaryCallback() {
29508 return B._RegisterBinaryZoneFunction_kGu;
29509 },
29510 get$_errorCallback() {
29511 return B._ZoneFunction__RootZone__rootErrorCallback;
29512 },
29513 get$_scheduleMicrotask() {
29514 return B._ZoneFunction__RootZone__rootScheduleMicrotask;
29515 },
29516 get$_createTimer() {
29517 return B._ZoneFunction__RootZone__rootCreateTimer;
29518 },
29519 get$_createPeriodicTimer() {
29520 return B._ZoneFunction_3bB;
29521 },
29522 get$_print() {
29523 return B._ZoneFunction__RootZone__rootPrint;
29524 },
29525 get$_fork() {
29526 return B._ZoneFunction__RootZone__rootFork;
29527 },
29528 get$_handleUncaughtError() {
29529 return B._ZoneFunction_NMc;
29530 },
29531 get$parent(_) {
29532 return null;
29533 },
29534 get$_async$_map() {
29535 return $.$get$_RootZone__rootMap();
29536 },
29537 get$_delegate() {
29538 var t1 = $._RootZone__rootDelegate;
29539 return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
29540 },
29541 get$_parentDelegate() {
29542 var t1 = $._RootZone__rootDelegate;
29543 return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
29544 },
29545 get$errorZone() {
29546 return this;
29547 },
29548 runGuarded$1(f) {
29549 var e, s, exception;
29550 try {
29551 if (B.C__RootZone === $.Zone__current) {
29552 f.call$0();
29553 return;
29554 }
29555 A._rootRun(null, null, this, f);
29556 } catch (exception) {
29557 e = A.unwrapException(exception);
29558 s = A.getTraceFromException(exception);
29559 A._rootHandleError(e, s);
29560 }
29561 },
29562 runUnaryGuarded$1$2(f, arg) {
29563 var e, s, exception;
29564 try {
29565 if (B.C__RootZone === $.Zone__current) {
29566 f.call$1(arg);
29567 return;
29568 }
29569 A._rootRunUnary(null, null, this, f, arg);
29570 } catch (exception) {
29571 e = A.unwrapException(exception);
29572 s = A.getTraceFromException(exception);
29573 A._rootHandleError(e, s);
29574 }
29575 },
29576 runBinaryGuarded$2$3(f, arg1, arg2) {
29577 var e, s, exception;
29578 try {
29579 if (B.C__RootZone === $.Zone__current) {
29580 f.call$2(arg1, arg2);
29581 return;
29582 }
29583 A._rootRunBinary(null, null, this, f, arg1, arg2);
29584 } catch (exception) {
29585 e = A.unwrapException(exception);
29586 s = A.getTraceFromException(exception);
29587 A._rootHandleError(e, s);
29588 }
29589 },
29590 bindCallback$1$1(f, $R) {
29591 return new A._RootZone_bindCallback_closure(this, f, $R);
29592 },
29593 bindUnaryCallback$2$1(f, $R, $T) {
29594 return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
29595 },
29596 bindCallbackGuarded$1(f) {
29597 return new A._RootZone_bindCallbackGuarded_closure(this, f);
29598 },
29599 $index(_, key) {
29600 return null;
29601 },
29602 handleUncaughtError$2(error, stackTrace) {
29603 A._rootHandleError(error, stackTrace);
29604 },
29605 fork$2$specification$zoneValues(specification, zoneValues) {
29606 return A._rootFork(null, null, this, specification, zoneValues);
29607 },
29608 run$1$1(_, f) {
29609 if ($.Zone__current === B.C__RootZone)
29610 return f.call$0();
29611 return A._rootRun(null, null, this, f);
29612 },
29613 runUnary$2$2(f, arg) {
29614 if ($.Zone__current === B.C__RootZone)
29615 return f.call$1(arg);
29616 return A._rootRunUnary(null, null, this, f, arg);
29617 },
29618 runBinary$3$3(f, arg1, arg2) {
29619 if ($.Zone__current === B.C__RootZone)
29620 return f.call$2(arg1, arg2);
29621 return A._rootRunBinary(null, null, this, f, arg1, arg2);
29622 },
29623 registerCallback$1$1(f) {
29624 return f;
29625 },
29626 registerUnaryCallback$2$1(f) {
29627 return f;
29628 },
29629 registerBinaryCallback$3$1(f) {
29630 return f;
29631 },
29632 errorCallback$2(error, stackTrace) {
29633 return null;
29634 },
29635 scheduleMicrotask$1(f) {
29636 A._rootScheduleMicrotask(null, null, this, f);
29637 },
29638 createTimer$2(duration, f) {
29639 return A.Timer__createTimer(duration, f);
29640 },
29641 print$1(line) {
29642 A.printString(line);
29643 }
29644 };
29645 A._RootZone_bindCallback_closure.prototype = {
29646 call$0() {
29647 return this.$this.run$1$1(0, this.f, this.R);
29648 },
29649 $signature() {
29650 return this.R._eval$1("0()");
29651 }
29652 };
29653 A._RootZone_bindUnaryCallback_closure.prototype = {
29654 call$1(arg) {
29655 var _this = this;
29656 return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
29657 },
29658 $signature() {
29659 return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
29660 }
29661 };
29662 A._RootZone_bindCallbackGuarded_closure.prototype = {
29663 call$0() {
29664 return this.$this.runGuarded$1(this.f);
29665 },
29666 $signature: 0
29667 };
29668 A._HashMap.prototype = {
29669 get$length(_) {
29670 return this._collection$_length;
29671 },
29672 get$isEmpty(_) {
29673 return this._collection$_length === 0;
29674 },
29675 get$isNotEmpty(_) {
29676 return this._collection$_length !== 0;
29677 },
29678 get$keys(_) {
29679 return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
29680 },
29681 get$values(_) {
29682 var t1 = A._instanceType(this);
29683 return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
29684 },
29685 containsKey$1(key) {
29686 var strings, nums;
29687 if (typeof key == "string" && key !== "__proto__") {
29688 strings = this._collection$_strings;
29689 return strings == null ? false : strings[key] != null;
29690 } else if (typeof key == "number" && (key & 1073741823) === key) {
29691 nums = this._collection$_nums;
29692 return nums == null ? false : nums[key] != null;
29693 } else
29694 return this._containsKey$1(key);
29695 },
29696 _containsKey$1(key) {
29697 var rest = this._collection$_rest;
29698 if (rest == null)
29699 return false;
29700 return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
29701 },
29702 addAll$1(_, other) {
29703 other.forEach$1(0, new A._HashMap_addAll_closure(this));
29704 },
29705 $index(_, key) {
29706 var strings, t1, nums;
29707 if (typeof key == "string" && key !== "__proto__") {
29708 strings = this._collection$_strings;
29709 t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
29710 return t1;
29711 } else if (typeof key == "number" && (key & 1073741823) === key) {
29712 nums = this._collection$_nums;
29713 t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
29714 return t1;
29715 } else
29716 return this._get$1(key);
29717 },
29718 _get$1(key) {
29719 var bucket, index,
29720 rest = this._collection$_rest;
29721 if (rest == null)
29722 return null;
29723 bucket = this._getBucket$2(rest, key);
29724 index = this._findBucketIndex$2(bucket, key);
29725 return index < 0 ? null : bucket[index + 1];
29726 },
29727 $indexSet(_, key, value) {
29728 var strings, nums, _this = this;
29729 if (typeof key == "string" && key !== "__proto__") {
29730 strings = _this._collection$_strings;
29731 _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
29732 } else if (typeof key == "number" && (key & 1073741823) === key) {
29733 nums = _this._collection$_nums;
29734 _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
29735 } else
29736 _this._set$2(key, value);
29737 },
29738 _set$2(key, value) {
29739 var hash, bucket, index, _this = this,
29740 rest = _this._collection$_rest;
29741 if (rest == null)
29742 rest = _this._collection$_rest = A._HashMap__newHashTable();
29743 hash = _this._computeHashCode$1(key);
29744 bucket = rest[hash];
29745 if (bucket == null) {
29746 A._HashMap__setTableEntry(rest, hash, [key, value]);
29747 ++_this._collection$_length;
29748 _this._keys = null;
29749 } else {
29750 index = _this._findBucketIndex$2(bucket, key);
29751 if (index >= 0)
29752 bucket[index + 1] = value;
29753 else {
29754 bucket.push(key, value);
29755 ++_this._collection$_length;
29756 _this._keys = null;
29757 }
29758 }
29759 },
29760 remove$1(_, key) {
29761 var t1;
29762 if (typeof key == "string" && key !== "__proto__")
29763 return this._removeHashTableEntry$2(this._collection$_strings, key);
29764 else {
29765 t1 = this._remove$1(key);
29766 return t1;
29767 }
29768 },
29769 _remove$1(key) {
29770 var hash, bucket, index, result, _this = this,
29771 rest = _this._collection$_rest;
29772 if (rest == null)
29773 return null;
29774 hash = _this._computeHashCode$1(key);
29775 bucket = rest[hash];
29776 index = _this._findBucketIndex$2(bucket, key);
29777 if (index < 0)
29778 return null;
29779 --_this._collection$_length;
29780 _this._keys = null;
29781 result = bucket.splice(index, 2)[1];
29782 if (0 === bucket.length)
29783 delete rest[hash];
29784 return result;
29785 },
29786 forEach$1(_, action) {
29787 var $length, t1, i, key, _this = this,
29788 keys = _this._computeKeys$0();
29789 for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
29790 key = keys[i];
29791 action.call$2(key, t1._as(_this.$index(0, key)));
29792 if (keys !== _this._keys)
29793 throw A.wrapException(A.ConcurrentModificationError$(_this));
29794 }
29795 },
29796 _computeKeys$0() {
29797 var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this,
29798 result = _this._keys;
29799 if (result != null)
29800 return result;
29801 result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
29802 strings = _this._collection$_strings;
29803 if (strings != null) {
29804 names = Object.getOwnPropertyNames(strings);
29805 entries = names.length;
29806 for (index = 0, i = 0; i < entries; ++i) {
29807 result[index] = names[i];
29808 ++index;
29809 }
29810 } else
29811 index = 0;
29812 nums = _this._collection$_nums;
29813 if (nums != null) {
29814 names = Object.getOwnPropertyNames(nums);
29815 entries = names.length;
29816 for (i = 0; i < entries; ++i) {
29817 result[index] = +names[i];
29818 ++index;
29819 }
29820 }
29821 rest = _this._collection$_rest;
29822 if (rest != null) {
29823 names = Object.getOwnPropertyNames(rest);
29824 entries = names.length;
29825 for (i = 0; i < entries; ++i) {
29826 bucket = rest[names[i]];
29827 $length = bucket.length;
29828 for (i0 = 0; i0 < $length; i0 += 2) {
29829 result[index] = bucket[i0];
29830 ++index;
29831 }
29832 }
29833 }
29834 return _this._keys = result;
29835 },
29836 _collection$_addHashTableEntry$3(table, key, value) {
29837 if (table[key] == null) {
29838 ++this._collection$_length;
29839 this._keys = null;
29840 }
29841 A._HashMap__setTableEntry(table, key, value);
29842 },
29843 _removeHashTableEntry$2(table, key) {
29844 var value;
29845 if (table != null && table[key] != null) {
29846 value = A._HashMap__getTableEntry(table, key);
29847 delete table[key];
29848 --this._collection$_length;
29849 this._keys = null;
29850 return value;
29851 } else
29852 return null;
29853 },
29854 _computeHashCode$1(key) {
29855 return J.get$hashCode$(key) & 1073741823;
29856 },
29857 _getBucket$2(table, key) {
29858 return table[this._computeHashCode$1(key)];
29859 },
29860 _findBucketIndex$2(bucket, key) {
29861 var $length, i;
29862 if (bucket == null)
29863 return -1;
29864 $length = bucket.length;
29865 for (i = 0; i < $length; i += 2)
29866 if (J.$eq$(bucket[i], key))
29867 return i;
29868 return -1;
29869 }
29870 };
29871 A._HashMap_values_closure.prototype = {
29872 call$1(each) {
29873 var t1 = this.$this;
29874 return A._instanceType(t1)._rest[1]._as(t1.$index(0, each));
29875 },
29876 $signature() {
29877 return A._instanceType(this.$this)._eval$1("2(1)");
29878 }
29879 };
29880 A._HashMap_addAll_closure.prototype = {
29881 call$2(key, value) {
29882 this.$this.$indexSet(0, key, value);
29883 },
29884 $signature() {
29885 return A._instanceType(this.$this)._eval$1("~(1,2)");
29886 }
29887 };
29888 A._IdentityHashMap.prototype = {
29889 _computeHashCode$1(key) {
29890 return A.objectHashCode(key) & 1073741823;
29891 },
29892 _findBucketIndex$2(bucket, key) {
29893 var $length, i, t1;
29894 if (bucket == null)
29895 return -1;
29896 $length = bucket.length;
29897 for (i = 0; i < $length; i += 2) {
29898 t1 = bucket[i];
29899 if (t1 == null ? key == null : t1 === key)
29900 return i;
29901 }
29902 return -1;
29903 }
29904 };
29905 A._HashMapKeyIterable.prototype = {
29906 get$length(_) {
29907 return this._map._collection$_length;
29908 },
29909 get$isEmpty(_) {
29910 return this._map._collection$_length === 0;
29911 },
29912 get$iterator(_) {
29913 var t1 = this._map;
29914 return new A._HashMapKeyIterator(t1, t1._computeKeys$0());
29915 },
29916 contains$1(_, element) {
29917 return this._map.containsKey$1(element);
29918 }
29919 };
29920 A._HashMapKeyIterator.prototype = {
29921 get$current(_) {
29922 return A._instanceType(this)._precomputed1._as(this._collection$_current);
29923 },
29924 moveNext$0() {
29925 var _this = this,
29926 keys = _this._keys,
29927 offset = _this._offset,
29928 t1 = _this._map;
29929 if (keys !== t1._keys)
29930 throw A.wrapException(A.ConcurrentModificationError$(t1));
29931 else if (offset >= keys.length) {
29932 _this._collection$_current = null;
29933 return false;
29934 } else {
29935 _this._collection$_current = keys[offset];
29936 _this._offset = offset + 1;
29937 return true;
29938 }
29939 }
29940 };
29941 A._LinkedIdentityHashMap.prototype = {
29942 internalComputeHashCode$1(key) {
29943 return A.objectHashCode(key) & 1073741823;
29944 },
29945 internalFindBucketIndex$2(bucket, key) {
29946 var $length, i, t1;
29947 if (bucket == null)
29948 return -1;
29949 $length = bucket.length;
29950 for (i = 0; i < $length; ++i) {
29951 t1 = bucket[i].hashMapCellKey;
29952 if (t1 == null ? key == null : t1 === key)
29953 return i;
29954 }
29955 return -1;
29956 }
29957 };
29958 A._LinkedCustomHashMap.prototype = {
29959 $index(_, key) {
29960 if (!this._validKey.call$1(key))
29961 return null;
29962 return this.super$JsLinkedHashMap$internalGet(key);
29963 },
29964 $indexSet(_, key, value) {
29965 this.super$JsLinkedHashMap$internalSet(key, value);
29966 },
29967 containsKey$1(key) {
29968 if (!this._validKey.call$1(key))
29969 return false;
29970 return this.super$JsLinkedHashMap$internalContainsKey(key);
29971 },
29972 remove$1(_, key) {
29973 if (!this._validKey.call$1(key))
29974 return null;
29975 return this.super$JsLinkedHashMap$internalRemove(key);
29976 },
29977 internalComputeHashCode$1(key) {
29978 return this._hashCode.call$1(key) & 1073741823;
29979 },
29980 internalFindBucketIndex$2(bucket, key) {
29981 var $length, t1, i;
29982 if (bucket == null)
29983 return -1;
29984 $length = bucket.length;
29985 for (t1 = this._equals, i = 0; i < $length; ++i)
29986 if (t1.call$2(bucket[i].hashMapCellKey, key))
29987 return i;
29988 return -1;
29989 }
29990 };
29991 A._LinkedCustomHashMap_closure.prototype = {
29992 call$1(v) {
29993 return this.K._is(v);
29994 },
29995 $signature: 118
29996 };
29997 A._LinkedHashSet.prototype = {
29998 _newSet$0() {
29999 return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
30000 },
30001 _newSimilarSet$1$0($R) {
30002 return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
30003 },
30004 _newSimilarSet$0() {
30005 return this._newSimilarSet$1$0(type$.dynamic);
30006 },
30007 get$iterator(_) {
30008 var t1 = new A._LinkedHashSetIterator(this, this._collection$_modifications);
30009 t1._collection$_cell = this._collection$_first;
30010 return t1;
30011 },
30012 get$length(_) {
30013 return this._collection$_length;
30014 },
30015 get$isEmpty(_) {
30016 return this._collection$_length === 0;
30017 },
30018 get$isNotEmpty(_) {
30019 return this._collection$_length !== 0;
30020 },
30021 contains$1(_, object) {
30022 var strings, nums;
30023 if (typeof object == "string" && object !== "__proto__") {
30024 strings = this._collection$_strings;
30025 if (strings == null)
30026 return false;
30027 return strings[object] != null;
30028 } else if (typeof object == "number" && (object & 1073741823) === object) {
30029 nums = this._collection$_nums;
30030 if (nums == null)
30031 return false;
30032 return nums[object] != null;
30033 } else
30034 return this._contains$1(object);
30035 },
30036 _contains$1(object) {
30037 var rest = this._collection$_rest;
30038 if (rest == null)
30039 return false;
30040 return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
30041 },
30042 get$first(_) {
30043 var first = this._collection$_first;
30044 if (first == null)
30045 throw A.wrapException(A.StateError$("No elements"));
30046 return first._element;
30047 },
30048 get$last(_) {
30049 var last = this._collection$_last;
30050 if (last == null)
30051 throw A.wrapException(A.StateError$("No elements"));
30052 return last._element;
30053 },
30054 add$1(_, element) {
30055 var strings, nums, _this = this;
30056 if (typeof element == "string" && element !== "__proto__") {
30057 strings = _this._collection$_strings;
30058 return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
30059 } else if (typeof element == "number" && (element & 1073741823) === element) {
30060 nums = _this._collection$_nums;
30061 return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
30062 } else
30063 return _this._add$1(element);
30064 },
30065 _add$1(element) {
30066 var hash, bucket, _this = this,
30067 rest = _this._collection$_rest;
30068 if (rest == null)
30069 rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
30070 hash = _this._computeHashCode$1(element);
30071 bucket = rest[hash];
30072 if (bucket == null)
30073 rest[hash] = [_this._collection$_newLinkedCell$1(element)];
30074 else {
30075 if (_this._findBucketIndex$2(bucket, element) >= 0)
30076 return false;
30077 bucket.push(_this._collection$_newLinkedCell$1(element));
30078 }
30079 return true;
30080 },
30081 remove$1(_, object) {
30082 var _this = this;
30083 if (typeof object == "string" && object !== "__proto__")
30084 return _this._removeHashTableEntry$2(_this._collection$_strings, object);
30085 else if (typeof object == "number" && (object & 1073741823) === object)
30086 return _this._removeHashTableEntry$2(_this._collection$_nums, object);
30087 else
30088 return _this._remove$1(object);
30089 },
30090 _remove$1(object) {
30091 var hash, bucket, index, cell, _this = this,
30092 rest = _this._collection$_rest;
30093 if (rest == null)
30094 return false;
30095 hash = _this._computeHashCode$1(object);
30096 bucket = rest[hash];
30097 index = _this._findBucketIndex$2(bucket, object);
30098 if (index < 0)
30099 return false;
30100 cell = bucket.splice(index, 1)[0];
30101 if (0 === bucket.length)
30102 delete rest[hash];
30103 _this._unlinkCell$1(cell);
30104 return true;
30105 },
30106 _collection$_addHashTableEntry$2(table, element) {
30107 if (table[element] != null)
30108 return false;
30109 table[element] = this._collection$_newLinkedCell$1(element);
30110 return true;
30111 },
30112 _removeHashTableEntry$2(table, element) {
30113 var cell;
30114 if (table == null)
30115 return false;
30116 cell = table[element];
30117 if (cell == null)
30118 return false;
30119 this._unlinkCell$1(cell);
30120 delete table[element];
30121 return true;
30122 },
30123 _collection$_modified$0() {
30124 this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
30125 },
30126 _collection$_newLinkedCell$1(element) {
30127 var t1, _this = this,
30128 cell = new A._LinkedHashSetCell(element);
30129 if (_this._collection$_first == null)
30130 _this._collection$_first = _this._collection$_last = cell;
30131 else {
30132 t1 = _this._collection$_last;
30133 t1.toString;
30134 cell._collection$_previous = t1;
30135 _this._collection$_last = t1._collection$_next = cell;
30136 }
30137 ++_this._collection$_length;
30138 _this._collection$_modified$0();
30139 return cell;
30140 },
30141 _unlinkCell$1(cell) {
30142 var _this = this,
30143 previous = cell._collection$_previous,
30144 next = cell._collection$_next;
30145 if (previous == null)
30146 _this._collection$_first = next;
30147 else
30148 previous._collection$_next = next;
30149 if (next == null)
30150 _this._collection$_last = previous;
30151 else
30152 next._collection$_previous = previous;
30153 --_this._collection$_length;
30154 _this._collection$_modified$0();
30155 },
30156 _computeHashCode$1(element) {
30157 return J.get$hashCode$(element) & 1073741823;
30158 },
30159 _findBucketIndex$2(bucket, element) {
30160 var $length, i;
30161 if (bucket == null)
30162 return -1;
30163 $length = bucket.length;
30164 for (i = 0; i < $length; ++i)
30165 if (J.$eq$(bucket[i]._element, element))
30166 return i;
30167 return -1;
30168 }
30169 };
30170 A._LinkedIdentityHashSet.prototype = {
30171 _newSet$0() {
30172 return new A._LinkedIdentityHashSet(this.$ti);
30173 },
30174 _newSimilarSet$1$0($R) {
30175 return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
30176 },
30177 _newSimilarSet$0() {
30178 return this._newSimilarSet$1$0(type$.dynamic);
30179 },
30180 _computeHashCode$1(key) {
30181 return A.objectHashCode(key) & 1073741823;
30182 },
30183 _findBucketIndex$2(bucket, element) {
30184 var $length, i, t1;
30185 if (bucket == null)
30186 return -1;
30187 $length = bucket.length;
30188 for (i = 0; i < $length; ++i) {
30189 t1 = bucket[i]._element;
30190 if (t1 == null ? element == null : t1 === element)
30191 return i;
30192 }
30193 return -1;
30194 }
30195 };
30196 A._LinkedHashSetCell.prototype = {};
30197 A._LinkedHashSetIterator.prototype = {
30198 get$current(_) {
30199 return A._instanceType(this)._precomputed1._as(this._collection$_current);
30200 },
30201 moveNext$0() {
30202 var _this = this,
30203 cell = _this._collection$_cell,
30204 t1 = _this._set;
30205 if (_this._collection$_modifications !== t1._collection$_modifications)
30206 throw A.wrapException(A.ConcurrentModificationError$(t1));
30207 else if (cell == null) {
30208 _this._collection$_current = null;
30209 return false;
30210 } else {
30211 _this._collection$_current = cell._element;
30212 _this._collection$_cell = cell._collection$_next;
30213 return true;
30214 }
30215 }
30216 };
30217 A.UnmodifiableListView.prototype = {
30218 cast$1$0(_, $R) {
30219 return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
30220 },
30221 get$length(_) {
30222 return J.get$length$asx(this._collection$_source);
30223 },
30224 $index(_, index) {
30225 return J.elementAt$1$ax(this._collection$_source, index);
30226 }
30227 };
30228 A.HashMap_HashMap$from_closure.prototype = {
30229 call$2(k, v) {
30230 this.result.$indexSet(0, this.K._as(k), this.V._as(v));
30231 },
30232 $signature: 231
30233 };
30234 A.IterableBase.prototype = {};
30235 A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
30236 call$2(k, v) {
30237 this.result.$indexSet(0, this.K._as(k), this.V._as(v));
30238 },
30239 $signature: 231
30240 };
30241 A.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1};
30242 A.ListMixin.prototype = {
30243 get$iterator(receiver) {
30244 return new A.ListIterator(receiver, this.get$length(receiver));
30245 },
30246 elementAt$1(receiver, index) {
30247 return this.$index(receiver, index);
30248 },
30249 get$isEmpty(receiver) {
30250 return this.get$length(receiver) === 0;
30251 },
30252 get$isNotEmpty(receiver) {
30253 return !this.get$isEmpty(receiver);
30254 },
30255 get$first(receiver) {
30256 if (this.get$length(receiver) === 0)
30257 throw A.wrapException(A.IterableElementError_noElement());
30258 return this.$index(receiver, 0);
30259 },
30260 get$last(receiver) {
30261 if (this.get$length(receiver) === 0)
30262 throw A.wrapException(A.IterableElementError_noElement());
30263 return this.$index(receiver, this.get$length(receiver) - 1);
30264 },
30265 get$single(receiver) {
30266 if (this.get$length(receiver) === 0)
30267 throw A.wrapException(A.IterableElementError_noElement());
30268 if (this.get$length(receiver) > 1)
30269 throw A.wrapException(A.IterableElementError_tooMany());
30270 return this.$index(receiver, 0);
30271 },
30272 contains$1(receiver, element) {
30273 var i,
30274 $length = this.get$length(receiver);
30275 for (i = 0; i < $length; ++i) {
30276 if (J.$eq$(this.$index(receiver, i), element))
30277 return true;
30278 if ($length !== this.get$length(receiver))
30279 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30280 }
30281 return false;
30282 },
30283 every$1(receiver, test) {
30284 var i,
30285 $length = this.get$length(receiver);
30286 for (i = 0; i < $length; ++i) {
30287 if (!test.call$1(this.$index(receiver, i)))
30288 return false;
30289 if ($length !== this.get$length(receiver))
30290 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30291 }
30292 return true;
30293 },
30294 any$1(receiver, test) {
30295 var i,
30296 $length = this.get$length(receiver);
30297 for (i = 0; i < $length; ++i) {
30298 if (test.call$1(this.$index(receiver, i)))
30299 return true;
30300 if ($length !== this.get$length(receiver))
30301 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30302 }
30303 return false;
30304 },
30305 lastWhere$2$orElse(receiver, test, orElse) {
30306 var i, element,
30307 $length = this.get$length(receiver);
30308 for (i = $length - 1; i >= 0; --i) {
30309 element = this.$index(receiver, i);
30310 if (test.call$1(element))
30311 return element;
30312 if ($length !== this.get$length(receiver))
30313 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30314 }
30315 if (orElse != null)
30316 return orElse.call$0();
30317 throw A.wrapException(A.IterableElementError_noElement());
30318 },
30319 join$1(receiver, separator) {
30320 var t1;
30321 if (this.get$length(receiver) === 0)
30322 return "";
30323 t1 = A.StringBuffer__writeAll("", receiver, separator);
30324 return t1.charCodeAt(0) == 0 ? t1 : t1;
30325 },
30326 join$0($receiver) {
30327 return this.join$1($receiver, "");
30328 },
30329 where$1(receiver, test) {
30330 return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListMixin.E>"));
30331 },
30332 map$1$1(receiver, f, $T) {
30333 return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
30334 },
30335 expand$1$1(receiver, f, $T) {
30336 return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
30337 },
30338 skip$1(receiver, count) {
30339 return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListMixin.E"));
30340 },
30341 take$1(receiver, count) {
30342 return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListMixin.E"));
30343 },
30344 toList$1$growable(receiver, growable) {
30345 var t1, first, result, i, _this = this;
30346 if (_this.get$isEmpty(receiver)) {
30347 t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListMixin.E"));
30348 return t1;
30349 }
30350 first = _this.$index(receiver, 0);
30351 result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListMixin.E"));
30352 for (i = 1; i < _this.get$length(receiver); ++i)
30353 result[i] = _this.$index(receiver, i);
30354 return result;
30355 },
30356 toList$0($receiver) {
30357 return this.toList$1$growable($receiver, true);
30358 },
30359 toSet$0(receiver) {
30360 var i,
30361 result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListMixin.E"));
30362 for (i = 0; i < this.get$length(receiver); ++i)
30363 result.add$1(0, this.$index(receiver, i));
30364 return result;
30365 },
30366 add$1(receiver, element) {
30367 var t1 = this.get$length(receiver);
30368 this.set$length(receiver, t1 + 1);
30369 this.$indexSet(receiver, t1, element);
30370 },
30371 cast$1$0(receiver, $R) {
30372 return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($R)._eval$1("CastList<1,2>"));
30373 },
30374 sort$1(receiver, compare) {
30375 A.Sort_sort(receiver, compare == null ? A.collection_ListMixin__compareAny$closure() : compare);
30376 },
30377 sublist$2(receiver, start, end) {
30378 var listLength = this.get$length(receiver);
30379 A.RangeError_checkValidRange(start, end, listLength);
30380 return A.List_List$from(this.getRange$2(receiver, start, end), true, A.instanceType(receiver)._eval$1("ListMixin.E"));
30381 },
30382 getRange$2(receiver, start, end) {
30383 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30384 return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListMixin.E"));
30385 },
30386 fillRange$3(receiver, start, end, fill) {
30387 var i;
30388 A.instanceType(receiver)._eval$1("ListMixin.E")._as(fill);
30389 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30390 for (i = start; i < end; ++i)
30391 this.$indexSet(receiver, i, fill);
30392 },
30393 setRange$4(receiver, start, end, iterable, skipCount) {
30394 var $length, otherStart, otherList, t1, i;
30395 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30396 $length = end - start;
30397 if ($length === 0)
30398 return;
30399 A.RangeError_checkNotNegative(skipCount, "skipCount");
30400 if (A.instanceType(receiver)._eval$1("List<ListMixin.E>")._is(iterable)) {
30401 otherStart = skipCount;
30402 otherList = iterable;
30403 } else {
30404 otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
30405 otherStart = 0;
30406 }
30407 t1 = J.getInterceptor$asx(otherList);
30408 if (otherStart + $length > t1.get$length(otherList))
30409 throw A.wrapException(A.IterableElementError_tooFew());
30410 if (otherStart < start)
30411 for (i = $length - 1; i >= 0; --i)
30412 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
30413 else
30414 for (i = 0; i < $length; ++i)
30415 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
30416 },
30417 get$reversed(receiver) {
30418 return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListMixin.E>"));
30419 },
30420 toString$0(receiver) {
30421 return A.IterableBase_iterableToFullString(receiver, "[", "]");
30422 }
30423 };
30424 A.MapBase.prototype = {};
30425 A.MapBase_mapToString_closure.prototype = {
30426 call$2(k, v) {
30427 var t2,
30428 t1 = this._box_0;
30429 if (!t1.first)
30430 this.result._contents += ", ";
30431 t1.first = false;
30432 t1 = this.result;
30433 t2 = t1._contents += A.S(k);
30434 t1._contents = t2 + ": ";
30435 t1._contents += A.S(v);
30436 },
30437 $signature: 230
30438 };
30439 A.MapMixin.prototype = {
30440 cast$2$0(_, RK, RV) {
30441 var t1 = A._instanceType(this);
30442 return A.Map_castFrom(this, t1._eval$1("MapMixin.K"), t1._eval$1("MapMixin.V"), RK, RV);
30443 },
30444 forEach$1(_, action) {
30445 var t1, t2, key, _this = this;
30446 for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapMixin.V"); t1.moveNext$0();) {
30447 key = t1.get$current(t1);
30448 action.call$2(key, t2._as(_this.$index(0, key)));
30449 }
30450 },
30451 addAll$1(_, other) {
30452 var t1, t2, key;
30453 for (t1 = J.get$iterator$ax(other.get$keys(other)), t2 = A._instanceType(this)._eval$1("MapMixin.V"); t1.moveNext$0();) {
30454 key = t1.get$current(t1);
30455 this.$indexSet(0, key, t2._as(other.$index(0, key)));
30456 }
30457 },
30458 get$entries(_) {
30459 var _this = this;
30460 return J.map$1$1$ax(_this.get$keys(_this), new A.MapMixin_entries_closure(_this), A._instanceType(_this)._eval$1("MapEntry<MapMixin.K,MapMixin.V>"));
30461 },
30462 containsKey$1(key) {
30463 return J.contains$1$asx(this.get$keys(this), key);
30464 },
30465 get$length(_) {
30466 return J.get$length$asx(this.get$keys(this));
30467 },
30468 get$isEmpty(_) {
30469 return J.get$isEmpty$asx(this.get$keys(this));
30470 },
30471 get$isNotEmpty(_) {
30472 return J.get$isNotEmpty$asx(this.get$keys(this));
30473 },
30474 get$values(_) {
30475 var t1 = A._instanceType(this);
30476 return new A._MapBaseValueIterable(this, t1._eval$1("@<MapMixin.K>")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("_MapBaseValueIterable<1,2>"));
30477 },
30478 toString$0(_) {
30479 return A.MapBase_mapToString(this);
30480 },
30481 $isMap: 1
30482 };
30483 A.MapMixin_entries_closure.prototype = {
30484 call$1(key) {
30485 var t1 = this.$this,
30486 t2 = A._instanceType(t1),
30487 t3 = t2._eval$1("MapMixin.V");
30488 return new A.MapEntry(key, t3._as(t1.$index(0, key)), t2._eval$1("@<MapMixin.K>")._bind$1(t3)._eval$1("MapEntry<1,2>"));
30489 },
30490 $signature() {
30491 return A._instanceType(this.$this)._eval$1("MapEntry<MapMixin.K,MapMixin.V>(MapMixin.K)");
30492 }
30493 };
30494 A.UnmodifiableMapBase.prototype = {};
30495 A._MapBaseValueIterable.prototype = {
30496 get$length(_) {
30497 var t1 = this._map;
30498 return t1.get$length(t1);
30499 },
30500 get$isEmpty(_) {
30501 var t1 = this._map;
30502 return t1.get$isEmpty(t1);
30503 },
30504 get$isNotEmpty(_) {
30505 var t1 = this._map;
30506 return t1.get$isNotEmpty(t1);
30507 },
30508 get$first(_) {
30509 var t1 = this._map;
30510 return this.$ti._rest[1]._as(t1.$index(0, J.get$first$ax(t1.get$keys(t1))));
30511 },
30512 get$single(_) {
30513 var t1 = this._map;
30514 return this.$ti._rest[1]._as(t1.$index(0, J.get$single$ax(t1.get$keys(t1))));
30515 },
30516 get$last(_) {
30517 var t1 = this._map;
30518 return this.$ti._rest[1]._as(t1.$index(0, J.get$last$ax(t1.get$keys(t1))));
30519 },
30520 get$iterator(_) {
30521 var t1 = this._map;
30522 return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1);
30523 }
30524 };
30525 A._MapBaseValueIterator.prototype = {
30526 moveNext$0() {
30527 var _this = this,
30528 t1 = _this._keys;
30529 if (t1.moveNext$0()) {
30530 _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
30531 return true;
30532 }
30533 _this._collection$_current = null;
30534 return false;
30535 },
30536 get$current(_) {
30537 return A._instanceType(this)._rest[1]._as(this._collection$_current);
30538 }
30539 };
30540 A._UnmodifiableMapMixin.prototype = {
30541 $indexSet(_, key, value) {
30542 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30543 },
30544 addAll$1(_, other) {
30545 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30546 },
30547 remove$1(_, key) {
30548 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30549 }
30550 };
30551 A.MapView.prototype = {
30552 cast$2$0(_, RK, RV) {
30553 return this._map.cast$2$0(0, RK, RV);
30554 },
30555 $index(_, key) {
30556 return this._map.$index(0, key);
30557 },
30558 $indexSet(_, key, value) {
30559 this._map.$indexSet(0, key, value);
30560 },
30561 addAll$1(_, other) {
30562 this._map.addAll$1(0, other);
30563 },
30564 containsKey$1(key) {
30565 return this._map.containsKey$1(key);
30566 },
30567 forEach$1(_, action) {
30568 this._map.forEach$1(0, action);
30569 },
30570 get$isEmpty(_) {
30571 var t1 = this._map;
30572 return t1.get$isEmpty(t1);
30573 },
30574 get$isNotEmpty(_) {
30575 var t1 = this._map;
30576 return t1.get$isNotEmpty(t1);
30577 },
30578 get$length(_) {
30579 var t1 = this._map;
30580 return t1.get$length(t1);
30581 },
30582 get$keys(_) {
30583 var t1 = this._map;
30584 return t1.get$keys(t1);
30585 },
30586 remove$1(_, key) {
30587 return this._map.remove$1(0, key);
30588 },
30589 toString$0(_) {
30590 return this._map.toString$0(0);
30591 },
30592 get$values(_) {
30593 var t1 = this._map;
30594 return t1.get$values(t1);
30595 },
30596 get$entries(_) {
30597 var t1 = this._map;
30598 return t1.get$entries(t1);
30599 },
30600 $isMap: 1
30601 };
30602 A.UnmodifiableMapView.prototype = {
30603 cast$2$0(_, RK, RV) {
30604 return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
30605 }
30606 };
30607 A.ListQueue.prototype = {
30608 get$iterator(_) {
30609 var _this = this;
30610 return new A._ListQueueIterator(_this, _this._collection$_tail, _this._modificationCount, _this._collection$_head);
30611 },
30612 get$isEmpty(_) {
30613 return this._collection$_head === this._collection$_tail;
30614 },
30615 get$length(_) {
30616 return (this._collection$_tail - this._collection$_head & this._collection$_table.length - 1) >>> 0;
30617 },
30618 get$first(_) {
30619 var _this = this,
30620 t1 = _this._collection$_head;
30621 if (t1 === _this._collection$_tail)
30622 throw A.wrapException(A.IterableElementError_noElement());
30623 return _this.$ti._precomputed1._as(_this._collection$_table[t1]);
30624 },
30625 get$last(_) {
30626 var _this = this,
30627 t1 = _this._collection$_head,
30628 t2 = _this._collection$_tail;
30629 if (t1 === t2)
30630 throw A.wrapException(A.IterableElementError_noElement());
30631 t1 = _this._collection$_table;
30632 return _this.$ti._precomputed1._as(t1[(t2 - 1 & t1.length - 1) >>> 0]);
30633 },
30634 get$single(_) {
30635 var _this = this;
30636 if (_this._collection$_head === _this._collection$_tail)
30637 throw A.wrapException(A.IterableElementError_noElement());
30638 if (_this.get$length(_this) > 1)
30639 throw A.wrapException(A.IterableElementError_tooMany());
30640 return _this.$ti._precomputed1._as(_this._collection$_table[_this._collection$_head]);
30641 },
30642 elementAt$1(_, index) {
30643 var t1, _this = this;
30644 A.RangeError_checkValidIndex(index, _this, null);
30645 t1 = _this._collection$_table;
30646 return _this.$ti._precomputed1._as(t1[(_this._collection$_head + index & t1.length - 1) >>> 0]);
30647 },
30648 toList$1$growable(_, growable) {
30649 var t1, list, t2, t3, i, _this = this,
30650 mask = _this._collection$_table.length - 1,
30651 $length = (_this._collection$_tail - _this._collection$_head & mask) >>> 0;
30652 if ($length === 0) {
30653 t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
30654 return t1;
30655 }
30656 t1 = _this.$ti._precomputed1;
30657 list = A.List_List$filled($length, _this.get$first(_this), true, t1);
30658 for (t2 = _this._collection$_table, t3 = _this._collection$_head, i = 0; i < $length; ++i)
30659 list[i] = t1._as(t2[(t3 + i & mask) >>> 0]);
30660 return list;
30661 },
30662 toList$0($receiver) {
30663 return this.toList$1$growable($receiver, true);
30664 },
30665 add$1(_, value) {
30666 this._add$1(value);
30667 },
30668 addAll$1(_, elements) {
30669 var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _this = this,
30670 t1 = _this.$ti;
30671 if (t1._eval$1("List<1>")._is(elements)) {
30672 addCount = J.get$length$asx(elements);
30673 $length = _this.get$length(_this);
30674 t2 = $length + addCount;
30675 t3 = _this._collection$_table;
30676 t4 = t3.length;
30677 if (t2 >= t4) {
30678 newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + B.JSInt_methods._shrOtherPositive$1(t2, 1)), null, false, t1._eval$1("1?"));
30679 _this._collection$_tail = _this._collection$_writeToList$1(newTable);
30680 _this._collection$_table = newTable;
30681 _this._collection$_head = 0;
30682 B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
30683 _this._collection$_tail += addCount;
30684 } else {
30685 t1 = _this._collection$_tail;
30686 endSpace = t4 - t1;
30687 if (addCount < endSpace) {
30688 B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
30689 _this._collection$_tail += addCount;
30690 } else {
30691 preSpace = addCount - endSpace;
30692 B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
30693 B.JSArray_methods.setRange$4(_this._collection$_table, 0, preSpace, elements, endSpace);
30694 _this._collection$_tail = preSpace;
30695 }
30696 }
30697 ++_this._modificationCount;
30698 } else
30699 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30700 _this._add$1(t1.get$current(t1));
30701 },
30702 clear$0(_) {
30703 var t2, t3, _this = this,
30704 i = _this._collection$_head,
30705 t1 = _this._collection$_tail;
30706 if (i !== t1) {
30707 for (t2 = _this._collection$_table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
30708 t2[i] = null;
30709 _this._collection$_head = _this._collection$_tail = 0;
30710 ++_this._modificationCount;
30711 }
30712 },
30713 toString$0(_) {
30714 return A.IterableBase_iterableToFullString(this, "{", "}");
30715 },
30716 addFirst$1(value) {
30717 var _this = this,
30718 t1 = _this._collection$_head,
30719 t2 = _this._collection$_table;
30720 t1 = _this._collection$_head = (t1 - 1 & t2.length - 1) >>> 0;
30721 t2[t1] = value;
30722 if (t1 === _this._collection$_tail)
30723 _this._collection$_grow$0();
30724 ++_this._modificationCount;
30725 },
30726 removeFirst$0() {
30727 var t2, result, _this = this,
30728 t1 = _this._collection$_head;
30729 if (t1 === _this._collection$_tail)
30730 throw A.wrapException(A.IterableElementError_noElement());
30731 ++_this._modificationCount;
30732 t2 = _this._collection$_table;
30733 result = _this.$ti._precomputed1._as(t2[t1]);
30734 t2[t1] = null;
30735 _this._collection$_head = (t1 + 1 & t2.length - 1) >>> 0;
30736 return result;
30737 },
30738 removeLast$0(_) {
30739 var result, _this = this,
30740 t1 = _this._collection$_head,
30741 t2 = _this._collection$_tail;
30742 if (t1 === t2)
30743 throw A.wrapException(A.IterableElementError_noElement());
30744 ++_this._modificationCount;
30745 t1 = _this._collection$_table;
30746 t2 = _this._collection$_tail = (t2 - 1 & t1.length - 1) >>> 0;
30747 result = _this.$ti._precomputed1._as(t1[t2]);
30748 t1[t2] = null;
30749 return result;
30750 },
30751 _add$1(element) {
30752 var _this = this,
30753 t1 = _this._collection$_table,
30754 t2 = _this._collection$_tail;
30755 t1[t2] = element;
30756 t1 = (t2 + 1 & t1.length - 1) >>> 0;
30757 _this._collection$_tail = t1;
30758 if (_this._collection$_head === t1)
30759 _this._collection$_grow$0();
30760 ++_this._modificationCount;
30761 },
30762 _collection$_grow$0() {
30763 var _this = this,
30764 newTable = A.List_List$filled(_this._collection$_table.length * 2, null, false, _this.$ti._eval$1("1?")),
30765 t1 = _this._collection$_table,
30766 t2 = _this._collection$_head,
30767 split = t1.length - t2;
30768 B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
30769 B.JSArray_methods.setRange$4(newTable, split, split + _this._collection$_head, _this._collection$_table, 0);
30770 _this._collection$_head = 0;
30771 _this._collection$_tail = _this._collection$_table.length;
30772 _this._collection$_table = newTable;
30773 },
30774 _collection$_writeToList$1(target) {
30775 var $length, firstPartSize, _this = this,
30776 t1 = _this._collection$_head,
30777 t2 = _this._collection$_tail,
30778 t3 = _this._collection$_table;
30779 if (t1 <= t2) {
30780 $length = t2 - t1;
30781 B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
30782 return $length;
30783 } else {
30784 firstPartSize = t3.length - t1;
30785 B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
30786 B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._collection$_tail, _this._collection$_table, 0);
30787 return _this._collection$_tail + firstPartSize;
30788 }
30789 },
30790 $isQueue: 1
30791 };
30792 A._ListQueueIterator.prototype = {
30793 get$current(_) {
30794 return A._instanceType(this)._precomputed1._as(this._collection$_current);
30795 },
30796 moveNext$0() {
30797 var t2, _this = this,
30798 t1 = _this._queue;
30799 if (_this._modificationCount !== t1._modificationCount)
30800 A.throwExpression(A.ConcurrentModificationError$(t1));
30801 t2 = _this._collection$_position;
30802 if (t2 === _this._collection$_end) {
30803 _this._collection$_current = null;
30804 return false;
30805 }
30806 t1 = t1._collection$_table;
30807 _this._collection$_current = t1[t2];
30808 _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
30809 return true;
30810 }
30811 };
30812 A.SetMixin.prototype = {
30813 get$isEmpty(_) {
30814 return this.get$length(this) === 0;
30815 },
30816 get$isNotEmpty(_) {
30817 return this.get$length(this) !== 0;
30818 },
30819 addAll$1(_, elements) {
30820 var t1;
30821 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30822 this.add$1(0, t1.get$current(t1));
30823 },
30824 removeAll$1(elements) {
30825 var t1;
30826 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30827 this.remove$1(0, t1.get$current(t1));
30828 },
30829 toList$1$growable(_, growable) {
30830 return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
30831 },
30832 toList$0($receiver) {
30833 return this.toList$1$growable($receiver, true);
30834 },
30835 map$1$1(_, f, $T) {
30836 return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
30837 },
30838 get$single(_) {
30839 var it, _this = this;
30840 if (_this.get$length(_this) > 1)
30841 throw A.wrapException(A.IterableElementError_tooMany());
30842 it = _this.get$iterator(_this);
30843 if (!it.moveNext$0())
30844 throw A.wrapException(A.IterableElementError_noElement());
30845 return it.get$current(it);
30846 },
30847 toString$0(_) {
30848 return A.IterableBase_iterableToFullString(this, "{", "}");
30849 },
30850 where$1(_, f) {
30851 return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
30852 },
30853 join$1(_, separator) {
30854 var t1,
30855 iterator = this.get$iterator(this);
30856 if (!iterator.moveNext$0())
30857 return "";
30858 if (separator === "") {
30859 t1 = "";
30860 do
30861 t1 += A.S(iterator.get$current(iterator));
30862 while (iterator.moveNext$0());
30863 } else {
30864 t1 = "" + A.S(iterator.get$current(iterator));
30865 for (; iterator.moveNext$0();)
30866 t1 = t1 + separator + A.S(iterator.get$current(iterator));
30867 }
30868 return t1.charCodeAt(0) == 0 ? t1 : t1;
30869 },
30870 join$0($receiver) {
30871 return this.join$1($receiver, "");
30872 },
30873 any$1(_, test) {
30874 var t1;
30875 for (t1 = this.get$iterator(this); t1.moveNext$0();)
30876 if (test.call$1(t1.get$current(t1)))
30877 return true;
30878 return false;
30879 },
30880 take$1(_, n) {
30881 return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
30882 },
30883 skip$1(_, n) {
30884 return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
30885 },
30886 get$first(_) {
30887 var it = this.get$iterator(this);
30888 if (!it.moveNext$0())
30889 throw A.wrapException(A.IterableElementError_noElement());
30890 return it.get$current(it);
30891 },
30892 get$last(_) {
30893 var result,
30894 it = this.get$iterator(this);
30895 if (!it.moveNext$0())
30896 throw A.wrapException(A.IterableElementError_noElement());
30897 do
30898 result = it.get$current(it);
30899 while (it.moveNext$0());
30900 return result;
30901 },
30902 elementAt$1(_, index) {
30903 var t1, elementIndex, element, _s5_ = "index";
30904 A.checkNotNullable(index, _s5_, type$.int);
30905 A.RangeError_checkNotNegative(index, _s5_);
30906 for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
30907 element = t1.get$current(t1);
30908 if (index === elementIndex)
30909 return element;
30910 ++elementIndex;
30911 }
30912 throw A.wrapException(A.IndexError$(index, this, _s5_, null, elementIndex));
30913 }
30914 };
30915 A._SetBase.prototype = {
30916 difference$1(other) {
30917 var t1, t2, element,
30918 result = this._newSet$0();
30919 for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
30920 element = t1.get$current(t1);
30921 if (!t2.contains$1(0, element))
30922 result.add$1(0, element);
30923 }
30924 return result;
30925 },
30926 intersection$1(other) {
30927 var t1, t2, element,
30928 result = this._newSet$0();
30929 for (t1 = this.get$iterator(this), t2 = other._baseMap; t1.moveNext$0();) {
30930 element = t1.get$current(t1);
30931 if (t2.containsKey$1(element))
30932 result.add$1(0, element);
30933 }
30934 return result;
30935 },
30936 toSet$0(_) {
30937 var t1 = this._newSet$0();
30938 t1.addAll$1(0, this);
30939 return t1;
30940 },
30941 $isEfficientLengthIterable: 1,
30942 $isIterable: 1,
30943 $isSet: 1
30944 };
30945 A._UnmodifiableSetMixin.prototype = {
30946 add$1(_, value) {
30947 return A._UnmodifiableSetMixin__throwUnmodifiable();
30948 },
30949 addAll$1(_, elements) {
30950 return A._UnmodifiableSetMixin__throwUnmodifiable();
30951 },
30952 remove$1(_, value) {
30953 return A._UnmodifiableSetMixin__throwUnmodifiable();
30954 }
30955 };
30956 A._UnmodifiableSet.prototype = {
30957 _newSet$0() {
30958 return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
30959 },
30960 contains$1(_, element) {
30961 return this._map.containsKey$1(element);
30962 },
30963 get$iterator(_) {
30964 var t1 = this._map;
30965 return J.get$iterator$ax(t1.get$keys(t1));
30966 },
30967 get$length(_) {
30968 var t1 = this._map;
30969 return t1.get$length(t1);
30970 }
30971 };
30972 A._ListBase_Object_ListMixin.prototype = {};
30973 A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
30974 A.__SetBase_Object_SetMixin.prototype = {};
30975 A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin.prototype = {};
30976 A.Utf8Decoder__decoder_closure.prototype = {
30977 call$0() {
30978 var t1, exception;
30979 try {
30980 t1 = new TextDecoder("utf-8", {fatal: true});
30981 return t1;
30982 } catch (exception) {
30983 }
30984 return null;
30985 },
30986 $signature: 82
30987 };
30988 A.Utf8Decoder__decoderNonfatal_closure.prototype = {
30989 call$0() {
30990 var t1, exception;
30991 try {
30992 t1 = new TextDecoder("utf-8", {fatal: false});
30993 return t1;
30994 } catch (exception) {
30995 }
30996 return null;
30997 },
30998 $signature: 82
30999 };
31000 A.AsciiCodec.prototype = {
31001 encode$1(source) {
31002 return B.AsciiEncoder_127.convert$1(source);
31003 },
31004 get$encoder() {
31005 return B.AsciiEncoder_127;
31006 }
31007 };
31008 A._UnicodeSubsetEncoder.prototype = {
31009 convert$1(string) {
31010 var t1, i, codeUnit,
31011 $length = A.RangeError_checkValidRange(0, null, string.length) - 0,
31012 result = new Uint8Array($length);
31013 for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) {
31014 codeUnit = B.JSString_methods._codeUnitAt$1(string, i);
31015 if ((codeUnit & t1) !== 0)
31016 throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
31017 result[i] = codeUnit;
31018 }
31019 return result;
31020 }
31021 };
31022 A.AsciiEncoder.prototype = {};
31023 A.Base64Codec.prototype = {
31024 get$encoder() {
31025 return B.C_Base64Encoder;
31026 },
31027 normalize$3(source, start, end) {
31028 var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
31029 _s31_ = "Invalid base64 encoding length ";
31030 end = A.RangeError_checkValidRange(start, end, source.length);
31031 inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
31032 for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
31033 i0 = i + 1;
31034 char = B.JSString_methods._codeUnitAt$1(source, i);
31035 if (char === 37) {
31036 i1 = i0 + 2;
31037 if (i1 <= end) {
31038 digit1 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0));
31039 digit2 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0 + 1));
31040 char0 = digit1 * 16 + digit2 - (digit2 & 256);
31041 if (char0 === 37)
31042 char0 = -1;
31043 i0 = i1;
31044 } else
31045 char0 = -1;
31046 } else
31047 char0 = char;
31048 if (0 <= char0 && char0 <= 127) {
31049 value = inverseAlphabet[char0];
31050 if (value >= 0) {
31051 char0 = B.JSString_methods.codeUnitAt$1(string$.ABCDEF, value);
31052 if (char0 === char)
31053 continue;
31054 char = char0;
31055 } else {
31056 if (value === -1) {
31057 if (firstPadding < 0) {
31058 t1 = buffer == null ? null : buffer._contents.length;
31059 if (t1 == null)
31060 t1 = 0;
31061 firstPadding = t1 + (i - sliceStart);
31062 firstPaddingSourceIndex = i;
31063 }
31064 ++paddingCount;
31065 if (char === 61)
31066 continue;
31067 }
31068 char = char0;
31069 }
31070 if (value !== -2) {
31071 if (buffer == null) {
31072 buffer = new A.StringBuffer("");
31073 t1 = buffer;
31074 } else
31075 t1 = buffer;
31076 t2 = t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
31077 t1._contents = t2 + A.Primitives_stringFromCharCode(char);
31078 sliceStart = i0;
31079 continue;
31080 }
31081 }
31082 throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
31083 }
31084 if (buffer != null) {
31085 t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end);
31086 t2 = t1.length;
31087 if (firstPadding >= 0)
31088 A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
31089 else {
31090 endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
31091 if (endLength === 1)
31092 throw A.wrapException(A.FormatException$(_s31_, source, end));
31093 for (; endLength < 4;) {
31094 t1 += "=";
31095 buffer._contents = t1;
31096 ++endLength;
31097 }
31098 }
31099 t1 = buffer._contents;
31100 return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
31101 }
31102 $length = end - start;
31103 if (firstPadding >= 0)
31104 A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
31105 else {
31106 endLength = B.JSInt_methods.$mod($length, 4);
31107 if (endLength === 1)
31108 throw A.wrapException(A.FormatException$(_s31_, source, end));
31109 if (endLength > 1)
31110 source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
31111 }
31112 return source;
31113 }
31114 };
31115 A.Base64Encoder.prototype = {
31116 convert$1(input) {
31117 var t1 = J.getInterceptor$asx(input);
31118 if (t1.get$isEmpty(input))
31119 return "";
31120 t1 = new A._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1.get$length(input), true);
31121 t1.toString;
31122 return A.String_String$fromCharCodes(t1, 0, null);
31123 },
31124 startChunkedConversion$1(sink) {
31125 return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
31126 }
31127 };
31128 A._Base64Encoder.prototype = {
31129 createBuffer$1(bufferLength) {
31130 return new Uint8Array(bufferLength);
31131 },
31132 encode$4(bytes, start, end, isLast) {
31133 var output, _this = this,
31134 byteCount = (_this._convert$_state & 3) + (end - start),
31135 fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
31136 bufferLength = fullChunks * 4;
31137 if (isLast && byteCount - fullChunks * 3 > 0)
31138 bufferLength += 4;
31139 output = _this.createBuffer$1(bufferLength);
31140 _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
31141 if (bufferLength > 0)
31142 return output;
31143 return null;
31144 }
31145 };
31146 A._Base64EncoderSink.prototype = {
31147 add$1(_, source) {
31148 this._convert$_add$4(source, 0, source.get$length(source), false);
31149 }
31150 };
31151 A._Utf8Base64EncoderSink.prototype = {
31152 _convert$_add$4(source, start, end, isLast) {
31153 var buffer = this._encoder.encode$4(source, start, end, isLast);
31154 if (buffer != null)
31155 this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
31156 }
31157 };
31158 A.ByteConversionSink.prototype = {};
31159 A.ByteConversionSinkBase.prototype = {};
31160 A.ChunkedConversionSink.prototype = {};
31161 A.Codec.prototype = {
31162 encode$1(input) {
31163 return this.get$encoder().convert$1(input);
31164 }
31165 };
31166 A.Converter.prototype = {};
31167 A.Encoding.prototype = {};
31168 A.JsonUnsupportedObjectError.prototype = {
31169 toString$0(_) {
31170 var safeString = A.Error_safeToString(this.unsupportedObject);
31171 return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
31172 }
31173 };
31174 A.JsonCyclicError.prototype = {
31175 toString$0(_) {
31176 return "Cyclic error in JSON stringify";
31177 }
31178 };
31179 A.JsonCodec.prototype = {
31180 encode$2$toEncodable(value, toEncodable) {
31181 var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
31182 return t1;
31183 },
31184 get$encoder() {
31185 return B.JsonEncoder_null;
31186 }
31187 };
31188 A.JsonEncoder.prototype = {
31189 convert$1(object) {
31190 var t1,
31191 output = new A.StringBuffer(""),
31192 stringifier = A._JsonStringStringifier$(output, this._toEncodable);
31193 stringifier.writeObject$1(object);
31194 t1 = output._contents;
31195 return t1.charCodeAt(0) == 0 ? t1 : t1;
31196 }
31197 };
31198 A._JsonStringifier.prototype = {
31199 writeStringContent$1(s) {
31200 var offset, i, charCode, t1, t2, _this = this,
31201 $length = s.length;
31202 for (offset = 0, i = 0; i < $length; ++i) {
31203 charCode = B.JSString_methods._codeUnitAt$1(s, i);
31204 if (charCode > 92) {
31205 if (charCode >= 55296) {
31206 t1 = charCode & 64512;
31207 if (t1 === 55296) {
31208 t2 = i + 1;
31209 t2 = !(t2 < $length && (B.JSString_methods._codeUnitAt$1(s, t2) & 64512) === 56320);
31210 } else
31211 t2 = false;
31212 if (!t2)
31213 if (t1 === 56320) {
31214 t1 = i - 1;
31215 t1 = !(t1 >= 0 && (B.JSString_methods.codeUnitAt$1(s, t1) & 64512) === 55296);
31216 } else
31217 t1 = false;
31218 else
31219 t1 = true;
31220 if (t1) {
31221 if (i > offset)
31222 _this.writeStringSlice$3(s, offset, i);
31223 offset = i + 1;
31224 _this.writeCharCode$1(92);
31225 _this.writeCharCode$1(117);
31226 _this.writeCharCode$1(100);
31227 t1 = charCode >>> 8 & 15;
31228 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31229 t1 = charCode >>> 4 & 15;
31230 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31231 t1 = charCode & 15;
31232 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31233 }
31234 }
31235 continue;
31236 }
31237 if (charCode < 32) {
31238 if (i > offset)
31239 _this.writeStringSlice$3(s, offset, i);
31240 offset = i + 1;
31241 _this.writeCharCode$1(92);
31242 switch (charCode) {
31243 case 8:
31244 _this.writeCharCode$1(98);
31245 break;
31246 case 9:
31247 _this.writeCharCode$1(116);
31248 break;
31249 case 10:
31250 _this.writeCharCode$1(110);
31251 break;
31252 case 12:
31253 _this.writeCharCode$1(102);
31254 break;
31255 case 13:
31256 _this.writeCharCode$1(114);
31257 break;
31258 default:
31259 _this.writeCharCode$1(117);
31260 _this.writeCharCode$1(48);
31261 _this.writeCharCode$1(48);
31262 t1 = charCode >>> 4 & 15;
31263 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31264 t1 = charCode & 15;
31265 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31266 break;
31267 }
31268 } else if (charCode === 34 || charCode === 92) {
31269 if (i > offset)
31270 _this.writeStringSlice$3(s, offset, i);
31271 offset = i + 1;
31272 _this.writeCharCode$1(92);
31273 _this.writeCharCode$1(charCode);
31274 }
31275 }
31276 if (offset === 0)
31277 _this.writeString$1(s);
31278 else if (offset < $length)
31279 _this.writeStringSlice$3(s, offset, $length);
31280 },
31281 _checkCycle$1(object) {
31282 var t1, t2, i, t3;
31283 for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
31284 t3 = t1[i];
31285 if (object == null ? t3 == null : object === t3)
31286 throw A.wrapException(new A.JsonCyclicError(object, null));
31287 }
31288 t1.push(object);
31289 },
31290 writeObject$1(object) {
31291 var customJson, e, t1, exception, _this = this;
31292 if (_this.writeJsonValue$1(object))
31293 return;
31294 _this._checkCycle$1(object);
31295 try {
31296 customJson = _this._toEncodable.call$1(object);
31297 if (!_this.writeJsonValue$1(customJson)) {
31298 t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
31299 throw A.wrapException(t1);
31300 }
31301 _this._seen.pop();
31302 } catch (exception) {
31303 e = A.unwrapException(exception);
31304 t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
31305 throw A.wrapException(t1);
31306 }
31307 },
31308 writeJsonValue$1(object) {
31309 var success, _this = this;
31310 if (typeof object == "number") {
31311 if (!isFinite(object))
31312 return false;
31313 _this.writeNumber$1(object);
31314 return true;
31315 } else if (object === true) {
31316 _this.writeString$1("true");
31317 return true;
31318 } else if (object === false) {
31319 _this.writeString$1("false");
31320 return true;
31321 } else if (object == null) {
31322 _this.writeString$1("null");
31323 return true;
31324 } else if (typeof object == "string") {
31325 _this.writeString$1('"');
31326 _this.writeStringContent$1(object);
31327 _this.writeString$1('"');
31328 return true;
31329 } else if (type$.List_dynamic._is(object)) {
31330 _this._checkCycle$1(object);
31331 _this.writeList$1(object);
31332 _this._seen.pop();
31333 return true;
31334 } else if (type$.Map_dynamic_dynamic._is(object)) {
31335 _this._checkCycle$1(object);
31336 success = _this.writeMap$1(object);
31337 _this._seen.pop();
31338 return success;
31339 } else
31340 return false;
31341 },
31342 writeList$1(list) {
31343 var t1, i, _this = this;
31344 _this.writeString$1("[");
31345 t1 = J.getInterceptor$asx(list);
31346 if (t1.get$isNotEmpty(list)) {
31347 _this.writeObject$1(t1.$index(list, 0));
31348 for (i = 1; i < t1.get$length(list); ++i) {
31349 _this.writeString$1(",");
31350 _this.writeObject$1(t1.$index(list, i));
31351 }
31352 }
31353 _this.writeString$1("]");
31354 },
31355 writeMap$1(map) {
31356 var t1, keyValueList, i, separator, _this = this, _box_0 = {};
31357 if (map.get$isEmpty(map)) {
31358 _this.writeString$1("{}");
31359 return true;
31360 }
31361 t1 = map.get$length(map) * 2;
31362 keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
31363 i = _box_0.i = 0;
31364 _box_0.allStringKeys = true;
31365 map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
31366 if (!_box_0.allStringKeys)
31367 return false;
31368 _this.writeString$1("{");
31369 for (separator = '"'; i < t1; i += 2, separator = ',"') {
31370 _this.writeString$1(separator);
31371 _this.writeStringContent$1(A._asString(keyValueList[i]));
31372 _this.writeString$1('":');
31373 _this.writeObject$1(keyValueList[i + 1]);
31374 }
31375 _this.writeString$1("}");
31376 return true;
31377 }
31378 };
31379 A._JsonStringifier_writeMap_closure.prototype = {
31380 call$2(key, value) {
31381 var t1, t2, t3, i;
31382 if (typeof key != "string")
31383 this._box_0.allStringKeys = false;
31384 t1 = this.keyValueList;
31385 t2 = this._box_0;
31386 t3 = t2.i;
31387 i = t2.i = t3 + 1;
31388 t1[t3] = key;
31389 t2.i = i + 1;
31390 t1[i] = value;
31391 },
31392 $signature: 230
31393 };
31394 A._JsonStringStringifier.prototype = {
31395 get$_partialResult() {
31396 var t1 = this._sink._contents;
31397 return t1.charCodeAt(0) == 0 ? t1 : t1;
31398 },
31399 writeNumber$1(number) {
31400 this._sink._contents += B.JSNumber_methods.toString$0(number);
31401 },
31402 writeString$1(string) {
31403 this._sink._contents += string;
31404 },
31405 writeStringSlice$3(string, start, end) {
31406 this._sink._contents += B.JSString_methods.substring$2(string, start, end);
31407 },
31408 writeCharCode$1(charCode) {
31409 this._sink._contents += A.Primitives_stringFromCharCode(charCode);
31410 }
31411 };
31412 A.StringConversionSinkBase.prototype = {};
31413 A.StringConversionSinkMixin.prototype = {
31414 add$1(_, str) {
31415 this.addSlice$4(str, 0, str.length, false);
31416 }
31417 };
31418 A._StringSinkConversionSink.prototype = {
31419 close$0(_) {
31420 },
31421 addSlice$4(str, start, end, isLast) {
31422 var t1, i;
31423 if (start !== 0 || end !== str.length)
31424 for (t1 = this._stringSink, i = start; i < end; ++i)
31425 t1._contents += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(str, i));
31426 else
31427 this._stringSink._contents += str;
31428 if (isLast)
31429 this.close$0(0);
31430 },
31431 add$1(_, str) {
31432 this._stringSink._contents += str;
31433 }
31434 };
31435 A._StringCallbackSink.prototype = {
31436 close$0(_) {
31437 var t1 = this._stringSink,
31438 t2 = t1._contents;
31439 t1._contents = "";
31440 this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
31441 },
31442 asUtf8Sink$1(allowMalformed) {
31443 return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
31444 }
31445 };
31446 A._Utf8StringSinkAdapter.prototype = {
31447 close$0(_) {
31448 this._decoder.flush$1(this._stringSink);
31449 this._sink.close$0(0);
31450 },
31451 add$1(_, chunk) {
31452 this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
31453 },
31454 addSlice$4(codeUnits, startIndex, endIndex, isLast) {
31455 this._stringSink._contents += this._decoder.convertGeneral$4(codeUnits, startIndex, endIndex, false);
31456 if (isLast)
31457 this.close$0(0);
31458 }
31459 };
31460 A.Utf8Codec.prototype = {
31461 get$encoder() {
31462 return B.C_Utf8Encoder;
31463 }
31464 };
31465 A.Utf8Encoder.prototype = {
31466 convert$1(string) {
31467 var t1, encoder,
31468 end = A.RangeError_checkValidRange(0, null, string.length),
31469 $length = end - 0;
31470 if ($length === 0)
31471 return new Uint8Array(0);
31472 t1 = new Uint8Array($length * 3);
31473 encoder = new A._Utf8Encoder(t1);
31474 if (encoder._fillBuffer$3(string, 0, end) !== end) {
31475 B.JSString_methods.codeUnitAt$1(string, end - 1);
31476 encoder._writeReplacementCharacter$0();
31477 }
31478 return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
31479 }
31480 };
31481 A._Utf8Encoder.prototype = {
31482 _writeReplacementCharacter$0() {
31483 var _this = this,
31484 t1 = _this._convert$_buffer,
31485 t2 = _this._bufferIndex,
31486 t3 = _this._bufferIndex = t2 + 1;
31487 t1[t2] = 239;
31488 t2 = _this._bufferIndex = t3 + 1;
31489 t1[t3] = 191;
31490 _this._bufferIndex = t2 + 1;
31491 t1[t2] = 189;
31492 },
31493 _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
31494 var rune, t1, t2, t3, _this = this;
31495 if ((nextCodeUnit & 64512) === 56320) {
31496 rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
31497 t1 = _this._convert$_buffer;
31498 t2 = _this._bufferIndex;
31499 t3 = _this._bufferIndex = t2 + 1;
31500 t1[t2] = rune >>> 18 | 240;
31501 t2 = _this._bufferIndex = t3 + 1;
31502 t1[t3] = rune >>> 12 & 63 | 128;
31503 t3 = _this._bufferIndex = t2 + 1;
31504 t1[t2] = rune >>> 6 & 63 | 128;
31505 _this._bufferIndex = t3 + 1;
31506 t1[t3] = rune & 63 | 128;
31507 return true;
31508 } else {
31509 _this._writeReplacementCharacter$0();
31510 return false;
31511 }
31512 },
31513 _fillBuffer$3(str, start, end) {
31514 var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this;
31515 if (start !== end && (B.JSString_methods.codeUnitAt$1(str, end - 1) & 64512) === 55296)
31516 --end;
31517 for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
31518 codeUnit = B.JSString_methods._codeUnitAt$1(str, stringIndex);
31519 if (codeUnit <= 127) {
31520 t3 = _this._bufferIndex;
31521 if (t3 >= t2)
31522 break;
31523 _this._bufferIndex = t3 + 1;
31524 t1[t3] = codeUnit;
31525 } else {
31526 t3 = codeUnit & 64512;
31527 if (t3 === 55296) {
31528 if (_this._bufferIndex + 4 > t2)
31529 break;
31530 stringIndex0 = stringIndex + 1;
31531 if (_this._writeSurrogate$2(codeUnit, B.JSString_methods._codeUnitAt$1(str, stringIndex0)))
31532 stringIndex = stringIndex0;
31533 } else if (t3 === 56320) {
31534 if (_this._bufferIndex + 3 > t2)
31535 break;
31536 _this._writeReplacementCharacter$0();
31537 } else if (codeUnit <= 2047) {
31538 t3 = _this._bufferIndex;
31539 t4 = t3 + 1;
31540 if (t4 >= t2)
31541 break;
31542 _this._bufferIndex = t4;
31543 t1[t3] = codeUnit >>> 6 | 192;
31544 _this._bufferIndex = t4 + 1;
31545 t1[t4] = codeUnit & 63 | 128;
31546 } else {
31547 t3 = _this._bufferIndex;
31548 if (t3 + 2 >= t2)
31549 break;
31550 t4 = _this._bufferIndex = t3 + 1;
31551 t1[t3] = codeUnit >>> 12 | 224;
31552 t3 = _this._bufferIndex = t4 + 1;
31553 t1[t4] = codeUnit >>> 6 & 63 | 128;
31554 _this._bufferIndex = t3 + 1;
31555 t1[t3] = codeUnit & 63 | 128;
31556 }
31557 }
31558 }
31559 return stringIndex;
31560 }
31561 };
31562 A.Utf8Decoder.prototype = {
31563 convert$1(codeUnits) {
31564 var t1 = this._allowMalformed,
31565 result = A.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null);
31566 if (result != null)
31567 return result;
31568 return new A._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true);
31569 }
31570 };
31571 A._Utf8Decoder.prototype = {
31572 convertGeneral$4(codeUnits, start, maybeEnd, single) {
31573 var bytes, errorOffset, result, t1, message, _this = this,
31574 end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
31575 if (start === end)
31576 return "";
31577 if (type$.Uint8List._is(codeUnits)) {
31578 bytes = codeUnits;
31579 errorOffset = 0;
31580 } else {
31581 bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end);
31582 end -= start;
31583 errorOffset = start;
31584 start = 0;
31585 }
31586 result = _this._convertRecursive$4(bytes, start, end, single);
31587 t1 = _this._convert$_state;
31588 if ((t1 & 1) !== 0) {
31589 message = A._Utf8Decoder_errorDescription(t1);
31590 _this._convert$_state = 0;
31591 throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
31592 }
31593 return result;
31594 },
31595 _convertRecursive$4(bytes, start, end, single) {
31596 var mid, s1, _this = this;
31597 if (end - start > 1000) {
31598 mid = B.JSInt_methods._tdivFast$1(start + end, 2);
31599 s1 = _this._convertRecursive$4(bytes, start, mid, false);
31600 if ((_this._convert$_state & 1) !== 0)
31601 return s1;
31602 return s1 + _this._convertRecursive$4(bytes, mid, end, single);
31603 }
31604 return _this.decodeGeneral$4(bytes, start, end, single);
31605 },
31606 flush$1(sink) {
31607 var state = this._convert$_state;
31608 this._convert$_state = 0;
31609 if (state <= 32)
31610 return;
31611 if (this.allowMalformed)
31612 sink._contents += A.Primitives_stringFromCharCode(65533);
31613 else
31614 throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
31615 },
31616 decodeGeneral$4(bytes, start, end, single) {
31617 var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
31618 state = _this._convert$_state,
31619 char = _this._charOrIndex,
31620 buffer = new A.StringBuffer(""),
31621 i = start + 1,
31622 byte = bytes[start];
31623 $label0$0:
31624 for (t1 = _this.allowMalformed; true;) {
31625 for (; true; i = i0) {
31626 type = B.JSString_methods._codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31;
31627 char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
31628 state = B.JSString_methods._codeUnitAt$1(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA", state + type);
31629 if (state === 0) {
31630 buffer._contents += A.Primitives_stringFromCharCode(char);
31631 if (i === end)
31632 break $label0$0;
31633 break;
31634 } else if ((state & 1) !== 0) {
31635 if (t1)
31636 switch (state) {
31637 case 69:
31638 case 67:
31639 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31640 break;
31641 case 65:
31642 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31643 --i;
31644 break;
31645 default:
31646 t2 = buffer._contents += A.Primitives_stringFromCharCode(_65533);
31647 buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
31648 break;
31649 }
31650 else {
31651 _this._convert$_state = state;
31652 _this._charOrIndex = i - 1;
31653 return "";
31654 }
31655 state = 0;
31656 }
31657 if (i === end)
31658 break $label0$0;
31659 i0 = i + 1;
31660 byte = bytes[i];
31661 }
31662 i0 = i + 1;
31663 byte = bytes[i];
31664 if (byte < 128) {
31665 while (true) {
31666 if (!(i0 < end)) {
31667 markEnd = end;
31668 break;
31669 }
31670 i1 = i0 + 1;
31671 byte = bytes[i0];
31672 if (byte >= 128) {
31673 markEnd = i1 - 1;
31674 i0 = i1;
31675 break;
31676 }
31677 i0 = i1;
31678 }
31679 if (markEnd - i < 20)
31680 for (m = i; m < markEnd; ++m)
31681 buffer._contents += A.Primitives_stringFromCharCode(bytes[m]);
31682 else
31683 buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd);
31684 if (markEnd === end)
31685 break $label0$0;
31686 i = i0;
31687 } else
31688 i = i0;
31689 }
31690 if (single && state > 32)
31691 if (t1)
31692 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31693 else {
31694 _this._convert$_state = 77;
31695 _this._charOrIndex = end;
31696 return "";
31697 }
31698 _this._convert$_state = state;
31699 _this._charOrIndex = char;
31700 t1 = buffer._contents;
31701 return t1.charCodeAt(0) == 0 ? t1 : t1;
31702 }
31703 };
31704 A.NoSuchMethodError_toString_closure.prototype = {
31705 call$2(key, value) {
31706 var t1 = this.sb,
31707 t2 = this._box_0,
31708 t3 = t1._contents += t2.comma;
31709 t3 += key.__internal$_name;
31710 t1._contents = t3;
31711 t1._contents = t3 + ": ";
31712 t1._contents += A.Error_safeToString(value);
31713 t2.comma = ", ";
31714 },
31715 $signature: 331
31716 };
31717 A.DateTime.prototype = {
31718 add$1(_, duration) {
31719 return A.DateTime$_withValue(B.JSInt_methods.$add(this._core$_value, duration.get$inMilliseconds()), false);
31720 },
31721 $eq(_, other) {
31722 if (other == null)
31723 return false;
31724 return other instanceof A.DateTime && this._core$_value === other._core$_value && true;
31725 },
31726 compareTo$1(_, other) {
31727 return B.JSInt_methods.compareTo$1(this._core$_value, other._core$_value);
31728 },
31729 get$hashCode(_) {
31730 var t1 = this._core$_value;
31731 return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823;
31732 },
31733 toString$0(_) {
31734 var _this = this,
31735 y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
31736 m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
31737 d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
31738 h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
31739 min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
31740 sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
31741 ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)),
31742 t1 = y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms;
31743 return t1;
31744 },
31745 $isComparable: 1
31746 };
31747 A.Duration.prototype = {
31748 $eq(_, other) {
31749 if (other == null)
31750 return false;
31751 return other instanceof A.Duration && this._duration === other._duration;
31752 },
31753 get$hashCode(_) {
31754 return B.JSInt_methods.get$hashCode(this._duration);
31755 },
31756 compareTo$1(_, other) {
31757 return B.JSInt_methods.compareTo$1(this._duration, other._duration);
31758 },
31759 toString$0(_) {
31760 var minutes, minutesPadding, seconds, secondsPadding, paddedMicroseconds,
31761 microseconds = this._duration,
31762 hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000);
31763 microseconds %= 3600000000;
31764 if (microseconds < 0)
31765 microseconds = -microseconds;
31766 minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
31767 microseconds %= 60000000;
31768 minutesPadding = minutes < 10 ? "0" : "";
31769 seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
31770 secondsPadding = seconds < 10 ? "0" : "";
31771 paddedMicroseconds = B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
31772 return "" + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + paddedMicroseconds;
31773 },
31774 $isComparable: 1
31775 };
31776 A.Error.prototype = {
31777 get$stackTrace() {
31778 return A.getTraceFromException(this.$thrownJsError);
31779 }
31780 };
31781 A.AssertionError.prototype = {
31782 toString$0(_) {
31783 var t1 = this.message;
31784 if (t1 != null)
31785 return "Assertion failed: " + A.Error_safeToString(t1);
31786 return "Assertion failed";
31787 },
31788 get$message(receiver) {
31789 return this.message;
31790 }
31791 };
31792 A.TypeError.prototype = {};
31793 A.NullThrownError.prototype = {
31794 toString$0(_) {
31795 return "Throw of null.";
31796 }
31797 };
31798 A.ArgumentError.prototype = {
31799 get$_errorName() {
31800 return "Invalid argument" + (!this._hasValue ? "(s)" : "");
31801 },
31802 get$_errorExplanation() {
31803 return "";
31804 },
31805 toString$0(_) {
31806 var explanation, errorValue, _this = this,
31807 $name = _this.name,
31808 nameString = $name == null ? "" : " (" + $name + ")",
31809 message = _this.message,
31810 messageString = message == null ? "" : ": " + A.S(message),
31811 prefix = _this.get$_errorName() + nameString + messageString;
31812 if (!_this._hasValue)
31813 return prefix;
31814 explanation = _this.get$_errorExplanation();
31815 errorValue = A.Error_safeToString(_this.invalidValue);
31816 return prefix + explanation + ": " + errorValue;
31817 },
31818 get$message(receiver) {
31819 return this.message;
31820 }
31821 };
31822 A.RangeError.prototype = {
31823 get$_errorName() {
31824 return "RangeError";
31825 },
31826 get$_errorExplanation() {
31827 var explanation,
31828 start = this.start,
31829 end = this.end;
31830 if (start == null)
31831 explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
31832 else if (end == null)
31833 explanation = ": Not greater than or equal to " + A.S(start);
31834 else if (end > start)
31835 explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
31836 else
31837 explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
31838 return explanation;
31839 }
31840 };
31841 A.IndexError.prototype = {
31842 get$_errorName() {
31843 return "RangeError";
31844 },
31845 get$_errorExplanation() {
31846 if (this.invalidValue < 0)
31847 return ": index must not be negative";
31848 var t1 = this.length;
31849 if (t1 === 0)
31850 return ": no indices are valid";
31851 return ": index should be less than " + t1;
31852 },
31853 $isRangeError: 1,
31854 get$length(receiver) {
31855 return this.length;
31856 }
31857 };
31858 A.NoSuchMethodError.prototype = {
31859 toString$0(_) {
31860 var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
31861 sb = new A.StringBuffer("");
31862 _box_0.comma = "";
31863 $arguments = _this._core$_arguments;
31864 for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
31865 argument = $arguments[_i];
31866 sb._contents = t2 + t3;
31867 t2 = sb._contents += A.Error_safeToString(argument);
31868 _box_0.comma = ", ";
31869 }
31870 _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
31871 receiverText = A.Error_safeToString(_this._core$_receiver);
31872 actualParameters = sb.toString$0(0);
31873 t1 = "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
31874 return t1;
31875 }
31876 };
31877 A.UnsupportedError.prototype = {
31878 toString$0(_) {
31879 return "Unsupported operation: " + this.message;
31880 },
31881 get$message(receiver) {
31882 return this.message;
31883 }
31884 };
31885 A.UnimplementedError.prototype = {
31886 toString$0(_) {
31887 var t1 = "UnimplementedError: " + this.message;
31888 return t1;
31889 },
31890 get$message(receiver) {
31891 return this.message;
31892 }
31893 };
31894 A.StateError.prototype = {
31895 toString$0(_) {
31896 return "Bad state: " + this.message;
31897 },
31898 get$message(receiver) {
31899 return this.message;
31900 }
31901 };
31902 A.ConcurrentModificationError.prototype = {
31903 toString$0(_) {
31904 var t1 = this.modifiedObject;
31905 if (t1 == null)
31906 return "Concurrent modification during iteration.";
31907 return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
31908 }
31909 };
31910 A.OutOfMemoryError.prototype = {
31911 toString$0(_) {
31912 return "Out of Memory";
31913 },
31914 get$stackTrace() {
31915 return null;
31916 },
31917 $isError: 1
31918 };
31919 A.StackOverflowError.prototype = {
31920 toString$0(_) {
31921 return "Stack Overflow";
31922 },
31923 get$stackTrace() {
31924 return null;
31925 },
31926 $isError: 1
31927 };
31928 A.CyclicInitializationError.prototype = {
31929 toString$0(_) {
31930 var t1 = "Reading static variable '" + this.variableName + "' during its initialization";
31931 return t1;
31932 }
31933 };
31934 A._Exception.prototype = {
31935 toString$0(_) {
31936 return "Exception: " + this.message;
31937 },
31938 $isException: 1,
31939 get$message(receiver) {
31940 return this.message;
31941 }
31942 };
31943 A.FormatException.prototype = {
31944 toString$0(_) {
31945 var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix, slice,
31946 message = this.message,
31947 report = "" !== message ? "FormatException: " + message : "FormatException",
31948 offset = this.offset,
31949 source = this.source;
31950 if (typeof source == "string") {
31951 if (offset != null)
31952 t1 = offset < 0 || offset > source.length;
31953 else
31954 t1 = false;
31955 if (t1)
31956 offset = null;
31957 if (offset == null) {
31958 if (source.length > 78)
31959 source = B.JSString_methods.substring$2(source, 0, 75) + "...";
31960 return report + "\n" + source;
31961 }
31962 for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
31963 char = B.JSString_methods._codeUnitAt$1(source, i);
31964 if (char === 10) {
31965 if (lineStart !== i || !previousCharWasCR)
31966 ++lineNum;
31967 lineStart = i + 1;
31968 previousCharWasCR = false;
31969 } else if (char === 13) {
31970 ++lineNum;
31971 lineStart = i + 1;
31972 previousCharWasCR = true;
31973 }
31974 }
31975 report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
31976 lineEnd = source.length;
31977 for (i = offset; i < lineEnd; ++i) {
31978 char = B.JSString_methods.codeUnitAt$1(source, i);
31979 if (char === 10 || char === 13) {
31980 lineEnd = i;
31981 break;
31982 }
31983 }
31984 if (lineEnd - lineStart > 78)
31985 if (offset - lineStart < 75) {
31986 end = lineStart + 75;
31987 start = lineStart;
31988 prefix = "";
31989 postfix = "...";
31990 } else {
31991 if (lineEnd - offset < 75) {
31992 start = lineEnd - 75;
31993 end = lineEnd;
31994 postfix = "";
31995 } else {
31996 start = offset - 36;
31997 end = offset + 36;
31998 postfix = "...";
31999 }
32000 prefix = "...";
32001 }
32002 else {
32003 end = lineEnd;
32004 start = lineStart;
32005 prefix = "";
32006 postfix = "";
32007 }
32008 slice = B.JSString_methods.substring$2(source, start, end);
32009 return report + prefix + slice + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
32010 } else
32011 return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
32012 },
32013 $isException: 1,
32014 get$message(receiver) {
32015 return this.message;
32016 }
32017 };
32018 A.Expando.prototype = {
32019 toString$0(_) {
32020 return "Expando:null";
32021 }
32022 };
32023 A.Iterable.prototype = {
32024 cast$1$0(_, $R) {
32025 return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
32026 },
32027 followedBy$1(_, other) {
32028 var _this = this,
32029 t1 = A._instanceType(_this);
32030 if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
32031 return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
32032 return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
32033 },
32034 map$1$1(_, toElement, $T) {
32035 return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
32036 },
32037 where$1(_, test) {
32038 return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
32039 },
32040 expand$1$1(_, toElements, $T) {
32041 return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
32042 },
32043 contains$1(_, element) {
32044 var t1;
32045 for (t1 = this.get$iterator(this); t1.moveNext$0();)
32046 if (J.$eq$(t1.get$current(t1), element))
32047 return true;
32048 return false;
32049 },
32050 fold$1$2(_, initialValue, combine) {
32051 var t1, value;
32052 for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
32053 value = combine.call$2(value, t1.get$current(t1));
32054 return value;
32055 },
32056 fold$2($receiver, initialValue, combine) {
32057 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
32058 },
32059 join$1(_, separator) {
32060 var t1,
32061 iterator = this.get$iterator(this);
32062 if (!iterator.moveNext$0())
32063 return "";
32064 if (separator === "") {
32065 t1 = "";
32066 do
32067 t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
32068 while (iterator.moveNext$0());
32069 } else {
32070 t1 = "" + A.S(J.toString$0$(iterator.get$current(iterator)));
32071 for (; iterator.moveNext$0();)
32072 t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
32073 }
32074 return t1.charCodeAt(0) == 0 ? t1 : t1;
32075 },
32076 join$0($receiver) {
32077 return this.join$1($receiver, "");
32078 },
32079 any$1(_, test) {
32080 var t1;
32081 for (t1 = this.get$iterator(this); t1.moveNext$0();)
32082 if (test.call$1(t1.get$current(t1)))
32083 return true;
32084 return false;
32085 },
32086 toList$1$growable(_, growable) {
32087 return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
32088 },
32089 toList$0($receiver) {
32090 return this.toList$1$growable($receiver, true);
32091 },
32092 toSet$0(_) {
32093 return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
32094 },
32095 get$length(_) {
32096 var count,
32097 it = this.get$iterator(this);
32098 for (count = 0; it.moveNext$0();)
32099 ++count;
32100 return count;
32101 },
32102 get$isEmpty(_) {
32103 return !this.get$iterator(this).moveNext$0();
32104 },
32105 get$isNotEmpty(_) {
32106 return !this.get$isEmpty(this);
32107 },
32108 take$1(_, count) {
32109 return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
32110 },
32111 skip$1(_, count) {
32112 return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
32113 },
32114 skipWhile$1(_, test) {
32115 return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
32116 },
32117 get$first(_) {
32118 var it = this.get$iterator(this);
32119 if (!it.moveNext$0())
32120 throw A.wrapException(A.IterableElementError_noElement());
32121 return it.get$current(it);
32122 },
32123 get$last(_) {
32124 var result,
32125 it = this.get$iterator(this);
32126 if (!it.moveNext$0())
32127 throw A.wrapException(A.IterableElementError_noElement());
32128 do
32129 result = it.get$current(it);
32130 while (it.moveNext$0());
32131 return result;
32132 },
32133 get$single(_) {
32134 var result,
32135 it = this.get$iterator(this);
32136 if (!it.moveNext$0())
32137 throw A.wrapException(A.IterableElementError_noElement());
32138 result = it.get$current(it);
32139 if (it.moveNext$0())
32140 throw A.wrapException(A.IterableElementError_tooMany());
32141 return result;
32142 },
32143 elementAt$1(_, index) {
32144 var t1, elementIndex, element;
32145 A.RangeError_checkNotNegative(index, "index");
32146 for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
32147 element = t1.get$current(t1);
32148 if (index === elementIndex)
32149 return element;
32150 ++elementIndex;
32151 }
32152 throw A.wrapException(A.IndexError$(index, this, "index", null, elementIndex));
32153 },
32154 toString$0(_) {
32155 return A.IterableBase_iterableToShortString(this, "(", ")");
32156 }
32157 };
32158 A._GeneratorIterable.prototype = {
32159 elementAt$1(_, index) {
32160 A.RangeError_checkValidIndex(index, this, null);
32161 return this._generator.call$1(index);
32162 },
32163 get$length(receiver) {
32164 return this.length;
32165 }
32166 };
32167 A.Iterator.prototype = {};
32168 A.MapEntry.prototype = {
32169 toString$0(_) {
32170 return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
32171 }
32172 };
32173 A.Null.prototype = {
32174 get$hashCode(_) {
32175 return A.Object.prototype.get$hashCode.call(this, this);
32176 },
32177 toString$0(_) {
32178 return "null";
32179 }
32180 };
32181 A.Object.prototype = {$isObject: 1,
32182 $eq(_, other) {
32183 return this === other;
32184 },
32185 get$hashCode(_) {
32186 return A.Primitives_objectHashCode(this);
32187 },
32188 toString$0(_) {
32189 return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
32190 },
32191 noSuchMethod$1(_, invocation) {
32192 throw A.wrapException(A.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
32193 },
32194 get$runtimeType(_) {
32195 var rti = this instanceof A.Closure ? A.closureFunctionType(this) : null;
32196 return A.createRuntimeType(rti == null ? A.instanceType(this) : rti);
32197 },
32198 toString() {
32199 return this.toString$0(this);
32200 }
32201 };
32202 A._StringStackTrace.prototype = {
32203 toString$0(_) {
32204 return this._stackTrace;
32205 },
32206 $isStackTrace: 1
32207 };
32208 A.Runes.prototype = {
32209 get$iterator(_) {
32210 return new A.RuneIterator(this.string);
32211 },
32212 get$last(_) {
32213 var code, previousCode,
32214 t1 = this.string,
32215 t2 = t1.length;
32216 if (t2 === 0)
32217 throw A.wrapException(A.StateError$("No elements."));
32218 code = B.JSString_methods.codeUnitAt$1(t1, t2 - 1);
32219 if ((code & 64512) === 56320 && t2 > 1) {
32220 previousCode = B.JSString_methods.codeUnitAt$1(t1, t2 - 2);
32221 if ((previousCode & 64512) === 55296)
32222 return A._combineSurrogatePair(previousCode, code);
32223 }
32224 return code;
32225 }
32226 };
32227 A.RuneIterator.prototype = {
32228 get$current(_) {
32229 return this._currentCodePoint;
32230 },
32231 moveNext$0() {
32232 var codeUnit, nextPosition, nextCodeUnit, _this = this,
32233 t1 = _this._position = _this._nextPosition,
32234 t2 = _this.string,
32235 t3 = t2.length;
32236 if (t1 === t3) {
32237 _this._currentCodePoint = -1;
32238 return false;
32239 }
32240 codeUnit = B.JSString_methods._codeUnitAt$1(t2, t1);
32241 nextPosition = t1 + 1;
32242 if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
32243 nextCodeUnit = B.JSString_methods._codeUnitAt$1(t2, nextPosition);
32244 if ((nextCodeUnit & 64512) === 56320) {
32245 _this._nextPosition = nextPosition + 1;
32246 _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
32247 return true;
32248 }
32249 }
32250 _this._nextPosition = nextPosition;
32251 _this._currentCodePoint = codeUnit;
32252 return true;
32253 }
32254 };
32255 A.StringBuffer.prototype = {
32256 get$length(_) {
32257 return this._contents.length;
32258 },
32259 write$1(_, obj) {
32260 this._contents += A.S(obj);
32261 },
32262 writeCharCode$1(charCode) {
32263 this._contents += A.Primitives_stringFromCharCode(charCode);
32264 },
32265 toString$0(_) {
32266 var t1 = this._contents;
32267 return t1.charCodeAt(0) == 0 ? t1 : t1;
32268 }
32269 };
32270 A.Uri__parseIPv4Address_error.prototype = {
32271 call$2(msg, position) {
32272 throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
32273 },
32274 $signature: 338
32275 };
32276 A.Uri_parseIPv6Address_error.prototype = {
32277 call$2(msg, position) {
32278 throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
32279 },
32280 $signature: 341
32281 };
32282 A.Uri_parseIPv6Address_parseHex.prototype = {
32283 call$2(start, end) {
32284 var value;
32285 if (end - start > 4)
32286 this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
32287 value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
32288 if (value < 0 || value > 65535)
32289 this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
32290 return value;
32291 },
32292 $signature: 349
32293 };
32294 A._Uri.prototype = {
32295 get$_text() {
32296 var t1, t2, t3, t4, _this = this,
32297 value = _this.___Uri__text;
32298 if (value === $) {
32299 t1 = _this.scheme;
32300 t2 = t1.length !== 0 ? "" + t1 + ":" : "";
32301 t3 = _this._host;
32302 t4 = t3 == null;
32303 if (!t4 || t1 === "file") {
32304 t1 = t2 + "//";
32305 t2 = _this._userInfo;
32306 if (t2.length !== 0)
32307 t1 = t1 + t2 + "@";
32308 if (!t4)
32309 t1 += t3;
32310 t2 = _this._port;
32311 if (t2 != null)
32312 t1 = t1 + ":" + A.S(t2);
32313 } else
32314 t1 = t2;
32315 t1 += _this.path;
32316 t2 = _this._query;
32317 if (t2 != null)
32318 t1 = t1 + "?" + t2;
32319 t2 = _this._fragment;
32320 if (t2 != null)
32321 t1 = t1 + "#" + t2;
32322 A._lateInitializeOnceCheck(_this.___Uri__text, "_text");
32323 value = _this.___Uri__text = t1.charCodeAt(0) == 0 ? t1 : t1;
32324 }
32325 return value;
32326 },
32327 get$pathSegments() {
32328 var pathToSplit, result, _this = this,
32329 value = _this.___Uri_pathSegments;
32330 if (value === $) {
32331 pathToSplit = _this.path;
32332 if (pathToSplit.length !== 0 && B.JSString_methods._codeUnitAt$1(pathToSplit, 0) === 47)
32333 pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
32334 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);
32335 A._lateInitializeOnceCheck(_this.___Uri_pathSegments, "pathSegments");
32336 value = _this.___Uri_pathSegments = result;
32337 }
32338 return value;
32339 },
32340 get$hashCode(_) {
32341 var result, _this = this,
32342 value = _this.___Uri_hashCode;
32343 if (value === $) {
32344 result = B.JSString_methods.get$hashCode(_this.get$_text());
32345 A._lateInitializeOnceCheck(_this.___Uri_hashCode, "hashCode");
32346 _this.___Uri_hashCode = result;
32347 value = result;
32348 }
32349 return value;
32350 },
32351 get$userInfo() {
32352 return this._userInfo;
32353 },
32354 get$host() {
32355 var host = this._host;
32356 if (host == null)
32357 return "";
32358 if (B.JSString_methods.startsWith$1(host, "["))
32359 return B.JSString_methods.substring$2(host, 1, host.length - 1);
32360 return host;
32361 },
32362 get$port(_) {
32363 var t1 = this._port;
32364 return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
32365 },
32366 get$query() {
32367 var t1 = this._query;
32368 return t1 == null ? "" : t1;
32369 },
32370 get$fragment() {
32371 var t1 = this._fragment;
32372 return t1 == null ? "" : t1;
32373 },
32374 isScheme$1(scheme) {
32375 var thisScheme = this.scheme;
32376 if (scheme.length !== thisScheme.length)
32377 return false;
32378 return A._Uri__compareScheme(scheme, thisScheme);
32379 },
32380 _mergePaths$2(base, reference) {
32381 var backCount, refStart, baseEnd, newEnd, delta, t1;
32382 for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
32383 refStart += 3;
32384 ++backCount;
32385 }
32386 baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
32387 while (true) {
32388 if (!(baseEnd > 0 && backCount > 0))
32389 break;
32390 newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
32391 if (newEnd < 0)
32392 break;
32393 delta = baseEnd - newEnd;
32394 t1 = delta !== 2;
32395 if (!t1 || delta === 3)
32396 if (B.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46)
32397 t1 = !t1 || B.JSString_methods.codeUnitAt$1(base, newEnd + 2) === 46;
32398 else
32399 t1 = false;
32400 else
32401 t1 = false;
32402 if (t1)
32403 break;
32404 --backCount;
32405 baseEnd = newEnd;
32406 }
32407 return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
32408 },
32409 resolve$1(reference) {
32410 return this.resolveUri$1(A.Uri_parse(reference));
32411 },
32412 resolveUri$1(reference) {
32413 var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null;
32414 if (reference.get$scheme().length !== 0) {
32415 targetScheme = reference.get$scheme();
32416 if (reference.get$hasAuthority()) {
32417 targetUserInfo = reference.get$userInfo();
32418 targetHost = reference.get$host();
32419 targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
32420 } else {
32421 targetPort = _null;
32422 targetHost = targetPort;
32423 targetUserInfo = "";
32424 }
32425 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32426 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32427 } else {
32428 targetScheme = _this.scheme;
32429 if (reference.get$hasAuthority()) {
32430 targetUserInfo = reference.get$userInfo();
32431 targetHost = reference.get$host();
32432 targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
32433 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32434 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32435 } else {
32436 targetUserInfo = _this._userInfo;
32437 targetHost = _this._host;
32438 targetPort = _this._port;
32439 targetPath = _this.path;
32440 if (reference.get$path(reference) === "")
32441 targetQuery = reference.get$hasQuery() ? reference.get$query() : _this._query;
32442 else {
32443 packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
32444 if (packageNameEnd > 0) {
32445 packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
32446 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)));
32447 } else if (reference.get$hasAbsolutePath())
32448 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32449 else if (targetPath.length === 0)
32450 if (targetHost == null)
32451 targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
32452 else
32453 targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
32454 else {
32455 mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
32456 t1 = targetScheme.length === 0;
32457 if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
32458 targetPath = A._Uri__removeDotSegments(mergedPath);
32459 else
32460 targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
32461 }
32462 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32463 }
32464 }
32465 }
32466 return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null);
32467 },
32468 get$hasAuthority() {
32469 return this._host != null;
32470 },
32471 get$hasPort() {
32472 return this._port != null;
32473 },
32474 get$hasQuery() {
32475 return this._query != null;
32476 },
32477 get$hasFragment() {
32478 return this._fragment != null;
32479 },
32480 get$hasAbsolutePath() {
32481 return B.JSString_methods.startsWith$1(this.path, "/");
32482 },
32483 toFilePath$0() {
32484 var pathSegments, _this = this,
32485 t1 = _this.scheme;
32486 if (t1 !== "" && t1 !== "file")
32487 throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
32488 t1 = _this._query;
32489 if ((t1 == null ? "" : t1) !== "")
32490 throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
32491 t1 = _this._fragment;
32492 if ((t1 == null ? "" : t1) !== "")
32493 throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
32494 t1 = $.$get$_Uri__isWindowsCached();
32495 if (t1)
32496 t1 = A._Uri__toWindowsFilePath(_this);
32497 else {
32498 if (_this._host != null && _this.get$host() !== "")
32499 A.throwExpression(A.UnsupportedError$(string$.Cannotn));
32500 pathSegments = _this.get$pathSegments();
32501 A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
32502 t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
32503 t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
32504 }
32505 return t1;
32506 },
32507 toString$0(_) {
32508 return this.get$_text();
32509 },
32510 $eq(_, other) {
32511 var t1, t2, _this = this;
32512 if (other == null)
32513 return false;
32514 if (_this === other)
32515 return true;
32516 if (type$.Uri._is(other))
32517 if (_this.scheme === other.get$scheme())
32518 if (_this._host != null === other.get$hasAuthority())
32519 if (_this._userInfo === other.get$userInfo())
32520 if (_this.get$host() === other.get$host())
32521 if (_this.get$port(_this) === other.get$port(other))
32522 if (_this.path === other.get$path(other)) {
32523 t1 = _this._query;
32524 t2 = t1 == null;
32525 if (!t2 === other.get$hasQuery()) {
32526 if (t2)
32527 t1 = "";
32528 if (t1 === other.get$query()) {
32529 t1 = _this._fragment;
32530 t2 = t1 == null;
32531 if (!t2 === other.get$hasFragment()) {
32532 if (t2)
32533 t1 = "";
32534 t1 = t1 === other.get$fragment();
32535 } else
32536 t1 = false;
32537 } else
32538 t1 = false;
32539 } else
32540 t1 = false;
32541 } else
32542 t1 = false;
32543 else
32544 t1 = false;
32545 else
32546 t1 = false;
32547 else
32548 t1 = false;
32549 else
32550 t1 = false;
32551 else
32552 t1 = false;
32553 else
32554 t1 = false;
32555 return t1;
32556 },
32557 $isUri: 1,
32558 get$scheme() {
32559 return this.scheme;
32560 },
32561 get$path(receiver) {
32562 return this.path;
32563 }
32564 };
32565 A._Uri__makePath_closure.prototype = {
32566 call$1(s) {
32567 return A._Uri__uriEncode(B.List_qg40, s, B.C_Utf8Codec, false);
32568 },
32569 $signature: 5
32570 };
32571 A.UriData.prototype = {
32572 get$uri() {
32573 var t2, queryIndex, end, query, _this = this, _null = null,
32574 t1 = _this._uriCache;
32575 if (t1 == null) {
32576 t1 = _this._text;
32577 t2 = _this._separatorIndices[0] + 1;
32578 queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
32579 end = t1.length;
32580 if (queryIndex >= 0) {
32581 query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, B.List_CVk, false);
32582 end = queryIndex;
32583 } else
32584 query = _null;
32585 t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_qg4, false), query, _null);
32586 }
32587 return t1;
32588 },
32589 toString$0(_) {
32590 var t1 = this._text;
32591 return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
32592 }
32593 };
32594 A._createTables_build.prototype = {
32595 call$2(state, defaultTransition) {
32596 var t1 = this.tables[state];
32597 B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition);
32598 return t1;
32599 },
32600 $signature: 366
32601 };
32602 A._createTables_setChars.prototype = {
32603 call$3(target, chars, transition) {
32604 var t1, i;
32605 for (t1 = chars.length, i = 0; i < t1; ++i)
32606 target[B.JSString_methods._codeUnitAt$1(chars, i) ^ 96] = transition;
32607 },
32608 $signature: 226
32609 };
32610 A._createTables_setRange.prototype = {
32611 call$3(target, range, transition) {
32612 var i, n;
32613 for (i = B.JSString_methods._codeUnitAt$1(range, 0), n = B.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i)
32614 target[(i ^ 96) >>> 0] = transition;
32615 },
32616 $signature: 226
32617 };
32618 A._SimpleUri.prototype = {
32619 get$hasAuthority() {
32620 return this._hostStart > 0;
32621 },
32622 get$hasPort() {
32623 return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
32624 },
32625 get$hasQuery() {
32626 return this._queryStart < this._fragmentStart;
32627 },
32628 get$hasFragment() {
32629 return this._fragmentStart < this._uri.length;
32630 },
32631 get$hasAbsolutePath() {
32632 return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
32633 },
32634 get$scheme() {
32635 var t1 = this._schemeCache;
32636 return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
32637 },
32638 _computeScheme$0() {
32639 var t2, _this = this,
32640 t1 = _this._schemeEnd;
32641 if (t1 <= 0)
32642 return "";
32643 t2 = t1 === 4;
32644 if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
32645 return "http";
32646 if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
32647 return "https";
32648 if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
32649 return "file";
32650 if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
32651 return "package";
32652 return B.JSString_methods.substring$2(_this._uri, 0, t1);
32653 },
32654 get$userInfo() {
32655 var t1 = this._hostStart,
32656 t2 = this._schemeEnd + 3;
32657 return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
32658 },
32659 get$host() {
32660 var t1 = this._hostStart;
32661 return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
32662 },
32663 get$port(_) {
32664 var t1, _this = this;
32665 if (_this.get$hasPort())
32666 return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
32667 t1 = _this._schemeEnd;
32668 if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
32669 return 80;
32670 if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
32671 return 443;
32672 return 0;
32673 },
32674 get$path(_) {
32675 return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
32676 },
32677 get$query() {
32678 var t1 = this._queryStart,
32679 t2 = this._fragmentStart;
32680 return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
32681 },
32682 get$fragment() {
32683 var t1 = this._fragmentStart,
32684 t2 = this._uri;
32685 return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
32686 },
32687 get$pathSegments() {
32688 var parts, i,
32689 start = this._pathStart,
32690 end = this._queryStart,
32691 t1 = this._uri;
32692 if (B.JSString_methods.startsWith$2(t1, "/", start))
32693 ++start;
32694 if (start === end)
32695 return B.List_empty;
32696 parts = A._setArrayType([], type$.JSArray_String);
32697 for (i = start; i < end; ++i)
32698 if (B.JSString_methods.codeUnitAt$1(t1, i) === 47) {
32699 parts.push(B.JSString_methods.substring$2(t1, start, i));
32700 start = i + 1;
32701 }
32702 parts.push(B.JSString_methods.substring$2(t1, start, end));
32703 return A.List_List$unmodifiable(parts, type$.String);
32704 },
32705 _isPort$1(port) {
32706 var portDigitStart = this._portStart + 1;
32707 return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
32708 },
32709 removeFragment$0() {
32710 var _this = this,
32711 t1 = _this._fragmentStart,
32712 t2 = _this._uri;
32713 if (t1 >= t2.length)
32714 return _this;
32715 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);
32716 },
32717 resolve$1(reference) {
32718 return this.resolveUri$1(A.Uri_parse(reference));
32719 },
32720 resolveUri$1(reference) {
32721 if (reference instanceof A._SimpleUri)
32722 return this._simpleMerge$2(this, reference);
32723 return this._toNonSimple$0().resolveUri$1(reference);
32724 },
32725 _simpleMerge$2(base, ref) {
32726 var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
32727 t1 = ref._schemeEnd;
32728 if (t1 > 0)
32729 return ref;
32730 t2 = ref._hostStart;
32731 if (t2 > 0) {
32732 t3 = base._schemeEnd;
32733 if (t3 <= 0)
32734 return ref;
32735 t4 = t3 === 4;
32736 if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
32737 isSimple = ref._pathStart !== ref._queryStart;
32738 else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
32739 isSimple = !ref._isPort$1("80");
32740 else
32741 isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
32742 if (isSimple) {
32743 delta = t3 + 1;
32744 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);
32745 } else
32746 return this._toNonSimple$0().resolveUri$1(ref);
32747 }
32748 refStart = ref._pathStart;
32749 t1 = ref._queryStart;
32750 if (refStart === t1) {
32751 t2 = ref._fragmentStart;
32752 if (t1 < t2) {
32753 t3 = base._queryStart;
32754 delta = t3 - t1;
32755 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);
32756 }
32757 t1 = ref._uri;
32758 if (t2 < t1.length) {
32759 t3 = base._fragmentStart;
32760 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);
32761 }
32762 return base.removeFragment$0();
32763 }
32764 t2 = ref._uri;
32765 if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
32766 basePathStart = base._pathStart;
32767 packageNameEnd = A._SimpleUri__packageNameEnd(this);
32768 basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
32769 delta = basePathStart0 - refStart;
32770 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);
32771 }
32772 baseStart = base._pathStart;
32773 baseEnd = base._queryStart;
32774 if (baseStart === baseEnd && base._hostStart > 0) {
32775 for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
32776 refStart += 3;
32777 delta = baseStart - refStart + 1;
32778 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);
32779 }
32780 baseUri = base._uri;
32781 packageNameEnd = A._SimpleUri__packageNameEnd(this);
32782 if (packageNameEnd >= 0)
32783 baseStart0 = packageNameEnd;
32784 else
32785 for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
32786 baseStart0 += 3;
32787 backCount = 0;
32788 while (true) {
32789 refStart0 = refStart + 3;
32790 if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
32791 break;
32792 ++backCount;
32793 refStart = refStart0;
32794 }
32795 for (insert = ""; baseEnd > baseStart0;) {
32796 --baseEnd;
32797 if (B.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) {
32798 if (backCount === 0) {
32799 insert = "/";
32800 break;
32801 }
32802 --backCount;
32803 insert = "/";
32804 }
32805 }
32806 if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
32807 refStart -= backCount * 3;
32808 insert = "";
32809 }
32810 delta = baseEnd - refStart + insert.length;
32811 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);
32812 },
32813 toFilePath$0() {
32814 var t2, t3, _this = this,
32815 t1 = _this._schemeEnd;
32816 if (t1 >= 0) {
32817 t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
32818 t1 = t2;
32819 } else
32820 t1 = false;
32821 if (t1)
32822 throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
32823 t1 = _this._queryStart;
32824 t2 = _this._uri;
32825 if (t1 < t2.length) {
32826 if (t1 < _this._fragmentStart)
32827 throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
32828 throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
32829 }
32830 t3 = $.$get$_Uri__isWindowsCached();
32831 if (t3)
32832 t1 = A._Uri__toWindowsFilePath(_this);
32833 else {
32834 if (_this._hostStart < _this._portStart)
32835 A.throwExpression(A.UnsupportedError$(string$.Cannotn));
32836 t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
32837 }
32838 return t1;
32839 },
32840 get$hashCode(_) {
32841 var t1 = this._hashCodeCache;
32842 return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
32843 },
32844 $eq(_, other) {
32845 if (other == null)
32846 return false;
32847 if (this === other)
32848 return true;
32849 return type$.Uri._is(other) && this._uri === other.toString$0(0);
32850 },
32851 _toNonSimple$0() {
32852 var _this = this, _null = null,
32853 t1 = _this.get$scheme(),
32854 t2 = _this.get$userInfo(),
32855 t3 = _this._hostStart > 0 ? _this.get$host() : _null,
32856 t4 = _this.get$hasPort() ? _this.get$port(_this) : _null,
32857 t5 = _this._uri,
32858 t6 = _this._queryStart,
32859 t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
32860 t8 = _this._fragmentStart;
32861 t6 = t6 < t8 ? _this.get$query() : _null;
32862 return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
32863 },
32864 toString$0(_) {
32865 return this._uri;
32866 },
32867 $isUri: 1
32868 };
32869 A._DataUri.prototype = {};
32870 A._convertDataTree__convert.prototype = {
32871 call$1(o) {
32872 var convertedMap, key, convertedList,
32873 t1 = this._convertedObjects;
32874 if (t1.containsKey$1(o))
32875 return t1.$index(0, o);
32876 if (type$.Map_dynamic_dynamic._is(o)) {
32877 convertedMap = {};
32878 t1.$indexSet(0, o, convertedMap);
32879 for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
32880 key = t1.get$current(t1);
32881 convertedMap[key] = this.call$1(o.$index(0, key));
32882 }
32883 return convertedMap;
32884 } else if (type$.Iterable_dynamic._is(o)) {
32885 convertedList = [];
32886 t1.$indexSet(0, o, convertedList);
32887 B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
32888 return convertedList;
32889 } else
32890 return o;
32891 },
32892 $signature: 520
32893 };
32894 A._JSRandom.prototype = {
32895 nextInt$1(max) {
32896 if (max <= 0 || max > 4294967296)
32897 throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
32898 return Math.random() * max >>> 0;
32899 },
32900 nextDouble$0() {
32901 return Math.random();
32902 }
32903 };
32904 A.ArgParser.prototype = {
32905 addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
32906 var _null = null;
32907 this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_nMZ, B.List_empty, hide, negatable);
32908 },
32909 addFlag$2$hide($name, hide) {
32910 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
32911 },
32912 addFlag$2$help($name, help) {
32913 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
32914 },
32915 addFlag$3$defaultsTo$help($name, defaultsTo, help) {
32916 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
32917 },
32918 addFlag$3$help$negatable($name, help, negatable) {
32919 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
32920 },
32921 addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
32922 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
32923 },
32924 addFlag$3$abbr$help($name, abbr, help) {
32925 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
32926 },
32927 addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
32928 this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_YwU, B.List_empty, hide, false);
32929 },
32930 addOption$2$hide($name, hide) {
32931 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, null, null, null, hide, null);
32932 },
32933 addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
32934 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
32935 },
32936 addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
32937 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
32938 },
32939 addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
32940 var t1 = A._setArrayType([], type$.JSArray_String);
32941 this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, null, null, t1, null, B.OptionType_qyr, B.List_empty, false, false);
32942 },
32943 _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
32944 var existing, t2, option, _i, _this = this, _null = null,
32945 t1 = A._setArrayType([$name], type$.JSArray_String);
32946 B.JSArray_methods.addAll$1(t1, aliases);
32947 if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
32948 throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
32949 t1 = abbr != null;
32950 if (t1) {
32951 existing = _this.findByAbbreviation$1(abbr);
32952 if (existing != null)
32953 throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
32954 }
32955 t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
32956 option = new A.Option($name, abbr, help, valueHelp, t2, _null, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_qyr : splitCommas, false, hide);
32957 if ($name.length === 0)
32958 A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
32959 else if (B.JSString_methods.startsWith$1($name, "-"))
32960 A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
32961 t2 = $.$get$Option__invalidChars()._nativeRegExp;
32962 if (t2.test($name))
32963 A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
32964 if (t1) {
32965 if (abbr.length !== 1)
32966 A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
32967 else if (abbr === "-")
32968 A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
32969 if (t2.test(abbr))
32970 A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
32971 }
32972 _this._arg_parser$_options.$indexSet(0, $name, option);
32973 _this._optionsAndSeparators.push(option);
32974 for (t1 = _this._aliases, _i = 0; false; ++_i)
32975 t1.$indexSet(0, aliases[_i], $name);
32976 },
32977 _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
32978 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
32979 },
32980 _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
32981 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
32982 },
32983 _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
32984 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
32985 },
32986 findByAbbreviation$1(abbr) {
32987 var t1, t2;
32988 for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
32989 t2 = t1.get$current(t1);
32990 if (t2.abbr === abbr)
32991 return t2;
32992 }
32993 return null;
32994 },
32995 findByNameOrAlias$1($name) {
32996 var t1 = this._aliases.$index(0, $name);
32997 if (t1 == null)
32998 t1 = $name;
32999 return this.options._map.$index(0, t1);
33000 }
33001 };
33002 A.ArgParser__addOption_closure.prototype = {
33003 call$1($name) {
33004 return this.$this.findByNameOrAlias$1($name) != null;
33005 },
33006 $signature: 6
33007 };
33008 A.ArgParserException.prototype = {};
33009 A.ArgResults.prototype = {
33010 $index(_, $name) {
33011 var t1 = this._parser.options._map;
33012 if (!t1.containsKey$1($name))
33013 throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
33014 t1 = t1.$index(0, $name);
33015 t1.toString;
33016 return t1.valueOrDefault$1(this._parsed.$index(0, $name));
33017 },
33018 wasParsed$1($name) {
33019 if (!this._parser.options._map.containsKey$1($name))
33020 throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
33021 return this._parsed.containsKey$1($name);
33022 }
33023 };
33024 A.Option.prototype = {
33025 valueOrDefault$1(value) {
33026 var t1;
33027 if (value != null)
33028 return value;
33029 if (this.type === B.OptionType_qyr) {
33030 t1 = this.defaultsTo;
33031 return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
33032 }
33033 return this.defaultsTo;
33034 }
33035 };
33036 A.OptionType.prototype = {};
33037 A.Parser0.prototype = {
33038 parse$0() {
33039 var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, command, exception, _this = this,
33040 t2 = _this._args;
33041 t2.toList$0(0);
33042 commandResults = null;
33043 for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands; !t2.get$isEmpty(t2);) {
33044 t6 = t2._collection$_head;
33045 if (t6 === t2._collection$_tail)
33046 A.throwExpression(A.IterableElementError_noElement());
33047 t6 = t2.$ti._precomputed1._as(t2._collection$_table[t6]);
33048 if (t6 === "--") {
33049 t2.removeFirst$0();
33050 break;
33051 }
33052 command = t5._map.$index(0, t6);
33053 if (command != null) {
33054 if (t3.length !== 0)
33055 A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null));
33056 commandName = t2.removeFirst$0();
33057 t5 = type$.JSArray_String;
33058 t6 = A._setArrayType([], t5);
33059 B.JSArray_methods.addAll$1(t6, t3);
33060 commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
33061 try {
33062 commandResults = commandParser.parse$0();
33063 } catch (exception) {
33064 t2 = A.unwrapException(exception);
33065 if (t2 instanceof A.ArgParserException) {
33066 error = t2;
33067 t2 = error.message;
33068 t1 = A._setArrayType([commandName], t5);
33069 J.addAll$1$ax(t1, error.commands);
33070 throw A.wrapException(A.ArgParserException$(t2, t1));
33071 } else
33072 throw exception;
33073 }
33074 B.JSArray_methods.set$length(t3, 0);
33075 break;
33076 }
33077 if (_this._parseSoloOption$0())
33078 continue;
33079 if (_this._parseAbbreviation$1(_this))
33080 continue;
33081 if (_this._parseLongOption$0())
33082 continue;
33083 t3.push(t2.removeFirst$0());
33084 }
33085 t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
33086 B.JSArray_methods.addAll$1(t3, t2);
33087 t2.clear$0(0);
33088 return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
33089 },
33090 _readNextArgAsValue$1(option) {
33091 var t1 = this._args,
33092 t2 = t1.get$isEmpty(t1),
33093 t3 = 'Missing argument for "' + option.name + '".';
33094 if (t2)
33095 A.throwExpression(A.ArgParserException$(t3, null));
33096 this._setOption$3(this._results, option, t1.get$first(t1));
33097 t1.removeFirst$0();
33098 },
33099 _parseSoloOption$0() {
33100 var opt,
33101 t1 = this._args;
33102 if (t1.get$first(t1).length !== 2)
33103 return false;
33104 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
33105 return false;
33106 opt = t1.get$first(t1)[1];
33107 if (!A._isLetterOrDigit(B.JSString_methods._codeUnitAt$1(opt, 0)))
33108 return false;
33109 this._handleSoloOption$1(opt);
33110 return true;
33111 },
33112 _handleSoloOption$1(opt) {
33113 var t1, t2, _this = this,
33114 option = _this._grammar.findByAbbreviation$1(opt);
33115 if (option == null) {
33116 t1 = _this._parser$_parent;
33117 t2 = 'Could not find an option or flag "-' + opt + '".';
33118 if (t1 == null)
33119 A.throwExpression(A.ArgParserException$(t2, null));
33120 t1._handleSoloOption$1(opt);
33121 return true;
33122 }
33123 _this._args.removeFirst$0();
33124 if (option.type === B.OptionType_nMZ)
33125 _this._results.$indexSet(0, option.name, true);
33126 else
33127 _this._readNextArgAsValue$1(option);
33128 return true;
33129 },
33130 _parseAbbreviation$1(innermostCommand) {
33131 var index, t2, lettersAndDigits, rest,
33132 t1 = this._args;
33133 if (t1.get$first(t1).length < 2)
33134 return false;
33135 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
33136 return false;
33137 index = 1;
33138 while (true) {
33139 t2 = t1._collection$_head;
33140 if (t2 === t1._collection$_tail)
33141 A.throwExpression(A.IterableElementError_noElement());
33142 t2 = t1.$ti._precomputed1._as(t1._collection$_table[t2]);
33143 if (index < t2.length) {
33144 t2 = B.JSString_methods._codeUnitAt$1(t2, index);
33145 if (!(t2 >= 65 && t2 <= 90))
33146 if (!(t2 >= 97 && t2 <= 122))
33147 t2 = t2 >= 48 && t2 <= 57;
33148 else
33149 t2 = true;
33150 else
33151 t2 = true;
33152 } else
33153 t2 = false;
33154 if (!t2)
33155 break;
33156 ++index;
33157 }
33158 if (index === 1)
33159 return false;
33160 lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(t1), 1, index);
33161 rest = B.JSString_methods.substring$1(t1.get$first(t1), index);
33162 if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
33163 return false;
33164 this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
33165 return true;
33166 },
33167 _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
33168 var t1, t2, i, i0, _this = this,
33169 c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
33170 first = _this._grammar.findByAbbreviation$1(c);
33171 if (first == null) {
33172 t1 = _this._parser$_parent;
33173 t2 = string$.Could_ + c + '".';
33174 if (t1 == null)
33175 A.throwExpression(A.ArgParserException$(t2, null));
33176 t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
33177 return true;
33178 } else if (first.type !== B.OptionType_nMZ)
33179 _this._setOption$3(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest);
33180 else {
33181 t1 = 'Option "-' + c + '" is a flag and cannot handle value "' + B.JSString_methods.substring$1(lettersAndDigits, 1) + rest + '".';
33182 if (rest !== "")
33183 A.throwExpression(A.ArgParserException$(t1, null));
33184 for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
33185 i0 = i + 1;
33186 innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
33187 }
33188 }
33189 _this._args.removeFirst$0();
33190 return true;
33191 },
33192 _parseShortFlag$1(c) {
33193 var t1, t2,
33194 option = this._grammar.findByAbbreviation$1(c);
33195 if (option == null) {
33196 t1 = this._parser$_parent;
33197 t2 = string$.Could_ + c + '".';
33198 if (t1 == null)
33199 A.throwExpression(A.ArgParserException$(t2, null));
33200 t1._parseShortFlag$1(c);
33201 return;
33202 }
33203 t1 = option.type;
33204 t2 = 'Option "-' + c + '" must be a flag to be in a collapsed "-".';
33205 if (t1 !== B.OptionType_nMZ)
33206 A.throwExpression(A.ArgParserException$(t2, null));
33207 this._results.$indexSet(0, option.name, true);
33208 },
33209 _parseLongOption$0() {
33210 var index, t2, $name, t3, i, t4, t5, value,
33211 t1 = this._args;
33212 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "--"))
33213 return false;
33214 index = B.JSString_methods.indexOf$1(t1.get$first(t1), "=");
33215 t2 = index === -1;
33216 $name = t2 ? B.JSString_methods.substring$1(t1.get$first(t1), 2) : B.JSString_methods.substring$2(t1.get$first(t1), 2, index);
33217 for (t3 = $name.length, i = 0; i !== t3; ++i) {
33218 t4 = B.JSString_methods._codeUnitAt$1($name, i);
33219 if (!(t4 >= 65 && t4 <= 90))
33220 if (!(t4 >= 97 && t4 <= 122))
33221 t5 = t4 >= 48 && t4 <= 57;
33222 else
33223 t5 = true;
33224 else
33225 t5 = true;
33226 if (!(t5 || t4 === 45 || t4 === 95))
33227 return false;
33228 }
33229 value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(t1), index + 1);
33230 if (value != null)
33231 t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
33232 else
33233 t1 = false;
33234 if (t1)
33235 return false;
33236 this._handleLongOption$2($name, value);
33237 return true;
33238 },
33239 _handleLongOption$2($name, value) {
33240 var t2, _this = this, _null = null,
33241 _s32_ = 'Could not find an option named "',
33242 t1 = _this._grammar,
33243 option = t1.findByNameOrAlias$1($name);
33244 if (option != null) {
33245 _this._args.removeFirst$0();
33246 if (option.type === B.OptionType_nMZ) {
33247 t1 = 'Flag option "' + $name + '" should not be given a value.';
33248 if (value != null)
33249 A.throwExpression(A.ArgParserException$(t1, _null));
33250 _this._results.$indexSet(0, option.name, true);
33251 } else if (value != null)
33252 _this._setOption$3(_this._results, option, value);
33253 else
33254 _this._readNextArgAsValue$1(option);
33255 } else if (B.JSString_methods.startsWith$1($name, "no-")) {
33256 option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
33257 if (option == null) {
33258 t1 = _this._parser$_parent;
33259 t2 = _s32_ + $name + '".';
33260 if (t1 == null)
33261 A.throwExpression(A.ArgParserException$(t2, _null));
33262 t1._handleLongOption$2($name, value);
33263 return true;
33264 }
33265 _this._args.removeFirst$0();
33266 t1 = option.type;
33267 t2 = 'Cannot negate non-flag option "' + $name + '".';
33268 if (t1 !== B.OptionType_nMZ)
33269 A.throwExpression(A.ArgParserException$(t2, _null));
33270 t1 = option.negatable;
33271 t2 = 'Cannot negate option "' + $name + '".';
33272 if (!t1)
33273 A.throwExpression(A.ArgParserException$(t2, _null));
33274 _this._results.$indexSet(0, option.name, false);
33275 } else {
33276 t1 = _this._parser$_parent;
33277 t2 = _s32_ + $name + '".';
33278 if (t1 == null)
33279 A.throwExpression(A.ArgParserException$(t2, _null));
33280 t1._handleLongOption$2($name, value);
33281 return true;
33282 }
33283 return true;
33284 },
33285 _setOption$3(results, option, value) {
33286 var list, t1, t2, t3, _i, element;
33287 if (option.type !== B.OptionType_qyr) {
33288 this._validateAllowed$2(option, value);
33289 results.$indexSet(0, option.name, value);
33290 return;
33291 }
33292 list = results.putIfAbsent$2(option.name, new A.Parser__setOption_closure());
33293 if (option.splitCommas)
33294 for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
33295 element = t1[_i];
33296 this._validateAllowed$2(option, element);
33297 t3.add$1(list, element);
33298 }
33299 else {
33300 this._validateAllowed$2(option, value);
33301 J.add$1$ax(list, value);
33302 }
33303 },
33304 _validateAllowed$2(option, value) {
33305 var t2,
33306 t1 = option.allowed;
33307 if (t1 == null)
33308 return;
33309 t1 = B.JSArray_methods.contains$1(t1, value);
33310 t2 = '"' + value + '" is not an allowed value for option "' + option.name + '".';
33311 if (!t1)
33312 A.throwExpression(A.ArgParserException$(t2, null));
33313 }
33314 };
33315 A.Parser_parse_closure.prototype = {
33316 call$2($name, option) {
33317 var parsedOption = this.$this._results.$index(0, $name),
33318 callback = option.callback;
33319 if (callback == null)
33320 return;
33321 callback.call$1(option.valueOrDefault$1(parsedOption));
33322 },
33323 $signature: 546
33324 };
33325 A.Parser__setOption_closure.prototype = {
33326 call$0() {
33327 return A._setArrayType([], type$.JSArray_String);
33328 },
33329 $signature: 49
33330 };
33331 A._Usage.prototype = {
33332 get$_columnWidths() {
33333 var result, _this = this,
33334 value = _this.___Usage__columnWidths;
33335 if (value === $) {
33336 result = _this._calculateColumnWidths$0();
33337 A._lateInitializeOnceCheck(_this.___Usage__columnWidths, "_columnWidths");
33338 _this.___Usage__columnWidths = result;
33339 value = result;
33340 }
33341 return value;
33342 },
33343 generate$0() {
33344 var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
33345 for (t1 = _this._usage$_optionsAndSeparators, t2 = t1.length, t3 = type$.Option, t4 = _this._buffer, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
33346 optionOrSeparator = t1[_i];
33347 if (typeof optionOrSeparator == "string") {
33348 t5 = t4._contents;
33349 t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
33350 _this._newlinesNeeded = 1;
33351 continue;
33352 }
33353 t3._as(optionOrSeparator);
33354 if (optionOrSeparator.hide)
33355 continue;
33356 _this._writeOption$1(optionOrSeparator);
33357 }
33358 t1 = t4._contents;
33359 return t1.charCodeAt(0) == 0 ? t1 : t1;
33360 },
33361 _writeOption$1(option) {
33362 var allowedNames, t2, t3, t4, _i, $name, isDefault, t5, _this = this,
33363 t1 = option.abbr;
33364 _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
33365 t1 = _this._longOption$1(option);
33366 _this._write$2(1, t1);
33367 t1 = option.help;
33368 if (t1 != null)
33369 _this._write$2(2, t1);
33370 t1 = option.allowedHelp;
33371 if (t1 != null) {
33372 allowedNames = J.toList$0$ax(t1.get$keys(t1));
33373 B.JSArray_methods.sort$0(allowedNames);
33374 _this._newline$0();
33375 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) {
33376 $name = allowedNames[_i];
33377 isDefault = t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name;
33378 t5 = " [" + $name + "]";
33379 _this._write$2(1, t5 + (isDefault ? " (default)" : ""));
33380 t5 = t1.$index(0, $name);
33381 t5.toString;
33382 _this._write$2(2, t5);
33383 }
33384 _this._newline$0();
33385 } else if (option.allowed != null)
33386 _this._write$2(2, _this._buildAllowedList$1(option));
33387 else {
33388 t1 = option.type;
33389 if (t1 === B.OptionType_nMZ) {
33390 if (option.defaultsTo === true)
33391 _this._write$2(2, "(defaults to on)");
33392 } else if (t1 === B.OptionType_qyr) {
33393 t1 = option.defaultsTo;
33394 if (t1 != null && J.get$isNotEmpty$asx(t1)) {
33395 type$.List_dynamic._as(t1);
33396 _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, ", ") + ")");
33397 }
33398 } else {
33399 t1 = option.defaultsTo;
33400 if (t1 != null)
33401 _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
33402 }
33403 }
33404 },
33405 _longOption$1(option) {
33406 var t1 = option.name,
33407 result = option.negatable ? "--[no-]" + t1 : "--" + t1;
33408 t1 = option.valueHelp;
33409 return t1 != null ? result + ("=<" + t1 + ">") : result;
33410 },
33411 _calculateColumnWidths$0() {
33412 var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, isDefault;
33413 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) {
33414 option = t1[_i];
33415 if (!(option instanceof A.Option))
33416 continue;
33417 if (option.hide)
33418 continue;
33419 t4 = option.abbr;
33420 abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
33421 t4 = this._longOption$1(option);
33422 title = Math.max(title, t4.length);
33423 t4 = option.allowedHelp;
33424 if (t4 != null)
33425 for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
33426 t7 = t4.get$current(t4);
33427 isDefault = t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7;
33428 t7 = " [" + t7 + "]";
33429 title = Math.max(title, (t7 + (isDefault ? " (default)" : "")).length);
33430 }
33431 }
33432 return A._setArrayType([abbr, title + 4], type$.JSArray_int);
33433 },
33434 _newline$0() {
33435 ++this._newlinesNeeded;
33436 this._currentColumn = 0;
33437 },
33438 _write$2(column, text) {
33439 var t1, _i,
33440 lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
33441 this.get$_columnWidths();
33442 while (true) {
33443 if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
33444 break;
33445 B.JSArray_methods.removeAt$1(lines, 0);
33446 }
33447 while (true) {
33448 if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
33449 break;
33450 lines.pop();
33451 }
33452 for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
33453 this._writeLine$2(column, lines[_i]);
33454 },
33455 _writeLine$2(column, text) {
33456 var t1, t2, _this = this;
33457 for (t1 = _this._buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
33458 t1._contents += "\n";
33459 _this._newlinesNeeded = t2 - 1;
33460 }
33461 for (; t2 = _this._currentColumn, t2 !== column;) {
33462 if (t2 < 2)
33463 t1._contents += B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
33464 else
33465 t1._contents += "\n";
33466 _this._currentColumn = (_this._currentColumn + 1) % 3;
33467 }
33468 _this.get$_columnWidths();
33469 if (column < 2)
33470 t1._contents += B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
33471 else
33472 t1._contents += text;
33473 _this._currentColumn = (_this._currentColumn + 1) % 3;
33474 if (column === 2)
33475 ++_this._newlinesNeeded;
33476 },
33477 _buildAllowedList$1(option) {
33478 var t2, t3, first, _i, allowed,
33479 t1 = option.defaultsTo,
33480 isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
33481 t1 = "" + "[";
33482 for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
33483 allowed = t2[_i];
33484 if (!first)
33485 t1 += ", ";
33486 t1 += A.S(allowed);
33487 if (isDefault.call$1(allowed))
33488 t1 += " (default)";
33489 }
33490 t1 += "]";
33491 return t1.charCodeAt(0) == 0 ? t1 : t1;
33492 }
33493 };
33494 A._Usage__writeOption_closure.prototype = {
33495 call$1(value) {
33496 return '"' + A.S(value) + '"';
33497 },
33498 $signature: 83
33499 };
33500 A._Usage__buildAllowedList_closure.prototype = {
33501 call$1(value) {
33502 return value === this.option.defaultsTo;
33503 },
33504 $signature: 118
33505 };
33506 A.ErrorResult.prototype = {
33507 complete$1(completer) {
33508 completer.completeError$2(this.error, this.stackTrace);
33509 },
33510 get$hashCode(_) {
33511 return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
33512 },
33513 $eq(_, other) {
33514 if (other == null)
33515 return false;
33516 return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
33517 },
33518 $isResult: 1
33519 };
33520 A.ValueResult.prototype = {
33521 complete$1(completer) {
33522 completer.complete$1(this.value);
33523 },
33524 get$hashCode(_) {
33525 return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
33526 },
33527 $eq(_, other) {
33528 if (other == null)
33529 return false;
33530 return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
33531 },
33532 $isResult: 1
33533 };
33534 A.StreamCompleter.prototype = {
33535 setSourceStream$1(sourceStream) {
33536 var t1 = this._stream_completer$_stream;
33537 if (t1._sourceStream != null)
33538 throw A.wrapException(A.StateError$("Source stream already set"));
33539 t1._sourceStream = sourceStream;
33540 if (t1._stream_completer$_controller != null)
33541 t1._linkStreamToController$0();
33542 },
33543 setError$2(error, stackTrace) {
33544 var t1 = this.$ti._precomputed1;
33545 this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
33546 },
33547 setError$1(error) {
33548 return this.setError$2(error, null);
33549 }
33550 };
33551 A._CompleterStream.prototype = {
33552 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
33553 var sourceStream, t1, _this = this, _null = null;
33554 if (_this._stream_completer$_controller == null) {
33555 sourceStream = _this._sourceStream;
33556 if (sourceStream != null && !sourceStream.get$isBroadcast())
33557 return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
33558 if (_this._stream_completer$_controller == null)
33559 _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
33560 if (_this._sourceStream != null)
33561 _this._linkStreamToController$0();
33562 }
33563 t1 = _this._stream_completer$_controller;
33564 t1.toString;
33565 return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
33566 },
33567 listen$1($receiver, onData) {
33568 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
33569 },
33570 listen$3$onDone$onError($receiver, onData, onDone, onError) {
33571 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
33572 },
33573 _linkStreamToController$0() {
33574 var t2,
33575 t1 = this._stream_completer$_controller;
33576 t1.toString;
33577 t2 = this._sourceStream;
33578 t2.toString;
33579 t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
33580 }
33581 };
33582 A.StreamGroup.prototype = {
33583 add$1(_, stream) {
33584 var t1, _this = this;
33585 if (_this._closed)
33586 throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
33587 t1 = _this._stream_group$_state;
33588 if (t1 === B._StreamGroupState_dormant)
33589 _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
33590 else if (t1 === B._StreamGroupState_canceled)
33591 return stream.listen$1(0, null).cancel$0();
33592 else
33593 _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
33594 return null;
33595 },
33596 remove$1(_, stream) {
33597 var t1 = this._subscriptions,
33598 subscription = t1.remove$1(0, stream),
33599 future = subscription == null ? null : subscription.cancel$0();
33600 if (t1.get$isEmpty(t1))
33601 if (this._closed) {
33602 t1 = A._lateReadCheck(this.__StreamGroup__controller, "_controller");
33603 A.scheduleMicrotask(t1.get$close(t1));
33604 }
33605 return future;
33606 },
33607 _onListen$0() {
33608 var stream, t1, t2, t3, _i, entry, exception, onError, _this = this;
33609 _this._stream_group$_state = B._StreamGroupState_listening;
33610 for (t1 = _this._subscriptions, t2 = A.List_List$of(t1.get$entries(t1), true, _this.$ti._eval$1("MapEntry<Stream<1>,StreamSubscription<1>?>")), t3 = t2.length, _i = 0; _i < t3; ++_i) {
33611 entry = t2[_i];
33612 if (entry.value != null)
33613 continue;
33614 stream = entry.key;
33615 try {
33616 t1.$indexSet(0, stream, _this._listenToStream$1(stream));
33617 } catch (exception) {
33618 t1 = _this._onCancel$0();
33619 if (t1 != null) {
33620 onError = new A.StreamGroup__onListen_closure();
33621 t2 = t1.$ti;
33622 t3 = $.Zone__current;
33623 if (t3 !== B.C__RootZone)
33624 onError = A._registerErrorHandler(onError, t3);
33625 t1._addListener$1(new A._FutureListener(new A._Future(t3, t2), 2, null, onError, t2._eval$1("@<1>")._bind$1(t2._precomputed1)._eval$1("_FutureListener<1,2>")));
33626 }
33627 throw exception;
33628 }
33629 }
33630 },
33631 _onPause$0() {
33632 this._stream_group$_state = B._StreamGroupState_paused;
33633 for (var t1 = this._subscriptions, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();)
33634 t1.get$current(t1).pause$0(0);
33635 },
33636 _onResume$0() {
33637 this._stream_group$_state = B._StreamGroupState_listening;
33638 for (var t1 = this._subscriptions, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();)
33639 t1.get$current(t1).resume$0(0);
33640 },
33641 _onCancel$0() {
33642 var t1, t2, futures;
33643 this._stream_group$_state = B._StreamGroupState_canceled;
33644 t1 = this._subscriptions;
33645 t2 = A.IterableNullableExtension_whereNotNull(t1.get$entries(t1).map$1$1(0, new A.StreamGroup__onCancel_closure(this), type$.nullable_Future_void), type$.Future_void);
33646 futures = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E"));
33647 t1.clear$0(0);
33648 return futures.length === 0 ? null : A.Future_wait(futures, type$.void);
33649 },
33650 _listenToStream$1(stream) {
33651 var _this = this,
33652 _s11_ = "_controller",
33653 t1 = A._lateReadCheck(_this.__StreamGroup__controller, _s11_),
33654 subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(_this, stream), A._lateReadCheck(_this.__StreamGroup__controller, _s11_).get$addError());
33655 if (_this._stream_group$_state === B._StreamGroupState_paused)
33656 subscription.pause$0(0);
33657 return subscription;
33658 }
33659 };
33660 A.StreamGroup_add_closure.prototype = {
33661 call$0() {
33662 return null;
33663 },
33664 $signature: 1
33665 };
33666 A.StreamGroup_add_closure0.prototype = {
33667 call$0() {
33668 return this.$this._listenToStream$1(this.stream);
33669 },
33670 $signature() {
33671 return this.$this.$ti._eval$1("StreamSubscription<1>()");
33672 }
33673 };
33674 A.StreamGroup__onListen_closure.prototype = {
33675 call$1(_) {
33676 },
33677 $signature: 66
33678 };
33679 A.StreamGroup__onCancel_closure.prototype = {
33680 call$1(entry) {
33681 var t1, exception,
33682 subscription = entry.value;
33683 try {
33684 if (subscription != null) {
33685 t1 = subscription.cancel$0();
33686 return t1;
33687 }
33688 t1 = J.listen$1$z(entry.key, null).cancel$0();
33689 return t1;
33690 } catch (exception) {
33691 return null;
33692 }
33693 },
33694 $signature() {
33695 return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
33696 }
33697 };
33698 A.StreamGroup__listenToStream_closure.prototype = {
33699 call$0() {
33700 return this.$this.remove$1(0, this.stream);
33701 },
33702 $signature: 0
33703 };
33704 A._StreamGroupState.prototype = {
33705 toString$0(_) {
33706 return this.name;
33707 }
33708 };
33709 A.StreamQueue.prototype = {
33710 _updateRequests$0() {
33711 var t1, t2, t3, _this = this;
33712 for (t1 = _this._requestQueue, t2 = _this._eventQueue; !t1.get$isEmpty(t1);) {
33713 t3 = t1._collection$_head;
33714 if (t3 === t1._collection$_tail)
33715 A.throwExpression(A.IterableElementError_noElement());
33716 if (t1.$ti._precomputed1._as(t1._collection$_table[t3]).update$2(t2, _this._isDone))
33717 t1.removeFirst$0();
33718 else
33719 return;
33720 }
33721 if (!_this._isDone)
33722 _this._stream_queue$_subscription.pause$0(0);
33723 },
33724 _ensureListening$0() {
33725 var t1, _this = this;
33726 if (_this._isDone)
33727 return;
33728 t1 = _this._stream_queue$_subscription;
33729 if (t1 == null)
33730 _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));
33731 else
33732 t1.resume$0(0);
33733 },
33734 _addResult$1(result) {
33735 ++this._eventsReceived;
33736 this._eventQueue._queue_list$_add$1(result);
33737 this._updateRequests$0();
33738 },
33739 _addRequest$1(request) {
33740 var _this = this,
33741 t1 = _this._requestQueue;
33742 if (t1._collection$_head === t1._collection$_tail) {
33743 if (request.update$2(_this._eventQueue, _this._isDone))
33744 return;
33745 _this._ensureListening$0();
33746 }
33747 t1._add$1(request);
33748 }
33749 };
33750 A.StreamQueue__ensureListening_closure.prototype = {
33751 call$1(data) {
33752 var t1 = this.$this;
33753 t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
33754 },
33755 $signature() {
33756 return this.$this.$ti._eval$1("~(1)");
33757 }
33758 };
33759 A.StreamQueue__ensureListening_closure1.prototype = {
33760 call$2(error, stackTrace) {
33761 this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
33762 },
33763 $signature: 63
33764 };
33765 A.StreamQueue__ensureListening_closure0.prototype = {
33766 call$0() {
33767 var t1 = this.$this;
33768 t1._stream_queue$_subscription = null;
33769 t1._isDone = true;
33770 t1._updateRequests$0();
33771 },
33772 $signature: 0
33773 };
33774 A._NextRequest.prototype = {
33775 update$2(events, isDone) {
33776 if (!events.get$isEmpty(events)) {
33777 events.removeFirst$0().complete$1(this._completer);
33778 return true;
33779 }
33780 if (isDone) {
33781 this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
33782 return true;
33783 }
33784 return false;
33785 },
33786 $is_EventRequest: 1
33787 };
33788 A.Repl.prototype = {};
33789 A.alwaysValid_closure.prototype = {
33790 call$1(text) {
33791 return true;
33792 },
33793 $signature: 6
33794 };
33795 A.ReplAdapter.prototype = {
33796 runAsync$0() {
33797 var rl, runController, _this = this, t1 = {},
33798 t2 = J.get$isTTY$x(self.process.stdin),
33799 output = (t2 == null ? false : t2) ? self.process.stdout : null;
33800 t2 = _this.repl.prompt;
33801 rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
33802 _this.rl = rl;
33803 t1.statement = "";
33804 t1.prompt = t2;
33805 runController = A._Cell$();
33806 runController._value = A.StreamController_StreamController(_this.get$exit(_this), new A.ReplAdapter_runAsync_closure(t1, _this, rl, runController), null, null, false, type$.String);
33807 return runController._readLocal$0().get$stream();
33808 },
33809 exit$0(_) {
33810 var t1 = this.rl;
33811 if (t1 != null)
33812 J.close$0$x(t1);
33813 this.rl = null;
33814 }
33815 };
33816 A.ReplAdapter_runAsync_closure.prototype = {
33817 call$0() {
33818 var $async$goto = 0,
33819 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
33820 $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, lineController, lineQueue, line, error, stackTrace, t1, t2, t3, t4, $prompt, prompt0, t5, t6, t7, t8, t9, line0, toZone, statement, exception, $async$exception;
33821 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
33822 if ($async$errorCode === 1) {
33823 $async$currentError = $async$result;
33824 $async$goto = $async$handler;
33825 }
33826 while (true)
33827 switch ($async$goto) {
33828 case 0:
33829 // Function start
33830 $async$handler = 3;
33831 lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
33832 t1 = lineController;
33833 t2 = A.QueueList$(null, type$.Result_String);
33834 t3 = A.ListQueue$(type$._EventRequest_dynamic);
33835 lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A.instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
33836 t1 = $async$self.rl;
33837 t2 = J.getInterceptor$x(t1);
33838 t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
33839 t3 = $async$self._box_0, t4 = $async$self.$this.repl, $prompt = t4.continuation, prompt0 = t4.prompt, t5 = $async$self.runController, t6 = t5.__late_helper$_name;
33840 case 6:
33841 // for condition
33842 // trivial condition
33843 t7 = J.get$isTTY$x(self.process.stdin);
33844 if (t7 == null ? false : t7)
33845 J.write$1$x(self.process.stdout, t3.prompt);
33846 t7 = lineQueue;
33847 t8 = A.instanceType(t7);
33848 t9 = new A._Future($.Zone__current, t8._eval$1("_Future<1>"));
33849 t7._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t9, t8._eval$1("_AsyncCompleter<1>")), t8._eval$1("_NextRequest<1>")));
33850 $async$goto = 8;
33851 return A._asyncAwait(t9, $async$call$0);
33852 case 8:
33853 // returning from await.
33854 line = $async$result;
33855 t7 = J.get$isTTY$x(self.process.stdin);
33856 if (!(t7 == null ? false : t7)) {
33857 line0 = t3.prompt + A.S(line);
33858 toZone = $.printToZone;
33859 if (toZone == null)
33860 A.printString(line0);
33861 else
33862 toZone.call$1(line0);
33863 }
33864 statement = B.JSString_methods.$add(t3.statement, line);
33865 t3.statement = statement;
33866 if (t4.validator.call$1(statement)) {
33867 t7 = t5._value;
33868 if (t7 === t5)
33869 A.throwExpression(A.LateError$localNI(t6));
33870 J.add$1$ax(t7, t3.statement);
33871 t3.statement = "";
33872 t3.prompt = prompt0;
33873 t2.setPrompt$1(t1, prompt0);
33874 } else {
33875 t3.statement += "\n";
33876 t3.prompt = $prompt;
33877 t2.setPrompt$1(t1, $prompt);
33878 }
33879 // goto for condition
33880 $async$goto = 6;
33881 break;
33882 case 7:
33883 // after for
33884 $async$handler = 1;
33885 // goto after finally
33886 $async$goto = 5;
33887 break;
33888 case 3:
33889 // catch
33890 $async$handler = 2;
33891 $async$exception = $async$currentError;
33892 error = A.unwrapException($async$exception);
33893 stackTrace = A.getTraceFromException($async$exception);
33894 t1 = $async$self.runController;
33895 t1._readLocal$0().addError$2(error, stackTrace);
33896 $async$goto = 9;
33897 return A._asyncAwait($async$self.$this.exit$0(0), $async$call$0);
33898 case 9:
33899 // returning from await.
33900 J.close$0$x(t1._readLocal$0());
33901 // goto after finally
33902 $async$goto = 5;
33903 break;
33904 case 2:
33905 // uncaught
33906 // goto rethrow
33907 $async$goto = 1;
33908 break;
33909 case 5:
33910 // after finally
33911 // implicit return
33912 return A._asyncReturn(null, $async$completer);
33913 case 1:
33914 // rethrow
33915 return A._asyncRethrow($async$currentError, $async$completer);
33916 }
33917 });
33918 return A._asyncStartSync($async$call$0, $async$completer);
33919 },
33920 $signature: 33
33921 };
33922 A.ReplAdapter_runAsync__closure.prototype = {
33923 call$1(value) {
33924 return this.lineController.add$1(0, A._asString(value));
33925 },
33926 $signature: 119
33927 };
33928 A.Stdin.prototype = {};
33929 A.Stdout.prototype = {};
33930 A.ReadlineModule.prototype = {};
33931 A.ReadlineOptions.prototype = {};
33932 A.ReadlineInterface.prototype = {};
33933 A.EmptyUnmodifiableSet.prototype = {
33934 get$iterator(_) {
33935 return B.C_EmptyIterator;
33936 },
33937 get$length(_) {
33938 return 0;
33939 },
33940 contains$1(_, element) {
33941 return false;
33942 },
33943 toSet$0(_) {
33944 return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
33945 },
33946 $isEfficientLengthIterable: 1,
33947 $isSet: 1
33948 };
33949 A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
33950 A.DefaultEquality.prototype = {};
33951 A.IterableEquality.prototype = {
33952 equals$2(_, elements1, elements2) {
33953 var it1, it2, hasNext;
33954 if (elements1 === elements2)
33955 return true;
33956 it1 = J.get$iterator$ax(elements1);
33957 it2 = J.get$iterator$ax(elements2);
33958 for (; true;) {
33959 hasNext = it1.moveNext$0();
33960 if (hasNext !== it2.moveNext$0())
33961 return false;
33962 if (!hasNext)
33963 return true;
33964 if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
33965 return false;
33966 }
33967 }
33968 };
33969 A.ListEquality.prototype = {
33970 equals$2(_, list1, list2) {
33971 var t1, $length, t2, i;
33972 if (list1 == null ? list2 == null : list1 === list2)
33973 return true;
33974 if (list1 == null || list2 == null)
33975 return false;
33976 t1 = J.getInterceptor$asx(list1);
33977 $length = t1.get$length(list1);
33978 t2 = J.getInterceptor$asx(list2);
33979 if ($length !== t2.get$length(list2))
33980 return false;
33981 for (i = 0; i < $length; ++i)
33982 if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
33983 return false;
33984 return true;
33985 },
33986 hash$1(list) {
33987 var hash, i;
33988 for (hash = 0, i = 0; i < list.length; ++i) {
33989 hash = hash + J.get$hashCode$(list[i]) & 2147483647;
33990 hash = hash + (hash << 10 >>> 0) & 2147483647;
33991 hash ^= hash >>> 6;
33992 }
33993 hash = hash + (hash << 3 >>> 0) & 2147483647;
33994 hash ^= hash >>> 11;
33995 return hash + (hash << 15 >>> 0) & 2147483647;
33996 }
33997 };
33998 A._MapEntry.prototype = {
33999 get$hashCode(_) {
34000 return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
34001 },
34002 $eq(_, other) {
34003 if (other == null)
34004 return false;
34005 return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
34006 }
34007 };
34008 A.MapEquality.prototype = {
34009 equals$2(_, map1, map2) {
34010 var equalElementCounts, t1, key, entry, count;
34011 if (map1 === map2)
34012 return true;
34013 if (map1.get$length(map1) !== map2.get$length(map2))
34014 return false;
34015 equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
34016 for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
34017 key = t1.get$current(t1);
34018 entry = new A._MapEntry(this, key, map1.$index(0, key));
34019 count = equalElementCounts.$index(0, entry);
34020 equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
34021 }
34022 for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
34023 key = t1.get$current(t1);
34024 entry = new A._MapEntry(this, key, map2.$index(0, key));
34025 count = equalElementCounts.$index(0, entry);
34026 if (count == null || count === 0)
34027 return false;
34028 equalElementCounts.$indexSet(0, entry, count - 1);
34029 }
34030 return true;
34031 },
34032 hash$1(map) {
34033 var t1, t2, hash, key;
34034 for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = A._instanceType(this)._rest[1], hash = 0; t1.moveNext$0();) {
34035 key = t1.get$current(t1);
34036 hash = hash + 3 * J.get$hashCode$(key) + 7 * J.get$hashCode$(t2._as(map.$index(0, key))) & 2147483647;
34037 }
34038 hash = hash + (hash << 3 >>> 0) & 2147483647;
34039 hash ^= hash >>> 11;
34040 return hash + (hash << 15 >>> 0) & 2147483647;
34041 }
34042 };
34043 A.QueueList.prototype = {
34044 add$1(_, element) {
34045 this._queue_list$_add$1(element);
34046 },
34047 addAll$1(_, iterable) {
34048 var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
34049 if (type$.List_dynamic._is(iterable)) {
34050 addCount = J.get$length$asx(iterable);
34051 $length = _this.get$length(_this);
34052 t1 = $length + addCount;
34053 if (t1 >= J.get$length$asx(_this._table)) {
34054 _this._preGrow$1(t1);
34055 J.setRange$4$ax(_this._table, $length, t1, iterable, 0);
34056 _this.set$_tail(_this.get$_tail() + addCount);
34057 } else {
34058 endSpace = J.get$length$asx(_this._table) - _this.get$_tail();
34059 t1 = _this._table;
34060 t2 = J.getInterceptor$ax(t1);
34061 if (addCount < endSpace) {
34062 t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + addCount, iterable, 0);
34063 _this.set$_tail(_this.get$_tail() + addCount);
34064 } else {
34065 preSpace = addCount - endSpace;
34066 t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + endSpace, iterable, 0);
34067 J.setRange$4$ax(_this._table, 0, preSpace, iterable, endSpace);
34068 _this.set$_tail(preSpace);
34069 }
34070 }
34071 } else
34072 for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
34073 _this._queue_list$_add$1(t1.get$current(t1));
34074 },
34075 cast$1$0(_, $T) {
34076 return new A._CastQueueList(this, J.cast$1$0$ax(this._table, $T), -1, -1, A._instanceType(this)._eval$1("@<QueueList.E>")._bind$1($T)._eval$1("_CastQueueList<1,2>"));
34077 },
34078 toString$0(_) {
34079 return A.IterableBase_iterableToFullString(this, "{", "}");
34080 },
34081 addFirst$1(element) {
34082 var _this = this;
34083 _this.set$_head((_this.get$_head() - 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34084 J.$indexSet$ax(_this._table, _this.get$_head(), element);
34085 if (_this.get$_head() === _this.get$_tail())
34086 _this._grow$0();
34087 },
34088 removeFirst$0() {
34089 var result, _this = this;
34090 if (_this.get$_head() === _this.get$_tail())
34091 throw A.wrapException(A.StateError$("No element"));
34092 result = A._instanceType(_this)._eval$1("QueueList.E")._as(J.$index$asx(_this._table, _this.get$_head()));
34093 J.$indexSet$ax(_this._table, _this.get$_head(), null);
34094 _this.set$_head((_this.get$_head() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34095 return result;
34096 },
34097 get$length(_) {
34098 return (this.get$_tail() - this.get$_head() & J.get$length$asx(this._table) - 1) >>> 0;
34099 },
34100 set$length(_, value) {
34101 var delta, newTail, t1, t2, _this = this;
34102 if (value < 0)
34103 throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
34104 if (value > _this.get$length(_this) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
34105 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) + "`."));
34106 delta = value - _this.get$length(_this);
34107 if (delta >= 0) {
34108 if (J.get$length$asx(_this._table) <= value)
34109 _this._preGrow$1(value);
34110 _this.set$_tail((_this.get$_tail() + delta & J.get$length$asx(_this._table) - 1) >>> 0);
34111 return;
34112 }
34113 newTail = _this.get$_tail() + delta;
34114 t1 = _this._table;
34115 if (newTail >= 0)
34116 J.fillRange$3$ax(t1, newTail, _this.get$_tail(), null);
34117 else {
34118 newTail += J.get$length$asx(t1);
34119 J.fillRange$3$ax(_this._table, 0, _this.get$_tail(), null);
34120 t1 = _this._table;
34121 t2 = J.getInterceptor$asx(t1);
34122 t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
34123 }
34124 _this.set$_tail(newTail);
34125 },
34126 $index(_, index) {
34127 var _this = this;
34128 if (index < 0 || index >= _this.get$length(_this))
34129 throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
34130 return A._instanceType(_this)._eval$1("QueueList.E")._as(J.$index$asx(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0));
34131 },
34132 $indexSet(_, index, value) {
34133 var _this = this;
34134 if (index < 0 || index >= _this.get$length(_this))
34135 throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
34136 J.$indexSet$ax(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0, value);
34137 },
34138 _queue_list$_add$1(element) {
34139 var _this = this;
34140 J.$indexSet$ax(_this._table, _this.get$_tail(), element);
34141 _this.set$_tail((_this.get$_tail() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34142 if (_this.get$_head() === _this.get$_tail())
34143 _this._grow$0();
34144 },
34145 _grow$0() {
34146 var _this = this,
34147 newTable = A.List_List$filled(J.get$length$asx(_this._table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
34148 split = J.get$length$asx(_this._table) - _this.get$_head();
34149 B.JSArray_methods.setRange$4(newTable, 0, split, _this._table, _this.get$_head());
34150 B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_head(), _this._table, 0);
34151 _this.set$_head(0);
34152 _this.set$_tail(J.get$length$asx(_this._table));
34153 _this._table = newTable;
34154 },
34155 _writeToList$1(target) {
34156 var $length, firstPartSize, _this = this;
34157 if (_this.get$_head() <= _this.get$_tail()) {
34158 $length = _this.get$_tail() - _this.get$_head();
34159 B.JSArray_methods.setRange$4(target, 0, $length, _this._table, _this.get$_head());
34160 return $length;
34161 } else {
34162 firstPartSize = J.get$length$asx(_this._table) - _this.get$_head();
34163 B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._table, _this.get$_head());
34164 B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_tail(), _this._table, 0);
34165 return _this.get$_tail() + firstPartSize;
34166 }
34167 },
34168 _preGrow$1(newElementCount) {
34169 var _this = this,
34170 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?"));
34171 _this.set$_tail(_this._writeToList$1(newTable));
34172 _this._table = newTable;
34173 _this.set$_head(0);
34174 },
34175 $isEfficientLengthIterable: 1,
34176 $isQueue: 1,
34177 $isIterable: 1,
34178 $isList: 1,
34179 get$_head() {
34180 return this._head;
34181 },
34182 get$_tail() {
34183 return this._tail;
34184 },
34185 set$_head(val) {
34186 return this._head = val;
34187 },
34188 set$_tail(val) {
34189 return this._tail = val;
34190 }
34191 };
34192 A._CastQueueList.prototype = {
34193 get$_head() {
34194 return this._queue_list$_delegate.get$_head();
34195 },
34196 set$_head(value) {
34197 this._queue_list$_delegate.set$_head(value);
34198 },
34199 get$_tail() {
34200 return this._queue_list$_delegate.get$_tail();
34201 },
34202 set$_tail(value) {
34203 this._queue_list$_delegate.set$_tail(value);
34204 }
34205 };
34206 A._QueueList_Object_ListMixin.prototype = {};
34207 A.UnmodifiableSetView.prototype = {};
34208 A.UnmodifiableSetMixin.prototype = {
34209 add$1(_, value) {
34210 return A.UnmodifiableSetMixin__throw();
34211 },
34212 addAll$1(_, elements) {
34213 return A.UnmodifiableSetMixin__throw();
34214 }
34215 };
34216 A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
34217 A._DelegatingIterableBase.prototype = {
34218 contains$1(_, element) {
34219 return J.contains$1$asx(this.get$_base(), element);
34220 },
34221 elementAt$1(_, index) {
34222 return J.elementAt$1$ax(this.get$_base(), index);
34223 },
34224 get$first(_) {
34225 return J.get$first$ax(this.get$_base());
34226 },
34227 get$isEmpty(_) {
34228 return J.get$isEmpty$asx(this.get$_base());
34229 },
34230 get$isNotEmpty(_) {
34231 return J.get$isNotEmpty$asx(this.get$_base());
34232 },
34233 get$iterator(_) {
34234 return J.get$iterator$ax(this.get$_base());
34235 },
34236 join$1(_, separator) {
34237 return J.join$1$ax(this.get$_base(), separator);
34238 },
34239 join$0($receiver) {
34240 return this.join$1($receiver, "");
34241 },
34242 get$last(_) {
34243 return J.get$last$ax(this.get$_base());
34244 },
34245 get$length(_) {
34246 return J.get$length$asx(this.get$_base());
34247 },
34248 map$1$1(_, f, $T) {
34249 return J.map$1$1$ax(this.get$_base(), f, $T);
34250 },
34251 get$single(_) {
34252 return J.get$single$ax(this.get$_base());
34253 },
34254 skip$1(_, n) {
34255 return J.skip$1$ax(this.get$_base(), n);
34256 },
34257 take$1(_, n) {
34258 return J.take$1$ax(this.get$_base(), n);
34259 },
34260 toList$1$growable(_, growable) {
34261 return J.toList$1$growable$ax(this.get$_base(), true);
34262 },
34263 toList$0($receiver) {
34264 return this.toList$1$growable($receiver, true);
34265 },
34266 toSet$0(_) {
34267 return J.toSet$0$ax(this.get$_base());
34268 },
34269 where$1(_, test) {
34270 return J.where$1$ax(this.get$_base(), test);
34271 },
34272 toString$0(_) {
34273 return J.toString$0$(this.get$_base());
34274 },
34275 $isIterable: 1
34276 };
34277 A.DelegatingSet.prototype = {
34278 add$1(_, value) {
34279 return this._base.add$1(0, value);
34280 },
34281 addAll$1(_, elements) {
34282 this._base.addAll$1(0, elements);
34283 },
34284 toSet$0(_) {
34285 return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
34286 },
34287 $isEfficientLengthIterable: 1,
34288 $isSet: 1,
34289 get$_base() {
34290 return this._base;
34291 }
34292 };
34293 A.MapKeySet.prototype = {
34294 get$_base() {
34295 var t1 = this._baseMap;
34296 return t1.get$keys(t1);
34297 },
34298 contains$1(_, element) {
34299 return this._baseMap.containsKey$1(element);
34300 },
34301 get$isEmpty(_) {
34302 var t1 = this._baseMap;
34303 return t1.get$isEmpty(t1);
34304 },
34305 get$isNotEmpty(_) {
34306 var t1 = this._baseMap;
34307 return t1.get$isNotEmpty(t1);
34308 },
34309 get$length(_) {
34310 var t1 = this._baseMap;
34311 return t1.get$length(t1);
34312 },
34313 toString$0(_) {
34314 return A.IterableBase_iterableToFullString(this, "{", "}");
34315 },
34316 difference$1(other) {
34317 return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
34318 },
34319 $isEfficientLengthIterable: 1,
34320 $isSet: 1
34321 };
34322 A.MapKeySet_difference_closure.prototype = {
34323 call$1(element) {
34324 return !this.other._source.contains$1(0, element);
34325 },
34326 $signature() {
34327 return this.$this.$ti._eval$1("bool(1)");
34328 }
34329 };
34330 A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
34331 A.BufferModule.prototype = {};
34332 A.BufferConstants.prototype = {};
34333 A.Buffer.prototype = {};
34334 A.ConsoleModule.prototype = {};
34335 A.Console.prototype = {};
34336 A.EventEmitter.prototype = {};
34337 A.FS.prototype = {};
34338 A.FSConstants.prototype = {};
34339 A.FSWatcher.prototype = {};
34340 A.ReadStream.prototype = {};
34341 A.ReadStreamOptions.prototype = {};
34342 A.WriteStream.prototype = {};
34343 A.WriteStreamOptions.prototype = {};
34344 A.FileOptions.prototype = {};
34345 A.StatOptions.prototype = {};
34346 A.MkdirOptions.prototype = {};
34347 A.RmdirOptions.prototype = {};
34348 A.WatchOptions.prototype = {};
34349 A.WatchFileOptions.prototype = {};
34350 A.Stats.prototype = {};
34351 A.Promise.prototype = {};
34352 A.Date.prototype = {};
34353 A.JsError.prototype = {};
34354 A.Atomics.prototype = {};
34355 A.Modules.prototype = {};
34356 A.Module1.prototype = {};
34357 A.Net.prototype = {};
34358 A.Socket.prototype = {};
34359 A.NetAddress.prototype = {};
34360 A.NetServer.prototype = {};
34361 A.NodeJsError.prototype = {};
34362 A.JsAssertionError.prototype = {};
34363 A.JsRangeError.prototype = {};
34364 A.JsReferenceError.prototype = {};
34365 A.JsSyntaxError.prototype = {};
34366 A.JsTypeError.prototype = {};
34367 A.JsSystemError.prototype = {};
34368 A.Process.prototype = {};
34369 A.CPUUsage.prototype = {};
34370 A.Release.prototype = {};
34371 A.StreamModule.prototype = {};
34372 A.Readable.prototype = {};
34373 A.Writable.prototype = {};
34374 A.Duplex.prototype = {};
34375 A.Transform.prototype = {};
34376 A.WritableOptions.prototype = {};
34377 A.ReadableOptions.prototype = {};
34378 A.Immediate.prototype = {};
34379 A.Timeout.prototype = {};
34380 A.TTY.prototype = {};
34381 A.TTYReadStream.prototype = {};
34382 A.TTYWriteStream.prototype = {};
34383 A.Util.prototype = {};
34384 A.promiseToFuture_closure.prototype = {
34385 call$1(value) {
34386 this.completer.complete$1(value);
34387 },
34388 $signature: 66
34389 };
34390 A.promiseToFuture_closure0.prototype = {
34391 call$1(error) {
34392 this.completer.completeError$1(error);
34393 },
34394 $signature: 66
34395 };
34396 A.futureToPromise_closure.prototype = {
34397 call$2(resolve, reject) {
34398 this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
34399 },
34400 $signature: 295
34401 };
34402 A.futureToPromise__closure.prototype = {
34403 call$1(result) {
34404 return this.resolve.call$1(result);
34405 },
34406 $signature() {
34407 return this.T._eval$1("@(0)");
34408 }
34409 };
34410 A.Context.prototype = {
34411 absolute$7(part1, part2, part3, part4, part5, part6, part7) {
34412 var t1;
34413 A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7], type$.JSArray_nullable_String));
34414 if (part2 == null) {
34415 t1 = this.style;
34416 t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
34417 } else
34418 t1 = false;
34419 if (t1)
34420 return part1;
34421 t1 = this._context$_current;
34422 return this.join$8(0, t1 == null ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7);
34423 },
34424 absolute$1(part1) {
34425 return this.absolute$7(part1, null, null, null, null, null, null);
34426 },
34427 dirname$1(path) {
34428 var t1, t2,
34429 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34430 parsed.removeTrailingSeparators$0();
34431 t1 = parsed.parts;
34432 t2 = t1.length;
34433 if (t2 === 0) {
34434 t1 = parsed.root;
34435 return t1 == null ? "." : t1;
34436 }
34437 if (t2 === 1) {
34438 t1 = parsed.root;
34439 return t1 == null ? "." : t1;
34440 }
34441 B.JSArray_methods.removeLast$0(t1);
34442 parsed.separators.pop();
34443 parsed.removeTrailingSeparators$0();
34444 return parsed.toString$0(0);
34445 },
34446 join$8(_, part1, part2, part3, part4, part5, part6, part7, part8) {
34447 var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8], type$.JSArray_nullable_String);
34448 A._validateArgList("join", parts);
34449 return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
34450 },
34451 join$2($receiver, part1, part2) {
34452 return this.join$8($receiver, part1, part2, null, null, null, null, null, null);
34453 },
34454 joinAll$1(parts) {
34455 var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
34456 for (t1 = parts.get$iterator(parts), t2 = new A.WhereIterator(t1, new A.Context_joinAll_closure()), t3 = this.style, needsSeparator = false, isAbsoluteAndNotRootRelative = false, t4 = ""; t2.moveNext$0();) {
34457 t5 = t1.get$current(t1);
34458 if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
34459 parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
34460 path = t4.charCodeAt(0) == 0 ? t4 : t4;
34461 t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
34462 parsed.root = t4;
34463 if (t3.needsSeparator$1(t4))
34464 parsed.separators[0] = t3.get$separator(t3);
34465 t4 = "" + parsed.toString$0(0);
34466 } else if (t3.rootLength$1(t5) > 0) {
34467 isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
34468 t4 = "" + t5;
34469 } else {
34470 if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
34471 if (needsSeparator)
34472 t4 += t3.get$separator(t3);
34473 t4 += t5;
34474 }
34475 needsSeparator = t3.needsSeparator$1(t5);
34476 }
34477 return t4.charCodeAt(0) == 0 ? t4 : t4;
34478 },
34479 split$1(_, path) {
34480 var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
34481 t1 = parsed.parts,
34482 t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
34483 t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
34484 parsed.parts = t2;
34485 t1 = parsed.root;
34486 if (t1 != null)
34487 B.JSArray_methods.insert$2(t2, 0, t1);
34488 return parsed.parts;
34489 },
34490 canonicalize$1(_, path) {
34491 var t1, parsed;
34492 path = this.absolute$1(path);
34493 t1 = this.style;
34494 if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
34495 return path;
34496 parsed = A.ParsedPath_ParsedPath$parse(path, t1);
34497 parsed.normalize$1$canonicalize(true);
34498 return parsed.toString$0(0);
34499 },
34500 normalize$1(path) {
34501 var parsed;
34502 if (!this._needsNormalization$1(path))
34503 return path;
34504 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34505 parsed.normalize$0();
34506 return parsed.toString$0(0);
34507 },
34508 _needsNormalization$1(path) {
34509 var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
34510 t1 = this.style,
34511 root = t1.rootLength$1(path);
34512 if (root !== 0) {
34513 if (t1 === $.$get$Style_windows())
34514 for (i = 0; i < root; ++i)
34515 if (B.JSString_methods._codeUnitAt$1(path, i) === 47)
34516 return true;
34517 start = root;
34518 previous = 47;
34519 } else {
34520 start = 0;
34521 previous = null;
34522 }
34523 for (t2 = new A.CodeUnits(path)._string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
34524 codeUnit = B.JSString_methods.codeUnitAt$1(t2, i);
34525 if (t1.isSeparator$1(codeUnit)) {
34526 if (t1 === $.$get$Style_windows() && codeUnit === 47)
34527 return true;
34528 if (previous != null && t1.isSeparator$1(previous))
34529 return true;
34530 if (previous === 46)
34531 t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
34532 else
34533 t4 = false;
34534 if (t4)
34535 return true;
34536 }
34537 }
34538 if (previous == null)
34539 return true;
34540 if (t1.isSeparator$1(previous))
34541 return true;
34542 if (previous === 46)
34543 t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
34544 else
34545 t1 = false;
34546 if (t1)
34547 return true;
34548 return false;
34549 },
34550 relative$2$from(path, from) {
34551 var fromParsed, pathParsed, t2, t3, _this = this,
34552 _s26_ = 'Unable to find a path to "',
34553 t1 = from == null;
34554 if (t1 && _this.style.rootLength$1(path) <= 0)
34555 return _this.normalize$1(path);
34556 if (t1) {
34557 t1 = _this._context$_current;
34558 from = t1 == null ? A.current() : t1;
34559 } else
34560 from = _this.absolute$1(from);
34561 t1 = _this.style;
34562 if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
34563 return _this.normalize$1(path);
34564 if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
34565 path = _this.absolute$1(path);
34566 if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
34567 throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
34568 fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
34569 fromParsed.normalize$0();
34570 pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
34571 pathParsed.normalize$0();
34572 t2 = fromParsed.parts;
34573 if (t2.length !== 0 && J.$eq$(t2[0], "."))
34574 return pathParsed.toString$0(0);
34575 t2 = fromParsed.root;
34576 t3 = pathParsed.root;
34577 if (t2 != t3)
34578 t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
34579 else
34580 t2 = false;
34581 if (t2)
34582 return pathParsed.toString$0(0);
34583 while (true) {
34584 t2 = fromParsed.parts;
34585 if (t2.length !== 0) {
34586 t3 = pathParsed.parts;
34587 t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
34588 } else
34589 t2 = false;
34590 if (!t2)
34591 break;
34592 B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
34593 B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
34594 B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
34595 B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
34596 }
34597 t2 = fromParsed.parts;
34598 if (t2.length !== 0 && J.$eq$(t2[0], ".."))
34599 throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
34600 t2 = type$.String;
34601 B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2));
34602 t3 = pathParsed.separators;
34603 t3[0] = "";
34604 B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
34605 t1 = pathParsed.parts;
34606 t2 = t1.length;
34607 if (t2 === 0)
34608 return ".";
34609 if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
34610 B.JSArray_methods.removeLast$0(pathParsed.parts);
34611 t1 = pathParsed.separators;
34612 t1.pop();
34613 t1.pop();
34614 t1.push("");
34615 }
34616 pathParsed.root = "";
34617 pathParsed.removeTrailingSeparators$0();
34618 return pathParsed.toString$0(0);
34619 },
34620 relative$1(path) {
34621 return this.relative$2$from(path, null);
34622 },
34623 _isWithinOrEquals$2($parent, child) {
34624 var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
34625 $parent = $parent;
34626 child = child;
34627 t1 = _this.style;
34628 parentIsAbsolute = t1.rootLength$1($parent) > 0;
34629 childIsAbsolute = t1.rootLength$1(child) > 0;
34630 if (parentIsAbsolute && !childIsAbsolute) {
34631 child = _this.absolute$1(child);
34632 if (t1.isRootRelative$1($parent))
34633 $parent = _this.absolute$1($parent);
34634 } else if (childIsAbsolute && !parentIsAbsolute) {
34635 $parent = _this.absolute$1($parent);
34636 if (t1.isRootRelative$1(child))
34637 child = _this.absolute$1(child);
34638 } else if (childIsAbsolute && parentIsAbsolute) {
34639 childIsRootRelative = t1.isRootRelative$1(child);
34640 parentIsRootRelative = t1.isRootRelative$1($parent);
34641 if (childIsRootRelative && !parentIsRootRelative)
34642 child = _this.absolute$1(child);
34643 else if (parentIsRootRelative && !childIsRootRelative)
34644 $parent = _this.absolute$1($parent);
34645 }
34646 result = _this._isWithinOrEqualsFast$2($parent, child);
34647 if (result !== B._PathRelation_inconclusive)
34648 return result;
34649 relative = null;
34650 try {
34651 relative = _this.relative$2$from(child, $parent);
34652 } catch (exception) {
34653 if (A.unwrapException(exception) instanceof A.PathException)
34654 return B._PathRelation_different;
34655 else
34656 throw exception;
34657 }
34658 if (t1.rootLength$1(relative) > 0)
34659 return B._PathRelation_different;
34660 if (J.$eq$(relative, "."))
34661 return B._PathRelation_equal;
34662 if (J.$eq$(relative, ".."))
34663 return B._PathRelation_different;
34664 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;
34665 },
34666 _isWithinOrEqualsFast$2($parent, child) {
34667 var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
34668 if ($parent === ".")
34669 $parent = "";
34670 t1 = _this.style;
34671 parentRootLength = t1.rootLength$1($parent);
34672 childRootLength = t1.rootLength$1(child);
34673 if (parentRootLength !== childRootLength)
34674 return B._PathRelation_different;
34675 for (i = 0; i < parentRootLength; ++i)
34676 if (!t1.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1($parent, i), B.JSString_methods._codeUnitAt$1(child, i)))
34677 return B._PathRelation_different;
34678 t2 = child.length;
34679 t3 = $parent.length;
34680 childIndex = childRootLength;
34681 parentIndex = parentRootLength;
34682 lastCodeUnit = 47;
34683 lastParentSeparator = null;
34684 while (true) {
34685 if (!(parentIndex < t3 && childIndex < t2))
34686 break;
34687 c$0: {
34688 parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
34689 childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
34690 if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
34691 if (t1.isSeparator$1(parentCodeUnit))
34692 lastParentSeparator = parentIndex;
34693 ++parentIndex;
34694 ++childIndex;
34695 lastCodeUnit = parentCodeUnit;
34696 break c$0;
34697 }
34698 if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
34699 parentIndex0 = parentIndex + 1;
34700 lastParentSeparator = parentIndex;
34701 parentIndex = parentIndex0;
34702 break c$0;
34703 } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
34704 ++childIndex;
34705 break c$0;
34706 }
34707 if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
34708 ++parentIndex;
34709 if (parentIndex === t3)
34710 break;
34711 parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
34712 if (t1.isSeparator$1(parentCodeUnit)) {
34713 parentIndex0 = parentIndex + 1;
34714 lastParentSeparator = parentIndex;
34715 parentIndex = parentIndex0;
34716 break c$0;
34717 }
34718 if (parentCodeUnit === 46) {
34719 ++parentIndex;
34720 if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
34721 return B._PathRelation_inconclusive;
34722 }
34723 }
34724 if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
34725 ++childIndex;
34726 if (childIndex === t2)
34727 break;
34728 childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
34729 if (t1.isSeparator$1(childCodeUnit)) {
34730 ++childIndex;
34731 break c$0;
34732 }
34733 if (childCodeUnit === 46) {
34734 ++childIndex;
34735 if (childIndex === t2 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)))
34736 return B._PathRelation_inconclusive;
34737 }
34738 }
34739 if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_988)
34740 return B._PathRelation_inconclusive;
34741 if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_988)
34742 return B._PathRelation_inconclusive;
34743 return B._PathRelation_different;
34744 }
34745 }
34746 if (childIndex === t2) {
34747 if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
34748 lastParentSeparator = parentIndex;
34749 else if (lastParentSeparator == null)
34750 lastParentSeparator = Math.max(0, parentRootLength - 1);
34751 direction = _this._pathDirection$2($parent, lastParentSeparator);
34752 if (direction === B._PathDirection_8Gl)
34753 return B._PathRelation_equal;
34754 return direction === B._PathDirection_ZGD ? B._PathRelation_inconclusive : B._PathRelation_different;
34755 }
34756 direction = _this._pathDirection$2(child, childIndex);
34757 if (direction === B._PathDirection_8Gl)
34758 return B._PathRelation_equal;
34759 if (direction === B._PathDirection_ZGD)
34760 return B._PathRelation_inconclusive;
34761 return t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
34762 },
34763 _pathDirection$2(path, index) {
34764 var t1, t2, i, depth, reachedRoot, i0, t3;
34765 for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
34766 while (true) {
34767 if (!(i < t1 && t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i))))
34768 break;
34769 ++i;
34770 }
34771 if (i === t1)
34772 break;
34773 i0 = i;
34774 while (true) {
34775 if (!(i0 < t1 && !t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i0))))
34776 break;
34777 ++i0;
34778 }
34779 t3 = i0 - i;
34780 if (!(t3 === 1 && B.JSString_methods.codeUnitAt$1(path, i) === 46))
34781 if (t3 === 2 && B.JSString_methods.codeUnitAt$1(path, i) === 46 && B.JSString_methods.codeUnitAt$1(path, i + 1) === 46) {
34782 --depth;
34783 if (depth < 0)
34784 break;
34785 if (depth === 0)
34786 reachedRoot = true;
34787 } else
34788 ++depth;
34789 if (i0 === t1)
34790 break;
34791 i = i0 + 1;
34792 }
34793 if (depth < 0)
34794 return B._PathDirection_ZGD;
34795 if (depth === 0)
34796 return B._PathDirection_8Gl;
34797 if (reachedRoot)
34798 return B._PathDirection_FIw;
34799 return B._PathDirection_988;
34800 },
34801 hash$1(path) {
34802 var result, parsed, t1, _this = this;
34803 path = _this.absolute$1(path);
34804 result = _this._hashFast$1(path);
34805 if (result != null)
34806 return result;
34807 parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
34808 parsed.normalize$0();
34809 t1 = _this._hashFast$1(parsed.toString$0(0));
34810 t1.toString;
34811 return t1;
34812 },
34813 _hashFast$1(path) {
34814 var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
34815 for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
34816 codeUnit = t2.canonicalizeCodeUnit$1(B.JSString_methods._codeUnitAt$1(path, i));
34817 if (t2.isSeparator$1(codeUnit)) {
34818 wasSeparator = true;
34819 continue;
34820 }
34821 if (codeUnit === 46 && wasSeparator) {
34822 t3 = i + 1;
34823 if (t3 === t1)
34824 break;
34825 next = B.JSString_methods._codeUnitAt$1(path, t3);
34826 if (t2.isSeparator$1(next))
34827 continue;
34828 if (!beginning)
34829 if (next === 46) {
34830 t3 = i + 2;
34831 t3 = t3 === t1 || t2.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, t3));
34832 } else
34833 t3 = false;
34834 else
34835 t3 = false;
34836 if (t3)
34837 return null;
34838 }
34839 hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
34840 beginning = false;
34841 wasSeparator = false;
34842 }
34843 return hash;
34844 },
34845 withoutExtension$1(path) {
34846 var i,
34847 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34848 for (i = parsed.parts.length - 1; i >= 0; --i)
34849 if (J.get$length$asx(parsed.parts[i]) !== 0) {
34850 parsed.parts[i] = parsed._splitExtension$0()[0];
34851 break;
34852 }
34853 return parsed.toString$0(0);
34854 },
34855 toUri$1(path) {
34856 var t2,
34857 t1 = this.style;
34858 if (t1.rootLength$1(path) <= 0)
34859 return t1.relativePathToUri$1(path);
34860 else {
34861 t2 = this._context$_current;
34862 return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
34863 }
34864 },
34865 prettyUri$1(uri) {
34866 var path, rel, _this = this,
34867 typedUri = A._parseUri(uri);
34868 if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
34869 return typedUri.toString$0(0);
34870 else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
34871 return typedUri.toString$0(0);
34872 path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
34873 rel = _this.relative$1(path);
34874 return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
34875 }
34876 };
34877 A.Context_joinAll_closure.prototype = {
34878 call$1(part) {
34879 return part !== "";
34880 },
34881 $signature: 6
34882 };
34883 A.Context_split_closure.prototype = {
34884 call$1(part) {
34885 return part.length !== 0;
34886 },
34887 $signature: 6
34888 };
34889 A._validateArgList_closure.prototype = {
34890 call$1(arg) {
34891 return arg == null ? "null" : '"' + arg + '"';
34892 },
34893 $signature: 302
34894 };
34895 A._PathDirection.prototype = {
34896 toString$0(_) {
34897 return this.name;
34898 }
34899 };
34900 A._PathRelation.prototype = {
34901 toString$0(_) {
34902 return this.name;
34903 }
34904 };
34905 A.InternalStyle.prototype = {
34906 getRoot$1(path) {
34907 var $length = this.rootLength$1(path);
34908 if ($length > 0)
34909 return B.JSString_methods.substring$2(path, 0, $length);
34910 return this.isRootRelative$1(path) ? path[0] : null;
34911 },
34912 relativePathToUri$1(path) {
34913 var segments, _null = null,
34914 t1 = path.length;
34915 if (t1 === 0)
34916 return A._Uri__Uri(_null, _null, _null, _null);
34917 segments = A.Context_Context(this).split$1(0, path);
34918 if (this.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, t1 - 1)))
34919 B.JSArray_methods.add$1(segments, "");
34920 return A._Uri__Uri(_null, _null, segments, _null);
34921 },
34922 codeUnitsEqual$2(codeUnit1, codeUnit2) {
34923 return codeUnit1 === codeUnit2;
34924 },
34925 pathsEqual$2(path1, path2) {
34926 return path1 === path2;
34927 },
34928 canonicalizeCodeUnit$1(codeUnit) {
34929 return codeUnit;
34930 },
34931 canonicalizePart$1(part) {
34932 return part;
34933 }
34934 };
34935 A.ParsedPath.prototype = {
34936 get$basename() {
34937 var _this = this,
34938 t1 = type$.String,
34939 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));
34940 copy.removeTrailingSeparators$0();
34941 t1 = copy.parts;
34942 if (t1.length === 0) {
34943 t1 = _this.root;
34944 return t1 == null ? "" : t1;
34945 }
34946 return B.JSArray_methods.get$last(t1);
34947 },
34948 get$hasTrailingSeparator() {
34949 var t1 = this.parts;
34950 if (t1.length !== 0)
34951 t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
34952 else
34953 t1 = false;
34954 return t1;
34955 },
34956 removeTrailingSeparators$0() {
34957 var t1, t2, _this = this;
34958 while (true) {
34959 t1 = _this.parts;
34960 if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
34961 break;
34962 B.JSArray_methods.removeLast$0(_this.parts);
34963 _this.separators.pop();
34964 }
34965 t1 = _this.separators;
34966 t2 = t1.length;
34967 if (t2 !== 0)
34968 t1[t2 - 1] = "";
34969 },
34970 normalize$1$canonicalize(canonicalize) {
34971 var t1, t2, t3, leadingDoubles, _i, part, t4, _this = this,
34972 newParts = A._setArrayType([], type$.JSArray_String);
34973 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) {
34974 part = t1[_i];
34975 t4 = J.getInterceptor$(part);
34976 if (!(t4.$eq(part, ".") || t4.$eq(part, "")))
34977 if (t4.$eq(part, ".."))
34978 if (newParts.length !== 0)
34979 newParts.pop();
34980 else
34981 ++leadingDoubles;
34982 else
34983 newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
34984 }
34985 if (_this.root == null)
34986 B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
34987 if (newParts.length === 0 && _this.root == null)
34988 newParts.push(".");
34989 _this.parts = newParts;
34990 _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
34991 t1 = _this.root;
34992 if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
34993 _this.separators[0] = "";
34994 t1 = _this.root;
34995 if (t1 != null && t3 === $.$get$Style_windows()) {
34996 if (canonicalize)
34997 t1 = _this.root = t1.toLowerCase();
34998 t1.toString;
34999 _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
35000 }
35001 _this.removeTrailingSeparators$0();
35002 },
35003 normalize$0() {
35004 return this.normalize$1$canonicalize(false);
35005 },
35006 toString$0(_) {
35007 var i, _this = this,
35008 t1 = _this.root;
35009 t1 = t1 != null ? "" + t1 : "";
35010 for (i = 0; i < _this.parts.length; ++i)
35011 t1 = t1 + A.S(_this.separators[i]) + A.S(_this.parts[i]);
35012 t1 += A.S(B.JSArray_methods.get$last(_this.separators));
35013 return t1.charCodeAt(0) == 0 ? t1 : t1;
35014 },
35015 _kthLastIndexOf$3(path, character, k) {
35016 var index, count, leftMostIndexedCharacter;
35017 for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
35018 if (path[index] === character) {
35019 ++count;
35020 if (count === k)
35021 return index;
35022 leftMostIndexedCharacter = index;
35023 }
35024 return leftMostIndexedCharacter;
35025 },
35026 _splitExtension$1(level) {
35027 var t1, file, lastDot;
35028 if (level <= 0)
35029 throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
35030 t1 = this.parts;
35031 t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
35032 file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
35033 if (file == null)
35034 return A._setArrayType(["", ""], type$.JSArray_String);
35035 if (file === "..")
35036 return A._setArrayType(["..", ""], type$.JSArray_String);
35037 lastDot = this._kthLastIndexOf$3(file, ".", level);
35038 if (lastDot <= 0)
35039 return A._setArrayType([file, ""], type$.JSArray_String);
35040 return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
35041 },
35042 _splitExtension$0() {
35043 return this._splitExtension$1(1);
35044 }
35045 };
35046 A.ParsedPath__splitExtension_closure.prototype = {
35047 call$1(p) {
35048 return p !== "";
35049 },
35050 $signature: 223
35051 };
35052 A.ParsedPath__splitExtension_closure0.prototype = {
35053 call$0() {
35054 return null;
35055 },
35056 $signature: 1
35057 };
35058 A.PathException.prototype = {
35059 toString$0(_) {
35060 return "PathException: " + this.message;
35061 },
35062 $isException: 1,
35063 get$message(receiver) {
35064 return this.message;
35065 }
35066 };
35067 A.PathMap.prototype = {};
35068 A.PathMap__create_closure.prototype = {
35069 call$2(path1, path2) {
35070 if (path1 == null)
35071 return path2 == null;
35072 if (path2 == null)
35073 return false;
35074 return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
35075 },
35076 $signature: 306
35077 };
35078 A.PathMap__create_closure0.prototype = {
35079 call$1(path) {
35080 return path == null ? 0 : this._box_0.context.hash$1(path);
35081 },
35082 $signature: 318
35083 };
35084 A.PathMap__create_closure1.prototype = {
35085 call$1(path) {
35086 return typeof path == "string" || path == null;
35087 },
35088 $signature: 118
35089 };
35090 A.Style.prototype = {
35091 toString$0(_) {
35092 return this.get$name(this);
35093 }
35094 };
35095 A.PosixStyle.prototype = {
35096 containsSeparator$1(path) {
35097 return B.JSString_methods.contains$1(path, "/");
35098 },
35099 isSeparator$1(codeUnit) {
35100 return codeUnit === 47;
35101 },
35102 needsSeparator$1(path) {
35103 var t1 = path.length;
35104 return t1 !== 0 && B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47;
35105 },
35106 rootLength$2$withDrive(path, withDrive) {
35107 if (path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47)
35108 return 1;
35109 return 0;
35110 },
35111 rootLength$1(path) {
35112 return this.rootLength$2$withDrive(path, false);
35113 },
35114 isRootRelative$1(path) {
35115 return false;
35116 },
35117 pathFromUri$1(uri) {
35118 var t1;
35119 if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
35120 t1 = uri.get$path(uri);
35121 return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
35122 }
35123 throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
35124 },
35125 absolutePathToUri$1(path) {
35126 var parsed = A.ParsedPath_ParsedPath$parse(path, this),
35127 t1 = parsed.parts;
35128 if (t1.length === 0)
35129 B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
35130 else if (parsed.get$hasTrailingSeparator())
35131 B.JSArray_methods.add$1(parsed.parts, "");
35132 return A._Uri__Uri(null, null, parsed.parts, "file");
35133 },
35134 get$name() {
35135 return "posix";
35136 },
35137 get$separator() {
35138 return "/";
35139 }
35140 };
35141 A.UrlStyle.prototype = {
35142 containsSeparator$1(path) {
35143 return B.JSString_methods.contains$1(path, "/");
35144 },
35145 isSeparator$1(codeUnit) {
35146 return codeUnit === 47;
35147 },
35148 needsSeparator$1(path) {
35149 var t1 = path.length;
35150 if (t1 === 0)
35151 return false;
35152 if (B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47)
35153 return true;
35154 return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
35155 },
35156 rootLength$2$withDrive(path, withDrive) {
35157 var i, codeUnit, index, t2,
35158 t1 = path.length;
35159 if (t1 === 0)
35160 return 0;
35161 if (B.JSString_methods._codeUnitAt$1(path, 0) === 47)
35162 return 1;
35163 for (i = 0; i < t1; ++i) {
35164 codeUnit = B.JSString_methods._codeUnitAt$1(path, i);
35165 if (codeUnit === 47)
35166 return 0;
35167 if (codeUnit === 58) {
35168 if (i === 0)
35169 return 0;
35170 index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
35171 if (index <= 0)
35172 return t1;
35173 if (!withDrive || t1 < index + 3)
35174 return index;
35175 if (!B.JSString_methods.startsWith$1(path, "file://"))
35176 return index;
35177 if (!A.isDriveLetter(path, index + 1))
35178 return index;
35179 t2 = index + 3;
35180 return t1 === t2 ? t2 : index + 4;
35181 }
35182 }
35183 return 0;
35184 },
35185 rootLength$1(path) {
35186 return this.rootLength$2$withDrive(path, false);
35187 },
35188 isRootRelative$1(path) {
35189 return path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47;
35190 },
35191 pathFromUri$1(uri) {
35192 return uri.toString$0(0);
35193 },
35194 relativePathToUri$1(path) {
35195 return A.Uri_parse(path);
35196 },
35197 absolutePathToUri$1(path) {
35198 return A.Uri_parse(path);
35199 },
35200 get$name() {
35201 return "url";
35202 },
35203 get$separator() {
35204 return "/";
35205 }
35206 };
35207 A.WindowsStyle.prototype = {
35208 containsSeparator$1(path) {
35209 return B.JSString_methods.contains$1(path, "/");
35210 },
35211 isSeparator$1(codeUnit) {
35212 return codeUnit === 47 || codeUnit === 92;
35213 },
35214 needsSeparator$1(path) {
35215 var t1 = path.length;
35216 if (t1 === 0)
35217 return false;
35218 t1 = B.JSString_methods.codeUnitAt$1(path, t1 - 1);
35219 return !(t1 === 47 || t1 === 92);
35220 },
35221 rootLength$2$withDrive(path, withDrive) {
35222 var t2, index,
35223 t1 = path.length;
35224 if (t1 === 0)
35225 return 0;
35226 t2 = B.JSString_methods._codeUnitAt$1(path, 0);
35227 if (t2 === 47)
35228 return 1;
35229 if (t2 === 92) {
35230 if (t1 < 2 || B.JSString_methods._codeUnitAt$1(path, 1) !== 92)
35231 return 1;
35232 index = B.JSString_methods.indexOf$2(path, "\\", 2);
35233 if (index > 0) {
35234 index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
35235 if (index > 0)
35236 return index;
35237 }
35238 return t1;
35239 }
35240 if (t1 < 3)
35241 return 0;
35242 if (!A.isAlphabetic(t2))
35243 return 0;
35244 if (B.JSString_methods._codeUnitAt$1(path, 1) !== 58)
35245 return 0;
35246 t1 = B.JSString_methods._codeUnitAt$1(path, 2);
35247 if (!(t1 === 47 || t1 === 92))
35248 return 0;
35249 return 3;
35250 },
35251 rootLength$1(path) {
35252 return this.rootLength$2$withDrive(path, false);
35253 },
35254 isRootRelative$1(path) {
35255 return this.rootLength$1(path) === 1;
35256 },
35257 pathFromUri$1(uri) {
35258 var path, t1;
35259 if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
35260 throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
35261 path = uri.get$path(uri);
35262 if (uri.get$host() === "") {
35263 if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.isDriveLetter(path, 1))
35264 path = B.JSString_methods.replaceFirst$2(path, "/", "");
35265 } else
35266 path = "\\\\" + uri.get$host() + path;
35267 t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
35268 return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
35269 },
35270 absolutePathToUri$1(path) {
35271 var rootParts, t2,
35272 parsed = A.ParsedPath_ParsedPath$parse(path, this),
35273 t1 = parsed.root;
35274 t1.toString;
35275 if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
35276 rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
35277 B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts));
35278 if (parsed.get$hasTrailingSeparator())
35279 B.JSArray_methods.add$1(parsed.parts, "");
35280 return A._Uri__Uri(rootParts.get$first(rootParts), null, parsed.parts, "file");
35281 } else {
35282 if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
35283 B.JSArray_methods.add$1(parsed.parts, "");
35284 t1 = parsed.parts;
35285 t2 = parsed.root;
35286 t2.toString;
35287 t2 = A.stringReplaceAllUnchecked(t2, "/", "");
35288 B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
35289 return A._Uri__Uri(null, null, parsed.parts, "file");
35290 }
35291 },
35292 codeUnitsEqual$2(codeUnit1, codeUnit2) {
35293 var upperCase1;
35294 if (codeUnit1 === codeUnit2)
35295 return true;
35296 if (codeUnit1 === 47)
35297 return codeUnit2 === 92;
35298 if (codeUnit1 === 92)
35299 return codeUnit2 === 47;
35300 if ((codeUnit1 ^ codeUnit2) !== 32)
35301 return false;
35302 upperCase1 = codeUnit1 | 32;
35303 return upperCase1 >= 97 && upperCase1 <= 122;
35304 },
35305 pathsEqual$2(path1, path2) {
35306 var t1, i;
35307 if (path1 === path2)
35308 return true;
35309 t1 = path1.length;
35310 if (t1 !== path2.length)
35311 return false;
35312 for (i = 0; i < t1; ++i)
35313 if (!this.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1(path1, i), B.JSString_methods._codeUnitAt$1(path2, i)))
35314 return false;
35315 return true;
35316 },
35317 canonicalizeCodeUnit$1(codeUnit) {
35318 if (codeUnit === 47)
35319 return 92;
35320 if (codeUnit < 65)
35321 return codeUnit;
35322 if (codeUnit > 90)
35323 return codeUnit;
35324 return codeUnit | 32;
35325 },
35326 canonicalizePart$1(part) {
35327 return part.toLowerCase();
35328 },
35329 get$name() {
35330 return "windows";
35331 },
35332 get$separator() {
35333 return "\\";
35334 }
35335 };
35336 A.WindowsStyle_absolutePathToUri_closure.prototype = {
35337 call$1(part) {
35338 return part !== "";
35339 },
35340 $signature: 6
35341 };
35342 A.CssMediaQuery.prototype = {
35343 merge$1(other) {
35344 var t8, negativeFeatures, features, type, modifier, fewerFeatures, fewerFeatures0, moreFeatures, _this = this, _null = null, _s3_ = "all",
35345 t1 = _this.modifier,
35346 ourModifier = t1 == null ? _null : t1.toLowerCase(),
35347 t2 = _this.type,
35348 t3 = t2 == null,
35349 ourType = t3 ? _null : t2.toLowerCase(),
35350 t4 = other.modifier,
35351 theirModifier = t4 == null ? _null : t4.toLowerCase(),
35352 t5 = other.type,
35353 t6 = t5 == null,
35354 theirType = t6 ? _null : t5.toLowerCase(),
35355 t7 = ourType == null;
35356 if (t7 && theirType == null) {
35357 t1 = type$.String;
35358 t2 = A.List_List$of(_this.features, true, t1);
35359 B.JSArray_methods.addAll$1(t2, other.features);
35360 return new A.MediaQuerySuccessfulMergeResult(new A.CssMediaQuery(_null, _null, A.List_List$unmodifiable(t2, t1)));
35361 }
35362 t8 = ourModifier === "not";
35363 if (t8 !== (theirModifier === "not")) {
35364 if (ourType == theirType) {
35365 negativeFeatures = t8 ? _this.features : other.features;
35366 if (B.JSArray_methods.every$1(negativeFeatures, B.JSArray_methods.get$contains(t8 ? other.features : _this.features)))
35367 return B._SingletonCssMediaQueryMergeResult_empty;
35368 else
35369 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35370 } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
35371 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35372 if (t8) {
35373 features = other.features;
35374 type = theirType;
35375 modifier = theirModifier;
35376 } else {
35377 features = _this.features;
35378 type = ourType;
35379 modifier = ourModifier;
35380 }
35381 } else if (t8) {
35382 if (ourType != theirType)
35383 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35384 fewerFeatures = _this.features;
35385 fewerFeatures0 = other.features;
35386 t3 = fewerFeatures.length > fewerFeatures0.length;
35387 moreFeatures = t3 ? fewerFeatures : fewerFeatures0;
35388 if (t3)
35389 fewerFeatures = fewerFeatures0;
35390 if (!B.JSArray_methods.every$1(fewerFeatures, B.JSArray_methods.get$contains(moreFeatures)))
35391 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35392 features = moreFeatures;
35393 type = ourType;
35394 modifier = ourModifier;
35395 } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
35396 type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
35397 t3 = A.List_List$of(_this.features, true, type$.String);
35398 B.JSArray_methods.addAll$1(t3, other.features);
35399 features = t3;
35400 modifier = theirModifier;
35401 } else {
35402 if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
35403 t3 = A.List_List$of(_this.features, true, type$.String);
35404 B.JSArray_methods.addAll$1(t3, other.features);
35405 features = t3;
35406 modifier = ourModifier;
35407 } else {
35408 if (ourType != theirType)
35409 return B._SingletonCssMediaQueryMergeResult_empty;
35410 else {
35411 modifier = ourModifier == null ? theirModifier : ourModifier;
35412 t3 = A.List_List$of(_this.features, true, type$.String);
35413 B.JSArray_methods.addAll$1(t3, other.features);
35414 }
35415 features = t3;
35416 }
35417 type = ourType;
35418 }
35419 t2 = type == ourType ? t2 : t5;
35420 t1 = modifier == ourModifier ? t1 : t4;
35421 t3 = A.List_List$unmodifiable(features, type$.String);
35422 return new A.MediaQuerySuccessfulMergeResult(new A.CssMediaQuery(t1, t2, t3));
35423 },
35424 $eq(_, other) {
35425 if (other == null)
35426 return false;
35427 return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.features, this.features);
35428 },
35429 get$hashCode(_) {
35430 return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.features);
35431 },
35432 toString$0(_) {
35433 var t2, _this = this,
35434 t1 = _this.modifier;
35435 t1 = t1 != null ? "" + (t1 + " ") : "";
35436 t2 = _this.type;
35437 if (t2 != null) {
35438 t1 += t2;
35439 if (_this.features.length !== 0)
35440 t1 += " and ";
35441 }
35442 t1 += B.JSArray_methods.join$1(_this.features, " and ");
35443 return t1.charCodeAt(0) == 0 ? t1 : t1;
35444 }
35445 };
35446 A._SingletonCssMediaQueryMergeResult.prototype = {
35447 toString$0(_) {
35448 return this._media_query$_name;
35449 }
35450 };
35451 A.MediaQuerySuccessfulMergeResult.prototype = {};
35452 A.ModifiableCssAtRule.prototype = {
35453 accept$1$1(visitor) {
35454 return visitor.visitCssAtRule$1(this);
35455 },
35456 accept$1(visitor) {
35457 return this.accept$1$1(visitor, type$.dynamic);
35458 },
35459 copyWithoutChildren$0() {
35460 var _this = this;
35461 return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
35462 },
35463 addChild$1(child) {
35464 this.super$ModifiableCssParentNode$addChild(child);
35465 },
35466 $isCssAtRule: 1,
35467 get$isChildless() {
35468 return this.isChildless;
35469 },
35470 get$span(receiver) {
35471 return this.span;
35472 }
35473 };
35474 A.ModifiableCssComment.prototype = {
35475 accept$1$1(visitor) {
35476 return visitor.visitCssComment$1(this);
35477 },
35478 accept$1(visitor) {
35479 return this.accept$1$1(visitor, type$.dynamic);
35480 },
35481 $isCssComment: 1,
35482 get$span(receiver) {
35483 return this.span;
35484 }
35485 };
35486 A.ModifiableCssDeclaration.prototype = {
35487 accept$1$1(visitor) {
35488 return visitor.visitCssDeclaration$1(this);
35489 },
35490 accept$1(visitor) {
35491 return this.accept$1$1(visitor, type$.dynamic);
35492 },
35493 toString$0(_) {
35494 return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
35495 },
35496 get$span(receiver) {
35497 return this.span;
35498 }
35499 };
35500 A.ModifiableCssImport.prototype = {
35501 accept$1$1(visitor) {
35502 return visitor.visitCssImport$1(this);
35503 },
35504 accept$1(visitor) {
35505 return this.accept$1$1(visitor, type$.dynamic);
35506 },
35507 $isCssImport: 1,
35508 get$span(receiver) {
35509 return this.span;
35510 }
35511 };
35512 A.ModifiableCssKeyframeBlock.prototype = {
35513 accept$1$1(visitor) {
35514 return visitor.visitCssKeyframeBlock$1(this);
35515 },
35516 accept$1(visitor) {
35517 return this.accept$1$1(visitor, type$.dynamic);
35518 },
35519 copyWithoutChildren$0() {
35520 return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
35521 },
35522 get$span(receiver) {
35523 return this.span;
35524 }
35525 };
35526 A.ModifiableCssMediaRule.prototype = {
35527 accept$1$1(visitor) {
35528 return visitor.visitCssMediaRule$1(this);
35529 },
35530 accept$1(visitor) {
35531 return this.accept$1$1(visitor, type$.dynamic);
35532 },
35533 copyWithoutChildren$0() {
35534 return A.ModifiableCssMediaRule$(this.queries, this.span);
35535 },
35536 $isCssMediaRule: 1,
35537 get$span(receiver) {
35538 return this.span;
35539 }
35540 };
35541 A.ModifiableCssNode.prototype = {
35542 get$hasFollowingSibling() {
35543 var siblings, t1, i, t2,
35544 $parent = this._parent;
35545 if ($parent == null)
35546 return false;
35547 siblings = $parent.children;
35548 t1 = this._indexInParent;
35549 t1.toString;
35550 i = t1 + 1;
35551 t1 = siblings._collection$_source;
35552 t2 = J.getInterceptor$asx(t1);
35553 for (; i < t2.get$length(t1); ++i)
35554 if (!this._node$_isInvisible$1(t2.elementAt$1(t1, i)))
35555 return true;
35556 return false;
35557 },
35558 _node$_isInvisible$1(node) {
35559 if (type$.CssParentNode._is(node)) {
35560 if (type$.CssAtRule._is(node))
35561 return false;
35562 if (type$.CssStyleRule._is(node) && node.selector.value.get$isInvisible())
35563 return true;
35564 return J.every$1$ax(node.get$children(node), this.get$_node$_isInvisible());
35565 } else
35566 return false;
35567 },
35568 get$isGroupEnd() {
35569 return this.isGroupEnd;
35570 }
35571 };
35572 A.ModifiableCssParentNode.prototype = {
35573 get$isChildless() {
35574 return false;
35575 },
35576 addChild$1(child) {
35577 var t1;
35578 child._parent = this;
35579 t1 = this._children;
35580 child._indexInParent = t1.length;
35581 t1.push(child);
35582 },
35583 $isCssParentNode: 1,
35584 get$children(receiver) {
35585 return this.children;
35586 }
35587 };
35588 A.ModifiableCssStyleRule.prototype = {
35589 accept$1$1(visitor) {
35590 return visitor.visitCssStyleRule$1(this);
35591 },
35592 accept$1(visitor) {
35593 return this.accept$1$1(visitor, type$.dynamic);
35594 },
35595 copyWithoutChildren$0() {
35596 return A.ModifiableCssStyleRule$(this.selector, this.span, this.originalSelector);
35597 },
35598 $isCssStyleRule: 1,
35599 get$span(receiver) {
35600 return this.span;
35601 }
35602 };
35603 A.ModifiableCssStylesheet.prototype = {
35604 accept$1$1(visitor) {
35605 return visitor.visitCssStylesheet$1(this);
35606 },
35607 accept$1(visitor) {
35608 return this.accept$1$1(visitor, type$.dynamic);
35609 },
35610 copyWithoutChildren$0() {
35611 return A.ModifiableCssStylesheet$(this.span);
35612 },
35613 $isCssStylesheet: 1,
35614 get$span(receiver) {
35615 return this.span;
35616 }
35617 };
35618 A.ModifiableCssSupportsRule.prototype = {
35619 accept$1$1(visitor) {
35620 return visitor.visitCssSupportsRule$1(this);
35621 },
35622 accept$1(visitor) {
35623 return this.accept$1$1(visitor, type$.dynamic);
35624 },
35625 copyWithoutChildren$0() {
35626 return A.ModifiableCssSupportsRule$(this.condition, this.span);
35627 },
35628 $isCssSupportsRule: 1,
35629 get$span(receiver) {
35630 return this.span;
35631 }
35632 };
35633 A.ModifiableCssValue.prototype = {
35634 toString$0(_) {
35635 return A.serializeSelector(this.value, true);
35636 },
35637 $isCssValue: 1,
35638 $isAstNode: 1,
35639 get$value(receiver) {
35640 return this.value;
35641 },
35642 get$span(receiver) {
35643 return this.span;
35644 }
35645 };
35646 A.CssNode.prototype = {
35647 toString$0(_) {
35648 return A.serialize(this, true, null, true, null, false, null, true).css;
35649 }
35650 };
35651 A.CssParentNode.prototype = {};
35652 A.CssStylesheet.prototype = {
35653 get$isGroupEnd() {
35654 return false;
35655 },
35656 get$isChildless() {
35657 return false;
35658 },
35659 accept$1$1(visitor) {
35660 return visitor.visitCssStylesheet$1(this);
35661 },
35662 accept$1(visitor) {
35663 return this.accept$1$1(visitor, type$.dynamic);
35664 },
35665 get$children(receiver) {
35666 return this.children;
35667 },
35668 get$span(receiver) {
35669 return this.span;
35670 }
35671 };
35672 A.CssValue.prototype = {
35673 toString$0(_) {
35674 return J.toString$0$(this.value);
35675 },
35676 $isAstNode: 1,
35677 get$value(receiver) {
35678 return this.value;
35679 },
35680 get$span(receiver) {
35681 return this.span;
35682 }
35683 };
35684 A.AstNode.prototype = {};
35685 A._FakeAstNode.prototype = {
35686 get$span(_) {
35687 return this._callback.call$0();
35688 },
35689 $isAstNode: 1
35690 };
35691 A.Argument.prototype = {
35692 toString$0(_) {
35693 var t1 = this.defaultValue,
35694 t2 = this.name;
35695 return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
35696 },
35697 $isAstNode: 1,
35698 get$span(receiver) {
35699 return this.span;
35700 }
35701 };
35702 A.ArgumentDeclaration.prototype = {
35703 get$spanWithName() {
35704 var t3, t4,
35705 t1 = this.span,
35706 t2 = t1.file,
35707 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
35708 i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
35709 while (true) {
35710 if (i > 0) {
35711 t3 = B.JSString_methods.codeUnitAt$1(text, i);
35712 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
35713 } else
35714 t3 = false;
35715 if (!t3)
35716 break;
35717 --i;
35718 }
35719 t3 = B.JSString_methods.codeUnitAt$1(text, i);
35720 if (!(t3 === 95 || A.isAlphabetic0(t3) || t3 >= 128 || A.isDigit(t3) || t3 === 45))
35721 return t1;
35722 --i;
35723 while (true) {
35724 if (i >= 0) {
35725 t3 = B.JSString_methods.codeUnitAt$1(text, i);
35726 if (t3 !== 95) {
35727 if (!(t3 >= 97 && t3 <= 122))
35728 t4 = t3 >= 65 && t3 <= 90;
35729 else
35730 t4 = true;
35731 t4 = t4 || t3 >= 128;
35732 } else
35733 t4 = true;
35734 if (!t4) {
35735 t4 = t3 >= 48 && t3 <= 57;
35736 t3 = t4 || t3 === 45;
35737 } else
35738 t3 = true;
35739 } else
35740 t3 = false;
35741 if (!t3)
35742 break;
35743 --i;
35744 }
35745 t3 = i + 1;
35746 t4 = B.JSString_methods.codeUnitAt$1(text, t3);
35747 if (!(t4 === 95 || A.isAlphabetic0(t4) || t4 >= 128))
35748 return t1;
35749 return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
35750 },
35751 verify$2(positional, names) {
35752 var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
35753 _s10_ = "invocation",
35754 _s8_ = "argument";
35755 for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
35756 argument = t1[i];
35757 if (i < positional) {
35758 t4 = argument.name;
35759 if (t3.containsKey$1(t4))
35760 throw A.wrapException(A.SassScriptException$("Argument " + _this._originalArgumentName$1(t4) + string$.x20was_p));
35761 } else {
35762 t4 = argument.name;
35763 if (t3.containsKey$1(t4))
35764 ++namedUsed;
35765 else if (argument.defaultValue == null)
35766 throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
35767 }
35768 }
35769 if (_this.restArgument != null)
35770 return;
35771 if (positional > t2) {
35772 t1 = "Only " + t2 + " ";
35773 throw A.wrapException(A.MultiSpanSassScriptException$(t1 + (names.get$isEmpty(names) ? "" : "positional ") + 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)));
35774 }
35775 if (namedUsed < t3.get$length(t3)) {
35776 t2 = type$.String;
35777 unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
35778 unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
35779 throw A.wrapException(A.MultiSpanSassScriptException$("No " + A.pluralize(_s8_, unknownNames._collection$_length, null) + " named " + A.S(A.toSentence(unknownNames.map$1$1(0, new A.ArgumentDeclaration_verify_closure0(), type$.Object), "or")) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, t2)));
35780 }
35781 },
35782 _originalArgumentName$1($name) {
35783 var t1, text, t2, _i, argument, t3, t4, end, _null = null;
35784 if ($name === this.restArgument) {
35785 t1 = this.span;
35786 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
35787 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, "."));
35788 }
35789 for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
35790 argument = t1[_i];
35791 if (argument.name === $name) {
35792 t1 = argument.defaultValue;
35793 t2 = argument.span;
35794 t3 = t2.file;
35795 t4 = t2._file$_start;
35796 t2 = t2._end;
35797 if (t1 == null) {
35798 t1 = t3._decodedChars;
35799 t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
35800 } else {
35801 t1 = t3._decodedChars;
35802 text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
35803 t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
35804 end = A._lastNonWhitespace(t1, false);
35805 t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
35806 }
35807 return t1;
35808 }
35809 }
35810 throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
35811 },
35812 matches$2(positional, names) {
35813 var t1, t2, t3, namedUsed, i, argument;
35814 for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
35815 argument = t1[i];
35816 if (i < positional) {
35817 if (t3.containsKey$1(argument.name))
35818 return false;
35819 } else if (t3.containsKey$1(argument.name))
35820 ++namedUsed;
35821 else if (argument.defaultValue == null)
35822 return false;
35823 }
35824 if (this.restArgument != null)
35825 return true;
35826 if (positional > t2)
35827 return false;
35828 if (namedUsed < t3.get$length(t3))
35829 return false;
35830 return true;
35831 },
35832 toString$0(_) {
35833 var t2, t3, _i, arg, t4, t5,
35834 t1 = A._setArrayType([], type$.JSArray_String);
35835 for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i) {
35836 arg = t2[_i];
35837 t4 = arg.defaultValue;
35838 t5 = arg.name;
35839 t1.push(t4 == null ? t5 : t5 + ": " + t4.toString$0(0));
35840 }
35841 t2 = this.restArgument;
35842 if (t2 != null)
35843 t1.push(t2 + "...");
35844 return B.JSArray_methods.join$1(t1, ", ");
35845 },
35846 $isAstNode: 1,
35847 get$span(receiver) {
35848 return this.span;
35849 }
35850 };
35851 A.ArgumentDeclaration_verify_closure.prototype = {
35852 call$1(argument) {
35853 return argument.name;
35854 },
35855 $signature: 324
35856 };
35857 A.ArgumentDeclaration_verify_closure0.prototype = {
35858 call$1($name) {
35859 return "$" + $name;
35860 },
35861 $signature: 5
35862 };
35863 A.ArgumentInvocation.prototype = {
35864 get$isEmpty(_) {
35865 var t1;
35866 if (this.positional.length === 0) {
35867 t1 = this.named;
35868 t1 = t1.get$isEmpty(t1) && this.rest == null;
35869 } else
35870 t1 = false;
35871 return t1;
35872 },
35873 toString$0(_) {
35874 var t2, t3, t4, _this = this,
35875 t1 = A.List_List$of(_this.positional, true, type$.Object);
35876 for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
35877 t4 = t3.get$current(t3);
35878 t1.push(t4 + ": " + A.S(t2.$index(0, t4)));
35879 }
35880 t2 = _this.rest;
35881 if (t2 != null)
35882 t1.push(t2.toString$0(0) + "...");
35883 t2 = _this.keywordRest;
35884 if (t2 != null)
35885 t1.push(t2.toString$0(0) + "...");
35886 return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
35887 },
35888 $isAstNode: 1,
35889 get$span(receiver) {
35890 return this.span;
35891 }
35892 };
35893 A.AtRootQuery.prototype = {
35894 excludes$1(node) {
35895 var t1, _this = this;
35896 if (_this._all)
35897 return !_this.include;
35898 if (type$.CssStyleRule._is(node))
35899 return _this._at_root_query$_rule !== _this.include;
35900 if (type$.CssMediaRule._is(node))
35901 return _this.excludesName$1("media");
35902 if (type$.CssSupportsRule._is(node))
35903 return _this.excludesName$1("supports");
35904 if (type$.CssAtRule._is(node)) {
35905 t1 = node.name;
35906 return _this.excludesName$1(t1.get$value(t1).toLowerCase());
35907 }
35908 return false;
35909 },
35910 excludesName$1($name) {
35911 var t1 = this._all || this.names.contains$1(0, $name);
35912 return t1 !== this.include;
35913 }
35914 };
35915 A.ConfiguredVariable.prototype = {
35916 toString$0(_) {
35917 var t1 = "$" + this.name + ": " + this.expression.toString$0(0);
35918 return t1 + (this.isGuarded ? " !default" : "");
35919 },
35920 $isAstNode: 1,
35921 get$span(receiver) {
35922 return this.span;
35923 }
35924 };
35925 A.BinaryOperationExpression.prototype = {
35926 get$span(_) {
35927 var right,
35928 left = this.left;
35929 for (; left instanceof A.BinaryOperationExpression;)
35930 left = left.left;
35931 right = this.right;
35932 for (; right instanceof A.BinaryOperationExpression;)
35933 right = right.right;
35934 return left.get$span(left).expand$1(0, right.get$span(right));
35935 },
35936 accept$1$1(visitor) {
35937 return visitor.visitBinaryOperationExpression$1(this);
35938 },
35939 accept$1(visitor) {
35940 return this.accept$1$1(visitor, type$.dynamic);
35941 },
35942 toString$0(_) {
35943 var t2, right, rightNeedsParens, _this = this,
35944 left = _this.left,
35945 leftNeedsParens = left instanceof A.BinaryOperationExpression && left.operator.precedence < _this.operator.precedence,
35946 t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
35947 t1 += left.toString$0(0);
35948 if (leftNeedsParens)
35949 t1 += A.Primitives_stringFromCharCode(41);
35950 t2 = _this.operator;
35951 t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
35952 right = _this.right;
35953 rightNeedsParens = right instanceof A.BinaryOperationExpression && right.operator.precedence <= t2.precedence;
35954 if (rightNeedsParens)
35955 t1 += A.Primitives_stringFromCharCode(40);
35956 t1 += right.toString$0(0);
35957 if (rightNeedsParens)
35958 t1 += A.Primitives_stringFromCharCode(41);
35959 return t1.charCodeAt(0) == 0 ? t1 : t1;
35960 },
35961 $isAstNode: 1,
35962 $isExpression: 1
35963 };
35964 A.BinaryOperator.prototype = {
35965 toString$0(_) {
35966 return this.name;
35967 }
35968 };
35969 A.BooleanExpression.prototype = {
35970 accept$1$1(visitor) {
35971 return visitor.visitBooleanExpression$1(this);
35972 },
35973 accept$1(visitor) {
35974 return this.accept$1$1(visitor, type$.dynamic);
35975 },
35976 toString$0(_) {
35977 return String(this.value);
35978 },
35979 $isAstNode: 1,
35980 $isExpression: 1,
35981 get$span(receiver) {
35982 return this.span;
35983 }
35984 };
35985 A.CalculationExpression.prototype = {
35986 accept$1$1(visitor) {
35987 return visitor.visitCalculationExpression$1(this);
35988 },
35989 accept$1(visitor) {
35990 return this.accept$1$1(visitor, type$.dynamic);
35991 },
35992 toString$0(_) {
35993 return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
35994 },
35995 $isAstNode: 1,
35996 $isExpression: 1,
35997 get$span(receiver) {
35998 return this.span;
35999 }
36000 };
36001 A.CalculationExpression__verifyArguments_closure.prototype = {
36002 call$1(arg) {
36003 A.CalculationExpression__verify(arg);
36004 return arg;
36005 },
36006 $signature: 327
36007 };
36008 A.ColorExpression.prototype = {
36009 accept$1$1(visitor) {
36010 return visitor.visitColorExpression$1(this);
36011 },
36012 accept$1(visitor) {
36013 return this.accept$1$1(visitor, type$.dynamic);
36014 },
36015 toString$0(_) {
36016 return A.serializeValue(this.value, true, true);
36017 },
36018 $isAstNode: 1,
36019 $isExpression: 1,
36020 get$span(receiver) {
36021 return this.span;
36022 }
36023 };
36024 A.FunctionExpression.prototype = {
36025 accept$1$1(visitor) {
36026 return visitor.visitFunctionExpression$1(this);
36027 },
36028 accept$1(visitor) {
36029 return this.accept$1$1(visitor, type$.dynamic);
36030 },
36031 toString$0(_) {
36032 var t1 = this.namespace;
36033 t1 = t1 != null ? "" + (t1 + ".") : "";
36034 t1 += this.originalName + this.$arguments.toString$0(0);
36035 return t1.charCodeAt(0) == 0 ? t1 : t1;
36036 },
36037 $isAstNode: 1,
36038 $isExpression: 1,
36039 get$span(receiver) {
36040 return this.span;
36041 }
36042 };
36043 A.IfExpression.prototype = {
36044 accept$1$1(visitor) {
36045 return visitor.visitIfExpression$1(this);
36046 },
36047 accept$1(visitor) {
36048 return this.accept$1$1(visitor, type$.dynamic);
36049 },
36050 toString$0(_) {
36051 return "if" + this.$arguments.toString$0(0);
36052 },
36053 $isAstNode: 1,
36054 $isExpression: 1,
36055 get$span(receiver) {
36056 return this.span;
36057 }
36058 };
36059 A.InterpolatedFunctionExpression.prototype = {
36060 accept$1$1(visitor) {
36061 return visitor.visitInterpolatedFunctionExpression$1(this);
36062 },
36063 accept$1(visitor) {
36064 return this.accept$1$1(visitor, type$.dynamic);
36065 },
36066 toString$0(_) {
36067 return this.name.toString$0(0) + this.$arguments.toString$0(0);
36068 },
36069 $isAstNode: 1,
36070 $isExpression: 1,
36071 get$span(receiver) {
36072 return this.span;
36073 }
36074 };
36075 A.ListExpression.prototype = {
36076 accept$1$1(visitor) {
36077 return visitor.visitListExpression$1(this);
36078 },
36079 accept$1(visitor) {
36080 return this.accept$1$1(visitor, type$.dynamic);
36081 },
36082 toString$0(_) {
36083 var _this = this,
36084 t1 = _this.hasBrackets,
36085 t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
36086 t3 = _this.contents,
36087 t4 = _this.separator === B.ListSeparator_kWM ? ", " : " ";
36088 t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
36089 t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
36090 return t1.charCodeAt(0) == 0 ? t1 : t1;
36091 },
36092 _list0$_elementNeedsParens$1(expression) {
36093 var t1, t2;
36094 if (expression instanceof A.ListExpression) {
36095 if (expression.contents.length < 2)
36096 return false;
36097 if (expression.hasBrackets)
36098 return false;
36099 t1 = this.separator;
36100 t2 = t1 === B.ListSeparator_kWM;
36101 return t2 ? t2 : t1 !== B.ListSeparator_undecided_null;
36102 }
36103 if (this.separator !== B.ListSeparator_woc)
36104 return false;
36105 if (expression instanceof A.UnaryOperationExpression) {
36106 t1 = expression.operator;
36107 return t1 === B.UnaryOperator_j2w || t1 === B.UnaryOperator_U4G;
36108 }
36109 return false;
36110 },
36111 $isAstNode: 1,
36112 $isExpression: 1,
36113 get$span(receiver) {
36114 return this.span;
36115 }
36116 };
36117 A.ListExpression_toString_closure.prototype = {
36118 call$1(element) {
36119 return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
36120 },
36121 $signature: 128
36122 };
36123 A.MapExpression.prototype = {
36124 accept$1$1(visitor) {
36125 return visitor.visitMapExpression$1(this);
36126 },
36127 accept$1(visitor) {
36128 return this.accept$1$1(visitor, type$.dynamic);
36129 },
36130 toString$0(_) {
36131 var t1 = this.pairs;
36132 return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
36133 },
36134 $isAstNode: 1,
36135 $isExpression: 1,
36136 get$span(receiver) {
36137 return this.span;
36138 }
36139 };
36140 A.MapExpression_toString_closure.prototype = {
36141 call$1(pair) {
36142 return A.S(pair.item1) + ": " + A.S(pair.item2);
36143 },
36144 $signature: 332
36145 };
36146 A.NullExpression.prototype = {
36147 accept$1$1(visitor) {
36148 return visitor.visitNullExpression$1(this);
36149 },
36150 accept$1(visitor) {
36151 return this.accept$1$1(visitor, type$.dynamic);
36152 },
36153 toString$0(_) {
36154 return "null";
36155 },
36156 $isAstNode: 1,
36157 $isExpression: 1,
36158 get$span(receiver) {
36159 return this.span;
36160 }
36161 };
36162 A.NumberExpression.prototype = {
36163 accept$1$1(visitor) {
36164 return visitor.visitNumberExpression$1(this);
36165 },
36166 accept$1(visitor) {
36167 return this.accept$1$1(visitor, type$.dynamic);
36168 },
36169 toString$0(_) {
36170 var t1 = A.S(this.value),
36171 t2 = this.unit;
36172 return t1 + (t2 == null ? "" : t2);
36173 },
36174 $isAstNode: 1,
36175 $isExpression: 1,
36176 get$span(receiver) {
36177 return this.span;
36178 }
36179 };
36180 A.ParenthesizedExpression.prototype = {
36181 accept$1$1(visitor) {
36182 return visitor.visitParenthesizedExpression$1(this);
36183 },
36184 accept$1(visitor) {
36185 return this.accept$1$1(visitor, type$.dynamic);
36186 },
36187 toString$0(_) {
36188 return "(" + this.expression.toString$0(0) + ")";
36189 },
36190 $isAstNode: 1,
36191 $isExpression: 1,
36192 get$span(receiver) {
36193 return this.span;
36194 }
36195 };
36196 A.SelectorExpression.prototype = {
36197 accept$1$1(visitor) {
36198 return visitor.visitSelectorExpression$1(this);
36199 },
36200 accept$1(visitor) {
36201 return this.accept$1$1(visitor, type$.dynamic);
36202 },
36203 toString$0(_) {
36204 return "&";
36205 },
36206 $isAstNode: 1,
36207 $isExpression: 1,
36208 get$span(receiver) {
36209 return this.span;
36210 }
36211 };
36212 A.StringExpression.prototype = {
36213 get$span(_) {
36214 return this.text.span;
36215 },
36216 accept$1$1(visitor) {
36217 return visitor.visitStringExpression$1(this);
36218 },
36219 accept$1(visitor) {
36220 return this.accept$1$1(visitor, type$.dynamic);
36221 },
36222 asInterpolation$1$static($static) {
36223 var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
36224 if (!this.hasQuotes)
36225 return this.text;
36226 t1 = this.text;
36227 t2 = t1.contents;
36228 quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
36229 t3 = new A.StringBuffer("");
36230 t4 = A._setArrayType([], type$.JSArray_Object);
36231 buffer = new A.InterpolationBuffer(t3, t4);
36232 t3._contents = "" + A.Primitives_stringFromCharCode(quote);
36233 for (t5 = t2.length, t6 = type$.Expression, _i = 0; _i < t5; ++_i) {
36234 value = t2[_i];
36235 if (t6._is(value)) {
36236 buffer._flushText$0();
36237 t4.push(value);
36238 } else if (typeof value == "string")
36239 A.StringExpression__quoteInnerText(value, quote, buffer, $static);
36240 }
36241 t3._contents += A.Primitives_stringFromCharCode(quote);
36242 return buffer.interpolation$1(t1.span);
36243 },
36244 asInterpolation$0() {
36245 return this.asInterpolation$1$static(false);
36246 },
36247 toString$0(_) {
36248 return this.asInterpolation$0().toString$0(0);
36249 },
36250 $isAstNode: 1,
36251 $isExpression: 1
36252 };
36253 A.UnaryOperationExpression.prototype = {
36254 accept$1$1(visitor) {
36255 return visitor.visitUnaryOperationExpression$1(this);
36256 },
36257 accept$1(visitor) {
36258 return this.accept$1$1(visitor, type$.dynamic);
36259 },
36260 toString$0(_) {
36261 var t1 = this.operator,
36262 t2 = t1.operator;
36263 t1 = t1 === B.UnaryOperator_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
36264 t1 += this.operand.toString$0(0);
36265 return t1.charCodeAt(0) == 0 ? t1 : t1;
36266 },
36267 $isAstNode: 1,
36268 $isExpression: 1,
36269 get$span(receiver) {
36270 return this.span;
36271 }
36272 };
36273 A.UnaryOperator.prototype = {
36274 toString$0(_) {
36275 return this.name;
36276 }
36277 };
36278 A.ValueExpression.prototype = {
36279 accept$1$1(visitor) {
36280 return visitor.visitValueExpression$1(this);
36281 },
36282 accept$1(visitor) {
36283 return this.accept$1$1(visitor, type$.dynamic);
36284 },
36285 toString$0(_) {
36286 return A.serializeValue(this.value, true, true);
36287 },
36288 $isAstNode: 1,
36289 $isExpression: 1,
36290 get$span(receiver) {
36291 return this.span;
36292 }
36293 };
36294 A.VariableExpression.prototype = {
36295 accept$1$1(visitor) {
36296 return visitor.visitVariableExpression$1(this);
36297 },
36298 accept$1(visitor) {
36299 return this.accept$1$1(visitor, type$.dynamic);
36300 },
36301 toString$0(_) {
36302 var t1 = this.namespace,
36303 t2 = this.name;
36304 return t1 == null ? "$" + t2 : t1 + ".$" + t2;
36305 },
36306 $isAstNode: 1,
36307 $isExpression: 1,
36308 get$span(receiver) {
36309 return this.span;
36310 }
36311 };
36312 A.DynamicImport.prototype = {
36313 toString$0(_) {
36314 return A.StringExpression_quoteText(this.urlString);
36315 },
36316 $isAstNode: 1,
36317 $isImport: 1,
36318 get$span(receiver) {
36319 return this.span;
36320 }
36321 };
36322 A.StaticImport.prototype = {
36323 toString$0(_) {
36324 var t1 = this.url.toString$0(0),
36325 t2 = this.supports;
36326 if (t2 != null)
36327 t1 += " supports(" + t2.toString$0(0) + ")";
36328 t2 = this.media;
36329 if (t2 != null)
36330 t1 += " " + t2.toString$0(0);
36331 t1 += A.Primitives_stringFromCharCode(59);
36332 return t1.charCodeAt(0) == 0 ? t1 : t1;
36333 },
36334 $isAstNode: 1,
36335 $isImport: 1,
36336 get$span(receiver) {
36337 return this.span;
36338 }
36339 };
36340 A.Interpolation.prototype = {
36341 get$asPlain() {
36342 var first,
36343 t1 = this.contents,
36344 t2 = t1.length;
36345 if (t2 === 0)
36346 return "";
36347 if (t2 > 1)
36348 return null;
36349 first = B.JSArray_methods.get$first(t1);
36350 return typeof first == "string" ? first : null;
36351 },
36352 get$initialPlain() {
36353 var first = B.JSArray_methods.get$first(this.contents);
36354 return typeof first == "string" ? first : "";
36355 },
36356 Interpolation$2(contents, span) {
36357 var t1, t2, t3, i, t4, t5,
36358 _s8_ = "contents";
36359 for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression, i = 0; i < t2; ++i) {
36360 t4 = t1[i];
36361 t5 = typeof t4 == "string";
36362 if (!t5 && !t3._is(t4))
36363 throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
36364 if (i !== 0 && typeof t1[i - 1] == "string" && t5)
36365 throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
36366 }
36367 },
36368 toString$0(_) {
36369 var t1 = this.contents;
36370 return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
36371 },
36372 $isAstNode: 1,
36373 get$span(receiver) {
36374 return this.span;
36375 }
36376 };
36377 A.Interpolation_toString_closure.prototype = {
36378 call$1(value) {
36379 return typeof value == "string" ? value : "#{" + A.S(value) + "}";
36380 },
36381 $signature: 45
36382 };
36383 A.AtRootRule.prototype = {
36384 accept$1$1(visitor) {
36385 return visitor.visitAtRootRule$1(this);
36386 },
36387 accept$1(visitor) {
36388 return this.accept$1$1(visitor, type$.dynamic);
36389 },
36390 toString$0(_) {
36391 var buffer = new A.StringBuffer("@at-root "),
36392 t1 = this.query;
36393 if (t1 != null)
36394 buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
36395 t1 = this.children;
36396 return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36397 },
36398 get$span(receiver) {
36399 return this.span;
36400 }
36401 };
36402 A.AtRule.prototype = {
36403 accept$1$1(visitor) {
36404 return visitor.visitAtRule$1(this);
36405 },
36406 accept$1(visitor) {
36407 return this.accept$1$1(visitor, type$.dynamic);
36408 },
36409 toString$0(_) {
36410 var children,
36411 t1 = "@" + this.name.toString$0(0),
36412 buffer = new A.StringBuffer(t1),
36413 t2 = this.value;
36414 if (t2 != null)
36415 buffer._contents = t1 + (" " + t2.toString$0(0));
36416 children = this.children;
36417 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
36418 },
36419 get$span(receiver) {
36420 return this.span;
36421 }
36422 };
36423 A.CallableDeclaration.prototype = {
36424 get$span(receiver) {
36425 return this.span;
36426 }
36427 };
36428 A.ContentBlock.prototype = {
36429 accept$1$1(visitor) {
36430 return visitor.visitContentBlock$1(this);
36431 },
36432 accept$1(visitor) {
36433 return this.accept$1$1(visitor, type$.dynamic);
36434 },
36435 toString$0(_) {
36436 var t2,
36437 t1 = this.$arguments;
36438 t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
36439 t2 = this.children;
36440 return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
36441 }
36442 };
36443 A.ContentRule.prototype = {
36444 accept$1$1(visitor) {
36445 return visitor.visitContentRule$1(this);
36446 },
36447 accept$1(visitor) {
36448 return this.accept$1$1(visitor, type$.dynamic);
36449 },
36450 toString$0(_) {
36451 var t1 = this.$arguments;
36452 return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
36453 },
36454 $isAstNode: 1,
36455 $isStatement: 1,
36456 get$span(receiver) {
36457 return this.span;
36458 }
36459 };
36460 A.DebugRule.prototype = {
36461 accept$1$1(visitor) {
36462 return visitor.visitDebugRule$1(this);
36463 },
36464 accept$1(visitor) {
36465 return this.accept$1$1(visitor, type$.dynamic);
36466 },
36467 toString$0(_) {
36468 return "@debug " + this.expression.toString$0(0) + ";";
36469 },
36470 $isAstNode: 1,
36471 $isStatement: 1,
36472 get$span(receiver) {
36473 return this.span;
36474 }
36475 };
36476 A.Declaration.prototype = {
36477 accept$1$1(visitor) {
36478 return visitor.visitDeclaration$1(this);
36479 },
36480 accept$1(visitor) {
36481 return this.accept$1$1(visitor, type$.dynamic);
36482 },
36483 get$span(receiver) {
36484 return this.span;
36485 }
36486 };
36487 A.EachRule.prototype = {
36488 accept$1$1(visitor) {
36489 return visitor.visitEachRule$1(this);
36490 },
36491 accept$1(visitor) {
36492 return this.accept$1$1(visitor, type$.dynamic);
36493 },
36494 toString$0(_) {
36495 var t1 = this.variables,
36496 t2 = this.children;
36497 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, " ") + "}";
36498 },
36499 get$span(receiver) {
36500 return this.span;
36501 }
36502 };
36503 A.EachRule_toString_closure.prototype = {
36504 call$1(variable) {
36505 return "$" + variable;
36506 },
36507 $signature: 5
36508 };
36509 A.ErrorRule.prototype = {
36510 accept$1$1(visitor) {
36511 return visitor.visitErrorRule$1(this);
36512 },
36513 accept$1(visitor) {
36514 return this.accept$1$1(visitor, type$.dynamic);
36515 },
36516 toString$0(_) {
36517 return "@error " + this.expression.toString$0(0) + ";";
36518 },
36519 $isAstNode: 1,
36520 $isStatement: 1,
36521 get$span(receiver) {
36522 return this.span;
36523 }
36524 };
36525 A.ExtendRule.prototype = {
36526 accept$1$1(visitor) {
36527 return visitor.visitExtendRule$1(this);
36528 },
36529 accept$1(visitor) {
36530 return this.accept$1$1(visitor, type$.dynamic);
36531 },
36532 toString$0(_) {
36533 return "@extend " + this.selector.toString$0(0);
36534 },
36535 $isAstNode: 1,
36536 $isStatement: 1,
36537 get$span(receiver) {
36538 return this.span;
36539 }
36540 };
36541 A.ForRule.prototype = {
36542 accept$1$1(visitor) {
36543 return visitor.visitForRule$1(this);
36544 },
36545 accept$1(visitor) {
36546 return this.accept$1$1(visitor, type$.dynamic);
36547 },
36548 toString$0(_) {
36549 var _this = this,
36550 t1 = "@for $" + _this.variable + " from " + _this.from.toString$0(0) + " ",
36551 t2 = _this.children;
36552 return t1 + (_this.isExclusive ? "to" : "through") + " " + _this.to.toString$0(0) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
36553 },
36554 get$span(receiver) {
36555 return this.span;
36556 }
36557 };
36558 A.ForwardRule.prototype = {
36559 accept$1$1(visitor) {
36560 return visitor.visitForwardRule$1(this);
36561 },
36562 accept$1(visitor) {
36563 return this.accept$1$1(visitor, type$.dynamic);
36564 },
36565 toString$0(_) {
36566 var t2, prefix, _this = this,
36567 t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
36568 shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
36569 hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
36570 if (shownMixinsAndFunctions != null) {
36571 t1 += " show ";
36572 t2 = _this.shownVariables;
36573 t2.toString;
36574 t2 = t1 + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
36575 t1 = t2;
36576 } else {
36577 if (hiddenMixinsAndFunctions != null) {
36578 t2 = hiddenMixinsAndFunctions._base;
36579 t2 = t2.get$isNotEmpty(t2);
36580 } else
36581 t2 = false;
36582 if (t2) {
36583 t1 += " hide ";
36584 t2 = _this.hiddenVariables;
36585 t2.toString;
36586 t2 = t1 + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
36587 t1 = t2;
36588 }
36589 }
36590 prefix = _this.prefix;
36591 if (prefix != null)
36592 t1 += " as " + prefix + "*";
36593 t2 = _this.configuration;
36594 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
36595 return t1.charCodeAt(0) == 0 ? t1 : t1;
36596 },
36597 _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
36598 var t2,
36599 t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
36600 for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
36601 t1.push("$" + t2.get$current(t2));
36602 return B.JSArray_methods.join$1(t1, ", ");
36603 },
36604 $isAstNode: 1,
36605 $isStatement: 1,
36606 get$span(receiver) {
36607 return this.span;
36608 }
36609 };
36610 A.FunctionRule.prototype = {
36611 accept$1$1(visitor) {
36612 return visitor.visitFunctionRule$1(this);
36613 },
36614 accept$1(visitor) {
36615 return this.accept$1$1(visitor, type$.dynamic);
36616 },
36617 toString$0(_) {
36618 var t1 = this.children;
36619 return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36620 }
36621 };
36622 A.IfRule.prototype = {
36623 accept$1$1(visitor) {
36624 return visitor.visitIfRule$1(this);
36625 },
36626 accept$1(visitor) {
36627 return this.accept$1$1(visitor, type$.dynamic);
36628 },
36629 toString$0(_) {
36630 var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
36631 lastClause = this.lastClause;
36632 return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
36633 },
36634 $isAstNode: 1,
36635 $isStatement: 1,
36636 get$span(receiver) {
36637 return this.span;
36638 }
36639 };
36640 A.IfRule_toString_closure.prototype = {
36641 call$2(index, clause) {
36642 return "@" + (index === 0 ? "if" : "else if") + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
36643 },
36644 $signature: 339
36645 };
36646 A.IfRuleClause.prototype = {};
36647 A.IfRuleClause$__closure.prototype = {
36648 call$1(child) {
36649 var t1;
36650 if (!(child instanceof A.VariableDeclaration))
36651 if (!(child instanceof A.FunctionRule))
36652 if (!(child instanceof A.MixinRule))
36653 t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
36654 else
36655 t1 = true;
36656 else
36657 t1 = true;
36658 else
36659 t1 = true;
36660 return t1;
36661 },
36662 $signature: 222
36663 };
36664 A.IfRuleClause$___closure.prototype = {
36665 call$1($import) {
36666 return $import instanceof A.DynamicImport;
36667 },
36668 $signature: 258
36669 };
36670 A.IfClause.prototype = {
36671 toString$0(_) {
36672 return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
36673 }
36674 };
36675 A.ElseClause.prototype = {
36676 toString$0(_) {
36677 return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
36678 }
36679 };
36680 A.ImportRule.prototype = {
36681 accept$1$1(visitor) {
36682 return visitor.visitImportRule$1(this);
36683 },
36684 accept$1(visitor) {
36685 return this.accept$1$1(visitor, type$.dynamic);
36686 },
36687 toString$0(_) {
36688 return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
36689 },
36690 $isAstNode: 1,
36691 $isStatement: 1,
36692 get$span(receiver) {
36693 return this.span;
36694 }
36695 };
36696 A.IncludeRule.prototype = {
36697 get$spanWithoutContent() {
36698 var t2, t3,
36699 t1 = this.span;
36700 if (!(this.content == null)) {
36701 t2 = t1.file;
36702 t3 = this.$arguments.span;
36703 t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, A.FileLocation$_(t3.file, t3._end).offset)));
36704 t1 = t3;
36705 }
36706 return t1;
36707 },
36708 accept$1$1(visitor) {
36709 return visitor.visitIncludeRule$1(this);
36710 },
36711 accept$1(visitor) {
36712 return this.accept$1$1(visitor, type$.dynamic);
36713 },
36714 toString$0(_) {
36715 var t2, _this = this,
36716 t1 = _this.namespace;
36717 t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
36718 t1 += _this.name;
36719 t2 = _this.$arguments;
36720 if (!t2.get$isEmpty(t2))
36721 t1 += "(" + t2.toString$0(0) + ")";
36722 t2 = _this.content;
36723 t1 += t2 == null ? ";" : " " + t2.toString$0(0);
36724 return t1.charCodeAt(0) == 0 ? t1 : t1;
36725 },
36726 $isAstNode: 1,
36727 $isStatement: 1,
36728 get$span(receiver) {
36729 return this.span;
36730 }
36731 };
36732 A.LoudComment.prototype = {
36733 get$span(_) {
36734 return this.text.span;
36735 },
36736 accept$1$1(visitor) {
36737 return visitor.visitLoudComment$1(this);
36738 },
36739 accept$1(visitor) {
36740 return this.accept$1$1(visitor, type$.dynamic);
36741 },
36742 toString$0(_) {
36743 return this.text.toString$0(0);
36744 },
36745 $isAstNode: 1,
36746 $isStatement: 1
36747 };
36748 A.MediaRule.prototype = {
36749 accept$1$1(visitor) {
36750 return visitor.visitMediaRule$1(this);
36751 },
36752 accept$1(visitor) {
36753 return this.accept$1$1(visitor, type$.dynamic);
36754 },
36755 toString$0(_) {
36756 var t1 = this.children;
36757 return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36758 },
36759 get$span(receiver) {
36760 return this.span;
36761 }
36762 };
36763 A.MixinRule.prototype = {
36764 get$hasContent() {
36765 var result, _this = this,
36766 value = _this.__MixinRule_hasContent;
36767 if (value === $) {
36768 result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
36769 A._lateInitializeOnceCheck(_this.__MixinRule_hasContent, "hasContent");
36770 _this.__MixinRule_hasContent = result;
36771 value = result;
36772 }
36773 return value;
36774 },
36775 accept$1$1(visitor) {
36776 return visitor.visitMixinRule$1(this);
36777 },
36778 accept$1(visitor) {
36779 return this.accept$1$1(visitor, type$.dynamic);
36780 },
36781 toString$0(_) {
36782 var t1 = "@mixin " + this.name,
36783 t2 = this.$arguments;
36784 if (!(t2.$arguments.length === 0 && t2.restArgument == null))
36785 t1 += "(" + t2.toString$0(0) + ")";
36786 t2 = this.children;
36787 t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
36788 return t2.charCodeAt(0) == 0 ? t2 : t2;
36789 }
36790 };
36791 A._HasContentVisitor.prototype = {
36792 visitContentRule$1(_) {
36793 return true;
36794 }
36795 };
36796 A.ParentStatement.prototype = {$isAstNode: 1, $isStatement: 1};
36797 A.ParentStatement_closure.prototype = {
36798 call$1(child) {
36799 var t1;
36800 if (!(child instanceof A.VariableDeclaration))
36801 if (!(child instanceof A.FunctionRule))
36802 if (!(child instanceof A.MixinRule))
36803 t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
36804 else
36805 t1 = true;
36806 else
36807 t1 = true;
36808 else
36809 t1 = true;
36810 return t1;
36811 },
36812 $signature: 222
36813 };
36814 A.ParentStatement__closure.prototype = {
36815 call$1($import) {
36816 return $import instanceof A.DynamicImport;
36817 },
36818 $signature: 258
36819 };
36820 A.ReturnRule.prototype = {
36821 accept$1$1(visitor) {
36822 return visitor.visitReturnRule$1(this);
36823 },
36824 accept$1(visitor) {
36825 return this.accept$1$1(visitor, type$.dynamic);
36826 },
36827 toString$0(_) {
36828 return "@return " + this.expression.toString$0(0) + ";";
36829 },
36830 $isAstNode: 1,
36831 $isStatement: 1,
36832 get$span(receiver) {
36833 return this.span;
36834 }
36835 };
36836 A.SilentComment.prototype = {
36837 accept$1$1(visitor) {
36838 return visitor.visitSilentComment$1(this);
36839 },
36840 accept$1(visitor) {
36841 return this.accept$1$1(visitor, type$.dynamic);
36842 },
36843 toString$0(_) {
36844 return this.text;
36845 },
36846 $isAstNode: 1,
36847 $isStatement: 1,
36848 get$span(receiver) {
36849 return this.span;
36850 }
36851 };
36852 A.StyleRule.prototype = {
36853 accept$1$1(visitor) {
36854 return visitor.visitStyleRule$1(this);
36855 },
36856 accept$1(visitor) {
36857 return this.accept$1$1(visitor, type$.dynamic);
36858 },
36859 toString$0(_) {
36860 var t1 = this.children;
36861 return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36862 },
36863 get$span(receiver) {
36864 return this.span;
36865 }
36866 };
36867 A.Stylesheet.prototype = {
36868 Stylesheet$internal$3$plainCss(children, span, plainCss) {
36869 var t1, t2, t3, t4, _i, child;
36870 for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
36871 child = t1[_i];
36872 if (child instanceof A.UseRule)
36873 t4.push(child);
36874 else if (child instanceof A.ForwardRule)
36875 t3.push(child);
36876 else if (!(child instanceof A.SilentComment) && !(child instanceof A.LoudComment) && !(child instanceof A.VariableDeclaration))
36877 break;
36878 }
36879 },
36880 accept$1$1(visitor) {
36881 return visitor.visitStylesheet$1(this);
36882 },
36883 accept$1(visitor) {
36884 return this.accept$1$1(visitor, type$.dynamic);
36885 },
36886 toString$0(_) {
36887 var t1 = this.children;
36888 return (t1 && B.JSArray_methods).join$1(t1, " ");
36889 },
36890 get$span(receiver) {
36891 return this.span;
36892 }
36893 };
36894 A.SupportsRule.prototype = {
36895 accept$1$1(visitor) {
36896 return visitor.visitSupportsRule$1(this);
36897 },
36898 accept$1(visitor) {
36899 return this.accept$1$1(visitor, type$.dynamic);
36900 },
36901 toString$0(_) {
36902 var t1 = this.children;
36903 return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36904 },
36905 get$span(receiver) {
36906 return this.span;
36907 }
36908 };
36909 A.UseRule.prototype = {
36910 UseRule$4$configuration(url, namespace, span, configuration) {
36911 var t1, t2, _i, variable;
36912 for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
36913 variable = t1[_i];
36914 if (variable.isGuarded)
36915 throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
36916 }
36917 },
36918 accept$1$1(visitor) {
36919 return visitor.visitUseRule$1(this);
36920 },
36921 accept$1(visitor) {
36922 return this.accept$1$1(visitor, type$.dynamic);
36923 },
36924 toString$0(_) {
36925 var t1 = this.url,
36926 t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
36927 basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
36928 dot = B.JSString_methods.indexOf$1(basename, ".");
36929 t1 = this.namespace;
36930 if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
36931 t1 = t2 + (" as " + (t1 == null ? "*" : t1));
36932 else
36933 t1 = t2;
36934 t2 = this.configuration;
36935 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
36936 return t1.charCodeAt(0) == 0 ? t1 : t1;
36937 },
36938 $isAstNode: 1,
36939 $isStatement: 1,
36940 get$span(receiver) {
36941 return this.span;
36942 }
36943 };
36944 A.VariableDeclaration.prototype = {
36945 accept$1$1(visitor) {
36946 return visitor.visitVariableDeclaration$1(this);
36947 },
36948 accept$1(visitor) {
36949 return this.accept$1$1(visitor, type$.dynamic);
36950 },
36951 toString$0(_) {
36952 var t1 = this.namespace;
36953 t1 = t1 != null ? "$" + (t1 + ".") : "$";
36954 t1 += this.name + ": " + this.expression.toString$0(0) + ";";
36955 return t1.charCodeAt(0) == 0 ? t1 : t1;
36956 },
36957 $isAstNode: 1,
36958 $isStatement: 1,
36959 get$span(receiver) {
36960 return this.span;
36961 }
36962 };
36963 A.WarnRule.prototype = {
36964 accept$1$1(visitor) {
36965 return visitor.visitWarnRule$1(this);
36966 },
36967 accept$1(visitor) {
36968 return this.accept$1$1(visitor, type$.dynamic);
36969 },
36970 toString$0(_) {
36971 return "@warn " + this.expression.toString$0(0) + ";";
36972 },
36973 $isAstNode: 1,
36974 $isStatement: 1,
36975 get$span(receiver) {
36976 return this.span;
36977 }
36978 };
36979 A.WhileRule.prototype = {
36980 accept$1$1(visitor) {
36981 return visitor.visitWhileRule$1(this);
36982 },
36983 accept$1(visitor) {
36984 return this.accept$1$1(visitor, type$.dynamic);
36985 },
36986 toString$0(_) {
36987 var t1 = this.children;
36988 return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36989 },
36990 get$span(receiver) {
36991 return this.span;
36992 }
36993 };
36994 A.SupportsAnything.prototype = {
36995 toString$0(_) {
36996 return "(" + this.contents.toString$0(0) + ")";
36997 },
36998 $isAstNode: 1,
36999 $isSupportsCondition: 1,
37000 get$span(receiver) {
37001 return this.span;
37002 }
37003 };
37004 A.SupportsDeclaration.prototype = {
37005 get$isCustomProperty() {
37006 var $name = this.name;
37007 return $name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
37008 },
37009 toString$0(_) {
37010 return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
37011 },
37012 $isAstNode: 1,
37013 $isSupportsCondition: 1,
37014 get$span(receiver) {
37015 return this.span;
37016 }
37017 };
37018 A.SupportsFunction.prototype = {
37019 toString$0(_) {
37020 return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
37021 },
37022 $isAstNode: 1,
37023 $isSupportsCondition: 1,
37024 get$span(receiver) {
37025 return this.span;
37026 }
37027 };
37028 A.SupportsInterpolation.prototype = {
37029 toString$0(_) {
37030 return "#{" + this.expression.toString$0(0) + "}";
37031 },
37032 $isAstNode: 1,
37033 $isSupportsCondition: 1,
37034 get$span(receiver) {
37035 return this.span;
37036 }
37037 };
37038 A.SupportsNegation.prototype = {
37039 toString$0(_) {
37040 var t1 = this.condition;
37041 if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
37042 return "not (" + t1.toString$0(0) + ")";
37043 else
37044 return "not " + t1.toString$0(0);
37045 },
37046 $isAstNode: 1,
37047 $isSupportsCondition: 1,
37048 get$span(receiver) {
37049 return this.span;
37050 }
37051 };
37052 A.SupportsOperation.prototype = {
37053 toString$0(_) {
37054 var _this = this;
37055 return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
37056 },
37057 _operation$_parenthesize$1(condition) {
37058 var t1;
37059 if (!(condition instanceof A.SupportsNegation))
37060 t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
37061 else
37062 t1 = true;
37063 return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
37064 },
37065 $isAstNode: 1,
37066 $isSupportsCondition: 1,
37067 get$span(receiver) {
37068 return this.span;
37069 }
37070 };
37071 A.Selector.prototype = {
37072 get$isInvisible() {
37073 return false;
37074 },
37075 toString$0(_) {
37076 var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
37077 this.accept$1(visitor);
37078 return visitor._serialize$_buffer.toString$0(0);
37079 }
37080 };
37081 A.AttributeSelector.prototype = {
37082 accept$1$1(visitor) {
37083 var value, t2, _this = this,
37084 t1 = visitor._serialize$_buffer;
37085 t1.writeCharCode$1(91);
37086 t1.write$1(0, _this.name);
37087 value = _this.value;
37088 if (value != null) {
37089 t1.write$1(0, _this.op);
37090 if (A.Parser_isIdentifier(value) && !B.JSString_methods.startsWith$1(value, "--")) {
37091 t1.write$1(0, value);
37092 t2 = _this.modifier;
37093 if (t2 != null)
37094 t1.writeCharCode$1(32);
37095 } else {
37096 visitor._visitQuotedString$1(value);
37097 t2 = _this.modifier;
37098 if (t2 != null)
37099 if (visitor._style !== B.OutputStyle_compressed)
37100 t1.writeCharCode$1(32);
37101 }
37102 if (t2 != null)
37103 t1.write$1(0, t2);
37104 }
37105 t1.writeCharCode$1(93);
37106 return null;
37107 },
37108 accept$1(visitor) {
37109 return this.accept$1$1(visitor, type$.dynamic);
37110 },
37111 $eq(_, other) {
37112 var _this = this;
37113 if (other == null)
37114 return false;
37115 return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
37116 },
37117 get$hashCode(_) {
37118 var _this = this,
37119 t1 = _this.name;
37120 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;
37121 }
37122 };
37123 A.AttributeOperator.prototype = {
37124 toString$0(_) {
37125 return this._attribute$_text;
37126 }
37127 };
37128 A.ClassSelector.prototype = {
37129 $eq(_, other) {
37130 if (other == null)
37131 return false;
37132 return other instanceof A.ClassSelector && other.name === this.name;
37133 },
37134 accept$1$1(visitor) {
37135 var t1 = visitor._serialize$_buffer;
37136 t1.writeCharCode$1(46);
37137 t1.write$1(0, this.name);
37138 return null;
37139 },
37140 accept$1(visitor) {
37141 return this.accept$1$1(visitor, type$.dynamic);
37142 },
37143 addSuffix$1(suffix) {
37144 return new A.ClassSelector(this.name + suffix);
37145 },
37146 get$hashCode(_) {
37147 return B.JSString_methods.get$hashCode(this.name);
37148 }
37149 };
37150 A.ComplexSelector.prototype = {
37151 get$minSpecificity() {
37152 if (this._minSpecificity == null)
37153 this._computeSpecificity$0();
37154 var t1 = this._minSpecificity;
37155 t1.toString;
37156 return t1;
37157 },
37158 get$maxSpecificity() {
37159 if (this._complex$_maxSpecificity == null)
37160 this._computeSpecificity$0();
37161 var t1 = this._complex$_maxSpecificity;
37162 t1.toString;
37163 return t1;
37164 },
37165 get$isInvisible() {
37166 var result, _this = this,
37167 value = _this.__ComplexSelector_isInvisible;
37168 if (value === $) {
37169 result = B.JSArray_methods.any$1(_this.components, new A.ComplexSelector_isInvisible_closure());
37170 A._lateInitializeOnceCheck(_this.__ComplexSelector_isInvisible, "isInvisible");
37171 _this.__ComplexSelector_isInvisible = result;
37172 value = result;
37173 }
37174 return value;
37175 },
37176 accept$1$1(visitor) {
37177 return visitor.visitComplexSelector$1(this);
37178 },
37179 accept$1(visitor) {
37180 return this.accept$1$1(visitor, type$.dynamic);
37181 },
37182 _computeSpecificity$0() {
37183 var t1, t2, minSpecificity, maxSpecificity, _i, component, t3;
37184 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37185 component = t1[_i];
37186 if (component instanceof A.CompoundSelector) {
37187 if (component._compound$_minSpecificity == null)
37188 component._compound$_computeSpecificity$0();
37189 t3 = component._compound$_minSpecificity;
37190 t3.toString;
37191 minSpecificity += t3;
37192 if (component._maxSpecificity == null)
37193 component._compound$_computeSpecificity$0();
37194 t3 = component._maxSpecificity;
37195 t3.toString;
37196 maxSpecificity += t3;
37197 }
37198 }
37199 this._minSpecificity = minSpecificity;
37200 this._complex$_maxSpecificity = maxSpecificity;
37201 },
37202 get$hashCode(_) {
37203 return B.C_ListEquality0.hash$1(this.components);
37204 },
37205 $eq(_, other) {
37206 if (other == null)
37207 return false;
37208 return other instanceof A.ComplexSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
37209 }
37210 };
37211 A.ComplexSelector_isInvisible_closure.prototype = {
37212 call$1(component) {
37213 return component instanceof A.CompoundSelector && component.get$isInvisible();
37214 },
37215 $signature: 115
37216 };
37217 A.Combinator.prototype = {
37218 toString$0(_) {
37219 return this._complex$_text;
37220 },
37221 $isComplexSelectorComponent: 1
37222 };
37223 A.CompoundSelector.prototype = {
37224 get$isInvisible() {
37225 return B.JSArray_methods.any$1(this.components, new A.CompoundSelector_isInvisible_closure());
37226 },
37227 accept$1$1(visitor) {
37228 return visitor.visitCompoundSelector$1(this);
37229 },
37230 accept$1(visitor) {
37231 return this.accept$1$1(visitor, type$.dynamic);
37232 },
37233 _compound$_computeSpecificity$0() {
37234 var t1, t2, minSpecificity, maxSpecificity, _i, simple;
37235 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37236 simple = t1[_i];
37237 minSpecificity += simple.get$minSpecificity();
37238 maxSpecificity += simple.get$maxSpecificity();
37239 }
37240 this._compound$_minSpecificity = minSpecificity;
37241 this._maxSpecificity = maxSpecificity;
37242 },
37243 get$hashCode(_) {
37244 return B.C_ListEquality0.hash$1(this.components);
37245 },
37246 $eq(_, other) {
37247 if (other == null)
37248 return false;
37249 return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
37250 },
37251 $isComplexSelectorComponent: 1
37252 };
37253 A.CompoundSelector_isInvisible_closure.prototype = {
37254 call$1(component) {
37255 return component.get$isInvisible();
37256 },
37257 $signature: 15
37258 };
37259 A.IDSelector.prototype = {
37260 get$minSpecificity() {
37261 return A._asInt(Math.pow(A.SimpleSelector.prototype.get$minSpecificity.call(this), 2));
37262 },
37263 accept$1$1(visitor) {
37264 var t1 = visitor._serialize$_buffer;
37265 t1.writeCharCode$1(35);
37266 t1.write$1(0, this.name);
37267 return null;
37268 },
37269 accept$1(visitor) {
37270 return this.accept$1$1(visitor, type$.dynamic);
37271 },
37272 addSuffix$1(suffix) {
37273 return new A.IDSelector(this.name + suffix);
37274 },
37275 unify$1(compound) {
37276 if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
37277 return null;
37278 return this.super$SimpleSelector$unify(compound);
37279 },
37280 $eq(_, other) {
37281 if (other == null)
37282 return false;
37283 return other instanceof A.IDSelector && other.name === this.name;
37284 },
37285 get$hashCode(_) {
37286 return B.JSString_methods.get$hashCode(this.name);
37287 }
37288 };
37289 A.IDSelector_unify_closure.prototype = {
37290 call$1(simple) {
37291 var t1;
37292 if (simple instanceof A.IDSelector) {
37293 t1 = simple.name;
37294 t1 = this.$this.name !== t1;
37295 } else
37296 t1 = false;
37297 return t1;
37298 },
37299 $signature: 15
37300 };
37301 A.SelectorList.prototype = {
37302 get$isInvisible() {
37303 return B.JSArray_methods.every$1(this.components, new A.SelectorList_isInvisible_closure());
37304 },
37305 get$asSassList() {
37306 var t1 = this.components;
37307 return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
37308 },
37309 accept$1$1(visitor) {
37310 return visitor.visitSelectorList$1(this);
37311 },
37312 accept$1(visitor) {
37313 return this.accept$1$1(visitor, type$.dynamic);
37314 },
37315 unify$1(other) {
37316 var t1 = this.components,
37317 t2 = A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector>"),
37318 contents = A.List_List$of(new A.ExpandIterable(t1, new A.SelectorList_unify_closure(other), t2), true, t2._eval$1("Iterable.E"));
37319 return contents.length === 0 ? null : A.SelectorList$(contents);
37320 },
37321 resolveParentSelectors$2$implicitParent($parent, implicitParent) {
37322 var t1, _this = this;
37323 if ($parent == null) {
37324 if (!B.JSArray_methods.any$1(_this.components, _this.get$_complexContainsParentSelector()))
37325 return _this;
37326 throw A.wrapException(A.SassScriptException$(string$.Top_le));
37327 }
37328 t1 = _this.components;
37329 return A.SelectorList$(A.flattenVertically(new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors_closure(_this, implicitParent, $parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Iterable<ComplexSelector>>")), type$.ComplexSelector));
37330 },
37331 resolveParentSelectors$1($parent) {
37332 return this.resolveParentSelectors$2$implicitParent($parent, true);
37333 },
37334 _complexContainsParentSelector$1(complex) {
37335 return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure());
37336 },
37337 _resolveParentSelectorsCompound$2(compound, $parent) {
37338 var resolvedMembers0, parentSelector, t1,
37339 resolvedMembers = compound.components,
37340 containsSelectorPseudo = B.JSArray_methods.any$1(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure());
37341 if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(resolvedMembers) instanceof A.ParentSelector))
37342 return null;
37343 resolvedMembers0 = containsSelectorPseudo ? new A.MappedListIterable(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure0($parent), A._arrayInstanceType(resolvedMembers)._eval$1("MappedListIterable<1,SimpleSelector>")) : resolvedMembers;
37344 parentSelector = B.JSArray_methods.get$first(resolvedMembers);
37345 if (parentSelector instanceof A.ParentSelector) {
37346 if (resolvedMembers.length === 1 && parentSelector.suffix == null)
37347 return $parent.components;
37348 } else
37349 return A._setArrayType([A.ComplexSelector$(A._setArrayType([A.CompoundSelector$(resolvedMembers0)], type$.JSArray_ComplexSelectorComponent), false)], type$.JSArray_ComplexSelector);
37350 t1 = $parent.components;
37351 return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure1(compound, resolvedMembers0), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
37352 },
37353 get$hashCode(_) {
37354 return B.C_ListEquality0.hash$1(this.components);
37355 },
37356 $eq(_, other) {
37357 if (other == null)
37358 return false;
37359 return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
37360 }
37361 };
37362 A.SelectorList_isInvisible_closure.prototype = {
37363 call$1(complex) {
37364 return complex.get$isInvisible();
37365 },
37366 $signature: 18
37367 };
37368 A.SelectorList_asSassList_closure.prototype = {
37369 call$1(complex) {
37370 var t1 = complex.components;
37371 return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_woc, false);
37372 },
37373 $signature: 510
37374 };
37375 A.SelectorList_asSassList__closure.prototype = {
37376 call$1(component) {
37377 return new A.SassString(component.toString$0(0), false);
37378 },
37379 $signature: 513
37380 };
37381 A.SelectorList_unify_closure.prototype = {
37382 call$1(complex1) {
37383 var t1 = this.other.components;
37384 return new A.ExpandIterable(t1, new A.SelectorList_unify__closure(complex1), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector>"));
37385 },
37386 $signature: 137
37387 };
37388 A.SelectorList_unify__closure.prototype = {
37389 call$1(complex2) {
37390 var unified = A.unifyComplex(A._setArrayType([this.complex1.components, complex2.components], type$.JSArray_List_ComplexSelectorComponent));
37391 if (unified == null)
37392 return B.List_empty4;
37393 return J.map$1$1$ax(unified, new A.SelectorList_unify___closure(), type$.ComplexSelector);
37394 },
37395 $signature: 137
37396 };
37397 A.SelectorList_unify___closure.prototype = {
37398 call$1(complex) {
37399 return A.ComplexSelector$(complex, false);
37400 },
37401 $signature: 72
37402 };
37403 A.SelectorList_resolveParentSelectors_closure.prototype = {
37404 call$1(complex) {
37405 var t2, newComplexes, t3, t4, t5, t6, t7, _i, component, resolved, t8, _i0, previousLineBreaks, newComplexes0, t9, i, newComplex, i0, lineBreak, t10, t11, t12, t13, _this = this, _box_0 = {},
37406 t1 = _this.$this;
37407 if (!t1._complexContainsParentSelector$1(complex)) {
37408 if (!_this.implicitParent)
37409 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
37410 t1 = _this.parent.components;
37411 return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
37412 }
37413 t2 = type$.JSArray_List_ComplexSelectorComponent;
37414 newComplexes = A._setArrayType([A._setArrayType([], type$.JSArray_ComplexSelectorComponent)], t2);
37415 t3 = type$.JSArray_bool;
37416 _box_0.lineBreaks = A._setArrayType([false], t3);
37417 for (t4 = complex.components, t5 = t4.length, t6 = type$.ComplexSelectorComponent, t7 = _this.parent, _i = 0; _i < t5; ++_i) {
37418 component = t4[_i];
37419 if (component instanceof A.CompoundSelector) {
37420 resolved = t1._resolveParentSelectorsCompound$2(component, t7);
37421 if (resolved == null) {
37422 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
37423 newComplexes[_i0].push(component);
37424 continue;
37425 }
37426 previousLineBreaks = _box_0.lineBreaks;
37427 newComplexes0 = A._setArrayType([], t2);
37428 _box_0.lineBreaks = A._setArrayType([], t3);
37429 for (t8 = newComplexes.length, t9 = J.getInterceptor$ax(resolved), i = 0, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0, i = i0) {
37430 newComplex = newComplexes[_i0];
37431 i0 = i + 1;
37432 lineBreak = previousLineBreaks[i];
37433 for (t10 = t9.get$iterator(resolved), t11 = !lineBreak; t10.moveNext$0();) {
37434 t12 = t10.get$current(t10);
37435 t13 = A.List_List$of(newComplex, true, t6);
37436 B.JSArray_methods.addAll$1(t13, t12.components);
37437 newComplexes0.push(t13);
37438 t13 = _box_0.lineBreaks;
37439 t13.push(!t11 || t12.lineBreak);
37440 }
37441 }
37442 newComplexes = newComplexes0;
37443 } else
37444 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
37445 newComplexes[_i0].push(component);
37446 }
37447 _box_0.i = 0;
37448 return new A.MappedListIterable(newComplexes, new A.SelectorList_resolveParentSelectors__closure0(_box_0), A._arrayInstanceType(newComplexes)._eval$1("MappedListIterable<1,ComplexSelector>"));
37449 },
37450 $signature: 137
37451 };
37452 A.SelectorList_resolveParentSelectors__closure.prototype = {
37453 call$1(parentComplex) {
37454 var t1 = A.List_List$of(parentComplex.components, true, type$.ComplexSelectorComponent),
37455 t2 = this.complex;
37456 B.JSArray_methods.addAll$1(t1, t2.components);
37457 return A.ComplexSelector$(t1, t2.lineBreak || parentComplex.lineBreak);
37458 },
37459 $signature: 111
37460 };
37461 A.SelectorList_resolveParentSelectors__closure0.prototype = {
37462 call$1(newComplex) {
37463 var t1 = this._box_0;
37464 return A.ComplexSelector$(newComplex, t1.lineBreaks[t1.i++]);
37465 },
37466 $signature: 72
37467 };
37468 A.SelectorList__complexContainsParentSelector_closure.prototype = {
37469 call$1(component) {
37470 return component instanceof A.CompoundSelector && B.JSArray_methods.any$1(component.components, new A.SelectorList__complexContainsParentSelector__closure());
37471 },
37472 $signature: 115
37473 };
37474 A.SelectorList__complexContainsParentSelector__closure.prototype = {
37475 call$1(simple) {
37476 var selector;
37477 if (simple instanceof A.ParentSelector)
37478 return true;
37479 if (!(simple instanceof A.PseudoSelector))
37480 return false;
37481 selector = simple.selector;
37482 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
37483 },
37484 $signature: 15
37485 };
37486 A.SelectorList__resolveParentSelectorsCompound_closure.prototype = {
37487 call$1(simple) {
37488 var selector;
37489 if (!(simple instanceof A.PseudoSelector))
37490 return false;
37491 selector = simple.selector;
37492 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
37493 },
37494 $signature: 15
37495 };
37496 A.SelectorList__resolveParentSelectorsCompound_closure0.prototype = {
37497 call$1(simple) {
37498 var selector, t1, t2, t3;
37499 if (!(simple instanceof A.PseudoSelector))
37500 return simple;
37501 selector = simple.selector;
37502 if (selector == null)
37503 return simple;
37504 if (!B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector()))
37505 return simple;
37506 t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
37507 t2 = simple.name;
37508 t3 = simple.isClass;
37509 return A.PseudoSelector$(t2, simple.argument, !t3, t1);
37510 },
37511 $signature: 548
37512 };
37513 A.SelectorList__resolveParentSelectorsCompound_closure1.prototype = {
37514 call$1(complex) {
37515 var suffix, t2, t3, t4, t5, last,
37516 t1 = complex.components,
37517 lastComponent = B.JSArray_methods.get$last(t1);
37518 if (!(lastComponent instanceof A.CompoundSelector))
37519 throw A.wrapException(A.SassScriptException$('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.'));
37520 suffix = type$.ParentSelector._as(B.JSArray_methods.get$first(this.compound.components)).suffix;
37521 t2 = type$.SimpleSelector;
37522 t3 = this.resolvedMembers;
37523 t4 = lastComponent.components;
37524 t5 = J.getInterceptor$ax(t3);
37525 if (suffix != null) {
37526 t2 = A.List_List$of(A.SubListIterable$(t4, 0, A.checkNotNullable(t4.length - 1, "count", type$.int), A._arrayInstanceType(t4)._precomputed1), true, t2);
37527 t2.push(B.JSArray_methods.get$last(t4).addSuffix$1(suffix));
37528 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
37529 last = A.CompoundSelector$(t2);
37530 } else {
37531 t2 = A.List_List$of(t4, true, t2);
37532 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
37533 last = A.CompoundSelector$(t2);
37534 }
37535 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(t1.length - 1, "count", type$.int), A._arrayInstanceType(t1)._precomputed1), true, type$.ComplexSelectorComponent);
37536 t1.push(last);
37537 return A.ComplexSelector$(t1, complex.lineBreak);
37538 },
37539 $signature: 111
37540 };
37541 A.ParentSelector.prototype = {
37542 accept$1$1(visitor) {
37543 var t2,
37544 t1 = visitor._serialize$_buffer;
37545 t1.writeCharCode$1(38);
37546 t2 = this.suffix;
37547 if (t2 != null)
37548 t1.write$1(0, t2);
37549 return null;
37550 },
37551 accept$1(visitor) {
37552 return this.accept$1$1(visitor, type$.dynamic);
37553 },
37554 unify$1(compound) {
37555 return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
37556 }
37557 };
37558 A.PlaceholderSelector.prototype = {
37559 get$isInvisible() {
37560 return true;
37561 },
37562 accept$1$1(visitor) {
37563 var t1 = visitor._serialize$_buffer;
37564 t1.writeCharCode$1(37);
37565 t1.write$1(0, this.name);
37566 return null;
37567 },
37568 accept$1(visitor) {
37569 return this.accept$1$1(visitor, type$.dynamic);
37570 },
37571 addSuffix$1(suffix) {
37572 return new A.PlaceholderSelector(this.name + suffix);
37573 },
37574 $eq(_, other) {
37575 if (other == null)
37576 return false;
37577 return other instanceof A.PlaceholderSelector && other.name === this.name;
37578 },
37579 get$hashCode(_) {
37580 return B.JSString_methods.get$hashCode(this.name);
37581 }
37582 };
37583 A.PseudoSelector.prototype = {
37584 get$isHostContext() {
37585 return this.isClass && this.name === "host-context" && this.selector != null;
37586 },
37587 get$minSpecificity() {
37588 if (this._pseudo$_minSpecificity == null)
37589 this._pseudo$_computeSpecificity$0();
37590 var t1 = this._pseudo$_minSpecificity;
37591 t1.toString;
37592 return t1;
37593 },
37594 get$maxSpecificity() {
37595 if (this._pseudo$_maxSpecificity == null)
37596 this._pseudo$_computeSpecificity$0();
37597 var t1 = this._pseudo$_maxSpecificity;
37598 t1.toString;
37599 return t1;
37600 },
37601 get$isInvisible() {
37602 var selector = this.selector;
37603 if (selector == null)
37604 return false;
37605 return this.name !== "not" && selector.get$isInvisible();
37606 },
37607 addSuffix$1(suffix) {
37608 var _this = this;
37609 if (_this.argument != null || _this.selector != null)
37610 _this.super$SimpleSelector$addSuffix(suffix);
37611 return A.PseudoSelector$(_this.name + suffix, null, !_this.isClass, null);
37612 },
37613 unify$1(compound) {
37614 var other, result, t2, addedThis, _i, simple, _this = this,
37615 t1 = _this.name;
37616 if (t1 === "host" || t1 === "host-context") {
37617 if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
37618 return null;
37619 } else if (compound.length === 1) {
37620 other = B.JSArray_methods.get$first(compound);
37621 if (!(other instanceof A.UniversalSelector))
37622 if (other instanceof A.PseudoSelector)
37623 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
37624 else
37625 t1 = false;
37626 else
37627 t1 = true;
37628 if (t1)
37629 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
37630 }
37631 if (B.JSArray_methods.contains$1(compound, _this))
37632 return compound;
37633 result = A._setArrayType([], type$.JSArray_SimpleSelector);
37634 for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
37635 simple = compound[_i];
37636 if (simple instanceof A.PseudoSelector && !simple.isClass) {
37637 if (t2)
37638 return null;
37639 result.push(_this);
37640 addedThis = true;
37641 }
37642 result.push(simple);
37643 }
37644 if (!addedThis)
37645 result.push(_this);
37646 return result;
37647 },
37648 _pseudo$_computeSpecificity$0() {
37649 var selector, t1, t2, minSpecificity, maxSpecificity, _i, complex, t3, _this = this;
37650 if (!_this.isClass) {
37651 _this._pseudo$_maxSpecificity = _this._pseudo$_minSpecificity = 1;
37652 return;
37653 }
37654 selector = _this.selector;
37655 if (selector == null) {
37656 _this._pseudo$_minSpecificity = A.SimpleSelector.prototype.get$minSpecificity.call(_this);
37657 _this._pseudo$_maxSpecificity = A.SimpleSelector.prototype.get$maxSpecificity.call(_this);
37658 return;
37659 }
37660 if (_this.name === "not") {
37661 for (t1 = selector.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37662 complex = t1[_i];
37663 if (complex._minSpecificity == null)
37664 complex._computeSpecificity$0();
37665 t3 = complex._minSpecificity;
37666 t3.toString;
37667 minSpecificity = Math.max(minSpecificity, t3);
37668 if (complex._complex$_maxSpecificity == null)
37669 complex._computeSpecificity$0();
37670 t3 = complex._complex$_maxSpecificity;
37671 t3.toString;
37672 maxSpecificity = Math.max(maxSpecificity, t3);
37673 }
37674 _this._pseudo$_minSpecificity = minSpecificity;
37675 _this._pseudo$_maxSpecificity = maxSpecificity;
37676 } else {
37677 minSpecificity = A._asInt(Math.pow(A.SimpleSelector.prototype.get$minSpecificity.call(_this), 3));
37678 for (t1 = selector.components, t2 = t1.length, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37679 complex = t1[_i];
37680 if (complex._minSpecificity == null)
37681 complex._computeSpecificity$0();
37682 t3 = complex._minSpecificity;
37683 t3.toString;
37684 minSpecificity = Math.min(minSpecificity, t3);
37685 if (complex._complex$_maxSpecificity == null)
37686 complex._computeSpecificity$0();
37687 t3 = complex._complex$_maxSpecificity;
37688 t3.toString;
37689 maxSpecificity = Math.max(maxSpecificity, t3);
37690 }
37691 _this._pseudo$_minSpecificity = minSpecificity;
37692 _this._pseudo$_maxSpecificity = maxSpecificity;
37693 }
37694 },
37695 accept$1$1(visitor) {
37696 return visitor.visitPseudoSelector$1(this);
37697 },
37698 accept$1(visitor) {
37699 return this.accept$1$1(visitor, type$.dynamic);
37700 },
37701 $eq(_, other) {
37702 var _this = this;
37703 if (other == null)
37704 return false;
37705 return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
37706 },
37707 get$hashCode(_) {
37708 var _this = this,
37709 t1 = B.JSString_methods.get$hashCode(_this.name),
37710 t2 = !_this.isClass ? 519018 : 218159;
37711 return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
37712 }
37713 };
37714 A.PseudoSelector_unify_closure.prototype = {
37715 call$1(simple) {
37716 var t1;
37717 if (simple instanceof A.PseudoSelector)
37718 t1 = simple.isClass && simple.name === "host" || simple.selector != null;
37719 else
37720 t1 = false;
37721 return t1;
37722 },
37723 $signature: 15
37724 };
37725 A.QualifiedName.prototype = {
37726 $eq(_, other) {
37727 if (other == null)
37728 return false;
37729 return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
37730 },
37731 get$hashCode(_) {
37732 return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
37733 },
37734 toString$0(_) {
37735 var t1 = this.namespace,
37736 t2 = this.name;
37737 return t1 == null ? t2 : t1 + "|" + t2;
37738 }
37739 };
37740 A.SimpleSelector.prototype = {
37741 get$minSpecificity() {
37742 return 1000;
37743 },
37744 get$maxSpecificity() {
37745 return this.get$minSpecificity();
37746 },
37747 addSuffix$1(suffix) {
37748 return A.throwExpression(A.SassScriptException$('Invalid parent selector "' + this.toString$0(0) + '"'));
37749 },
37750 unify$1(compound) {
37751 var other, t1, result, addedThis, _i, simple, _this = this;
37752 if (compound.length === 1) {
37753 other = B.JSArray_methods.get$first(compound);
37754 if (!(other instanceof A.UniversalSelector))
37755 if (other instanceof A.PseudoSelector)
37756 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
37757 else
37758 t1 = false;
37759 else
37760 t1 = true;
37761 if (t1)
37762 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
37763 }
37764 if (B.JSArray_methods.contains$1(compound, _this))
37765 return compound;
37766 result = A._setArrayType([], type$.JSArray_SimpleSelector);
37767 for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
37768 simple = compound[_i];
37769 if (!addedThis && simple instanceof A.PseudoSelector) {
37770 result.push(_this);
37771 addedThis = true;
37772 }
37773 result.push(simple);
37774 }
37775 if (!addedThis)
37776 result.push(_this);
37777 return result;
37778 }
37779 };
37780 A.TypeSelector.prototype = {
37781 get$minSpecificity() {
37782 return 1;
37783 },
37784 accept$1$1(visitor) {
37785 visitor._serialize$_buffer.write$1(0, this.name);
37786 return null;
37787 },
37788 accept$1(visitor) {
37789 return this.accept$1$1(visitor, type$.dynamic);
37790 },
37791 addSuffix$1(suffix) {
37792 var t1 = this.name;
37793 return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace));
37794 },
37795 unify$1(compound) {
37796 var unified, t1;
37797 if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector) {
37798 unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
37799 if (unified == null)
37800 return null;
37801 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
37802 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
37803 return t1;
37804 } else {
37805 t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
37806 B.JSArray_methods.addAll$1(t1, compound);
37807 return t1;
37808 }
37809 },
37810 $eq(_, other) {
37811 if (other == null)
37812 return false;
37813 return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
37814 },
37815 get$hashCode(_) {
37816 var t1 = this.name;
37817 return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
37818 }
37819 };
37820 A.UniversalSelector.prototype = {
37821 get$minSpecificity() {
37822 return 0;
37823 },
37824 accept$1$1(visitor) {
37825 var t2,
37826 t1 = this.namespace;
37827 if (t1 != null) {
37828 t2 = visitor._serialize$_buffer;
37829 t2.write$1(0, t1);
37830 t2.writeCharCode$1(124);
37831 }
37832 visitor._serialize$_buffer.writeCharCode$1(42);
37833 return null;
37834 },
37835 accept$1(visitor) {
37836 return this.accept$1$1(visitor, type$.dynamic);
37837 },
37838 unify$1(compound) {
37839 var unified, t1, _this = this,
37840 first = B.JSArray_methods.get$first(compound);
37841 if (first instanceof A.UniversalSelector || first instanceof A.TypeSelector) {
37842 unified = A.unifyUniversalAndElement(_this, first);
37843 if (unified == null)
37844 return null;
37845 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
37846 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
37847 return t1;
37848 } else {
37849 if (compound.length === 1)
37850 if (first instanceof A.PseudoSelector)
37851 t1 = first.isClass && first.name === "host" || first.get$isHostContext();
37852 else
37853 t1 = false;
37854 else
37855 t1 = false;
37856 if (t1)
37857 return null;
37858 }
37859 t1 = _this.namespace;
37860 if (t1 != null && t1 !== "*") {
37861 t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
37862 B.JSArray_methods.addAll$1(t1, compound);
37863 return t1;
37864 }
37865 if (compound.length !== 0)
37866 return compound;
37867 return A._setArrayType([_this], type$.JSArray_SimpleSelector);
37868 },
37869 $eq(_, other) {
37870 if (other == null)
37871 return false;
37872 return other instanceof A.UniversalSelector && other.namespace == this.namespace;
37873 },
37874 get$hashCode(_) {
37875 return J.get$hashCode$(this.namespace);
37876 }
37877 };
37878 A._compileStylesheet_closure0.prototype = {
37879 call$1(url) {
37880 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);
37881 },
37882 $signature: 5
37883 };
37884 A.AsyncEnvironment.prototype = {
37885 closure$0() {
37886 var t4, t5, t6, _this = this,
37887 t1 = _this._async_environment$_forwardedModules,
37888 t2 = _this._async_environment$_nestedForwardedModules,
37889 t3 = _this._async_environment$_variables;
37890 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
37891 t4 = _this._async_environment$_variableNodes;
37892 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
37893 t5 = _this._async_environment$_functions;
37894 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
37895 t6 = _this._async_environment$_mixins;
37896 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
37897 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);
37898 },
37899 addModule$3$namespace(module, nodeWithSpan, namespace) {
37900 var t1, t2, span, _this = this;
37901 if (namespace == null) {
37902 _this._async_environment$_globalModules.$indexSet(0, module, nodeWithSpan);
37903 _this._async_environment$_allModules.push(module);
37904 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment$_variables))); t1.moveNext$0();) {
37905 t2 = t1.get$current(t1);
37906 if (module.get$variables().containsKey$1(t2))
37907 throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".'));
37908 }
37909 } else {
37910 t1 = _this._async_environment$_modules;
37911 if (t1.containsKey$1(namespace)) {
37912 t1 = _this._async_environment$_namespaceNodes.$index(0, namespace);
37913 span = t1 == null ? null : t1.span;
37914 t1 = string$.There_ + namespace + '".';
37915 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
37916 if (span != null)
37917 t2.$indexSet(0, span, "original @use");
37918 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @use", t2));
37919 }
37920 t1.$indexSet(0, namespace, module);
37921 _this._async_environment$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
37922 _this._async_environment$_allModules.push(module);
37923 }
37924 },
37925 forwardModule$2(module, rule) {
37926 var view, t1, t2, _this = this,
37927 forwardedModules = _this._async_environment$_forwardedModules;
37928 if (forwardedModules == null)
37929 forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
37930 view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
37931 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
37932 t2 = t1.get$current(t1);
37933 _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
37934 _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
37935 _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
37936 }
37937 _this._async_environment$_allModules.push(module);
37938 forwardedModules.$indexSet(0, view, rule);
37939 },
37940 _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
37941 var larger, smaller, t1, t2, $name, span;
37942 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
37943 larger = oldMembers;
37944 smaller = newMembers;
37945 } else {
37946 larger = newMembers;
37947 smaller = oldMembers;
37948 }
37949 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
37950 $name = t1.get$current(t1);
37951 if (!larger.containsKey$1($name))
37952 continue;
37953 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
37954 continue;
37955 if (t2)
37956 $name = "$" + $name;
37957 t1 = this._async_environment$_forwardedModules;
37958 if (t1 == null)
37959 span = null;
37960 else {
37961 t1 = t1.$index(0, oldModule);
37962 span = t1 == null ? null : J.get$span$z(t1);
37963 }
37964 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
37965 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
37966 if (span != null)
37967 t2.$indexSet(0, span, "original @forward");
37968 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @forward", t2));
37969 }
37970 },
37971 importForwards$1(module) {
37972 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
37973 forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
37974 if (forwarded == null)
37975 return;
37976 forwardedModules = _this._async_environment$_forwardedModules;
37977 if (forwardedModules != null) {
37978 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
37979 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment$_globalModules; t2.moveNext$0();) {
37980 t4 = t2.get$current(t2);
37981 t5 = t4.key;
37982 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
37983 t1.$indexSet(0, t5, t4.value);
37984 }
37985 forwarded = t1;
37986 } else
37987 forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
37988 t1 = forwarded.get$keys(forwarded);
37989 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
37990 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure(), t2), t2._eval$1("Iterable.E"));
37991 t2 = forwarded.get$keys(forwarded);
37992 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
37993 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.AsyncEnvironment_importForwards_closure0(), t1), t1._eval$1("Iterable.E"));
37994 t1 = forwarded.get$keys(forwarded);
37995 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
37996 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure1(), t2), t2._eval$1("Iterable.E"));
37997 t1 = _this._async_environment$_variables;
37998 t2 = t1.length;
37999 if (t2 === 1) {
38000 for (t2 = _this._async_environment$_importedModules, t3 = t2.get$entries(t2).toList$0(0), t4 = t3.length, t5 = type$.AsyncCallable, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
38001 entry = t3[_i];
38002 module = entry.key;
38003 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
38004 if (shadowed != null) {
38005 t2.remove$1(0, module);
38006 t6 = shadowed.variables;
38007 if (t6.get$isEmpty(t6)) {
38008 t6 = shadowed.functions;
38009 if (t6.get$isEmpty(t6)) {
38010 t6 = shadowed.mixins;
38011 if (t6.get$isEmpty(t6)) {
38012 t6 = shadowed._shadowed_view$_inner;
38013 t6 = t6.get$css(t6);
38014 t6 = J.get$isEmpty$asx(t6.get$children(t6));
38015 } else
38016 t6 = false;
38017 } else
38018 t6 = false;
38019 } else
38020 t6 = false;
38021 if (!t6)
38022 t2.$indexSet(0, shadowed, entry.value);
38023 }
38024 }
38025 for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
38026 entry = t3[_i];
38027 module = entry.key;
38028 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
38029 if (shadowed != null) {
38030 forwardedModules.remove$1(0, module);
38031 t6 = shadowed.variables;
38032 if (t6.get$isEmpty(t6)) {
38033 t6 = shadowed.functions;
38034 if (t6.get$isEmpty(t6)) {
38035 t6 = shadowed.mixins;
38036 if (t6.get$isEmpty(t6)) {
38037 t6 = shadowed._shadowed_view$_inner;
38038 t6 = t6.get$css(t6);
38039 t6 = J.get$isEmpty$asx(t6.get$children(t6));
38040 } else
38041 t6 = false;
38042 } else
38043 t6 = false;
38044 } else
38045 t6 = false;
38046 if (!t6)
38047 forwardedModules.$indexSet(0, shadowed, entry.value);
38048 }
38049 }
38050 t2.addAll$1(0, forwarded);
38051 forwardedModules.addAll$1(0, forwarded);
38052 } else {
38053 t3 = _this._async_environment$_nestedForwardedModules;
38054 if (t3 == null) {
38055 _length = t2 - 1;
38056 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
38057 for (t2 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
38058 _list[_i] = A._setArrayType([], t2);
38059 _this._async_environment$_nestedForwardedModules = _list;
38060 t2 = _list;
38061 } else
38062 t2 = t3;
38063 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
38064 }
38065 for (t2 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = A._instanceType(t2)._precomputed1, t4 = _this._async_environment$_variableIndices, t5 = _this._async_environment$_variableNodes; t2.moveNext$0();) {
38066 t6 = t3._as(t2._collection$_current);
38067 t4.remove$1(0, t6);
38068 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
38069 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
38070 }
38071 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._async_environment$_functionIndices, t4 = _this._async_environment$_functions; t1.moveNext$0();) {
38072 t5 = t2._as(t1._collection$_current);
38073 t3.remove$1(0, t5);
38074 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
38075 }
38076 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._async_environment$_mixinIndices, t4 = _this._async_environment$_mixins; t1.moveNext$0();) {
38077 t5 = t2._as(t1._collection$_current);
38078 t3.remove$1(0, t5);
38079 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
38080 }
38081 },
38082 getVariable$2$namespace($name, namespace) {
38083 var t1, index, _this = this;
38084 if (namespace != null)
38085 return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
38086 if (_this._async_environment$_lastVariableName === $name) {
38087 t1 = _this._async_environment$_lastVariableIndex;
38088 t1.toString;
38089 t1 = J.$index$asx(_this._async_environment$_variables[t1], $name);
38090 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38091 }
38092 t1 = _this._async_environment$_variableIndices;
38093 index = t1.$index(0, $name);
38094 if (index != null) {
38095 _this._async_environment$_lastVariableName = $name;
38096 _this._async_environment$_lastVariableIndex = index;
38097 t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
38098 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38099 }
38100 index = _this._async_environment$_variableIndex$1($name);
38101 if (index == null)
38102 return _this._async_environment$_getVariableFromGlobalModule$1($name);
38103 _this._async_environment$_lastVariableName = $name;
38104 _this._async_environment$_lastVariableIndex = index;
38105 t1.$indexSet(0, $name, index);
38106 t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
38107 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38108 },
38109 getVariable$1($name) {
38110 return this.getVariable$2$namespace($name, null);
38111 },
38112 _async_environment$_getVariableFromGlobalModule$1($name) {
38113 return this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name), type$.Value);
38114 },
38115 getVariableNode$2$namespace($name, namespace) {
38116 var t1, index, _this = this;
38117 if (namespace != null)
38118 return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
38119 if (_this._async_environment$_lastVariableName === $name) {
38120 t1 = _this._async_environment$_lastVariableIndex;
38121 t1.toString;
38122 t1 = J.$index$asx(_this._async_environment$_variableNodes[t1], $name);
38123 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38124 }
38125 t1 = _this._async_environment$_variableIndices;
38126 index = t1.$index(0, $name);
38127 if (index != null) {
38128 _this._async_environment$_lastVariableName = $name;
38129 _this._async_environment$_lastVariableIndex = index;
38130 t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
38131 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38132 }
38133 index = _this._async_environment$_variableIndex$1($name);
38134 if (index == null)
38135 return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
38136 _this._async_environment$_lastVariableName = $name;
38137 _this._async_environment$_lastVariableIndex = index;
38138 t1.$indexSet(0, $name, index);
38139 t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
38140 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38141 },
38142 _async_environment$_getVariableNodeFromGlobalModule$1($name) {
38143 var t1, t2, value;
38144 for (t1 = this._async_environment$_importedModules, t2 = this._async_environment$_globalModules, t2 = t1.get$keys(t1).followedBy$1(0, t2.get$keys(t2)), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
38145 t1 = t2._currentIterator;
38146 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
38147 if (value != null)
38148 return value;
38149 }
38150 return null;
38151 },
38152 globalVariableExists$2$namespace($name, namespace) {
38153 if (namespace != null)
38154 return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
38155 if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
38156 return true;
38157 return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
38158 },
38159 globalVariableExists$1($name) {
38160 return this.globalVariableExists$2$namespace($name, null);
38161 },
38162 _async_environment$_variableIndex$1($name) {
38163 var t1, i;
38164 for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
38165 if (t1[i].containsKey$1($name))
38166 return i;
38167 return null;
38168 },
38169 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
38170 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
38171 if (namespace != null) {
38172 _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
38173 return;
38174 }
38175 if (global || _this._async_environment$_variables.length === 1) {
38176 _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
38177 t1 = _this._async_environment$_variables;
38178 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
38179 moduleWithName = _this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name), type$.Module_AsyncCallable);
38180 if (moduleWithName != null) {
38181 moduleWithName.setVariable$3($name, value, nodeWithSpan);
38182 return;
38183 }
38184 }
38185 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
38186 J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
38187 return;
38188 }
38189 nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
38190 if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
38191 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
38192 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
38193 t5 = t4._as(t3.__internal$_current);
38194 if (t5.get$variables().containsKey$1($name)) {
38195 t5.setVariable$3($name, value, nodeWithSpan);
38196 return;
38197 }
38198 }
38199 if (_this._async_environment$_lastVariableName === $name) {
38200 t1 = _this._async_environment$_lastVariableIndex;
38201 t1.toString;
38202 index = t1;
38203 } else
38204 index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
38205 if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
38206 index = _this._async_environment$_variables.length - 1;
38207 _this._async_environment$_variableIndices.$indexSet(0, $name, index);
38208 }
38209 _this._async_environment$_lastVariableName = $name;
38210 _this._async_environment$_lastVariableIndex = index;
38211 J.$indexSet$ax(_this._async_environment$_variables[index], $name, value);
38212 J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
38213 },
38214 setVariable$4$global($name, value, nodeWithSpan, global) {
38215 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
38216 },
38217 setLocalVariable$3($name, value, nodeWithSpan) {
38218 var index, _this = this,
38219 t1 = _this._async_environment$_variables,
38220 t2 = t1.length;
38221 _this._async_environment$_lastVariableName = $name;
38222 index = _this._async_environment$_lastVariableIndex = t2 - 1;
38223 _this._async_environment$_variableIndices.$indexSet(0, $name, index);
38224 J.$indexSet$ax(t1[index], $name, value);
38225 J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
38226 },
38227 getFunction$2$namespace($name, namespace) {
38228 var t1, index, _this = this;
38229 if (namespace != null) {
38230 t1 = _this._async_environment$_getModule$1(namespace);
38231 return t1.get$functions(t1).$index(0, $name);
38232 }
38233 t1 = _this._async_environment$_functionIndices;
38234 index = t1.$index(0, $name);
38235 if (index != null) {
38236 t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
38237 return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
38238 }
38239 index = _this._async_environment$_functionIndex$1($name);
38240 if (index == null)
38241 return _this._async_environment$_getFunctionFromGlobalModule$1($name);
38242 t1.$indexSet(0, $name, index);
38243 t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
38244 return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
38245 },
38246 _async_environment$_getFunctionFromGlobalModule$1($name) {
38247 return this._async_environment$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name), type$.AsyncCallable);
38248 },
38249 _async_environment$_functionIndex$1($name) {
38250 var t1, i;
38251 for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
38252 if (t1[i].containsKey$1($name))
38253 return i;
38254 return null;
38255 },
38256 getMixin$2$namespace($name, namespace) {
38257 var t1, index, _this = this;
38258 if (namespace != null)
38259 return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
38260 t1 = _this._async_environment$_mixinIndices;
38261 index = t1.$index(0, $name);
38262 if (index != null) {
38263 t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
38264 return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
38265 }
38266 index = _this._async_environment$_mixinIndex$1($name);
38267 if (index == null)
38268 return _this._async_environment$_getMixinFromGlobalModule$1($name);
38269 t1.$indexSet(0, $name, index);
38270 t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
38271 return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
38272 },
38273 _async_environment$_getMixinFromGlobalModule$1($name) {
38274 return this._async_environment$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name), type$.AsyncCallable);
38275 },
38276 _async_environment$_mixinIndex$1($name) {
38277 var t1, i;
38278 for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
38279 if (t1[i].containsKey$1($name))
38280 return i;
38281 return null;
38282 },
38283 withContent$2($content, callback) {
38284 return this.withContent$body$AsyncEnvironment($content, callback);
38285 },
38286 withContent$body$AsyncEnvironment($content, callback) {
38287 var $async$goto = 0,
38288 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
38289 $async$self = this, oldContent;
38290 var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38291 if ($async$errorCode === 1)
38292 return A._asyncRethrow($async$result, $async$completer);
38293 while (true)
38294 switch ($async$goto) {
38295 case 0:
38296 // Function start
38297 oldContent = $async$self._async_environment$_content;
38298 $async$self._async_environment$_content = $content;
38299 $async$goto = 2;
38300 return A._asyncAwait(callback.call$0(), $async$withContent$2);
38301 case 2:
38302 // returning from await.
38303 $async$self._async_environment$_content = oldContent;
38304 // implicit return
38305 return A._asyncReturn(null, $async$completer);
38306 }
38307 });
38308 return A._asyncStartSync($async$withContent$2, $async$completer);
38309 },
38310 asMixin$1(callback) {
38311 var $async$goto = 0,
38312 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
38313 $async$self = this, oldInMixin;
38314 var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38315 if ($async$errorCode === 1)
38316 return A._asyncRethrow($async$result, $async$completer);
38317 while (true)
38318 switch ($async$goto) {
38319 case 0:
38320 // Function start
38321 oldInMixin = $async$self._async_environment$_inMixin;
38322 $async$self._async_environment$_inMixin = true;
38323 $async$goto = 2;
38324 return A._asyncAwait(callback.call$0(), $async$asMixin$1);
38325 case 2:
38326 // returning from await.
38327 $async$self._async_environment$_inMixin = oldInMixin;
38328 // implicit return
38329 return A._asyncReturn(null, $async$completer);
38330 }
38331 });
38332 return A._asyncStartSync($async$asMixin$1, $async$completer);
38333 },
38334 scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
38335 return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
38336 },
38337 scope$1$1(callback, $T) {
38338 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
38339 },
38340 scope$1$2$when(callback, when, $T) {
38341 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
38342 },
38343 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
38344 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
38345 },
38346 scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
38347 var $async$goto = 0,
38348 $async$completer = A._makeAsyncAwaitCompleter($async$type),
38349 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5;
38350 var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38351 if ($async$errorCode === 1) {
38352 $async$currentError = $async$result;
38353 $async$goto = $async$handler;
38354 }
38355 while (true)
38356 switch ($async$goto) {
38357 case 0:
38358 // Function start
38359 semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
38360 wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
38361 $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
38362 $async$goto = !when ? 3 : 4;
38363 break;
38364 case 3:
38365 // then
38366 $async$handler = 5;
38367 $async$goto = 8;
38368 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
38369 case 8:
38370 // returning from await.
38371 t1 = $async$result;
38372 $async$returnValue = t1;
38373 $async$next = [1];
38374 // goto finally
38375 $async$goto = 6;
38376 break;
38377 $async$next.push(7);
38378 // goto finally
38379 $async$goto = 6;
38380 break;
38381 case 5:
38382 // uncaught
38383 $async$next = [2];
38384 case 6:
38385 // finally
38386 $async$handler = 2;
38387 $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
38388 // goto the next finally handler
38389 $async$goto = $async$next.pop();
38390 break;
38391 case 7:
38392 // after finally
38393 case 4:
38394 // join
38395 t1 = $async$self._async_environment$_variables;
38396 t2 = type$.String;
38397 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
38398 B.JSArray_methods.add$1($async$self._async_environment$_variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
38399 t3 = $async$self._async_environment$_functions;
38400 t4 = type$.AsyncCallable;
38401 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
38402 t5 = $async$self._async_environment$_mixins;
38403 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
38404 t4 = $async$self._async_environment$_nestedForwardedModules;
38405 if (t4 != null)
38406 t4.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
38407 $async$handler = 9;
38408 $async$goto = 12;
38409 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
38410 case 12:
38411 // returning from await.
38412 t2 = $async$result;
38413 $async$returnValue = t2;
38414 $async$next = [1];
38415 // goto finally
38416 $async$goto = 10;
38417 break;
38418 $async$next.push(11);
38419 // goto finally
38420 $async$goto = 10;
38421 break;
38422 case 9:
38423 // uncaught
38424 $async$next = [2];
38425 case 10:
38426 // finally
38427 $async$handler = 2;
38428 $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
38429 $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
38430 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();) {
38431 $name = t1.get$current(t1);
38432 t2.remove$1(0, $name);
38433 }
38434 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t3))), t2 = $async$self._async_environment$_functionIndices; t1.moveNext$0();) {
38435 name0 = t1.get$current(t1);
38436 t2.remove$1(0, name0);
38437 }
38438 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t5))), t2 = $async$self._async_environment$_mixinIndices; t1.moveNext$0();) {
38439 name1 = t1.get$current(t1);
38440 t2.remove$1(0, name1);
38441 }
38442 t1 = $async$self._async_environment$_nestedForwardedModules;
38443 if (t1 != null)
38444 t1.pop();
38445 // goto the next finally handler
38446 $async$goto = $async$next.pop();
38447 break;
38448 case 11:
38449 // after finally
38450 case 1:
38451 // return
38452 return A._asyncReturn($async$returnValue, $async$completer);
38453 case 2:
38454 // rethrow
38455 return A._asyncRethrow($async$currentError, $async$completer);
38456 }
38457 });
38458 return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
38459 },
38460 toImplicitConfiguration$0() {
38461 var t1, t2, i, values, nodes, t3, t4, t5, t6,
38462 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
38463 for (t1 = this._async_environment$_variables, t2 = this._async_environment$_variableNodes, i = 0; i < t1.length; ++i) {
38464 values = t1[i];
38465 nodes = t2[i];
38466 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
38467 t4 = t3.get$current(t3);
38468 t5 = t4.key;
38469 t4 = t4.value;
38470 t6 = nodes.$index(0, t5);
38471 t6.toString;
38472 configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
38473 }
38474 }
38475 return new A.Configuration(configuration);
38476 },
38477 toModule$2(css, extensionStore) {
38478 return A._EnvironmentModule__EnvironmentModule0(this, css, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
38479 },
38480 toDummyModule$0() {
38481 return A._EnvironmentModule__EnvironmentModule0(this, new A.CssStylesheet(new A.UnmodifiableListView(B.List_empty0, type$.UnmodifiableListView_CssNode), A.SourceFile$decoded(B.List_empty1, "<dummy module>").span$1(0, 0)), B.C_EmptyExtensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure()));
38482 },
38483 _async_environment$_getModule$1(namespace) {
38484 var module = this._async_environment$_modules.$index(0, namespace);
38485 if (module != null)
38486 return module;
38487 throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".'));
38488 },
38489 _async_environment$_fromOneModule$1$3($name, type, callback, $T) {
38490 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
38491 nestedForwardedModules = this._async_environment$_nestedForwardedModules;
38492 if (nestedForwardedModules != null)
38493 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
38494 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
38495 value = callback.call$1(t4._as(t3.__internal$_current));
38496 if (value != null)
38497 return value;
38498 }
38499 for (t1 = this._async_environment$_importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
38500 value = callback.call$1(t1.get$current(t1));
38501 if (value != null)
38502 return value;
38503 }
38504 for (t1 = this._async_environment$_globalModules, t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2), t3 = type$.AsyncCallable, value = null, identity = null; t2.moveNext$0();) {
38505 t4 = t2.get$current(t2);
38506 valueInModule = callback.call$1(t4);
38507 if (valueInModule == null)
38508 continue;
38509 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
38510 if (identityFromModule.$eq(0, identity))
38511 continue;
38512 if (value != null) {
38513 spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
38514 t2 = "This " + type + string$.x20is_av;
38515 t3 = type + " use";
38516 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
38517 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
38518 t5 = t1.get$current(t1);
38519 if (t5 != null)
38520 t4.$indexSet(0, t5, "includes " + type);
38521 }
38522 throw A.wrapException(A.MultiSpanSassScriptException$(t2, t3, t4));
38523 }
38524 identity = identityFromModule;
38525 value = valueInModule;
38526 }
38527 return value;
38528 }
38529 };
38530 A.AsyncEnvironment_importForwards_closure.prototype = {
38531 call$1(module) {
38532 var t1 = module.get$variables();
38533 return t1.get$keys(t1);
38534 },
38535 $signature: 112
38536 };
38537 A.AsyncEnvironment_importForwards_closure0.prototype = {
38538 call$1(module) {
38539 var t1 = module.get$functions(module);
38540 return t1.get$keys(t1);
38541 },
38542 $signature: 112
38543 };
38544 A.AsyncEnvironment_importForwards_closure1.prototype = {
38545 call$1(module) {
38546 var t1 = module.get$mixins();
38547 return t1.get$keys(t1);
38548 },
38549 $signature: 112
38550 };
38551 A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
38552 call$1(module) {
38553 return module.get$variables().$index(0, this.name);
38554 },
38555 $signature: 574
38556 };
38557 A.AsyncEnvironment_setVariable_closure.prototype = {
38558 call$0() {
38559 var t1 = this.$this;
38560 t1._async_environment$_lastVariableName = this.name;
38561 return t1._async_environment$_lastVariableIndex = 0;
38562 },
38563 $signature: 12
38564 };
38565 A.AsyncEnvironment_setVariable_closure0.prototype = {
38566 call$1(module) {
38567 return module.get$variables().containsKey$1(this.name) ? module : null;
38568 },
38569 $signature: 607
38570 };
38571 A.AsyncEnvironment_setVariable_closure1.prototype = {
38572 call$0() {
38573 var t1 = this.$this,
38574 t2 = t1._async_environment$_variableIndex$1(this.name);
38575 return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
38576 },
38577 $signature: 12
38578 };
38579 A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
38580 call$1(module) {
38581 return module.get$functions(module).$index(0, this.name);
38582 },
38583 $signature: 217
38584 };
38585 A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
38586 call$1(module) {
38587 return module.get$mixins().$index(0, this.name);
38588 },
38589 $signature: 217
38590 };
38591 A.AsyncEnvironment_toModule_closure.prototype = {
38592 call$1(modules) {
38593 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
38594 },
38595 $signature: 215
38596 };
38597 A.AsyncEnvironment_toDummyModule_closure.prototype = {
38598 call$1(modules) {
38599 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
38600 },
38601 $signature: 215
38602 };
38603 A.AsyncEnvironment__fromOneModule_closure.prototype = {
38604 call$1(entry) {
38605 return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure(entry, this.T));
38606 },
38607 $signature: 286
38608 };
38609 A.AsyncEnvironment__fromOneModule__closure.prototype = {
38610 call$1(_) {
38611 return J.get$span$z(this.entry.value);
38612 },
38613 $signature() {
38614 return this.T._eval$1("FileSpan(0)");
38615 }
38616 };
38617 A._EnvironmentModule0.prototype = {
38618 get$url(_) {
38619 var t1 = this.css;
38620 return t1.get$span(t1).file.url;
38621 },
38622 setVariable$3($name, value, nodeWithSpan) {
38623 var t1, t2,
38624 module = this._async_environment$_modulesByVariable.$index(0, $name);
38625 if (module != null) {
38626 module.setVariable$3($name, value, nodeWithSpan);
38627 return;
38628 }
38629 t1 = this._async_environment$_environment;
38630 t2 = t1._async_environment$_variables;
38631 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
38632 throw A.wrapException(A.SassScriptException$("Undefined variable."));
38633 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
38634 J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
38635 return;
38636 },
38637 variableIdentity$1($name) {
38638 var module = this._async_environment$_modulesByVariable.$index(0, $name);
38639 return module == null ? this : module.variableIdentity$1($name);
38640 },
38641 cloneCss$0() {
38642 var newCssAndExtensionStore, _this = this,
38643 t1 = _this.css;
38644 if (J.get$isEmpty$asx(t1.get$children(t1)))
38645 return _this;
38646 newCssAndExtensionStore = A.cloneCssStylesheet(t1, _this.extensionStore);
38647 return A._EnvironmentModule$_0(_this._async_environment$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._async_environment$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
38648 },
38649 toString$0(_) {
38650 var t1 = this.css;
38651 if (t1.get$span(t1).file.url == null)
38652 t1 = "<unknown url>";
38653 else {
38654 t1 = t1.get$span(t1);
38655 t1 = $.$get$context().prettyUri$1(t1.file.url);
38656 }
38657 return t1;
38658 },
38659 $isModule: 1,
38660 get$upstream() {
38661 return this.upstream;
38662 },
38663 get$variables() {
38664 return this.variables;
38665 },
38666 get$variableNodes() {
38667 return this.variableNodes;
38668 },
38669 get$functions(receiver) {
38670 return this.functions;
38671 },
38672 get$mixins() {
38673 return this.mixins;
38674 },
38675 get$extensionStore() {
38676 return this.extensionStore;
38677 },
38678 get$css(receiver) {
38679 return this.css;
38680 },
38681 get$transitivelyContainsCss() {
38682 return this.transitivelyContainsCss;
38683 },
38684 get$transitivelyContainsExtensions() {
38685 return this.transitivelyContainsExtensions;
38686 }
38687 };
38688 A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
38689 call$1(module) {
38690 return module.get$variables();
38691 },
38692 $signature: 292
38693 };
38694 A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
38695 call$1(module) {
38696 return module.get$variableNodes();
38697 },
38698 $signature: 294
38699 };
38700 A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
38701 call$1(module) {
38702 return module.get$functions(module);
38703 },
38704 $signature: 214
38705 };
38706 A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
38707 call$1(module) {
38708 return module.get$mixins();
38709 },
38710 $signature: 214
38711 };
38712 A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
38713 call$1(module) {
38714 return module.get$transitivelyContainsCss();
38715 },
38716 $signature: 143
38717 };
38718 A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
38719 call$1(module) {
38720 return module.get$transitivelyContainsExtensions();
38721 },
38722 $signature: 143
38723 };
38724 A.AsyncImportCache.prototype = {
38725 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
38726 return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
38727 },
38728 canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
38729 var $async$goto = 0,
38730 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
38731 $async$returnValue, $async$self = this, t1, relativeResult;
38732 var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38733 if ($async$errorCode === 1)
38734 return A._asyncRethrow($async$result, $async$completer);
38735 while (true)
38736 switch ($async$goto) {
38737 case 0:
38738 // Function start
38739 $async$goto = baseImporter != null ? 3 : 4;
38740 break;
38741 case 3:
38742 // then
38743 t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri;
38744 $async$goto = 5;
38745 return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_relativeCanonicalizeCache, new A.Tuple4(url, forImport, baseImporter, baseUrl, t1), new A.AsyncImportCache_canonicalize_closure($async$self, baseUrl, url, baseImporter, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri), $async$canonicalize$4$baseImporter$baseUrl$forImport);
38746 case 5:
38747 // returning from await.
38748 relativeResult = $async$result;
38749 if (relativeResult != null) {
38750 $async$returnValue = relativeResult;
38751 // goto return
38752 $async$goto = 1;
38753 break;
38754 }
38755 case 4:
38756 // join
38757 t1 = type$.Tuple2_Uri_bool;
38758 $async$goto = 6;
38759 return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_canonicalizeCache, new A.Tuple2(url, forImport, t1), new A.AsyncImportCache_canonicalize_closure0($async$self, url, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri), $async$canonicalize$4$baseImporter$baseUrl$forImport);
38760 case 6:
38761 // returning from await.
38762 $async$returnValue = $async$result;
38763 // goto return
38764 $async$goto = 1;
38765 break;
38766 case 1:
38767 // return
38768 return A._asyncReturn($async$returnValue, $async$completer);
38769 }
38770 });
38771 return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
38772 },
38773 _async_import_cache$_canonicalize$3(importer, url, forImport) {
38774 return this._canonicalize$body$AsyncImportCache(importer, url, forImport);
38775 },
38776 _canonicalize$body$AsyncImportCache(importer, url, forImport) {
38777 var $async$goto = 0,
38778 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
38779 $async$returnValue, $async$self = this, t1, result;
38780 var $async$_async_import_cache$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38781 if ($async$errorCode === 1)
38782 return A._asyncRethrow($async$result, $async$completer);
38783 while (true)
38784 switch ($async$goto) {
38785 case 0:
38786 // Function start
38787 if (forImport) {
38788 t1 = type$.nullable_Object;
38789 t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
38790 } else
38791 t1 = importer.canonicalize$1(0, url);
38792 $async$goto = 3;
38793 return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$3);
38794 case 3:
38795 // returning from await.
38796 result = $async$result;
38797 if ((result == null ? null : result.get$scheme()) === "")
38798 $async$self._async_import_cache$_logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
38799 $async$returnValue = result;
38800 // goto return
38801 $async$goto = 1;
38802 break;
38803 case 1:
38804 // return
38805 return A._asyncReturn($async$returnValue, $async$completer);
38806 }
38807 });
38808 return A._asyncStartSync($async$_async_import_cache$_canonicalize$3, $async$completer);
38809 },
38810 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
38811 return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet);
38812 },
38813 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
38814 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
38815 },
38816 importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet) {
38817 var $async$goto = 0,
38818 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
38819 $async$returnValue, $async$self = this;
38820 var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38821 if ($async$errorCode === 1)
38822 return A._asyncRethrow($async$result, $async$completer);
38823 while (true)
38824 switch ($async$goto) {
38825 case 0:
38826 // Function start
38827 $async$goto = 3;
38828 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);
38829 case 3:
38830 // returning from await.
38831 $async$returnValue = $async$result;
38832 // goto return
38833 $async$goto = 1;
38834 break;
38835 case 1:
38836 // return
38837 return A._asyncReturn($async$returnValue, $async$completer);
38838 }
38839 });
38840 return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
38841 },
38842 humanize$1(canonicalUrl) {
38843 var t2, url,
38844 t1 = this._async_import_cache$_canonicalizeCache;
38845 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri);
38846 t2 = t1.$ti;
38847 url = A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.AsyncImportCache_humanize_closure(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.AsyncImportCache_humanize_closure0(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.AsyncImportCache_humanize_closure1());
38848 if (url == null)
38849 return canonicalUrl;
38850 t1 = $.$get$url();
38851 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
38852 },
38853 sourceMapUrl$1(_, canonicalUrl) {
38854 var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
38855 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
38856 return t1 == null ? canonicalUrl : t1;
38857 }
38858 };
38859 A.AsyncImportCache_canonicalize_closure.prototype = {
38860 call$0() {
38861 var $async$goto = 0,
38862 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
38863 $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
38864 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38865 if ($async$errorCode === 1)
38866 return A._asyncRethrow($async$result, $async$completer);
38867 while (true)
38868 switch ($async$goto) {
38869 case 0:
38870 // Function start
38871 t1 = $async$self.baseUrl;
38872 resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
38873 if (resolvedUrl == null)
38874 resolvedUrl = $async$self.url;
38875 t1 = $async$self.baseImporter;
38876 $async$goto = 3;
38877 return A._asyncAwait($async$self.$this._async_import_cache$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
38878 case 3:
38879 // returning from await.
38880 canonicalUrl = $async$result;
38881 if (canonicalUrl == null) {
38882 $async$returnValue = null;
38883 // goto return
38884 $async$goto = 1;
38885 break;
38886 }
38887 $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri);
38888 // goto return
38889 $async$goto = 1;
38890 break;
38891 case 1:
38892 // return
38893 return A._asyncReturn($async$returnValue, $async$completer);
38894 }
38895 });
38896 return A._asyncStartSync($async$call$0, $async$completer);
38897 },
38898 $signature: 213
38899 };
38900 A.AsyncImportCache_canonicalize_closure0.prototype = {
38901 call$0() {
38902 var $async$goto = 0,
38903 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
38904 $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
38905 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38906 if ($async$errorCode === 1)
38907 return A._asyncRethrow($async$result, $async$completer);
38908 while (true)
38909 switch ($async$goto) {
38910 case 0:
38911 // Function start
38912 t1 = $async$self.$this, t2 = t1._async_import_cache$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
38913 case 3:
38914 // for condition
38915 if (!(_i < t2.length)) {
38916 // goto after for
38917 $async$goto = 5;
38918 break;
38919 }
38920 importer = t2[_i];
38921 $async$goto = 6;
38922 return A._asyncAwait(t1._async_import_cache$_canonicalize$3(importer, t4, t5), $async$call$0);
38923 case 6:
38924 // returning from await.
38925 canonicalUrl = $async$result;
38926 if (canonicalUrl != null) {
38927 $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri);
38928 // goto return
38929 $async$goto = 1;
38930 break;
38931 }
38932 case 4:
38933 // for update
38934 t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
38935 // goto for condition
38936 $async$goto = 3;
38937 break;
38938 case 5:
38939 // after for
38940 $async$returnValue = null;
38941 // goto return
38942 $async$goto = 1;
38943 break;
38944 case 1:
38945 // return
38946 return A._asyncReturn($async$returnValue, $async$completer);
38947 }
38948 });
38949 return A._asyncStartSync($async$call$0, $async$completer);
38950 },
38951 $signature: 213
38952 };
38953 A.AsyncImportCache__canonicalize_closure.prototype = {
38954 call$0() {
38955 return this.importer.canonicalize$1(0, this.url);
38956 },
38957 $signature: 209
38958 };
38959 A.AsyncImportCache_importCanonical_closure.prototype = {
38960 call$0() {
38961 var $async$goto = 0,
38962 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
38963 $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
38964 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38965 if ($async$errorCode === 1)
38966 return A._asyncRethrow($async$result, $async$completer);
38967 while (true)
38968 switch ($async$goto) {
38969 case 0:
38970 // Function start
38971 t1 = $async$self.canonicalUrl;
38972 $async$goto = 3;
38973 return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
38974 case 3:
38975 // returning from await.
38976 result = $async$result;
38977 if (result == null) {
38978 $async$returnValue = null;
38979 // goto return
38980 $async$goto = 1;
38981 break;
38982 }
38983 t2 = $async$self.$this;
38984 t2._async_import_cache$_resultsCache.$indexSet(0, t1, result);
38985 t3 = result.contents;
38986 t4 = result.syntax;
38987 t1 = $async$self.originalUrl.resolveUri$1(t1);
38988 $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t4, $async$self.quiet ? $.$get$Logger_quiet() : t2._async_import_cache$_logger, t1);
38989 // goto return
38990 $async$goto = 1;
38991 break;
38992 case 1:
38993 // return
38994 return A._asyncReturn($async$returnValue, $async$completer);
38995 }
38996 });
38997 return A._asyncStartSync($async$call$0, $async$completer);
38998 },
38999 $signature: 312
39000 };
39001 A.AsyncImportCache_humanize_closure.prototype = {
39002 call$1(tuple) {
39003 return tuple.item2.$eq(0, this.canonicalUrl);
39004 },
39005 $signature: 315
39006 };
39007 A.AsyncImportCache_humanize_closure0.prototype = {
39008 call$1(tuple) {
39009 return tuple.item3;
39010 },
39011 $signature: 317
39012 };
39013 A.AsyncImportCache_humanize_closure1.prototype = {
39014 call$1(url) {
39015 return url.get$path(url).length;
39016 },
39017 $signature: 80
39018 };
39019 A.AsyncBuiltInCallable.prototype = {
39020 callbackFor$2(positional, names) {
39021 return new A.Tuple2(this._async_built_in$_arguments, this._async_built_in$_callback, type$.Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value);
39022 },
39023 $isAsyncCallable: 1,
39024 get$name(receiver) {
39025 return this.name;
39026 }
39027 };
39028 A.AsyncBuiltInCallable$mixin_closure.prototype = {
39029 call$1($arguments) {
39030 return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
39031 },
39032 $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
39033 var $async$goto = 0,
39034 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
39035 $async$returnValue, $async$self = this;
39036 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
39037 if ($async$errorCode === 1)
39038 return A._asyncRethrow($async$result, $async$completer);
39039 while (true)
39040 switch ($async$goto) {
39041 case 0:
39042 // Function start
39043 $async$goto = 3;
39044 return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
39045 case 3:
39046 // returning from await.
39047 $async$returnValue = B.C__SassNull;
39048 // goto return
39049 $async$goto = 1;
39050 break;
39051 case 1:
39052 // return
39053 return A._asyncReturn($async$returnValue, $async$completer);
39054 }
39055 });
39056 return A._asyncStartSync($async$call$1, $async$completer);
39057 },
39058 $signature: 207
39059 };
39060 A.BuiltInCallable.prototype = {
39061 callbackFor$2(positional, names) {
39062 var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
39063 for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
39064 overload = t1[_i];
39065 t3 = overload.item1;
39066 if (t3.matches$2(positional, names))
39067 return overload;
39068 mismatchDistance = t3.$arguments.length - positional;
39069 if (minMismatchDistance != null) {
39070 t3 = Math.abs(mismatchDistance);
39071 t4 = Math.abs(minMismatchDistance);
39072 if (t3 > t4)
39073 continue;
39074 if (t3 === t4 && mismatchDistance < 0)
39075 continue;
39076 }
39077 minMismatchDistance = mismatchDistance;
39078 fuzzyMatch = overload;
39079 }
39080 if (fuzzyMatch != null)
39081 return fuzzyMatch;
39082 throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
39083 },
39084 withName$1($name) {
39085 return new A.BuiltInCallable($name, this._overloads);
39086 },
39087 $isCallable: 1,
39088 $isAsyncCallable: 1,
39089 $isAsyncBuiltInCallable: 1,
39090 get$name(receiver) {
39091 return this.name;
39092 }
39093 };
39094 A.BuiltInCallable$mixin_closure.prototype = {
39095 call$1($arguments) {
39096 this.callback.call$1($arguments);
39097 return B.C__SassNull;
39098 },
39099 $signature: 4
39100 };
39101 A.PlainCssCallable.prototype = {
39102 $eq(_, other) {
39103 if (other == null)
39104 return false;
39105 return other instanceof A.PlainCssCallable && this.name === other.name;
39106 },
39107 get$hashCode(_) {
39108 return B.JSString_methods.get$hashCode(this.name);
39109 },
39110 $isCallable: 1,
39111 $isAsyncCallable: 1,
39112 get$name(receiver) {
39113 return this.name;
39114 }
39115 };
39116 A.UserDefinedCallable.prototype = {
39117 get$name(_) {
39118 return this.declaration.name;
39119 },
39120 $isCallable: 1,
39121 $isAsyncCallable: 1
39122 };
39123 A._compileStylesheet_closure.prototype = {
39124 call$1(url) {
39125 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);
39126 },
39127 $signature: 5
39128 };
39129 A.CompileResult.prototype = {};
39130 A.Configuration.prototype = {
39131 throughForward$1($forward) {
39132 var prefix, shownVariables, hiddenVariables, t1,
39133 newValues = this._values;
39134 if (newValues.get$isEmpty(newValues))
39135 return B.Configuration_Map_empty;
39136 prefix = $forward.prefix;
39137 if (prefix != null)
39138 newValues = new A.UnprefixedMapView(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue);
39139 shownVariables = $forward.shownVariables;
39140 hiddenVariables = $forward.hiddenVariables;
39141 if (shownVariables != null)
39142 newValues = new A.LimitedMapView(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
39143 else {
39144 if (hiddenVariables != null) {
39145 t1 = hiddenVariables._base;
39146 t1 = t1.get$isNotEmpty(t1);
39147 } else
39148 t1 = false;
39149 if (t1)
39150 newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
39151 }
39152 return this._withValues$1(newValues);
39153 },
39154 _withValues$1(values) {
39155 return new A.Configuration(values);
39156 },
39157 toString$0(_) {
39158 var t1 = this._values;
39159 return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure(), type$.String).join$1(0, ", ") + ")";
39160 }
39161 };
39162 A.Configuration_toString_closure.prototype = {
39163 call$1(entry) {
39164 return "$" + A.S(entry.key) + ": " + A.S(entry.value);
39165 },
39166 $signature: 325
39167 };
39168 A.ExplicitConfiguration.prototype = {
39169 _withValues$1(values) {
39170 return new A.ExplicitConfiguration(this.nodeWithSpan, values);
39171 }
39172 };
39173 A.ConfiguredValue.prototype = {
39174 toString$0(_) {
39175 return A.serializeValue(this.value, true, true);
39176 }
39177 };
39178 A.Environment.prototype = {
39179 closure$0() {
39180 var t4, t5, t6, _this = this,
39181 t1 = _this._forwardedModules,
39182 t2 = _this._nestedForwardedModules,
39183 t3 = _this._variables;
39184 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
39185 t4 = _this._variableNodes;
39186 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
39187 t5 = _this._functions;
39188 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
39189 t6 = _this._mixins;
39190 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
39191 return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
39192 },
39193 addModule$3$namespace(module, nodeWithSpan, namespace) {
39194 var t1, t2, span, _this = this;
39195 if (namespace == null) {
39196 _this._globalModules.$indexSet(0, module, nodeWithSpan);
39197 _this._allModules.push(module);
39198 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._variables))); t1.moveNext$0();) {
39199 t2 = t1.get$current(t1);
39200 if (module.get$variables().containsKey$1(t2))
39201 throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".'));
39202 }
39203 } else {
39204 t1 = _this._environment$_modules;
39205 if (t1.containsKey$1(namespace)) {
39206 t1 = _this._namespaceNodes.$index(0, namespace);
39207 span = t1 == null ? null : t1.span;
39208 t1 = string$.There_ + namespace + '".';
39209 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39210 if (span != null)
39211 t2.$indexSet(0, span, "original @use");
39212 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @use", t2));
39213 }
39214 t1.$indexSet(0, namespace, module);
39215 _this._namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
39216 _this._allModules.push(module);
39217 }
39218 },
39219 forwardModule$2(module, rule) {
39220 var view, t1, t2, _this = this,
39221 forwardedModules = _this._forwardedModules;
39222 if (forwardedModules == null)
39223 forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39224 view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
39225 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
39226 t2 = t1.get$current(t1);
39227 _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
39228 _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
39229 _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
39230 }
39231 _this._allModules.push(module);
39232 forwardedModules.$indexSet(0, view, rule);
39233 },
39234 _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
39235 var larger, smaller, t1, t2, $name, span;
39236 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
39237 larger = oldMembers;
39238 smaller = newMembers;
39239 } else {
39240 larger = newMembers;
39241 smaller = oldMembers;
39242 }
39243 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
39244 $name = t1.get$current(t1);
39245 if (!larger.containsKey$1($name))
39246 continue;
39247 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
39248 continue;
39249 if (t2)
39250 $name = "$" + $name;
39251 t1 = this._forwardedModules;
39252 if (t1 == null)
39253 span = null;
39254 else {
39255 t1 = t1.$index(0, oldModule);
39256 span = t1 == null ? null : J.get$span$z(t1);
39257 }
39258 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
39259 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39260 if (span != null)
39261 t2.$indexSet(0, span, "original @forward");
39262 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @forward", t2));
39263 }
39264 },
39265 importForwards$1(module) {
39266 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
39267 forwarded = module._environment$_environment._forwardedModules;
39268 if (forwarded == null)
39269 return;
39270 forwardedModules = _this._forwardedModules;
39271 if (forwardedModules != null) {
39272 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39273 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._globalModules; t2.moveNext$0();) {
39274 t4 = t2.get$current(t2);
39275 t5 = t4.key;
39276 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
39277 t1.$indexSet(0, t5, t4.value);
39278 }
39279 forwarded = t1;
39280 } else
39281 forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39282 t1 = forwarded.get$keys(forwarded);
39283 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
39284 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure(), t2), t2._eval$1("Iterable.E"));
39285 t2 = forwarded.get$keys(forwarded);
39286 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
39287 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.Environment_importForwards_closure0(), t1), t1._eval$1("Iterable.E"));
39288 t1 = forwarded.get$keys(forwarded);
39289 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
39290 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure1(), t2), t2._eval$1("Iterable.E"));
39291 t1 = _this._variables;
39292 t2 = t1.length;
39293 if (t2 === 1) {
39294 for (t2 = _this._importedModules, t3 = t2.get$entries(t2).toList$0(0), t4 = t3.length, t5 = type$.Callable, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
39295 entry = t3[_i];
39296 module = entry.key;
39297 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
39298 if (shadowed != null) {
39299 t2.remove$1(0, module);
39300 t6 = shadowed.variables;
39301 if (t6.get$isEmpty(t6)) {
39302 t6 = shadowed.functions;
39303 if (t6.get$isEmpty(t6)) {
39304 t6 = shadowed.mixins;
39305 if (t6.get$isEmpty(t6)) {
39306 t6 = shadowed._shadowed_view$_inner;
39307 t6 = t6.get$css(t6);
39308 t6 = J.get$isEmpty$asx(t6.get$children(t6));
39309 } else
39310 t6 = false;
39311 } else
39312 t6 = false;
39313 } else
39314 t6 = false;
39315 if (!t6)
39316 t2.$indexSet(0, shadowed, entry.value);
39317 }
39318 }
39319 for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
39320 entry = t3[_i];
39321 module = entry.key;
39322 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
39323 if (shadowed != null) {
39324 forwardedModules.remove$1(0, module);
39325 t6 = shadowed.variables;
39326 if (t6.get$isEmpty(t6)) {
39327 t6 = shadowed.functions;
39328 if (t6.get$isEmpty(t6)) {
39329 t6 = shadowed.mixins;
39330 if (t6.get$isEmpty(t6)) {
39331 t6 = shadowed._shadowed_view$_inner;
39332 t6 = t6.get$css(t6);
39333 t6 = J.get$isEmpty$asx(t6.get$children(t6));
39334 } else
39335 t6 = false;
39336 } else
39337 t6 = false;
39338 } else
39339 t6 = false;
39340 if (!t6)
39341 forwardedModules.$indexSet(0, shadowed, entry.value);
39342 }
39343 }
39344 t2.addAll$1(0, forwarded);
39345 forwardedModules.addAll$1(0, forwarded);
39346 } else {
39347 t3 = _this._nestedForwardedModules;
39348 if (t3 == null) {
39349 _length = t2 - 1;
39350 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
39351 for (t2 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
39352 _list[_i] = A._setArrayType([], t2);
39353 _this._nestedForwardedModules = _list;
39354 t2 = _list;
39355 } else
39356 t2 = t3;
39357 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
39358 }
39359 for (t2 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = A._instanceType(t2)._precomputed1, t4 = _this._variableIndices, t5 = _this._variableNodes; t2.moveNext$0();) {
39360 t6 = t3._as(t2._collection$_current);
39361 t4.remove$1(0, t6);
39362 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
39363 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
39364 }
39365 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._functionIndices, t4 = _this._functions; t1.moveNext$0();) {
39366 t5 = t2._as(t1._collection$_current);
39367 t3.remove$1(0, t5);
39368 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
39369 }
39370 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._mixinIndices, t4 = _this._mixins; t1.moveNext$0();) {
39371 t5 = t2._as(t1._collection$_current);
39372 t3.remove$1(0, t5);
39373 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
39374 }
39375 },
39376 getVariable$2$namespace($name, namespace) {
39377 var t1, index, _this = this;
39378 if (namespace != null)
39379 return _this._getModule$1(namespace).get$variables().$index(0, $name);
39380 if (_this._lastVariableName === $name) {
39381 t1 = _this._lastVariableIndex;
39382 t1.toString;
39383 t1 = J.$index$asx(_this._variables[t1], $name);
39384 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39385 }
39386 t1 = _this._variableIndices;
39387 index = t1.$index(0, $name);
39388 if (index != null) {
39389 _this._lastVariableName = $name;
39390 _this._lastVariableIndex = index;
39391 t1 = J.$index$asx(_this._variables[index], $name);
39392 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39393 }
39394 index = _this._variableIndex$1($name);
39395 if (index == null)
39396 return _this._getVariableFromGlobalModule$1($name);
39397 _this._lastVariableName = $name;
39398 _this._lastVariableIndex = index;
39399 t1.$indexSet(0, $name, index);
39400 t1 = J.$index$asx(_this._variables[index], $name);
39401 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39402 },
39403 getVariable$1($name) {
39404 return this.getVariable$2$namespace($name, null);
39405 },
39406 _getVariableFromGlobalModule$1($name) {
39407 return this._fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name), type$.Value);
39408 },
39409 getVariableNode$2$namespace($name, namespace) {
39410 var t1, index, _this = this;
39411 if (namespace != null)
39412 return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
39413 if (_this._lastVariableName === $name) {
39414 t1 = _this._lastVariableIndex;
39415 t1.toString;
39416 t1 = J.$index$asx(_this._variableNodes[t1], $name);
39417 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39418 }
39419 t1 = _this._variableIndices;
39420 index = t1.$index(0, $name);
39421 if (index != null) {
39422 _this._lastVariableName = $name;
39423 _this._lastVariableIndex = index;
39424 t1 = J.$index$asx(_this._variableNodes[index], $name);
39425 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39426 }
39427 index = _this._variableIndex$1($name);
39428 if (index == null)
39429 return _this._getVariableNodeFromGlobalModule$1($name);
39430 _this._lastVariableName = $name;
39431 _this._lastVariableIndex = index;
39432 t1.$indexSet(0, $name, index);
39433 t1 = J.$index$asx(_this._variableNodes[index], $name);
39434 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39435 },
39436 _getVariableNodeFromGlobalModule$1($name) {
39437 var t1, t2, value;
39438 for (t1 = this._importedModules, t2 = this._globalModules, t2 = t1.get$keys(t1).followedBy$1(0, t2.get$keys(t2)), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
39439 t1 = t2._currentIterator;
39440 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
39441 if (value != null)
39442 return value;
39443 }
39444 return null;
39445 },
39446 globalVariableExists$2$namespace($name, namespace) {
39447 if (namespace != null)
39448 return this._getModule$1(namespace).get$variables().containsKey$1($name);
39449 if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
39450 return true;
39451 return this._getVariableFromGlobalModule$1($name) != null;
39452 },
39453 globalVariableExists$1($name) {
39454 return this.globalVariableExists$2$namespace($name, null);
39455 },
39456 _variableIndex$1($name) {
39457 var t1, i;
39458 for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
39459 if (t1[i].containsKey$1($name))
39460 return i;
39461 return null;
39462 },
39463 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
39464 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
39465 if (namespace != null) {
39466 _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
39467 return;
39468 }
39469 if (global || _this._variables.length === 1) {
39470 _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
39471 t1 = _this._variables;
39472 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
39473 moduleWithName = _this._fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure0($name), type$.Module_Callable);
39474 if (moduleWithName != null) {
39475 moduleWithName.setVariable$3($name, value, nodeWithSpan);
39476 return;
39477 }
39478 }
39479 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
39480 J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
39481 return;
39482 }
39483 nestedForwardedModules = _this._nestedForwardedModules;
39484 if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
39485 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
39486 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
39487 t5 = t4._as(t3.__internal$_current);
39488 if (t5.get$variables().containsKey$1($name)) {
39489 t5.setVariable$3($name, value, nodeWithSpan);
39490 return;
39491 }
39492 }
39493 if (_this._lastVariableName === $name) {
39494 t1 = _this._lastVariableIndex;
39495 t1.toString;
39496 index = t1;
39497 } else
39498 index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
39499 if (!_this._inSemiGlobalScope && index === 0) {
39500 index = _this._variables.length - 1;
39501 _this._variableIndices.$indexSet(0, $name, index);
39502 }
39503 _this._lastVariableName = $name;
39504 _this._lastVariableIndex = index;
39505 J.$indexSet$ax(_this._variables[index], $name, value);
39506 J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
39507 },
39508 setVariable$4$global($name, value, nodeWithSpan, global) {
39509 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
39510 },
39511 setLocalVariable$3($name, value, nodeWithSpan) {
39512 var index, _this = this,
39513 t1 = _this._variables,
39514 t2 = t1.length;
39515 _this._lastVariableName = $name;
39516 index = _this._lastVariableIndex = t2 - 1;
39517 _this._variableIndices.$indexSet(0, $name, index);
39518 J.$indexSet$ax(t1[index], $name, value);
39519 J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
39520 },
39521 getFunction$2$namespace($name, namespace) {
39522 var t1, index, _this = this;
39523 if (namespace != null) {
39524 t1 = _this._getModule$1(namespace);
39525 return t1.get$functions(t1).$index(0, $name);
39526 }
39527 t1 = _this._functionIndices;
39528 index = t1.$index(0, $name);
39529 if (index != null) {
39530 t1 = J.$index$asx(_this._functions[index], $name);
39531 return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
39532 }
39533 index = _this._functionIndex$1($name);
39534 if (index == null)
39535 return _this._getFunctionFromGlobalModule$1($name);
39536 t1.$indexSet(0, $name, index);
39537 t1 = J.$index$asx(_this._functions[index], $name);
39538 return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
39539 },
39540 _getFunctionFromGlobalModule$1($name) {
39541 return this._fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name), type$.Callable);
39542 },
39543 _functionIndex$1($name) {
39544 var t1, i;
39545 for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
39546 if (t1[i].containsKey$1($name))
39547 return i;
39548 return null;
39549 },
39550 getMixin$2$namespace($name, namespace) {
39551 var t1, index, _this = this;
39552 if (namespace != null)
39553 return _this._getModule$1(namespace).get$mixins().$index(0, $name);
39554 t1 = _this._mixinIndices;
39555 index = t1.$index(0, $name);
39556 if (index != null) {
39557 t1 = J.$index$asx(_this._mixins[index], $name);
39558 return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
39559 }
39560 index = _this._mixinIndex$1($name);
39561 if (index == null)
39562 return _this._getMixinFromGlobalModule$1($name);
39563 t1.$indexSet(0, $name, index);
39564 t1 = J.$index$asx(_this._mixins[index], $name);
39565 return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
39566 },
39567 _getMixinFromGlobalModule$1($name) {
39568 return this._fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name), type$.Callable);
39569 },
39570 _mixinIndex$1($name) {
39571 var t1, i;
39572 for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
39573 if (t1[i].containsKey$1($name))
39574 return i;
39575 return null;
39576 },
39577 scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
39578 var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, _this = this;
39579 semiGlobal = semiGlobal && _this._inSemiGlobalScope;
39580 wasInSemiGlobalScope = _this._inSemiGlobalScope;
39581 _this._inSemiGlobalScope = semiGlobal;
39582 if (!when)
39583 try {
39584 t1 = callback.call$0();
39585 return t1;
39586 } finally {
39587 _this._inSemiGlobalScope = wasInSemiGlobalScope;
39588 }
39589 t1 = _this._variables;
39590 t2 = type$.String;
39591 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
39592 B.JSArray_methods.add$1(_this._variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
39593 t3 = _this._functions;
39594 t4 = type$.Callable;
39595 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
39596 t5 = _this._mixins;
39597 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
39598 t4 = _this._nestedForwardedModules;
39599 if (t4 != null)
39600 t4.push(A._setArrayType([], type$.JSArray_Module_Callable));
39601 try {
39602 t2 = callback.call$0();
39603 return t2;
39604 } finally {
39605 _this._inSemiGlobalScope = wasInSemiGlobalScope;
39606 _this._lastVariableIndex = _this._lastVariableName = null;
39607 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
39608 $name = t1.get$current(t1);
39609 t2.remove$1(0, $name);
39610 }
39611 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t3))), t2 = _this._functionIndices; t1.moveNext$0();) {
39612 name0 = t1.get$current(t1);
39613 t2.remove$1(0, name0);
39614 }
39615 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t5))), t2 = _this._mixinIndices; t1.moveNext$0();) {
39616 name1 = t1.get$current(t1);
39617 t2.remove$1(0, name1);
39618 }
39619 t1 = _this._nestedForwardedModules;
39620 if (t1 != null)
39621 t1.pop();
39622 }
39623 },
39624 scope$1$1(callback, $T) {
39625 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
39626 },
39627 scope$1$2$when(callback, when, $T) {
39628 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
39629 },
39630 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
39631 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
39632 },
39633 toImplicitConfiguration$0() {
39634 var t1, t2, i, values, nodes, t3, t4, t5, t6,
39635 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
39636 for (t1 = this._variables, t2 = this._variableNodes, i = 0; i < t1.length; ++i) {
39637 values = t1[i];
39638 nodes = t2[i];
39639 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
39640 t4 = t3.get$current(t3);
39641 t5 = t4.key;
39642 t4 = t4.value;
39643 t6 = nodes.$index(0, t5);
39644 t6.toString;
39645 configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
39646 }
39647 }
39648 return new A.Configuration(configuration);
39649 },
39650 toModule$2(css, extensionStore) {
39651 return A._EnvironmentModule__EnvironmentModule(this, css, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
39652 },
39653 toDummyModule$0() {
39654 return A._EnvironmentModule__EnvironmentModule(this, new A.CssStylesheet(new A.UnmodifiableListView(B.List_empty0, type$.UnmodifiableListView_CssNode), A.SourceFile$decoded(B.List_empty1, "<dummy module>").span$1(0, 0)), B.C_EmptyExtensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toDummyModule_closure()));
39655 },
39656 _getModule$1(namespace) {
39657 var module = this._environment$_modules.$index(0, namespace);
39658 if (module != null)
39659 return module;
39660 throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".'));
39661 },
39662 _fromOneModule$1$3($name, type, callback, $T) {
39663 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
39664 nestedForwardedModules = this._nestedForwardedModules;
39665 if (nestedForwardedModules != null)
39666 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
39667 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
39668 value = callback.call$1(t4._as(t3.__internal$_current));
39669 if (value != null)
39670 return value;
39671 }
39672 for (t1 = this._importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
39673 value = callback.call$1(t1.get$current(t1));
39674 if (value != null)
39675 return value;
39676 }
39677 for (t1 = this._globalModules, t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
39678 t4 = t2.get$current(t2);
39679 valueInModule = callback.call$1(t4);
39680 if (valueInModule == null)
39681 continue;
39682 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
39683 if (identityFromModule.$eq(0, identity))
39684 continue;
39685 if (value != null) {
39686 spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
39687 t2 = "This " + type + string$.x20is_av;
39688 t3 = type + " use";
39689 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39690 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
39691 t5 = t1.get$current(t1);
39692 if (t5 != null)
39693 t4.$indexSet(0, t5, "includes " + type);
39694 }
39695 throw A.wrapException(A.MultiSpanSassScriptException$(t2, t3, t4));
39696 }
39697 identity = identityFromModule;
39698 value = valueInModule;
39699 }
39700 return value;
39701 }
39702 };
39703 A.Environment_importForwards_closure.prototype = {
39704 call$1(module) {
39705 var t1 = module.get$variables();
39706 return t1.get$keys(t1);
39707 },
39708 $signature: 107
39709 };
39710 A.Environment_importForwards_closure0.prototype = {
39711 call$1(module) {
39712 var t1 = module.get$functions(module);
39713 return t1.get$keys(t1);
39714 },
39715 $signature: 107
39716 };
39717 A.Environment_importForwards_closure1.prototype = {
39718 call$1(module) {
39719 var t1 = module.get$mixins();
39720 return t1.get$keys(t1);
39721 },
39722 $signature: 107
39723 };
39724 A.Environment__getVariableFromGlobalModule_closure.prototype = {
39725 call$1(module) {
39726 return module.get$variables().$index(0, this.name);
39727 },
39728 $signature: 328
39729 };
39730 A.Environment_setVariable_closure.prototype = {
39731 call$0() {
39732 var t1 = this.$this;
39733 t1._lastVariableName = this.name;
39734 return t1._lastVariableIndex = 0;
39735 },
39736 $signature: 12
39737 };
39738 A.Environment_setVariable_closure0.prototype = {
39739 call$1(module) {
39740 return module.get$variables().containsKey$1(this.name) ? module : null;
39741 },
39742 $signature: 329
39743 };
39744 A.Environment_setVariable_closure1.prototype = {
39745 call$0() {
39746 var t1 = this.$this,
39747 t2 = t1._variableIndex$1(this.name);
39748 return t2 == null ? t1._variables.length - 1 : t2;
39749 },
39750 $signature: 12
39751 };
39752 A.Environment__getFunctionFromGlobalModule_closure.prototype = {
39753 call$1(module) {
39754 return module.get$functions(module).$index(0, this.name);
39755 },
39756 $signature: 206
39757 };
39758 A.Environment__getMixinFromGlobalModule_closure.prototype = {
39759 call$1(module) {
39760 return module.get$mixins().$index(0, this.name);
39761 },
39762 $signature: 206
39763 };
39764 A.Environment_toModule_closure.prototype = {
39765 call$1(modules) {
39766 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
39767 },
39768 $signature: 203
39769 };
39770 A.Environment_toDummyModule_closure.prototype = {
39771 call$1(modules) {
39772 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
39773 },
39774 $signature: 203
39775 };
39776 A.Environment__fromOneModule_closure.prototype = {
39777 call$1(entry) {
39778 return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure(entry, this.T));
39779 },
39780 $signature: 334
39781 };
39782 A.Environment__fromOneModule__closure.prototype = {
39783 call$1(_) {
39784 return J.get$span$z(this.entry.value);
39785 },
39786 $signature() {
39787 return this.T._eval$1("FileSpan(0)");
39788 }
39789 };
39790 A._EnvironmentModule.prototype = {
39791 get$url(_) {
39792 var t1 = this.css;
39793 return t1.get$span(t1).file.url;
39794 },
39795 setVariable$3($name, value, nodeWithSpan) {
39796 var t1, t2,
39797 module = this._modulesByVariable.$index(0, $name);
39798 if (module != null) {
39799 module.setVariable$3($name, value, nodeWithSpan);
39800 return;
39801 }
39802 t1 = this._environment$_environment;
39803 t2 = t1._variables;
39804 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
39805 throw A.wrapException(A.SassScriptException$("Undefined variable."));
39806 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
39807 J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
39808 return;
39809 },
39810 variableIdentity$1($name) {
39811 var module = this._modulesByVariable.$index(0, $name);
39812 return module == null ? this : module.variableIdentity$1($name);
39813 },
39814 cloneCss$0() {
39815 var newCssAndExtensionStore, _this = this,
39816 t1 = _this.css;
39817 if (J.get$isEmpty$asx(t1.get$children(t1)))
39818 return _this;
39819 newCssAndExtensionStore = A.cloneCssStylesheet(t1, _this.extensionStore);
39820 return A._EnvironmentModule$_(_this._environment$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
39821 },
39822 toString$0(_) {
39823 var t1 = this.css;
39824 if (t1.get$span(t1).file.url == null)
39825 t1 = "<unknown url>";
39826 else {
39827 t1 = t1.get$span(t1);
39828 t1 = $.$get$context().prettyUri$1(t1.file.url);
39829 }
39830 return t1;
39831 },
39832 $isModule: 1,
39833 get$upstream() {
39834 return this.upstream;
39835 },
39836 get$variables() {
39837 return this.variables;
39838 },
39839 get$variableNodes() {
39840 return this.variableNodes;
39841 },
39842 get$functions(receiver) {
39843 return this.functions;
39844 },
39845 get$mixins() {
39846 return this.mixins;
39847 },
39848 get$extensionStore() {
39849 return this.extensionStore;
39850 },
39851 get$css(receiver) {
39852 return this.css;
39853 },
39854 get$transitivelyContainsCss() {
39855 return this.transitivelyContainsCss;
39856 },
39857 get$transitivelyContainsExtensions() {
39858 return this.transitivelyContainsExtensions;
39859 }
39860 };
39861 A._EnvironmentModule__EnvironmentModule_closure.prototype = {
39862 call$1(module) {
39863 return module.get$variables();
39864 },
39865 $signature: 335
39866 };
39867 A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
39868 call$1(module) {
39869 return module.get$variableNodes();
39870 },
39871 $signature: 337
39872 };
39873 A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
39874 call$1(module) {
39875 return module.get$functions(module);
39876 },
39877 $signature: 202
39878 };
39879 A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
39880 call$1(module) {
39881 return module.get$mixins();
39882 },
39883 $signature: 202
39884 };
39885 A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
39886 call$1(module) {
39887 return module.get$transitivelyContainsCss();
39888 },
39889 $signature: 117
39890 };
39891 A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
39892 call$1(module) {
39893 return module.get$transitivelyContainsExtensions();
39894 },
39895 $signature: 117
39896 };
39897 A.SassException.prototype = {
39898 get$trace(_) {
39899 return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
39900 },
39901 get$span(_) {
39902 return A.SourceSpanException.prototype.get$span.call(this, this);
39903 },
39904 toString$1$color(_, color) {
39905 var t2, _i, frame, t3, _this = this,
39906 buffer = new A.StringBuffer(""),
39907 t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
39908 buffer._contents = t1;
39909 buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
39910 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
39911 frame = t1[_i];
39912 if (J.get$length$asx(frame) === 0)
39913 continue;
39914 t3 = buffer._contents += "\n";
39915 buffer._contents = t3 + (" " + A.S(frame));
39916 }
39917 t1 = buffer._contents;
39918 return t1.charCodeAt(0) == 0 ? t1 : t1;
39919 },
39920 toString$0($receiver) {
39921 return this.toString$1$color($receiver, null);
39922 },
39923 toCssString$0() {
39924 var commentMessage, stringMessage, rune,
39925 t1 = $._glyphs,
39926 t2 = $._glyphs = B.C_AsciiGlyphSet,
39927 t3 = this.toString$1$color(0, false);
39928 t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
39929 commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
39930 $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
39931 stringMessage = new A.StringBuffer("");
39932 for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
39933 rune = t1._currentCodePoint;
39934 t2 = stringMessage._contents;
39935 if (rune > 255) {
39936 stringMessage._contents = t2 + A.Primitives_stringFromCharCode(92);
39937 t2 = stringMessage._contents += B.JSInt_methods.toRadixString$1(rune, 16);
39938 t2 = stringMessage._contents = t2 + A.Primitives_stringFromCharCode(32);
39939 } else
39940 t2 = stringMessage._contents = t2 + A.Primitives_stringFromCharCode(rune);
39941 }
39942 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}";
39943 }
39944 };
39945 A.MultiSpanSassException.prototype = {
39946 toString$1$color(_, color) {
39947 var t1, t2, _i, frame, _this = this,
39948 useColor = color === true && true,
39949 buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
39950 A.NullableExtension_andThen(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, useColor, null, null).highlight$0(), buffer.get$write(buffer));
39951 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
39952 frame = t1[_i];
39953 if (J.get$length$asx(frame) === 0)
39954 continue;
39955 buffer._contents += "\n";
39956 buffer._contents += " " + A.S(frame);
39957 }
39958 t1 = buffer._contents;
39959 return t1.charCodeAt(0) == 0 ? t1 : t1;
39960 },
39961 toString$0($receiver) {
39962 return this.toString$1$color($receiver, null);
39963 }
39964 };
39965 A.SassRuntimeException.prototype = {
39966 get$trace(receiver) {
39967 return this.trace;
39968 }
39969 };
39970 A.MultiSpanSassRuntimeException.prototype = {$isSassRuntimeException: 1,
39971 get$trace(receiver) {
39972 return this.trace;
39973 }
39974 };
39975 A.SassFormatException.prototype = {
39976 get$source() {
39977 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(this, this).file._decodedChars, 0, null), 0, null);
39978 },
39979 $isFormatException: 1,
39980 $isSourceSpanFormatException: 1
39981 };
39982 A.SassScriptException.prototype = {
39983 toString$0(_) {
39984 return this.message + string$.x0a_BUG_;
39985 },
39986 get$message(receiver) {
39987 return this.message;
39988 }
39989 };
39990 A.MultiSpanSassScriptException.prototype = {};
39991 A._writeSourceMap_closure.prototype = {
39992 call$1(url) {
39993 return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
39994 },
39995 $signature: 5
39996 };
39997 A.ExecutableOptions.prototype = {
39998 get$interactive() {
39999 var result, _this = this,
40000 value = _this.__ExecutableOptions_interactive;
40001 if (value === $) {
40002 result = new A.ExecutableOptions_interactive_closure(_this).call$0();
40003 A._lateInitializeOnceCheck(_this.__ExecutableOptions_interactive, "interactive");
40004 _this.__ExecutableOptions_interactive = result;
40005 value = result;
40006 }
40007 return value;
40008 },
40009 get$color() {
40010 var t1 = this._options;
40011 return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
40012 },
40013 get$emitErrorCss() {
40014 var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
40015 if (t1 == null) {
40016 this._ensureSources$0();
40017 t1 = this._sourcesToDestinations;
40018 t1 = t1.get$values(t1).any$1(0, new A.ExecutableOptions_emitErrorCss_closure());
40019 }
40020 return t1;
40021 },
40022 _ensureSources$0() {
40023 var t1, stdin, t2, t3, $directories, t4, t5, colonArgs, positionalArgs, t6, t7, t8, message, target, source, destination, seen, sourceAndDestination, _this = this, _null = null,
40024 _s32_ = "_sourceDirectoriesToDestinations",
40025 _s18_ = 'Duplicate source "';
40026 if (_this._sourcesToDestinations != null)
40027 return;
40028 t1 = _this._options;
40029 stdin = A._asBool(t1.$index(0, "stdin"));
40030 t2 = t1.rest;
40031 if (t2.get$length(t2) === 0 && !stdin)
40032 A.ExecutableOptions__fail("Compile Sass to CSS.");
40033 t3 = type$.String;
40034 $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
40035 for (t4 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t4)._precomputed1, colonArgs = false, positionalArgs = false; t4.moveNext$0();) {
40036 t6 = t5._as(t4.__internal$_current);
40037 t7 = t6.length;
40038 if (t7 === 0)
40039 A.ExecutableOptions__fail('Invalid argument "".');
40040 if (A.stringContainsUnchecked(t6, ":", 0)) {
40041 if (t7 > 2) {
40042 t8 = B.JSString_methods._codeUnitAt$1(t6, 0);
40043 if (!(t8 >= 97 && t8 <= 122))
40044 t8 = t8 >= 65 && t8 <= 90;
40045 else
40046 t8 = true;
40047 t8 = t8 && B.JSString_methods._codeUnitAt$1(t6, 1) === 58;
40048 } else
40049 t8 = false;
40050 if (t8) {
40051 if (2 > t7)
40052 A.throwExpression(A.RangeError$range(2, 0, t7, _null, _null));
40053 t7 = A.stringContainsUnchecked(t6, ":", 2);
40054 } else
40055 t7 = true;
40056 } else
40057 t7 = false;
40058 if (t7)
40059 colonArgs = true;
40060 else if (A.dirExists(t6))
40061 $directories.add$1(0, t6);
40062 else
40063 positionalArgs = true;
40064 }
40065 if (positionalArgs || t2.get$length(t2) === 0) {
40066 if (colonArgs)
40067 A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
40068 else if (stdin) {
40069 if (J.get$length$asx(t2._collection$_source) > 1)
40070 A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
40071 else if (A._asBool(t1.$index(0, "update")))
40072 A.ExecutableOptions__fail("--update is not allowed with --stdin.");
40073 else if (A._asBool(t1.$index(0, "watch")))
40074 A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
40075 t1 = t2.get$length(t2) === 0 ? _null : t2.get$first(t2);
40076 t2 = type$.dynamic;
40077 t3 = type$.nullable_String;
40078 _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
40079 } else {
40080 t3 = t2._collection$_source;
40081 t4 = J.getInterceptor$asx(t3);
40082 if (t4.get$length(t3) > 2)
40083 A.ExecutableOptions__fail("Only two positional args may be passed.");
40084 else if ($directories._collection$_length !== 0) {
40085 message = 'Directory "' + A.S($directories.get$first($directories)) + '" may not be a positional arg.';
40086 target = t2.get$last(t2);
40087 A.ExecutableOptions__fail(J.$eq$($directories.get$first($directories), t2.get$first(t2)) && !A.fileExists(target) ? message + ('\nTo compile all CSS in "' + A.S($directories.get$first($directories)) + '" to "' + target + '", use `sass ' + A.S($directories.get$first($directories)) + ":" + target + "`.") : message);
40088 } else {
40089 source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
40090 destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
40091 if (destination == null)
40092 if (A._asBool(t1.$index(0, "update")))
40093 A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
40094 else if (A._asBool(t1.$index(0, "watch")))
40095 A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
40096 t1 = A.PathMap__create(_null, type$.nullable_String);
40097 t1.$indexSet(0, source, destination);
40098 _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
40099 }
40100 }
40101 A._lateWriteOnceCheck(_this.__ExecutableOptions__sourceDirectoriesToDestinations, _s32_);
40102 _this.__ExecutableOptions__sourceDirectoriesToDestinations = B.Map_empty5;
40103 return;
40104 }
40105 if (stdin)
40106 A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
40107 seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
40108 t1 = A.PathMap__create(_null, t3);
40109 t4 = type$.PathMap_String;
40110 t3 = A.PathMap__create(_null, t3);
40111 for (t2 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
40112 t6 = t5._as(t2.__internal$_current);
40113 if ($directories.contains$1(0, t6)) {
40114 if (!seen.add$1(0, t6))
40115 A.ExecutableOptions__fail(_s18_ + t6 + '".');
40116 t3.$indexSet(0, t6, t6);
40117 t1.addAll$1(0, _this._listSourceDirectory$2(t6, t6));
40118 continue;
40119 }
40120 sourceAndDestination = _this._splitSourceAndDestination$1(t6);
40121 source = sourceAndDestination.item1;
40122 destination = sourceAndDestination.item2;
40123 if (!seen.add$1(0, source))
40124 A.ExecutableOptions__fail(_s18_ + source + '".');
40125 if (source === "-")
40126 t1.$indexSet(0, _null, destination);
40127 else if (A.dirExists(source)) {
40128 t3.$indexSet(0, source, destination);
40129 t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
40130 } else
40131 t1.$indexSet(0, source, destination);
40132 }
40133 _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t4), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
40134 A._lateWriteOnceCheck(_this.__ExecutableOptions__sourceDirectoriesToDestinations, _s32_);
40135 _this.__ExecutableOptions__sourceDirectoriesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t3, t4), type$.UnmodifiableMapView_of_nullable_String_and_String);
40136 },
40137 _splitSourceAndDestination$1(argument) {
40138 var t1, i, t2, t3, nextColon;
40139 for (t1 = argument.length, i = 0; i < t1; ++i) {
40140 if (i === 1) {
40141 t2 = i - 1;
40142 if (t1 > t2 + 2) {
40143 t3 = B.JSString_methods.codeUnitAt$1(argument, t2);
40144 if (!(t3 >= 97 && t3 <= 122))
40145 t3 = t3 >= 65 && t3 <= 90;
40146 else
40147 t3 = true;
40148 t2 = t3 && B.JSString_methods.codeUnitAt$1(argument, t2 + 1) === 58;
40149 } else
40150 t2 = false;
40151 } else
40152 t2 = false;
40153 if (t2)
40154 continue;
40155 if (B.JSString_methods._codeUnitAt$1(argument, i) === 58) {
40156 t2 = i + 1;
40157 nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
40158 if (nextColon === i + 2)
40159 if (t1 > t2 + 2) {
40160 t1 = B.JSString_methods._codeUnitAt$1(argument, t2);
40161 if (!(t1 >= 97 && t1 <= 122))
40162 t1 = t1 >= 65 && t1 <= 90;
40163 else
40164 t1 = true;
40165 t1 = t1 && B.JSString_methods._codeUnitAt$1(argument, t2 + 1) === 58;
40166 } else
40167 t1 = false;
40168 else
40169 t1 = false;
40170 if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
40171 A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
40172 return new A.Tuple2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2), type$.Tuple2_String_String);
40173 }
40174 }
40175 throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
40176 },
40177 _listSourceDirectory$2(source, destination) {
40178 var t2, t3, t4, t5, t6, t7, parts,
40179 t1 = type$.String;
40180 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
40181 for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination, t4 = type$.JSArray_nullable_String, t5 = type$.WhereTypeIterable_String; t2.moveNext$0();) {
40182 t6 = t2.get$current(t2);
40183 if (this._isEntrypoint$1(t6))
40184 t7 = !(t3 && A.ParsedPath_ParsedPath$parse(t6, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
40185 else
40186 t7 = false;
40187 if (t7) {
40188 t7 = $.$get$context();
40189 parts = A._setArrayType([destination, t7.withoutExtension$1(t7.relative$2$from(t6, source)) + ".css", null, null, null, null, null, null], t4);
40190 A._validateArgList("join", parts);
40191 t1.$indexSet(0, t6, t7.joinAll$1(new A.WhereTypeIterable(parts, t5)));
40192 }
40193 }
40194 return t1;
40195 },
40196 _isEntrypoint$1(path) {
40197 var extension,
40198 t1 = $.$get$context().style;
40199 if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
40200 return false;
40201 extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
40202 return extension === ".scss" || extension === ".sass" || extension === ".css";
40203 },
40204 get$_writeToStdout() {
40205 var t1, _this = this;
40206 _this._ensureSources$0();
40207 t1 = _this._sourcesToDestinations;
40208 if (t1.get$length(t1) === 1) {
40209 _this._ensureSources$0();
40210 t1 = _this._sourcesToDestinations;
40211 t1 = t1.get$values(t1);
40212 t1 = t1.get$single(t1) == null;
40213 } else
40214 t1 = false;
40215 return t1;
40216 },
40217 get$emitSourceMap() {
40218 var _this = this,
40219 _s10_ = "source-map",
40220 _s15_ = "source-map-urls",
40221 _s13_ = "embed-sources",
40222 _s16_ = "embed-source-map",
40223 t1 = _this._options;
40224 if (!A._asBool(t1.$index(0, _s10_)))
40225 if (t1.wasParsed$1(_s15_))
40226 A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
40227 else if (t1.wasParsed$1(_s13_))
40228 A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
40229 else if (t1.wasParsed$1(_s16_))
40230 A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
40231 if (!_this.get$_writeToStdout())
40232 return A._asBool(t1.$index(0, _s10_));
40233 if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
40234 A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
40235 if (A._asBool(t1.$index(0, _s16_)))
40236 return A._asBool(t1.$index(0, _s10_));
40237 else if (J.$eq$(_this._ifParsed$1(_s10_), true))
40238 A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
40239 else if (t1.wasParsed$1(_s15_))
40240 A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
40241 else if (A._asBool(t1.$index(0, _s13_)))
40242 A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
40243 else
40244 return false;
40245 },
40246 sourceMapUrl$2(_, url, destination) {
40247 var t1, path, t2, _null = null;
40248 if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
40249 return url;
40250 t1 = $.$get$context();
40251 path = t1.style.pathFromUri$1(A._parseUri(url));
40252 if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
40253 destination.toString;
40254 t2 = t1.relative$2$from(path, t1.dirname$1(destination));
40255 } else
40256 t2 = t1.absolute$7(path, _null, _null, _null, _null, _null, _null);
40257 return t1.toUri$1(t2);
40258 },
40259 _ifParsed$1($name) {
40260 var t1 = this._options;
40261 return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
40262 }
40263 };
40264 A.ExecutableOptions__parser_closure.prototype = {
40265 call$0() {
40266 var t1 = type$.String,
40267 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
40268 t3 = [],
40269 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);
40270 parser.addOption$2$hide("precision", true);
40271 parser.addFlag$2$hide("async", true);
40272 t3.push(A.ExecutableOptions__separator("Input and Output"));
40273 parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
40274 parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
40275 parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
40276 t1 = type$.JSArray_String;
40277 parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t1), "expanded", "Output style.", "NAME");
40278 parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
40279 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.");
40280 parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
40281 t3.push(A.ExecutableOptions__separator("Source Maps"));
40282 parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
40283 parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t1), "relative", "How to link from source maps to source files.");
40284 parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
40285 parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
40286 t3.push(A.ExecutableOptions__separator("Other"));
40287 parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
40288 parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
40289 parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
40290 parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
40291 parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
40292 parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
40293 parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
40294 parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
40295 parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
40296 parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
40297 parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
40298 parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
40299 return parser;
40300 },
40301 $signature: 340
40302 };
40303 A.ExecutableOptions_interactive_closure.prototype = {
40304 call$0() {
40305 var invalidOptions, _i, option,
40306 t1 = this.$this._options;
40307 if (!A._asBool(t1.$index(0, "interactive")))
40308 return false;
40309 invalidOptions = ["stdin", "indented", "style", "source-map", "source-map-urls", "embed-sources", "embed-source-map", "update", "watch"];
40310 for (_i = 0; _i < 9; ++_i) {
40311 option = invalidOptions[_i];
40312 if (!t1._parser.options._map.containsKey$1(option))
40313 A.throwExpression(A.ArgumentError$('Could not find an option named "' + option + '".', null));
40314 if (t1._parsed.containsKey$1(option))
40315 throw A.wrapException(A.UsageException$("--" + option + " isn't allowed with --interactive."));
40316 }
40317 return true;
40318 },
40319 $signature: 26
40320 };
40321 A.ExecutableOptions_emitErrorCss_closure.prototype = {
40322 call$1(destination) {
40323 return destination != null;
40324 },
40325 $signature: 223
40326 };
40327 A.UsageException.prototype = {$isException: 1,
40328 get$message(receiver) {
40329 return this.message;
40330 }
40331 };
40332 A.watch_closure.prototype = {
40333 call$1(dir) {
40334 for (; !A.dirExists(dir);)
40335 dir = $.$get$context().dirname$1(dir);
40336 return this.dirWatcher.watch$1(0, dir);
40337 },
40338 $signature: 345
40339 };
40340 A._Watcher.prototype = {
40341 compile$3$ifModified(_, source, destination, ifModified) {
40342 return this.compile$body$_Watcher(0, source, destination, ifModified);
40343 },
40344 compile$2($receiver, source, destination) {
40345 return this.compile$3$ifModified($receiver, source, destination, false);
40346 },
40347 compile$body$_Watcher(_, source, destination, ifModified) {
40348 var $async$goto = 0,
40349 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40350 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, path, exception, t1, t2, $async$exception;
40351 var $async$compile$3$ifModified = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40352 if ($async$errorCode === 1) {
40353 $async$currentError = $async$result;
40354 $async$goto = $async$handler;
40355 }
40356 while (true)
40357 switch ($async$goto) {
40358 case 0:
40359 // Function start
40360 $async$handler = 4;
40361 $async$goto = 7;
40362 return A._asyncAwait(A.compileStylesheet($async$self._watch$_options, $async$self._graph, source, destination, ifModified), $async$compile$3$ifModified);
40363 case 7:
40364 // returning from await.
40365 $async$returnValue = true;
40366 // goto return
40367 $async$goto = 1;
40368 break;
40369 $async$handler = 2;
40370 // goto after finally
40371 $async$goto = 6;
40372 break;
40373 case 4:
40374 // catch
40375 $async$handler = 3;
40376 $async$exception = $async$currentError;
40377 t1 = A.unwrapException($async$exception);
40378 if (t1 instanceof A.SassException) {
40379 error = t1;
40380 stackTrace = A.getTraceFromException($async$exception);
40381 t1 = $async$self._watch$_options;
40382 if (!t1.get$emitErrorCss())
40383 $async$self._delete$1(destination);
40384 t1 = J.toString$1$color$(error, t1.get$color());
40385 t2 = A.getTrace(error);
40386 $async$self._printError$2(t1, t2 == null ? stackTrace : t2);
40387 J.set$exitCode$x(self.process, 65);
40388 $async$returnValue = false;
40389 // goto return
40390 $async$goto = 1;
40391 break;
40392 } else if (t1 instanceof A.FileSystemException) {
40393 error0 = t1;
40394 stackTrace0 = A.getTraceFromException($async$exception);
40395 path = error0.path;
40396 t1 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
40397 t2 = A.getTrace(error0);
40398 $async$self._printError$2(t1, t2 == null ? stackTrace0 : t2);
40399 J.set$exitCode$x(self.process, 66);
40400 $async$returnValue = false;
40401 // goto return
40402 $async$goto = 1;
40403 break;
40404 } else
40405 throw $async$exception;
40406 // goto after finally
40407 $async$goto = 6;
40408 break;
40409 case 3:
40410 // uncaught
40411 // goto rethrow
40412 $async$goto = 2;
40413 break;
40414 case 6:
40415 // after finally
40416 case 1:
40417 // return
40418 return A._asyncReturn($async$returnValue, $async$completer);
40419 case 2:
40420 // rethrow
40421 return A._asyncRethrow($async$currentError, $async$completer);
40422 }
40423 });
40424 return A._asyncStartSync($async$compile$3$ifModified, $async$completer);
40425 },
40426 _delete$1(path) {
40427 var buffer, t1, exception;
40428 try {
40429 A.deleteFile(path);
40430 buffer = new A.StringBuffer("");
40431 t1 = this._watch$_options;
40432 if (t1.get$color())
40433 buffer._contents += "\x1b[33m";
40434 buffer._contents += "Deleted " + path + ".";
40435 if (t1.get$color())
40436 buffer._contents += "\x1b[0m";
40437 A.print(buffer);
40438 } catch (exception) {
40439 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
40440 throw exception;
40441 }
40442 },
40443 _printError$2(message, stackTrace) {
40444 var t2,
40445 t1 = $.$get$stderr();
40446 t1.writeln$1(message);
40447 t2 = this._watch$_options._options;
40448 if (A._asBool(t2.$index(0, "trace"))) {
40449 t1.writeln$0();
40450 t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
40451 }
40452 if (!A._asBool(t2.$index(0, "stop-on-error")))
40453 t1.writeln$0();
40454 },
40455 watch$1(_, watcher) {
40456 return this.watch$body$_Watcher(0, watcher);
40457 },
40458 watch$body$_Watcher(_, watcher) {
40459 var $async$goto = 0,
40460 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
40461 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, $event, extension, success, success0, success1, t2, t1;
40462 var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40463 if ($async$errorCode === 1) {
40464 $async$currentError = $async$result;
40465 $async$goto = $async$handler;
40466 }
40467 while (true)
40468 switch ($async$goto) {
40469 case 0:
40470 // Function start
40471 t1 = A._lateReadCheck(watcher._group.__StreamGroup__controller, "_controller");
40472 t1 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
40473 $async$handler = 3;
40474 t2 = $async$self._watch$_options._options;
40475 case 6:
40476 // for condition
40477 $async$goto = 8;
40478 return A._asyncAwait(t1.moveNext$0(), $async$watch$1);
40479 case 8:
40480 // returning from await.
40481 if (!$async$result) {
40482 // goto after for
40483 $async$goto = 7;
40484 break;
40485 }
40486 $event = t1.get$current(t1);
40487 extension = A.ParsedPath_ParsedPath$parse($event.path, $.$get$context().style)._splitExtension$1(1)[1];
40488 if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css")) {
40489 // goto for condition
40490 $async$goto = 6;
40491 break;
40492 }
40493 case 9:
40494 // switch
40495 switch ($event.type) {
40496 case B.ChangeType_modify:
40497 // goto case
40498 $async$goto = 11;
40499 break;
40500 case B.ChangeType_add:
40501 // goto case
40502 $async$goto = 12;
40503 break;
40504 case B.ChangeType_remove:
40505 // goto case
40506 $async$goto = 13;
40507 break;
40508 default:
40509 // goto after switch
40510 $async$goto = 10;
40511 break;
40512 }
40513 break;
40514 case 11:
40515 // case
40516 $async$goto = 14;
40517 return A._asyncAwait($async$self._handleModify$1($event.path), $async$watch$1);
40518 case 14:
40519 // returning from await.
40520 success = $async$result;
40521 if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
40522 $async$next = [1];
40523 // goto finally
40524 $async$goto = 4;
40525 break;
40526 }
40527 // goto after switch
40528 $async$goto = 10;
40529 break;
40530 case 12:
40531 // case
40532 $async$goto = 15;
40533 return A._asyncAwait($async$self._handleAdd$1($event.path), $async$watch$1);
40534 case 15:
40535 // returning from await.
40536 success0 = $async$result;
40537 if (!success0 && A._asBool(t2.$index(0, "stop-on-error"))) {
40538 $async$next = [1];
40539 // goto finally
40540 $async$goto = 4;
40541 break;
40542 }
40543 // goto after switch
40544 $async$goto = 10;
40545 break;
40546 case 13:
40547 // case
40548 $async$goto = 16;
40549 return A._asyncAwait($async$self._handleRemove$1($event.path), $async$watch$1);
40550 case 16:
40551 // returning from await.
40552 success1 = $async$result;
40553 if (!success1 && A._asBool(t2.$index(0, "stop-on-error"))) {
40554 $async$next = [1];
40555 // goto finally
40556 $async$goto = 4;
40557 break;
40558 }
40559 // goto after switch
40560 $async$goto = 10;
40561 break;
40562 case 10:
40563 // after switch
40564 // goto for condition
40565 $async$goto = 6;
40566 break;
40567 case 7:
40568 // after for
40569 $async$next.push(5);
40570 // goto finally
40571 $async$goto = 4;
40572 break;
40573 case 3:
40574 // uncaught
40575 $async$next = [2];
40576 case 4:
40577 // finally
40578 $async$handler = 2;
40579 $async$goto = 17;
40580 return A._asyncAwait(t1.cancel$0(), $async$watch$1);
40581 case 17:
40582 // returning from await.
40583 // goto the next finally handler
40584 $async$goto = $async$next.pop();
40585 break;
40586 case 5:
40587 // after finally
40588 case 1:
40589 // return
40590 return A._asyncReturn($async$returnValue, $async$completer);
40591 case 2:
40592 // rethrow
40593 return A._asyncRethrow($async$currentError, $async$completer);
40594 }
40595 });
40596 return A._asyncStartSync($async$watch$1, $async$completer);
40597 },
40598 _handleModify$1(path) {
40599 return this._handleModify$body$_Watcher(path);
40600 },
40601 _handleModify$body$_Watcher(path) {
40602 var $async$goto = 0,
40603 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40604 $async$returnValue, $async$self = this, t1, t2, t0, url, node;
40605 var $async$_handleModify$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40606 if ($async$errorCode === 1)
40607 return A._asyncRethrow($async$result, $async$completer);
40608 while (true)
40609 switch ($async$goto) {
40610 case 0:
40611 // Function start
40612 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
40613 t1 = $.$get$context();
40614 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
40615 t0 = t2;
40616 t2 = t1;
40617 t1 = t0;
40618 } else {
40619 t1 = $.$get$context();
40620 t2 = t1.canonicalize$1(0, path);
40621 t0 = t2;
40622 t2 = t1;
40623 t1 = t0;
40624 }
40625 url = t2.toUri$1(t1);
40626 t1 = $async$self._graph;
40627 node = t1._nodes.$index(0, url);
40628 if (node == null) {
40629 $async$returnValue = $async$self._handleAdd$1(path);
40630 // goto return
40631 $async$goto = 1;
40632 break;
40633 }
40634 t1.reload$1(url);
40635 $async$goto = 3;
40636 return A._asyncAwait($async$self._recompileDownstream$1(A._setArrayType([node], type$.JSArray_StylesheetNode)), $async$_handleModify$1);
40637 case 3:
40638 // returning from await.
40639 $async$returnValue = $async$result;
40640 // goto return
40641 $async$goto = 1;
40642 break;
40643 case 1:
40644 // return
40645 return A._asyncReturn($async$returnValue, $async$completer);
40646 }
40647 });
40648 return A._asyncStartSync($async$_handleModify$1, $async$completer);
40649 },
40650 _handleAdd$1(path) {
40651 return this._handleAdd$body$_Watcher(path);
40652 },
40653 _handleAdd$body$_Watcher(path) {
40654 var $async$goto = 0,
40655 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40656 $async$returnValue, $async$self = this, destination, success, t1, t2, $async$temp1;
40657 var $async$_handleAdd$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40658 if ($async$errorCode === 1)
40659 return A._asyncRethrow($async$result, $async$completer);
40660 while (true)
40661 switch ($async$goto) {
40662 case 0:
40663 // Function start
40664 destination = $async$self._destinationFor$1(path);
40665 $async$temp1 = destination == null;
40666 if ($async$temp1)
40667 $async$result = $async$temp1;
40668 else {
40669 // goto then
40670 $async$goto = 3;
40671 break;
40672 }
40673 // goto join
40674 $async$goto = 4;
40675 break;
40676 case 3:
40677 // then
40678 $async$goto = 5;
40679 return A._asyncAwait($async$self.compile$2(0, path, destination), $async$_handleAdd$1);
40680 case 5:
40681 // returning from await.
40682 case 4:
40683 // join
40684 success = $async$result;
40685 t1 = $.$get$context();
40686 t2 = t1.absolute$7(".", null, null, null, null, null, null);
40687 $async$goto = 6;
40688 return A._asyncAwait($async$self._recompileDownstream$1($async$self._graph.addCanonical$3(new A.FilesystemImporter(t2), t1.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null)) : t1.canonicalize$1(0, path)), t1.toUri$1(path))), $async$_handleAdd$1);
40689 case 6:
40690 // returning from await.
40691 $async$returnValue = $async$result && success;
40692 // goto return
40693 $async$goto = 1;
40694 break;
40695 case 1:
40696 // return
40697 return A._asyncReturn($async$returnValue, $async$completer);
40698 }
40699 });
40700 return A._asyncStartSync($async$_handleAdd$1, $async$completer);
40701 },
40702 _handleRemove$1(path) {
40703 return this._handleRemove$body$_Watcher(path);
40704 },
40705 _handleRemove$body$_Watcher(path) {
40706 var $async$goto = 0,
40707 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40708 $async$returnValue, $async$self = this, t1, t2, t0, url, t3, destination, node, toRecompile;
40709 var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40710 if ($async$errorCode === 1)
40711 return A._asyncRethrow($async$result, $async$completer);
40712 while (true)
40713 switch ($async$goto) {
40714 case 0:
40715 // Function start
40716 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
40717 t1 = $.$get$context();
40718 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
40719 t0 = t2;
40720 t2 = t1;
40721 t1 = t0;
40722 } else {
40723 t1 = $.$get$context();
40724 t2 = t1.canonicalize$1(0, path);
40725 t0 = t2;
40726 t2 = t1;
40727 t1 = t0;
40728 }
40729 url = t2.toUri$1(t1);
40730 t1 = $async$self._graph;
40731 t3 = t1._nodes;
40732 if (t3.containsKey$1(url)) {
40733 destination = $async$self._destinationFor$1(path);
40734 if (destination != null)
40735 $async$self._delete$1(destination);
40736 }
40737 t2 = t2.absolute$7(".", null, null, null, null, null, null);
40738 node = t3.remove$1(0, url);
40739 t3 = node != null;
40740 if (t3) {
40741 t1._transitiveModificationTimes.clear$0(0);
40742 t1.importCache.clearImport$1(url);
40743 node._stylesheet_graph$_remove$0();
40744 }
40745 toRecompile = t1._recanonicalizeImports$2(new A.FilesystemImporter(t2), url);
40746 if (t3)
40747 toRecompile.addAll$1(0, node._downstream);
40748 $async$goto = 3;
40749 return A._asyncAwait($async$self._recompileDownstream$1(toRecompile), $async$_handleRemove$1);
40750 case 3:
40751 // returning from await.
40752 $async$returnValue = $async$result;
40753 // goto return
40754 $async$goto = 1;
40755 break;
40756 case 1:
40757 // return
40758 return A._asyncReturn($async$returnValue, $async$completer);
40759 }
40760 });
40761 return A._asyncStartSync($async$_handleRemove$1, $async$completer);
40762 },
40763 _debounceEvents$1(events) {
40764 var t1 = type$.WatchEvent;
40765 t1 = A.RateLimit__debounceAggregate(events, A.Duration$(25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
40766 return new A._ExpandStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_ExpandStream<Stream.T,WatchEvent>"));
40767 },
40768 _recompileDownstream$1(nodes) {
40769 return this._recompileDownstream$body$_Watcher(nodes);
40770 },
40771 _recompileDownstream$body$_Watcher(nodes) {
40772 var $async$goto = 0,
40773 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40774 $async$returnValue, $async$self = this, t2, allSucceeded, node, success, t1, seen, toRecompile;
40775 var $async$_recompileDownstream$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40776 if ($async$errorCode === 1)
40777 return A._asyncRethrow($async$result, $async$completer);
40778 while (true)
40779 switch ($async$goto) {
40780 case 0:
40781 // Function start
40782 t1 = type$.StylesheetNode;
40783 seen = A.LinkedHashSet_LinkedHashSet$_empty(t1);
40784 toRecompile = A.ListQueue_ListQueue$of(nodes, t1);
40785 t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = $async$self._watch$_options._options, allSucceeded = true;
40786 case 3:
40787 // for condition
40788 if (!!toRecompile.get$isEmpty(toRecompile)) {
40789 // goto after for
40790 $async$goto = 4;
40791 break;
40792 }
40793 node = toRecompile.removeFirst$0();
40794 if (!seen.add$1(0, node)) {
40795 // goto for condition
40796 $async$goto = 3;
40797 break;
40798 }
40799 $async$goto = 5;
40800 return A._asyncAwait($async$self._compileIfEntrypoint$1(node.canonicalUrl), $async$_recompileDownstream$1);
40801 case 5:
40802 // returning from await.
40803 success = $async$result;
40804 allSucceeded = allSucceeded && success;
40805 if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
40806 $async$returnValue = false;
40807 // goto return
40808 $async$goto = 1;
40809 break;
40810 }
40811 toRecompile.addAll$1(0, new A.UnmodifiableSetView(node._downstream, t1));
40812 // goto for condition
40813 $async$goto = 3;
40814 break;
40815 case 4:
40816 // after for
40817 $async$returnValue = allSucceeded;
40818 // goto return
40819 $async$goto = 1;
40820 break;
40821 case 1:
40822 // return
40823 return A._asyncReturn($async$returnValue, $async$completer);
40824 }
40825 });
40826 return A._asyncStartSync($async$_recompileDownstream$1, $async$completer);
40827 },
40828 _compileIfEntrypoint$1(url) {
40829 return this._compileIfEntrypoint$body$_Watcher(url);
40830 },
40831 _compileIfEntrypoint$body$_Watcher(url) {
40832 var $async$goto = 0,
40833 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40834 $async$returnValue, $async$self = this, source, destination;
40835 var $async$_compileIfEntrypoint$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40836 if ($async$errorCode === 1)
40837 return A._asyncRethrow($async$result, $async$completer);
40838 while (true)
40839 switch ($async$goto) {
40840 case 0:
40841 // Function start
40842 if (url.get$scheme() !== "file") {
40843 $async$returnValue = true;
40844 // goto return
40845 $async$goto = 1;
40846 break;
40847 }
40848 source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
40849 destination = $async$self._destinationFor$1(source);
40850 if (destination == null) {
40851 $async$returnValue = true;
40852 // goto return
40853 $async$goto = 1;
40854 break;
40855 }
40856 $async$goto = 3;
40857 return A._asyncAwait($async$self.compile$2(0, source, destination), $async$_compileIfEntrypoint$1);
40858 case 3:
40859 // returning from await.
40860 $async$returnValue = $async$result;
40861 // goto return
40862 $async$goto = 1;
40863 break;
40864 case 1:
40865 // return
40866 return A._asyncReturn($async$returnValue, $async$completer);
40867 }
40868 });
40869 return A._asyncStartSync($async$_compileIfEntrypoint$1, $async$completer);
40870 },
40871 _destinationFor$1(source) {
40872 var t2, destination, t3, t4, t5, t6, parts,
40873 t1 = this._watch$_options;
40874 t1._ensureSources$0();
40875 t2 = type$.String;
40876 destination = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
40877 if (destination != null)
40878 return destination;
40879 t3 = $.$get$context();
40880 if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
40881 return null;
40882 for (t1._ensureSources$0(), t1 = A._lateReadCheck(t1.__ExecutableOptions__sourceDirectoriesToDestinations, "_sourceDirectoriesToDestinations").cast$2$0(0, t2, t2), t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1), t2 = type$.JSArray_nullable_String, t4 = type$.WhereTypeIterable_String; t1.moveNext$0();) {
40883 t5 = t1.get$current(t1);
40884 t6 = t5.key;
40885 if (t3._isWithinOrEquals$2(t6, source) !== B._PathRelation_within)
40886 continue;
40887 parts = A._setArrayType([t5.value, t3.withoutExtension$1(t3.relative$2$from(source, t6)) + ".css", null, null, null, null, null, null], t2);
40888 A._validateArgList("join", parts);
40889 destination = t3.joinAll$1(new A.WhereTypeIterable(parts, t4));
40890 if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
40891 return destination;
40892 }
40893 return null;
40894 }
40895 };
40896 A._Watcher__debounceEvents_closure.prototype = {
40897 call$1(buffer) {
40898 var t2, t3, t4, oldType,
40899 t1 = A.PathMap__create(null, type$.ChangeType);
40900 for (t2 = J.get$iterator$ax(buffer); t2.moveNext$0();) {
40901 t3 = t2.get$current(t2);
40902 t4 = t3.path;
40903 oldType = t1.$index(0, t4);
40904 if (oldType == null)
40905 t1.$indexSet(0, t4, t3.type);
40906 else if (t3.type === B.ChangeType_remove)
40907 t1.$indexSet(0, t4, B.ChangeType_remove);
40908 else if (oldType !== B.ChangeType_add)
40909 t1.$indexSet(0, t4, B.ChangeType_modify);
40910 }
40911 t2 = A._setArrayType([], type$.JSArray_WatchEvent);
40912 for (t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
40913 t3 = t1.get$current(t1);
40914 t4 = t3.value;
40915 t3 = t3.key;
40916 t3.toString;
40917 t2.push(new A.WatchEvent(t4, t3));
40918 }
40919 return t2;
40920 },
40921 $signature: 346
40922 };
40923 A.EmptyExtensionStore.prototype = {
40924 get$isEmpty(_) {
40925 return true;
40926 },
40927 get$simpleSelectors() {
40928 return B.C_EmptyUnmodifiableSet;
40929 },
40930 extensionsWhereTarget$1(callback) {
40931 return B.List_empty2;
40932 },
40933 addSelector$3(selector, span, mediaContext) {
40934 throw A.wrapException(A.UnsupportedError$(string$.addSel));
40935 },
40936 addExtension$4(extender, target, extend, mediaContext) {
40937 throw A.wrapException(A.UnsupportedError$(string$.addExt_));
40938 },
40939 addExtensions$1(extenders) {
40940 throw A.wrapException(A.UnsupportedError$(string$.addExts));
40941 },
40942 clone$0() {
40943 return B.Tuple2_EmptyExtensionStore_Map_empty;
40944 },
40945 $isExtensionStore: 1
40946 };
40947 A.Extension.prototype = {
40948 toString$0(_) {
40949 var t1 = this.extender.toString$0(0) + " {@extend " + this.target.toString$0(0);
40950 return t1 + (this.isOptional ? " !optional" : "") + "}";
40951 }
40952 };
40953 A.Extender.prototype = {
40954 assertCompatibleMediaContext$1(mediaContext) {
40955 var expectedMediaContext,
40956 extension = this._extension;
40957 if (extension == null)
40958 return;
40959 expectedMediaContext = extension.mediaContext;
40960 if (expectedMediaContext == null)
40961 return;
40962 if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
40963 return;
40964 throw A.wrapException(A.SassException$(string$.You_ma, extension.span));
40965 },
40966 toString$0(_) {
40967 return A.serializeSelector(this.selector, true);
40968 }
40969 };
40970 A.ExtensionStore.prototype = {
40971 get$isEmpty(_) {
40972 var t1 = this._extensions;
40973 return t1.get$isEmpty(t1);
40974 },
40975 get$simpleSelectors() {
40976 return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
40977 },
40978 extensionsWhereTarget$1($async$callback) {
40979 var $async$self = this;
40980 return A._makeSyncStarIterable(function() {
40981 var callback = $async$callback;
40982 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
40983 return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
40984 if ($async$errorCode === 1) {
40985 $async$currentError = $async$result;
40986 $async$goto = $async$handler;
40987 }
40988 while (true)
40989 switch ($async$goto) {
40990 case 0:
40991 // Function start
40992 t1 = $async$self._extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
40993 case 2:
40994 // for condition
40995 if (!t1.moveNext$0()) {
40996 // goto after for
40997 $async$goto = 3;
40998 break;
40999 }
41000 t2 = t1.get$current(t1);
41001 if (!callback.call$1(t2.key)) {
41002 // goto for condition
41003 $async$goto = 2;
41004 break;
41005 }
41006 t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
41007 case 4:
41008 // for condition
41009 if (!t2.moveNext$0()) {
41010 // goto after for
41011 $async$goto = 5;
41012 break;
41013 }
41014 t3 = t2.get$current(t2);
41015 $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
41016 break;
41017 case 6:
41018 // then
41019 t3 = t3.unmerge$0();
41020 $async$goto = 9;
41021 return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
41022 case 9:
41023 // after yield
41024 // goto join
41025 $async$goto = 7;
41026 break;
41027 case 8:
41028 // else
41029 $async$goto = !t3.isOptional ? 10 : 11;
41030 break;
41031 case 10:
41032 // then
41033 $async$goto = 12;
41034 return t3;
41035 case 12:
41036 // after yield
41037 case 11:
41038 // join
41039 case 7:
41040 // join
41041 // goto for condition
41042 $async$goto = 4;
41043 break;
41044 case 5:
41045 // after for
41046 // goto for condition
41047 $async$goto = 2;
41048 break;
41049 case 3:
41050 // after for
41051 // implicit return
41052 return A._IterationMarker_endOfIteration();
41053 case 1:
41054 // rethrow
41055 return A._IterationMarker_uncaughtError($async$currentError);
41056 }
41057 };
41058 }, type$.Extension);
41059 },
41060 addSelector$3(selector, selectorSpan, mediaContext) {
41061 var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
41062 selector = selector;
41063 originalSelector = selector;
41064 if (!originalSelector.get$isInvisible())
41065 for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._originals, _i = 0; _i < t2; ++_i)
41066 t3.add$1(0, t1[_i]);
41067 t1 = _this._extensions;
41068 if (t1.get$isNotEmpty(t1))
41069 try {
41070 selector = _this._extendList$4(originalSelector, selectorSpan, t1, mediaContext);
41071 } catch (exception) {
41072 t1 = A.unwrapException(exception);
41073 if (t1 instanceof A.SassException) {
41074 error = t1;
41075 stackTrace = A.getTraceFromException(exception);
41076 t1 = error;
41077 t2 = J.getInterceptor$z(t1);
41078 t3 = error;
41079 t4 = J.getInterceptor$z(t3);
41080 A.throwWithTrace(new A.SassException("From " + A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
41081 } else
41082 throw exception;
41083 }
41084 modifiableSelector = new A.ModifiableCssValue(selector, selectorSpan, type$.ModifiableCssValue_SelectorList);
41085 if (mediaContext != null)
41086 _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
41087 _this._registerSelector$2(selector, modifiableSelector);
41088 return modifiableSelector;
41089 },
41090 _registerSelector$2(list, selector) {
41091 var t1, t2, t3, _i, t4, t5, _i0, component, t6, t7, _i1, simple, selectorInPseudo;
41092 for (t1 = list.components, t2 = t1.length, t3 = this._selectors, _i = 0; _i < t2; ++_i)
41093 for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0) {
41094 component = t4[_i0];
41095 if (!(component instanceof A.CompoundSelector))
41096 continue;
41097 for (t6 = component.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
41098 simple = t6[_i1];
41099 J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()), selector);
41100 if (!(simple instanceof A.PseudoSelector))
41101 continue;
41102 selectorInPseudo = simple.selector;
41103 if (selectorInPseudo != null)
41104 this._registerSelector$2(selectorInPseudo, selector);
41105 }
41106 }
41107 },
41108 addExtension$4(extender, target, extend, mediaContext) {
41109 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
41110 selectors = _this._selectors.$index(0, target),
41111 t1 = _this._extensionsByExtender,
41112 existingExtensions = t1.$index(0, target),
41113 sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
41114 for (t2 = extender.value.components, t3 = t2.length, t4 = selectors == null, t5 = _this._sourceSpecificity, t6 = extender.span, t7 = extend.span, t8 = extend.isOptional, t9 = existingExtensions != null, t10 = type$.ComplexSelector, t11 = type$.Extension, newExtensions = null, _i = 0; _i < t3; ++_i) {
41115 complex = t2[_i];
41116 if (complex._complex$_maxSpecificity == null)
41117 complex._computeSpecificity$0();
41118 complex._complex$_maxSpecificity.toString;
41119 t12 = new A.Extender(complex, false, t6);
41120 extension = t12._extension = new A.Extension(t12, target, mediaContext, t8, t7);
41121 existingExtension = sources.$index(0, complex);
41122 if (existingExtension != null) {
41123 sources.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, extension));
41124 continue;
41125 }
41126 sources.$indexSet(0, complex, extension);
41127 for (t12 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
41128 t13 = t12.get$current(t12);
41129 J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure0()), extension);
41130 t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure1(complex));
41131 }
41132 if (!t4 || t9) {
41133 if (newExtensions == null)
41134 newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
41135 newExtensions.$indexSet(0, complex, extension);
41136 }
41137 }
41138 if (newExtensions == null)
41139 return;
41140 t1 = type$.SimpleSelector;
41141 newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
41142 if (t9) {
41143 additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
41144 if (additionalExtensions != null)
41145 A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
41146 }
41147 if (!t4)
41148 _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
41149 },
41150 _simpleSelectors$1(complex) {
41151 return this._simpleSelectors$body$ExtensionStore(complex);
41152 },
41153 _simpleSelectors$body$ExtensionStore($async$complex) {
41154 var $async$self = this;
41155 return A._makeSyncStarIterable(function() {
41156 var complex = $async$complex;
41157 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, component, t3, t4, _i0, simple, selector, t5, t6, _i1;
41158 return function $async$_simpleSelectors$1($async$errorCode, $async$result) {
41159 if ($async$errorCode === 1) {
41160 $async$currentError = $async$result;
41161 $async$goto = $async$handler;
41162 }
41163 while (true)
41164 switch ($async$goto) {
41165 case 0:
41166 // Function start
41167 t1 = complex.components, t2 = t1.length, _i = 0;
41168 case 2:
41169 // for condition
41170 if (!(_i < t2)) {
41171 // goto after for
41172 $async$goto = 4;
41173 break;
41174 }
41175 component = t1[_i];
41176 $async$goto = component instanceof A.CompoundSelector ? 5 : 6;
41177 break;
41178 case 5:
41179 // then
41180 t3 = component.components, t4 = t3.length, _i0 = 0;
41181 case 7:
41182 // for condition
41183 if (!(_i0 < t4)) {
41184 // goto after for
41185 $async$goto = 9;
41186 break;
41187 }
41188 simple = t3[_i0];
41189 $async$goto = 10;
41190 return simple;
41191 case 10:
41192 // after yield
41193 if (!(simple instanceof A.PseudoSelector)) {
41194 // goto for update
41195 $async$goto = 8;
41196 break;
41197 }
41198 selector = simple.selector;
41199 if (selector == null) {
41200 // goto for update
41201 $async$goto = 8;
41202 break;
41203 }
41204 t5 = selector.components, t6 = t5.length, _i1 = 0;
41205 case 11:
41206 // for condition
41207 if (!(_i1 < t6)) {
41208 // goto after for
41209 $async$goto = 13;
41210 break;
41211 }
41212 $async$goto = 14;
41213 return A._IterationMarker_yieldStar($async$self._simpleSelectors$1(t5[_i1]));
41214 case 14:
41215 // after yield
41216 case 12:
41217 // for update
41218 ++_i1;
41219 // goto for condition
41220 $async$goto = 11;
41221 break;
41222 case 13:
41223 // after for
41224 case 8:
41225 // for update
41226 ++_i0;
41227 // goto for condition
41228 $async$goto = 7;
41229 break;
41230 case 9:
41231 // after for
41232 case 6:
41233 // join
41234 case 3:
41235 // for update
41236 ++_i;
41237 // goto for condition
41238 $async$goto = 2;
41239 break;
41240 case 4:
41241 // after for
41242 // implicit return
41243 return A._IterationMarker_endOfIteration();
41244 case 1:
41245 // rethrow
41246 return A._IterationMarker_uncaughtError($async$currentError);
41247 }
41248 };
41249 }, type$.SimpleSelector);
41250 },
41251 _extendExistingExtensions$2(extensions, newExtensions) {
41252 var extension, selectors, error, stackTrace, t1, t2, t3, t4, t5, t6, additionalExtensions, _i, t7, exception, t8, t9, containsExtension, first, _i0, complex, t10, t11, t12, t13, t14, withExtender, existingExtension, _i1, component, _i2;
41253 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) {
41254 extension = t1[_i];
41255 t7 = t6.$index(0, extension.target);
41256 t7.toString;
41257 selectors = null;
41258 try {
41259 selectors = this._extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
41260 if (selectors == null)
41261 continue;
41262 } catch (exception) {
41263 t8 = A.unwrapException(exception);
41264 if (t8 instanceof A.SassException) {
41265 error = t8;
41266 stackTrace = A.getTraceFromException(exception);
41267 t8 = error;
41268 t9 = J.getInterceptor$z(t8);
41269 A.throwWithTrace(new A.SassException("From " + extension.extender.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t9, t8)), stackTrace);
41270 } else
41271 throw exception;
41272 }
41273 t8 = J.get$first$ax(selectors);
41274 t9 = extension.extender;
41275 containsExtension = B.C_ListEquality.equals$2(0, t8.components, t9.selector.components);
41276 for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
41277 complex = t8[_i0];
41278 if (containsExtension && first) {
41279 first = false;
41280 continue;
41281 }
41282 t10 = extension;
41283 t11 = t10.extender;
41284 t12 = t10.target;
41285 t13 = t10.span;
41286 t14 = t10.mediaContext;
41287 t10 = t10.isOptional;
41288 if (complex._complex$_maxSpecificity == null)
41289 complex._computeSpecificity$0();
41290 complex._complex$_maxSpecificity.toString;
41291 t11 = new A.Extender(complex, false, t11.span);
41292 withExtender = t11._extension = new A.Extension(t11, t12, t14, t10, t13);
41293 existingExtension = t7.$index(0, complex);
41294 if (existingExtension != null)
41295 t7.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, withExtender));
41296 else {
41297 t7.$indexSet(0, complex, withExtender);
41298 for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1) {
41299 component = t10[_i1];
41300 if (component instanceof A.CompoundSelector)
41301 for (t12 = component.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
41302 J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
41303 }
41304 if (newExtensions.containsKey$1(extension.target)) {
41305 if (additionalExtensions == null)
41306 additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
41307 additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, complex, withExtender);
41308 }
41309 }
41310 }
41311 if (!containsExtension)
41312 t7.remove$1(0, extension.extender);
41313 }
41314 return additionalExtensions;
41315 },
41316 _extendExistingSelectors$2(selectors, newExtensions) {
41317 var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
41318 for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
41319 selector = t1.get$current(t1);
41320 oldValue = selector.value;
41321 try {
41322 selector.value = this._extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
41323 } catch (exception) {
41324 t3 = A.unwrapException(exception);
41325 if (t3 instanceof A.SassException) {
41326 error = t3;
41327 stackTrace = A.getTraceFromException(exception);
41328 t3 = error;
41329 t4 = J.getInterceptor$z(t3);
41330 A.throwWithTrace(new A.SassException("From " + selector.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
41331 } else
41332 throw exception;
41333 }
41334 if (oldValue === selector.value)
41335 continue;
41336 this._registerSelector$2(selector.value, selector);
41337 }
41338 },
41339 addExtensions$1(extensionStores) {
41340 var t1, t2, t3, _box_0 = {};
41341 _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
41342 for (t1 = J.get$iterator$ax(extensionStores), t2 = this._sourceSpecificity; t1.moveNext$0();) {
41343 t3 = t1.get$current(t1);
41344 if (t3.get$isEmpty(t3))
41345 continue;
41346 t2.addAll$1(0, t3.get$_sourceSpecificity());
41347 t3.get$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure(_box_0, this));
41348 }
41349 A.NullableExtension_andThen(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure0(_box_0, this));
41350 },
41351 _extendList$4(list, listSpan, extensions, mediaQueryContext) {
41352 var t1, t2, t3, extended, i, complex, result, t4;
41353 for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
41354 complex = t1[i];
41355 result = this._extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
41356 if (result == null) {
41357 if (extended != null)
41358 extended.push(complex);
41359 } else {
41360 if (extended == null)
41361 if (i === 0)
41362 extended = A._setArrayType([], t3);
41363 else {
41364 t4 = B.JSArray_methods.sublist$2(t1, 0, i);
41365 extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
41366 }
41367 B.JSArray_methods.addAll$1(extended, result);
41368 }
41369 }
41370 if (extended == null)
41371 return list;
41372 t1 = this._originals;
41373 return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)));
41374 },
41375 _extendList$3(list, listSpan, extensions) {
41376 return this._extendList$4(list, listSpan, extensions, null);
41377 },
41378 _extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
41379 var t1, t2, t3, t4, t5, extendedNotExpanded, i, component, extended, result, t6, t7, t8, _null = null,
41380 _s28_ = "components may not be empty.",
41381 _box_0 = {},
41382 isOriginal = this._originals.contains$1(0, complex);
41383 for (t1 = complex.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, t4 = type$.JSArray_ComplexSelectorComponent, t5 = type$.ComplexSelectorComponent, extendedNotExpanded = _null, i = 0; i < t2; ++i) {
41384 component = t1[i];
41385 if (component instanceof A.CompoundSelector) {
41386 extended = this._extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
41387 if (extended == null) {
41388 if (extendedNotExpanded != null) {
41389 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
41390 result.fixed$length = Array;
41391 result.immutable$list = Array;
41392 t6 = result;
41393 if (t6.length === 0)
41394 A.throwExpression(A.ArgumentError$(_s28_, _null));
41395 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector(t6, false)], t3));
41396 }
41397 } else {
41398 if (extendedNotExpanded == null) {
41399 t6 = A._arrayInstanceType(t1);
41400 t7 = t6._eval$1("SubListIterable<1>");
41401 t8 = new A.SubListIterable(t1, 0, i, t7);
41402 t8.SubListIterable$3(t1, 0, i, t6._precomputed1);
41403 t7 = t7._eval$1("MappedListIterable<ListIterable.E,List<ComplexSelector>>");
41404 extendedNotExpanded = A.List_List$of(new A.MappedListIterable(t8, new A.ExtensionStore__extendComplex_closure(complex), t7), true, t7._eval$1("ListIterable.E"));
41405 }
41406 B.JSArray_methods.add$1(extendedNotExpanded, extended);
41407 }
41408 } else if (extendedNotExpanded != null) {
41409 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
41410 result.fixed$length = Array;
41411 result.immutable$list = Array;
41412 t6 = result;
41413 if (t6.length === 0)
41414 A.throwExpression(A.ArgumentError$(_s28_, _null));
41415 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector(t6, false)], t3));
41416 }
41417 }
41418 if (extendedNotExpanded == null)
41419 return _null;
41420 _box_0.first = true;
41421 t1 = type$.ComplexSelector;
41422 t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
41423 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
41424 },
41425 _extendCompound$5$inOriginal(compound, compoundSpan, extensions, mediaQueryContext, inOriginal) {
41426 var t2, t3, t4, t5, t6, t7, t8, t9, t10, options, i, simple, extended, result, t11, t12, isOriginal, _this = this, _null = null,
41427 _s28_ = "components may not be empty.",
41428 _box_1 = {},
41429 t1 = _this._mode,
41430 targetsUsed = t1 === B.ExtendMode_normal || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
41431 for (t2 = compound.components, t3 = t2.length, t4 = type$.JSArray_List_Extender, t5 = type$.JSArray_Extender, t6 = type$.JSArray_ComplexSelectorComponent, t7 = type$.ComplexSelectorComponent, t8 = type$.SimpleSelector, t9 = _this._sourceSpecificity, t10 = type$.JSArray_SimpleSelector, options = _null, i = 0; i < t3; ++i) {
41432 simple = t2[i];
41433 extended = _this._extendSimple$5(simple, compoundSpan, extensions, mediaQueryContext, targetsUsed);
41434 if (extended == null) {
41435 if (options != null) {
41436 result = A.List_List$from(A._setArrayType([simple], t10), false, t8);
41437 result.fixed$length = Array;
41438 result.immutable$list = Array;
41439 t11 = result;
41440 if (t11.length === 0)
41441 A.throwExpression(A.ArgumentError$(_s28_, _null));
41442 result = A.List_List$from(A._setArrayType([new A.CompoundSelector(t11)], t6), false, t7);
41443 result.fixed$length = Array;
41444 result.immutable$list = Array;
41445 t11 = result;
41446 if (t11.length === 0)
41447 A.throwExpression(A.ArgumentError$(_s28_, _null));
41448 t9.$index(0, simple);
41449 options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t11, false), true, compoundSpan)], t5));
41450 }
41451 } else {
41452 if (options == null) {
41453 options = A._setArrayType([], t4);
41454 if (i !== 0) {
41455 t11 = A._arrayInstanceType(t2);
41456 t12 = new A.SubListIterable(t2, 0, i, t11._eval$1("SubListIterable<1>"));
41457 t12.SubListIterable$3(t2, 0, i, t11._precomputed1);
41458 result = A.List_List$from(t12, false, t8);
41459 result.fixed$length = Array;
41460 result.immutable$list = Array;
41461 t12 = result;
41462 compound = new A.CompoundSelector(t12);
41463 if (t12.length === 0)
41464 A.throwExpression(A.ArgumentError$(_s28_, _null));
41465 result = A.List_List$from(A._setArrayType([compound], t6), false, t7);
41466 result.fixed$length = Array;
41467 result.immutable$list = Array;
41468 t11 = result;
41469 if (t11.length === 0)
41470 A.throwExpression(A.ArgumentError$(_s28_, _null));
41471 _this._sourceSpecificityFor$1(compound);
41472 options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t11, false), true, compoundSpan)], t5));
41473 }
41474 }
41475 B.JSArray_methods.addAll$1(options, extended);
41476 }
41477 }
41478 if (options == null)
41479 return _null;
41480 if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
41481 return _null;
41482 if (options.length === 1)
41483 return J.map$1$1$ax(B.JSArray_methods.get$first(options), new A.ExtensionStore__extendCompound_closure(mediaQueryContext), type$.ComplexSelector).toList$0(0);
41484 t1 = _box_1.first = t1 !== B.ExtendMode_replace;
41485 t2 = A.IterableNullableExtension_whereNotNull(J.map$1$1$ax(A.paths(options, type$.Extender), new A.ExtensionStore__extendCompound_closure0(_box_1, mediaQueryContext), type$.nullable_List_ComplexSelector), type$.List_ComplexSelector);
41486 t3 = t2.$ti._eval$1("ExpandIterable<Iterable.E,ComplexSelector>");
41487 result = A.List_List$of(new A.ExpandIterable(t2, new A.ExtensionStore__extendCompound_closure1(), t3), true, t3._eval$1("Iterable.E"));
41488 isOriginal = new A.ExtensionStore__extendCompound_closure2();
41489 return _this._trim$2(result, inOriginal && t1 ? new A.ExtensionStore__extendCompound_closure3(B.JSArray_methods.get$first(result)) : isOriginal);
41490 },
41491 _extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
41492 var extended,
41493 t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed, simpleSpan);
41494 if (simple instanceof A.PseudoSelector && simple.selector != null) {
41495 extended = this._extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
41496 if (extended != null)
41497 return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender>>"));
41498 }
41499 return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
41500 },
41501 _extenderForSimple$2(simple, span) {
41502 var t1 = A.ComplexSelector$(A._setArrayType([A.CompoundSelector$(A._setArrayType([simple], type$.JSArray_SimpleSelector))], type$.JSArray_ComplexSelectorComponent), false);
41503 this._sourceSpecificity.$index(0, simple);
41504 return new A.Extender(t1, true, span);
41505 },
41506 _extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
41507 var extended, complexes, t1, result,
41508 selector = pseudo.selector;
41509 if (selector == null)
41510 throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
41511 extended = this._extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
41512 if (extended === selector)
41513 return null;
41514 complexes = extended.components;
41515 t1 = pseudo.normalizedName === "not";
41516 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()))
41517 complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
41518 complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
41519 if (t1 && selector.components.length === 1) {
41520 t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
41521 result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
41522 return result.length === 0 ? null : result;
41523 } else
41524 return A._setArrayType([A.PseudoSelector$(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$(complexes))], type$.JSArray_PseudoSelector);
41525 },
41526 _trim$2(selectors, isOriginal) {
41527 var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, component;
41528 if (selectors.length > 100)
41529 return selectors;
41530 result = A.QueueList$(null, type$.ComplexSelector);
41531 $label0$0:
41532 for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
41533 _box_0 = {};
41534 complex1 = selectors[i];
41535 if (isOriginal.call$1(complex1)) {
41536 for (j = 0; j < numOriginals; ++j)
41537 if (J.$eq$(result.$index(0, j), complex1)) {
41538 A.rotateSlice(result, 0, j + 1);
41539 continue $label0$0;
41540 }
41541 ++numOriginals;
41542 result.addFirst$1(complex1);
41543 continue $label0$0;
41544 }
41545 _box_0.maxSpecificity = 0;
41546 for (t3 = complex1.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
41547 component = t3[_i];
41548 if (component instanceof A.CompoundSelector)
41549 _box_0.maxSpecificity = Math.max(_box_0.maxSpecificity, this._sourceSpecificityFor$1(component));
41550 }
41551 if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
41552 continue $label0$0;
41553 t3 = new A.SubListIterable(selectors, 0, i, t1);
41554 t3.SubListIterable$3(selectors, 0, i, t2);
41555 if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
41556 continue $label0$0;
41557 result.addFirst$1(complex1);
41558 }
41559 return result;
41560 },
41561 _sourceSpecificityFor$1(compound) {
41562 var t1, t2, t3, specificity, _i, t4;
41563 for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
41564 t4 = t3.$index(0, t1[_i]);
41565 specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
41566 }
41567 return specificity;
41568 },
41569 clone$0() {
41570 var t3, t4, _this = this,
41571 t1 = type$.SimpleSelector,
41572 newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList),
41573 t2 = type$.ModifiableCssValue_SelectorList,
41574 newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery),
41575 oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList, t2);
41576 _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
41577 t2 = type$.Extension;
41578 t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
41579 t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
41580 t1 = A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int);
41581 t1.addAll$1(0, _this._sourceSpecificity);
41582 t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
41583 t4.addAll$1(0, _this._originals);
41584 return new A.Tuple2(new A.ExtensionStore(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal), oldToNewSelectors, type$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList);
41585 },
41586 get$_extensions() {
41587 return this._extensions;
41588 },
41589 get$_sourceSpecificity() {
41590 return this._sourceSpecificity;
41591 }
41592 };
41593 A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
41594 call$1(extension) {
41595 return !extension.isOptional;
41596 },
41597 $signature: 356
41598 };
41599 A.ExtensionStore__registerSelector_closure.prototype = {
41600 call$0() {
41601 return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList);
41602 },
41603 $signature: 361
41604 };
41605 A.ExtensionStore_addExtension_closure.prototype = {
41606 call$0() {
41607 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
41608 },
41609 $signature: 122
41610 };
41611 A.ExtensionStore_addExtension_closure0.prototype = {
41612 call$0() {
41613 return A._setArrayType([], type$.JSArray_Extension);
41614 },
41615 $signature: 200
41616 };
41617 A.ExtensionStore_addExtension_closure1.prototype = {
41618 call$0() {
41619 return this.complex.get$maxSpecificity();
41620 },
41621 $signature: 12
41622 };
41623 A.ExtensionStore__extendExistingExtensions_closure.prototype = {
41624 call$0() {
41625 return A._setArrayType([], type$.JSArray_Extension);
41626 },
41627 $signature: 200
41628 };
41629 A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
41630 call$0() {
41631 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
41632 },
41633 $signature: 122
41634 };
41635 A.ExtensionStore_addExtensions_closure.prototype = {
41636 call$2(target, newSources) {
41637 var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
41638 if (target instanceof A.PlaceholderSelector) {
41639 first = B.JSString_methods._codeUnitAt$1(target.name, 0);
41640 t1 = first === 45 || first === 95;
41641 } else
41642 t1 = false;
41643 if (t1)
41644 return;
41645 t1 = _this.$this;
41646 extensionsForTarget = t1._extensionsByExtender.$index(0, target);
41647 t2 = extensionsForTarget == null;
41648 if (!t2) {
41649 t3 = _this._box_0;
41650 t4 = t3.extensionsToExtend;
41651 B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension) : t4, extensionsForTarget);
41652 }
41653 selectorsForTarget = t1._selectors.$index(0, target);
41654 t3 = selectorsForTarget != null;
41655 if (t3) {
41656 t4 = _this._box_0;
41657 t5 = t4.selectorsToExtend;
41658 (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList) : t5).addAll$1(0, selectorsForTarget);
41659 }
41660 t1 = t1._extensions;
41661 existingSources = t1.$index(0, target);
41662 if (existingSources == null) {
41663 t4 = type$.ComplexSelector;
41664 t5 = type$.Extension;
41665 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
41666 if (!t2 || t3) {
41667 t1 = _this._box_0;
41668 t2 = t1.newExtensions;
41669 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
41670 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
41671 }
41672 } else
41673 newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure1(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
41674 },
41675 $signature: 378
41676 };
41677 A.ExtensionStore_addExtensions__closure1.prototype = {
41678 call$2(extender, extension) {
41679 var t2, _this = this,
41680 t1 = _this.existingSources;
41681 if (t1.containsKey$1(extender)) {
41682 t2 = t1.$index(0, extender);
41683 t2.toString;
41684 extension = A.MergedExtension_merge(t2, extension);
41685 t1.$indexSet(0, extender, extension);
41686 } else
41687 t1.$indexSet(0, extender, extension);
41688 if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
41689 t1 = _this._box_0;
41690 t2 = t1.newExtensions;
41691 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
41692 J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure()), extender, extension);
41693 }
41694 },
41695 $signature: 379
41696 };
41697 A.ExtensionStore_addExtensions___closure.prototype = {
41698 call$0() {
41699 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
41700 },
41701 $signature: 122
41702 };
41703 A.ExtensionStore_addExtensions_closure0.prototype = {
41704 call$1(newExtensions) {
41705 var t1 = this._box_0,
41706 t2 = this.$this;
41707 A.NullableExtension_andThen(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure(t2, newExtensions));
41708 A.NullableExtension_andThen(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure0(t2, newExtensions));
41709 },
41710 $signature: 385
41711 };
41712 A.ExtensionStore_addExtensions__closure.prototype = {
41713 call$1(extensionsToExtend) {
41714 return this.$this._extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
41715 },
41716 $signature: 393
41717 };
41718 A.ExtensionStore_addExtensions__closure0.prototype = {
41719 call$1(selectorsToExtend) {
41720 return this.$this._extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
41721 },
41722 $signature: 397
41723 };
41724 A.ExtensionStore__extendComplex_closure.prototype = {
41725 call$1(component) {
41726 return A._setArrayType([A.ComplexSelector$(A._setArrayType([component], type$.JSArray_ComplexSelectorComponent), this.complex.lineBreak)], type$.JSArray_ComplexSelector);
41727 },
41728 $signature: 398
41729 };
41730 A.ExtensionStore__extendComplex_closure0.prototype = {
41731 call$1(path) {
41732 var t1 = A.weave(J.map$1$1$ax(path, new A.ExtensionStore__extendComplex__closure(), type$.List_ComplexSelectorComponent).toList$0(0));
41733 return new A.MappedListIterable(t1, new A.ExtensionStore__extendComplex__closure0(this._box_0, this.$this, this.complex, path), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
41734 },
41735 $signature: 403
41736 };
41737 A.ExtensionStore__extendComplex__closure.prototype = {
41738 call$1(complex) {
41739 return complex.components;
41740 },
41741 $signature: 414
41742 };
41743 A.ExtensionStore__extendComplex__closure0.prototype = {
41744 call$1(components) {
41745 var _this = this,
41746 t1 = _this.complex,
41747 outputComplex = A.ComplexSelector$(components, t1.lineBreak || J.any$1$ax(_this.path, new A.ExtensionStore__extendComplex___closure())),
41748 t2 = _this._box_0;
41749 if (t2.first && _this.$this._originals.contains$1(0, t1))
41750 _this.$this._originals.add$1(0, outputComplex);
41751 t2.first = false;
41752 return outputComplex;
41753 },
41754 $signature: 72
41755 };
41756 A.ExtensionStore__extendComplex___closure.prototype = {
41757 call$1(inputComplex) {
41758 return inputComplex.lineBreak;
41759 },
41760 $signature: 18
41761 };
41762 A.ExtensionStore__extendCompound_closure.prototype = {
41763 call$1(extender) {
41764 extender.assertCompatibleMediaContext$1(this.mediaQueryContext);
41765 return extender.selector;
41766 },
41767 $signature: 418
41768 };
41769 A.ExtensionStore__extendCompound_closure0.prototype = {
41770 call$1(path) {
41771 var complexes, toUnify, t2, t3, originals, t4, _box_0 = {},
41772 t1 = this._box_1;
41773 if (t1.first) {
41774 t1.first = false;
41775 complexes = A._setArrayType([A._setArrayType([A.CompoundSelector$(J.expand$1$1$ax(path, new A.ExtensionStore__extendCompound__closure(), type$.SimpleSelector))], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent);
41776 } else {
41777 toUnify = A.QueueList$(null, type$.List_ComplexSelectorComponent);
41778 for (t1 = J.get$iterator$ax(path), t2 = type$.CompoundSelector, t3 = type$.JSArray_SimpleSelector, originals = null; t1.moveNext$0();) {
41779 t4 = t1.get$current(t1);
41780 if (t4.isOriginal) {
41781 if (originals == null)
41782 originals = A._setArrayType([], t3);
41783 B.JSArray_methods.addAll$1(originals, t2._as(B.JSArray_methods.get$last(t4.selector.components)).components);
41784 } else
41785 toUnify._queue_list$_add$1(t4.selector.components);
41786 }
41787 if (originals != null)
41788 toUnify.addFirst$1(A._setArrayType([A.CompoundSelector$(originals)], type$.JSArray_ComplexSelectorComponent));
41789 complexes = A.unifyComplex(toUnify);
41790 if (complexes == null)
41791 return null;
41792 }
41793 _box_0.lineBreak = false;
41794 for (t1 = J.get$iterator$ax(path), t2 = this.mediaQueryContext; t1.moveNext$0();) {
41795 t3 = t1.get$current(t1);
41796 t3.assertCompatibleMediaContext$1(t2);
41797 _box_0.lineBreak = _box_0.lineBreak || t3.selector.lineBreak;
41798 }
41799 t1 = J.map$1$1$ax(complexes, new A.ExtensionStore__extendCompound__closure0(_box_0), type$.ComplexSelector);
41800 return A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
41801 },
41802 $signature: 419
41803 };
41804 A.ExtensionStore__extendCompound__closure.prototype = {
41805 call$1(extender) {
41806 return type$.CompoundSelector._as(B.JSArray_methods.get$last(extender.selector.components)).components;
41807 },
41808 $signature: 429
41809 };
41810 A.ExtensionStore__extendCompound__closure0.prototype = {
41811 call$1(components) {
41812 return A.ComplexSelector$(components, this._box_0.lineBreak);
41813 },
41814 $signature: 72
41815 };
41816 A.ExtensionStore__extendCompound_closure1.prototype = {
41817 call$1(l) {
41818 return l;
41819 },
41820 $signature: 444
41821 };
41822 A.ExtensionStore__extendCompound_closure2.prototype = {
41823 call$1(_) {
41824 return false;
41825 },
41826 $signature: 18
41827 };
41828 A.ExtensionStore__extendCompound_closure3.prototype = {
41829 call$1(complex) {
41830 var t1 = B.C_ListEquality.equals$2(0, complex.components, this.original.components);
41831 return t1;
41832 },
41833 $signature: 18
41834 };
41835 A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
41836 call$1(simple) {
41837 var t1, t2, _this = this,
41838 extensionsForSimple = _this.extensions.$index(0, simple);
41839 if (extensionsForSimple == null)
41840 return null;
41841 t1 = _this.targetsUsed;
41842 if (t1 != null)
41843 t1.add$1(0, simple);
41844 t1 = A._setArrayType([], type$.JSArray_Extender);
41845 t2 = _this.$this;
41846 if (t2._mode !== B.ExtendMode_replace)
41847 t1.push(t2._extenderForSimple$2(simple, _this.simpleSpan));
41848 for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
41849 t1.push(t2.get$current(t2).extender);
41850 return t1;
41851 },
41852 $signature: 452
41853 };
41854 A.ExtensionStore__extendSimple_closure.prototype = {
41855 call$1(pseudo) {
41856 var t1 = this.withoutPseudo.call$1(pseudo);
41857 return t1 == null ? A._setArrayType([this.$this._extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender) : t1;
41858 },
41859 $signature: 453
41860 };
41861 A.ExtensionStore__extendSimple_closure0.prototype = {
41862 call$1(result) {
41863 return A._setArrayType([result], type$.JSArray_List_Extender);
41864 },
41865 $signature: 456
41866 };
41867 A.ExtensionStore__extendPseudo_closure.prototype = {
41868 call$1(complex) {
41869 return complex.components.length > 1;
41870 },
41871 $signature: 18
41872 };
41873 A.ExtensionStore__extendPseudo_closure0.prototype = {
41874 call$1(complex) {
41875 return complex.components.length === 1;
41876 },
41877 $signature: 18
41878 };
41879 A.ExtensionStore__extendPseudo_closure1.prototype = {
41880 call$1(complex) {
41881 return complex.components.length <= 1;
41882 },
41883 $signature: 18
41884 };
41885 A.ExtensionStore__extendPseudo_closure2.prototype = {
41886 call$1(complex) {
41887 var innerPseudo, innerSelector,
41888 t1 = complex.components;
41889 if (t1.length !== 1)
41890 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41891 if (!(B.JSArray_methods.get$first(t1) instanceof A.CompoundSelector))
41892 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41893 t1 = type$.CompoundSelector._as(B.JSArray_methods.get$first(t1)).components;
41894 if (t1.length !== 1)
41895 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41896 if (!(B.JSArray_methods.get$first(t1) instanceof A.PseudoSelector))
41897 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41898 innerPseudo = type$.PseudoSelector._as(B.JSArray_methods.get$first(t1));
41899 innerSelector = innerPseudo.selector;
41900 if (innerSelector == null)
41901 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41902 t1 = this.pseudo;
41903 switch (t1.normalizedName) {
41904 case "not":
41905 t1 = innerPseudo.normalizedName;
41906 if (t1 !== "is" && t1 !== "matches")
41907 return A._setArrayType([], type$.JSArray_ComplexSelector);
41908 return innerSelector.components;
41909 case "is":
41910 case "matches":
41911 case "any":
41912 case "current":
41913 case "nth-child":
41914 case "nth-last-child":
41915 if (innerPseudo.name !== t1.name)
41916 return A._setArrayType([], type$.JSArray_ComplexSelector);
41917 if (innerPseudo.argument != t1.argument)
41918 return A._setArrayType([], type$.JSArray_ComplexSelector);
41919 return innerSelector.components;
41920 case "has":
41921 case "host":
41922 case "host-context":
41923 case "slotted":
41924 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41925 default:
41926 return A._setArrayType([], type$.JSArray_ComplexSelector);
41927 }
41928 },
41929 $signature: 469
41930 };
41931 A.ExtensionStore__extendPseudo_closure3.prototype = {
41932 call$1(complex) {
41933 var t1 = this.pseudo;
41934 return A.PseudoSelector$(t1.name, t1.argument, !t1.isClass, A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector)));
41935 },
41936 $signature: 470
41937 };
41938 A.ExtensionStore__trim_closure.prototype = {
41939 call$1(complex2) {
41940 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector(complex2.components, this.complex1.components);
41941 },
41942 $signature: 18
41943 };
41944 A.ExtensionStore__trim_closure0.prototype = {
41945 call$1(complex2) {
41946 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector(complex2.components, this.complex1.components);
41947 },
41948 $signature: 18
41949 };
41950 A.ExtensionStore_clone_closure.prototype = {
41951 call$2(simple, selectors) {
41952 var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
41953 t1 = type$.ModifiableCssValue_SelectorList,
41954 newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
41955 _this.newSelectors.$indexSet(0, simple, newSelectorSet);
41956 for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
41957 t6 = t2.get$current(t2);
41958 newSelector = new A.ModifiableCssValue(t6.value, t6.span, t1);
41959 newSelectorSet.add$1(0, newSelector);
41960 t3.$indexSet(0, t6, newSelector);
41961 mediaContext = t4.$index(0, t6);
41962 if (mediaContext != null)
41963 t5.$indexSet(0, newSelector, mediaContext);
41964 }
41965 },
41966 $signature: 480
41967 };
41968 A.unifyComplex_closure.prototype = {
41969 call$1(complex) {
41970 var t1 = J.getInterceptor$asx(complex);
41971 return t1.sublist$2(complex, 0, t1.get$length(complex) - 1);
41972 },
41973 $signature: 132
41974 };
41975 A._weaveParents_closure.prototype = {
41976 call$2(group1, group2) {
41977 var unified, t1, _null = null;
41978 if (B.C_ListEquality.equals$2(0, group1, group2))
41979 return group1;
41980 if (!(J.get$first$ax(group1) instanceof A.CompoundSelector) || !(J.get$first$ax(group2) instanceof A.CompoundSelector))
41981 return _null;
41982 if (A.complexIsParentSuperselector(group1, group2))
41983 return group2;
41984 if (A.complexIsParentSuperselector(group2, group1))
41985 return group1;
41986 if (!A._mustUnify(group1, group2))
41987 return _null;
41988 unified = A.unifyComplex(A._setArrayType([group1, group2], type$.JSArray_List_ComplexSelectorComponent));
41989 if (unified == null)
41990 return _null;
41991 t1 = J.getInterceptor$asx(unified);
41992 if (t1.get$length(unified) > 1)
41993 return _null;
41994 return t1.get$first(unified);
41995 },
41996 $signature: 503
41997 };
41998 A._weaveParents_closure0.prototype = {
41999 call$1(sequence) {
42000 return A.complexIsParentSuperselector(sequence.get$first(sequence), this.group);
42001 },
42002 $signature: 505
42003 };
42004 A._weaveParents_closure1.prototype = {
42005 call$1(chunk) {
42006 return J.expand$1$1$ax(chunk, new A._weaveParents__closure1(), type$.ComplexSelectorComponent);
42007 },
42008 $signature: 199
42009 };
42010 A._weaveParents__closure1.prototype = {
42011 call$1(group) {
42012 return group;
42013 },
42014 $signature: 132
42015 };
42016 A._weaveParents_closure2.prototype = {
42017 call$1(sequence) {
42018 return sequence.get$length(sequence) === 0;
42019 },
42020 $signature: 197
42021 };
42022 A._weaveParents_closure3.prototype = {
42023 call$1(chunk) {
42024 return J.expand$1$1$ax(chunk, new A._weaveParents__closure0(), type$.ComplexSelectorComponent);
42025 },
42026 $signature: 199
42027 };
42028 A._weaveParents__closure0.prototype = {
42029 call$1(group) {
42030 return group;
42031 },
42032 $signature: 132
42033 };
42034 A._weaveParents_closure4.prototype = {
42035 call$1(choice) {
42036 return J.get$isNotEmpty$asx(choice);
42037 },
42038 $signature: 514
42039 };
42040 A._weaveParents_closure5.prototype = {
42041 call$1(path) {
42042 var t1 = J.expand$1$1$ax(path, new A._weaveParents__closure(), type$.ComplexSelectorComponent);
42043 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
42044 },
42045 $signature: 517
42046 };
42047 A._weaveParents__closure.prototype = {
42048 call$1(group) {
42049 return group;
42050 },
42051 $signature: 519
42052 };
42053 A._mustUnify_closure.prototype = {
42054 call$1(component) {
42055 return component instanceof A.CompoundSelector && B.JSArray_methods.any$1(component.components, new A._mustUnify__closure(this.uniqueSelectors));
42056 },
42057 $signature: 115
42058 };
42059 A._mustUnify__closure.prototype = {
42060 call$1(simple) {
42061 var t1;
42062 if (!(simple instanceof A.IDSelector))
42063 t1 = simple instanceof A.PseudoSelector && !simple.isClass;
42064 else
42065 t1 = true;
42066 return t1 && this.uniqueSelectors.contains$1(0, simple);
42067 },
42068 $signature: 15
42069 };
42070 A.paths_closure.prototype = {
42071 call$2(paths, choice) {
42072 var t1 = this.T;
42073 t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
42074 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
42075 },
42076 $signature() {
42077 return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
42078 }
42079 };
42080 A.paths__closure.prototype = {
42081 call$1(option) {
42082 var t1 = this.T;
42083 return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
42084 },
42085 $signature() {
42086 return this.T._eval$1("Iterable<List<0>>(0)");
42087 }
42088 };
42089 A.paths___closure.prototype = {
42090 call$1(path) {
42091 var t1 = A.List_List$of(path, true, this.T);
42092 t1.push(this.option);
42093 return t1;
42094 },
42095 $signature() {
42096 return this.T._eval$1("List<0>(List<0>)");
42097 }
42098 };
42099 A._hasRoot_closure.prototype = {
42100 call$1(simple) {
42101 return simple instanceof A.PseudoSelector && simple.isClass && simple.normalizedName === "root";
42102 },
42103 $signature: 15
42104 };
42105 A.listIsSuperselector_closure.prototype = {
42106 call$1(complex1) {
42107 return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
42108 },
42109 $signature: 18
42110 };
42111 A.listIsSuperselector__closure.prototype = {
42112 call$1(complex2) {
42113 return A.complexIsSuperselector(complex2.components, this.complex1.components);
42114 },
42115 $signature: 18
42116 };
42117 A._simpleIsSuperselectorOfCompound_closure.prototype = {
42118 call$1(theirSimple) {
42119 var selector,
42120 t1 = this.simple;
42121 if (t1.$eq(0, theirSimple))
42122 return true;
42123 if (!(theirSimple instanceof A.PseudoSelector))
42124 return false;
42125 selector = theirSimple.selector;
42126 if (selector == null)
42127 return false;
42128 if (!$._subselectorPseudos.contains$1(0, theirSimple.normalizedName))
42129 return false;
42130 return B.JSArray_methods.every$1(selector.components, new A._simpleIsSuperselectorOfCompound__closure(t1));
42131 },
42132 $signature: 15
42133 };
42134 A._simpleIsSuperselectorOfCompound__closure.prototype = {
42135 call$1(complex) {
42136 var t1 = complex.components;
42137 if (t1.length !== 1)
42138 return false;
42139 return B.JSArray_methods.contains$1(type$.CompoundSelector._as(B.JSArray_methods.get$single(t1)).components, this.simple);
42140 },
42141 $signature: 18
42142 };
42143 A._selectorPseudoIsSuperselector_closure.prototype = {
42144 call$1(selector2) {
42145 return A.listIsSuperselector(this.selector1.components, selector2.components);
42146 },
42147 $signature: 76
42148 };
42149 A._selectorPseudoIsSuperselector_closure0.prototype = {
42150 call$1(complex1) {
42151 var t1 = complex1.components,
42152 t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent),
42153 t3 = this.parents;
42154 if (t3 != null)
42155 B.JSArray_methods.addAll$1(t2, t3);
42156 t2.push(this.compound2);
42157 return A.complexIsSuperselector(t1, t2);
42158 },
42159 $signature: 18
42160 };
42161 A._selectorPseudoIsSuperselector_closure1.prototype = {
42162 call$1(selector2) {
42163 return A.listIsSuperselector(this.selector1.components, selector2.components);
42164 },
42165 $signature: 76
42166 };
42167 A._selectorPseudoIsSuperselector_closure2.prototype = {
42168 call$1(selector2) {
42169 return A.listIsSuperselector(this.selector1.components, selector2.components);
42170 },
42171 $signature: 76
42172 };
42173 A._selectorPseudoIsSuperselector_closure3.prototype = {
42174 call$1(complex) {
42175 return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
42176 },
42177 $signature: 18
42178 };
42179 A._selectorPseudoIsSuperselector__closure.prototype = {
42180 call$1(simple2) {
42181 var compound1, selector2, _this = this;
42182 if (simple2 instanceof A.TypeSelector) {
42183 compound1 = B.JSArray_methods.get$last(_this.complex.components);
42184 return compound1 instanceof A.CompoundSelector && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure(simple2));
42185 } else if (simple2 instanceof A.IDSelector) {
42186 compound1 = B.JSArray_methods.get$last(_this.complex.components);
42187 return compound1 instanceof A.CompoundSelector && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
42188 } else if (simple2 instanceof A.PseudoSelector && simple2.name === _this.pseudo1.name) {
42189 selector2 = simple2.selector;
42190 if (selector2 == null)
42191 return false;
42192 return A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
42193 } else
42194 return false;
42195 },
42196 $signature: 15
42197 };
42198 A._selectorPseudoIsSuperselector___closure.prototype = {
42199 call$1(simple1) {
42200 var t1;
42201 if (simple1 instanceof A.TypeSelector) {
42202 t1 = this.simple2.name.$eq(0, simple1.name);
42203 t1 = !t1;
42204 } else
42205 t1 = false;
42206 return t1;
42207 },
42208 $signature: 15
42209 };
42210 A._selectorPseudoIsSuperselector___closure0.prototype = {
42211 call$1(simple1) {
42212 var t1;
42213 if (simple1 instanceof A.IDSelector) {
42214 t1 = simple1.name;
42215 t1 = this.simple2.name !== t1;
42216 } else
42217 t1 = false;
42218 return t1;
42219 },
42220 $signature: 15
42221 };
42222 A._selectorPseudoIsSuperselector_closure4.prototype = {
42223 call$1(selector2) {
42224 var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
42225 return t1;
42226 },
42227 $signature: 76
42228 };
42229 A._selectorPseudoIsSuperselector_closure5.prototype = {
42230 call$1(pseudo2) {
42231 var t1, selector2;
42232 if (!(pseudo2 instanceof A.PseudoSelector))
42233 return false;
42234 t1 = this.pseudo1;
42235 if (pseudo2.name !== t1.name)
42236 return false;
42237 if (pseudo2.argument != t1.argument)
42238 return false;
42239 selector2 = pseudo2.selector;
42240 if (selector2 == null)
42241 return false;
42242 return A.listIsSuperselector(this.selector1.components, selector2.components);
42243 },
42244 $signature: 15
42245 };
42246 A._selectorPseudoArgs_closure.prototype = {
42247 call$1(pseudo) {
42248 return pseudo.isClass === this.isClass && pseudo.name === this.name;
42249 },
42250 $signature: 528
42251 };
42252 A._selectorPseudoArgs_closure0.prototype = {
42253 call$1(pseudo) {
42254 return pseudo.selector;
42255 },
42256 $signature: 529
42257 };
42258 A.MergedExtension.prototype = {
42259 unmerge$0() {
42260 var $async$self = this;
42261 return A._makeSyncStarIterable(function() {
42262 var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
42263 return function $async$unmerge$0($async$errorCode, $async$result) {
42264 if ($async$errorCode === 1) {
42265 $async$currentError = $async$result;
42266 $async$goto = $async$handler;
42267 }
42268 while (true)
42269 switch ($async$goto) {
42270 case 0:
42271 // Function start
42272 left = $async$self.left;
42273 $async$goto = left instanceof A.MergedExtension ? 2 : 4;
42274 break;
42275 case 2:
42276 // then
42277 $async$goto = 5;
42278 return A._IterationMarker_yieldStar(left.unmerge$0());
42279 case 5:
42280 // after yield
42281 // goto join
42282 $async$goto = 3;
42283 break;
42284 case 4:
42285 // else
42286 $async$goto = 6;
42287 return left;
42288 case 6:
42289 // after yield
42290 case 3:
42291 // join
42292 right = $async$self.right;
42293 $async$goto = right instanceof A.MergedExtension ? 7 : 9;
42294 break;
42295 case 7:
42296 // then
42297 $async$goto = 10;
42298 return A._IterationMarker_yieldStar(right.unmerge$0());
42299 case 10:
42300 // after yield
42301 // goto join
42302 $async$goto = 8;
42303 break;
42304 case 9:
42305 // else
42306 $async$goto = 11;
42307 return right;
42308 case 11:
42309 // after yield
42310 case 8:
42311 // join
42312 // implicit return
42313 return A._IterationMarker_endOfIteration();
42314 case 1:
42315 // rethrow
42316 return A._IterationMarker_uncaughtError($async$currentError);
42317 }
42318 };
42319 }, type$.Extension);
42320 }
42321 };
42322 A.ExtendMode.prototype = {
42323 toString$0(_) {
42324 return this.name;
42325 }
42326 };
42327 A.globalFunctions_closure.prototype = {
42328 call$1($arguments) {
42329 var t1 = J.getInterceptor$asx($arguments);
42330 return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
42331 },
42332 $signature: 4
42333 };
42334 A.global_closure.prototype = {
42335 call$1($arguments) {
42336 return A._rgb("rgb", $arguments);
42337 },
42338 $signature: 4
42339 };
42340 A.global_closure0.prototype = {
42341 call$1($arguments) {
42342 return A._rgb("rgb", $arguments);
42343 },
42344 $signature: 4
42345 };
42346 A.global_closure1.prototype = {
42347 call$1($arguments) {
42348 return A._rgbTwoArg("rgb", $arguments);
42349 },
42350 $signature: 4
42351 };
42352 A.global_closure2.prototype = {
42353 call$1($arguments) {
42354 var parsed = A._parseChannels("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
42355 return parsed instanceof A.SassString ? parsed : A._rgb("rgb", type$.List_Value._as(parsed));
42356 },
42357 $signature: 4
42358 };
42359 A.global_closure3.prototype = {
42360 call$1($arguments) {
42361 return A._rgb("rgba", $arguments);
42362 },
42363 $signature: 4
42364 };
42365 A.global_closure4.prototype = {
42366 call$1($arguments) {
42367 return A._rgb("rgba", $arguments);
42368 },
42369 $signature: 4
42370 };
42371 A.global_closure5.prototype = {
42372 call$1($arguments) {
42373 return A._rgbTwoArg("rgba", $arguments);
42374 },
42375 $signature: 4
42376 };
42377 A.global_closure6.prototype = {
42378 call$1($arguments) {
42379 var parsed = A._parseChannels("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
42380 return parsed instanceof A.SassString ? parsed : A._rgb("rgba", type$.List_Value._as(parsed));
42381 },
42382 $signature: 4
42383 };
42384 A.global_closure7.prototype = {
42385 call$1($arguments) {
42386 var color, t2,
42387 t1 = J.getInterceptor$asx($arguments),
42388 weight = t1.$index($arguments, 1).assertNumber$1("weight");
42389 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42390 if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
42391 throw A.wrapException(string$.Only_oa);
42392 return A._functionString("invert", t1.take$1($arguments, 1));
42393 }
42394 color = t1.$index($arguments, 0).assertColor$1("color");
42395 t1 = color.get$red(color);
42396 t2 = color.get$green(color);
42397 return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
42398 },
42399 $signature: 4
42400 };
42401 A.global_closure8.prototype = {
42402 call$1($arguments) {
42403 return A._hsl("hsl", $arguments);
42404 },
42405 $signature: 4
42406 };
42407 A.global_closure9.prototype = {
42408 call$1($arguments) {
42409 return A._hsl("hsl", $arguments);
42410 },
42411 $signature: 4
42412 };
42413 A.global_closure10.prototype = {
42414 call$1($arguments) {
42415 var t1 = J.getInterceptor$asx($arguments);
42416 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
42417 return A._functionString("hsl", $arguments);
42418 else
42419 throw A.wrapException(A.SassScriptException$("Missing argument $lightness."));
42420 },
42421 $signature: 13
42422 };
42423 A.global_closure11.prototype = {
42424 call$1($arguments) {
42425 var parsed = A._parseChannels("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
42426 return parsed instanceof A.SassString ? parsed : A._hsl("hsl", type$.List_Value._as(parsed));
42427 },
42428 $signature: 4
42429 };
42430 A.global_closure12.prototype = {
42431 call$1($arguments) {
42432 return A._hsl("hsla", $arguments);
42433 },
42434 $signature: 4
42435 };
42436 A.global_closure13.prototype = {
42437 call$1($arguments) {
42438 return A._hsl("hsla", $arguments);
42439 },
42440 $signature: 4
42441 };
42442 A.global_closure14.prototype = {
42443 call$1($arguments) {
42444 var t1 = J.getInterceptor$asx($arguments);
42445 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
42446 return A._functionString("hsla", $arguments);
42447 else
42448 throw A.wrapException(A.SassScriptException$("Missing argument $lightness."));
42449 },
42450 $signature: 13
42451 };
42452 A.global_closure15.prototype = {
42453 call$1($arguments) {
42454 var parsed = A._parseChannels("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
42455 return parsed instanceof A.SassString ? parsed : A._hsl("hsla", type$.List_Value._as(parsed));
42456 },
42457 $signature: 4
42458 };
42459 A.global_closure16.prototype = {
42460 call$1($arguments) {
42461 var t1 = J.getInterceptor$asx($arguments);
42462 if (t1.$index($arguments, 0) instanceof A.SassNumber)
42463 return A._functionString("grayscale", $arguments);
42464 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
42465 },
42466 $signature: 4
42467 };
42468 A.global_closure17.prototype = {
42469 call$1($arguments) {
42470 var t1 = J.getInterceptor$asx($arguments),
42471 color = t1.$index($arguments, 0).assertColor$1("color"),
42472 degrees = t1.$index($arguments, 1).assertNumber$1("degrees");
42473 A._checkAngle(degrees, null);
42474 return color.changeHsl$1$hue(color.get$hue(color) + degrees._number$_value);
42475 },
42476 $signature: 24
42477 };
42478 A.global_closure18.prototype = {
42479 call$1($arguments) {
42480 var t1 = J.getInterceptor$asx($arguments),
42481 color = t1.$index($arguments, 0).assertColor$1("color"),
42482 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42483 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
42484 },
42485 $signature: 24
42486 };
42487 A.global_closure19.prototype = {
42488 call$1($arguments) {
42489 var t1 = J.getInterceptor$asx($arguments),
42490 color = t1.$index($arguments, 0).assertColor$1("color"),
42491 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42492 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
42493 },
42494 $signature: 24
42495 };
42496 A.global_closure20.prototype = {
42497 call$1($arguments) {
42498 return new A.SassString("saturate(" + A.serializeValue(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
42499 },
42500 $signature: 13
42501 };
42502 A.global_closure21.prototype = {
42503 call$1($arguments) {
42504 var t1 = J.getInterceptor$asx($arguments),
42505 color = t1.$index($arguments, 0).assertColor$1("color"),
42506 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42507 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
42508 },
42509 $signature: 24
42510 };
42511 A.global_closure22.prototype = {
42512 call$1($arguments) {
42513 var t1 = J.getInterceptor$asx($arguments),
42514 color = t1.$index($arguments, 0).assertColor$1("color"),
42515 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42516 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
42517 },
42518 $signature: 24
42519 };
42520 A.global_closure23.prototype = {
42521 call$1($arguments) {
42522 var color,
42523 argument = J.$index$asx($arguments, 0);
42524 if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart()))
42525 return A._functionString("alpha", $arguments);
42526 color = argument.assertColor$1("color");
42527 return new A.UnitlessSassNumber(color._alpha, null);
42528 },
42529 $signature: 4
42530 };
42531 A.global_closure24.prototype = {
42532 call$1($arguments) {
42533 var t1,
42534 argList = J.$index$asx($arguments, 0).get$asList();
42535 if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
42536 return A._functionString("alpha", $arguments);
42537 t1 = argList.length;
42538 if (t1 === 0)
42539 throw A.wrapException(A.SassScriptException$("Missing argument $color."));
42540 else
42541 throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed."));
42542 },
42543 $signature: 13
42544 };
42545 A.global__closure.prototype = {
42546 call$1(argument) {
42547 return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
42548 },
42549 $signature: 62
42550 };
42551 A.global_closure25.prototype = {
42552 call$1($arguments) {
42553 var color,
42554 t1 = J.getInterceptor$asx($arguments);
42555 if (t1.$index($arguments, 0) instanceof A.SassNumber)
42556 return A._functionString("opacity", $arguments);
42557 color = t1.$index($arguments, 0).assertColor$1("color");
42558 return new A.UnitlessSassNumber(color._alpha, null);
42559 },
42560 $signature: 4
42561 };
42562 A.module_closure.prototype = {
42563 call$1($arguments) {
42564 var result, color, t2,
42565 t1 = J.getInterceptor$asx($arguments),
42566 weight = t1.$index($arguments, 1).assertNumber$1("weight");
42567 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42568 if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
42569 throw A.wrapException(string$.Only_oa);
42570 result = A._functionString("invert", t1.take$1($arguments, 1));
42571 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_ci + result.toString$0(0);
42572 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
42573 return result;
42574 }
42575 color = t1.$index($arguments, 0).assertColor$1("color");
42576 t1 = color.get$red(color);
42577 t2 = color.get$green(color);
42578 return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
42579 },
42580 $signature: 4
42581 };
42582 A.module_closure0.prototype = {
42583 call$1($arguments) {
42584 var result,
42585 t1 = J.getInterceptor$asx($arguments);
42586 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42587 result = A._functionString("grayscale", t1.take$1($arguments, 1));
42588 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_cg + result.toString$0(0);
42589 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
42590 return result;
42591 }
42592 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
42593 },
42594 $signature: 4
42595 };
42596 A.module_closure1.prototype = {
42597 call$1($arguments) {
42598 return A._hwb($arguments);
42599 },
42600 $signature: 4
42601 };
42602 A.module_closure2.prototype = {
42603 call$1($arguments) {
42604 var parsed = A._parseChannels("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
42605 if (parsed instanceof A.SassString)
42606 throw A.wrapException(A.SassScriptException$('Expected numeric channels, got "' + parsed.toString$0(0) + '".'));
42607 else
42608 return A._hwb(type$.List_Value._as(parsed));
42609 },
42610 $signature: 4
42611 };
42612 A.module_closure3.prototype = {
42613 call$1($arguments) {
42614 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42615 t1 = t1.get$whiteness(t1);
42616 return new A.SingleUnitSassNumber("%", t1, null);
42617 },
42618 $signature: 10
42619 };
42620 A.module_closure4.prototype = {
42621 call$1($arguments) {
42622 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42623 t1 = t1.get$blackness(t1);
42624 return new A.SingleUnitSassNumber("%", t1, null);
42625 },
42626 $signature: 10
42627 };
42628 A.module_closure5.prototype = {
42629 call$1($arguments) {
42630 var result, t1, color,
42631 argument = J.$index$asx($arguments, 0);
42632 if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart())) {
42633 result = A._functionString("alpha", $arguments);
42634 t1 = string$.Using_c + result.toString$0(0);
42635 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
42636 return result;
42637 }
42638 color = argument.assertColor$1("color");
42639 return new A.UnitlessSassNumber(color._alpha, null);
42640 },
42641 $signature: 4
42642 };
42643 A.module_closure6.prototype = {
42644 call$1($arguments) {
42645 var result,
42646 t1 = J.getInterceptor$asx($arguments);
42647 if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure())) {
42648 result = A._functionString("alpha", $arguments);
42649 t1 = string$.Using_c + result.toString$0(0);
42650 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
42651 return result;
42652 }
42653 throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed."));
42654 },
42655 $signature: 13
42656 };
42657 A.module__closure.prototype = {
42658 call$1(argument) {
42659 return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
42660 },
42661 $signature: 62
42662 };
42663 A.module_closure7.prototype = {
42664 call$1($arguments) {
42665 var result, color,
42666 t1 = J.getInterceptor$asx($arguments);
42667 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42668 result = A._functionString("opacity", $arguments);
42669 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x20to_co + result.toString$0(0);
42670 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
42671 return result;
42672 }
42673 color = t1.$index($arguments, 0).assertColor$1("color");
42674 return new A.UnitlessSassNumber(color._alpha, null);
42675 },
42676 $signature: 4
42677 };
42678 A._red_closure.prototype = {
42679 call$1($arguments) {
42680 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42681 t1 = t1.get$red(t1);
42682 return new A.UnitlessSassNumber(t1, null);
42683 },
42684 $signature: 10
42685 };
42686 A._green_closure.prototype = {
42687 call$1($arguments) {
42688 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42689 t1 = t1.get$green(t1);
42690 return new A.UnitlessSassNumber(t1, null);
42691 },
42692 $signature: 10
42693 };
42694 A._blue_closure.prototype = {
42695 call$1($arguments) {
42696 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42697 t1 = t1.get$blue(t1);
42698 return new A.UnitlessSassNumber(t1, null);
42699 },
42700 $signature: 10
42701 };
42702 A._mix_closure.prototype = {
42703 call$1($arguments) {
42704 var t1 = J.getInterceptor$asx($arguments);
42705 return A._mixColors(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
42706 },
42707 $signature: 24
42708 };
42709 A._hue_closure.prototype = {
42710 call$1($arguments) {
42711 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42712 t1 = t1.get$hue(t1);
42713 return new A.SingleUnitSassNumber("deg", t1, null);
42714 },
42715 $signature: 10
42716 };
42717 A._saturation_closure.prototype = {
42718 call$1($arguments) {
42719 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42720 t1 = t1.get$saturation(t1);
42721 return new A.SingleUnitSassNumber("%", t1, null);
42722 },
42723 $signature: 10
42724 };
42725 A._lightness_closure.prototype = {
42726 call$1($arguments) {
42727 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42728 t1 = t1.get$lightness(t1);
42729 return new A.SingleUnitSassNumber("%", t1, null);
42730 },
42731 $signature: 10
42732 };
42733 A._complement_closure.prototype = {
42734 call$1($arguments) {
42735 var color = J.$index$asx($arguments, 0).assertColor$1("color");
42736 return color.changeHsl$1$hue(color.get$hue(color) + 180);
42737 },
42738 $signature: 24
42739 };
42740 A._adjust_closure.prototype = {
42741 call$1($arguments) {
42742 return A._updateComponents($arguments, true, false, false);
42743 },
42744 $signature: 24
42745 };
42746 A._scale_closure.prototype = {
42747 call$1($arguments) {
42748 return A._updateComponents($arguments, false, false, true);
42749 },
42750 $signature: 24
42751 };
42752 A._change_closure.prototype = {
42753 call$1($arguments) {
42754 return A._updateComponents($arguments, false, true, false);
42755 },
42756 $signature: 24
42757 };
42758 A._ieHexStr_closure.prototype = {
42759 call$1($arguments) {
42760 var color = J.$index$asx($arguments, 0).assertColor$1("color"),
42761 t1 = new A._ieHexStr_closure_hexString();
42762 return new A.SassString("#" + A.S(t1.call$1(A.fuzzyRound(color._alpha * 255))) + A.S(t1.call$1(color.get$red(color))) + A.S(t1.call$1(color.get$green(color))) + A.S(t1.call$1(color.get$blue(color))), false);
42763 },
42764 $signature: 13
42765 };
42766 A._ieHexStr_closure_hexString.prototype = {
42767 call$1(component) {
42768 return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
42769 },
42770 $signature: 196
42771 };
42772 A._updateComponents_getParam.prototype = {
42773 call$4$assertPercent$checkPercent($name, max, assertPercent, checkPercent) {
42774 var t2,
42775 t1 = this.keywords.remove$1(0, $name),
42776 number = t1 == null ? null : t1.assertNumber$1($name);
42777 if (number == null)
42778 return null;
42779 t1 = this.scale;
42780 t2 = !t1;
42781 if (t2 && checkPercent)
42782 A._checkPercent(number, $name);
42783 if (!t2 || assertPercent)
42784 number.assertUnit$2("%", $name);
42785 if (t1)
42786 max = 100;
42787 return number.valueInRange$3(this.change ? 0 : -max, max, $name);
42788 },
42789 call$2($name, max) {
42790 return this.call$4$assertPercent$checkPercent($name, max, false, false);
42791 },
42792 call$3$checkPercent($name, max, checkPercent) {
42793 return this.call$4$assertPercent$checkPercent($name, max, false, checkPercent);
42794 },
42795 call$3$assertPercent($name, max, assertPercent) {
42796 return this.call$4$assertPercent$checkPercent($name, max, assertPercent, false);
42797 },
42798 $signature: 195
42799 };
42800 A._updateComponents_closure.prototype = {
42801 call$1($name) {
42802 return "$" + $name;
42803 },
42804 $signature: 5
42805 };
42806 A._updateComponents_updateValue.prototype = {
42807 call$3(current, param, max) {
42808 var t1;
42809 if (param == null)
42810 return current;
42811 if (this.change)
42812 return param;
42813 if (this.adjust)
42814 return B.JSNumber_methods.clamp$2(current + param, 0, max);
42815 t1 = param > 0 ? max - current : current;
42816 return current + t1 * (param / 100);
42817 },
42818 $signature: 194
42819 };
42820 A._updateComponents_updateRgb.prototype = {
42821 call$2(current, param) {
42822 return A.fuzzyRound(this.updateValue.call$3(current, param, 255));
42823 },
42824 $signature: 193
42825 };
42826 A._functionString_closure.prototype = {
42827 call$1(argument) {
42828 return A.serializeValue(argument, false, true);
42829 },
42830 $signature: 266
42831 };
42832 A._removedColorFunction_closure.prototype = {
42833 call$1($arguments) {
42834 var t1 = this.name,
42835 t2 = J.getInterceptor$asx($arguments),
42836 t3 = "The function " + t1 + string$.x28__isn + A.S(t2.$index($arguments, 0)) + ", $" + this.argument + ": ";
42837 throw A.wrapException(A.SassScriptException$(t3 + (this.negative ? "-" : "") + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Morx3a + t1));
42838 },
42839 $signature: 269
42840 };
42841 A._rgb_closure.prototype = {
42842 call$1(alpha) {
42843 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
42844 },
42845 $signature: 102
42846 };
42847 A._hsl_closure.prototype = {
42848 call$1(alpha) {
42849 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
42850 },
42851 $signature: 102
42852 };
42853 A._removeUnits_closure.prototype = {
42854 call$1(unit) {
42855 return " * 1" + unit;
42856 },
42857 $signature: 5
42858 };
42859 A._removeUnits_closure0.prototype = {
42860 call$1(unit) {
42861 return " / 1" + unit;
42862 },
42863 $signature: 5
42864 };
42865 A._hwb_closure.prototype = {
42866 call$1(alpha) {
42867 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
42868 },
42869 $signature: 102
42870 };
42871 A._parseChannels_closure.prototype = {
42872 call$1(value) {
42873 return value.get$isVar();
42874 },
42875 $signature: 62
42876 };
42877 A._length_closure0.prototype = {
42878 call$1($arguments) {
42879 var t1 = J.$index$asx($arguments, 0).get$asList().length;
42880 return new A.UnitlessSassNumber(t1, null);
42881 },
42882 $signature: 10
42883 };
42884 A._nth_closure.prototype = {
42885 call$1($arguments) {
42886 var t1 = J.getInterceptor$asx($arguments),
42887 list = t1.$index($arguments, 0),
42888 index = t1.$index($arguments, 1);
42889 return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
42890 },
42891 $signature: 4
42892 };
42893 A._setNth_closure.prototype = {
42894 call$1($arguments) {
42895 var t1 = J.getInterceptor$asx($arguments),
42896 list = t1.$index($arguments, 0),
42897 index = t1.$index($arguments, 1),
42898 value = t1.$index($arguments, 2),
42899 t2 = list.get$asList(),
42900 newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
42901 newList[list.sassIndexToListIndex$2(index, "n")] = value;
42902 return t1.$index($arguments, 0).withListContents$1(newList);
42903 },
42904 $signature: 22
42905 };
42906 A._join_closure.prototype = {
42907 call$1($arguments) {
42908 var separator, bracketed,
42909 t1 = J.getInterceptor$asx($arguments),
42910 list1 = t1.$index($arguments, 0),
42911 list2 = t1.$index($arguments, 1),
42912 separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
42913 bracketedParam = t1.$index($arguments, 3);
42914 t1 = separatorParam._string$_text;
42915 if (t1 === "auto")
42916 if (list1.get$separator(list1) !== B.ListSeparator_undecided_null)
42917 separator = list1.get$separator(list1);
42918 else
42919 separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null ? list2.get$separator(list2) : B.ListSeparator_woc;
42920 else if (t1 === "space")
42921 separator = B.ListSeparator_woc;
42922 else if (t1 === "comma")
42923 separator = B.ListSeparator_kWM;
42924 else {
42925 if (t1 !== "slash")
42926 throw A.wrapException(A.SassScriptException$(string$.x24separ));
42927 separator = B.ListSeparator_1gm;
42928 }
42929 bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
42930 t1 = A.List_List$of(list1.get$asList(), true, type$.Value);
42931 B.JSArray_methods.addAll$1(t1, list2.get$asList());
42932 return A.SassList$(t1, separator, bracketed);
42933 },
42934 $signature: 22
42935 };
42936 A._append_closure0.prototype = {
42937 call$1($arguments) {
42938 var separator,
42939 t1 = J.getInterceptor$asx($arguments),
42940 list = t1.$index($arguments, 0),
42941 value = t1.$index($arguments, 1);
42942 t1 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
42943 if (t1 === "auto")
42944 separator = list.get$separator(list) === B.ListSeparator_undecided_null ? B.ListSeparator_woc : list.get$separator(list);
42945 else if (t1 === "space")
42946 separator = B.ListSeparator_woc;
42947 else if (t1 === "comma")
42948 separator = B.ListSeparator_kWM;
42949 else {
42950 if (t1 !== "slash")
42951 throw A.wrapException(A.SassScriptException$(string$.x24separ));
42952 separator = B.ListSeparator_1gm;
42953 }
42954 t1 = A.List_List$of(list.get$asList(), true, type$.Value);
42955 t1.push(value);
42956 return list.withListContents$2$separator(t1, separator);
42957 },
42958 $signature: 22
42959 };
42960 A._zip_closure.prototype = {
42961 call$1($arguments) {
42962 var results, result, _box_0 = {},
42963 t1 = J.$index$asx($arguments, 0).get$asList(),
42964 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
42965 lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
42966 if (lists.length === 0)
42967 return B.SassList_yfz;
42968 _box_0.i = 0;
42969 results = A._setArrayType([], type$.JSArray_SassList);
42970 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));) {
42971 result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
42972 result.fixed$length = Array;
42973 result.immutable$list = Array;
42974 results.push(new A.SassList(result, B.ListSeparator_woc, false));
42975 ++_box_0.i;
42976 }
42977 return A.SassList$(results, B.ListSeparator_kWM, false);
42978 },
42979 $signature: 22
42980 };
42981 A._zip__closure.prototype = {
42982 call$1(list) {
42983 return list.get$asList();
42984 },
42985 $signature: 289
42986 };
42987 A._zip__closure0.prototype = {
42988 call$1(list) {
42989 return this._box_0.i !== J.get$length$asx(list);
42990 },
42991 $signature: 291
42992 };
42993 A._zip__closure1.prototype = {
42994 call$1(list) {
42995 return J.$index$asx(list, this._box_0.i);
42996 },
42997 $signature: 4
42998 };
42999 A._index_closure0.prototype = {
43000 call$1($arguments) {
43001 var t1 = J.getInterceptor$asx($arguments),
43002 index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
43003 if (index === -1)
43004 t1 = B.C__SassNull;
43005 else
43006 t1 = new A.UnitlessSassNumber(index + 1, null);
43007 return t1;
43008 },
43009 $signature: 4
43010 };
43011 A._separator_closure.prototype = {
43012 call$1($arguments) {
43013 switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
43014 case B.ListSeparator_kWM:
43015 return new A.SassString("comma", false);
43016 case B.ListSeparator_1gm:
43017 return new A.SassString("slash", false);
43018 default:
43019 return new A.SassString("space", false);
43020 }
43021 },
43022 $signature: 13
43023 };
43024 A._isBracketed_closure.prototype = {
43025 call$1($arguments) {
43026 return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
43027 },
43028 $signature: 19
43029 };
43030 A._slash_closure.prototype = {
43031 call$1($arguments) {
43032 var list = J.$index$asx($arguments, 0).get$asList();
43033 if (list.length < 2)
43034 throw A.wrapException(A.SassScriptException$("At least two elements are required."));
43035 return A.SassList$(list, B.ListSeparator_1gm, false);
43036 },
43037 $signature: 22
43038 };
43039 A._get_closure.prototype = {
43040 call$1($arguments) {
43041 var t3, value,
43042 t1 = J.getInterceptor$asx($arguments),
43043 map = t1.$index($arguments, 0).assertMap$1("map"),
43044 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43045 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43046 for (t1 = A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value), t1 = new A.ListIterator(t1, t1.get$length(t1)), t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0(); map = value) {
43047 value = map._map$_contents.$index(0, t3._as(t1.__internal$_current));
43048 if (!(value instanceof A.SassMap))
43049 return B.C__SassNull;
43050 }
43051 t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
43052 return t1 == null ? B.C__SassNull : t1;
43053 },
43054 $signature: 4
43055 };
43056 A._set_closure.prototype = {
43057 call$1($arguments) {
43058 var t1 = J.getInterceptor$asx($arguments);
43059 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);
43060 },
43061 $signature: 4
43062 };
43063 A._set__closure0.prototype = {
43064 call$1(_) {
43065 return J.$index$asx(this.$arguments, 2);
43066 },
43067 $signature: 34
43068 };
43069 A._set_closure0.prototype = {
43070 call$1($arguments) {
43071 var t1 = J.getInterceptor$asx($arguments),
43072 map = t1.$index($arguments, 0).assertMap$1("map"),
43073 args = t1.$index($arguments, 1).get$asList();
43074 t1 = args.length;
43075 if (t1 === 0)
43076 throw A.wrapException(A.SassScriptException$("Expected $args to contain a key."));
43077 else if (t1 === 1)
43078 throw A.wrapException(A.SassScriptException$("Expected $args to contain a value."));
43079 return A._modify(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure(args), true);
43080 },
43081 $signature: 4
43082 };
43083 A._set__closure.prototype = {
43084 call$1(_) {
43085 return B.JSArray_methods.get$last(this.args);
43086 },
43087 $signature: 34
43088 };
43089 A._merge_closure.prototype = {
43090 call$1($arguments) {
43091 var t2, t3, t4,
43092 t1 = J.getInterceptor$asx($arguments),
43093 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
43094 map2 = t1.$index($arguments, 1).assertMap$1("map2");
43095 t1 = type$.Value;
43096 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43097 for (t3 = map1._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43098 t4 = t3.get$current(t3);
43099 t2.$indexSet(0, t4.key, t4.value);
43100 }
43101 for (t3 = map2._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43102 t4 = t3.get$current(t3);
43103 t2.$indexSet(0, t4.key, t4.value);
43104 }
43105 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43106 },
43107 $signature: 35
43108 };
43109 A._merge_closure0.prototype = {
43110 call$1($arguments) {
43111 var map2,
43112 t1 = J.getInterceptor$asx($arguments),
43113 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
43114 args = t1.$index($arguments, 1).get$asList();
43115 t1 = args.length;
43116 if (t1 === 0)
43117 throw A.wrapException(A.SassScriptException$("Expected $args to contain a key."));
43118 else if (t1 === 1)
43119 throw A.wrapException(A.SassScriptException$("Expected $args to contain a map."));
43120 map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
43121 return A._modify(map1, A.SubListIterable$(args, 0, A.checkNotNullable(args.length - 1, "count", type$.int), A._arrayInstanceType(args)._precomputed1), new A._merge__closure(map2), true);
43122 },
43123 $signature: 4
43124 };
43125 A._merge__closure.prototype = {
43126 call$1(oldValue) {
43127 var t1, t2, t3, t4,
43128 nestedMap = oldValue.tryMap$0();
43129 if (nestedMap == null)
43130 return this.map2;
43131 t1 = type$.Value;
43132 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43133 for (t3 = nestedMap._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43134 t4 = t3.get$current(t3);
43135 t2.$indexSet(0, t4.key, t4.value);
43136 }
43137 for (t3 = this.map2._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43138 t4 = t3.get$current(t3);
43139 t2.$indexSet(0, t4.key, t4.value);
43140 }
43141 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43142 },
43143 $signature: 296
43144 };
43145 A._deepMerge_closure.prototype = {
43146 call$1($arguments) {
43147 var t1 = J.getInterceptor$asx($arguments);
43148 return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
43149 },
43150 $signature: 35
43151 };
43152 A._deepRemove_closure.prototype = {
43153 call$1($arguments) {
43154 var t1 = J.getInterceptor$asx($arguments),
43155 map = t1.$index($arguments, 0).assertMap$1("map"),
43156 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43157 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43158 return A._modify(map, A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value), new A._deepRemove__closure(t2), false);
43159 },
43160 $signature: 4
43161 };
43162 A._deepRemove__closure.prototype = {
43163 call$1(value) {
43164 var t1, t2,
43165 nestedMap = value.tryMap$0();
43166 if (nestedMap != null && nestedMap._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
43167 t1 = type$.Value;
43168 t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
43169 t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
43170 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43171 }
43172 return value;
43173 },
43174 $signature: 34
43175 };
43176 A._remove_closure.prototype = {
43177 call$1($arguments) {
43178 return J.$index$asx($arguments, 0).assertMap$1("map");
43179 },
43180 $signature: 35
43181 };
43182 A._remove_closure0.prototype = {
43183 call$1($arguments) {
43184 var mutableMap, t3, _i,
43185 t1 = J.getInterceptor$asx($arguments),
43186 map = t1.$index($arguments, 0).assertMap$1("map"),
43187 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43188 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43189 t1 = type$.Value;
43190 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
43191 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
43192 mutableMap.remove$1(0, t2[_i]);
43193 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43194 },
43195 $signature: 35
43196 };
43197 A._keys_closure.prototype = {
43198 call$1($arguments) {
43199 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
43200 return A.SassList$(t1.get$keys(t1), B.ListSeparator_kWM, false);
43201 },
43202 $signature: 22
43203 };
43204 A._values_closure.prototype = {
43205 call$1($arguments) {
43206 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
43207 return A.SassList$(t1.get$values(t1), B.ListSeparator_kWM, false);
43208 },
43209 $signature: 22
43210 };
43211 A._hasKey_closure.prototype = {
43212 call$1($arguments) {
43213 var t3, value,
43214 t1 = J.getInterceptor$asx($arguments),
43215 map = t1.$index($arguments, 0).assertMap$1("map"),
43216 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43217 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43218 for (t1 = A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value), t1 = new A.ListIterator(t1, t1.get$length(t1)), t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0(); map = value) {
43219 value = map._map$_contents.$index(0, t3._as(t1.__internal$_current));
43220 if (!(value instanceof A.SassMap))
43221 return B.SassBoolean_false;
43222 }
43223 return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
43224 },
43225 $signature: 19
43226 };
43227 A._modify__modifyNestedMap.prototype = {
43228 call$1(map) {
43229 var nestedMap, _this = this,
43230 t1 = type$.Value,
43231 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
43232 t2 = _this.keyIterator,
43233 key = t2.get$current(t2);
43234 if (!t2.moveNext$0()) {
43235 t2 = mutableMap.$index(0, key);
43236 if (t2 == null)
43237 t2 = B.C__SassNull;
43238 mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
43239 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43240 }
43241 t2 = mutableMap.$index(0, key);
43242 nestedMap = t2 == null ? null : t2.tryMap$0();
43243 t2 = nestedMap == null;
43244 if (t2 && !_this.addNesting)
43245 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43246 mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
43247 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43248 },
43249 $signature: 299
43250 };
43251 A._deepMergeImpl__ensureMutable.prototype = {
43252 call$0() {
43253 var t2,
43254 t1 = this._box_0;
43255 if (t1.mutable)
43256 return;
43257 t1.mutable = true;
43258 t2 = type$.Value;
43259 t1.result = A.LinkedHashMap_LinkedHashMap$of(t1.result, t2, t2);
43260 },
43261 $signature: 0
43262 };
43263 A._deepMergeImpl_closure.prototype = {
43264 call$2(key, value) {
43265 var resultMap, valueMap, merged,
43266 t1 = this._box_0,
43267 resultValue = t1.result.$index(0, key);
43268 if (resultValue == null) {
43269 this._ensureMutable.call$0();
43270 t1.result.$indexSet(0, key, value);
43271 } else {
43272 resultMap = resultValue.tryMap$0();
43273 valueMap = value.tryMap$0();
43274 if (resultMap != null && valueMap != null) {
43275 merged = A._deepMergeImpl(valueMap, resultMap);
43276 if (merged === resultMap)
43277 return;
43278 this._ensureMutable.call$0();
43279 t1.result.$indexSet(0, key, merged);
43280 }
43281 }
43282 },
43283 $signature: 56
43284 };
43285 A._ceil_closure.prototype = {
43286 call$1(value) {
43287 return B.JSNumber_methods.ceil$0(value);
43288 },
43289 $signature: 42
43290 };
43291 A._clamp_closure.prototype = {
43292 call$1($arguments) {
43293 var t1 = J.getInterceptor$asx($arguments),
43294 min = t1.$index($arguments, 0).assertNumber$1("min"),
43295 number = t1.$index($arguments, 1).assertNumber$1("number"),
43296 max = t1.$index($arguments, 2).assertNumber$1("max");
43297 number.convertValueToMatch$3(min, "number", "min");
43298 max.convertValueToMatch$3(min, "max", "min");
43299 if (min.greaterThanOrEquals$1(max).value)
43300 return min;
43301 if (min.greaterThanOrEquals$1(number).value)
43302 return min;
43303 if (number.greaterThanOrEquals$1(max).value)
43304 return max;
43305 return number;
43306 },
43307 $signature: 10
43308 };
43309 A._floor_closure.prototype = {
43310 call$1(value) {
43311 return B.JSNumber_methods.floor$0(value);
43312 },
43313 $signature: 42
43314 };
43315 A._max_closure.prototype = {
43316 call$1($arguments) {
43317 var t1, t2, max, _i, number;
43318 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) {
43319 number = t1[_i].assertNumber$0();
43320 if (max == null || max.lessThan$1(number).value)
43321 max = number;
43322 }
43323 if (max != null)
43324 return max;
43325 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43326 },
43327 $signature: 10
43328 };
43329 A._min_closure.prototype = {
43330 call$1($arguments) {
43331 var t1, t2, min, _i, number;
43332 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) {
43333 number = t1[_i].assertNumber$0();
43334 if (min == null || min.greaterThan$1(number).value)
43335 min = number;
43336 }
43337 if (min != null)
43338 return min;
43339 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43340 },
43341 $signature: 10
43342 };
43343 A._abs_closure.prototype = {
43344 call$1(value) {
43345 return Math.abs(value);
43346 },
43347 $signature: 92
43348 };
43349 A._hypot_closure.prototype = {
43350 call$1($arguments) {
43351 var subtotal, i, i0, t3, t4,
43352 t1 = J.$index$asx($arguments, 0).get$asList(),
43353 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
43354 numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
43355 t1 = numbers.length;
43356 if (t1 === 0)
43357 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43358 for (subtotal = 0, i = 0; i < t1; i = i0) {
43359 i0 = i + 1;
43360 subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
43361 }
43362 t1 = Math.sqrt(subtotal);
43363 t2 = numbers[0];
43364 t3 = J.getInterceptor$x(t2);
43365 t4 = t3.get$numeratorUnits(t2);
43366 return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t2), t4);
43367 },
43368 $signature: 10
43369 };
43370 A._hypot__closure.prototype = {
43371 call$1(argument) {
43372 return argument.assertNumber$0();
43373 },
43374 $signature: 307
43375 };
43376 A._log_closure.prototype = {
43377 call$1($arguments) {
43378 var numberValue, base, baseValue, t2,
43379 _s18_ = " to have no units.",
43380 t1 = J.getInterceptor$asx($arguments),
43381 number = t1.$index($arguments, 0).assertNumber$1("number");
43382 if (number.get$hasUnits())
43383 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_));
43384 numberValue = A._fuzzyRoundIfZero(number._number$_value);
43385 if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull)) {
43386 t1 = Math.log(numberValue);
43387 return new A.UnitlessSassNumber(t1, null);
43388 }
43389 base = t1.$index($arguments, 1).assertNumber$1("base");
43390 if (base.get$hasUnits())
43391 throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_));
43392 t1 = base._number$_value;
43393 baseValue = Math.abs(t1 - 1) < $.$get$epsilon() ? A.fuzzyRound(t1) : A._fuzzyRoundIfZero(t1);
43394 t1 = Math.log(numberValue);
43395 t2 = Math.log(baseValue);
43396 return new A.UnitlessSassNumber(t1 / t2, null);
43397 },
43398 $signature: 10
43399 };
43400 A._pow_closure.prototype = {
43401 call$1($arguments) {
43402 var baseValue, exponentValue, t2, intExponent, t3,
43403 _s18_ = " to have no units.",
43404 _null = null,
43405 t1 = J.getInterceptor$asx($arguments),
43406 base = t1.$index($arguments, 0).assertNumber$1("base"),
43407 exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
43408 if (base.get$hasUnits())
43409 throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_));
43410 else if (exponent.get$hasUnits())
43411 throw A.wrapException(A.SassScriptException$("$exponent: Expected " + exponent.toString$0(0) + _s18_));
43412 baseValue = A._fuzzyRoundIfZero(base._number$_value);
43413 exponentValue = A._fuzzyRoundIfZero(exponent._number$_value);
43414 t1 = $.$get$epsilon();
43415 if (Math.abs(Math.abs(baseValue) - 1) < t1)
43416 t2 = exponentValue == 1 / 0 || exponentValue == -1 / 0;
43417 else
43418 t2 = false;
43419 if (t2)
43420 return new A.UnitlessSassNumber(0 / 0, _null);
43421 else {
43422 t2 = Math.abs(baseValue - 0);
43423 if (t2 < t1) {
43424 if (isFinite(exponentValue)) {
43425 intExponent = A.fuzzyIsInt(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
43426 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
43427 exponentValue = A.fuzzyRound(exponentValue);
43428 }
43429 } else {
43430 if (isFinite(baseValue))
43431 t3 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue) && A.fuzzyIsInt(exponentValue);
43432 else
43433 t3 = false;
43434 if (t3)
43435 exponentValue = A.fuzzyRound(exponentValue);
43436 else {
43437 if (baseValue == 1 / 0 || baseValue == -1 / 0)
43438 t1 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue);
43439 else
43440 t1 = false;
43441 if (t1) {
43442 intExponent = A.fuzzyIsInt(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
43443 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
43444 exponentValue = A.fuzzyRound(exponentValue);
43445 }
43446 }
43447 }
43448 }
43449 t1 = Math.pow(baseValue, exponentValue);
43450 return new A.UnitlessSassNumber(t1, _null);
43451 },
43452 $signature: 10
43453 };
43454 A._sqrt_closure.prototype = {
43455 call$1($arguments) {
43456 var t1,
43457 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43458 if (number.get$hasUnits())
43459 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43460 t1 = Math.sqrt(A._fuzzyRoundIfZero(number._number$_value));
43461 return new A.UnitlessSassNumber(t1, null);
43462 },
43463 $signature: 10
43464 };
43465 A._acos_closure.prototype = {
43466 call$1($arguments) {
43467 var numberValue,
43468 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43469 if (number.get$hasUnits())
43470 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43471 numberValue = number._number$_value;
43472 if (Math.abs(Math.abs(numberValue) - 1) < $.$get$epsilon())
43473 numberValue = A.fuzzyRound(numberValue);
43474 return A.SassNumber_SassNumber$withUnits(Math.acos(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43475 },
43476 $signature: 10
43477 };
43478 A._asin_closure.prototype = {
43479 call$1($arguments) {
43480 var t1, numberValue,
43481 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43482 if (number.get$hasUnits())
43483 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43484 t1 = number._number$_value;
43485 numberValue = Math.abs(Math.abs(t1) - 1) < $.$get$epsilon() ? A.fuzzyRound(t1) : A._fuzzyRoundIfZero(t1);
43486 return A.SassNumber_SassNumber$withUnits(Math.asin(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43487 },
43488 $signature: 10
43489 };
43490 A._atan_closure.prototype = {
43491 call$1($arguments) {
43492 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
43493 if (number.get$hasUnits())
43494 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43495 return A.SassNumber_SassNumber$withUnits(Math.atan(A._fuzzyRoundIfZero(number._number$_value)) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43496 },
43497 $signature: 10
43498 };
43499 A._atan2_closure.prototype = {
43500 call$1($arguments) {
43501 var t1 = J.getInterceptor$asx($arguments),
43502 y = t1.$index($arguments, 0).assertNumber$1("y"),
43503 xValue = A._fuzzyRoundIfZero(t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y"));
43504 return A.SassNumber_SassNumber$withUnits(Math.atan2(A._fuzzyRoundIfZero(y._number$_value), xValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43505 },
43506 $signature: 10
43507 };
43508 A._cos_closure.prototype = {
43509 call$1($arguments) {
43510 var t1 = Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"));
43511 return new A.UnitlessSassNumber(t1, null);
43512 },
43513 $signature: 10
43514 };
43515 A._sin_closure.prototype = {
43516 call$1($arguments) {
43517 var t1 = Math.sin(A._fuzzyRoundIfZero(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")));
43518 return new A.UnitlessSassNumber(t1, null);
43519 },
43520 $signature: 10
43521 };
43522 A._tan_closure.prototype = {
43523 call$1($arguments) {
43524 var value = J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"),
43525 t1 = B.JSNumber_methods.$mod(value - 1.5707963267948966, 6.283185307179586),
43526 t2 = $.$get$epsilon();
43527 if (Math.abs(t1 - 0) < t2)
43528 return new A.UnitlessSassNumber(1 / 0, null);
43529 else if (Math.abs(B.JSNumber_methods.$mod(value + 1.5707963267948966, 6.283185307179586) - 0) < t2)
43530 return new A.UnitlessSassNumber(-1 / 0, null);
43531 else {
43532 t1 = Math.tan(A._fuzzyRoundIfZero(value));
43533 return new A.UnitlessSassNumber(t1, null);
43534 }
43535 },
43536 $signature: 10
43537 };
43538 A._compatible_closure.prototype = {
43539 call$1($arguments) {
43540 var t1 = J.getInterceptor$asx($arguments);
43541 return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
43542 },
43543 $signature: 19
43544 };
43545 A._isUnitless_closure.prototype = {
43546 call$1($arguments) {
43547 return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
43548 },
43549 $signature: 19
43550 };
43551 A._unit_closure.prototype = {
43552 call$1($arguments) {
43553 return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
43554 },
43555 $signature: 13
43556 };
43557 A._percentage_closure.prototype = {
43558 call$1($arguments) {
43559 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
43560 number.assertNoUnits$1("number");
43561 return new A.SingleUnitSassNumber("%", number._number$_value * 100, null);
43562 },
43563 $signature: 10
43564 };
43565 A._randomFunction_closure.prototype = {
43566 call$1($arguments) {
43567 var limit,
43568 t1 = J.getInterceptor$asx($arguments);
43569 if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull)) {
43570 t1 = $.$get$_random0().nextDouble$0();
43571 return new A.UnitlessSassNumber(t1, null);
43572 }
43573 limit = t1.$index($arguments, 0).assertNumber$1("limit").assertInt$1("limit");
43574 if (limit < 1)
43575 throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit + "."));
43576 t1 = $.$get$_random0().nextInt$1(limit);
43577 return new A.UnitlessSassNumber(t1 + 1, null);
43578 },
43579 $signature: 10
43580 };
43581 A._div_closure.prototype = {
43582 call$1($arguments) {
43583 var t1 = J.getInterceptor$asx($arguments),
43584 number1 = t1.$index($arguments, 0),
43585 number2 = t1.$index($arguments, 1);
43586 if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
43587 A.EvaluationContext_current().warn$2$deprecation(0, string$.math_d, false);
43588 return number1.dividedBy$1(number2);
43589 },
43590 $signature: 4
43591 };
43592 A._numberFunction_closure.prototype = {
43593 call$1($arguments) {
43594 var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
43595 t1 = this.transform.call$1(number._number$_value),
43596 t2 = number.get$numeratorUnits(number);
43597 return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
43598 },
43599 $signature: 10
43600 };
43601 A.global_closure26.prototype = {
43602 call$1($arguments) {
43603 return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
43604 },
43605 $signature: 19
43606 };
43607 A.global_closure27.prototype = {
43608 call$1($arguments) {
43609 return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
43610 },
43611 $signature: 13
43612 };
43613 A.global_closure28.prototype = {
43614 call$1($arguments) {
43615 var value = J.$index$asx($arguments, 0);
43616 if (value instanceof A.SassArgumentList)
43617 return new A.SassString("arglist", false);
43618 if (value instanceof A.SassBoolean)
43619 return new A.SassString("bool", false);
43620 if (value instanceof A.SassColor)
43621 return new A.SassString("color", false);
43622 if (value instanceof A.SassList)
43623 return new A.SassString("list", false);
43624 if (value instanceof A.SassMap)
43625 return new A.SassString("map", false);
43626 if (value.$eq(0, B.C__SassNull))
43627 return new A.SassString("null", false);
43628 if (value instanceof A.SassNumber)
43629 return new A.SassString("number", false);
43630 if (value instanceof A.SassFunction)
43631 return new A.SassString("function", false);
43632 if (value instanceof A.SassCalculation)
43633 return new A.SassString("calculation", false);
43634 return new A.SassString("string", false);
43635 },
43636 $signature: 13
43637 };
43638 A.global_closure29.prototype = {
43639 call$1($arguments) {
43640 var t1, t2, t3, t4,
43641 argumentList = J.$index$asx($arguments, 0);
43642 if (argumentList instanceof A.SassArgumentList) {
43643 t1 = type$.Value;
43644 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43645 for (argumentList._wereKeywordsAccessed = true, t3 = argumentList._keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43646 t4 = t3.get$current(t3);
43647 t2.$indexSet(0, new A.SassString(t4.key, false), t4.value);
43648 }
43649 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43650 } else
43651 throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
43652 },
43653 $signature: 35
43654 };
43655 A.local_closure.prototype = {
43656 call$1($arguments) {
43657 return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
43658 },
43659 $signature: 13
43660 };
43661 A.local_closure0.prototype = {
43662 call$1($arguments) {
43663 var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
43664 return A.SassList$(new A.MappedListIterable(t1, new A.local__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
43665 },
43666 $signature: 22
43667 };
43668 A.local__closure.prototype = {
43669 call$1(argument) {
43670 if (argument instanceof A.Value)
43671 return argument;
43672 return new A.SassString(J.toString$0$(argument), false);
43673 },
43674 $signature: 311
43675 };
43676 A._nest_closure.prototype = {
43677 call$1($arguments) {
43678 var t1 = {},
43679 selectors = J.$index$asx($arguments, 0).get$asList();
43680 if (selectors.length === 0)
43681 throw A.wrapException(A.SassScriptException$(string$.x24selec));
43682 t1.first = true;
43683 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();
43684 },
43685 $signature: 22
43686 };
43687 A._nest__closure.prototype = {
43688 call$1(selector) {
43689 var t1 = this._box_0,
43690 result = selector.assertSelector$1$allowParent(!t1.first);
43691 t1.first = false;
43692 return result;
43693 },
43694 $signature: 187
43695 };
43696 A._nest__closure0.prototype = {
43697 call$2($parent, child) {
43698 return child.resolveParentSelectors$1($parent);
43699 },
43700 $signature: 186
43701 };
43702 A._append_closure.prototype = {
43703 call$1($arguments) {
43704 var selectors = J.$index$asx($arguments, 0).get$asList();
43705 if (selectors.length === 0)
43706 throw A.wrapException(A.SassScriptException$(string$.x24selec));
43707 return new A.MappedListIterable(selectors, new A._append__closure(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList>")).reduce$1(0, new A._append__closure0()).get$asSassList();
43708 },
43709 $signature: 22
43710 };
43711 A._append__closure.prototype = {
43712 call$1(selector) {
43713 return selector.assertSelector$0();
43714 },
43715 $signature: 187
43716 };
43717 A._append__closure0.prototype = {
43718 call$2($parent, child) {
43719 var t1 = child.components;
43720 return A.SelectorList$(new A.MappedListIterable(t1, new A._append___closure($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"))).resolveParentSelectors$1($parent);
43721 },
43722 $signature: 186
43723 };
43724 A._append___closure.prototype = {
43725 call$1(complex) {
43726 var newCompound, t2,
43727 t1 = complex.components,
43728 compound = B.JSArray_methods.get$first(t1);
43729 if (compound instanceof A.CompoundSelector) {
43730 newCompound = A._prependParent(compound);
43731 if (newCompound == null)
43732 throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
43733 t2 = A._setArrayType([newCompound], type$.JSArray_ComplexSelectorComponent);
43734 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
43735 return A.ComplexSelector$(t2, false);
43736 } else
43737 throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
43738 },
43739 $signature: 111
43740 };
43741 A._extend_closure.prototype = {
43742 call$1($arguments) {
43743 var t1 = J.getInterceptor$asx($arguments),
43744 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
43745 target = t1.$index($arguments, 1).assertSelector$1$name("extendee");
43746 return A.ExtensionStore__extendOrReplace(selector, t1.$index($arguments, 2).assertSelector$1$name("extender"), target, B.ExtendMode_allTargets, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
43747 },
43748 $signature: 22
43749 };
43750 A._replace_closure.prototype = {
43751 call$1($arguments) {
43752 var t1 = J.getInterceptor$asx($arguments),
43753 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
43754 target = t1.$index($arguments, 1).assertSelector$1$name("original");
43755 return A.ExtensionStore__extendOrReplace(selector, t1.$index($arguments, 2).assertSelector$1$name("replacement"), target, B.ExtendMode_replace, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
43756 },
43757 $signature: 22
43758 };
43759 A._unify_closure.prototype = {
43760 call$1($arguments) {
43761 var t1 = J.getInterceptor$asx($arguments),
43762 result = t1.$index($arguments, 0).assertSelector$1$name("selector1").unify$1(t1.$index($arguments, 1).assertSelector$1$name("selector2"));
43763 return result == null ? B.C__SassNull : result.get$asSassList();
43764 },
43765 $signature: 4
43766 };
43767 A._isSuperselector_closure.prototype = {
43768 call$1($arguments) {
43769 var t1 = J.getInterceptor$asx($arguments),
43770 selector1 = t1.$index($arguments, 0).assertSelector$1$name("super"),
43771 selector2 = t1.$index($arguments, 1).assertSelector$1$name("sub");
43772 return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
43773 },
43774 $signature: 19
43775 };
43776 A._simpleSelectors_closure.prototype = {
43777 call$1($arguments) {
43778 var t1 = J.$index$asx($arguments, 0).assertCompoundSelector$1$name("selector").components;
43779 return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
43780 },
43781 $signature: 22
43782 };
43783 A._simpleSelectors__closure.prototype = {
43784 call$1(simple) {
43785 return new A.SassString(A.serializeSelector(simple, true), false);
43786 },
43787 $signature: 316
43788 };
43789 A._parse_closure.prototype = {
43790 call$1($arguments) {
43791 return J.$index$asx($arguments, 0).assertSelector$1$name("selector").get$asSassList();
43792 },
43793 $signature: 22
43794 };
43795 A._unquote_closure.prototype = {
43796 call$1($arguments) {
43797 var string = J.$index$asx($arguments, 0).assertString$1("string");
43798 if (!string._hasQuotes)
43799 return string;
43800 return new A.SassString(string._string$_text, false);
43801 },
43802 $signature: 13
43803 };
43804 A._quote_closure.prototype = {
43805 call$1($arguments) {
43806 var string = J.$index$asx($arguments, 0).assertString$1("string");
43807 if (string._hasQuotes)
43808 return string;
43809 return new A.SassString(string._string$_text, true);
43810 },
43811 $signature: 13
43812 };
43813 A._length_closure.prototype = {
43814 call$1($arguments) {
43815 var t1 = J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength();
43816 return new A.UnitlessSassNumber(t1, null);
43817 },
43818 $signature: 10
43819 };
43820 A._insert_closure.prototype = {
43821 call$1($arguments) {
43822 var indexInt, codeUnitIndex, _s5_ = "index",
43823 t1 = J.getInterceptor$asx($arguments),
43824 string = t1.$index($arguments, 0).assertString$1("string"),
43825 insert = t1.$index($arguments, 1).assertString$1("insert"),
43826 index = t1.$index($arguments, 2).assertNumber$1(_s5_);
43827 index.assertNoUnits$1(_s5_);
43828 indexInt = index.assertInt$1(_s5_);
43829 if (indexInt < 0)
43830 indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
43831 t1 = string._string$_text;
43832 codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
43833 return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
43834 },
43835 $signature: 13
43836 };
43837 A._index_closure.prototype = {
43838 call$1($arguments) {
43839 var codepointIndex,
43840 t1 = J.getInterceptor$asx($arguments),
43841 t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
43842 codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
43843 if (codeUnitIndex === -1)
43844 return B.C__SassNull;
43845 codepointIndex = A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex);
43846 return new A.UnitlessSassNumber(codepointIndex + 1, null);
43847 },
43848 $signature: 4
43849 };
43850 A._slice_closure.prototype = {
43851 call$1($arguments) {
43852 var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
43853 _s8_ = "start-at",
43854 t1 = J.getInterceptor$asx($arguments),
43855 string = t1.$index($arguments, 0).assertString$1("string"),
43856 start = t1.$index($arguments, 1).assertNumber$1(_s8_),
43857 end = t1.$index($arguments, 2).assertNumber$1("end-at");
43858 start.assertNoUnits$1(_s8_);
43859 end.assertNoUnits$1("end-at");
43860 lengthInCodepoints = string.get$_sassLength();
43861 endInt = end.assertInt$0();
43862 if (endInt === 0)
43863 return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
43864 startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
43865 endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
43866 if (endCodepoint === lengthInCodepoints)
43867 --endCodepoint;
43868 if (endCodepoint < startCodepoint)
43869 return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
43870 t1 = string._string$_text;
43871 return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
43872 },
43873 $signature: 13
43874 };
43875 A._toUpperCase_closure.prototype = {
43876 call$1($arguments) {
43877 var t1, t2, i, t3, t4,
43878 string = J.$index$asx($arguments, 0).assertString$1("string");
43879 for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
43880 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
43881 t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
43882 }
43883 return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
43884 },
43885 $signature: 13
43886 };
43887 A._toLowerCase_closure.prototype = {
43888 call$1($arguments) {
43889 var t1, t2, i, t3, t4,
43890 string = J.$index$asx($arguments, 0).assertString$1("string");
43891 for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
43892 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
43893 t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
43894 }
43895 return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
43896 },
43897 $signature: 13
43898 };
43899 A._uniqueId_closure.prototype = {
43900 call$1($arguments) {
43901 var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
43902 $._previousUniqueId = t1;
43903 if (t1 > Math.pow(36, 6))
43904 $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
43905 return new A.SassString("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId(), 36), 6, "0"), false);
43906 },
43907 $signature: 13
43908 };
43909 A.ImportCache.prototype = {
43910 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
43911 var relativeResult, _this = this;
43912 if (baseImporter != null) {
43913 relativeResult = _this._relativeCanonicalizeCache.putIfAbsent$2(new A.Tuple4(url, forImport, baseImporter, baseUrl, type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri), new A.ImportCache_canonicalize_closure(_this, baseUrl, url, baseImporter, forImport));
43914 if (relativeResult != null)
43915 return relativeResult;
43916 }
43917 return _this._canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure0(_this, url, forImport));
43918 },
43919 canonicalize$3$baseImporter$baseUrl($receiver, url, baseImporter, baseUrl) {
43920 return this.canonicalize$4$baseImporter$baseUrl$forImport($receiver, url, baseImporter, baseUrl, false);
43921 },
43922 _canonicalize$3(importer, url, forImport) {
43923 var t1, result;
43924 if (forImport) {
43925 t1 = type$.nullable_Object;
43926 result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
43927 } else
43928 result = importer.canonicalize$1(0, url);
43929 if ((result == null ? null : result.get$scheme()) === "")
43930 this._logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
43931 return result;
43932 },
43933 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
43934 return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl, quiet));
43935 },
43936 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
43937 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
43938 },
43939 importCanonical$2(importer, canonicalUrl) {
43940 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, null, false);
43941 },
43942 humanize$1(canonicalUrl) {
43943 var t2, url,
43944 t1 = this._canonicalizeCache;
43945 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri);
43946 t2 = t1.$ti;
43947 url = A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.ImportCache_humanize_closure(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.ImportCache_humanize_closure0(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.ImportCache_humanize_closure1());
43948 if (url == null)
43949 return canonicalUrl;
43950 t1 = $.$get$url();
43951 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
43952 },
43953 sourceMapUrl$1(_, canonicalUrl) {
43954 var t1 = this._resultsCache.$index(0, canonicalUrl);
43955 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
43956 return t1 == null ? canonicalUrl : t1;
43957 },
43958 clearCanonicalize$1(url) {
43959 var t3, t4, _i,
43960 t1 = this._canonicalizeCache,
43961 t2 = type$.Tuple2_Uri_bool;
43962 t1.remove$1(0, new A.Tuple2(url, false, t2));
43963 t1.remove$1(0, new A.Tuple2(url, true, t2));
43964 t2 = A._setArrayType([], type$.JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri);
43965 for (t1 = this._relativeCanonicalizeCache, t3 = t1.get$keys(t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43966 t4 = t3.get$current(t3);
43967 if (t4.item1.$eq(0, url))
43968 t2.push(t4);
43969 }
43970 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
43971 t1.remove$1(0, t2[_i]);
43972 },
43973 clearImport$1(canonicalUrl) {
43974 this._resultsCache.remove$1(0, canonicalUrl);
43975 this._importCache.remove$1(0, canonicalUrl);
43976 }
43977 };
43978 A.ImportCache_canonicalize_closure.prototype = {
43979 call$0() {
43980 var canonicalUrl, _this = this,
43981 t1 = _this.baseUrl,
43982 resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
43983 if (resolvedUrl == null)
43984 resolvedUrl = _this.url;
43985 t1 = _this.baseImporter;
43986 canonicalUrl = _this.$this._canonicalize$3(t1, resolvedUrl, _this.forImport);
43987 if (canonicalUrl == null)
43988 return null;
43989 return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri);
43990 },
43991 $signature: 98
43992 };
43993 A.ImportCache_canonicalize_closure0.prototype = {
43994 call$0() {
43995 var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
43996 for (t1 = this.$this, t2 = t1._importers, t3 = t2.length, t4 = this.url, t5 = this.forImport, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
43997 importer = t2[_i];
43998 canonicalUrl = t1._canonicalize$3(importer, t4, t5);
43999 if (canonicalUrl != null)
44000 return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri);
44001 }
44002 return null;
44003 },
44004 $signature: 98
44005 };
44006 A.ImportCache__canonicalize_closure.prototype = {
44007 call$0() {
44008 return this.importer.canonicalize$1(0, this.url);
44009 },
44010 $signature: 185
44011 };
44012 A.ImportCache_importCanonical_closure.prototype = {
44013 call$0() {
44014 var t3, _this = this,
44015 t1 = _this.canonicalUrl,
44016 result = _this.importer.load$1(0, t1),
44017 t2 = _this.$this;
44018 t2._resultsCache.$indexSet(0, t1, result);
44019 t3 = _this.originalUrl;
44020 t1 = t3 == null ? t1 : t3.resolveUri$1(t1);
44021 t2 = _this.quiet ? $.$get$Logger_quiet() : t2._logger;
44022 return A.Stylesheet_Stylesheet$parse(result.contents, result.syntax, t2, t1);
44023 },
44024 $signature: 71
44025 };
44026 A.ImportCache_humanize_closure.prototype = {
44027 call$1(tuple) {
44028 return tuple.item2.$eq(0, this.canonicalUrl);
44029 },
44030 $signature: 321
44031 };
44032 A.ImportCache_humanize_closure0.prototype = {
44033 call$1(tuple) {
44034 return tuple.item3;
44035 },
44036 $signature: 322
44037 };
44038 A.ImportCache_humanize_closure1.prototype = {
44039 call$1(url) {
44040 return url.get$path(url).length;
44041 },
44042 $signature: 80
44043 };
44044 A.Importer.prototype = {
44045 modificationTime$1(url) {
44046 return new A.DateTime(Date.now(), false);
44047 },
44048 couldCanonicalize$2(url, canonicalUrl) {
44049 return true;
44050 }
44051 };
44052 A.AsyncImporter.prototype = {};
44053 A.FilesystemImporter.prototype = {
44054 canonicalize$1(_, url) {
44055 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
44056 return null;
44057 return A.NullableExtension_andThen(A.resolveImportPath(A.join(this._loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure());
44058 },
44059 load$1(_, url) {
44060 var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
44061 t1 = A.readFile(path),
44062 t2 = A.Syntax_forPath(path),
44063 t3 = url.get$scheme();
44064 if (t3 === "")
44065 A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
44066 return new A.ImporterResult(t1, url, t2);
44067 },
44068 modificationTime$1(url) {
44069 return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
44070 },
44071 couldCanonicalize$2(url, canonicalUrl) {
44072 var t1, t2, t3, basename, canonicalBasename;
44073 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
44074 return false;
44075 if (canonicalUrl.get$scheme() !== "file")
44076 return false;
44077 t1 = $.$get$url();
44078 t2 = url.get$path(url);
44079 t3 = t1.style;
44080 basename = A.ParsedPath_ParsedPath$parse(t2, t3).get$basename();
44081 canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t3).get$basename();
44082 if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
44083 canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
44084 return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
44085 },
44086 toString$0(_) {
44087 return this._loadPath;
44088 }
44089 };
44090 A.FilesystemImporter_canonicalize_closure.prototype = {
44091 call$1(resolved) {
44092 var t1, t2, t0, _null = null;
44093 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
44094 t1 = $.$get$context();
44095 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
44096 t0 = t2;
44097 t2 = t1;
44098 t1 = t0;
44099 } else {
44100 t1 = $.$get$context();
44101 t2 = t1.canonicalize$1(0, resolved);
44102 t0 = t2;
44103 t2 = t1;
44104 t1 = t0;
44105 }
44106 return t2.toUri$1(t1);
44107 },
44108 $signature: 184
44109 };
44110 A.ImporterResult.prototype = {
44111 get$sourceMapUrl(_) {
44112 return this._sourceMapUrl;
44113 }
44114 };
44115 A.resolveImportPath_closure.prototype = {
44116 call$0() {
44117 return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
44118 },
44119 $signature: 41
44120 };
44121 A.resolveImportPath_closure0.prototype = {
44122 call$0() {
44123 return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
44124 },
44125 $signature: 41
44126 };
44127 A._tryPathAsDirectory_closure.prototype = {
44128 call$0() {
44129 return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
44130 },
44131 $signature: 41
44132 };
44133 A._exactlyOne_closure.prototype = {
44134 call$1(path) {
44135 var t1 = $.$get$context();
44136 return " " + t1.prettyUri$1(t1.toUri$1(path));
44137 },
44138 $signature: 5
44139 };
44140 A.InterpolationBuffer.prototype = {
44141 writeCharCode$1(character) {
44142 this._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(character);
44143 return null;
44144 },
44145 add$1(_, expression) {
44146 this._flushText$0();
44147 this._interpolation_buffer$_contents.push(expression);
44148 },
44149 addInterpolation$1(interpolation) {
44150 var first, t1, _this = this,
44151 toAdd = interpolation.contents;
44152 if (toAdd.length === 0)
44153 return;
44154 first = B.JSArray_methods.get$first(toAdd);
44155 if (typeof first == "string") {
44156 _this._interpolation_buffer$_text._contents += first;
44157 toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
44158 }
44159 _this._flushText$0();
44160 t1 = _this._interpolation_buffer$_contents;
44161 B.JSArray_methods.addAll$1(t1, toAdd);
44162 if (typeof B.JSArray_methods.get$last(t1) == "string")
44163 _this._interpolation_buffer$_text._contents += A.S(t1.pop());
44164 },
44165 _flushText$0() {
44166 var t1 = this._interpolation_buffer$_text,
44167 t2 = t1._contents;
44168 if (t2.length === 0)
44169 return;
44170 this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
44171 t1._contents = "";
44172 },
44173 interpolation$1(span) {
44174 var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
44175 t2 = this._interpolation_buffer$_text._contents;
44176 if (t2.length !== 0)
44177 t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
44178 return A.Interpolation$(t1, span);
44179 },
44180 toString$0(_) {
44181 var t1, t2, _i, t3, element;
44182 for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
44183 element = t1[_i];
44184 t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
44185 }
44186 t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
44187 return t1.charCodeAt(0) == 0 ? t1 : t1;
44188 }
44189 };
44190 A._realCasePath_helper.prototype = {
44191 call$1(path) {
44192 var dirname = $.$get$context().dirname$1(path);
44193 if (dirname === path)
44194 return path;
44195 return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
44196 },
44197 $signature: 5
44198 };
44199 A._realCasePath_helper_closure.prototype = {
44200 call$0() {
44201 var matches, t2, exception,
44202 realDirname = this.helper.call$1(this.dirname),
44203 t1 = this.path,
44204 basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
44205 try {
44206 matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
44207 t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
44208 return t2;
44209 } catch (exception) {
44210 if (A.unwrapException(exception) instanceof A.FileSystemException)
44211 return t1;
44212 else
44213 throw exception;
44214 }
44215 },
44216 $signature: 30
44217 };
44218 A._realCasePath_helper__closure.prototype = {
44219 call$1(realPath) {
44220 return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
44221 },
44222 $signature: 6
44223 };
44224 A.FileSystemException.prototype = {
44225 toString$0(_) {
44226 var t1 = $.$get$context();
44227 return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
44228 },
44229 get$message(receiver) {
44230 return this.message;
44231 }
44232 };
44233 A.Stderr.prototype = {
44234 writeln$1(object) {
44235 J.write$1$x(this._stderr, A.S(object == null ? "" : object) + "\n");
44236 },
44237 writeln$0() {
44238 return this.writeln$1(null);
44239 }
44240 };
44241 A._readFile_closure.prototype = {
44242 call$0() {
44243 return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
44244 },
44245 $signature: 82
44246 };
44247 A.writeFile_closure.prototype = {
44248 call$0() {
44249 return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
44250 },
44251 $signature: 0
44252 };
44253 A.deleteFile_closure.prototype = {
44254 call$0() {
44255 return J.unlinkSync$1$x(A.fs(), this.path);
44256 },
44257 $signature: 0
44258 };
44259 A.readStdin_closure.prototype = {
44260 call$1(result) {
44261 this._box_0.contents = result;
44262 this.completer.complete$1(result);
44263 },
44264 $signature: 121
44265 };
44266 A.readStdin_closure0.prototype = {
44267 call$1(chunk) {
44268 this.sink.add$1(0, type$.List_int._as(chunk));
44269 },
44270 call$0() {
44271 return this.call$1(null);
44272 },
44273 "call*": "call$1",
44274 $requiredArgCount: 0,
44275 $defaultValues() {
44276 return [null];
44277 },
44278 $signature: 75
44279 };
44280 A.readStdin_closure1.prototype = {
44281 call$1(_) {
44282 this.sink.close$0(0);
44283 },
44284 call$0() {
44285 return this.call$1(null);
44286 },
44287 "call*": "call$1",
44288 $requiredArgCount: 0,
44289 $defaultValues() {
44290 return [null];
44291 },
44292 $signature: 75
44293 };
44294 A.readStdin_closure2.prototype = {
44295 call$1(e) {
44296 var t1 = $.$get$stderr();
44297 t1.writeln$1("Failed to read from stdin");
44298 t1.writeln$1(e);
44299 e.toString;
44300 this.completer.completeError$1(e);
44301 },
44302 call$0() {
44303 return this.call$1(null);
44304 },
44305 "call*": "call$1",
44306 $requiredArgCount: 0,
44307 $defaultValues() {
44308 return [null];
44309 },
44310 $signature: 75
44311 };
44312 A.fileExists_closure.prototype = {
44313 call$0() {
44314 var error, systemError, exception,
44315 t1 = this.path;
44316 if (!J.existsSync$1$x(A.fs(), t1))
44317 return false;
44318 try {
44319 t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
44320 return t1;
44321 } catch (exception) {
44322 error = A.unwrapException(exception);
44323 systemError = type$.JsSystemError._as(error);
44324 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
44325 return false;
44326 throw exception;
44327 }
44328 },
44329 $signature: 26
44330 };
44331 A.dirExists_closure.prototype = {
44332 call$0() {
44333 var error, systemError, exception,
44334 t1 = this.path;
44335 if (!J.existsSync$1$x(A.fs(), t1))
44336 return false;
44337 try {
44338 t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
44339 return t1;
44340 } catch (exception) {
44341 error = A.unwrapException(exception);
44342 systemError = type$.JsSystemError._as(error);
44343 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
44344 return false;
44345 throw exception;
44346 }
44347 },
44348 $signature: 26
44349 };
44350 A.ensureDir_closure.prototype = {
44351 call$0() {
44352 var error, systemError, exception, t1;
44353 try {
44354 J.mkdirSync$1$x(A.fs(), this.path);
44355 } catch (exception) {
44356 error = A.unwrapException(exception);
44357 systemError = type$.JsSystemError._as(error);
44358 if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
44359 return;
44360 if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
44361 throw exception;
44362 t1 = this.path;
44363 A.ensureDir($.$get$context().dirname$1(t1));
44364 J.mkdirSync$1$x(A.fs(), t1);
44365 }
44366 },
44367 $signature: 0
44368 };
44369 A.listDir_closure.prototype = {
44370 call$0() {
44371 var t1 = this.path;
44372 if (!this.recursive)
44373 return J.map$1$1$ax(J.readdirSync$1$x(A.fs(), t1), new A.listDir__closure(t1), type$.String).where$1(0, new A.listDir__closure0());
44374 else
44375 return new A.listDir_closure_list().call$1(t1);
44376 },
44377 $signature: 183
44378 };
44379 A.listDir__closure.prototype = {
44380 call$1(child) {
44381 return A.join(this.path, A._asString(child), null);
44382 },
44383 $signature: 83
44384 };
44385 A.listDir__closure0.prototype = {
44386 call$1(child) {
44387 return !A.dirExists(child);
44388 },
44389 $signature: 6
44390 };
44391 A.listDir_closure_list.prototype = {
44392 call$1($parent) {
44393 return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
44394 },
44395 $signature: 144
44396 };
44397 A.listDir__list_closure.prototype = {
44398 call$1(child) {
44399 var path = A.join(this.parent, A._asString(child), null);
44400 return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
44401 },
44402 $signature: 181
44403 };
44404 A.modificationTime_closure.prototype = {
44405 call$0() {
44406 var t2,
44407 t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
44408 if (Math.abs(t1) <= 864e13)
44409 t2 = false;
44410 else
44411 t2 = true;
44412 if (t2)
44413 A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + A.S(t1), null));
44414 A.checkNotNullable(false, "isUtc", type$.bool);
44415 return new A.DateTime(t1, false);
44416 },
44417 $signature: 180
44418 };
44419 A.watchDir_closure.prototype = {
44420 call$2(path, _) {
44421 var t1 = this._box_0.controller;
44422 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
44423 },
44424 call$1(path) {
44425 return this.call$2(path, null);
44426 },
44427 "call*": "call$2",
44428 $requiredArgCount: 1,
44429 $defaultValues() {
44430 return [null];
44431 },
44432 $signature: 179
44433 };
44434 A.watchDir_closure0.prototype = {
44435 call$2(path, _) {
44436 var t1 = this._box_0.controller;
44437 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
44438 },
44439 call$1(path) {
44440 return this.call$2(path, null);
44441 },
44442 "call*": "call$2",
44443 $requiredArgCount: 1,
44444 $defaultValues() {
44445 return [null];
44446 },
44447 $signature: 179
44448 };
44449 A.watchDir_closure1.prototype = {
44450 call$1(path) {
44451 var t1 = this._box_0.controller;
44452 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
44453 },
44454 $signature: 121
44455 };
44456 A.watchDir_closure2.prototype = {
44457 call$1(error) {
44458 var t1 = this._box_0.controller;
44459 return t1 == null ? null : t1.addError$1(error);
44460 },
44461 $signature: 130
44462 };
44463 A.watchDir_closure3.prototype = {
44464 call$0() {
44465 var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
44466 this._box_0.controller = controller;
44467 this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
44468 },
44469 $signature: 1
44470 };
44471 A.watchDir__closure.prototype = {
44472 call$0() {
44473 J.close$0$x(this.watcher);
44474 },
44475 $signature: 1
44476 };
44477 A._QuietLogger.prototype = {
44478 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44479 },
44480 warn$1($receiver, message) {
44481 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
44482 },
44483 warn$2$span($receiver, message, span) {
44484 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44485 },
44486 warn$2$deprecation($receiver, message, deprecation) {
44487 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44488 },
44489 warn$3$deprecation$span($receiver, message, deprecation, span) {
44490 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44491 },
44492 warn$2$trace($receiver, message, trace) {
44493 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44494 },
44495 debug$2(_, message, span) {
44496 }
44497 };
44498 A.StderrLogger.prototype = {
44499 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44500 var t2, t3, t4,
44501 t1 = this.color;
44502 if (t1) {
44503 t2 = $.$get$stderr();
44504 t3 = t2._stderr;
44505 t4 = J.getInterceptor$x(t3);
44506 t4.write$1(t3, "\x1b[33m\x1b[1m");
44507 if (deprecation)
44508 t4.write$1(t3, "Deprecation ");
44509 t4.write$1(t3, "Warning\x1b[0m");
44510 } else {
44511 if (deprecation)
44512 J.write$1$x($.$get$stderr()._stderr, "DEPRECATION ");
44513 t2 = $.$get$stderr();
44514 J.write$1$x(t2._stderr, "WARNING");
44515 }
44516 if (span == null)
44517 t2.writeln$1(": " + message);
44518 else if (trace != null)
44519 t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
44520 else
44521 t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
44522 if (trace != null)
44523 t2.writeln$1(A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
44524 t2.writeln$0();
44525 },
44526 warn$1($receiver, message) {
44527 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
44528 },
44529 warn$2$span($receiver, message, span) {
44530 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44531 },
44532 warn$2$deprecation($receiver, message, deprecation) {
44533 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44534 },
44535 warn$3$deprecation$span($receiver, message, deprecation, span) {
44536 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44537 },
44538 warn$2$trace($receiver, message, trace) {
44539 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44540 },
44541 debug$2(_, message, span) {
44542 var url, t3, t4,
44543 t1 = span.file,
44544 t2 = span._file$_start;
44545 if (A.FileLocation$_(t1, t2).file.url == null)
44546 url = "-";
44547 else {
44548 t3 = A.FileLocation$_(t1, t2);
44549 url = $.$get$context().prettyUri$1(t3.file.url);
44550 }
44551 t3 = $.$get$stderr();
44552 t4 = url + ":";
44553 t2 = A.FileLocation$_(t1, t2);
44554 t2 = t4 + (t2.file.getLine$1(t2.offset) + 1) + " ";
44555 t4 = t3._stderr;
44556 t1 = J.getInterceptor$x(t4);
44557 t1.write$1(t4, t2);
44558 t1.write$1(t4, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
44559 t3.writeln$1(": " + message);
44560 }
44561 };
44562 A.TerseLogger.prototype = {
44563 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44564 var firstParagraph, t1, t2, count;
44565 if (deprecation) {
44566 firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
44567 t1 = this._warningCounts;
44568 t2 = t1.$index(0, firstParagraph);
44569 count = (t2 == null ? 0 : t2) + 1;
44570 t1.$indexSet(0, firstParagraph, count);
44571 if (count > 5)
44572 return;
44573 }
44574 this._inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
44575 },
44576 warn$2$span($receiver, message, span) {
44577 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44578 },
44579 warn$2$deprecation($receiver, message, deprecation) {
44580 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44581 },
44582 warn$3$deprecation$span($receiver, message, deprecation, span) {
44583 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44584 },
44585 warn$2$trace($receiver, message, trace) {
44586 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44587 },
44588 debug$2(_, message, span) {
44589 return this._inner.debug$2(0, message, span);
44590 },
44591 summarize$1$node(node) {
44592 var t2, total,
44593 t1 = this._warningCounts;
44594 t1 = t1.get$values(t1);
44595 t2 = A._instanceType(t1);
44596 total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.TerseLogger_summarize_closure(), t2._eval$1("WhereIterable<Iterable.E>")), new A.TerseLogger_summarize_closure0(), t2._eval$1("MappedIterable<Iterable.E,int>")));
44597 if (total > 0) {
44598 t1 = "" + total + string$.x20repet;
44599 this._inner.warn$1(0, t1 + (node ? "" : string$.x0aRun_i));
44600 }
44601 }
44602 };
44603 A.TerseLogger_summarize_closure.prototype = {
44604 call$1(count) {
44605 return count > 5;
44606 },
44607 $signature: 51
44608 };
44609 A.TerseLogger_summarize_closure0.prototype = {
44610 call$1(count) {
44611 return count - 5;
44612 },
44613 $signature: 176
44614 };
44615 A.TrackingLogger.prototype = {
44616 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44617 this._emittedWarning = true;
44618 this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
44619 },
44620 warn$2$span($receiver, message, span) {
44621 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44622 },
44623 warn$2$deprecation($receiver, message, deprecation) {
44624 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44625 },
44626 warn$3$deprecation$span($receiver, message, deprecation, span) {
44627 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44628 },
44629 warn$2$trace($receiver, message, trace) {
44630 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44631 },
44632 debug$2(_, message, span) {
44633 this._emittedDebug = true;
44634 this._tracking$_logger.debug$2(0, message, span);
44635 }
44636 };
44637 A.BuiltInModule.prototype = {
44638 get$upstream() {
44639 return B.List_empty3;
44640 },
44641 get$variableNodes() {
44642 return B.Map_empty0;
44643 },
44644 get$extensionStore() {
44645 return B.C_EmptyExtensionStore;
44646 },
44647 get$css(_) {
44648 return new A.CssStylesheet(B.List_empty0, A.SourceFile$decoded(B.List_empty1, this.url).span$2(0, 0, 0));
44649 },
44650 get$transitivelyContainsCss() {
44651 return false;
44652 },
44653 get$transitivelyContainsExtensions() {
44654 return false;
44655 },
44656 setVariable$3($name, value, nodeWithSpan) {
44657 if (!this.variables.containsKey$1($name))
44658 throw A.wrapException(A.SassScriptException$("Undefined variable."));
44659 throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable."));
44660 },
44661 variableIdentity$1($name) {
44662 return this;
44663 },
44664 cloneCss$0() {
44665 return this;
44666 },
44667 $isModule: 1,
44668 get$url(receiver) {
44669 return this.url;
44670 },
44671 get$functions(receiver) {
44672 return this.functions;
44673 },
44674 get$mixins() {
44675 return this.mixins;
44676 },
44677 get$variables() {
44678 return this.variables;
44679 }
44680 };
44681 A.ForwardedModuleView.prototype = {
44682 get$url(_) {
44683 var t1 = this._forwarded_view$_inner;
44684 return t1.get$url(t1);
44685 },
44686 get$upstream() {
44687 return this._forwarded_view$_inner.get$upstream();
44688 },
44689 get$extensionStore() {
44690 return this._forwarded_view$_inner.get$extensionStore();
44691 },
44692 get$css(_) {
44693 var t1 = this._forwarded_view$_inner;
44694 return t1.get$css(t1);
44695 },
44696 get$transitivelyContainsCss() {
44697 return this._forwarded_view$_inner.get$transitivelyContainsCss();
44698 },
44699 get$transitivelyContainsExtensions() {
44700 return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
44701 },
44702 setVariable$3($name, value, nodeWithSpan) {
44703 var prefix,
44704 _s19_ = "Undefined variable.",
44705 t1 = this._rule,
44706 shownVariables = t1.shownVariables,
44707 hiddenVariables = t1.hiddenVariables;
44708 if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
44709 throw A.wrapException(A.SassScriptException$(_s19_));
44710 else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
44711 throw A.wrapException(A.SassScriptException$(_s19_));
44712 prefix = t1.prefix;
44713 if (prefix != null) {
44714 if (!B.JSString_methods.startsWith$1($name, prefix))
44715 throw A.wrapException(A.SassScriptException$(_s19_));
44716 $name = B.JSString_methods.substring$1($name, prefix.length);
44717 }
44718 return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
44719 },
44720 variableIdentity$1($name) {
44721 var prefix = this._rule.prefix;
44722 if (prefix != null)
44723 $name = B.JSString_methods.substring$1($name, prefix.length);
44724 return this._forwarded_view$_inner.variableIdentity$1($name);
44725 },
44726 $eq(_, other) {
44727 if (other == null)
44728 return false;
44729 return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
44730 },
44731 get$hashCode(_) {
44732 var t1 = this._forwarded_view$_inner;
44733 return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
44734 },
44735 cloneCss$0() {
44736 return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
44737 },
44738 toString$0(_) {
44739 return "forwarded " + this._forwarded_view$_inner.toString$0(0);
44740 },
44741 $isModule: 1,
44742 get$variables() {
44743 return this.variables;
44744 },
44745 get$variableNodes() {
44746 return this.variableNodes;
44747 },
44748 get$functions(receiver) {
44749 return this.functions;
44750 },
44751 get$mixins() {
44752 return this.mixins;
44753 }
44754 };
44755 A.ShadowedModuleView.prototype = {
44756 get$url(_) {
44757 var t1 = this._shadowed_view$_inner;
44758 return t1.get$url(t1);
44759 },
44760 get$upstream() {
44761 return this._shadowed_view$_inner.get$upstream();
44762 },
44763 get$extensionStore() {
44764 return this._shadowed_view$_inner.get$extensionStore();
44765 },
44766 get$css(_) {
44767 var t1 = this._shadowed_view$_inner;
44768 return t1.get$css(t1);
44769 },
44770 get$transitivelyContainsCss() {
44771 return this._shadowed_view$_inner.get$transitivelyContainsCss();
44772 },
44773 get$transitivelyContainsExtensions() {
44774 return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
44775 },
44776 setVariable$3($name, value, nodeWithSpan) {
44777 if (!this.variables.containsKey$1($name))
44778 throw A.wrapException(A.SassScriptException$("Undefined variable."));
44779 else
44780 return this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
44781 },
44782 variableIdentity$1($name) {
44783 return this._shadowed_view$_inner.variableIdentity$1($name);
44784 },
44785 $eq(_, other) {
44786 var t1, t2, _this = this;
44787 if (other == null)
44788 return false;
44789 if (other instanceof A.ShadowedModuleView)
44790 if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
44791 t1 = _this.variables;
44792 t1 = t1.get$keys(t1);
44793 t2 = other.variables;
44794 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
44795 t1 = _this.functions;
44796 t1 = t1.get$keys(t1);
44797 t2 = other.functions;
44798 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
44799 t1 = _this.mixins;
44800 t1 = t1.get$keys(t1);
44801 t2 = other.mixins;
44802 t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
44803 t1 = t2;
44804 } else
44805 t1 = false;
44806 } else
44807 t1 = false;
44808 } else
44809 t1 = false;
44810 else
44811 t1 = false;
44812 return t1;
44813 },
44814 get$hashCode(_) {
44815 var t1 = this._shadowed_view$_inner;
44816 return t1.get$hashCode(t1);
44817 },
44818 cloneCss$0() {
44819 var _this = this;
44820 return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
44821 },
44822 toString$0(_) {
44823 return "shadowed " + this._shadowed_view$_inner.toString$0(0);
44824 },
44825 $isModule: 1,
44826 get$variables() {
44827 return this.variables;
44828 },
44829 get$variableNodes() {
44830 return this.variableNodes;
44831 },
44832 get$functions(receiver) {
44833 return this.functions;
44834 },
44835 get$mixins() {
44836 return this.mixins;
44837 }
44838 };
44839 A.JSArray0.prototype = {};
44840 A.Chokidar.prototype = {};
44841 A.ChokidarOptions.prototype = {};
44842 A.ChokidarWatcher.prototype = {};
44843 A.JSFunction.prototype = {};
44844 A.NodeImporterResult.prototype = {};
44845 A.RenderContext.prototype = {};
44846 A.RenderContextOptions.prototype = {};
44847 A.RenderContextResult.prototype = {};
44848 A.RenderContextResultStats.prototype = {};
44849 A.JSClass.prototype = {};
44850 A.JSUrl.prototype = {};
44851 A._PropertyDescriptor.prototype = {};
44852 A.AtRootQueryParser.prototype = {
44853 parse$0() {
44854 return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
44855 }
44856 };
44857 A.AtRootQueryParser_parse_closure.prototype = {
44858 call$0() {
44859 var include, atRules,
44860 t1 = this.$this,
44861 t2 = t1.scanner;
44862 t2.expectChar$1(40);
44863 t1.whitespace$0();
44864 include = t1.scanIdentifier$1("with");
44865 if (!include)
44866 t1.expectIdentifier$2$name("without", '"with" or "without"');
44867 t1.whitespace$0();
44868 t2.expectChar$1(58);
44869 t1.whitespace$0();
44870 atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
44871 do {
44872 atRules.add$1(0, t1.identifier$0().toLowerCase());
44873 t1.whitespace$0();
44874 } while (t1.lookingAtIdentifier$0());
44875 t2.expectChar$1(41);
44876 t2.expectDone$0();
44877 return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
44878 },
44879 $signature: 135
44880 };
44881 A._disallowedFunctionNames_closure.prototype = {
44882 call$1($function) {
44883 return $function.name;
44884 },
44885 $signature: 344
44886 };
44887 A.CssParser.prototype = {
44888 get$plainCss() {
44889 return true;
44890 },
44891 silentComment$0() {
44892 var t1 = this.scanner,
44893 t2 = t1._string_scanner$_position;
44894 this.super$Parser$silentComment();
44895 this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
44896 },
44897 atRule$2$root(child, root) {
44898 var $name, urlStart, next, url, urlSpan, queries, t2, t3, t4, t5, _this = this,
44899 t1 = _this.scanner,
44900 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
44901 t1.expectChar$1(64);
44902 $name = _this.interpolatedIdentifier$0();
44903 _this.whitespace$0();
44904 switch ($name.get$asPlain()) {
44905 case "at-root":
44906 case "content":
44907 case "debug":
44908 case "each":
44909 case "error":
44910 case "extend":
44911 case "for":
44912 case "function":
44913 case "if":
44914 case "include":
44915 case "mixin":
44916 case "return":
44917 case "warn":
44918 case "while":
44919 _this.almostAnyValue$0();
44920 _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
44921 break;
44922 case "import":
44923 urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
44924 next = t1.peekChar$0();
44925 url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression(_this.interpolatedString$0().asInterpolation$1$static(true), false);
44926 urlSpan = t1.spanFrom$1(urlStart);
44927 _this.whitespace$0();
44928 queries = _this.tryImportQueries$0();
44929 _this.expectStatementSeparator$1("@import rule");
44930 t2 = A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), urlSpan);
44931 t3 = t1.spanFrom$1(urlStart);
44932 t4 = queries == null;
44933 t5 = t4 ? null : queries.item1;
44934 t2 = A._setArrayType([new A.StaticImport(t2, t5, t4 ? null : queries.item2, t3)], type$.JSArray_Import);
44935 t1 = t1.spanFrom$1(start);
44936 return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
44937 case "media":
44938 return _this.mediaRule$1(start);
44939 case "-moz-document":
44940 return _this.mozDocumentRule$2(start, $name);
44941 case "supports":
44942 return _this.supportsRule$1(start);
44943 default:
44944 return _this.unknownAtRule$2(start, $name);
44945 }
44946 },
44947 identifierLike$0() {
44948 var t2, $arguments, t3, t4, _this = this,
44949 t1 = _this.scanner,
44950 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
44951 identifier = _this.interpolatedIdentifier$0(),
44952 plain = identifier.get$asPlain(),
44953 specialFunction = _this.trySpecialFunction$2(plain.toLowerCase(), start);
44954 if (specialFunction != null)
44955 return specialFunction;
44956 t2 = t1._string_scanner$_position;
44957 if (!t1.scanChar$1(40))
44958 return new A.StringExpression(identifier, false);
44959 $arguments = A._setArrayType([], type$.JSArray_Expression);
44960 if (!t1.scanChar$1(41)) {
44961 do {
44962 _this.whitespace$0();
44963 $arguments.push(_this.expression$1$singleEquals(true));
44964 _this.whitespace$0();
44965 } while (t1.scanChar$1(44));
44966 t1.expectChar$1(41);
44967 }
44968 if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
44969 _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
44970 t3 = A.Interpolation$(A._setArrayType([new A.StringExpression(identifier, false)], type$.JSArray_Object), identifier.span);
44971 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
44972 t4 = type$.Expression;
44973 return new A.InterpolatedFunctionExpression(t3, new A.ArgumentInvocation(A.List_List$unmodifiable($arguments, t4), A.ConstantMap_ConstantMap$from(B.Map_empty2, type$.String, t4), null, null, t2), t1.spanFrom$1(start));
44974 },
44975 namespacedExpression$2(namespace, start) {
44976 var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
44977 this.error$2(0, string$.Modulen, expression.get$span(expression));
44978 }
44979 };
44980 A.KeyframeSelectorParser.prototype = {
44981 parse$0() {
44982 return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
44983 },
44984 _percentage$0() {
44985 var t3, next,
44986 t1 = this.scanner,
44987 t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
44988 second = t1.peekChar$0();
44989 if (!A.isDigit(second) && second !== 46)
44990 t1.error$1(0, "Expected number.");
44991 while (true) {
44992 t3 = t1.peekChar$0();
44993 if (!(t3 != null && t3 >= 48 && t3 <= 57))
44994 break;
44995 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
44996 }
44997 if (t1.peekChar$0() === 46) {
44998 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
44999 while (true) {
45000 t3 = t1.peekChar$0();
45001 if (!(t3 != null && t3 >= 48 && t3 <= 57))
45002 break;
45003 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45004 }
45005 }
45006 if (this.scanIdentChar$1(101)) {
45007 t2 += A.Primitives_stringFromCharCode(101);
45008 next = t1.peekChar$0();
45009 if (next === 43 || next === 45)
45010 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45011 if (!A.isDigit(t1.peekChar$0()))
45012 t1.error$1(0, "Expected digit.");
45013 while (true) {
45014 t3 = t1.peekChar$0();
45015 if (!(t3 != null && t3 >= 48 && t3 <= 57))
45016 break;
45017 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45018 }
45019 }
45020 t1.expectChar$1(37);
45021 t2 += A.Primitives_stringFromCharCode(37);
45022 return t2.charCodeAt(0) == 0 ? t2 : t2;
45023 }
45024 };
45025 A.KeyframeSelectorParser_parse_closure.prototype = {
45026 call$0() {
45027 var selectors = A._setArrayType([], type$.JSArray_String),
45028 t1 = this.$this,
45029 t2 = t1.scanner;
45030 do {
45031 t1.whitespace$0();
45032 if (t1.lookingAtIdentifier$0())
45033 if (t1.scanIdentifier$1("from"))
45034 selectors.push("from");
45035 else {
45036 t1.expectIdentifier$2$name("to", '"to" or "from"');
45037 selectors.push("to");
45038 }
45039 else
45040 selectors.push(t1._percentage$0());
45041 t1.whitespace$0();
45042 } while (t2.scanChar$1(44));
45043 t2.expectDone$0();
45044 return selectors;
45045 },
45046 $signature: 49
45047 };
45048 A.MediaQueryParser.prototype = {
45049 parse$0() {
45050 return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
45051 },
45052 _mediaQuery$0() {
45053 var identifier1, identifier2, type, modifier, features, _this = this, _null = null,
45054 t1 = _this.scanner;
45055 if (t1.peekChar$0() !== 40) {
45056 identifier1 = _this.identifier$0();
45057 _this.whitespace$0();
45058 if (!_this.lookingAtIdentifier$0())
45059 return new A.CssMediaQuery(_null, identifier1, B.List_empty);
45060 identifier2 = _this.identifier$0();
45061 _this.whitespace$0();
45062 if (A.equalsIgnoreCase(identifier2, "and")) {
45063 type = identifier1;
45064 modifier = _null;
45065 } else {
45066 if (_this.scanIdentifier$1("and"))
45067 _this.whitespace$0();
45068 else
45069 return new A.CssMediaQuery(identifier1, identifier2, B.List_empty);
45070 type = identifier2;
45071 modifier = identifier1;
45072 }
45073 } else {
45074 type = _null;
45075 modifier = type;
45076 }
45077 features = A._setArrayType([], type$.JSArray_String);
45078 do {
45079 _this.whitespace$0();
45080 t1.expectChar$1(40);
45081 features.push("(" + _this.declarationValue$0() + ")");
45082 t1.expectChar$1(41);
45083 _this.whitespace$0();
45084 } while (_this.scanIdentifier$1("and"));
45085 if (type == null)
45086 return new A.CssMediaQuery(_null, _null, A.List_List$unmodifiable(features, type$.String));
45087 else {
45088 t1 = A.List_List$unmodifiable(features, type$.String);
45089 return new A.CssMediaQuery(modifier, type, t1);
45090 }
45091 }
45092 };
45093 A.MediaQueryParser_parse_closure.prototype = {
45094 call$0() {
45095 var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
45096 t1 = this.$this,
45097 t2 = t1.scanner;
45098 do {
45099 t1.whitespace$0();
45100 queries.push(t1._mediaQuery$0());
45101 } while (t2.scanChar$1(44));
45102 t2.expectDone$0();
45103 return queries;
45104 },
45105 $signature: 136
45106 };
45107 A.Parser.prototype = {
45108 _parseIdentifier$0() {
45109 return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
45110 },
45111 _isVariableDeclarationLike$0() {
45112 var _this = this,
45113 t1 = _this.scanner;
45114 if (!t1.scanChar$1(36))
45115 return false;
45116 if (!_this.lookingAtIdentifier$0())
45117 return false;
45118 _this.identifier$0();
45119 _this.whitespace$0();
45120 return t1.scanChar$1(58);
45121 },
45122 whitespace$0() {
45123 do
45124 this.whitespaceWithoutComments$0();
45125 while (this.scanComment$0());
45126 },
45127 whitespaceWithoutComments$0() {
45128 var t3,
45129 t1 = this.scanner,
45130 t2 = t1.string.length;
45131 while (true) {
45132 if (t1._string_scanner$_position !== t2) {
45133 t3 = t1.peekChar$0();
45134 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
45135 } else
45136 t3 = false;
45137 if (!t3)
45138 break;
45139 t1.readChar$0();
45140 }
45141 },
45142 spaces$0() {
45143 var t3,
45144 t1 = this.scanner,
45145 t2 = t1.string.length;
45146 while (true) {
45147 if (t1._string_scanner$_position !== t2) {
45148 t3 = t1.peekChar$0();
45149 t3 = t3 === 32 || t3 === 9;
45150 } else
45151 t3 = false;
45152 if (!t3)
45153 break;
45154 t1.readChar$0();
45155 }
45156 },
45157 scanComment$0() {
45158 var next,
45159 t1 = this.scanner;
45160 if (t1.peekChar$0() !== 47)
45161 return false;
45162 next = t1.peekChar$1(1);
45163 if (next === 47) {
45164 this.silentComment$0();
45165 return true;
45166 } else if (next === 42) {
45167 this.loudComment$0();
45168 return true;
45169 } else
45170 return false;
45171 },
45172 silentComment$0() {
45173 var t2, t3,
45174 t1 = this.scanner;
45175 t1.expect$1("//");
45176 t2 = t1.string.length;
45177 while (true) {
45178 if (t1._string_scanner$_position !== t2) {
45179 t3 = t1.peekChar$0();
45180 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
45181 } else
45182 t3 = false;
45183 if (!t3)
45184 break;
45185 t1.readChar$0();
45186 }
45187 },
45188 loudComment$0() {
45189 var next,
45190 t1 = this.scanner;
45191 t1.expect$1("/*");
45192 for (; true;) {
45193 if (t1.readChar$0() !== 42)
45194 continue;
45195 do
45196 next = t1.readChar$0();
45197 while (next === 42);
45198 if (next === 47)
45199 break;
45200 }
45201 },
45202 identifier$2$normalize$unit(normalize, unit) {
45203 var t2, first, _this = this,
45204 _s20_ = "Expected identifier.",
45205 text = new A.StringBuffer(""),
45206 t1 = _this.scanner;
45207 if (t1.scanChar$1(45)) {
45208 t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
45209 if (t1.scanChar$1(45)) {
45210 text._contents = t2 + A.Primitives_stringFromCharCode(45);
45211 _this._identifierBody$3$normalize$unit(text, normalize, unit);
45212 t1 = text._contents;
45213 return t1.charCodeAt(0) == 0 ? t1 : t1;
45214 }
45215 } else
45216 t2 = "";
45217 first = t1.peekChar$0();
45218 if (first == null)
45219 t1.error$1(0, _s20_);
45220 else if (normalize && first === 95) {
45221 t1.readChar$0();
45222 text._contents = t2 + A.Primitives_stringFromCharCode(45);
45223 } else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
45224 text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
45225 else if (first === 92)
45226 text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
45227 else
45228 t1.error$1(0, _s20_);
45229 _this._identifierBody$3$normalize$unit(text, normalize, unit);
45230 t1 = text._contents;
45231 return t1.charCodeAt(0) == 0 ? t1 : t1;
45232 },
45233 identifier$0() {
45234 return this.identifier$2$normalize$unit(false, false);
45235 },
45236 identifier$1$normalize(normalize) {
45237 return this.identifier$2$normalize$unit(normalize, false);
45238 },
45239 identifier$1$unit(unit) {
45240 return this.identifier$2$normalize$unit(false, unit);
45241 },
45242 _identifierBody$3$normalize$unit(text, normalize, unit) {
45243 var t1, next, second, t2;
45244 for (t1 = this.scanner; true;) {
45245 next = t1.peekChar$0();
45246 if (next == null)
45247 break;
45248 else if (unit && next === 45) {
45249 second = t1.peekChar$1(1);
45250 if (second != null)
45251 if (second !== 46)
45252 t2 = second >= 48 && second <= 57;
45253 else
45254 t2 = true;
45255 else
45256 t2 = false;
45257 if (t2)
45258 break;
45259 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45260 } else if (normalize && next === 95) {
45261 t1.readChar$0();
45262 text._contents += A.Primitives_stringFromCharCode(45);
45263 } else {
45264 if (next !== 95) {
45265 if (!(next >= 97 && next <= 122))
45266 t2 = next >= 65 && next <= 90;
45267 else
45268 t2 = true;
45269 t2 = t2 || next >= 128;
45270 } else
45271 t2 = true;
45272 if (!t2) {
45273 t2 = next >= 48 && next <= 57;
45274 t2 = t2 || next === 45;
45275 } else
45276 t2 = true;
45277 if (t2)
45278 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45279 else if (next === 92)
45280 text._contents += A.S(this.escape$0());
45281 else
45282 break;
45283 }
45284 }
45285 },
45286 _identifierBody$1(text) {
45287 return this._identifierBody$3$normalize$unit(text, false, false);
45288 },
45289 string$0() {
45290 var buffer, next, t2,
45291 t1 = this.scanner,
45292 quote = t1.readChar$0();
45293 if (quote !== 39 && quote !== 34)
45294 t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
45295 buffer = new A.StringBuffer("");
45296 for (; true;) {
45297 next = t1.peekChar$0();
45298 if (next === quote) {
45299 t1.readChar$0();
45300 break;
45301 } else if (next == null || next === 10 || next === 13 || next === 12)
45302 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
45303 else if (next === 92) {
45304 t2 = t1.peekChar$1(1);
45305 if (t2 === 10 || t2 === 13 || t2 === 12) {
45306 t1.readChar$0();
45307 t1.readChar$0();
45308 } else
45309 buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
45310 } else
45311 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45312 }
45313 t1 = buffer._contents;
45314 return t1.charCodeAt(0) == 0 ? t1 : t1;
45315 },
45316 naturalNumber$0() {
45317 var number, t2,
45318 t1 = this.scanner,
45319 first = t1.readChar$0();
45320 if (!A.isDigit(first))
45321 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
45322 number = first - 48;
45323 while (true) {
45324 t2 = t1.peekChar$0();
45325 if (!(t2 != null && t2 >= 48 && t2 <= 57))
45326 break;
45327 number = number * 10 + (t1.readChar$0() - 48);
45328 }
45329 return number;
45330 },
45331 declarationValue$1$allowEmpty(allowEmpty) {
45332 var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
45333 buffer = new A.StringBuffer(""),
45334 brackets = A._setArrayType([], type$.JSArray_int);
45335 $label0$1:
45336 for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
45337 next = t1.peekChar$0();
45338 switch (next) {
45339 case 92:
45340 buffer._contents += A.S(_this.escape$1$identifierStart(true));
45341 wroteNewline = false;
45342 break;
45343 case 34:
45344 case 39:
45345 start = t1._string_scanner$_position;
45346 t2.call$0();
45347 end = t1._string_scanner$_position;
45348 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
45349 wroteNewline = false;
45350 break;
45351 case 47:
45352 if (t1.peekChar$1(1) === 42) {
45353 t3 = _this.get$loudComment();
45354 start = t1._string_scanner$_position;
45355 t3.call$0();
45356 end = t1._string_scanner$_position;
45357 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
45358 } else
45359 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45360 wroteNewline = false;
45361 break;
45362 case 32:
45363 case 9:
45364 if (!wroteNewline) {
45365 t3 = t1.peekChar$1(1);
45366 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
45367 } else
45368 t3 = true;
45369 if (t3)
45370 buffer._contents += A.Primitives_stringFromCharCode(32);
45371 t1.readChar$0();
45372 break;
45373 case 10:
45374 case 13:
45375 case 12:
45376 t3 = t1.peekChar$1(-1);
45377 if (!(t3 === 10 || t3 === 13 || t3 === 12))
45378 buffer._contents += "\n";
45379 t1.readChar$0();
45380 wroteNewline = true;
45381 break;
45382 case 40:
45383 case 123:
45384 case 91:
45385 next.toString;
45386 buffer._contents += A.Primitives_stringFromCharCode(next);
45387 brackets.push(A.opposite(t1.readChar$0()));
45388 wroteNewline = false;
45389 break;
45390 case 41:
45391 case 125:
45392 case 93:
45393 if (brackets.length === 0)
45394 break $label0$1;
45395 next.toString;
45396 buffer._contents += A.Primitives_stringFromCharCode(next);
45397 t1.expectChar$1(brackets.pop());
45398 wroteNewline = false;
45399 break;
45400 case 59:
45401 if (brackets.length === 0)
45402 break $label0$1;
45403 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45404 break;
45405 case 117:
45406 case 85:
45407 url = _this.tryUrl$0();
45408 if (url != null)
45409 buffer._contents += url;
45410 else
45411 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45412 wroteNewline = false;
45413 break;
45414 default:
45415 if (next == null)
45416 break $label0$1;
45417 if (_this.lookingAtIdentifier$0())
45418 buffer._contents += _this.identifier$0();
45419 else
45420 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45421 wroteNewline = false;
45422 break;
45423 }
45424 }
45425 if (brackets.length !== 0)
45426 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
45427 if (!allowEmpty && buffer._contents.length === 0)
45428 t1.error$1(0, "Expected token.");
45429 t1 = buffer._contents;
45430 return t1.charCodeAt(0) == 0 ? t1 : t1;
45431 },
45432 declarationValue$0() {
45433 return this.declarationValue$1$allowEmpty(false);
45434 },
45435 tryUrl$0() {
45436 var buffer, next, t2, _this = this,
45437 t1 = _this.scanner,
45438 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45439 if (!_this.scanIdentifier$1("url"))
45440 return null;
45441 if (!t1.scanChar$1(40)) {
45442 t1.set$state(start);
45443 return null;
45444 }
45445 _this.whitespace$0();
45446 buffer = new A.StringBuffer("");
45447 buffer._contents = "" + "url(";
45448 for (; true;) {
45449 next = t1.peekChar$0();
45450 if (next == null)
45451 break;
45452 else if (next === 92)
45453 buffer._contents += A.S(_this.escape$0());
45454 else {
45455 if (next !== 37)
45456 if (next !== 38)
45457 if (next !== 35)
45458 t2 = next >= 42 && next <= 126 || next >= 128;
45459 else
45460 t2 = true;
45461 else
45462 t2 = true;
45463 else
45464 t2 = true;
45465 if (t2)
45466 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45467 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
45468 _this.whitespace$0();
45469 if (t1.peekChar$0() !== 41)
45470 break;
45471 } else if (next === 41) {
45472 t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45473 return t2.charCodeAt(0) == 0 ? t2 : t2;
45474 } else
45475 break;
45476 }
45477 }
45478 t1.set$state(start);
45479 return null;
45480 },
45481 variableName$0() {
45482 this.scanner.expectChar$1(36);
45483 return this.identifier$1$normalize(true);
45484 },
45485 escape$1$identifierStart(identifierStart) {
45486 var value, first, i, next, t2, exception,
45487 _s25_ = "Expected escape sequence.",
45488 t1 = this.scanner,
45489 start = t1._string_scanner$_position;
45490 t1.expectChar$1(92);
45491 value = 0;
45492 first = t1.peekChar$0();
45493 if (first == null)
45494 t1.error$1(0, _s25_);
45495 else if (first === 10 || first === 13 || first === 12)
45496 t1.error$1(0, _s25_);
45497 else if (A.isHex(first)) {
45498 for (i = 0; i < 6; ++i) {
45499 next = t1.peekChar$0();
45500 if (next == null || !A.isHex(next))
45501 break;
45502 value *= 16;
45503 value += A.asHex(t1.readChar$0());
45504 }
45505 this.scanCharIf$1(A.character__isWhitespace$closure());
45506 } else
45507 value = t1.readChar$0();
45508 if (identifierStart) {
45509 t2 = value;
45510 t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128;
45511 } else {
45512 t2 = value;
45513 t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128 || A.isDigit(t2) || t2 === 45;
45514 }
45515 if (t2)
45516 try {
45517 t2 = A.Primitives_stringFromCharCode(value);
45518 return t2;
45519 } catch (exception) {
45520 if (type$.RangeError._is(A.unwrapException(exception)))
45521 t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
45522 else
45523 throw exception;
45524 }
45525 else {
45526 if (!(value <= 31))
45527 if (!J.$eq$(value, 127))
45528 t1 = identifierStart && A.isDigit(value);
45529 else
45530 t1 = true;
45531 else
45532 t1 = true;
45533 if (t1) {
45534 t1 = "" + A.Primitives_stringFromCharCode(92);
45535 if (value > 15)
45536 t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
45537 t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
45538 return t1.charCodeAt(0) == 0 ? t1 : t1;
45539 } else
45540 return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
45541 }
45542 },
45543 escape$0() {
45544 return this.escape$1$identifierStart(false);
45545 },
45546 scanCharIf$1(condition) {
45547 var t1 = this.scanner;
45548 if (!condition.call$1(t1.peekChar$0()))
45549 return false;
45550 t1.readChar$0();
45551 return true;
45552 },
45553 scanIdentChar$2$caseSensitive(char, caseSensitive) {
45554 var t3,
45555 t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
45556 t2 = this.scanner,
45557 next = t2.peekChar$0();
45558 if (next != null && t1.call$1(next)) {
45559 t2.readChar$0();
45560 return true;
45561 } else if (next === 92) {
45562 t3 = t2._string_scanner$_position;
45563 if (t1.call$1(A.consumeEscapedCharacter(t2)))
45564 return true;
45565 t2.set$state(new A._SpanScannerState(t2, t3));
45566 }
45567 return false;
45568 },
45569 scanIdentChar$1(char) {
45570 return this.scanIdentChar$2$caseSensitive(char, false);
45571 },
45572 expectIdentChar$1(letter) {
45573 var t1;
45574 if (this.scanIdentChar$2$caseSensitive(letter, false))
45575 return;
45576 t1 = this.scanner;
45577 t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
45578 },
45579 lookingAtIdentifier$1($forward) {
45580 var t1, first, second;
45581 if ($forward == null)
45582 $forward = 0;
45583 t1 = this.scanner;
45584 first = t1.peekChar$1($forward);
45585 if (first == null)
45586 return false;
45587 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
45588 return true;
45589 if (first !== 45)
45590 return false;
45591 second = t1.peekChar$1($forward + 1);
45592 if (second == null)
45593 return false;
45594 return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
45595 },
45596 lookingAtIdentifier$0() {
45597 return this.lookingAtIdentifier$1(null);
45598 },
45599 lookingAtIdentifierBody$0() {
45600 var t1,
45601 next = this.scanner.peekChar$0();
45602 if (next != null)
45603 t1 = next === 95 || A.isAlphabetic0(next) || next >= 128 || A.isDigit(next) || next === 45 || next === 92;
45604 else
45605 t1 = false;
45606 return t1;
45607 },
45608 scanIdentifier$2$caseSensitive(text, caseSensitive) {
45609 var t1, start, t2, t3, _this = this;
45610 if (!_this.lookingAtIdentifier$0())
45611 return false;
45612 t1 = _this.scanner;
45613 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45614 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
45615 if (_this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), caseSensitive))
45616 continue;
45617 if (start._scanner !== t1)
45618 A.throwExpression(A.ArgumentError$(string$.The_gi, null));
45619 t2 = start.position;
45620 if (t2 < 0 || t2 > t1.string.length)
45621 A.throwExpression(A.ArgumentError$("Invalid position " + t2, null));
45622 t1._string_scanner$_position = t2;
45623 t1._lastMatch = null;
45624 return false;
45625 }
45626 if (!_this.lookingAtIdentifierBody$0())
45627 return true;
45628 t1.set$state(start);
45629 return false;
45630 },
45631 scanIdentifier$1(text) {
45632 return this.scanIdentifier$2$caseSensitive(text, false);
45633 },
45634 expectIdentifier$2$name(text, $name) {
45635 var t1, start, t2, t3;
45636 if ($name == null)
45637 $name = '"' + text + '"';
45638 t1 = this.scanner;
45639 start = t1._string_scanner$_position;
45640 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
45641 if (this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), false))
45642 continue;
45643 t1.error$2$position(0, "Expected " + $name + ".", start);
45644 }
45645 if (!this.lookingAtIdentifierBody$0())
45646 return;
45647 t1.error$2$position(0, "Expected " + $name, start);
45648 },
45649 expectIdentifier$1(text) {
45650 return this.expectIdentifier$2$name(text, null);
45651 },
45652 rawText$1(consumer) {
45653 var t1 = this.scanner,
45654 start = t1._string_scanner$_position;
45655 consumer.call$0();
45656 return t1.substring$1(0, start);
45657 },
45658 error$3(_, message, span, trace) {
45659 var exception = new A.StringScannerException(this.scanner.string, message, span);
45660 if (trace == null)
45661 throw A.wrapException(exception);
45662 else
45663 A.throwWithTrace(exception, trace);
45664 },
45665 error$2($receiver, message, span) {
45666 return this.error$3($receiver, message, span, null);
45667 },
45668 withErrorMessage$1$2(message, callback) {
45669 var error, stackTrace, t1, exception;
45670 try {
45671 t1 = callback.call$0();
45672 return t1;
45673 } catch (exception) {
45674 t1 = A.unwrapException(exception);
45675 if (type$.SourceSpanFormatException._is(t1)) {
45676 error = t1;
45677 stackTrace = A.getTraceFromException(exception);
45678 t1 = J.get$span$z(error);
45679 A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
45680 } else
45681 throw exception;
45682 }
45683 },
45684 withErrorMessage$2(message, callback) {
45685 return this.withErrorMessage$1$2(message, callback, type$.dynamic);
45686 },
45687 wrapSpanFormatException$1$1(callback) {
45688 var error, stackTrace, span, startPosition, t1, exception;
45689 try {
45690 t1 = callback.call$0();
45691 return t1;
45692 } catch (exception) {
45693 t1 = A.unwrapException(exception);
45694 if (type$.SourceSpanFormatException._is(t1)) {
45695 error = t1;
45696 stackTrace = A.getTraceFromException(exception);
45697 span = J.get$span$z(error);
45698 if (A.startsWithIgnoreCase(error._span_exception$_message, "expected")) {
45699 t1 = span;
45700 t1 = t1._end - t1._file$_start === 0;
45701 } else
45702 t1 = false;
45703 if (t1) {
45704 t1 = span;
45705 startPosition = this._firstNewlineBefore$1(A.FileLocation$_(t1.file, t1._file$_start).offset);
45706 t1 = span;
45707 if (!J.$eq$(startPosition, A.FileLocation$_(t1.file, t1._file$_start).offset))
45708 span = span.file.span$2(0, startPosition, startPosition);
45709 }
45710 A.throwWithTrace(new A.SassFormatException(error._span_exception$_message, span), stackTrace);
45711 } else
45712 throw exception;
45713 }
45714 },
45715 wrapSpanFormatException$1(callback) {
45716 return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
45717 },
45718 _firstNewlineBefore$1(position) {
45719 var t1, lastNewline, codeUnit,
45720 index = position - 1;
45721 for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
45722 codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
45723 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
45724 return lastNewline == null ? position : lastNewline;
45725 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
45726 lastNewline = index;
45727 --index;
45728 }
45729 return position;
45730 }
45731 };
45732 A.Parser__parseIdentifier_closure.prototype = {
45733 call$0() {
45734 var t1 = this.$this,
45735 result = t1.identifier$0();
45736 t1.scanner.expectDone$0();
45737 return result;
45738 },
45739 $signature: 30
45740 };
45741 A.Parser_scanIdentChar_matches.prototype = {
45742 call$1(actual) {
45743 var t1 = this.char;
45744 return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
45745 },
45746 $signature: 51
45747 };
45748 A.SassParser.prototype = {
45749 get$currentIndentation() {
45750 return this._currentIndentation;
45751 },
45752 get$indented() {
45753 return true;
45754 },
45755 styleRuleSelector$0() {
45756 var t4,
45757 t1 = this.scanner,
45758 t2 = t1._string_scanner$_position,
45759 t3 = new A.StringBuffer(""),
45760 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
45761 do {
45762 buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
45763 t4 = t3._contents += A.Primitives_stringFromCharCode(10);
45764 } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character__isNewline$closure()));
45765 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
45766 },
45767 expectStatementSeparator$1($name) {
45768 var _this = this;
45769 if (!_this.atEndOfStatement$0())
45770 _this._expectNewline$0();
45771 if (_this._peekIndentation$0() <= _this._currentIndentation)
45772 return;
45773 _this.scanner.error$2$position(0, "Nothing may be indented " + ($name == null ? "here" : "beneath a " + $name) + ".", _this._nextIndentationEnd.position);
45774 },
45775 expectStatementSeparator$0() {
45776 return this.expectStatementSeparator$1(null);
45777 },
45778 atEndOfStatement$0() {
45779 var next = this.scanner.peekChar$0();
45780 return next == null || next === 10 || next === 13 || next === 12;
45781 },
45782 lookingAtChildren$0() {
45783 return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
45784 },
45785 importArgument$0() {
45786 var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
45787 t1 = _this.scanner;
45788 switch (t1.peekChar$0()) {
45789 case 117:
45790 case 85:
45791 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45792 if (_this.scanIdentifier$1("url"))
45793 if (t1.scanChar$1(40)) {
45794 t1.set$state(start);
45795 return _this.super$StylesheetParser$importArgument();
45796 } else
45797 t1.set$state(start);
45798 break;
45799 case 39:
45800 case 34:
45801 return _this.super$StylesheetParser$importArgument();
45802 }
45803 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45804 next = t1.peekChar$0();
45805 while (true) {
45806 if (next != null)
45807 if (next !== 44)
45808 if (next !== 59)
45809 t2 = !(next === 10 || next === 13 || next === 12);
45810 else
45811 t2 = false;
45812 else
45813 t2 = false;
45814 else
45815 t2 = false;
45816 if (!t2)
45817 break;
45818 t1.readChar$0();
45819 next = t1.peekChar$0();
45820 }
45821 url = t1.substring$1(0, start.position);
45822 span = t1.spanFrom$1(start);
45823 if (_this.isPlainImportUrl$1(url))
45824 return new A.StaticImport(A.Interpolation$(A._setArrayType([A.serializeValue(new A.SassString(url, true), true, true)], type$.JSArray_Object), span), null, null, span);
45825 else
45826 try {
45827 t1 = _this.parseImportUrl$1(url);
45828 return new A.DynamicImport(t1, span);
45829 } catch (exception) {
45830 t1 = A.unwrapException(exception);
45831 if (type$.FormatException._is(t1)) {
45832 innerError = t1;
45833 stackTrace = A.getTraceFromException(exception);
45834 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
45835 } else
45836 throw exception;
45837 }
45838 },
45839 scanElse$1(ifIndentation) {
45840 var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
45841 if (_this._peekIndentation$0() !== ifIndentation)
45842 return false;
45843 t1 = _this.scanner;
45844 t2 = t1._string_scanner$_position;
45845 startIndentation = _this._currentIndentation;
45846 startNextIndentation = _this._nextIndentation;
45847 startNextIndentationEnd = _this._nextIndentationEnd;
45848 _this._readIndentation$0();
45849 if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
45850 return true;
45851 t1.set$state(new A._SpanScannerState(t1, t2));
45852 _this._currentIndentation = startIndentation;
45853 _this._nextIndentation = startNextIndentation;
45854 _this._nextIndentationEnd = startNextIndentationEnd;
45855 return false;
45856 },
45857 children$1(_, child) {
45858 var children = A._setArrayType([], type$.JSArray_Statement);
45859 this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
45860 return children;
45861 },
45862 statements$1(statement) {
45863 var statements, t2, child,
45864 t1 = this.scanner,
45865 first = t1.peekChar$0();
45866 if (first === 9 || first === 32)
45867 t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
45868 statements = A._setArrayType([], type$.JSArray_Statement);
45869 for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
45870 child = this._child$1(statement);
45871 if (child != null)
45872 statements.push(child);
45873 this._readIndentation$0();
45874 }
45875 return statements;
45876 },
45877 _child$1(child) {
45878 var _this = this,
45879 t1 = _this.scanner;
45880 switch (t1.peekChar$0()) {
45881 case 13:
45882 case 10:
45883 case 12:
45884 return null;
45885 case 36:
45886 return _this.variableDeclarationWithoutNamespace$0();
45887 case 47:
45888 switch (t1.peekChar$1(1)) {
45889 case 47:
45890 return _this._silentComment$0();
45891 case 42:
45892 return _this._loudComment$0();
45893 default:
45894 return child.call$0();
45895 }
45896 default:
45897 return child.call$0();
45898 }
45899 },
45900 _silentComment$0() {
45901 var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
45902 t1 = _this.scanner,
45903 t2 = t1._string_scanner$_position;
45904 t1.expect$1("//");
45905 buffer = new A.StringBuffer("");
45906 parentIndentation = _this._currentIndentation;
45907 t3 = t1.string.length;
45908 t4 = 1 + parentIndentation;
45909 t5 = 2 + parentIndentation;
45910 $label0$0:
45911 do {
45912 commentPrefix = t1.scanChar$1(47) ? "///" : "//";
45913 for (i = commentPrefix.length; true;) {
45914 t6 = buffer._contents += commentPrefix;
45915 for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
45916 t6 += A.Primitives_stringFromCharCode(32);
45917 buffer._contents = t6;
45918 }
45919 while (true) {
45920 if (t1._string_scanner$_position !== t3) {
45921 t7 = t1.peekChar$0();
45922 t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
45923 } else
45924 t7 = false;
45925 if (!t7)
45926 break;
45927 t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
45928 buffer._contents = t6;
45929 }
45930 buffer._contents = t6 + "\n";
45931 if (_this._peekIndentation$0() < parentIndentation)
45932 break $label0$0;
45933 if (_this._peekIndentation$0() === parentIndentation) {
45934 if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
45935 _this._readIndentation$0();
45936 break;
45937 }
45938 _this._readIndentation$0();
45939 }
45940 } while (t1.scan$1("//"));
45941 t3 = buffer._contents;
45942 return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
45943 },
45944 _loudComment$0() {
45945 var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
45946 t1 = _this.scanner,
45947 t2 = t1._string_scanner$_position;
45948 t1.expect$1("/*");
45949 t3 = new A.StringBuffer("");
45950 t4 = A._setArrayType([], type$.JSArray_Object);
45951 buffer = new A.InterpolationBuffer(t3, t4);
45952 t3._contents = "" + "/*";
45953 parentIndentation = _this._currentIndentation;
45954 for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
45955 if (first) {
45956 beginningOfComment = t1._string_scanner$_position;
45957 _this.spaces$0();
45958 t7 = t1.peekChar$0();
45959 if (t7 === 10 || t7 === 13 || t7 === 12) {
45960 _this._readIndentation$0();
45961 t7 = t3._contents += A.Primitives_stringFromCharCode(32);
45962 } else {
45963 end = t1._string_scanner$_position;
45964 t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
45965 }
45966 } else {
45967 t7 = t3._contents += "\n";
45968 t7 += " * ";
45969 t3._contents = t7;
45970 }
45971 for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
45972 t7 += A.Primitives_stringFromCharCode(32);
45973 t3._contents = t7;
45974 }
45975 $label0$1:
45976 for (; t1._string_scanner$_position !== t6;)
45977 switch (t1.peekChar$0()) {
45978 case 10:
45979 case 13:
45980 case 12:
45981 break $label0$1;
45982 case 35:
45983 if (t1.peekChar$1(1) === 123) {
45984 t7 = _this.singleInterpolation$0();
45985 buffer._flushText$0();
45986 t4.push(t7);
45987 } else
45988 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45989 break;
45990 default:
45991 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45992 break;
45993 }
45994 if (_this._peekIndentation$0() <= parentIndentation)
45995 break;
45996 for (; _this._lookingAtDoubleNewline$0();) {
45997 _this._expectNewline$0();
45998 t7 = t3._contents += "\n";
45999 t3._contents = t7 + " *";
46000 }
46001 _this._readIndentation$0();
46002 }
46003 t4 = t3._contents;
46004 if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
46005 t3._contents += " */";
46006 return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
46007 },
46008 whitespaceWithoutComments$0() {
46009 var t1, t2, next;
46010 for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
46011 next = t1.peekChar$0();
46012 if (next !== 9 && next !== 32)
46013 break;
46014 t1.readChar$0();
46015 }
46016 },
46017 loudComment$0() {
46018 var next,
46019 t1 = this.scanner;
46020 t1.expect$1("/*");
46021 for (; true;) {
46022 next = t1.readChar$0();
46023 if (next === 10 || next === 13 || next === 12)
46024 t1.error$1(0, "expected */.");
46025 if (next !== 42)
46026 continue;
46027 do
46028 next = t1.readChar$0();
46029 while (next === 42);
46030 if (next === 47)
46031 break;
46032 }
46033 },
46034 _expectNewline$0() {
46035 var t1 = this.scanner;
46036 switch (t1.peekChar$0()) {
46037 case 59:
46038 t1.error$1(0, string$.semico);
46039 break;
46040 case 13:
46041 t1.readChar$0();
46042 if (t1.peekChar$0() === 10)
46043 t1.readChar$0();
46044 return;
46045 case 10:
46046 case 12:
46047 t1.readChar$0();
46048 return;
46049 default:
46050 t1.error$1(0, "expected newline.");
46051 }
46052 },
46053 _lookingAtDoubleNewline$0() {
46054 var nextChar,
46055 t1 = this.scanner;
46056 switch (t1.peekChar$0()) {
46057 case 13:
46058 nextChar = t1.peekChar$1(1);
46059 if (nextChar === 10) {
46060 t1 = t1.peekChar$1(2);
46061 return t1 === 10 || t1 === 13 || t1 === 12;
46062 }
46063 return nextChar === 13 || nextChar === 12;
46064 case 10:
46065 case 12:
46066 t1 = t1.peekChar$1(1);
46067 return t1 === 10 || t1 === 13 || t1 === 12;
46068 default:
46069 return false;
46070 }
46071 },
46072 _whileIndentedLower$1(body) {
46073 var t1, t2, childIndentation, indentation, t3, t4, t5, _this = this,
46074 parentIndentation = _this._currentIndentation;
46075 for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
46076 indentation = _this._readIndentation$0();
46077 if (childIndentation == null)
46078 childIndentation = indentation;
46079 if (childIndentation !== indentation) {
46080 t3 = "Inconsistent indentation, expected " + childIndentation + " spaces.";
46081 t4 = t1._string_scanner$_position;
46082 t5 = t2.getColumn$1(t4);
46083 t1.error$3$length$position(0, t3, t2.getColumn$1(t1._string_scanner$_position), t4 - t5);
46084 }
46085 body.call$0();
46086 }
46087 },
46088 _readIndentation$0() {
46089 var t1, _this = this,
46090 currentIndentation = _this._nextIndentation;
46091 if (currentIndentation == null)
46092 currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
46093 _this._currentIndentation = currentIndentation;
46094 t1 = _this._nextIndentationEnd;
46095 t1.toString;
46096 _this.scanner.set$state(t1);
46097 _this._nextIndentationEnd = _this._nextIndentation = null;
46098 return currentIndentation;
46099 },
46100 _peekIndentation$0() {
46101 var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
46102 cached = _this._nextIndentation;
46103 if (cached != null)
46104 return cached;
46105 t1 = _this.scanner;
46106 t2 = t1._string_scanner$_position;
46107 t3 = t1.string.length;
46108 if (t2 === t3) {
46109 _this._nextIndentation = 0;
46110 _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
46111 return 0;
46112 }
46113 start = new A._SpanScannerState(t1, t2);
46114 if (!_this.scanCharIf$1(A.character__isNewline$closure()))
46115 t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
46116 containsTab = A._Cell$();
46117 containsSpace = A._Cell$();
46118 nextIndentation = A._Cell$();
46119 t2 = nextIndentation.__late_helper$_name;
46120 do {
46121 containsSpace._value = containsTab._value = false;
46122 nextIndentation._value = 0;
46123 for (; true;) {
46124 next = t1.peekChar$0();
46125 if (next === 32)
46126 containsSpace._value = true;
46127 else if (next === 9)
46128 containsTab._value = true;
46129 else
46130 break;
46131 t4 = nextIndentation._value;
46132 if (t4 === nextIndentation)
46133 A.throwExpression(A.LateError$localNI(t2));
46134 nextIndentation._value = t4 + 1;
46135 t1.readChar$0();
46136 }
46137 t4 = t1._string_scanner$_position;
46138 if (t4 === t3) {
46139 _this._nextIndentation = 0;
46140 _this._nextIndentationEnd = new A._SpanScannerState(t1, t4);
46141 t1.set$state(start);
46142 return 0;
46143 }
46144 } while (_this.scanCharIf$1(A.character__isNewline$closure()));
46145 t2 = containsTab._readLocal$0();
46146 t3 = containsSpace._readLocal$0();
46147 if (t2) {
46148 if (t3) {
46149 t2 = t1._string_scanner$_position;
46150 t3 = t1._sourceFile;
46151 t4 = t3.getColumn$1(t2);
46152 t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46153 } else if (_this._spaces === true) {
46154 t2 = t1._string_scanner$_position;
46155 t3 = t1._sourceFile;
46156 t4 = t3.getColumn$1(t2);
46157 t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46158 }
46159 } else if (t3 && _this._spaces === false) {
46160 t2 = t1._string_scanner$_position;
46161 t3 = t1._sourceFile;
46162 t4 = t3.getColumn$1(t2);
46163 t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46164 }
46165 _this._nextIndentation = nextIndentation._readLocal$0();
46166 if (nextIndentation._readLocal$0() > 0)
46167 if (_this._spaces == null)
46168 _this._spaces = containsSpace._readLocal$0();
46169 _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
46170 t1.set$state(start);
46171 return nextIndentation._readLocal$0();
46172 }
46173 };
46174 A.SassParser_children_closure.prototype = {
46175 call$0() {
46176 var parsedChild = this.$this._child$1(this.child);
46177 if (parsedChild != null)
46178 this.children.push(parsedChild);
46179 },
46180 $signature: 0
46181 };
46182 A.ScssParser.prototype = {
46183 get$indented() {
46184 return false;
46185 },
46186 get$currentIndentation() {
46187 return 0;
46188 },
46189 styleRuleSelector$0() {
46190 return this.almostAnyValue$0();
46191 },
46192 expectStatementSeparator$1($name) {
46193 var t1, next;
46194 this.whitespaceWithoutComments$0();
46195 t1 = this.scanner;
46196 if (t1._string_scanner$_position === t1.string.length)
46197 return;
46198 next = t1.peekChar$0();
46199 if (next === 59 || next === 125)
46200 return;
46201 t1.expectChar$1(59);
46202 },
46203 expectStatementSeparator$0() {
46204 return this.expectStatementSeparator$1(null);
46205 },
46206 atEndOfStatement$0() {
46207 var next = this.scanner.peekChar$0();
46208 return next == null || next === 59 || next === 125 || next === 123;
46209 },
46210 lookingAtChildren$0() {
46211 return this.scanner.peekChar$0() === 123;
46212 },
46213 scanElse$1(ifIndentation) {
46214 var t3, _this = this,
46215 t1 = _this.scanner,
46216 t2 = t1._string_scanner$_position;
46217 _this.whitespace$0();
46218 t3 = t1._string_scanner$_position;
46219 if (t1.scanChar$1(64)) {
46220 if (_this.scanIdentifier$2$caseSensitive("else", true))
46221 return true;
46222 if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
46223 _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
46224 t1.set$position(t1._string_scanner$_position - 2);
46225 return true;
46226 }
46227 }
46228 t1.set$state(new A._SpanScannerState(t1, t2));
46229 return false;
46230 },
46231 children$1(_, child) {
46232 var children, _this = this,
46233 t1 = _this.scanner;
46234 t1.expectChar$1(123);
46235 _this.whitespaceWithoutComments$0();
46236 children = A._setArrayType([], type$.JSArray_Statement);
46237 for (; true;)
46238 switch (t1.peekChar$0()) {
46239 case 36:
46240 children.push(_this.variableDeclarationWithoutNamespace$0());
46241 break;
46242 case 47:
46243 switch (t1.peekChar$1(1)) {
46244 case 47:
46245 children.push(_this._scss$_silentComment$0());
46246 _this.whitespaceWithoutComments$0();
46247 break;
46248 case 42:
46249 children.push(_this._scss$_loudComment$0());
46250 _this.whitespaceWithoutComments$0();
46251 break;
46252 default:
46253 children.push(child.call$0());
46254 break;
46255 }
46256 break;
46257 case 59:
46258 t1.readChar$0();
46259 _this.whitespaceWithoutComments$0();
46260 break;
46261 case 125:
46262 t1.expectChar$1(125);
46263 return children;
46264 default:
46265 children.push(child.call$0());
46266 break;
46267 }
46268 },
46269 statements$1(statement) {
46270 var t1, t2, child, _this = this,
46271 statements = A._setArrayType([], type$.JSArray_Statement);
46272 _this.whitespaceWithoutComments$0();
46273 for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
46274 switch (t1.peekChar$0()) {
46275 case 36:
46276 statements.push(_this.variableDeclarationWithoutNamespace$0());
46277 break;
46278 case 47:
46279 switch (t1.peekChar$1(1)) {
46280 case 47:
46281 statements.push(_this._scss$_silentComment$0());
46282 _this.whitespaceWithoutComments$0();
46283 break;
46284 case 42:
46285 statements.push(_this._scss$_loudComment$0());
46286 _this.whitespaceWithoutComments$0();
46287 break;
46288 default:
46289 child = statement.call$0();
46290 if (child != null)
46291 statements.push(child);
46292 break;
46293 }
46294 break;
46295 case 59:
46296 t1.readChar$0();
46297 _this.whitespaceWithoutComments$0();
46298 break;
46299 default:
46300 child = statement.call$0();
46301 if (child != null)
46302 statements.push(child);
46303 break;
46304 }
46305 return statements;
46306 },
46307 _scss$_silentComment$0() {
46308 var t2, t3, _this = this,
46309 t1 = _this.scanner,
46310 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46311 t1.expect$1("//");
46312 t2 = t1.string.length;
46313 do {
46314 while (true) {
46315 if (t1._string_scanner$_position !== t2) {
46316 t3 = t1.readChar$0();
46317 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
46318 } else
46319 t3 = false;
46320 if (!t3)
46321 break;
46322 }
46323 if (t1._string_scanner$_position === t2)
46324 break;
46325 _this.whitespaceWithoutComments$0();
46326 } while (t1.scan$1("//"));
46327 if (_this.get$plainCss())
46328 _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
46329 return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
46330 },
46331 _scss$_loudComment$0() {
46332 var t3, t4, buffer, t5, endPosition, t6, result,
46333 t1 = this.scanner,
46334 t2 = t1._string_scanner$_position;
46335 t1.expect$1("/*");
46336 t3 = new A.StringBuffer("");
46337 t4 = A._setArrayType([], type$.JSArray_Object);
46338 buffer = new A.InterpolationBuffer(t3, t4);
46339 t3._contents = "" + "/*";
46340 for (; true;)
46341 switch (t1.peekChar$0()) {
46342 case 35:
46343 if (t1.peekChar$1(1) === 123) {
46344 t5 = this.singleInterpolation$0();
46345 buffer._flushText$0();
46346 t4.push(t5);
46347 } else
46348 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46349 break;
46350 case 42:
46351 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46352 if (t1.peekChar$0() !== 47)
46353 break;
46354 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46355 endPosition = t1._string_scanner$_position;
46356 t5 = t1._sourceFile;
46357 t6 = new A._SpanScannerState(t1, t2).position;
46358 t1 = new A._FileSpan(t5, t6, endPosition);
46359 t1._FileSpan$3(t5, t6, endPosition);
46360 t6 = type$.Object;
46361 t5 = A.List_List$of(t4, true, t6);
46362 t2 = t3._contents;
46363 if (t2.length !== 0)
46364 t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
46365 result = A.List_List$from(t5, false, t6);
46366 result.fixed$length = Array;
46367 result.immutable$list = Array;
46368 t2 = new A.Interpolation(result, t1);
46369 t2.Interpolation$2(t5, t1);
46370 return new A.LoudComment(t2);
46371 case 13:
46372 t1.readChar$0();
46373 if (t1.peekChar$0() !== 10)
46374 t3._contents += A.Primitives_stringFromCharCode(10);
46375 break;
46376 case 12:
46377 t1.readChar$0();
46378 t3._contents += A.Primitives_stringFromCharCode(10);
46379 break;
46380 default:
46381 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46382 break;
46383 }
46384 }
46385 };
46386 A.SelectorParser.prototype = {
46387 parse$0() {
46388 return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
46389 },
46390 parseCompoundSelector$0() {
46391 return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
46392 },
46393 _selectorList$0() {
46394 var t3, t4, lineBreak, _this = this,
46395 t1 = _this.scanner,
46396 t2 = t1._sourceFile,
46397 previousLine = t2.getLine$1(t1._string_scanner$_position),
46398 components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
46399 _this.whitespace$0();
46400 for (t3 = t1.string.length; t1.scanChar$1(44);) {
46401 _this.whitespace$0();
46402 if (t1.peekChar$0() === 44)
46403 continue;
46404 t4 = t1._string_scanner$_position;
46405 if (t4 === t3)
46406 break;
46407 lineBreak = t2.getLine$1(t4) !== previousLine;
46408 if (lineBreak)
46409 previousLine = t2.getLine$1(t1._string_scanner$_position);
46410 components.push(_this._complexSelector$1$lineBreak(lineBreak));
46411 }
46412 return A.SelectorList$(components);
46413 },
46414 _complexSelector$1$lineBreak(lineBreak) {
46415 var t1, next, _this = this,
46416 _s58_ = string$.x22x26__ma,
46417 components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
46418 $label0$1:
46419 for (t1 = _this.scanner; true;) {
46420 _this.whitespace$0();
46421 next = t1.peekChar$0();
46422 switch (next) {
46423 case 43:
46424 t1.readChar$0();
46425 components.push(B.Combinator_uzg);
46426 break;
46427 case 62:
46428 t1.readChar$0();
46429 components.push(B.Combinator_sgq);
46430 break;
46431 case 126:
46432 t1.readChar$0();
46433 components.push(B.Combinator_CzM);
46434 break;
46435 case 91:
46436 case 46:
46437 case 35:
46438 case 37:
46439 case 58:
46440 case 38:
46441 case 42:
46442 case 124:
46443 components.push(_this._compoundSelector$0());
46444 if (t1.peekChar$0() === 38)
46445 t1.error$1(0, _s58_);
46446 break;
46447 default:
46448 if (next == null || !_this.lookingAtIdentifier$0())
46449 break $label0$1;
46450 components.push(_this._compoundSelector$0());
46451 if (t1.peekChar$0() === 38)
46452 t1.error$1(0, _s58_);
46453 break;
46454 }
46455 }
46456 if (components.length === 0)
46457 t1.error$1(0, "expected selector.");
46458 return A.ComplexSelector$(components, lineBreak);
46459 },
46460 _complexSelector$0() {
46461 return this._complexSelector$1$lineBreak(false);
46462 },
46463 _compoundSelector$0() {
46464 var t2,
46465 components = A._setArrayType([this._simpleSelector$0()], type$.JSArray_SimpleSelector),
46466 t1 = this.scanner;
46467 while (true) {
46468 t2 = t1.peekChar$0();
46469 if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
46470 break;
46471 components.push(this._simpleSelector$1$allowParent(false));
46472 }
46473 return A.CompoundSelector$(components);
46474 },
46475 _simpleSelector$1$allowParent(allowParent) {
46476 var $name, text, t2, suffix, _this = this,
46477 t1 = _this.scanner,
46478 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46479 if (allowParent == null)
46480 allowParent = _this._allowParent;
46481 switch (t1.peekChar$0()) {
46482 case 91:
46483 return _this._attributeSelector$0();
46484 case 46:
46485 t1.expectChar$1(46);
46486 return new A.ClassSelector(_this.identifier$0());
46487 case 35:
46488 t1.expectChar$1(35);
46489 return new A.IDSelector(_this.identifier$0());
46490 case 37:
46491 t1.expectChar$1(37);
46492 $name = _this.identifier$0();
46493 if (!_this._allowPlaceholder)
46494 _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
46495 return new A.PlaceholderSelector($name);
46496 case 58:
46497 return _this._pseudoSelector$0();
46498 case 38:
46499 t1.expectChar$1(38);
46500 if (_this.lookingAtIdentifierBody$0()) {
46501 text = new A.StringBuffer("");
46502 _this._identifierBody$1(text);
46503 if (text._contents.length === 0)
46504 t1.error$1(0, "Expected identifier body.");
46505 t2 = text._contents;
46506 suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
46507 } else
46508 suffix = null;
46509 if (!allowParent)
46510 _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
46511 return new A.ParentSelector(suffix);
46512 default:
46513 return _this._typeOrUniversalSelector$0();
46514 }
46515 },
46516 _simpleSelector$0() {
46517 return this._simpleSelector$1$allowParent(null);
46518 },
46519 _attributeSelector$0() {
46520 var $name, operator, next, value, modifier, _this = this, _null = null,
46521 t1 = _this.scanner;
46522 t1.expectChar$1(91);
46523 _this.whitespace$0();
46524 $name = _this._attributeName$0();
46525 _this.whitespace$0();
46526 if (t1.scanChar$1(93))
46527 return new A.AttributeSelector($name, _null, _null, _null);
46528 operator = _this._attributeOperator$0();
46529 _this.whitespace$0();
46530 next = t1.peekChar$0();
46531 value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
46532 _this.whitespace$0();
46533 next = t1.peekChar$0();
46534 modifier = next != null && A.isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
46535 t1.expectChar$1(93);
46536 return new A.AttributeSelector($name, operator, value, modifier);
46537 },
46538 _attributeName$0() {
46539 var nameOrNamespace, _this = this,
46540 t1 = _this.scanner;
46541 if (t1.scanChar$1(42)) {
46542 t1.expectChar$1(124);
46543 return new A.QualifiedName(_this.identifier$0(), "*");
46544 }
46545 if (t1.scanChar$1(124))
46546 return new A.QualifiedName(_this.identifier$0(), "");
46547 nameOrNamespace = _this.identifier$0();
46548 if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
46549 return new A.QualifiedName(nameOrNamespace, null);
46550 t1.readChar$0();
46551 return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
46552 },
46553 _attributeOperator$0() {
46554 var t1 = this.scanner,
46555 t2 = t1._string_scanner$_position;
46556 switch (t1.readChar$0()) {
46557 case 61:
46558 return B.AttributeOperator_sEs;
46559 case 126:
46560 t1.expectChar$1(61);
46561 return B.AttributeOperator_fz1;
46562 case 124:
46563 t1.expectChar$1(61);
46564 return B.AttributeOperator_AuK;
46565 case 94:
46566 t1.expectChar$1(61);
46567 return B.AttributeOperator_4L5;
46568 case 36:
46569 t1.expectChar$1(61);
46570 return B.AttributeOperator_mOX;
46571 case 42:
46572 t1.expectChar$1(61);
46573 return B.AttributeOperator_gqZ;
46574 default:
46575 t1.error$2$position(0, 'Expected "]".', t2);
46576 }
46577 },
46578 _pseudoSelector$0() {
46579 var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
46580 t1 = _this.scanner;
46581 t1.expectChar$1(58);
46582 element = t1.scanChar$1(58);
46583 $name = _this.identifier$0();
46584 if (!t1.scanChar$1(40))
46585 return A.PseudoSelector$($name, _null, element, _null);
46586 _this.whitespace$0();
46587 unvendored = A.unvendor($name);
46588 if (element)
46589 if ($._selectorPseudoElements.contains$1(0, unvendored)) {
46590 selector = _this._selectorList$0();
46591 argument = _null;
46592 } else {
46593 argument = _this.declarationValue$1$allowEmpty(true);
46594 selector = _null;
46595 }
46596 else if ($._selectorPseudoClasses.contains$1(0, unvendored)) {
46597 selector = _this._selectorList$0();
46598 argument = _null;
46599 } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
46600 argument = _this._aNPlusB$0();
46601 _this.whitespace$0();
46602 t2 = t1.peekChar$1(-1);
46603 if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
46604 _this.expectIdentifier$1("of");
46605 argument += " of";
46606 _this.whitespace$0();
46607 selector = _this._selectorList$0();
46608 } else
46609 selector = _null;
46610 } else {
46611 argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
46612 selector = _null;
46613 }
46614 t1.expectChar$1(41);
46615 return A.PseudoSelector$($name, argument, element, selector);
46616 },
46617 _aNPlusB$0() {
46618 var t2, first, t3, next, last, _this = this,
46619 t1 = _this.scanner;
46620 switch (t1.peekChar$0()) {
46621 case 101:
46622 case 69:
46623 _this.expectIdentifier$1("even");
46624 return "even";
46625 case 111:
46626 case 79:
46627 _this.expectIdentifier$1("odd");
46628 return "odd";
46629 case 43:
46630 case 45:
46631 t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
46632 break;
46633 default:
46634 t2 = "";
46635 }
46636 first = t1.peekChar$0();
46637 if (first != null && A.isDigit(first)) {
46638 while (true) {
46639 t3 = t1.peekChar$0();
46640 if (!(t3 != null && t3 >= 48 && t3 <= 57))
46641 break;
46642 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
46643 }
46644 _this.whitespace$0();
46645 if (!_this.scanIdentChar$1(110))
46646 return t2.charCodeAt(0) == 0 ? t2 : t2;
46647 } else
46648 _this.expectIdentChar$1(110);
46649 t2 += A.Primitives_stringFromCharCode(110);
46650 _this.whitespace$0();
46651 next = t1.peekChar$0();
46652 if (next !== 43 && next !== 45)
46653 return t2.charCodeAt(0) == 0 ? t2 : t2;
46654 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
46655 _this.whitespace$0();
46656 last = t1.peekChar$0();
46657 if (last == null || !A.isDigit(last))
46658 t1.error$1(0, "Expected a number.");
46659 while (true) {
46660 t3 = t1.peekChar$0();
46661 if (!(t3 != null && t3 >= 48 && t3 <= 57))
46662 break;
46663 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
46664 }
46665 return t2.charCodeAt(0) == 0 ? t2 : t2;
46666 },
46667 _typeOrUniversalSelector$0() {
46668 var nameOrNamespace, _this = this,
46669 t1 = _this.scanner,
46670 first = t1.peekChar$0();
46671 if (first === 42) {
46672 t1.readChar$0();
46673 if (!t1.scanChar$1(124))
46674 return new A.UniversalSelector(null);
46675 if (t1.scanChar$1(42))
46676 return new A.UniversalSelector("*");
46677 else
46678 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), "*"));
46679 } else if (first === 124) {
46680 t1.readChar$0();
46681 if (t1.scanChar$1(42))
46682 return new A.UniversalSelector("");
46683 else
46684 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), ""));
46685 }
46686 nameOrNamespace = _this.identifier$0();
46687 if (!t1.scanChar$1(124))
46688 return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null));
46689 else if (t1.scanChar$1(42))
46690 return new A.UniversalSelector(nameOrNamespace);
46691 else
46692 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace));
46693 }
46694 };
46695 A.SelectorParser_parse_closure.prototype = {
46696 call$0() {
46697 var t1 = this.$this,
46698 selector = t1._selectorList$0();
46699 t1 = t1.scanner;
46700 if (t1._string_scanner$_position !== t1.string.length)
46701 t1.error$1(0, "expected selector.");
46702 return selector;
46703 },
46704 $signature: 46
46705 };
46706 A.SelectorParser_parseCompoundSelector_closure.prototype = {
46707 call$0() {
46708 var t1 = this.$this,
46709 compound = t1._compoundSelector$0();
46710 t1 = t1.scanner;
46711 if (t1._string_scanner$_position !== t1.string.length)
46712 t1.error$1(0, "expected selector.");
46713 return compound;
46714 },
46715 $signature: 347
46716 };
46717 A.StylesheetParser.prototype = {
46718 parse$0() {
46719 return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
46720 },
46721 parseArgumentDeclaration$0() {
46722 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure(this), type$.ArgumentDeclaration);
46723 },
46724 parseVariableDeclaration$0() {
46725 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration);
46726 },
46727 parseUseRule$0() {
46728 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule);
46729 },
46730 _parseSingleProduction$1$1(production, $T) {
46731 return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
46732 },
46733 _statement$1$root(root) {
46734 var t2, _this = this,
46735 t1 = _this.scanner;
46736 switch (t1.peekChar$0()) {
46737 case 64:
46738 return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
46739 case 43:
46740 if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
46741 return _this._styleRule$0();
46742 _this._isUseAllowed = false;
46743 t2 = t1._string_scanner$_position;
46744 t1.readChar$0();
46745 return _this._includeRule$1(new A._SpanScannerState(t1, t2));
46746 case 61:
46747 if (!_this.get$indented())
46748 return _this._styleRule$0();
46749 _this._isUseAllowed = false;
46750 t2 = t1._string_scanner$_position;
46751 t1.readChar$0();
46752 _this.whitespace$0();
46753 return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
46754 case 125:
46755 t1.error$2$length(0, 'unmatched "}".', 1);
46756 break;
46757 default:
46758 return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
46759 }
46760 },
46761 _statement$0() {
46762 return this._statement$1$root(false);
46763 },
46764 _variableDeclarationWithNamespace$0() {
46765 var t1 = this.scanner,
46766 t2 = t1._string_scanner$_position,
46767 namespace = this.identifier$0();
46768 t1.expectChar$1(46);
46769 return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
46770 },
46771 variableDeclarationWithoutNamespace$2(namespace, start_) {
46772 var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
46773 precedingComment = _this.lastSilentComment;
46774 _this.lastSilentComment = null;
46775 if (start_ == null) {
46776 t1 = _this.scanner;
46777 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46778 } else
46779 start = start_;
46780 $name = _this.variableName$0();
46781 t1 = namespace != null;
46782 if (t1)
46783 _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
46784 if (_this.get$plainCss())
46785 _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
46786 _this.whitespace$0();
46787 t2 = _this.scanner;
46788 t2.expectChar$1(58);
46789 _this.whitespace$0();
46790 value = _this.expression$0();
46791 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
46792 for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
46793 flag = _this.identifier$0();
46794 if (flag === "default")
46795 guarded = true;
46796 else if (flag === "global") {
46797 if (t1) {
46798 endPosition = t2._string_scanner$_position;
46799 t4 = t2._sourceFile;
46800 t5 = flagStart.position;
46801 t6 = new A._FileSpan(t4, t5, endPosition);
46802 t6._FileSpan$3(t4, t5, endPosition);
46803 A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
46804 }
46805 global = true;
46806 } else {
46807 endPosition = t2._string_scanner$_position;
46808 t4 = t2._sourceFile;
46809 t5 = flagStart.position;
46810 t6 = new A._FileSpan(t4, t5, endPosition);
46811 t6._FileSpan$3(t4, t5, endPosition);
46812 A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
46813 }
46814 _this.whitespace$0();
46815 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
46816 }
46817 _this.expectStatementSeparator$1("variable declaration");
46818 declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
46819 if (global)
46820 _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
46821 return declaration;
46822 },
46823 variableDeclarationWithoutNamespace$0() {
46824 return this.variableDeclarationWithoutNamespace$2(null, null);
46825 },
46826 _variableDeclarationOrStyleRule$0() {
46827 var t1, t2, variableOrInterpolation, t3, _this = this;
46828 if (_this.get$plainCss())
46829 return _this._styleRule$0();
46830 if (_this.get$indented() && _this.scanner.scanChar$1(92))
46831 return _this._styleRule$0();
46832 if (!_this.lookingAtIdentifier$0())
46833 return _this._styleRule$0();
46834 t1 = _this.scanner;
46835 t2 = t1._string_scanner$_position;
46836 variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
46837 if (variableOrInterpolation instanceof A.VariableDeclaration)
46838 return variableOrInterpolation;
46839 else {
46840 t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
46841 t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
46842 return _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
46843 }
46844 },
46845 _declarationOrStyleRule$0() {
46846 var t1, t2, declarationOrBuffer, _this = this;
46847 if (_this.get$plainCss() && _this._inStyleRule && !_this._stylesheet$_inUnknownAtRule)
46848 return _this._propertyOrVariableDeclaration$0();
46849 if (_this.get$indented() && _this.scanner.scanChar$1(92))
46850 return _this._styleRule$0();
46851 t1 = _this.scanner;
46852 t2 = t1._string_scanner$_position;
46853 declarationOrBuffer = _this._declarationOrBuffer$0();
46854 return type$.Statement._is(declarationOrBuffer) ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
46855 },
46856 _declarationOrBuffer$0() {
46857 var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
46858 t2 = _this.scanner,
46859 start = new A._SpanScannerState(t2, t2._string_scanner$_position),
46860 nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
46861 first = t2.peekChar$0();
46862 if (first !== 58)
46863 if (first !== 42)
46864 if (first !== 46)
46865 t3 = first === 35 && t2.peekChar$1(1) !== 123;
46866 else
46867 t3 = true;
46868 else
46869 t3 = true;
46870 else
46871 t3 = true;
46872 if (t3) {
46873 t3 = t2.readChar$0();
46874 nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(t3);
46875 t3 = _this.rawText$1(_this.get$whitespace());
46876 nameBuffer._interpolation_buffer$_text._contents += t3;
46877 startsWithPunctuation = true;
46878 } else
46879 startsWithPunctuation = false;
46880 if (!_this._lookingAtInterpolatedIdentifier$0())
46881 return nameBuffer;
46882 variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
46883 if (variableOrInterpolation instanceof A.VariableDeclaration)
46884 return variableOrInterpolation;
46885 else
46886 nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
46887 _this._isUseAllowed = false;
46888 if (t2.matches$1("/*")) {
46889 t3 = _this.rawText$1(_this.get$loudComment());
46890 nameBuffer._interpolation_buffer$_text._contents += t3;
46891 }
46892 midBuffer = new A.StringBuffer("");
46893 t3 = _this.get$whitespace();
46894 midBuffer._contents += _this.rawText$1(t3);
46895 t4 = t2._string_scanner$_position;
46896 if (!t2.scanChar$1(58)) {
46897 if (midBuffer._contents.length !== 0)
46898 nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(32);
46899 return nameBuffer;
46900 }
46901 midBuffer._contents += A.Primitives_stringFromCharCode(58);
46902 $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
46903 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
46904 t1 = _this._interpolatedDeclarationValue$0();
46905 _this.expectStatementSeparator$1("custom property");
46906 return A.Declaration$($name, new A.StringExpression(t1, false), t2.spanFrom$1(start));
46907 }
46908 if (t2.scanChar$1(58)) {
46909 t1 = nameBuffer;
46910 t2 = t1._interpolation_buffer$_text;
46911 t3 = t2._contents += A.S(midBuffer);
46912 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
46913 return t1;
46914 } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
46915 t1 = nameBuffer;
46916 t1._interpolation_buffer$_text._contents += A.S(midBuffer);
46917 return t1;
46918 }
46919 postColonWhitespace = _this.rawText$1(t3);
46920 if (_this.lookingAtChildren$0())
46921 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure($name));
46922 midBuffer._contents += postColonWhitespace;
46923 couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
46924 beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
46925 t3 = t1.value = null;
46926 try {
46927 t3 = t1.value = _this.expression$0();
46928 if (_this.lookingAtChildren$0()) {
46929 if (couldBeSelector)
46930 _this.expectStatementSeparator$0();
46931 } else if (!_this.atEndOfStatement$0())
46932 _this.expectStatementSeparator$0();
46933 } catch (exception) {
46934 if (type$.FormatException._is(A.unwrapException(exception))) {
46935 if (!couldBeSelector)
46936 throw exception;
46937 t2.set$state(beforeDeclaration);
46938 additional = _this.almostAnyValue$0();
46939 if (!_this.get$indented() && t2.peekChar$0() === 59)
46940 throw exception;
46941 nameBuffer._interpolation_buffer$_text._contents += A.S(midBuffer);
46942 nameBuffer.addInterpolation$1(additional);
46943 return nameBuffer;
46944 } else
46945 throw exception;
46946 }
46947 if (_this.lookingAtChildren$0())
46948 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure0(t1, $name));
46949 else {
46950 _this.expectStatementSeparator$0();
46951 return A.Declaration$($name, t3, t2.spanFrom$1(start));
46952 }
46953 },
46954 _variableDeclarationOrInterpolation$0() {
46955 var t1, start, identifier, t2, buffer, _this = this;
46956 if (!_this.lookingAtIdentifier$0())
46957 return _this.interpolatedIdentifier$0();
46958 t1 = _this.scanner;
46959 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46960 identifier = _this.identifier$0();
46961 if (t1.matches$1(".$")) {
46962 t1.readChar$0();
46963 return _this.variableDeclarationWithoutNamespace$2(identifier, start);
46964 } else {
46965 t2 = new A.StringBuffer("");
46966 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
46967 t2._contents = "" + identifier;
46968 if (_this._lookingAtInterpolatedIdentifierBody$0())
46969 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
46970 return buffer.interpolation$1(t1.spanFrom$1(start));
46971 }
46972 },
46973 _styleRule$2(buffer, start_) {
46974 var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
46975 _this._isUseAllowed = false;
46976 if (start_ == null) {
46977 t2 = _this.scanner;
46978 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
46979 } else
46980 start = start_;
46981 interpolation = t1.interpolation = _this.styleRuleSelector$0();
46982 if (buffer != null) {
46983 buffer.addInterpolation$1(interpolation);
46984 t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
46985 } else
46986 t2 = interpolation;
46987 if (t2.contents.length === 0)
46988 _this.scanner.error$1(0, 'expected "}".');
46989 wasInStyleRule = _this._inStyleRule;
46990 _this._inStyleRule = true;
46991 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
46992 },
46993 _styleRule$0() {
46994 return this._styleRule$2(null, null);
46995 },
46996 _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
46997 var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
46998 _s48_ = string$.Nested,
46999 t1 = {},
47000 t2 = _this.scanner,
47001 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
47002 t1.name = null;
47003 first = t2.peekChar$0();
47004 if (first !== 58)
47005 if (first !== 42)
47006 if (first !== 46)
47007 t3 = first === 35 && t2.peekChar$1(1) !== 123;
47008 else
47009 t3 = true;
47010 else
47011 t3 = true;
47012 else
47013 t3 = true;
47014 if (t3) {
47015 t3 = new A.StringBuffer("");
47016 nameBuffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
47017 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
47018 t3._contents += _this.rawText$1(_this.get$whitespace());
47019 nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
47020 t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
47021 } else if (!_this.get$plainCss()) {
47022 variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
47023 if (variableOrInterpolation instanceof A.VariableDeclaration)
47024 return variableOrInterpolation;
47025 else {
47026 type$.Interpolation._as(variableOrInterpolation);
47027 t1.name = variableOrInterpolation;
47028 }
47029 t3 = variableOrInterpolation;
47030 } else {
47031 $name = _this.interpolatedIdentifier$0();
47032 t1.name = $name;
47033 t3 = $name;
47034 }
47035 _this.whitespace$0();
47036 t2.expectChar$1(58);
47037 if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
47038 t1 = _this._interpolatedDeclarationValue$0();
47039 _this.expectStatementSeparator$1("custom property");
47040 return A.Declaration$(t3, new A.StringExpression(t1, false), t2.spanFrom$1(start));
47041 }
47042 _this.whitespace$0();
47043 if (_this.lookingAtChildren$0()) {
47044 if (_this.get$plainCss())
47045 t2.error$1(0, _s48_);
47046 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure(t1));
47047 }
47048 value = _this.expression$0();
47049 if (_this.lookingAtChildren$0()) {
47050 if (_this.get$plainCss())
47051 t2.error$1(0, _s48_);
47052 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure0(t1, value));
47053 } else {
47054 _this.expectStatementSeparator$0();
47055 return A.Declaration$(t3, value, t2.spanFrom$1(start));
47056 }
47057 },
47058 _propertyOrVariableDeclaration$0() {
47059 return this._propertyOrVariableDeclaration$1$parseCustomProperties(true);
47060 },
47061 _declarationChild$0() {
47062 if (this.scanner.peekChar$0() === 64)
47063 return this._declarationAtRule$0();
47064 return this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
47065 },
47066 atRule$2$root(child, root) {
47067 var $name, wasUseAllowed, value, optional, _this = this,
47068 t1 = _this.scanner,
47069 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47070 t1.expectChar$2$name(64, "@-rule");
47071 $name = _this.interpolatedIdentifier$0();
47072 _this.whitespace$0();
47073 wasUseAllowed = _this._isUseAllowed;
47074 _this._isUseAllowed = false;
47075 switch ($name.get$asPlain()) {
47076 case "at-root":
47077 return _this._atRootRule$1(start);
47078 case "content":
47079 return _this._contentRule$1(start);
47080 case "debug":
47081 return _this._debugRule$1(start);
47082 case "each":
47083 return _this._eachRule$2(start, child);
47084 case "else":
47085 return _this._disallowedAtRule$1(start);
47086 case "error":
47087 return _this._errorRule$1(start);
47088 case "extend":
47089 if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
47090 _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
47091 value = _this.almostAnyValue$0();
47092 optional = t1.scanChar$1(33);
47093 if (optional)
47094 _this.expectIdentifier$1("optional");
47095 _this.expectStatementSeparator$1("@extend rule");
47096 return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
47097 case "for":
47098 return _this._forRule$2(start, child);
47099 case "forward":
47100 _this._isUseAllowed = wasUseAllowed;
47101 if (!root)
47102 _this._disallowedAtRule$1(start);
47103 return _this._forwardRule$1(start);
47104 case "function":
47105 return _this._functionRule$1(start);
47106 case "if":
47107 return _this._ifRule$2(start, child);
47108 case "import":
47109 return _this._importRule$1(start);
47110 case "include":
47111 return _this._includeRule$1(start);
47112 case "media":
47113 return _this.mediaRule$1(start);
47114 case "mixin":
47115 return _this._mixinRule$1(start);
47116 case "-moz-document":
47117 return _this.mozDocumentRule$2(start, $name);
47118 case "return":
47119 return _this._disallowedAtRule$1(start);
47120 case "supports":
47121 return _this.supportsRule$1(start);
47122 case "use":
47123 _this._isUseAllowed = wasUseAllowed;
47124 if (!root)
47125 _this._disallowedAtRule$1(start);
47126 return _this._useRule$1(start);
47127 case "warn":
47128 return _this._warnRule$1(start);
47129 case "while":
47130 return _this._whileRule$2(start, child);
47131 default:
47132 return _this.unknownAtRule$2(start, $name);
47133 }
47134 },
47135 _declarationAtRule$0() {
47136 var _this = this,
47137 t1 = _this.scanner,
47138 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47139 switch (_this._plainAtRuleName$0()) {
47140 case "content":
47141 return _this._contentRule$1(start);
47142 case "debug":
47143 return _this._debugRule$1(start);
47144 case "each":
47145 return _this._eachRule$2(start, _this.get$_declarationChild());
47146 case "else":
47147 return _this._disallowedAtRule$1(start);
47148 case "error":
47149 return _this._errorRule$1(start);
47150 case "for":
47151 return _this._forRule$2(start, _this.get$_declarationChild());
47152 case "if":
47153 return _this._ifRule$2(start, _this.get$_declarationChild());
47154 case "include":
47155 return _this._includeRule$1(start);
47156 case "warn":
47157 return _this._warnRule$1(start);
47158 case "while":
47159 return _this._whileRule$2(start, _this.get$_declarationChild());
47160 default:
47161 return _this._disallowedAtRule$1(start);
47162 }
47163 },
47164 _functionChild$0() {
47165 var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, value, _this = this,
47166 t1 = _this.scanner;
47167 if (t1.peekChar$0() !== 64) {
47168 state = new A._SpanScannerState(t1, t1._string_scanner$_position);
47169 try {
47170 t2 = _this._variableDeclarationWithNamespace$0();
47171 return t2;
47172 } catch (exception) {
47173 t2 = A.unwrapException(exception);
47174 t3 = type$.SourceSpanFormatException;
47175 if (t3._is(t2)) {
47176 variableDeclarationError = t2;
47177 stackTrace = A.getTraceFromException(exception);
47178 t1.set$state(state);
47179 statement = null;
47180 try {
47181 statement = _this._declarationOrStyleRule$0();
47182 } catch (exception) {
47183 if (t3._is(A.unwrapException(exception)))
47184 throw A.wrapException(variableDeclarationError);
47185 else
47186 throw exception;
47187 }
47188 _this.error$3(0, "@function rules may not contain " + (statement instanceof A.StyleRule ? "style rules" : "declarations") + ".", J.get$span$z(statement), stackTrace);
47189 } else
47190 throw exception;
47191 }
47192 }
47193 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47194 switch (_this._plainAtRuleName$0()) {
47195 case "debug":
47196 return _this._debugRule$1(start);
47197 case "each":
47198 return _this._eachRule$2(start, _this.get$_functionChild());
47199 case "else":
47200 return _this._disallowedAtRule$1(start);
47201 case "error":
47202 return _this._errorRule$1(start);
47203 case "for":
47204 return _this._forRule$2(start, _this.get$_functionChild());
47205 case "if":
47206 return _this._ifRule$2(start, _this.get$_functionChild());
47207 case "return":
47208 value = _this.expression$0();
47209 _this.expectStatementSeparator$1("@return rule");
47210 return new A.ReturnRule(value, t1.spanFrom$1(start));
47211 case "warn":
47212 return _this._warnRule$1(start);
47213 case "while":
47214 return _this._whileRule$2(start, _this.get$_functionChild());
47215 default:
47216 return _this._disallowedAtRule$1(start);
47217 }
47218 },
47219 _plainAtRuleName$0() {
47220 this.scanner.expectChar$2$name(64, "@-rule");
47221 var $name = this.identifier$0();
47222 this.whitespace$0();
47223 return $name;
47224 },
47225 _atRootRule$1(start) {
47226 var query, _this = this,
47227 t1 = _this.scanner;
47228 if (t1.peekChar$0() === 40) {
47229 query = _this._atRootQuery$0();
47230 _this.whitespace$0();
47231 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(query));
47232 } else if (_this.lookingAtChildren$0())
47233 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
47234 else
47235 return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
47236 },
47237 _atRootQuery$0() {
47238 var interpolation, t2, t3, t4, buffer, t5, _this = this,
47239 t1 = _this.scanner;
47240 if (t1.peekChar$0() === 35) {
47241 interpolation = _this.singleInterpolation$0();
47242 return A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
47243 }
47244 t2 = t1._string_scanner$_position;
47245 t3 = new A.StringBuffer("");
47246 t4 = A._setArrayType([], type$.JSArray_Object);
47247 buffer = new A.InterpolationBuffer(t3, t4);
47248 t1.expectChar$1(40);
47249 t3._contents += A.Primitives_stringFromCharCode(40);
47250 _this.whitespace$0();
47251 t5 = _this.expression$0();
47252 buffer._flushText$0();
47253 t4.push(t5);
47254 if (t1.scanChar$1(58)) {
47255 _this.whitespace$0();
47256 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
47257 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
47258 t5 = _this.expression$0();
47259 buffer._flushText$0();
47260 t4.push(t5);
47261 }
47262 t1.expectChar$1(41);
47263 _this.whitespace$0();
47264 t3._contents += A.Primitives_stringFromCharCode(41);
47265 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
47266 },
47267 _contentRule$1(start) {
47268 var t1, $arguments, t2, t3, _this = this;
47269 if (!_this._stylesheet$_inMixin)
47270 _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
47271 _this.whitespace$0();
47272 t1 = _this.scanner;
47273 if (t1.peekChar$0() === 40)
47274 $arguments = _this._argumentInvocation$1$mixin(true);
47275 else {
47276 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47277 t3 = t2.offset;
47278 $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
47279 }
47280 _this.expectStatementSeparator$1("@content rule");
47281 return new A.ContentRule($arguments, t1.spanFrom$1(start));
47282 },
47283 _debugRule$1(start) {
47284 var value = this.expression$0();
47285 this.expectStatementSeparator$1("@debug rule");
47286 return new A.DebugRule(value, this.scanner.spanFrom$1(start));
47287 },
47288 _eachRule$2(start, child) {
47289 var variables, t1, _this = this,
47290 wasInControlDirective = _this._inControlDirective;
47291 _this._inControlDirective = true;
47292 variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
47293 _this.whitespace$0();
47294 for (t1 = _this.scanner; t1.scanChar$1(44);) {
47295 _this.whitespace$0();
47296 t1.expectChar$1(36);
47297 variables.push(_this.identifier$1$normalize(true));
47298 _this.whitespace$0();
47299 }
47300 _this.expectIdentifier$1("in");
47301 _this.whitespace$0();
47302 return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this.expression$0()));
47303 },
47304 _errorRule$1(start) {
47305 var value = this.expression$0();
47306 this.expectStatementSeparator$1("@error rule");
47307 return new A.ErrorRule(value, this.scanner.spanFrom$1(start));
47308 },
47309 _functionRule$1(start) {
47310 var $name, $arguments, _this = this,
47311 precedingComment = _this.lastSilentComment;
47312 _this.lastSilentComment = null;
47313 $name = _this.identifier$1$normalize(true);
47314 _this.whitespace$0();
47315 $arguments = _this._argumentDeclaration$0();
47316 if (_this._stylesheet$_inMixin || _this._inContentBlock)
47317 _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
47318 else if (_this._inControlDirective)
47319 _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
47320 switch (A.unvendor($name)) {
47321 case "calc":
47322 case "element":
47323 case "expression":
47324 case "url":
47325 case "and":
47326 case "or":
47327 case "not":
47328 case "clamp":
47329 _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
47330 break;
47331 }
47332 _this.whitespace$0();
47333 return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, $arguments, precedingComment));
47334 },
47335 _forRule$2(start, child) {
47336 var variable, from, _this = this, t1 = {},
47337 wasInControlDirective = _this._inControlDirective;
47338 _this._inControlDirective = true;
47339 variable = _this.variableName$0();
47340 _this.whitespace$0();
47341 _this.expectIdentifier$1("from");
47342 _this.whitespace$0();
47343 t1.exclusive = null;
47344 from = _this.expression$1$until(new A.StylesheetParser__forRule_closure(t1, _this));
47345 if (t1.exclusive == null)
47346 _this.scanner.error$1(0, 'Expected "to" or "through".');
47347 _this.whitespace$0();
47348 return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this.expression$0()));
47349 },
47350 _forwardRule$1(start) {
47351 var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
47352 url = _this._urlString$0();
47353 _this.whitespace$0();
47354 if (_this.scanIdentifier$1("as")) {
47355 _this.whitespace$0();
47356 prefix = _this.identifier$1$normalize(true);
47357 _this.scanner.expectChar$1(42);
47358 _this.whitespace$0();
47359 } else
47360 prefix = _null;
47361 if (_this.scanIdentifier$1("show")) {
47362 members = _this._memberList$0();
47363 shownMixinsAndFunctions = members.item1;
47364 shownVariables = members.item2;
47365 hiddenVariables = _null;
47366 hiddenMixinsAndFunctions = hiddenVariables;
47367 } else {
47368 if (_this.scanIdentifier$1("hide")) {
47369 members = _this._memberList$0();
47370 hiddenMixinsAndFunctions = members.item1;
47371 hiddenVariables = members.item2;
47372 } else {
47373 hiddenVariables = _null;
47374 hiddenMixinsAndFunctions = hiddenVariables;
47375 }
47376 shownVariables = _null;
47377 shownMixinsAndFunctions = shownVariables;
47378 }
47379 configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
47380 _this.expectStatementSeparator$1("@forward rule");
47381 span = _this.scanner.spanFrom$1(start);
47382 if (!_this._isUseAllowed)
47383 _this.error$2(0, string$.x40forwa, span);
47384 if (shownMixinsAndFunctions != null) {
47385 shownVariables.toString;
47386 t1 = type$.String;
47387 t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
47388 t3 = type$.UnmodifiableSetView_String;
47389 t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
47390 t4 = configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
47391 return new A.ForwardRule(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
47392 } else if (hiddenMixinsAndFunctions != null) {
47393 hiddenVariables.toString;
47394 t1 = type$.String;
47395 t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
47396 t3 = type$.UnmodifiableSetView_String;
47397 t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
47398 t4 = configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
47399 return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
47400 } else
47401 return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
47402 },
47403 _memberList$0() {
47404 var _this = this,
47405 t1 = type$.String,
47406 identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
47407 variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
47408 t1 = _this.scanner;
47409 do {
47410 _this.whitespace$0();
47411 _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
47412 _this.whitespace$0();
47413 } while (t1.scanChar$1(44));
47414 return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
47415 },
47416 _ifRule$2(start, child) {
47417 var condition, children, clauses, lastClause, span, _this = this,
47418 ifIndentation = _this.get$currentIndentation(),
47419 wasInControlDirective = _this._inControlDirective;
47420 _this._inControlDirective = true;
47421 condition = _this.expression$0();
47422 children = _this.children$1(0, child);
47423 _this.whitespaceWithoutComments$0();
47424 clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
47425 while (true) {
47426 if (!_this.scanElse$1(ifIndentation)) {
47427 lastClause = null;
47428 break;
47429 }
47430 _this.whitespace$0();
47431 if (_this.scanIdentifier$1("if")) {
47432 _this.whitespace$0();
47433 clauses.push(A.IfClause$(_this.expression$0(), _this.children$1(0, child)));
47434 } else {
47435 lastClause = A.ElseClause$(_this.children$1(0, child));
47436 break;
47437 }
47438 }
47439 _this._inControlDirective = wasInControlDirective;
47440 span = _this.scanner.spanFrom$1(start);
47441 _this.whitespaceWithoutComments$0();
47442 return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
47443 },
47444 _importRule$1(start) {
47445 var argument, _this = this,
47446 imports = A._setArrayType([], type$.JSArray_Import),
47447 t1 = _this.scanner;
47448 do {
47449 _this.whitespace$0();
47450 argument = _this.importArgument$0();
47451 if ((_this._inControlDirective || _this._stylesheet$_inMixin) && argument instanceof A.DynamicImport)
47452 _this._disallowedAtRule$1(start);
47453 imports.push(argument);
47454 _this.whitespace$0();
47455 } while (t1.scanChar$1(44));
47456 _this.expectStatementSeparator$1("@import rule");
47457 t1 = t1.spanFrom$1(start);
47458 return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
47459 },
47460 importArgument$0() {
47461 var url, urlSpan, innerError, stackTrace, queries, t2, t3, t4, exception, _this = this, _null = null,
47462 t1 = _this.scanner,
47463 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
47464 next = t1.peekChar$0();
47465 if (next === 117 || next === 85) {
47466 url = _this.dynamicUrl$0();
47467 _this.whitespace$0();
47468 queries = _this.tryImportQueries$0();
47469 t2 = A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start));
47470 t1 = t1.spanFrom$1(start);
47471 t3 = queries == null;
47472 t4 = t3 ? _null : queries.item1;
47473 return new A.StaticImport(t2, t4, t3 ? _null : queries.item2, t1);
47474 }
47475 url = _this.string$0();
47476 urlSpan = t1.spanFrom$1(start);
47477 _this.whitespace$0();
47478 queries = _this.tryImportQueries$0();
47479 if (_this.isPlainImportUrl$1(url) || queries != null) {
47480 t2 = urlSpan;
47481 t2 = 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);
47482 t1 = t1.spanFrom$1(start);
47483 t3 = queries == null;
47484 t4 = t3 ? _null : queries.item1;
47485 return new A.StaticImport(t2, t4, t3 ? _null : queries.item2, t1);
47486 } else
47487 try {
47488 t1 = _this.parseImportUrl$1(url);
47489 return new A.DynamicImport(t1, urlSpan);
47490 } catch (exception) {
47491 t1 = A.unwrapException(exception);
47492 if (type$.FormatException._is(t1)) {
47493 innerError = t1;
47494 stackTrace = A.getTraceFromException(exception);
47495 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
47496 } else
47497 throw exception;
47498 }
47499 },
47500 parseImportUrl$1(url) {
47501 var t1 = $.$get$windows();
47502 if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
47503 return t1.toUri$1(url).toString$0(0);
47504 A.Uri_parse(url);
47505 return url;
47506 },
47507 isPlainImportUrl$1(url) {
47508 var first;
47509 if (url.length < 5)
47510 return false;
47511 if (B.JSString_methods.endsWith$1(url, ".css"))
47512 return true;
47513 first = B.JSString_methods._codeUnitAt$1(url, 0);
47514 if (first === 47)
47515 return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
47516 if (first !== 104)
47517 return false;
47518 return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
47519 },
47520 tryImportQueries$0() {
47521 var t1, start, supports, identifier, t2, $arguments, $name, media, _this = this, _null = null;
47522 if (_this.scanIdentifier$1("supports")) {
47523 t1 = _this.scanner;
47524 t1.expectChar$1(40);
47525 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47526 if (_this.scanIdentifier$1("not")) {
47527 _this.whitespace$0();
47528 supports = new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(start));
47529 } else if (t1.peekChar$0() === 40)
47530 supports = _this._supportsCondition$0();
47531 else {
47532 if (_this._lookingAtInterpolatedIdentifier$0()) {
47533 identifier = _this.interpolatedIdentifier$0();
47534 t2 = identifier.get$asPlain();
47535 if ((t2 == null ? _null : t2.toLowerCase()) === "not")
47536 _this.error$2(0, '"not" is not a valid identifier here.', identifier.span);
47537 if (t1.scanChar$1(40)) {
47538 $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
47539 t1.expectChar$1(41);
47540 supports = new A.SupportsFunction(identifier, $arguments, t1.spanFrom$1(start));
47541 } else {
47542 t1.set$state(start);
47543 supports = _null;
47544 }
47545 } else
47546 supports = _null;
47547 if (supports == null) {
47548 $name = _this.expression$0();
47549 t1.expectChar$1(58);
47550 supports = _this._supportsDeclarationValue$2($name, start);
47551 }
47552 }
47553 t1.expectChar$1(41);
47554 _this.whitespace$0();
47555 } else
47556 supports = _null;
47557 media = _this._lookingAtInterpolatedIdentifier$0() || _this.scanner.peekChar$0() === 40 ? _this._mediaQueryList$0() : _null;
47558 if (supports == null && media == null)
47559 return _null;
47560 return new A.Tuple2(supports, media, type$.Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation);
47561 },
47562 _includeRule$1(start) {
47563 var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
47564 $name = _this.identifier$0(),
47565 t1 = _this.scanner;
47566 if (t1.scanChar$1(46)) {
47567 name0 = _this._publicIdentifier$0();
47568 namespace = $name;
47569 $name = name0;
47570 } else {
47571 $name = A.stringReplaceAllUnchecked($name, "_", "-");
47572 namespace = _null;
47573 }
47574 _this.whitespace$0();
47575 if (t1.peekChar$0() === 40)
47576 $arguments = _this._argumentInvocation$1$mixin(true);
47577 else {
47578 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47579 t3 = t2.offset;
47580 $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
47581 }
47582 _this.whitespace$0();
47583 if (_this.scanIdentifier$1("using")) {
47584 _this.whitespace$0();
47585 contentArguments = _this._argumentDeclaration$0();
47586 _this.whitespace$0();
47587 } else
47588 contentArguments = _null;
47589 t2 = contentArguments == null;
47590 if (!t2 || _this.lookingAtChildren$0()) {
47591 if (t2) {
47592 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47593 t3 = t2.offset;
47594 contentArguments_ = new A.ArgumentDeclaration(B.List_empty8, _null, A._FileSpan$(t2.file, t3, t3));
47595 } else
47596 contentArguments_ = contentArguments;
47597 wasInContentBlock = _this._inContentBlock;
47598 _this._inContentBlock = true;
47599 $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentArguments_));
47600 _this._inContentBlock = wasInContentBlock;
47601 } else {
47602 _this.expectStatementSeparator$0();
47603 $content = _null;
47604 }
47605 t1 = t1.spanFrom$2(start, start);
47606 t2 = $content == null ? $arguments : $content;
47607 return new A.IncludeRule(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
47608 },
47609 mediaRule$1(start) {
47610 return this._withChildren$3(this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(this._mediaQueryList$0()));
47611 },
47612 _mixinRule$1(start) {
47613 var $name, t1, $arguments, t2, t3, _this = this,
47614 precedingComment = _this.lastSilentComment;
47615 _this.lastSilentComment = null;
47616 $name = _this.identifier$1$normalize(true);
47617 _this.whitespace$0();
47618 t1 = _this.scanner;
47619 if (t1.peekChar$0() === 40)
47620 $arguments = _this._argumentDeclaration$0();
47621 else {
47622 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47623 t3 = t2.offset;
47624 $arguments = new A.ArgumentDeclaration(B.List_empty8, null, A._FileSpan$(t2.file, t3, t3));
47625 }
47626 if (_this._stylesheet$_inMixin || _this._inContentBlock)
47627 _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
47628 else if (_this._inControlDirective)
47629 _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
47630 _this.whitespace$0();
47631 _this._stylesheet$_inMixin = true;
47632 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, $arguments, precedingComment));
47633 },
47634 mozDocumentRule$2(start, $name) {
47635 var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
47636 t1 = _this.scanner,
47637 t2 = t1._string_scanner$_position,
47638 t3 = new A.StringBuffer(""),
47639 t4 = A._setArrayType([], type$.JSArray_Object),
47640 buffer = new A.InterpolationBuffer(t3, t4);
47641 _box_0.needsDeprecationWarning = false;
47642 for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
47643 if (t1.peekChar$0() === 35) {
47644 t7 = _this.singleInterpolation$0();
47645 buffer._flushText$0();
47646 t4.push(t7);
47647 _box_0.needsDeprecationWarning = true;
47648 } else {
47649 t7 = t1._string_scanner$_position;
47650 identifier = _this.identifier$0();
47651 switch (identifier) {
47652 case "url":
47653 case "url-prefix":
47654 case "domain":
47655 contents = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
47656 if (contents != null)
47657 buffer.addInterpolation$1(contents);
47658 else {
47659 t1.expectChar$1(40);
47660 _this.whitespace$0();
47661 argument = _this.interpolatedString$0();
47662 t1.expectChar$1(41);
47663 t7 = t3._contents += identifier;
47664 t3._contents = t7 + A.Primitives_stringFromCharCode(40);
47665 buffer.addInterpolation$1(argument.asInterpolation$0());
47666 t3._contents += A.Primitives_stringFromCharCode(41);
47667 }
47668 t7 = t3._contents;
47669 trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
47670 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("")'))
47671 _box_0.needsDeprecationWarning = true;
47672 break;
47673 case "regexp":
47674 t3._contents += "regexp(";
47675 t1.expectChar$1(40);
47676 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
47677 t1.expectChar$1(41);
47678 t3._contents += A.Primitives_stringFromCharCode(41);
47679 _box_0.needsDeprecationWarning = true;
47680 break;
47681 default:
47682 endPosition = t1._string_scanner$_position;
47683 t8 = t1._sourceFile;
47684 t9 = new A._FileSpan(t8, t7, endPosition);
47685 t9._FileSpan$3(t8, t7, endPosition);
47686 A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
47687 }
47688 }
47689 _this.whitespace$0();
47690 if (!t1.scanChar$1(44))
47691 break;
47692 t3._contents += A.Primitives_stringFromCharCode(44);
47693 start0 = t1._string_scanner$_position;
47694 t5.call$0();
47695 end = t1._string_scanner$_position;
47696 t3._contents += B.JSString_methods.substring$2(t6, start0, end);
47697 }
47698 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)))));
47699 },
47700 supportsRule$1(start) {
47701 var _this = this,
47702 condition = _this._supportsCondition$0();
47703 _this.whitespace$0();
47704 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
47705 },
47706 _useRule$1(start) {
47707 var namespace, configuration, span, t1, _this = this,
47708 _s9_ = "@use rule",
47709 url = _this._urlString$0();
47710 _this.whitespace$0();
47711 namespace = _this._useNamespace$2(url, start);
47712 _this.whitespace$0();
47713 configuration = _this._stylesheet$_configuration$0();
47714 _this.expectStatementSeparator$1(_s9_);
47715 span = _this.scanner.spanFrom$1(start);
47716 if (!_this._isUseAllowed)
47717 _this.error$2(0, string$.x40use_r, span);
47718 _this.expectStatementSeparator$1(_s9_);
47719 t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
47720 t1.UseRule$4$configuration(url, namespace, span, configuration);
47721 return t1;
47722 },
47723 _useNamespace$2(url, start) {
47724 var namespace, basename, dot, t1, exception, _this = this;
47725 if (_this.scanIdentifier$1("as")) {
47726 _this.whitespace$0();
47727 return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
47728 }
47729 basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
47730 dot = B.JSString_methods.indexOf$1(basename, ".");
47731 t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
47732 namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
47733 try {
47734 t1 = A.SpanScanner$(namespace, null);
47735 t1 = new A.Parser(t1, _this.logger)._parseIdentifier$0();
47736 return t1;
47737 } catch (exception) {
47738 if (A.unwrapException(exception) instanceof A.SassFormatException)
47739 _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
47740 else
47741 throw exception;
47742 }
47743 },
47744 _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
47745 var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
47746 if (!_this.scanIdentifier$1("with"))
47747 return null;
47748 variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
47749 configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
47750 _this.whitespace$0();
47751 t1 = _this.scanner;
47752 t1.expectChar$1(40);
47753 for (t2 = t1.string; true;) {
47754 _this.whitespace$0();
47755 t3 = t1._string_scanner$_position;
47756 t1.expectChar$1(36);
47757 $name = _this.identifier$1$normalize(true);
47758 _this.whitespace$0();
47759 t1.expectChar$1(58);
47760 _this.whitespace$0();
47761 expression = _this._expressionUntilComma$0();
47762 t4 = t1._string_scanner$_position;
47763 if (allowGuarded && t1.scanChar$1(33))
47764 if (_this.identifier$0() === "default") {
47765 _this.whitespace$0();
47766 guarded = true;
47767 } else {
47768 endPosition = t1._string_scanner$_position;
47769 t5 = t1._sourceFile;
47770 t6 = new A._FileSpan(t5, t4, endPosition);
47771 t6._FileSpan$3(t5, t4, endPosition);
47772 A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
47773 guarded = false;
47774 }
47775 else
47776 guarded = false;
47777 endPosition = t1._string_scanner$_position;
47778 t4 = t1._sourceFile;
47779 span = new A._FileSpan(t4, t3, endPosition);
47780 span._FileSpan$3(t4, t3, endPosition);
47781 if (variableNames.contains$1(0, $name))
47782 A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
47783 variableNames.add$1(0, $name);
47784 configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
47785 if (!t1.scanChar$1(44))
47786 break;
47787 _this.whitespace$0();
47788 if (!_this._lookingAtExpression$0())
47789 break;
47790 }
47791 t1.expectChar$1(41);
47792 return configuration;
47793 },
47794 _stylesheet$_configuration$0() {
47795 return this._stylesheet$_configuration$1$allowGuarded(false);
47796 },
47797 _warnRule$1(start) {
47798 var value = this.expression$0();
47799 this.expectStatementSeparator$1("@warn rule");
47800 return new A.WarnRule(value, this.scanner.spanFrom$1(start));
47801 },
47802 _whileRule$2(start, child) {
47803 var _this = this,
47804 wasInControlDirective = _this._inControlDirective;
47805 _this._inControlDirective = true;
47806 return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this.expression$0()));
47807 },
47808 unknownAtRule$2(start, $name) {
47809 var t2, t3, rule, _this = this, t1 = {},
47810 wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
47811 _this._stylesheet$_inUnknownAtRule = true;
47812 t1.value = null;
47813 t2 = _this.scanner;
47814 t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
47815 if (_this.lookingAtChildren$0())
47816 rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
47817 else {
47818 _this.expectStatementSeparator$0();
47819 rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
47820 }
47821 _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
47822 return rule;
47823 },
47824 _disallowedAtRule$1(start) {
47825 this.almostAnyValue$0();
47826 this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
47827 },
47828 _argumentDeclaration$0() {
47829 var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
47830 t1 = _this.scanner,
47831 t2 = t1._string_scanner$_position;
47832 t1.expectChar$1(40);
47833 _this.whitespace$0();
47834 $arguments = A._setArrayType([], type$.JSArray_Argument);
47835 named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
47836 t3 = t1.string;
47837 while (true) {
47838 if (!(t1.peekChar$0() === 36)) {
47839 restArgument = null;
47840 break;
47841 }
47842 t4 = t1._string_scanner$_position;
47843 t1.expectChar$1(36);
47844 $name = _this.identifier$1$normalize(true);
47845 _this.whitespace$0();
47846 if (t1.scanChar$1(58)) {
47847 _this.whitespace$0();
47848 defaultValue = _this._expressionUntilComma$0();
47849 } else {
47850 if (t1.scanChar$1(46)) {
47851 t1.expectChar$1(46);
47852 t1.expectChar$1(46);
47853 _this.whitespace$0();
47854 restArgument = $name;
47855 break;
47856 }
47857 defaultValue = null;
47858 }
47859 endPosition = t1._string_scanner$_position;
47860 t5 = t1._sourceFile;
47861 t6 = new A._FileSpan(t5, t4, endPosition);
47862 t6._FileSpan$3(t5, t4, endPosition);
47863 $arguments.push(new A.Argument($name, defaultValue, t6));
47864 if (!named.add$1(0, $name))
47865 A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
47866 if (!t1.scanChar$1(44)) {
47867 restArgument = null;
47868 break;
47869 }
47870 _this.whitespace$0();
47871 }
47872 t1.expectChar$1(41);
47873 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
47874 return new A.ArgumentDeclaration(A.List_List$unmodifiable($arguments, type$.Argument), restArgument, t1);
47875 },
47876 _argumentInvocation$1$mixin(mixin) {
47877 var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, _this = this,
47878 t1 = _this.scanner,
47879 t2 = t1._string_scanner$_position;
47880 t1.expectChar$1(40);
47881 _this.whitespace$0();
47882 positional = A._setArrayType([], type$.JSArray_Expression);
47883 t3 = type$.String;
47884 t4 = type$.Expression;
47885 named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
47886 t5 = !mixin;
47887 t6 = t1.string;
47888 rest = null;
47889 while (true) {
47890 if (!_this._lookingAtExpression$0()) {
47891 keywordRest = null;
47892 break;
47893 }
47894 expression = _this._expressionUntilComma$1$singleEquals(t5);
47895 _this.whitespace$0();
47896 if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
47897 _this.whitespace$0();
47898 t7 = expression.name;
47899 if (named.containsKey$1(t7))
47900 A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
47901 named.$indexSet(0, t7, _this._expressionUntilComma$1$singleEquals(t5));
47902 } else if (t1.scanChar$1(46)) {
47903 t1.expectChar$1(46);
47904 t1.expectChar$1(46);
47905 if (rest != null) {
47906 _this.whitespace$0();
47907 keywordRest = expression;
47908 break;
47909 }
47910 rest = expression;
47911 } else if (named.get$isNotEmpty(named))
47912 A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
47913 else
47914 positional.push(expression);
47915 _this.whitespace$0();
47916 if (!t1.scanChar$1(44)) {
47917 keywordRest = null;
47918 break;
47919 }
47920 _this.whitespace$0();
47921 }
47922 t1.expectChar$1(41);
47923 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
47924 return new A.ArgumentInvocation(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
47925 },
47926 _argumentInvocation$0() {
47927 return this._argumentInvocation$1$mixin(false);
47928 },
47929 expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
47930 var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
47931 _s20_ = "Expected expression.",
47932 _box_0 = {},
47933 t1 = until != null;
47934 if (t1 && until.call$0())
47935 _this.scanner.error$1(0, _s20_);
47936 if (bracketList) {
47937 t2 = _this.scanner;
47938 beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
47939 t2.expectChar$1(91);
47940 _this.whitespace$0();
47941 if (t2.scanChar$1(93)) {
47942 t1 = A._setArrayType([], type$.JSArray_Expression);
47943 t2 = t2.spanFrom$1(beforeBracket);
47944 return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null, true, t2);
47945 }
47946 } else
47947 beforeBracket = null;
47948 t2 = _this.scanner;
47949 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
47950 wasInParentheses = _this._inParentheses;
47951 _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
47952 _box_0.allowSlash = true;
47953 _box_0.singleExpression_ = _this._singleExpression$0();
47954 resetState = new A.StylesheetParser_expression_resetState(_box_0, _this, start);
47955 resolveOneOperation = new A.StylesheetParser_expression_resolveOneOperation(_box_0, _this);
47956 resolveOperations = new A.StylesheetParser_expression_resolveOperations(_box_0, resolveOneOperation);
47957 addSingleExpression = new A.StylesheetParser_expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
47958 addOperator = new A.StylesheetParser_expression_addOperator(_box_0, _this, resolveOneOperation);
47959 resolveSpaceExpressions = new A.StylesheetParser_expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
47960 $label0$0:
47961 for (t3 = type$.JSArray_Expression; true;) {
47962 _this.whitespace$0();
47963 if (t1 && until.call$0())
47964 break $label0$0;
47965 first = t2.peekChar$0();
47966 switch (first) {
47967 case 40:
47968 addSingleExpression.call$1(_this._parentheses$0());
47969 break;
47970 case 91:
47971 addSingleExpression.call$1(_this.expression$1$bracketList(true));
47972 break;
47973 case 36:
47974 addSingleExpression.call$1(_this._variable$0());
47975 break;
47976 case 38:
47977 addSingleExpression.call$1(_this._selector$0());
47978 break;
47979 case 39:
47980 case 34:
47981 addSingleExpression.call$1(_this.interpolatedString$0());
47982 break;
47983 case 35:
47984 addSingleExpression.call$1(_this._hashExpression$0());
47985 break;
47986 case 61:
47987 t2.readChar$0();
47988 if (singleEquals && t2.peekChar$0() !== 61)
47989 addOperator.call$1(B.BinaryOperator_kjl);
47990 else {
47991 t2.expectChar$1(61);
47992 addOperator.call$1(B.BinaryOperator_YlX);
47993 }
47994 break;
47995 case 33:
47996 next = t2.peekChar$1(1);
47997 if (next === 61) {
47998 t2.readChar$0();
47999 t2.readChar$0();
48000 addOperator.call$1(B.BinaryOperator_i5H);
48001 } else {
48002 if (next != null)
48003 if ((next | 32) >>> 0 !== 105)
48004 t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
48005 else
48006 t4 = true;
48007 else
48008 t4 = true;
48009 if (t4)
48010 addSingleExpression.call$1(_this._importantExpression$0());
48011 else
48012 break $label0$0;
48013 }
48014 break;
48015 case 60:
48016 t2.readChar$0();
48017 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_33h : B.BinaryOperator_8qt);
48018 break;
48019 case 62:
48020 t2.readChar$0();
48021 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_1da : B.BinaryOperator_AcR);
48022 break;
48023 case 42:
48024 t2.readChar$0();
48025 addOperator.call$1(B.BinaryOperator_O1M);
48026 break;
48027 case 43:
48028 if (_box_0.singleExpression_ == null)
48029 addSingleExpression.call$1(_this._unaryOperation$0());
48030 else {
48031 t2.readChar$0();
48032 addOperator.call$1(B.BinaryOperator_AcR0);
48033 }
48034 break;
48035 case 45:
48036 next = t2.peekChar$1(1);
48037 if (next != null && next >= 48 && next <= 57 || next === 46)
48038 if (_box_0.singleExpression_ != null) {
48039 t4 = t2.peekChar$1(-1);
48040 t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
48041 } else
48042 t4 = true;
48043 else
48044 t4 = false;
48045 if (t4)
48046 addSingleExpression.call$1(_this._number$0());
48047 else if (_this._lookingAtInterpolatedIdentifier$0())
48048 addSingleExpression.call$1(_this.identifierLike$0());
48049 else if (_box_0.singleExpression_ == null)
48050 addSingleExpression.call$1(_this._unaryOperation$0());
48051 else {
48052 t2.readChar$0();
48053 addOperator.call$1(B.BinaryOperator_iyO);
48054 }
48055 break;
48056 case 47:
48057 if (_box_0.singleExpression_ == null)
48058 addSingleExpression.call$1(_this._unaryOperation$0());
48059 else {
48060 t2.readChar$0();
48061 addOperator.call$1(B.BinaryOperator_RTB);
48062 }
48063 break;
48064 case 37:
48065 t2.readChar$0();
48066 addOperator.call$1(B.BinaryOperator_2ad);
48067 break;
48068 case 48:
48069 case 49:
48070 case 50:
48071 case 51:
48072 case 52:
48073 case 53:
48074 case 54:
48075 case 55:
48076 case 56:
48077 case 57:
48078 addSingleExpression.call$1(_this._number$0());
48079 break;
48080 case 46:
48081 if (t2.peekChar$1(1) === 46)
48082 break $label0$0;
48083 addSingleExpression.call$1(_this._number$0());
48084 break;
48085 case 97:
48086 if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
48087 addOperator.call$1(B.BinaryOperator_and_and_2);
48088 else
48089 addSingleExpression.call$1(_this.identifierLike$0());
48090 break;
48091 case 111:
48092 if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
48093 addOperator.call$1(B.BinaryOperator_or_or_1);
48094 else
48095 addSingleExpression.call$1(_this.identifierLike$0());
48096 break;
48097 case 117:
48098 case 85:
48099 if (t2.peekChar$1(1) === 43)
48100 addSingleExpression.call$1(_this._unicodeRange$0());
48101 else
48102 addSingleExpression.call$1(_this.identifierLike$0());
48103 break;
48104 case 98:
48105 case 99:
48106 case 100:
48107 case 101:
48108 case 102:
48109 case 103:
48110 case 104:
48111 case 105:
48112 case 106:
48113 case 107:
48114 case 108:
48115 case 109:
48116 case 110:
48117 case 112:
48118 case 113:
48119 case 114:
48120 case 115:
48121 case 116:
48122 case 118:
48123 case 119:
48124 case 120:
48125 case 121:
48126 case 122:
48127 case 65:
48128 case 66:
48129 case 67:
48130 case 68:
48131 case 69:
48132 case 70:
48133 case 71:
48134 case 72:
48135 case 73:
48136 case 74:
48137 case 75:
48138 case 76:
48139 case 77:
48140 case 78:
48141 case 79:
48142 case 80:
48143 case 81:
48144 case 82:
48145 case 83:
48146 case 84:
48147 case 86:
48148 case 87:
48149 case 88:
48150 case 89:
48151 case 90:
48152 case 95:
48153 case 92:
48154 addSingleExpression.call$1(_this.identifierLike$0());
48155 break;
48156 case 44:
48157 if (_this._inParentheses) {
48158 _this._inParentheses = false;
48159 if (_box_0.allowSlash) {
48160 resetState.call$0();
48161 break;
48162 }
48163 }
48164 commaExpressions = _box_0.commaExpressions_;
48165 if (commaExpressions == null)
48166 commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
48167 if (_box_0.singleExpression_ == null)
48168 t2.error$1(0, _s20_);
48169 resolveSpaceExpressions.call$0();
48170 t4 = _box_0.singleExpression_;
48171 t4.toString;
48172 commaExpressions.push(t4);
48173 t2.readChar$0();
48174 _box_0.allowSlash = true;
48175 _box_0.singleExpression_ = null;
48176 break;
48177 default:
48178 if (first != null && first >= 128) {
48179 addSingleExpression.call$1(_this.identifierLike$0());
48180 break;
48181 } else
48182 break $label0$0;
48183 }
48184 }
48185 if (bracketList)
48186 t2.expectChar$1(93);
48187 commaExpressions = _box_0.commaExpressions_;
48188 spaceExpressions = _box_0.spaceExpressions_;
48189 if (commaExpressions != null) {
48190 resolveSpaceExpressions.call$0();
48191 _this._inParentheses = wasInParentheses;
48192 singleExpression = _box_0.singleExpression_;
48193 if (singleExpression != null)
48194 commaExpressions.push(singleExpression);
48195 t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
48196 return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_kWM, bracketList, t1);
48197 } else if (bracketList && spaceExpressions != null) {
48198 resolveOperations.call$0();
48199 t1 = _box_0.singleExpression_;
48200 t1.toString;
48201 spaceExpressions.push(t1);
48202 beforeBracket.toString;
48203 t2 = t2.spanFrom$1(beforeBracket);
48204 return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_woc, true, t2);
48205 } else {
48206 resolveSpaceExpressions.call$0();
48207 if (bracketList) {
48208 t1 = _box_0.singleExpression_;
48209 t1.toString;
48210 t3 = A._setArrayType([t1], t3);
48211 beforeBracket.toString;
48212 t2 = t2.spanFrom$1(beforeBracket);
48213 _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t3, type$.Expression), B.ListSeparator_undecided_null, true, t2);
48214 }
48215 t1 = _box_0.singleExpression_;
48216 t1.toString;
48217 return t1;
48218 }
48219 },
48220 expression$0() {
48221 return this.expression$3$bracketList$singleEquals$until(false, false, null);
48222 },
48223 expression$2$singleEquals$until(singleEquals, until) {
48224 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, until);
48225 },
48226 expression$1$bracketList(bracketList) {
48227 return this.expression$3$bracketList$singleEquals$until(bracketList, false, null);
48228 },
48229 expression$1$singleEquals(singleEquals) {
48230 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, null);
48231 },
48232 expression$1$until(until) {
48233 return this.expression$3$bracketList$singleEquals$until(false, false, until);
48234 },
48235 _expressionUntilComma$1$singleEquals(singleEquals) {
48236 return this.expression$2$singleEquals$until(singleEquals, new A.StylesheetParser__expressionUntilComma_closure(this));
48237 },
48238 _expressionUntilComma$0() {
48239 return this._expressionUntilComma$1$singleEquals(false);
48240 },
48241 _isSlashOperand$1(expression) {
48242 var t1;
48243 if (!(expression instanceof A.NumberExpression))
48244 if (!(expression instanceof A.CalculationExpression))
48245 t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
48246 else
48247 t1 = true;
48248 else
48249 t1 = true;
48250 return t1;
48251 },
48252 _singleExpression$0() {
48253 var next, _this = this,
48254 t1 = _this.scanner,
48255 first = t1.peekChar$0();
48256 switch (first) {
48257 case 40:
48258 return _this._parentheses$0();
48259 case 47:
48260 return _this._unaryOperation$0();
48261 case 46:
48262 return _this._number$0();
48263 case 91:
48264 return _this.expression$1$bracketList(true);
48265 case 36:
48266 return _this._variable$0();
48267 case 38:
48268 return _this._selector$0();
48269 case 39:
48270 case 34:
48271 return _this.interpolatedString$0();
48272 case 35:
48273 return _this._hashExpression$0();
48274 case 43:
48275 next = t1.peekChar$1(1);
48276 return A.isDigit(next) || next === 46 ? _this._number$0() : _this._unaryOperation$0();
48277 case 45:
48278 return _this._minusExpression$0();
48279 case 33:
48280 return _this._importantExpression$0();
48281 case 117:
48282 case 85:
48283 if (t1.peekChar$1(1) === 43)
48284 return _this._unicodeRange$0();
48285 else
48286 return _this.identifierLike$0();
48287 case 48:
48288 case 49:
48289 case 50:
48290 case 51:
48291 case 52:
48292 case 53:
48293 case 54:
48294 case 55:
48295 case 56:
48296 case 57:
48297 return _this._number$0();
48298 case 97:
48299 case 98:
48300 case 99:
48301 case 100:
48302 case 101:
48303 case 102:
48304 case 103:
48305 case 104:
48306 case 105:
48307 case 106:
48308 case 107:
48309 case 108:
48310 case 109:
48311 case 110:
48312 case 111:
48313 case 112:
48314 case 113:
48315 case 114:
48316 case 115:
48317 case 116:
48318 case 118:
48319 case 119:
48320 case 120:
48321 case 121:
48322 case 122:
48323 case 65:
48324 case 66:
48325 case 67:
48326 case 68:
48327 case 69:
48328 case 70:
48329 case 71:
48330 case 72:
48331 case 73:
48332 case 74:
48333 case 75:
48334 case 76:
48335 case 77:
48336 case 78:
48337 case 79:
48338 case 80:
48339 case 81:
48340 case 82:
48341 case 83:
48342 case 84:
48343 case 86:
48344 case 87:
48345 case 88:
48346 case 89:
48347 case 90:
48348 case 95:
48349 case 92:
48350 return _this.identifierLike$0();
48351 default:
48352 if (first != null && first >= 128)
48353 return _this.identifierLike$0();
48354 t1.error$1(0, "Expected expression.");
48355 }
48356 },
48357 _parentheses$0() {
48358 var wasInParentheses, start, first, expressions, t1, t2, _this = this;
48359 if (_this.get$plainCss())
48360 _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
48361 wasInParentheses = _this._inParentheses;
48362 _this._inParentheses = true;
48363 try {
48364 t1 = _this.scanner;
48365 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48366 t1.expectChar$1(40);
48367 _this.whitespace$0();
48368 if (!_this._lookingAtExpression$0()) {
48369 t1.expectChar$1(41);
48370 t2 = A._setArrayType([], type$.JSArray_Expression);
48371 t1 = t1.spanFrom$1(start);
48372 t2 = A.List_List$unmodifiable(t2, type$.Expression);
48373 return new A.ListExpression(t2, B.ListSeparator_undecided_null, false, t1);
48374 }
48375 first = _this._expressionUntilComma$0();
48376 if (t1.scanChar$1(58)) {
48377 _this.whitespace$0();
48378 t1 = _this._stylesheet$_map$2(first, start);
48379 return t1;
48380 }
48381 if (!t1.scanChar$1(44)) {
48382 t1.expectChar$1(41);
48383 t1 = t1.spanFrom$1(start);
48384 return new A.ParenthesizedExpression(first, t1);
48385 }
48386 _this.whitespace$0();
48387 expressions = A._setArrayType([first], type$.JSArray_Expression);
48388 for (; true;) {
48389 if (!_this._lookingAtExpression$0())
48390 break;
48391 J.add$1$ax(expressions, _this._expressionUntilComma$0());
48392 if (!t1.scanChar$1(44))
48393 break;
48394 _this.whitespace$0();
48395 }
48396 t1.expectChar$1(41);
48397 t1 = t1.spanFrom$1(start);
48398 t2 = A.List_List$unmodifiable(expressions, type$.Expression);
48399 return new A.ListExpression(t2, B.ListSeparator_kWM, false, t1);
48400 } finally {
48401 _this._inParentheses = wasInParentheses;
48402 }
48403 },
48404 _stylesheet$_map$2(first, start) {
48405 var t2, key, _this = this,
48406 t1 = type$.Tuple2_Expression_Expression,
48407 pairs = A._setArrayType([new A.Tuple2(first, _this._expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression);
48408 for (t2 = _this.scanner; t2.scanChar$1(44);) {
48409 _this.whitespace$0();
48410 if (!_this._lookingAtExpression$0())
48411 break;
48412 key = _this._expressionUntilComma$0();
48413 t2.expectChar$1(58);
48414 _this.whitespace$0();
48415 pairs.push(new A.Tuple2(key, _this._expressionUntilComma$0(), t1));
48416 }
48417 t2.expectChar$1(41);
48418 t2 = t2.spanFrom$1(start);
48419 return new A.MapExpression(A.List_List$unmodifiable(pairs, t1), t2);
48420 },
48421 _hashExpression$0() {
48422 var start, first, t2, identifier, buffer, _this = this,
48423 t1 = _this.scanner;
48424 if (t1.peekChar$1(1) === 123)
48425 return _this.identifierLike$0();
48426 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48427 t1.expectChar$1(35);
48428 first = t1.peekChar$0();
48429 if (first != null && A.isDigit(first))
48430 return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
48431 t2 = t1._string_scanner$_position;
48432 identifier = _this.interpolatedIdentifier$0();
48433 if (_this._isHexColor$1(identifier)) {
48434 t1.set$state(new A._SpanScannerState(t1, t2));
48435 return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
48436 }
48437 t2 = new A.StringBuffer("");
48438 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48439 t2._contents = "" + A.Primitives_stringFromCharCode(35);
48440 buffer.addInterpolation$1(identifier);
48441 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
48442 },
48443 _hexColorContents$1(start) {
48444 var red, green, blue, alpha, digit4, t2, t3, _this = this,
48445 digit1 = _this._hexDigit$0(),
48446 digit2 = _this._hexDigit$0(),
48447 digit3 = _this._hexDigit$0(),
48448 t1 = _this.scanner;
48449 if (!A.isHex(t1.peekChar$0())) {
48450 red = (digit1 << 4 >>> 0) + digit1;
48451 green = (digit2 << 4 >>> 0) + digit2;
48452 blue = (digit3 << 4 >>> 0) + digit3;
48453 alpha = null;
48454 } else {
48455 digit4 = _this._hexDigit$0();
48456 t2 = digit1 << 4 >>> 0;
48457 t3 = digit3 << 4 >>> 0;
48458 if (!A.isHex(t1.peekChar$0())) {
48459 red = t2 + digit1;
48460 green = (digit2 << 4 >>> 0) + digit2;
48461 blue = t3 + digit3;
48462 alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
48463 } else {
48464 red = t2 + digit2;
48465 green = t3 + digit4;
48466 blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
48467 alpha = A.isHex(t1.peekChar$0()) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
48468 }
48469 }
48470 return A.SassColor$rgbInternal(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
48471 },
48472 _isHexColor$1(interpolation) {
48473 var t1,
48474 plain = interpolation.get$asPlain();
48475 if (plain == null)
48476 return false;
48477 t1 = plain.length;
48478 if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
48479 return false;
48480 t1 = new A.CodeUnits(plain);
48481 return t1.every$1(t1, A.character__isHex$closure());
48482 },
48483 _hexDigit$0() {
48484 var t1 = this.scanner,
48485 char = t1.peekChar$0();
48486 if (char == null || !A.isHex(char))
48487 t1.error$1(0, "Expected hex digit.");
48488 return A.asHex(t1.readChar$0());
48489 },
48490 _minusExpression$0() {
48491 var _this = this,
48492 next = _this.scanner.peekChar$1(1);
48493 if (A.isDigit(next) || next === 46)
48494 return _this._number$0();
48495 if (_this._lookingAtInterpolatedIdentifier$0())
48496 return _this.identifierLike$0();
48497 return _this._unaryOperation$0();
48498 },
48499 _importantExpression$0() {
48500 var t1 = this.scanner,
48501 t2 = t1._string_scanner$_position;
48502 t1.readChar$0();
48503 this.whitespace$0();
48504 this.expectIdentifier$1("important");
48505 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
48506 return new A.StringExpression(A.Interpolation$(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
48507 },
48508 _unaryOperation$0() {
48509 var _this = this,
48510 t1 = _this.scanner,
48511 t2 = t1._string_scanner$_position,
48512 operator = _this._unaryOperatorFor$1(t1.readChar$0());
48513 if (operator == null)
48514 t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
48515 else if (_this.get$plainCss() && operator !== B.UnaryOperator_zDx)
48516 t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
48517 _this.whitespace$0();
48518 return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48519 },
48520 _unaryOperatorFor$1(character) {
48521 switch (character) {
48522 case 43:
48523 return B.UnaryOperator_j2w;
48524 case 45:
48525 return B.UnaryOperator_U4G;
48526 case 47:
48527 return B.UnaryOperator_zDx;
48528 default:
48529 return null;
48530 }
48531 },
48532 _number$0() {
48533 var number, t4, unit, t5, _this = this,
48534 t1 = _this.scanner,
48535 t2 = t1._string_scanner$_position,
48536 first = t1.peekChar$0(),
48537 t3 = first === 45,
48538 sign = t3 ? -1 : 1;
48539 if (first === 43 || t3)
48540 t1.readChar$0();
48541 number = t1.peekChar$0() === 46 ? 0 : _this.naturalNumber$0();
48542 t3 = _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
48543 t4 = _this._tryExponent$0();
48544 if (t1.scanChar$1(37))
48545 unit = "%";
48546 else {
48547 if (_this.lookingAtIdentifier$0())
48548 t5 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
48549 else
48550 t5 = false;
48551 unit = t5 ? _this.identifier$1$unit(true) : null;
48552 }
48553 return new A.NumberExpression(sign * ((number + t3) * t4), unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48554 },
48555 _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
48556 var t2,
48557 t1 = this.scanner,
48558 start = t1._string_scanner$_position;
48559 if (t1.peekChar$0() !== 46)
48560 return 0;
48561 if (!A.isDigit(t1.peekChar$1(1))) {
48562 if (allowTrailingDot)
48563 return 0;
48564 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
48565 }
48566 t1.readChar$0();
48567 while (true) {
48568 t2 = t1.peekChar$0();
48569 if (!(t2 != null && t2 >= 48 && t2 <= 57))
48570 break;
48571 t1.readChar$0();
48572 }
48573 return A.double_parse(t1.substring$1(0, start));
48574 },
48575 _tryExponent$0() {
48576 var next, t2, exponentSign, exponent,
48577 t1 = this.scanner,
48578 first = t1.peekChar$0();
48579 if (first !== 101 && first !== 69)
48580 return 1;
48581 next = t1.peekChar$1(1);
48582 if (!A.isDigit(next) && next !== 45 && next !== 43)
48583 return 1;
48584 t1.readChar$0();
48585 t2 = next === 45;
48586 exponentSign = t2 ? -1 : 1;
48587 if (next === 43 || t2)
48588 t1.readChar$0();
48589 if (!A.isDigit(t1.peekChar$0()))
48590 t1.error$1(0, "Expected digit.");
48591 exponent = 0;
48592 while (true) {
48593 t2 = t1.peekChar$0();
48594 if (!(t2 != null && t2 >= 48 && t2 <= 57))
48595 break;
48596 exponent = exponent * 10 + (t1.readChar$0() - 48);
48597 }
48598 return Math.pow(10, exponentSign * exponent);
48599 },
48600 _unicodeRange$0() {
48601 var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
48602 _s26_ = "Expected at most 6 digits.",
48603 t1 = _this.scanner,
48604 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48605 _this.expectIdentChar$1(117);
48606 t1.expectChar$1(43);
48607 for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
48608 ++firstRangeLength;
48609 for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
48610 ++firstRangeLength;
48611 if (firstRangeLength === 0)
48612 t1.error$1(0, 'Expected hex digit or "?".');
48613 else if (firstRangeLength > 6)
48614 _this.error$2(0, _s26_, t1.spanFrom$1(start));
48615 else if (hasQuestionMark) {
48616 t2 = t1.substring$1(0, start.position);
48617 t1 = t1.spanFrom$1(start);
48618 return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
48619 }
48620 if (t1.scanChar$1(45)) {
48621 t2 = t1._string_scanner$_position;
48622 for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
48623 ++secondRangeLength;
48624 if (secondRangeLength === 0)
48625 t1.error$1(0, "Expected hex digit.");
48626 else if (secondRangeLength > 6)
48627 _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48628 }
48629 if (_this._lookingAtInterpolatedIdentifierBody$0())
48630 t1.error$1(0, "Expected end of identifier.");
48631 t2 = t1.substring$1(0, start.position);
48632 t1 = t1.spanFrom$1(start);
48633 return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
48634 },
48635 _variable$0() {
48636 var _this = this,
48637 t1 = _this.scanner,
48638 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
48639 $name = _this.variableName$0();
48640 if (_this.get$plainCss())
48641 _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
48642 return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
48643 },
48644 _selector$0() {
48645 var t1, start, _this = this;
48646 if (_this.get$plainCss())
48647 _this.scanner.error$2$length(0, string$.The_pa, 1);
48648 t1 = _this.scanner;
48649 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48650 t1.expectChar$1(38);
48651 if (t1.scanChar$1(38)) {
48652 _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
48653 t1.set$position(t1._string_scanner$_position - 1);
48654 }
48655 return new A.SelectorExpression(t1.spanFrom$1(start));
48656 },
48657 interpolatedString$0() {
48658 var t3, t4, buffer, next, second, t5,
48659 t1 = this.scanner,
48660 t2 = t1._string_scanner$_position,
48661 quote = t1.readChar$0();
48662 if (quote !== 39 && quote !== 34)
48663 t1.error$2$position(0, "Expected string.", t2);
48664 t3 = new A.StringBuffer("");
48665 t4 = A._setArrayType([], type$.JSArray_Object);
48666 buffer = new A.InterpolationBuffer(t3, t4);
48667 for (; true;) {
48668 next = t1.peekChar$0();
48669 if (next === quote) {
48670 t1.readChar$0();
48671 break;
48672 } else if (next == null || next === 10 || next === 13 || next === 12)
48673 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
48674 else if (next === 92) {
48675 second = t1.peekChar$1(1);
48676 if (second === 10 || second === 13 || second === 12) {
48677 t1.readChar$0();
48678 t1.readChar$0();
48679 if (second === 13)
48680 t1.scanChar$1(10);
48681 } else
48682 t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
48683 } else if (next === 35)
48684 if (t1.peekChar$1(1) === 123) {
48685 t5 = this.singleInterpolation$0();
48686 buffer._flushText$0();
48687 t4.push(t5);
48688 } else
48689 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
48690 else
48691 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
48692 }
48693 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
48694 },
48695 identifierLike$0() {
48696 var invocation, lower, color, specialFunction, _this = this,
48697 t1 = _this.scanner,
48698 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
48699 identifier = _this.interpolatedIdentifier$0(),
48700 plain = identifier.get$asPlain(),
48701 t2 = plain == null,
48702 t3 = !t2;
48703 if (t3) {
48704 if (plain === "if" && t1.peekChar$0() === 40) {
48705 invocation = _this._argumentInvocation$0();
48706 return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
48707 } else if (plain === "not") {
48708 _this.whitespace$0();
48709 return new A.UnaryOperationExpression(B.UnaryOperator_not_not, _this._singleExpression$0(), identifier.span);
48710 }
48711 lower = plain.toLowerCase();
48712 if (t1.peekChar$0() !== 40) {
48713 switch (plain) {
48714 case "false":
48715 return new A.BooleanExpression(false, identifier.span);
48716 case "null":
48717 return new A.NullExpression(identifier.span);
48718 case "true":
48719 return new A.BooleanExpression(true, identifier.span);
48720 }
48721 color = $.$get$colorsByName().$index(0, lower);
48722 if (color != null) {
48723 t1 = identifier.span;
48724 return new A.ColorExpression(A.SassColor$rgbInternal(color.get$red(color), color.get$green(color), color.get$blue(color), color._alpha, new A.SpanColorFormat(t1)), t1);
48725 }
48726 }
48727 specialFunction = _this.trySpecialFunction$2(lower, start);
48728 if (specialFunction != null)
48729 return specialFunction;
48730 }
48731 switch (t1.peekChar$0()) {
48732 case 46:
48733 if (t1.peekChar$1(1) === 46)
48734 return new A.StringExpression(identifier, false);
48735 t1.readChar$0();
48736 if (t3)
48737 return _this.namespacedExpression$2(plain, start);
48738 _this.error$2(0, string$.Interpn, identifier.span);
48739 break;
48740 case 40:
48741 if (t2)
48742 return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
48743 else
48744 return new A.FunctionExpression(null, plain, _this._argumentInvocation$0(), t1.spanFrom$1(start));
48745 default:
48746 return new A.StringExpression(identifier, false);
48747 }
48748 },
48749 namespacedExpression$2(namespace, start) {
48750 var $name, _this = this,
48751 t1 = _this.scanner;
48752 if (t1.peekChar$0() === 36) {
48753 $name = _this.variableName$0();
48754 _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
48755 return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
48756 }
48757 return new A.FunctionExpression(namespace, _this._publicIdentifier$0(), _this._argumentInvocation$0(), t1.spanFrom$1(start));
48758 },
48759 trySpecialFunction$2($name, start) {
48760 var t2, buffer, t3, next, _this = this, _null = null,
48761 t1 = _this.scanner,
48762 calculation = t1.peekChar$0() === 40 ? _this._tryCalculation$2($name, start) : _null;
48763 if (calculation != null)
48764 return calculation;
48765 switch (A.unvendor($name)) {
48766 case "calc":
48767 case "element":
48768 case "expression":
48769 if (!t1.scanChar$1(40))
48770 return _null;
48771 t2 = new A.StringBuffer("");
48772 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48773 t3 = "" + $name;
48774 t2._contents = t3;
48775 t2._contents = t3 + A.Primitives_stringFromCharCode(40);
48776 break;
48777 case "progid":
48778 if (!t1.scanChar$1(58))
48779 return _null;
48780 t2 = new A.StringBuffer("");
48781 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48782 t3 = "" + $name;
48783 t2._contents = t3;
48784 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
48785 next = t1.peekChar$0();
48786 while (true) {
48787 if (next != null) {
48788 if (!(next >= 97 && next <= 122))
48789 t3 = next >= 65 && next <= 90;
48790 else
48791 t3 = true;
48792 t3 = t3 || next === 46;
48793 } else
48794 t3 = false;
48795 if (!t3)
48796 break;
48797 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
48798 next = t1.peekChar$0();
48799 }
48800 t1.expectChar$1(40);
48801 t2._contents += A.Primitives_stringFromCharCode(40);
48802 break;
48803 case "url":
48804 return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
48805 default:
48806 return _null;
48807 }
48808 buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
48809 t1.expectChar$1(41);
48810 buffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(41);
48811 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
48812 },
48813 _tryCalculation$2($name, start) {
48814 var beforeArguments, $arguments, t1, exception, t2, _this = this;
48815 switch ($name) {
48816 case "calc":
48817 $arguments = _this._calculationArguments$1(1);
48818 t1 = _this.scanner.spanFrom$1(start);
48819 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
48820 case "min":
48821 case "max":
48822 t1 = _this.scanner;
48823 beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
48824 $arguments = null;
48825 try {
48826 $arguments = _this._calculationArguments$0();
48827 } catch (exception) {
48828 if (type$.FormatException._is(A.unwrapException(exception))) {
48829 t1.set$state(beforeArguments);
48830 return null;
48831 } else
48832 throw exception;
48833 }
48834 t2 = $arguments;
48835 t1 = t1.spanFrom$1(start);
48836 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments(t2), t1);
48837 case "clamp":
48838 $arguments = _this._calculationArguments$1(3);
48839 t1 = _this.scanner.spanFrom$1(start);
48840 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
48841 default:
48842 return null;
48843 }
48844 },
48845 _calculationArguments$1(maxArgs) {
48846 var interpolation, $arguments, t2, _this = this,
48847 t1 = _this.scanner;
48848 t1.expectChar$1(40);
48849 interpolation = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
48850 if (interpolation != null) {
48851 t1.expectChar$1(41);
48852 return A._setArrayType([interpolation], type$.JSArray_Expression);
48853 }
48854 _this.whitespace$0();
48855 $arguments = A._setArrayType([_this._calculationSum$0()], type$.JSArray_Expression);
48856 t2 = maxArgs != null;
48857 while (true) {
48858 if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
48859 break;
48860 _this.whitespace$0();
48861 $arguments.push(_this._calculationSum$0());
48862 }
48863 t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
48864 return $arguments;
48865 },
48866 _calculationArguments$0() {
48867 return this._calculationArguments$1(null);
48868 },
48869 _calculationSum$0() {
48870 var t1, next, t2, t3, _this = this,
48871 sum = _this._calculationProduct$0();
48872 for (t1 = _this.scanner; true;) {
48873 next = t1.peekChar$0();
48874 t2 = next === 43;
48875 if (t2 || next === 45) {
48876 t3 = t1.peekChar$1(-1);
48877 if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
48878 t3 = t1.peekChar$1(1);
48879 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
48880 } else
48881 t3 = true;
48882 if (t3)
48883 t1.error$1(0, string$.x22x2b__an);
48884 t1.readChar$0();
48885 _this.whitespace$0();
48886 t2 = t2 ? B.BinaryOperator_AcR0 : B.BinaryOperator_iyO;
48887 sum = new A.BinaryOperationExpression(t2, sum, _this._calculationProduct$0(), false);
48888 } else
48889 return sum;
48890 }
48891 },
48892 _calculationProduct$0() {
48893 var t1, next, t2, _this = this,
48894 product = _this._calculationValue$0();
48895 for (t1 = _this.scanner; true;) {
48896 _this.whitespace$0();
48897 next = t1.peekChar$0();
48898 t2 = next === 42;
48899 if (t2 || next === 47) {
48900 t1.readChar$0();
48901 _this.whitespace$0();
48902 t2 = t2 ? B.BinaryOperator_O1M : B.BinaryOperator_RTB;
48903 product = new A.BinaryOperationExpression(t2, product, _this._calculationValue$0(), false);
48904 } else
48905 return product;
48906 }
48907 },
48908 _calculationValue$0() {
48909 var t2, value, start, ident, lowerCase, calculation, _this = this,
48910 t1 = _this.scanner,
48911 next = t1.peekChar$0();
48912 if (next === 43 || next === 45 || next === 46 || A.isDigit(next))
48913 return _this._number$0();
48914 else if (next === 36)
48915 return _this._variable$0();
48916 else if (next === 40) {
48917 t2 = t1._string_scanner$_position;
48918 t1.readChar$0();
48919 value = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
48920 if (value == null) {
48921 _this.whitespace$0();
48922 value = _this._calculationSum$0();
48923 }
48924 _this.whitespace$0();
48925 t1.expectChar$1(41);
48926 return new A.ParenthesizedExpression(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48927 } else if (!_this.lookingAtIdentifier$0())
48928 t1.error$1(0, string$.Expectn);
48929 else {
48930 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48931 ident = _this.identifier$0();
48932 if (t1.scanChar$1(46))
48933 return _this.namespacedExpression$2(ident, start);
48934 if (t1.peekChar$0() !== 40)
48935 t1.error$1(0, 'Expected "(" or ".".');
48936 lowerCase = ident.toLowerCase();
48937 calculation = _this._tryCalculation$2(lowerCase, start);
48938 if (calculation != null)
48939 return calculation;
48940 else if (lowerCase === "if")
48941 return new A.IfExpression(_this._argumentInvocation$0(), t1.spanFrom$1(start));
48942 else
48943 return new A.FunctionExpression(null, ident, _this._argumentInvocation$0(), t1.spanFrom$1(start));
48944 }
48945 },
48946 _containsCalculationInterpolation$0() {
48947 var t2, parens, next, target, t3, _null = null,
48948 _s64_ = string$.The_gi,
48949 _s17_ = "Invalid position ",
48950 brackets = A._setArrayType([], type$.JSArray_int),
48951 t1 = this.scanner,
48952 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48953 for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
48954 next = t1.peekChar$0();
48955 switch (next) {
48956 case 92:
48957 target = 1;
48958 break;
48959 case 47:
48960 target = 2;
48961 break;
48962 case 39:
48963 case 34:
48964 target = 3;
48965 break;
48966 case 35:
48967 target = 4;
48968 break;
48969 case 40:
48970 target = 5;
48971 break;
48972 case 123:
48973 case 91:
48974 target = 6;
48975 break;
48976 case 41:
48977 target = 7;
48978 break;
48979 case 125:
48980 case 93:
48981 target = 8;
48982 break;
48983 default:
48984 target = 9;
48985 break;
48986 }
48987 c$0:
48988 for (; true;)
48989 switch (target) {
48990 case 1:
48991 t1.readChar$0();
48992 t1.readChar$0();
48993 break c$0;
48994 case 2:
48995 if (!this.scanComment$0())
48996 t1.readChar$0();
48997 break c$0;
48998 case 3:
48999 this.interpolatedString$0();
49000 break c$0;
49001 case 4:
49002 if (parens === 0 && t1.peekChar$1(1) === 123) {
49003 if (start._scanner !== t1)
49004 A.throwExpression(A.ArgumentError$(_s64_, _null));
49005 t3 = start.position;
49006 if (t3 < 0 || t3 > t2)
49007 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
49008 t1._string_scanner$_position = t3;
49009 t1._lastMatch = null;
49010 return true;
49011 }
49012 t1.readChar$0();
49013 break c$0;
49014 case 5:
49015 ++parens;
49016 target = 6;
49017 continue c$0;
49018 case 6:
49019 next.toString;
49020 brackets.push(A.opposite(next));
49021 t1.readChar$0();
49022 break c$0;
49023 case 7:
49024 --parens;
49025 target = 8;
49026 continue c$0;
49027 case 8:
49028 if (brackets.length === 0 || brackets.pop() !== next) {
49029 if (start._scanner !== t1)
49030 A.throwExpression(A.ArgumentError$(_s64_, _null));
49031 t3 = start.position;
49032 if (t3 < 0 || t3 > t2)
49033 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
49034 t1._string_scanner$_position = t3;
49035 t1._lastMatch = null;
49036 return false;
49037 }
49038 t1.readChar$0();
49039 break c$0;
49040 case 9:
49041 t1.readChar$0();
49042 break c$0;
49043 }
49044 }
49045 t1.set$state(start);
49046 return false;
49047 },
49048 _tryUrlContents$2$name(start, $name) {
49049 var t3, t4, buffer, t5, next, endPosition, result, _this = this,
49050 t1 = _this.scanner,
49051 t2 = t1._string_scanner$_position;
49052 if (!t1.scanChar$1(40))
49053 return null;
49054 _this.whitespaceWithoutComments$0();
49055 t3 = new A.StringBuffer("");
49056 t4 = A._setArrayType([], type$.JSArray_Object);
49057 buffer = new A.InterpolationBuffer(t3, t4);
49058 t5 = "" + ($name == null ? "url" : $name);
49059 t3._contents = t5;
49060 t3._contents = t5 + A.Primitives_stringFromCharCode(40);
49061 for (; true;) {
49062 next = t1.peekChar$0();
49063 if (next == null)
49064 break;
49065 else if (next === 92)
49066 t3._contents += A.S(_this.escape$0());
49067 else {
49068 if (next !== 33)
49069 if (next !== 37)
49070 if (next !== 38)
49071 t5 = next >= 42 && next <= 126 || next >= 128;
49072 else
49073 t5 = true;
49074 else
49075 t5 = true;
49076 else
49077 t5 = true;
49078 if (t5)
49079 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49080 else if (next === 35)
49081 if (t1.peekChar$1(1) === 123) {
49082 t5 = _this.singleInterpolation$0();
49083 buffer._flushText$0();
49084 t4.push(t5);
49085 } else
49086 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49087 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
49088 _this.whitespaceWithoutComments$0();
49089 if (t1.peekChar$0() !== 41)
49090 break;
49091 } else if (next === 41) {
49092 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49093 endPosition = t1._string_scanner$_position;
49094 t2 = t1._sourceFile;
49095 t5 = start.position;
49096 t1 = new A._FileSpan(t2, t5, endPosition);
49097 t1._FileSpan$3(t2, t5, endPosition);
49098 t5 = type$.Object;
49099 t2 = A.List_List$of(t4, true, t5);
49100 t4 = t3._contents;
49101 if (t4.length !== 0)
49102 t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
49103 result = A.List_List$from(t2, false, t5);
49104 result.fixed$length = Array;
49105 result.immutable$list = Array;
49106 t3 = new A.Interpolation(result, t1);
49107 t3.Interpolation$2(t2, t1);
49108 return t3;
49109 } else
49110 break;
49111 }
49112 }
49113 t1.set$state(new A._SpanScannerState(t1, t2));
49114 return null;
49115 },
49116 _tryUrlContents$1(start) {
49117 return this._tryUrlContents$2$name(start, null);
49118 },
49119 dynamicUrl$0() {
49120 var contents, _this = this,
49121 t1 = _this.scanner,
49122 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49123 _this.expectIdentifier$1("url");
49124 contents = _this._tryUrlContents$1(start);
49125 if (contents != null)
49126 return new A.StringExpression(contents, false);
49127 return new A.InterpolatedFunctionExpression(A.Interpolation$(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._argumentInvocation$0(), t1.spanFrom$1(start));
49128 },
49129 almostAnyValue$1$omitComments(omitComments) {
49130 var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
49131 t1 = _this.scanner,
49132 t2 = t1._string_scanner$_position,
49133 t3 = new A.StringBuffer(""),
49134 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
49135 $label0$1:
49136 for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
49137 next = t1.peekChar$0();
49138 switch (next) {
49139 case 92:
49140 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49141 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49142 break;
49143 case 34:
49144 case 39:
49145 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
49146 break;
49147 case 47:
49148 commentStart = t1._string_scanner$_position;
49149 if (_this.scanComment$0()) {
49150 if (t6) {
49151 end = t1._string_scanner$_position;
49152 t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
49153 }
49154 } else
49155 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49156 break;
49157 case 35:
49158 if (t1.peekChar$1(1) === 123)
49159 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49160 else
49161 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49162 break;
49163 case 13:
49164 case 10:
49165 case 12:
49166 if (_this.get$indented())
49167 break $label0$1;
49168 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49169 break;
49170 case 33:
49171 case 59:
49172 case 123:
49173 case 125:
49174 break $label0$1;
49175 case 117:
49176 case 85:
49177 t7 = t1._string_scanner$_position;
49178 if (!_this.scanIdentifier$1("url")) {
49179 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49180 break;
49181 }
49182 contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t7));
49183 if (contents == null) {
49184 if (t7 < 0 || t7 > t5)
49185 A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
49186 t1._string_scanner$_position = t7;
49187 t1._lastMatch = null;
49188 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49189 } else
49190 buffer.addInterpolation$1(contents);
49191 break;
49192 default:
49193 if (next == null)
49194 break $label0$1;
49195 if (_this.lookingAtIdentifier$0())
49196 t3._contents += _this.identifier$0();
49197 else
49198 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49199 break;
49200 }
49201 }
49202 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49203 },
49204 almostAnyValue$0() {
49205 return this.almostAnyValue$1$omitComments(false);
49206 },
49207 _interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
49208 var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
49209 t1 = _this.scanner,
49210 t2 = t1._string_scanner$_position,
49211 t3 = new A.StringBuffer(""),
49212 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object)),
49213 brackets = A._setArrayType([], type$.JSArray_int);
49214 $label0$1:
49215 for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
49216 next = t1.peekChar$0();
49217 switch (next) {
49218 case 92:
49219 t3._contents += A.S(_this.escape$1$identifierStart(true));
49220 wroteNewline = false;
49221 break;
49222 case 34:
49223 case 39:
49224 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
49225 wroteNewline = false;
49226 break;
49227 case 47:
49228 if (t1.peekChar$1(1) === 42) {
49229 t8 = _this.get$loudComment();
49230 start = t1._string_scanner$_position;
49231 t8.call$0();
49232 end = t1._string_scanner$_position;
49233 t3._contents += B.JSString_methods.substring$2(t4, start, end);
49234 } else
49235 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49236 wroteNewline = false;
49237 break;
49238 case 35:
49239 if (t1.peekChar$1(1) === 123)
49240 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49241 else
49242 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49243 wroteNewline = false;
49244 break;
49245 case 32:
49246 case 9:
49247 if (!wroteNewline) {
49248 t8 = t1.peekChar$1(1);
49249 t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
49250 } else
49251 t8 = true;
49252 if (t8)
49253 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49254 else
49255 t1.readChar$0();
49256 break;
49257 case 10:
49258 case 13:
49259 case 12:
49260 if (_this.get$indented())
49261 break $label0$1;
49262 t8 = t1.peekChar$1(-1);
49263 if (!(t8 === 10 || t8 === 13 || t8 === 12))
49264 t3._contents += "\n";
49265 t1.readChar$0();
49266 wroteNewline = true;
49267 break;
49268 case 40:
49269 case 123:
49270 case 91:
49271 next.toString;
49272 t3._contents += A.Primitives_stringFromCharCode(next);
49273 brackets.push(A.opposite(t1.readChar$0()));
49274 wroteNewline = false;
49275 break;
49276 case 41:
49277 case 125:
49278 case 93:
49279 if (brackets.length === 0)
49280 break $label0$1;
49281 next.toString;
49282 t3._contents += A.Primitives_stringFromCharCode(next);
49283 t1.expectChar$1(brackets.pop());
49284 wroteNewline = false;
49285 break;
49286 case 59:
49287 if (t7 && brackets.length === 0)
49288 break $label0$1;
49289 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49290 wroteNewline = false;
49291 break;
49292 case 58:
49293 if (t6 && brackets.length === 0)
49294 break $label0$1;
49295 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49296 wroteNewline = false;
49297 break;
49298 case 117:
49299 case 85:
49300 t8 = t1._string_scanner$_position;
49301 if (!_this.scanIdentifier$1("url")) {
49302 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49303 wroteNewline = false;
49304 break;
49305 }
49306 contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t8));
49307 if (contents == null) {
49308 if (t8 < 0 || t8 > t5)
49309 A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
49310 t1._string_scanner$_position = t8;
49311 t1._lastMatch = null;
49312 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49313 } else
49314 buffer.addInterpolation$1(contents);
49315 wroteNewline = false;
49316 break;
49317 default:
49318 if (next == null)
49319 break $label0$1;
49320 if (_this.lookingAtIdentifier$0())
49321 t3._contents += _this.identifier$0();
49322 else
49323 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49324 wroteNewline = false;
49325 break;
49326 }
49327 }
49328 if (brackets.length !== 0)
49329 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
49330 if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
49331 t1.error$1(0, "Expected token.");
49332 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49333 },
49334 _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
49335 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
49336 },
49337 _interpolatedDeclarationValue$0() {
49338 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
49339 },
49340 _interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
49341 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
49342 },
49343 interpolatedIdentifier$0() {
49344 var first, _this = this,
49345 _s20_ = "Expected identifier.",
49346 t1 = _this.scanner,
49347 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
49348 t2 = new A.StringBuffer(""),
49349 t3 = A._setArrayType([], type$.JSArray_Object),
49350 buffer = new A.InterpolationBuffer(t2, t3);
49351 if (t1.scanChar$1(45)) {
49352 t2._contents += A.Primitives_stringFromCharCode(45);
49353 if (t1.scanChar$1(45)) {
49354 t2._contents += A.Primitives_stringFromCharCode(45);
49355 _this._interpolatedIdentifierBody$1(buffer);
49356 return buffer.interpolation$1(t1.spanFrom$1(start));
49357 }
49358 }
49359 first = t1.peekChar$0();
49360 if (first == null)
49361 t1.error$1(0, _s20_);
49362 else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
49363 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49364 else if (first === 92)
49365 t2._contents += A.S(_this.escape$1$identifierStart(true));
49366 else if (first === 35 && t1.peekChar$1(1) === 123) {
49367 t2 = _this.singleInterpolation$0();
49368 buffer._flushText$0();
49369 t3.push(t2);
49370 } else
49371 t1.error$1(0, _s20_);
49372 _this._interpolatedIdentifierBody$1(buffer);
49373 return buffer.interpolation$1(t1.spanFrom$1(start));
49374 },
49375 _interpolatedIdentifierBody$1(buffer) {
49376 var t1, t2, t3, next, t4;
49377 for (t1 = buffer._interpolation_buffer$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer$_text; true;) {
49378 next = t2.peekChar$0();
49379 if (next == null)
49380 break;
49381 else {
49382 if (next !== 95)
49383 if (next !== 45) {
49384 if (!(next >= 97 && next <= 122))
49385 t4 = next >= 65 && next <= 90;
49386 else
49387 t4 = true;
49388 if (!t4)
49389 t4 = next >= 48 && next <= 57;
49390 else
49391 t4 = true;
49392 t4 = t4 || next >= 128;
49393 } else
49394 t4 = true;
49395 else
49396 t4 = true;
49397 if (t4)
49398 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
49399 else if (next === 92)
49400 t3._contents += A.S(this.escape$0());
49401 else if (next === 35 && t2.peekChar$1(1) === 123) {
49402 t4 = this.singleInterpolation$0();
49403 buffer._flushText$0();
49404 t1.push(t4);
49405 } else
49406 break;
49407 }
49408 }
49409 },
49410 singleInterpolation$0() {
49411 var contents, _this = this,
49412 t1 = _this.scanner,
49413 t2 = t1._string_scanner$_position;
49414 t1.expect$1("#{");
49415 _this.whitespace$0();
49416 contents = _this.expression$0();
49417 t1.expectChar$1(125);
49418 if (_this.get$plainCss())
49419 _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49420 return contents;
49421 },
49422 _mediaQueryList$0() {
49423 var t4,
49424 t1 = this.scanner,
49425 t2 = t1._string_scanner$_position,
49426 t3 = new A.StringBuffer(""),
49427 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
49428 for (; true;) {
49429 this.whitespace$0();
49430 this._stylesheet$_mediaQuery$1(buffer);
49431 if (!t1.scanChar$1(44))
49432 break;
49433 t4 = t3._contents += A.Primitives_stringFromCharCode(44);
49434 t3._contents = t4 + A.Primitives_stringFromCharCode(32);
49435 }
49436 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49437 },
49438 _stylesheet$_mediaQuery$1(buffer) {
49439 var t1, identifier, _this = this;
49440 if (_this.scanner.peekChar$0() !== 40) {
49441 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49442 _this.whitespace$0();
49443 if (!_this._lookingAtInterpolatedIdentifier$0())
49444 return;
49445 t1 = buffer._interpolation_buffer$_text;
49446 t1._contents += A.Primitives_stringFromCharCode(32);
49447 identifier = _this.interpolatedIdentifier$0();
49448 _this.whitespace$0();
49449 if (A.equalsIgnoreCase(identifier.get$asPlain(), "and"))
49450 t1._contents += " and ";
49451 else {
49452 buffer.addInterpolation$1(identifier);
49453 if (_this.scanIdentifier$1("and")) {
49454 _this.whitespace$0();
49455 t1._contents += " and ";
49456 } else
49457 return;
49458 }
49459 }
49460 for (t1 = buffer._interpolation_buffer$_text; true;) {
49461 _this.whitespace$0();
49462 buffer.addInterpolation$1(_this._mediaFeature$0());
49463 _this.whitespace$0();
49464 if (!_this.scanIdentifier$1("and"))
49465 break;
49466 t1._contents += " and ";
49467 }
49468 },
49469 _mediaFeature$0() {
49470 var interpolation, t2, t3, t4, buffer, t5, next, t6, _this = this,
49471 t1 = _this.scanner;
49472 if (t1.peekChar$0() === 35) {
49473 interpolation = _this.singleInterpolation$0();
49474 return A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
49475 }
49476 t2 = t1._string_scanner$_position;
49477 t3 = new A.StringBuffer("");
49478 t4 = A._setArrayType([], type$.JSArray_Object);
49479 buffer = new A.InterpolationBuffer(t3, t4);
49480 t1.expectChar$1(40);
49481 t3._contents += A.Primitives_stringFromCharCode(40);
49482 _this.whitespace$0();
49483 t5 = _this._expressionUntilComparison$0();
49484 buffer._flushText$0();
49485 t4.push(t5);
49486 if (t1.scanChar$1(58)) {
49487 _this.whitespace$0();
49488 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
49489 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
49490 t5 = _this.expression$0();
49491 buffer._flushText$0();
49492 t4.push(t5);
49493 } else {
49494 next = t1.peekChar$0();
49495 t5 = next !== 60;
49496 if (!t5 || next === 62 || next === 61) {
49497 t3._contents += A.Primitives_stringFromCharCode(32);
49498 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49499 if ((!t5 || next === 62) && t1.scanChar$1(61))
49500 t3._contents += A.Primitives_stringFromCharCode(61);
49501 t3._contents += A.Primitives_stringFromCharCode(32);
49502 _this.whitespace$0();
49503 t6 = _this._expressionUntilComparison$0();
49504 buffer._flushText$0();
49505 t4.push(t6);
49506 if (!t5 || next === 62) {
49507 next.toString;
49508 t5 = t1.scanChar$1(next);
49509 } else
49510 t5 = false;
49511 if (t5) {
49512 t5 = t3._contents += A.Primitives_stringFromCharCode(32);
49513 t3._contents = t5 + A.Primitives_stringFromCharCode(next);
49514 if (t1.scanChar$1(61))
49515 t3._contents += A.Primitives_stringFromCharCode(61);
49516 t3._contents += A.Primitives_stringFromCharCode(32);
49517 _this.whitespace$0();
49518 t5 = _this._expressionUntilComparison$0();
49519 buffer._flushText$0();
49520 t4.push(t5);
49521 }
49522 }
49523 }
49524 t1.expectChar$1(41);
49525 _this.whitespace$0();
49526 t3._contents += A.Primitives_stringFromCharCode(41);
49527 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49528 },
49529 _expressionUntilComparison$0() {
49530 return this.expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure(this));
49531 },
49532 _supportsCondition$0() {
49533 var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
49534 t1 = _this.scanner,
49535 t2 = t1._string_scanner$_position;
49536 if (_this.scanIdentifier$1("not")) {
49537 _this.whitespace$0();
49538 return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49539 }
49540 condition = _this._supportsConditionInParens$0();
49541 _this.whitespace$0();
49542 for (operator = null; _this.lookingAtIdentifier$0();) {
49543 if (operator != null)
49544 _this.expectIdentifier$1(operator);
49545 else if (_this.scanIdentifier$1("or"))
49546 operator = "or";
49547 else {
49548 _this.expectIdentifier$1("and");
49549 operator = "and";
49550 }
49551 _this.whitespace$0();
49552 right = _this._supportsConditionInParens$0();
49553 endPosition = t1._string_scanner$_position;
49554 t3 = t1._sourceFile;
49555 t4 = new A._FileSpan(t3, t2, endPosition);
49556 t4._FileSpan$3(t3, t2, endPosition);
49557 condition = new A.SupportsOperation(condition, right, operator, t4);
49558 lowerOperator = operator.toLowerCase();
49559 if (lowerOperator !== "and" && lowerOperator !== "or")
49560 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
49561 _this.whitespace$0();
49562 }
49563 return condition;
49564 },
49565 _supportsConditionInParens$0() {
49566 var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
49567 t1 = _this.scanner,
49568 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49569 if (_this._lookingAtInterpolatedIdentifier$0()) {
49570 identifier0 = _this.interpolatedIdentifier$0();
49571 t2 = identifier0.get$asPlain();
49572 if ((t2 == null ? null : t2.toLowerCase()) === "not")
49573 _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
49574 if (t1.scanChar$1(40)) {
49575 $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
49576 t1.expectChar$1(41);
49577 return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
49578 } else {
49579 t2 = identifier0.contents;
49580 if (t2.length !== 1 || !type$.Expression._is(B.JSArray_methods.get$first(t2)))
49581 _this.error$2(0, "Expected @supports condition.", identifier0.span);
49582 else
49583 return new A.SupportsInterpolation(type$.Expression._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
49584 }
49585 }
49586 t1.expectChar$1(40);
49587 _this.whitespace$0();
49588 if (_this.scanIdentifier$1("not")) {
49589 _this.whitespace$0();
49590 condition = _this._supportsConditionInParens$0();
49591 t1.expectChar$1(41);
49592 return new A.SupportsNegation(condition, t1.spanFrom$1(start));
49593 } else if (t1.peekChar$0() === 40) {
49594 condition = _this._supportsCondition$0();
49595 t1.expectChar$1(41);
49596 return condition;
49597 }
49598 $name = null;
49599 nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
49600 wasInParentheses = _this._inParentheses;
49601 try {
49602 $name = _this.expression$0();
49603 t1.expectChar$1(58);
49604 } catch (exception) {
49605 if (type$.FormatException._is(A.unwrapException(exception))) {
49606 t1.set$state(nameStart);
49607 _this._inParentheses = wasInParentheses;
49608 identifier = _this.interpolatedIdentifier$0();
49609 operation = _this._trySupportsOperation$2(identifier, nameStart);
49610 if (operation != null) {
49611 t1.expectChar$1(41);
49612 return operation;
49613 }
49614 t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
49615 t2.addInterpolation$1(identifier);
49616 t2.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
49617 contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
49618 if (t1.peekChar$0() === 58)
49619 throw exception;
49620 t1.expectChar$1(41);
49621 return new A.SupportsAnything(contents, t1.spanFrom$1(start));
49622 } else
49623 throw exception;
49624 }
49625 declaration = _this._supportsDeclarationValue$2($name, start);
49626 t1.expectChar$1(41);
49627 return declaration;
49628 },
49629 _supportsDeclarationValue$2($name, start) {
49630 var value, _this = this;
49631 if ($name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
49632 value = new A.StringExpression(_this._interpolatedDeclarationValue$0(), false);
49633 else {
49634 _this.whitespace$0();
49635 value = _this.expression$0();
49636 }
49637 return new A.SupportsDeclaration($name, value, _this.scanner.spanFrom$1(start));
49638 },
49639 _trySupportsOperation$2(interpolation, start) {
49640 var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
49641 t1 = interpolation.contents;
49642 if (t1.length !== 1)
49643 return _null;
49644 expression = B.JSArray_methods.get$first(t1);
49645 if (!type$.Expression._is(expression))
49646 return _null;
49647 t1 = _this.scanner;
49648 beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
49649 _this.whitespace$0();
49650 for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
49651 if (operator != null)
49652 _this.expectIdentifier$1(operator);
49653 else if (_this.scanIdentifier$1("and"))
49654 operator = "and";
49655 else {
49656 if (!_this.scanIdentifier$1("or")) {
49657 if (beforeWhitespace._scanner !== t1)
49658 A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
49659 t2 = beforeWhitespace.position;
49660 if (t2 < 0 || t2 > t1.string.length)
49661 A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
49662 t1._string_scanner$_position = t2;
49663 return t1._lastMatch = null;
49664 }
49665 operator = "or";
49666 }
49667 _this.whitespace$0();
49668 right = _this._supportsConditionInParens$0();
49669 t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
49670 endPosition = t1._string_scanner$_position;
49671 t5 = t1._sourceFile;
49672 t6 = new A._FileSpan(t5, t2, endPosition);
49673 t6._FileSpan$3(t5, t2, endPosition);
49674 operation = new A.SupportsOperation(t4, right, operator, t6);
49675 lowerOperator = operator.toLowerCase();
49676 if (lowerOperator !== "and" && lowerOperator !== "or")
49677 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
49678 _this.whitespace$0();
49679 }
49680 return operation;
49681 },
49682 _lookingAtInterpolatedIdentifier$0() {
49683 var second,
49684 t1 = this.scanner,
49685 first = t1.peekChar$0();
49686 if (first == null)
49687 return false;
49688 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
49689 return true;
49690 if (first === 35)
49691 return t1.peekChar$1(1) === 123;
49692 if (first !== 45)
49693 return false;
49694 second = t1.peekChar$1(1);
49695 if (second == null)
49696 return false;
49697 if (second === 35)
49698 return t1.peekChar$1(2) === 123;
49699 return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
49700 },
49701 _lookingAtInterpolatedIdentifierBody$0() {
49702 var t1 = this.scanner,
49703 first = t1.peekChar$0();
49704 if (first == null)
49705 return false;
49706 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || A.isDigit(first) || first === 45 || first === 92)
49707 return true;
49708 return first === 35 && t1.peekChar$1(1) === 123;
49709 },
49710 _lookingAtExpression$0() {
49711 var next,
49712 t1 = this.scanner,
49713 character = t1.peekChar$0();
49714 if (character == null)
49715 return false;
49716 if (character === 46)
49717 return t1.peekChar$1(1) !== 46;
49718 if (character === 33) {
49719 next = t1.peekChar$1(1);
49720 if (next != null)
49721 if ((next | 32) >>> 0 !== 105)
49722 t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
49723 else
49724 t1 = true;
49725 else
49726 t1 = true;
49727 return t1;
49728 }
49729 if (character !== 40)
49730 if (character !== 47)
49731 if (character !== 91)
49732 if (character !== 39)
49733 if (character !== 34)
49734 if (character !== 35)
49735 if (character !== 43)
49736 if (character !== 45)
49737 if (character !== 92)
49738 if (character !== 36)
49739 if (character !== 38)
49740 t1 = character === 95 || A.isAlphabetic0(character) || character >= 128 || A.isDigit(character);
49741 else
49742 t1 = true;
49743 else
49744 t1 = true;
49745 else
49746 t1 = true;
49747 else
49748 t1 = true;
49749 else
49750 t1 = true;
49751 else
49752 t1 = true;
49753 else
49754 t1 = true;
49755 else
49756 t1 = true;
49757 else
49758 t1 = true;
49759 else
49760 t1 = true;
49761 else
49762 t1 = true;
49763 return t1;
49764 },
49765 _withChildren$1$3(child, start, create) {
49766 var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
49767 this.whitespaceWithoutComments$0();
49768 return result;
49769 },
49770 _withChildren$3(child, start, create) {
49771 return this._withChildren$1$3(child, start, create, type$.dynamic);
49772 },
49773 _urlString$0() {
49774 var innerError, stackTrace, t2, exception,
49775 t1 = this.scanner,
49776 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
49777 url = this.string$0();
49778 try {
49779 t2 = A.Uri_parse(url);
49780 return t2;
49781 } catch (exception) {
49782 t2 = A.unwrapException(exception);
49783 if (type$.FormatException._is(t2)) {
49784 innerError = t2;
49785 stackTrace = A.getTraceFromException(exception);
49786 this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
49787 } else
49788 throw exception;
49789 }
49790 },
49791 _publicIdentifier$0() {
49792 var _this = this,
49793 t1 = _this.scanner,
49794 t2 = t1._string_scanner$_position,
49795 result = _this.identifier$1$normalize(true);
49796 _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
49797 return result;
49798 },
49799 _assertPublic$2(identifier, span) {
49800 var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
49801 if (!(first === 45 || first === 95))
49802 return;
49803 this.error$2(0, string$.Privat, span.call$0());
49804 },
49805 get$plainCss() {
49806 return false;
49807 }
49808 };
49809 A.StylesheetParser_parse_closure.prototype = {
49810 call$0() {
49811 var statements, t4,
49812 t1 = this.$this,
49813 t2 = t1.scanner,
49814 t3 = t2._string_scanner$_position;
49815 t2.scanChar$1(65279);
49816 statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
49817 t2.expectDone$0();
49818 t4 = t1._globalVariables;
49819 t4 = t4.get$values(t4);
49820 B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement));
49821 return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
49822 },
49823 $signature: 352
49824 };
49825 A.StylesheetParser_parse__closure.prototype = {
49826 call$0() {
49827 var t1 = this.$this;
49828 if (t1.scanner.scan$1("@charset")) {
49829 t1.whitespace$0();
49830 t1.string$0();
49831 return null;
49832 }
49833 return t1._statement$1$root(true);
49834 },
49835 $signature: 353
49836 };
49837 A.StylesheetParser_parse__closure0.prototype = {
49838 call$1(declaration) {
49839 var t1 = declaration.name,
49840 t2 = declaration.expression;
49841 return A.VariableDeclaration$(t1, new A.NullExpression(t2.get$span(t2)), declaration.span, null, false, true, null);
49842 },
49843 $signature: 354
49844 };
49845 A.StylesheetParser_parseArgumentDeclaration_closure.prototype = {
49846 call$0() {
49847 var $arguments,
49848 t1 = this.$this,
49849 t2 = t1.scanner;
49850 t2.expectChar$2$name(64, "@-rule");
49851 t1.identifier$0();
49852 t1.whitespace$0();
49853 t1.identifier$0();
49854 $arguments = t1._argumentDeclaration$0();
49855 t1.whitespace$0();
49856 t2.expectChar$1(123);
49857 return $arguments;
49858 },
49859 $signature: 355
49860 };
49861 A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
49862 call$0() {
49863 var t1 = this.$this;
49864 return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
49865 },
49866 $signature: 174
49867 };
49868 A.StylesheetParser_parseUseRule_closure.prototype = {
49869 call$0() {
49870 var t1 = this.$this,
49871 t2 = t1.scanner,
49872 t3 = t2._string_scanner$_position;
49873 t2.expectChar$2$name(64, "@-rule");
49874 t1.expectIdentifier$1("use");
49875 t1.whitespace$0();
49876 return t1._useRule$1(new A._SpanScannerState(t2, t3));
49877 },
49878 $signature: 357
49879 };
49880 A.StylesheetParser__parseSingleProduction_closure.prototype = {
49881 call$0() {
49882 var result = this.production.call$0();
49883 this.$this.scanner.expectDone$0();
49884 return result;
49885 },
49886 $signature() {
49887 return this.T._eval$1("0()");
49888 }
49889 };
49890 A.StylesheetParser__statement_closure.prototype = {
49891 call$0() {
49892 return this.$this._statement$0();
49893 },
49894 $signature: 139
49895 };
49896 A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
49897 call$0() {
49898 return this.$this.scanner.spanFrom$1(this.start);
49899 },
49900 $signature: 31
49901 };
49902 A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
49903 call$0() {
49904 return this.declaration;
49905 },
49906 $signature: 174
49907 };
49908 A.StylesheetParser__declarationOrBuffer_closure.prototype = {
49909 call$2(children, span) {
49910 return A.Declaration$nested(this.name, children, span, null);
49911 },
49912 $signature: 79
49913 };
49914 A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
49915 call$2(children, span) {
49916 return A.Declaration$nested(this.name, children, span, this._box_0.value);
49917 },
49918 $signature: 79
49919 };
49920 A.StylesheetParser__styleRule_closure.prototype = {
49921 call$2(children, span) {
49922 var _this = this,
49923 t1 = _this.$this;
49924 if (t1.get$indented() && children.length === 0)
49925 t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
49926 t1._inStyleRule = _this.wasInStyleRule;
49927 return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
49928 },
49929 $signature: 365
49930 };
49931 A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
49932 call$2(children, span) {
49933 return A.Declaration$nested(this._box_0.name, children, span, null);
49934 },
49935 $signature: 79
49936 };
49937 A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
49938 call$2(children, span) {
49939 return A.Declaration$nested(this._box_0.name, children, span, this.value);
49940 },
49941 $signature: 79
49942 };
49943 A.StylesheetParser__atRootRule_closure.prototype = {
49944 call$2(children, span) {
49945 return A.AtRootRule$(children, span, this.query);
49946 },
49947 $signature: 173
49948 };
49949 A.StylesheetParser__atRootRule_closure0.prototype = {
49950 call$2(children, span) {
49951 return A.AtRootRule$(children, span, null);
49952 },
49953 $signature: 173
49954 };
49955 A.StylesheetParser__eachRule_closure.prototype = {
49956 call$2(children, span) {
49957 var _this = this;
49958 _this.$this._inControlDirective = _this.wasInControlDirective;
49959 return A.EachRule$(_this.variables, _this.list, children, span);
49960 },
49961 $signature: 367
49962 };
49963 A.StylesheetParser__functionRule_closure.prototype = {
49964 call$2(children, span) {
49965 return A.FunctionRule$(this.name, this.$arguments, children, span, this.precedingComment);
49966 },
49967 $signature: 368
49968 };
49969 A.StylesheetParser__forRule_closure.prototype = {
49970 call$0() {
49971 var t1 = this.$this;
49972 if (!t1.lookingAtIdentifier$0())
49973 return false;
49974 if (t1.scanIdentifier$1("to"))
49975 return this._box_0.exclusive = true;
49976 else if (t1.scanIdentifier$1("through")) {
49977 this._box_0.exclusive = false;
49978 return true;
49979 } else
49980 return false;
49981 },
49982 $signature: 26
49983 };
49984 A.StylesheetParser__forRule_closure0.prototype = {
49985 call$2(children, span) {
49986 var t1, _this = this;
49987 _this.$this._inControlDirective = _this.wasInControlDirective;
49988 t1 = _this._box_0.exclusive;
49989 t1.toString;
49990 return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
49991 },
49992 $signature: 369
49993 };
49994 A.StylesheetParser__memberList_closure.prototype = {
49995 call$0() {
49996 var t1 = this.$this;
49997 if (t1.scanner.peekChar$0() === 36)
49998 this.variables.add$1(0, t1.variableName$0());
49999 else
50000 this.identifiers.add$1(0, t1.identifier$1$normalize(true));
50001 },
50002 $signature: 1
50003 };
50004 A.StylesheetParser__includeRule_closure.prototype = {
50005 call$2(children, span) {
50006 return A.ContentBlock$(this.contentArguments_, children, span);
50007 },
50008 $signature: 371
50009 };
50010 A.StylesheetParser_mediaRule_closure.prototype = {
50011 call$2(children, span) {
50012 return A.MediaRule$(this.query, children, span);
50013 },
50014 $signature: 373
50015 };
50016 A.StylesheetParser__mixinRule_closure.prototype = {
50017 call$2(children, span) {
50018 var _this = this;
50019 _this.$this._stylesheet$_inMixin = false;
50020 return A.MixinRule$(_this.name, _this.$arguments, children, span, _this.precedingComment);
50021 },
50022 $signature: 375
50023 };
50024 A.StylesheetParser_mozDocumentRule_closure.prototype = {
50025 call$2(children, span) {
50026 var _this = this;
50027 if (_this._box_0.needsDeprecationWarning)
50028 _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
50029 return A.AtRule$(_this.name, span, children, _this.value);
50030 },
50031 $signature: 171
50032 };
50033 A.StylesheetParser_supportsRule_closure.prototype = {
50034 call$2(children, span) {
50035 return A.SupportsRule$(this.condition, children, span);
50036 },
50037 $signature: 259
50038 };
50039 A.StylesheetParser__whileRule_closure.prototype = {
50040 call$2(children, span) {
50041 this.$this._inControlDirective = this.wasInControlDirective;
50042 return A.WhileRule$(this.condition, children, span);
50043 },
50044 $signature: 380
50045 };
50046 A.StylesheetParser_unknownAtRule_closure.prototype = {
50047 call$2(children, span) {
50048 return A.AtRule$(this.name, span, children, this._box_0.value);
50049 },
50050 $signature: 171
50051 };
50052 A.StylesheetParser_expression_resetState.prototype = {
50053 call$0() {
50054 var t2,
50055 t1 = this._box_0;
50056 t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
50057 t2 = this.$this;
50058 t2.scanner.set$state(this.start);
50059 t1.allowSlash = true;
50060 t1.singleExpression_ = t2._singleExpression$0();
50061 },
50062 $signature: 0
50063 };
50064 A.StylesheetParser_expression_resolveOneOperation.prototype = {
50065 call$0() {
50066 var t2, t3,
50067 t1 = this._box_0,
50068 operator = t1.operators_.pop(),
50069 left = t1.operands_.pop(),
50070 right = t1.singleExpression_;
50071 if (right == null) {
50072 t2 = this.$this.scanner;
50073 t3 = operator.operator.length;
50074 t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
50075 }
50076 if (t1.allowSlash) {
50077 t2 = this.$this;
50078 t2 = !t2._inParentheses && operator === B.BinaryOperator_RTB && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
50079 } else
50080 t2 = false;
50081 if (t2)
50082 t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_RTB, left, right, true);
50083 else {
50084 t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
50085 t1.allowSlash = false;
50086 }
50087 },
50088 $signature: 0
50089 };
50090 A.StylesheetParser_expression_resolveOperations.prototype = {
50091 call$0() {
50092 var t1,
50093 operators = this._box_0.operators_;
50094 if (operators == null)
50095 return;
50096 for (t1 = this.resolveOneOperation; operators.length !== 0;)
50097 t1.call$0();
50098 },
50099 $signature: 0
50100 };
50101 A.StylesheetParser_expression_addSingleExpression.prototype = {
50102 call$1(expression) {
50103 var t2, spaceExpressions, _this = this,
50104 t1 = _this._box_0;
50105 if (t1.singleExpression_ != null) {
50106 t2 = _this.$this;
50107 if (t2._inParentheses) {
50108 t2._inParentheses = false;
50109 if (t1.allowSlash) {
50110 _this.resetState.call$0();
50111 return;
50112 }
50113 }
50114 spaceExpressions = t1.spaceExpressions_;
50115 if (spaceExpressions == null)
50116 spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
50117 _this.resolveOperations.call$0();
50118 t2 = t1.singleExpression_;
50119 t2.toString;
50120 spaceExpressions.push(t2);
50121 t1.allowSlash = true;
50122 }
50123 t1.singleExpression_ = expression;
50124 },
50125 $signature: 381
50126 };
50127 A.StylesheetParser_expression_addOperator.prototype = {
50128 call$1(operator) {
50129 var t2, t3, operators, operands, t4, singleExpression,
50130 t1 = this.$this;
50131 if (t1.get$plainCss() && operator !== B.BinaryOperator_RTB && operator !== B.BinaryOperator_kjl) {
50132 t2 = t1.scanner;
50133 t3 = operator.operator.length;
50134 t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
50135 }
50136 t2 = this._box_0;
50137 t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_RTB;
50138 operators = t2.operators_;
50139 if (operators == null)
50140 operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
50141 operands = t2.operands_;
50142 if (operands == null)
50143 operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
50144 t3 = this.resolveOneOperation;
50145 t4 = operator.precedence;
50146 while (true) {
50147 if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
50148 break;
50149 t3.call$0();
50150 }
50151 operators.push(operator);
50152 singleExpression = t2.singleExpression_;
50153 if (singleExpression == null) {
50154 t3 = t1.scanner;
50155 t4 = operator.operator.length;
50156 t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
50157 }
50158 operands.push(singleExpression);
50159 t1.whitespace$0();
50160 t2.singleExpression_ = t1._singleExpression$0();
50161 },
50162 $signature: 384
50163 };
50164 A.StylesheetParser_expression_resolveSpaceExpressions.prototype = {
50165 call$0() {
50166 var t1, spaceExpressions, singleExpression, t2;
50167 this.resolveOperations.call$0();
50168 t1 = this._box_0;
50169 spaceExpressions = t1.spaceExpressions_;
50170 if (spaceExpressions != null) {
50171 singleExpression = t1.singleExpression_;
50172 if (singleExpression == null)
50173 this.$this.scanner.error$1(0, "Expected expression.");
50174 spaceExpressions.push(singleExpression);
50175 t2 = B.JSArray_methods.get$first(spaceExpressions);
50176 t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
50177 t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_woc, false, t2);
50178 t1.spaceExpressions_ = null;
50179 }
50180 },
50181 $signature: 0
50182 };
50183 A.StylesheetParser__expressionUntilComma_closure.prototype = {
50184 call$0() {
50185 return this.$this.scanner.peekChar$0() === 44;
50186 },
50187 $signature: 26
50188 };
50189 A.StylesheetParser__unicodeRange_closure.prototype = {
50190 call$1(char) {
50191 return char != null && A.isHex(char);
50192 },
50193 $signature: 32
50194 };
50195 A.StylesheetParser__unicodeRange_closure0.prototype = {
50196 call$1(char) {
50197 return char != null && A.isHex(char);
50198 },
50199 $signature: 32
50200 };
50201 A.StylesheetParser_namespacedExpression_closure.prototype = {
50202 call$0() {
50203 return this.$this.scanner.spanFrom$1(this.start);
50204 },
50205 $signature: 31
50206 };
50207 A.StylesheetParser_trySpecialFunction_closure.prototype = {
50208 call$1(contents) {
50209 return new A.StringExpression(contents, false);
50210 },
50211 $signature: 388
50212 };
50213 A.StylesheetParser__expressionUntilComparison_closure.prototype = {
50214 call$0() {
50215 var t1 = this.$this.scanner,
50216 next = t1.peekChar$0();
50217 if (next === 61)
50218 return t1.peekChar$1(1) !== 61;
50219 return next === 60 || next === 62;
50220 },
50221 $signature: 26
50222 };
50223 A.StylesheetParser__publicIdentifier_closure.prototype = {
50224 call$0() {
50225 return this.$this.scanner.spanFrom$1(this.start);
50226 },
50227 $signature: 31
50228 };
50229 A.StylesheetGraph.prototype = {
50230 modifiedSince$3(url, since, baseImporter) {
50231 var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
50232 if (node == null)
50233 return true;
50234 return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node)._core$_value > since._core$_value;
50235 },
50236 _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
50237 var t1, t2, _this = this,
50238 tuple = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
50239 if (tuple == null)
50240 return null;
50241 t1 = tuple.item1;
50242 t2 = tuple.item2;
50243 _this.addCanonical$3(t1, t2, tuple.item3);
50244 return _this._nodes.$index(0, t2);
50245 },
50246 addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
50247 var stylesheet, _this = this,
50248 t1 = _this._nodes;
50249 if (t1.$index(0, canonicalUrl) != null)
50250 return B.Set_empty1;
50251 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
50252 if (stylesheet == null)
50253 return B.Set_empty1;
50254 t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
50255 return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty1;
50256 },
50257 addCanonical$3(importer, canonicalUrl, originalUrl) {
50258 return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
50259 },
50260 _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
50261 var t4, t5, t6, t7,
50262 t1 = type$.Uri,
50263 active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
50264 t2 = type$.JSArray_Uri,
50265 t3 = A._setArrayType([], t2);
50266 t2 = A._setArrayType([], t2);
50267 new A._FindDependenciesVisitor(t3, t2).visitChildren$1(stylesheet.children);
50268 t4 = type$.nullable_StylesheetNode;
50269 t5 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
50270 for (t6 = B.JSArray_methods.get$iterator(t3); t6.moveNext$0();) {
50271 t7 = t6.get$current(t6);
50272 t5.$indexSet(0, t7, this._nodeFor$4(t7, baseImporter, baseUrl, active));
50273 }
50274 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
50275 for (t2 = J.get$iterator$ax(new A.Tuple2(t3, t2, type$.Tuple2_of_List_Uri_and_List_Uri).item2); t2.moveNext$0();) {
50276 t3 = t2.get$current(t2);
50277 t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
50278 }
50279 return new A.Tuple2(t5, t1, type$.Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode);
50280 },
50281 reload$1(canonicalUrl) {
50282 var stylesheet, upstream, _this = this,
50283 node = _this._nodes.$index(0, canonicalUrl);
50284 if (node == null)
50285 throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
50286 _this._transitiveModificationTimes.clear$0(0);
50287 _this.importCache.clearImport$1(canonicalUrl);
50288 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
50289 if (stylesheet == null)
50290 return false;
50291 node._stylesheet = stylesheet;
50292 upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
50293 node._replaceUpstream$2(upstream.item1, upstream.item2);
50294 return true;
50295 },
50296 _recanonicalizeImports$2(importer, canonicalUrl) {
50297 var t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this,
50298 changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
50299 for (t1 = _this._nodes, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1), t2 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode, t3 = type$.Uri, t4 = type$.nullable_StylesheetNode; t1.moveNext$0();) {
50300 t5 = t1.get$current(t1);
50301 newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
50302 newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
50303 if (newUpstream.get$isNotEmpty(newUpstream) || newUpstreamImports.get$isNotEmpty(newUpstreamImports)) {
50304 changed.add$1(0, t5);
50305 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));
50306 }
50307 }
50308 if (changed._collection$_length !== 0)
50309 _this._transitiveModificationTimes.clear$0(0);
50310 return changed;
50311 },
50312 _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
50313 var t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
50314 map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1),
50315 newMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.nullable_StylesheetNode);
50316 map._map.forEach$1(0, new A.StylesheetGraph__recanonicalizeImportsForNode_closure(this, importer, canonicalUrl, node, forImport, newMap));
50317 return newMap;
50318 },
50319 _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
50320 var importer, canonicalUrl, resolvedUrl, t1, stylesheet, node, _this = this,
50321 tuple = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
50322 if (tuple == null)
50323 return null;
50324 importer = tuple.item1;
50325 canonicalUrl = tuple.item2;
50326 resolvedUrl = tuple.item3;
50327 t1 = _this._nodes;
50328 if (t1.containsKey$1(canonicalUrl))
50329 return t1.$index(0, canonicalUrl);
50330 if (active.contains$1(0, canonicalUrl))
50331 return null;
50332 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(_this, importer, canonicalUrl, resolvedUrl));
50333 if (stylesheet == null)
50334 return null;
50335 active.add$1(0, canonicalUrl);
50336 node = A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl));
50337 active.remove$1(0, canonicalUrl);
50338 t1.$indexSet(0, canonicalUrl, node);
50339 return node;
50340 },
50341 _nodeFor$4(url, baseImporter, baseUrl, active) {
50342 return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
50343 },
50344 _ignoreErrors$1$1(callback) {
50345 var t1, exception;
50346 try {
50347 t1 = callback.call$0();
50348 return t1;
50349 } catch (exception) {
50350 return null;
50351 }
50352 },
50353 _ignoreErrors$1(callback) {
50354 return this._ignoreErrors$1$1(callback, type$.dynamic);
50355 }
50356 };
50357 A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
50358 call$1(node) {
50359 return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
50360 },
50361 $signature: 389
50362 };
50363 A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
50364 call$0() {
50365 var t2, t3, upstreamTime,
50366 t1 = this.node,
50367 latest = t1.importer.modificationTime$1(t1.canonicalUrl);
50368 for (t2 = t1._upstream, t2 = t2.get$values(t2), t1 = t1._upstreamImports, t1 = t2.followedBy$1(0, t1.get$values(t1)), t1 = new A.FollowedByIterator(J.get$iterator$ax(t1.__internal$_first), t1._second), t2 = this.transitiveModificationTime; t1.moveNext$0();) {
50369 t3 = t1._currentIterator;
50370 t3 = t3.get$current(t3);
50371 upstreamTime = t3 == null ? new A.DateTime(Date.now(), false) : t2.call$1(t3);
50372 if (upstreamTime._core$_value > latest._core$_value)
50373 latest = upstreamTime;
50374 }
50375 return latest;
50376 },
50377 $signature: 180
50378 };
50379 A.StylesheetGraph__add_closure.prototype = {
50380 call$0() {
50381 var _this = this;
50382 return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
50383 },
50384 $signature: 98
50385 };
50386 A.StylesheetGraph_addCanonical_closure.prototype = {
50387 call$0() {
50388 var _this = this;
50389 return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
50390 },
50391 $signature: 71
50392 };
50393 A.StylesheetGraph_reload_closure.prototype = {
50394 call$0() {
50395 return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
50396 },
50397 $signature: 71
50398 };
50399 A.StylesheetGraph__recanonicalizeImportsForNode_closure.prototype = {
50400 call$2(url, upstream) {
50401 var result, t1, t2, t3, exception, newCanonicalUrl, _this = this;
50402 if (!_this.importer.couldCanonicalize$2(url, _this.canonicalUrl))
50403 return;
50404 t1 = _this.$this;
50405 t2 = t1.importCache;
50406 t2.clearCanonicalize$1(url);
50407 result = null;
50408 try {
50409 t3 = _this.node;
50410 result = t2.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t3.importer, t3.canonicalUrl, _this.forImport);
50411 } catch (exception) {
50412 }
50413 t2 = result;
50414 newCanonicalUrl = t2 == null ? null : t2.item2;
50415 if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
50416 return;
50417 t1 = result == null ? null : t1._nodes.$index(0, result.item2);
50418 _this.newMap.$indexSet(0, url, t1);
50419 },
50420 $signature: 392
50421 };
50422 A.StylesheetGraph__nodeFor_closure.prototype = {
50423 call$0() {
50424 var _this = this;
50425 return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
50426 },
50427 $signature: 98
50428 };
50429 A.StylesheetGraph__nodeFor_closure0.prototype = {
50430 call$0() {
50431 var _this = this;
50432 return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.resolvedUrl);
50433 },
50434 $signature: 71
50435 };
50436 A.StylesheetNode.prototype = {
50437 StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
50438 var t1, t2;
50439 for (t1 = this._upstream, t1 = t1.get$values(t1), t2 = this._upstreamImports, t2 = t1.followedBy$1(0, t2.get$values(t2)), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
50440 t1 = t2._currentIterator;
50441 t1 = t1.get$current(t1);
50442 if (t1 != null)
50443 t1._downstream.add$1(0, this);
50444 }
50445 },
50446 _replaceUpstream$2(newUpstream, newUpstreamImports) {
50447 var t3, oldUpstream, newUpstreamSet, _this = this,
50448 t1 = type$.nullable_StylesheetNode,
50449 t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
50450 for (t3 = _this._upstream, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();)
50451 t2.add$1(0, t3.get$current(t3));
50452 for (t3 = _this._upstreamImports, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();)
50453 t2.add$1(0, t3.get$current(t3));
50454 t3 = type$.StylesheetNode;
50455 oldUpstream = A.SetExtension_removeNull(t2, t3);
50456 t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
50457 for (t2 = newUpstream.get$values(newUpstream), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50458 t1.add$1(0, t2.get$current(t2));
50459 for (t2 = newUpstreamImports.get$values(newUpstreamImports), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50460 t1.add$1(0, t2.get$current(t2));
50461 newUpstreamSet = A.SetExtension_removeNull(t1, t3);
50462 for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
50463 t1.get$current(t1)._downstream.remove$1(0, _this);
50464 for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
50465 t1.get$current(t1)._downstream.add$1(0, _this);
50466 _this._upstream = newUpstream;
50467 _this._upstreamImports = newUpstreamImports;
50468 },
50469 _stylesheet_graph$_remove$0() {
50470 var t2, t3, t4, _i, url, _this = this,
50471 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_StylesheetNode);
50472 for (t2 = _this._upstream, t2 = t2.get$values(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50473 t1.add$1(0, t2.get$current(t2));
50474 for (t2 = _this._upstreamImports, t2 = t2.get$values(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50475 t1.add$1(0, t2.get$current(t2));
50476 t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications);
50477 t2 = A._instanceType(t1)._precomputed1;
50478 for (; t1.moveNext$0();) {
50479 t3 = t2._as(t1._collection$_current);
50480 if (t3 == null)
50481 continue;
50482 t3._downstream.remove$1(0, _this);
50483 }
50484 for (t1 = _this._downstream, t1 = t1.get$iterator(t1); t1.moveNext$0();) {
50485 t2 = t1.get$current(t1);
50486 for (t3 = t2._upstream, t3 = J.toList$0$ax(t3.get$keys(t3)), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
50487 url = t3[_i];
50488 if (J.$eq$(t2._upstream.$index(0, url), _this)) {
50489 t2._upstream.$indexSet(0, url, null);
50490 break;
50491 }
50492 }
50493 for (t3 = t2._upstreamImports, t3 = J.toList$0$ax(t3.get$keys(t3)), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
50494 url = t3[_i];
50495 if (J.$eq$(t2._upstreamImports.$index(0, url), _this)) {
50496 t2._upstreamImports.$indexSet(0, url, null);
50497 break;
50498 }
50499 }
50500 }
50501 },
50502 toString$0(_) {
50503 var t1 = A.NullableExtension_andThen(this._stylesheet.span.file.url, A.path__prettyUri$closure());
50504 return t1 == null ? "<unknown>" : t1;
50505 }
50506 };
50507 A.Syntax.prototype = {
50508 toString$0(_) {
50509 return this._syntax$_name;
50510 }
50511 };
50512 A.LimitedMapView.prototype = {
50513 get$keys(_) {
50514 return this._limited_map_view$_keys;
50515 },
50516 get$length(_) {
50517 return this._limited_map_view$_keys._collection$_length;
50518 },
50519 get$isEmpty(_) {
50520 return this._limited_map_view$_keys._collection$_length === 0;
50521 },
50522 get$isNotEmpty(_) {
50523 return this._limited_map_view$_keys._collection$_length !== 0;
50524 },
50525 $index(_, key) {
50526 return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
50527 },
50528 containsKey$1(key) {
50529 return this._limited_map_view$_keys.contains$1(0, key);
50530 },
50531 remove$1(_, key) {
50532 return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
50533 }
50534 };
50535 A.MergedMapView.prototype = {
50536 get$keys(_) {
50537 var t1 = this._mapsByKey;
50538 return t1.get$keys(t1);
50539 },
50540 get$length(_) {
50541 var t1 = this._mapsByKey;
50542 return t1.get$length(t1);
50543 },
50544 get$isEmpty(_) {
50545 var t1 = this._mapsByKey;
50546 return t1.get$isEmpty(t1);
50547 },
50548 get$isNotEmpty(_) {
50549 var t1 = this._mapsByKey;
50550 return t1.get$isNotEmpty(t1);
50551 },
50552 MergedMapView$1(maps, $K, $V) {
50553 var t1, t2, t3, _i, map, t4, t5;
50554 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) {
50555 map = maps[_i];
50556 if (t3._is(map))
50557 for (t4 = map._mapsByKey, t4 = t4.get$values(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
50558 t5 = t4.get$current(t4);
50559 A.setAll(t2, t5.get$keys(t5), t5);
50560 }
50561 else
50562 A.setAll(t2, map.get$keys(map), map);
50563 }
50564 },
50565 $index(_, key) {
50566 var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
50567 return t1 == null ? null : t1.$index(0, key);
50568 },
50569 $indexSet(_, key, value) {
50570 var child = this._mapsByKey.$index(0, key);
50571 if (child == null)
50572 throw A.wrapException(A.UnsupportedError$(string$.New_en));
50573 child.$indexSet(0, key, value);
50574 },
50575 remove$1(_, key) {
50576 throw A.wrapException(A.UnsupportedError$(string$.Entrie));
50577 },
50578 containsKey$1(key) {
50579 return this._mapsByKey.containsKey$1(key);
50580 }
50581 };
50582 A.MultiDirWatcher.prototype = {
50583 watch$1(_, directory) {
50584 var t1, t2, t3, t4, isParentOfExistingDir, _i, entry, t5, existingWatcher, t6, future, completer;
50585 for (t1 = this._watchers._map, t2 = t1.get$entries(t1).toList$0(0), t3 = t2.length, t4 = this._group, isParentOfExistingDir = false, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
50586 entry = t2[_i];
50587 t5 = entry.key;
50588 t5.toString;
50589 existingWatcher = entry.value;
50590 if (!isParentOfExistingDir) {
50591 t6 = $.$get$context();
50592 t6 = t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_within;
50593 } else
50594 t6 = false;
50595 if (t6) {
50596 t1 = new A._Future($.Zone__current, type$._Future_void);
50597 t1._asyncComplete$1(null);
50598 return t1;
50599 }
50600 if ($.$get$context()._isWithinOrEquals$2(directory, t5) === B._PathRelation_within) {
50601 t1.remove$1(0, t5);
50602 t4.remove$1(0, existingWatcher);
50603 isParentOfExistingDir = true;
50604 }
50605 }
50606 future = A.watchDir(directory, this._poll);
50607 t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
50608 completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
50609 future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
50610 t1.$indexSet(0, directory, t2);
50611 t4.add$1(0, t2);
50612 return future;
50613 }
50614 };
50615 A.NoSourceMapBuffer.prototype = {
50616 get$length(_) {
50617 return this._no_source_map_buffer$_buffer._contents.length;
50618 },
50619 forSpan$1$2(span, callback) {
50620 return callback.call$0();
50621 },
50622 forSpan$2(span, callback) {
50623 return this.forSpan$1$2(span, callback, type$.dynamic);
50624 },
50625 write$1(_, object) {
50626 this._no_source_map_buffer$_buffer._contents += A.S(object);
50627 return null;
50628 },
50629 writeCharCode$1(charCode) {
50630 this._no_source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
50631 return null;
50632 },
50633 toString$0(_) {
50634 var t1 = this._no_source_map_buffer$_buffer._contents;
50635 return t1.charCodeAt(0) == 0 ? t1 : t1;
50636 },
50637 buildSourceMap$1$prefix(prefix) {
50638 return A.throwExpression(A.UnsupportedError$(string$.NoSour));
50639 }
50640 };
50641 A.PrefixedMapView.prototype = {
50642 get$keys(_) {
50643 return new A._PrefixedKeys(this);
50644 },
50645 get$length(_) {
50646 var t1 = this._prefixed_map_view$_map;
50647 return t1.get$length(t1);
50648 },
50649 get$isEmpty(_) {
50650 var t1 = this._prefixed_map_view$_map;
50651 return t1.get$isEmpty(t1);
50652 },
50653 get$isNotEmpty(_) {
50654 var t1 = this._prefixed_map_view$_map;
50655 return t1.get$isNotEmpty(t1);
50656 },
50657 $index(_, key) {
50658 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;
50659 },
50660 containsKey$1(key) {
50661 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));
50662 }
50663 };
50664 A._PrefixedKeys.prototype = {
50665 get$length(_) {
50666 var t1 = this._view._prefixed_map_view$_map;
50667 return t1.get$length(t1);
50668 },
50669 get$iterator(_) {
50670 var t1 = this._view._prefixed_map_view$_map;
50671 t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
50672 return t1.get$iterator(t1);
50673 },
50674 contains$1(_, key) {
50675 return this._view.containsKey$1(key);
50676 }
50677 };
50678 A._PrefixedKeys_iterator_closure.prototype = {
50679 call$1(key) {
50680 return this.$this._view._prefix + key;
50681 },
50682 $signature: 5
50683 };
50684 A.PublicMemberMapView.prototype = {
50685 get$keys(_) {
50686 var t1 = this._public_member_map_view$_inner;
50687 return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
50688 },
50689 containsKey$1(key) {
50690 return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
50691 },
50692 $index(_, key) {
50693 if (typeof key == "string" && A.isPublic(key))
50694 return this._public_member_map_view$_inner.$index(0, key);
50695 return null;
50696 }
50697 };
50698 A.SourceMapBuffer.prototype = {
50699 get$_targetLocation() {
50700 var t1 = this._source_map_buffer$_buffer._contents,
50701 t2 = this._line;
50702 return A.SourceLocation$(t1.length, this._column, t2, null);
50703 },
50704 get$length(_) {
50705 return this._source_map_buffer$_buffer._contents.length;
50706 },
50707 forSpan$1$2(span, callback) {
50708 var t1, _this = this,
50709 wasInSpan = _this._inSpan;
50710 _this._inSpan = true;
50711 _this._addEntry$2(A.FileLocation$_(span.file, span._file$_start), _this.get$_targetLocation());
50712 try {
50713 t1 = callback.call$0();
50714 return t1;
50715 } finally {
50716 _this._inSpan = wasInSpan;
50717 }
50718 },
50719 forSpan$2(span, callback) {
50720 return this.forSpan$1$2(span, callback, type$.dynamic);
50721 },
50722 _addEntry$2(source, target) {
50723 var entry, t2,
50724 t1 = this._entries;
50725 if (t1.length !== 0) {
50726 entry = B.JSArray_methods.get$last(t1);
50727 t2 = entry.source;
50728 if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
50729 return;
50730 if (entry.target.offset === target.offset)
50731 return;
50732 }
50733 t1.push(new A.Entry(source, target, null));
50734 },
50735 write$1(_, object) {
50736 var t1, i,
50737 string = J.toString$0$(object);
50738 this._source_map_buffer$_buffer._contents += string;
50739 for (t1 = string.length, i = 0; i < t1; ++i)
50740 if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
50741 this._source_map_buffer$_writeLine$0();
50742 else
50743 ++this._column;
50744 },
50745 writeCharCode$1(charCode) {
50746 this._source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
50747 if (charCode === 10)
50748 this._source_map_buffer$_writeLine$0();
50749 else
50750 ++this._column;
50751 },
50752 _source_map_buffer$_writeLine$0() {
50753 var _this = this,
50754 t1 = _this._entries;
50755 if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
50756 t1.pop();
50757 ++_this._line;
50758 _this._column = 0;
50759 if (_this._inSpan)
50760 t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
50761 },
50762 toString$0(_) {
50763 var t1 = this._source_map_buffer$_buffer._contents;
50764 return t1.charCodeAt(0) == 0 ? t1 : t1;
50765 },
50766 buildSourceMap$1$prefix(prefix) {
50767 var i, t2, prefixColumn, _box_0 = {},
50768 t1 = prefix.length;
50769 if (t1 === 0)
50770 return A.SingleMapping_SingleMapping$fromEntries(this._entries);
50771 _box_0.prefixColumn = _box_0.prefixLines = 0;
50772 for (i = 0, t2 = 0; i < t1; ++i)
50773 if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
50774 ++_box_0.prefixLines;
50775 _box_0.prefixColumn = 0;
50776 t2 = 0;
50777 } else {
50778 prefixColumn = t2 + 1;
50779 _box_0.prefixColumn = prefixColumn;
50780 t2 = prefixColumn;
50781 }
50782 t2 = this._entries;
50783 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>")));
50784 }
50785 };
50786 A.SourceMapBuffer_buildSourceMap_closure.prototype = {
50787 call$1(entry) {
50788 var t1 = entry.source,
50789 t2 = entry.target,
50790 t3 = t2.line,
50791 t4 = this._box_0,
50792 t5 = t4.prefixLines;
50793 t4 = t3 === 0 ? t4.prefixColumn : 0;
50794 return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
50795 },
50796 $signature: 170
50797 };
50798 A.UnprefixedMapView.prototype = {
50799 get$keys(_) {
50800 return new A._UnprefixedKeys(this);
50801 },
50802 $index(_, key) {
50803 return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
50804 },
50805 containsKey$1(key) {
50806 return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
50807 },
50808 remove$1(_, key) {
50809 return typeof key == "string" ? this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key) : null;
50810 }
50811 };
50812 A._UnprefixedKeys.prototype = {
50813 get$iterator(_) {
50814 var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
50815 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);
50816 return t1.get$iterator(t1);
50817 },
50818 contains$1(_, key) {
50819 return this._unprefixed_map_view$_view.containsKey$1(key);
50820 }
50821 };
50822 A._UnprefixedKeys_iterator_closure.prototype = {
50823 call$1(key) {
50824 return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
50825 },
50826 $signature: 6
50827 };
50828 A._UnprefixedKeys_iterator_closure0.prototype = {
50829 call$1(key) {
50830 return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
50831 },
50832 $signature: 5
50833 };
50834 A.indent_closure.prototype = {
50835 call$1(line) {
50836 return B.JSString_methods.$mul(" ", this.indentation) + line;
50837 },
50838 $signature: 5
50839 };
50840 A.flattenVertically_closure.prototype = {
50841 call$1(inner) {
50842 return A.QueueList_QueueList$from(inner, this.T);
50843 },
50844 $signature() {
50845 return this.T._eval$1("QueueList<0>(Iterable<0>)");
50846 }
50847 };
50848 A.flattenVertically_closure0.prototype = {
50849 call$1(queue) {
50850 this.result.push(queue.removeFirst$0());
50851 return queue.get$length(queue) === 0;
50852 },
50853 $signature() {
50854 return this.T._eval$1("bool(QueueList<0>)");
50855 }
50856 };
50857 A.longestCommonSubsequence_closure.prototype = {
50858 call$2(element1, element2) {
50859 return J.$eq$(element1, element2) ? element1 : null;
50860 },
50861 $signature() {
50862 return this.T._eval$1("0?(0,0)");
50863 }
50864 };
50865 A.longestCommonSubsequence_backtrack.prototype = {
50866 call$2(i, j) {
50867 var selection, t1, _this = this;
50868 if (i === -1 || j === -1)
50869 return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
50870 selection = _this.selections[i][j];
50871 if (selection != null) {
50872 t1 = _this.call$2(i - 1, j - 1);
50873 J.add$1$ax(t1, selection);
50874 return t1;
50875 }
50876 t1 = _this.lengths;
50877 return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
50878 },
50879 $signature() {
50880 return this.T._eval$1("List<0>(int,int)");
50881 }
50882 };
50883 A.mapAddAll2_closure.prototype = {
50884 call$2(key, inner) {
50885 var t1 = this.destination,
50886 innerDestination = t1.$index(0, key);
50887 if (innerDestination != null)
50888 innerDestination.addAll$1(0, inner);
50889 else
50890 t1.$indexSet(0, key, inner);
50891 },
50892 $signature() {
50893 return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
50894 }
50895 };
50896 A.Value.prototype = {
50897 get$isTruthy() {
50898 return true;
50899 },
50900 get$separator(_) {
50901 return B.ListSeparator_undecided_null;
50902 },
50903 get$hasBrackets() {
50904 return false;
50905 },
50906 get$asList() {
50907 return A._setArrayType([this], type$.JSArray_Value);
50908 },
50909 get$lengthAsList() {
50910 return 1;
50911 },
50912 get$isBlank() {
50913 return false;
50914 },
50915 get$isSpecialNumber() {
50916 return false;
50917 },
50918 get$isVar() {
50919 return false;
50920 },
50921 get$realNull() {
50922 return this;
50923 },
50924 sassIndexToListIndex$2(sassIndex, $name) {
50925 var _this = this,
50926 index = sassIndex.assertNumber$1($name).assertInt$1($name);
50927 if (index === 0)
50928 throw A.wrapException(_this._value$_exception$2("List index may not be 0.", $name));
50929 if (Math.abs(index) > _this.get$lengthAsList())
50930 throw A.wrapException(_this._value$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a list with " + _this.get$lengthAsList() + " elements.", $name));
50931 return index < 0 ? _this.get$lengthAsList() + index : index - 1;
50932 },
50933 assertCalculation$1($name) {
50934 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a calculation.", $name));
50935 },
50936 assertColor$1($name) {
50937 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a color.", $name));
50938 },
50939 assertFunction$1($name) {
50940 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a function reference.", $name));
50941 },
50942 assertMap$1($name) {
50943 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a map.", $name));
50944 },
50945 tryMap$0() {
50946 return null;
50947 },
50948 assertNumber$1($name) {
50949 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a number.", $name));
50950 },
50951 assertNumber$0() {
50952 return this.assertNumber$1(null);
50953 },
50954 assertString$1($name) {
50955 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a string.", $name));
50956 },
50957 assertSelector$2$allowParent$name(allowParent, $name) {
50958 var error, stackTrace, t1, exception,
50959 string = this._selectorString$1($name);
50960 try {
50961 t1 = A.SelectorList_SelectorList$parse(string, allowParent, true, null);
50962 return t1;
50963 } catch (exception) {
50964 t1 = A.unwrapException(exception);
50965 if (t1 instanceof A.SassFormatException) {
50966 error = t1;
50967 stackTrace = A.getTraceFromException(exception);
50968 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
50969 A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
50970 } else
50971 throw exception;
50972 }
50973 },
50974 assertSelector$1$name($name) {
50975 return this.assertSelector$2$allowParent$name(false, $name);
50976 },
50977 assertSelector$0() {
50978 return this.assertSelector$2$allowParent$name(false, null);
50979 },
50980 assertSelector$1$allowParent(allowParent) {
50981 return this.assertSelector$2$allowParent$name(allowParent, null);
50982 },
50983 assertCompoundSelector$1$name($name) {
50984 var error, stackTrace, t1, exception,
50985 allowParent = false,
50986 string = this._selectorString$1($name);
50987 try {
50988 t1 = A.SelectorParser$(string, allowParent, true, null, null).parseCompoundSelector$0();
50989 return t1;
50990 } catch (exception) {
50991 t1 = A.unwrapException(exception);
50992 if (t1 instanceof A.SassFormatException) {
50993 error = t1;
50994 stackTrace = A.getTraceFromException(exception);
50995 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
50996 t1 = "$" + $name + ": " + t1;
50997 A.throwWithTrace(new A.SassScriptException(t1), stackTrace);
50998 } else
50999 throw exception;
51000 }
51001 },
51002 _selectorString$1($name) {
51003 var string = this._selectorStringOrNull$0();
51004 if (string != null)
51005 return string;
51006 throw A.wrapException(this._value$_exception$2(this.toString$0(0) + string$.x20is_no, $name));
51007 },
51008 _selectorStringOrNull$0() {
51009 var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
51010 if (_this instanceof A.SassString)
51011 return _this._string$_text;
51012 if (!(_this instanceof A.SassList))
51013 return _null;
51014 t1 = _this._list$_contents;
51015 t2 = t1.length;
51016 if (t2 === 0)
51017 return _null;
51018 result = A._setArrayType([], type$.JSArray_String);
51019 t3 = _this._separator;
51020 switch (t3) {
51021 case B.ListSeparator_kWM:
51022 for (_i = 0; _i < t2; ++_i) {
51023 complex = t1[_i];
51024 if (complex instanceof A.SassString)
51025 result.push(complex._string$_text);
51026 else if (complex instanceof A.SassList && complex._separator === B.ListSeparator_woc) {
51027 string = complex._selectorStringOrNull$0();
51028 if (string == null)
51029 return _null;
51030 result.push(string);
51031 } else
51032 return _null;
51033 }
51034 break;
51035 case B.ListSeparator_1gm:
51036 return _null;
51037 default:
51038 for (_i = 0; _i < t2; ++_i) {
51039 compound = t1[_i];
51040 if (compound instanceof A.SassString)
51041 result.push(compound._string$_text);
51042 else
51043 return _null;
51044 }
51045 break;
51046 }
51047 return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_kWM ? ", " : " ");
51048 },
51049 withListContents$2$separator(contents, separator) {
51050 var t1 = separator == null ? this.get$separator(this) : separator,
51051 t2 = this.get$hasBrackets();
51052 return A.SassList$(contents, t1, t2);
51053 },
51054 withListContents$1(contents) {
51055 return this.withListContents$2$separator(contents, null);
51056 },
51057 greaterThan$1(other) {
51058 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
51059 },
51060 greaterThanOrEquals$1(other) {
51061 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
51062 },
51063 lessThan$1(other) {
51064 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
51065 },
51066 lessThanOrEquals$1(other) {
51067 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
51068 },
51069 times$1(other) {
51070 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".'));
51071 },
51072 modulo$1(other) {
51073 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".'));
51074 },
51075 plus$1(other) {
51076 if (other instanceof A.SassString)
51077 return new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
51078 else if (other instanceof A.SassCalculation)
51079 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51080 else
51081 return new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
51082 },
51083 minus$1(other) {
51084 if (other instanceof A.SassCalculation)
51085 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51086 else
51087 return new A.SassString(A.serializeValue(this, false, true) + "-" + A.serializeValue(other, false, true), false);
51088 },
51089 dividedBy$1(other) {
51090 return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
51091 },
51092 unaryPlus$0() {
51093 return new A.SassString("+" + A.serializeValue(this, false, true), false);
51094 },
51095 unaryMinus$0() {
51096 return new A.SassString("-" + A.serializeValue(this, false, true), false);
51097 },
51098 unaryNot$0() {
51099 return B.SassBoolean_false;
51100 },
51101 withoutSlash$0() {
51102 return this;
51103 },
51104 toString$0(_) {
51105 return A.serializeValue(this, true, true);
51106 },
51107 _value$_exception$2(message, $name) {
51108 return new A.SassScriptException($name == null ? message : "$" + $name + ": " + message);
51109 }
51110 };
51111 A.SassArgumentList.prototype = {};
51112 A.SassBoolean.prototype = {
51113 get$isTruthy() {
51114 return this.value;
51115 },
51116 accept$1$1(visitor) {
51117 return visitor._serialize$_buffer.write$1(0, String(this.value));
51118 },
51119 accept$1(visitor) {
51120 return this.accept$1$1(visitor, type$.dynamic);
51121 },
51122 unaryNot$0() {
51123 return this.value ? B.SassBoolean_false : B.SassBoolean_true;
51124 }
51125 };
51126 A.SassCalculation.prototype = {
51127 get$isSpecialNumber() {
51128 return true;
51129 },
51130 accept$1$1(visitor) {
51131 var t2,
51132 t1 = visitor._serialize$_buffer;
51133 t1.write$1(0, this.name);
51134 t1.writeCharCode$1(40);
51135 t2 = visitor._style === B.OutputStyle_compressed ? "," : ", ";
51136 visitor._writeBetween$3(this.$arguments, t2, visitor.get$_writeCalculationValue());
51137 t1.writeCharCode$1(41);
51138 return null;
51139 },
51140 accept$1(visitor) {
51141 return this.accept$1$1(visitor, type$.dynamic);
51142 },
51143 assertCalculation$1($name) {
51144 return this;
51145 },
51146 plus$1(other) {
51147 if (other instanceof A.SassString)
51148 return this.super$Value$plus(other);
51149 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51150 },
51151 minus$1(other) {
51152 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51153 },
51154 unaryPlus$0() {
51155 return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".'));
51156 },
51157 unaryMinus$0() {
51158 return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".'));
51159 },
51160 $eq(_, other) {
51161 if (other == null)
51162 return false;
51163 return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
51164 },
51165 get$hashCode(_) {
51166 return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
51167 }
51168 };
51169 A.SassCalculation__verifyLength_closure.prototype = {
51170 call$1(arg) {
51171 return arg instanceof A.SassString || arg instanceof A.CalculationInterpolation;
51172 },
51173 $signature: 108
51174 };
51175 A.CalculationOperation.prototype = {
51176 $eq(_, other) {
51177 if (other == null)
51178 return false;
51179 return other instanceof A.CalculationOperation && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
51180 },
51181 get$hashCode(_) {
51182 return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
51183 },
51184 toString$0(_) {
51185 var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
51186 return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
51187 }
51188 };
51189 A.CalculationOperator.prototype = {
51190 toString$0(_) {
51191 return this.name;
51192 }
51193 };
51194 A.CalculationInterpolation.prototype = {
51195 $eq(_, other) {
51196 if (other == null)
51197 return false;
51198 return other instanceof A.CalculationInterpolation && this.value === other.value;
51199 },
51200 get$hashCode(_) {
51201 return B.JSString_methods.get$hashCode(this.value);
51202 },
51203 toString$0(_) {
51204 return this.value;
51205 }
51206 };
51207 A.SassColor.prototype = {
51208 get$red(_) {
51209 var t1;
51210 if (this._red == null)
51211 this._hslToRgb$0();
51212 t1 = this._red;
51213 t1.toString;
51214 return t1;
51215 },
51216 get$green(_) {
51217 var t1;
51218 if (this._green == null)
51219 this._hslToRgb$0();
51220 t1 = this._green;
51221 t1.toString;
51222 return t1;
51223 },
51224 get$blue(_) {
51225 var t1;
51226 if (this._blue == null)
51227 this._hslToRgb$0();
51228 t1 = this._blue;
51229 t1.toString;
51230 return t1;
51231 },
51232 get$hue(_) {
51233 var t1;
51234 if (this._hue == null)
51235 this._rgbToHsl$0();
51236 t1 = this._hue;
51237 t1.toString;
51238 return t1;
51239 },
51240 get$saturation(_) {
51241 var t1;
51242 if (this._saturation == null)
51243 this._rgbToHsl$0();
51244 t1 = this._saturation;
51245 t1.toString;
51246 return t1;
51247 },
51248 get$lightness(_) {
51249 var t1;
51250 if (this._lightness == null)
51251 this._rgbToHsl$0();
51252 t1 = this._lightness;
51253 t1.toString;
51254 return t1;
51255 },
51256 get$whiteness(_) {
51257 var _this = this;
51258 return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
51259 },
51260 get$blackness(_) {
51261 var _this = this;
51262 return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
51263 },
51264 accept$1$1(visitor) {
51265 var $name, hexLength, t1, format, t2, opaque, _this = this;
51266 if (visitor._style === B.OutputStyle_compressed)
51267 if (!(Math.abs(_this._alpha - 1) < $.$get$epsilon()))
51268 visitor._writeRgb$1(_this);
51269 else {
51270 $name = $.$get$namesByColor().$index(0, _this);
51271 hexLength = visitor._canUseShortHex$1(_this) ? 4 : 7;
51272 if ($name != null && $name.length <= hexLength)
51273 visitor._serialize$_buffer.write$1(0, $name);
51274 else {
51275 t1 = visitor._serialize$_buffer;
51276 if (visitor._canUseShortHex$1(_this)) {
51277 t1.writeCharCode$1(35);
51278 t1.writeCharCode$1(A.hexCharFor(_this.get$red(_this) & 15));
51279 t1.writeCharCode$1(A.hexCharFor(_this.get$green(_this) & 15));
51280 t1.writeCharCode$1(A.hexCharFor(_this.get$blue(_this) & 15));
51281 } else {
51282 t1.writeCharCode$1(35);
51283 visitor._writeHexComponent$1(_this.get$red(_this));
51284 visitor._writeHexComponent$1(_this.get$green(_this));
51285 visitor._writeHexComponent$1(_this.get$blue(_this));
51286 }
51287 }
51288 }
51289 else {
51290 format = _this.format;
51291 if (format != null)
51292 if (format === B._ColorFormatEnum_rgbFunction)
51293 visitor._writeRgb$1(_this);
51294 else {
51295 t1 = visitor._serialize$_buffer;
51296 if (format === B._ColorFormatEnum_hslFunction) {
51297 t2 = _this._alpha;
51298 opaque = Math.abs(t2 - 1) < $.$get$epsilon();
51299 t1.write$1(0, opaque ? "hsl(" : "hsla(");
51300 visitor._writeNumber$1(_this.get$hue(_this));
51301 t1.write$1(0, "deg");
51302 t1.write$1(0, ", ");
51303 visitor._writeNumber$1(_this.get$saturation(_this));
51304 t1.writeCharCode$1(37);
51305 t1.write$1(0, ", ");
51306 visitor._writeNumber$1(_this.get$lightness(_this));
51307 t1.writeCharCode$1(37);
51308 if (!opaque) {
51309 t1.write$1(0, ", ");
51310 visitor._writeNumber$1(t2);
51311 }
51312 t1.writeCharCode$1(41);
51313 } else {
51314 t2 = type$.SpanColorFormat._as(format)._color$_span;
51315 t1.write$1(0, A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null));
51316 }
51317 }
51318 else {
51319 t1 = $.$get$namesByColor();
51320 if (t1.containsKey$1(_this) && !(Math.abs(_this._alpha - 0) < $.$get$epsilon()))
51321 visitor._serialize$_buffer.write$1(0, t1.$index(0, _this));
51322 else if (Math.abs(_this._alpha - 1) < $.$get$epsilon()) {
51323 visitor._serialize$_buffer.writeCharCode$1(35);
51324 visitor._writeHexComponent$1(_this.get$red(_this));
51325 visitor._writeHexComponent$1(_this.get$green(_this));
51326 visitor._writeHexComponent$1(_this.get$blue(_this));
51327 } else
51328 visitor._writeRgb$1(_this);
51329 }
51330 }
51331 return null;
51332 },
51333 accept$1(visitor) {
51334 return this.accept$1$1(visitor, type$.dynamic);
51335 },
51336 assertColor$1($name) {
51337 return this;
51338 },
51339 changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
51340 return A.SassColor$rgb(red, green, blue, alpha == null ? this._alpha : alpha);
51341 },
51342 changeRgb$3$blue$green$red(blue, green, red) {
51343 return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
51344 },
51345 changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
51346 var _this = this, _null = null,
51347 t1 = hue == null ? _this.get$hue(_this) : hue,
51348 t2 = saturation == null ? _this.get$saturation(_this) : saturation,
51349 t3 = lightness == null ? _this.get$lightness(_this) : lightness,
51350 t4 = alpha == null ? _this._alpha : alpha;
51351 t1 = B.JSNumber_methods.$mod(t1, 360);
51352 t2 = A.fuzzyAssertRange(t2, 0, 100, "saturation");
51353 t3 = A.fuzzyAssertRange(t3, 0, 100, "lightness");
51354 t4 = A.fuzzyAssertRange(t4, 0, 1, "alpha");
51355 return new A.SassColor(_null, _null, _null, t1, t2, t3, t4, _null);
51356 },
51357 changeHsl$1$saturation(saturation) {
51358 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
51359 },
51360 changeHsl$1$lightness(lightness) {
51361 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
51362 },
51363 changeHsl$1$hue(hue) {
51364 return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
51365 },
51366 changeAlpha$1(alpha) {
51367 var _this = this;
51368 return new A.SassColor(_this._red, _this._green, _this._blue, _this._hue, _this._saturation, _this._lightness, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), null);
51369 },
51370 plus$1(other) {
51371 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51372 return this.super$Value$plus(other);
51373 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51374 },
51375 minus$1(other) {
51376 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51377 return this.super$Value$minus(other);
51378 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51379 },
51380 dividedBy$1(other) {
51381 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51382 return this.super$Value$dividedBy(other);
51383 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".'));
51384 },
51385 $eq(_, other) {
51386 var _this = this;
51387 if (other == null)
51388 return false;
51389 return other instanceof A.SassColor && other.get$red(other) === _this.get$red(_this) && other.get$green(other) === _this.get$green(_this) && other.get$blue(other) === _this.get$blue(_this) && other._alpha === _this._alpha;
51390 },
51391 get$hashCode(_) {
51392 var _this = this;
51393 return B.JSInt_methods.get$hashCode(_this.get$red(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$green(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$blue(_this)) ^ B.JSNumber_methods.get$hashCode(_this._alpha);
51394 },
51395 _rgbToHsl$0() {
51396 var t2, lightness, _this = this,
51397 scaledRed = _this.get$red(_this) / 255,
51398 scaledGreen = _this.get$green(_this) / 255,
51399 scaledBlue = _this.get$blue(_this) / 255,
51400 max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
51401 min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
51402 delta = max - min,
51403 t1 = max === min;
51404 if (t1)
51405 _this._hue = 0;
51406 else if (max === scaledRed)
51407 _this._hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
51408 else if (max === scaledGreen)
51409 _this._hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
51410 else if (max === scaledBlue)
51411 _this._hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
51412 t2 = max + min;
51413 lightness = 50 * t2;
51414 _this._lightness = lightness;
51415 if (t1)
51416 _this._saturation = 0;
51417 else {
51418 t1 = 100 * delta;
51419 if (lightness < 50)
51420 _this._saturation = t1 / t2;
51421 else
51422 _this._saturation = t1 / (2 - max - min);
51423 }
51424 },
51425 _hslToRgb$0() {
51426 var _this = this,
51427 scaledHue = _this.get$hue(_this) / 360,
51428 scaledSaturation = _this.get$saturation(_this) / 100,
51429 scaledLightness = _this.get$lightness(_this) / 100,
51430 m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
51431 m1 = scaledLightness * 2 - m2;
51432 _this._red = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue + 0.3333333333333333) * 255);
51433 _this._green = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue) * 255);
51434 _this._blue = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue - 0.3333333333333333) * 255);
51435 }
51436 };
51437 A.SassColor_SassColor$hwb_toRgb.prototype = {
51438 call$1(hue) {
51439 return A.fuzzyRound((A.SassColor__hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
51440 },
51441 $signature: 42
51442 };
51443 A._ColorFormatEnum.prototype = {
51444 toString$0(_) {
51445 return this._color$_name;
51446 }
51447 };
51448 A.SpanColorFormat.prototype = {};
51449 A.SassFunction.prototype = {
51450 accept$1$1(visitor) {
51451 var t1, t2;
51452 if (!visitor._inspect)
51453 A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value."));
51454 t1 = visitor._serialize$_buffer;
51455 t1.write$1(0, "get-function(");
51456 t2 = this.callable;
51457 visitor._visitQuotedString$1(t2.get$name(t2));
51458 t1.writeCharCode$1(41);
51459 return null;
51460 },
51461 accept$1(visitor) {
51462 return this.accept$1$1(visitor, type$.dynamic);
51463 },
51464 assertFunction$1($name) {
51465 return this;
51466 },
51467 $eq(_, other) {
51468 if (other == null)
51469 return false;
51470 return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
51471 },
51472 get$hashCode(_) {
51473 var t1 = this.callable;
51474 return t1.get$hashCode(t1);
51475 }
51476 };
51477 A.SassList.prototype = {
51478 get$separator(_) {
51479 return this._separator;
51480 },
51481 get$hasBrackets() {
51482 return this._hasBrackets;
51483 },
51484 get$isBlank() {
51485 return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
51486 },
51487 get$asList() {
51488 return this._list$_contents;
51489 },
51490 get$lengthAsList() {
51491 return this._list$_contents.length;
51492 },
51493 SassList$3$brackets(contents, _separator, brackets) {
51494 if (this._separator === B.ListSeparator_undecided_null && this._list$_contents.length > 1)
51495 throw A.wrapException(A.ArgumentError$(string$.A_list, null));
51496 },
51497 accept$1$1(visitor) {
51498 return visitor.visitList$1(this);
51499 },
51500 accept$1(visitor) {
51501 return this.accept$1$1(visitor, type$.dynamic);
51502 },
51503 assertMap$1($name) {
51504 return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
51505 },
51506 tryMap$0() {
51507 return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
51508 },
51509 $eq(_, other) {
51510 var t1, _this = this;
51511 if (other == null)
51512 return false;
51513 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)))
51514 t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
51515 else
51516 t1 = true;
51517 return t1;
51518 },
51519 get$hashCode(_) {
51520 return B.C_ListEquality0.hash$1(this._list$_contents);
51521 }
51522 };
51523 A.SassList_isBlank_closure.prototype = {
51524 call$1(element) {
51525 return element.get$isBlank();
51526 },
51527 $signature: 62
51528 };
51529 A.ListSeparator.prototype = {
51530 toString$0(_) {
51531 return this._list$_name;
51532 }
51533 };
51534 A.SassMap.prototype = {
51535 get$separator(_) {
51536 var t1 = this._map$_contents;
51537 return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null : B.ListSeparator_kWM;
51538 },
51539 get$asList() {
51540 var result = A._setArrayType([], type$.JSArray_Value);
51541 this._map$_contents.forEach$1(0, new A.SassMap_asList_closure(result));
51542 return result;
51543 },
51544 get$lengthAsList() {
51545 var t1 = this._map$_contents;
51546 return t1.get$length(t1);
51547 },
51548 accept$1$1(visitor) {
51549 return visitor.visitMap$1(this);
51550 },
51551 accept$1(visitor) {
51552 return this.accept$1$1(visitor, type$.dynamic);
51553 },
51554 assertMap$1($name) {
51555 return this;
51556 },
51557 tryMap$0() {
51558 return this;
51559 },
51560 $eq(_, other) {
51561 var t1;
51562 if (other == null)
51563 return false;
51564 if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
51565 t1 = this._map$_contents;
51566 t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
51567 } else
51568 t1 = true;
51569 return t1;
51570 },
51571 get$hashCode(_) {
51572 var t1 = this._map$_contents;
51573 return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty5) : B.C_MapEquality.hash$1(t1);
51574 }
51575 };
51576 A.SassMap_asList_closure.prototype = {
51577 call$2(key, value) {
51578 this.result.push(A.SassList$(A._setArrayType([key, value], type$.JSArray_Value), B.ListSeparator_woc, false));
51579 },
51580 $signature: 56
51581 };
51582 A._SassNull.prototype = {
51583 get$isTruthy() {
51584 return false;
51585 },
51586 get$isBlank() {
51587 return true;
51588 },
51589 get$realNull() {
51590 return null;
51591 },
51592 accept$1$1(visitor) {
51593 if (visitor._inspect)
51594 visitor._serialize$_buffer.write$1(0, "null");
51595 return null;
51596 },
51597 accept$1(visitor) {
51598 return this.accept$1$1(visitor, type$.dynamic);
51599 },
51600 unaryNot$0() {
51601 return B.SassBoolean_true;
51602 }
51603 };
51604 A.SassNumber.prototype = {
51605 get$unitString() {
51606 var _this = this;
51607 return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
51608 },
51609 accept$1$1(visitor) {
51610 return visitor.visitNumber$1(this);
51611 },
51612 accept$1(visitor) {
51613 return this.accept$1$1(visitor, type$.dynamic);
51614 },
51615 withoutSlash$0() {
51616 var _this = this;
51617 return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
51618 },
51619 assertNumber$1($name) {
51620 return this;
51621 },
51622 assertNumber$0() {
51623 return this.assertNumber$1(null);
51624 },
51625 assertInt$1($name) {
51626 var t1 = this._number$_value,
51627 integer = A.fuzzyIsInt(t1) ? B.JSNumber_methods.round$0(t1) : null;
51628 if (integer != null)
51629 return integer;
51630 throw A.wrapException(this._number$_exception$2(this.toString$0(0) + " is not an int.", $name));
51631 },
51632 assertInt$0() {
51633 return this.assertInt$1(null);
51634 },
51635 valueInRange$3(min, max, $name) {
51636 var _this = this,
51637 result = A.fuzzyCheckRange(_this._number$_value, min, max);
51638 if (result != null)
51639 return result;
51640 throw A.wrapException(_this._number$_exception$2("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
51641 },
51642 hasCompatibleUnits$1(other) {
51643 var _this = this;
51644 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
51645 return false;
51646 if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
51647 return false;
51648 return _this.isComparableTo$1(other);
51649 },
51650 assertUnit$2(unit, $name) {
51651 if (this.hasUnit$1(unit))
51652 return;
51653 throw A.wrapException(this._number$_exception$2("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
51654 },
51655 assertNoUnits$1($name) {
51656 if (!this.get$hasUnits())
51657 return;
51658 throw A.wrapException(this._number$_exception$2("Expected " + this.toString$0(0) + " to have no units.", $name));
51659 },
51660 convertValueToMatch$3(other, $name, otherName) {
51661 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
51662 },
51663 coerce$3(newNumerators, newDenominators, $name) {
51664 return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
51665 },
51666 coerce$2(newNumerators, newDenominators) {
51667 return this.coerce$3(newNumerators, newDenominators, null);
51668 },
51669 coerceValue$3(newNumerators, newDenominators, $name) {
51670 return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
51671 },
51672 coerceValueToUnit$2(unit, $name) {
51673 var t1 = type$.JSArray_String;
51674 return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
51675 },
51676 coerceValueToMatch$3(other, $name, otherName) {
51677 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
51678 },
51679 coerceValueToMatch$1(other) {
51680 return this.coerceValueToMatch$3(other, null, null);
51681 },
51682 _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
51683 var otherHasUnits, t1, _compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
51684 if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
51685 return _this._number$_value;
51686 otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
51687 if (coerceUnitless)
51688 t1 = !_this.get$hasUnits() || !otherHasUnits;
51689 else
51690 t1 = false;
51691 if (t1)
51692 return _this._number$_value;
51693 _compatibilityException = new A.SassNumber__coerceOrConvertValue__compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
51694 _box_0.value = _this._number$_value;
51695 t1 = _this.get$numeratorUnits(_this);
51696 oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
51697 for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
51698 A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(_compatibilityException));
51699 t1 = _this.get$denominatorUnits(_this);
51700 oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
51701 for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
51702 A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(_compatibilityException));
51703 if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
51704 throw A.wrapException(_compatibilityException.call$0());
51705 return _box_0.value;
51706 },
51707 _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
51708 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
51709 },
51710 isComparableTo$1(other) {
51711 var exception;
51712 if (!this.get$hasUnits() || !other.get$hasUnits())
51713 return true;
51714 try {
51715 this.greaterThan$1(other);
51716 return true;
51717 } catch (exception) {
51718 if (A.unwrapException(exception) instanceof A.SassScriptException)
51719 return false;
51720 else
51721 throw exception;
51722 }
51723 },
51724 greaterThan$1(other) {
51725 if (other instanceof A.SassNumber)
51726 return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51727 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
51728 },
51729 greaterThanOrEquals$1(other) {
51730 if (other instanceof A.SassNumber)
51731 return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51732 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
51733 },
51734 lessThan$1(other) {
51735 if (other instanceof A.SassNumber)
51736 return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51737 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
51738 },
51739 lessThanOrEquals$1(other) {
51740 if (other instanceof A.SassNumber)
51741 return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51742 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
51743 },
51744 modulo$1(other) {
51745 var _this = this;
51746 if (other instanceof A.SassNumber)
51747 return _this.withValue$1(_this._coerceUnits$2(other, _this.get$moduloLikeSass()));
51748 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " % " + other.toString$0(0) + '".'));
51749 },
51750 moduloLikeSass$2(num1, num2) {
51751 var result;
51752 if (num2 > 0)
51753 return B.JSNumber_methods.$mod(num1, num2);
51754 if (num2 === 0)
51755 return 0 / 0;
51756 result = B.JSNumber_methods.$mod(num1, num2);
51757 return result === 0 ? 0 : result + num2;
51758 },
51759 plus$1(other) {
51760 var _this = this;
51761 if (other instanceof A.SassNumber)
51762 return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
51763 if (!(other instanceof A.SassColor))
51764 return _this.super$Value$plus(other);
51765 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51766 },
51767 minus$1(other) {
51768 var _this = this;
51769 if (other instanceof A.SassNumber)
51770 return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
51771 if (!(other instanceof A.SassColor))
51772 return _this.super$Value$minus(other);
51773 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51774 },
51775 times$1(other) {
51776 var _this = this;
51777 if (other instanceof A.SassNumber) {
51778 if (!other.get$hasUnits())
51779 return _this.withValue$1(_this._number$_value * other._number$_value);
51780 return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
51781 }
51782 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".'));
51783 },
51784 dividedBy$1(other) {
51785 var _this = this;
51786 if (other instanceof A.SassNumber) {
51787 if (!other.get$hasUnits())
51788 return _this.withValue$1(_this._number$_value / other._number$_value);
51789 return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
51790 }
51791 return _this.super$Value$dividedBy(other);
51792 },
51793 unaryPlus$0() {
51794 return this;
51795 },
51796 _coerceUnits$1$2(other, operation) {
51797 var t1, exception;
51798 try {
51799 t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
51800 return t1;
51801 } catch (exception) {
51802 if (A.unwrapException(exception) instanceof A.SassScriptException) {
51803 this.coerceValueToMatch$1(other);
51804 throw exception;
51805 } else
51806 throw exception;
51807 }
51808 },
51809 _coerceUnits$2(other, operation) {
51810 return this._coerceUnits$1$2(other, operation, type$.dynamic);
51811 },
51812 multiplyUnits$3(value, otherNumerators, otherDenominators) {
51813 var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
51814 _box_0.value = value;
51815 if (_this.get$numeratorUnits(_this).length === 0) {
51816 if (otherDenominators.length === 0 && !_this._areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
51817 return A.SassNumber_SassNumber$withUnits(value, _this.get$denominatorUnits(_this), otherNumerators);
51818 else if (_this.get$denominatorUnits(_this).length === 0)
51819 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, otherNumerators);
51820 } else if (otherNumerators.length === 0)
51821 if (otherDenominators.length === 0)
51822 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
51823 else if (_this.get$denominatorUnits(_this).length === 0 && !_this._areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
51824 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
51825 newNumerators = A._setArrayType([], type$.JSArray_String);
51826 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
51827 for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
51828 numerator = t1[_i];
51829 A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
51830 }
51831 t1 = _this.get$denominatorUnits(_this);
51832 mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
51833 for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
51834 numerator = otherNumerators[_i];
51835 A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
51836 }
51837 t1 = _box_0.value;
51838 B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
51839 return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
51840 },
51841 _areAnyConvertible$2(units1, units2) {
51842 return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
51843 },
51844 _unitString$2(numerators, denominators) {
51845 var t1;
51846 if (numerators.length === 0) {
51847 t1 = denominators.length;
51848 if (t1 === 0)
51849 return "no units";
51850 if (t1 === 1)
51851 return J.$add$ansx(B.JSArray_methods.get$single(denominators), "^-1");
51852 return "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
51853 }
51854 if (denominators.length === 0)
51855 return B.JSArray_methods.join$1(numerators, "*");
51856 return B.JSArray_methods.join$1(numerators, "*") + "/" + B.JSArray_methods.join$1(denominators, "*");
51857 },
51858 $eq(_, other) {
51859 var _this = this;
51860 if (other == null)
51861 return false;
51862 if (other instanceof A.SassNumber) {
51863 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
51864 return false;
51865 if (!_this.get$hasUnits())
51866 return Math.abs(_this._number$_value - other._number$_value) < $.$get$epsilon();
51867 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))))
51868 return false;
51869 return Math.abs(_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))) < $.$get$epsilon();
51870 } else
51871 return false;
51872 },
51873 get$hashCode(_) {
51874 var _this = this,
51875 t1 = _this.hashCache;
51876 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;
51877 },
51878 _canonicalizeUnitList$1(units) {
51879 var type,
51880 t1 = units.length;
51881 if (t1 === 0)
51882 return units;
51883 if (t1 === 1) {
51884 type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
51885 if (type == null)
51886 t1 = units;
51887 else {
51888 t1 = B.Map_U8AHF.$index(0, type);
51889 t1.toString;
51890 t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
51891 }
51892 return t1;
51893 }
51894 t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
51895 t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
51896 B.JSArray_methods.sort$0(t1);
51897 return t1;
51898 },
51899 _canonicalMultiplier$1(units) {
51900 return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
51901 },
51902 canonicalMultiplierForUnit$1(unit) {
51903 var t1,
51904 innerMap = B.Map_K2BWj.$index(0, unit);
51905 if (innerMap == null)
51906 t1 = 1;
51907 else {
51908 t1 = innerMap.get$values(innerMap);
51909 t1 = 1 / t1.get$first(t1);
51910 }
51911 return t1;
51912 },
51913 _number$_exception$2(message, $name) {
51914 return new A.SassScriptException($name == null ? message : "$" + $name + ": " + message);
51915 }
51916 };
51917 A.SassNumber__coerceOrConvertValue__compatibilityException.prototype = {
51918 call$0() {
51919 var t2, t3, message, t4, type, unit, _this = this,
51920 t1 = _this.other;
51921 if (t1 != null) {
51922 t2 = _this.$this;
51923 t3 = t2.toString$0(0) + " and";
51924 message = new A.StringBuffer(t3);
51925 t4 = _this.otherName;
51926 if (t4 != null)
51927 t3 = message._contents = t3 + (" $" + t4 + ":");
51928 t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
51929 message._contents = t1;
51930 if (!t2.get$hasUnits() || !_this.otherHasUnits)
51931 message._contents = t1 + " (one has units and the other doesn't)";
51932 t1 = message.toString$0(0) + ".";
51933 t2 = _this.name;
51934 return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
51935 } else if (!_this.otherHasUnits) {
51936 t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
51937 t2 = _this.name;
51938 return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
51939 } else {
51940 t1 = _this.newNumerators;
51941 if (t1.length === 1 && _this.newDenominators.length === 0) {
51942 type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
51943 if (type != null) {
51944 t1 = "Expected " + _this.$this.toString$0(0) + " to have ";
51945 t1 = t1 + (B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), B.JSString_methods._codeUnitAt$1(type, 0)) ? "an " + type : "a " + type) + " unit (";
51946 t2 = B.Map_U8AHF.$index(0, type);
51947 t2.toString;
51948 t2 = t1 + B.JSArray_methods.join$1(t2, ", ") + ").";
51949 t1 = _this.name;
51950 return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
51951 }
51952 }
51953 t2 = _this.newDenominators;
51954 unit = A.pluralize("unit", t1.length + t2.length, null);
51955 t3 = _this.$this;
51956 t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
51957 t1 = _this.name;
51958 return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
51959 }
51960 },
51961 $signature: 401
51962 };
51963 A.SassNumber__coerceOrConvertValue_closure.prototype = {
51964 call$1(oldNumerator) {
51965 var factor = A.conversionFactor(this.newNumerator, oldNumerator);
51966 if (factor == null)
51967 return false;
51968 this._box_0.value *= factor;
51969 return true;
51970 },
51971 $signature: 6
51972 };
51973 A.SassNumber__coerceOrConvertValue_closure0.prototype = {
51974 call$0() {
51975 return A.throwExpression(this._compatibilityException.call$0());
51976 },
51977 $signature: 0
51978 };
51979 A.SassNumber__coerceOrConvertValue_closure1.prototype = {
51980 call$1(oldDenominator) {
51981 var factor = A.conversionFactor(this.newDenominator, oldDenominator);
51982 if (factor == null)
51983 return false;
51984 this._box_0.value /= factor;
51985 return true;
51986 },
51987 $signature: 6
51988 };
51989 A.SassNumber__coerceOrConvertValue_closure2.prototype = {
51990 call$0() {
51991 return A.throwExpression(this._compatibilityException.call$0());
51992 },
51993 $signature: 0
51994 };
51995 A.SassNumber_plus_closure.prototype = {
51996 call$2(num1, num2) {
51997 return num1 + num2;
51998 },
51999 $signature: 50
52000 };
52001 A.SassNumber_minus_closure.prototype = {
52002 call$2(num1, num2) {
52003 return num1 - num2;
52004 },
52005 $signature: 50
52006 };
52007 A.SassNumber_multiplyUnits_closure.prototype = {
52008 call$1(denominator) {
52009 var factor = A.conversionFactor(this.numerator, denominator);
52010 if (factor == null)
52011 return false;
52012 this._box_0.value /= factor;
52013 return true;
52014 },
52015 $signature: 6
52016 };
52017 A.SassNumber_multiplyUnits_closure0.prototype = {
52018 call$0() {
52019 return this.newNumerators.push(this.numerator);
52020 },
52021 $signature: 0
52022 };
52023 A.SassNumber_multiplyUnits_closure1.prototype = {
52024 call$1(denominator) {
52025 var factor = A.conversionFactor(this.numerator, denominator);
52026 if (factor == null)
52027 return false;
52028 this._box_0.value /= factor;
52029 return true;
52030 },
52031 $signature: 6
52032 };
52033 A.SassNumber_multiplyUnits_closure2.prototype = {
52034 call$0() {
52035 return this.newNumerators.push(this.numerator);
52036 },
52037 $signature: 0
52038 };
52039 A.SassNumber__areAnyConvertible_closure.prototype = {
52040 call$1(unit1) {
52041 var innerMap = B.Map_K2BWj.$index(0, unit1);
52042 if (innerMap == null)
52043 return B.JSArray_methods.contains$1(this.units2, unit1);
52044 return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
52045 },
52046 $signature: 6
52047 };
52048 A.SassNumber__canonicalizeUnitList_closure.prototype = {
52049 call$1(unit) {
52050 var t1,
52051 type = $.$get$_typesByUnit().$index(0, unit);
52052 if (type == null)
52053 t1 = unit;
52054 else {
52055 t1 = B.Map_U8AHF.$index(0, type);
52056 t1.toString;
52057 t1 = B.JSArray_methods.get$first(t1);
52058 }
52059 return t1;
52060 },
52061 $signature: 5
52062 };
52063 A.SassNumber__canonicalMultiplier_closure.prototype = {
52064 call$2(multiplier, unit) {
52065 return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
52066 },
52067 $signature: 168
52068 };
52069 A.ComplexSassNumber.prototype = {
52070 get$numeratorUnits(_) {
52071 return this._numeratorUnits;
52072 },
52073 get$denominatorUnits(_) {
52074 return this._denominatorUnits;
52075 },
52076 get$hasUnits() {
52077 return true;
52078 },
52079 hasUnit$1(unit) {
52080 return false;
52081 },
52082 compatibleWithUnit$1(unit) {
52083 return false;
52084 },
52085 hasPossiblyCompatibleUnits$1(other) {
52086 throw A.wrapException(A.UnimplementedError$(string$.Comple));
52087 },
52088 withValue$1(value) {
52089 return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
52090 },
52091 withSlash$2(numerator, denominator) {
52092 return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
52093 }
52094 };
52095 A.SingleUnitSassNumber.prototype = {
52096 get$numeratorUnits(_) {
52097 return A.List_List$unmodifiable([this._unit], type$.String);
52098 },
52099 get$denominatorUnits(_) {
52100 return B.List_empty;
52101 },
52102 get$hasUnits() {
52103 return true;
52104 },
52105 withValue$1(value) {
52106 return new A.SingleUnitSassNumber(this._unit, value, null);
52107 },
52108 withSlash$2(numerator, denominator) {
52109 return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
52110 },
52111 hasUnit$1(unit) {
52112 return unit === this._unit;
52113 },
52114 hasCompatibleUnits$1(other) {
52115 return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
52116 },
52117 hasPossiblyCompatibleUnits$1(other) {
52118 var t1, knownCompatibilities, otherUnit;
52119 if (!(other instanceof A.SingleUnitSassNumber))
52120 return false;
52121 t1 = $.$get$_knownCompatibilitiesByUnit();
52122 knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
52123 if (knownCompatibilities == null)
52124 return true;
52125 otherUnit = other._unit.toLowerCase();
52126 return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
52127 },
52128 compatibleWithUnit$1(unit) {
52129 return A.conversionFactor(this._unit, unit) != null;
52130 },
52131 coerceValueToMatch$1(other) {
52132 var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
52133 return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, null, null) : t1;
52134 },
52135 convertValueToMatch$3(other, $name, otherName) {
52136 var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
52137 return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
52138 },
52139 coerce$2(newNumerators, newDenominators) {
52140 var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
52141 return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
52142 },
52143 coerceValue$3(newNumerators, newDenominators, $name) {
52144 var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
52145 return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
52146 },
52147 coerceValueToUnit$2(unit, $name) {
52148 var t1 = this._coerceValueToUnit$1(unit);
52149 return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
52150 },
52151 _coerceToUnit$1(unit) {
52152 var t1 = this._unit;
52153 if (t1 === unit)
52154 return this;
52155 return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
52156 },
52157 _coerceValueToUnit$1(unit) {
52158 return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
52159 },
52160 multiplyUnits$3(value, otherNumerators, otherDenominators) {
52161 var mutableOtherDenominators, t1 = {};
52162 t1.value = value;
52163 t1.newNumerators = otherNumerators;
52164 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
52165 A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
52166 return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
52167 },
52168 unaryMinus$0() {
52169 return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
52170 },
52171 $eq(_, other) {
52172 var factor;
52173 if (other == null)
52174 return false;
52175 if (other instanceof A.SingleUnitSassNumber) {
52176 factor = A.conversionFactor(other._unit, this._unit);
52177 return factor != null && Math.abs(this._number$_value * factor - other._number$_value) < $.$get$epsilon();
52178 } else
52179 return false;
52180 },
52181 get$hashCode(_) {
52182 var _this = this,
52183 t1 = _this.hashCache;
52184 return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
52185 }
52186 };
52187 A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
52188 call$1(factor) {
52189 return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
52190 },
52191 $signature: 407
52192 };
52193 A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
52194 call$1(factor) {
52195 return this.$this._number$_value * factor;
52196 },
52197 $signature: 92
52198 };
52199 A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
52200 call$1(denominator) {
52201 var factor = A.conversionFactor(denominator, this.$this._unit);
52202 if (factor == null)
52203 return false;
52204 this._box_0.value *= factor;
52205 return true;
52206 },
52207 $signature: 6
52208 };
52209 A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
52210 call$0() {
52211 var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
52212 t2 = this._box_0;
52213 B.JSArray_methods.addAll$1(t1, t2.newNumerators);
52214 t2.newNumerators = t1;
52215 },
52216 $signature: 0
52217 };
52218 A.UnitlessSassNumber.prototype = {
52219 get$numeratorUnits(_) {
52220 return B.List_empty;
52221 },
52222 get$denominatorUnits(_) {
52223 return B.List_empty;
52224 },
52225 get$hasUnits() {
52226 return false;
52227 },
52228 withValue$1(value) {
52229 return new A.UnitlessSassNumber(value, null);
52230 },
52231 withSlash$2(numerator, denominator) {
52232 return new A.UnitlessSassNumber(this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
52233 },
52234 hasUnit$1(unit) {
52235 return false;
52236 },
52237 hasCompatibleUnits$1(other) {
52238 return other instanceof A.UnitlessSassNumber;
52239 },
52240 hasPossiblyCompatibleUnits$1(other) {
52241 return other instanceof A.UnitlessSassNumber;
52242 },
52243 compatibleWithUnit$1(unit) {
52244 return true;
52245 },
52246 coerceValueToMatch$1(other) {
52247 return this._number$_value;
52248 },
52249 convertValueToMatch$3(other, $name, otherName) {
52250 return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
52251 },
52252 coerce$2(newNumerators, newDenominators) {
52253 return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
52254 },
52255 coerceValue$3(newNumerators, newDenominators, $name) {
52256 return this._number$_value;
52257 },
52258 coerceValueToUnit$2(unit, $name) {
52259 return this._number$_value;
52260 },
52261 greaterThan$1(other) {
52262 var t1, t2;
52263 if (other instanceof A.SassNumber) {
52264 t1 = this._number$_value;
52265 t2 = other._number$_value;
52266 return t1 > t2 && !(Math.abs(t1 - t2) < $.$get$epsilon()) ? B.SassBoolean_true : B.SassBoolean_false;
52267 }
52268 return this.super$SassNumber$greaterThan(other);
52269 },
52270 greaterThanOrEquals$1(other) {
52271 var t1, t2;
52272 if (other instanceof A.SassNumber) {
52273 t1 = this._number$_value;
52274 t2 = other._number$_value;
52275 return t1 > t2 || Math.abs(t1 - t2) < $.$get$epsilon() ? B.SassBoolean_true : B.SassBoolean_false;
52276 }
52277 return this.super$SassNumber$greaterThanOrEquals(other);
52278 },
52279 lessThan$1(other) {
52280 var t1, t2;
52281 if (other instanceof A.SassNumber) {
52282 t1 = this._number$_value;
52283 t2 = other._number$_value;
52284 return t1 < t2 && !(Math.abs(t1 - t2) < $.$get$epsilon()) ? B.SassBoolean_true : B.SassBoolean_false;
52285 }
52286 return this.super$SassNumber$lessThan(other);
52287 },
52288 lessThanOrEquals$1(other) {
52289 var t1, t2;
52290 if (other instanceof A.SassNumber) {
52291 t1 = this._number$_value;
52292 t2 = other._number$_value;
52293 return t1 < t2 || Math.abs(t1 - t2) < $.$get$epsilon() ? B.SassBoolean_true : B.SassBoolean_false;
52294 }
52295 return this.super$SassNumber$lessThanOrEquals(other);
52296 },
52297 modulo$1(other) {
52298 if (other instanceof A.SassNumber)
52299 return other.withValue$1(this.moduloLikeSass$2(this._number$_value, other._number$_value));
52300 return this.super$SassNumber$modulo(other);
52301 },
52302 plus$1(other) {
52303 if (other instanceof A.SassNumber)
52304 return other.withValue$1(this._number$_value + other._number$_value);
52305 return this.super$SassNumber$plus(other);
52306 },
52307 minus$1(other) {
52308 if (other instanceof A.SassNumber)
52309 return other.withValue$1(this._number$_value - other._number$_value);
52310 return this.super$SassNumber$minus(other);
52311 },
52312 times$1(other) {
52313 if (other instanceof A.SassNumber)
52314 return other.withValue$1(this._number$_value * other._number$_value);
52315 return this.super$SassNumber$times(other);
52316 },
52317 dividedBy$1(other) {
52318 var t1, t2;
52319 if (other instanceof A.SassNumber) {
52320 t1 = this._number$_value / other._number$_value;
52321 if (other.get$hasUnits()) {
52322 t2 = other.get$denominatorUnits(other);
52323 t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
52324 t1 = t2;
52325 } else
52326 t1 = new A.UnitlessSassNumber(t1, null);
52327 return t1;
52328 }
52329 return this.super$SassNumber$dividedBy(other);
52330 },
52331 unaryMinus$0() {
52332 return new A.UnitlessSassNumber(-this._number$_value, null);
52333 },
52334 $eq(_, other) {
52335 if (other == null)
52336 return false;
52337 return other instanceof A.UnitlessSassNumber && Math.abs(this._number$_value - other._number$_value) < $.$get$epsilon();
52338 },
52339 get$hashCode(_) {
52340 var t1 = this.hashCache;
52341 return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
52342 }
52343 };
52344 A.SassString.prototype = {
52345 get$_sassLength() {
52346 var t1, result, _this = this,
52347 value = _this.__SassString__sassLength;
52348 if (value === $) {
52349 t1 = new A.Runes(_this._string$_text);
52350 result = t1.get$length(t1);
52351 A._lateInitializeOnceCheck(_this.__SassString__sassLength, "_sassLength");
52352 _this.__SassString__sassLength = result;
52353 value = result;
52354 }
52355 return value;
52356 },
52357 get$isSpecialNumber() {
52358 var t1, t2;
52359 if (this._hasQuotes)
52360 return false;
52361 t1 = this._string$_text;
52362 if (t1.length < 6)
52363 return false;
52364 t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
52365 if (t2 === 99) {
52366 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
52367 if (t2 === 108) {
52368 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
52369 return false;
52370 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
52371 return false;
52372 if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
52373 return false;
52374 return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
52375 } else if (t2 === 97) {
52376 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
52377 return false;
52378 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
52379 return false;
52380 return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
52381 } else
52382 return false;
52383 } else if (t2 === 118) {
52384 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
52385 return false;
52386 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
52387 return false;
52388 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52389 } else if (t2 === 101) {
52390 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
52391 return false;
52392 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
52393 return false;
52394 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52395 } else if (t2 === 109) {
52396 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
52397 if (t2 === 97) {
52398 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
52399 return false;
52400 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52401 } else if (t2 === 105) {
52402 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
52403 return false;
52404 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52405 } else
52406 return false;
52407 } else
52408 return false;
52409 },
52410 get$isVar() {
52411 if (this._hasQuotes)
52412 return false;
52413 var t1 = this._string$_text;
52414 if (t1.length < 8)
52415 return false;
52416 return (B.JSString_methods._codeUnitAt$1(t1, 0) | 32) === 118 && (B.JSString_methods._codeUnitAt$1(t1, 1) | 32) === 97 && (B.JSString_methods._codeUnitAt$1(t1, 2) | 32) === 114 && B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52417 },
52418 get$isBlank() {
52419 return !this._hasQuotes && this._string$_text.length === 0;
52420 },
52421 accept$1$1(visitor) {
52422 var t1 = visitor._quote && this._hasQuotes,
52423 t2 = this._string$_text;
52424 if (t1)
52425 visitor._visitQuotedString$1(t2);
52426 else
52427 visitor._visitUnquotedString$1(t2);
52428 return null;
52429 },
52430 accept$1(visitor) {
52431 return this.accept$1$1(visitor, type$.dynamic);
52432 },
52433 assertString$1($name) {
52434 return this;
52435 },
52436 plus$1(other) {
52437 var t1 = this._string$_text,
52438 t2 = this._hasQuotes;
52439 if (other instanceof A.SassString)
52440 return new A.SassString(t1 + other._string$_text, t2);
52441 else
52442 return new A.SassString(t1 + A.serializeValue(other, false, true), t2);
52443 },
52444 $eq(_, other) {
52445 if (other == null)
52446 return false;
52447 return other instanceof A.SassString && this._string$_text === other._string$_text;
52448 },
52449 get$hashCode(_) {
52450 var t1 = this._hashCache;
52451 return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
52452 }
52453 };
52454 A._EvaluateVisitor0.prototype = {
52455 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
52456 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
52457 _s20_ = "$name, $module: null",
52458 _s9_ = "sass:meta",
52459 t1 = type$.JSArray_AsyncBuiltInCallable,
52460 metaFunctions = A._setArrayType([A.BuiltInCallable$function("global-variable-exists", _s20_, new A._EvaluateVisitor_closure9(_this), _s9_), A.BuiltInCallable$function("variable-exists", "$name", new A._EvaluateVisitor_closure10(_this), _s9_), A.BuiltInCallable$function("function-exists", _s20_, new A._EvaluateVisitor_closure11(_this), _s9_), A.BuiltInCallable$function("mixin-exists", _s20_, new A._EvaluateVisitor_closure12(_this), _s9_), A.BuiltInCallable$function("content-exists", "", new A._EvaluateVisitor_closure13(_this), _s9_), A.BuiltInCallable$function("module-variables", "$module", new A._EvaluateVisitor_closure14(_this), _s9_), A.BuiltInCallable$function("module-functions", "$module", new A._EvaluateVisitor_closure15(_this), _s9_), A.BuiltInCallable$function("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure16(_this), _s9_), new A.AsyncBuiltInCallable("call", A.ScssParser$("@function call($function, $args...) {", null, _s9_).parseArgumentDeclaration$0(), new A._EvaluateVisitor_closure17(_this))], t1),
52461 metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure18(_this), _s9_)], t1);
52462 t1 = type$.AsyncBuiltInCallable;
52463 t2 = A.List_List$of($.$get$global(), true, t1);
52464 B.JSArray_methods.addAll$1(t2, $.$get$local());
52465 B.JSArray_methods.addAll$1(t2, metaFunctions);
52466 metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
52467 for (t1 = A.List_List$of($.$get$coreModules(), true, type$.BuiltInModule_AsyncBuiltInCallable), t1.push(metaModule), t2 = t1.length, t3 = _this._async_evaluate$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
52468 module = t1[_i];
52469 t3.$indexSet(0, module.url, module);
52470 }
52471 t1 = A._setArrayType([], type$.JSArray_AsyncCallable);
52472 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
52473 B.JSArray_methods.addAll$1(t1, metaFunctions);
52474 for (t2 = t1.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
52475 $function = t1[_i];
52476 t4 = J.get$name$x($function);
52477 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
52478 }
52479 },
52480 run$2(_, importer, node) {
52481 return this.run$body$_EvaluateVisitor(0, importer, node);
52482 },
52483 run$body$_EvaluateVisitor(_, importer, node) {
52484 var $async$goto = 0,
52485 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
52486 $async$returnValue, $async$self = this, t1;
52487 var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52488 if ($async$errorCode === 1)
52489 return A._asyncRethrow($async$result, $async$completer);
52490 while (true)
52491 switch ($async$goto) {
52492 case 0:
52493 // Function start
52494 t1 = type$.nullable_Object;
52495 $async$returnValue = A.runZoned(new A._EvaluateVisitor_run_closure0($async$self, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext0($async$self, node)], t1, t1), type$.FutureOr_EvaluateResult);
52496 // goto return
52497 $async$goto = 1;
52498 break;
52499 case 1:
52500 // return
52501 return A._asyncReturn($async$returnValue, $async$completer);
52502 }
52503 });
52504 return A._asyncStartSync($async$run$2, $async$completer);
52505 },
52506 _async_evaluate$_assertInModule$1$2(value, $name) {
52507 if (value != null)
52508 return value;
52509 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
52510 },
52511 _async_evaluate$_assertInModule$2(value, $name) {
52512 return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
52513 },
52514 _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
52515 return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
52516 },
52517 _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
52518 return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
52519 },
52520 _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
52521 return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
52522 },
52523 _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
52524 var $async$goto = 0,
52525 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
52526 $async$returnValue, $async$self = this, t1, t2, builtInModule;
52527 var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52528 if ($async$errorCode === 1)
52529 return A._asyncRethrow($async$result, $async$completer);
52530 while (true)
52531 switch ($async$goto) {
52532 case 0:
52533 // Function start
52534 builtInModule = $async$self._async_evaluate$_builtInModules.$index(0, url);
52535 $async$goto = builtInModule != null ? 3 : 4;
52536 break;
52537 case 3:
52538 // then
52539 if (configuration instanceof A.ExplicitConfiguration) {
52540 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
52541 t2 = configuration.nodeWithSpan;
52542 throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
52543 }
52544 $async$goto = 5;
52545 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure1(callback, builtInModule), type$.void), $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors);
52546 case 5:
52547 // returning from await.
52548 // goto return
52549 $async$goto = 1;
52550 break;
52551 case 4:
52552 // join
52553 $async$goto = 6;
52554 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);
52555 case 6:
52556 // returning from await.
52557 case 1:
52558 // return
52559 return A._asyncReturn($async$returnValue, $async$completer);
52560 }
52561 });
52562 return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
52563 },
52564 _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
52565 return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
52566 },
52567 _async_evaluate$_execute$2(importer, stylesheet) {
52568 return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
52569 },
52570 _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
52571 var $async$goto = 0,
52572 $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
52573 $async$returnValue, $async$self = this, currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
52574 var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52575 if ($async$errorCode === 1)
52576 return A._asyncRethrow($async$result, $async$completer);
52577 while (true)
52578 switch ($async$goto) {
52579 case 0:
52580 // Function start
52581 url = stylesheet.span.file.url;
52582 t1 = $async$self._async_evaluate$_modules;
52583 alreadyLoaded = t1.$index(0, url);
52584 if (alreadyLoaded != null) {
52585 t1 = configuration == null;
52586 currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
52587 if (currentConfiguration instanceof A.ExplicitConfiguration) {
52588 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
52589 t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
52590 existingSpan = t2 == null ? null : J.get$span$z(t2);
52591 if (t1) {
52592 t1 = currentConfiguration.nodeWithSpan;
52593 configurationSpan = t1.get$span(t1);
52594 } else
52595 configurationSpan = null;
52596 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
52597 if (existingSpan != null)
52598 t1.$indexSet(0, existingSpan, "original load");
52599 if (configurationSpan != null)
52600 t1.$indexSet(0, configurationSpan, "configuration");
52601 throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
52602 }
52603 $async$returnValue = alreadyLoaded;
52604 // goto return
52605 $async$goto = 1;
52606 break;
52607 }
52608 environment = A.AsyncEnvironment$();
52609 css = A._Cell$();
52610 extensionStore = A.ExtensionStore$();
52611 $async$goto = 3;
52612 return A._asyncAwait($async$self._async_evaluate$_withEnvironment$1$2(environment, new A._EvaluateVisitor__execute_closure0($async$self, importer, stylesheet, extensionStore, configuration, css), type$.Null), $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan);
52613 case 3:
52614 // returning from await.
52615 module = environment.toModule$2(css._readLocal$0(), extensionStore);
52616 if (url != null) {
52617 t1.$indexSet(0, url, module);
52618 if (nodeWithSpan != null)
52619 $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
52620 }
52621 $async$returnValue = module;
52622 // goto return
52623 $async$goto = 1;
52624 break;
52625 case 1:
52626 // return
52627 return A._asyncReturn($async$returnValue, $async$completer);
52628 }
52629 });
52630 return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
52631 },
52632 _async_evaluate$_addOutOfOrderImports$0() {
52633 var t1, t2, _this = this, _s5_ = "_root",
52634 _s13_ = "_endOfImports",
52635 outOfOrderImports = _this._async_evaluate$_outOfOrderImports;
52636 if (outOfOrderImports == null)
52637 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
52638 t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
52639 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode);
52640 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
52641 t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
52642 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
52643 return t1;
52644 },
52645 _async_evaluate$_combineCss$2$clone(root, clone) {
52646 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
52647 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure2())) {
52648 selectors = root.get$extensionStore().get$simpleSelectors();
52649 unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure3(selectors)));
52650 if (unsatisfiedExtension != null)
52651 _this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
52652 return root.get$css(root);
52653 }
52654 sortedModules = _this._async_evaluate$_topologicalModules$1(root);
52655 if (clone) {
52656 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<AsyncCallable>>");
52657 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure4(), t1), true, t1._eval$1("ListIterable.E"));
52658 }
52659 _this._async_evaluate$_extendModules$1(sortedModules);
52660 t1 = type$.JSArray_CssNode;
52661 imports = A._setArrayType([], t1);
52662 css = A._setArrayType([], t1);
52663 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
52664 t3 = t2._as(t1.__internal$_current);
52665 t3 = t3.get$css(t3);
52666 statements = t3.get$children(t3);
52667 index = _this._async_evaluate$_indexAfterImports$1(statements);
52668 t3 = J.getInterceptor$ax(statements);
52669 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
52670 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
52671 }
52672 t1 = B.JSArray_methods.$add(imports, css);
52673 t2 = root.get$css(root);
52674 return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
52675 },
52676 _async_evaluate$_combineCss$1(root) {
52677 return this._async_evaluate$_combineCss$2$clone(root, false);
52678 },
52679 _async_evaluate$_extendModules$1(sortedModules) {
52680 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
52681 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
52682 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
52683 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
52684 t2 = t1.get$current(t1);
52685 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
52686 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
52687 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
52688 t3 = t2.get$extensionStore().get$addExtensions();
52689 if ($self != null)
52690 t3.call$1($self);
52691 t3 = t2.get$extensionStore();
52692 if (t3.get$isEmpty(t3))
52693 continue;
52694 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
52695 upstream = t3[_i];
52696 url = upstream.get$url(upstream);
52697 if (url == null)
52698 continue;
52699 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure2()), t2.get$extensionStore());
52700 }
52701 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
52702 }
52703 if (unsatisfiedExtensions._collection$_length !== 0)
52704 this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
52705 },
52706 _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
52707 throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
52708 },
52709 _async_evaluate$_topologicalModules$1(root) {
52710 var t1 = type$.Module_AsyncCallable,
52711 sorted = A.QueueList$(null, t1);
52712 new A._EvaluateVisitor__topologicalModules_visitModule0(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
52713 return sorted;
52714 },
52715 _async_evaluate$_indexAfterImports$1(statements) {
52716 var t1, t2, t3, lastImport, i, statement;
52717 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
52718 statement = t1.$index(statements, i);
52719 if (t3._is(statement))
52720 lastImport = i;
52721 else if (!t2._is(statement))
52722 break;
52723 }
52724 return lastImport + 1;
52725 },
52726 visitStylesheet$1(node) {
52727 return this.visitStylesheet$body$_EvaluateVisitor(node);
52728 },
52729 visitStylesheet$body$_EvaluateVisitor(node) {
52730 var $async$goto = 0,
52731 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52732 $async$returnValue, $async$self = this, t1, t2, _i;
52733 var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52734 if ($async$errorCode === 1)
52735 return A._asyncRethrow($async$result, $async$completer);
52736 while (true)
52737 switch ($async$goto) {
52738 case 0:
52739 // Function start
52740 t1 = node.children, t2 = t1.length, _i = 0;
52741 case 3:
52742 // for condition
52743 if (!(_i < t2)) {
52744 // goto after for
52745 $async$goto = 5;
52746 break;
52747 }
52748 $async$goto = 6;
52749 return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
52750 case 6:
52751 // returning from await.
52752 case 4:
52753 // for update
52754 ++_i;
52755 // goto for condition
52756 $async$goto = 3;
52757 break;
52758 case 5:
52759 // after for
52760 $async$returnValue = null;
52761 // goto return
52762 $async$goto = 1;
52763 break;
52764 case 1:
52765 // return
52766 return A._asyncReturn($async$returnValue, $async$completer);
52767 }
52768 });
52769 return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
52770 },
52771 visitAtRootRule$1(node) {
52772 return this.visitAtRootRule$body$_EvaluateVisitor(node);
52773 },
52774 visitAtRootRule$body$_EvaluateVisitor(node) {
52775 var $async$goto = 0,
52776 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52777 $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
52778 var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52779 if ($async$errorCode === 1)
52780 return A._asyncRethrow($async$result, $async$completer);
52781 while (true)
52782 switch ($async$goto) {
52783 case 0:
52784 // Function start
52785 unparsedQuery = node.query;
52786 $async$goto = unparsedQuery != null ? 3 : 5;
52787 break;
52788 case 3:
52789 // then
52790 $async$temp1 = unparsedQuery;
52791 $async$temp2 = A;
52792 $async$goto = 6;
52793 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
52794 case 6:
52795 // returning from await.
52796 $async$result = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure2($async$self, $async$result));
52797 // goto join
52798 $async$goto = 4;
52799 break;
52800 case 5:
52801 // else
52802 $async$result = B.AtRootQuery_UsS;
52803 case 4:
52804 // join
52805 query = $async$result;
52806 $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
52807 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
52808 for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
52809 if (!query.excludes$1($parent))
52810 included.push($parent);
52811 grandparent = $parent._parent;
52812 if (grandparent == null)
52813 throw A.wrapException(A.StateError$(string$.CssNod));
52814 }
52815 root = $async$self._async_evaluate$_trimIncluded$1(included);
52816 $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
52817 break;
52818 case 7:
52819 // then
52820 $async$goto = 9;
52821 return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3($async$self, node), node.hasDeclarations, type$.Null), $async$visitAtRootRule$1);
52822 case 9:
52823 // returning from await.
52824 $async$returnValue = null;
52825 // goto return
52826 $async$goto = 1;
52827 break;
52828 case 8:
52829 // join
52830 if (included.length !== 0) {
52831 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
52832 for (t1 = A.SubListIterable$(included, 1, null, type$.ModifiableCssParentNode), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
52833 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
52834 copy.addChild$1(outerCopy);
52835 }
52836 root.addChild$1(outerCopy);
52837 } else
52838 innerCopy = root;
52839 $async$goto = 10;
52840 return A._asyncAwait($async$self._async_evaluate$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4($async$self, node)), $async$visitAtRootRule$1);
52841 case 10:
52842 // returning from await.
52843 $async$returnValue = null;
52844 // goto return
52845 $async$goto = 1;
52846 break;
52847 case 1:
52848 // return
52849 return A._asyncReturn($async$returnValue, $async$completer);
52850 }
52851 });
52852 return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
52853 },
52854 _async_evaluate$_trimIncluded$1(nodes) {
52855 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
52856 _s22_ = " to be an ancestor of ";
52857 if (nodes.length === 0)
52858 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
52859 $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
52860 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
52861 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
52862 grandparent = $parent._parent;
52863 if (grandparent == null)
52864 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
52865 }
52866 if (innermostContiguous == null)
52867 innermostContiguous = i;
52868 grandparent = $parent._parent;
52869 if (grandparent == null)
52870 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
52871 }
52872 if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
52873 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
52874 innermostContiguous.toString;
52875 root = nodes[innermostContiguous];
52876 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
52877 return root;
52878 },
52879 _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
52880 var _this = this,
52881 scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
52882 t1 = query._all || query._at_root_query$_rule;
52883 if (t1 !== query.include)
52884 scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
52885 if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
52886 scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
52887 if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
52888 scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
52889 return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
52890 },
52891 visitContentBlock$1(node) {
52892 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
52893 },
52894 visitContentRule$1(node) {
52895 return this.visitContentRule$body$_EvaluateVisitor(node);
52896 },
52897 visitContentRule$body$_EvaluateVisitor(node) {
52898 var $async$goto = 0,
52899 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52900 $async$returnValue, $async$self = this, $content;
52901 var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52902 if ($async$errorCode === 1)
52903 return A._asyncRethrow($async$result, $async$completer);
52904 while (true)
52905 switch ($async$goto) {
52906 case 0:
52907 // Function start
52908 $content = $async$self._async_evaluate$_environment._async_environment$_content;
52909 if ($content == null) {
52910 $async$returnValue = null;
52911 // goto return
52912 $async$goto = 1;
52913 break;
52914 }
52915 $async$goto = 3;
52916 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);
52917 case 3:
52918 // returning from await.
52919 $async$returnValue = null;
52920 // goto return
52921 $async$goto = 1;
52922 break;
52923 case 1:
52924 // return
52925 return A._asyncReturn($async$returnValue, $async$completer);
52926 }
52927 });
52928 return A._asyncStartSync($async$visitContentRule$1, $async$completer);
52929 },
52930 visitDebugRule$1(node) {
52931 return this.visitDebugRule$body$_EvaluateVisitor(node);
52932 },
52933 visitDebugRule$body$_EvaluateVisitor(node) {
52934 var $async$goto = 0,
52935 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52936 $async$returnValue, $async$self = this, value, t1;
52937 var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52938 if ($async$errorCode === 1)
52939 return A._asyncRethrow($async$result, $async$completer);
52940 while (true)
52941 switch ($async$goto) {
52942 case 0:
52943 // Function start
52944 $async$goto = 3;
52945 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
52946 case 3:
52947 // returning from await.
52948 value = $async$result;
52949 t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
52950 $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
52951 $async$returnValue = null;
52952 // goto return
52953 $async$goto = 1;
52954 break;
52955 case 1:
52956 // return
52957 return A._asyncReturn($async$returnValue, $async$completer);
52958 }
52959 });
52960 return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
52961 },
52962 visitDeclaration$1(node) {
52963 return this.visitDeclaration$body$_EvaluateVisitor(node);
52964 },
52965 visitDeclaration$body$_EvaluateVisitor(node) {
52966 var $async$goto = 0,
52967 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52968 $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
52969 var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52970 if ($async$errorCode === 1)
52971 return A._asyncRethrow($async$result, $async$completer);
52972 while (true)
52973 switch ($async$goto) {
52974 case 0:
52975 // Function start
52976 if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
52977 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
52978 t1 = node.name;
52979 $async$goto = 3;
52980 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
52981 case 3:
52982 // returning from await.
52983 $name = $async$result;
52984 t2 = $async$self._async_evaluate$_declarationName;
52985 if (t2 != null)
52986 $name = new A.CssValue(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String);
52987 t2 = node.value;
52988 $async$goto = 4;
52989 return A._asyncAwait(A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure1($async$self)), $async$visitDeclaration$1);
52990 case 4:
52991 // returning from await.
52992 cssValue = $async$result;
52993 t3 = cssValue != null;
52994 if (t3)
52995 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
52996 else
52997 t4 = false;
52998 if (t4) {
52999 t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
53000 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
53001 if ($async$self._async_evaluate$_sourceMap) {
53002 t2 = A.NullableExtension_andThen(t2, $async$self.get$_async_evaluate$_expressionNode());
53003 t2 = t2 == null ? null : J.get$span$z(t2);
53004 } else
53005 t2 = null;
53006 t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
53007 } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
53008 throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
53009 children = node.children;
53010 $async$goto = children != null ? 5 : 6;
53011 break;
53012 case 5:
53013 // then
53014 oldDeclarationName = $async$self._async_evaluate$_declarationName;
53015 $async$self._async_evaluate$_declarationName = $name.get$value($name);
53016 $async$goto = 7;
53017 return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure2($async$self, children), node.hasDeclarations, type$.Null), $async$visitDeclaration$1);
53018 case 7:
53019 // returning from await.
53020 $async$self._async_evaluate$_declarationName = oldDeclarationName;
53021 case 6:
53022 // join
53023 $async$returnValue = null;
53024 // goto return
53025 $async$goto = 1;
53026 break;
53027 case 1:
53028 // return
53029 return A._asyncReturn($async$returnValue, $async$completer);
53030 }
53031 });
53032 return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
53033 },
53034 visitEachRule$1(node) {
53035 return this.visitEachRule$body$_EvaluateVisitor(node);
53036 },
53037 visitEachRule$body$_EvaluateVisitor(node) {
53038 var $async$goto = 0,
53039 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53040 $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
53041 var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53042 if ($async$errorCode === 1)
53043 return A._asyncRethrow($async$result, $async$completer);
53044 while (true)
53045 switch ($async$goto) {
53046 case 0:
53047 // Function start
53048 t1 = node.list;
53049 $async$goto = 3;
53050 return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
53051 case 3:
53052 // returning from await.
53053 list = $async$result;
53054 nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
53055 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure2($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure3($async$self, node, nodeWithSpan);
53056 $async$returnValue = $async$self._async_evaluate$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure4($async$self, list, setVariables, node), true, type$.nullable_Value);
53057 // goto return
53058 $async$goto = 1;
53059 break;
53060 case 1:
53061 // return
53062 return A._asyncReturn($async$returnValue, $async$completer);
53063 }
53064 });
53065 return A._asyncStartSync($async$visitEachRule$1, $async$completer);
53066 },
53067 _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
53068 var i,
53069 list = value.get$asList(),
53070 t1 = variables.length,
53071 minLength = Math.min(t1, list.length);
53072 for (i = 0; i < minLength; ++i)
53073 this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
53074 for (i = minLength; i < t1; ++i)
53075 this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
53076 },
53077 visitErrorRule$1(node) {
53078 return this.visitErrorRule$body$_EvaluateVisitor(node);
53079 },
53080 visitErrorRule$body$_EvaluateVisitor(node) {
53081 var $async$goto = 0,
53082 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
53083 $async$self = this, $async$temp1, $async$temp2;
53084 var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53085 if ($async$errorCode === 1)
53086 return A._asyncRethrow($async$result, $async$completer);
53087 while (true)
53088 switch ($async$goto) {
53089 case 0:
53090 // Function start
53091 $async$temp1 = A;
53092 $async$temp2 = J;
53093 $async$goto = 2;
53094 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
53095 case 2:
53096 // returning from await.
53097 throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
53098 // implicit return
53099 return A._asyncReturn(null, $async$completer);
53100 }
53101 });
53102 return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
53103 },
53104 visitExtendRule$1(node) {
53105 return this.visitExtendRule$body$_EvaluateVisitor(node);
53106 },
53107 visitExtendRule$body$_EvaluateVisitor(node) {
53108 var $async$goto = 0,
53109 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53110 $async$returnValue, $async$self = this, targetText, t1, t2, t3, _i, t4, styleRule;
53111 var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53112 if ($async$errorCode === 1)
53113 return A._asyncRethrow($async$result, $async$completer);
53114 while (true)
53115 switch ($async$goto) {
53116 case 0:
53117 // Function start
53118 styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
53119 if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
53120 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
53121 $async$goto = 3;
53122 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
53123 case 3:
53124 // returning from await.
53125 targetText = $async$result;
53126 for (t1 = $async$self._async_evaluate$_adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure0($async$self, targetText)).components, t2 = t1.length, t3 = type$.CompoundSelector, _i = 0; _i < t2; ++_i) {
53127 t4 = t1[_i].components;
53128 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector))
53129 throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.get$span(targetText)));
53130 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
53131 if (t4.length !== 1)
53132 throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
53133 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, $async$self._async_evaluate$_mediaQueries);
53134 }
53135 $async$returnValue = null;
53136 // goto return
53137 $async$goto = 1;
53138 break;
53139 case 1:
53140 // return
53141 return A._asyncReturn($async$returnValue, $async$completer);
53142 }
53143 });
53144 return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
53145 },
53146 visitAtRule$1(node) {
53147 return this.visitAtRule$body$_EvaluateVisitor(node);
53148 },
53149 visitAtRule$body$_EvaluateVisitor(node) {
53150 var $async$goto = 0,
53151 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53152 $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
53153 var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53154 if ($async$errorCode === 1)
53155 return A._asyncRethrow($async$result, $async$completer);
53156 while (true)
53157 switch ($async$goto) {
53158 case 0:
53159 // Function start
53160 if ($async$self._async_evaluate$_declarationName != null)
53161 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
53162 $async$goto = 3;
53163 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
53164 case 3:
53165 // returning from await.
53166 $name = $async$result;
53167 $async$goto = 4;
53168 return A._asyncAwait(A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self)), $async$visitAtRule$1);
53169 case 4:
53170 // returning from await.
53171 value = $async$result;
53172 children = node.children;
53173 if (children == null) {
53174 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
53175 $async$returnValue = null;
53176 // goto return
53177 $async$goto = 1;
53178 break;
53179 }
53180 wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
53181 wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
53182 if (A.unvendor($name.get$value($name)) === "keyframes")
53183 $async$self._async_evaluate$_inKeyframes = true;
53184 else
53185 $async$self._async_evaluate$_inUnknownAtRule = true;
53186 $async$goto = 5;
53187 return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure3($async$self, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure4(), type$.ModifiableCssAtRule, type$.Null), $async$visitAtRule$1);
53188 case 5:
53189 // returning from await.
53190 $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
53191 $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
53192 $async$returnValue = null;
53193 // goto return
53194 $async$goto = 1;
53195 break;
53196 case 1:
53197 // return
53198 return A._asyncReturn($async$returnValue, $async$completer);
53199 }
53200 });
53201 return A._asyncStartSync($async$visitAtRule$1, $async$completer);
53202 },
53203 visitForRule$1(node) {
53204 return this.visitForRule$body$_EvaluateVisitor(node);
53205 },
53206 visitForRule$body$_EvaluateVisitor(node) {
53207 var $async$goto = 0,
53208 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53209 $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
53210 var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53211 if ($async$errorCode === 1)
53212 return A._asyncRethrow($async$result, $async$completer);
53213 while (true)
53214 switch ($async$goto) {
53215 case 0:
53216 // Function start
53217 t1 = {};
53218 t2 = node.from;
53219 t3 = type$.SassNumber;
53220 $async$goto = 3;
53221 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
53222 case 3:
53223 // returning from await.
53224 fromNumber = $async$result;
53225 t4 = node.to;
53226 $async$goto = 4;
53227 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
53228 case 4:
53229 // returning from await.
53230 toNumber = $async$result;
53231 from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
53232 to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
53233 direction = from > to ? -1 : 1;
53234 if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
53235 $async$returnValue = null;
53236 // goto return
53237 $async$goto = 1;
53238 break;
53239 }
53240 $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);
53241 // goto return
53242 $async$goto = 1;
53243 break;
53244 case 1:
53245 // return
53246 return A._asyncReturn($async$returnValue, $async$completer);
53247 }
53248 });
53249 return A._asyncStartSync($async$visitForRule$1, $async$completer);
53250 },
53251 visitForwardRule$1(node) {
53252 return this.visitForwardRule$body$_EvaluateVisitor(node);
53253 },
53254 visitForwardRule$body$_EvaluateVisitor(node) {
53255 var $async$goto = 0,
53256 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53257 $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
53258 var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53259 if ($async$errorCode === 1)
53260 return A._asyncRethrow($async$result, $async$completer);
53261 while (true)
53262 switch ($async$goto) {
53263 case 0:
53264 // Function start
53265 oldConfiguration = $async$self._async_evaluate$_configuration;
53266 adjustedConfiguration = oldConfiguration.throughForward$1(node);
53267 t1 = node.configuration;
53268 t2 = t1.length;
53269 t3 = node.url;
53270 $async$goto = t2 !== 0 ? 3 : 5;
53271 break;
53272 case 3:
53273 // then
53274 $async$goto = 6;
53275 return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
53276 case 6:
53277 // returning from await.
53278 newConfiguration = $async$result;
53279 $async$goto = 7;
53280 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);
53281 case 7:
53282 // returning from await.
53283 t3 = type$.String;
53284 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
53285 for (_i = 0; _i < t2; ++_i) {
53286 variable = t1[_i];
53287 if (!variable.isGuarded)
53288 t4.add$1(0, variable.name);
53289 }
53290 $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
53291 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
53292 for (_i = 0; _i < t2; ++_i)
53293 t3.add$1(0, t1[_i].name);
53294 for (t1 = newConfiguration._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
53295 $name = t2[_i];
53296 if (!t3.contains$1(0, $name))
53297 if (!t1.get$isEmpty(t1))
53298 t1.remove$1(0, $name);
53299 }
53300 $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
53301 // goto join
53302 $async$goto = 4;
53303 break;
53304 case 5:
53305 // else
53306 $async$self._async_evaluate$_configuration = adjustedConfiguration;
53307 $async$goto = 8;
53308 return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
53309 case 8:
53310 // returning from await.
53311 $async$self._async_evaluate$_configuration = oldConfiguration;
53312 case 4:
53313 // join
53314 $async$returnValue = null;
53315 // goto return
53316 $async$goto = 1;
53317 break;
53318 case 1:
53319 // return
53320 return A._asyncReturn($async$returnValue, $async$completer);
53321 }
53322 });
53323 return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
53324 },
53325 _async_evaluate$_addForwardConfiguration$2(configuration, node) {
53326 return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
53327 },
53328 _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
53329 var $async$goto = 0,
53330 $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
53331 $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
53332 var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53333 if ($async$errorCode === 1)
53334 return A._asyncRethrow($async$result, $async$completer);
53335 while (true)
53336 switch ($async$goto) {
53337 case 0:
53338 // Function start
53339 t1 = configuration._values;
53340 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
53341 t2 = node.configuration, t3 = t2.length, _i = 0;
53342 case 3:
53343 // for condition
53344 if (!(_i < t3)) {
53345 // goto after for
53346 $async$goto = 5;
53347 break;
53348 }
53349 variable = t2[_i];
53350 if (variable.isGuarded) {
53351 t4 = variable.name;
53352 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
53353 if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
53354 newValues.$indexSet(0, t4, t5);
53355 // goto for update
53356 $async$goto = 4;
53357 break;
53358 }
53359 }
53360 t4 = variable.expression;
53361 variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t4);
53362 $async$temp1 = newValues;
53363 $async$temp2 = variable.name;
53364 $async$temp3 = A;
53365 $async$goto = 6;
53366 return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate$_addForwardConfiguration$2);
53367 case 6:
53368 // returning from await.
53369 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
53370 case 4:
53371 // for update
53372 ++_i;
53373 // goto for condition
53374 $async$goto = 3;
53375 break;
53376 case 5:
53377 // after for
53378 if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
53379 $async$returnValue = new A.ExplicitConfiguration(node, newValues);
53380 // goto return
53381 $async$goto = 1;
53382 break;
53383 } else {
53384 $async$returnValue = new A.Configuration(newValues);
53385 // goto return
53386 $async$goto = 1;
53387 break;
53388 }
53389 case 1:
53390 // return
53391 return A._asyncReturn($async$returnValue, $async$completer);
53392 }
53393 });
53394 return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
53395 },
53396 _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
53397 var t1, t2, t3, t4, _i, $name;
53398 for (t1 = upstream._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
53399 $name = t2[_i];
53400 if (except.contains$1(0, $name))
53401 continue;
53402 if (!t4.containsKey$1($name))
53403 if (!t1.get$isEmpty(t1))
53404 t1.remove$1(0, $name);
53405 }
53406 },
53407 _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
53408 var t1, entry;
53409 if (!(configuration instanceof A.ExplicitConfiguration))
53410 return;
53411 t1 = configuration._values;
53412 if (t1.get$isEmpty(t1))
53413 return;
53414 t1 = t1.get$entries(t1);
53415 entry = t1.get$first(t1);
53416 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
53417 throw A.wrapException(this._async_evaluate$_exception$2(t1, entry.value.configurationSpan));
53418 },
53419 _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
53420 return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
53421 },
53422 visitFunctionRule$1(node) {
53423 return this.visitFunctionRule$body$_EvaluateVisitor(node);
53424 },
53425 visitFunctionRule$body$_EvaluateVisitor(node) {
53426 var $async$goto = 0,
53427 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53428 $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
53429 var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53430 if ($async$errorCode === 1)
53431 return A._asyncRethrow($async$result, $async$completer);
53432 while (true)
53433 switch ($async$goto) {
53434 case 0:
53435 // Function start
53436 t1 = $async$self._async_evaluate$_environment;
53437 t2 = t1.closure$0();
53438 t3 = $async$self._async_evaluate$_inDependency;
53439 t4 = t1._async_environment$_functions;
53440 index = t4.length - 1;
53441 t5 = node.name;
53442 t1._async_environment$_functionIndices.$indexSet(0, t5, index);
53443 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
53444 $async$returnValue = null;
53445 // goto return
53446 $async$goto = 1;
53447 break;
53448 case 1:
53449 // return
53450 return A._asyncReturn($async$returnValue, $async$completer);
53451 }
53452 });
53453 return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
53454 },
53455 visitIfRule$1(node) {
53456 return this.visitIfRule$body$_EvaluateVisitor(node);
53457 },
53458 visitIfRule$body$_EvaluateVisitor(node) {
53459 var $async$goto = 0,
53460 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53461 $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
53462 var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53463 if ($async$errorCode === 1)
53464 return A._asyncRethrow($async$result, $async$completer);
53465 while (true)
53466 switch ($async$goto) {
53467 case 0:
53468 // Function start
53469 _box_0 = {};
53470 _box_0.clause = node.lastClause;
53471 t1 = node.clauses, t2 = t1.length, _i = 0;
53472 case 3:
53473 // for condition
53474 if (!(_i < t2)) {
53475 // goto after for
53476 $async$goto = 5;
53477 break;
53478 }
53479 clauseToCheck = t1[_i];
53480 $async$goto = 6;
53481 return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
53482 case 6:
53483 // returning from await.
53484 if ($async$result.get$isTruthy()) {
53485 _box_0.clause = clauseToCheck;
53486 // goto after for
53487 $async$goto = 5;
53488 break;
53489 }
53490 case 4:
53491 // for update
53492 ++_i;
53493 // goto for condition
53494 $async$goto = 3;
53495 break;
53496 case 5:
53497 // after for
53498 t1 = _box_0.clause;
53499 if (t1 == null) {
53500 $async$returnValue = null;
53501 // goto return
53502 $async$goto = 1;
53503 break;
53504 }
53505 $async$goto = 7;
53506 return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure0(_box_0, $async$self), true, t1.hasDeclarations, type$.nullable_Value), $async$visitIfRule$1);
53507 case 7:
53508 // returning from await.
53509 $async$returnValue = $async$result;
53510 // goto return
53511 $async$goto = 1;
53512 break;
53513 case 1:
53514 // return
53515 return A._asyncReturn($async$returnValue, $async$completer);
53516 }
53517 });
53518 return A._asyncStartSync($async$visitIfRule$1, $async$completer);
53519 },
53520 visitImportRule$1(node) {
53521 return this.visitImportRule$body$_EvaluateVisitor(node);
53522 },
53523 visitImportRule$body$_EvaluateVisitor(node) {
53524 var $async$goto = 0,
53525 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53526 $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
53527 var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53528 if ($async$errorCode === 1)
53529 return A._asyncRethrow($async$result, $async$completer);
53530 while (true)
53531 switch ($async$goto) {
53532 case 0:
53533 // Function start
53534 t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
53535 case 3:
53536 // for condition
53537 if (!(_i < t2)) {
53538 // goto after for
53539 $async$goto = 5;
53540 break;
53541 }
53542 $import = t1[_i];
53543 $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
53544 break;
53545 case 6:
53546 // then
53547 $async$goto = 9;
53548 return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
53549 case 9:
53550 // returning from await.
53551 // goto join
53552 $async$goto = 7;
53553 break;
53554 case 8:
53555 // else
53556 $async$goto = 10;
53557 return A._asyncAwait($async$self._async_evaluate$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
53558 case 10:
53559 // returning from await.
53560 case 7:
53561 // join
53562 case 4:
53563 // for update
53564 ++_i;
53565 // goto for condition
53566 $async$goto = 3;
53567 break;
53568 case 5:
53569 // after for
53570 $async$returnValue = null;
53571 // goto return
53572 $async$goto = 1;
53573 break;
53574 case 1:
53575 // return
53576 return A._asyncReturn($async$returnValue, $async$completer);
53577 }
53578 });
53579 return A._asyncStartSync($async$visitImportRule$1, $async$completer);
53580 },
53581 _async_evaluate$_visitDynamicImport$1($import) {
53582 return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
53583 },
53584 _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
53585 return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
53586 },
53587 _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
53588 return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
53589 },
53590 _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
53591 return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
53592 },
53593 _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
53594 var $async$goto = 0,
53595 $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet),
53596 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
53597 var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53598 if ($async$errorCode === 1) {
53599 $async$currentError = $async$result;
53600 $async$goto = $async$handler;
53601 }
53602 while (true)
53603 switch ($async$goto) {
53604 case 0:
53605 // Function start
53606 baseUrl = baseUrl;
53607 $async$handler = 4;
53608 $async$self._async_evaluate$_importSpan = span;
53609 importCache = $async$self._async_evaluate$_importCache;
53610 $async$goto = importCache != null ? 7 : 9;
53611 break;
53612 case 7:
53613 // then
53614 if (baseUrl == null)
53615 baseUrl = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span.file.url;
53616 $async$goto = 10;
53617 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);
53618 case 10:
53619 // returning from await.
53620 tuple = $async$result;
53621 $async$goto = tuple != null ? 11 : 12;
53622 break;
53623 case 11:
53624 // then
53625 isDependency = $async$self._async_evaluate$_inDependency || tuple.item1 !== $async$self._async_evaluate$_importer;
53626 t1 = tuple.item1;
53627 t2 = tuple.item2;
53628 t3 = tuple.item3;
53629 t4 = $async$self._async_evaluate$_quietDeps && isDependency;
53630 $async$goto = 13;
53631 return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
53632 case 13:
53633 // returning from await.
53634 stylesheet = $async$result;
53635 if (stylesheet != null) {
53636 $async$self._async_evaluate$_loadedUrls.add$1(0, tuple.item2);
53637 t1 = tuple.item1;
53638 $async$returnValue = new A._LoadedStylesheet0(stylesheet, t1, isDependency);
53639 $async$next = [1];
53640 // goto finally
53641 $async$goto = 5;
53642 break;
53643 }
53644 case 12:
53645 // join
53646 // goto join
53647 $async$goto = 8;
53648 break;
53649 case 9:
53650 // else
53651 $async$goto = 14;
53652 return A._asyncAwait($async$self._async_evaluate$_importLikeNode$2(url, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
53653 case 14:
53654 // returning from await.
53655 result = $async$result;
53656 if (result != null) {
53657 t1 = $async$self._async_evaluate$_loadedUrls;
53658 A.NullableExtension_andThen(result.stylesheet.span.file.url, t1.get$add(t1));
53659 $async$returnValue = result;
53660 $async$next = [1];
53661 // goto finally
53662 $async$goto = 5;
53663 break;
53664 }
53665 case 8:
53666 // join
53667 if (B.JSString_methods.startsWith$1(url, "package:") && true)
53668 throw A.wrapException(string$.x22packa);
53669 else
53670 throw A.wrapException("Can't find stylesheet to import.");
53671 $async$next.push(6);
53672 // goto finally
53673 $async$goto = 5;
53674 break;
53675 case 4:
53676 // catch
53677 $async$handler = 3;
53678 $async$exception = $async$currentError;
53679 t1 = A.unwrapException($async$exception);
53680 if (t1 instanceof A.SassException) {
53681 error = t1;
53682 stackTrace = A.getTraceFromException($async$exception);
53683 t1 = error;
53684 t2 = J.getInterceptor$z(t1);
53685 A.throwWithTrace($async$self._async_evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
53686 } else {
53687 error0 = t1;
53688 stackTrace0 = A.getTraceFromException($async$exception);
53689 message = null;
53690 try {
53691 message = A._asString(J.get$message$x(error0));
53692 } catch (exception) {
53693 message0 = J.toString$0$(error0);
53694 message = message0;
53695 }
53696 A.throwWithTrace($async$self._async_evaluate$_exception$1(message), stackTrace0);
53697 }
53698 $async$next.push(6);
53699 // goto finally
53700 $async$goto = 5;
53701 break;
53702 case 3:
53703 // uncaught
53704 $async$next = [2];
53705 case 5:
53706 // finally
53707 $async$handler = 2;
53708 $async$self._async_evaluate$_importSpan = null;
53709 // goto the next finally handler
53710 $async$goto = $async$next.pop();
53711 break;
53712 case 6:
53713 // after finally
53714 case 1:
53715 // return
53716 return A._asyncReturn($async$returnValue, $async$completer);
53717 case 2:
53718 // rethrow
53719 return A._asyncRethrow($async$currentError, $async$completer);
53720 }
53721 });
53722 return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
53723 },
53724 _async_evaluate$_importLikeNode$2(originalUrl, forImport) {
53725 return this._importLikeNode$body$_EvaluateVisitor(originalUrl, forImport);
53726 },
53727 _importLikeNode$body$_EvaluateVisitor(originalUrl, forImport) {
53728 var $async$goto = 0,
53729 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet),
53730 $async$returnValue, $async$self = this, result, isDependency, url, t2, t1;
53731 var $async$_async_evaluate$_importLikeNode$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53732 if ($async$errorCode === 1)
53733 return A._asyncRethrow($async$result, $async$completer);
53734 while (true)
53735 switch ($async$goto) {
53736 case 0:
53737 // Function start
53738 t1 = $async$self._async_evaluate$_nodeImporter;
53739 t1.toString;
53740 result = t1.loadRelative$3(originalUrl, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span.file.url, forImport);
53741 isDependency = $async$self._async_evaluate$_inDependency;
53742 url = result.item2;
53743 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS;
53744 t2 = $async$self._async_evaluate$_quietDeps && isDependency ? $.$get$Logger_quiet() : $async$self._async_evaluate$_logger;
53745 $async$returnValue = new A._LoadedStylesheet0(A.Stylesheet_Stylesheet$parse(result.item1, t1, t2, url), null, isDependency);
53746 // goto return
53747 $async$goto = 1;
53748 break;
53749 case 1:
53750 // return
53751 return A._asyncReturn($async$returnValue, $async$completer);
53752 }
53753 });
53754 return A._asyncStartSync($async$_async_evaluate$_importLikeNode$2, $async$completer);
53755 },
53756 _async_evaluate$_visitStaticImport$1($import) {
53757 return this._visitStaticImport$body$_EvaluateVisitor($import);
53758 },
53759 _visitStaticImport$body$_EvaluateVisitor($import) {
53760 var $async$goto = 0,
53761 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
53762 $async$self = this, t1, url, supports, node, $async$temp1, $async$temp2, $async$temp3;
53763 var $async$_async_evaluate$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53764 if ($async$errorCode === 1)
53765 return A._asyncRethrow($async$result, $async$completer);
53766 while (true)
53767 switch ($async$goto) {
53768 case 0:
53769 // Function start
53770 $async$goto = 2;
53771 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_async_evaluate$_visitStaticImport$1);
53772 case 2:
53773 // returning from await.
53774 url = $async$result;
53775 $async$goto = 3;
53776 return A._asyncAwait(A.NullableExtension_andThen($import.supports, new A._EvaluateVisitor__visitStaticImport_closure0($async$self)), $async$_async_evaluate$_visitStaticImport$1);
53777 case 3:
53778 // returning from await.
53779 supports = $async$result;
53780 $async$temp1 = A;
53781 $async$temp2 = url;
53782 $async$temp3 = $import.span;
53783 $async$goto = 4;
53784 return A._asyncAwait(A.NullableExtension_andThen($import.media, $async$self.get$_async_evaluate$_visitMediaQueries()), $async$_async_evaluate$_visitStaticImport$1);
53785 case 4:
53786 // returning from await.
53787 node = $async$temp1.ModifiableCssImport$($async$temp2, $async$temp3, $async$result, supports);
53788 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"))
53789 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
53790 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)) {
53791 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
53792 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
53793 } else {
53794 t1 = $async$self._async_evaluate$_outOfOrderImports;
53795 (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
53796 }
53797 // implicit return
53798 return A._asyncReturn(null, $async$completer);
53799 }
53800 });
53801 return A._asyncStartSync($async$_async_evaluate$_visitStaticImport$1, $async$completer);
53802 },
53803 visitIncludeRule$1(node) {
53804 return this.visitIncludeRule$body$_EvaluateVisitor(node);
53805 },
53806 visitIncludeRule$body$_EvaluateVisitor(node) {
53807 var $async$goto = 0,
53808 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53809 $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
53810 var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53811 if ($async$errorCode === 1)
53812 return A._asyncRethrow($async$result, $async$completer);
53813 while (true)
53814 switch ($async$goto) {
53815 case 0:
53816 // Function start
53817 mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure3($async$self, node));
53818 if (mixin == null)
53819 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", node.span));
53820 nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure4(node));
53821 $async$goto = type$.AsyncBuiltInCallable._is(mixin) ? 3 : 5;
53822 break;
53823 case 3:
53824 // then
53825 if (node.content != null)
53826 throw A.wrapException($async$self._async_evaluate$_exception$2("Mixin doesn't accept a content block.", node.span));
53827 $async$goto = 6;
53828 return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
53829 case 6:
53830 // returning from await.
53831 // goto join
53832 $async$goto = 4;
53833 break;
53834 case 5:
53835 // else
53836 $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(mixin) ? 7 : 9;
53837 break;
53838 case 7:
53839 // then
53840 t1 = node.content;
53841 if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
53842 throw A.wrapException(A.MultiSpanSassRuntimeException$("Mixin doesn't accept a content block.", node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(node.get$spanWithoutContent())));
53843 $async$goto = 10;
53844 return A._asyncAwait($async$self._async_evaluate$_runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure5($async$self, A.NullableExtension_andThen(t1, new A._EvaluateVisitor_visitIncludeRule_closure6($async$self)), mixin, nodeWithSpan), type$.Null), $async$visitIncludeRule$1);
53845 case 10:
53846 // returning from await.
53847 // goto join
53848 $async$goto = 8;
53849 break;
53850 case 9:
53851 // else
53852 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
53853 case 8:
53854 // join
53855 case 4:
53856 // join
53857 $async$returnValue = null;
53858 // goto return
53859 $async$goto = 1;
53860 break;
53861 case 1:
53862 // return
53863 return A._asyncReturn($async$returnValue, $async$completer);
53864 }
53865 });
53866 return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
53867 },
53868 visitMixinRule$1(node) {
53869 return this.visitMixinRule$body$_EvaluateVisitor(node);
53870 },
53871 visitMixinRule$body$_EvaluateVisitor(node) {
53872 var $async$goto = 0,
53873 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53874 $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
53875 var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53876 if ($async$errorCode === 1)
53877 return A._asyncRethrow($async$result, $async$completer);
53878 while (true)
53879 switch ($async$goto) {
53880 case 0:
53881 // Function start
53882 t1 = $async$self._async_evaluate$_environment;
53883 t2 = t1.closure$0();
53884 t3 = $async$self._async_evaluate$_inDependency;
53885 t4 = t1._async_environment$_mixins;
53886 index = t4.length - 1;
53887 t5 = node.name;
53888 t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
53889 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
53890 $async$returnValue = null;
53891 // goto return
53892 $async$goto = 1;
53893 break;
53894 case 1:
53895 // return
53896 return A._asyncReturn($async$returnValue, $async$completer);
53897 }
53898 });
53899 return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
53900 },
53901 visitLoudComment$1(node) {
53902 return this.visitLoudComment$body$_EvaluateVisitor(node);
53903 },
53904 visitLoudComment$body$_EvaluateVisitor(node) {
53905 var $async$goto = 0,
53906 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53907 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
53908 var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53909 if ($async$errorCode === 1)
53910 return A._asyncRethrow($async$result, $async$completer);
53911 while (true)
53912 switch ($async$goto) {
53913 case 0:
53914 // Function start
53915 if ($async$self._async_evaluate$_inFunction) {
53916 $async$returnValue = null;
53917 // goto return
53918 $async$goto = 1;
53919 break;
53920 }
53921 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))
53922 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
53923 t1 = node.text;
53924 $async$temp1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
53925 $async$temp2 = A;
53926 $async$goto = 3;
53927 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
53928 case 3:
53929 // returning from await.
53930 $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment($async$result, t1.span));
53931 $async$returnValue = null;
53932 // goto return
53933 $async$goto = 1;
53934 break;
53935 case 1:
53936 // return
53937 return A._asyncReturn($async$returnValue, $async$completer);
53938 }
53939 });
53940 return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
53941 },
53942 visitMediaRule$1(node) {
53943 return this.visitMediaRule$body$_EvaluateVisitor(node);
53944 },
53945 visitMediaRule$body$_EvaluateVisitor(node) {
53946 var $async$goto = 0,
53947 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53948 $async$returnValue, $async$self = this, queries, mergedQueries, t1;
53949 var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53950 if ($async$errorCode === 1)
53951 return A._asyncRethrow($async$result, $async$completer);
53952 while (true)
53953 switch ($async$goto) {
53954 case 0:
53955 // Function start
53956 if ($async$self._async_evaluate$_declarationName != null)
53957 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
53958 $async$goto = 3;
53959 return A._asyncAwait($async$self._async_evaluate$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
53960 case 3:
53961 // returning from await.
53962 queries = $async$result;
53963 mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
53964 t1 = mergedQueries == null;
53965 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
53966 $async$returnValue = null;
53967 // goto return
53968 $async$goto = 1;
53969 break;
53970 }
53971 t1 = t1 ? queries : mergedQueries;
53972 $async$goto = 4;
53973 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, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure4(mergedQueries), type$.ModifiableCssMediaRule, type$.Null), $async$visitMediaRule$1);
53974 case 4:
53975 // returning from await.
53976 $async$returnValue = null;
53977 // goto return
53978 $async$goto = 1;
53979 break;
53980 case 1:
53981 // return
53982 return A._asyncReturn($async$returnValue, $async$completer);
53983 }
53984 });
53985 return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
53986 },
53987 _async_evaluate$_visitMediaQueries$1(interpolation) {
53988 return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
53989 },
53990 _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
53991 var $async$goto = 0,
53992 $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
53993 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
53994 var $async$_async_evaluate$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53995 if ($async$errorCode === 1)
53996 return A._asyncRethrow($async$result, $async$completer);
53997 while (true)
53998 switch ($async$goto) {
53999 case 0:
54000 // Function start
54001 $async$temp1 = interpolation;
54002 $async$temp2 = A;
54003 $async$goto = 3;
54004 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate$_visitMediaQueries$1);
54005 case 3:
54006 // returning from await.
54007 $async$returnValue = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure0($async$self, $async$result));
54008 // goto return
54009 $async$goto = 1;
54010 break;
54011 case 1:
54012 // return
54013 return A._asyncReturn($async$returnValue, $async$completer);
54014 }
54015 });
54016 return A._asyncStartSync($async$_async_evaluate$_visitMediaQueries$1, $async$completer);
54017 },
54018 _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
54019 var t1, t2, t3, t4, t5, result,
54020 queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
54021 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
54022 t4 = t1.get$current(t1);
54023 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
54024 result = t4.merge$1(t5.get$current(t5));
54025 if (result === B._SingletonCssMediaQueryMergeResult_empty)
54026 continue;
54027 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
54028 return null;
54029 queries.push(t3._as(result).query);
54030 }
54031 }
54032 return queries;
54033 },
54034 visitReturnRule$1(node) {
54035 return this.visitReturnRule$body$_EvaluateVisitor(node);
54036 },
54037 visitReturnRule$body$_EvaluateVisitor(node) {
54038 var $async$goto = 0,
54039 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54040 $async$returnValue, $async$self = this, t1;
54041 var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54042 if ($async$errorCode === 1)
54043 return A._asyncRethrow($async$result, $async$completer);
54044 while (true)
54045 switch ($async$goto) {
54046 case 0:
54047 // Function start
54048 t1 = node.expression;
54049 $async$goto = 3;
54050 return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
54051 case 3:
54052 // returning from await.
54053 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
54054 // goto return
54055 $async$goto = 1;
54056 break;
54057 case 1:
54058 // return
54059 return A._asyncReturn($async$returnValue, $async$completer);
54060 }
54061 });
54062 return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
54063 },
54064 visitSilentComment$1(node) {
54065 return this.visitSilentComment$body$_EvaluateVisitor(node);
54066 },
54067 visitSilentComment$body$_EvaluateVisitor(node) {
54068 var $async$goto = 0,
54069 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54070 $async$returnValue;
54071 var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54072 if ($async$errorCode === 1)
54073 return A._asyncRethrow($async$result, $async$completer);
54074 while (true)
54075 switch ($async$goto) {
54076 case 0:
54077 // Function start
54078 $async$returnValue = null;
54079 // goto return
54080 $async$goto = 1;
54081 break;
54082 case 1:
54083 // return
54084 return A._asyncReturn($async$returnValue, $async$completer);
54085 }
54086 });
54087 return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
54088 },
54089 visitStyleRule$1(node) {
54090 return this.visitStyleRule$body$_EvaluateVisitor(node);
54091 },
54092 visitStyleRule$body$_EvaluateVisitor(node) {
54093 var $async$goto = 0,
54094 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54095 $async$returnValue, $async$self = this, t2, selectorText, rule, oldAtRootExcludingStyleRule, t1;
54096 var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54097 if ($async$errorCode === 1)
54098 return A._asyncRethrow($async$result, $async$completer);
54099 while (true)
54100 switch ($async$goto) {
54101 case 0:
54102 // Function start
54103 t1 = {};
54104 if ($async$self._async_evaluate$_declarationName != null)
54105 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
54106 t2 = node.selector;
54107 $async$goto = 3;
54108 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$3$trim$warnForColor(t2, true, true), $async$visitStyleRule$1);
54109 case 3:
54110 // returning from await.
54111 selectorText = $async$result;
54112 $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
54113 break;
54114 case 4:
54115 // then
54116 $async$goto = 6;
54117 return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable($async$self._async_evaluate$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure6($async$self, selectorText)), type$.String), t2.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure7($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure8(), type$.ModifiableCssKeyframeBlock, type$.Null), $async$visitStyleRule$1);
54118 case 6:
54119 // returning from await.
54120 $async$returnValue = null;
54121 // goto return
54122 $async$goto = 1;
54123 break;
54124 case 5:
54125 // join
54126 t1.parsedSelector = $async$self._async_evaluate$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure9($async$self, selectorText));
54127 t1.parsedSelector = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure10(t1, $async$self));
54128 rule = A.ModifiableCssStyleRule$($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addSelector$3(t1.parsedSelector, t2.span, $async$self._async_evaluate$_mediaQueries), node.span, t1.parsedSelector);
54129 oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
54130 t1 = $async$self._async_evaluate$_atRootExcludingStyleRule = false;
54131 $async$goto = 7;
54132 return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure11($async$self, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure12(), type$.ModifiableCssStyleRule, type$.Null), $async$visitStyleRule$1);
54133 case 7:
54134 // returning from await.
54135 $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
54136 if ((oldAtRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
54137 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
54138 t1 = !t1.get$isEmpty(t1);
54139 }
54140 if (t1) {
54141 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
54142 t1.get$last(t1).isGroupEnd = true;
54143 }
54144 $async$returnValue = null;
54145 // goto return
54146 $async$goto = 1;
54147 break;
54148 case 1:
54149 // return
54150 return A._asyncReturn($async$returnValue, $async$completer);
54151 }
54152 });
54153 return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
54154 },
54155 visitSupportsRule$1(node) {
54156 return this.visitSupportsRule$body$_EvaluateVisitor(node);
54157 },
54158 visitSupportsRule$body$_EvaluateVisitor(node) {
54159 var $async$goto = 0,
54160 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54161 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
54162 var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54163 if ($async$errorCode === 1)
54164 return A._asyncRethrow($async$result, $async$completer);
54165 while (true)
54166 switch ($async$goto) {
54167 case 0:
54168 // Function start
54169 if ($async$self._async_evaluate$_declarationName != null)
54170 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
54171 t1 = node.condition;
54172 $async$temp1 = A;
54173 $async$temp2 = A;
54174 $async$goto = 4;
54175 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
54176 case 4:
54177 // returning from await.
54178 $async$goto = 3;
54179 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);
54180 case 3:
54181 // returning from await.
54182 $async$returnValue = null;
54183 // goto return
54184 $async$goto = 1;
54185 break;
54186 case 1:
54187 // return
54188 return A._asyncReturn($async$returnValue, $async$completer);
54189 }
54190 });
54191 return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
54192 },
54193 _async_evaluate$_visitSupportsCondition$1(condition) {
54194 return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
54195 },
54196 _visitSupportsCondition$body$_EvaluateVisitor(condition) {
54197 var $async$goto = 0,
54198 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
54199 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, result, $async$temp1, $async$temp2;
54200 var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54201 if ($async$errorCode === 1)
54202 return A._asyncRethrow($async$result, $async$completer);
54203 while (true)
54204 switch ($async$goto) {
54205 case 0:
54206 // Function start
54207 $async$goto = condition instanceof A.SupportsOperation ? 3 : 5;
54208 break;
54209 case 3:
54210 // then
54211 t1 = condition.operator;
54212 $async$temp1 = A;
54213 $async$goto = 6;
54214 return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
54215 case 6:
54216 // returning from await.
54217 $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
54218 $async$temp2 = A;
54219 $async$goto = 7;
54220 return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
54221 case 7:
54222 // returning from await.
54223 $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
54224 // goto return
54225 $async$goto = 1;
54226 break;
54227 // goto join
54228 $async$goto = 4;
54229 break;
54230 case 5:
54231 // else
54232 $async$goto = condition instanceof A.SupportsNegation ? 8 : 10;
54233 break;
54234 case 8:
54235 // then
54236 $async$temp1 = A;
54237 $async$goto = 11;
54238 return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
54239 case 11:
54240 // returning from await.
54241 $async$returnValue = "not " + $async$temp1.S($async$result);
54242 // goto return
54243 $async$goto = 1;
54244 break;
54245 // goto join
54246 $async$goto = 9;
54247 break;
54248 case 10:
54249 // else
54250 $async$goto = condition instanceof A.SupportsInterpolation ? 12 : 14;
54251 break;
54252 case 12:
54253 // then
54254 $async$goto = 15;
54255 return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
54256 case 15:
54257 // returning from await.
54258 $async$returnValue = $async$result;
54259 // goto return
54260 $async$goto = 1;
54261 break;
54262 // goto join
54263 $async$goto = 13;
54264 break;
54265 case 14:
54266 // else
54267 $async$goto = condition instanceof A.SupportsDeclaration ? 16 : 18;
54268 break;
54269 case 16:
54270 // then
54271 oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
54272 $async$self._async_evaluate$_inSupportsDeclaration = true;
54273 $async$temp1 = A;
54274 $async$goto = 19;
54275 return A._asyncAwait($async$self._evaluateToCss$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
54276 case 19:
54277 // returning from await.
54278 t1 = "(" + $async$temp1.S($async$result) + ":";
54279 $async$temp1 = t1 + (condition.get$isCustomProperty() ? "" : " ");
54280 $async$temp2 = A;
54281 $async$goto = 20;
54282 return A._asyncAwait($async$self._evaluateToCss$1(condition.value), $async$_async_evaluate$_visitSupportsCondition$1);
54283 case 20:
54284 // returning from await.
54285 result = $async$temp1 + $async$temp2.S($async$result) + ")";
54286 $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
54287 $async$returnValue = result;
54288 // goto return
54289 $async$goto = 1;
54290 break;
54291 // goto join
54292 $async$goto = 17;
54293 break;
54294 case 18:
54295 // else
54296 $async$goto = condition instanceof A.SupportsFunction ? 21 : 23;
54297 break;
54298 case 21:
54299 // then
54300 $async$temp1 = A;
54301 $async$goto = 24;
54302 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
54303 case 24:
54304 // returning from await.
54305 $async$temp1 = $async$temp1.S($async$result) + "(";
54306 $async$temp2 = A;
54307 $async$goto = 25;
54308 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
54309 case 25:
54310 // returning from await.
54311 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
54312 // goto return
54313 $async$goto = 1;
54314 break;
54315 // goto join
54316 $async$goto = 22;
54317 break;
54318 case 23:
54319 // else
54320 $async$goto = condition instanceof A.SupportsAnything ? 26 : 28;
54321 break;
54322 case 26:
54323 // then
54324 $async$temp1 = A;
54325 $async$goto = 29;
54326 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
54327 case 29:
54328 // returning from await.
54329 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
54330 // goto return
54331 $async$goto = 1;
54332 break;
54333 // goto join
54334 $async$goto = 27;
54335 break;
54336 case 28:
54337 // else
54338 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
54339 case 27:
54340 // join
54341 case 22:
54342 // join
54343 case 17:
54344 // join
54345 case 13:
54346 // join
54347 case 9:
54348 // join
54349 case 4:
54350 // join
54351 case 1:
54352 // return
54353 return A._asyncReturn($async$returnValue, $async$completer);
54354 }
54355 });
54356 return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
54357 },
54358 _async_evaluate$_parenthesize$2(condition, operator) {
54359 return this._parenthesize$body$_EvaluateVisitor(condition, operator);
54360 },
54361 _async_evaluate$_parenthesize$1(condition) {
54362 return this._async_evaluate$_parenthesize$2(condition, null);
54363 },
54364 _parenthesize$body$_EvaluateVisitor(condition, operator) {
54365 var $async$goto = 0,
54366 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
54367 $async$returnValue, $async$self = this, t1, $async$temp1;
54368 var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54369 if ($async$errorCode === 1)
54370 return A._asyncRethrow($async$result, $async$completer);
54371 while (true)
54372 switch ($async$goto) {
54373 case 0:
54374 // Function start
54375 if (!(condition instanceof A.SupportsNegation))
54376 if (condition instanceof A.SupportsOperation)
54377 t1 = operator == null || operator !== condition.operator;
54378 else
54379 t1 = false;
54380 else
54381 t1 = true;
54382 $async$goto = t1 ? 3 : 5;
54383 break;
54384 case 3:
54385 // then
54386 $async$temp1 = A;
54387 $async$goto = 6;
54388 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
54389 case 6:
54390 // returning from await.
54391 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
54392 // goto return
54393 $async$goto = 1;
54394 break;
54395 // goto join
54396 $async$goto = 4;
54397 break;
54398 case 5:
54399 // else
54400 $async$goto = 7;
54401 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
54402 case 7:
54403 // returning from await.
54404 $async$returnValue = $async$result;
54405 // goto return
54406 $async$goto = 1;
54407 break;
54408 case 4:
54409 // join
54410 case 1:
54411 // return
54412 return A._asyncReturn($async$returnValue, $async$completer);
54413 }
54414 });
54415 return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
54416 },
54417 visitVariableDeclaration$1(node) {
54418 return this.visitVariableDeclaration$body$_EvaluateVisitor(node);
54419 },
54420 visitVariableDeclaration$body$_EvaluateVisitor(node) {
54421 var $async$goto = 0,
54422 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54423 $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
54424 var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54425 if ($async$errorCode === 1)
54426 return A._asyncRethrow($async$result, $async$completer);
54427 while (true)
54428 switch ($async$goto) {
54429 case 0:
54430 // Function start
54431 if (node.isGuarded) {
54432 if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
54433 t1 = $async$self._async_evaluate$_configuration._values;
54434 t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
54435 if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
54436 $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2($async$self, node, t1));
54437 $async$returnValue = null;
54438 // goto return
54439 $async$goto = 1;
54440 break;
54441 }
54442 }
54443 value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
54444 if (value != null && !value.$eq(0, B.C__SassNull)) {
54445 $async$returnValue = null;
54446 // goto return
54447 $async$goto = 1;
54448 break;
54449 }
54450 }
54451 if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
54452 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.";
54453 $async$self._async_evaluate$_warn$3$deprecation(t1, node.span, true);
54454 }
54455 t1 = node.expression;
54456 $async$temp1 = node;
54457 $async$temp2 = A;
54458 $async$temp3 = node;
54459 $async$goto = 3;
54460 return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
54461 case 3:
54462 // returning from await.
54463 $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)));
54464 $async$returnValue = null;
54465 // goto return
54466 $async$goto = 1;
54467 break;
54468 case 1:
54469 // return
54470 return A._asyncReturn($async$returnValue, $async$completer);
54471 }
54472 });
54473 return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
54474 },
54475 visitUseRule$1(node) {
54476 return this.visitUseRule$body$_EvaluateVisitor(node);
54477 },
54478 visitUseRule$body$_EvaluateVisitor(node) {
54479 var $async$goto = 0,
54480 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54481 $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
54482 var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54483 if ($async$errorCode === 1)
54484 return A._asyncRethrow($async$result, $async$completer);
54485 while (true)
54486 switch ($async$goto) {
54487 case 0:
54488 // Function start
54489 t1 = node.configuration;
54490 t2 = t1.length;
54491 $async$goto = t2 !== 0 ? 3 : 5;
54492 break;
54493 case 3:
54494 // then
54495 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
54496 _i = 0;
54497 case 6:
54498 // for condition
54499 if (!(_i < t2)) {
54500 // goto after for
54501 $async$goto = 8;
54502 break;
54503 }
54504 variable = t1[_i];
54505 t3 = variable.expression;
54506 variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t3);
54507 $async$temp1 = values;
54508 $async$temp2 = variable.name;
54509 $async$temp3 = A;
54510 $async$goto = 9;
54511 return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
54512 case 9:
54513 // returning from await.
54514 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
54515 case 7:
54516 // for update
54517 ++_i;
54518 // goto for condition
54519 $async$goto = 6;
54520 break;
54521 case 8:
54522 // after for
54523 configuration = new A.ExplicitConfiguration(node, values);
54524 // goto join
54525 $async$goto = 4;
54526 break;
54527 case 5:
54528 // else
54529 configuration = B.Configuration_Map_empty;
54530 case 4:
54531 // join
54532 $async$goto = 10;
54533 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);
54534 case 10:
54535 // returning from await.
54536 $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
54537 $async$returnValue = null;
54538 // goto return
54539 $async$goto = 1;
54540 break;
54541 case 1:
54542 // return
54543 return A._asyncReturn($async$returnValue, $async$completer);
54544 }
54545 });
54546 return A._asyncStartSync($async$visitUseRule$1, $async$completer);
54547 },
54548 visitWarnRule$1(node) {
54549 return this.visitWarnRule$body$_EvaluateVisitor(node);
54550 },
54551 visitWarnRule$body$_EvaluateVisitor(node) {
54552 var $async$goto = 0,
54553 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54554 $async$returnValue, $async$self = this, value, t1;
54555 var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54556 if ($async$errorCode === 1)
54557 return A._asyncRethrow($async$result, $async$completer);
54558 while (true)
54559 switch ($async$goto) {
54560 case 0:
54561 // Function start
54562 $async$goto = 3;
54563 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
54564 case 3:
54565 // returning from await.
54566 value = $async$result;
54567 t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
54568 $async$self._async_evaluate$_logger.warn$2$trace(0, t1, $async$self._async_evaluate$_stackTrace$1(node.span));
54569 $async$returnValue = null;
54570 // goto return
54571 $async$goto = 1;
54572 break;
54573 case 1:
54574 // return
54575 return A._asyncReturn($async$returnValue, $async$completer);
54576 }
54577 });
54578 return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
54579 },
54580 visitWhileRule$1(node) {
54581 return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
54582 },
54583 visitBinaryOperationExpression$1(node) {
54584 return this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(this, node), type$.Value);
54585 },
54586 visitValueExpression$1(node) {
54587 return this.visitValueExpression$body$_EvaluateVisitor(node);
54588 },
54589 visitValueExpression$body$_EvaluateVisitor(node) {
54590 var $async$goto = 0,
54591 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54592 $async$returnValue;
54593 var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54594 if ($async$errorCode === 1)
54595 return A._asyncRethrow($async$result, $async$completer);
54596 while (true)
54597 switch ($async$goto) {
54598 case 0:
54599 // Function start
54600 $async$returnValue = node.value;
54601 // goto return
54602 $async$goto = 1;
54603 break;
54604 case 1:
54605 // return
54606 return A._asyncReturn($async$returnValue, $async$completer);
54607 }
54608 });
54609 return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
54610 },
54611 visitVariableExpression$1(node) {
54612 return this.visitVariableExpression$body$_EvaluateVisitor(node);
54613 },
54614 visitVariableExpression$body$_EvaluateVisitor(node) {
54615 var $async$goto = 0,
54616 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54617 $async$returnValue, $async$self = this, result;
54618 var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54619 if ($async$errorCode === 1)
54620 return A._asyncRethrow($async$result, $async$completer);
54621 while (true)
54622 switch ($async$goto) {
54623 case 0:
54624 // Function start
54625 result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
54626 if (result != null) {
54627 $async$returnValue = result;
54628 // goto return
54629 $async$goto = 1;
54630 break;
54631 }
54632 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
54633 case 1:
54634 // return
54635 return A._asyncReturn($async$returnValue, $async$completer);
54636 }
54637 });
54638 return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
54639 },
54640 visitUnaryOperationExpression$1(node) {
54641 return this.visitUnaryOperationExpression$body$_EvaluateVisitor(node);
54642 },
54643 visitUnaryOperationExpression$body$_EvaluateVisitor(node) {
54644 var $async$goto = 0,
54645 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54646 $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
54647 var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54648 if ($async$errorCode === 1)
54649 return A._asyncRethrow($async$result, $async$completer);
54650 while (true)
54651 switch ($async$goto) {
54652 case 0:
54653 // Function start
54654 $async$temp1 = node;
54655 $async$temp2 = A;
54656 $async$temp3 = node;
54657 $async$goto = 3;
54658 return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
54659 case 3:
54660 // returning from await.
54661 $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
54662 // goto return
54663 $async$goto = 1;
54664 break;
54665 case 1:
54666 // return
54667 return A._asyncReturn($async$returnValue, $async$completer);
54668 }
54669 });
54670 return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
54671 },
54672 visitBooleanExpression$1(node) {
54673 return this.visitBooleanExpression$body$_EvaluateVisitor(node);
54674 },
54675 visitBooleanExpression$body$_EvaluateVisitor(node) {
54676 var $async$goto = 0,
54677 $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
54678 $async$returnValue;
54679 var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54680 if ($async$errorCode === 1)
54681 return A._asyncRethrow($async$result, $async$completer);
54682 while (true)
54683 switch ($async$goto) {
54684 case 0:
54685 // Function start
54686 $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
54687 // goto return
54688 $async$goto = 1;
54689 break;
54690 case 1:
54691 // return
54692 return A._asyncReturn($async$returnValue, $async$completer);
54693 }
54694 });
54695 return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
54696 },
54697 visitIfExpression$1(node) {
54698 return this.visitIfExpression$body$_EvaluateVisitor(node);
54699 },
54700 visitIfExpression$body$_EvaluateVisitor(node) {
54701 var $async$goto = 0,
54702 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54703 $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
54704 var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54705 if ($async$errorCode === 1)
54706 return A._asyncRethrow($async$result, $async$completer);
54707 while (true)
54708 switch ($async$goto) {
54709 case 0:
54710 // Function start
54711 $async$goto = 3;
54712 return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
54713 case 3:
54714 // returning from await.
54715 pair = $async$result;
54716 positional = pair.item1;
54717 named = pair.item2;
54718 t1 = J.getInterceptor$asx(positional);
54719 $async$self._async_evaluate$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
54720 if (t1.get$length(positional) > 0)
54721 condition = t1.$index(positional, 0);
54722 else {
54723 t2 = named.$index(0, "condition");
54724 t2.toString;
54725 condition = t2;
54726 }
54727 if (t1.get$length(positional) > 1)
54728 ifTrue = t1.$index(positional, 1);
54729 else {
54730 t2 = named.$index(0, "if-true");
54731 t2.toString;
54732 ifTrue = t2;
54733 }
54734 if (t1.get$length(positional) > 2)
54735 ifFalse = t1.$index(positional, 2);
54736 else {
54737 t1 = named.$index(0, "if-false");
54738 t1.toString;
54739 ifFalse = t1;
54740 }
54741 $async$goto = 4;
54742 return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
54743 case 4:
54744 // returning from await.
54745 result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
54746 $async$goto = 5;
54747 return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
54748 case 5:
54749 // returning from await.
54750 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
54751 // goto return
54752 $async$goto = 1;
54753 break;
54754 case 1:
54755 // return
54756 return A._asyncReturn($async$returnValue, $async$completer);
54757 }
54758 });
54759 return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
54760 },
54761 visitNullExpression$1(node) {
54762 return this.visitNullExpression$body$_EvaluateVisitor(node);
54763 },
54764 visitNullExpression$body$_EvaluateVisitor(node) {
54765 var $async$goto = 0,
54766 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54767 $async$returnValue;
54768 var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54769 if ($async$errorCode === 1)
54770 return A._asyncRethrow($async$result, $async$completer);
54771 while (true)
54772 switch ($async$goto) {
54773 case 0:
54774 // Function start
54775 $async$returnValue = B.C__SassNull;
54776 // goto return
54777 $async$goto = 1;
54778 break;
54779 case 1:
54780 // return
54781 return A._asyncReturn($async$returnValue, $async$completer);
54782 }
54783 });
54784 return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
54785 },
54786 visitNumberExpression$1(node) {
54787 return this.visitNumberExpression$body$_EvaluateVisitor(node);
54788 },
54789 visitNumberExpression$body$_EvaluateVisitor(node) {
54790 var $async$goto = 0,
54791 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
54792 $async$returnValue, t1, t2;
54793 var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54794 if ($async$errorCode === 1)
54795 return A._asyncRethrow($async$result, $async$completer);
54796 while (true)
54797 switch ($async$goto) {
54798 case 0:
54799 // Function start
54800 t1 = node.value;
54801 t2 = node.unit;
54802 $async$returnValue = t2 == null ? new A.UnitlessSassNumber(t1, null) : new A.SingleUnitSassNumber(t2, t1, null);
54803 // goto return
54804 $async$goto = 1;
54805 break;
54806 case 1:
54807 // return
54808 return A._asyncReturn($async$returnValue, $async$completer);
54809 }
54810 });
54811 return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
54812 },
54813 visitParenthesizedExpression$1(node) {
54814 return node.expression.accept$1(this);
54815 },
54816 visitCalculationExpression$1(node) {
54817 return this.visitCalculationExpression$body$_EvaluateVisitor(node);
54818 },
54819 visitCalculationExpression$body$_EvaluateVisitor(node) {
54820 var $async$goto = 0,
54821 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54822 $async$returnValue, $async$next = [], $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
54823 var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54824 if ($async$errorCode === 1)
54825 return A._asyncRethrow($async$result, $async$completer);
54826 while (true)
54827 $async$outer:
54828 switch ($async$goto) {
54829 case 0:
54830 // Function start
54831 t1 = A._setArrayType([], type$.JSArray_Object);
54832 t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
54833 case 3:
54834 // for condition
54835 if (!(_i < t3)) {
54836 // goto after for
54837 $async$goto = 5;
54838 break;
54839 }
54840 argument = t2[_i];
54841 $async$temp1 = t1;
54842 $async$goto = 6;
54843 return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
54844 case 6:
54845 // returning from await.
54846 $async$temp1.push($async$result);
54847 case 4:
54848 // for update
54849 ++_i;
54850 // goto for condition
54851 $async$goto = 3;
54852 break;
54853 case 5:
54854 // after for
54855 $arguments = t1;
54856 if ($async$self._async_evaluate$_inSupportsDeclaration) {
54857 $async$returnValue = new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
54858 // goto return
54859 $async$goto = 1;
54860 break;
54861 }
54862 try {
54863 switch (t4) {
54864 case "calc":
54865 t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
54866 $async$returnValue = t1;
54867 // goto return
54868 $async$goto = 1;
54869 break $async$outer;
54870 case "min":
54871 t1 = A.SassCalculation_min($arguments);
54872 $async$returnValue = t1;
54873 // goto return
54874 $async$goto = 1;
54875 break $async$outer;
54876 case "max":
54877 t1 = A.SassCalculation_max($arguments);
54878 $async$returnValue = t1;
54879 // goto return
54880 $async$goto = 1;
54881 break $async$outer;
54882 case "clamp":
54883 t1 = J.$index$asx($arguments, 0);
54884 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
54885 t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
54886 $async$returnValue = t1;
54887 // goto return
54888 $async$goto = 1;
54889 break $async$outer;
54890 default:
54891 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
54892 throw A.wrapException(t1);
54893 }
54894 } catch (exception) {
54895 t1 = A.unwrapException(exception);
54896 if (t1 instanceof A.SassScriptException) {
54897 error = t1;
54898 stackTrace = A.getTraceFromException(exception);
54899 $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
54900 A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), stackTrace);
54901 } else
54902 throw exception;
54903 }
54904 case 1:
54905 // return
54906 return A._asyncReturn($async$returnValue, $async$completer);
54907 }
54908 });
54909 return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
54910 },
54911 _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
54912 var i, t1, arg, number1, j, number2;
54913 for (i = 0; t1 = args.length, i < t1; ++i) {
54914 arg = args[i];
54915 if (!(arg instanceof A.SassNumber))
54916 continue;
54917 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
54918 throw A.wrapException(this._async_evaluate$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
54919 }
54920 for (i = 0; i < t1 - 1; ++i) {
54921 number1 = args[i];
54922 if (!(number1 instanceof A.SassNumber))
54923 continue;
54924 for (j = i + 1; t1 = args.length, j < t1; ++j) {
54925 number2 = args[j];
54926 if (!(number2 instanceof A.SassNumber))
54927 continue;
54928 if (number1.hasPossiblyCompatibleUnits$1(number2))
54929 continue;
54930 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]))));
54931 }
54932 }
54933 },
54934 _async_evaluate$_visitCalculationValue$2$inMinMax(node, inMinMax) {
54935 return this._visitCalculationValue$body$_EvaluateVisitor(node, inMinMax);
54936 },
54937 _visitCalculationValue$body$_EvaluateVisitor(node, inMinMax) {
54938 var $async$goto = 0,
54939 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
54940 $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
54941 var $async$_async_evaluate$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54942 if ($async$errorCode === 1)
54943 return A._asyncRethrow($async$result, $async$completer);
54944 while (true)
54945 switch ($async$goto) {
54946 case 0:
54947 // Function start
54948 $async$goto = node instanceof A.ParenthesizedExpression ? 3 : 5;
54949 break;
54950 case 3:
54951 // then
54952 inner = node.expression;
54953 $async$goto = 6;
54954 return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
54955 case 6:
54956 // returning from await.
54957 result = $async$result;
54958 if (inner instanceof A.FunctionExpression)
54959 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
54960 else
54961 t1 = false;
54962 $async$returnValue = t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
54963 // goto return
54964 $async$goto = 1;
54965 break;
54966 // goto join
54967 $async$goto = 4;
54968 break;
54969 case 5:
54970 // else
54971 $async$goto = node instanceof A.StringExpression ? 7 : 9;
54972 break;
54973 case 7:
54974 // then
54975 $async$temp1 = A;
54976 $async$goto = 10;
54977 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.text), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
54978 case 10:
54979 // returning from await.
54980 $async$returnValue = new $async$temp1.CalculationInterpolation($async$result);
54981 // goto return
54982 $async$goto = 1;
54983 break;
54984 // goto join
54985 $async$goto = 8;
54986 break;
54987 case 9:
54988 // else
54989 $async$goto = node instanceof A.BinaryOperationExpression ? 11 : 13;
54990 break;
54991 case 11:
54992 // then
54993 $async$goto = 14;
54994 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor__visitCalculationValue_closure0($async$self, node, inMinMax), type$.Object), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
54995 case 14:
54996 // returning from await.
54997 $async$returnValue = $async$result;
54998 // goto return
54999 $async$goto = 1;
55000 break;
55001 // goto join
55002 $async$goto = 12;
55003 break;
55004 case 13:
55005 // else
55006 $async$goto = 15;
55007 return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
55008 case 15:
55009 // returning from await.
55010 result = $async$result;
55011 if (result instanceof A.SassNumber || result instanceof A.SassCalculation) {
55012 $async$returnValue = result;
55013 // goto return
55014 $async$goto = 1;
55015 break;
55016 }
55017 if (result instanceof A.SassString && !result._hasQuotes) {
55018 $async$returnValue = result;
55019 // goto return
55020 $async$goto = 1;
55021 break;
55022 }
55023 throw A.wrapException($async$self._async_evaluate$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
55024 case 12:
55025 // join
55026 case 8:
55027 // join
55028 case 4:
55029 // join
55030 case 1:
55031 // return
55032 return A._asyncReturn($async$returnValue, $async$completer);
55033 }
55034 });
55035 return A._asyncStartSync($async$_async_evaluate$_visitCalculationValue$2$inMinMax, $async$completer);
55036 },
55037 _async_evaluate$_binaryOperatorToCalculationOperator$1(operator) {
55038 switch (operator) {
55039 case B.BinaryOperator_AcR0:
55040 return B.CalculationOperator_Iem;
55041 case B.BinaryOperator_iyO:
55042 return B.CalculationOperator_uti;
55043 case B.BinaryOperator_O1M:
55044 return B.CalculationOperator_Dih;
55045 case B.BinaryOperator_RTB:
55046 return B.CalculationOperator_jB6;
55047 default:
55048 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
55049 }
55050 },
55051 visitColorExpression$1(node) {
55052 return this.visitColorExpression$body$_EvaluateVisitor(node);
55053 },
55054 visitColorExpression$body$_EvaluateVisitor(node) {
55055 var $async$goto = 0,
55056 $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
55057 $async$returnValue;
55058 var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55059 if ($async$errorCode === 1)
55060 return A._asyncRethrow($async$result, $async$completer);
55061 while (true)
55062 switch ($async$goto) {
55063 case 0:
55064 // Function start
55065 $async$returnValue = node.value;
55066 // goto return
55067 $async$goto = 1;
55068 break;
55069 case 1:
55070 // return
55071 return A._asyncReturn($async$returnValue, $async$completer);
55072 }
55073 });
55074 return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
55075 },
55076 visitListExpression$1(node) {
55077 return this.visitListExpression$body$_EvaluateVisitor(node);
55078 },
55079 visitListExpression$body$_EvaluateVisitor(node) {
55080 var $async$goto = 0,
55081 $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
55082 $async$returnValue, $async$self = this, $async$temp1;
55083 var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55084 if ($async$errorCode === 1)
55085 return A._asyncRethrow($async$result, $async$completer);
55086 while (true)
55087 switch ($async$goto) {
55088 case 0:
55089 // Function start
55090 $async$temp1 = A;
55091 $async$goto = 3;
55092 return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
55093 case 3:
55094 // returning from await.
55095 $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
55096 // goto return
55097 $async$goto = 1;
55098 break;
55099 case 1:
55100 // return
55101 return A._asyncReturn($async$returnValue, $async$completer);
55102 }
55103 });
55104 return A._asyncStartSync($async$visitListExpression$1, $async$completer);
55105 },
55106 visitMapExpression$1(node) {
55107 return this.visitMapExpression$body$_EvaluateVisitor(node);
55108 },
55109 visitMapExpression$body$_EvaluateVisitor(node) {
55110 var $async$goto = 0,
55111 $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
55112 $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
55113 var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55114 if ($async$errorCode === 1)
55115 return A._asyncRethrow($async$result, $async$completer);
55116 while (true)
55117 switch ($async$goto) {
55118 case 0:
55119 // Function start
55120 t1 = type$.Value;
55121 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
55122 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
55123 t2 = node.pairs, t3 = t2.length, _i = 0;
55124 case 3:
55125 // for condition
55126 if (!(_i < t3)) {
55127 // goto after for
55128 $async$goto = 5;
55129 break;
55130 }
55131 pair = t2[_i];
55132 t4 = pair.item1;
55133 $async$goto = 6;
55134 return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
55135 case 6:
55136 // returning from await.
55137 keyValue = $async$result;
55138 $async$goto = 7;
55139 return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
55140 case 7:
55141 // returning from await.
55142 valueValue = $async$result;
55143 if (map.$index(0, keyValue) != null) {
55144 t1 = keyNodes.$index(0, keyValue);
55145 oldValueSpan = t1 == null ? null : t1.get$span(t1);
55146 t1 = J.getInterceptor$z(t4);
55147 t2 = t1.get$span(t4);
55148 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
55149 if (oldValueSpan != null)
55150 t3.$indexSet(0, oldValueSpan, "first key");
55151 throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate$_stackTrace$1(t1.get$span(t4))));
55152 }
55153 map.$indexSet(0, keyValue, valueValue);
55154 keyNodes.$indexSet(0, keyValue, t4);
55155 case 4:
55156 // for update
55157 ++_i;
55158 // goto for condition
55159 $async$goto = 3;
55160 break;
55161 case 5:
55162 // after for
55163 $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
55164 // goto return
55165 $async$goto = 1;
55166 break;
55167 case 1:
55168 // return
55169 return A._asyncReturn($async$returnValue, $async$completer);
55170 }
55171 });
55172 return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
55173 },
55174 visitFunctionExpression$1(node) {
55175 return this.visitFunctionExpression$body$_EvaluateVisitor(node);
55176 },
55177 visitFunctionExpression$body$_EvaluateVisitor(node) {
55178 var $async$goto = 0,
55179 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55180 $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
55181 var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55182 if ($async$errorCode === 1)
55183 return A._asyncRethrow($async$result, $async$completer);
55184 while (true)
55185 switch ($async$goto) {
55186 case 0:
55187 // Function start
55188 t1 = {};
55189 $function = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1($async$self, node));
55190 t1.$function = $function;
55191 if ($function == null) {
55192 if (node.namespace != null)
55193 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
55194 t1.$function = new A.PlainCssCallable(node.originalName);
55195 }
55196 oldInFunction = $async$self._async_evaluate$_inFunction;
55197 $async$self._async_evaluate$_inFunction = true;
55198 $async$goto = 3;
55199 return A._asyncAwait($async$self._async_evaluate$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure2(t1, $async$self, node), type$.Value), $async$visitFunctionExpression$1);
55200 case 3:
55201 // returning from await.
55202 result = $async$result;
55203 $async$self._async_evaluate$_inFunction = oldInFunction;
55204 $async$returnValue = result;
55205 // goto return
55206 $async$goto = 1;
55207 break;
55208 case 1:
55209 // return
55210 return A._asyncReturn($async$returnValue, $async$completer);
55211 }
55212 });
55213 return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
55214 },
55215 visitInterpolatedFunctionExpression$1(node) {
55216 return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node);
55217 },
55218 visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node) {
55219 var $async$goto = 0,
55220 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55221 $async$returnValue, $async$self = this, result, t1, oldInFunction;
55222 var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55223 if ($async$errorCode === 1)
55224 return A._asyncRethrow($async$result, $async$completer);
55225 while (true)
55226 switch ($async$goto) {
55227 case 0:
55228 // Function start
55229 $async$goto = 3;
55230 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
55231 case 3:
55232 // returning from await.
55233 t1 = $async$result;
55234 oldInFunction = $async$self._async_evaluate$_inFunction;
55235 $async$self._async_evaluate$_inFunction = true;
55236 $async$goto = 4;
55237 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);
55238 case 4:
55239 // returning from await.
55240 result = $async$result;
55241 $async$self._async_evaluate$_inFunction = oldInFunction;
55242 $async$returnValue = result;
55243 // goto return
55244 $async$goto = 1;
55245 break;
55246 case 1:
55247 // return
55248 return A._asyncReturn($async$returnValue, $async$completer);
55249 }
55250 });
55251 return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
55252 },
55253 _async_evaluate$_getFunction$2$namespace($name, namespace) {
55254 var local = this._async_evaluate$_environment.getFunction$2$namespace($name, namespace);
55255 if (local != null || namespace != null)
55256 return local;
55257 return this._async_evaluate$_builtInFunctions.$index(0, $name);
55258 },
55259 _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
55260 return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
55261 },
55262 _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
55263 var $async$goto = 0,
55264 $async$completer = A._makeAsyncAwaitCompleter($async$type),
55265 $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
55266 var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55267 if ($async$errorCode === 1)
55268 return A._asyncRethrow($async$result, $async$completer);
55269 while (true)
55270 switch ($async$goto) {
55271 case 0:
55272 // Function start
55273 $async$goto = 3;
55274 return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
55275 case 3:
55276 // returning from await.
55277 evaluated = $async$result;
55278 $name = callable.declaration.name;
55279 if ($name !== "@content")
55280 $name += "()";
55281 oldCallable = $async$self._async_evaluate$_currentCallable;
55282 $async$self._async_evaluate$_currentCallable = callable;
55283 $async$goto = 4;
55284 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);
55285 case 4:
55286 // returning from await.
55287 result = $async$result;
55288 $async$self._async_evaluate$_currentCallable = oldCallable;
55289 $async$returnValue = result;
55290 // goto return
55291 $async$goto = 1;
55292 break;
55293 case 1:
55294 // return
55295 return A._asyncReturn($async$returnValue, $async$completer);
55296 }
55297 });
55298 return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
55299 },
55300 _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
55301 return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
55302 },
55303 _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
55304 var $async$goto = 0,
55305 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55306 $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
55307 var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55308 if ($async$errorCode === 1)
55309 return A._asyncRethrow($async$result, $async$completer);
55310 while (true)
55311 switch ($async$goto) {
55312 case 0:
55313 // Function start
55314 $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
55315 break;
55316 case 3:
55317 // then
55318 $async$goto = 6;
55319 return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
55320 case 6:
55321 // returning from await.
55322 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
55323 // goto return
55324 $async$goto = 1;
55325 break;
55326 // goto join
55327 $async$goto = 4;
55328 break;
55329 case 5:
55330 // else
55331 $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
55332 break;
55333 case 7:
55334 // then
55335 $async$goto = 10;
55336 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);
55337 case 10:
55338 // returning from await.
55339 $async$returnValue = $async$result;
55340 // goto return
55341 $async$goto = 1;
55342 break;
55343 // goto join
55344 $async$goto = 8;
55345 break;
55346 case 9:
55347 // else
55348 $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
55349 break;
55350 case 11:
55351 // then
55352 t1 = $arguments.named;
55353 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
55354 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
55355 t1 = callable.name + "(";
55356 t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
55357 case 14:
55358 // for condition
55359 if (!(_i < t3)) {
55360 // goto after for
55361 $async$goto = 16;
55362 break;
55363 }
55364 argument = t2[_i];
55365 if (first)
55366 first = false;
55367 else
55368 t1 += ", ";
55369 $async$temp1 = A;
55370 $async$goto = 17;
55371 return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
55372 case 17:
55373 // returning from await.
55374 t1 += $async$temp1.S($async$result);
55375 case 15:
55376 // for update
55377 ++_i;
55378 // goto for condition
55379 $async$goto = 14;
55380 break;
55381 case 16:
55382 // after for
55383 restArg = $arguments.rest;
55384 $async$goto = restArg != null ? 18 : 19;
55385 break;
55386 case 18:
55387 // then
55388 $async$goto = 20;
55389 return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
55390 case 20:
55391 // returning from await.
55392 rest = $async$result;
55393 if (!first)
55394 t1 += ", ";
55395 t1 += $async$self._async_evaluate$_serialize$2(rest, restArg);
55396 case 19:
55397 // join
55398 t1 += A.Primitives_stringFromCharCode(41);
55399 $async$returnValue = new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
55400 // goto return
55401 $async$goto = 1;
55402 break;
55403 // goto join
55404 $async$goto = 12;
55405 break;
55406 case 13:
55407 // else
55408 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
55409 case 12:
55410 // join
55411 case 8:
55412 // join
55413 case 4:
55414 // join
55415 case 1:
55416 // return
55417 return A._asyncReturn($async$returnValue, $async$completer);
55418 }
55419 });
55420 return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
55421 },
55422 _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
55423 return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
55424 },
55425 _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
55426 var $async$goto = 0,
55427 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55428 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, evaluated, oldCallableNode, $async$exception;
55429 var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55430 if ($async$errorCode === 1) {
55431 $async$currentError = $async$result;
55432 $async$goto = $async$handler;
55433 }
55434 while (true)
55435 switch ($async$goto) {
55436 case 0:
55437 // Function start
55438 $async$goto = 3;
55439 return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
55440 case 3:
55441 // returning from await.
55442 evaluated = $async$result;
55443 oldCallableNode = $async$self._async_evaluate$_callableNode;
55444 $async$self._async_evaluate$_callableNode = nodeWithSpan;
55445 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
55446 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
55447 overload = tuple.item1;
55448 callback = tuple.item2;
55449 $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure1(overload, evaluated, namedSet));
55450 declaredArguments = overload.$arguments;
55451 i = evaluated.positional.length, t1 = declaredArguments.length;
55452 case 4:
55453 // for condition
55454 if (!(i < t1)) {
55455 // goto after for
55456 $async$goto = 6;
55457 break;
55458 }
55459 argument = declaredArguments[i];
55460 t2 = evaluated.positional;
55461 t3 = evaluated.named.remove$1(0, argument.name);
55462 $async$goto = t3 == null ? 7 : 8;
55463 break;
55464 case 7:
55465 // then
55466 t3 = argument.defaultValue;
55467 $async$goto = 9;
55468 return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate$_runBuiltInCallable$3);
55469 case 9:
55470 // returning from await.
55471 t3 = $async$self._async_evaluate$_withoutSlash$2($async$result, t3);
55472 case 8:
55473 // join
55474 t2.push(t3);
55475 case 5:
55476 // for update
55477 ++i;
55478 // goto for condition
55479 $async$goto = 4;
55480 break;
55481 case 6:
55482 // after for
55483 if (overload.restArgument != null) {
55484 if (evaluated.positional.length > t1) {
55485 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
55486 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
55487 } else
55488 rest = B.List_empty5;
55489 t1 = evaluated.named;
55490 argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : evaluated.separator);
55491 evaluated.positional.push(argumentList);
55492 } else
55493 argumentList = null;
55494 result = null;
55495 $async$handler = 11;
55496 $async$goto = 14;
55497 return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate$_runBuiltInCallable$3);
55498 case 14:
55499 // returning from await.
55500 result = $async$result;
55501 $async$handler = 2;
55502 // goto after finally
55503 $async$goto = 13;
55504 break;
55505 case 11:
55506 // catch
55507 $async$handler = 10;
55508 $async$exception = $async$currentError;
55509 t1 = A.unwrapException($async$exception);
55510 if (type$.SassRuntimeException._is(t1))
55511 throw $async$exception;
55512 else if (t1 instanceof A.MultiSpanSassScriptException) {
55513 error = t1;
55514 stackTrace = A.getTraceFromException($async$exception);
55515 t1 = error.message;
55516 t2 = nodeWithSpan.get$span(nodeWithSpan);
55517 t3 = error.primaryLabel;
55518 t4 = error.secondarySpans;
55519 A.throwWithTrace(new A.MultiSpanSassRuntimeException($async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
55520 } else if (t1 instanceof A.MultiSpanSassException) {
55521 error0 = t1;
55522 stackTrace0 = A.getTraceFromException($async$exception);
55523 t1 = error0._span_exception$_message;
55524 t2 = error0;
55525 t3 = J.getInterceptor$z(t2);
55526 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
55527 t3 = error0.primaryLabel;
55528 t4 = error0.secondarySpans;
55529 t5 = error0;
55530 t6 = J.getInterceptor$z(t5);
55531 A.throwWithTrace(new A.MultiSpanSassRuntimeException($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
55532 } else {
55533 error1 = t1;
55534 stackTrace1 = A.getTraceFromException($async$exception);
55535 message = null;
55536 try {
55537 message = A._asString(J.get$message$x(error1));
55538 } catch (exception) {
55539 message0 = J.toString$0$(error1);
55540 message = message0;
55541 }
55542 A.throwWithTrace($async$self._async_evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
55543 }
55544 // goto after finally
55545 $async$goto = 13;
55546 break;
55547 case 10:
55548 // uncaught
55549 // goto rethrow
55550 $async$goto = 2;
55551 break;
55552 case 13:
55553 // after finally
55554 $async$self._async_evaluate$_callableNode = oldCallableNode;
55555 if (argumentList == null) {
55556 $async$returnValue = result;
55557 // goto return
55558 $async$goto = 1;
55559 break;
55560 }
55561 t1 = evaluated.named;
55562 if (t1.get$isEmpty(t1)) {
55563 $async$returnValue = result;
55564 // goto return
55565 $async$goto = 1;
55566 break;
55567 }
55568 if (argumentList._wereKeywordsAccessed) {
55569 $async$returnValue = result;
55570 // goto return
55571 $async$goto = 1;
55572 break;
55573 }
55574 t1 = evaluated.named;
55575 t1 = t1.get$keys(t1);
55576 t1 = "No " + A.pluralize("argument", t1.get$length(t1), null) + " named ";
55577 t2 = evaluated.named;
55578 throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + A.S(A.toSentence(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure2(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
55579 case 1:
55580 // return
55581 return A._asyncReturn($async$returnValue, $async$completer);
55582 case 2:
55583 // rethrow
55584 return A._asyncRethrow($async$currentError, $async$completer);
55585 }
55586 });
55587 return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
55588 },
55589 _async_evaluate$_evaluateArguments$1($arguments) {
55590 return this._evaluateArguments$body$_EvaluateVisitor($arguments);
55591 },
55592 _evaluateArguments$body$_EvaluateVisitor($arguments) {
55593 var $async$goto = 0,
55594 $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults),
55595 $async$returnValue, $async$self = this, t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, positional, positionalNodes, $async$temp1, $async$temp2;
55596 var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55597 if ($async$errorCode === 1)
55598 return A._asyncRethrow($async$result, $async$completer);
55599 while (true)
55600 switch ($async$goto) {
55601 case 0:
55602 // Function start
55603 positional = A._setArrayType([], type$.JSArray_Value);
55604 positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
55605 t1 = $arguments.positional, t2 = t1.length, _i = 0;
55606 case 3:
55607 // for condition
55608 if (!(_i < t2)) {
55609 // goto after for
55610 $async$goto = 5;
55611 break;
55612 }
55613 expression = t1[_i];
55614 nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
55615 $async$temp1 = positional;
55616 $async$goto = 6;
55617 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55618 case 6:
55619 // returning from await.
55620 $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
55621 positionalNodes.push(nodeForSpan);
55622 case 4:
55623 // for update
55624 ++_i;
55625 // goto for condition
55626 $async$goto = 3;
55627 break;
55628 case 5:
55629 // after for
55630 t1 = type$.String;
55631 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
55632 t2 = type$.AstNode;
55633 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
55634 t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
55635 case 7:
55636 // for condition
55637 if (!t3.moveNext$0()) {
55638 // goto after for
55639 $async$goto = 8;
55640 break;
55641 }
55642 t4 = t3.get$current(t3);
55643 t5 = t4.value;
55644 nodeForSpan = $async$self._async_evaluate$_expressionNode$1(t5);
55645 t4 = t4.key;
55646 $async$temp1 = named;
55647 $async$temp2 = t4;
55648 $async$goto = 9;
55649 return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55650 case 9:
55651 // returning from await.
55652 $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
55653 namedNodes.$indexSet(0, t4, nodeForSpan);
55654 // goto for condition
55655 $async$goto = 7;
55656 break;
55657 case 8:
55658 // after for
55659 restArgs = $arguments.rest;
55660 if (restArgs == null) {
55661 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null);
55662 // goto return
55663 $async$goto = 1;
55664 break;
55665 }
55666 $async$goto = 10;
55667 return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55668 case 10:
55669 // returning from await.
55670 rest = $async$result;
55671 restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
55672 if (rest instanceof A.SassMap) {
55673 $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
55674 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
55675 for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
55676 t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
55677 namedNodes.addAll$1(0, t3);
55678 separator = B.ListSeparator_undecided_null;
55679 } else if (rest instanceof A.SassList) {
55680 t3 = rest._list$_contents;
55681 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>")));
55682 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
55683 separator = rest._separator;
55684 if (rest instanceof A.SassArgumentList) {
55685 rest._wereKeywordsAccessed = true;
55686 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
55687 }
55688 } else {
55689 positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
55690 positionalNodes.push(restNodeForSpan);
55691 separator = B.ListSeparator_undecided_null;
55692 }
55693 keywordRestArgs = $arguments.keywordRest;
55694 if (keywordRestArgs == null) {
55695 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
55696 // goto return
55697 $async$goto = 1;
55698 break;
55699 }
55700 $async$goto = 11;
55701 return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55702 case 11:
55703 // returning from await.
55704 keywordRest = $async$result;
55705 keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
55706 if (keywordRest instanceof A.SassMap) {
55707 $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
55708 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
55709 for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
55710 t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
55711 namedNodes.addAll$1(0, t1);
55712 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
55713 // goto return
55714 $async$goto = 1;
55715 break;
55716 } else
55717 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
55718 case 1:
55719 // return
55720 return A._asyncReturn($async$returnValue, $async$completer);
55721 }
55722 });
55723 return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
55724 },
55725 _async_evaluate$_evaluateMacroArguments$1(invocation) {
55726 return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
55727 },
55728 _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
55729 var $async$goto = 0,
55730 $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression),
55731 $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
55732 var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55733 if ($async$errorCode === 1)
55734 return A._asyncRethrow($async$result, $async$completer);
55735 while (true)
55736 switch ($async$goto) {
55737 case 0:
55738 // Function start
55739 t1 = invocation.$arguments;
55740 restArgs_ = t1.rest;
55741 if (restArgs_ == null) {
55742 $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
55743 // goto return
55744 $async$goto = 1;
55745 break;
55746 }
55747 t2 = t1.positional;
55748 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
55749 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
55750 $async$goto = 3;
55751 return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
55752 case 3:
55753 // returning from await.
55754 rest = $async$result;
55755 restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
55756 if (rest instanceof A.SassMap)
55757 $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
55758 else if (rest instanceof A.SassList) {
55759 t2 = rest._list$_contents;
55760 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>")));
55761 if (rest instanceof A.SassArgumentList) {
55762 rest._wereKeywordsAccessed = true;
55763 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
55764 }
55765 } else
55766 positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
55767 keywordRestArgs_ = t1.keywordRest;
55768 if (keywordRestArgs_ == null) {
55769 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
55770 // goto return
55771 $async$goto = 1;
55772 break;
55773 }
55774 $async$goto = 4;
55775 return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
55776 case 4:
55777 // returning from await.
55778 keywordRest = $async$result;
55779 keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
55780 if (keywordRest instanceof A.SassMap) {
55781 $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
55782 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
55783 // goto return
55784 $async$goto = 1;
55785 break;
55786 } else
55787 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
55788 case 1:
55789 // return
55790 return A._asyncReturn($async$returnValue, $async$completer);
55791 }
55792 });
55793 return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
55794 },
55795 _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
55796 map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
55797 },
55798 _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
55799 return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
55800 },
55801 _async_evaluate$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
55802 return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0($arguments, positional, named));
55803 },
55804 visitSelectorExpression$1(node) {
55805 return this.visitSelectorExpression$body$_EvaluateVisitor(node);
55806 },
55807 visitSelectorExpression$body$_EvaluateVisitor(node) {
55808 var $async$goto = 0,
55809 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55810 $async$returnValue, $async$self = this, t1;
55811 var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55812 if ($async$errorCode === 1)
55813 return A._asyncRethrow($async$result, $async$completer);
55814 while (true)
55815 switch ($async$goto) {
55816 case 0:
55817 // Function start
55818 t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
55819 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
55820 $async$returnValue = t1 == null ? B.C__SassNull : t1;
55821 // goto return
55822 $async$goto = 1;
55823 break;
55824 case 1:
55825 // return
55826 return A._asyncReturn($async$returnValue, $async$completer);
55827 }
55828 });
55829 return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
55830 },
55831 visitStringExpression$1(node) {
55832 return this.visitStringExpression$body$_EvaluateVisitor(node);
55833 },
55834 visitStringExpression$body$_EvaluateVisitor(node) {
55835 var $async$goto = 0,
55836 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
55837 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
55838 var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55839 if ($async$errorCode === 1)
55840 return A._asyncRethrow($async$result, $async$completer);
55841 while (true)
55842 switch ($async$goto) {
55843 case 0:
55844 // Function start
55845 oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
55846 $async$self._async_evaluate$_inSupportsDeclaration = false;
55847 $async$temp1 = J;
55848 $async$goto = 3;
55849 return A._asyncAwait(A.mapAsync(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure0($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
55850 case 3:
55851 // returning from await.
55852 t1 = $async$temp1.join$0$ax($async$result);
55853 $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
55854 $async$returnValue = new A.SassString(t1, node.hasQuotes);
55855 // goto return
55856 $async$goto = 1;
55857 break;
55858 case 1:
55859 // return
55860 return A._asyncReturn($async$returnValue, $async$completer);
55861 }
55862 });
55863 return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
55864 },
55865 visitCssAtRule$1(node) {
55866 return this.visitCssAtRule$body$_EvaluateVisitor(node);
55867 },
55868 visitCssAtRule$body$_EvaluateVisitor(node) {
55869 var $async$goto = 0,
55870 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55871 $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
55872 var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55873 if ($async$errorCode === 1)
55874 return A._asyncRethrow($async$result, $async$completer);
55875 while (true)
55876 switch ($async$goto) {
55877 case 0:
55878 // Function start
55879 if ($async$self._async_evaluate$_declarationName != null)
55880 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
55881 if (node.isChildless) {
55882 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
55883 // goto return
55884 $async$goto = 1;
55885 break;
55886 }
55887 wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
55888 wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
55889 t1 = node.name;
55890 if (A.unvendor(t1.get$value(t1)) === "keyframes")
55891 $async$self._async_evaluate$_inKeyframes = true;
55892 else
55893 $async$self._async_evaluate$_inUnknownAtRule = true;
55894 $async$goto = 3;
55895 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);
55896 case 3:
55897 // returning from await.
55898 $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
55899 $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
55900 case 1:
55901 // return
55902 return A._asyncReturn($async$returnValue, $async$completer);
55903 }
55904 });
55905 return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
55906 },
55907 visitCssComment$1(node) {
55908 return this.visitCssComment$body$_EvaluateVisitor(node);
55909 },
55910 visitCssComment$body$_EvaluateVisitor(node) {
55911 var $async$goto = 0,
55912 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55913 $async$self = this;
55914 var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55915 if ($async$errorCode === 1)
55916 return A._asyncRethrow($async$result, $async$completer);
55917 while (true)
55918 switch ($async$goto) {
55919 case 0:
55920 // Function start
55921 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))
55922 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
55923 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
55924 // implicit return
55925 return A._asyncReturn(null, $async$completer);
55926 }
55927 });
55928 return A._asyncStartSync($async$visitCssComment$1, $async$completer);
55929 },
55930 visitCssDeclaration$1(node) {
55931 return this.visitCssDeclaration$body$_EvaluateVisitor(node);
55932 },
55933 visitCssDeclaration$body$_EvaluateVisitor(node) {
55934 var $async$goto = 0,
55935 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55936 $async$self = this, t1;
55937 var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55938 if ($async$errorCode === 1)
55939 return A._asyncRethrow($async$result, $async$completer);
55940 while (true)
55941 switch ($async$goto) {
55942 case 0:
55943 // Function start
55944 t1 = node.name;
55945 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(t1, node.value, node.span, J.startsWith$1$s(t1.get$value(t1), "--"), node.valueSpanForMap));
55946 // implicit return
55947 return A._asyncReturn(null, $async$completer);
55948 }
55949 });
55950 return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
55951 },
55952 visitCssImport$1(node) {
55953 return this.visitCssImport$body$_EvaluateVisitor(node);
55954 },
55955 visitCssImport$body$_EvaluateVisitor(node) {
55956 var $async$goto = 0,
55957 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55958 $async$self = this, t1, modifiableNode;
55959 var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55960 if ($async$errorCode === 1)
55961 return A._asyncRethrow($async$result, $async$completer);
55962 while (true)
55963 switch ($async$goto) {
55964 case 0:
55965 // Function start
55966 modifiableNode = A.ModifiableCssImport$(node.url, node.span, node.media, node.supports);
55967 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"))
55968 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
55969 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)) {
55970 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
55971 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
55972 } else {
55973 t1 = $async$self._async_evaluate$_outOfOrderImports;
55974 (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
55975 }
55976 // implicit return
55977 return A._asyncReturn(null, $async$completer);
55978 }
55979 });
55980 return A._asyncStartSync($async$visitCssImport$1, $async$completer);
55981 },
55982 visitCssKeyframeBlock$1(node) {
55983 return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
55984 },
55985 visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
55986 var $async$goto = 0,
55987 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55988 $async$self = this;
55989 var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55990 if ($async$errorCode === 1)
55991 return A._asyncRethrow($async$result, $async$completer);
55992 while (true)
55993 switch ($async$goto) {
55994 case 0:
55995 // Function start
55996 $async$goto = 2;
55997 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);
55998 case 2:
55999 // returning from await.
56000 // implicit return
56001 return A._asyncReturn(null, $async$completer);
56002 }
56003 });
56004 return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
56005 },
56006 visitCssMediaRule$1(node) {
56007 return this.visitCssMediaRule$body$_EvaluateVisitor(node);
56008 },
56009 visitCssMediaRule$body$_EvaluateVisitor(node) {
56010 var $async$goto = 0,
56011 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56012 $async$returnValue, $async$self = this, mergedQueries, t1;
56013 var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56014 if ($async$errorCode === 1)
56015 return A._asyncRethrow($async$result, $async$completer);
56016 while (true)
56017 switch ($async$goto) {
56018 case 0:
56019 // Function start
56020 if ($async$self._async_evaluate$_declarationName != null)
56021 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
56022 mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
56023 t1 = mergedQueries == null;
56024 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
56025 // goto return
56026 $async$goto = 1;
56027 break;
56028 }
56029 t1 = t1 ? node.queries : mergedQueries;
56030 $async$goto = 3;
56031 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), false, new A._EvaluateVisitor_visitCssMediaRule_closure4(mergedQueries), type$.ModifiableCssMediaRule, type$.Null), $async$visitCssMediaRule$1);
56032 case 3:
56033 // returning from await.
56034 case 1:
56035 // return
56036 return A._asyncReturn($async$returnValue, $async$completer);
56037 }
56038 });
56039 return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
56040 },
56041 visitCssStyleRule$1(node) {
56042 return this.visitCssStyleRule$body$_EvaluateVisitor(node);
56043 },
56044 visitCssStyleRule$body$_EvaluateVisitor(node) {
56045 var $async$goto = 0,
56046 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56047 $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
56048 var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56049 if ($async$errorCode === 1)
56050 return A._asyncRethrow($async$result, $async$completer);
56051 while (true)
56052 switch ($async$goto) {
56053 case 0:
56054 // Function start
56055 if ($async$self._async_evaluate$_declarationName != null)
56056 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
56057 t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
56058 styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
56059 t2 = node.selector;
56060 t3 = t2.value;
56061 t4 = styleRule == null;
56062 t5 = t4 ? null : styleRule.originalSelector;
56063 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
56064 rule = A.ModifiableCssStyleRule$($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, $async$self._async_evaluate$_mediaQueries), node.span, originalSelector);
56065 oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
56066 $async$self._async_evaluate$_atRootExcludingStyleRule = false;
56067 $async$goto = 2;
56068 return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure1($async$self, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure2(), type$.ModifiableCssStyleRule, type$.Null), $async$visitCssStyleRule$1);
56069 case 2:
56070 // returning from await.
56071 $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
56072 if (t4) {
56073 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
56074 t1 = !t1.get$isEmpty(t1);
56075 } else
56076 t1 = false;
56077 if (t1) {
56078 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
56079 t1.get$last(t1).isGroupEnd = true;
56080 }
56081 // implicit return
56082 return A._asyncReturn(null, $async$completer);
56083 }
56084 });
56085 return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
56086 },
56087 visitCssStylesheet$1(node) {
56088 return this.visitCssStylesheet$body$_EvaluateVisitor(node);
56089 },
56090 visitCssStylesheet$body$_EvaluateVisitor(node) {
56091 var $async$goto = 0,
56092 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56093 $async$self = this, t1;
56094 var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56095 if ($async$errorCode === 1)
56096 return A._asyncRethrow($async$result, $async$completer);
56097 while (true)
56098 switch ($async$goto) {
56099 case 0:
56100 // Function start
56101 t1 = J.get$iterator$ax(node.get$children(node));
56102 case 2:
56103 // for condition
56104 if (!t1.moveNext$0()) {
56105 // goto after for
56106 $async$goto = 3;
56107 break;
56108 }
56109 $async$goto = 4;
56110 return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
56111 case 4:
56112 // returning from await.
56113 // goto for condition
56114 $async$goto = 2;
56115 break;
56116 case 3:
56117 // after for
56118 // implicit return
56119 return A._asyncReturn(null, $async$completer);
56120 }
56121 });
56122 return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
56123 },
56124 visitCssSupportsRule$1(node) {
56125 return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
56126 },
56127 visitCssSupportsRule$body$_EvaluateVisitor(node) {
56128 var $async$goto = 0,
56129 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56130 $async$self = this;
56131 var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56132 if ($async$errorCode === 1)
56133 return A._asyncRethrow($async$result, $async$completer);
56134 while (true)
56135 switch ($async$goto) {
56136 case 0:
56137 // Function start
56138 if ($async$self._async_evaluate$_declarationName != null)
56139 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
56140 $async$goto = 2;
56141 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);
56142 case 2:
56143 // returning from await.
56144 // implicit return
56145 return A._asyncReturn(null, $async$completer);
56146 }
56147 });
56148 return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
56149 },
56150 _async_evaluate$_handleReturn$1$2(list, callback) {
56151 return this._handleReturn$body$_EvaluateVisitor(list, callback);
56152 },
56153 _async_evaluate$_handleReturn$2(list, callback) {
56154 return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
56155 },
56156 _handleReturn$body$_EvaluateVisitor(list, callback) {
56157 var $async$goto = 0,
56158 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
56159 $async$returnValue, t1, _i, result;
56160 var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56161 if ($async$errorCode === 1)
56162 return A._asyncRethrow($async$result, $async$completer);
56163 while (true)
56164 switch ($async$goto) {
56165 case 0:
56166 // Function start
56167 t1 = list.length, _i = 0;
56168 case 3:
56169 // for condition
56170 if (!(_i < list.length)) {
56171 // goto after for
56172 $async$goto = 5;
56173 break;
56174 }
56175 $async$goto = 6;
56176 return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
56177 case 6:
56178 // returning from await.
56179 result = $async$result;
56180 if (result != null) {
56181 $async$returnValue = result;
56182 // goto return
56183 $async$goto = 1;
56184 break;
56185 }
56186 case 4:
56187 // for update
56188 list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
56189 // goto for condition
56190 $async$goto = 3;
56191 break;
56192 case 5:
56193 // after for
56194 $async$returnValue = null;
56195 // goto return
56196 $async$goto = 1;
56197 break;
56198 case 1:
56199 // return
56200 return A._asyncReturn($async$returnValue, $async$completer);
56201 }
56202 });
56203 return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
56204 },
56205 _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
56206 return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
56207 },
56208 _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
56209 var $async$goto = 0,
56210 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56211 $async$returnValue, $async$self = this, result, oldEnvironment;
56212 var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56213 if ($async$errorCode === 1)
56214 return A._asyncRethrow($async$result, $async$completer);
56215 while (true)
56216 switch ($async$goto) {
56217 case 0:
56218 // Function start
56219 oldEnvironment = $async$self._async_evaluate$_environment;
56220 $async$self._async_evaluate$_environment = environment;
56221 $async$goto = 3;
56222 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
56223 case 3:
56224 // returning from await.
56225 result = $async$result;
56226 $async$self._async_evaluate$_environment = oldEnvironment;
56227 $async$returnValue = result;
56228 // goto return
56229 $async$goto = 1;
56230 break;
56231 case 1:
56232 // return
56233 return A._asyncReturn($async$returnValue, $async$completer);
56234 }
56235 });
56236 return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
56237 },
56238 _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
56239 return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
56240 },
56241 _async_evaluate$_interpolationToValue$1(interpolation) {
56242 return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
56243 },
56244 _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
56245 return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
56246 },
56247 _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
56248 var $async$goto = 0,
56249 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
56250 $async$returnValue, $async$self = this, result, t1;
56251 var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56252 if ($async$errorCode === 1)
56253 return A._asyncRethrow($async$result, $async$completer);
56254 while (true)
56255 switch ($async$goto) {
56256 case 0:
56257 // Function start
56258 $async$goto = 3;
56259 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
56260 case 3:
56261 // returning from await.
56262 result = $async$result;
56263 t1 = trim ? A.trimAscii(result, true) : result;
56264 $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
56265 // goto return
56266 $async$goto = 1;
56267 break;
56268 case 1:
56269 // return
56270 return A._asyncReturn($async$returnValue, $async$completer);
56271 }
56272 });
56273 return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
56274 },
56275 _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
56276 return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
56277 },
56278 _async_evaluate$_performInterpolation$1(interpolation) {
56279 return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
56280 },
56281 _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
56282 var $async$goto = 0,
56283 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
56284 $async$returnValue, $async$self = this, result, oldInSupportsDeclaration, $async$temp1;
56285 var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56286 if ($async$errorCode === 1)
56287 return A._asyncRethrow($async$result, $async$completer);
56288 while (true)
56289 switch ($async$goto) {
56290 case 0:
56291 // Function start
56292 oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
56293 $async$self._async_evaluate$_inSupportsDeclaration = false;
56294 $async$temp1 = J;
56295 $async$goto = 3;
56296 return A._asyncAwait(A.mapAsync(interpolation.contents, new A._EvaluateVisitor__performInterpolation_closure0($async$self, warnForColor, interpolation), type$.Object, type$.String), $async$_async_evaluate$_performInterpolation$2$warnForColor);
56297 case 3:
56298 // returning from await.
56299 result = $async$temp1.join$0$ax($async$result);
56300 $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
56301 $async$returnValue = result;
56302 // goto return
56303 $async$goto = 1;
56304 break;
56305 case 1:
56306 // return
56307 return A._asyncReturn($async$returnValue, $async$completer);
56308 }
56309 });
56310 return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
56311 },
56312 _evaluateToCss$2$quote(expression, quote) {
56313 return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
56314 },
56315 _evaluateToCss$1(expression) {
56316 return this._evaluateToCss$2$quote(expression, true);
56317 },
56318 _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
56319 var $async$goto = 0,
56320 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
56321 $async$returnValue, $async$self = this;
56322 var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56323 if ($async$errorCode === 1)
56324 return A._asyncRethrow($async$result, $async$completer);
56325 while (true)
56326 switch ($async$goto) {
56327 case 0:
56328 // Function start
56329 $async$goto = 3;
56330 return A._asyncAwait(expression.accept$1($async$self), $async$_evaluateToCss$2$quote);
56331 case 3:
56332 // returning from await.
56333 $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
56334 // goto return
56335 $async$goto = 1;
56336 break;
56337 case 1:
56338 // return
56339 return A._asyncReturn($async$returnValue, $async$completer);
56340 }
56341 });
56342 return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
56343 },
56344 _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
56345 return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
56346 },
56347 _async_evaluate$_serialize$2(value, nodeWithSpan) {
56348 return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
56349 },
56350 _async_evaluate$_expressionNode$1(expression) {
56351 var t1;
56352 if (expression instanceof A.VariableExpression) {
56353 t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
56354 return t1 == null ? expression : t1;
56355 } else
56356 return expression;
56357 },
56358 _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
56359 return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
56360 },
56361 _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
56362 return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
56363 },
56364 _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
56365 return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
56366 },
56367 _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
56368 var $async$goto = 0,
56369 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56370 $async$returnValue, $async$self = this, t1, result;
56371 var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56372 if ($async$errorCode === 1)
56373 return A._asyncRethrow($async$result, $async$completer);
56374 while (true)
56375 switch ($async$goto) {
56376 case 0:
56377 // Function start
56378 $async$self._async_evaluate$_addChild$2$through(node, through);
56379 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
56380 $async$self._async_evaluate$__parent = node;
56381 $async$goto = 3;
56382 return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
56383 case 3:
56384 // returning from await.
56385 result = $async$result;
56386 $async$self._async_evaluate$__parent = t1;
56387 $async$returnValue = result;
56388 // goto return
56389 $async$goto = 1;
56390 break;
56391 case 1:
56392 // return
56393 return A._asyncReturn($async$returnValue, $async$completer);
56394 }
56395 });
56396 return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
56397 },
56398 _async_evaluate$_addChild$2$through(node, through) {
56399 var grandparent, t1,
56400 $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
56401 if (through != null) {
56402 for (; through.call$1($parent); $parent = grandparent) {
56403 grandparent = $parent._parent;
56404 if (grandparent == null)
56405 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
56406 }
56407 if ($parent.get$hasFollowingSibling()) {
56408 t1 = $parent._parent;
56409 t1.toString;
56410 $parent = $parent.copyWithoutChildren$0();
56411 t1.addChild$1($parent);
56412 }
56413 }
56414 $parent.addChild$1(node);
56415 },
56416 _async_evaluate$_addChild$1(node) {
56417 return this._async_evaluate$_addChild$2$through(node, null);
56418 },
56419 _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
56420 return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
56421 },
56422 _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
56423 var $async$goto = 0,
56424 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56425 $async$returnValue, $async$self = this, result, oldRule;
56426 var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56427 if ($async$errorCode === 1)
56428 return A._asyncRethrow($async$result, $async$completer);
56429 while (true)
56430 switch ($async$goto) {
56431 case 0:
56432 // Function start
56433 oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
56434 $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
56435 $async$goto = 3;
56436 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
56437 case 3:
56438 // returning from await.
56439 result = $async$result;
56440 $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
56441 $async$returnValue = result;
56442 // goto return
56443 $async$goto = 1;
56444 break;
56445 case 1:
56446 // return
56447 return A._asyncReturn($async$returnValue, $async$completer);
56448 }
56449 });
56450 return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
56451 },
56452 _async_evaluate$_withMediaQueries$1$2(queries, callback, $T) {
56453 return this._withMediaQueries$body$_EvaluateVisitor(queries, callback, $T, $T);
56454 },
56455 _withMediaQueries$body$_EvaluateVisitor(queries, callback, $T, $async$type) {
56456 var $async$goto = 0,
56457 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56458 $async$returnValue, $async$self = this, result, oldMediaQueries;
56459 var $async$_async_evaluate$_withMediaQueries$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56460 if ($async$errorCode === 1)
56461 return A._asyncRethrow($async$result, $async$completer);
56462 while (true)
56463 switch ($async$goto) {
56464 case 0:
56465 // Function start
56466 oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
56467 $async$self._async_evaluate$_mediaQueries = queries;
56468 $async$goto = 3;
56469 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$2);
56470 case 3:
56471 // returning from await.
56472 result = $async$result;
56473 $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
56474 $async$returnValue = result;
56475 // goto return
56476 $async$goto = 1;
56477 break;
56478 case 1:
56479 // return
56480 return A._asyncReturn($async$returnValue, $async$completer);
56481 }
56482 });
56483 return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$2, $async$completer);
56484 },
56485 _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
56486 return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
56487 },
56488 _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
56489 var $async$goto = 0,
56490 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56491 $async$returnValue, $async$self = this, oldMember, result, t1;
56492 var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56493 if ($async$errorCode === 1)
56494 return A._asyncRethrow($async$result, $async$completer);
56495 while (true)
56496 switch ($async$goto) {
56497 case 0:
56498 // Function start
56499 t1 = $async$self._async_evaluate$_stack;
56500 t1.push(new A.Tuple2($async$self._async_evaluate$_member, nodeWithSpan, type$.Tuple2_String_AstNode));
56501 oldMember = $async$self._async_evaluate$_member;
56502 $async$self._async_evaluate$_member = member;
56503 $async$goto = 3;
56504 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
56505 case 3:
56506 // returning from await.
56507 result = $async$result;
56508 $async$self._async_evaluate$_member = oldMember;
56509 t1.pop();
56510 $async$returnValue = result;
56511 // goto return
56512 $async$goto = 1;
56513 break;
56514 case 1:
56515 // return
56516 return A._asyncReturn($async$returnValue, $async$completer);
56517 }
56518 });
56519 return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
56520 },
56521 _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
56522 if (value instanceof A.SassNumber && value.asSlash != null)
56523 this._async_evaluate$_warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation0().call$1(value)) + string$.x0a_More, nodeForSpan.get$span(nodeForSpan), true);
56524 return value.withoutSlash$0();
56525 },
56526 _async_evaluate$_stackFrame$2(member, span) {
56527 return A.frameForSpan(span, member, A.NullableExtension_andThen(span.file.url, new A._EvaluateVisitor__stackFrame_closure0(this)));
56528 },
56529 _async_evaluate$_stackTrace$1(span) {
56530 var _this = this,
56531 t1 = _this._async_evaluate$_stack;
56532 t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure0(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
56533 if (span != null)
56534 t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
56535 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
56536 },
56537 _async_evaluate$_stackTrace$0() {
56538 return this._async_evaluate$_stackTrace$1(null);
56539 },
56540 _async_evaluate$_warn$3$deprecation(message, span, deprecation) {
56541 var t1, _this = this;
56542 if (_this._async_evaluate$_quietDeps)
56543 if (!_this._async_evaluate$_inDependency) {
56544 t1 = _this._async_evaluate$_currentCallable;
56545 t1 = t1 == null ? null : t1.inDependency;
56546 t1 = t1 === true;
56547 } else
56548 t1 = true;
56549 else
56550 t1 = false;
56551 if (t1)
56552 return;
56553 if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
56554 return;
56555 _this._async_evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate$_stackTrace$1(span));
56556 },
56557 _async_evaluate$_warn$2(message, span) {
56558 return this._async_evaluate$_warn$3$deprecation(message, span, false);
56559 },
56560 _async_evaluate$_exception$2(message, span) {
56561 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2) : span;
56562 return new A.SassRuntimeException(this._async_evaluate$_stackTrace$1(span), message, t1);
56563 },
56564 _async_evaluate$_exception$1(message) {
56565 return this._async_evaluate$_exception$2(message, null);
56566 },
56567 _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
56568 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2);
56569 return new A.MultiSpanSassRuntimeException(this._async_evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
56570 },
56571 _async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback) {
56572 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
56573 try {
56574 t1 = callback.call$0();
56575 return t1;
56576 } catch (exception) {
56577 t1 = A.unwrapException(exception);
56578 if (t1 instanceof A.SassFormatException) {
56579 error = t1;
56580 stackTrace = A.getTraceFromException(exception);
56581 t1 = error;
56582 t2 = J.getInterceptor$z(t1);
56583 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
56584 span = nodeWithSpan.get$span(nodeWithSpan);
56585 t1 = span;
56586 t2 = span;
56587 syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, 0, _null), 0, _null), A.FileLocation$_(t1.file, t1._file$_start).offset, A.FileLocation$_(t2.file, t2._end).offset, errorText);
56588 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
56589 t1 = span;
56590 t1 = A.FileLocation$_(t1.file, t1._file$_start);
56591 t3 = error;
56592 t4 = J.getInterceptor$z(t3);
56593 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
56594 t3 = A.FileLocation$_(t3.file, t3._file$_start);
56595 t4 = span;
56596 t4 = A.FileLocation$_(t4.file, t4._file$_start);
56597 t5 = error;
56598 t6 = J.getInterceptor$z(t5);
56599 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
56600 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
56601 A.throwWithTrace(this._async_evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
56602 } else
56603 throw exception;
56604 }
56605 },
56606 _async_evaluate$_adjustParseError$2(nodeWithSpan, callback) {
56607 return this._async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
56608 },
56609 _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
56610 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
56611 try {
56612 t1 = callback.call$0();
56613 return t1;
56614 } catch (exception) {
56615 t1 = A.unwrapException(exception);
56616 if (t1 instanceof A.MultiSpanSassScriptException) {
56617 error = t1;
56618 stackTrace = A.getTraceFromException(exception);
56619 t1 = error.message;
56620 t2 = nodeWithSpan.get$span(nodeWithSpan);
56621 t3 = error.primaryLabel;
56622 t4 = error.secondarySpans;
56623 A.throwWithTrace(new A.MultiSpanSassRuntimeException(this._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
56624 } else if (t1 instanceof A.SassScriptException) {
56625 error0 = t1;
56626 stackTrace0 = A.getTraceFromException(exception);
56627 A.throwWithTrace(this._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
56628 } else
56629 throw exception;
56630 }
56631 },
56632 _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
56633 return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
56634 },
56635 _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
56636 return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
56637 },
56638 _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
56639 var $async$goto = 0,
56640 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56641 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
56642 var $async$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56643 if ($async$errorCode === 1) {
56644 $async$currentError = $async$result;
56645 $async$goto = $async$handler;
56646 }
56647 while (true)
56648 switch ($async$goto) {
56649 case 0:
56650 // Function start
56651 $async$handler = 4;
56652 $async$goto = 7;
56653 return A._asyncAwait(callback.call$0(), $async$_addExceptionSpanAsync$1$2);
56654 case 7:
56655 // returning from await.
56656 t1 = $async$result;
56657 $async$returnValue = t1;
56658 // goto return
56659 $async$goto = 1;
56660 break;
56661 $async$handler = 2;
56662 // goto after finally
56663 $async$goto = 6;
56664 break;
56665 case 4:
56666 // catch
56667 $async$handler = 3;
56668 $async$exception = $async$currentError;
56669 t1 = A.unwrapException($async$exception);
56670 if (t1 instanceof A.MultiSpanSassScriptException) {
56671 error = t1;
56672 stackTrace = A.getTraceFromException($async$exception);
56673 t1 = error.message;
56674 t2 = nodeWithSpan.get$span(nodeWithSpan);
56675 t3 = error.primaryLabel;
56676 t4 = error.secondarySpans;
56677 A.throwWithTrace(new A.MultiSpanSassRuntimeException($async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
56678 } else if (t1 instanceof A.SassScriptException) {
56679 error0 = t1;
56680 stackTrace0 = A.getTraceFromException($async$exception);
56681 A.throwWithTrace($async$self._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
56682 } else
56683 throw $async$exception;
56684 // goto after finally
56685 $async$goto = 6;
56686 break;
56687 case 3:
56688 // uncaught
56689 // goto rethrow
56690 $async$goto = 2;
56691 break;
56692 case 6:
56693 // after finally
56694 case 1:
56695 // return
56696 return A._asyncReturn($async$returnValue, $async$completer);
56697 case 2:
56698 // rethrow
56699 return A._asyncRethrow($async$currentError, $async$completer);
56700 }
56701 });
56702 return A._asyncStartSync($async$_addExceptionSpanAsync$1$2, $async$completer);
56703 },
56704 _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
56705 return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
56706 },
56707 _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
56708 var $async$goto = 0,
56709 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56710 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
56711 var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56712 if ($async$errorCode === 1) {
56713 $async$currentError = $async$result;
56714 $async$goto = $async$handler;
56715 }
56716 while (true)
56717 switch ($async$goto) {
56718 case 0:
56719 // Function start
56720 $async$handler = 4;
56721 $async$goto = 7;
56722 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
56723 case 7:
56724 // returning from await.
56725 t1 = $async$result;
56726 $async$returnValue = t1;
56727 // goto return
56728 $async$goto = 1;
56729 break;
56730 $async$handler = 2;
56731 // goto after finally
56732 $async$goto = 6;
56733 break;
56734 case 4:
56735 // catch
56736 $async$handler = 3;
56737 $async$exception = $async$currentError;
56738 t1 = A.unwrapException($async$exception);
56739 if (type$.SassRuntimeException._is(t1)) {
56740 error = t1;
56741 stackTrace = A.getTraceFromException($async$exception);
56742 t1 = J.get$span$z(error);
56743 if (!B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null), "@error"))
56744 throw $async$exception;
56745 t1 = error._span_exception$_message;
56746 t2 = nodeWithSpan.get$span(nodeWithSpan);
56747 A.throwWithTrace(new A.SassRuntimeException($async$self._async_evaluate$_stackTrace$0(), t1, t2), stackTrace);
56748 } else
56749 throw $async$exception;
56750 // goto after finally
56751 $async$goto = 6;
56752 break;
56753 case 3:
56754 // uncaught
56755 // goto rethrow
56756 $async$goto = 2;
56757 break;
56758 case 6:
56759 // after finally
56760 case 1:
56761 // return
56762 return A._asyncReturn($async$returnValue, $async$completer);
56763 case 2:
56764 // rethrow
56765 return A._asyncRethrow($async$currentError, $async$completer);
56766 }
56767 });
56768 return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
56769 }
56770 };
56771 A._EvaluateVisitor_closure9.prototype = {
56772 call$1($arguments) {
56773 var module, t2,
56774 t1 = J.getInterceptor$asx($arguments),
56775 variable = t1.$index($arguments, 0).assertString$1("name");
56776 t1 = t1.$index($arguments, 1).get$realNull();
56777 module = t1 == null ? null : t1.assertString$1("module");
56778 t1 = this.$this._async_evaluate$_environment;
56779 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
56780 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
56781 },
56782 $signature: 19
56783 };
56784 A._EvaluateVisitor_closure10.prototype = {
56785 call$1($arguments) {
56786 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
56787 t1 = this.$this._async_evaluate$_environment;
56788 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
56789 },
56790 $signature: 19
56791 };
56792 A._EvaluateVisitor_closure11.prototype = {
56793 call$1($arguments) {
56794 var module, t2, t3, t4,
56795 t1 = J.getInterceptor$asx($arguments),
56796 variable = t1.$index($arguments, 0).assertString$1("name");
56797 t1 = t1.$index($arguments, 1).get$realNull();
56798 module = t1 == null ? null : t1.assertString$1("module");
56799 t1 = this.$this;
56800 t2 = t1._async_evaluate$_environment;
56801 t3 = variable._string$_text;
56802 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
56803 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;
56804 },
56805 $signature: 19
56806 };
56807 A._EvaluateVisitor_closure12.prototype = {
56808 call$1($arguments) {
56809 var module, t2,
56810 t1 = J.getInterceptor$asx($arguments),
56811 variable = t1.$index($arguments, 0).assertString$1("name");
56812 t1 = t1.$index($arguments, 1).get$realNull();
56813 module = t1 == null ? null : t1.assertString$1("module");
56814 t1 = this.$this._async_evaluate$_environment;
56815 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
56816 return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
56817 },
56818 $signature: 19
56819 };
56820 A._EvaluateVisitor_closure13.prototype = {
56821 call$1($arguments) {
56822 var t1 = this.$this._async_evaluate$_environment;
56823 if (!t1._async_environment$_inMixin)
56824 throw A.wrapException(A.SassScriptException$(string$.conten));
56825 return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
56826 },
56827 $signature: 19
56828 };
56829 A._EvaluateVisitor_closure14.prototype = {
56830 call$1($arguments) {
56831 var t2, t3, t4,
56832 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
56833 module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
56834 if (module == null)
56835 throw A.wrapException('There is no module with namespace "' + t1 + '".');
56836 t1 = type$.Value;
56837 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
56838 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
56839 t4 = t3.get$current(t3);
56840 t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
56841 }
56842 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
56843 },
56844 $signature: 35
56845 };
56846 A._EvaluateVisitor_closure15.prototype = {
56847 call$1($arguments) {
56848 var t2, t3, t4,
56849 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
56850 module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
56851 if (module == null)
56852 throw A.wrapException('There is no module with namespace "' + t1 + '".');
56853 t1 = type$.Value;
56854 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
56855 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
56856 t4 = t3.get$current(t3);
56857 t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
56858 }
56859 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
56860 },
56861 $signature: 35
56862 };
56863 A._EvaluateVisitor_closure16.prototype = {
56864 call$1($arguments) {
56865 var module, callable, t2,
56866 t1 = J.getInterceptor$asx($arguments),
56867 $name = t1.$index($arguments, 0).assertString$1("name"),
56868 css = t1.$index($arguments, 1).get$isTruthy();
56869 t1 = t1.$index($arguments, 2).get$realNull();
56870 module = t1 == null ? null : t1.assertString$1("module");
56871 if (css && module != null)
56872 throw A.wrapException(string$.x24css_a);
56873 if (css)
56874 callable = new A.PlainCssCallable($name._string$_text);
56875 else {
56876 t1 = this.$this;
56877 t2 = t1._async_evaluate$_callableNode;
56878 t2.toString;
56879 callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure4(t1, $name, module));
56880 }
56881 if (callable != null)
56882 return new A.SassFunction(callable);
56883 throw A.wrapException("Function not found: " + $name.toString$0(0));
56884 },
56885 $signature: 165
56886 };
56887 A._EvaluateVisitor__closure4.prototype = {
56888 call$0() {
56889 var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
56890 t2 = this.module;
56891 t2 = t2 == null ? null : t2._string$_text;
56892 return this.$this._async_evaluate$_getFunction$2$namespace(t1, t2);
56893 },
56894 $signature: 113
56895 };
56896 A._EvaluateVisitor_closure17.prototype = {
56897 call$1($arguments) {
56898 return this.$call$body$_EvaluateVisitor_closure0($arguments);
56899 },
56900 $call$body$_EvaluateVisitor_closure0($arguments) {
56901 var $async$goto = 0,
56902 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
56903 $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
56904 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56905 if ($async$errorCode === 1)
56906 return A._asyncRethrow($async$result, $async$completer);
56907 while (true)
56908 switch ($async$goto) {
56909 case 0:
56910 // Function start
56911 t1 = J.getInterceptor$asx($arguments);
56912 $function = t1.$index($arguments, 0);
56913 args = type$.SassArgumentList._as(t1.$index($arguments, 1));
56914 t1 = $async$self.$this;
56915 t2 = t1._async_evaluate$_callableNode;
56916 t2.toString;
56917 t3 = A._setArrayType([], type$.JSArray_Expression);
56918 t4 = type$.String;
56919 t5 = type$.Expression;
56920 t6 = t2.get$span(t2);
56921 t7 = t2.get$span(t2);
56922 args._wereKeywordsAccessed = true;
56923 t8 = args._keywords;
56924 if (t8.get$isEmpty(t8))
56925 t2 = null;
56926 else {
56927 t9 = type$.Value;
56928 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
56929 for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
56930 t11 = t8.get$current(t8);
56931 t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
56932 }
56933 t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
56934 }
56935 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);
56936 $async$goto = $function instanceof A.SassString ? 3 : 4;
56937 break;
56938 case 3:
56939 // then
56940 t2 = string$.Passin + $function.toString$0(0) + "))";
56941 A.EvaluationContext_current().warn$2$deprecation(0, t2, true);
56942 callableNode = t1._async_evaluate$_callableNode;
56943 $async$goto = 5;
56944 return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
56945 case 5:
56946 // returning from await.
56947 $async$returnValue = $async$result;
56948 // goto return
56949 $async$goto = 1;
56950 break;
56951 case 4:
56952 // join
56953 t2 = $function.assertFunction$1("function");
56954 t3 = t1._async_evaluate$_callableNode;
56955 t3.toString;
56956 $async$goto = 6;
56957 return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
56958 case 6:
56959 // returning from await.
56960 t3 = $async$result;
56961 $async$returnValue = t3;
56962 // goto return
56963 $async$goto = 1;
56964 break;
56965 case 1:
56966 // return
56967 return A._asyncReturn($async$returnValue, $async$completer);
56968 }
56969 });
56970 return A._asyncStartSync($async$call$1, $async$completer);
56971 },
56972 $signature: 207
56973 };
56974 A._EvaluateVisitor_closure18.prototype = {
56975 call$1($arguments) {
56976 return this.$call$body$_EvaluateVisitor_closure($arguments);
56977 },
56978 $call$body$_EvaluateVisitor_closure($arguments) {
56979 var $async$goto = 0,
56980 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56981 $async$self = this, withMap, t2, values, configuration, t1, url;
56982 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56983 if ($async$errorCode === 1)
56984 return A._asyncRethrow($async$result, $async$completer);
56985 while (true)
56986 switch ($async$goto) {
56987 case 0:
56988 // Function start
56989 t1 = J.getInterceptor$asx($arguments);
56990 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
56991 t1 = t1.$index($arguments, 1).get$realNull();
56992 withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
56993 t1 = $async$self.$this;
56994 t2 = t1._async_evaluate$_callableNode;
56995 t2.toString;
56996 if (withMap != null) {
56997 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
56998 withMap.forEach$1(0, new A._EvaluateVisitor__closure2(values, t2.get$span(t2), t2));
56999 configuration = new A.ExplicitConfiguration(t2, values);
57000 } else
57001 configuration = B.Configuration_Map_empty;
57002 $async$goto = 2;
57003 return A._asyncAwait(t1._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure3(t1), t2.get$span(t2).file.url, configuration, true), $async$call$1);
57004 case 2:
57005 // returning from await.
57006 t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
57007 // implicit return
57008 return A._asyncReturn(null, $async$completer);
57009 }
57010 });
57011 return A._asyncStartSync($async$call$1, $async$completer);
57012 },
57013 $signature: 428
57014 };
57015 A._EvaluateVisitor__closure2.prototype = {
57016 call$2(variable, value) {
57017 var t1 = variable.assertString$1("with key"),
57018 $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
57019 t1 = this.values;
57020 if (t1.containsKey$1($name))
57021 throw A.wrapException("The variable $" + $name + " was configured twice.");
57022 t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
57023 },
57024 $signature: 56
57025 };
57026 A._EvaluateVisitor__closure3.prototype = {
57027 call$1(module) {
57028 var t1 = this.$this;
57029 return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
57030 },
57031 $signature: 163
57032 };
57033 A._EvaluateVisitor_run_closure0.prototype = {
57034 call$0() {
57035 var $async$goto = 0,
57036 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
57037 $async$returnValue, $async$self = this, t2, t1, url, $async$temp1, $async$temp2;
57038 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57039 if ($async$errorCode === 1)
57040 return A._asyncRethrow($async$result, $async$completer);
57041 while (true)
57042 switch ($async$goto) {
57043 case 0:
57044 // Function start
57045 t1 = $async$self.node;
57046 url = t1.span.file.url;
57047 if (url != null) {
57048 t2 = $async$self.$this;
57049 t2._async_evaluate$_activeModules.$indexSet(0, url, null);
57050 t2._async_evaluate$_loadedUrls.add$1(0, url);
57051 }
57052 t2 = $async$self.$this;
57053 $async$temp1 = A;
57054 $async$temp2 = t2;
57055 $async$goto = 3;
57056 return A._asyncAwait(t2._async_evaluate$_execute$2($async$self.importer, t1), $async$call$0);
57057 case 3:
57058 // returning from await.
57059 $async$returnValue = new $async$temp1.EvaluateResult($async$temp2._async_evaluate$_combineCss$1($async$result));
57060 // goto return
57061 $async$goto = 1;
57062 break;
57063 case 1:
57064 // return
57065 return A._asyncReturn($async$returnValue, $async$completer);
57066 }
57067 });
57068 return A._asyncStartSync($async$call$0, $async$completer);
57069 },
57070 $signature: 441
57071 };
57072 A._EvaluateVisitor__loadModule_closure1.prototype = {
57073 call$0() {
57074 return this.callback.call$1(this.builtInModule);
57075 },
57076 $signature: 0
57077 };
57078 A._EvaluateVisitor__loadModule_closure2.prototype = {
57079 call$0() {
57080 var $async$goto = 0,
57081 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57082 $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, t1, t2, result, stylesheet, canonicalUrl, $async$exception;
57083 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57084 if ($async$errorCode === 1) {
57085 $async$currentError = $async$result;
57086 $async$goto = $async$handler;
57087 }
57088 while (true)
57089 switch ($async$goto) {
57090 case 0:
57091 // Function start
57092 t1 = $async$self.$this;
57093 t2 = $async$self.nodeWithSpan;
57094 $async$goto = 2;
57095 return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$baseUrl($async$self.url.toString$0(0), t2.get$span(t2), $async$self.baseUrl), $async$call$0);
57096 case 2:
57097 // returning from await.
57098 result = $async$result;
57099 stylesheet = result.stylesheet;
57100 canonicalUrl = stylesheet.span.file.url;
57101 if (canonicalUrl != null && t1._async_evaluate$_activeModules.containsKey$1(canonicalUrl)) {
57102 message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
57103 t2 = A.NullableExtension_andThen(t1._async_evaluate$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure0(t1, message));
57104 throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1(message) : t2);
57105 }
57106 if (canonicalUrl != null)
57107 t1._async_evaluate$_activeModules.$indexSet(0, canonicalUrl, t2);
57108 oldInDependency = t1._async_evaluate$_inDependency;
57109 t1._async_evaluate$_inDependency = result.isDependency;
57110 module = null;
57111 $async$handler = 3;
57112 $async$goto = 6;
57113 return A._asyncAwait(t1._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
57114 case 6:
57115 // returning from await.
57116 module = $async$result;
57117 $async$next.push(5);
57118 // goto finally
57119 $async$goto = 4;
57120 break;
57121 case 3:
57122 // uncaught
57123 $async$next = [1];
57124 case 4:
57125 // finally
57126 $async$handler = 1;
57127 t1._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
57128 t1._async_evaluate$_inDependency = oldInDependency;
57129 // goto the next finally handler
57130 $async$goto = $async$next.pop();
57131 break;
57132 case 5:
57133 // after finally
57134 $async$handler = 8;
57135 $async$goto = 11;
57136 return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
57137 case 11:
57138 // returning from await.
57139 $async$handler = 1;
57140 // goto after finally
57141 $async$goto = 10;
57142 break;
57143 case 8:
57144 // catch
57145 $async$handler = 7;
57146 $async$exception = $async$currentError;
57147 t2 = A.unwrapException($async$exception);
57148 if (type$.SassRuntimeException._is(t2))
57149 throw $async$exception;
57150 else if (t2 instanceof A.MultiSpanSassException) {
57151 error = t2;
57152 stackTrace = A.getTraceFromException($async$exception);
57153 t2 = error._span_exception$_message;
57154 t3 = error;
57155 t4 = J.getInterceptor$z(t3);
57156 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
57157 t4 = error.primaryLabel;
57158 t5 = error.secondarySpans;
57159 t6 = error;
57160 t7 = J.getInterceptor$z(t6);
57161 A.throwWithTrace(new A.MultiSpanSassRuntimeException(t1._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
57162 } else if (t2 instanceof A.SassException) {
57163 error0 = t2;
57164 stackTrace0 = A.getTraceFromException($async$exception);
57165 t2 = error0;
57166 t3 = J.getInterceptor$z(t2);
57167 A.throwWithTrace(t1._async_evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
57168 } else if (t2 instanceof A.MultiSpanSassScriptException) {
57169 error1 = t2;
57170 stackTrace1 = A.getTraceFromException($async$exception);
57171 A.throwWithTrace(t1._async_evaluate$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
57172 } else if (t2 instanceof A.SassScriptException) {
57173 error2 = t2;
57174 stackTrace2 = A.getTraceFromException($async$exception);
57175 A.throwWithTrace(t1._async_evaluate$_exception$1(error2.message), stackTrace2);
57176 } else
57177 throw $async$exception;
57178 // goto after finally
57179 $async$goto = 10;
57180 break;
57181 case 7:
57182 // uncaught
57183 // goto rethrow
57184 $async$goto = 1;
57185 break;
57186 case 10:
57187 // after finally
57188 // implicit return
57189 return A._asyncReturn(null, $async$completer);
57190 case 1:
57191 // rethrow
57192 return A._asyncRethrow($async$currentError, $async$completer);
57193 }
57194 });
57195 return A._asyncStartSync($async$call$0, $async$completer);
57196 },
57197 $signature: 2
57198 };
57199 A._EvaluateVisitor__loadModule__closure0.prototype = {
57200 call$1(previousLoad) {
57201 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));
57202 },
57203 $signature: 86
57204 };
57205 A._EvaluateVisitor__execute_closure0.prototype = {
57206 call$0() {
57207 var $async$goto = 0,
57208 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57209 $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
57210 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57211 if ($async$errorCode === 1)
57212 return A._asyncRethrow($async$result, $async$completer);
57213 while (true)
57214 switch ($async$goto) {
57215 case 0:
57216 // Function start
57217 t1 = $async$self.$this;
57218 oldImporter = t1._async_evaluate$_importer;
57219 oldStylesheet = t1._async_evaluate$__stylesheet;
57220 oldRoot = t1._async_evaluate$__root;
57221 oldParent = t1._async_evaluate$__parent;
57222 oldEndOfImports = t1._async_evaluate$__endOfImports;
57223 oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
57224 oldExtensionStore = t1._async_evaluate$__extensionStore;
57225 t2 = t1._async_evaluate$_atRootExcludingStyleRule;
57226 oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
57227 oldMediaQueries = t1._async_evaluate$_mediaQueries;
57228 oldDeclarationName = t1._async_evaluate$_declarationName;
57229 oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
57230 oldInKeyframes = t1._async_evaluate$_inKeyframes;
57231 oldConfiguration = t1._async_evaluate$_configuration;
57232 t1._async_evaluate$_importer = $async$self.importer;
57233 t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
57234 t4 = t3.span;
57235 t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
57236 t1._async_evaluate$__endOfImports = 0;
57237 t1._async_evaluate$_outOfOrderImports = null;
57238 t1._async_evaluate$__extensionStore = $async$self.extensionStore;
57239 t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
57240 t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
57241 t6 = $async$self.configuration;
57242 if (t6 != null)
57243 t1._async_evaluate$_configuration = t6;
57244 $async$goto = 2;
57245 return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
57246 case 2:
57247 // returning from await.
57248 t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
57249 $async$self.css._value = t3;
57250 t1._async_evaluate$_importer = oldImporter;
57251 t1._async_evaluate$__stylesheet = oldStylesheet;
57252 t1._async_evaluate$__root = oldRoot;
57253 t1._async_evaluate$__parent = oldParent;
57254 t1._async_evaluate$__endOfImports = oldEndOfImports;
57255 t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
57256 t1._async_evaluate$__extensionStore = oldExtensionStore;
57257 t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
57258 t1._async_evaluate$_mediaQueries = oldMediaQueries;
57259 t1._async_evaluate$_declarationName = oldDeclarationName;
57260 t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
57261 t1._async_evaluate$_atRootExcludingStyleRule = t2;
57262 t1._async_evaluate$_inKeyframes = oldInKeyframes;
57263 t1._async_evaluate$_configuration = oldConfiguration;
57264 // implicit return
57265 return A._asyncReturn(null, $async$completer);
57266 }
57267 });
57268 return A._asyncStartSync($async$call$0, $async$completer);
57269 },
57270 $signature: 2
57271 };
57272 A._EvaluateVisitor__combineCss_closure2.prototype = {
57273 call$1(module) {
57274 return module.get$transitivelyContainsCss();
57275 },
57276 $signature: 143
57277 };
57278 A._EvaluateVisitor__combineCss_closure3.prototype = {
57279 call$1(target) {
57280 return !this.selectors.contains$1(0, target);
57281 },
57282 $signature: 15
57283 };
57284 A._EvaluateVisitor__combineCss_closure4.prototype = {
57285 call$1(module) {
57286 return module.cloneCss$0();
57287 },
57288 $signature: 448
57289 };
57290 A._EvaluateVisitor__extendModules_closure1.prototype = {
57291 call$1(target) {
57292 return !this.originalSelectors.contains$1(0, target);
57293 },
57294 $signature: 15
57295 };
57296 A._EvaluateVisitor__extendModules_closure2.prototype = {
57297 call$0() {
57298 return A._setArrayType([], type$.JSArray_ExtensionStore);
57299 },
57300 $signature: 162
57301 };
57302 A._EvaluateVisitor__topologicalModules_visitModule0.prototype = {
57303 call$1(module) {
57304 var t1, t2, t3, _i, upstream;
57305 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
57306 upstream = t1[_i];
57307 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
57308 this.call$1(upstream);
57309 }
57310 this.sorted.addFirst$1(module);
57311 },
57312 $signature: 163
57313 };
57314 A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
57315 call$0() {
57316 var t1 = A.SpanScanner$(this.resolved, null);
57317 return new A.AtRootQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
57318 },
57319 $signature: 135
57320 };
57321 A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
57322 call$0() {
57323 var $async$goto = 0,
57324 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57325 $async$self = this, t1, t2, t3, _i;
57326 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57327 if ($async$errorCode === 1)
57328 return A._asyncRethrow($async$result, $async$completer);
57329 while (true)
57330 switch ($async$goto) {
57331 case 0:
57332 // Function start
57333 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57334 case 2:
57335 // for condition
57336 if (!(_i < t2)) {
57337 // goto after for
57338 $async$goto = 4;
57339 break;
57340 }
57341 $async$goto = 5;
57342 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57343 case 5:
57344 // returning from await.
57345 case 3:
57346 // for update
57347 ++_i;
57348 // goto for condition
57349 $async$goto = 2;
57350 break;
57351 case 4:
57352 // after for
57353 // implicit return
57354 return A._asyncReturn(null, $async$completer);
57355 }
57356 });
57357 return A._asyncStartSync($async$call$0, $async$completer);
57358 },
57359 $signature: 2
57360 };
57361 A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
57362 call$0() {
57363 var $async$goto = 0,
57364 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
57365 $async$self = this, t1, t2, t3, _i;
57366 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57367 if ($async$errorCode === 1)
57368 return A._asyncRethrow($async$result, $async$completer);
57369 while (true)
57370 switch ($async$goto) {
57371 case 0:
57372 // Function start
57373 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57374 case 2:
57375 // for condition
57376 if (!(_i < t2)) {
57377 // goto after for
57378 $async$goto = 4;
57379 break;
57380 }
57381 $async$goto = 5;
57382 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57383 case 5:
57384 // returning from await.
57385 case 3:
57386 // for update
57387 ++_i;
57388 // goto for condition
57389 $async$goto = 2;
57390 break;
57391 case 4:
57392 // after for
57393 // implicit return
57394 return A._asyncReturn(null, $async$completer);
57395 }
57396 });
57397 return A._asyncStartSync($async$call$0, $async$completer);
57398 },
57399 $signature: 33
57400 };
57401 A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
57402 call$1(callback) {
57403 var $async$goto = 0,
57404 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57405 $async$self = this, t1, t2;
57406 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57407 if ($async$errorCode === 1)
57408 return A._asyncRethrow($async$result, $async$completer);
57409 while (true)
57410 switch ($async$goto) {
57411 case 0:
57412 // Function start
57413 t1 = $async$self.$this;
57414 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
57415 t1._async_evaluate$__parent = $async$self.newParent;
57416 $async$goto = 2;
57417 return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
57418 case 2:
57419 // returning from await.
57420 t1._async_evaluate$__parent = t2;
57421 // implicit return
57422 return A._asyncReturn(null, $async$completer);
57423 }
57424 });
57425 return A._asyncStartSync($async$call$1, $async$completer);
57426 },
57427 $signature: 29
57428 };
57429 A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
57430 call$1(callback) {
57431 var $async$goto = 0,
57432 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57433 $async$self = this, t1, oldAtRootExcludingStyleRule;
57434 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57435 if ($async$errorCode === 1)
57436 return A._asyncRethrow($async$result, $async$completer);
57437 while (true)
57438 switch ($async$goto) {
57439 case 0:
57440 // Function start
57441 t1 = $async$self.$this;
57442 oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
57443 t1._async_evaluate$_atRootExcludingStyleRule = true;
57444 $async$goto = 2;
57445 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
57446 case 2:
57447 // returning from await.
57448 t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
57449 // implicit return
57450 return A._asyncReturn(null, $async$completer);
57451 }
57452 });
57453 return A._asyncStartSync($async$call$1, $async$completer);
57454 },
57455 $signature: 29
57456 };
57457 A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
57458 call$1(callback) {
57459 return this.$this._async_evaluate$_withMediaQueries$1$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
57460 },
57461 $signature: 29
57462 };
57463 A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
57464 call$0() {
57465 return this.innerScope.call$1(this.callback);
57466 },
57467 $signature: 2
57468 };
57469 A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
57470 call$1(callback) {
57471 var $async$goto = 0,
57472 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57473 $async$self = this, t1, wasInKeyframes;
57474 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57475 if ($async$errorCode === 1)
57476 return A._asyncRethrow($async$result, $async$completer);
57477 while (true)
57478 switch ($async$goto) {
57479 case 0:
57480 // Function start
57481 t1 = $async$self.$this;
57482 wasInKeyframes = t1._async_evaluate$_inKeyframes;
57483 t1._async_evaluate$_inKeyframes = false;
57484 $async$goto = 2;
57485 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
57486 case 2:
57487 // returning from await.
57488 t1._async_evaluate$_inKeyframes = wasInKeyframes;
57489 // implicit return
57490 return A._asyncReturn(null, $async$completer);
57491 }
57492 });
57493 return A._asyncStartSync($async$call$1, $async$completer);
57494 },
57495 $signature: 29
57496 };
57497 A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
57498 call$1($parent) {
57499 return type$.CssAtRule._is($parent);
57500 },
57501 $signature: 160
57502 };
57503 A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
57504 call$1(callback) {
57505 var $async$goto = 0,
57506 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57507 $async$self = this, t1, wasInUnknownAtRule;
57508 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57509 if ($async$errorCode === 1)
57510 return A._asyncRethrow($async$result, $async$completer);
57511 while (true)
57512 switch ($async$goto) {
57513 case 0:
57514 // Function start
57515 t1 = $async$self.$this;
57516 wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
57517 t1._async_evaluate$_inUnknownAtRule = false;
57518 $async$goto = 2;
57519 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
57520 case 2:
57521 // returning from await.
57522 t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
57523 // implicit return
57524 return A._asyncReturn(null, $async$completer);
57525 }
57526 });
57527 return A._asyncStartSync($async$call$1, $async$completer);
57528 },
57529 $signature: 29
57530 };
57531 A._EvaluateVisitor_visitContentRule_closure0.prototype = {
57532 call$0() {
57533 var $async$goto = 0,
57534 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57535 $async$returnValue, $async$self = this, t1, t2, t3, _i;
57536 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57537 if ($async$errorCode === 1)
57538 return A._asyncRethrow($async$result, $async$completer);
57539 while (true)
57540 switch ($async$goto) {
57541 case 0:
57542 // Function start
57543 t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57544 case 3:
57545 // for condition
57546 if (!(_i < t2)) {
57547 // goto after for
57548 $async$goto = 5;
57549 break;
57550 }
57551 $async$goto = 6;
57552 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57553 case 6:
57554 // returning from await.
57555 case 4:
57556 // for update
57557 ++_i;
57558 // goto for condition
57559 $async$goto = 3;
57560 break;
57561 case 5:
57562 // after for
57563 $async$returnValue = null;
57564 // goto return
57565 $async$goto = 1;
57566 break;
57567 case 1:
57568 // return
57569 return A._asyncReturn($async$returnValue, $async$completer);
57570 }
57571 });
57572 return A._asyncStartSync($async$call$0, $async$completer);
57573 },
57574 $signature: 2
57575 };
57576 A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
57577 call$1(value) {
57578 return this.$call$body$_EvaluateVisitor_visitDeclaration_closure(value);
57579 },
57580 $call$body$_EvaluateVisitor_visitDeclaration_closure(value) {
57581 var $async$goto = 0,
57582 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value),
57583 $async$returnValue, $async$self = this, $async$temp1;
57584 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57585 if ($async$errorCode === 1)
57586 return A._asyncRethrow($async$result, $async$completer);
57587 while (true)
57588 switch ($async$goto) {
57589 case 0:
57590 // Function start
57591 $async$temp1 = A;
57592 $async$goto = 3;
57593 return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
57594 case 3:
57595 // returning from await.
57596 $async$returnValue = new $async$temp1.CssValue($async$result, value.get$span(value), type$.CssValue_Value);
57597 // goto return
57598 $async$goto = 1;
57599 break;
57600 case 1:
57601 // return
57602 return A._asyncReturn($async$returnValue, $async$completer);
57603 }
57604 });
57605 return A._asyncStartSync($async$call$1, $async$completer);
57606 },
57607 $signature: 464
57608 };
57609 A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
57610 call$0() {
57611 var $async$goto = 0,
57612 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57613 $async$self = this, t1, t2, t3, _i;
57614 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57615 if ($async$errorCode === 1)
57616 return A._asyncRethrow($async$result, $async$completer);
57617 while (true)
57618 switch ($async$goto) {
57619 case 0:
57620 // Function start
57621 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57622 case 2:
57623 // for condition
57624 if (!(_i < t2)) {
57625 // goto after for
57626 $async$goto = 4;
57627 break;
57628 }
57629 $async$goto = 5;
57630 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57631 case 5:
57632 // returning from await.
57633 case 3:
57634 // for update
57635 ++_i;
57636 // goto for condition
57637 $async$goto = 2;
57638 break;
57639 case 4:
57640 // after for
57641 // implicit return
57642 return A._asyncReturn(null, $async$completer);
57643 }
57644 });
57645 return A._asyncStartSync($async$call$0, $async$completer);
57646 },
57647 $signature: 2
57648 };
57649 A._EvaluateVisitor_visitEachRule_closure2.prototype = {
57650 call$1(value) {
57651 var t1 = this.$this,
57652 t2 = this.nodeWithSpan;
57653 return t1._async_evaluate$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate$_withoutSlash$2(value, t2), t2);
57654 },
57655 $signature: 55
57656 };
57657 A._EvaluateVisitor_visitEachRule_closure3.prototype = {
57658 call$1(value) {
57659 return this.$this._async_evaluate$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
57660 },
57661 $signature: 55
57662 };
57663 A._EvaluateVisitor_visitEachRule_closure4.prototype = {
57664 call$0() {
57665 var _this = this,
57666 t1 = _this.$this;
57667 return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
57668 },
57669 $signature: 68
57670 };
57671 A._EvaluateVisitor_visitEachRule__closure0.prototype = {
57672 call$1(element) {
57673 var t1;
57674 this.setVariables.call$1(element);
57675 t1 = this.$this;
57676 return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
57677 },
57678 $signature: 473
57679 };
57680 A._EvaluateVisitor_visitEachRule___closure0.prototype = {
57681 call$1(child) {
57682 return child.accept$1(this.$this);
57683 },
57684 $signature: 90
57685 };
57686 A._EvaluateVisitor_visitExtendRule_closure0.prototype = {
57687 call$0() {
57688 var t1 = this.targetText;
57689 return A.SelectorList_SelectorList$parse(A.trimAscii(t1.get$value(t1), true), false, true, this.$this._async_evaluate$_logger);
57690 },
57691 $signature: 46
57692 };
57693 A._EvaluateVisitor_visitAtRule_closure2.prototype = {
57694 call$1(value) {
57695 return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
57696 },
57697 $signature: 486
57698 };
57699 A._EvaluateVisitor_visitAtRule_closure3.prototype = {
57700 call$0() {
57701 var $async$goto = 0,
57702 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57703 $async$self = this, t2, t3, _i, t1, styleRule;
57704 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57705 if ($async$errorCode === 1)
57706 return A._asyncRethrow($async$result, $async$completer);
57707 while (true)
57708 switch ($async$goto) {
57709 case 0:
57710 // Function start
57711 t1 = $async$self.$this;
57712 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
57713 $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes ? 2 : 4;
57714 break;
57715 case 2:
57716 // then
57717 t2 = $async$self.children, t3 = t2.length, _i = 0;
57718 case 5:
57719 // for condition
57720 if (!(_i < t3)) {
57721 // goto after for
57722 $async$goto = 7;
57723 break;
57724 }
57725 $async$goto = 8;
57726 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
57727 case 8:
57728 // returning from await.
57729 case 6:
57730 // for update
57731 ++_i;
57732 // goto for condition
57733 $async$goto = 5;
57734 break;
57735 case 7:
57736 // after for
57737 // goto join
57738 $async$goto = 3;
57739 break;
57740 case 4:
57741 // else
57742 $async$goto = 9;
57743 return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure0(t1, $async$self.children), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
57744 case 9:
57745 // returning from await.
57746 case 3:
57747 // join
57748 // implicit return
57749 return A._asyncReturn(null, $async$completer);
57750 }
57751 });
57752 return A._asyncStartSync($async$call$0, $async$completer);
57753 },
57754 $signature: 2
57755 };
57756 A._EvaluateVisitor_visitAtRule__closure0.prototype = {
57757 call$0() {
57758 var $async$goto = 0,
57759 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57760 $async$self = this, t1, t2, t3, _i;
57761 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57762 if ($async$errorCode === 1)
57763 return A._asyncRethrow($async$result, $async$completer);
57764 while (true)
57765 switch ($async$goto) {
57766 case 0:
57767 // Function start
57768 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57769 case 2:
57770 // for condition
57771 if (!(_i < t2)) {
57772 // goto after for
57773 $async$goto = 4;
57774 break;
57775 }
57776 $async$goto = 5;
57777 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57778 case 5:
57779 // returning from await.
57780 case 3:
57781 // for update
57782 ++_i;
57783 // goto for condition
57784 $async$goto = 2;
57785 break;
57786 case 4:
57787 // after for
57788 // implicit return
57789 return A._asyncReturn(null, $async$completer);
57790 }
57791 });
57792 return A._asyncStartSync($async$call$0, $async$completer);
57793 },
57794 $signature: 2
57795 };
57796 A._EvaluateVisitor_visitAtRule_closure4.prototype = {
57797 call$1(node) {
57798 return type$.CssStyleRule._is(node);
57799 },
57800 $signature: 7
57801 };
57802 A._EvaluateVisitor_visitForRule_closure4.prototype = {
57803 call$0() {
57804 var $async$goto = 0,
57805 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
57806 $async$returnValue, $async$self = this;
57807 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57808 if ($async$errorCode === 1)
57809 return A._asyncRethrow($async$result, $async$completer);
57810 while (true)
57811 switch ($async$goto) {
57812 case 0:
57813 // Function start
57814 $async$goto = 3;
57815 return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
57816 case 3:
57817 // returning from await.
57818 $async$returnValue = $async$result.assertNumber$0();
57819 // goto return
57820 $async$goto = 1;
57821 break;
57822 case 1:
57823 // return
57824 return A._asyncReturn($async$returnValue, $async$completer);
57825 }
57826 });
57827 return A._asyncStartSync($async$call$0, $async$completer);
57828 },
57829 $signature: 159
57830 };
57831 A._EvaluateVisitor_visitForRule_closure5.prototype = {
57832 call$0() {
57833 var $async$goto = 0,
57834 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
57835 $async$returnValue, $async$self = this;
57836 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57837 if ($async$errorCode === 1)
57838 return A._asyncRethrow($async$result, $async$completer);
57839 while (true)
57840 switch ($async$goto) {
57841 case 0:
57842 // Function start
57843 $async$goto = 3;
57844 return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
57845 case 3:
57846 // returning from await.
57847 $async$returnValue = $async$result.assertNumber$0();
57848 // goto return
57849 $async$goto = 1;
57850 break;
57851 case 1:
57852 // return
57853 return A._asyncReturn($async$returnValue, $async$completer);
57854 }
57855 });
57856 return A._asyncStartSync($async$call$0, $async$completer);
57857 },
57858 $signature: 159
57859 };
57860 A._EvaluateVisitor_visitForRule_closure6.prototype = {
57861 call$0() {
57862 return this.fromNumber.assertInt$0();
57863 },
57864 $signature: 12
57865 };
57866 A._EvaluateVisitor_visitForRule_closure7.prototype = {
57867 call$0() {
57868 var t1 = this.fromNumber;
57869 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
57870 },
57871 $signature: 12
57872 };
57873 A._EvaluateVisitor_visitForRule_closure8.prototype = {
57874 call$0() {
57875 var $async$goto = 0,
57876 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
57877 $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
57878 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57879 if ($async$errorCode === 1)
57880 return A._asyncRethrow($async$result, $async$completer);
57881 while (true)
57882 switch ($async$goto) {
57883 case 0:
57884 // Function start
57885 t1 = $async$self.$this;
57886 t2 = $async$self.node;
57887 nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
57888 i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
57889 case 3:
57890 // for condition
57891 if (!(i !== t3.to)) {
57892 // goto after for
57893 $async$goto = 5;
57894 break;
57895 }
57896 t7 = t1._async_evaluate$_environment;
57897 t8 = t6.get$numeratorUnits(t6);
57898 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
57899 $async$goto = 6;
57900 return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
57901 case 6:
57902 // returning from await.
57903 result = $async$result;
57904 if (result != null) {
57905 $async$returnValue = result;
57906 // goto return
57907 $async$goto = 1;
57908 break;
57909 }
57910 case 4:
57911 // for update
57912 i += t4;
57913 // goto for condition
57914 $async$goto = 3;
57915 break;
57916 case 5:
57917 // after for
57918 $async$returnValue = null;
57919 // goto return
57920 $async$goto = 1;
57921 break;
57922 case 1:
57923 // return
57924 return A._asyncReturn($async$returnValue, $async$completer);
57925 }
57926 });
57927 return A._asyncStartSync($async$call$0, $async$completer);
57928 },
57929 $signature: 68
57930 };
57931 A._EvaluateVisitor_visitForRule__closure0.prototype = {
57932 call$1(child) {
57933 return child.accept$1(this.$this);
57934 },
57935 $signature: 90
57936 };
57937 A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
57938 call$1(module) {
57939 this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
57940 },
57941 $signature: 123
57942 };
57943 A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
57944 call$1(module) {
57945 this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
57946 },
57947 $signature: 123
57948 };
57949 A._EvaluateVisitor_visitIfRule_closure0.prototype = {
57950 call$0() {
57951 var t1 = this.$this;
57952 return t1._async_evaluate$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure0(t1));
57953 },
57954 $signature: 68
57955 };
57956 A._EvaluateVisitor_visitIfRule__closure0.prototype = {
57957 call$1(child) {
57958 return child.accept$1(this.$this);
57959 },
57960 $signature: 90
57961 };
57962 A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
57963 call$0() {
57964 var $async$goto = 0,
57965 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
57966 $async$returnValue, $async$self = this, t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor, t1, t2, result, stylesheet, url;
57967 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57968 if ($async$errorCode === 1)
57969 return A._asyncRethrow($async$result, $async$completer);
57970 while (true)
57971 switch ($async$goto) {
57972 case 0:
57973 // Function start
57974 t1 = $async$self.$this;
57975 t2 = $async$self.$import;
57976 $async$goto = 3;
57977 return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
57978 case 3:
57979 // returning from await.
57980 result = $async$result;
57981 stylesheet = result.stylesheet;
57982 url = stylesheet.span.file.url;
57983 if (url != null) {
57984 t3 = t1._async_evaluate$_activeModules;
57985 if (t3.containsKey$1(url)) {
57986 t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
57987 throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
57988 }
57989 t3.$indexSet(0, url, t2);
57990 }
57991 t2 = stylesheet._uses;
57992 t3 = type$.UnmodifiableListView_UseRule;
57993 t4 = new A.UnmodifiableListView(t2, t3);
57994 if (t4.get$length(t4) === 0) {
57995 t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
57996 t4 = t4.get$length(t4) === 0;
57997 } else
57998 t4 = false;
57999 $async$goto = t4 ? 4 : 5;
58000 break;
58001 case 4:
58002 // then
58003 oldImporter = t1._async_evaluate$_importer;
58004 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
58005 oldInDependency = t1._async_evaluate$_inDependency;
58006 t1._async_evaluate$_importer = result.importer;
58007 t1._async_evaluate$__stylesheet = stylesheet;
58008 t1._async_evaluate$_inDependency = result.isDependency;
58009 $async$goto = 6;
58010 return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
58011 case 6:
58012 // returning from await.
58013 t1._async_evaluate$_importer = oldImporter;
58014 t1._async_evaluate$__stylesheet = t2;
58015 t1._async_evaluate$_inDependency = oldInDependency;
58016 t1._async_evaluate$_activeModules.remove$1(0, url);
58017 // goto return
58018 $async$goto = 1;
58019 break;
58020 case 5:
58021 // join
58022 t2 = new A.UnmodifiableListView(t2, t3);
58023 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
58024 t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
58025 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
58026 } else
58027 loadsUserDefinedModules = true;
58028 children = A._Cell$();
58029 t2 = t1._async_evaluate$_environment;
58030 t3 = type$.String;
58031 t4 = type$.Module_AsyncCallable;
58032 t5 = type$.AstNode;
58033 t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
58034 t7 = t2._async_environment$_variables;
58035 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
58036 t8 = t2._async_environment$_variableNodes;
58037 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
58038 t9 = t2._async_environment$_functions;
58039 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
58040 t10 = t2._async_environment$_mixins;
58041 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
58042 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);
58043 $async$goto = 7;
58044 return A._asyncAwait(t1._async_evaluate$_withEnvironment$1$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure6(t1, result, stylesheet, loadsUserDefinedModules, environment, children), type$.Null), $async$call$0);
58045 case 7:
58046 // returning from await.
58047 module = environment.toDummyModule$0();
58048 t1._async_evaluate$_environment.importForwards$1(module);
58049 $async$goto = loadsUserDefinedModules ? 8 : 9;
58050 break;
58051 case 8:
58052 // then
58053 $async$goto = module.transitivelyContainsCss ? 10 : 11;
58054 break;
58055 case 10:
58056 // then
58057 $async$goto = 12;
58058 return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
58059 case 12:
58060 // returning from await.
58061 case 11:
58062 // join
58063 visitor = new A._ImportedCssVisitor0(t1);
58064 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
58065 t2.get$current(t2).accept$1(visitor);
58066 case 9:
58067 // join
58068 t1._async_evaluate$_activeModules.remove$1(0, url);
58069 case 1:
58070 // return
58071 return A._asyncReturn($async$returnValue, $async$completer);
58072 }
58073 });
58074 return A._asyncStartSync($async$call$0, $async$completer);
58075 },
58076 $signature: 33
58077 };
58078 A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
58079 call$1(previousLoad) {
58080 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));
58081 },
58082 $signature: 86
58083 };
58084 A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
58085 call$1(rule) {
58086 return rule.url.get$scheme() !== "sass";
58087 },
58088 $signature: 157
58089 };
58090 A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
58091 call$1(rule) {
58092 return rule.url.get$scheme() !== "sass";
58093 },
58094 $signature: 153
58095 };
58096 A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
58097 call$0() {
58098 var $async$goto = 0,
58099 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58100 $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
58101 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58102 if ($async$errorCode === 1)
58103 return A._asyncRethrow($async$result, $async$completer);
58104 while (true)
58105 switch ($async$goto) {
58106 case 0:
58107 // Function start
58108 t1 = $async$self.$this;
58109 oldImporter = t1._async_evaluate$_importer;
58110 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
58111 t3 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
58112 t4 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
58113 t5 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
58114 oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
58115 oldConfiguration = t1._async_evaluate$_configuration;
58116 oldInDependency = t1._async_evaluate$_inDependency;
58117 t6 = $async$self.result;
58118 t1._async_evaluate$_importer = t6.importer;
58119 t7 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
58120 t8 = $async$self.loadsUserDefinedModules;
58121 if (t8) {
58122 t9 = A.ModifiableCssStylesheet$(t7.span);
58123 t1._async_evaluate$__root = t9;
58124 t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t9, "_root");
58125 t1._async_evaluate$__endOfImports = 0;
58126 t1._async_evaluate$_outOfOrderImports = null;
58127 }
58128 t1._async_evaluate$_inDependency = t6.isDependency;
58129 t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
58130 if (!t6.get$isEmpty(t6))
58131 t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
58132 $async$goto = 2;
58133 return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
58134 case 2:
58135 // returning from await.
58136 t6 = t8 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
58137 $async$self.children._value = t6;
58138 t1._async_evaluate$_importer = oldImporter;
58139 t1._async_evaluate$__stylesheet = t2;
58140 if (t8) {
58141 t1._async_evaluate$__root = t3;
58142 t1._async_evaluate$__parent = t4;
58143 t1._async_evaluate$__endOfImports = t5;
58144 t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
58145 }
58146 t1._async_evaluate$_configuration = oldConfiguration;
58147 t1._async_evaluate$_inDependency = oldInDependency;
58148 // implicit return
58149 return A._asyncReturn(null, $async$completer);
58150 }
58151 });
58152 return A._asyncStartSync($async$call$0, $async$completer);
58153 },
58154 $signature: 2
58155 };
58156 A._EvaluateVisitor__visitStaticImport_closure0.prototype = {
58157 call$1(supports) {
58158 return this.$call$body$_EvaluateVisitor__visitStaticImport_closure(supports);
58159 },
58160 $call$body$_EvaluateVisitor__visitStaticImport_closure(supports) {
58161 var $async$goto = 0,
58162 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
58163 $async$returnValue, $async$self = this, t2, arg, t1, $async$temp1, $async$temp2;
58164 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58165 if ($async$errorCode === 1)
58166 return A._asyncRethrow($async$result, $async$completer);
58167 while (true)
58168 switch ($async$goto) {
58169 case 0:
58170 // Function start
58171 t1 = $async$self.$this;
58172 $async$goto = supports instanceof A.SupportsDeclaration ? 3 : 5;
58173 break;
58174 case 3:
58175 // then
58176 $async$temp1 = A;
58177 $async$goto = 6;
58178 return A._asyncAwait(t1._evaluateToCss$1(supports.name), $async$call$1);
58179 case 6:
58180 // returning from await.
58181 t2 = $async$temp1.S($async$result) + ":";
58182 $async$temp1 = t2 + (supports.get$isCustomProperty() ? "" : " ");
58183 $async$temp2 = A;
58184 $async$goto = 7;
58185 return A._asyncAwait(t1._evaluateToCss$1(supports.value), $async$call$1);
58186 case 7:
58187 // returning from await.
58188 arg = $async$temp1 + $async$temp2.S($async$result);
58189 // goto join
58190 $async$goto = 4;
58191 break;
58192 case 5:
58193 // else
58194 $async$goto = 8;
58195 return A._asyncAwait(A.NullableExtension_andThen(supports, t1.get$_async_evaluate$_visitSupportsCondition()), $async$call$1);
58196 case 8:
58197 // returning from await.
58198 arg = $async$result;
58199 case 4:
58200 // join
58201 $async$returnValue = new A.CssValue("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String);
58202 // goto return
58203 $async$goto = 1;
58204 break;
58205 case 1:
58206 // return
58207 return A._asyncReturn($async$returnValue, $async$completer);
58208 }
58209 });
58210 return A._asyncStartSync($async$call$1, $async$completer);
58211 },
58212 $signature: 511
58213 };
58214 A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
58215 call$0() {
58216 var t1 = this.node;
58217 return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
58218 },
58219 $signature: 113
58220 };
58221 A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
58222 call$0() {
58223 return this.node.get$spanWithoutContent();
58224 },
58225 $signature: 31
58226 };
58227 A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
58228 call$1($content) {
58229 var t1 = this.$this;
58230 return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
58231 },
58232 $signature: 512
58233 };
58234 A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
58235 call$0() {
58236 var $async$goto = 0,
58237 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58238 $async$self = this, t1;
58239 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58240 if ($async$errorCode === 1)
58241 return A._asyncRethrow($async$result, $async$completer);
58242 while (true)
58243 switch ($async$goto) {
58244 case 0:
58245 // Function start
58246 t1 = $async$self.$this;
58247 $async$goto = 2;
58248 return A._asyncAwait(t1._async_evaluate$_environment.withContent$2($async$self.contentCallable, new A._EvaluateVisitor_visitIncludeRule__closure0(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
58249 case 2:
58250 // returning from await.
58251 // implicit return
58252 return A._asyncReturn(null, $async$completer);
58253 }
58254 });
58255 return A._asyncStartSync($async$call$0, $async$completer);
58256 },
58257 $signature: 2
58258 };
58259 A._EvaluateVisitor_visitIncludeRule__closure0.prototype = {
58260 call$0() {
58261 var $async$goto = 0,
58262 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
58263 $async$self = this, t1;
58264 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58265 if ($async$errorCode === 1)
58266 return A._asyncRethrow($async$result, $async$completer);
58267 while (true)
58268 switch ($async$goto) {
58269 case 0:
58270 // Function start
58271 t1 = $async$self.$this;
58272 $async$goto = 2;
58273 return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure0(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
58274 case 2:
58275 // returning from await.
58276 // implicit return
58277 return A._asyncReturn(null, $async$completer);
58278 }
58279 });
58280 return A._asyncStartSync($async$call$0, $async$completer);
58281 },
58282 $signature: 33
58283 };
58284 A._EvaluateVisitor_visitIncludeRule___closure0.prototype = {
58285 call$0() {
58286 var $async$goto = 0,
58287 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
58288 $async$self = this, t1, t2, t3, t4, t5, _i;
58289 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58290 if ($async$errorCode === 1)
58291 return A._asyncRethrow($async$result, $async$completer);
58292 while (true)
58293 switch ($async$goto) {
58294 case 0:
58295 // Function start
58296 t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value, _i = 0;
58297 case 2:
58298 // for condition
58299 if (!(_i < t2)) {
58300 // goto after for
58301 $async$goto = 4;
58302 break;
58303 }
58304 $async$goto = 5;
58305 return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure0(t3, t1[_i]), t5), $async$call$0);
58306 case 5:
58307 // returning from await.
58308 case 3:
58309 // for update
58310 ++_i;
58311 // goto for condition
58312 $async$goto = 2;
58313 break;
58314 case 4:
58315 // after for
58316 // implicit return
58317 return A._asyncReturn(null, $async$completer);
58318 }
58319 });
58320 return A._asyncStartSync($async$call$0, $async$completer);
58321 },
58322 $signature: 33
58323 };
58324 A._EvaluateVisitor_visitIncludeRule____closure0.prototype = {
58325 call$0() {
58326 return this.statement.accept$1(this.$this);
58327 },
58328 $signature: 68
58329 };
58330 A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
58331 call$1(mediaQueries) {
58332 return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
58333 },
58334 $signature: 91
58335 };
58336 A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
58337 call$0() {
58338 var $async$goto = 0,
58339 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58340 $async$self = this, t1, t2;
58341 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58342 if ($async$errorCode === 1)
58343 return A._asyncRethrow($async$result, $async$completer);
58344 while (true)
58345 switch ($async$goto) {
58346 case 0:
58347 // Function start
58348 t1 = $async$self.$this;
58349 t2 = $async$self.mergedQueries;
58350 if (t2 == null)
58351 t2 = $async$self.queries;
58352 $async$goto = 2;
58353 return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
58354 case 2:
58355 // returning from await.
58356 // implicit return
58357 return A._asyncReturn(null, $async$completer);
58358 }
58359 });
58360 return A._asyncStartSync($async$call$0, $async$completer);
58361 },
58362 $signature: 2
58363 };
58364 A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
58365 call$0() {
58366 var $async$goto = 0,
58367 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58368 $async$self = this, t2, t3, _i, t1, styleRule;
58369 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58370 if ($async$errorCode === 1)
58371 return A._asyncRethrow($async$result, $async$completer);
58372 while (true)
58373 switch ($async$goto) {
58374 case 0:
58375 // Function start
58376 t1 = $async$self.$this;
58377 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
58378 $async$goto = styleRule == null ? 2 : 4;
58379 break;
58380 case 2:
58381 // then
58382 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
58383 case 5:
58384 // for condition
58385 if (!(_i < t3)) {
58386 // goto after for
58387 $async$goto = 7;
58388 break;
58389 }
58390 $async$goto = 8;
58391 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
58392 case 8:
58393 // returning from await.
58394 case 6:
58395 // for update
58396 ++_i;
58397 // goto for condition
58398 $async$goto = 5;
58399 break;
58400 case 7:
58401 // after for
58402 // goto join
58403 $async$goto = 3;
58404 break;
58405 case 4:
58406 // else
58407 $async$goto = 9;
58408 return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
58409 case 9:
58410 // returning from await.
58411 case 3:
58412 // join
58413 // implicit return
58414 return A._asyncReturn(null, $async$completer);
58415 }
58416 });
58417 return A._asyncStartSync($async$call$0, $async$completer);
58418 },
58419 $signature: 2
58420 };
58421 A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
58422 call$0() {
58423 var $async$goto = 0,
58424 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58425 $async$self = this, t1, t2, t3, _i;
58426 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58427 if ($async$errorCode === 1)
58428 return A._asyncRethrow($async$result, $async$completer);
58429 while (true)
58430 switch ($async$goto) {
58431 case 0:
58432 // Function start
58433 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58434 case 2:
58435 // for condition
58436 if (!(_i < t2)) {
58437 // goto after for
58438 $async$goto = 4;
58439 break;
58440 }
58441 $async$goto = 5;
58442 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58443 case 5:
58444 // returning from await.
58445 case 3:
58446 // for update
58447 ++_i;
58448 // goto for condition
58449 $async$goto = 2;
58450 break;
58451 case 4:
58452 // after for
58453 // implicit return
58454 return A._asyncReturn(null, $async$completer);
58455 }
58456 });
58457 return A._asyncStartSync($async$call$0, $async$completer);
58458 },
58459 $signature: 2
58460 };
58461 A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
58462 call$1(node) {
58463 var t1;
58464 if (!type$.CssStyleRule._is(node))
58465 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
58466 else
58467 t1 = true;
58468 return t1;
58469 },
58470 $signature: 7
58471 };
58472 A._EvaluateVisitor__visitMediaQueries_closure0.prototype = {
58473 call$0() {
58474 var t1 = A.SpanScanner$(this.resolved, null);
58475 return new A.MediaQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
58476 },
58477 $signature: 136
58478 };
58479 A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
58480 call$0() {
58481 var t1 = this.selectorText;
58482 return A.KeyframeSelectorParser$(t1.get$value(t1), this.$this._async_evaluate$_logger).parse$0();
58483 },
58484 $signature: 49
58485 };
58486 A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
58487 call$0() {
58488 var $async$goto = 0,
58489 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58490 $async$self = this, t1, t2, t3, _i;
58491 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58492 if ($async$errorCode === 1)
58493 return A._asyncRethrow($async$result, $async$completer);
58494 while (true)
58495 switch ($async$goto) {
58496 case 0:
58497 // Function start
58498 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58499 case 2:
58500 // for condition
58501 if (!(_i < t2)) {
58502 // goto after for
58503 $async$goto = 4;
58504 break;
58505 }
58506 $async$goto = 5;
58507 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58508 case 5:
58509 // returning from await.
58510 case 3:
58511 // for update
58512 ++_i;
58513 // goto for condition
58514 $async$goto = 2;
58515 break;
58516 case 4:
58517 // after for
58518 // implicit return
58519 return A._asyncReturn(null, $async$completer);
58520 }
58521 });
58522 return A._asyncStartSync($async$call$0, $async$completer);
58523 },
58524 $signature: 2
58525 };
58526 A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
58527 call$1(node) {
58528 return type$.CssStyleRule._is(node);
58529 },
58530 $signature: 7
58531 };
58532 A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
58533 call$0() {
58534 var _s11_ = "_stylesheet",
58535 t1 = this.selectorText,
58536 t2 = this.$this;
58537 return A.SelectorList_SelectorList$parse(t1.get$value(t1), !t2._async_evaluate$_assertInModule$2(t2._async_evaluate$__stylesheet, _s11_).plainCss, !t2._async_evaluate$_assertInModule$2(t2._async_evaluate$__stylesheet, _s11_).plainCss, t2._async_evaluate$_logger);
58538 },
58539 $signature: 46
58540 };
58541 A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
58542 call$0() {
58543 var t1 = this._box_0.parsedSelector,
58544 t2 = this.$this,
58545 t3 = t2._async_evaluate$_styleRuleIgnoringAtRoot;
58546 t3 = t3 == null ? null : t3.originalSelector;
58547 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate$_atRootExcludingStyleRule);
58548 },
58549 $signature: 46
58550 };
58551 A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
58552 call$0() {
58553 var $async$goto = 0,
58554 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58555 $async$self = this, t1;
58556 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58557 if ($async$errorCode === 1)
58558 return A._asyncRethrow($async$result, $async$completer);
58559 while (true)
58560 switch ($async$goto) {
58561 case 0:
58562 // Function start
58563 t1 = $async$self.$this;
58564 $async$goto = 2;
58565 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);
58566 case 2:
58567 // returning from await.
58568 // implicit return
58569 return A._asyncReturn(null, $async$completer);
58570 }
58571 });
58572 return A._asyncStartSync($async$call$0, $async$completer);
58573 },
58574 $signature: 2
58575 };
58576 A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
58577 call$0() {
58578 var $async$goto = 0,
58579 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58580 $async$self = this, t1, t2, t3, _i;
58581 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58582 if ($async$errorCode === 1)
58583 return A._asyncRethrow($async$result, $async$completer);
58584 while (true)
58585 switch ($async$goto) {
58586 case 0:
58587 // Function start
58588 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58589 case 2:
58590 // for condition
58591 if (!(_i < t2)) {
58592 // goto after for
58593 $async$goto = 4;
58594 break;
58595 }
58596 $async$goto = 5;
58597 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58598 case 5:
58599 // returning from await.
58600 case 3:
58601 // for update
58602 ++_i;
58603 // goto for condition
58604 $async$goto = 2;
58605 break;
58606 case 4:
58607 // after for
58608 // implicit return
58609 return A._asyncReturn(null, $async$completer);
58610 }
58611 });
58612 return A._asyncStartSync($async$call$0, $async$completer);
58613 },
58614 $signature: 2
58615 };
58616 A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
58617 call$1(node) {
58618 return type$.CssStyleRule._is(node);
58619 },
58620 $signature: 7
58621 };
58622 A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
58623 call$0() {
58624 var $async$goto = 0,
58625 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58626 $async$self = this, t2, t3, _i, t1, styleRule;
58627 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58628 if ($async$errorCode === 1)
58629 return A._asyncRethrow($async$result, $async$completer);
58630 while (true)
58631 switch ($async$goto) {
58632 case 0:
58633 // Function start
58634 t1 = $async$self.$this;
58635 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
58636 $async$goto = styleRule == null ? 2 : 4;
58637 break;
58638 case 2:
58639 // then
58640 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
58641 case 5:
58642 // for condition
58643 if (!(_i < t3)) {
58644 // goto after for
58645 $async$goto = 7;
58646 break;
58647 }
58648 $async$goto = 8;
58649 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
58650 case 8:
58651 // returning from await.
58652 case 6:
58653 // for update
58654 ++_i;
58655 // goto for condition
58656 $async$goto = 5;
58657 break;
58658 case 7:
58659 // after for
58660 // goto join
58661 $async$goto = 3;
58662 break;
58663 case 4:
58664 // else
58665 $async$goto = 9;
58666 return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
58667 case 9:
58668 // returning from await.
58669 case 3:
58670 // join
58671 // implicit return
58672 return A._asyncReturn(null, $async$completer);
58673 }
58674 });
58675 return A._asyncStartSync($async$call$0, $async$completer);
58676 },
58677 $signature: 2
58678 };
58679 A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
58680 call$0() {
58681 var $async$goto = 0,
58682 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58683 $async$self = this, t1, t2, t3, _i;
58684 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58685 if ($async$errorCode === 1)
58686 return A._asyncRethrow($async$result, $async$completer);
58687 while (true)
58688 switch ($async$goto) {
58689 case 0:
58690 // Function start
58691 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58692 case 2:
58693 // for condition
58694 if (!(_i < t2)) {
58695 // goto after for
58696 $async$goto = 4;
58697 break;
58698 }
58699 $async$goto = 5;
58700 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58701 case 5:
58702 // returning from await.
58703 case 3:
58704 // for update
58705 ++_i;
58706 // goto for condition
58707 $async$goto = 2;
58708 break;
58709 case 4:
58710 // after for
58711 // implicit return
58712 return A._asyncReturn(null, $async$completer);
58713 }
58714 });
58715 return A._asyncStartSync($async$call$0, $async$completer);
58716 },
58717 $signature: 2
58718 };
58719 A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
58720 call$1(node) {
58721 return type$.CssStyleRule._is(node);
58722 },
58723 $signature: 7
58724 };
58725 A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
58726 call$0() {
58727 var t1 = this.override;
58728 this.$this._async_evaluate$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
58729 },
58730 $signature: 1
58731 };
58732 A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
58733 call$0() {
58734 var t1 = this.node;
58735 return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
58736 },
58737 $signature: 40
58738 };
58739 A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
58740 call$0() {
58741 var t1 = this.$this,
58742 t2 = this.node;
58743 t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
58744 },
58745 $signature: 1
58746 };
58747 A._EvaluateVisitor_visitUseRule_closure0.prototype = {
58748 call$1(module) {
58749 var t1 = this.node;
58750 this.$this._async_evaluate$_environment.addModule$3$namespace(module, t1, t1.namespace);
58751 },
58752 $signature: 123
58753 };
58754 A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
58755 call$0() {
58756 return this.node.expression.accept$1(this.$this);
58757 },
58758 $signature: 69
58759 };
58760 A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
58761 call$0() {
58762 var $async$goto = 0,
58763 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
58764 $async$returnValue, $async$self = this, t1, t2, t3, result;
58765 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58766 if ($async$errorCode === 1)
58767 return A._asyncRethrow($async$result, $async$completer);
58768 while (true)
58769 switch ($async$goto) {
58770 case 0:
58771 // Function start
58772 t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
58773 case 3:
58774 // for condition
58775 $async$goto = 5;
58776 return A._asyncAwait(t2.accept$1(t3), $async$call$0);
58777 case 5:
58778 // returning from await.
58779 if (!$async$result.get$isTruthy()) {
58780 // goto after for
58781 $async$goto = 4;
58782 break;
58783 }
58784 $async$goto = 6;
58785 return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
58786 case 6:
58787 // returning from await.
58788 result = $async$result;
58789 if (result != null) {
58790 $async$returnValue = result;
58791 // goto return
58792 $async$goto = 1;
58793 break;
58794 }
58795 // goto for condition
58796 $async$goto = 3;
58797 break;
58798 case 4:
58799 // after for
58800 $async$returnValue = null;
58801 // goto return
58802 $async$goto = 1;
58803 break;
58804 case 1:
58805 // return
58806 return A._asyncReturn($async$returnValue, $async$completer);
58807 }
58808 });
58809 return A._asyncStartSync($async$call$0, $async$completer);
58810 },
58811 $signature: 68
58812 };
58813 A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
58814 call$1(child) {
58815 return child.accept$1(this.$this);
58816 },
58817 $signature: 90
58818 };
58819 A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
58820 call$0() {
58821 var $async$goto = 0,
58822 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
58823 $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
58824 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58825 if ($async$errorCode === 1)
58826 return A._asyncRethrow($async$result, $async$completer);
58827 while (true)
58828 switch ($async$goto) {
58829 case 0:
58830 // Function start
58831 t1 = $async$self.node;
58832 t2 = $async$self.$this;
58833 $async$goto = 3;
58834 return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
58835 case 3:
58836 // returning from await.
58837 left = $async$result;
58838 t3 = t1.operator;
58839 case 4:
58840 // switch
58841 switch (t3) {
58842 case B.BinaryOperator_kjl:
58843 // goto case
58844 $async$goto = 6;
58845 break;
58846 case B.BinaryOperator_or_or_1:
58847 // goto case
58848 $async$goto = 7;
58849 break;
58850 case B.BinaryOperator_and_and_2:
58851 // goto case
58852 $async$goto = 8;
58853 break;
58854 case B.BinaryOperator_YlX:
58855 // goto case
58856 $async$goto = 9;
58857 break;
58858 case B.BinaryOperator_i5H:
58859 // goto case
58860 $async$goto = 10;
58861 break;
58862 case B.BinaryOperator_AcR:
58863 // goto case
58864 $async$goto = 11;
58865 break;
58866 case B.BinaryOperator_1da:
58867 // goto case
58868 $async$goto = 12;
58869 break;
58870 case B.BinaryOperator_8qt:
58871 // goto case
58872 $async$goto = 13;
58873 break;
58874 case B.BinaryOperator_33h:
58875 // goto case
58876 $async$goto = 14;
58877 break;
58878 case B.BinaryOperator_AcR0:
58879 // goto case
58880 $async$goto = 15;
58881 break;
58882 case B.BinaryOperator_iyO:
58883 // goto case
58884 $async$goto = 16;
58885 break;
58886 case B.BinaryOperator_O1M:
58887 // goto case
58888 $async$goto = 17;
58889 break;
58890 case B.BinaryOperator_RTB:
58891 // goto case
58892 $async$goto = 18;
58893 break;
58894 case B.BinaryOperator_2ad:
58895 // goto case
58896 $async$goto = 19;
58897 break;
58898 default:
58899 // goto default
58900 $async$goto = 20;
58901 break;
58902 }
58903 break;
58904 case 6:
58905 // case
58906 $async$goto = 21;
58907 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58908 case 21:
58909 // returning from await.
58910 right = $async$result;
58911 $async$returnValue = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
58912 // goto return
58913 $async$goto = 1;
58914 break;
58915 case 7:
58916 // case
58917 $async$goto = left.get$isTruthy() ? 22 : 24;
58918 break;
58919 case 22:
58920 // then
58921 $async$result = left;
58922 // goto join
58923 $async$goto = 23;
58924 break;
58925 case 24:
58926 // else
58927 $async$goto = 25;
58928 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58929 case 25:
58930 // returning from await.
58931 case 23:
58932 // join
58933 $async$returnValue = $async$result;
58934 // goto return
58935 $async$goto = 1;
58936 break;
58937 case 8:
58938 // case
58939 $async$goto = left.get$isTruthy() ? 26 : 28;
58940 break;
58941 case 26:
58942 // then
58943 $async$goto = 29;
58944 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58945 case 29:
58946 // returning from await.
58947 // goto join
58948 $async$goto = 27;
58949 break;
58950 case 28:
58951 // else
58952 $async$result = left;
58953 case 27:
58954 // join
58955 $async$returnValue = $async$result;
58956 // goto return
58957 $async$goto = 1;
58958 break;
58959 case 9:
58960 // case
58961 $async$temp1 = left;
58962 $async$goto = 30;
58963 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58964 case 30:
58965 // returning from await.
58966 $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
58967 // goto return
58968 $async$goto = 1;
58969 break;
58970 case 10:
58971 // case
58972 $async$temp1 = left;
58973 $async$goto = 31;
58974 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58975 case 31:
58976 // returning from await.
58977 $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
58978 // goto return
58979 $async$goto = 1;
58980 break;
58981 case 11:
58982 // case
58983 $async$temp1 = left;
58984 $async$goto = 32;
58985 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58986 case 32:
58987 // returning from await.
58988 $async$returnValue = $async$temp1.greaterThan$1($async$result);
58989 // goto return
58990 $async$goto = 1;
58991 break;
58992 case 12:
58993 // case
58994 $async$temp1 = left;
58995 $async$goto = 33;
58996 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58997 case 33:
58998 // returning from await.
58999 $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
59000 // goto return
59001 $async$goto = 1;
59002 break;
59003 case 13:
59004 // case
59005 $async$temp1 = left;
59006 $async$goto = 34;
59007 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59008 case 34:
59009 // returning from await.
59010 $async$returnValue = $async$temp1.lessThan$1($async$result);
59011 // goto return
59012 $async$goto = 1;
59013 break;
59014 case 14:
59015 // case
59016 $async$temp1 = left;
59017 $async$goto = 35;
59018 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59019 case 35:
59020 // returning from await.
59021 $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
59022 // goto return
59023 $async$goto = 1;
59024 break;
59025 case 15:
59026 // case
59027 $async$temp1 = left;
59028 $async$goto = 36;
59029 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59030 case 36:
59031 // returning from await.
59032 $async$returnValue = $async$temp1.plus$1($async$result);
59033 // goto return
59034 $async$goto = 1;
59035 break;
59036 case 16:
59037 // case
59038 $async$temp1 = left;
59039 $async$goto = 37;
59040 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59041 case 37:
59042 // returning from await.
59043 $async$returnValue = $async$temp1.minus$1($async$result);
59044 // goto return
59045 $async$goto = 1;
59046 break;
59047 case 17:
59048 // case
59049 $async$temp1 = left;
59050 $async$goto = 38;
59051 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59052 case 38:
59053 // returning from await.
59054 $async$returnValue = $async$temp1.times$1($async$result);
59055 // goto return
59056 $async$goto = 1;
59057 break;
59058 case 18:
59059 // case
59060 $async$goto = 39;
59061 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59062 case 39:
59063 // returning from await.
59064 right = $async$result;
59065 result = left.dividedBy$1(right);
59066 if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber) {
59067 $async$returnValue = type$.SassNumber._as(result).withSlash$2(left, right);
59068 // goto return
59069 $async$goto = 1;
59070 break;
59071 } else {
59072 if (left instanceof A.SassNumber && right instanceof A.SassNumber)
59073 t2._async_evaluate$_warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
59074 $async$returnValue = result;
59075 // goto return
59076 $async$goto = 1;
59077 break;
59078 }
59079 case 19:
59080 // case
59081 $async$temp1 = left;
59082 $async$goto = 40;
59083 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59084 case 40:
59085 // returning from await.
59086 $async$returnValue = $async$temp1.modulo$1($async$result);
59087 // goto return
59088 $async$goto = 1;
59089 break;
59090 case 20:
59091 // default
59092 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
59093 case 5:
59094 // after switch
59095 case 1:
59096 // return
59097 return A._asyncReturn($async$returnValue, $async$completer);
59098 }
59099 });
59100 return A._asyncStartSync($async$call$0, $async$completer);
59101 },
59102 $signature: 69
59103 };
59104 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0.prototype = {
59105 call$1(expression) {
59106 if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_RTB)
59107 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
59108 else if (expression instanceof A.ParenthesizedExpression)
59109 return expression.expression.toString$0(0);
59110 else
59111 return expression.toString$0(0);
59112 },
59113 $signature: 128
59114 };
59115 A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
59116 call$0() {
59117 var t1 = this.node;
59118 return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
59119 },
59120 $signature: 40
59121 };
59122 A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
59123 call$0() {
59124 var _this = this,
59125 t1 = _this.node.operator;
59126 switch (t1) {
59127 case B.UnaryOperator_j2w:
59128 return _this.operand.unaryPlus$0();
59129 case B.UnaryOperator_U4G:
59130 return _this.operand.unaryMinus$0();
59131 case B.UnaryOperator_zDx:
59132 return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
59133 case B.UnaryOperator_not_not:
59134 return _this.operand.unaryNot$0();
59135 default:
59136 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
59137 }
59138 },
59139 $signature: 36
59140 };
59141 A._EvaluateVisitor__visitCalculationValue_closure0.prototype = {
59142 call$0() {
59143 var $async$goto = 0,
59144 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
59145 $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
59146 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59147 if ($async$errorCode === 1)
59148 return A._asyncRethrow($async$result, $async$completer);
59149 while (true)
59150 switch ($async$goto) {
59151 case 0:
59152 // Function start
59153 t1 = $async$self.$this;
59154 t2 = $async$self.node;
59155 t3 = $async$self.inMinMax;
59156 $async$temp1 = A;
59157 $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$1(t2.operator);
59158 $async$goto = 3;
59159 return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
59160 case 3:
59161 // returning from await.
59162 $async$temp3 = $async$result;
59163 $async$goto = 4;
59164 return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
59165 case 4:
59166 // returning from await.
59167 $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate$_inSupportsDeclaration);
59168 // goto return
59169 $async$goto = 1;
59170 break;
59171 case 1:
59172 // return
59173 return A._asyncReturn($async$returnValue, $async$completer);
59174 }
59175 });
59176 return A._asyncStartSync($async$call$0, $async$completer);
59177 },
59178 $signature: 152
59179 };
59180 A._EvaluateVisitor_visitListExpression_closure0.prototype = {
59181 call$1(expression) {
59182 return expression.accept$1(this.$this);
59183 },
59184 $signature: 526
59185 };
59186 A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
59187 call$0() {
59188 var t1 = this.node;
59189 return this.$this._async_evaluate$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
59190 },
59191 $signature: 113
59192 };
59193 A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
59194 call$0() {
59195 var t1 = this.node;
59196 return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
59197 },
59198 $signature: 69
59199 };
59200 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
59201 call$0() {
59202 var t1 = this.node;
59203 return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
59204 },
59205 $signature: 69
59206 };
59207 A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
59208 call$0() {
59209 var _this = this,
59210 t1 = _this.$this,
59211 t2 = _this.callable,
59212 t3 = _this.V;
59213 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);
59214 },
59215 $signature() {
59216 return this.V._eval$1("Future<0>()");
59217 }
59218 };
59219 A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
59220 call$0() {
59221 var _this = this,
59222 t1 = _this.$this,
59223 t2 = _this.V;
59224 return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
59225 },
59226 $signature() {
59227 return this.V._eval$1("Future<0>()");
59228 }
59229 };
59230 A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
59231 call$0() {
59232 return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
59233 },
59234 $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
59235 var $async$goto = 0,
59236 $async$completer = A._makeAsyncAwaitCompleter($async$type),
59237 $async$returnValue, $async$self = this, declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, argumentWord, argumentNames, t1, t2, t3, t4, t5, t6, $async$temp1;
59238 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59239 if ($async$errorCode === 1)
59240 return A._asyncRethrow($async$result, $async$completer);
59241 while (true)
59242 switch ($async$goto) {
59243 case 0:
59244 // Function start
59245 t1 = $async$self.$this;
59246 t2 = $async$self.evaluated;
59247 t3 = t2.positional;
59248 t4 = t2.named;
59249 t5 = $async$self.callable.declaration.$arguments;
59250 t6 = $async$self.nodeWithSpan;
59251 t1._async_evaluate$_verifyArguments$4(t3.length, t4, t5, t6);
59252 declaredArguments = t5.$arguments;
59253 t7 = declaredArguments.length;
59254 minLength = Math.min(t3.length, t7);
59255 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
59256 t1._async_evaluate$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
59257 i = t3.length, t8 = t2.namedNodes;
59258 case 3:
59259 // for condition
59260 if (!(i < t7)) {
59261 // goto after for
59262 $async$goto = 5;
59263 break;
59264 }
59265 argument = declaredArguments[i];
59266 t9 = argument.name;
59267 value = t4.remove$1(0, t9);
59268 $async$goto = value == null ? 6 : 7;
59269 break;
59270 case 6:
59271 // then
59272 t10 = argument.defaultValue;
59273 $async$temp1 = t1;
59274 $async$goto = 8;
59275 return A._asyncAwait(t10.accept$1(t1), $async$call$0);
59276 case 8:
59277 // returning from await.
59278 value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t10));
59279 case 7:
59280 // join
59281 t10 = t1._async_evaluate$_environment;
59282 t11 = t8.$index(0, t9);
59283 if (t11 == null) {
59284 t11 = argument.defaultValue;
59285 t11.toString;
59286 t11 = t1._async_evaluate$_expressionNode$1(t11);
59287 }
59288 t10.setLocalVariable$3(t9, value, t11);
59289 case 4:
59290 // for update
59291 ++i;
59292 // goto for condition
59293 $async$goto = 3;
59294 break;
59295 case 5:
59296 // after for
59297 restArgument = t5.restArgument;
59298 if (restArgument != null) {
59299 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty5;
59300 t2 = t2.separator;
59301 argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : t2);
59302 t1._async_evaluate$_environment.setLocalVariable$3(restArgument, argumentList, t6);
59303 } else
59304 argumentList = null;
59305 $async$goto = 9;
59306 return A._asyncAwait($async$self.run.call$0(), $async$call$0);
59307 case 9:
59308 // returning from await.
59309 result = $async$result;
59310 if (argumentList == null) {
59311 $async$returnValue = result;
59312 // goto return
59313 $async$goto = 1;
59314 break;
59315 }
59316 if (t4.get$isEmpty(t4)) {
59317 $async$returnValue = result;
59318 // goto return
59319 $async$goto = 1;
59320 break;
59321 }
59322 if (argumentList._wereKeywordsAccessed) {
59323 $async$returnValue = result;
59324 // goto return
59325 $async$goto = 1;
59326 break;
59327 }
59328 t2 = t4.get$keys(t4);
59329 argumentWord = A.pluralize("argument", t2.get$length(t2), null);
59330 t4 = t4.get$keys(t4);
59331 argumentNames = A.toSentence(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
59332 throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + argumentWord + " named " + argumentNames + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate$_stackTrace$1(t6.get$span(t6))));
59333 case 1:
59334 // return
59335 return A._asyncReturn($async$returnValue, $async$completer);
59336 }
59337 });
59338 return A._asyncStartSync($async$call$0, $async$completer);
59339 },
59340 $signature() {
59341 return this.V._eval$1("Future<0>()");
59342 }
59343 };
59344 A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
59345 call$1($name) {
59346 return "$" + $name;
59347 },
59348 $signature: 5
59349 };
59350 A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
59351 call$0() {
59352 var $async$goto = 0,
59353 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
59354 $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
59355 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59356 if ($async$errorCode === 1)
59357 return A._asyncRethrow($async$result, $async$completer);
59358 while (true)
59359 switch ($async$goto) {
59360 case 0:
59361 // Function start
59362 t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
59363 case 3:
59364 // for condition
59365 if (!(_i < t3)) {
59366 // goto after for
59367 $async$goto = 5;
59368 break;
59369 }
59370 $async$goto = 6;
59371 return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
59372 case 6:
59373 // returning from await.
59374 $returnValue = $async$result;
59375 if ($returnValue instanceof A.Value) {
59376 $async$returnValue = $returnValue;
59377 // goto return
59378 $async$goto = 1;
59379 break;
59380 }
59381 case 4:
59382 // for update
59383 ++_i;
59384 // goto for condition
59385 $async$goto = 3;
59386 break;
59387 case 5:
59388 // after for
59389 throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
59390 case 1:
59391 // return
59392 return A._asyncReturn($async$returnValue, $async$completer);
59393 }
59394 });
59395 return A._asyncStartSync($async$call$0, $async$completer);
59396 },
59397 $signature: 69
59398 };
59399 A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
59400 call$0() {
59401 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
59402 },
59403 $signature: 0
59404 };
59405 A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
59406 call$1($name) {
59407 return "$" + $name;
59408 },
59409 $signature: 5
59410 };
59411 A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
59412 call$1(value) {
59413 return value;
59414 },
59415 $signature: 34
59416 };
59417 A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
59418 call$1(value) {
59419 return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
59420 },
59421 $signature: 34
59422 };
59423 A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
59424 call$2(key, value) {
59425 var _this = this,
59426 t1 = _this.restNodeForSpan;
59427 _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
59428 _this.namedNodes.$indexSet(0, key, t1);
59429 },
59430 $signature: 94
59431 };
59432 A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
59433 call$1(value) {
59434 return value;
59435 },
59436 $signature: 34
59437 };
59438 A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
59439 call$1(value) {
59440 var t1 = this.restArgs;
59441 return new A.ValueExpression(value, t1.get$span(t1));
59442 },
59443 $signature: 53
59444 };
59445 A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
59446 call$1(value) {
59447 var t1 = this.restArgs;
59448 return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
59449 },
59450 $signature: 53
59451 };
59452 A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
59453 call$2(key, value) {
59454 var _this = this,
59455 t1 = _this.restArgs;
59456 _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
59457 },
59458 $signature: 94
59459 };
59460 A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
59461 call$1(value) {
59462 var t1 = this.keywordRestArgs;
59463 return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
59464 },
59465 $signature: 53
59466 };
59467 A._EvaluateVisitor__addRestMap_closure0.prototype = {
59468 call$2(key, value) {
59469 var t2, _this = this,
59470 t1 = _this.$this;
59471 if (key instanceof A.SassString)
59472 _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
59473 else {
59474 t2 = _this.nodeWithSpan;
59475 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)));
59476 }
59477 },
59478 $signature: 56
59479 };
59480 A._EvaluateVisitor__verifyArguments_closure0.prototype = {
59481 call$0() {
59482 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
59483 },
59484 $signature: 0
59485 };
59486 A._EvaluateVisitor_visitStringExpression_closure0.prototype = {
59487 call$1(value) {
59488 var $async$goto = 0,
59489 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
59490 $async$returnValue, $async$self = this, t1, result;
59491 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59492 if ($async$errorCode === 1)
59493 return A._asyncRethrow($async$result, $async$completer);
59494 while (true)
59495 switch ($async$goto) {
59496 case 0:
59497 // Function start
59498 if (typeof value == "string") {
59499 $async$returnValue = value;
59500 // goto return
59501 $async$goto = 1;
59502 break;
59503 }
59504 type$.Expression._as(value);
59505 t1 = $async$self.$this;
59506 $async$goto = 3;
59507 return A._asyncAwait(value.accept$1(t1), $async$call$1);
59508 case 3:
59509 // returning from await.
59510 result = $async$result;
59511 $async$returnValue = result instanceof A.SassString ? result._string$_text : t1._async_evaluate$_serialize$3$quote(result, value, false);
59512 // goto return
59513 $async$goto = 1;
59514 break;
59515 case 1:
59516 // return
59517 return A._asyncReturn($async$returnValue, $async$completer);
59518 }
59519 });
59520 return A._asyncStartSync($async$call$1, $async$completer);
59521 },
59522 $signature: 95
59523 };
59524 A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
59525 call$0() {
59526 var $async$goto = 0,
59527 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59528 $async$self = this, t1, t2, t3;
59529 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59530 if ($async$errorCode === 1)
59531 return A._asyncRethrow($async$result, $async$completer);
59532 while (true)
59533 switch ($async$goto) {
59534 case 0:
59535 // Function start
59536 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
59537 case 2:
59538 // for condition
59539 if (!t1.moveNext$0()) {
59540 // goto after for
59541 $async$goto = 3;
59542 break;
59543 }
59544 $async$goto = 4;
59545 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
59546 case 4:
59547 // returning from await.
59548 // goto for condition
59549 $async$goto = 2;
59550 break;
59551 case 3:
59552 // after for
59553 // implicit return
59554 return A._asyncReturn(null, $async$completer);
59555 }
59556 });
59557 return A._asyncStartSync($async$call$0, $async$completer);
59558 },
59559 $signature: 2
59560 };
59561 A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
59562 call$1(node) {
59563 return type$.CssStyleRule._is(node);
59564 },
59565 $signature: 7
59566 };
59567 A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
59568 call$0() {
59569 var $async$goto = 0,
59570 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59571 $async$self = this, t1, t2, t3;
59572 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59573 if ($async$errorCode === 1)
59574 return A._asyncRethrow($async$result, $async$completer);
59575 while (true)
59576 switch ($async$goto) {
59577 case 0:
59578 // Function start
59579 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
59580 case 2:
59581 // for condition
59582 if (!t1.moveNext$0()) {
59583 // goto after for
59584 $async$goto = 3;
59585 break;
59586 }
59587 $async$goto = 4;
59588 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
59589 case 4:
59590 // returning from await.
59591 // goto for condition
59592 $async$goto = 2;
59593 break;
59594 case 3:
59595 // after for
59596 // implicit return
59597 return A._asyncReturn(null, $async$completer);
59598 }
59599 });
59600 return A._asyncStartSync($async$call$0, $async$completer);
59601 },
59602 $signature: 2
59603 };
59604 A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
59605 call$1(node) {
59606 return type$.CssStyleRule._is(node);
59607 },
59608 $signature: 7
59609 };
59610 A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
59611 call$1(mediaQueries) {
59612 return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
59613 },
59614 $signature: 91
59615 };
59616 A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
59617 call$0() {
59618 var $async$goto = 0,
59619 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59620 $async$self = this, t1, t2;
59621 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59622 if ($async$errorCode === 1)
59623 return A._asyncRethrow($async$result, $async$completer);
59624 while (true)
59625 switch ($async$goto) {
59626 case 0:
59627 // Function start
59628 t1 = $async$self.$this;
59629 t2 = $async$self.mergedQueries;
59630 if (t2 == null)
59631 t2 = $async$self.node.queries;
59632 $async$goto = 2;
59633 return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
59634 case 2:
59635 // returning from await.
59636 // implicit return
59637 return A._asyncReturn(null, $async$completer);
59638 }
59639 });
59640 return A._asyncStartSync($async$call$0, $async$completer);
59641 },
59642 $signature: 2
59643 };
59644 A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
59645 call$0() {
59646 var $async$goto = 0,
59647 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59648 $async$self = this, t2, t3, t1, styleRule;
59649 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59650 if ($async$errorCode === 1)
59651 return A._asyncRethrow($async$result, $async$completer);
59652 while (true)
59653 switch ($async$goto) {
59654 case 0:
59655 // Function start
59656 t1 = $async$self.$this;
59657 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
59658 $async$goto = styleRule == null ? 2 : 4;
59659 break;
59660 case 2:
59661 // then
59662 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
59663 case 5:
59664 // for condition
59665 if (!t2.moveNext$0()) {
59666 // goto after for
59667 $async$goto = 6;
59668 break;
59669 }
59670 $async$goto = 7;
59671 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
59672 case 7:
59673 // returning from await.
59674 // goto for condition
59675 $async$goto = 5;
59676 break;
59677 case 6:
59678 // after for
59679 // goto join
59680 $async$goto = 3;
59681 break;
59682 case 4:
59683 // else
59684 $async$goto = 8;
59685 return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
59686 case 8:
59687 // returning from await.
59688 case 3:
59689 // join
59690 // implicit return
59691 return A._asyncReturn(null, $async$completer);
59692 }
59693 });
59694 return A._asyncStartSync($async$call$0, $async$completer);
59695 },
59696 $signature: 2
59697 };
59698 A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
59699 call$0() {
59700 var $async$goto = 0,
59701 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59702 $async$self = this, t1, t2, t3;
59703 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59704 if ($async$errorCode === 1)
59705 return A._asyncRethrow($async$result, $async$completer);
59706 while (true)
59707 switch ($async$goto) {
59708 case 0:
59709 // Function start
59710 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
59711 case 2:
59712 // for condition
59713 if (!t1.moveNext$0()) {
59714 // goto after for
59715 $async$goto = 3;
59716 break;
59717 }
59718 $async$goto = 4;
59719 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
59720 case 4:
59721 // returning from await.
59722 // goto for condition
59723 $async$goto = 2;
59724 break;
59725 case 3:
59726 // after for
59727 // implicit return
59728 return A._asyncReturn(null, $async$completer);
59729 }
59730 });
59731 return A._asyncStartSync($async$call$0, $async$completer);
59732 },
59733 $signature: 2
59734 };
59735 A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
59736 call$1(node) {
59737 var t1;
59738 if (!type$.CssStyleRule._is(node))
59739 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
59740 else
59741 t1 = true;
59742 return t1;
59743 },
59744 $signature: 7
59745 };
59746 A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
59747 call$0() {
59748 var $async$goto = 0,
59749 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59750 $async$self = this, t1;
59751 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59752 if ($async$errorCode === 1)
59753 return A._asyncRethrow($async$result, $async$completer);
59754 while (true)
59755 switch ($async$goto) {
59756 case 0:
59757 // Function start
59758 t1 = $async$self.$this;
59759 $async$goto = 2;
59760 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);
59761 case 2:
59762 // returning from await.
59763 // implicit return
59764 return A._asyncReturn(null, $async$completer);
59765 }
59766 });
59767 return A._asyncStartSync($async$call$0, $async$completer);
59768 },
59769 $signature: 2
59770 };
59771 A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
59772 call$0() {
59773 var $async$goto = 0,
59774 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59775 $async$self = this, t1, t2, t3;
59776 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59777 if ($async$errorCode === 1)
59778 return A._asyncRethrow($async$result, $async$completer);
59779 while (true)
59780 switch ($async$goto) {
59781 case 0:
59782 // Function start
59783 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
59784 case 2:
59785 // for condition
59786 if (!t1.moveNext$0()) {
59787 // goto after for
59788 $async$goto = 3;
59789 break;
59790 }
59791 $async$goto = 4;
59792 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
59793 case 4:
59794 // returning from await.
59795 // goto for condition
59796 $async$goto = 2;
59797 break;
59798 case 3:
59799 // after for
59800 // implicit return
59801 return A._asyncReturn(null, $async$completer);
59802 }
59803 });
59804 return A._asyncStartSync($async$call$0, $async$completer);
59805 },
59806 $signature: 2
59807 };
59808 A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
59809 call$1(node) {
59810 return type$.CssStyleRule._is(node);
59811 },
59812 $signature: 7
59813 };
59814 A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
59815 call$0() {
59816 var $async$goto = 0,
59817 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59818 $async$self = this, t2, t3, t1, styleRule;
59819 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59820 if ($async$errorCode === 1)
59821 return A._asyncRethrow($async$result, $async$completer);
59822 while (true)
59823 switch ($async$goto) {
59824 case 0:
59825 // Function start
59826 t1 = $async$self.$this;
59827 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
59828 $async$goto = styleRule == null ? 2 : 4;
59829 break;
59830 case 2:
59831 // then
59832 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
59833 case 5:
59834 // for condition
59835 if (!t2.moveNext$0()) {
59836 // goto after for
59837 $async$goto = 6;
59838 break;
59839 }
59840 $async$goto = 7;
59841 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
59842 case 7:
59843 // returning from await.
59844 // goto for condition
59845 $async$goto = 5;
59846 break;
59847 case 6:
59848 // after for
59849 // goto join
59850 $async$goto = 3;
59851 break;
59852 case 4:
59853 // else
59854 $async$goto = 8;
59855 return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
59856 case 8:
59857 // returning from await.
59858 case 3:
59859 // join
59860 // implicit return
59861 return A._asyncReturn(null, $async$completer);
59862 }
59863 });
59864 return A._asyncStartSync($async$call$0, $async$completer);
59865 },
59866 $signature: 2
59867 };
59868 A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
59869 call$0() {
59870 var $async$goto = 0,
59871 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59872 $async$self = this, t1, t2, t3;
59873 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59874 if ($async$errorCode === 1)
59875 return A._asyncRethrow($async$result, $async$completer);
59876 while (true)
59877 switch ($async$goto) {
59878 case 0:
59879 // Function start
59880 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
59881 case 2:
59882 // for condition
59883 if (!t1.moveNext$0()) {
59884 // goto after for
59885 $async$goto = 3;
59886 break;
59887 }
59888 $async$goto = 4;
59889 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
59890 case 4:
59891 // returning from await.
59892 // goto for condition
59893 $async$goto = 2;
59894 break;
59895 case 3:
59896 // after for
59897 // implicit return
59898 return A._asyncReturn(null, $async$completer);
59899 }
59900 });
59901 return A._asyncStartSync($async$call$0, $async$completer);
59902 },
59903 $signature: 2
59904 };
59905 A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
59906 call$1(node) {
59907 return type$.CssStyleRule._is(node);
59908 },
59909 $signature: 7
59910 };
59911 A._EvaluateVisitor__performInterpolation_closure0.prototype = {
59912 call$1(value) {
59913 var $async$goto = 0,
59914 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
59915 $async$returnValue, $async$self = this, t1, result, t2, t3;
59916 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59917 if ($async$errorCode === 1)
59918 return A._asyncRethrow($async$result, $async$completer);
59919 while (true)
59920 switch ($async$goto) {
59921 case 0:
59922 // Function start
59923 if (typeof value == "string") {
59924 $async$returnValue = value;
59925 // goto return
59926 $async$goto = 1;
59927 break;
59928 }
59929 type$.Expression._as(value);
59930 t1 = $async$self.$this;
59931 $async$goto = 3;
59932 return A._asyncAwait(value.accept$1(t1), $async$call$1);
59933 case 3:
59934 // returning from await.
59935 result = $async$result;
59936 if ($async$self.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
59937 t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
59938 t3 = $.$get$namesByColor();
59939 t1._async_evaluate$_warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_AcR0, new A.StringExpression(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
59940 }
59941 $async$returnValue = t1._async_evaluate$_serialize$3$quote(result, value, false);
59942 // goto return
59943 $async$goto = 1;
59944 break;
59945 case 1:
59946 // return
59947 return A._asyncReturn($async$returnValue, $async$completer);
59948 }
59949 });
59950 return A._asyncStartSync($async$call$1, $async$completer);
59951 },
59952 $signature: 95
59953 };
59954 A._EvaluateVisitor__serialize_closure0.prototype = {
59955 call$0() {
59956 return A.serializeValue(this.value, false, this.quote);
59957 },
59958 $signature: 30
59959 };
59960 A._EvaluateVisitor__expressionNode_closure0.prototype = {
59961 call$0() {
59962 var t1 = this.expression;
59963 return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
59964 },
59965 $signature: 151
59966 };
59967 A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
59968 call$1(number) {
59969 var asSlash = number.asSlash;
59970 if (asSlash != null)
59971 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
59972 else
59973 return A.serializeValue(number, true, true);
59974 },
59975 $signature: 149
59976 };
59977 A._EvaluateVisitor__stackFrame_closure0.prototype = {
59978 call$1(url) {
59979 var t1 = this.$this._async_evaluate$_importCache;
59980 t1 = t1 == null ? null : t1.humanize$1(url);
59981 return t1 == null ? url : t1;
59982 },
59983 $signature: 97
59984 };
59985 A._EvaluateVisitor__stackTrace_closure0.prototype = {
59986 call$1(tuple) {
59987 return this.$this._async_evaluate$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
59988 },
59989 $signature: 147
59990 };
59991 A._ImportedCssVisitor0.prototype = {
59992 visitCssAtRule$1(node) {
59993 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
59994 this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
59995 },
59996 visitCssComment$1(node) {
59997 return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
59998 },
59999 visitCssDeclaration$1(node) {
60000 },
60001 visitCssImport$1(node) {
60002 var t2,
60003 _s13_ = "_endOfImports",
60004 t1 = this._async_evaluate$_visitor;
60005 if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
60006 t1._async_evaluate$_addChild$1(node);
60007 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)) {
60008 t1._async_evaluate$_addChild$1(node);
60009 t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
60010 } else {
60011 t2 = t1._async_evaluate$_outOfOrderImports;
60012 (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
60013 }
60014 },
60015 visitCssKeyframeBlock$1(node) {
60016 },
60017 visitCssMediaRule$1(node) {
60018 var t1 = this._async_evaluate$_visitor,
60019 mediaQueries = t1._async_evaluate$_mediaQueries;
60020 t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
60021 },
60022 visitCssStyleRule$1(node) {
60023 return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
60024 },
60025 visitCssStylesheet$1(node) {
60026 var t1, t2;
60027 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
60028 t2._as(t1.__internal$_current).accept$1(this);
60029 },
60030 visitCssSupportsRule$1(node) {
60031 return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
60032 }
60033 };
60034 A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
60035 call$1(node) {
60036 return type$.CssStyleRule._is(node);
60037 },
60038 $signature: 7
60039 };
60040 A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
60041 call$1(node) {
60042 var t1;
60043 if (!type$.CssStyleRule._is(node))
60044 t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
60045 else
60046 t1 = true;
60047 return t1;
60048 },
60049 $signature: 7
60050 };
60051 A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
60052 call$1(node) {
60053 return type$.CssStyleRule._is(node);
60054 },
60055 $signature: 7
60056 };
60057 A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
60058 call$1(node) {
60059 return type$.CssStyleRule._is(node);
60060 },
60061 $signature: 7
60062 };
60063 A.EvaluateResult.prototype = {};
60064 A._EvaluationContext0.prototype = {
60065 get$currentCallableSpan() {
60066 var callableNode = this._async_evaluate$_visitor._async_evaluate$_callableNode;
60067 if (callableNode != null)
60068 return callableNode.get$span(callableNode);
60069 throw A.wrapException(A.StateError$(string$.No_Sasc));
60070 },
60071 warn$2$deprecation(_, message, deprecation) {
60072 var t1 = this._async_evaluate$_visitor,
60073 t2 = t1._async_evaluate$_importSpan;
60074 if (t2 == null) {
60075 t2 = t1._async_evaluate$_callableNode;
60076 t2 = t2 == null ? null : t2.get$span(t2);
60077 }
60078 t1._async_evaluate$_warn$3$deprecation(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
60079 },
60080 $isEvaluationContext: 1
60081 };
60082 A._ArgumentResults0.prototype = {};
60083 A._LoadedStylesheet0.prototype = {};
60084 A._CloneCssVisitor.prototype = {
60085 visitCssAtRule$1(node) {
60086 var t1 = node.isChildless,
60087 rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
60088 return t1 ? rule : this._visitChildren$2(rule, node);
60089 },
60090 visitCssComment$1(node) {
60091 return new A.ModifiableCssComment(node.text, node.span);
60092 },
60093 visitCssDeclaration$1(node) {
60094 return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
60095 },
60096 visitCssImport$1(node) {
60097 return A.ModifiableCssImport$(node.url, node.span, node.media, node.supports);
60098 },
60099 visitCssKeyframeBlock$1(node) {
60100 return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
60101 },
60102 visitCssMediaRule$1(node) {
60103 return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
60104 },
60105 visitCssStyleRule$1(node) {
60106 var newSelector = this._oldToNewSelectors.$index(0, node.selector);
60107 if (newSelector == null)
60108 throw A.wrapException(A.StateError$(string$.The_Ex));
60109 return this._visitChildren$2(A.ModifiableCssStyleRule$(newSelector, node.span, node.originalSelector), node);
60110 },
60111 visitCssStylesheet$1(node) {
60112 return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
60113 },
60114 visitCssSupportsRule$1(node) {
60115 return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
60116 },
60117 _visitChildren$1$2(newParent, oldParent) {
60118 var t1, t2, newChild;
60119 for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
60120 t2 = t1.get$current(t1);
60121 newChild = t2.accept$1(this);
60122 newChild.isGroupEnd = t2.get$isGroupEnd();
60123 newParent.addChild$1(newChild);
60124 }
60125 return newParent;
60126 },
60127 _visitChildren$2(newParent, oldParent) {
60128 return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
60129 }
60130 };
60131 A.Evaluator.prototype = {};
60132 A._EvaluateVisitor.prototype = {
60133 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
60134 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
60135 _s20_ = "$name, $module: null",
60136 _s9_ = "sass:meta",
60137 t1 = type$.JSArray_BuiltInCallable,
60138 metaFunctions = A._setArrayType([A.BuiltInCallable$function("global-variable-exists", _s20_, new A._EvaluateVisitor_closure(_this), _s9_), A.BuiltInCallable$function("variable-exists", "$name", new A._EvaluateVisitor_closure0(_this), _s9_), A.BuiltInCallable$function("function-exists", _s20_, new A._EvaluateVisitor_closure1(_this), _s9_), A.BuiltInCallable$function("mixin-exists", _s20_, new A._EvaluateVisitor_closure2(_this), _s9_), A.BuiltInCallable$function("content-exists", "", new A._EvaluateVisitor_closure3(_this), _s9_), A.BuiltInCallable$function("module-variables", "$module", new A._EvaluateVisitor_closure4(_this), _s9_), A.BuiltInCallable$function("module-functions", "$module", new A._EvaluateVisitor_closure5(_this), _s9_), A.BuiltInCallable$function("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure6(_this), _s9_), A.BuiltInCallable$function("call", "$function, $args...", new A._EvaluateVisitor_closure7(_this), _s9_)], t1),
60139 metaMixins = A._setArrayType([A.BuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure8(_this), _s9_)], t1);
60140 t1 = type$.BuiltInCallable;
60141 t2 = A.List_List$of($.$get$global(), true, t1);
60142 B.JSArray_methods.addAll$1(t2, $.$get$local());
60143 B.JSArray_methods.addAll$1(t2, metaFunctions);
60144 metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
60145 for (t1 = A.List_List$of($.$get$coreModules(), true, type$.BuiltInModule_BuiltInCallable), t1.push(metaModule), t2 = t1.length, t3 = _this._builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
60146 module = t1[_i];
60147 t3.$indexSet(0, module.url, module);
60148 }
60149 t1 = A._setArrayType([], type$.JSArray_Callable);
60150 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
60151 B.JSArray_methods.addAll$1(t1, metaFunctions);
60152 for (t2 = t1.length, t3 = _this._builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
60153 $function = t1[_i];
60154 t4 = J.get$name$x($function);
60155 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
60156 }
60157 },
60158 run$2(_, importer, node) {
60159 var t1 = type$.nullable_Object;
60160 return A.runZoned(new A._EvaluateVisitor_run_closure(this, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext(this, node)], t1, t1), type$.EvaluateResult);
60161 },
60162 runExpression$2(importer, expression) {
60163 var t1 = type$.nullable_Object;
60164 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);
60165 },
60166 runStatement$2(importer, statement) {
60167 var t1 = type$.nullable_Object;
60168 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);
60169 },
60170 _assertInModule$1$2(value, $name) {
60171 if (value != null)
60172 return value;
60173 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
60174 },
60175 _assertInModule$2(value, $name) {
60176 return this._assertInModule$1$2(value, $name, type$.dynamic);
60177 },
60178 _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
60179 var t1, _this = this,
60180 oldImporter = _this._importer;
60181 _this._importer = importer;
60182 _this.__stylesheet = A.Stylesheet$(B.List_empty10, nodeWithSpan.get$span(nodeWithSpan));
60183 try {
60184 t1 = callback.call$0();
60185 return t1;
60186 } finally {
60187 _this._importer = oldImporter;
60188 _this.__stylesheet = null;
60189 }
60190 },
60191 _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
60192 return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
60193 },
60194 _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
60195 var t1, t2, _this = this,
60196 builtInModule = _this._builtInModules.$index(0, url);
60197 if (builtInModule != null) {
60198 if (configuration instanceof A.ExplicitConfiguration) {
60199 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
60200 t2 = configuration.nodeWithSpan;
60201 throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
60202 }
60203 _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(callback, builtInModule));
60204 return;
60205 }
60206 _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
60207 },
60208 _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
60209 return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
60210 },
60211 _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
60212 return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
60213 },
60214 _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
60215 var currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
60216 url = stylesheet.span.file.url,
60217 t1 = _this._modules,
60218 alreadyLoaded = t1.$index(0, url);
60219 if (alreadyLoaded != null) {
60220 t1 = configuration == null;
60221 currentConfiguration = t1 ? _this._configuration : configuration;
60222 if (currentConfiguration instanceof A.ExplicitConfiguration) {
60223 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
60224 t2 = _this._moduleNodes.$index(0, url);
60225 existingSpan = t2 == null ? null : J.get$span$z(t2);
60226 if (t1) {
60227 t1 = currentConfiguration.nodeWithSpan;
60228 configurationSpan = t1.get$span(t1);
60229 } else
60230 configurationSpan = null;
60231 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
60232 if (existingSpan != null)
60233 t1.$indexSet(0, existingSpan, "original load");
60234 if (configurationSpan != null)
60235 t1.$indexSet(0, configurationSpan, "configuration");
60236 throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
60237 }
60238 return alreadyLoaded;
60239 }
60240 environment = A.Environment$();
60241 css = A._Cell$();
60242 extensionStore = A.ExtensionStore$();
60243 _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css));
60244 module = environment.toModule$2(css._readLocal$0(), extensionStore);
60245 if (url != null) {
60246 t1.$indexSet(0, url, module);
60247 if (nodeWithSpan != null)
60248 _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
60249 }
60250 return module;
60251 },
60252 _execute$2(importer, stylesheet) {
60253 return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
60254 },
60255 _addOutOfOrderImports$0() {
60256 var t1, t2, _this = this, _s5_ = "_root",
60257 _s13_ = "_endOfImports",
60258 outOfOrderImports = _this._outOfOrderImports;
60259 if (outOfOrderImports == null)
60260 return _this._assertInModule$2(_this.__root, _s5_).children;
60261 t1 = _this._assertInModule$2(_this.__root, _s5_).children;
60262 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._assertInModule$2(_this.__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode);
60263 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
60264 t2 = _this._assertInModule$2(_this.__root, _s5_).children;
60265 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
60266 return t1;
60267 },
60268 _combineCss$2$clone(root, clone) {
60269 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
60270 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
60271 selectors = root.get$extensionStore().get$simpleSelectors();
60272 unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
60273 if (unsatisfiedExtension != null)
60274 _this._throwForUnsatisfiedExtension$1(unsatisfiedExtension);
60275 return root.get$css(root);
60276 }
60277 sortedModules = _this._topologicalModules$1(root);
60278 if (clone) {
60279 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<Callable>>");
60280 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure1(), t1), true, t1._eval$1("ListIterable.E"));
60281 }
60282 _this._extendModules$1(sortedModules);
60283 t1 = type$.JSArray_CssNode;
60284 imports = A._setArrayType([], t1);
60285 css = A._setArrayType([], t1);
60286 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
60287 t3 = t2._as(t1.__internal$_current);
60288 t3 = t3.get$css(t3);
60289 statements = t3.get$children(t3);
60290 index = _this._indexAfterImports$1(statements);
60291 t3 = J.getInterceptor$ax(statements);
60292 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
60293 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
60294 }
60295 t1 = B.JSArray_methods.$add(imports, css);
60296 t2 = root.get$css(root);
60297 return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
60298 },
60299 _combineCss$1(root) {
60300 return this._combineCss$2$clone(root, false);
60301 },
60302 _extendModules$1(sortedModules) {
60303 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
60304 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
60305 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
60306 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
60307 t2 = t1.get$current(t1);
60308 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
60309 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
60310 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
60311 t3 = t2.get$extensionStore().get$addExtensions();
60312 if ($self != null)
60313 t3.call$1($self);
60314 t3 = t2.get$extensionStore();
60315 if (t3.get$isEmpty(t3))
60316 continue;
60317 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
60318 upstream = t3[_i];
60319 url = upstream.get$url(upstream);
60320 if (url == null)
60321 continue;
60322 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure0()), t2.get$extensionStore());
60323 }
60324 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
60325 }
60326 if (unsatisfiedExtensions._collection$_length !== 0)
60327 this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
60328 },
60329 _throwForUnsatisfiedExtension$1(extension) {
60330 throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
60331 },
60332 _topologicalModules$1(root) {
60333 var t1 = type$.Module_Callable,
60334 sorted = A.QueueList$(null, t1);
60335 new A._EvaluateVisitor__topologicalModules_visitModule(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
60336 return sorted;
60337 },
60338 _indexAfterImports$1(statements) {
60339 var t1, t2, t3, lastImport, i, statement;
60340 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
60341 statement = t1.$index(statements, i);
60342 if (t3._is(statement))
60343 lastImport = i;
60344 else if (!t2._is(statement))
60345 break;
60346 }
60347 return lastImport + 1;
60348 },
60349 visitStylesheet$1(node) {
60350 var t1, t2, _i;
60351 for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
60352 t1[_i].accept$1(this);
60353 return null;
60354 },
60355 visitAtRootRule$1(node) {
60356 var t1, grandparent, root, innerCopy, t2, outerCopy, copy, _this = this,
60357 _s8_ = "__parent",
60358 unparsedQuery = node.query,
60359 query = unparsedQuery != null ? _this._adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure(_this, _this._performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS,
60360 $parent = _this._assertInModule$2(_this.__parent, _s8_),
60361 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
60362 for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
60363 if (!query.excludes$1($parent))
60364 included.push($parent);
60365 grandparent = $parent._parent;
60366 if (grandparent == null)
60367 throw A.wrapException(A.StateError$(string$.CssNod));
60368 }
60369 root = _this._trimIncluded$1(included);
60370 if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
60371 _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node), node.hasDeclarations, type$.Null);
60372 return null;
60373 }
60374 if (included.length !== 0) {
60375 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
60376 for (t1 = A.SubListIterable$(included, 1, null, type$.ModifiableCssParentNode), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
60377 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
60378 copy.addChild$1(outerCopy);
60379 }
60380 root.addChild$1(outerCopy);
60381 } else
60382 innerCopy = root;
60383 _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure1(_this, node));
60384 return null;
60385 },
60386 _trimIncluded$1(nodes) {
60387 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
60388 _s22_ = " to be an ancestor of ";
60389 if (nodes.length === 0)
60390 return _this._assertInModule$2(_this.__root, _s5_);
60391 $parent = _this._assertInModule$2(_this.__parent, "__parent");
60392 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
60393 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
60394 grandparent = $parent._parent;
60395 if (grandparent == null)
60396 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
60397 }
60398 if (innermostContiguous == null)
60399 innermostContiguous = i;
60400 grandparent = $parent._parent;
60401 if (grandparent == null)
60402 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
60403 }
60404 if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
60405 return _this._assertInModule$2(_this.__root, _s5_);
60406 innermostContiguous.toString;
60407 root = nodes[innermostContiguous];
60408 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
60409 return root;
60410 },
60411 _scopeForAtRoot$4(node, newParent, query, included) {
60412 var _this = this,
60413 scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
60414 t1 = query._all || query._at_root_query$_rule;
60415 if (t1 !== query.include)
60416 scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
60417 if (_this._mediaQueries != null && query.excludesName$1("media"))
60418 scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
60419 if (_this._inKeyframes && query.excludesName$1("keyframes"))
60420 scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
60421 return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
60422 },
60423 visitContentBlock$1(node) {
60424 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
60425 },
60426 visitContentRule$1(node) {
60427 var $content = this._environment._content;
60428 if ($content == null)
60429 return null;
60430 this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
60431 return null;
60432 },
60433 visitDebugRule$1(node) {
60434 var value = node.expression.accept$1(this),
60435 t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
60436 this._evaluate$_logger.debug$2(0, t1, node.span);
60437 return null;
60438 },
60439 visitDeclaration$1(node) {
60440 var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
60441 if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
60442 throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
60443 t1 = node.name;
60444 $name = _this._interpolationToValue$2$warnForColor(t1, true);
60445 t2 = _this._declarationName;
60446 if (t2 != null)
60447 $name = new A.CssValue(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
60448 t2 = node.value;
60449 cssValue = A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure(_this));
60450 t3 = cssValue != null;
60451 if (t3)
60452 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
60453 else
60454 t4 = false;
60455 if (t4) {
60456 t3 = _this._assertInModule$2(_this.__parent, "__parent");
60457 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
60458 if (_this._sourceMap) {
60459 t2 = A.NullableExtension_andThen(t2, _this.get$_expressionNode());
60460 t2 = t2 == null ? _null : J.get$span$z(t2);
60461 } else
60462 t2 = _null;
60463 t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
60464 } else if (J.startsWith$1$s($name.value, "--") && t3)
60465 throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
60466 children = node.children;
60467 if (children != null) {
60468 oldDeclarationName = _this._declarationName;
60469 _this._declarationName = $name.value;
60470 _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure0(_this, children), node.hasDeclarations, type$.Null);
60471 _this._declarationName = oldDeclarationName;
60472 }
60473 return _null;
60474 },
60475 visitEachRule$1(node) {
60476 var _this = this,
60477 t1 = node.list,
60478 list = t1.accept$1(_this),
60479 nodeWithSpan = _this._expressionNode$1(t1),
60480 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure0(_this, node, nodeWithSpan);
60481 return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, setVariables, node), true, type$.nullable_Value);
60482 },
60483 _setMultipleVariables$3(variables, value, nodeWithSpan) {
60484 var i,
60485 list = value.get$asList(),
60486 t1 = variables.length,
60487 minLength = Math.min(t1, list.length);
60488 for (i = 0; i < minLength; ++i)
60489 this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
60490 for (i = minLength; i < t1; ++i)
60491 this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
60492 },
60493 visitErrorRule$1(node) {
60494 throw A.wrapException(this._evaluate$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
60495 },
60496 visitExtendRule$1(node) {
60497 var targetText, t1, t2, t3, _i, t4, _this = this,
60498 styleRule = _this._atRootExcludingStyleRule ? null : _this._styleRuleIgnoringAtRoot;
60499 if (styleRule == null || _this._declarationName != null)
60500 throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
60501 targetText = _this._interpolationToValue$2$warnForColor(node.selector, true);
60502 for (t1 = _this._adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure(_this, targetText)).components, t2 = t1.length, t3 = type$.CompoundSelector, _i = 0; _i < t2; ++_i) {
60503 t4 = t1[_i].components;
60504 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector))
60505 throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.span));
60506 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
60507 if (t4.length !== 1)
60508 throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
60509 _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, _this._mediaQueries);
60510 }
60511 return null;
60512 },
60513 visitAtRule$1(node) {
60514 var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
60515 if (_this._declarationName != null)
60516 throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
60517 $name = _this._interpolationToValue$1(node.name);
60518 value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
60519 children = node.children;
60520 if (children == null) {
60521 _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
60522 return null;
60523 }
60524 wasInKeyframes = _this._inKeyframes;
60525 wasInUnknownAtRule = _this._inUnknownAtRule;
60526 if (A.unvendor($name.value) === "keyframes")
60527 _this._inKeyframes = true;
60528 else
60529 _this._inUnknownAtRule = true;
60530 _this._withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure0(_this, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure1(), type$.ModifiableCssAtRule, type$.Null);
60531 _this._inUnknownAtRule = wasInUnknownAtRule;
60532 _this._inKeyframes = wasInKeyframes;
60533 return null;
60534 },
60535 visitForRule$1(node) {
60536 var _this = this, t1 = {},
60537 t2 = node.from,
60538 fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
60539 t3 = node.to,
60540 toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
60541 from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
60542 to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
60543 direction = from > to ? -1 : 1;
60544 if (from === (!node.isExclusive ? t1.to = to + direction : to))
60545 return null;
60546 return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
60547 },
60548 visitForwardRule$1(node) {
60549 var newConfiguration, t4, _i, variable, $name, _this = this,
60550 _s8_ = "@forward",
60551 oldConfiguration = _this._configuration,
60552 adjustedConfiguration = oldConfiguration.throughForward$1(node),
60553 t1 = node.configuration,
60554 t2 = t1.length,
60555 t3 = node.url;
60556 if (t2 !== 0) {
60557 newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
60558 _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
60559 t3 = type$.String;
60560 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
60561 for (_i = 0; _i < t2; ++_i) {
60562 variable = t1[_i];
60563 if (!variable.isGuarded)
60564 t4.add$1(0, variable.name);
60565 }
60566 _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
60567 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
60568 for (_i = 0; _i < t2; ++_i)
60569 t3.add$1(0, t1[_i].name);
60570 for (t1 = newConfiguration._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
60571 $name = t2[_i];
60572 if (!t3.contains$1(0, $name))
60573 if (!t1.get$isEmpty(t1))
60574 t1.remove$1(0, $name);
60575 }
60576 _this._assertConfigurationIsEmpty$1(newConfiguration);
60577 } else {
60578 _this._configuration = adjustedConfiguration;
60579 _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
60580 _this._configuration = oldConfiguration;
60581 }
60582 return null;
60583 },
60584 _addForwardConfiguration$2(configuration, node) {
60585 var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
60586 t1 = configuration._values,
60587 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
60588 for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
60589 variable = t2[_i];
60590 if (variable.isGuarded) {
60591 t4 = variable.name;
60592 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
60593 if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
60594 newValues.$indexSet(0, t4, t5);
60595 continue;
60596 }
60597 }
60598 t4 = variable.expression;
60599 variableNodeWithSpan = this._expressionNode$1(t4);
60600 newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
60601 }
60602 if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
60603 return new A.ExplicitConfiguration(node, newValues);
60604 else
60605 return new A.Configuration(newValues);
60606 },
60607 _removeUsedConfiguration$3$except(upstream, downstream, except) {
60608 var t1, t2, t3, t4, _i, $name;
60609 for (t1 = upstream._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
60610 $name = t2[_i];
60611 if (except.contains$1(0, $name))
60612 continue;
60613 if (!t4.containsKey$1($name))
60614 if (!t1.get$isEmpty(t1))
60615 t1.remove$1(0, $name);
60616 }
60617 },
60618 _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
60619 var t1, entry;
60620 if (!(configuration instanceof A.ExplicitConfiguration))
60621 return;
60622 t1 = configuration._values;
60623 if (t1.get$isEmpty(t1))
60624 return;
60625 t1 = t1.get$entries(t1);
60626 entry = t1.get$first(t1);
60627 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
60628 throw A.wrapException(this._evaluate$_exception$2(t1, entry.value.configurationSpan));
60629 },
60630 _assertConfigurationIsEmpty$1(configuration) {
60631 return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
60632 },
60633 visitFunctionRule$1(node) {
60634 var t1 = this._environment,
60635 t2 = t1.closure$0(),
60636 t3 = this._inDependency,
60637 t4 = t1._functions,
60638 index = t4.length - 1,
60639 t5 = node.name;
60640 t1._functionIndices.$indexSet(0, t5, index);
60641 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
60642 return null;
60643 },
60644 visitIfRule$1(node) {
60645 var t1, t2, _i, clauseToCheck, _box_0 = {};
60646 _box_0.clause = node.lastClause;
60647 for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
60648 clauseToCheck = t1[_i];
60649 if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
60650 _box_0.clause = clauseToCheck;
60651 break;
60652 }
60653 }
60654 t1 = _box_0.clause;
60655 if (t1 == null)
60656 return null;
60657 return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value);
60658 },
60659 visitImportRule$1(node) {
60660 var t1, t2, t3, _i, $import;
60661 for (t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0; _i < t2; ++_i) {
60662 $import = t1[_i];
60663 if ($import instanceof A.DynamicImport)
60664 this._visitDynamicImport$1($import);
60665 else
60666 this._visitStaticImport$1(t3._as($import));
60667 }
60668 return null;
60669 },
60670 _visitDynamicImport$1($import) {
60671 return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
60672 },
60673 _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
60674 var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this;
60675 baseUrl = baseUrl;
60676 try {
60677 _this._importSpan = span;
60678 importCache = _this._evaluate$_importCache;
60679 if (importCache != null) {
60680 if (baseUrl == null)
60681 baseUrl = _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span.file.url;
60682 tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
60683 if (tuple != null) {
60684 isDependency = _this._inDependency || tuple.item1 !== _this._importer;
60685 t1 = tuple.item1;
60686 t2 = tuple.item2;
60687 t3 = tuple.item3;
60688 t4 = _this._quietDeps && isDependency;
60689 stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
60690 if (stylesheet != null) {
60691 _this._loadedUrls.add$1(0, tuple.item2);
60692 t1 = tuple.item1;
60693 return new A._LoadedStylesheet(stylesheet, t1, isDependency);
60694 }
60695 }
60696 } else {
60697 result = _this._importLikeNode$2(url, forImport);
60698 if (result != null) {
60699 t1 = _this._loadedUrls;
60700 A.NullableExtension_andThen(result.stylesheet.span.file.url, t1.get$add(t1));
60701 return result;
60702 }
60703 }
60704 if (B.JSString_methods.startsWith$1(url, "package:") && true)
60705 throw A.wrapException(string$.x22packa);
60706 else
60707 throw A.wrapException("Can't find stylesheet to import.");
60708 } catch (exception) {
60709 t1 = A.unwrapException(exception);
60710 if (t1 instanceof A.SassException) {
60711 error = t1;
60712 stackTrace = A.getTraceFromException(exception);
60713 t1 = error;
60714 t2 = J.getInterceptor$z(t1);
60715 A.throwWithTrace(_this._evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
60716 } else {
60717 error0 = t1;
60718 stackTrace0 = A.getTraceFromException(exception);
60719 message = null;
60720 try {
60721 message = A._asString(J.get$message$x(error0));
60722 } catch (exception) {
60723 message0 = J.toString$0$(error0);
60724 message = message0;
60725 }
60726 A.throwWithTrace(_this._evaluate$_exception$1(message), stackTrace0);
60727 }
60728 } finally {
60729 _this._importSpan = null;
60730 }
60731 },
60732 _loadStylesheet$3$baseUrl(url, span, baseUrl) {
60733 return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
60734 },
60735 _loadStylesheet$3$forImport(url, span, forImport) {
60736 return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
60737 },
60738 _importLikeNode$2(originalUrl, forImport) {
60739 var result, isDependency, contents, url, _this = this,
60740 t1 = _this._nodeImporter;
60741 t1.toString;
60742 result = t1.loadRelative$3(originalUrl, _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span.file.url, forImport);
60743 isDependency = _this._inDependency;
60744 contents = result.get$item1();
60745 url = result.get$item2();
60746 t1 = url.startsWith$1(0, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS;
60747 return new A._LoadedStylesheet(A.Stylesheet_Stylesheet$parse(contents, t1, _this._quietDeps && isDependency ? $.$get$Logger_quiet() : _this._evaluate$_logger, url), null, isDependency);
60748 },
60749 _visitStaticImport$1($import) {
60750 var t1, _this = this,
60751 _s8_ = "__parent",
60752 _s5_ = "_root",
60753 _s13_ = "_endOfImports",
60754 url = _this._interpolationToValue$1($import.url),
60755 supports = A.NullableExtension_andThen($import.supports, new A._EvaluateVisitor__visitStaticImport_closure(_this)),
60756 node = A.ModifiableCssImport$(url, $import.span, A.NullableExtension_andThen($import.media, _this.get$_visitMediaQueries()), supports);
60757 if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
60758 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
60759 else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
60760 _this._assertInModule$2(_this.__root, _s5_).addChild$1(node);
60761 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
60762 } else {
60763 t1 = _this._outOfOrderImports;
60764 (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
60765 }
60766 },
60767 visitIncludeRule$1(node) {
60768 var nodeWithSpan, t1, _this = this,
60769 _s37_ = "Mixin doesn't accept a content block.",
60770 mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
60771 if (mixin == null)
60772 throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", node.span));
60773 nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure0(node));
60774 if (mixin instanceof A.BuiltInCallable) {
60775 if (node.content != null)
60776 throw A.wrapException(_this._evaluate$_exception$2(_s37_, node.span));
60777 _this._runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
60778 } else if (type$.UserDefinedCallable_Environment._is(mixin)) {
60779 t1 = node.content;
60780 if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
60781 throw A.wrapException(A.MultiSpanSassRuntimeException$(_s37_, node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(node.get$spanWithoutContent())));
60782 _this._runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure1(_this, A.NullableExtension_andThen(t1, new A._EvaluateVisitor_visitIncludeRule_closure2(_this)), mixin, nodeWithSpan), type$.Null);
60783 } else
60784 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
60785 return null;
60786 },
60787 visitMixinRule$1(node) {
60788 var t1 = this._environment,
60789 t2 = t1.closure$0(),
60790 t3 = this._inDependency,
60791 t4 = t1._mixins,
60792 index = t4.length - 1,
60793 t5 = node.name;
60794 t1._mixinIndices.$indexSet(0, t5, index);
60795 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
60796 return null;
60797 },
60798 visitLoudComment$1(node) {
60799 var t1, _this = this,
60800 _s8_ = "__parent",
60801 _s13_ = "_endOfImports";
60802 if (_this._inFunction)
60803 return null;
60804 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))
60805 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
60806 t1 = node.text;
60807 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(_this._performInterpolation$1(t1), t1.span));
60808 return null;
60809 },
60810 visitMediaRule$1(node) {
60811 var queries, mergedQueries, t1, _this = this;
60812 if (_this._declarationName != null)
60813 throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
60814 queries = _this._visitMediaQueries$1(node.query);
60815 mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
60816 t1 = mergedQueries == null;
60817 if (!t1 && J.get$isEmpty$asx(mergedQueries))
60818 return null;
60819 t1 = t1 ? queries : mergedQueries;
60820 _this._withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(t1, node.span), new A._EvaluateVisitor_visitMediaRule_closure0(_this, mergedQueries, queries, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure1(mergedQueries), type$.ModifiableCssMediaRule, type$.Null);
60821 return null;
60822 },
60823 _visitMediaQueries$1(interpolation) {
60824 return this._adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure(this, this._performInterpolation$2$warnForColor(interpolation, true)));
60825 },
60826 _mergeMediaQueries$2(queries1, queries2) {
60827 var t1, t2, t3, t4, t5, result,
60828 queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
60829 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
60830 t4 = t1.get$current(t1);
60831 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
60832 result = t4.merge$1(t5.get$current(t5));
60833 if (result === B._SingletonCssMediaQueryMergeResult_empty)
60834 continue;
60835 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
60836 return null;
60837 queries.push(t3._as(result).query);
60838 }
60839 }
60840 return queries;
60841 },
60842 visitReturnRule$1(node) {
60843 var t1 = node.expression;
60844 return this._withoutSlash$2(t1.accept$1(this), t1);
60845 },
60846 visitSilentComment$1(node) {
60847 return null;
60848 },
60849 visitStyleRule$1(node) {
60850 var t2, selectorText, rule, oldAtRootExcludingStyleRule, _this = this,
60851 _s8_ = "__parent",
60852 t1 = {};
60853 if (_this._declarationName != null)
60854 throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
60855 t2 = node.selector;
60856 selectorText = _this._interpolationToValue$3$trim$warnForColor(t2, true, true);
60857 if (_this._inKeyframes) {
60858 _this._withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable(_this._adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure(_this, selectorText)), type$.String), t2.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure0(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure1(), type$.ModifiableCssKeyframeBlock, type$.Null);
60859 return null;
60860 }
60861 t1.parsedSelector = _this._adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure2(_this, selectorText));
60862 t1.parsedSelector = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure3(t1, _this));
60863 rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(t1.parsedSelector, t2.span, _this._mediaQueries), node.span, t1.parsedSelector);
60864 oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
60865 t1 = _this._atRootExcludingStyleRule = false;
60866 _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure4(_this, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure5(), type$.ModifiableCssStyleRule, type$.Null);
60867 _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
60868 if ((oldAtRootExcludingStyleRule ? null : _this._styleRuleIgnoringAtRoot) == null) {
60869 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
60870 t1 = !t1.get$isEmpty(t1);
60871 }
60872 if (t1) {
60873 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
60874 t1.get$last(t1).isGroupEnd = true;
60875 }
60876 return null;
60877 },
60878 visitSupportsRule$1(node) {
60879 var t1, _this = this;
60880 if (_this._declarationName != null)
60881 throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
60882 t1 = node.condition;
60883 _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);
60884 return null;
60885 },
60886 _visitSupportsCondition$1(condition) {
60887 var t1, oldInSupportsDeclaration, t2, result, _this = this;
60888 if (condition instanceof A.SupportsOperation) {
60889 t1 = condition.operator;
60890 return _this._parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._parenthesize$2(condition.right, t1);
60891 } else if (condition instanceof A.SupportsNegation)
60892 return "not " + _this._parenthesize$1(condition.condition);
60893 else if (condition instanceof A.SupportsInterpolation) {
60894 t1 = condition.expression;
60895 return _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
60896 } else if (condition instanceof A.SupportsDeclaration) {
60897 oldInSupportsDeclaration = _this._inSupportsDeclaration;
60898 _this._inSupportsDeclaration = true;
60899 t1 = condition.name;
60900 t1 = "(" + _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, true) + ":";
60901 t2 = condition.value;
60902 result = t1 + (condition.get$isCustomProperty() ? "" : " ") + _this._evaluate$_serialize$3$quote(t2.accept$1(_this), t2, true) + ")";
60903 _this._inSupportsDeclaration = oldInSupportsDeclaration;
60904 return result;
60905 } else if (condition instanceof A.SupportsFunction)
60906 return _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
60907 else if (condition instanceof A.SupportsAnything)
60908 return "(" + _this._performInterpolation$1(condition.contents) + ")";
60909 else
60910 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
60911 },
60912 _parenthesize$2(condition, operator) {
60913 var t1;
60914 if (!(condition instanceof A.SupportsNegation))
60915 if (condition instanceof A.SupportsOperation)
60916 t1 = operator == null || operator !== condition.operator;
60917 else
60918 t1 = false;
60919 else
60920 t1 = true;
60921 if (t1)
60922 return "(" + this._visitSupportsCondition$1(condition) + ")";
60923 else
60924 return this._visitSupportsCondition$1(condition);
60925 },
60926 _parenthesize$1(condition) {
60927 return this._parenthesize$2(condition, null);
60928 },
60929 visitVariableDeclaration$1(node) {
60930 var t1, value, _this = this, _null = null;
60931 if (node.isGuarded) {
60932 if (node.namespace == null && _this._environment._variables.length === 1) {
60933 t1 = _this._configuration._values;
60934 t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
60935 if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
60936 _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(_this, node, t1));
60937 return _null;
60938 }
60939 }
60940 value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
60941 if (value != null && !value.$eq(0, B.C__SassNull))
60942 return _null;
60943 }
60944 if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
60945 t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
60946 _this._warn$3$deprecation(t1, node.span, true);
60947 }
60948 t1 = node.expression;
60949 _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
60950 return _null;
60951 },
60952 visitUseRule$1(node) {
60953 var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
60954 t1 = node.configuration,
60955 t2 = t1.length;
60956 if (t2 !== 0) {
60957 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
60958 for (_i = 0; _i < t2; ++_i) {
60959 variable = t1[_i];
60960 t3 = variable.expression;
60961 variableNodeWithSpan = _this._expressionNode$1(t3);
60962 values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
60963 }
60964 configuration = new A.ExplicitConfiguration(node, values);
60965 } else
60966 configuration = B.Configuration_Map_empty;
60967 _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
60968 _this._assertConfigurationIsEmpty$1(configuration);
60969 return null;
60970 },
60971 visitWarnRule$1(node) {
60972 var _this = this,
60973 value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
60974 t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression);
60975 _this._evaluate$_logger.warn$2$trace(0, t1, _this._evaluate$_stackTrace$1(node.span));
60976 return null;
60977 },
60978 visitWhileRule$1(node) {
60979 return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
60980 },
60981 visitBinaryOperationExpression$1(node) {
60982 return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(this, node));
60983 },
60984 visitValueExpression$1(node) {
60985 return node.value;
60986 },
60987 visitVariableExpression$1(node) {
60988 var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
60989 if (result != null)
60990 return result;
60991 throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
60992 },
60993 visitUnaryOperationExpression$1(node) {
60994 return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
60995 },
60996 visitBooleanExpression$1(node) {
60997 return node.value ? B.SassBoolean_true : B.SassBoolean_false;
60998 },
60999 visitIfExpression$1(node) {
61000 var condition, t2, ifTrue, ifFalse, result, _this = this,
61001 pair = _this._evaluateMacroArguments$1(node),
61002 positional = pair.item1,
61003 named = pair.item2,
61004 t1 = J.getInterceptor$asx(positional);
61005 _this._verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
61006 if (t1.get$length(positional) > 0)
61007 condition = t1.$index(positional, 0);
61008 else {
61009 t2 = named.$index(0, "condition");
61010 t2.toString;
61011 condition = t2;
61012 }
61013 if (t1.get$length(positional) > 1)
61014 ifTrue = t1.$index(positional, 1);
61015 else {
61016 t2 = named.$index(0, "if-true");
61017 t2.toString;
61018 ifTrue = t2;
61019 }
61020 if (t1.get$length(positional) > 2)
61021 ifFalse = t1.$index(positional, 2);
61022 else {
61023 t1 = named.$index(0, "if-false");
61024 t1.toString;
61025 ifFalse = t1;
61026 }
61027 result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
61028 return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
61029 },
61030 visitNullExpression$1(node) {
61031 return B.C__SassNull;
61032 },
61033 visitNumberExpression$1(node) {
61034 var t1 = node.value,
61035 t2 = node.unit;
61036 return t2 == null ? new A.UnitlessSassNumber(t1, null) : new A.SingleUnitSassNumber(t2, t1, null);
61037 },
61038 visitParenthesizedExpression$1(node) {
61039 return node.expression.accept$1(this);
61040 },
61041 visitCalculationExpression$1(node) {
61042 var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
61043 t1 = A._setArrayType([], type$.JSArray_Object);
61044 for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
61045 argument = t2[_i];
61046 t1.push(_this._visitCalculationValue$2$inMinMax(argument, !t5 || t6));
61047 }
61048 $arguments = t1;
61049 if (_this._inSupportsDeclaration)
61050 return new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
61051 try {
61052 switch (t4) {
61053 case "calc":
61054 t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
61055 return t1;
61056 case "min":
61057 t1 = A.SassCalculation_min($arguments);
61058 return t1;
61059 case "max":
61060 t1 = A.SassCalculation_max($arguments);
61061 return t1;
61062 case "clamp":
61063 t1 = J.$index$asx($arguments, 0);
61064 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
61065 t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
61066 return t1;
61067 default:
61068 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
61069 throw A.wrapException(t1);
61070 }
61071 } catch (exception) {
61072 t1 = A.unwrapException(exception);
61073 if (t1 instanceof A.SassScriptException) {
61074 error = t1;
61075 stackTrace = A.getTraceFromException(exception);
61076 _this._verifyCompatibleNumbers$2($arguments, t2);
61077 A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), stackTrace);
61078 } else
61079 throw exception;
61080 }
61081 },
61082 _verifyCompatibleNumbers$2(args, nodesWithSpans) {
61083 var i, t1, arg, number1, j, number2;
61084 for (i = 0; t1 = args.length, i < t1; ++i) {
61085 arg = args[i];
61086 if (!(arg instanceof A.SassNumber))
61087 continue;
61088 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
61089 throw A.wrapException(this._evaluate$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
61090 }
61091 for (i = 0; i < t1 - 1; ++i) {
61092 number1 = args[i];
61093 if (!(number1 instanceof A.SassNumber))
61094 continue;
61095 for (j = i + 1; t1 = args.length, j < t1; ++j) {
61096 number2 = args[j];
61097 if (!(number2 instanceof A.SassNumber))
61098 continue;
61099 if (number1.hasPossiblyCompatibleUnits$1(number2))
61100 continue;
61101 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]))));
61102 }
61103 }
61104 },
61105 _visitCalculationValue$2$inMinMax(node, inMinMax) {
61106 var inner, result, t1, _this = this;
61107 if (node instanceof A.ParenthesizedExpression) {
61108 inner = node.expression;
61109 result = _this._visitCalculationValue$2$inMinMax(inner, inMinMax);
61110 if (inner instanceof A.FunctionExpression)
61111 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
61112 else
61113 t1 = false;
61114 return t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
61115 } else if (node instanceof A.StringExpression)
61116 return new A.CalculationInterpolation(_this._performInterpolation$1(node.text));
61117 else if (node instanceof A.BinaryOperationExpression)
61118 return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure(_this, node, inMinMax));
61119 else {
61120 result = node.accept$1(_this);
61121 if (result instanceof A.SassNumber || result instanceof A.SassCalculation)
61122 return result;
61123 if (result instanceof A.SassString && !result._hasQuotes)
61124 return result;
61125 throw A.wrapException(_this._evaluate$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
61126 }
61127 },
61128 _binaryOperatorToCalculationOperator$1(operator) {
61129 switch (operator) {
61130 case B.BinaryOperator_AcR0:
61131 return B.CalculationOperator_Iem;
61132 case B.BinaryOperator_iyO:
61133 return B.CalculationOperator_uti;
61134 case B.BinaryOperator_O1M:
61135 return B.CalculationOperator_Dih;
61136 case B.BinaryOperator_RTB:
61137 return B.CalculationOperator_jB6;
61138 default:
61139 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
61140 }
61141 },
61142 visitColorExpression$1(node) {
61143 return node.value;
61144 },
61145 visitListExpression$1(node) {
61146 var t1 = node.contents;
61147 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);
61148 },
61149 visitMapExpression$1(node) {
61150 var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
61151 t1 = type$.Value,
61152 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
61153 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
61154 for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
61155 pair = t2[_i];
61156 t4 = pair.item1;
61157 keyValue = t4.accept$1(this);
61158 valueValue = pair.item2.accept$1(this);
61159 if (map.$index(0, keyValue) != null) {
61160 t1 = keyNodes.$index(0, keyValue);
61161 oldValueSpan = t1 == null ? null : t1.get$span(t1);
61162 t1 = J.getInterceptor$z(t4);
61163 t2 = t1.get$span(t4);
61164 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
61165 if (oldValueSpan != null)
61166 t3.$indexSet(0, oldValueSpan, "first key");
61167 throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, this._evaluate$_stackTrace$1(t1.get$span(t4))));
61168 }
61169 map.$indexSet(0, keyValue, valueValue);
61170 keyNodes.$indexSet(0, keyValue, t4);
61171 }
61172 return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
61173 },
61174 visitFunctionExpression$1(node) {
61175 var oldInFunction, result, _this = this, t1 = {},
61176 $function = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
61177 t1.$function = $function;
61178 if ($function == null) {
61179 if (node.namespace != null)
61180 throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
61181 t1.$function = new A.PlainCssCallable(node.originalName);
61182 }
61183 oldInFunction = _this._inFunction;
61184 _this._inFunction = true;
61185 result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure0(t1, _this, node));
61186 _this._inFunction = oldInFunction;
61187 return result;
61188 },
61189 visitInterpolatedFunctionExpression$1(node) {
61190 var result, _this = this,
61191 t1 = _this._performInterpolation$1(node.name),
61192 oldInFunction = _this._inFunction;
61193 _this._inFunction = true;
61194 result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
61195 _this._inFunction = oldInFunction;
61196 return result;
61197 },
61198 _getFunction$2$namespace($name, namespace) {
61199 var local = this._environment.getFunction$2$namespace($name, namespace);
61200 if (local != null || namespace != null)
61201 return local;
61202 return this._builtInFunctions.$index(0, $name);
61203 },
61204 _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
61205 var oldCallable, result, _this = this,
61206 evaluated = _this._evaluateArguments$1($arguments),
61207 $name = callable.declaration.name;
61208 if ($name !== "@content")
61209 $name += "()";
61210 oldCallable = _this._currentCallable;
61211 _this._currentCallable = callable;
61212 result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
61213 _this._currentCallable = oldCallable;
61214 return result;
61215 },
61216 _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
61217 var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
61218 if (callable instanceof A.BuiltInCallable)
61219 return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
61220 else if (type$.UserDefinedCallable_Environment._is(callable))
61221 return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
61222 else if (callable instanceof A.PlainCssCallable) {
61223 t1 = $arguments.named;
61224 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
61225 throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
61226 t1 = callable.name + "(";
61227 for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
61228 argument = t2[_i];
61229 if (first)
61230 first = false;
61231 else
61232 t1 += ", ";
61233 t1 += _this._evaluate$_serialize$3$quote(argument.accept$1(_this), argument, true);
61234 }
61235 restArg = $arguments.rest;
61236 if (restArg != null) {
61237 rest = restArg.accept$1(_this);
61238 if (!first)
61239 t1 += ", ";
61240 t1 += _this._evaluate$_serialize$2(rest, restArg);
61241 }
61242 t1 += A.Primitives_stringFromCharCode(41);
61243 return new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
61244 } else
61245 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
61246 },
61247 _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
61248 var callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, _this = this,
61249 evaluated = _this._evaluateArguments$1($arguments),
61250 oldCallableNode = _this._callableNode;
61251 _this._callableNode = nodeWithSpan;
61252 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
61253 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
61254 overload = tuple.item1;
61255 callback = tuple.item2;
61256 _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(overload, evaluated, namedSet));
61257 declaredArguments = overload.$arguments;
61258 for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
61259 argument = declaredArguments[i];
61260 t2 = evaluated.positional;
61261 t3 = evaluated.named.remove$1(0, argument.name);
61262 if (t3 == null) {
61263 t3 = argument.defaultValue;
61264 t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
61265 }
61266 t2.push(t3);
61267 }
61268 if (overload.restArgument != null) {
61269 if (evaluated.positional.length > t1) {
61270 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
61271 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
61272 } else
61273 rest = B.List_empty5;
61274 t1 = evaluated.named;
61275 argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : evaluated.separator);
61276 evaluated.positional.push(argumentList);
61277 } else
61278 argumentList = null;
61279 result = null;
61280 try {
61281 result = callback.call$1(evaluated.positional);
61282 } catch (exception) {
61283 t1 = A.unwrapException(exception);
61284 if (type$.SassRuntimeException._is(t1))
61285 throw exception;
61286 else if (t1 instanceof A.MultiSpanSassScriptException) {
61287 error = t1;
61288 stackTrace = A.getTraceFromException(exception);
61289 t1 = error.message;
61290 t2 = nodeWithSpan.get$span(nodeWithSpan);
61291 t3 = error.primaryLabel;
61292 t4 = error.secondarySpans;
61293 A.throwWithTrace(new A.MultiSpanSassRuntimeException(_this._evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
61294 } else if (t1 instanceof A.MultiSpanSassException) {
61295 error0 = t1;
61296 stackTrace0 = A.getTraceFromException(exception);
61297 t1 = error0._span_exception$_message;
61298 t2 = error0;
61299 t3 = J.getInterceptor$z(t2);
61300 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
61301 t3 = error0.primaryLabel;
61302 t4 = error0.secondarySpans;
61303 t5 = error0;
61304 t6 = J.getInterceptor$z(t5);
61305 A.throwWithTrace(new A.MultiSpanSassRuntimeException(_this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
61306 } else {
61307 error1 = t1;
61308 stackTrace1 = A.getTraceFromException(exception);
61309 message = null;
61310 try {
61311 message = A._asString(J.get$message$x(error1));
61312 } catch (exception) {
61313 message0 = J.toString$0$(error1);
61314 message = message0;
61315 }
61316 A.throwWithTrace(_this._evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
61317 }
61318 }
61319 _this._callableNode = oldCallableNode;
61320 if (argumentList == null)
61321 return result;
61322 t1 = evaluated.named;
61323 if (t1.get$isEmpty(t1))
61324 return result;
61325 if (argumentList._wereKeywordsAccessed)
61326 return result;
61327 t1 = evaluated.named;
61328 t1 = t1.get$keys(t1);
61329 t1 = "No " + A.pluralize("argument", t1.get$length(t1), null) + " named ";
61330 t2 = evaluated.named;
61331 throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + A.S(A.toSentence(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure0(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
61332 },
61333 _evaluateArguments$1($arguments) {
61334 var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
61335 positional = A._setArrayType([], type$.JSArray_Value),
61336 positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
61337 for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
61338 expression = t1[_i];
61339 nodeForSpan = _this._expressionNode$1(expression);
61340 positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
61341 positionalNodes.push(nodeForSpan);
61342 }
61343 t1 = type$.String;
61344 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
61345 t2 = type$.AstNode;
61346 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61347 for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
61348 t4 = t3.get$current(t3);
61349 t5 = t4.value;
61350 nodeForSpan = _this._expressionNode$1(t5);
61351 t4 = t4.key;
61352 named.$indexSet(0, t4, _this._withoutSlash$2(t5.accept$1(_this), nodeForSpan));
61353 namedNodes.$indexSet(0, t4, nodeForSpan);
61354 }
61355 restArgs = $arguments.rest;
61356 if (restArgs == null)
61357 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null);
61358 rest = restArgs.accept$1(_this);
61359 restNodeForSpan = _this._expressionNode$1(restArgs);
61360 if (rest instanceof A.SassMap) {
61361 _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
61362 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61363 for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
61364 t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
61365 namedNodes.addAll$1(0, t3);
61366 separator = B.ListSeparator_undecided_null;
61367 } else if (rest instanceof A.SassList) {
61368 t3 = rest._list$_contents;
61369 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>")));
61370 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
61371 separator = rest._separator;
61372 if (rest instanceof A.SassArgumentList) {
61373 rest._wereKeywordsAccessed = true;
61374 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
61375 }
61376 } else {
61377 positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
61378 positionalNodes.push(restNodeForSpan);
61379 separator = B.ListSeparator_undecided_null;
61380 }
61381 keywordRestArgs = $arguments.keywordRest;
61382 if (keywordRestArgs == null)
61383 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
61384 keywordRest = keywordRestArgs.accept$1(_this);
61385 keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
61386 if (keywordRest instanceof A.SassMap) {
61387 _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
61388 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61389 for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
61390 t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
61391 namedNodes.addAll$1(0, t1);
61392 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
61393 } else
61394 throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
61395 },
61396 _evaluateMacroArguments$1(invocation) {
61397 var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
61398 t1 = invocation.$arguments,
61399 restArgs_ = t1.rest;
61400 if (restArgs_ == null)
61401 return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61402 t2 = t1.positional;
61403 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
61404 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
61405 rest = restArgs_.accept$1(_this);
61406 restNodeForSpan = _this._expressionNode$1(restArgs_);
61407 if (rest instanceof A.SassMap)
61408 _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
61409 else if (rest instanceof A.SassList) {
61410 t2 = rest._list$_contents;
61411 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>")));
61412 if (rest instanceof A.SassArgumentList) {
61413 rest._wereKeywordsAccessed = true;
61414 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
61415 }
61416 } else
61417 positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
61418 keywordRestArgs_ = t1.keywordRest;
61419 if (keywordRestArgs_ == null)
61420 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61421 keywordRest = keywordRestArgs_.accept$1(_this);
61422 keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
61423 if (keywordRest instanceof A.SassMap) {
61424 _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
61425 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61426 } else
61427 throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
61428 },
61429 _addRestMap$1$4(values, map, nodeWithSpan, convert) {
61430 map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
61431 },
61432 _addRestMap$4(values, map, nodeWithSpan, convert) {
61433 return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
61434 },
61435 _verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
61436 return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure($arguments, positional, named));
61437 },
61438 visitSelectorExpression$1(node) {
61439 var t1 = this._styleRuleIgnoringAtRoot;
61440 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
61441 return t1 == null ? B.C__SassNull : t1;
61442 },
61443 visitStringExpression$1(node) {
61444 var t1, _this = this,
61445 oldInSupportsDeclaration = _this._inSupportsDeclaration;
61446 _this._inSupportsDeclaration = false;
61447 t1 = node.text.contents;
61448 t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
61449 _this._inSupportsDeclaration = oldInSupportsDeclaration;
61450 return new A.SassString(t1, node.hasQuotes);
61451 },
61452 visitCssAtRule$1(node) {
61453 var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
61454 if (_this._declarationName != null)
61455 throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
61456 if (node.isChildless) {
61457 _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
61458 return;
61459 }
61460 wasInKeyframes = _this._inKeyframes;
61461 wasInUnknownAtRule = _this._inUnknownAtRule;
61462 t1 = node.name;
61463 if (A.unvendor(t1.get$value(t1)) === "keyframes")
61464 _this._inKeyframes = true;
61465 else
61466 _this._inUnknownAtRule = true;
61467 _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);
61468 _this._inUnknownAtRule = wasInUnknownAtRule;
61469 _this._inKeyframes = wasInKeyframes;
61470 },
61471 visitCssComment$1(node) {
61472 var _this = this,
61473 _s8_ = "__parent",
61474 _s13_ = "_endOfImports";
61475 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))
61476 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
61477 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
61478 },
61479 visitCssDeclaration$1(node) {
61480 var t1 = node.name;
61481 this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(t1, node.value, node.span, J.startsWith$1$s(t1.get$value(t1), "--"), node.valueSpanForMap));
61482 },
61483 visitCssImport$1(node) {
61484 var t1, _this = this,
61485 _s8_ = "__parent",
61486 _s5_ = "_root",
61487 _s13_ = "_endOfImports",
61488 modifiableNode = A.ModifiableCssImport$(node.url, node.span, node.media, node.supports);
61489 if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
61490 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
61491 else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
61492 _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
61493 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
61494 } else {
61495 t1 = _this._outOfOrderImports;
61496 (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
61497 }
61498 },
61499 visitCssKeyframeBlock$1(node) {
61500 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);
61501 },
61502 visitCssMediaRule$1(node) {
61503 var mergedQueries, t1, _this = this;
61504 if (_this._declarationName != null)
61505 throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
61506 mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
61507 t1 = mergedQueries == null;
61508 if (!t1 && J.get$isEmpty$asx(mergedQueries))
61509 return;
61510 t1 = t1 ? node.queries : mergedQueries;
61511 _this._withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(t1, node.span), new A._EvaluateVisitor_visitCssMediaRule_closure0(_this, mergedQueries, node), false, new A._EvaluateVisitor_visitCssMediaRule_closure1(mergedQueries), type$.ModifiableCssMediaRule, type$.Null);
61512 },
61513 visitCssStyleRule$1(node) {
61514 var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
61515 _s8_ = "__parent";
61516 if (_this._declarationName != null)
61517 throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
61518 t1 = _this._atRootExcludingStyleRule;
61519 styleRule = t1 ? null : _this._styleRuleIgnoringAtRoot;
61520 t2 = node.selector;
61521 t3 = t2.value;
61522 t4 = styleRule == null;
61523 t5 = t4 ? null : styleRule.originalSelector;
61524 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
61525 rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._mediaQueries), node.span, originalSelector);
61526 oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
61527 _this._atRootExcludingStyleRule = false;
61528 _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure(_this, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure0(), type$.ModifiableCssStyleRule, type$.Null);
61529 _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
61530 if (t4) {
61531 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61532 t1 = !t1.get$isEmpty(t1);
61533 } else
61534 t1 = false;
61535 if (t1) {
61536 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61537 t1.get$last(t1).isGroupEnd = true;
61538 }
61539 },
61540 visitCssStylesheet$1(node) {
61541 var t1;
61542 for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
61543 t1.get$current(t1).accept$1(this);
61544 },
61545 visitCssSupportsRule$1(node) {
61546 var _this = this;
61547 if (_this._declarationName != null)
61548 throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
61549 _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);
61550 },
61551 _handleReturn$1$2(list, callback) {
61552 var t1, _i, result;
61553 for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
61554 result = callback.call$1(list[_i]);
61555 if (result != null)
61556 return result;
61557 }
61558 return null;
61559 },
61560 _handleReturn$2(list, callback) {
61561 return this._handleReturn$1$2(list, callback, type$.dynamic);
61562 },
61563 _withEnvironment$1$2(environment, callback) {
61564 var result,
61565 oldEnvironment = this._environment;
61566 this._environment = environment;
61567 result = callback.call$0();
61568 this._environment = oldEnvironment;
61569 return result;
61570 },
61571 _withEnvironment$2(environment, callback) {
61572 return this._withEnvironment$1$2(environment, callback, type$.dynamic);
61573 },
61574 _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
61575 var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
61576 t1 = trim ? A.trimAscii(result, true) : result;
61577 return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
61578 },
61579 _interpolationToValue$1(interpolation) {
61580 return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
61581 },
61582 _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
61583 return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
61584 },
61585 _performInterpolation$2$warnForColor(interpolation, warnForColor) {
61586 var t1, result, _this = this,
61587 oldInSupportsDeclaration = _this._inSupportsDeclaration;
61588 _this._inSupportsDeclaration = false;
61589 t1 = interpolation.contents;
61590 result = new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure(_this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
61591 _this._inSupportsDeclaration = oldInSupportsDeclaration;
61592 return result;
61593 },
61594 _performInterpolation$1(interpolation) {
61595 return this._performInterpolation$2$warnForColor(interpolation, false);
61596 },
61597 _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
61598 return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
61599 },
61600 _evaluate$_serialize$2(value, nodeWithSpan) {
61601 return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
61602 },
61603 _expressionNode$1(expression) {
61604 var t1;
61605 if (expression instanceof A.VariableExpression) {
61606 t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
61607 return t1 == null ? expression : t1;
61608 } else
61609 return expression;
61610 },
61611 _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
61612 var t1, result, _this = this;
61613 _this._addChild$2$through(node, through);
61614 t1 = _this._assertInModule$2(_this.__parent, "__parent");
61615 _this.__parent = node;
61616 result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
61617 _this.__parent = t1;
61618 return result;
61619 },
61620 _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
61621 return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
61622 },
61623 _withParent$2$2(node, callback, $S, $T) {
61624 return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
61625 },
61626 _addChild$2$through(node, through) {
61627 var grandparent, t1,
61628 $parent = this._assertInModule$2(this.__parent, "__parent");
61629 if (through != null) {
61630 for (; through.call$1($parent); $parent = grandparent) {
61631 grandparent = $parent._parent;
61632 if (grandparent == null)
61633 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
61634 }
61635 if ($parent.get$hasFollowingSibling()) {
61636 t1 = $parent._parent;
61637 t1.toString;
61638 $parent = $parent.copyWithoutChildren$0();
61639 t1.addChild$1($parent);
61640 }
61641 }
61642 $parent.addChild$1(node);
61643 },
61644 _addChild$1(node) {
61645 return this._addChild$2$through(node, null);
61646 },
61647 _withStyleRule$1$2(rule, callback) {
61648 var result,
61649 oldRule = this._styleRuleIgnoringAtRoot;
61650 this._styleRuleIgnoringAtRoot = rule;
61651 result = callback.call$0();
61652 this._styleRuleIgnoringAtRoot = oldRule;
61653 return result;
61654 },
61655 _withStyleRule$2(rule, callback) {
61656 return this._withStyleRule$1$2(rule, callback, type$.dynamic);
61657 },
61658 _withMediaQueries$1$2(queries, callback) {
61659 var result,
61660 oldMediaQueries = this._mediaQueries;
61661 this._mediaQueries = queries;
61662 result = callback.call$0();
61663 this._mediaQueries = oldMediaQueries;
61664 return result;
61665 },
61666 _withMediaQueries$2(queries, callback) {
61667 return this._withMediaQueries$1$2(queries, callback, type$.dynamic);
61668 },
61669 _withStackFrame$1$3(member, nodeWithSpan, callback) {
61670 var oldMember, result, _this = this,
61671 t1 = _this._stack;
61672 t1.push(new A.Tuple2(_this._member, nodeWithSpan, type$.Tuple2_String_AstNode));
61673 oldMember = _this._member;
61674 _this._member = member;
61675 result = callback.call$0();
61676 _this._member = oldMember;
61677 t1.pop();
61678 return result;
61679 },
61680 _withStackFrame$3(member, nodeWithSpan, callback) {
61681 return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
61682 },
61683 _withoutSlash$2(value, nodeForSpan) {
61684 if (value instanceof A.SassNumber && value.asSlash != null)
61685 this._warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation().call$1(value)) + string$.x0a_More, nodeForSpan.get$span(nodeForSpan), true);
61686 return value.withoutSlash$0();
61687 },
61688 _stackFrame$2(member, span) {
61689 return A.frameForSpan(span, member, A.NullableExtension_andThen(span.file.url, new A._EvaluateVisitor__stackFrame_closure(this)));
61690 },
61691 _evaluate$_stackTrace$1(span) {
61692 var _this = this,
61693 t1 = _this._stack;
61694 t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
61695 if (span != null)
61696 t1.push(_this._stackFrame$2(_this._member, span));
61697 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
61698 },
61699 _evaluate$_stackTrace$0() {
61700 return this._evaluate$_stackTrace$1(null);
61701 },
61702 _warn$3$deprecation(message, span, deprecation) {
61703 var t1, _this = this;
61704 if (_this._quietDeps)
61705 if (!_this._inDependency) {
61706 t1 = _this._currentCallable;
61707 t1 = t1 == null ? null : t1.inDependency;
61708 t1 = t1 === true;
61709 } else
61710 t1 = true;
61711 else
61712 t1 = false;
61713 if (t1)
61714 return;
61715 if (!_this._warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
61716 return;
61717 _this._evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate$_stackTrace$1(span));
61718 },
61719 _warn$2(message, span) {
61720 return this._warn$3$deprecation(message, span, false);
61721 },
61722 _evaluate$_exception$2(message, span) {
61723 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._stack).item2) : span;
61724 return new A.SassRuntimeException(this._evaluate$_stackTrace$1(span), message, t1);
61725 },
61726 _evaluate$_exception$1(message) {
61727 return this._evaluate$_exception$2(message, null);
61728 },
61729 _multiSpanException$3(message, primaryLabel, secondaryLabels) {
61730 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._stack).item2);
61731 return new A.MultiSpanSassRuntimeException(this._evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
61732 },
61733 _adjustParseError$1$2(nodeWithSpan, callback) {
61734 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
61735 try {
61736 t1 = callback.call$0();
61737 return t1;
61738 } catch (exception) {
61739 t1 = A.unwrapException(exception);
61740 if (t1 instanceof A.SassFormatException) {
61741 error = t1;
61742 stackTrace = A.getTraceFromException(exception);
61743 t1 = error;
61744 t2 = J.getInterceptor$z(t1);
61745 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
61746 span = nodeWithSpan.get$span(nodeWithSpan);
61747 t1 = span;
61748 t2 = span;
61749 syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, 0, _null), 0, _null), A.FileLocation$_(t1.file, t1._file$_start).offset, A.FileLocation$_(t2.file, t2._end).offset, errorText);
61750 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
61751 t1 = span;
61752 t1 = A.FileLocation$_(t1.file, t1._file$_start);
61753 t3 = error;
61754 t4 = J.getInterceptor$z(t3);
61755 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
61756 t3 = A.FileLocation$_(t3.file, t3._file$_start);
61757 t4 = span;
61758 t4 = A.FileLocation$_(t4.file, t4._file$_start);
61759 t5 = error;
61760 t6 = J.getInterceptor$z(t5);
61761 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
61762 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
61763 A.throwWithTrace(this._evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
61764 } else
61765 throw exception;
61766 }
61767 },
61768 _adjustParseError$2(nodeWithSpan, callback) {
61769 return this._adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
61770 },
61771 _addExceptionSpan$1$2(nodeWithSpan, callback) {
61772 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
61773 try {
61774 t1 = callback.call$0();
61775 return t1;
61776 } catch (exception) {
61777 t1 = A.unwrapException(exception);
61778 if (t1 instanceof A.MultiSpanSassScriptException) {
61779 error = t1;
61780 stackTrace = A.getTraceFromException(exception);
61781 t1 = error.message;
61782 t2 = nodeWithSpan.get$span(nodeWithSpan);
61783 t3 = error.primaryLabel;
61784 t4 = error.secondarySpans;
61785 A.throwWithTrace(new A.MultiSpanSassRuntimeException(this._evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
61786 } else if (t1 instanceof A.SassScriptException) {
61787 error0 = t1;
61788 stackTrace0 = A.getTraceFromException(exception);
61789 A.throwWithTrace(this._evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
61790 } else
61791 throw exception;
61792 }
61793 },
61794 _addExceptionSpan$2(nodeWithSpan, callback) {
61795 return this._addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
61796 },
61797 _addErrorSpan$1$2(nodeWithSpan, callback) {
61798 var error, stackTrace, t1, exception, t2;
61799 try {
61800 t1 = callback.call$0();
61801 return t1;
61802 } catch (exception) {
61803 t1 = A.unwrapException(exception);
61804 if (type$.SassRuntimeException._is(t1)) {
61805 error = t1;
61806 stackTrace = A.getTraceFromException(exception);
61807 t1 = J.get$span$z(error);
61808 if (!B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null), "@error"))
61809 throw exception;
61810 t1 = error._span_exception$_message;
61811 t2 = nodeWithSpan.get$span(nodeWithSpan);
61812 A.throwWithTrace(new A.SassRuntimeException(this._evaluate$_stackTrace$0(), t1, t2), stackTrace);
61813 } else
61814 throw exception;
61815 }
61816 },
61817 _addErrorSpan$2(nodeWithSpan, callback) {
61818 return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
61819 }
61820 };
61821 A._EvaluateVisitor_closure.prototype = {
61822 call$1($arguments) {
61823 var module, t2,
61824 t1 = J.getInterceptor$asx($arguments),
61825 variable = t1.$index($arguments, 0).assertString$1("name");
61826 t1 = t1.$index($arguments, 1).get$realNull();
61827 module = t1 == null ? null : t1.assertString$1("module");
61828 t1 = this.$this._environment;
61829 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
61830 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
61831 },
61832 $signature: 19
61833 };
61834 A._EvaluateVisitor_closure0.prototype = {
61835 call$1($arguments) {
61836 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
61837 t1 = this.$this._environment;
61838 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
61839 },
61840 $signature: 19
61841 };
61842 A._EvaluateVisitor_closure1.prototype = {
61843 call$1($arguments) {
61844 var module, t2, t3, t4,
61845 t1 = J.getInterceptor$asx($arguments),
61846 variable = t1.$index($arguments, 0).assertString$1("name");
61847 t1 = t1.$index($arguments, 1).get$realNull();
61848 module = t1 == null ? null : t1.assertString$1("module");
61849 t1 = this.$this;
61850 t2 = t1._environment;
61851 t3 = variable._string$_text;
61852 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
61853 return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
61854 },
61855 $signature: 19
61856 };
61857 A._EvaluateVisitor_closure2.prototype = {
61858 call$1($arguments) {
61859 var module, t2,
61860 t1 = J.getInterceptor$asx($arguments),
61861 variable = t1.$index($arguments, 0).assertString$1("name");
61862 t1 = t1.$index($arguments, 1).get$realNull();
61863 module = t1 == null ? null : t1.assertString$1("module");
61864 t1 = this.$this._environment;
61865 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
61866 return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
61867 },
61868 $signature: 19
61869 };
61870 A._EvaluateVisitor_closure3.prototype = {
61871 call$1($arguments) {
61872 var t1 = this.$this._environment;
61873 if (!t1._inMixin)
61874 throw A.wrapException(A.SassScriptException$(string$.conten));
61875 return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
61876 },
61877 $signature: 19
61878 };
61879 A._EvaluateVisitor_closure4.prototype = {
61880 call$1($arguments) {
61881 var t2, t3, t4,
61882 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
61883 module = this.$this._environment._environment$_modules.$index(0, t1);
61884 if (module == null)
61885 throw A.wrapException('There is no module with namespace "' + t1 + '".');
61886 t1 = type$.Value;
61887 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
61888 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
61889 t4 = t3.get$current(t3);
61890 t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
61891 }
61892 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
61893 },
61894 $signature: 35
61895 };
61896 A._EvaluateVisitor_closure5.prototype = {
61897 call$1($arguments) {
61898 var t2, t3, t4,
61899 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
61900 module = this.$this._environment._environment$_modules.$index(0, t1);
61901 if (module == null)
61902 throw A.wrapException('There is no module with namespace "' + t1 + '".');
61903 t1 = type$.Value;
61904 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
61905 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
61906 t4 = t3.get$current(t3);
61907 t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
61908 }
61909 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
61910 },
61911 $signature: 35
61912 };
61913 A._EvaluateVisitor_closure6.prototype = {
61914 call$1($arguments) {
61915 var module, callable, t2,
61916 t1 = J.getInterceptor$asx($arguments),
61917 $name = t1.$index($arguments, 0).assertString$1("name"),
61918 css = t1.$index($arguments, 1).get$isTruthy();
61919 t1 = t1.$index($arguments, 2).get$realNull();
61920 module = t1 == null ? null : t1.assertString$1("module");
61921 if (css && module != null)
61922 throw A.wrapException(string$.x24css_a);
61923 if (css)
61924 callable = new A.PlainCssCallable($name._string$_text);
61925 else {
61926 t1 = this.$this;
61927 t2 = t1._callableNode;
61928 t2.toString;
61929 callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
61930 }
61931 if (callable != null)
61932 return new A.SassFunction(callable);
61933 throw A.wrapException("Function not found: " + $name.toString$0(0));
61934 },
61935 $signature: 165
61936 };
61937 A._EvaluateVisitor__closure1.prototype = {
61938 call$0() {
61939 var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
61940 t2 = this.module;
61941 t2 = t2 == null ? null : t2._string$_text;
61942 return this.$this._getFunction$2$namespace(t1, t2);
61943 },
61944 $signature: 138
61945 };
61946 A._EvaluateVisitor_closure7.prototype = {
61947 call$1($arguments) {
61948 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
61949 t1 = J.getInterceptor$asx($arguments),
61950 $function = t1.$index($arguments, 0),
61951 args = type$.SassArgumentList._as(t1.$index($arguments, 1));
61952 t1 = this.$this;
61953 t2 = t1._callableNode;
61954 t2.toString;
61955 t3 = A._setArrayType([], type$.JSArray_Expression);
61956 t4 = type$.String;
61957 t5 = type$.Expression;
61958 t6 = t2.get$span(t2);
61959 t7 = t2.get$span(t2);
61960 args._wereKeywordsAccessed = true;
61961 t8 = args._keywords;
61962 if (t8.get$isEmpty(t8))
61963 t2 = null;
61964 else {
61965 t9 = type$.Value;
61966 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
61967 for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
61968 t11 = t8.get$current(t8);
61969 t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
61970 }
61971 t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
61972 }
61973 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);
61974 if ($function instanceof A.SassString) {
61975 t2 = string$.Passin + $function.toString$0(0) + "))";
61976 A.EvaluationContext_current().warn$2$deprecation(0, t2, true);
61977 callableNode = t1._callableNode;
61978 return t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode)));
61979 }
61980 callable = $function.assertFunction$1("function").callable;
61981 if (type$.Callable._is(callable)) {
61982 t2 = t1._callableNode;
61983 t2.toString;
61984 return t1._runFunctionCallable$3(invocation, callable, t2);
61985 } else
61986 throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as));
61987 },
61988 $signature: 4
61989 };
61990 A._EvaluateVisitor_closure8.prototype = {
61991 call$1($arguments) {
61992 var withMap, t2, values, configuration,
61993 t1 = J.getInterceptor$asx($arguments),
61994 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
61995 t1 = t1.$index($arguments, 1).get$realNull();
61996 withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
61997 t1 = this.$this;
61998 t2 = t1._callableNode;
61999 t2.toString;
62000 if (withMap != null) {
62001 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
62002 withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
62003 configuration = new A.ExplicitConfiguration(t2, values);
62004 } else
62005 configuration = B.Configuration_Map_empty;
62006 t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t2.get$span(t2).file.url, configuration, true);
62007 t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
62008 },
62009 $signature: 592
62010 };
62011 A._EvaluateVisitor__closure.prototype = {
62012 call$2(variable, value) {
62013 var t1 = variable.assertString$1("with key"),
62014 $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
62015 t1 = this.values;
62016 if (t1.containsKey$1($name))
62017 throw A.wrapException("The variable $" + $name + " was configured twice.");
62018 t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
62019 },
62020 $signature: 56
62021 };
62022 A._EvaluateVisitor__closure0.prototype = {
62023 call$1(module) {
62024 var t1 = this.$this;
62025 return t1._combineCss$2$clone(module, true).accept$1(t1);
62026 },
62027 $signature: 67
62028 };
62029 A._EvaluateVisitor_run_closure.prototype = {
62030 call$0() {
62031 var t2, _this = this,
62032 t1 = _this.node,
62033 url = t1.span.file.url;
62034 if (url != null) {
62035 t2 = _this.$this;
62036 t2._activeModules.$indexSet(0, url, null);
62037 t2._loadedUrls.add$1(0, url);
62038 }
62039 t2 = _this.$this;
62040 return new A.EvaluateResult(t2._combineCss$1(t2._execute$2(_this.importer, t1)));
62041 },
62042 $signature: 260
62043 };
62044 A._EvaluateVisitor_runExpression_closure.prototype = {
62045 call$0() {
62046 var t1 = this.$this,
62047 t2 = this.expression;
62048 return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
62049 },
62050 $signature: 36
62051 };
62052 A._EvaluateVisitor_runExpression__closure.prototype = {
62053 call$0() {
62054 return this.expression.accept$1(this.$this);
62055 },
62056 $signature: 36
62057 };
62058 A._EvaluateVisitor_runStatement_closure.prototype = {
62059 call$0() {
62060 var t1 = this.$this,
62061 t2 = this.statement;
62062 return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
62063 },
62064 $signature: 0
62065 };
62066 A._EvaluateVisitor_runStatement__closure.prototype = {
62067 call$0() {
62068 return this.statement.accept$1(this.$this);
62069 },
62070 $signature: 0
62071 };
62072 A._EvaluateVisitor__loadModule_closure.prototype = {
62073 call$0() {
62074 return this.callback.call$1(this.builtInModule);
62075 },
62076 $signature: 0
62077 };
62078 A._EvaluateVisitor__loadModule_closure0.prototype = {
62079 call$0() {
62080 var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, _this = this,
62081 t1 = _this.$this,
62082 t2 = _this.nodeWithSpan,
62083 result = t1._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
62084 stylesheet = result.stylesheet,
62085 canonicalUrl = stylesheet.span.file.url;
62086 if (canonicalUrl != null && t1._activeModules.containsKey$1(canonicalUrl)) {
62087 message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
62088 t2 = A.NullableExtension_andThen(t1._activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t1, message));
62089 throw A.wrapException(t2 == null ? t1._evaluate$_exception$1(message) : t2);
62090 }
62091 if (canonicalUrl != null)
62092 t1._activeModules.$indexSet(0, canonicalUrl, t2);
62093 oldInDependency = t1._inDependency;
62094 t1._inDependency = result.isDependency;
62095 module = null;
62096 try {
62097 module = t1._execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
62098 } finally {
62099 t1._activeModules.remove$1(0, canonicalUrl);
62100 t1._inDependency = oldInDependency;
62101 }
62102 try {
62103 _this.callback.call$1(module);
62104 } catch (exception) {
62105 t2 = A.unwrapException(exception);
62106 if (type$.SassRuntimeException._is(t2))
62107 throw exception;
62108 else if (t2 instanceof A.MultiSpanSassException) {
62109 error = t2;
62110 stackTrace = A.getTraceFromException(exception);
62111 t2 = error._span_exception$_message;
62112 t3 = error;
62113 t4 = J.getInterceptor$z(t3);
62114 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
62115 t4 = error.primaryLabel;
62116 t5 = error.secondarySpans;
62117 t6 = error;
62118 t7 = J.getInterceptor$z(t6);
62119 A.throwWithTrace(new A.MultiSpanSassRuntimeException(t1._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
62120 } else if (t2 instanceof A.SassException) {
62121 error0 = t2;
62122 stackTrace0 = A.getTraceFromException(exception);
62123 t2 = error0;
62124 t3 = J.getInterceptor$z(t2);
62125 A.throwWithTrace(t1._evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
62126 } else if (t2 instanceof A.MultiSpanSassScriptException) {
62127 error1 = t2;
62128 stackTrace1 = A.getTraceFromException(exception);
62129 A.throwWithTrace(t1._multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
62130 } else if (t2 instanceof A.SassScriptException) {
62131 error2 = t2;
62132 stackTrace2 = A.getTraceFromException(exception);
62133 A.throwWithTrace(t1._evaluate$_exception$1(error2.message), stackTrace2);
62134 } else
62135 throw exception;
62136 }
62137 },
62138 $signature: 1
62139 };
62140 A._EvaluateVisitor__loadModule__closure.prototype = {
62141 call$1(previousLoad) {
62142 return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
62143 },
62144 $signature: 86
62145 };
62146 A._EvaluateVisitor__execute_closure.prototype = {
62147 call$0() {
62148 var t3, t4, t5, t6, _this = this,
62149 t1 = _this.$this,
62150 oldImporter = t1._importer,
62151 oldStylesheet = t1.__stylesheet,
62152 oldRoot = t1.__root,
62153 oldParent = t1.__parent,
62154 oldEndOfImports = t1.__endOfImports,
62155 oldOutOfOrderImports = t1._outOfOrderImports,
62156 oldExtensionStore = t1.__extensionStore,
62157 t2 = t1._atRootExcludingStyleRule,
62158 oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
62159 oldMediaQueries = t1._mediaQueries,
62160 oldDeclarationName = t1._declarationName,
62161 oldInUnknownAtRule = t1._inUnknownAtRule,
62162 oldInKeyframes = t1._inKeyframes,
62163 oldConfiguration = t1._configuration;
62164 t1._importer = _this.importer;
62165 t3 = t1.__stylesheet = _this.stylesheet;
62166 t4 = t3.span;
62167 t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
62168 t1.__endOfImports = 0;
62169 t1._outOfOrderImports = null;
62170 t1.__extensionStore = _this.extensionStore;
62171 t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
62172 t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
62173 t6 = _this.configuration;
62174 if (t6 != null)
62175 t1._configuration = t6;
62176 t1.visitStylesheet$1(t3);
62177 t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
62178 _this.css._value = t3;
62179 t1._importer = oldImporter;
62180 t1.__stylesheet = oldStylesheet;
62181 t1.__root = oldRoot;
62182 t1.__parent = oldParent;
62183 t1.__endOfImports = oldEndOfImports;
62184 t1._outOfOrderImports = oldOutOfOrderImports;
62185 t1.__extensionStore = oldExtensionStore;
62186 t1._styleRuleIgnoringAtRoot = oldStyleRule;
62187 t1._mediaQueries = oldMediaQueries;
62188 t1._declarationName = oldDeclarationName;
62189 t1._inUnknownAtRule = oldInUnknownAtRule;
62190 t1._atRootExcludingStyleRule = t2;
62191 t1._inKeyframes = oldInKeyframes;
62192 t1._configuration = oldConfiguration;
62193 },
62194 $signature: 1
62195 };
62196 A._EvaluateVisitor__combineCss_closure.prototype = {
62197 call$1(module) {
62198 return module.get$transitivelyContainsCss();
62199 },
62200 $signature: 117
62201 };
62202 A._EvaluateVisitor__combineCss_closure0.prototype = {
62203 call$1(target) {
62204 return !this.selectors.contains$1(0, target);
62205 },
62206 $signature: 15
62207 };
62208 A._EvaluateVisitor__combineCss_closure1.prototype = {
62209 call$1(module) {
62210 return module.cloneCss$0();
62211 },
62212 $signature: 261
62213 };
62214 A._EvaluateVisitor__extendModules_closure.prototype = {
62215 call$1(target) {
62216 return !this.originalSelectors.contains$1(0, target);
62217 },
62218 $signature: 15
62219 };
62220 A._EvaluateVisitor__extendModules_closure0.prototype = {
62221 call$0() {
62222 return A._setArrayType([], type$.JSArray_ExtensionStore);
62223 },
62224 $signature: 162
62225 };
62226 A._EvaluateVisitor__topologicalModules_visitModule.prototype = {
62227 call$1(module) {
62228 var t1, t2, t3, _i, upstream;
62229 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
62230 upstream = t1[_i];
62231 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
62232 this.call$1(upstream);
62233 }
62234 this.sorted.addFirst$1(module);
62235 },
62236 $signature: 67
62237 };
62238 A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
62239 call$0() {
62240 var t1 = A.SpanScanner$(this.resolved, null);
62241 return new A.AtRootQueryParser(t1, this.$this._evaluate$_logger).parse$0();
62242 },
62243 $signature: 135
62244 };
62245 A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
62246 call$0() {
62247 var t1, t2, t3, _i;
62248 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62249 t1[_i].accept$1(t3);
62250 },
62251 $signature: 1
62252 };
62253 A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
62254 call$0() {
62255 var t1, t2, t3, _i;
62256 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62257 t1[_i].accept$1(t3);
62258 },
62259 $signature: 0
62260 };
62261 A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
62262 call$1(callback) {
62263 var t1 = this.$this,
62264 t2 = t1._assertInModule$2(t1.__parent, "__parent");
62265 t1.__parent = this.newParent;
62266 t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
62267 t1.__parent = t2;
62268 },
62269 $signature: 27
62270 };
62271 A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
62272 call$1(callback) {
62273 var t1 = this.$this,
62274 oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
62275 t1._atRootExcludingStyleRule = true;
62276 this.innerScope.call$1(callback);
62277 t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
62278 },
62279 $signature: 27
62280 };
62281 A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
62282 call$1(callback) {
62283 return this.$this._withMediaQueries$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
62284 },
62285 $signature: 27
62286 };
62287 A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
62288 call$0() {
62289 return this.innerScope.call$1(this.callback);
62290 },
62291 $signature: 1
62292 };
62293 A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
62294 call$1(callback) {
62295 var t1 = this.$this,
62296 wasInKeyframes = t1._inKeyframes;
62297 t1._inKeyframes = false;
62298 this.innerScope.call$1(callback);
62299 t1._inKeyframes = wasInKeyframes;
62300 },
62301 $signature: 27
62302 };
62303 A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
62304 call$1($parent) {
62305 return type$.CssAtRule._is($parent);
62306 },
62307 $signature: 160
62308 };
62309 A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
62310 call$1(callback) {
62311 var t1 = this.$this,
62312 wasInUnknownAtRule = t1._inUnknownAtRule;
62313 t1._inUnknownAtRule = false;
62314 this.innerScope.call$1(callback);
62315 t1._inUnknownAtRule = wasInUnknownAtRule;
62316 },
62317 $signature: 27
62318 };
62319 A._EvaluateVisitor_visitContentRule_closure.prototype = {
62320 call$0() {
62321 var t1, t2, t3, _i;
62322 for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62323 t1[_i].accept$1(t3);
62324 return null;
62325 },
62326 $signature: 1
62327 };
62328 A._EvaluateVisitor_visitDeclaration_closure.prototype = {
62329 call$1(value) {
62330 return new A.CssValue(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value);
62331 },
62332 $signature: 262
62333 };
62334 A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
62335 call$0() {
62336 var t1, t2, t3, _i;
62337 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62338 t1[_i].accept$1(t3);
62339 },
62340 $signature: 1
62341 };
62342 A._EvaluateVisitor_visitEachRule_closure.prototype = {
62343 call$1(value) {
62344 var t1 = this.$this,
62345 t2 = this.nodeWithSpan;
62346 return t1._environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._withoutSlash$2(value, t2), t2);
62347 },
62348 $signature: 55
62349 };
62350 A._EvaluateVisitor_visitEachRule_closure0.prototype = {
62351 call$1(value) {
62352 return this.$this._setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
62353 },
62354 $signature: 55
62355 };
62356 A._EvaluateVisitor_visitEachRule_closure1.prototype = {
62357 call$0() {
62358 var _this = this,
62359 t1 = _this.$this;
62360 return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
62361 },
62362 $signature: 40
62363 };
62364 A._EvaluateVisitor_visitEachRule__closure.prototype = {
62365 call$1(element) {
62366 var t1;
62367 this.setVariables.call$1(element);
62368 t1 = this.$this;
62369 return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
62370 },
62371 $signature: 263
62372 };
62373 A._EvaluateVisitor_visitEachRule___closure.prototype = {
62374 call$1(child) {
62375 return child.accept$1(this.$this);
62376 },
62377 $signature: 73
62378 };
62379 A._EvaluateVisitor_visitExtendRule_closure.prototype = {
62380 call$0() {
62381 return A.SelectorList_SelectorList$parse(A.trimAscii(this.targetText.value, true), false, true, this.$this._evaluate$_logger);
62382 },
62383 $signature: 46
62384 };
62385 A._EvaluateVisitor_visitAtRule_closure.prototype = {
62386 call$1(value) {
62387 return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
62388 },
62389 $signature: 265
62390 };
62391 A._EvaluateVisitor_visitAtRule_closure0.prototype = {
62392 call$0() {
62393 var t2, t3, _i,
62394 t1 = this.$this,
62395 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62396 if (styleRule == null || t1._inKeyframes)
62397 for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62398 t2[_i].accept$1(t1);
62399 else
62400 t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure(t1, this.children), false, type$.ModifiableCssStyleRule, type$.Null);
62401 },
62402 $signature: 1
62403 };
62404 A._EvaluateVisitor_visitAtRule__closure.prototype = {
62405 call$0() {
62406 var t1, t2, t3, _i;
62407 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62408 t1[_i].accept$1(t3);
62409 },
62410 $signature: 1
62411 };
62412 A._EvaluateVisitor_visitAtRule_closure1.prototype = {
62413 call$1(node) {
62414 return type$.CssStyleRule._is(node);
62415 },
62416 $signature: 7
62417 };
62418 A._EvaluateVisitor_visitForRule_closure.prototype = {
62419 call$0() {
62420 return this.node.from.accept$1(this.$this).assertNumber$0();
62421 },
62422 $signature: 220
62423 };
62424 A._EvaluateVisitor_visitForRule_closure0.prototype = {
62425 call$0() {
62426 return this.node.to.accept$1(this.$this).assertNumber$0();
62427 },
62428 $signature: 220
62429 };
62430 A._EvaluateVisitor_visitForRule_closure1.prototype = {
62431 call$0() {
62432 return this.fromNumber.assertInt$0();
62433 },
62434 $signature: 12
62435 };
62436 A._EvaluateVisitor_visitForRule_closure2.prototype = {
62437 call$0() {
62438 var t1 = this.fromNumber;
62439 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
62440 },
62441 $signature: 12
62442 };
62443 A._EvaluateVisitor_visitForRule_closure3.prototype = {
62444 call$0() {
62445 var i, t3, t4, t5, t6, t7, t8, result, _this = this,
62446 t1 = _this.$this,
62447 t2 = _this.node,
62448 nodeWithSpan = t1._expressionNode$1(t2.from);
62449 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) {
62450 t7 = t1._environment;
62451 t8 = t6.get$numeratorUnits(t6);
62452 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
62453 result = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
62454 if (result != null)
62455 return result;
62456 }
62457 return null;
62458 },
62459 $signature: 40
62460 };
62461 A._EvaluateVisitor_visitForRule__closure.prototype = {
62462 call$1(child) {
62463 return child.accept$1(this.$this);
62464 },
62465 $signature: 73
62466 };
62467 A._EvaluateVisitor_visitForwardRule_closure.prototype = {
62468 call$1(module) {
62469 this.$this._environment.forwardModule$2(module, this.node);
62470 },
62471 $signature: 67
62472 };
62473 A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
62474 call$1(module) {
62475 this.$this._environment.forwardModule$2(module, this.node);
62476 },
62477 $signature: 67
62478 };
62479 A._EvaluateVisitor_visitIfRule_closure.prototype = {
62480 call$0() {
62481 var t1 = this.$this;
62482 return t1._handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure(t1));
62483 },
62484 $signature: 40
62485 };
62486 A._EvaluateVisitor_visitIfRule__closure.prototype = {
62487 call$1(child) {
62488 return child.accept$1(this.$this);
62489 },
62490 $signature: 73
62491 };
62492 A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
62493 call$0() {
62494 var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
62495 t1 = this.$this,
62496 t2 = this.$import,
62497 result = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true),
62498 stylesheet = result.stylesheet,
62499 url = stylesheet.span.file.url;
62500 if (url != null) {
62501 t3 = t1._activeModules;
62502 if (t3.containsKey$1(url)) {
62503 t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
62504 throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
62505 }
62506 t3.$indexSet(0, url, t2);
62507 }
62508 t2 = stylesheet._uses;
62509 t3 = type$.UnmodifiableListView_UseRule;
62510 t4 = new A.UnmodifiableListView(t2, t3);
62511 if (t4.get$length(t4) === 0) {
62512 t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
62513 t4 = t4.get$length(t4) === 0;
62514 } else
62515 t4 = false;
62516 if (t4) {
62517 oldImporter = t1._importer;
62518 t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
62519 oldInDependency = t1._inDependency;
62520 t1._importer = result.importer;
62521 t1.__stylesheet = stylesheet;
62522 t1._inDependency = result.isDependency;
62523 t1.visitStylesheet$1(stylesheet);
62524 t1._importer = oldImporter;
62525 t1.__stylesheet = t2;
62526 t1._inDependency = oldInDependency;
62527 t1._activeModules.remove$1(0, url);
62528 return;
62529 }
62530 t2 = new A.UnmodifiableListView(t2, t3);
62531 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
62532 t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
62533 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
62534 } else
62535 loadsUserDefinedModules = true;
62536 children = A._Cell$();
62537 t2 = t1._environment;
62538 t3 = type$.String;
62539 t4 = type$.Module_Callable;
62540 t5 = type$.AstNode;
62541 t6 = A._setArrayType([], type$.JSArray_Module_Callable);
62542 t7 = t2._variables;
62543 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
62544 t8 = t2._variableNodes;
62545 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
62546 t9 = t2._functions;
62547 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
62548 t10 = t2._mixins;
62549 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
62550 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);
62551 t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
62552 module = environment.toDummyModule$0();
62553 t1._environment.importForwards$1(module);
62554 if (loadsUserDefinedModules) {
62555 if (module.transitivelyContainsCss)
62556 t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
62557 visitor = new A._ImportedCssVisitor(t1);
62558 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
62559 t2.get$current(t2).accept$1(visitor);
62560 }
62561 t1._activeModules.remove$1(0, url);
62562 },
62563 $signature: 0
62564 };
62565 A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
62566 call$1(previousLoad) {
62567 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));
62568 },
62569 $signature: 86
62570 };
62571 A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
62572 call$1(rule) {
62573 return rule.url.get$scheme() !== "sass";
62574 },
62575 $signature: 157
62576 };
62577 A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
62578 call$1(rule) {
62579 return rule.url.get$scheme() !== "sass";
62580 },
62581 $signature: 153
62582 };
62583 A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
62584 call$0() {
62585 var t7, t8, t9, _this = this,
62586 t1 = _this.$this,
62587 oldImporter = t1._importer,
62588 t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
62589 t3 = t1._assertInModule$2(t1.__root, "_root"),
62590 t4 = t1._assertInModule$2(t1.__parent, "__parent"),
62591 t5 = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
62592 oldOutOfOrderImports = t1._outOfOrderImports,
62593 oldConfiguration = t1._configuration,
62594 oldInDependency = t1._inDependency,
62595 t6 = _this.result;
62596 t1._importer = t6.importer;
62597 t7 = t1.__stylesheet = _this.stylesheet;
62598 t8 = _this.loadsUserDefinedModules;
62599 if (t8) {
62600 t9 = A.ModifiableCssStylesheet$(t7.span);
62601 t1.__root = t9;
62602 t1.__parent = t1._assertInModule$2(t9, "_root");
62603 t1.__endOfImports = 0;
62604 t1._outOfOrderImports = null;
62605 }
62606 t1._inDependency = t6.isDependency;
62607 t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
62608 if (!t6.get$isEmpty(t6))
62609 t1._configuration = _this.environment.toImplicitConfiguration$0();
62610 t1.visitStylesheet$1(t7);
62611 t6 = t8 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
62612 _this.children._value = t6;
62613 t1._importer = oldImporter;
62614 t1.__stylesheet = t2;
62615 if (t8) {
62616 t1.__root = t3;
62617 t1.__parent = t4;
62618 t1.__endOfImports = t5;
62619 t1._outOfOrderImports = oldOutOfOrderImports;
62620 }
62621 t1._configuration = oldConfiguration;
62622 t1._inDependency = oldInDependency;
62623 },
62624 $signature: 1
62625 };
62626 A._EvaluateVisitor__visitStaticImport_closure.prototype = {
62627 call$1(supports) {
62628 var t2, t3, arg,
62629 t1 = this.$this;
62630 if (supports instanceof A.SupportsDeclaration) {
62631 t2 = supports.name;
62632 t2 = t1._evaluate$_serialize$3$quote(t2.accept$1(t1), t2, true) + ":";
62633 t3 = supports.value;
62634 arg = t2 + (supports.get$isCustomProperty() ? "" : " ") + t1._evaluate$_serialize$3$quote(t3.accept$1(t1), t3, true);
62635 } else
62636 arg = A.NullableExtension_andThen(supports, t1.get$_visitSupportsCondition());
62637 return new A.CssValue("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String);
62638 },
62639 $signature: 267
62640 };
62641 A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
62642 call$0() {
62643 var t1 = this.node;
62644 return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
62645 },
62646 $signature: 138
62647 };
62648 A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
62649 call$0() {
62650 return this.node.get$spanWithoutContent();
62651 },
62652 $signature: 31
62653 };
62654 A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
62655 call$1($content) {
62656 var t1 = this.$this;
62657 return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
62658 },
62659 $signature: 268
62660 };
62661 A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
62662 call$0() {
62663 var _this = this,
62664 t1 = _this.$this,
62665 t2 = t1._environment,
62666 oldContent = t2._content;
62667 t2._content = _this.contentCallable;
62668 new A._EvaluateVisitor_visitIncludeRule__closure(t1, _this.mixin, _this.nodeWithSpan).call$0();
62669 t2._content = oldContent;
62670 },
62671 $signature: 1
62672 };
62673 A._EvaluateVisitor_visitIncludeRule__closure.prototype = {
62674 call$0() {
62675 var t1 = this.$this,
62676 t2 = t1._environment,
62677 oldInMixin = t2._inMixin;
62678 t2._inMixin = true;
62679 new A._EvaluateVisitor_visitIncludeRule___closure(t1, this.mixin, this.nodeWithSpan).call$0();
62680 t2._inMixin = oldInMixin;
62681 },
62682 $signature: 0
62683 };
62684 A._EvaluateVisitor_visitIncludeRule___closure.prototype = {
62685 call$0() {
62686 var t1, t2, t3, t4, _i;
62687 for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
62688 t3._addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure(t3, t1[_i]));
62689 },
62690 $signature: 0
62691 };
62692 A._EvaluateVisitor_visitIncludeRule____closure.prototype = {
62693 call$0() {
62694 return this.statement.accept$1(this.$this);
62695 },
62696 $signature: 40
62697 };
62698 A._EvaluateVisitor_visitMediaRule_closure.prototype = {
62699 call$1(mediaQueries) {
62700 return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
62701 },
62702 $signature: 91
62703 };
62704 A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
62705 call$0() {
62706 var _this = this,
62707 t1 = _this.$this,
62708 t2 = _this.mergedQueries;
62709 if (t2 == null)
62710 t2 = _this.queries;
62711 t1._withMediaQueries$2(t2, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
62712 },
62713 $signature: 1
62714 };
62715 A._EvaluateVisitor_visitMediaRule__closure.prototype = {
62716 call$0() {
62717 var t2, t3, _i,
62718 t1 = this.$this,
62719 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62720 if (styleRule == null)
62721 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62722 t2[_i].accept$1(t1);
62723 else
62724 t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
62725 },
62726 $signature: 1
62727 };
62728 A._EvaluateVisitor_visitMediaRule___closure.prototype = {
62729 call$0() {
62730 var t1, t2, t3, _i;
62731 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62732 t1[_i].accept$1(t3);
62733 },
62734 $signature: 1
62735 };
62736 A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
62737 call$1(node) {
62738 var t1;
62739 if (!type$.CssStyleRule._is(node))
62740 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
62741 else
62742 t1 = true;
62743 return t1;
62744 },
62745 $signature: 7
62746 };
62747 A._EvaluateVisitor__visitMediaQueries_closure.prototype = {
62748 call$0() {
62749 var t1 = A.SpanScanner$(this.resolved, null);
62750 return new A.MediaQueryParser(t1, this.$this._evaluate$_logger).parse$0();
62751 },
62752 $signature: 136
62753 };
62754 A._EvaluateVisitor_visitStyleRule_closure.prototype = {
62755 call$0() {
62756 return A.KeyframeSelectorParser$(this.selectorText.value, this.$this._evaluate$_logger).parse$0();
62757 },
62758 $signature: 49
62759 };
62760 A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
62761 call$0() {
62762 var t1, t2, t3, _i;
62763 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62764 t1[_i].accept$1(t3);
62765 },
62766 $signature: 1
62767 };
62768 A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
62769 call$1(node) {
62770 return type$.CssStyleRule._is(node);
62771 },
62772 $signature: 7
62773 };
62774 A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
62775 call$0() {
62776 var _s11_ = "_stylesheet",
62777 t1 = this.$this;
62778 return A.SelectorList_SelectorList$parse(this.selectorText.value, !t1._assertInModule$2(t1.__stylesheet, _s11_).plainCss, !t1._assertInModule$2(t1.__stylesheet, _s11_).plainCss, t1._evaluate$_logger);
62779 },
62780 $signature: 46
62781 };
62782 A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
62783 call$0() {
62784 var t1 = this._box_0.parsedSelector,
62785 t2 = this.$this,
62786 t3 = t2._styleRuleIgnoringAtRoot;
62787 t3 = t3 == null ? null : t3.originalSelector;
62788 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._atRootExcludingStyleRule);
62789 },
62790 $signature: 46
62791 };
62792 A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
62793 call$0() {
62794 var t1 = this.$this;
62795 t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
62796 },
62797 $signature: 1
62798 };
62799 A._EvaluateVisitor_visitStyleRule__closure.prototype = {
62800 call$0() {
62801 var t1, t2, t3, _i;
62802 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62803 t1[_i].accept$1(t3);
62804 },
62805 $signature: 1
62806 };
62807 A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
62808 call$1(node) {
62809 return type$.CssStyleRule._is(node);
62810 },
62811 $signature: 7
62812 };
62813 A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
62814 call$0() {
62815 var t2, t3, _i,
62816 t1 = this.$this,
62817 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62818 if (styleRule == null)
62819 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62820 t2[_i].accept$1(t1);
62821 else
62822 t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
62823 },
62824 $signature: 1
62825 };
62826 A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
62827 call$0() {
62828 var t1, t2, t3, _i;
62829 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62830 t1[_i].accept$1(t3);
62831 },
62832 $signature: 1
62833 };
62834 A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
62835 call$1(node) {
62836 return type$.CssStyleRule._is(node);
62837 },
62838 $signature: 7
62839 };
62840 A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
62841 call$0() {
62842 var t1 = this.override;
62843 this.$this._environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
62844 },
62845 $signature: 1
62846 };
62847 A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
62848 call$0() {
62849 var t1 = this.node;
62850 return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
62851 },
62852 $signature: 40
62853 };
62854 A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
62855 call$0() {
62856 var t1 = this.$this,
62857 t2 = this.node;
62858 t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
62859 },
62860 $signature: 1
62861 };
62862 A._EvaluateVisitor_visitUseRule_closure.prototype = {
62863 call$1(module) {
62864 var t1 = this.node;
62865 this.$this._environment.addModule$3$namespace(module, t1, t1.namespace);
62866 },
62867 $signature: 67
62868 };
62869 A._EvaluateVisitor_visitWarnRule_closure.prototype = {
62870 call$0() {
62871 return this.node.expression.accept$1(this.$this);
62872 },
62873 $signature: 36
62874 };
62875 A._EvaluateVisitor_visitWhileRule_closure.prototype = {
62876 call$0() {
62877 var t1, t2, t3, result;
62878 for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
62879 result = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
62880 if (result != null)
62881 return result;
62882 }
62883 return null;
62884 },
62885 $signature: 40
62886 };
62887 A._EvaluateVisitor_visitWhileRule__closure.prototype = {
62888 call$1(child) {
62889 return child.accept$1(this.$this);
62890 },
62891 $signature: 73
62892 };
62893 A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
62894 call$0() {
62895 var right, result,
62896 t1 = this.node,
62897 t2 = this.$this,
62898 left = t1.left.accept$1(t2),
62899 t3 = t1.operator;
62900 switch (t3) {
62901 case B.BinaryOperator_kjl:
62902 right = t1.right.accept$1(t2);
62903 return new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
62904 case B.BinaryOperator_or_or_1:
62905 return left.get$isTruthy() ? left : t1.right.accept$1(t2);
62906 case B.BinaryOperator_and_and_2:
62907 return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
62908 case B.BinaryOperator_YlX:
62909 return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
62910 case B.BinaryOperator_i5H:
62911 return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
62912 case B.BinaryOperator_AcR:
62913 return left.greaterThan$1(t1.right.accept$1(t2));
62914 case B.BinaryOperator_1da:
62915 return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
62916 case B.BinaryOperator_8qt:
62917 return left.lessThan$1(t1.right.accept$1(t2));
62918 case B.BinaryOperator_33h:
62919 return left.lessThanOrEquals$1(t1.right.accept$1(t2));
62920 case B.BinaryOperator_AcR0:
62921 return left.plus$1(t1.right.accept$1(t2));
62922 case B.BinaryOperator_iyO:
62923 return left.minus$1(t1.right.accept$1(t2));
62924 case B.BinaryOperator_O1M:
62925 return left.times$1(t1.right.accept$1(t2));
62926 case B.BinaryOperator_RTB:
62927 right = t1.right.accept$1(t2);
62928 result = left.dividedBy$1(right);
62929 if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber)
62930 return type$.SassNumber._as(result).withSlash$2(left, right);
62931 else {
62932 if (left instanceof A.SassNumber && right instanceof A.SassNumber)
62933 t2._warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
62934 return result;
62935 }
62936 case B.BinaryOperator_2ad:
62937 return left.modulo$1(t1.right.accept$1(t2));
62938 default:
62939 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
62940 }
62941 },
62942 $signature: 36
62943 };
62944 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation.prototype = {
62945 call$1(expression) {
62946 if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_RTB)
62947 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
62948 else if (expression instanceof A.ParenthesizedExpression)
62949 return expression.expression.toString$0(0);
62950 else
62951 return expression.toString$0(0);
62952 },
62953 $signature: 128
62954 };
62955 A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
62956 call$0() {
62957 var t1 = this.node;
62958 return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
62959 },
62960 $signature: 40
62961 };
62962 A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
62963 call$0() {
62964 var _this = this,
62965 t1 = _this.node.operator;
62966 switch (t1) {
62967 case B.UnaryOperator_j2w:
62968 return _this.operand.unaryPlus$0();
62969 case B.UnaryOperator_U4G:
62970 return _this.operand.unaryMinus$0();
62971 case B.UnaryOperator_zDx:
62972 return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
62973 case B.UnaryOperator_not_not:
62974 return _this.operand.unaryNot$0();
62975 default:
62976 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
62977 }
62978 },
62979 $signature: 36
62980 };
62981 A._EvaluateVisitor__visitCalculationValue_closure.prototype = {
62982 call$0() {
62983 var t1 = this.$this,
62984 t2 = this.node,
62985 t3 = this.inMinMax;
62986 return A.SassCalculation_operateInternal(t1._binaryOperatorToCalculationOperator$1(t2.operator), t1._visitCalculationValue$2$inMinMax(t2.left, t3), t1._visitCalculationValue$2$inMinMax(t2.right, t3), t3, !t1._inSupportsDeclaration);
62987 },
62988 $signature: 99
62989 };
62990 A._EvaluateVisitor_visitListExpression_closure.prototype = {
62991 call$1(expression) {
62992 return expression.accept$1(this.$this);
62993 },
62994 $signature: 270
62995 };
62996 A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
62997 call$0() {
62998 var t1 = this.node;
62999 return this.$this._getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
63000 },
63001 $signature: 138
63002 };
63003 A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
63004 call$0() {
63005 var t1 = this.node;
63006 return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
63007 },
63008 $signature: 36
63009 };
63010 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
63011 call$0() {
63012 var t1 = this.node;
63013 return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
63014 },
63015 $signature: 36
63016 };
63017 A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
63018 call$0() {
63019 var _this = this,
63020 t1 = _this.$this,
63021 t2 = _this.callable;
63022 return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
63023 },
63024 $signature() {
63025 return this.V._eval$1("0()");
63026 }
63027 };
63028 A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
63029 call$0() {
63030 var _this = this,
63031 t1 = _this.$this,
63032 t2 = _this.V;
63033 return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
63034 },
63035 $signature() {
63036 return this.V._eval$1("0()");
63037 }
63038 };
63039 A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
63040 call$0() {
63041 var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, argumentWord, argumentNames, _this = this,
63042 t1 = _this.$this,
63043 t2 = _this.evaluated,
63044 t3 = t2.positional,
63045 t4 = t2.named,
63046 t5 = _this.callable.declaration.$arguments,
63047 t6 = _this.nodeWithSpan;
63048 t1._verifyArguments$4(t3.length, t4, t5, t6);
63049 declaredArguments = t5.$arguments;
63050 t7 = declaredArguments.length;
63051 minLength = Math.min(t3.length, t7);
63052 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
63053 t1._environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
63054 for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
63055 argument = declaredArguments[i];
63056 t9 = argument.name;
63057 value = t4.remove$1(0, t9);
63058 if (value == null) {
63059 t10 = argument.defaultValue;
63060 value = t1._withoutSlash$2(t10.accept$1(t1), t1._expressionNode$1(t10));
63061 }
63062 t10 = t1._environment;
63063 t11 = t8.$index(0, t9);
63064 if (t11 == null) {
63065 t11 = argument.defaultValue;
63066 t11.toString;
63067 t11 = t1._expressionNode$1(t11);
63068 }
63069 t10.setLocalVariable$3(t9, value, t11);
63070 }
63071 restArgument = t5.restArgument;
63072 if (restArgument != null) {
63073 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty5;
63074 t2 = t2.separator;
63075 argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : t2);
63076 t1._environment.setLocalVariable$3(restArgument, argumentList, t6);
63077 } else
63078 argumentList = null;
63079 result = _this.run.call$0();
63080 if (argumentList == null)
63081 return result;
63082 if (t4.get$isEmpty(t4))
63083 return result;
63084 if (argumentList._wereKeywordsAccessed)
63085 return result;
63086 t2 = t4.get$keys(t4);
63087 argumentWord = A.pluralize("argument", t2.get$length(t2), null);
63088 t4 = t4.get$keys(t4);
63089 argumentNames = A.toSentence(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
63090 throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + argumentWord + " named " + argumentNames + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._evaluate$_stackTrace$1(t6.get$span(t6))));
63091 },
63092 $signature() {
63093 return this.V._eval$1("0()");
63094 }
63095 };
63096 A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
63097 call$1($name) {
63098 return "$" + $name;
63099 },
63100 $signature: 5
63101 };
63102 A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
63103 call$0() {
63104 var t1, t2, t3, t4, _i, $returnValue;
63105 for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
63106 $returnValue = t2[_i].accept$1(t4);
63107 if ($returnValue instanceof A.Value)
63108 return $returnValue;
63109 }
63110 throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
63111 },
63112 $signature: 36
63113 };
63114 A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
63115 call$0() {
63116 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
63117 },
63118 $signature: 0
63119 };
63120 A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
63121 call$1($name) {
63122 return "$" + $name;
63123 },
63124 $signature: 5
63125 };
63126 A._EvaluateVisitor__evaluateArguments_closure.prototype = {
63127 call$1(value) {
63128 return value;
63129 },
63130 $signature: 34
63131 };
63132 A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
63133 call$1(value) {
63134 return this.$this._withoutSlash$2(value, this.restNodeForSpan);
63135 },
63136 $signature: 34
63137 };
63138 A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
63139 call$2(key, value) {
63140 var _this = this,
63141 t1 = _this.restNodeForSpan;
63142 _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
63143 _this.namedNodes.$indexSet(0, key, t1);
63144 },
63145 $signature: 94
63146 };
63147 A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
63148 call$1(value) {
63149 return value;
63150 },
63151 $signature: 34
63152 };
63153 A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
63154 call$1(value) {
63155 var t1 = this.restArgs;
63156 return new A.ValueExpression(value, t1.get$span(t1));
63157 },
63158 $signature: 53
63159 };
63160 A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
63161 call$1(value) {
63162 var t1 = this.restArgs;
63163 return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
63164 },
63165 $signature: 53
63166 };
63167 A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
63168 call$2(key, value) {
63169 var _this = this,
63170 t1 = _this.restArgs;
63171 _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
63172 },
63173 $signature: 94
63174 };
63175 A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
63176 call$1(value) {
63177 var t1 = this.keywordRestArgs;
63178 return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
63179 },
63180 $signature: 53
63181 };
63182 A._EvaluateVisitor__addRestMap_closure.prototype = {
63183 call$2(key, value) {
63184 var t2, _this = this,
63185 t1 = _this.$this;
63186 if (key instanceof A.SassString)
63187 _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
63188 else {
63189 t2 = _this.nodeWithSpan;
63190 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)));
63191 }
63192 },
63193 $signature: 56
63194 };
63195 A._EvaluateVisitor__verifyArguments_closure.prototype = {
63196 call$0() {
63197 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
63198 },
63199 $signature: 0
63200 };
63201 A._EvaluateVisitor_visitStringExpression_closure.prototype = {
63202 call$1(value) {
63203 var t1, result;
63204 if (typeof value == "string")
63205 return value;
63206 type$.Expression._as(value);
63207 t1 = this.$this;
63208 result = value.accept$1(t1);
63209 return result instanceof A.SassString ? result._string$_text : t1._evaluate$_serialize$3$quote(result, value, false);
63210 },
63211 $signature: 45
63212 };
63213 A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
63214 call$0() {
63215 var t1, t2, t3;
63216 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
63217 t2._as(t1.__internal$_current).accept$1(t3);
63218 },
63219 $signature: 1
63220 };
63221 A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
63222 call$1(node) {
63223 return type$.CssStyleRule._is(node);
63224 },
63225 $signature: 7
63226 };
63227 A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
63228 call$0() {
63229 var t1, t2, t3;
63230 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
63231 t2._as(t1.__internal$_current).accept$1(t3);
63232 },
63233 $signature: 1
63234 };
63235 A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
63236 call$1(node) {
63237 return type$.CssStyleRule._is(node);
63238 },
63239 $signature: 7
63240 };
63241 A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
63242 call$1(mediaQueries) {
63243 return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
63244 },
63245 $signature: 91
63246 };
63247 A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
63248 call$0() {
63249 var _this = this,
63250 t1 = _this.$this,
63251 t2 = _this.mergedQueries;
63252 if (t2 == null)
63253 t2 = _this.node.queries;
63254 t1._withMediaQueries$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
63255 },
63256 $signature: 1
63257 };
63258 A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
63259 call$0() {
63260 var t2, t3,
63261 t1 = this.$this,
63262 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
63263 if (styleRule == null)
63264 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
63265 t3._as(t2.__internal$_current).accept$1(t1);
63266 else
63267 t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
63268 },
63269 $signature: 1
63270 };
63271 A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
63272 call$0() {
63273 var t1, t2, t3;
63274 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
63275 t2._as(t1.__internal$_current).accept$1(t3);
63276 },
63277 $signature: 1
63278 };
63279 A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
63280 call$1(node) {
63281 var t1;
63282 if (!type$.CssStyleRule._is(node))
63283 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
63284 else
63285 t1 = true;
63286 return t1;
63287 },
63288 $signature: 7
63289 };
63290 A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
63291 call$0() {
63292 var t1 = this.$this;
63293 t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
63294 },
63295 $signature: 1
63296 };
63297 A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
63298 call$0() {
63299 var t1, t2, t3;
63300 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
63301 t2._as(t1.__internal$_current).accept$1(t3);
63302 },
63303 $signature: 1
63304 };
63305 A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
63306 call$1(node) {
63307 return type$.CssStyleRule._is(node);
63308 },
63309 $signature: 7
63310 };
63311 A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
63312 call$0() {
63313 var t2, t3,
63314 t1 = this.$this,
63315 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
63316 if (styleRule == null)
63317 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
63318 t3._as(t2.__internal$_current).accept$1(t1);
63319 else
63320 t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
63321 },
63322 $signature: 1
63323 };
63324 A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
63325 call$0() {
63326 var t1, t2, t3;
63327 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
63328 t2._as(t1.__internal$_current).accept$1(t3);
63329 },
63330 $signature: 1
63331 };
63332 A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
63333 call$1(node) {
63334 return type$.CssStyleRule._is(node);
63335 },
63336 $signature: 7
63337 };
63338 A._EvaluateVisitor__performInterpolation_closure.prototype = {
63339 call$1(value) {
63340 var t1, result, t2, t3;
63341 if (typeof value == "string")
63342 return value;
63343 type$.Expression._as(value);
63344 t1 = this.$this;
63345 result = value.accept$1(t1);
63346 if (this.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
63347 t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
63348 t3 = $.$get$namesByColor();
63349 t1._warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_AcR0, new A.StringExpression(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
63350 }
63351 return t1._evaluate$_serialize$3$quote(result, value, false);
63352 },
63353 $signature: 45
63354 };
63355 A._EvaluateVisitor__serialize_closure.prototype = {
63356 call$0() {
63357 return A.serializeValue(this.value, false, this.quote);
63358 },
63359 $signature: 30
63360 };
63361 A._EvaluateVisitor__expressionNode_closure.prototype = {
63362 call$0() {
63363 var t1 = this.expression;
63364 return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
63365 },
63366 $signature: 151
63367 };
63368 A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
63369 call$1(number) {
63370 var asSlash = number.asSlash;
63371 if (asSlash != null)
63372 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
63373 else
63374 return A.serializeValue(number, true, true);
63375 },
63376 $signature: 149
63377 };
63378 A._EvaluateVisitor__stackFrame_closure.prototype = {
63379 call$1(url) {
63380 var t1 = this.$this._evaluate$_importCache;
63381 t1 = t1 == null ? null : t1.humanize$1(url);
63382 return t1 == null ? url : t1;
63383 },
63384 $signature: 97
63385 };
63386 A._EvaluateVisitor__stackTrace_closure.prototype = {
63387 call$1(tuple) {
63388 return this.$this._stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
63389 },
63390 $signature: 147
63391 };
63392 A._ImportedCssVisitor.prototype = {
63393 visitCssAtRule$1(node) {
63394 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
63395 this._visitor._addChild$2$through(node, t1);
63396 },
63397 visitCssComment$1(node) {
63398 return this._visitor._addChild$1(node);
63399 },
63400 visitCssDeclaration$1(node) {
63401 },
63402 visitCssImport$1(node) {
63403 var t2,
63404 _s13_ = "_endOfImports",
63405 t1 = this._visitor;
63406 if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
63407 t1._addChild$1(node);
63408 else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
63409 t1._addChild$1(node);
63410 t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
63411 } else {
63412 t2 = t1._outOfOrderImports;
63413 (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
63414 }
63415 },
63416 visitCssKeyframeBlock$1(node) {
63417 },
63418 visitCssMediaRule$1(node) {
63419 var t1 = this._visitor,
63420 mediaQueries = t1._mediaQueries;
63421 t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
63422 },
63423 visitCssStyleRule$1(node) {
63424 return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
63425 },
63426 visitCssStylesheet$1(node) {
63427 var t1, t2;
63428 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
63429 t2._as(t1.__internal$_current).accept$1(this);
63430 },
63431 visitCssSupportsRule$1(node) {
63432 return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
63433 }
63434 };
63435 A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
63436 call$1(node) {
63437 return type$.CssStyleRule._is(node);
63438 },
63439 $signature: 7
63440 };
63441 A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
63442 call$1(node) {
63443 var t1;
63444 if (!type$.CssStyleRule._is(node))
63445 t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
63446 else
63447 t1 = true;
63448 return t1;
63449 },
63450 $signature: 7
63451 };
63452 A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
63453 call$1(node) {
63454 return type$.CssStyleRule._is(node);
63455 },
63456 $signature: 7
63457 };
63458 A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
63459 call$1(node) {
63460 return type$.CssStyleRule._is(node);
63461 },
63462 $signature: 7
63463 };
63464 A._EvaluationContext.prototype = {
63465 get$currentCallableSpan() {
63466 var callableNode = this._visitor._callableNode;
63467 if (callableNode != null)
63468 return callableNode.get$span(callableNode);
63469 throw A.wrapException(A.StateError$(string$.No_Sasc));
63470 },
63471 warn$2$deprecation(_, message, deprecation) {
63472 var t1 = this._visitor,
63473 t2 = t1._importSpan;
63474 if (t2 == null) {
63475 t2 = t1._callableNode;
63476 t2 = t2 == null ? null : t2.get$span(t2);
63477 }
63478 if (t2 == null) {
63479 t2 = this._defaultWarnNodeWithSpan;
63480 t2 = t2.get$span(t2);
63481 }
63482 t1._warn$3$deprecation(message, t2, deprecation);
63483 },
63484 $isEvaluationContext: 1
63485 };
63486 A._ArgumentResults.prototype = {};
63487 A._LoadedStylesheet.prototype = {};
63488 A._FindDependenciesVisitor.prototype = {
63489 visitEachRule$1(node) {
63490 },
63491 visitForRule$1(node) {
63492 },
63493 visitIfRule$1(node) {
63494 },
63495 visitWhileRule$1(node) {
63496 },
63497 visitUseRule$1(node) {
63498 var t1 = node.url;
63499 if (t1.get$scheme() !== "sass")
63500 this._usesAndForwards.push(t1);
63501 },
63502 visitForwardRule$1(node) {
63503 var t1 = node.url;
63504 if (t1.get$scheme() !== "sass")
63505 this._usesAndForwards.push(t1);
63506 },
63507 visitImportRule$1(node) {
63508 var t1, t2, t3, _i, $import;
63509 for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
63510 $import = t1[_i];
63511 if ($import instanceof A.DynamicImport)
63512 t3.push(A.Uri_parse($import.urlString));
63513 }
63514 }
63515 };
63516 A.RecursiveStatementVisitor.prototype = {
63517 visitAtRootRule$1(node) {
63518 this.visitChildren$1(node.children);
63519 },
63520 visitAtRule$1(node) {
63521 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
63522 },
63523 visitContentBlock$1(node) {
63524 return null;
63525 },
63526 visitContentRule$1(node) {
63527 },
63528 visitDebugRule$1(node) {
63529 },
63530 visitDeclaration$1(node) {
63531 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
63532 },
63533 visitErrorRule$1(node) {
63534 },
63535 visitExtendRule$1(node) {
63536 },
63537 visitFunctionRule$1(node) {
63538 return null;
63539 },
63540 visitIncludeRule$1(node) {
63541 return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
63542 },
63543 visitLoudComment$1(node) {
63544 },
63545 visitMediaRule$1(node) {
63546 return this.visitChildren$1(node.children);
63547 },
63548 visitMixinRule$1(node) {
63549 return null;
63550 },
63551 visitReturnRule$1(node) {
63552 },
63553 visitSilentComment$1(node) {
63554 },
63555 visitStyleRule$1(node) {
63556 return this.visitChildren$1(node.children);
63557 },
63558 visitStylesheet$1(node) {
63559 return this.visitChildren$1(node.children);
63560 },
63561 visitSupportsRule$1(node) {
63562 return this.visitChildren$1(node.children);
63563 },
63564 visitVariableDeclaration$1(node) {
63565 },
63566 visitWarnRule$1(node) {
63567 },
63568 visitChildren$1(children) {
63569 var t1;
63570 for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
63571 t1.get$current(t1).accept$1(this);
63572 }
63573 };
63574 A.serialize_closure.prototype = {
63575 call$1(codeUnit) {
63576 return codeUnit > 127;
63577 },
63578 $signature: 51
63579 };
63580 A._SerializeVisitor.prototype = {
63581 visitCssStylesheet$1(node) {
63582 var t1, t2, t3, t4, previous, i, child, _this = this;
63583 for (t1 = _this._style !== B.OutputStyle_compressed, t2 = type$.CssComment, t3 = type$.CssParentNode, t4 = _this._serialize$_buffer, previous = null, i = 0; i < J.get$length$asx(node.get$children(node)); ++i) {
63584 child = J.$index$asx(node.get$children(node), i);
63585 if (_this._isInvisible$1(child))
63586 continue;
63587 if (previous != null) {
63588 if (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous))
63589 t4.writeCharCode$1(59);
63590 if (t1)
63591 t4.write$1(0, "\n");
63592 if (previous.get$isGroupEnd())
63593 if (t1)
63594 t4.write$1(0, "\n");
63595 }
63596 child.accept$1(_this);
63597 previous = child;
63598 }
63599 if (previous != null)
63600 t1 = (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous)) && t1;
63601 else
63602 t1 = false;
63603 if (t1)
63604 t4.writeCharCode$1(59);
63605 },
63606 visitCssComment$1(node) {
63607 this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
63608 },
63609 visitCssAtRule$1(node) {
63610 var t1, _this = this;
63611 _this._writeIndentation$0();
63612 t1 = _this._serialize$_buffer;
63613 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
63614 if (!node.isChildless) {
63615 if (_this._style !== B.OutputStyle_compressed)
63616 t1.writeCharCode$1(32);
63617 _this._serialize$_visitChildren$1(node.children);
63618 }
63619 },
63620 visitCssMediaRule$1(node) {
63621 var t1, _this = this;
63622 _this._writeIndentation$0();
63623 t1 = _this._serialize$_buffer;
63624 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
63625 if (_this._style !== B.OutputStyle_compressed)
63626 t1.writeCharCode$1(32);
63627 _this._serialize$_visitChildren$1(node.children);
63628 },
63629 visitCssImport$1(node) {
63630 this._writeIndentation$0();
63631 this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
63632 },
63633 _writeImportUrl$1(url) {
63634 var urlContents, maybeQuote, _this = this;
63635 if (_this._style !== B.OutputStyle_compressed || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
63636 _this._serialize$_buffer.write$1(0, url);
63637 return;
63638 }
63639 urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
63640 maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
63641 if (maybeQuote === 39 || maybeQuote === 34)
63642 _this._serialize$_buffer.write$1(0, urlContents);
63643 else
63644 _this._visitQuotedString$1(urlContents);
63645 },
63646 visitCssKeyframeBlock$1(node) {
63647 var t1, _this = this;
63648 _this._writeIndentation$0();
63649 t1 = _this._serialize$_buffer;
63650 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
63651 if (_this._style !== B.OutputStyle_compressed)
63652 t1.writeCharCode$1(32);
63653 _this._serialize$_visitChildren$1(node.children);
63654 },
63655 _visitMediaQuery$1(query) {
63656 var t2, t3, _this = this,
63657 t1 = query.modifier;
63658 if (t1 != null) {
63659 t2 = _this._serialize$_buffer;
63660 t2.write$1(0, t1);
63661 t2.writeCharCode$1(32);
63662 }
63663 t1 = query.type;
63664 if (t1 != null) {
63665 t2 = _this._serialize$_buffer;
63666 t2.write$1(0, t1);
63667 if (query.features.length !== 0)
63668 t2.write$1(0, " and ");
63669 }
63670 t1 = query.features;
63671 t2 = _this._style === B.OutputStyle_compressed ? "and " : " and ";
63672 t3 = _this._serialize$_buffer;
63673 _this._writeBetween$3(t1, t2, t3.get$write(t3));
63674 },
63675 visitCssStyleRule$1(node) {
63676 var t1, _this = this;
63677 _this._writeIndentation$0();
63678 t1 = _this._serialize$_buffer;
63679 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
63680 if (_this._style !== B.OutputStyle_compressed)
63681 t1.writeCharCode$1(32);
63682 _this._serialize$_visitChildren$1(node.children);
63683 },
63684 visitCssSupportsRule$1(node) {
63685 var t1, _this = this;
63686 _this._writeIndentation$0();
63687 t1 = _this._serialize$_buffer;
63688 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
63689 if (_this._style !== B.OutputStyle_compressed)
63690 t1.writeCharCode$1(32);
63691 _this._serialize$_visitChildren$1(node.children);
63692 },
63693 visitCssDeclaration$1(node) {
63694 var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
63695 _this._writeIndentation$0();
63696 t1 = node.name;
63697 _this._serialize$_write$1(t1);
63698 t2 = _this._serialize$_buffer;
63699 t2.writeCharCode$1(58);
63700 if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
63701 t1 = node.value;
63702 t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
63703 } else {
63704 if (_this._style !== B.OutputStyle_compressed)
63705 t2.writeCharCode$1(32);
63706 try {
63707 t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
63708 } catch (exception) {
63709 t1 = A.unwrapException(exception);
63710 if (t1 instanceof A.MultiSpanSassScriptException) {
63711 error = t1;
63712 stackTrace = A.getTraceFromException(exception);
63713 t1 = error.message;
63714 t2 = node.value;
63715 t2 = t2.get$span(t2);
63716 A.throwWithTrace(new A.MultiSpanSassException(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
63717 } else if (t1 instanceof A.SassScriptException) {
63718 error0 = t1;
63719 stackTrace0 = A.getTraceFromException(exception);
63720 t1 = node.value;
63721 A.throwWithTrace(new A.SassException(error0.message, t1.get$span(t1)), stackTrace0);
63722 } else
63723 throw exception;
63724 }
63725 }
63726 },
63727 _writeFoldedValue$1(node) {
63728 var t2, next, t3,
63729 t1 = node.value,
63730 scanner = A.StringScanner$(type$.SassString._as(t1.get$value(t1))._string$_text, null, null);
63731 for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
63732 next = scanner.readChar$0();
63733 if (next !== 10) {
63734 t2.writeCharCode$1(next);
63735 continue;
63736 }
63737 t2.writeCharCode$1(32);
63738 while (true) {
63739 t3 = scanner.peekChar$0();
63740 if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
63741 break;
63742 scanner.readChar$0();
63743 }
63744 }
63745 },
63746 _writeReindentedValue$1(node) {
63747 var _this = this,
63748 t1 = node.value,
63749 value = type$.SassString._as(t1.get$value(t1))._string$_text,
63750 minimumIndentation = _this._minimumIndentation$1(value);
63751 if (minimumIndentation == null) {
63752 _this._serialize$_buffer.write$1(0, value);
63753 return;
63754 } else if (minimumIndentation === -1) {
63755 t1 = _this._serialize$_buffer;
63756 t1.write$1(0, A.trimAsciiRight(value, true));
63757 t1.writeCharCode$1(32);
63758 return;
63759 }
63760 t1 = node.name;
63761 t1 = t1.get$span(t1);
63762 t1 = A.FileLocation$_(t1.file, t1._file$_start);
63763 _this._writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
63764 },
63765 _minimumIndentation$1(text) {
63766 var character, t2, min, next, min0,
63767 scanner = A.LineScanner$(text),
63768 t1 = scanner.string.length;
63769 while (true) {
63770 if (scanner._string_scanner$_position !== t1) {
63771 character = scanner.super$StringScanner$readChar();
63772 scanner._adjustLineAndColumn$1(character);
63773 t2 = character !== 10;
63774 } else
63775 t2 = false;
63776 if (!t2)
63777 break;
63778 }
63779 if (scanner._string_scanner$_position === t1)
63780 return scanner.peekChar$1(-1) === 10 ? -1 : null;
63781 for (min = null; scanner._string_scanner$_position !== t1;) {
63782 for (; scanner._string_scanner$_position !== t1;) {
63783 next = scanner.peekChar$0();
63784 if (next !== 32 && next !== 9)
63785 break;
63786 scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
63787 }
63788 if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
63789 continue;
63790 min0 = scanner._line_scanner$_column;
63791 min = min == null ? min0 : Math.min(min, min0);
63792 while (true) {
63793 if (scanner._string_scanner$_position !== t1) {
63794 character = scanner.super$StringScanner$readChar();
63795 scanner._adjustLineAndColumn$1(character);
63796 t2 = character !== 10;
63797 } else
63798 t2 = false;
63799 if (!t2)
63800 break;
63801 }
63802 }
63803 return min == null ? -1 : min;
63804 },
63805 _writeWithIndent$2(text, minimumIndentation) {
63806 var t1, t2, t3, character, lineStart, newlines, end,
63807 scanner = A.LineScanner$(text);
63808 for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
63809 character = scanner.super$StringScanner$readChar();
63810 scanner._adjustLineAndColumn$1(character);
63811 if (character === 10)
63812 break;
63813 t3.writeCharCode$1(character);
63814 }
63815 for (; true;) {
63816 lineStart = scanner._string_scanner$_position;
63817 for (newlines = 1; true;) {
63818 if (scanner._string_scanner$_position === t2) {
63819 t3.writeCharCode$1(32);
63820 return;
63821 }
63822 character = scanner.super$StringScanner$readChar();
63823 scanner._adjustLineAndColumn$1(character);
63824 if (character === 32 || character === 9)
63825 continue;
63826 if (character !== 10)
63827 break;
63828 lineStart = scanner._string_scanner$_position;
63829 ++newlines;
63830 }
63831 this._writeTimes$2(10, newlines);
63832 this._writeIndentation$0();
63833 end = scanner._string_scanner$_position;
63834 t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
63835 for (; true;) {
63836 if (scanner._string_scanner$_position === t2)
63837 return;
63838 character = scanner.super$StringScanner$readChar();
63839 scanner._adjustLineAndColumn$1(character);
63840 if (character === 10)
63841 break;
63842 t3.writeCharCode$1(character);
63843 }
63844 }
63845 },
63846 _writeCalculationValue$1(value) {
63847 var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
63848 if (value instanceof A.Value)
63849 value.accept$1(_this);
63850 else if (value instanceof A.CalculationInterpolation)
63851 _this._serialize$_buffer.write$1(0, value.value);
63852 else if (value instanceof A.CalculationOperation) {
63853 left = value.left;
63854 if (!(left instanceof A.CalculationInterpolation))
63855 parenthesizeLeft = left instanceof A.CalculationOperation && left.operator.precedence < value.operator.precedence;
63856 else
63857 parenthesizeLeft = true;
63858 if (parenthesizeLeft)
63859 _this._serialize$_buffer.writeCharCode$1(40);
63860 _this._writeCalculationValue$1(left);
63861 if (parenthesizeLeft)
63862 _this._serialize$_buffer.writeCharCode$1(41);
63863 operatorWhitespace = _this._style !== B.OutputStyle_compressed || value.operator.precedence === 1;
63864 if (operatorWhitespace)
63865 _this._serialize$_buffer.writeCharCode$1(32);
63866 t1 = _this._serialize$_buffer;
63867 t2 = value.operator;
63868 t1.write$1(0, t2.operator);
63869 if (operatorWhitespace)
63870 t1.writeCharCode$1(32);
63871 right = value.right;
63872 if (!(right instanceof A.CalculationInterpolation))
63873 parenthesizeRight = right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(t2, right.operator);
63874 else
63875 parenthesizeRight = true;
63876 if (parenthesizeRight)
63877 t1.writeCharCode$1(40);
63878 _this._writeCalculationValue$1(right);
63879 if (parenthesizeRight)
63880 t1.writeCharCode$1(41);
63881 }
63882 },
63883 _parenthesizeCalculationRhs$2(outer, right) {
63884 if (outer === B.CalculationOperator_jB6)
63885 return true;
63886 if (outer === B.CalculationOperator_Iem)
63887 return false;
63888 return right === B.CalculationOperator_Iem || right === B.CalculationOperator_uti;
63889 },
63890 _writeRgb$1(value) {
63891 var t3,
63892 t1 = value._alpha,
63893 opaque = Math.abs(t1 - 1) < $.$get$epsilon(),
63894 t2 = this._serialize$_buffer;
63895 t2.write$1(0, opaque ? "rgb(" : "rgba(");
63896 t2.write$1(0, value.get$red(value));
63897 t3 = this._style === B.OutputStyle_compressed;
63898 t2.write$1(0, t3 ? "," : ", ");
63899 t2.write$1(0, value.get$green(value));
63900 t2.write$1(0, t3 ? "," : ", ");
63901 t2.write$1(0, value.get$blue(value));
63902 if (!opaque) {
63903 t2.write$1(0, t3 ? "," : ", ");
63904 this._writeNumber$1(t1);
63905 }
63906 t2.writeCharCode$1(41);
63907 },
63908 _canUseShortHex$1(color) {
63909 var t1 = color.get$red(color);
63910 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
63911 t1 = color.get$green(color);
63912 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
63913 t1 = color.get$blue(color);
63914 t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
63915 } else
63916 t1 = false;
63917 } else
63918 t1 = false;
63919 return t1;
63920 },
63921 _writeHexComponent$1(color) {
63922 var t1 = this._serialize$_buffer;
63923 t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
63924 t1.writeCharCode$1(A.hexCharFor(color & 15));
63925 },
63926 visitList$1(value) {
63927 var t2, t3, singleton, t4, t5, _this = this,
63928 t1 = value._hasBrackets;
63929 if (t1)
63930 _this._serialize$_buffer.writeCharCode$1(91);
63931 else if (value._list$_contents.length === 0) {
63932 if (!_this._inspect)
63933 throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value."));
63934 _this._serialize$_buffer.write$1(0, "()");
63935 return;
63936 }
63937 t2 = _this._inspect;
63938 if (t2)
63939 if (value._list$_contents.length === 1) {
63940 t3 = value._separator;
63941 t3 = t3 === B.ListSeparator_kWM || t3 === B.ListSeparator_1gm;
63942 singleton = t3;
63943 } else
63944 singleton = false;
63945 else
63946 singleton = false;
63947 if (singleton && !t1)
63948 _this._serialize$_buffer.writeCharCode$1(40);
63949 t3 = value._list$_contents;
63950 t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
63951 t4 = value._separator;
63952 t5 = _this._separatorString$1(t4);
63953 _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
63954 if (singleton) {
63955 t2 = _this._serialize$_buffer;
63956 t2.write$1(0, t4.separator);
63957 if (!t1)
63958 t2.writeCharCode$1(41);
63959 }
63960 if (t1)
63961 _this._serialize$_buffer.writeCharCode$1(93);
63962 },
63963 _separatorString$1(separator) {
63964 switch (separator) {
63965 case B.ListSeparator_kWM:
63966 return this._style === B.OutputStyle_compressed ? "," : ", ";
63967 case B.ListSeparator_1gm:
63968 return this._style === B.OutputStyle_compressed ? "/" : " / ";
63969 case B.ListSeparator_woc:
63970 return " ";
63971 default:
63972 return "";
63973 }
63974 },
63975 _elementNeedsParens$2(separator, value) {
63976 var t1;
63977 if (value instanceof A.SassList) {
63978 if (value._list$_contents.length < 2)
63979 return false;
63980 if (value._hasBrackets)
63981 return false;
63982 switch (separator) {
63983 case B.ListSeparator_kWM:
63984 return value._separator === B.ListSeparator_kWM;
63985 case B.ListSeparator_1gm:
63986 t1 = value._separator;
63987 return t1 === B.ListSeparator_kWM || t1 === B.ListSeparator_1gm;
63988 default:
63989 return value._separator !== B.ListSeparator_undecided_null;
63990 }
63991 }
63992 return false;
63993 },
63994 visitMap$1(map) {
63995 var t1, t2, _this = this;
63996 if (!_this._inspect)
63997 throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value."));
63998 t1 = _this._serialize$_buffer;
63999 t1.writeCharCode$1(40);
64000 t2 = map._map$_contents;
64001 _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
64002 t1.writeCharCode$1(41);
64003 },
64004 _writeMapElement$1(value) {
64005 var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_kWM && !value._hasBrackets;
64006 if (needsParens)
64007 this._serialize$_buffer.writeCharCode$1(40);
64008 value.accept$1(this);
64009 if (needsParens)
64010 this._serialize$_buffer.writeCharCode$1(41);
64011 },
64012 visitNumber$1(value) {
64013 var _this = this,
64014 asSlash = value.asSlash;
64015 if (asSlash != null) {
64016 _this.visitNumber$1(asSlash.item1);
64017 _this._serialize$_buffer.writeCharCode$1(47);
64018 _this.visitNumber$1(asSlash.item2);
64019 return;
64020 }
64021 _this._writeNumber$1(value._number$_value);
64022 if (!_this._inspect) {
64023 if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
64024 throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value."));
64025 if (value.get$numeratorUnits(value).length !== 0)
64026 _this._serialize$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
64027 } else
64028 _this._serialize$_buffer.write$1(0, value.get$unitString());
64029 },
64030 _writeNumber$1(number) {
64031 var text, _this = this,
64032 integer = A.fuzzyIsInt(number) ? B.JSNumber_methods.round$0(number) : null;
64033 if (integer != null) {
64034 _this._serialize$_buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(integer)));
64035 return;
64036 }
64037 text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
64038 if (text.length < 12) {
64039 if (_this._style === B.OutputStyle_compressed && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
64040 text = B.JSString_methods.substring$1(text, 1);
64041 _this._serialize$_buffer.write$1(0, text);
64042 return;
64043 }
64044 _this._writeRounded$1(text);
64045 },
64046 _removeExponent$1(text) {
64047 var buffer, t3, additionalZeroes,
64048 t1 = B.JSString_methods._codeUnitAt$1(text, 0),
64049 negative = t1 === 45,
64050 exponent = A._Cell$(),
64051 t2 = text.length,
64052 i = 0;
64053 while (true) {
64054 if (!(i < t2)) {
64055 buffer = null;
64056 break;
64057 }
64058 c$0: {
64059 if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
64060 break c$0;
64061 buffer = new A.StringBuffer("");
64062 t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
64063 if (negative) {
64064 t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
64065 buffer._contents = t1;
64066 if (i > 3)
64067 buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
64068 } else if (i > 2)
64069 buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
64070 exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
64071 break;
64072 }
64073 ++i;
64074 }
64075 if (buffer == null)
64076 return text;
64077 if (exponent._readLocal$0() > 0) {
64078 t1 = exponent._readLocal$0();
64079 t2 = buffer._contents;
64080 t3 = negative ? 1 : 0;
64081 additionalZeroes = t1 - (t2.length - 1 - t3);
64082 for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
64083 t1 += A.Primitives_stringFromCharCode(48);
64084 buffer._contents = t1;
64085 }
64086 return t1.charCodeAt(0) == 0 ? t1 : t1;
64087 } else {
64088 t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
64089 t2 = exponent.__late_helper$_name;
64090 i = -1;
64091 while (true) {
64092 t3 = exponent._value;
64093 if (t3 === exponent)
64094 A.throwExpression(A.LateError$localNI(t2));
64095 if (!(i > t3))
64096 break;
64097 t1 += A.Primitives_stringFromCharCode(48);
64098 --i;
64099 }
64100 if (negative) {
64101 t2 = buffer._contents;
64102 t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
64103 } else
64104 t2 = buffer;
64105 t2 = t1 + A.S(t2);
64106 return t2.charCodeAt(0) == 0 ? t2 : t2;
64107 }
64108 },
64109 _writeRounded$1(text) {
64110 var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
64111 if (B.JSString_methods.endsWith$1(text, ".0")) {
64112 _this._serialize$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
64113 return;
64114 }
64115 t1 = text.length;
64116 digits = new Uint8Array(t1 + 1);
64117 negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
64118 textIndex = negative ? 1 : 0;
64119 for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
64120 if (textIndex === t1) {
64121 _this._serialize$_buffer.write$1(0, text);
64122 return;
64123 }
64124 textIndex0 = textIndex + 1;
64125 codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
64126 if (codeUnit === 46) {
64127 textIndex = textIndex0;
64128 break;
64129 }
64130 digitsIndex0 = digitsIndex + 1;
64131 digits[digitsIndex] = codeUnit - 48;
64132 }
64133 indexAfterPrecision = textIndex + 10;
64134 if (indexAfterPrecision >= t1) {
64135 _this._serialize$_buffer.write$1(0, text);
64136 return;
64137 }
64138 for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
64139 digitsIndex1 = digitsIndex0 + 1;
64140 textIndex0 = textIndex + 1;
64141 digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
64142 }
64143 if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
64144 for (; true; digitsIndex0 = digitsIndex1) {
64145 digitsIndex1 = digitsIndex0 - 1;
64146 newDigit = digits[digitsIndex1] + 1;
64147 digits[digitsIndex1] = newDigit;
64148 if (newDigit !== 10)
64149 break;
64150 }
64151 for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
64152 digits[digitsIndex0] = 0;
64153 while (true) {
64154 t1 = digitsIndex0 > digitsIndex;
64155 if (!(t1 && digits[digitsIndex0 - 1] === 0))
64156 break;
64157 --digitsIndex0;
64158 }
64159 if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
64160 _this._serialize$_buffer.writeCharCode$1(48);
64161 return;
64162 }
64163 if (negative)
64164 _this._serialize$_buffer.writeCharCode$1(45);
64165 if (digits[0] === 0)
64166 writtenIndex = _this._style === B.OutputStyle_compressed && digits[1] === 0 ? 2 : 1;
64167 else
64168 writtenIndex = 0;
64169 for (t2 = _this._serialize$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
64170 t2.writeCharCode$1(48 + digits[writtenIndex]);
64171 if (t1) {
64172 t2.writeCharCode$1(46);
64173 for (; writtenIndex < digitsIndex0; ++writtenIndex)
64174 t2.writeCharCode$1(48 + digits[writtenIndex]);
64175 }
64176 },
64177 _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
64178 var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
64179 buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
64180 if (forceDoubleQuote)
64181 buffer.writeCharCode$1(34);
64182 for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
64183 char = B.JSString_methods._codeUnitAt$1(string, i);
64184 switch (char) {
64185 case 39:
64186 if (forceDoubleQuote)
64187 buffer.writeCharCode$1(39);
64188 else {
64189 if (includesDoubleQuote) {
64190 _this._visitQuotedString$2$forceDoubleQuote(string, true);
64191 return;
64192 } else
64193 buffer.writeCharCode$1(39);
64194 includesSingleQuote = true;
64195 }
64196 break;
64197 case 34:
64198 if (forceDoubleQuote) {
64199 buffer.writeCharCode$1(92);
64200 buffer.writeCharCode$1(34);
64201 } else {
64202 if (includesSingleQuote) {
64203 _this._visitQuotedString$2$forceDoubleQuote(string, true);
64204 return;
64205 } else
64206 buffer.writeCharCode$1(34);
64207 includesDoubleQuote = true;
64208 }
64209 break;
64210 case 0:
64211 case 1:
64212 case 2:
64213 case 3:
64214 case 4:
64215 case 5:
64216 case 6:
64217 case 7:
64218 case 8:
64219 case 10:
64220 case 11:
64221 case 12:
64222 case 13:
64223 case 14:
64224 case 15:
64225 case 16:
64226 case 17:
64227 case 18:
64228 case 19:
64229 case 20:
64230 case 21:
64231 case 22:
64232 case 23:
64233 case 24:
64234 case 25:
64235 case 26:
64236 case 27:
64237 case 28:
64238 case 29:
64239 case 30:
64240 case 31:
64241 _this._writeEscape$4(buffer, char, string, i);
64242 break;
64243 case 92:
64244 buffer.writeCharCode$1(92);
64245 buffer.writeCharCode$1(92);
64246 break;
64247 default:
64248 newIndex = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
64249 if (newIndex != null) {
64250 i = newIndex;
64251 break;
64252 }
64253 buffer.writeCharCode$1(char);
64254 break;
64255 }
64256 }
64257 if (forceDoubleQuote)
64258 buffer.writeCharCode$1(34);
64259 else {
64260 quote = includesDoubleQuote ? 39 : 34;
64261 t1 = _this._serialize$_buffer;
64262 t1.writeCharCode$1(quote);
64263 t1.write$1(0, buffer);
64264 t1.writeCharCode$1(quote);
64265 }
64266 },
64267 _visitQuotedString$1(string) {
64268 return this._visitQuotedString$2$forceDoubleQuote(string, false);
64269 },
64270 _visitUnquotedString$1(string) {
64271 var t1, t2, afterNewline, i, char, newIndex;
64272 for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
64273 char = B.JSString_methods._codeUnitAt$1(string, i);
64274 switch (char) {
64275 case 10:
64276 t2.writeCharCode$1(32);
64277 afterNewline = true;
64278 break;
64279 case 32:
64280 if (!afterNewline)
64281 t2.writeCharCode$1(32);
64282 break;
64283 default:
64284 newIndex = this._tryPrivateUseCharacter$4(t2, char, string, i);
64285 if (newIndex != null) {
64286 i = newIndex;
64287 afterNewline = false;
64288 break;
64289 }
64290 t2.writeCharCode$1(char);
64291 afterNewline = false;
64292 break;
64293 }
64294 }
64295 },
64296 _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
64297 var t1;
64298 if (this._style === B.OutputStyle_compressed)
64299 return null;
64300 if (codeUnit >= 57344 && codeUnit <= 63743) {
64301 this._writeEscape$4(buffer, codeUnit, string, i);
64302 return i;
64303 }
64304 if (codeUnit >>> 7 === 439 && string.length > i + 1) {
64305 t1 = i + 1;
64306 this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
64307 return t1;
64308 }
64309 return null;
64310 },
64311 _writeEscape$4(buffer, character, string, i) {
64312 var t1, next;
64313 buffer.writeCharCode$1(92);
64314 buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
64315 t1 = i + 1;
64316 if (string.length === t1)
64317 return;
64318 next = B.JSString_methods._codeUnitAt$1(string, t1);
64319 if (A.isHex(next) || next === 32 || next === 9)
64320 buffer.writeCharCode$1(32);
64321 },
64322 visitComplexSelector$1(complex) {
64323 var t1, t2, t3, t4, lastComponent, _i, component, t5;
64324 for (t1 = complex.components, t2 = t1.length, t3 = this._serialize$_buffer, t4 = this._style === B.OutputStyle_compressed, lastComponent = null, _i = 0; _i < t2; ++_i, lastComponent = component) {
64325 component = t1[_i];
64326 if (lastComponent != null)
64327 if (!(t4 && lastComponent instanceof A.Combinator))
64328 t5 = !(t4 && component instanceof A.Combinator);
64329 else
64330 t5 = false;
64331 else
64332 t5 = false;
64333 if (t5)
64334 t3.write$1(0, " ");
64335 if (component instanceof A.CompoundSelector)
64336 this.visitCompoundSelector$1(component);
64337 else
64338 t3.write$1(0, component);
64339 }
64340 },
64341 visitCompoundSelector$1(compound) {
64342 var t2, t3, _i,
64343 t1 = this._serialize$_buffer,
64344 start = t1.get$length(t1);
64345 for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
64346 t2[_i].accept$1(this);
64347 if (t1.get$length(t1) === start)
64348 t1.writeCharCode$1(42);
64349 },
64350 visitSelectorList$1(list) {
64351 var t1, t2, t3, first, t4, _this = this,
64352 complexes = list.components;
64353 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_compressed, t3 = _this._serialize$_buffer, first = true; t1.moveNext$0();) {
64354 t4 = t1.get$current(t1);
64355 if (first)
64356 first = false;
64357 else {
64358 t3.writeCharCode$1(44);
64359 if (t4.lineBreak) {
64360 if (t2)
64361 t3.write$1(0, "\n");
64362 } else if (t2)
64363 t3.writeCharCode$1(32);
64364 }
64365 _this.visitComplexSelector$1(t4);
64366 }
64367 },
64368 visitPseudoSelector$1(pseudo) {
64369 var t3, t4, t5,
64370 innerSelector = pseudo.selector,
64371 t1 = innerSelector == null,
64372 t2 = !t1;
64373 if (t2 && pseudo.name === "not" && innerSelector.get$isInvisible())
64374 return;
64375 t3 = this._serialize$_buffer;
64376 t3.writeCharCode$1(58);
64377 if (!pseudo.isSyntacticClass)
64378 t3.writeCharCode$1(58);
64379 t3.write$1(0, pseudo.name);
64380 t4 = pseudo.argument;
64381 t5 = t4 == null;
64382 if (t5 && t1)
64383 return;
64384 t3.writeCharCode$1(40);
64385 if (!t5) {
64386 t3.write$1(0, t4);
64387 if (t2)
64388 t3.writeCharCode$1(32);
64389 }
64390 if (t2)
64391 this.visitSelectorList$1(innerSelector);
64392 t3.writeCharCode$1(41);
64393 },
64394 _serialize$_write$1(value) {
64395 return this._serialize$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure(this, value));
64396 },
64397 _serialize$_visitChildren$1(children) {
64398 var _this = this, t1 = {},
64399 t2 = _this._serialize$_buffer;
64400 t2.writeCharCode$1(123);
64401 if (children.every$1(children, _this.get$_isInvisible())) {
64402 t2.writeCharCode$1(125);
64403 return;
64404 }
64405 _this._writeLineFeed$0();
64406 t1.previous_ = null;
64407 ++_this._indentation;
64408 new A._SerializeVisitor__visitChildren_closure(t1, _this, children).call$0();
64409 --_this._indentation;
64410 t1 = t1.previous_;
64411 t1.toString;
64412 if ((type$.CssParentNode._is(t1) ? t1.get$isChildless() : !type$.CssComment._is(t1)) && _this._style !== B.OutputStyle_compressed)
64413 t2.writeCharCode$1(59);
64414 _this._writeLineFeed$0();
64415 _this._writeIndentation$0();
64416 t2.writeCharCode$1(125);
64417 },
64418 _writeLineFeed$0() {
64419 if (this._style !== B.OutputStyle_compressed)
64420 this._serialize$_buffer.write$1(0, "\n");
64421 },
64422 _writeIndentation$0() {
64423 var _this = this;
64424 if (_this._style === B.OutputStyle_compressed)
64425 return;
64426 _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
64427 },
64428 _writeTimes$2(char, times) {
64429 var t1, i;
64430 for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
64431 t1.writeCharCode$1(char);
64432 },
64433 _writeBetween$1$3(iterable, text, callback) {
64434 var t1, t2, first, value;
64435 for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
64436 value = t1.get$current(t1);
64437 if (first)
64438 first = false;
64439 else
64440 t2.write$1(0, text);
64441 callback.call$1(value);
64442 }
64443 },
64444 _writeBetween$3(iterable, text, callback) {
64445 return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
64446 },
64447 _isInvisible$1(node) {
64448 if (this._inspect)
64449 return false;
64450 if (this._style === B.OutputStyle_compressed && type$.CssComment._is(node) && B.JSString_methods._codeUnitAt$1(node.text, 2) !== 33)
64451 return true;
64452 if (type$.CssParentNode._is(node)) {
64453 if (type$.CssAtRule._is(node))
64454 return false;
64455 if (type$.CssStyleRule._is(node) && node.selector.value.get$isInvisible())
64456 return true;
64457 return J.every$1$ax(node.get$children(node), this.get$_isInvisible());
64458 } else
64459 return false;
64460 }
64461 };
64462 A._SerializeVisitor_visitCssComment_closure.prototype = {
64463 call$0() {
64464 var t2, t3, minimumIndentation,
64465 t1 = this.$this;
64466 if (t1._style === B.OutputStyle_compressed && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
64467 return;
64468 t2 = this.node;
64469 t3 = t2.text;
64470 minimumIndentation = t1._minimumIndentation$1(t3);
64471 if (minimumIndentation == null) {
64472 t1._writeIndentation$0();
64473 t1._serialize$_buffer.write$1(0, t3);
64474 return;
64475 }
64476 t2 = t2.span;
64477 t2 = A.FileLocation$_(t2.file, t2._file$_start);
64478 minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
64479 t1._writeIndentation$0();
64480 t1._writeWithIndent$2(t3, minimumIndentation);
64481 },
64482 $signature: 1
64483 };
64484 A._SerializeVisitor_visitCssAtRule_closure.prototype = {
64485 call$0() {
64486 var t3, value,
64487 t1 = this.$this,
64488 t2 = t1._serialize$_buffer;
64489 t2.writeCharCode$1(64);
64490 t3 = this.node;
64491 t1._serialize$_write$1(t3.name);
64492 value = t3.value;
64493 if (value != null) {
64494 t2.writeCharCode$1(32);
64495 t1._serialize$_write$1(value);
64496 }
64497 },
64498 $signature: 1
64499 };
64500 A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
64501 call$0() {
64502 var t3, t4,
64503 t1 = this.$this,
64504 t2 = t1._serialize$_buffer;
64505 t2.write$1(0, "@media");
64506 t3 = t1._style === B.OutputStyle_compressed;
64507 if (t3) {
64508 t4 = B.JSArray_methods.get$first(this.node.queries);
64509 t4 = !(t4.modifier == null && t4.type == null);
64510 } else
64511 t4 = true;
64512 if (t4)
64513 t2.writeCharCode$1(32);
64514 t2 = t3 ? "," : ", ";
64515 t1._writeBetween$3(this.node.queries, t2, t1.get$_visitMediaQuery());
64516 },
64517 $signature: 1
64518 };
64519 A._SerializeVisitor_visitCssImport_closure.prototype = {
64520 call$0() {
64521 var t3, t4, t5, t6, supports, media,
64522 t1 = this.$this,
64523 t2 = t1._serialize$_buffer;
64524 t2.write$1(0, "@import");
64525 t3 = t1._style === B.OutputStyle_compressed;
64526 t4 = !t3;
64527 if (t4)
64528 t2.writeCharCode$1(32);
64529 t5 = this.node;
64530 t6 = t5.url;
64531 t2.forSpan$2(t6.get$span(t6), new A._SerializeVisitor_visitCssImport__closure(t1, t5));
64532 supports = t5.supports;
64533 if (supports != null) {
64534 if (t4)
64535 t2.writeCharCode$1(32);
64536 t1._serialize$_write$1(supports);
64537 }
64538 media = t5.media;
64539 if (media != null) {
64540 if (t4)
64541 t2.writeCharCode$1(32);
64542 t2 = t3 ? "," : ", ";
64543 t1._writeBetween$3(media, t2, t1.get$_visitMediaQuery());
64544 }
64545 },
64546 $signature: 1
64547 };
64548 A._SerializeVisitor_visitCssImport__closure.prototype = {
64549 call$0() {
64550 var t1 = this.node.url;
64551 return this.$this._writeImportUrl$1(t1.get$value(t1));
64552 },
64553 $signature: 0
64554 };
64555 A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
64556 call$0() {
64557 var t1 = this.$this,
64558 t2 = t1._style === B.OutputStyle_compressed ? "," : ", ",
64559 t3 = t1._serialize$_buffer;
64560 return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
64561 },
64562 $signature: 0
64563 };
64564 A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
64565 call$0() {
64566 return this.$this.visitSelectorList$1(this.node.selector.value);
64567 },
64568 $signature: 0
64569 };
64570 A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
64571 call$0() {
64572 var t1 = this.$this,
64573 t2 = t1._serialize$_buffer;
64574 t2.write$1(0, "@supports");
64575 if (!(t1._style === B.OutputStyle_compressed && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
64576 t2.writeCharCode$1(32);
64577 t1._serialize$_write$1(this.node.condition);
64578 },
64579 $signature: 1
64580 };
64581 A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
64582 call$0() {
64583 var t1 = this.$this,
64584 t2 = this.node;
64585 if (t1._style === B.OutputStyle_compressed)
64586 t1._writeFoldedValue$1(t2);
64587 else
64588 t1._writeReindentedValue$1(t2);
64589 },
64590 $signature: 1
64591 };
64592 A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
64593 call$0() {
64594 var t1 = this.node.value;
64595 return t1.get$value(t1).accept$1(this.$this);
64596 },
64597 $signature: 0
64598 };
64599 A._SerializeVisitor_visitList_closure.prototype = {
64600 call$1(element) {
64601 return !element.get$isBlank();
64602 },
64603 $signature: 62
64604 };
64605 A._SerializeVisitor_visitList_closure0.prototype = {
64606 call$1(element) {
64607 var t1 = this.$this,
64608 needsParens = t1._elementNeedsParens$2(this.value._separator, element);
64609 if (needsParens)
64610 t1._serialize$_buffer.writeCharCode$1(40);
64611 element.accept$1(t1);
64612 if (needsParens)
64613 t1._serialize$_buffer.writeCharCode$1(41);
64614 },
64615 $signature: 55
64616 };
64617 A._SerializeVisitor_visitList_closure1.prototype = {
64618 call$1(element) {
64619 element.accept$1(this.$this);
64620 },
64621 $signature: 55
64622 };
64623 A._SerializeVisitor_visitMap_closure.prototype = {
64624 call$1(entry) {
64625 var t1 = this.$this;
64626 t1._writeMapElement$1(entry.key);
64627 t1._serialize$_buffer.write$1(0, ": ");
64628 t1._writeMapElement$1(entry.value);
64629 },
64630 $signature: 274
64631 };
64632 A._SerializeVisitor_visitSelectorList_closure.prototype = {
64633 call$1(complex) {
64634 return !complex.get$isInvisible();
64635 },
64636 $signature: 18
64637 };
64638 A._SerializeVisitor__write_closure.prototype = {
64639 call$0() {
64640 var t1 = this.value;
64641 return this.$this._serialize$_buffer.write$1(0, t1.get$value(t1));
64642 },
64643 $signature: 0
64644 };
64645 A._SerializeVisitor__visitChildren_closure.prototype = {
64646 call$0() {
64647 var t1, t2, t3, t4, t5, t6, t7, i, child, previous, t8;
64648 for (t1 = this.children._collection$_source, t2 = J.getInterceptor$asx(t1), t3 = this._box_0, t4 = this.$this, t5 = type$.CssComment, t6 = type$.CssParentNode, t7 = t4._serialize$_buffer, i = 0; i < t2.get$length(t1); ++i) {
64649 child = t2.elementAt$1(t1, i);
64650 if (t4._isInvisible$1(child))
64651 continue;
64652 previous = t3.previous_;
64653 if (previous != null) {
64654 if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
64655 t7.writeCharCode$1(59);
64656 t8 = t4._style !== B.OutputStyle_compressed;
64657 if (t8)
64658 t7.write$1(0, "\n");
64659 if (previous.get$isGroupEnd())
64660 if (t8)
64661 t7.write$1(0, "\n");
64662 }
64663 t3.previous_ = child;
64664 child.accept$1(t4);
64665 }
64666 },
64667 $signature: 0
64668 };
64669 A.OutputStyle.prototype = {
64670 toString$0(_) {
64671 return this._name;
64672 }
64673 };
64674 A.LineFeed.prototype = {
64675 toString$0(_) {
64676 return "lf";
64677 }
64678 };
64679 A.SerializeResult.prototype = {};
64680 A.StatementSearchVisitor.prototype = {
64681 visitAtRootRule$1(node) {
64682 return this.visitChildren$1(node.children);
64683 },
64684 visitAtRule$1(node) {
64685 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
64686 },
64687 visitContentBlock$1(node) {
64688 return this.visitChildren$1(node.children);
64689 },
64690 visitDebugRule$1(node) {
64691 return null;
64692 },
64693 visitDeclaration$1(node) {
64694 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
64695 },
64696 visitEachRule$1(node) {
64697 return this.visitChildren$1(node.children);
64698 },
64699 visitErrorRule$1(node) {
64700 return null;
64701 },
64702 visitExtendRule$1(node) {
64703 return null;
64704 },
64705 visitForRule$1(node) {
64706 return this.visitChildren$1(node.children);
64707 },
64708 visitForwardRule$1(node) {
64709 return null;
64710 },
64711 visitFunctionRule$1(node) {
64712 return this.visitChildren$1(node.children);
64713 },
64714 visitIfRule$1(node) {
64715 var t1 = A._IterableExtension__search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
64716 return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
64717 },
64718 visitImportRule$1(node) {
64719 return null;
64720 },
64721 visitIncludeRule$1(node) {
64722 return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
64723 },
64724 visitLoudComment$1(node) {
64725 return null;
64726 },
64727 visitMediaRule$1(node) {
64728 return this.visitChildren$1(node.children);
64729 },
64730 visitMixinRule$1(node) {
64731 return this.visitChildren$1(node.children);
64732 },
64733 visitReturnRule$1(node) {
64734 return null;
64735 },
64736 visitSilentComment$1(node) {
64737 return null;
64738 },
64739 visitStyleRule$1(node) {
64740 return this.visitChildren$1(node.children);
64741 },
64742 visitStylesheet$1(node) {
64743 return this.visitChildren$1(node.children);
64744 },
64745 visitSupportsRule$1(node) {
64746 return this.visitChildren$1(node.children);
64747 },
64748 visitUseRule$1(node) {
64749 return null;
64750 },
64751 visitVariableDeclaration$1(node) {
64752 return null;
64753 },
64754 visitWarnRule$1(node) {
64755 return null;
64756 },
64757 visitWhileRule$1(node) {
64758 return this.visitChildren$1(node.children);
64759 },
64760 visitChildren$1(children) {
64761 return A._IterableExtension__search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
64762 }
64763 };
64764 A.StatementSearchVisitor_visitIfRule_closure.prototype = {
64765 call$1(clause) {
64766 return A._IterableExtension__search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
64767 },
64768 $signature() {
64769 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
64770 }
64771 };
64772 A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
64773 call$1(child) {
64774 return child.accept$1(this.$this);
64775 },
64776 $signature() {
64777 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
64778 }
64779 };
64780 A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
64781 call$1(lastClause) {
64782 return A._IterableExtension__search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
64783 },
64784 $signature() {
64785 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
64786 }
64787 };
64788 A.StatementSearchVisitor_visitIfRule__closure.prototype = {
64789 call$1(child) {
64790 return child.accept$1(this.$this);
64791 },
64792 $signature() {
64793 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
64794 }
64795 };
64796 A.StatementSearchVisitor_visitChildren_closure.prototype = {
64797 call$1(child) {
64798 return child.accept$1(this.$this);
64799 },
64800 $signature() {
64801 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
64802 }
64803 };
64804 A.Entry.prototype = {
64805 compareTo$1(_, other) {
64806 var t1, t2,
64807 res = this.target.compareTo$1(0, other.target);
64808 if (res !== 0)
64809 return res;
64810 t1 = this.source;
64811 t2 = other.source;
64812 res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
64813 if (res !== 0)
64814 return res;
64815 return t1.compareTo$1(0, t2);
64816 },
64817 $isComparable: 1
64818 };
64819 A.Mapping.prototype = {};
64820 A.SingleMapping.prototype = {
64821 toJson$1$includeSourceContents(includeSourceContents) {
64822 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,
64823 buff = new A.StringBuffer("");
64824 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) {
64825 entry = t1[_i];
64826 nextLine = entry.line;
64827 if (nextLine > line) {
64828 for (i = line; i < nextLine; ++i)
64829 buff._contents += ";";
64830 line = nextLine;
64831 column = 0;
64832 first = true;
64833 }
64834 for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
64835 t4 = t3.get$current(t3);
64836 if (!first)
64837 buff._contents += ",";
64838 column0 = t4.column;
64839 t5 = A.encodeVlq(column0 - column);
64840 t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
64841 buff._contents = t5;
64842 newUrlId = t4.sourceUrlId;
64843 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
64844 buff._contents = t5;
64845 srcLine0 = t4.sourceLine;
64846 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
64847 buff._contents = t5;
64848 srcColumn0 = t4.sourceColumn;
64849 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
64850 buff._contents = t5;
64851 srcNameId0 = t4.sourceNameId;
64852 if (srcNameId0 == null) {
64853 srcUrlId = newUrlId;
64854 srcColumn = srcColumn0;
64855 srcLine = srcLine0;
64856 continue;
64857 }
64858 buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
64859 srcNameId = srcNameId0;
64860 srcUrlId = newUrlId;
64861 srcColumn = srcColumn0;
64862 srcLine = srcLine0;
64863 }
64864 }
64865 t1 = _this.sourceRoot;
64866 if (t1 == null)
64867 t1 = "";
64868 t2 = buff._contents;
64869 result = A.LinkedHashMap_LinkedHashMap$_literal(["version", 3, "sourceRoot", t1, "sources", _this.urls, "names", _this.names, "mappings", t2.charCodeAt(0) == 0 ? t2 : t2], type$.String, type$.Object);
64870 t1 = _this.targetUrl;
64871 if (t1 != null)
64872 result.$indexSet(0, "file", t1);
64873 if (includeSourceContents) {
64874 t1 = _this.files;
64875 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
64876 result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
64877 }
64878 _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
64879 return result;
64880 },
64881 toJson$0() {
64882 return this.toJson$1$includeSourceContents(false);
64883 },
64884 toString$0(_) {
64885 var _this = this,
64886 t1 = A.getRuntimeType(_this).toString$0(0) + " : [" + "targetUrl: " + A.S(_this.targetUrl) + ", sourceRoot: " + A.S(_this.sourceRoot) + ", urls: " + A.S(_this.urls) + ", names: " + A.S(_this.names) + ", lines: " + A.S(_this.lines) + "]";
64887 return t1.charCodeAt(0) == 0 ? t1 : t1;
64888 }
64889 };
64890 A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
64891 call$0() {
64892 var t1 = this.urls;
64893 return t1.get$length(t1);
64894 },
64895 $signature: 12
64896 };
64897 A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
64898 call$0() {
64899 return this.sourceEntry.source.file;
64900 },
64901 $signature: 275
64902 };
64903 A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
64904 call$1(i) {
64905 return this.files.$index(0, i);
64906 },
64907 $signature: 276
64908 };
64909 A.SingleMapping_toJson_closure.prototype = {
64910 call$1(file) {
64911 return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
64912 },
64913 $signature: 277
64914 };
64915 A.SingleMapping_toJson_closure0.prototype = {
64916 call$2($name, value) {
64917 this.result.$indexSet(0, $name, value);
64918 return value;
64919 },
64920 $signature: 255
64921 };
64922 A.TargetLineEntry.prototype = {
64923 toString$0(_) {
64924 return A.getRuntimeType(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
64925 }
64926 };
64927 A.TargetEntry.prototype = {
64928 toString$0(_) {
64929 var _this = this;
64930 return A.getRuntimeType(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
64931 }
64932 };
64933 A.SourceFile.prototype = {
64934 get$length(_) {
64935 return this._decodedChars.length;
64936 },
64937 get$lines() {
64938 return this._lineStarts.length;
64939 },
64940 SourceFile$decoded$2$url(decodedChars, url) {
64941 var t1, t2, t3, i, c, j;
64942 for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
64943 c = t1[i];
64944 if (c === 13) {
64945 j = i + 1;
64946 if (j >= t2 || t1[j] !== 10)
64947 c = 10;
64948 }
64949 if (c === 10)
64950 t3.push(i + 1);
64951 }
64952 },
64953 span$2(_, start, end) {
64954 return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
64955 },
64956 span$1($receiver, start) {
64957 return this.span$2($receiver, start, null);
64958 },
64959 getLine$1(offset) {
64960 var t1, _this = this;
64961 if (offset < 0)
64962 throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
64963 else if (offset > _this._decodedChars.length)
64964 throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_ + _this.get$length(_this) + "."));
64965 t1 = _this._lineStarts;
64966 if (offset < B.JSArray_methods.get$first(t1))
64967 return -1;
64968 if (offset >= B.JSArray_methods.get$last(t1))
64969 return t1.length - 1;
64970 if (_this._isNearCachedLine$1(offset)) {
64971 t1 = _this._cachedLine;
64972 t1.toString;
64973 return t1;
64974 }
64975 return _this._cachedLine = _this._binarySearch$1(offset) - 1;
64976 },
64977 _isNearCachedLine$1(offset) {
64978 var t2, t3,
64979 t1 = this._cachedLine;
64980 if (t1 == null)
64981 return false;
64982 t2 = this._lineStarts;
64983 if (offset < t2[t1])
64984 return false;
64985 t3 = t2.length;
64986 if (t1 >= t3 - 1 || offset < t2[t1 + 1])
64987 return true;
64988 if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
64989 this._cachedLine = t1 + 1;
64990 return true;
64991 }
64992 return false;
64993 },
64994 _binarySearch$1(offset) {
64995 var min, half,
64996 t1 = this._lineStarts,
64997 max = t1.length - 1;
64998 for (min = 0; min < max;) {
64999 half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
65000 if (t1[half] > offset)
65001 max = half;
65002 else
65003 min = half + 1;
65004 }
65005 return max;
65006 },
65007 getColumn$1(offset) {
65008 var line, lineStart, _this = this;
65009 if (offset < 0)
65010 throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
65011 else if (offset > _this._decodedChars.length)
65012 throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(_this) + "."));
65013 line = _this.getLine$1(offset);
65014 lineStart = _this._lineStarts[line];
65015 if (lineStart > offset)
65016 throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
65017 return offset - lineStart;
65018 },
65019 getOffset$1(line) {
65020 var t1, t2, result, t3;
65021 if (line < 0)
65022 throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
65023 else {
65024 t1 = this._lineStarts;
65025 t2 = t1.length;
65026 if (line >= t2)
65027 throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
65028 }
65029 result = t1[line];
65030 if (result <= this._decodedChars.length) {
65031 t3 = line + 1;
65032 t1 = t3 < t2 && result >= t1[t3];
65033 } else
65034 t1 = true;
65035 if (t1)
65036 throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
65037 return result;
65038 }
65039 };
65040 A.FileLocation.prototype = {
65041 get$sourceUrl(_) {
65042 return this.file.url;
65043 },
65044 get$line() {
65045 return this.file.getLine$1(this.offset);
65046 },
65047 get$column() {
65048 return this.file.getColumn$1(this.offset);
65049 },
65050 pointSpan$0() {
65051 var t1 = this.offset;
65052 return A._FileSpan$(this.file, t1, t1);
65053 },
65054 get$offset() {
65055 return this.offset;
65056 }
65057 };
65058 A._FileSpan.prototype = {
65059 get$sourceUrl(_) {
65060 return this.file.url;
65061 },
65062 get$length(_) {
65063 return this._end - this._file$_start;
65064 },
65065 get$start(_) {
65066 return A.FileLocation$_(this.file, this._file$_start);
65067 },
65068 get$end(_) {
65069 return A.FileLocation$_(this.file, this._end);
65070 },
65071 get$text() {
65072 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
65073 },
65074 get$context(_) {
65075 var _this = this,
65076 t1 = _this.file,
65077 endOffset = _this._end,
65078 endLine = t1.getLine$1(endOffset);
65079 if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
65080 if (endOffset - _this._file$_start === 0)
65081 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);
65082 } else
65083 endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
65084 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
65085 },
65086 _FileSpan$3(file, _start, _end) {
65087 var t3,
65088 t1 = this._end,
65089 t2 = this._file$_start;
65090 if (t1 < t2)
65091 throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
65092 else {
65093 t3 = this.file;
65094 if (t1 > t3._decodedChars.length)
65095 throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_ + t3.get$length(t3) + "."));
65096 else if (t2 < 0)
65097 throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
65098 }
65099 },
65100 compareTo$1(_, other) {
65101 var result;
65102 if (!(other instanceof A._FileSpan))
65103 return this.super$SourceSpanMixin$compareTo(0, other);
65104 result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
65105 return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
65106 },
65107 $eq(_, other) {
65108 var _this = this;
65109 if (other == null)
65110 return false;
65111 if (!type$.FileSpan._is(other))
65112 return _this.super$SourceSpanMixin$$eq(0, other);
65113 return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
65114 },
65115 get$hashCode(_) {
65116 return A.Object_hash(this._file$_start, this._end, this.file.url);
65117 },
65118 expand$1(_, other) {
65119 var start, _this = this,
65120 t1 = _this.file;
65121 if (!J.$eq$(t1.url, other.file.url))
65122 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65123 start = Math.min(_this._file$_start, other._file$_start);
65124 return A._FileSpan$(t1, start, Math.max(_this._end, other._end));
65125 },
65126 $isFileSpan: 1,
65127 $isSourceSpanWithContext: 1
65128 };
65129 A.Highlighter.prototype = {
65130 highlight$0() {
65131 var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
65132 t1 = _this._lines;
65133 _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
65134 t2 = _this._maxMultilineSpans;
65135 highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
65136 for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
65137 line = t1[i];
65138 if (i > 0) {
65139 lastLine = t1[i - 1];
65140 t5 = lastLine.url;
65141 t6 = line.url;
65142 if (!J.$eq$(t5, t6)) {
65143 _this._writeSidebar$1$end($._glyphs.get$upEnd());
65144 t3._contents += "\n";
65145 _this._writeFileStart$1(t6);
65146 } else if (lastLine.number + 1 !== line.number) {
65147 _this._writeSidebar$1$text("...");
65148 t3._contents += "\n";
65149 }
65150 }
65151 for (t5 = line.highlights, t6 = new A.ReversedListIterable(t5, A._arrayInstanceType(t5)._eval$1("ReversedListIterable<1>")), t6 = new A.ListIterator(t6, t6.get$length(t6)), t7 = A._instanceType(t6)._precomputed1, t8 = line.number, t9 = line.text; t6.moveNext$0();) {
65152 t10 = t7._as(t6.__internal$_current);
65153 t11 = t10.span;
65154 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()))) {
65155 index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
65156 if (index < 0)
65157 A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
65158 highlightsByColumn[index] = t10;
65159 }
65160 }
65161 _this._writeSidebar$1$line(t8);
65162 t3._contents += " ";
65163 _this._writeMultilineHighlights$2(line, highlightsByColumn);
65164 if (t2)
65165 t3._contents += " ";
65166 primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
65167 primary = primaryIdx === -1 ? _null : t5[primaryIdx];
65168 t6 = primary != null;
65169 if (t6) {
65170 t7 = primary.span;
65171 t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
65172 _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
65173 } else
65174 _this._writeText$1(t9);
65175 t3._contents += "\n";
65176 if (t6)
65177 _this._writeIndicator$3(line, primary, highlightsByColumn);
65178 for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
65179 highlight = t5[_i];
65180 if (highlight.isPrimary)
65181 continue;
65182 _this._writeIndicator$3(line, highlight, highlightsByColumn);
65183 }
65184 }
65185 _this._writeSidebar$1$end($._glyphs.get$upEnd());
65186 t1 = t3._contents;
65187 return t1.charCodeAt(0) == 0 ? t1 : t1;
65188 },
65189 _writeFileStart$1(url) {
65190 var _this = this,
65191 t1 = !_this._multipleFiles || !type$.Uri._is(url),
65192 t2 = $._glyphs;
65193 if (t1)
65194 _this._writeSidebar$1$end(t2.get$downEnd());
65195 else {
65196 _this._writeSidebar$1$end(t2.get$topLeftCorner());
65197 _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
65198 _this._highlighter$_buffer._contents += " " + $.$get$context().prettyUri$1(url);
65199 }
65200 _this._highlighter$_buffer._contents += "\n";
65201 },
65202 _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
65203 var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
65204 _box_0.openedOnThisLine = false;
65205 _box_0.openedOnThisLineColor = null;
65206 t1 = current == null;
65207 if (t1)
65208 currentColor = null;
65209 else
65210 currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
65211 for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
65212 highlight = highlightsByColumn[_i];
65213 t6 = highlight == null;
65214 if (t6)
65215 startLine = null;
65216 else {
65217 t7 = highlight.span;
65218 startLine = t7.get$start(t7).get$line();
65219 }
65220 if (t6)
65221 endLine = null;
65222 else {
65223 t7 = highlight.span;
65224 endLine = t7.get$end(t7).get$line();
65225 }
65226 if (t1 && highlight === current) {
65227 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
65228 foundCurrent = true;
65229 } else if (foundCurrent)
65230 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
65231 else if (t6)
65232 if (_box_0.openedOnThisLine)
65233 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
65234 else
65235 t5._contents += " ";
65236 else {
65237 t6 = highlight.isPrimary ? t4 : t3;
65238 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
65239 }
65240 }
65241 },
65242 _writeMultilineHighlights$2(line, highlightsByColumn) {
65243 return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
65244 },
65245 _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
65246 var _this = this;
65247 _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
65248 _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
65249 _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
65250 },
65251 _writeIndicator$3(line, highlight, highlightsByColumn) {
65252 var t2, coversWholeLine, _this = this,
65253 color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
65254 t1 = highlight.span;
65255 if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
65256 _this._writeSidebar$0();
65257 t1 = _this._highlighter$_buffer;
65258 t1._contents += " ";
65259 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65260 if (highlightsByColumn.length !== 0)
65261 t1._contents += " ";
65262 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color);
65263 t1._contents += "\n";
65264 } else {
65265 t2 = line.number;
65266 if (t1.get$start(t1).get$line() === t2) {
65267 if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
65268 return;
65269 A.replaceFirstNull(highlightsByColumn, highlight);
65270 _this._writeSidebar$0();
65271 t1 = _this._highlighter$_buffer;
65272 t1._contents += " ";
65273 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65274 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
65275 t1._contents += "\n";
65276 } else if (t1.get$end(t1).get$line() === t2) {
65277 coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
65278 if (coversWholeLine && highlight.label == null) {
65279 A.replaceWithNull(highlightsByColumn, highlight);
65280 return;
65281 }
65282 _this._writeSidebar$0();
65283 t1 = _this._highlighter$_buffer;
65284 t1._contents += " ";
65285 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65286 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color);
65287 t1._contents += "\n";
65288 A.replaceWithNull(highlightsByColumn, highlight);
65289 }
65290 }
65291 },
65292 _writeArrow$3$beginning(line, column, beginning) {
65293 var t2,
65294 t1 = beginning ? 0 : 1,
65295 tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
65296 t1 = this._highlighter$_buffer;
65297 t2 = t1._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
65298 t1._contents = t2 + "^";
65299 },
65300 _writeArrow$2(line, column) {
65301 return this._writeArrow$3$beginning(line, column, true);
65302 },
65303 _writeText$1(text) {
65304 var t1, t2, t3, t4;
65305 for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this._highlighter$_buffer, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
65306 t4 = t3._as(t1.__internal$_current);
65307 if (t4 === 9)
65308 t2._contents += B.JSString_methods.$mul(" ", 4);
65309 else
65310 t2._contents += A.Primitives_stringFromCharCode(t4);
65311 }
65312 },
65313 _writeSidebar$3$end$line$text(end, line, text) {
65314 var t1 = {};
65315 t1.text = text;
65316 if (line != null)
65317 t1.text = B.JSInt_methods.toString$0(line + 1);
65318 this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
65319 },
65320 _writeSidebar$1$end(end) {
65321 return this._writeSidebar$3$end$line$text(end, null, null);
65322 },
65323 _writeSidebar$1$text(text) {
65324 return this._writeSidebar$3$end$line$text(null, null, text);
65325 },
65326 _writeSidebar$1$line(line) {
65327 return this._writeSidebar$3$end$line$text(null, line, null);
65328 },
65329 _writeSidebar$0() {
65330 return this._writeSidebar$3$end$line$text(null, null, null);
65331 },
65332 _countTabs$1(text) {
65333 var t1, t2, count;
65334 for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, count = 0; t1.moveNext$0();)
65335 if (t2._as(t1.__internal$_current) === 9)
65336 ++count;
65337 return count;
65338 },
65339 _isOnlyWhitespace$1(text) {
65340 var t1, t2, t3;
65341 for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
65342 t3 = t2._as(t1.__internal$_current);
65343 if (t3 !== 32 && t3 !== 9)
65344 return false;
65345 }
65346 return true;
65347 },
65348 _colorize$2$color(callback, color) {
65349 var t1 = this._primaryColor != null;
65350 if (t1 && color != null)
65351 this._highlighter$_buffer._contents += color;
65352 callback.call$0();
65353 if (t1 && color != null)
65354 this._highlighter$_buffer._contents += "\x1b[0m";
65355 }
65356 };
65357 A.Highlighter_closure.prototype = {
65358 call$0() {
65359 var t1 = this.color,
65360 t2 = J.getInterceptor$(t1);
65361 if (t2.$eq(t1, true))
65362 return "\x1b[31m";
65363 if (t2.$eq(t1, false))
65364 return null;
65365 return A._asStringQ(t1);
65366 },
65367 $signature: 41
65368 };
65369 A.Highlighter$__closure.prototype = {
65370 call$1(line) {
65371 var t1 = line.highlights;
65372 t1 = new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"));
65373 return t1.get$length(t1);
65374 },
65375 $signature: 278
65376 };
65377 A.Highlighter$___closure.prototype = {
65378 call$1(highlight) {
65379 var t1 = highlight.span;
65380 return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
65381 },
65382 $signature: 141
65383 };
65384 A.Highlighter$__closure0.prototype = {
65385 call$1(line) {
65386 return line.url;
65387 },
65388 $signature: 280
65389 };
65390 A.Highlighter__collateLines_closure.prototype = {
65391 call$1(highlight) {
65392 var t1 = highlight.span;
65393 t1 = t1.get$sourceUrl(t1);
65394 return t1 == null ? new A.Object() : t1;
65395 },
65396 $signature: 281
65397 };
65398 A.Highlighter__collateLines_closure0.prototype = {
65399 call$2(highlight1, highlight2) {
65400 return highlight1.span.compareTo$1(0, highlight2.span);
65401 },
65402 $signature: 282
65403 };
65404 A.Highlighter__collateLines_closure1.prototype = {
65405 call$1(entry) {
65406 var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength,
65407 url = entry.key,
65408 highlightsForFile = entry.value,
65409 lines = A._setArrayType([], type$.JSArray__Line);
65410 for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
65411 t4 = t2.get$current(t2).span;
65412 context = t4.get$context(t4);
65413 t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
65414 t5.toString;
65415 t5 = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5));
65416 linesBeforeSpan = t5.get$length(t5);
65417 lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
65418 for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
65419 line = t4[_i];
65420 if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
65421 lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
65422 ++lineNumber;
65423 }
65424 }
65425 activeHighlights = A._setArrayType([], t3);
65426 for (t2 = lines.length, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
65427 line = lines[_i];
65428 if (!!activeHighlights.fixed$length)
65429 A.throwExpression(A.UnsupportedError$("removeWhere"));
65430 B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
65431 oldHighlightLength = activeHighlights.length;
65432 for (t3 = t1.skip$1(highlightsForFile, highlightIndex), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
65433 t4 = t3.get$current(t3);
65434 t5 = t4.span;
65435 if (t5.get$start(t5).get$line() > line.number)
65436 break;
65437 activeHighlights.push(t4);
65438 }
65439 highlightIndex += activeHighlights.length - oldHighlightLength;
65440 B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
65441 }
65442 return lines;
65443 },
65444 $signature: 283
65445 };
65446 A.Highlighter__collateLines__closure.prototype = {
65447 call$1(highlight) {
65448 var t1 = highlight.span;
65449 return t1.get$end(t1).get$line() < this.line.number;
65450 },
65451 $signature: 141
65452 };
65453 A.Highlighter_highlight_closure.prototype = {
65454 call$1(highlight) {
65455 return highlight.isPrimary;
65456 },
65457 $signature: 141
65458 };
65459 A.Highlighter__writeFileStart_closure.prototype = {
65460 call$0() {
65461 this.$this._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
65462 return null;
65463 },
65464 $signature: 0
65465 };
65466 A.Highlighter__writeMultilineHighlights_closure.prototype = {
65467 call$0() {
65468 var t1 = $._glyphs;
65469 t1 = this.startLine === this.line.number ? t1.get$topLeftCorner() : t1.get$bottomLeftCorner();
65470 this.$this._highlighter$_buffer._contents += t1;
65471 },
65472 $signature: 0
65473 };
65474 A.Highlighter__writeMultilineHighlights_closure0.prototype = {
65475 call$0() {
65476 var t1 = $._glyphs;
65477 t1 = this.highlight == null ? t1.get$horizontalLine() : t1.get$cross();
65478 this.$this._highlighter$_buffer._contents += t1;
65479 },
65480 $signature: 0
65481 };
65482 A.Highlighter__writeMultilineHighlights_closure1.prototype = {
65483 call$0() {
65484 this.$this._highlighter$_buffer._contents += $._glyphs.get$horizontalLine();
65485 return null;
65486 },
65487 $signature: 0
65488 };
65489 A.Highlighter__writeMultilineHighlights_closure2.prototype = {
65490 call$0() {
65491 var _this = this,
65492 t1 = _this._box_0,
65493 t2 = t1.openedOnThisLine,
65494 t3 = $._glyphs,
65495 vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
65496 if (_this.current != null)
65497 _this.$this._highlighter$_buffer._contents += vertical;
65498 else {
65499 t2 = _this.line;
65500 t3 = t2.number;
65501 if (_this.startLine === t3) {
65502 t2 = _this.$this;
65503 t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
65504 t1.openedOnThisLine = true;
65505 if (t1.openedOnThisLineColor == null)
65506 t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
65507 } else {
65508 if (_this.endLine === t3) {
65509 t3 = _this.highlight.span;
65510 t2 = t3.get$end(t3).get$column() === t2.text.length;
65511 } else
65512 t2 = false;
65513 t3 = _this.$this;
65514 if (t2) {
65515 t1 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
65516 t3._highlighter$_buffer._contents += t1;
65517 } else
65518 t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
65519 }
65520 }
65521 },
65522 $signature: 0
65523 };
65524 A.Highlighter__writeMultilineHighlights__closure.prototype = {
65525 call$0() {
65526 var t1 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
65527 this.$this._highlighter$_buffer._contents += $._glyphs.glyphOrAscii$2(t1, "/");
65528 },
65529 $signature: 0
65530 };
65531 A.Highlighter__writeMultilineHighlights__closure0.prototype = {
65532 call$0() {
65533 this.$this._highlighter$_buffer._contents += this.vertical;
65534 },
65535 $signature: 0
65536 };
65537 A.Highlighter__writeHighlightedText_closure.prototype = {
65538 call$0() {
65539 var _this = this;
65540 return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
65541 },
65542 $signature: 0
65543 };
65544 A.Highlighter__writeIndicator_closure.prototype = {
65545 call$0() {
65546 var tabsBefore, tabsInside,
65547 t1 = this.$this,
65548 t2 = this.highlight,
65549 t3 = t2.span,
65550 t4 = t2.isPrimary ? "^" : $._glyphs.get$horizontalLineBold(),
65551 startColumn = t3.get$start(t3).get$column(),
65552 endColumn = t3.get$end(t3).get$column();
65553 t3 = this.line.text;
65554 tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t3, 0, startColumn));
65555 tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t3, startColumn, endColumn));
65556 startColumn += tabsBefore * 3;
65557 t1 = t1._highlighter$_buffer;
65558 t1._contents += B.JSString_methods.$mul(" ", startColumn);
65559 t4 = t1._contents += B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
65560 t2 = t2.label;
65561 if (t2 != null)
65562 t1._contents = t4 + (" " + t2);
65563 },
65564 $signature: 0
65565 };
65566 A.Highlighter__writeIndicator_closure0.prototype = {
65567 call$0() {
65568 var t1 = this.highlight.span;
65569 return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
65570 },
65571 $signature: 0
65572 };
65573 A.Highlighter__writeIndicator_closure1.prototype = {
65574 call$0() {
65575 var t2, _this = this,
65576 t1 = _this.$this;
65577 if (_this.coversWholeLine)
65578 t1._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
65579 else {
65580 t2 = _this.highlight.span;
65581 t1._writeArrow$3$beginning(_this.line, Math.max(t2.get$end(t2).get$column() - 1, 0), false);
65582 }
65583 t2 = _this.highlight.label;
65584 if (t2 != null)
65585 t1._highlighter$_buffer._contents += " " + t2;
65586 },
65587 $signature: 0
65588 };
65589 A.Highlighter__writeSidebar_closure.prototype = {
65590 call$0() {
65591 var t1 = this.$this,
65592 t2 = t1._highlighter$_buffer,
65593 t3 = this._box_0.text;
65594 if (t3 == null)
65595 t3 = "";
65596 t2._contents += B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
65597 t1 = this.end;
65598 t2._contents += t1 == null ? $._glyphs.get$verticalLine() : t1;
65599 },
65600 $signature: 0
65601 };
65602 A._Highlight.prototype = {
65603 toString$0(_) {
65604 var t1 = this.isPrimary ? "" + "primary " : "",
65605 t2 = this.span;
65606 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());
65607 t1 = this.label;
65608 t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
65609 return t1.charCodeAt(0) == 0 ? t1 : t1;
65610 }
65611 };
65612 A._Highlight_closure.prototype = {
65613 call$0() {
65614 var t2, t3, t4, t5,
65615 t1 = this.span;
65616 if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
65617 t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
65618 t3 = t1.get$end(t1).get$offset();
65619 t4 = t1.get$sourceUrl(t1);
65620 t5 = A.countCodeUnits(t1.get$text(), 10);
65621 t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
65622 }
65623 return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
65624 },
65625 $signature: 284
65626 };
65627 A._Line.prototype = {
65628 toString$0(_) {
65629 return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
65630 }
65631 };
65632 A.SourceLocation.prototype = {
65633 distance$1(other) {
65634 var t1 = this.sourceUrl;
65635 if (!J.$eq$(t1, other.get$sourceUrl(other)))
65636 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65637 return Math.abs(this.offset - other.get$offset());
65638 },
65639 compareTo$1(_, other) {
65640 var t1 = this.sourceUrl;
65641 if (!J.$eq$(t1, other.get$sourceUrl(other)))
65642 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65643 return this.offset - other.get$offset();
65644 },
65645 $eq(_, other) {
65646 if (other == null)
65647 return false;
65648 return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
65649 },
65650 get$hashCode(_) {
65651 var t1 = this.sourceUrl;
65652 t1 = t1 == null ? null : t1.get$hashCode(t1);
65653 if (t1 == null)
65654 t1 = 0;
65655 return t1 + this.offset;
65656 },
65657 toString$0(_) {
65658 var _this = this,
65659 t1 = "<" + A.getRuntimeType(_this).toString$0(0) + ": " + _this.offset + " ",
65660 source = _this.sourceUrl;
65661 return t1 + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
65662 },
65663 $isComparable: 1,
65664 get$sourceUrl(receiver) {
65665 return this.sourceUrl;
65666 },
65667 get$offset() {
65668 return this.offset;
65669 },
65670 get$line() {
65671 return this.line;
65672 },
65673 get$column() {
65674 return this.column;
65675 }
65676 };
65677 A.SourceLocationMixin.prototype = {
65678 distance$1(other) {
65679 var _this = this;
65680 if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
65681 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65682 return Math.abs(_this.offset - other.get$offset());
65683 },
65684 compareTo$1(_, other) {
65685 var _this = this;
65686 if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
65687 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65688 return _this.offset - other.get$offset();
65689 },
65690 $eq(_, other) {
65691 if (other == null)
65692 return false;
65693 return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
65694 },
65695 get$hashCode(_) {
65696 var t1 = this.file.url;
65697 t1 = t1 == null ? null : t1.get$hashCode(t1);
65698 if (t1 == null)
65699 t1 = 0;
65700 return t1 + this.offset;
65701 },
65702 toString$0(_) {
65703 var t1 = this.offset,
65704 t2 = "<" + A.getRuntimeType(this).toString$0(0) + ": " + t1 + " ",
65705 t3 = this.file,
65706 source = t3.url;
65707 return t2 + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t1) + 1) + ":" + (t3.getColumn$1(t1) + 1)) + ">";
65708 },
65709 $isComparable: 1,
65710 $isSourceLocation: 1
65711 };
65712 A.SourceSpanBase.prototype = {
65713 SourceSpanBase$3(start, end, text) {
65714 var t3,
65715 t1 = this.end,
65716 t2 = this.start;
65717 if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
65718 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
65719 else if (t1.get$offset() < t2.get$offset())
65720 throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
65721 else {
65722 t3 = this.text;
65723 if (t3.length !== t2.distance$1(t1))
65724 throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
65725 }
65726 },
65727 get$start(receiver) {
65728 return this.start;
65729 },
65730 get$end(receiver) {
65731 return this.end;
65732 },
65733 get$text() {
65734 return this.text;
65735 }
65736 };
65737 A.SourceSpanException.prototype = {
65738 get$message(_) {
65739 return this._span_exception$_message;
65740 },
65741 get$span(_) {
65742 return this._span;
65743 },
65744 toString$1$color(_, color) {
65745 var _this = this;
65746 _this.get$span(_this);
65747 return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
65748 },
65749 toString$0($receiver) {
65750 return this.toString$1$color($receiver, null);
65751 },
65752 $isException: 1
65753 };
65754 A.SourceSpanFormatException.prototype = {$isFormatException: 1,
65755 get$source() {
65756 return this.source;
65757 }
65758 };
65759 A.SourceSpanMixin.prototype = {
65760 get$sourceUrl(_) {
65761 var t1 = this.get$start(this);
65762 return t1.get$sourceUrl(t1);
65763 },
65764 get$length(_) {
65765 var _this = this;
65766 return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
65767 },
65768 compareTo$1(_, other) {
65769 var _this = this,
65770 result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
65771 return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
65772 },
65773 message$2$color(_, message, color) {
65774 var t2, highlight, _this = this,
65775 t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
65776 if (_this.get$sourceUrl(_this) != null) {
65777 t2 = _this.get$sourceUrl(_this);
65778 t2 = t1 + (" of " + $.$get$context().prettyUri$1(t2));
65779 t1 = t2;
65780 }
65781 t1 += ": " + message;
65782 highlight = _this.highlight$1$color(color);
65783 if (highlight.length !== 0)
65784 t1 = t1 + "\n" + highlight;
65785 return t1.charCodeAt(0) == 0 ? t1 : t1;
65786 },
65787 message$1($receiver, message) {
65788 return this.message$2$color($receiver, message, null);
65789 },
65790 highlight$1$color(color) {
65791 var _this = this;
65792 if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
65793 return "";
65794 return A.Highlighter$(_this, color).highlight$0();
65795 },
65796 $eq(_, other) {
65797 var _this = this;
65798 if (other == null)
65799 return false;
65800 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));
65801 },
65802 get$hashCode(_) {
65803 var _this = this;
65804 return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue);
65805 },
65806 toString$0(_) {
65807 var _this = this;
65808 return "<" + A.getRuntimeType(_this).toString$0(0) + ": from " + _this.get$start(_this).toString$0(0) + " to " + _this.get$end(_this).toString$0(0) + ' "' + _this.get$text() + '">';
65809 },
65810 $isComparable: 1,
65811 $isSourceSpan: 1
65812 };
65813 A.SourceSpanWithContext.prototype = {
65814 get$context(_) {
65815 return this._context;
65816 }
65817 };
65818 A.Chain.prototype = {
65819 toTrace$0() {
65820 var t1 = this.traces;
65821 return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
65822 },
65823 toString$0(_) {
65824 var t1 = this.traces,
65825 t2 = A._arrayInstanceType(t1);
65826 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_____);
65827 },
65828 $isStackTrace: 1
65829 };
65830 A.Chain_Chain$parse_closure.prototype = {
65831 call$1(line) {
65832 return line.length !== 0;
65833 },
65834 $signature: 6
65835 };
65836 A.Chain_Chain$parse_closure0.prototype = {
65837 call$1(trace) {
65838 return A.Trace$parseVM(trace);
65839 },
65840 $signature: 182
65841 };
65842 A.Chain_Chain$parse_closure1.prototype = {
65843 call$1(trace) {
65844 return A.Trace$parseFriendly(trace);
65845 },
65846 $signature: 182
65847 };
65848 A.Chain_toTrace_closure.prototype = {
65849 call$1(trace) {
65850 return trace.get$frames();
65851 },
65852 $signature: 287
65853 };
65854 A.Chain_toString_closure0.prototype = {
65855 call$1(trace) {
65856 var t1 = trace.get$frames();
65857 return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
65858 },
65859 $signature: 288
65860 };
65861 A.Chain_toString__closure0.prototype = {
65862 call$1(frame) {
65863 return frame.get$location().length;
65864 },
65865 $signature: 145
65866 };
65867 A.Chain_toString_closure.prototype = {
65868 call$1(trace) {
65869 var t1 = trace.get$frames();
65870 return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
65871 },
65872 $signature: 290
65873 };
65874 A.Chain_toString__closure.prototype = {
65875 call$1(frame) {
65876 return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
65877 },
65878 $signature: 146
65879 };
65880 A.Frame.prototype = {
65881 get$isCore() {
65882 return this.uri.get$scheme() === "dart";
65883 },
65884 get$library() {
65885 var t1 = this.uri;
65886 if (t1.get$scheme() === "data")
65887 return "data:...";
65888 return $.$get$context().prettyUri$1(t1);
65889 },
65890 get$$package() {
65891 var t1 = this.uri;
65892 if (t1.get$scheme() !== "package")
65893 return null;
65894 return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
65895 },
65896 get$location() {
65897 var t2, _this = this,
65898 t1 = _this.line;
65899 if (t1 == null)
65900 return _this.get$library();
65901 t2 = _this.column;
65902 if (t2 == null)
65903 return _this.get$library() + " " + A.S(t1);
65904 return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
65905 },
65906 toString$0(_) {
65907 return this.get$location() + " in " + A.S(this.member);
65908 },
65909 get$uri() {
65910 return this.uri;
65911 },
65912 get$line() {
65913 return this.line;
65914 },
65915 get$column() {
65916 return this.column;
65917 },
65918 get$member() {
65919 return this.member;
65920 }
65921 };
65922 A.Frame_Frame$parseVM_closure.prototype = {
65923 call$0() {
65924 var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
65925 t1 = this.frame;
65926 if (t1 === "...")
65927 return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
65928 match = $.$get$_vmFrame().firstMatch$1(t1);
65929 if (match == null)
65930 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
65931 t1 = match._match;
65932 t2 = t1[1];
65933 t2.toString;
65934 t3 = $.$get$_asyncBody();
65935 t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
65936 member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
65937 t2 = t1[2];
65938 t3 = t2;
65939 t3.toString;
65940 if (B.JSString_methods.startsWith$1(t3, "<data:"))
65941 uri = A.Uri_Uri$dataFromString("", _null, _null);
65942 else {
65943 t2 = t2;
65944 t2.toString;
65945 uri = A.Uri_parse(t2);
65946 }
65947 lineAndColumn = t1[3].split(":");
65948 t1 = lineAndColumn.length;
65949 line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
65950 return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
65951 },
65952 $signature: 60
65953 };
65954 A.Frame_Frame$parseV8_closure.prototype = {
65955 call$0() {
65956 var t2, t3, _s4_ = "<fn>",
65957 t1 = this.frame,
65958 match = $.$get$_v8Frame().firstMatch$1(t1);
65959 if (match == null)
65960 return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
65961 t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1);
65962 t2 = match._match;
65963 t3 = t2[2];
65964 if (t3 != null) {
65965 t3 = t3;
65966 t3.toString;
65967 t2 = t2[1];
65968 t2.toString;
65969 t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
65970 t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
65971 return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
65972 } else {
65973 t2 = t2[3];
65974 t2.toString;
65975 return t1.call$2(t2, _s4_);
65976 }
65977 },
65978 $signature: 60
65979 };
65980 A.Frame_Frame$parseV8_closure_parseLocation.prototype = {
65981 call$2($location, member) {
65982 var t2, urlMatch, uri, line, columnMatch, _null = null,
65983 t1 = $.$get$_v8EvalLocation(),
65984 evalMatch = t1.firstMatch$1($location);
65985 for (; evalMatch != null; $location = t2) {
65986 t2 = evalMatch._match[1];
65987 t2.toString;
65988 evalMatch = t1.firstMatch$1(t2);
65989 }
65990 if ($location === "native")
65991 return new A.Frame(A.Uri_parse("native"), _null, _null, member);
65992 urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location);
65993 if (urlMatch == null)
65994 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
65995 t1 = urlMatch._match;
65996 t2 = t1[1];
65997 t2.toString;
65998 uri = A.Frame__uriOrPathToUri(t2);
65999 t2 = t1[2];
66000 t2.toString;
66001 line = A.int_parse(t2, _null);
66002 columnMatch = t1[3];
66003 return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
66004 },
66005 $signature: 293
66006 };
66007 A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
66008 call$0() {
66009 var t2, member, uri, line, _null = null,
66010 t1 = this.frame,
66011 match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
66012 if (match == null)
66013 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
66014 t1 = match._match;
66015 t2 = t1[1];
66016 t2.toString;
66017 member = A.stringReplaceAllUnchecked(t2, "/<", "");
66018 t2 = t1[2];
66019 t2.toString;
66020 uri = A.Frame__uriOrPathToUri(t2);
66021 t1 = t1[3];
66022 t1.toString;
66023 line = A.int_parse(t1, _null);
66024 return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
66025 },
66026 $signature: 60
66027 };
66028 A.Frame_Frame$parseFirefox_closure.prototype = {
66029 call$0() {
66030 var t2, t3, t4, uri, member, line, column, _null = null,
66031 t1 = this.frame,
66032 match = $.$get$_firefoxSafariFrame().firstMatch$1(t1);
66033 if (match == null)
66034 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
66035 t2 = match._match;
66036 t3 = t2[3];
66037 t4 = t3;
66038 t4.toString;
66039 if (B.JSString_methods.contains$1(t4, " line "))
66040 return A.Frame_Frame$_parseFirefoxEval(t1);
66041 t1 = t3;
66042 t1.toString;
66043 uri = A.Frame__uriOrPathToUri(t1);
66044 member = t2[1];
66045 if (member != null) {
66046 t1 = t2[2];
66047 t1.toString;
66048 t1 = B.JSString_methods.allMatches$1("/", t1);
66049 member += B.JSArray_methods.join$0(A.List_List$filled(t1.get$length(t1), ".<fn>", false, type$.String));
66050 if (member === "")
66051 member = "<fn>";
66052 member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
66053 } else
66054 member = "<fn>";
66055 t1 = t2[4];
66056 if (t1 === "")
66057 line = _null;
66058 else {
66059 t1 = t1;
66060 t1.toString;
66061 line = A.int_parse(t1, _null);
66062 }
66063 t1 = t2[5];
66064 if (t1 == null || t1 === "")
66065 column = _null;
66066 else {
66067 t1 = t1;
66068 t1.toString;
66069 column = A.int_parse(t1, _null);
66070 }
66071 return new A.Frame(uri, line, column, member);
66072 },
66073 $signature: 60
66074 };
66075 A.Frame_Frame$parseFriendly_closure.prototype = {
66076 call$0() {
66077 var t2, uri, line, column, _null = null,
66078 t1 = this.frame,
66079 match = $.$get$_friendlyFrame().firstMatch$1(t1);
66080 if (match == null)
66081 throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
66082 t1 = match._match;
66083 t2 = t1[1];
66084 if (t2 === "data:...")
66085 uri = A.Uri_Uri$dataFromString("", _null, _null);
66086 else {
66087 t2 = t2;
66088 t2.toString;
66089 uri = A.Uri_parse(t2);
66090 }
66091 if (uri.get$scheme() === "") {
66092 t2 = $.$get$context();
66093 uri = t2.toUri$1(t2.absolute$7(t2.style.pathFromUri$1(A._parseUri(uri)), _null, _null, _null, _null, _null, _null));
66094 }
66095 t2 = t1[2];
66096 if (t2 == null)
66097 line = _null;
66098 else {
66099 t2 = t2;
66100 t2.toString;
66101 line = A.int_parse(t2, _null);
66102 }
66103 t2 = t1[3];
66104 if (t2 == null)
66105 column = _null;
66106 else {
66107 t2 = t2;
66108 t2.toString;
66109 column = A.int_parse(t2, _null);
66110 }
66111 return new A.Frame(uri, line, column, t1[4]);
66112 },
66113 $signature: 60
66114 };
66115 A.LazyTrace.prototype = {
66116 get$_lazy_trace$_trace() {
66117 var result, _this = this,
66118 value = _this.__LazyTrace__trace;
66119 if (value === $) {
66120 result = _this._thunk.call$0();
66121 A._lateInitializeOnceCheck(_this.__LazyTrace__trace, "_trace");
66122 _this.__LazyTrace__trace = result;
66123 value = result;
66124 }
66125 return value;
66126 },
66127 get$frames() {
66128 return this.get$_lazy_trace$_trace().get$frames();
66129 },
66130 get$terse() {
66131 return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
66132 },
66133 toString$0(_) {
66134 return this.get$_lazy_trace$_trace().toString$0(0);
66135 },
66136 $isStackTrace: 1,
66137 $isTrace: 1
66138 };
66139 A.LazyTrace_terse_closure.prototype = {
66140 call$0() {
66141 return this.$this.get$_lazy_trace$_trace().get$terse();
66142 },
66143 $signature: 148
66144 };
66145 A.Trace.prototype = {
66146 get$terse() {
66147 return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
66148 },
66149 foldFrames$2$terse(predicate, terse) {
66150 var newFrames, t1, t2, t3, _box_0 = {};
66151 _box_0.predicate = predicate;
66152 _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
66153 newFrames = A._setArrayType([], type$.JSArray_Frame);
66154 for (t1 = this.frames, t1 = new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
66155 t3 = t2._as(t1.__internal$_current);
66156 if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
66157 newFrames.push(t3);
66158 else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
66159 newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
66160 }
66161 t1 = type$.MappedListIterable_Frame_Frame;
66162 newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
66163 if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
66164 B.JSArray_methods.removeAt$1(newFrames, 0);
66165 return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
66166 },
66167 toString$0(_) {
66168 var t1 = this.frames,
66169 t2 = A._arrayInstanceType(t1);
66170 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);
66171 },
66172 $isStackTrace: 1,
66173 get$frames() {
66174 return this.frames;
66175 }
66176 };
66177 A.Trace_Trace$from_closure.prototype = {
66178 call$0() {
66179 return A.Trace_Trace$parse(this.trace.toString$0(0));
66180 },
66181 $signature: 148
66182 };
66183 A.Trace__parseVM_closure.prototype = {
66184 call$1(line) {
66185 return line.length !== 0;
66186 },
66187 $signature: 6
66188 };
66189 A.Trace__parseVM_closure0.prototype = {
66190 call$1(line) {
66191 return A.Frame_Frame$parseVM(line);
66192 },
66193 $signature: 70
66194 };
66195 A.Trace$parseV8_closure.prototype = {
66196 call$1(line) {
66197 return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
66198 },
66199 $signature: 6
66200 };
66201 A.Trace$parseV8_closure0.prototype = {
66202 call$1(line) {
66203 return A.Frame_Frame$parseV8(line);
66204 },
66205 $signature: 70
66206 };
66207 A.Trace$parseJSCore_closure.prototype = {
66208 call$1(line) {
66209 return line !== "\tat ";
66210 },
66211 $signature: 6
66212 };
66213 A.Trace$parseJSCore_closure0.prototype = {
66214 call$1(line) {
66215 return A.Frame_Frame$parseV8(line);
66216 },
66217 $signature: 70
66218 };
66219 A.Trace$parseFirefox_closure.prototype = {
66220 call$1(line) {
66221 return line.length !== 0 && line !== "[native code]";
66222 },
66223 $signature: 6
66224 };
66225 A.Trace$parseFirefox_closure0.prototype = {
66226 call$1(line) {
66227 return A.Frame_Frame$parseFirefox(line);
66228 },
66229 $signature: 70
66230 };
66231 A.Trace$parseFriendly_closure.prototype = {
66232 call$1(line) {
66233 return !B.JSString_methods.startsWith$1(line, "=====");
66234 },
66235 $signature: 6
66236 };
66237 A.Trace$parseFriendly_closure0.prototype = {
66238 call$1(line) {
66239 return A.Frame_Frame$parseFriendly(line);
66240 },
66241 $signature: 70
66242 };
66243 A.Trace_terse_closure.prototype = {
66244 call$1(_) {
66245 return false;
66246 },
66247 $signature: 150
66248 };
66249 A.Trace_foldFrames_closure.prototype = {
66250 call$1(frame) {
66251 var t1;
66252 if (this.oldPredicate.call$1(frame))
66253 return true;
66254 if (frame.get$isCore())
66255 return true;
66256 if (frame.get$$package() === "stack_trace")
66257 return true;
66258 t1 = frame.get$member();
66259 t1.toString;
66260 if (!B.JSString_methods.contains$1(t1, "<async>"))
66261 return false;
66262 return frame.get$line() == null;
66263 },
66264 $signature: 150
66265 };
66266 A.Trace_foldFrames_closure0.prototype = {
66267 call$1(frame) {
66268 var t1, t2;
66269 if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
66270 return frame;
66271 t1 = frame.get$library();
66272 t2 = $.$get$_terseRegExp();
66273 return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
66274 },
66275 $signature: 297
66276 };
66277 A.Trace_toString_closure0.prototype = {
66278 call$1(frame) {
66279 return frame.get$location().length;
66280 },
66281 $signature: 145
66282 };
66283 A.Trace_toString_closure.prototype = {
66284 call$1(frame) {
66285 if (frame instanceof A.UnparsedFrame)
66286 return frame.toString$0(0) + "\n";
66287 return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
66288 },
66289 $signature: 146
66290 };
66291 A.UnparsedFrame.prototype = {
66292 toString$0(_) {
66293 return this.member;
66294 },
66295 $isFrame: 1,
66296 get$uri() {
66297 return this.uri;
66298 },
66299 get$line() {
66300 return null;
66301 },
66302 get$column() {
66303 return null;
66304 },
66305 get$isCore() {
66306 return false;
66307 },
66308 get$library() {
66309 return "unparsed";
66310 },
66311 get$$package() {
66312 return null;
66313 },
66314 get$location() {
66315 return "unparsed";
66316 },
66317 get$member() {
66318 return this.member;
66319 }
66320 };
66321 A.TransformByHandlers_transformByHandlers_closure.prototype = {
66322 call$0() {
66323 var t2, subscription, t3, t4, _this = this, t1 = {};
66324 t1.valuesDone = false;
66325 t2 = _this.controller;
66326 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));
66327 t3 = _this._box_1;
66328 t3.subscription = subscription;
66329 t2.set$onPause(subscription.get$pause(subscription));
66330 t4 = t3.subscription;
66331 t2.set$onResume(t4.get$resume(t4));
66332 t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
66333 },
66334 $signature: 0
66335 };
66336 A.TransformByHandlers_transformByHandlers__closure.prototype = {
66337 call$1(value) {
66338 return this.handleData.call$2(value, this.controller);
66339 },
66340 $signature() {
66341 return this.S._eval$1("~(0)");
66342 }
66343 };
66344 A.TransformByHandlers_transformByHandlers__closure1.prototype = {
66345 call$2(error, stackTrace) {
66346 this.handleError.call$3(error, stackTrace, this.controller);
66347 },
66348 $signature: 63
66349 };
66350 A.TransformByHandlers_transformByHandlers__closure0.prototype = {
66351 call$0() {
66352 this._box_0.valuesDone = true;
66353 this.handleDone.call$1(this.controller);
66354 },
66355 $signature: 0
66356 };
66357 A.TransformByHandlers_transformByHandlers__closure2.prototype = {
66358 call$0() {
66359 var t1 = this._box_1,
66360 toCancel = t1.subscription;
66361 t1.subscription = null;
66362 if (!this._box_0.valuesDone)
66363 return toCancel.cancel$0();
66364 return null;
66365 },
66366 $signature: 224
66367 };
66368 A.RateLimit__debounceAggregate_closure.prototype = {
66369 call$2(value, sink) {
66370 var _this = this,
66371 t1 = _this._box_0,
66372 t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
66373 t3 = t1.timer;
66374 if (t3 != null)
66375 t3.cancel$0();
66376 t1.soFar = _this.collect.call$2(value, t1.soFar);
66377 t1.hasPending = true;
66378 if (t1.timer == null && _this.leading) {
66379 t1.emittedLatestAsLeading = true;
66380 t2.call$0();
66381 } else
66382 t1.emittedLatestAsLeading = false;
66383 t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
66384 },
66385 $signature() {
66386 return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
66387 }
66388 };
66389 A.RateLimit__debounceAggregate_closure_emit.prototype = {
66390 call$0() {
66391 var t1 = this._box_0;
66392 this.sink.add$1(0, this.S._as(t1.soFar));
66393 t1.soFar = null;
66394 t1.hasPending = false;
66395 },
66396 $signature: 0
66397 };
66398 A.RateLimit__debounceAggregate__closure.prototype = {
66399 call$0() {
66400 var t1 = this._box_0,
66401 t2 = t1.emittedLatestAsLeading;
66402 if (!t2)
66403 this.emit.call$0();
66404 if (t1.shouldClose)
66405 this.sink.close$0(0);
66406 t1.timer = null;
66407 },
66408 $signature: 0
66409 };
66410 A.RateLimit__debounceAggregate_closure0.prototype = {
66411 call$1(sink) {
66412 var t1 = this._box_0;
66413 if (t1.hasPending && this.trailing)
66414 t1.shouldClose = true;
66415 else {
66416 t1 = t1.timer;
66417 if (t1 != null)
66418 t1.cancel$0();
66419 sink.close$0(0);
66420 }
66421 },
66422 $signature() {
66423 return this.S._eval$1("~(EventSink<0>)");
66424 }
66425 };
66426 A.StringScannerException.prototype = {
66427 get$source() {
66428 return A._asString(this.source);
66429 }
66430 };
66431 A.LineScanner.prototype = {
66432 scanChar$1(character) {
66433 if (!this.super$StringScanner$scanChar(character))
66434 return false;
66435 this._adjustLineAndColumn$1(character);
66436 return true;
66437 },
66438 _adjustLineAndColumn$1(character) {
66439 var t1, _this = this;
66440 if (character !== 10)
66441 t1 = character === 13 && _this.peekChar$0() !== 10;
66442 else
66443 t1 = true;
66444 if (t1) {
66445 ++_this._line_scanner$_line;
66446 _this._line_scanner$_column = 0;
66447 } else
66448 ++_this._line_scanner$_column;
66449 },
66450 scan$1(pattern) {
66451 var t1, newlines, t2, _this = this;
66452 if (!_this.super$StringScanner$scan(pattern))
66453 return false;
66454 t1 = _this.get$lastMatch();
66455 newlines = _this._newlinesIn$1(t1.pattern);
66456 t1 = _this._line_scanner$_line;
66457 t2 = newlines.length;
66458 _this._line_scanner$_line = t1 + t2;
66459 if (t2 === 0) {
66460 t1 = _this._line_scanner$_column;
66461 t2 = _this.get$lastMatch();
66462 _this._line_scanner$_column = t1 + t2.pattern.length;
66463 } else {
66464 t1 = _this.get$lastMatch();
66465 _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
66466 }
66467 return true;
66468 },
66469 _newlinesIn$1(text) {
66470 var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
66471 newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
66472 if (this.peekChar$1(-1) === 13 && this.peekChar$0() === 10)
66473 B.JSArray_methods.removeLast$0(newlines);
66474 return newlines;
66475 }
66476 };
66477 A.SpanScanner.prototype = {
66478 set$state(state) {
66479 if (state._scanner !== this)
66480 throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
66481 this.set$position(state.position);
66482 },
66483 spanFrom$2(startState, endState) {
66484 var endPosition = endState == null ? this._string_scanner$_position : endState.position;
66485 return this._sourceFile.span$2(0, startState.position, endPosition);
66486 },
66487 spanFrom$1(startState) {
66488 return this.spanFrom$2(startState, null);
66489 },
66490 matches$1(pattern) {
66491 var t1, t2, _this = this;
66492 if (!_this.super$StringScanner$matches(pattern))
66493 return false;
66494 t1 = _this._string_scanner$_position;
66495 t2 = _this.get$lastMatch();
66496 _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
66497 return true;
66498 },
66499 error$3$length$position(_, message, $length, position) {
66500 var t2, match, _this = this,
66501 t1 = _this.string;
66502 A.validateErrorArgs(t1, null, position, $length);
66503 t2 = position == null && $length == null;
66504 match = t2 ? _this.get$lastMatch() : null;
66505 if (position == null)
66506 position = match == null ? _this._string_scanner$_position : match.start;
66507 if ($length == null)
66508 if (match == null)
66509 $length = 0;
66510 else {
66511 t2 = match.start;
66512 $length = t2 + match.pattern.length - t2;
66513 }
66514 throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
66515 },
66516 error$1($receiver, message) {
66517 return this.error$3$length$position($receiver, message, null, null);
66518 },
66519 error$2$position($receiver, message, position) {
66520 return this.error$3$length$position($receiver, message, null, position);
66521 },
66522 error$2$length($receiver, message, $length) {
66523 return this.error$3$length$position($receiver, message, $length, null);
66524 }
66525 };
66526 A._SpanScannerState.prototype = {};
66527 A.StringScanner.prototype = {
66528 set$position(position) {
66529 if (position < 0 || position > this.string.length)
66530 throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
66531 this._string_scanner$_position = position;
66532 this._lastMatch = null;
66533 },
66534 get$lastMatch() {
66535 var _this = this;
66536 if (_this._string_scanner$_position !== _this._lastMatchPosition)
66537 _this._lastMatch = null;
66538 return _this._lastMatch;
66539 },
66540 readChar$0() {
66541 var _this = this,
66542 t1 = _this._string_scanner$_position,
66543 t2 = _this.string;
66544 if (t1 === t2.length)
66545 _this.error$3$length$position(0, "expected more input.", 0, t1);
66546 return B.JSString_methods.codeUnitAt$1(t2, _this._string_scanner$_position++);
66547 },
66548 peekChar$1(offset) {
66549 var index;
66550 if (offset == null)
66551 offset = 0;
66552 index = this._string_scanner$_position + offset;
66553 if (index < 0 || index >= this.string.length)
66554 return null;
66555 return B.JSString_methods.codeUnitAt$1(this.string, index);
66556 },
66557 peekChar$0() {
66558 return this.peekChar$1(null);
66559 },
66560 scanChar$1(character) {
66561 var t1 = this._string_scanner$_position,
66562 t2 = this.string;
66563 if (t1 === t2.length)
66564 return false;
66565 if (B.JSString_methods.codeUnitAt$1(t2, t1) !== character)
66566 return false;
66567 this._string_scanner$_position = t1 + 1;
66568 return true;
66569 },
66570 expectChar$2$name(character, $name) {
66571 if (this.scanChar$1(character))
66572 return;
66573 if ($name == null)
66574 if (character === 92)
66575 $name = '"\\"';
66576 else
66577 $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
66578 this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
66579 },
66580 expectChar$1(character) {
66581 return this.expectChar$2$name(character, null);
66582 },
66583 scan$1(pattern) {
66584 var t1, _this = this,
66585 success = _this.matches$1(pattern);
66586 if (success) {
66587 t1 = _this._lastMatch;
66588 _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
66589 }
66590 return success;
66591 },
66592 expect$1(pattern) {
66593 var t1, $name;
66594 if (this.scan$1(pattern))
66595 return;
66596 t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
66597 $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
66598 this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
66599 },
66600 expectDone$0() {
66601 var t1 = this._string_scanner$_position;
66602 if (t1 === this.string.length)
66603 return;
66604 this.error$3$length$position(0, "expected no more input.", 0, t1);
66605 },
66606 matches$1(pattern) {
66607 var _this = this,
66608 t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
66609 _this._lastMatch = t1;
66610 _this._lastMatchPosition = _this._string_scanner$_position;
66611 return t1 != null;
66612 },
66613 substring$1(_, start) {
66614 var end = this._string_scanner$_position;
66615 return B.JSString_methods.substring$2(this.string, start, end);
66616 },
66617 error$3$length$position(_, message, $length, position) {
66618 var t1 = this.string;
66619 A.validateErrorArgs(t1, null, position, $length);
66620 throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, this.sourceUrl).span$2(0, position, position + $length), t1));
66621 }
66622 };
66623 A.AsciiGlyphSet.prototype = {
66624 glyphOrAscii$2(glyph, alternative) {
66625 return alternative;
66626 },
66627 get$horizontalLine() {
66628 return "-";
66629 },
66630 get$verticalLine() {
66631 return "|";
66632 },
66633 get$topLeftCorner() {
66634 return ",";
66635 },
66636 get$bottomLeftCorner() {
66637 return "'";
66638 },
66639 get$cross() {
66640 return "+";
66641 },
66642 get$upEnd() {
66643 return "'";
66644 },
66645 get$downEnd() {
66646 return ",";
66647 },
66648 get$horizontalLineBold() {
66649 return "=";
66650 }
66651 };
66652 A.UnicodeGlyphSet.prototype = {
66653 glyphOrAscii$2(glyph, alternative) {
66654 return glyph;
66655 },
66656 get$horizontalLine() {
66657 return "\u2500";
66658 },
66659 get$verticalLine() {
66660 return "\u2502";
66661 },
66662 get$topLeftCorner() {
66663 return "\u250c";
66664 },
66665 get$bottomLeftCorner() {
66666 return "\u2514";
66667 },
66668 get$cross() {
66669 return "\u253c";
66670 },
66671 get$upEnd() {
66672 return "\u2575";
66673 },
66674 get$downEnd() {
66675 return "\u2577";
66676 },
66677 get$horizontalLineBold() {
66678 return "\u2501";
66679 }
66680 };
66681 A.Tuple2.prototype = {
66682 toString$0(_) {
66683 return "[" + A.S(this.item1) + ", " + A.S(this.item2) + "]";
66684 },
66685 $eq(_, other) {
66686 if (other == null)
66687 return false;
66688 return other instanceof A.Tuple2 && J.$eq$(other.item1, this.item1) && J.$eq$(other.item2, this.item2);
66689 },
66690 get$hashCode(_) {
66691 var t1 = J.get$hashCode$(this.item1),
66692 t2 = J.get$hashCode$(this.item2);
66693 return A._finish(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2)));
66694 }
66695 };
66696 A.Tuple3.prototype = {
66697 toString$0(_) {
66698 return "[" + this.item1.toString$0(0) + ", " + this.item2.toString$0(0) + ", " + this.item3.toString$0(0) + "]";
66699 },
66700 $eq(_, other) {
66701 if (other == null)
66702 return false;
66703 return other instanceof A.Tuple3 && other.item1 === this.item1 && other.item2.$eq(0, this.item2) && other.item3.$eq(0, this.item3);
66704 },
66705 get$hashCode(_) {
66706 var t3,
66707 t1 = A.Primitives_objectHashCode(this.item1),
66708 t2 = this.item2;
66709 t2 = t2.get$hashCode(t2);
66710 t3 = this.item3;
66711 t3 = t3.get$hashCode(t3);
66712 return A._finish(A._combine(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2)), B.JSInt_methods.get$hashCode(t3)));
66713 }
66714 };
66715 A.Tuple4.prototype = {
66716 toString$0(_) {
66717 var _this = this;
66718 return "[" + _this.item1.toString$0(0) + ", " + _this.item2 + ", " + _this.item3.toString$0(0) + ", " + A.S(_this.item4) + "]";
66719 },
66720 $eq(_, other) {
66721 var _this = this;
66722 if (other == null)
66723 return false;
66724 return other instanceof A.Tuple4 && other.item1.$eq(0, _this.item1) && other.item2 === _this.item2 && other.item3 === _this.item3 && J.$eq$(other.item4, _this.item4);
66725 },
66726 get$hashCode(_) {
66727 var t2, t3, t4, _this = this,
66728 t1 = _this.item1;
66729 t1 = t1.get$hashCode(t1);
66730 t2 = B.JSBool_methods.get$hashCode(_this.item2);
66731 t3 = A.Primitives_objectHashCode(_this.item3);
66732 t4 = J.get$hashCode$(_this.item4);
66733 return A._finish(A._combine(A._combine(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2)), B.JSInt_methods.get$hashCode(t3)), B.JSInt_methods.get$hashCode(t4)));
66734 }
66735 };
66736 A.WatchEvent.prototype = {
66737 toString$0(_) {
66738 return this.type.toString$0(0) + " " + this.path;
66739 }
66740 };
66741 A.ChangeType.prototype = {
66742 toString$0(_) {
66743 return this._watch_event$_name;
66744 }
66745 };
66746 A.SupportsAnything0.prototype = {
66747 toString$0(_) {
66748 return "(" + this.contents.toString$0(0) + ")";
66749 },
66750 $isAstNode0: 1,
66751 $isSupportsCondition0: 1,
66752 get$span(receiver) {
66753 return this.span;
66754 }
66755 };
66756 A.Argument0.prototype = {
66757 toString$0(_) {
66758 var t1 = this.defaultValue,
66759 t2 = this.name;
66760 return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
66761 },
66762 $isAstNode0: 1,
66763 get$span(receiver) {
66764 return this.span;
66765 }
66766 };
66767 A.ArgumentDeclaration0.prototype = {
66768 get$spanWithName() {
66769 var t3, t4,
66770 t1 = this.span,
66771 t2 = t1.file,
66772 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
66773 i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
66774 while (true) {
66775 if (i > 0) {
66776 t3 = B.JSString_methods.codeUnitAt$1(text, i);
66777 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
66778 } else
66779 t3 = false;
66780 if (!t3)
66781 break;
66782 --i;
66783 }
66784 t3 = B.JSString_methods.codeUnitAt$1(text, i);
66785 if (!(t3 === 95 || A.isAlphabetic1(t3) || t3 >= 128 || A.isDigit0(t3) || t3 === 45))
66786 return t1;
66787 --i;
66788 while (true) {
66789 if (i >= 0) {
66790 t3 = B.JSString_methods.codeUnitAt$1(text, i);
66791 if (t3 !== 95) {
66792 if (!(t3 >= 97 && t3 <= 122))
66793 t4 = t3 >= 65 && t3 <= 90;
66794 else
66795 t4 = true;
66796 t4 = t4 || t3 >= 128;
66797 } else
66798 t4 = true;
66799 if (!t4) {
66800 t4 = t3 >= 48 && t3 <= 57;
66801 t3 = t4 || t3 === 45;
66802 } else
66803 t3 = true;
66804 } else
66805 t3 = false;
66806 if (!t3)
66807 break;
66808 --i;
66809 }
66810 t3 = i + 1;
66811 t4 = B.JSString_methods.codeUnitAt$1(text, t3);
66812 if (!(t4 === 95 || A.isAlphabetic1(t4) || t4 >= 128))
66813 return t1;
66814 return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
66815 },
66816 verify$2(positional, names) {
66817 var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
66818 _s10_ = "invocation",
66819 _s8_ = "argument";
66820 for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
66821 argument = t1[i];
66822 if (i < positional) {
66823 t4 = argument.name;
66824 if (t3.containsKey$1(t4))
66825 throw A.wrapException(A.SassScriptException$0("Argument " + _this._argument_declaration$_originalArgumentName$1(t4) + string$.x20was_p));
66826 } else {
66827 t4 = argument.name;
66828 if (t3.containsKey$1(t4))
66829 ++namedUsed;
66830 else if (argument.defaultValue == null)
66831 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)));
66832 }
66833 }
66834 if (_this.restArgument != null)
66835 return;
66836 if (positional > t2) {
66837 t1 = "Only " + t2 + " ";
66838 throw A.wrapException(A.MultiSpanSassScriptException$0(t1 + (names.get$isEmpty(names) ? "" : "positional ") + 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)));
66839 }
66840 if (namedUsed < t3.get$length(t3)) {
66841 t2 = type$.String;
66842 unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
66843 unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
66844 throw A.wrapException(A.MultiSpanSassScriptException$0("No " + A.pluralize0(_s8_, unknownNames._collection$_length, null) + " named " + A.S(A.toSentence0(unknownNames.map$1$1(0, new A.ArgumentDeclaration_verify_closure2(), type$.Object), "or")) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, t2)));
66845 }
66846 },
66847 _argument_declaration$_originalArgumentName$1($name) {
66848 var t1, text, t2, _i, argument, t3, t4, end, _null = null;
66849 if ($name === this.restArgument) {
66850 t1 = this.span;
66851 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
66852 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, "."));
66853 }
66854 for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
66855 argument = t1[_i];
66856 if (argument.name === $name) {
66857 t1 = argument.defaultValue;
66858 t2 = argument.span;
66859 t3 = t2.file;
66860 t4 = t2._file$_start;
66861 t2 = t2._end;
66862 if (t1 == null) {
66863 t1 = t3._decodedChars;
66864 t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
66865 } else {
66866 t1 = t3._decodedChars;
66867 text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
66868 t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
66869 end = A._lastNonWhitespace0(t1, false);
66870 t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
66871 }
66872 return t1;
66873 }
66874 }
66875 throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
66876 },
66877 matches$2(positional, names) {
66878 var t1, t2, t3, namedUsed, i, argument;
66879 for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
66880 argument = t1[i];
66881 if (i < positional) {
66882 if (t3.containsKey$1(argument.name))
66883 return false;
66884 } else if (t3.containsKey$1(argument.name))
66885 ++namedUsed;
66886 else if (argument.defaultValue == null)
66887 return false;
66888 }
66889 if (this.restArgument != null)
66890 return true;
66891 if (positional > t2)
66892 return false;
66893 if (namedUsed < t3.get$length(t3))
66894 return false;
66895 return true;
66896 },
66897 toString$0(_) {
66898 var t2, t3, _i, arg, t4, t5,
66899 t1 = A._setArrayType([], type$.JSArray_String);
66900 for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i) {
66901 arg = t2[_i];
66902 t4 = arg.defaultValue;
66903 t5 = arg.name;
66904 t1.push(t4 == null ? t5 : t5 + ": " + t4.toString$0(0));
66905 }
66906 t2 = this.restArgument;
66907 if (t2 != null)
66908 t1.push(t2 + "...");
66909 return B.JSArray_methods.join$1(t1, ", ");
66910 },
66911 $isAstNode0: 1,
66912 get$span(receiver) {
66913 return this.span;
66914 }
66915 };
66916 A.ArgumentDeclaration_verify_closure1.prototype = {
66917 call$1(argument) {
66918 return argument.name;
66919 },
66920 $signature: 298
66921 };
66922 A.ArgumentDeclaration_verify_closure2.prototype = {
66923 call$1($name) {
66924 return "$" + $name;
66925 },
66926 $signature: 5
66927 };
66928 A.ArgumentInvocation0.prototype = {
66929 get$isEmpty(_) {
66930 var t1;
66931 if (this.positional.length === 0) {
66932 t1 = this.named;
66933 t1 = t1.get$isEmpty(t1) && this.rest == null;
66934 } else
66935 t1 = false;
66936 return t1;
66937 },
66938 toString$0(_) {
66939 var t2, t3, t4, _this = this,
66940 t1 = A.List_List$of(_this.positional, true, type$.Object);
66941 for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
66942 t4 = t3.get$current(t3);
66943 t1.push(t4 + ": " + A.S(t2.$index(0, t4)));
66944 }
66945 t2 = _this.rest;
66946 if (t2 != null)
66947 t1.push(t2.toString$0(0) + "...");
66948 t2 = _this.keywordRest;
66949 if (t2 != null)
66950 t1.push(t2.toString$0(0) + "...");
66951 return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
66952 },
66953 $isAstNode0: 1,
66954 get$span(receiver) {
66955 return this.span;
66956 }
66957 };
66958 A.argumentListClass_closure.prototype = {
66959 call$0() {
66960 var t1 = type$.JSClass,
66961 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
66962 A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
66963 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_null0).constructor), jsClass);
66964 return jsClass;
66965 },
66966 $signature: 23
66967 };
66968 A.argumentListClass__closure.prototype = {
66969 call$4($self, contents, keywords, separator) {
66970 var t3,
66971 t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
66972 t2 = type$.Value_2;
66973 t1 = J.cast$1$0$ax(t1, t2);
66974 t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
66975 return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
66976 },
66977 call$3($self, contents, keywords) {
66978 return this.call$4($self, contents, keywords, ",");
66979 },
66980 "call*": "call$4",
66981 $requiredArgCount: 3,
66982 $defaultValues() {
66983 return [","];
66984 },
66985 $signature: 300
66986 };
66987 A.argumentListClass__closure0.prototype = {
66988 call$1($self) {
66989 $self._argument_list$_wereKeywordsAccessed = true;
66990 return A.dartMapToImmutableMap($self._argument_list$_keywords);
66991 },
66992 $signature: 301
66993 };
66994 A.SassArgumentList0.prototype = {};
66995 A.JSArray1.prototype = {};
66996 A.AsyncImporter0.prototype = {};
66997 A.NodeToDartAsyncImporter.prototype = {
66998 canonicalize$1(_, url) {
66999 return this.canonicalize$body$NodeToDartAsyncImporter(0, url);
67000 },
67001 canonicalize$body$NodeToDartAsyncImporter(_, url) {
67002 var $async$goto = 0,
67003 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
67004 $async$returnValue, $async$self = this, t1, result;
67005 var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67006 if ($async$errorCode === 1)
67007 return A._asyncRethrow($async$result, $async$completer);
67008 while (true)
67009 switch ($async$goto) {
67010 case 0:
67011 // Function start
67012 result = $async$self._async0$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
67013 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
67014 break;
67015 case 3:
67016 // then
67017 $async$goto = 5;
67018 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
67019 case 5:
67020 // returning from await.
67021 result = $async$result;
67022 case 4:
67023 // join
67024 if (result == null) {
67025 $async$returnValue = null;
67026 // goto return
67027 $async$goto = 1;
67028 break;
67029 }
67030 t1 = self.URL;
67031 if (result instanceof t1) {
67032 $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
67033 // goto return
67034 $async$goto = 1;
67035 break;
67036 }
67037 A.jsThrow(new self.Error(string$.The_ca));
67038 case 1:
67039 // return
67040 return A._asyncReturn($async$returnValue, $async$completer);
67041 }
67042 });
67043 return A._asyncStartSync($async$canonicalize$1, $async$completer);
67044 },
67045 load$1(_, url) {
67046 return this.load$body$NodeToDartAsyncImporter(0, url);
67047 },
67048 load$body$NodeToDartAsyncImporter(_, url) {
67049 var $async$goto = 0,
67050 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult),
67051 $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
67052 var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67053 if ($async$errorCode === 1)
67054 return A._asyncRethrow($async$result, $async$completer);
67055 while (true)
67056 switch ($async$goto) {
67057 case 0:
67058 // Function start
67059 result = $async$self._load.call$1(new self.URL(url.toString$0(0)));
67060 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
67061 break;
67062 case 3:
67063 // then
67064 $async$goto = 5;
67065 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
67066 case 5:
67067 // returning from await.
67068 result = $async$result;
67069 case 4:
67070 // join
67071 if (result == null) {
67072 $async$returnValue = null;
67073 // goto return
67074 $async$goto = 1;
67075 break;
67076 }
67077 type$.NodeImporterResult._as(result);
67078 t1 = J.getInterceptor$x(result);
67079 contents = t1.get$contents(result);
67080 syntax = t1.get$syntax(result);
67081 if (contents == null || syntax == null)
67082 A.jsThrow(new self.Error(string$.The_lo));
67083 t2 = A.parseSyntax(syntax);
67084 $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
67085 // goto return
67086 $async$goto = 1;
67087 break;
67088 case 1:
67089 // return
67090 return A._asyncReturn($async$returnValue, $async$completer);
67091 }
67092 });
67093 return A._asyncStartSync($async$load$1, $async$completer);
67094 }
67095 };
67096 A.AsyncBuiltInCallable0.prototype = {
67097 callbackFor$2(positional, names) {
67098 return new A.Tuple2(this._async_built_in0$_arguments, this._async_built_in0$_callback, type$.Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value_2);
67099 },
67100 $isAsyncCallable0: 1,
67101 get$name(receiver) {
67102 return this.name;
67103 }
67104 };
67105 A.AsyncBuiltInCallable$mixin_closure0.prototype = {
67106 call$1($arguments) {
67107 return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
67108 },
67109 $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
67110 var $async$goto = 0,
67111 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
67112 $async$returnValue, $async$self = this;
67113 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67114 if ($async$errorCode === 1)
67115 return A._asyncRethrow($async$result, $async$completer);
67116 while (true)
67117 switch ($async$goto) {
67118 case 0:
67119 // Function start
67120 $async$goto = 3;
67121 return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
67122 case 3:
67123 // returning from await.
67124 $async$returnValue = B.C__SassNull0;
67125 // goto return
67126 $async$goto = 1;
67127 break;
67128 case 1:
67129 // return
67130 return A._asyncReturn($async$returnValue, $async$completer);
67131 }
67132 });
67133 return A._asyncStartSync($async$call$1, $async$completer);
67134 },
67135 $signature: 93
67136 };
67137 A._compileStylesheet_closure2.prototype = {
67138 call$1(url) {
67139 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);
67140 },
67141 $signature: 5
67142 };
67143 A.AsyncEnvironment0.prototype = {
67144 closure$0() {
67145 var t4, t5, t6, _this = this,
67146 t1 = _this._async_environment0$_forwardedModules,
67147 t2 = _this._async_environment0$_nestedForwardedModules,
67148 t3 = _this._async_environment0$_variables;
67149 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
67150 t4 = _this._async_environment0$_variableNodes;
67151 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
67152 t5 = _this._async_environment0$_functions;
67153 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
67154 t6 = _this._async_environment0$_mixins;
67155 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
67156 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);
67157 },
67158 addModule$3$namespace(module, nodeWithSpan, namespace) {
67159 var t1, t2, span, _this = this;
67160 if (namespace == null) {
67161 _this._async_environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
67162 _this._async_environment0$_allModules.push(module);
67163 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment0$_variables))); t1.moveNext$0();) {
67164 t2 = t1.get$current(t1);
67165 if (module.get$variables().containsKey$1(t2))
67166 throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".'));
67167 }
67168 } else {
67169 t1 = _this._async_environment0$_modules;
67170 if (t1.containsKey$1(namespace)) {
67171 t1 = _this._async_environment0$_namespaceNodes.$index(0, namespace);
67172 span = t1 == null ? null : t1.span;
67173 t1 = string$.There_ + namespace + '".';
67174 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67175 if (span != null)
67176 t2.$indexSet(0, span, "original @use");
67177 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @use", t2));
67178 }
67179 t1.$indexSet(0, namespace, module);
67180 _this._async_environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
67181 _this._async_environment0$_allModules.push(module);
67182 }
67183 },
67184 forwardModule$2(module, rule) {
67185 var view, t1, t2, _this = this,
67186 forwardedModules = _this._async_environment0$_forwardedModules;
67187 if (forwardedModules == null)
67188 forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67189 view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
67190 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
67191 t2 = t1.get$current(t1);
67192 _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
67193 _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
67194 _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
67195 }
67196 _this._async_environment0$_allModules.push(module);
67197 forwardedModules.$indexSet(0, view, rule);
67198 },
67199 _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
67200 var larger, smaller, t1, t2, $name, span;
67201 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
67202 larger = oldMembers;
67203 smaller = newMembers;
67204 } else {
67205 larger = newMembers;
67206 smaller = oldMembers;
67207 }
67208 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
67209 $name = t1.get$current(t1);
67210 if (!larger.containsKey$1($name))
67211 continue;
67212 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
67213 continue;
67214 if (t2)
67215 $name = "$" + $name;
67216 t1 = this._async_environment0$_forwardedModules;
67217 if (t1 == null)
67218 span = null;
67219 else {
67220 t1 = t1.$index(0, oldModule);
67221 span = t1 == null ? null : J.get$span$z(t1);
67222 }
67223 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
67224 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67225 if (span != null)
67226 t2.$indexSet(0, span, "original @forward");
67227 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @forward", t2));
67228 }
67229 },
67230 importForwards$1(module) {
67231 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
67232 forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
67233 if (forwarded == null)
67234 return;
67235 forwardedModules = _this._async_environment0$_forwardedModules;
67236 if (forwardedModules != null) {
67237 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67238 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment0$_globalModules; t2.moveNext$0();) {
67239 t4 = t2.get$current(t2);
67240 t5 = t4.key;
67241 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
67242 t1.$indexSet(0, t5, t4.value);
67243 }
67244 forwarded = t1;
67245 } else
67246 forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67247 t1 = forwarded.get$keys(forwarded);
67248 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
67249 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure2(), t2), t2._eval$1("Iterable.E"));
67250 t2 = forwarded.get$keys(forwarded);
67251 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
67252 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.AsyncEnvironment_importForwards_closure3(), t1), t1._eval$1("Iterable.E"));
67253 t1 = forwarded.get$keys(forwarded);
67254 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
67255 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure4(), t2), t2._eval$1("Iterable.E"));
67256 t1 = _this._async_environment0$_variables;
67257 t2 = t1.length;
67258 if (t2 === 1) {
67259 for (t2 = _this._async_environment0$_importedModules, t3 = t2.get$entries(t2).toList$0(0), t4 = t3.length, t5 = type$.AsyncCallable_2, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
67260 entry = t3[_i];
67261 module = entry.key;
67262 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
67263 if (shadowed != null) {
67264 t2.remove$1(0, module);
67265 t6 = shadowed.variables;
67266 if (t6.get$isEmpty(t6)) {
67267 t6 = shadowed.functions;
67268 if (t6.get$isEmpty(t6)) {
67269 t6 = shadowed.mixins;
67270 if (t6.get$isEmpty(t6)) {
67271 t6 = shadowed._shadowed_view0$_inner;
67272 t6 = t6.get$css(t6);
67273 t6 = J.get$isEmpty$asx(t6.get$children(t6));
67274 } else
67275 t6 = false;
67276 } else
67277 t6 = false;
67278 } else
67279 t6 = false;
67280 if (!t6)
67281 t2.$indexSet(0, shadowed, entry.value);
67282 }
67283 }
67284 for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
67285 entry = t3[_i];
67286 module = entry.key;
67287 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
67288 if (shadowed != null) {
67289 forwardedModules.remove$1(0, module);
67290 t6 = shadowed.variables;
67291 if (t6.get$isEmpty(t6)) {
67292 t6 = shadowed.functions;
67293 if (t6.get$isEmpty(t6)) {
67294 t6 = shadowed.mixins;
67295 if (t6.get$isEmpty(t6)) {
67296 t6 = shadowed._shadowed_view0$_inner;
67297 t6 = t6.get$css(t6);
67298 t6 = J.get$isEmpty$asx(t6.get$children(t6));
67299 } else
67300 t6 = false;
67301 } else
67302 t6 = false;
67303 } else
67304 t6 = false;
67305 if (!t6)
67306 forwardedModules.$indexSet(0, shadowed, entry.value);
67307 }
67308 }
67309 t2.addAll$1(0, forwarded);
67310 forwardedModules.addAll$1(0, forwarded);
67311 } else {
67312 t3 = _this._async_environment0$_nestedForwardedModules;
67313 if (t3 == null) {
67314 _length = t2 - 1;
67315 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
67316 for (t2 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
67317 _list[_i] = A._setArrayType([], t2);
67318 _this._async_environment0$_nestedForwardedModules = _list;
67319 t2 = _list;
67320 } else
67321 t2 = t3;
67322 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
67323 }
67324 for (t2 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = A._instanceType(t2)._precomputed1, t4 = _this._async_environment0$_variableIndices, t5 = _this._async_environment0$_variableNodes; t2.moveNext$0();) {
67325 t6 = t3._as(t2._collection$_current);
67326 t4.remove$1(0, t6);
67327 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
67328 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
67329 }
67330 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._async_environment0$_functionIndices, t4 = _this._async_environment0$_functions; t1.moveNext$0();) {
67331 t5 = t2._as(t1._collection$_current);
67332 t3.remove$1(0, t5);
67333 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
67334 }
67335 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._async_environment0$_mixinIndices, t4 = _this._async_environment0$_mixins; t1.moveNext$0();) {
67336 t5 = t2._as(t1._collection$_current);
67337 t3.remove$1(0, t5);
67338 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
67339 }
67340 },
67341 getVariable$2$namespace($name, namespace) {
67342 var t1, index, _this = this;
67343 if (namespace != null)
67344 return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
67345 if (_this._async_environment0$_lastVariableName === $name) {
67346 t1 = _this._async_environment0$_lastVariableIndex;
67347 t1.toString;
67348 t1 = J.$index$asx(_this._async_environment0$_variables[t1], $name);
67349 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67350 }
67351 t1 = _this._async_environment0$_variableIndices;
67352 index = t1.$index(0, $name);
67353 if (index != null) {
67354 _this._async_environment0$_lastVariableName = $name;
67355 _this._async_environment0$_lastVariableIndex = index;
67356 t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
67357 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67358 }
67359 index = _this._async_environment0$_variableIndex$1($name);
67360 if (index == null)
67361 return _this._async_environment0$_getVariableFromGlobalModule$1($name);
67362 _this._async_environment0$_lastVariableName = $name;
67363 _this._async_environment0$_lastVariableIndex = index;
67364 t1.$indexSet(0, $name, index);
67365 t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
67366 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67367 },
67368 getVariable$1($name) {
67369 return this.getVariable$2$namespace($name, null);
67370 },
67371 _async_environment0$_getVariableFromGlobalModule$1($name) {
67372 return this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
67373 },
67374 getVariableNode$2$namespace($name, namespace) {
67375 var t1, index, _this = this;
67376 if (namespace != null)
67377 return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
67378 if (_this._async_environment0$_lastVariableName === $name) {
67379 t1 = _this._async_environment0$_lastVariableIndex;
67380 t1.toString;
67381 t1 = J.$index$asx(_this._async_environment0$_variableNodes[t1], $name);
67382 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67383 }
67384 t1 = _this._async_environment0$_variableIndices;
67385 index = t1.$index(0, $name);
67386 if (index != null) {
67387 _this._async_environment0$_lastVariableName = $name;
67388 _this._async_environment0$_lastVariableIndex = index;
67389 t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
67390 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67391 }
67392 index = _this._async_environment0$_variableIndex$1($name);
67393 if (index == null)
67394 return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
67395 _this._async_environment0$_lastVariableName = $name;
67396 _this._async_environment0$_lastVariableIndex = index;
67397 t1.$indexSet(0, $name, index);
67398 t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
67399 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67400 },
67401 _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
67402 var t1, t2, value;
67403 for (t1 = this._async_environment0$_importedModules, t2 = this._async_environment0$_globalModules, t2 = t1.get$keys(t1).followedBy$1(0, t2.get$keys(t2)), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
67404 t1 = t2._currentIterator;
67405 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
67406 if (value != null)
67407 return value;
67408 }
67409 return null;
67410 },
67411 globalVariableExists$2$namespace($name, namespace) {
67412 if (namespace != null)
67413 return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
67414 if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
67415 return true;
67416 return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
67417 },
67418 globalVariableExists$1($name) {
67419 return this.globalVariableExists$2$namespace($name, null);
67420 },
67421 _async_environment0$_variableIndex$1($name) {
67422 var t1, i;
67423 for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
67424 if (t1[i].containsKey$1($name))
67425 return i;
67426 return null;
67427 },
67428 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
67429 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
67430 if (namespace != null) {
67431 _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
67432 return;
67433 }
67434 if (global || _this._async_environment0$_variables.length === 1) {
67435 _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
67436 t1 = _this._async_environment0$_variables;
67437 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
67438 moduleWithName = _this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name), type$.Module_AsyncCallable_2);
67439 if (moduleWithName != null) {
67440 moduleWithName.setVariable$3($name, value, nodeWithSpan);
67441 return;
67442 }
67443 }
67444 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
67445 J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
67446 return;
67447 }
67448 nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
67449 if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
67450 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
67451 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
67452 t5 = t4._as(t3.__internal$_current);
67453 if (t5.get$variables().containsKey$1($name)) {
67454 t5.setVariable$3($name, value, nodeWithSpan);
67455 return;
67456 }
67457 }
67458 if (_this._async_environment0$_lastVariableName === $name) {
67459 t1 = _this._async_environment0$_lastVariableIndex;
67460 t1.toString;
67461 index = t1;
67462 } else
67463 index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
67464 if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
67465 index = _this._async_environment0$_variables.length - 1;
67466 _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
67467 }
67468 _this._async_environment0$_lastVariableName = $name;
67469 _this._async_environment0$_lastVariableIndex = index;
67470 J.$indexSet$ax(_this._async_environment0$_variables[index], $name, value);
67471 J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
67472 },
67473 setVariable$4$global($name, value, nodeWithSpan, global) {
67474 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
67475 },
67476 setLocalVariable$3($name, value, nodeWithSpan) {
67477 var index, _this = this,
67478 t1 = _this._async_environment0$_variables,
67479 t2 = t1.length;
67480 _this._async_environment0$_lastVariableName = $name;
67481 index = _this._async_environment0$_lastVariableIndex = t2 - 1;
67482 _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
67483 J.$indexSet$ax(t1[index], $name, value);
67484 J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
67485 },
67486 getFunction$2$namespace($name, namespace) {
67487 var t1, index, _this = this;
67488 if (namespace != null) {
67489 t1 = _this._async_environment0$_getModule$1(namespace);
67490 return t1.get$functions(t1).$index(0, $name);
67491 }
67492 t1 = _this._async_environment0$_functionIndices;
67493 index = t1.$index(0, $name);
67494 if (index != null) {
67495 t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
67496 return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
67497 }
67498 index = _this._async_environment0$_functionIndex$1($name);
67499 if (index == null)
67500 return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
67501 t1.$indexSet(0, $name, index);
67502 t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
67503 return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
67504 },
67505 _async_environment0$_getFunctionFromGlobalModule$1($name) {
67506 return this._async_environment0$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name), type$.AsyncCallable_2);
67507 },
67508 _async_environment0$_functionIndex$1($name) {
67509 var t1, i;
67510 for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
67511 if (t1[i].containsKey$1($name))
67512 return i;
67513 return null;
67514 },
67515 getMixin$2$namespace($name, namespace) {
67516 var t1, index, _this = this;
67517 if (namespace != null)
67518 return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
67519 t1 = _this._async_environment0$_mixinIndices;
67520 index = t1.$index(0, $name);
67521 if (index != null) {
67522 t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
67523 return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
67524 }
67525 index = _this._async_environment0$_mixinIndex$1($name);
67526 if (index == null)
67527 return _this._async_environment0$_getMixinFromGlobalModule$1($name);
67528 t1.$indexSet(0, $name, index);
67529 t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
67530 return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
67531 },
67532 _async_environment0$_getMixinFromGlobalModule$1($name) {
67533 return this._async_environment0$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name), type$.AsyncCallable_2);
67534 },
67535 _async_environment0$_mixinIndex$1($name) {
67536 var t1, i;
67537 for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
67538 if (t1[i].containsKey$1($name))
67539 return i;
67540 return null;
67541 },
67542 withContent$2($content, callback) {
67543 return this.withContent$body$AsyncEnvironment0($content, callback);
67544 },
67545 withContent$body$AsyncEnvironment0($content, callback) {
67546 var $async$goto = 0,
67547 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
67548 $async$self = this, oldContent;
67549 var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67550 if ($async$errorCode === 1)
67551 return A._asyncRethrow($async$result, $async$completer);
67552 while (true)
67553 switch ($async$goto) {
67554 case 0:
67555 // Function start
67556 oldContent = $async$self._async_environment0$_content;
67557 $async$self._async_environment0$_content = $content;
67558 $async$goto = 2;
67559 return A._asyncAwait(callback.call$0(), $async$withContent$2);
67560 case 2:
67561 // returning from await.
67562 $async$self._async_environment0$_content = oldContent;
67563 // implicit return
67564 return A._asyncReturn(null, $async$completer);
67565 }
67566 });
67567 return A._asyncStartSync($async$withContent$2, $async$completer);
67568 },
67569 asMixin$1(callback) {
67570 var $async$goto = 0,
67571 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
67572 $async$self = this, oldInMixin;
67573 var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67574 if ($async$errorCode === 1)
67575 return A._asyncRethrow($async$result, $async$completer);
67576 while (true)
67577 switch ($async$goto) {
67578 case 0:
67579 // Function start
67580 oldInMixin = $async$self._async_environment0$_inMixin;
67581 $async$self._async_environment0$_inMixin = true;
67582 $async$goto = 2;
67583 return A._asyncAwait(callback.call$0(), $async$asMixin$1);
67584 case 2:
67585 // returning from await.
67586 $async$self._async_environment0$_inMixin = oldInMixin;
67587 // implicit return
67588 return A._asyncReturn(null, $async$completer);
67589 }
67590 });
67591 return A._asyncStartSync($async$asMixin$1, $async$completer);
67592 },
67593 scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
67594 return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
67595 },
67596 scope$1$1(callback, $T) {
67597 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
67598 },
67599 scope$1$2$when(callback, when, $T) {
67600 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
67601 },
67602 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
67603 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
67604 },
67605 scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
67606 var $async$goto = 0,
67607 $async$completer = A._makeAsyncAwaitCompleter($async$type),
67608 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5;
67609 var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67610 if ($async$errorCode === 1) {
67611 $async$currentError = $async$result;
67612 $async$goto = $async$handler;
67613 }
67614 while (true)
67615 switch ($async$goto) {
67616 case 0:
67617 // Function start
67618 semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
67619 wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
67620 $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
67621 $async$goto = !when ? 3 : 4;
67622 break;
67623 case 3:
67624 // then
67625 $async$handler = 5;
67626 $async$goto = 8;
67627 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
67628 case 8:
67629 // returning from await.
67630 t1 = $async$result;
67631 $async$returnValue = t1;
67632 $async$next = [1];
67633 // goto finally
67634 $async$goto = 6;
67635 break;
67636 $async$next.push(7);
67637 // goto finally
67638 $async$goto = 6;
67639 break;
67640 case 5:
67641 // uncaught
67642 $async$next = [2];
67643 case 6:
67644 // finally
67645 $async$handler = 2;
67646 $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
67647 // goto the next finally handler
67648 $async$goto = $async$next.pop();
67649 break;
67650 case 7:
67651 // after finally
67652 case 4:
67653 // join
67654 t1 = $async$self._async_environment0$_variables;
67655 t2 = type$.String;
67656 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
67657 B.JSArray_methods.add$1($async$self._async_environment0$_variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
67658 t3 = $async$self._async_environment0$_functions;
67659 t4 = type$.AsyncCallable_2;
67660 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
67661 t5 = $async$self._async_environment0$_mixins;
67662 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
67663 t4 = $async$self._async_environment0$_nestedForwardedModules;
67664 if (t4 != null)
67665 t4.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
67666 $async$handler = 9;
67667 $async$goto = 12;
67668 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
67669 case 12:
67670 // returning from await.
67671 t2 = $async$result;
67672 $async$returnValue = t2;
67673 $async$next = [1];
67674 // goto finally
67675 $async$goto = 10;
67676 break;
67677 $async$next.push(11);
67678 // goto finally
67679 $async$goto = 10;
67680 break;
67681 case 9:
67682 // uncaught
67683 $async$next = [2];
67684 case 10:
67685 // finally
67686 $async$handler = 2;
67687 $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
67688 $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
67689 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();) {
67690 $name = t1.get$current(t1);
67691 t2.remove$1(0, $name);
67692 }
67693 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t3))), t2 = $async$self._async_environment0$_functionIndices; t1.moveNext$0();) {
67694 name0 = t1.get$current(t1);
67695 t2.remove$1(0, name0);
67696 }
67697 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t5))), t2 = $async$self._async_environment0$_mixinIndices; t1.moveNext$0();) {
67698 name1 = t1.get$current(t1);
67699 t2.remove$1(0, name1);
67700 }
67701 t1 = $async$self._async_environment0$_nestedForwardedModules;
67702 if (t1 != null)
67703 t1.pop();
67704 // goto the next finally handler
67705 $async$goto = $async$next.pop();
67706 break;
67707 case 11:
67708 // after finally
67709 case 1:
67710 // return
67711 return A._asyncReturn($async$returnValue, $async$completer);
67712 case 2:
67713 // rethrow
67714 return A._asyncRethrow($async$currentError, $async$completer);
67715 }
67716 });
67717 return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
67718 },
67719 toImplicitConfiguration$0() {
67720 var t1, t2, i, values, nodes, t3, t4, t5, t6,
67721 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
67722 for (t1 = this._async_environment0$_variables, t2 = this._async_environment0$_variableNodes, i = 0; i < t1.length; ++i) {
67723 values = t1[i];
67724 nodes = t2[i];
67725 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
67726 t4 = t3.get$current(t3);
67727 t5 = t4.key;
67728 t4 = t4.value;
67729 t6 = nodes.$index(0, t5);
67730 t6.toString;
67731 configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
67732 }
67733 }
67734 return new A.Configuration0(configuration);
67735 },
67736 toModule$2(css, extensionStore) {
67737 return A._EnvironmentModule__EnvironmentModule2(this, css, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
67738 },
67739 toDummyModule$0() {
67740 return A._EnvironmentModule__EnvironmentModule2(this, new A.CssStylesheet0(new A.UnmodifiableListView(B.List_empty11, type$.UnmodifiableListView_CssNode_2), A.SourceFile$decoded(B.List_empty1, "<dummy module>").span$1(0, 0)), B.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure0()));
67741 },
67742 _async_environment0$_getModule$1(namespace) {
67743 var module = this._async_environment0$_modules.$index(0, namespace);
67744 if (module != null)
67745 return module;
67746 throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".'));
67747 },
67748 _async_environment0$_fromOneModule$1$3($name, type, callback, $T) {
67749 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
67750 nestedForwardedModules = this._async_environment0$_nestedForwardedModules;
67751 if (nestedForwardedModules != null)
67752 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
67753 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
67754 value = callback.call$1(t4._as(t3.__internal$_current));
67755 if (value != null)
67756 return value;
67757 }
67758 for (t1 = this._async_environment0$_importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
67759 value = callback.call$1(t1.get$current(t1));
67760 if (value != null)
67761 return value;
67762 }
67763 for (t1 = this._async_environment0$_globalModules, t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2), t3 = type$.AsyncCallable_2, value = null, identity = null; t2.moveNext$0();) {
67764 t4 = t2.get$current(t2);
67765 valueInModule = callback.call$1(t4);
67766 if (valueInModule == null)
67767 continue;
67768 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
67769 if (identityFromModule.$eq(0, identity))
67770 continue;
67771 if (value != null) {
67772 spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
67773 t2 = "This " + type + string$.x20is_av;
67774 t3 = type + " use";
67775 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67776 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
67777 t5 = t1.get$current(t1);
67778 if (t5 != null)
67779 t4.$indexSet(0, t5, "includes " + type);
67780 }
67781 throw A.wrapException(A.MultiSpanSassScriptException$0(t2, t3, t4));
67782 }
67783 identity = identityFromModule;
67784 value = valueInModule;
67785 }
67786 return value;
67787 }
67788 };
67789 A.AsyncEnvironment_importForwards_closure2.prototype = {
67790 call$1(module) {
67791 var t1 = module.get$variables();
67792 return t1.get$keys(t1);
67793 },
67794 $signature: 125
67795 };
67796 A.AsyncEnvironment_importForwards_closure3.prototype = {
67797 call$1(module) {
67798 var t1 = module.get$functions(module);
67799 return t1.get$keys(t1);
67800 },
67801 $signature: 125
67802 };
67803 A.AsyncEnvironment_importForwards_closure4.prototype = {
67804 call$1(module) {
67805 var t1 = module.get$mixins();
67806 return t1.get$keys(t1);
67807 },
67808 $signature: 125
67809 };
67810 A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
67811 call$1(module) {
67812 return module.get$variables().$index(0, this.name);
67813 },
67814 $signature: 304
67815 };
67816 A.AsyncEnvironment_setVariable_closure2.prototype = {
67817 call$0() {
67818 var t1 = this.$this;
67819 t1._async_environment0$_lastVariableName = this.name;
67820 return t1._async_environment0$_lastVariableIndex = 0;
67821 },
67822 $signature: 12
67823 };
67824 A.AsyncEnvironment_setVariable_closure3.prototype = {
67825 call$1(module) {
67826 return module.get$variables().containsKey$1(this.name) ? module : null;
67827 },
67828 $signature: 305
67829 };
67830 A.AsyncEnvironment_setVariable_closure4.prototype = {
67831 call$0() {
67832 var t1 = this.$this,
67833 t2 = t1._async_environment0$_variableIndex$1(this.name);
67834 return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
67835 },
67836 $signature: 12
67837 };
67838 A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
67839 call$1(module) {
67840 return module.get$functions(module).$index(0, this.name);
67841 },
67842 $signature: 154
67843 };
67844 A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
67845 call$1(module) {
67846 return module.get$mixins().$index(0, this.name);
67847 },
67848 $signature: 154
67849 };
67850 A.AsyncEnvironment_toModule_closure0.prototype = {
67851 call$1(modules) {
67852 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
67853 },
67854 $signature: 155
67855 };
67856 A.AsyncEnvironment_toDummyModule_closure0.prototype = {
67857 call$1(modules) {
67858 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
67859 },
67860 $signature: 155
67861 };
67862 A.AsyncEnvironment__fromOneModule_closure0.prototype = {
67863 call$1(entry) {
67864 return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure0(entry, this.T));
67865 },
67866 $signature: 308
67867 };
67868 A.AsyncEnvironment__fromOneModule__closure0.prototype = {
67869 call$1(_) {
67870 return J.get$span$z(this.entry.value);
67871 },
67872 $signature() {
67873 return this.T._eval$1("FileSpan(0)");
67874 }
67875 };
67876 A._EnvironmentModule2.prototype = {
67877 get$url(_) {
67878 var t1 = this.css;
67879 return t1.get$span(t1).file.url;
67880 },
67881 setVariable$3($name, value, nodeWithSpan) {
67882 var t1, t2,
67883 module = this._async_environment0$_modulesByVariable.$index(0, $name);
67884 if (module != null) {
67885 module.setVariable$3($name, value, nodeWithSpan);
67886 return;
67887 }
67888 t1 = this._async_environment0$_environment;
67889 t2 = t1._async_environment0$_variables;
67890 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
67891 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
67892 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
67893 J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
67894 return;
67895 },
67896 variableIdentity$1($name) {
67897 var module = this._async_environment0$_modulesByVariable.$index(0, $name);
67898 return module == null ? this : module.variableIdentity$1($name);
67899 },
67900 cloneCss$0() {
67901 var newCssAndExtensionStore, _this = this,
67902 t1 = _this.css;
67903 if (J.get$isEmpty$asx(t1.get$children(t1)))
67904 return _this;
67905 newCssAndExtensionStore = A.cloneCssStylesheet0(t1, _this.extensionStore);
67906 return A._EnvironmentModule$_2(_this._async_environment0$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._async_environment0$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
67907 },
67908 toString$0(_) {
67909 var t1 = this.css;
67910 if (t1.get$span(t1).file.url == null)
67911 t1 = "<unknown url>";
67912 else {
67913 t1 = t1.get$span(t1);
67914 t1 = $.$get$context().prettyUri$1(t1.file.url);
67915 }
67916 return t1;
67917 },
67918 $isModule0: 1,
67919 get$upstream() {
67920 return this.upstream;
67921 },
67922 get$variables() {
67923 return this.variables;
67924 },
67925 get$variableNodes() {
67926 return this.variableNodes;
67927 },
67928 get$functions(receiver) {
67929 return this.functions;
67930 },
67931 get$mixins() {
67932 return this.mixins;
67933 },
67934 get$extensionStore() {
67935 return this.extensionStore;
67936 },
67937 get$css(receiver) {
67938 return this.css;
67939 },
67940 get$transitivelyContainsCss() {
67941 return this.transitivelyContainsCss;
67942 },
67943 get$transitivelyContainsExtensions() {
67944 return this.transitivelyContainsExtensions;
67945 }
67946 };
67947 A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
67948 call$1(module) {
67949 return module.get$variables();
67950 },
67951 $signature: 309
67952 };
67953 A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
67954 call$1(module) {
67955 return module.get$variableNodes();
67956 },
67957 $signature: 310
67958 };
67959 A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
67960 call$1(module) {
67961 return module.get$functions(module);
67962 },
67963 $signature: 156
67964 };
67965 A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
67966 call$1(module) {
67967 return module.get$mixins();
67968 },
67969 $signature: 156
67970 };
67971 A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
67972 call$1(module) {
67973 return module.get$transitivelyContainsCss();
67974 },
67975 $signature: 124
67976 };
67977 A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
67978 call$1(module) {
67979 return module.get$transitivelyContainsExtensions();
67980 },
67981 $signature: 124
67982 };
67983 A._EvaluateVisitor2.prototype = {
67984 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
67985 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
67986 _s20_ = "$name, $module: null",
67987 _s9_ = "sass:meta",
67988 t1 = type$.JSArray_AsyncBuiltInCallable_2,
67989 metaFunctions = A._setArrayType([A.BuiltInCallable$function0("global-variable-exists", _s20_, new A._EvaluateVisitor_closure29(_this), _s9_), A.BuiltInCallable$function0("variable-exists", "$name", new A._EvaluateVisitor_closure30(_this), _s9_), A.BuiltInCallable$function0("function-exists", _s20_, new A._EvaluateVisitor_closure31(_this), _s9_), A.BuiltInCallable$function0("mixin-exists", _s20_, new A._EvaluateVisitor_closure32(_this), _s9_), A.BuiltInCallable$function0("content-exists", "", new A._EvaluateVisitor_closure33(_this), _s9_), A.BuiltInCallable$function0("module-variables", "$module", new A._EvaluateVisitor_closure34(_this), _s9_), A.BuiltInCallable$function0("module-functions", "$module", new A._EvaluateVisitor_closure35(_this), _s9_), A.BuiltInCallable$function0("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure36(_this), _s9_), new A.AsyncBuiltInCallable0("call", A.ScssParser$0("@function call($function, $args...) {", null, _s9_).parseArgumentDeclaration$0(), new A._EvaluateVisitor_closure37(_this))], t1),
67990 metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure38(_this), _s9_)], t1);
67991 t1 = type$.AsyncBuiltInCallable_2;
67992 t2 = A.List_List$of($.$get$global6(), true, t1);
67993 B.JSArray_methods.addAll$1(t2, $.$get$local0());
67994 B.JSArray_methods.addAll$1(t2, metaFunctions);
67995 metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
67996 for (t1 = A.List_List$of($.$get$coreModules0(), true, type$.BuiltInModule_AsyncBuiltInCallable_2), t1.push(metaModule), t2 = t1.length, t3 = _this._async_evaluate0$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
67997 module = t1[_i];
67998 t3.$indexSet(0, module.url, module);
67999 }
68000 t1 = A._setArrayType([], type$.JSArray_AsyncCallable_2);
68001 B.JSArray_methods.addAll$1(t1, functions);
68002 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
68003 B.JSArray_methods.addAll$1(t1, metaFunctions);
68004 for (t2 = t1.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
68005 $function = t1[_i];
68006 t4 = J.get$name$x($function);
68007 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
68008 }
68009 },
68010 run$2(_, importer, node) {
68011 return this.run$body$_EvaluateVisitor0(0, importer, node);
68012 },
68013 run$body$_EvaluateVisitor0(_, importer, node) {
68014 var $async$goto = 0,
68015 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
68016 $async$returnValue, $async$self = this, t1;
68017 var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68018 if ($async$errorCode === 1)
68019 return A._asyncRethrow($async$result, $async$completer);
68020 while (true)
68021 switch ($async$goto) {
68022 case 0:
68023 // Function start
68024 t1 = type$.nullable_Object;
68025 $async$returnValue = A.runZoned(new A._EvaluateVisitor_run_closure2($async$self, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext2($async$self, node)], t1, t1), type$.FutureOr_EvaluateResult_2);
68026 // goto return
68027 $async$goto = 1;
68028 break;
68029 case 1:
68030 // return
68031 return A._asyncReturn($async$returnValue, $async$completer);
68032 }
68033 });
68034 return A._asyncStartSync($async$run$2, $async$completer);
68035 },
68036 _async_evaluate0$_assertInModule$1$2(value, $name) {
68037 if (value != null)
68038 return value;
68039 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
68040 },
68041 _async_evaluate0$_assertInModule$2(value, $name) {
68042 return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
68043 },
68044 _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
68045 return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
68046 },
68047 _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
68048 return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
68049 },
68050 _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
68051 return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
68052 },
68053 _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
68054 var $async$goto = 0,
68055 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
68056 $async$returnValue, $async$self = this, t1, t2, builtInModule;
68057 var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68058 if ($async$errorCode === 1)
68059 return A._asyncRethrow($async$result, $async$completer);
68060 while (true)
68061 switch ($async$goto) {
68062 case 0:
68063 // Function start
68064 builtInModule = $async$self._async_evaluate0$_builtInModules.$index(0, url);
68065 $async$goto = builtInModule != null ? 3 : 4;
68066 break;
68067 case 3:
68068 // then
68069 if (configuration instanceof A.ExplicitConfiguration0) {
68070 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
68071 t2 = configuration.nodeWithSpan;
68072 throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
68073 }
68074 $async$goto = 5;
68075 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure5(callback, builtInModule), type$.void), $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors);
68076 case 5:
68077 // returning from await.
68078 // goto return
68079 $async$goto = 1;
68080 break;
68081 case 4:
68082 // join
68083 $async$goto = 6;
68084 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);
68085 case 6:
68086 // returning from await.
68087 case 1:
68088 // return
68089 return A._asyncReturn($async$returnValue, $async$completer);
68090 }
68091 });
68092 return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
68093 },
68094 _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
68095 return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
68096 },
68097 _async_evaluate0$_execute$2(importer, stylesheet) {
68098 return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
68099 },
68100 _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
68101 var $async$goto = 0,
68102 $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
68103 $async$returnValue, $async$self = this, currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
68104 var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68105 if ($async$errorCode === 1)
68106 return A._asyncRethrow($async$result, $async$completer);
68107 while (true)
68108 switch ($async$goto) {
68109 case 0:
68110 // Function start
68111 url = stylesheet.span.file.url;
68112 t1 = $async$self._async_evaluate0$_modules;
68113 alreadyLoaded = t1.$index(0, url);
68114 if (alreadyLoaded != null) {
68115 t1 = configuration == null;
68116 currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
68117 if (currentConfiguration instanceof A.ExplicitConfiguration0) {
68118 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
68119 t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
68120 existingSpan = t2 == null ? null : J.get$span$z(t2);
68121 if (t1) {
68122 t1 = currentConfiguration.nodeWithSpan;
68123 configurationSpan = t1.get$span(t1);
68124 } else
68125 configurationSpan = null;
68126 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
68127 if (existingSpan != null)
68128 t1.$indexSet(0, existingSpan, "original load");
68129 if (configurationSpan != null)
68130 t1.$indexSet(0, configurationSpan, "configuration");
68131 throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
68132 }
68133 $async$returnValue = alreadyLoaded;
68134 // goto return
68135 $async$goto = 1;
68136 break;
68137 }
68138 environment = A.AsyncEnvironment$0();
68139 css = A._Cell$();
68140 extensionStore = A.ExtensionStore$0();
68141 $async$goto = 3;
68142 return A._asyncAwait($async$self._async_evaluate0$_withEnvironment$1$2(environment, new A._EvaluateVisitor__execute_closure2($async$self, importer, stylesheet, extensionStore, configuration, css), type$.Null), $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan);
68143 case 3:
68144 // returning from await.
68145 module = environment.toModule$2(css._readLocal$0(), extensionStore);
68146 if (url != null) {
68147 t1.$indexSet(0, url, module);
68148 if (nodeWithSpan != null)
68149 $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
68150 }
68151 $async$returnValue = module;
68152 // goto return
68153 $async$goto = 1;
68154 break;
68155 case 1:
68156 // return
68157 return A._asyncReturn($async$returnValue, $async$completer);
68158 }
68159 });
68160 return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
68161 },
68162 _async_evaluate0$_addOutOfOrderImports$0() {
68163 var t1, t2, _this = this, _s5_ = "_root",
68164 _s13_ = "_endOfImports",
68165 outOfOrderImports = _this._async_evaluate0$_outOfOrderImports;
68166 if (outOfOrderImports == null)
68167 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
68168 t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
68169 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode_2);
68170 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
68171 t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
68172 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
68173 return t1;
68174 },
68175 _async_evaluate0$_combineCss$2$clone(root, clone) {
68176 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
68177 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure8())) {
68178 selectors = root.get$extensionStore().get$simpleSelectors();
68179 unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure9(selectors)));
68180 if (unsatisfiedExtension != null)
68181 _this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
68182 return root.get$css(root);
68183 }
68184 sortedModules = _this._async_evaluate0$_topologicalModules$1(root);
68185 if (clone) {
68186 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<AsyncCallable0>>");
68187 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure10(), t1), true, t1._eval$1("ListIterable.E"));
68188 }
68189 _this._async_evaluate0$_extendModules$1(sortedModules);
68190 t1 = type$.JSArray_CssNode_2;
68191 imports = A._setArrayType([], t1);
68192 css = A._setArrayType([], t1);
68193 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
68194 t3 = t2._as(t1.__internal$_current);
68195 t3 = t3.get$css(t3);
68196 statements = t3.get$children(t3);
68197 index = _this._async_evaluate0$_indexAfterImports$1(statements);
68198 t3 = J.getInterceptor$ax(statements);
68199 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
68200 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
68201 }
68202 t1 = B.JSArray_methods.$add(imports, css);
68203 t2 = root.get$css(root);
68204 return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
68205 },
68206 _async_evaluate0$_combineCss$1(root) {
68207 return this._async_evaluate0$_combineCss$2$clone(root, false);
68208 },
68209 _async_evaluate0$_extendModules$1(sortedModules) {
68210 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
68211 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
68212 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
68213 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
68214 t2 = t1.get$current(t1);
68215 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
68216 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
68217 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
68218 t3 = t2.get$extensionStore().get$addExtensions();
68219 if ($self != null)
68220 t3.call$1($self);
68221 t3 = t2.get$extensionStore();
68222 if (t3.get$isEmpty(t3))
68223 continue;
68224 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
68225 upstream = t3[_i];
68226 url = upstream.get$url(upstream);
68227 if (url == null)
68228 continue;
68229 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure6()), t2.get$extensionStore());
68230 }
68231 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
68232 }
68233 if (unsatisfiedExtensions._collection$_length !== 0)
68234 this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
68235 },
68236 _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
68237 throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
68238 },
68239 _async_evaluate0$_topologicalModules$1(root) {
68240 var t1 = type$.Module_AsyncCallable_2,
68241 sorted = A.QueueList$(null, t1);
68242 new A._EvaluateVisitor__topologicalModules_visitModule2(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
68243 return sorted;
68244 },
68245 _async_evaluate0$_indexAfterImports$1(statements) {
68246 var t1, t2, t3, lastImport, i, statement;
68247 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
68248 statement = t1.$index(statements, i);
68249 if (t3._is(statement))
68250 lastImport = i;
68251 else if (!t2._is(statement))
68252 break;
68253 }
68254 return lastImport + 1;
68255 },
68256 visitStylesheet$1(node) {
68257 return this.visitStylesheet$body$_EvaluateVisitor0(node);
68258 },
68259 visitStylesheet$body$_EvaluateVisitor0(node) {
68260 var $async$goto = 0,
68261 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68262 $async$returnValue, $async$self = this, t1, t2, _i;
68263 var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68264 if ($async$errorCode === 1)
68265 return A._asyncRethrow($async$result, $async$completer);
68266 while (true)
68267 switch ($async$goto) {
68268 case 0:
68269 // Function start
68270 t1 = node.children, t2 = t1.length, _i = 0;
68271 case 3:
68272 // for condition
68273 if (!(_i < t2)) {
68274 // goto after for
68275 $async$goto = 5;
68276 break;
68277 }
68278 $async$goto = 6;
68279 return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
68280 case 6:
68281 // returning from await.
68282 case 4:
68283 // for update
68284 ++_i;
68285 // goto for condition
68286 $async$goto = 3;
68287 break;
68288 case 5:
68289 // after for
68290 $async$returnValue = null;
68291 // goto return
68292 $async$goto = 1;
68293 break;
68294 case 1:
68295 // return
68296 return A._asyncReturn($async$returnValue, $async$completer);
68297 }
68298 });
68299 return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
68300 },
68301 visitAtRootRule$1(node) {
68302 return this.visitAtRootRule$body$_EvaluateVisitor0(node);
68303 },
68304 visitAtRootRule$body$_EvaluateVisitor0(node) {
68305 var $async$goto = 0,
68306 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68307 $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
68308 var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68309 if ($async$errorCode === 1)
68310 return A._asyncRethrow($async$result, $async$completer);
68311 while (true)
68312 switch ($async$goto) {
68313 case 0:
68314 // Function start
68315 unparsedQuery = node.query;
68316 $async$goto = unparsedQuery != null ? 3 : 5;
68317 break;
68318 case 3:
68319 // then
68320 $async$temp1 = unparsedQuery;
68321 $async$temp2 = A;
68322 $async$goto = 6;
68323 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
68324 case 6:
68325 // returning from await.
68326 $async$result = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure8($async$self, $async$result));
68327 // goto join
68328 $async$goto = 4;
68329 break;
68330 case 5:
68331 // else
68332 $async$result = B.AtRootQuery_UsS0;
68333 case 4:
68334 // join
68335 query = $async$result;
68336 $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
68337 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
68338 for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
68339 if (!query.excludes$1($parent))
68340 included.push($parent);
68341 grandparent = $parent._node1$_parent;
68342 if (grandparent == null)
68343 throw A.wrapException(A.StateError$(string$.CssNod));
68344 }
68345 root = $async$self._async_evaluate0$_trimIncluded$1(included);
68346 $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
68347 break;
68348 case 7:
68349 // then
68350 $async$goto = 9;
68351 return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure9($async$self, node), node.hasDeclarations, type$.Null), $async$visitAtRootRule$1);
68352 case 9:
68353 // returning from await.
68354 $async$returnValue = null;
68355 // goto return
68356 $async$goto = 1;
68357 break;
68358 case 8:
68359 // join
68360 if (included.length !== 0) {
68361 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
68362 for (t1 = A.SubListIterable$(included, 1, null, type$.ModifiableCssParentNode_2), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
68363 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
68364 copy.addChild$1(outerCopy);
68365 }
68366 root.addChild$1(outerCopy);
68367 } else
68368 innerCopy = root;
68369 $async$goto = 10;
68370 return A._asyncAwait($async$self._async_evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure10($async$self, node)), $async$visitAtRootRule$1);
68371 case 10:
68372 // returning from await.
68373 $async$returnValue = null;
68374 // goto return
68375 $async$goto = 1;
68376 break;
68377 case 1:
68378 // return
68379 return A._asyncReturn($async$returnValue, $async$completer);
68380 }
68381 });
68382 return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
68383 },
68384 _async_evaluate0$_trimIncluded$1(nodes) {
68385 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
68386 _s22_ = " to be an ancestor of ";
68387 if (nodes.length === 0)
68388 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
68389 $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
68390 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
68391 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
68392 grandparent = $parent._node1$_parent;
68393 if (grandparent == null)
68394 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
68395 }
68396 if (innermostContiguous == null)
68397 innermostContiguous = i;
68398 grandparent = $parent._node1$_parent;
68399 if (grandparent == null)
68400 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
68401 }
68402 if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
68403 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
68404 innermostContiguous.toString;
68405 root = nodes[innermostContiguous];
68406 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
68407 return root;
68408 },
68409 _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
68410 var _this = this,
68411 scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
68412 t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
68413 if (t1 !== query.include)
68414 scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
68415 if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
68416 scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
68417 if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
68418 scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
68419 return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
68420 },
68421 visitContentBlock$1(node) {
68422 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
68423 },
68424 visitContentRule$1(node) {
68425 return this.visitContentRule$body$_EvaluateVisitor0(node);
68426 },
68427 visitContentRule$body$_EvaluateVisitor0(node) {
68428 var $async$goto = 0,
68429 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68430 $async$returnValue, $async$self = this, $content;
68431 var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68432 if ($async$errorCode === 1)
68433 return A._asyncRethrow($async$result, $async$completer);
68434 while (true)
68435 switch ($async$goto) {
68436 case 0:
68437 // Function start
68438 $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
68439 if ($content == null) {
68440 $async$returnValue = null;
68441 // goto return
68442 $async$goto = 1;
68443 break;
68444 }
68445 $async$goto = 3;
68446 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);
68447 case 3:
68448 // returning from await.
68449 $async$returnValue = null;
68450 // goto return
68451 $async$goto = 1;
68452 break;
68453 case 1:
68454 // return
68455 return A._asyncReturn($async$returnValue, $async$completer);
68456 }
68457 });
68458 return A._asyncStartSync($async$visitContentRule$1, $async$completer);
68459 },
68460 visitDebugRule$1(node) {
68461 return this.visitDebugRule$body$_EvaluateVisitor0(node);
68462 },
68463 visitDebugRule$body$_EvaluateVisitor0(node) {
68464 var $async$goto = 0,
68465 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68466 $async$returnValue, $async$self = this, value, t1;
68467 var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68468 if ($async$errorCode === 1)
68469 return A._asyncRethrow($async$result, $async$completer);
68470 while (true)
68471 switch ($async$goto) {
68472 case 0:
68473 // Function start
68474 $async$goto = 3;
68475 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
68476 case 3:
68477 // returning from await.
68478 value = $async$result;
68479 t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
68480 $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
68481 $async$returnValue = null;
68482 // goto return
68483 $async$goto = 1;
68484 break;
68485 case 1:
68486 // return
68487 return A._asyncReturn($async$returnValue, $async$completer);
68488 }
68489 });
68490 return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
68491 },
68492 visitDeclaration$1(node) {
68493 return this.visitDeclaration$body$_EvaluateVisitor0(node);
68494 },
68495 visitDeclaration$body$_EvaluateVisitor0(node) {
68496 var $async$goto = 0,
68497 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68498 $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
68499 var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68500 if ($async$errorCode === 1)
68501 return A._asyncRethrow($async$result, $async$completer);
68502 while (true)
68503 switch ($async$goto) {
68504 case 0:
68505 // Function start
68506 if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
68507 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
68508 t1 = node.name;
68509 $async$goto = 3;
68510 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
68511 case 3:
68512 // returning from await.
68513 $name = $async$result;
68514 t2 = $async$self._async_evaluate0$_declarationName;
68515 if (t2 != null)
68516 $name = new A.CssValue0(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String_2);
68517 t2 = node.value;
68518 $async$goto = 4;
68519 return A._asyncAwait(A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure5($async$self)), $async$visitDeclaration$1);
68520 case 4:
68521 // returning from await.
68522 cssValue = $async$result;
68523 t3 = cssValue != null;
68524 if (t3)
68525 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
68526 else
68527 t4 = false;
68528 if (t4) {
68529 t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
68530 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
68531 if ($async$self._async_evaluate0$_sourceMap) {
68532 t2 = A.NullableExtension_andThen0(t2, $async$self.get$_async_evaluate0$_expressionNode());
68533 t2 = t2 == null ? null : J.get$span$z(t2);
68534 } else
68535 t2 = null;
68536 t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
68537 } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
68538 throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
68539 children = node.children;
68540 $async$goto = children != null ? 5 : 6;
68541 break;
68542 case 5:
68543 // then
68544 oldDeclarationName = $async$self._async_evaluate0$_declarationName;
68545 $async$self._async_evaluate0$_declarationName = $name.get$value($name);
68546 $async$goto = 7;
68547 return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure6($async$self, children), node.hasDeclarations, type$.Null), $async$visitDeclaration$1);
68548 case 7:
68549 // returning from await.
68550 $async$self._async_evaluate0$_declarationName = oldDeclarationName;
68551 case 6:
68552 // join
68553 $async$returnValue = null;
68554 // goto return
68555 $async$goto = 1;
68556 break;
68557 case 1:
68558 // return
68559 return A._asyncReturn($async$returnValue, $async$completer);
68560 }
68561 });
68562 return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
68563 },
68564 visitEachRule$1(node) {
68565 return this.visitEachRule$body$_EvaluateVisitor0(node);
68566 },
68567 visitEachRule$body$_EvaluateVisitor0(node) {
68568 var $async$goto = 0,
68569 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68570 $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
68571 var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68572 if ($async$errorCode === 1)
68573 return A._asyncRethrow($async$result, $async$completer);
68574 while (true)
68575 switch ($async$goto) {
68576 case 0:
68577 // Function start
68578 t1 = node.list;
68579 $async$goto = 3;
68580 return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
68581 case 3:
68582 // returning from await.
68583 list = $async$result;
68584 nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
68585 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure8($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure9($async$self, node, nodeWithSpan);
68586 $async$returnValue = $async$self._async_evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure10($async$self, list, setVariables, node), true, type$.nullable_Value_2);
68587 // goto return
68588 $async$goto = 1;
68589 break;
68590 case 1:
68591 // return
68592 return A._asyncReturn($async$returnValue, $async$completer);
68593 }
68594 });
68595 return A._asyncStartSync($async$visitEachRule$1, $async$completer);
68596 },
68597 _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
68598 var i,
68599 list = value.get$asList(),
68600 t1 = variables.length,
68601 minLength = Math.min(t1, list.length);
68602 for (i = 0; i < minLength; ++i)
68603 this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
68604 for (i = minLength; i < t1; ++i)
68605 this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
68606 },
68607 visitErrorRule$1(node) {
68608 return this.visitErrorRule$body$_EvaluateVisitor0(node);
68609 },
68610 visitErrorRule$body$_EvaluateVisitor0(node) {
68611 var $async$goto = 0,
68612 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
68613 $async$self = this, $async$temp1, $async$temp2;
68614 var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68615 if ($async$errorCode === 1)
68616 return A._asyncRethrow($async$result, $async$completer);
68617 while (true)
68618 switch ($async$goto) {
68619 case 0:
68620 // Function start
68621 $async$temp1 = A;
68622 $async$temp2 = J;
68623 $async$goto = 2;
68624 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
68625 case 2:
68626 // returning from await.
68627 throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
68628 // implicit return
68629 return A._asyncReturn(null, $async$completer);
68630 }
68631 });
68632 return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
68633 },
68634 visitExtendRule$1(node) {
68635 return this.visitExtendRule$body$_EvaluateVisitor0(node);
68636 },
68637 visitExtendRule$body$_EvaluateVisitor0(node) {
68638 var $async$goto = 0,
68639 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68640 $async$returnValue, $async$self = this, targetText, t1, t2, t3, _i, t4, styleRule;
68641 var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68642 if ($async$errorCode === 1)
68643 return A._asyncRethrow($async$result, $async$completer);
68644 while (true)
68645 switch ($async$goto) {
68646 case 0:
68647 // Function start
68648 styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
68649 if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
68650 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
68651 $async$goto = 3;
68652 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
68653 case 3:
68654 // returning from await.
68655 targetText = $async$result;
68656 for (t1 = $async$self._async_evaluate0$_adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure2($async$self, targetText)).components, t2 = t1.length, t3 = type$.CompoundSelector_2, _i = 0; _i < t2; ++_i) {
68657 t4 = t1[_i].components;
68658 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector0))
68659 throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.get$span(targetText)));
68660 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
68661 if (t4.length !== 1)
68662 throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
68663 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, $async$self._async_evaluate0$_mediaQueries);
68664 }
68665 $async$returnValue = null;
68666 // goto return
68667 $async$goto = 1;
68668 break;
68669 case 1:
68670 // return
68671 return A._asyncReturn($async$returnValue, $async$completer);
68672 }
68673 });
68674 return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
68675 },
68676 visitAtRule$1(node) {
68677 return this.visitAtRule$body$_EvaluateVisitor0(node);
68678 },
68679 visitAtRule$body$_EvaluateVisitor0(node) {
68680 var $async$goto = 0,
68681 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68682 $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
68683 var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68684 if ($async$errorCode === 1)
68685 return A._asyncRethrow($async$result, $async$completer);
68686 while (true)
68687 switch ($async$goto) {
68688 case 0:
68689 // Function start
68690 if ($async$self._async_evaluate0$_declarationName != null)
68691 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
68692 $async$goto = 3;
68693 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
68694 case 3:
68695 // returning from await.
68696 $name = $async$result;
68697 $async$goto = 4;
68698 return A._asyncAwait(A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self)), $async$visitAtRule$1);
68699 case 4:
68700 // returning from await.
68701 value = $async$result;
68702 children = node.children;
68703 if (children == null) {
68704 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
68705 $async$returnValue = null;
68706 // goto return
68707 $async$goto = 1;
68708 break;
68709 }
68710 wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
68711 wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
68712 if (A.unvendor0($name.get$value($name)) === "keyframes")
68713 $async$self._async_evaluate0$_inKeyframes = true;
68714 else
68715 $async$self._async_evaluate0$_inUnknownAtRule = true;
68716 $async$goto = 5;
68717 return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure9($async$self, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure10(), type$.ModifiableCssAtRule_2, type$.Null), $async$visitAtRule$1);
68718 case 5:
68719 // returning from await.
68720 $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
68721 $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
68722 $async$returnValue = null;
68723 // goto return
68724 $async$goto = 1;
68725 break;
68726 case 1:
68727 // return
68728 return A._asyncReturn($async$returnValue, $async$completer);
68729 }
68730 });
68731 return A._asyncStartSync($async$visitAtRule$1, $async$completer);
68732 },
68733 visitForRule$1(node) {
68734 return this.visitForRule$body$_EvaluateVisitor0(node);
68735 },
68736 visitForRule$body$_EvaluateVisitor0(node) {
68737 var $async$goto = 0,
68738 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68739 $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
68740 var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68741 if ($async$errorCode === 1)
68742 return A._asyncRethrow($async$result, $async$completer);
68743 while (true)
68744 switch ($async$goto) {
68745 case 0:
68746 // Function start
68747 t1 = {};
68748 t2 = node.from;
68749 t3 = type$.SassNumber_2;
68750 $async$goto = 3;
68751 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
68752 case 3:
68753 // returning from await.
68754 fromNumber = $async$result;
68755 t4 = node.to;
68756 $async$goto = 4;
68757 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
68758 case 4:
68759 // returning from await.
68760 toNumber = $async$result;
68761 from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
68762 to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
68763 direction = from > to ? -1 : 1;
68764 if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
68765 $async$returnValue = null;
68766 // goto return
68767 $async$goto = 1;
68768 break;
68769 }
68770 $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);
68771 // goto return
68772 $async$goto = 1;
68773 break;
68774 case 1:
68775 // return
68776 return A._asyncReturn($async$returnValue, $async$completer);
68777 }
68778 });
68779 return A._asyncStartSync($async$visitForRule$1, $async$completer);
68780 },
68781 visitForwardRule$1(node) {
68782 return this.visitForwardRule$body$_EvaluateVisitor0(node);
68783 },
68784 visitForwardRule$body$_EvaluateVisitor0(node) {
68785 var $async$goto = 0,
68786 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68787 $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
68788 var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68789 if ($async$errorCode === 1)
68790 return A._asyncRethrow($async$result, $async$completer);
68791 while (true)
68792 switch ($async$goto) {
68793 case 0:
68794 // Function start
68795 oldConfiguration = $async$self._async_evaluate0$_configuration;
68796 adjustedConfiguration = oldConfiguration.throughForward$1(node);
68797 t1 = node.configuration;
68798 t2 = t1.length;
68799 t3 = node.url;
68800 $async$goto = t2 !== 0 ? 3 : 5;
68801 break;
68802 case 3:
68803 // then
68804 $async$goto = 6;
68805 return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
68806 case 6:
68807 // returning from await.
68808 newConfiguration = $async$result;
68809 $async$goto = 7;
68810 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);
68811 case 7:
68812 // returning from await.
68813 t3 = type$.String;
68814 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
68815 for (_i = 0; _i < t2; ++_i) {
68816 variable = t1[_i];
68817 if (!variable.isGuarded)
68818 t4.add$1(0, variable.name);
68819 }
68820 $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
68821 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
68822 for (_i = 0; _i < t2; ++_i)
68823 t3.add$1(0, t1[_i].name);
68824 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) {
68825 $name = t2[_i];
68826 if (!t3.contains$1(0, $name))
68827 if (!t1.get$isEmpty(t1))
68828 t1.remove$1(0, $name);
68829 }
68830 $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
68831 // goto join
68832 $async$goto = 4;
68833 break;
68834 case 5:
68835 // else
68836 $async$self._async_evaluate0$_configuration = adjustedConfiguration;
68837 $async$goto = 8;
68838 return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
68839 case 8:
68840 // returning from await.
68841 $async$self._async_evaluate0$_configuration = oldConfiguration;
68842 case 4:
68843 // join
68844 $async$returnValue = null;
68845 // goto return
68846 $async$goto = 1;
68847 break;
68848 case 1:
68849 // return
68850 return A._asyncReturn($async$returnValue, $async$completer);
68851 }
68852 });
68853 return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
68854 },
68855 _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
68856 return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
68857 },
68858 _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
68859 var $async$goto = 0,
68860 $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
68861 $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
68862 var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68863 if ($async$errorCode === 1)
68864 return A._asyncRethrow($async$result, $async$completer);
68865 while (true)
68866 switch ($async$goto) {
68867 case 0:
68868 // Function start
68869 t1 = configuration._configuration$_values;
68870 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
68871 t2 = node.configuration, t3 = t2.length, _i = 0;
68872 case 3:
68873 // for condition
68874 if (!(_i < t3)) {
68875 // goto after for
68876 $async$goto = 5;
68877 break;
68878 }
68879 variable = t2[_i];
68880 if (variable.isGuarded) {
68881 t4 = variable.name;
68882 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
68883 if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
68884 newValues.$indexSet(0, t4, t5);
68885 // goto for update
68886 $async$goto = 4;
68887 break;
68888 }
68889 }
68890 t4 = variable.expression;
68891 variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t4);
68892 $async$temp1 = newValues;
68893 $async$temp2 = variable.name;
68894 $async$temp3 = A;
68895 $async$goto = 6;
68896 return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate0$_addForwardConfiguration$2);
68897 case 6:
68898 // returning from await.
68899 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
68900 case 4:
68901 // for update
68902 ++_i;
68903 // goto for condition
68904 $async$goto = 3;
68905 break;
68906 case 5:
68907 // after for
68908 if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
68909 $async$returnValue = new A.ExplicitConfiguration0(node, newValues);
68910 // goto return
68911 $async$goto = 1;
68912 break;
68913 } else {
68914 $async$returnValue = new A.Configuration0(newValues);
68915 // goto return
68916 $async$goto = 1;
68917 break;
68918 }
68919 case 1:
68920 // return
68921 return A._asyncReturn($async$returnValue, $async$completer);
68922 }
68923 });
68924 return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
68925 },
68926 _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
68927 var t1, t2, t3, t4, _i, $name;
68928 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) {
68929 $name = t2[_i];
68930 if (except.contains$1(0, $name))
68931 continue;
68932 if (!t4.containsKey$1($name))
68933 if (!t1.get$isEmpty(t1))
68934 t1.remove$1(0, $name);
68935 }
68936 },
68937 _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
68938 var t1, entry;
68939 if (!(configuration instanceof A.ExplicitConfiguration0))
68940 return;
68941 t1 = configuration._configuration$_values;
68942 if (t1.get$isEmpty(t1))
68943 return;
68944 t1 = t1.get$entries(t1);
68945 entry = t1.get$first(t1);
68946 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
68947 throw A.wrapException(this._async_evaluate0$_exception$2(t1, entry.value.configurationSpan));
68948 },
68949 _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
68950 return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
68951 },
68952 visitFunctionRule$1(node) {
68953 return this.visitFunctionRule$body$_EvaluateVisitor0(node);
68954 },
68955 visitFunctionRule$body$_EvaluateVisitor0(node) {
68956 var $async$goto = 0,
68957 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68958 $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
68959 var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68960 if ($async$errorCode === 1)
68961 return A._asyncRethrow($async$result, $async$completer);
68962 while (true)
68963 switch ($async$goto) {
68964 case 0:
68965 // Function start
68966 t1 = $async$self._async_evaluate0$_environment;
68967 t2 = t1.closure$0();
68968 t3 = $async$self._async_evaluate0$_inDependency;
68969 t4 = t1._async_environment0$_functions;
68970 index = t4.length - 1;
68971 t5 = node.name;
68972 t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
68973 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
68974 $async$returnValue = null;
68975 // goto return
68976 $async$goto = 1;
68977 break;
68978 case 1:
68979 // return
68980 return A._asyncReturn($async$returnValue, $async$completer);
68981 }
68982 });
68983 return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
68984 },
68985 visitIfRule$1(node) {
68986 return this.visitIfRule$body$_EvaluateVisitor0(node);
68987 },
68988 visitIfRule$body$_EvaluateVisitor0(node) {
68989 var $async$goto = 0,
68990 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68991 $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
68992 var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68993 if ($async$errorCode === 1)
68994 return A._asyncRethrow($async$result, $async$completer);
68995 while (true)
68996 switch ($async$goto) {
68997 case 0:
68998 // Function start
68999 _box_0 = {};
69000 _box_0.clause = node.lastClause;
69001 t1 = node.clauses, t2 = t1.length, _i = 0;
69002 case 3:
69003 // for condition
69004 if (!(_i < t2)) {
69005 // goto after for
69006 $async$goto = 5;
69007 break;
69008 }
69009 clauseToCheck = t1[_i];
69010 $async$goto = 6;
69011 return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
69012 case 6:
69013 // returning from await.
69014 if ($async$result.get$isTruthy()) {
69015 _box_0.clause = clauseToCheck;
69016 // goto after for
69017 $async$goto = 5;
69018 break;
69019 }
69020 case 4:
69021 // for update
69022 ++_i;
69023 // goto for condition
69024 $async$goto = 3;
69025 break;
69026 case 5:
69027 // after for
69028 t1 = _box_0.clause;
69029 if (t1 == null) {
69030 $async$returnValue = null;
69031 // goto return
69032 $async$goto = 1;
69033 break;
69034 }
69035 $async$goto = 7;
69036 return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure2(_box_0, $async$self), true, t1.hasDeclarations, type$.nullable_Value_2), $async$visitIfRule$1);
69037 case 7:
69038 // returning from await.
69039 $async$returnValue = $async$result;
69040 // goto return
69041 $async$goto = 1;
69042 break;
69043 case 1:
69044 // return
69045 return A._asyncReturn($async$returnValue, $async$completer);
69046 }
69047 });
69048 return A._asyncStartSync($async$visitIfRule$1, $async$completer);
69049 },
69050 visitImportRule$1(node) {
69051 return this.visitImportRule$body$_EvaluateVisitor0(node);
69052 },
69053 visitImportRule$body$_EvaluateVisitor0(node) {
69054 var $async$goto = 0,
69055 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69056 $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
69057 var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69058 if ($async$errorCode === 1)
69059 return A._asyncRethrow($async$result, $async$completer);
69060 while (true)
69061 switch ($async$goto) {
69062 case 0:
69063 // Function start
69064 t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
69065 case 3:
69066 // for condition
69067 if (!(_i < t2)) {
69068 // goto after for
69069 $async$goto = 5;
69070 break;
69071 }
69072 $import = t1[_i];
69073 $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
69074 break;
69075 case 6:
69076 // then
69077 $async$goto = 9;
69078 return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
69079 case 9:
69080 // returning from await.
69081 // goto join
69082 $async$goto = 7;
69083 break;
69084 case 8:
69085 // else
69086 $async$goto = 10;
69087 return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
69088 case 10:
69089 // returning from await.
69090 case 7:
69091 // join
69092 case 4:
69093 // for update
69094 ++_i;
69095 // goto for condition
69096 $async$goto = 3;
69097 break;
69098 case 5:
69099 // after for
69100 $async$returnValue = null;
69101 // goto return
69102 $async$goto = 1;
69103 break;
69104 case 1:
69105 // return
69106 return A._asyncReturn($async$returnValue, $async$completer);
69107 }
69108 });
69109 return A._asyncStartSync($async$visitImportRule$1, $async$completer);
69110 },
69111 _async_evaluate0$_visitDynamicImport$1($import) {
69112 return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
69113 },
69114 _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
69115 return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
69116 },
69117 _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
69118 return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
69119 },
69120 _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
69121 return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
69122 },
69123 _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
69124 var $async$goto = 0,
69125 $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet_2),
69126 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
69127 var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69128 if ($async$errorCode === 1) {
69129 $async$currentError = $async$result;
69130 $async$goto = $async$handler;
69131 }
69132 while (true)
69133 switch ($async$goto) {
69134 case 0:
69135 // Function start
69136 baseUrl = baseUrl;
69137 $async$handler = 4;
69138 $async$self._async_evaluate0$_importSpan = span;
69139 importCache = $async$self._async_evaluate0$_importCache;
69140 $async$goto = importCache != null ? 7 : 9;
69141 break;
69142 case 7:
69143 // then
69144 if (baseUrl == null)
69145 baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
69146 $async$goto = 10;
69147 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);
69148 case 10:
69149 // returning from await.
69150 tuple = $async$result;
69151 $async$goto = tuple != null ? 11 : 12;
69152 break;
69153 case 11:
69154 // then
69155 isDependency = $async$self._async_evaluate0$_inDependency || tuple.item1 !== $async$self._async_evaluate0$_importer;
69156 t1 = tuple.item1;
69157 t2 = tuple.item2;
69158 t3 = tuple.item3;
69159 t4 = $async$self._async_evaluate0$_quietDeps && isDependency;
69160 $async$goto = 13;
69161 return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
69162 case 13:
69163 // returning from await.
69164 stylesheet = $async$result;
69165 if (stylesheet != null) {
69166 $async$self._async_evaluate0$_loadedUrls.add$1(0, tuple.item2);
69167 t1 = tuple.item1;
69168 $async$returnValue = new A._LoadedStylesheet2(stylesheet, t1, isDependency);
69169 $async$next = [1];
69170 // goto finally
69171 $async$goto = 5;
69172 break;
69173 }
69174 case 12:
69175 // join
69176 // goto join
69177 $async$goto = 8;
69178 break;
69179 case 9:
69180 // else
69181 $async$goto = 14;
69182 return A._asyncAwait($async$self._async_evaluate0$_importLikeNode$2(url, forImport), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
69183 case 14:
69184 // returning from await.
69185 result = $async$result;
69186 if (result != null) {
69187 t1 = $async$self._async_evaluate0$_loadedUrls;
69188 A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
69189 $async$returnValue = result;
69190 $async$next = [1];
69191 // goto finally
69192 $async$goto = 5;
69193 break;
69194 }
69195 case 8:
69196 // join
69197 if (B.JSString_methods.startsWith$1(url, "package:") && true)
69198 throw A.wrapException(string$.x22packa);
69199 else
69200 throw A.wrapException("Can't find stylesheet to import.");
69201 $async$next.push(6);
69202 // goto finally
69203 $async$goto = 5;
69204 break;
69205 case 4:
69206 // catch
69207 $async$handler = 3;
69208 $async$exception = $async$currentError;
69209 t1 = A.unwrapException($async$exception);
69210 if (t1 instanceof A.SassException0) {
69211 error = t1;
69212 stackTrace = A.getTraceFromException($async$exception);
69213 t1 = error;
69214 t2 = J.getInterceptor$z(t1);
69215 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
69216 } else {
69217 error0 = t1;
69218 stackTrace0 = A.getTraceFromException($async$exception);
69219 message = null;
69220 try {
69221 message = A._asString(J.get$message$x(error0));
69222 } catch (exception) {
69223 message0 = J.toString$0$(error0);
69224 message = message0;
69225 }
69226 A.throwWithTrace0($async$self._async_evaluate0$_exception$1(message), stackTrace0);
69227 }
69228 $async$next.push(6);
69229 // goto finally
69230 $async$goto = 5;
69231 break;
69232 case 3:
69233 // uncaught
69234 $async$next = [2];
69235 case 5:
69236 // finally
69237 $async$handler = 2;
69238 $async$self._async_evaluate0$_importSpan = null;
69239 // goto the next finally handler
69240 $async$goto = $async$next.pop();
69241 break;
69242 case 6:
69243 // after finally
69244 case 1:
69245 // return
69246 return A._asyncReturn($async$returnValue, $async$completer);
69247 case 2:
69248 // rethrow
69249 return A._asyncRethrow($async$currentError, $async$completer);
69250 }
69251 });
69252 return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
69253 },
69254 _async_evaluate0$_importLikeNode$2(originalUrl, forImport) {
69255 return this._importLikeNode$body$_EvaluateVisitor0(originalUrl, forImport);
69256 },
69257 _importLikeNode$body$_EvaluateVisitor0(originalUrl, forImport) {
69258 var $async$goto = 0,
69259 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet_2),
69260 $async$returnValue, $async$self = this, result, isDependency, url, t2, t1;
69261 var $async$_async_evaluate0$_importLikeNode$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69262 if ($async$errorCode === 1)
69263 return A._asyncRethrow($async$result, $async$completer);
69264 while (true)
69265 switch ($async$goto) {
69266 case 0:
69267 // Function start
69268 t1 = $async$self._async_evaluate0$_nodeImporter;
69269 t1.toString;
69270 result = t1.loadRelative$3(originalUrl, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url, forImport);
69271 $async$goto = result != null ? 3 : 5;
69272 break;
69273 case 3:
69274 // then
69275 isDependency = $async$self._async_evaluate0$_inDependency;
69276 // goto join
69277 $async$goto = 4;
69278 break;
69279 case 5:
69280 // else
69281 $async$goto = 6;
69282 return A._asyncAwait(t1.loadAsync$3(originalUrl, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url, forImport), $async$_async_evaluate0$_importLikeNode$2);
69283 case 6:
69284 // returning from await.
69285 result = $async$result;
69286 if (result == null) {
69287 $async$returnValue = null;
69288 // goto return
69289 $async$goto = 1;
69290 break;
69291 }
69292 isDependency = true;
69293 case 4:
69294 // join
69295 url = result.item2;
69296 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS0;
69297 t2 = $async$self._async_evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : $async$self._async_evaluate0$_logger;
69298 $async$returnValue = new A._LoadedStylesheet2(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
69299 // goto return
69300 $async$goto = 1;
69301 break;
69302 case 1:
69303 // return
69304 return A._asyncReturn($async$returnValue, $async$completer);
69305 }
69306 });
69307 return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$2, $async$completer);
69308 },
69309 _async_evaluate0$_visitStaticImport$1($import) {
69310 return this._visitStaticImport$body$_EvaluateVisitor0($import);
69311 },
69312 _visitStaticImport$body$_EvaluateVisitor0($import) {
69313 var $async$goto = 0,
69314 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
69315 $async$self = this, t1, url, supports, node, $async$temp1, $async$temp2, $async$temp3;
69316 var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69317 if ($async$errorCode === 1)
69318 return A._asyncRethrow($async$result, $async$completer);
69319 while (true)
69320 switch ($async$goto) {
69321 case 0:
69322 // Function start
69323 $async$goto = 2;
69324 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
69325 case 2:
69326 // returning from await.
69327 url = $async$result;
69328 $async$goto = 3;
69329 return A._asyncAwait(A.NullableExtension_andThen0($import.supports, new A._EvaluateVisitor__visitStaticImport_closure2($async$self)), $async$_async_evaluate0$_visitStaticImport$1);
69330 case 3:
69331 // returning from await.
69332 supports = $async$result;
69333 $async$temp1 = A;
69334 $async$temp2 = url;
69335 $async$temp3 = $import.span;
69336 $async$goto = 4;
69337 return A._asyncAwait(A.NullableExtension_andThen0($import.media, $async$self.get$_async_evaluate0$_visitMediaQueries()), $async$_async_evaluate0$_visitStaticImport$1);
69338 case 4:
69339 // returning from await.
69340 node = $async$temp1.ModifiableCssImport$0($async$temp2, $async$temp3, $async$result, supports);
69341 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"))
69342 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
69343 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)) {
69344 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
69345 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
69346 } else {
69347 t1 = $async$self._async_evaluate0$_outOfOrderImports;
69348 (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
69349 }
69350 // implicit return
69351 return A._asyncReturn(null, $async$completer);
69352 }
69353 });
69354 return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
69355 },
69356 visitIncludeRule$1(node) {
69357 return this.visitIncludeRule$body$_EvaluateVisitor0(node);
69358 },
69359 visitIncludeRule$body$_EvaluateVisitor0(node) {
69360 var $async$goto = 0,
69361 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69362 $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
69363 var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69364 if ($async$errorCode === 1)
69365 return A._asyncRethrow($async$result, $async$completer);
69366 while (true)
69367 switch ($async$goto) {
69368 case 0:
69369 // Function start
69370 mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure11($async$self, node));
69371 if (mixin == null)
69372 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", node.span));
69373 nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure12(node));
69374 $async$goto = type$.AsyncBuiltInCallable_2._is(mixin) ? 3 : 5;
69375 break;
69376 case 3:
69377 // then
69378 if (node.content != null)
69379 throw A.wrapException($async$self._async_evaluate0$_exception$2("Mixin doesn't accept a content block.", node.span));
69380 $async$goto = 6;
69381 return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
69382 case 6:
69383 // returning from await.
69384 // goto join
69385 $async$goto = 4;
69386 break;
69387 case 5:
69388 // else
69389 $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin) ? 7 : 9;
69390 break;
69391 case 7:
69392 // then
69393 t1 = node.content;
69394 if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
69395 throw A.wrapException(A.MultiSpanSassRuntimeException$0("Mixin doesn't accept a content block.", node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(node.get$spanWithoutContent())));
69396 $async$goto = 10;
69397 return A._asyncAwait($async$self._async_evaluate0$_runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure13($async$self, A.NullableExtension_andThen0(t1, new A._EvaluateVisitor_visitIncludeRule_closure14($async$self)), mixin, nodeWithSpan), type$.Null), $async$visitIncludeRule$1);
69398 case 10:
69399 // returning from await.
69400 // goto join
69401 $async$goto = 8;
69402 break;
69403 case 9:
69404 // else
69405 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
69406 case 8:
69407 // join
69408 case 4:
69409 // join
69410 $async$returnValue = null;
69411 // goto return
69412 $async$goto = 1;
69413 break;
69414 case 1:
69415 // return
69416 return A._asyncReturn($async$returnValue, $async$completer);
69417 }
69418 });
69419 return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
69420 },
69421 visitMixinRule$1(node) {
69422 return this.visitMixinRule$body$_EvaluateVisitor0(node);
69423 },
69424 visitMixinRule$body$_EvaluateVisitor0(node) {
69425 var $async$goto = 0,
69426 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69427 $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
69428 var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69429 if ($async$errorCode === 1)
69430 return A._asyncRethrow($async$result, $async$completer);
69431 while (true)
69432 switch ($async$goto) {
69433 case 0:
69434 // Function start
69435 t1 = $async$self._async_evaluate0$_environment;
69436 t2 = t1.closure$0();
69437 t3 = $async$self._async_evaluate0$_inDependency;
69438 t4 = t1._async_environment0$_mixins;
69439 index = t4.length - 1;
69440 t5 = node.name;
69441 t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
69442 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
69443 $async$returnValue = null;
69444 // goto return
69445 $async$goto = 1;
69446 break;
69447 case 1:
69448 // return
69449 return A._asyncReturn($async$returnValue, $async$completer);
69450 }
69451 });
69452 return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
69453 },
69454 visitLoudComment$1(node) {
69455 return this.visitLoudComment$body$_EvaluateVisitor0(node);
69456 },
69457 visitLoudComment$body$_EvaluateVisitor0(node) {
69458 var $async$goto = 0,
69459 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69460 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
69461 var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69462 if ($async$errorCode === 1)
69463 return A._asyncRethrow($async$result, $async$completer);
69464 while (true)
69465 switch ($async$goto) {
69466 case 0:
69467 // Function start
69468 if ($async$self._async_evaluate0$_inFunction) {
69469 $async$returnValue = null;
69470 // goto return
69471 $async$goto = 1;
69472 break;
69473 }
69474 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))
69475 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
69476 t1 = node.text;
69477 $async$temp1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
69478 $async$temp2 = A;
69479 $async$goto = 3;
69480 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
69481 case 3:
69482 // returning from await.
69483 $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment0($async$result, t1.span));
69484 $async$returnValue = null;
69485 // goto return
69486 $async$goto = 1;
69487 break;
69488 case 1:
69489 // return
69490 return A._asyncReturn($async$returnValue, $async$completer);
69491 }
69492 });
69493 return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
69494 },
69495 visitMediaRule$1(node) {
69496 return this.visitMediaRule$body$_EvaluateVisitor0(node);
69497 },
69498 visitMediaRule$body$_EvaluateVisitor0(node) {
69499 var $async$goto = 0,
69500 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69501 $async$returnValue, $async$self = this, queries, mergedQueries, t1;
69502 var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69503 if ($async$errorCode === 1)
69504 return A._asyncRethrow($async$result, $async$completer);
69505 while (true)
69506 switch ($async$goto) {
69507 case 0:
69508 // Function start
69509 if ($async$self._async_evaluate0$_declarationName != null)
69510 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
69511 $async$goto = 3;
69512 return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
69513 case 3:
69514 // returning from await.
69515 queries = $async$result;
69516 mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
69517 t1 = mergedQueries == null;
69518 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
69519 $async$returnValue = null;
69520 // goto return
69521 $async$goto = 1;
69522 break;
69523 }
69524 t1 = t1 ? queries : mergedQueries;
69525 $async$goto = 4;
69526 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, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure10(mergedQueries), type$.ModifiableCssMediaRule_2, type$.Null), $async$visitMediaRule$1);
69527 case 4:
69528 // returning from await.
69529 $async$returnValue = null;
69530 // goto return
69531 $async$goto = 1;
69532 break;
69533 case 1:
69534 // return
69535 return A._asyncReturn($async$returnValue, $async$completer);
69536 }
69537 });
69538 return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
69539 },
69540 _async_evaluate0$_visitMediaQueries$1(interpolation) {
69541 return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
69542 },
69543 _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
69544 var $async$goto = 0,
69545 $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
69546 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
69547 var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69548 if ($async$errorCode === 1)
69549 return A._asyncRethrow($async$result, $async$completer);
69550 while (true)
69551 switch ($async$goto) {
69552 case 0:
69553 // Function start
69554 $async$temp1 = interpolation;
69555 $async$temp2 = A;
69556 $async$goto = 3;
69557 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
69558 case 3:
69559 // returning from await.
69560 $async$returnValue = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure2($async$self, $async$result));
69561 // goto return
69562 $async$goto = 1;
69563 break;
69564 case 1:
69565 // return
69566 return A._asyncReturn($async$returnValue, $async$completer);
69567 }
69568 });
69569 return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
69570 },
69571 _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
69572 var t1, t2, t3, t4, t5, result,
69573 queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
69574 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
69575 t4 = t1.get$current(t1);
69576 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
69577 result = t4.merge$1(t5.get$current(t5));
69578 if (result === B._SingletonCssMediaQueryMergeResult_empty0)
69579 continue;
69580 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
69581 return null;
69582 queries.push(t3._as(result).query);
69583 }
69584 }
69585 return queries;
69586 },
69587 visitReturnRule$1(node) {
69588 return this.visitReturnRule$body$_EvaluateVisitor0(node);
69589 },
69590 visitReturnRule$body$_EvaluateVisitor0(node) {
69591 var $async$goto = 0,
69592 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
69593 $async$returnValue, $async$self = this, t1;
69594 var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69595 if ($async$errorCode === 1)
69596 return A._asyncRethrow($async$result, $async$completer);
69597 while (true)
69598 switch ($async$goto) {
69599 case 0:
69600 // Function start
69601 t1 = node.expression;
69602 $async$goto = 3;
69603 return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
69604 case 3:
69605 // returning from await.
69606 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
69607 // goto return
69608 $async$goto = 1;
69609 break;
69610 case 1:
69611 // return
69612 return A._asyncReturn($async$returnValue, $async$completer);
69613 }
69614 });
69615 return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
69616 },
69617 visitSilentComment$1(node) {
69618 return this.visitSilentComment$body$_EvaluateVisitor0(node);
69619 },
69620 visitSilentComment$body$_EvaluateVisitor0(node) {
69621 var $async$goto = 0,
69622 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69623 $async$returnValue;
69624 var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69625 if ($async$errorCode === 1)
69626 return A._asyncRethrow($async$result, $async$completer);
69627 while (true)
69628 switch ($async$goto) {
69629 case 0:
69630 // Function start
69631 $async$returnValue = null;
69632 // goto return
69633 $async$goto = 1;
69634 break;
69635 case 1:
69636 // return
69637 return A._asyncReturn($async$returnValue, $async$completer);
69638 }
69639 });
69640 return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
69641 },
69642 visitStyleRule$1(node) {
69643 return this.visitStyleRule$body$_EvaluateVisitor0(node);
69644 },
69645 visitStyleRule$body$_EvaluateVisitor0(node) {
69646 var $async$goto = 0,
69647 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69648 $async$returnValue, $async$self = this, t2, selectorText, rule, oldAtRootExcludingStyleRule, t1;
69649 var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69650 if ($async$errorCode === 1)
69651 return A._asyncRethrow($async$result, $async$completer);
69652 while (true)
69653 switch ($async$goto) {
69654 case 0:
69655 // Function start
69656 t1 = {};
69657 if ($async$self._async_evaluate0$_declarationName != null)
69658 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
69659 t2 = node.selector;
69660 $async$goto = 3;
69661 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$3$trim$warnForColor(t2, true, true), $async$visitStyleRule$1);
69662 case 3:
69663 // returning from await.
69664 selectorText = $async$result;
69665 $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
69666 break;
69667 case 4:
69668 // then
69669 $async$goto = 6;
69670 return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable($async$self._async_evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure20($async$self, selectorText)), type$.String), t2.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure21($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure22(), type$.ModifiableCssKeyframeBlock_2, type$.Null), $async$visitStyleRule$1);
69671 case 6:
69672 // returning from await.
69673 $async$returnValue = null;
69674 // goto return
69675 $async$goto = 1;
69676 break;
69677 case 5:
69678 // join
69679 t1.parsedSelector = $async$self._async_evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure23($async$self, selectorText));
69680 t1.parsedSelector = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure24(t1, $async$self));
69681 rule = A.ModifiableCssStyleRule$0($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addSelector$3(t1.parsedSelector, t2.span, $async$self._async_evaluate0$_mediaQueries), node.span, t1.parsedSelector);
69682 oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
69683 t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
69684 $async$goto = 7;
69685 return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure25($async$self, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure26(), type$.ModifiableCssStyleRule_2, type$.Null), $async$visitStyleRule$1);
69686 case 7:
69687 // returning from await.
69688 $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
69689 if ((oldAtRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
69690 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
69691 t1 = !t1.get$isEmpty(t1);
69692 }
69693 if (t1) {
69694 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
69695 t1.get$last(t1).isGroupEnd = true;
69696 }
69697 $async$returnValue = null;
69698 // goto return
69699 $async$goto = 1;
69700 break;
69701 case 1:
69702 // return
69703 return A._asyncReturn($async$returnValue, $async$completer);
69704 }
69705 });
69706 return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
69707 },
69708 visitSupportsRule$1(node) {
69709 return this.visitSupportsRule$body$_EvaluateVisitor0(node);
69710 },
69711 visitSupportsRule$body$_EvaluateVisitor0(node) {
69712 var $async$goto = 0,
69713 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69714 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
69715 var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69716 if ($async$errorCode === 1)
69717 return A._asyncRethrow($async$result, $async$completer);
69718 while (true)
69719 switch ($async$goto) {
69720 case 0:
69721 // Function start
69722 if ($async$self._async_evaluate0$_declarationName != null)
69723 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
69724 t1 = node.condition;
69725 $async$temp1 = A;
69726 $async$temp2 = A;
69727 $async$goto = 4;
69728 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
69729 case 4:
69730 // returning from await.
69731 $async$goto = 3;
69732 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);
69733 case 3:
69734 // returning from await.
69735 $async$returnValue = null;
69736 // goto return
69737 $async$goto = 1;
69738 break;
69739 case 1:
69740 // return
69741 return A._asyncReturn($async$returnValue, $async$completer);
69742 }
69743 });
69744 return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
69745 },
69746 _async_evaluate0$_visitSupportsCondition$1(condition) {
69747 return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
69748 },
69749 _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
69750 var $async$goto = 0,
69751 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
69752 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, result, $async$temp1, $async$temp2;
69753 var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69754 if ($async$errorCode === 1)
69755 return A._asyncRethrow($async$result, $async$completer);
69756 while (true)
69757 switch ($async$goto) {
69758 case 0:
69759 // Function start
69760 $async$goto = condition instanceof A.SupportsOperation0 ? 3 : 5;
69761 break;
69762 case 3:
69763 // then
69764 t1 = condition.operator;
69765 $async$temp1 = A;
69766 $async$goto = 6;
69767 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
69768 case 6:
69769 // returning from await.
69770 $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
69771 $async$temp2 = A;
69772 $async$goto = 7;
69773 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
69774 case 7:
69775 // returning from await.
69776 $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
69777 // goto return
69778 $async$goto = 1;
69779 break;
69780 // goto join
69781 $async$goto = 4;
69782 break;
69783 case 5:
69784 // else
69785 $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 10;
69786 break;
69787 case 8:
69788 // then
69789 $async$temp1 = A;
69790 $async$goto = 11;
69791 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
69792 case 11:
69793 // returning from await.
69794 $async$returnValue = "not " + $async$temp1.S($async$result);
69795 // goto return
69796 $async$goto = 1;
69797 break;
69798 // goto join
69799 $async$goto = 9;
69800 break;
69801 case 10:
69802 // else
69803 $async$goto = condition instanceof A.SupportsInterpolation0 ? 12 : 14;
69804 break;
69805 case 12:
69806 // then
69807 $async$goto = 15;
69808 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
69809 case 15:
69810 // returning from await.
69811 $async$returnValue = $async$result;
69812 // goto return
69813 $async$goto = 1;
69814 break;
69815 // goto join
69816 $async$goto = 13;
69817 break;
69818 case 14:
69819 // else
69820 $async$goto = condition instanceof A.SupportsDeclaration0 ? 16 : 18;
69821 break;
69822 case 16:
69823 // then
69824 oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
69825 $async$self._async_evaluate0$_inSupportsDeclaration = true;
69826 $async$temp1 = A;
69827 $async$goto = 19;
69828 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
69829 case 19:
69830 // returning from await.
69831 t1 = "(" + $async$temp1.S($async$result) + ":";
69832 $async$temp1 = t1 + (condition.get$isCustomProperty() ? "" : " ");
69833 $async$temp2 = A;
69834 $async$goto = 20;
69835 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.value), $async$_async_evaluate0$_visitSupportsCondition$1);
69836 case 20:
69837 // returning from await.
69838 result = $async$temp1 + $async$temp2.S($async$result) + ")";
69839 $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
69840 $async$returnValue = result;
69841 // goto return
69842 $async$goto = 1;
69843 break;
69844 // goto join
69845 $async$goto = 17;
69846 break;
69847 case 18:
69848 // else
69849 $async$goto = condition instanceof A.SupportsFunction0 ? 21 : 23;
69850 break;
69851 case 21:
69852 // then
69853 $async$temp1 = A;
69854 $async$goto = 24;
69855 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
69856 case 24:
69857 // returning from await.
69858 $async$temp1 = $async$temp1.S($async$result) + "(";
69859 $async$temp2 = A;
69860 $async$goto = 25;
69861 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
69862 case 25:
69863 // returning from await.
69864 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
69865 // goto return
69866 $async$goto = 1;
69867 break;
69868 // goto join
69869 $async$goto = 22;
69870 break;
69871 case 23:
69872 // else
69873 $async$goto = condition instanceof A.SupportsAnything0 ? 26 : 28;
69874 break;
69875 case 26:
69876 // then
69877 $async$temp1 = A;
69878 $async$goto = 29;
69879 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
69880 case 29:
69881 // returning from await.
69882 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
69883 // goto return
69884 $async$goto = 1;
69885 break;
69886 // goto join
69887 $async$goto = 27;
69888 break;
69889 case 28:
69890 // else
69891 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
69892 case 27:
69893 // join
69894 case 22:
69895 // join
69896 case 17:
69897 // join
69898 case 13:
69899 // join
69900 case 9:
69901 // join
69902 case 4:
69903 // join
69904 case 1:
69905 // return
69906 return A._asyncReturn($async$returnValue, $async$completer);
69907 }
69908 });
69909 return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
69910 },
69911 _async_evaluate0$_parenthesize$2(condition, operator) {
69912 return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
69913 },
69914 _async_evaluate0$_parenthesize$1(condition) {
69915 return this._async_evaluate0$_parenthesize$2(condition, null);
69916 },
69917 _parenthesize$body$_EvaluateVisitor0(condition, operator) {
69918 var $async$goto = 0,
69919 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
69920 $async$returnValue, $async$self = this, t1, $async$temp1;
69921 var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69922 if ($async$errorCode === 1)
69923 return A._asyncRethrow($async$result, $async$completer);
69924 while (true)
69925 switch ($async$goto) {
69926 case 0:
69927 // Function start
69928 if (!(condition instanceof A.SupportsNegation0))
69929 if (condition instanceof A.SupportsOperation0)
69930 t1 = operator == null || operator !== condition.operator;
69931 else
69932 t1 = false;
69933 else
69934 t1 = true;
69935 $async$goto = t1 ? 3 : 5;
69936 break;
69937 case 3:
69938 // then
69939 $async$temp1 = A;
69940 $async$goto = 6;
69941 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
69942 case 6:
69943 // returning from await.
69944 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
69945 // goto return
69946 $async$goto = 1;
69947 break;
69948 // goto join
69949 $async$goto = 4;
69950 break;
69951 case 5:
69952 // else
69953 $async$goto = 7;
69954 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
69955 case 7:
69956 // returning from await.
69957 $async$returnValue = $async$result;
69958 // goto return
69959 $async$goto = 1;
69960 break;
69961 case 4:
69962 // join
69963 case 1:
69964 // return
69965 return A._asyncReturn($async$returnValue, $async$completer);
69966 }
69967 });
69968 return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
69969 },
69970 visitVariableDeclaration$1(node) {
69971 return this.visitVariableDeclaration$body$_EvaluateVisitor0(node);
69972 },
69973 visitVariableDeclaration$body$_EvaluateVisitor0(node) {
69974 var $async$goto = 0,
69975 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69976 $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
69977 var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69978 if ($async$errorCode === 1)
69979 return A._asyncRethrow($async$result, $async$completer);
69980 while (true)
69981 switch ($async$goto) {
69982 case 0:
69983 // Function start
69984 if (node.isGuarded) {
69985 if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
69986 t1 = $async$self._async_evaluate0$_configuration._configuration$_values;
69987 t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
69988 if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
69989 $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8($async$self, node, t1));
69990 $async$returnValue = null;
69991 // goto return
69992 $async$goto = 1;
69993 break;
69994 }
69995 }
69996 value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
69997 if (value != null && !value.$eq(0, B.C__SassNull0)) {
69998 $async$returnValue = null;
69999 // goto return
70000 $async$goto = 1;
70001 break;
70002 }
70003 }
70004 if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
70005 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.";
70006 $async$self._async_evaluate0$_warn$3$deprecation(t1, node.span, true);
70007 }
70008 t1 = node.expression;
70009 $async$temp1 = node;
70010 $async$temp2 = A;
70011 $async$temp3 = node;
70012 $async$goto = 3;
70013 return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
70014 case 3:
70015 // returning from await.
70016 $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)));
70017 $async$returnValue = null;
70018 // goto return
70019 $async$goto = 1;
70020 break;
70021 case 1:
70022 // return
70023 return A._asyncReturn($async$returnValue, $async$completer);
70024 }
70025 });
70026 return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
70027 },
70028 visitUseRule$1(node) {
70029 return this.visitUseRule$body$_EvaluateVisitor0(node);
70030 },
70031 visitUseRule$body$_EvaluateVisitor0(node) {
70032 var $async$goto = 0,
70033 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
70034 $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
70035 var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70036 if ($async$errorCode === 1)
70037 return A._asyncRethrow($async$result, $async$completer);
70038 while (true)
70039 switch ($async$goto) {
70040 case 0:
70041 // Function start
70042 t1 = node.configuration;
70043 t2 = t1.length;
70044 $async$goto = t2 !== 0 ? 3 : 5;
70045 break;
70046 case 3:
70047 // then
70048 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
70049 _i = 0;
70050 case 6:
70051 // for condition
70052 if (!(_i < t2)) {
70053 // goto after for
70054 $async$goto = 8;
70055 break;
70056 }
70057 variable = t1[_i];
70058 t3 = variable.expression;
70059 variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t3);
70060 $async$temp1 = values;
70061 $async$temp2 = variable.name;
70062 $async$temp3 = A;
70063 $async$goto = 9;
70064 return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
70065 case 9:
70066 // returning from await.
70067 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
70068 case 7:
70069 // for update
70070 ++_i;
70071 // goto for condition
70072 $async$goto = 6;
70073 break;
70074 case 8:
70075 // after for
70076 configuration = new A.ExplicitConfiguration0(node, values);
70077 // goto join
70078 $async$goto = 4;
70079 break;
70080 case 5:
70081 // else
70082 configuration = B.Configuration_Map_empty0;
70083 case 4:
70084 // join
70085 $async$goto = 10;
70086 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);
70087 case 10:
70088 // returning from await.
70089 $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
70090 $async$returnValue = null;
70091 // goto return
70092 $async$goto = 1;
70093 break;
70094 case 1:
70095 // return
70096 return A._asyncReturn($async$returnValue, $async$completer);
70097 }
70098 });
70099 return A._asyncStartSync($async$visitUseRule$1, $async$completer);
70100 },
70101 visitWarnRule$1(node) {
70102 return this.visitWarnRule$body$_EvaluateVisitor0(node);
70103 },
70104 visitWarnRule$body$_EvaluateVisitor0(node) {
70105 var $async$goto = 0,
70106 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
70107 $async$returnValue, $async$self = this, value, t1;
70108 var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70109 if ($async$errorCode === 1)
70110 return A._asyncRethrow($async$result, $async$completer);
70111 while (true)
70112 switch ($async$goto) {
70113 case 0:
70114 // Function start
70115 $async$goto = 3;
70116 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);
70117 case 3:
70118 // returning from await.
70119 value = $async$result;
70120 t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
70121 $async$self._async_evaluate0$_logger.warn$2$trace(0, t1, $async$self._async_evaluate0$_stackTrace$1(node.span));
70122 $async$returnValue = null;
70123 // goto return
70124 $async$goto = 1;
70125 break;
70126 case 1:
70127 // return
70128 return A._asyncReturn($async$returnValue, $async$completer);
70129 }
70130 });
70131 return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
70132 },
70133 visitWhileRule$1(node) {
70134 return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
70135 },
70136 visitBinaryOperationExpression$1(node) {
70137 return this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(this, node), type$.Value_2);
70138 },
70139 visitValueExpression$1(node) {
70140 return this.visitValueExpression$body$_EvaluateVisitor0(node);
70141 },
70142 visitValueExpression$body$_EvaluateVisitor0(node) {
70143 var $async$goto = 0,
70144 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70145 $async$returnValue;
70146 var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70147 if ($async$errorCode === 1)
70148 return A._asyncRethrow($async$result, $async$completer);
70149 while (true)
70150 switch ($async$goto) {
70151 case 0:
70152 // Function start
70153 $async$returnValue = node.value;
70154 // goto return
70155 $async$goto = 1;
70156 break;
70157 case 1:
70158 // return
70159 return A._asyncReturn($async$returnValue, $async$completer);
70160 }
70161 });
70162 return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
70163 },
70164 visitVariableExpression$1(node) {
70165 return this.visitVariableExpression$body$_EvaluateVisitor0(node);
70166 },
70167 visitVariableExpression$body$_EvaluateVisitor0(node) {
70168 var $async$goto = 0,
70169 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70170 $async$returnValue, $async$self = this, result;
70171 var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70172 if ($async$errorCode === 1)
70173 return A._asyncRethrow($async$result, $async$completer);
70174 while (true)
70175 switch ($async$goto) {
70176 case 0:
70177 // Function start
70178 result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
70179 if (result != null) {
70180 $async$returnValue = result;
70181 // goto return
70182 $async$goto = 1;
70183 break;
70184 }
70185 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
70186 case 1:
70187 // return
70188 return A._asyncReturn($async$returnValue, $async$completer);
70189 }
70190 });
70191 return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
70192 },
70193 visitUnaryOperationExpression$1(node) {
70194 return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(node);
70195 },
70196 visitUnaryOperationExpression$body$_EvaluateVisitor0(node) {
70197 var $async$goto = 0,
70198 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70199 $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
70200 var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70201 if ($async$errorCode === 1)
70202 return A._asyncRethrow($async$result, $async$completer);
70203 while (true)
70204 switch ($async$goto) {
70205 case 0:
70206 // Function start
70207 $async$temp1 = node;
70208 $async$temp2 = A;
70209 $async$temp3 = node;
70210 $async$goto = 3;
70211 return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
70212 case 3:
70213 // returning from await.
70214 $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
70215 // goto return
70216 $async$goto = 1;
70217 break;
70218 case 1:
70219 // return
70220 return A._asyncReturn($async$returnValue, $async$completer);
70221 }
70222 });
70223 return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
70224 },
70225 visitBooleanExpression$1(node) {
70226 return this.visitBooleanExpression$body$_EvaluateVisitor0(node);
70227 },
70228 visitBooleanExpression$body$_EvaluateVisitor0(node) {
70229 var $async$goto = 0,
70230 $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
70231 $async$returnValue;
70232 var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70233 if ($async$errorCode === 1)
70234 return A._asyncRethrow($async$result, $async$completer);
70235 while (true)
70236 switch ($async$goto) {
70237 case 0:
70238 // Function start
70239 $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
70240 // goto return
70241 $async$goto = 1;
70242 break;
70243 case 1:
70244 // return
70245 return A._asyncReturn($async$returnValue, $async$completer);
70246 }
70247 });
70248 return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
70249 },
70250 visitIfExpression$1(node) {
70251 return this.visitIfExpression$body$_EvaluateVisitor0(node);
70252 },
70253 visitIfExpression$body$_EvaluateVisitor0(node) {
70254 var $async$goto = 0,
70255 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70256 $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
70257 var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70258 if ($async$errorCode === 1)
70259 return A._asyncRethrow($async$result, $async$completer);
70260 while (true)
70261 switch ($async$goto) {
70262 case 0:
70263 // Function start
70264 $async$goto = 3;
70265 return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
70266 case 3:
70267 // returning from await.
70268 pair = $async$result;
70269 positional = pair.item1;
70270 named = pair.item2;
70271 t1 = J.getInterceptor$asx(positional);
70272 $async$self._async_evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
70273 if (t1.get$length(positional) > 0)
70274 condition = t1.$index(positional, 0);
70275 else {
70276 t2 = named.$index(0, "condition");
70277 t2.toString;
70278 condition = t2;
70279 }
70280 if (t1.get$length(positional) > 1)
70281 ifTrue = t1.$index(positional, 1);
70282 else {
70283 t2 = named.$index(0, "if-true");
70284 t2.toString;
70285 ifTrue = t2;
70286 }
70287 if (t1.get$length(positional) > 2)
70288 ifFalse = t1.$index(positional, 2);
70289 else {
70290 t1 = named.$index(0, "if-false");
70291 t1.toString;
70292 ifFalse = t1;
70293 }
70294 $async$goto = 4;
70295 return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
70296 case 4:
70297 // returning from await.
70298 result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
70299 $async$goto = 5;
70300 return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
70301 case 5:
70302 // returning from await.
70303 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
70304 // goto return
70305 $async$goto = 1;
70306 break;
70307 case 1:
70308 // return
70309 return A._asyncReturn($async$returnValue, $async$completer);
70310 }
70311 });
70312 return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
70313 },
70314 visitNullExpression$1(node) {
70315 return this.visitNullExpression$body$_EvaluateVisitor0(node);
70316 },
70317 visitNullExpression$body$_EvaluateVisitor0(node) {
70318 var $async$goto = 0,
70319 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70320 $async$returnValue;
70321 var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70322 if ($async$errorCode === 1)
70323 return A._asyncRethrow($async$result, $async$completer);
70324 while (true)
70325 switch ($async$goto) {
70326 case 0:
70327 // Function start
70328 $async$returnValue = B.C__SassNull0;
70329 // goto return
70330 $async$goto = 1;
70331 break;
70332 case 1:
70333 // return
70334 return A._asyncReturn($async$returnValue, $async$completer);
70335 }
70336 });
70337 return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
70338 },
70339 visitNumberExpression$1(node) {
70340 return this.visitNumberExpression$body$_EvaluateVisitor0(node);
70341 },
70342 visitNumberExpression$body$_EvaluateVisitor0(node) {
70343 var $async$goto = 0,
70344 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
70345 $async$returnValue, t1, t2;
70346 var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70347 if ($async$errorCode === 1)
70348 return A._asyncRethrow($async$result, $async$completer);
70349 while (true)
70350 switch ($async$goto) {
70351 case 0:
70352 // Function start
70353 t1 = node.value;
70354 t2 = node.unit;
70355 $async$returnValue = t2 == null ? new A.UnitlessSassNumber0(t1, null) : new A.SingleUnitSassNumber0(t2, t1, null);
70356 // goto return
70357 $async$goto = 1;
70358 break;
70359 case 1:
70360 // return
70361 return A._asyncReturn($async$returnValue, $async$completer);
70362 }
70363 });
70364 return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
70365 },
70366 visitParenthesizedExpression$1(node) {
70367 return node.expression.accept$1(this);
70368 },
70369 visitCalculationExpression$1(node) {
70370 return this.visitCalculationExpression$body$_EvaluateVisitor0(node);
70371 },
70372 visitCalculationExpression$body$_EvaluateVisitor0(node) {
70373 var $async$goto = 0,
70374 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70375 $async$returnValue, $async$next = [], $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
70376 var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70377 if ($async$errorCode === 1)
70378 return A._asyncRethrow($async$result, $async$completer);
70379 while (true)
70380 $async$outer:
70381 switch ($async$goto) {
70382 case 0:
70383 // Function start
70384 t1 = A._setArrayType([], type$.JSArray_Object);
70385 t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
70386 case 3:
70387 // for condition
70388 if (!(_i < t3)) {
70389 // goto after for
70390 $async$goto = 5;
70391 break;
70392 }
70393 argument = t2[_i];
70394 $async$temp1 = t1;
70395 $async$goto = 6;
70396 return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
70397 case 6:
70398 // returning from await.
70399 $async$temp1.push($async$result);
70400 case 4:
70401 // for update
70402 ++_i;
70403 // goto for condition
70404 $async$goto = 3;
70405 break;
70406 case 5:
70407 // after for
70408 $arguments = t1;
70409 if ($async$self._async_evaluate0$_inSupportsDeclaration) {
70410 $async$returnValue = new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
70411 // goto return
70412 $async$goto = 1;
70413 break;
70414 }
70415 try {
70416 switch (t4) {
70417 case "calc":
70418 t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
70419 $async$returnValue = t1;
70420 // goto return
70421 $async$goto = 1;
70422 break $async$outer;
70423 case "min":
70424 t1 = A.SassCalculation_min0($arguments);
70425 $async$returnValue = t1;
70426 // goto return
70427 $async$goto = 1;
70428 break $async$outer;
70429 case "max":
70430 t1 = A.SassCalculation_max0($arguments);
70431 $async$returnValue = t1;
70432 // goto return
70433 $async$goto = 1;
70434 break $async$outer;
70435 case "clamp":
70436 t1 = J.$index$asx($arguments, 0);
70437 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
70438 t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
70439 $async$returnValue = t1;
70440 // goto return
70441 $async$goto = 1;
70442 break $async$outer;
70443 default:
70444 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
70445 throw A.wrapException(t1);
70446 }
70447 } catch (exception) {
70448 t1 = A.unwrapException(exception);
70449 if (t1 instanceof A.SassScriptException0) {
70450 error = t1;
70451 stackTrace = A.getTraceFromException(exception);
70452 $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
70453 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), stackTrace);
70454 } else
70455 throw exception;
70456 }
70457 case 1:
70458 // return
70459 return A._asyncReturn($async$returnValue, $async$completer);
70460 }
70461 });
70462 return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
70463 },
70464 _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
70465 var i, t1, arg, number1, j, number2;
70466 for (i = 0; t1 = args.length, i < t1; ++i) {
70467 arg = args[i];
70468 if (!(arg instanceof A.SassNumber0))
70469 continue;
70470 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
70471 throw A.wrapException(this._async_evaluate0$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
70472 }
70473 for (i = 0; i < t1 - 1; ++i) {
70474 number1 = args[i];
70475 if (!(number1 instanceof A.SassNumber0))
70476 continue;
70477 for (j = i + 1; t1 = args.length, j < t1; ++j) {
70478 number2 = args[j];
70479 if (!(number2 instanceof A.SassNumber0))
70480 continue;
70481 if (number1.hasPossiblyCompatibleUnits$1(number2))
70482 continue;
70483 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]))));
70484 }
70485 }
70486 },
70487 _async_evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
70488 return this._visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax);
70489 },
70490 _visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax) {
70491 var $async$goto = 0,
70492 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
70493 $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
70494 var $async$_async_evaluate0$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70495 if ($async$errorCode === 1)
70496 return A._asyncRethrow($async$result, $async$completer);
70497 while (true)
70498 switch ($async$goto) {
70499 case 0:
70500 // Function start
70501 $async$goto = node instanceof A.ParenthesizedExpression0 ? 3 : 5;
70502 break;
70503 case 3:
70504 // then
70505 inner = node.expression;
70506 $async$goto = 6;
70507 return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70508 case 6:
70509 // returning from await.
70510 result = $async$result;
70511 if (inner instanceof A.FunctionExpression0)
70512 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
70513 else
70514 t1 = false;
70515 $async$returnValue = t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
70516 // goto return
70517 $async$goto = 1;
70518 break;
70519 // goto join
70520 $async$goto = 4;
70521 break;
70522 case 5:
70523 // else
70524 $async$goto = node instanceof A.StringExpression0 ? 7 : 9;
70525 break;
70526 case 7:
70527 // then
70528 $async$temp1 = A;
70529 $async$goto = 10;
70530 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.text), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70531 case 10:
70532 // returning from await.
70533 $async$returnValue = new $async$temp1.CalculationInterpolation0($async$result);
70534 // goto return
70535 $async$goto = 1;
70536 break;
70537 // goto join
70538 $async$goto = 8;
70539 break;
70540 case 9:
70541 // else
70542 $async$goto = node instanceof A.BinaryOperationExpression0 ? 11 : 13;
70543 break;
70544 case 11:
70545 // then
70546 $async$goto = 14;
70547 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor__visitCalculationValue_closure2($async$self, node, inMinMax), type$.Object), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70548 case 14:
70549 // returning from await.
70550 $async$returnValue = $async$result;
70551 // goto return
70552 $async$goto = 1;
70553 break;
70554 // goto join
70555 $async$goto = 12;
70556 break;
70557 case 13:
70558 // else
70559 $async$goto = 15;
70560 return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70561 case 15:
70562 // returning from await.
70563 result = $async$result;
70564 if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0) {
70565 $async$returnValue = result;
70566 // goto return
70567 $async$goto = 1;
70568 break;
70569 }
70570 if (result instanceof A.SassString0 && !result._string0$_hasQuotes) {
70571 $async$returnValue = result;
70572 // goto return
70573 $async$goto = 1;
70574 break;
70575 }
70576 throw A.wrapException($async$self._async_evaluate0$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
70577 case 12:
70578 // join
70579 case 8:
70580 // join
70581 case 4:
70582 // join
70583 case 1:
70584 // return
70585 return A._asyncReturn($async$returnValue, $async$completer);
70586 }
70587 });
70588 return A._asyncStartSync($async$_async_evaluate0$_visitCalculationValue$2$inMinMax, $async$completer);
70589 },
70590 _async_evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
70591 switch (operator) {
70592 case B.BinaryOperator_AcR2:
70593 return B.CalculationOperator_Iem0;
70594 case B.BinaryOperator_iyO0:
70595 return B.CalculationOperator_uti0;
70596 case B.BinaryOperator_O1M0:
70597 return B.CalculationOperator_Dih0;
70598 case B.BinaryOperator_RTB0:
70599 return B.CalculationOperator_jB60;
70600 default:
70601 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
70602 }
70603 },
70604 visitColorExpression$1(node) {
70605 return this.visitColorExpression$body$_EvaluateVisitor0(node);
70606 },
70607 visitColorExpression$body$_EvaluateVisitor0(node) {
70608 var $async$goto = 0,
70609 $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
70610 $async$returnValue;
70611 var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70612 if ($async$errorCode === 1)
70613 return A._asyncRethrow($async$result, $async$completer);
70614 while (true)
70615 switch ($async$goto) {
70616 case 0:
70617 // Function start
70618 $async$returnValue = node.value;
70619 // goto return
70620 $async$goto = 1;
70621 break;
70622 case 1:
70623 // return
70624 return A._asyncReturn($async$returnValue, $async$completer);
70625 }
70626 });
70627 return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
70628 },
70629 visitListExpression$1(node) {
70630 return this.visitListExpression$body$_EvaluateVisitor0(node);
70631 },
70632 visitListExpression$body$_EvaluateVisitor0(node) {
70633 var $async$goto = 0,
70634 $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
70635 $async$returnValue, $async$self = this, $async$temp1;
70636 var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70637 if ($async$errorCode === 1)
70638 return A._asyncRethrow($async$result, $async$completer);
70639 while (true)
70640 switch ($async$goto) {
70641 case 0:
70642 // Function start
70643 $async$temp1 = A;
70644 $async$goto = 3;
70645 return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
70646 case 3:
70647 // returning from await.
70648 $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
70649 // goto return
70650 $async$goto = 1;
70651 break;
70652 case 1:
70653 // return
70654 return A._asyncReturn($async$returnValue, $async$completer);
70655 }
70656 });
70657 return A._asyncStartSync($async$visitListExpression$1, $async$completer);
70658 },
70659 visitMapExpression$1(node) {
70660 return this.visitMapExpression$body$_EvaluateVisitor0(node);
70661 },
70662 visitMapExpression$body$_EvaluateVisitor0(node) {
70663 var $async$goto = 0,
70664 $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
70665 $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
70666 var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70667 if ($async$errorCode === 1)
70668 return A._asyncRethrow($async$result, $async$completer);
70669 while (true)
70670 switch ($async$goto) {
70671 case 0:
70672 // Function start
70673 t1 = type$.Value_2;
70674 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
70675 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
70676 t2 = node.pairs, t3 = t2.length, _i = 0;
70677 case 3:
70678 // for condition
70679 if (!(_i < t3)) {
70680 // goto after for
70681 $async$goto = 5;
70682 break;
70683 }
70684 pair = t2[_i];
70685 t4 = pair.item1;
70686 $async$goto = 6;
70687 return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
70688 case 6:
70689 // returning from await.
70690 keyValue = $async$result;
70691 $async$goto = 7;
70692 return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
70693 case 7:
70694 // returning from await.
70695 valueValue = $async$result;
70696 if (map.$index(0, keyValue) != null) {
70697 t1 = keyNodes.$index(0, keyValue);
70698 oldValueSpan = t1 == null ? null : t1.get$span(t1);
70699 t1 = J.getInterceptor$z(t4);
70700 t2 = t1.get$span(t4);
70701 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
70702 if (oldValueSpan != null)
70703 t3.$indexSet(0, oldValueSpan, "first key");
70704 throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate0$_stackTrace$1(t1.get$span(t4))));
70705 }
70706 map.$indexSet(0, keyValue, valueValue);
70707 keyNodes.$indexSet(0, keyValue, t4);
70708 case 4:
70709 // for update
70710 ++_i;
70711 // goto for condition
70712 $async$goto = 3;
70713 break;
70714 case 5:
70715 // after for
70716 $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
70717 // goto return
70718 $async$goto = 1;
70719 break;
70720 case 1:
70721 // return
70722 return A._asyncReturn($async$returnValue, $async$completer);
70723 }
70724 });
70725 return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
70726 },
70727 visitFunctionExpression$1(node) {
70728 return this.visitFunctionExpression$body$_EvaluateVisitor0(node);
70729 },
70730 visitFunctionExpression$body$_EvaluateVisitor0(node) {
70731 var $async$goto = 0,
70732 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70733 $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
70734 var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70735 if ($async$errorCode === 1)
70736 return A._asyncRethrow($async$result, $async$completer);
70737 while (true)
70738 switch ($async$goto) {
70739 case 0:
70740 // Function start
70741 t1 = {};
70742 $function = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5($async$self, node));
70743 t1.$function = $function;
70744 if ($function == null) {
70745 if (node.namespace != null)
70746 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
70747 t1.$function = new A.PlainCssCallable0(node.originalName);
70748 }
70749 oldInFunction = $async$self._async_evaluate0$_inFunction;
70750 $async$self._async_evaluate0$_inFunction = true;
70751 $async$goto = 3;
70752 return A._asyncAwait($async$self._async_evaluate0$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure6(t1, $async$self, node), type$.Value_2), $async$visitFunctionExpression$1);
70753 case 3:
70754 // returning from await.
70755 result = $async$result;
70756 $async$self._async_evaluate0$_inFunction = oldInFunction;
70757 $async$returnValue = result;
70758 // goto return
70759 $async$goto = 1;
70760 break;
70761 case 1:
70762 // return
70763 return A._asyncReturn($async$returnValue, $async$completer);
70764 }
70765 });
70766 return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
70767 },
70768 visitInterpolatedFunctionExpression$1(node) {
70769 return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node);
70770 },
70771 visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node) {
70772 var $async$goto = 0,
70773 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70774 $async$returnValue, $async$self = this, result, t1, oldInFunction;
70775 var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70776 if ($async$errorCode === 1)
70777 return A._asyncRethrow($async$result, $async$completer);
70778 while (true)
70779 switch ($async$goto) {
70780 case 0:
70781 // Function start
70782 $async$goto = 3;
70783 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
70784 case 3:
70785 // returning from await.
70786 t1 = $async$result;
70787 oldInFunction = $async$self._async_evaluate0$_inFunction;
70788 $async$self._async_evaluate0$_inFunction = true;
70789 $async$goto = 4;
70790 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);
70791 case 4:
70792 // returning from await.
70793 result = $async$result;
70794 $async$self._async_evaluate0$_inFunction = oldInFunction;
70795 $async$returnValue = result;
70796 // goto return
70797 $async$goto = 1;
70798 break;
70799 case 1:
70800 // return
70801 return A._asyncReturn($async$returnValue, $async$completer);
70802 }
70803 });
70804 return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
70805 },
70806 _async_evaluate0$_getFunction$2$namespace($name, namespace) {
70807 var local = this._async_evaluate0$_environment.getFunction$2$namespace($name, namespace);
70808 if (local != null || namespace != null)
70809 return local;
70810 return this._async_evaluate0$_builtInFunctions.$index(0, $name);
70811 },
70812 _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
70813 return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
70814 },
70815 _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
70816 var $async$goto = 0,
70817 $async$completer = A._makeAsyncAwaitCompleter($async$type),
70818 $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
70819 var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70820 if ($async$errorCode === 1)
70821 return A._asyncRethrow($async$result, $async$completer);
70822 while (true)
70823 switch ($async$goto) {
70824 case 0:
70825 // Function start
70826 $async$goto = 3;
70827 return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
70828 case 3:
70829 // returning from await.
70830 evaluated = $async$result;
70831 $name = callable.declaration.name;
70832 if ($name !== "@content")
70833 $name += "()";
70834 oldCallable = $async$self._async_evaluate0$_currentCallable;
70835 $async$self._async_evaluate0$_currentCallable = callable;
70836 $async$goto = 4;
70837 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);
70838 case 4:
70839 // returning from await.
70840 result = $async$result;
70841 $async$self._async_evaluate0$_currentCallable = oldCallable;
70842 $async$returnValue = result;
70843 // goto return
70844 $async$goto = 1;
70845 break;
70846 case 1:
70847 // return
70848 return A._asyncReturn($async$returnValue, $async$completer);
70849 }
70850 });
70851 return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
70852 },
70853 _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
70854 return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
70855 },
70856 _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
70857 var $async$goto = 0,
70858 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70859 $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
70860 var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70861 if ($async$errorCode === 1)
70862 return A._asyncRethrow($async$result, $async$completer);
70863 while (true)
70864 switch ($async$goto) {
70865 case 0:
70866 // Function start
70867 $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
70868 break;
70869 case 3:
70870 // then
70871 $async$goto = 6;
70872 return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
70873 case 6:
70874 // returning from await.
70875 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
70876 // goto return
70877 $async$goto = 1;
70878 break;
70879 // goto join
70880 $async$goto = 4;
70881 break;
70882 case 5:
70883 // else
70884 $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
70885 break;
70886 case 7:
70887 // then
70888 $async$goto = 10;
70889 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);
70890 case 10:
70891 // returning from await.
70892 $async$returnValue = $async$result;
70893 // goto return
70894 $async$goto = 1;
70895 break;
70896 // goto join
70897 $async$goto = 8;
70898 break;
70899 case 9:
70900 // else
70901 $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
70902 break;
70903 case 11:
70904 // then
70905 t1 = $arguments.named;
70906 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
70907 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
70908 t1 = callable.name + "(";
70909 t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
70910 case 14:
70911 // for condition
70912 if (!(_i < t3)) {
70913 // goto after for
70914 $async$goto = 16;
70915 break;
70916 }
70917 argument = t2[_i];
70918 if (first)
70919 first = false;
70920 else
70921 t1 += ", ";
70922 $async$temp1 = A;
70923 $async$goto = 17;
70924 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
70925 case 17:
70926 // returning from await.
70927 t1 += $async$temp1.S($async$result);
70928 case 15:
70929 // for update
70930 ++_i;
70931 // goto for condition
70932 $async$goto = 14;
70933 break;
70934 case 16:
70935 // after for
70936 restArg = $arguments.rest;
70937 $async$goto = restArg != null ? 18 : 19;
70938 break;
70939 case 18:
70940 // then
70941 $async$goto = 20;
70942 return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
70943 case 20:
70944 // returning from await.
70945 rest = $async$result;
70946 if (!first)
70947 t1 += ", ";
70948 t1 += $async$self._async_evaluate0$_serialize$2(rest, restArg);
70949 case 19:
70950 // join
70951 t1 += A.Primitives_stringFromCharCode(41);
70952 $async$returnValue = new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
70953 // goto return
70954 $async$goto = 1;
70955 break;
70956 // goto join
70957 $async$goto = 12;
70958 break;
70959 case 13:
70960 // else
70961 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
70962 case 12:
70963 // join
70964 case 8:
70965 // join
70966 case 4:
70967 // join
70968 case 1:
70969 // return
70970 return A._asyncReturn($async$returnValue, $async$completer);
70971 }
70972 });
70973 return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
70974 },
70975 _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
70976 return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
70977 },
70978 _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
70979 var $async$goto = 0,
70980 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70981 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, evaluated, oldCallableNode, $async$exception;
70982 var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70983 if ($async$errorCode === 1) {
70984 $async$currentError = $async$result;
70985 $async$goto = $async$handler;
70986 }
70987 while (true)
70988 switch ($async$goto) {
70989 case 0:
70990 // Function start
70991 $async$goto = 3;
70992 return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
70993 case 3:
70994 // returning from await.
70995 evaluated = $async$result;
70996 oldCallableNode = $async$self._async_evaluate0$_callableNode;
70997 $async$self._async_evaluate0$_callableNode = nodeWithSpan;
70998 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
70999 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
71000 overload = tuple.item1;
71001 callback = tuple.item2;
71002 $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(overload, evaluated, namedSet));
71003 declaredArguments = overload.$arguments;
71004 i = evaluated.positional.length, t1 = declaredArguments.length;
71005 case 4:
71006 // for condition
71007 if (!(i < t1)) {
71008 // goto after for
71009 $async$goto = 6;
71010 break;
71011 }
71012 argument = declaredArguments[i];
71013 t2 = evaluated.positional;
71014 t3 = evaluated.named.remove$1(0, argument.name);
71015 $async$goto = t3 == null ? 7 : 8;
71016 break;
71017 case 7:
71018 // then
71019 t3 = argument.defaultValue;
71020 $async$goto = 9;
71021 return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate0$_runBuiltInCallable$3);
71022 case 9:
71023 // returning from await.
71024 t3 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t3);
71025 case 8:
71026 // join
71027 t2.push(t3);
71028 case 5:
71029 // for update
71030 ++i;
71031 // goto for condition
71032 $async$goto = 4;
71033 break;
71034 case 6:
71035 // after for
71036 if (overload.restArgument != null) {
71037 if (evaluated.positional.length > t1) {
71038 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
71039 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
71040 } else
71041 rest = B.List_empty15;
71042 t1 = evaluated.named;
71043 argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : evaluated.separator);
71044 evaluated.positional.push(argumentList);
71045 } else
71046 argumentList = null;
71047 result = null;
71048 $async$handler = 11;
71049 $async$goto = 14;
71050 return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate0$_runBuiltInCallable$3);
71051 case 14:
71052 // returning from await.
71053 result = $async$result;
71054 $async$handler = 2;
71055 // goto after finally
71056 $async$goto = 13;
71057 break;
71058 case 11:
71059 // catch
71060 $async$handler = 10;
71061 $async$exception = $async$currentError;
71062 t1 = A.unwrapException($async$exception);
71063 if (type$.SassRuntimeException_2._is(t1))
71064 throw $async$exception;
71065 else if (t1 instanceof A.MultiSpanSassScriptException0) {
71066 error = t1;
71067 stackTrace = A.getTraceFromException($async$exception);
71068 t1 = error.message;
71069 t2 = nodeWithSpan.get$span(nodeWithSpan);
71070 t3 = error.primaryLabel;
71071 t4 = error.secondarySpans;
71072 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0($async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
71073 } else if (t1 instanceof A.MultiSpanSassException0) {
71074 error0 = t1;
71075 stackTrace0 = A.getTraceFromException($async$exception);
71076 t1 = error0._span_exception$_message;
71077 t2 = error0;
71078 t3 = J.getInterceptor$z(t2);
71079 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
71080 t3 = error0.primaryLabel;
71081 t4 = error0.secondarySpans;
71082 t5 = error0;
71083 t6 = J.getInterceptor$z(t5);
71084 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
71085 } else {
71086 error1 = t1;
71087 stackTrace1 = A.getTraceFromException($async$exception);
71088 message = null;
71089 try {
71090 message = A._asString(J.get$message$x(error1));
71091 } catch (exception) {
71092 message0 = J.toString$0$(error1);
71093 message = message0;
71094 }
71095 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
71096 }
71097 // goto after finally
71098 $async$goto = 13;
71099 break;
71100 case 10:
71101 // uncaught
71102 // goto rethrow
71103 $async$goto = 2;
71104 break;
71105 case 13:
71106 // after finally
71107 $async$self._async_evaluate0$_callableNode = oldCallableNode;
71108 if (argumentList == null) {
71109 $async$returnValue = result;
71110 // goto return
71111 $async$goto = 1;
71112 break;
71113 }
71114 t1 = evaluated.named;
71115 if (t1.get$isEmpty(t1)) {
71116 $async$returnValue = result;
71117 // goto return
71118 $async$goto = 1;
71119 break;
71120 }
71121 if (argumentList._argument_list$_wereKeywordsAccessed) {
71122 $async$returnValue = result;
71123 // goto return
71124 $async$goto = 1;
71125 break;
71126 }
71127 t1 = evaluated.named;
71128 t1 = t1.get$keys(t1);
71129 t1 = "No " + A.pluralize0("argument", t1.get$length(t1), null) + " named ";
71130 t2 = evaluated.named;
71131 throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + A.S(A.toSentence0(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure6(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
71132 case 1:
71133 // return
71134 return A._asyncReturn($async$returnValue, $async$completer);
71135 case 2:
71136 // rethrow
71137 return A._asyncRethrow($async$currentError, $async$completer);
71138 }
71139 });
71140 return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
71141 },
71142 _async_evaluate0$_evaluateArguments$1($arguments) {
71143 return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
71144 },
71145 _evaluateArguments$body$_EvaluateVisitor0($arguments) {
71146 var $async$goto = 0,
71147 $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults_2),
71148 $async$returnValue, $async$self = this, t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, positional, positionalNodes, $async$temp1, $async$temp2;
71149 var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71150 if ($async$errorCode === 1)
71151 return A._asyncRethrow($async$result, $async$completer);
71152 while (true)
71153 switch ($async$goto) {
71154 case 0:
71155 // Function start
71156 positional = A._setArrayType([], type$.JSArray_Value_2);
71157 positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
71158 t1 = $arguments.positional, t2 = t1.length, _i = 0;
71159 case 3:
71160 // for condition
71161 if (!(_i < t2)) {
71162 // goto after for
71163 $async$goto = 5;
71164 break;
71165 }
71166 expression = t1[_i];
71167 nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
71168 $async$temp1 = positional;
71169 $async$goto = 6;
71170 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71171 case 6:
71172 // returning from await.
71173 $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
71174 positionalNodes.push(nodeForSpan);
71175 case 4:
71176 // for update
71177 ++_i;
71178 // goto for condition
71179 $async$goto = 3;
71180 break;
71181 case 5:
71182 // after for
71183 t1 = type$.String;
71184 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
71185 t2 = type$.AstNode_2;
71186 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71187 t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
71188 case 7:
71189 // for condition
71190 if (!t3.moveNext$0()) {
71191 // goto after for
71192 $async$goto = 8;
71193 break;
71194 }
71195 t4 = t3.get$current(t3);
71196 t5 = t4.value;
71197 nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
71198 t4 = t4.key;
71199 $async$temp1 = named;
71200 $async$temp2 = t4;
71201 $async$goto = 9;
71202 return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71203 case 9:
71204 // returning from await.
71205 $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
71206 namedNodes.$indexSet(0, t4, nodeForSpan);
71207 // goto for condition
71208 $async$goto = 7;
71209 break;
71210 case 8:
71211 // after for
71212 restArgs = $arguments.rest;
71213 if (restArgs == null) {
71214 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null0);
71215 // goto return
71216 $async$goto = 1;
71217 break;
71218 }
71219 $async$goto = 10;
71220 return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71221 case 10:
71222 // returning from await.
71223 rest = $async$result;
71224 restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
71225 if (rest instanceof A.SassMap0) {
71226 $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
71227 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71228 for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
71229 t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
71230 namedNodes.addAll$1(0, t3);
71231 separator = B.ListSeparator_undecided_null0;
71232 } else if (rest instanceof A.SassList0) {
71233 t3 = rest._list1$_contents;
71234 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>")));
71235 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
71236 separator = rest._list1$_separator;
71237 if (rest instanceof A.SassArgumentList0) {
71238 rest._argument_list$_wereKeywordsAccessed = true;
71239 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
71240 }
71241 } else {
71242 positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
71243 positionalNodes.push(restNodeForSpan);
71244 separator = B.ListSeparator_undecided_null0;
71245 }
71246 keywordRestArgs = $arguments.keywordRest;
71247 if (keywordRestArgs == null) {
71248 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
71249 // goto return
71250 $async$goto = 1;
71251 break;
71252 }
71253 $async$goto = 11;
71254 return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71255 case 11:
71256 // returning from await.
71257 keywordRest = $async$result;
71258 keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
71259 if (keywordRest instanceof A.SassMap0) {
71260 $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
71261 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71262 for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
71263 t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
71264 namedNodes.addAll$1(0, t1);
71265 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
71266 // goto return
71267 $async$goto = 1;
71268 break;
71269 } else
71270 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
71271 case 1:
71272 // return
71273 return A._asyncReturn($async$returnValue, $async$completer);
71274 }
71275 });
71276 return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
71277 },
71278 _async_evaluate0$_evaluateMacroArguments$1(invocation) {
71279 return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
71280 },
71281 _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
71282 var $async$goto = 0,
71283 $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression_2),
71284 $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
71285 var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71286 if ($async$errorCode === 1)
71287 return A._asyncRethrow($async$result, $async$completer);
71288 while (true)
71289 switch ($async$goto) {
71290 case 0:
71291 // Function start
71292 t1 = invocation.$arguments;
71293 restArgs_ = t1.rest;
71294 if (restArgs_ == null) {
71295 $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71296 // goto return
71297 $async$goto = 1;
71298 break;
71299 }
71300 t2 = t1.positional;
71301 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
71302 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
71303 $async$goto = 3;
71304 return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
71305 case 3:
71306 // returning from await.
71307 rest = $async$result;
71308 restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
71309 if (rest instanceof A.SassMap0)
71310 $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
71311 else if (rest instanceof A.SassList0) {
71312 t2 = rest._list1$_contents;
71313 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>")));
71314 if (rest instanceof A.SassArgumentList0) {
71315 rest._argument_list$_wereKeywordsAccessed = true;
71316 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
71317 }
71318 } else
71319 positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
71320 keywordRestArgs_ = t1.keywordRest;
71321 if (keywordRestArgs_ == null) {
71322 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71323 // goto return
71324 $async$goto = 1;
71325 break;
71326 }
71327 $async$goto = 4;
71328 return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
71329 case 4:
71330 // returning from await.
71331 keywordRest = $async$result;
71332 keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
71333 if (keywordRest instanceof A.SassMap0) {
71334 $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
71335 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71336 // goto return
71337 $async$goto = 1;
71338 break;
71339 } else
71340 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
71341 case 1:
71342 // return
71343 return A._asyncReturn($async$returnValue, $async$completer);
71344 }
71345 });
71346 return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
71347 },
71348 _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
71349 map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
71350 },
71351 _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
71352 return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
71353 },
71354 _async_evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
71355 return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2($arguments, positional, named));
71356 },
71357 visitSelectorExpression$1(node) {
71358 return this.visitSelectorExpression$body$_EvaluateVisitor0(node);
71359 },
71360 visitSelectorExpression$body$_EvaluateVisitor0(node) {
71361 var $async$goto = 0,
71362 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
71363 $async$returnValue, $async$self = this, t1;
71364 var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71365 if ($async$errorCode === 1)
71366 return A._asyncRethrow($async$result, $async$completer);
71367 while (true)
71368 switch ($async$goto) {
71369 case 0:
71370 // Function start
71371 t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
71372 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
71373 $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
71374 // goto return
71375 $async$goto = 1;
71376 break;
71377 case 1:
71378 // return
71379 return A._asyncReturn($async$returnValue, $async$completer);
71380 }
71381 });
71382 return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
71383 },
71384 visitStringExpression$1(node) {
71385 return this.visitStringExpression$body$_EvaluateVisitor0(node);
71386 },
71387 visitStringExpression$body$_EvaluateVisitor0(node) {
71388 var $async$goto = 0,
71389 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
71390 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
71391 var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71392 if ($async$errorCode === 1)
71393 return A._asyncRethrow($async$result, $async$completer);
71394 while (true)
71395 switch ($async$goto) {
71396 case 0:
71397 // Function start
71398 oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
71399 $async$self._async_evaluate0$_inSupportsDeclaration = false;
71400 $async$temp1 = J;
71401 $async$goto = 3;
71402 return A._asyncAwait(A.mapAsync0(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure2($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
71403 case 3:
71404 // returning from await.
71405 t1 = $async$temp1.join$0$ax($async$result);
71406 $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
71407 $async$returnValue = new A.SassString0(t1, node.hasQuotes);
71408 // goto return
71409 $async$goto = 1;
71410 break;
71411 case 1:
71412 // return
71413 return A._asyncReturn($async$returnValue, $async$completer);
71414 }
71415 });
71416 return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
71417 },
71418 visitCssAtRule$1(node) {
71419 return this.visitCssAtRule$body$_EvaluateVisitor0(node);
71420 },
71421 visitCssAtRule$body$_EvaluateVisitor0(node) {
71422 var $async$goto = 0,
71423 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71424 $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
71425 var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71426 if ($async$errorCode === 1)
71427 return A._asyncRethrow($async$result, $async$completer);
71428 while (true)
71429 switch ($async$goto) {
71430 case 0:
71431 // Function start
71432 if ($async$self._async_evaluate0$_declarationName != null)
71433 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
71434 if (node.isChildless) {
71435 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
71436 // goto return
71437 $async$goto = 1;
71438 break;
71439 }
71440 wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
71441 wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
71442 t1 = node.name;
71443 if (A.unvendor0(t1.get$value(t1)) === "keyframes")
71444 $async$self._async_evaluate0$_inKeyframes = true;
71445 else
71446 $async$self._async_evaluate0$_inUnknownAtRule = true;
71447 $async$goto = 3;
71448 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);
71449 case 3:
71450 // returning from await.
71451 $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
71452 $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
71453 case 1:
71454 // return
71455 return A._asyncReturn($async$returnValue, $async$completer);
71456 }
71457 });
71458 return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
71459 },
71460 visitCssComment$1(node) {
71461 return this.visitCssComment$body$_EvaluateVisitor0(node);
71462 },
71463 visitCssComment$body$_EvaluateVisitor0(node) {
71464 var $async$goto = 0,
71465 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71466 $async$self = this;
71467 var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71468 if ($async$errorCode === 1)
71469 return A._asyncRethrow($async$result, $async$completer);
71470 while (true)
71471 switch ($async$goto) {
71472 case 0:
71473 // Function start
71474 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))
71475 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
71476 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
71477 // implicit return
71478 return A._asyncReturn(null, $async$completer);
71479 }
71480 });
71481 return A._asyncStartSync($async$visitCssComment$1, $async$completer);
71482 },
71483 visitCssDeclaration$1(node) {
71484 return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
71485 },
71486 visitCssDeclaration$body$_EvaluateVisitor0(node) {
71487 var $async$goto = 0,
71488 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71489 $async$self = this, t1;
71490 var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71491 if ($async$errorCode === 1)
71492 return A._asyncRethrow($async$result, $async$completer);
71493 while (true)
71494 switch ($async$goto) {
71495 case 0:
71496 // Function start
71497 t1 = node.name;
71498 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(t1, node.value, node.span, J.startsWith$1$s(t1.get$value(t1), "--"), node.valueSpanForMap));
71499 // implicit return
71500 return A._asyncReturn(null, $async$completer);
71501 }
71502 });
71503 return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
71504 },
71505 visitCssImport$1(node) {
71506 return this.visitCssImport$body$_EvaluateVisitor0(node);
71507 },
71508 visitCssImport$body$_EvaluateVisitor0(node) {
71509 var $async$goto = 0,
71510 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71511 $async$self = this, t1, modifiableNode;
71512 var $async$visitCssImport$1 = 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 modifiableNode = A.ModifiableCssImport$0(node.url, node.span, node.media, node.supports);
71520 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"))
71521 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
71522 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)) {
71523 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
71524 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
71525 } else {
71526 t1 = $async$self._async_evaluate0$_outOfOrderImports;
71527 (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
71528 }
71529 // implicit return
71530 return A._asyncReturn(null, $async$completer);
71531 }
71532 });
71533 return A._asyncStartSync($async$visitCssImport$1, $async$completer);
71534 },
71535 visitCssKeyframeBlock$1(node) {
71536 return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
71537 },
71538 visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
71539 var $async$goto = 0,
71540 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71541 $async$self = this;
71542 var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71543 if ($async$errorCode === 1)
71544 return A._asyncRethrow($async$result, $async$completer);
71545 while (true)
71546 switch ($async$goto) {
71547 case 0:
71548 // Function start
71549 $async$goto = 2;
71550 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);
71551 case 2:
71552 // returning from await.
71553 // implicit return
71554 return A._asyncReturn(null, $async$completer);
71555 }
71556 });
71557 return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
71558 },
71559 visitCssMediaRule$1(node) {
71560 return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
71561 },
71562 visitCssMediaRule$body$_EvaluateVisitor0(node) {
71563 var $async$goto = 0,
71564 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71565 $async$returnValue, $async$self = this, mergedQueries, t1;
71566 var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71567 if ($async$errorCode === 1)
71568 return A._asyncRethrow($async$result, $async$completer);
71569 while (true)
71570 switch ($async$goto) {
71571 case 0:
71572 // Function start
71573 if ($async$self._async_evaluate0$_declarationName != null)
71574 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
71575 mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
71576 t1 = mergedQueries == null;
71577 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
71578 // goto return
71579 $async$goto = 1;
71580 break;
71581 }
71582 t1 = t1 ? node.queries : mergedQueries;
71583 $async$goto = 3;
71584 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), false, new A._EvaluateVisitor_visitCssMediaRule_closure10(mergedQueries), type$.ModifiableCssMediaRule_2, type$.Null), $async$visitCssMediaRule$1);
71585 case 3:
71586 // returning from await.
71587 case 1:
71588 // return
71589 return A._asyncReturn($async$returnValue, $async$completer);
71590 }
71591 });
71592 return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
71593 },
71594 visitCssStyleRule$1(node) {
71595 return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
71596 },
71597 visitCssStyleRule$body$_EvaluateVisitor0(node) {
71598 var $async$goto = 0,
71599 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71600 $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
71601 var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71602 if ($async$errorCode === 1)
71603 return A._asyncRethrow($async$result, $async$completer);
71604 while (true)
71605 switch ($async$goto) {
71606 case 0:
71607 // Function start
71608 if ($async$self._async_evaluate0$_declarationName != null)
71609 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
71610 t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
71611 styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
71612 t2 = node.selector;
71613 t3 = t2.value;
71614 t4 = styleRule == null;
71615 t5 = t4 ? null : styleRule.originalSelector;
71616 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
71617 rule = A.ModifiableCssStyleRule$0($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, $async$self._async_evaluate0$_mediaQueries), node.span, originalSelector);
71618 oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
71619 $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
71620 $async$goto = 2;
71621 return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure5($async$self, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure6(), type$.ModifiableCssStyleRule_2, type$.Null), $async$visitCssStyleRule$1);
71622 case 2:
71623 // returning from await.
71624 $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
71625 if (t4) {
71626 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
71627 t1 = !t1.get$isEmpty(t1);
71628 } else
71629 t1 = false;
71630 if (t1) {
71631 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
71632 t1.get$last(t1).isGroupEnd = true;
71633 }
71634 // implicit return
71635 return A._asyncReturn(null, $async$completer);
71636 }
71637 });
71638 return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
71639 },
71640 visitCssStylesheet$1(node) {
71641 return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
71642 },
71643 visitCssStylesheet$body$_EvaluateVisitor0(node) {
71644 var $async$goto = 0,
71645 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71646 $async$self = this, t1;
71647 var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71648 if ($async$errorCode === 1)
71649 return A._asyncRethrow($async$result, $async$completer);
71650 while (true)
71651 switch ($async$goto) {
71652 case 0:
71653 // Function start
71654 t1 = J.get$iterator$ax(node.get$children(node));
71655 case 2:
71656 // for condition
71657 if (!t1.moveNext$0()) {
71658 // goto after for
71659 $async$goto = 3;
71660 break;
71661 }
71662 $async$goto = 4;
71663 return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
71664 case 4:
71665 // returning from await.
71666 // goto for condition
71667 $async$goto = 2;
71668 break;
71669 case 3:
71670 // after for
71671 // implicit return
71672 return A._asyncReturn(null, $async$completer);
71673 }
71674 });
71675 return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
71676 },
71677 visitCssSupportsRule$1(node) {
71678 return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
71679 },
71680 visitCssSupportsRule$body$_EvaluateVisitor0(node) {
71681 var $async$goto = 0,
71682 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71683 $async$self = this;
71684 var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71685 if ($async$errorCode === 1)
71686 return A._asyncRethrow($async$result, $async$completer);
71687 while (true)
71688 switch ($async$goto) {
71689 case 0:
71690 // Function start
71691 if ($async$self._async_evaluate0$_declarationName != null)
71692 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
71693 $async$goto = 2;
71694 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);
71695 case 2:
71696 // returning from await.
71697 // implicit return
71698 return A._asyncReturn(null, $async$completer);
71699 }
71700 });
71701 return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
71702 },
71703 _async_evaluate0$_handleReturn$1$2(list, callback) {
71704 return this._handleReturn$body$_EvaluateVisitor0(list, callback);
71705 },
71706 _async_evaluate0$_handleReturn$2(list, callback) {
71707 return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
71708 },
71709 _handleReturn$body$_EvaluateVisitor0(list, callback) {
71710 var $async$goto = 0,
71711 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
71712 $async$returnValue, t1, _i, result;
71713 var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71714 if ($async$errorCode === 1)
71715 return A._asyncRethrow($async$result, $async$completer);
71716 while (true)
71717 switch ($async$goto) {
71718 case 0:
71719 // Function start
71720 t1 = list.length, _i = 0;
71721 case 3:
71722 // for condition
71723 if (!(_i < list.length)) {
71724 // goto after for
71725 $async$goto = 5;
71726 break;
71727 }
71728 $async$goto = 6;
71729 return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
71730 case 6:
71731 // returning from await.
71732 result = $async$result;
71733 if (result != null) {
71734 $async$returnValue = result;
71735 // goto return
71736 $async$goto = 1;
71737 break;
71738 }
71739 case 4:
71740 // for update
71741 list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
71742 // goto for condition
71743 $async$goto = 3;
71744 break;
71745 case 5:
71746 // after for
71747 $async$returnValue = null;
71748 // goto return
71749 $async$goto = 1;
71750 break;
71751 case 1:
71752 // return
71753 return A._asyncReturn($async$returnValue, $async$completer);
71754 }
71755 });
71756 return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
71757 },
71758 _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
71759 return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
71760 },
71761 _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
71762 var $async$goto = 0,
71763 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71764 $async$returnValue, $async$self = this, result, oldEnvironment;
71765 var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71766 if ($async$errorCode === 1)
71767 return A._asyncRethrow($async$result, $async$completer);
71768 while (true)
71769 switch ($async$goto) {
71770 case 0:
71771 // Function start
71772 oldEnvironment = $async$self._async_evaluate0$_environment;
71773 $async$self._async_evaluate0$_environment = environment;
71774 $async$goto = 3;
71775 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
71776 case 3:
71777 // returning from await.
71778 result = $async$result;
71779 $async$self._async_evaluate0$_environment = oldEnvironment;
71780 $async$returnValue = result;
71781 // goto return
71782 $async$goto = 1;
71783 break;
71784 case 1:
71785 // return
71786 return A._asyncReturn($async$returnValue, $async$completer);
71787 }
71788 });
71789 return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
71790 },
71791 _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
71792 return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
71793 },
71794 _async_evaluate0$_interpolationToValue$1(interpolation) {
71795 return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
71796 },
71797 _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
71798 return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
71799 },
71800 _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
71801 var $async$goto = 0,
71802 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
71803 $async$returnValue, $async$self = this, result, t1;
71804 var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71805 if ($async$errorCode === 1)
71806 return A._asyncRethrow($async$result, $async$completer);
71807 while (true)
71808 switch ($async$goto) {
71809 case 0:
71810 // Function start
71811 $async$goto = 3;
71812 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
71813 case 3:
71814 // returning from await.
71815 result = $async$result;
71816 t1 = trim ? A.trimAscii0(result, true) : result;
71817 $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
71818 // goto return
71819 $async$goto = 1;
71820 break;
71821 case 1:
71822 // return
71823 return A._asyncReturn($async$returnValue, $async$completer);
71824 }
71825 });
71826 return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
71827 },
71828 _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
71829 return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
71830 },
71831 _async_evaluate0$_performInterpolation$1(interpolation) {
71832 return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
71833 },
71834 _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
71835 var $async$goto = 0,
71836 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
71837 $async$returnValue, $async$self = this, result, oldInSupportsDeclaration, $async$temp1;
71838 var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71839 if ($async$errorCode === 1)
71840 return A._asyncRethrow($async$result, $async$completer);
71841 while (true)
71842 switch ($async$goto) {
71843 case 0:
71844 // Function start
71845 oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
71846 $async$self._async_evaluate0$_inSupportsDeclaration = false;
71847 $async$temp1 = J;
71848 $async$goto = 3;
71849 return A._asyncAwait(A.mapAsync0(interpolation.contents, new A._EvaluateVisitor__performInterpolation_closure2($async$self, warnForColor, interpolation), type$.Object, type$.String), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
71850 case 3:
71851 // returning from await.
71852 result = $async$temp1.join$0$ax($async$result);
71853 $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
71854 $async$returnValue = result;
71855 // goto return
71856 $async$goto = 1;
71857 break;
71858 case 1:
71859 // return
71860 return A._asyncReturn($async$returnValue, $async$completer);
71861 }
71862 });
71863 return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
71864 },
71865 _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
71866 return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
71867 },
71868 _async_evaluate0$_evaluateToCss$1(expression) {
71869 return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
71870 },
71871 _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
71872 var $async$goto = 0,
71873 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
71874 $async$returnValue, $async$self = this;
71875 var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71876 if ($async$errorCode === 1)
71877 return A._asyncRethrow($async$result, $async$completer);
71878 while (true)
71879 switch ($async$goto) {
71880 case 0:
71881 // Function start
71882 $async$goto = 3;
71883 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateToCss$2$quote);
71884 case 3:
71885 // returning from await.
71886 $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
71887 // goto return
71888 $async$goto = 1;
71889 break;
71890 case 1:
71891 // return
71892 return A._asyncReturn($async$returnValue, $async$completer);
71893 }
71894 });
71895 return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
71896 },
71897 _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
71898 return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
71899 },
71900 _async_evaluate0$_serialize$2(value, nodeWithSpan) {
71901 return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
71902 },
71903 _async_evaluate0$_expressionNode$1(expression) {
71904 var t1;
71905 if (expression instanceof A.VariableExpression0) {
71906 t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
71907 return t1 == null ? expression : t1;
71908 } else
71909 return expression;
71910 },
71911 _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
71912 return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
71913 },
71914 _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
71915 return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
71916 },
71917 _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
71918 return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
71919 },
71920 _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
71921 var $async$goto = 0,
71922 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71923 $async$returnValue, $async$self = this, t1, result;
71924 var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71925 if ($async$errorCode === 1)
71926 return A._asyncRethrow($async$result, $async$completer);
71927 while (true)
71928 switch ($async$goto) {
71929 case 0:
71930 // Function start
71931 $async$self._async_evaluate0$_addChild$2$through(node, through);
71932 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
71933 $async$self._async_evaluate0$__parent = node;
71934 $async$goto = 3;
71935 return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
71936 case 3:
71937 // returning from await.
71938 result = $async$result;
71939 $async$self._async_evaluate0$__parent = t1;
71940 $async$returnValue = result;
71941 // goto return
71942 $async$goto = 1;
71943 break;
71944 case 1:
71945 // return
71946 return A._asyncReturn($async$returnValue, $async$completer);
71947 }
71948 });
71949 return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
71950 },
71951 _async_evaluate0$_addChild$2$through(node, through) {
71952 var grandparent, t1,
71953 $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
71954 if (through != null) {
71955 for (; through.call$1($parent); $parent = grandparent) {
71956 grandparent = $parent._node1$_parent;
71957 if (grandparent == null)
71958 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
71959 }
71960 if ($parent.get$hasFollowingSibling()) {
71961 t1 = $parent._node1$_parent;
71962 t1.toString;
71963 $parent = $parent.copyWithoutChildren$0();
71964 t1.addChild$1($parent);
71965 }
71966 }
71967 $parent.addChild$1(node);
71968 },
71969 _async_evaluate0$_addChild$1(node) {
71970 return this._async_evaluate0$_addChild$2$through(node, null);
71971 },
71972 _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
71973 return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
71974 },
71975 _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
71976 var $async$goto = 0,
71977 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71978 $async$returnValue, $async$self = this, result, oldRule;
71979 var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71980 if ($async$errorCode === 1)
71981 return A._asyncRethrow($async$result, $async$completer);
71982 while (true)
71983 switch ($async$goto) {
71984 case 0:
71985 // Function start
71986 oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
71987 $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
71988 $async$goto = 3;
71989 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
71990 case 3:
71991 // returning from await.
71992 result = $async$result;
71993 $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
71994 $async$returnValue = result;
71995 // goto return
71996 $async$goto = 1;
71997 break;
71998 case 1:
71999 // return
72000 return A._asyncReturn($async$returnValue, $async$completer);
72001 }
72002 });
72003 return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
72004 },
72005 _async_evaluate0$_withMediaQueries$1$2(queries, callback, $T) {
72006 return this._withMediaQueries$body$_EvaluateVisitor0(queries, callback, $T, $T);
72007 },
72008 _withMediaQueries$body$_EvaluateVisitor0(queries, callback, $T, $async$type) {
72009 var $async$goto = 0,
72010 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72011 $async$returnValue, $async$self = this, result, oldMediaQueries;
72012 var $async$_async_evaluate0$_withMediaQueries$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72013 if ($async$errorCode === 1)
72014 return A._asyncRethrow($async$result, $async$completer);
72015 while (true)
72016 switch ($async$goto) {
72017 case 0:
72018 // Function start
72019 oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
72020 $async$self._async_evaluate0$_mediaQueries = queries;
72021 $async$goto = 3;
72022 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$2);
72023 case 3:
72024 // returning from await.
72025 result = $async$result;
72026 $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
72027 $async$returnValue = result;
72028 // goto return
72029 $async$goto = 1;
72030 break;
72031 case 1:
72032 // return
72033 return A._asyncReturn($async$returnValue, $async$completer);
72034 }
72035 });
72036 return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$2, $async$completer);
72037 },
72038 _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
72039 return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
72040 },
72041 _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
72042 var $async$goto = 0,
72043 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72044 $async$returnValue, $async$self = this, oldMember, result, t1;
72045 var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72046 if ($async$errorCode === 1)
72047 return A._asyncRethrow($async$result, $async$completer);
72048 while (true)
72049 switch ($async$goto) {
72050 case 0:
72051 // Function start
72052 t1 = $async$self._async_evaluate0$_stack;
72053 t1.push(new A.Tuple2($async$self._async_evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
72054 oldMember = $async$self._async_evaluate0$_member;
72055 $async$self._async_evaluate0$_member = member;
72056 $async$goto = 3;
72057 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
72058 case 3:
72059 // returning from await.
72060 result = $async$result;
72061 $async$self._async_evaluate0$_member = oldMember;
72062 t1.pop();
72063 $async$returnValue = result;
72064 // goto return
72065 $async$goto = 1;
72066 break;
72067 case 1:
72068 // return
72069 return A._asyncReturn($async$returnValue, $async$completer);
72070 }
72071 });
72072 return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
72073 },
72074 _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
72075 if (value instanceof A.SassNumber0 && value.asSlash != null)
72076 this._async_evaluate0$_warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation2().call$1(value)) + string$.x0a_More, nodeForSpan.get$span(nodeForSpan), true);
72077 return value.withoutSlash$0();
72078 },
72079 _async_evaluate0$_stackFrame$2(member, span) {
72080 return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.file.url, new A._EvaluateVisitor__stackFrame_closure2(this)));
72081 },
72082 _async_evaluate0$_stackTrace$1(span) {
72083 var _this = this,
72084 t1 = _this._async_evaluate0$_stack;
72085 t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure2(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
72086 if (span != null)
72087 t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
72088 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
72089 },
72090 _async_evaluate0$_stackTrace$0() {
72091 return this._async_evaluate0$_stackTrace$1(null);
72092 },
72093 _async_evaluate0$_warn$3$deprecation(message, span, deprecation) {
72094 var t1, _this = this;
72095 if (_this._async_evaluate0$_quietDeps)
72096 if (!_this._async_evaluate0$_inDependency) {
72097 t1 = _this._async_evaluate0$_currentCallable;
72098 t1 = t1 == null ? null : t1.inDependency;
72099 t1 = t1 === true;
72100 } else
72101 t1 = true;
72102 else
72103 t1 = false;
72104 if (t1)
72105 return;
72106 if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
72107 return;
72108 _this._async_evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate0$_stackTrace$1(span));
72109 },
72110 _async_evaluate0$_warn$2(message, span) {
72111 return this._async_evaluate0$_warn$3$deprecation(message, span, false);
72112 },
72113 _async_evaluate0$_exception$2(message, span) {
72114 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2) : span;
72115 return new A.SassRuntimeException0(this._async_evaluate0$_stackTrace$1(span), message, t1);
72116 },
72117 _async_evaluate0$_exception$1(message) {
72118 return this._async_evaluate0$_exception$2(message, null);
72119 },
72120 _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
72121 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2);
72122 return new A.MultiSpanSassRuntimeException0(this._async_evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
72123 },
72124 _async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
72125 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
72126 try {
72127 t1 = callback.call$0();
72128 return t1;
72129 } catch (exception) {
72130 t1 = A.unwrapException(exception);
72131 if (t1 instanceof A.SassFormatException0) {
72132 error = t1;
72133 stackTrace = A.getTraceFromException(exception);
72134 t1 = error;
72135 t2 = J.getInterceptor$z(t1);
72136 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
72137 span = nodeWithSpan.get$span(nodeWithSpan);
72138 t1 = span;
72139 t2 = span;
72140 syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, 0, _null), 0, _null), A.FileLocation$_(t1.file, t1._file$_start).offset, A.FileLocation$_(t2.file, t2._end).offset, errorText);
72141 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
72142 t1 = span;
72143 t1 = A.FileLocation$_(t1.file, t1._file$_start);
72144 t3 = error;
72145 t4 = J.getInterceptor$z(t3);
72146 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
72147 t3 = A.FileLocation$_(t3.file, t3._file$_start);
72148 t4 = span;
72149 t4 = A.FileLocation$_(t4.file, t4._file$_start);
72150 t5 = error;
72151 t6 = J.getInterceptor$z(t5);
72152 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
72153 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
72154 A.throwWithTrace0(this._async_evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
72155 } else
72156 throw exception;
72157 }
72158 },
72159 _async_evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
72160 return this._async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
72161 },
72162 _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
72163 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
72164 try {
72165 t1 = callback.call$0();
72166 return t1;
72167 } catch (exception) {
72168 t1 = A.unwrapException(exception);
72169 if (t1 instanceof A.MultiSpanSassScriptException0) {
72170 error = t1;
72171 stackTrace = A.getTraceFromException(exception);
72172 t1 = error.message;
72173 t2 = nodeWithSpan.get$span(nodeWithSpan);
72174 t3 = error.primaryLabel;
72175 t4 = error.secondarySpans;
72176 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(this._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
72177 } else if (t1 instanceof A.SassScriptException0) {
72178 error0 = t1;
72179 stackTrace0 = A.getTraceFromException(exception);
72180 A.throwWithTrace0(this._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
72181 } else
72182 throw exception;
72183 }
72184 },
72185 _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
72186 return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
72187 },
72188 _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
72189 return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
72190 },
72191 _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
72192 var $async$goto = 0,
72193 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72194 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
72195 var $async$_async_evaluate0$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72196 if ($async$errorCode === 1) {
72197 $async$currentError = $async$result;
72198 $async$goto = $async$handler;
72199 }
72200 while (true)
72201 switch ($async$goto) {
72202 case 0:
72203 // Function start
72204 $async$handler = 4;
72205 $async$goto = 7;
72206 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addExceptionSpanAsync$1$2);
72207 case 7:
72208 // returning from await.
72209 t1 = $async$result;
72210 $async$returnValue = t1;
72211 // goto return
72212 $async$goto = 1;
72213 break;
72214 $async$handler = 2;
72215 // goto after finally
72216 $async$goto = 6;
72217 break;
72218 case 4:
72219 // catch
72220 $async$handler = 3;
72221 $async$exception = $async$currentError;
72222 t1 = A.unwrapException($async$exception);
72223 if (t1 instanceof A.MultiSpanSassScriptException0) {
72224 error = t1;
72225 stackTrace = A.getTraceFromException($async$exception);
72226 t1 = error.message;
72227 t2 = nodeWithSpan.get$span(nodeWithSpan);
72228 t3 = error.primaryLabel;
72229 t4 = error.secondarySpans;
72230 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0($async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
72231 } else if (t1 instanceof A.SassScriptException0) {
72232 error0 = t1;
72233 stackTrace0 = A.getTraceFromException($async$exception);
72234 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
72235 } else
72236 throw $async$exception;
72237 // goto after finally
72238 $async$goto = 6;
72239 break;
72240 case 3:
72241 // uncaught
72242 // goto rethrow
72243 $async$goto = 2;
72244 break;
72245 case 6:
72246 // after finally
72247 case 1:
72248 // return
72249 return A._asyncReturn($async$returnValue, $async$completer);
72250 case 2:
72251 // rethrow
72252 return A._asyncRethrow($async$currentError, $async$completer);
72253 }
72254 });
72255 return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$2, $async$completer);
72256 },
72257 _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
72258 return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
72259 },
72260 _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
72261 var $async$goto = 0,
72262 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72263 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
72264 var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72265 if ($async$errorCode === 1) {
72266 $async$currentError = $async$result;
72267 $async$goto = $async$handler;
72268 }
72269 while (true)
72270 switch ($async$goto) {
72271 case 0:
72272 // Function start
72273 $async$handler = 4;
72274 $async$goto = 7;
72275 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
72276 case 7:
72277 // returning from await.
72278 t1 = $async$result;
72279 $async$returnValue = t1;
72280 // goto return
72281 $async$goto = 1;
72282 break;
72283 $async$handler = 2;
72284 // goto after finally
72285 $async$goto = 6;
72286 break;
72287 case 4:
72288 // catch
72289 $async$handler = 3;
72290 $async$exception = $async$currentError;
72291 t1 = A.unwrapException($async$exception);
72292 if (type$.SassRuntimeException_2._is(t1)) {
72293 error = t1;
72294 stackTrace = A.getTraceFromException($async$exception);
72295 t1 = J.get$span$z(error);
72296 if (!B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null), "@error"))
72297 throw $async$exception;
72298 t1 = error._span_exception$_message;
72299 t2 = nodeWithSpan.get$span(nodeWithSpan);
72300 A.throwWithTrace0(new A.SassRuntimeException0($async$self._async_evaluate0$_stackTrace$0(), t1, t2), stackTrace);
72301 } else
72302 throw $async$exception;
72303 // goto after finally
72304 $async$goto = 6;
72305 break;
72306 case 3:
72307 // uncaught
72308 // goto rethrow
72309 $async$goto = 2;
72310 break;
72311 case 6:
72312 // after finally
72313 case 1:
72314 // return
72315 return A._asyncReturn($async$returnValue, $async$completer);
72316 case 2:
72317 // rethrow
72318 return A._asyncRethrow($async$currentError, $async$completer);
72319 }
72320 });
72321 return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
72322 }
72323 };
72324 A._EvaluateVisitor_closure29.prototype = {
72325 call$1($arguments) {
72326 var module, t2,
72327 t1 = J.getInterceptor$asx($arguments),
72328 variable = t1.$index($arguments, 0).assertString$1("name");
72329 t1 = t1.$index($arguments, 1).get$realNull();
72330 module = t1 == null ? null : t1.assertString$1("module");
72331 t1 = this.$this._async_evaluate0$_environment;
72332 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
72333 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
72334 },
72335 $signature: 20
72336 };
72337 A._EvaluateVisitor_closure30.prototype = {
72338 call$1($arguments) {
72339 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
72340 t1 = this.$this._async_evaluate0$_environment;
72341 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72342 },
72343 $signature: 20
72344 };
72345 A._EvaluateVisitor_closure31.prototype = {
72346 call$1($arguments) {
72347 var module, t2, t3, t4,
72348 t1 = J.getInterceptor$asx($arguments),
72349 variable = t1.$index($arguments, 0).assertString$1("name");
72350 t1 = t1.$index($arguments, 1).get$realNull();
72351 module = t1 == null ? null : t1.assertString$1("module");
72352 t1 = this.$this;
72353 t2 = t1._async_evaluate0$_environment;
72354 t3 = variable._string0$_text;
72355 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
72356 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;
72357 },
72358 $signature: 20
72359 };
72360 A._EvaluateVisitor_closure32.prototype = {
72361 call$1($arguments) {
72362 var module, t2,
72363 t1 = J.getInterceptor$asx($arguments),
72364 variable = t1.$index($arguments, 0).assertString$1("name");
72365 t1 = t1.$index($arguments, 1).get$realNull();
72366 module = t1 == null ? null : t1.assertString$1("module");
72367 t1 = this.$this._async_evaluate0$_environment;
72368 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
72369 return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72370 },
72371 $signature: 20
72372 };
72373 A._EvaluateVisitor_closure33.prototype = {
72374 call$1($arguments) {
72375 var t1 = this.$this._async_evaluate0$_environment;
72376 if (!t1._async_environment0$_inMixin)
72377 throw A.wrapException(A.SassScriptException$0(string$.conten));
72378 return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72379 },
72380 $signature: 20
72381 };
72382 A._EvaluateVisitor_closure34.prototype = {
72383 call$1($arguments) {
72384 var t2, t3, t4,
72385 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
72386 module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
72387 if (module == null)
72388 throw A.wrapException('There is no module with namespace "' + t1 + '".');
72389 t1 = type$.Value_2;
72390 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
72391 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
72392 t4 = t3.get$current(t3);
72393 t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
72394 }
72395 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
72396 },
72397 $signature: 37
72398 };
72399 A._EvaluateVisitor_closure35.prototype = {
72400 call$1($arguments) {
72401 var t2, t3, t4,
72402 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
72403 module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
72404 if (module == null)
72405 throw A.wrapException('There is no module with namespace "' + t1 + '".');
72406 t1 = type$.Value_2;
72407 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
72408 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
72409 t4 = t3.get$current(t3);
72410 t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
72411 }
72412 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
72413 },
72414 $signature: 37
72415 };
72416 A._EvaluateVisitor_closure36.prototype = {
72417 call$1($arguments) {
72418 var module, callable, t2,
72419 t1 = J.getInterceptor$asx($arguments),
72420 $name = t1.$index($arguments, 0).assertString$1("name"),
72421 css = t1.$index($arguments, 1).get$isTruthy();
72422 t1 = t1.$index($arguments, 2).get$realNull();
72423 module = t1 == null ? null : t1.assertString$1("module");
72424 if (css && module != null)
72425 throw A.wrapException(string$.x24css_a);
72426 if (css)
72427 callable = new A.PlainCssCallable0($name._string0$_text);
72428 else {
72429 t1 = this.$this;
72430 t2 = t1._async_evaluate0$_callableNode;
72431 t2.toString;
72432 callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
72433 }
72434 if (callable != null)
72435 return new A.SassFunction0(callable);
72436 throw A.wrapException("Function not found: " + $name.toString$0(0));
72437 },
72438 $signature: 161
72439 };
72440 A._EvaluateVisitor__closure10.prototype = {
72441 call$0() {
72442 var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
72443 t2 = this.module;
72444 t2 = t2 == null ? null : t2._string0$_text;
72445 return this.$this._async_evaluate0$_getFunction$2$namespace(t1, t2);
72446 },
72447 $signature: 116
72448 };
72449 A._EvaluateVisitor_closure37.prototype = {
72450 call$1($arguments) {
72451 return this.$call$body$_EvaluateVisitor_closure2($arguments);
72452 },
72453 $call$body$_EvaluateVisitor_closure2($arguments) {
72454 var $async$goto = 0,
72455 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
72456 $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
72457 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72458 if ($async$errorCode === 1)
72459 return A._asyncRethrow($async$result, $async$completer);
72460 while (true)
72461 switch ($async$goto) {
72462 case 0:
72463 // Function start
72464 t1 = J.getInterceptor$asx($arguments);
72465 $function = t1.$index($arguments, 0);
72466 args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
72467 t1 = $async$self.$this;
72468 t2 = t1._async_evaluate0$_callableNode;
72469 t2.toString;
72470 t3 = A._setArrayType([], type$.JSArray_Expression_2);
72471 t4 = type$.String;
72472 t5 = type$.Expression_2;
72473 t6 = t2.get$span(t2);
72474 t7 = t2.get$span(t2);
72475 args._argument_list$_wereKeywordsAccessed = true;
72476 t8 = args._argument_list$_keywords;
72477 if (t8.get$isEmpty(t8))
72478 t2 = null;
72479 else {
72480 t9 = type$.Value_2;
72481 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
72482 for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
72483 t11 = t8.get$current(t8);
72484 t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
72485 }
72486 t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
72487 }
72488 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);
72489 $async$goto = $function instanceof A.SassString0 ? 3 : 4;
72490 break;
72491 case 3:
72492 // then
72493 t2 = string$.Passin + $function.toString$0(0) + "))";
72494 A.EvaluationContext_current0().warn$2$deprecation(0, t2, true);
72495 callableNode = t1._async_evaluate0$_callableNode;
72496 $async$goto = 5;
72497 return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
72498 case 5:
72499 // returning from await.
72500 $async$returnValue = $async$result;
72501 // goto return
72502 $async$goto = 1;
72503 break;
72504 case 4:
72505 // join
72506 t2 = $function.assertFunction$1("function");
72507 t3 = t1._async_evaluate0$_callableNode;
72508 t3.toString;
72509 $async$goto = 6;
72510 return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
72511 case 6:
72512 // returning from await.
72513 t3 = $async$result;
72514 $async$returnValue = t3;
72515 // goto return
72516 $async$goto = 1;
72517 break;
72518 case 1:
72519 // return
72520 return A._asyncReturn($async$returnValue, $async$completer);
72521 }
72522 });
72523 return A._asyncStartSync($async$call$1, $async$completer);
72524 },
72525 $signature: 93
72526 };
72527 A._EvaluateVisitor_closure38.prototype = {
72528 call$1($arguments) {
72529 return this.$call$body$_EvaluateVisitor_closure1($arguments);
72530 },
72531 $call$body$_EvaluateVisitor_closure1($arguments) {
72532 var $async$goto = 0,
72533 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
72534 $async$self = this, withMap, t2, values, configuration, t1, url;
72535 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72536 if ($async$errorCode === 1)
72537 return A._asyncRethrow($async$result, $async$completer);
72538 while (true)
72539 switch ($async$goto) {
72540 case 0:
72541 // Function start
72542 t1 = J.getInterceptor$asx($arguments);
72543 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
72544 t1 = t1.$index($arguments, 1).get$realNull();
72545 withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
72546 t1 = $async$self.$this;
72547 t2 = t1._async_evaluate0$_callableNode;
72548 t2.toString;
72549 if (withMap != null) {
72550 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
72551 withMap.forEach$1(0, new A._EvaluateVisitor__closure8(values, t2.get$span(t2), t2));
72552 configuration = new A.ExplicitConfiguration0(t2, values);
72553 } else
72554 configuration = B.Configuration_Map_empty0;
72555 $async$goto = 2;
72556 return A._asyncAwait(t1._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure9(t1), t2.get$span(t2).file.url, configuration, true), $async$call$1);
72557 case 2:
72558 // returning from await.
72559 t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
72560 // implicit return
72561 return A._asyncReturn(null, $async$completer);
72562 }
72563 });
72564 return A._asyncStartSync($async$call$1, $async$completer);
72565 },
72566 $signature: 320
72567 };
72568 A._EvaluateVisitor__closure8.prototype = {
72569 call$2(variable, value) {
72570 var t1 = variable.assertString$1("with key"),
72571 $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
72572 t1 = this.values;
72573 if (t1.containsKey$1($name))
72574 throw A.wrapException("The variable $" + $name + " was configured twice.");
72575 t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
72576 },
72577 $signature: 52
72578 };
72579 A._EvaluateVisitor__closure9.prototype = {
72580 call$1(module) {
72581 var t1 = this.$this;
72582 return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
72583 },
72584 $signature: 164
72585 };
72586 A._EvaluateVisitor_run_closure2.prototype = {
72587 call$0() {
72588 var $async$goto = 0,
72589 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
72590 $async$returnValue, $async$self = this, t2, t1, url, $async$temp1, $async$temp2;
72591 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72592 if ($async$errorCode === 1)
72593 return A._asyncRethrow($async$result, $async$completer);
72594 while (true)
72595 switch ($async$goto) {
72596 case 0:
72597 // Function start
72598 t1 = $async$self.node;
72599 url = t1.span.file.url;
72600 if (url != null) {
72601 t2 = $async$self.$this;
72602 t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
72603 if (!(t2._async_evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
72604 t2._async_evaluate0$_loadedUrls.add$1(0, url);
72605 }
72606 t2 = $async$self.$this;
72607 $async$temp1 = A;
72608 $async$temp2 = t2;
72609 $async$goto = 3;
72610 return A._asyncAwait(t2._async_evaluate0$_execute$2($async$self.importer, t1), $async$call$0);
72611 case 3:
72612 // returning from await.
72613 $async$returnValue = new $async$temp1.EvaluateResult0($async$temp2._async_evaluate0$_combineCss$1($async$result), t2._async_evaluate0$_loadedUrls);
72614 // goto return
72615 $async$goto = 1;
72616 break;
72617 case 1:
72618 // return
72619 return A._asyncReturn($async$returnValue, $async$completer);
72620 }
72621 });
72622 return A._asyncStartSync($async$call$0, $async$completer);
72623 },
72624 $signature: 323
72625 };
72626 A._EvaluateVisitor__loadModule_closure5.prototype = {
72627 call$0() {
72628 return this.callback.call$1(this.builtInModule);
72629 },
72630 $signature: 0
72631 };
72632 A._EvaluateVisitor__loadModule_closure6.prototype = {
72633 call$0() {
72634 var $async$goto = 0,
72635 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72636 $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, t1, t2, result, stylesheet, canonicalUrl, $async$exception;
72637 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72638 if ($async$errorCode === 1) {
72639 $async$currentError = $async$result;
72640 $async$goto = $async$handler;
72641 }
72642 while (true)
72643 switch ($async$goto) {
72644 case 0:
72645 // Function start
72646 t1 = $async$self.$this;
72647 t2 = $async$self.nodeWithSpan;
72648 $async$goto = 2;
72649 return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$baseUrl($async$self.url.toString$0(0), t2.get$span(t2), $async$self.baseUrl), $async$call$0);
72650 case 2:
72651 // returning from await.
72652 result = $async$result;
72653 stylesheet = result.stylesheet;
72654 canonicalUrl = stylesheet.span.file.url;
72655 if (canonicalUrl != null && t1._async_evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
72656 message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
72657 t2 = A.NullableExtension_andThen0(t1._async_evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure2(t1, message));
72658 throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1(message) : t2);
72659 }
72660 if (canonicalUrl != null)
72661 t1._async_evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
72662 oldInDependency = t1._async_evaluate0$_inDependency;
72663 t1._async_evaluate0$_inDependency = result.isDependency;
72664 module = null;
72665 $async$handler = 3;
72666 $async$goto = 6;
72667 return A._asyncAwait(t1._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
72668 case 6:
72669 // returning from await.
72670 module = $async$result;
72671 $async$next.push(5);
72672 // goto finally
72673 $async$goto = 4;
72674 break;
72675 case 3:
72676 // uncaught
72677 $async$next = [1];
72678 case 4:
72679 // finally
72680 $async$handler = 1;
72681 t1._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
72682 t1._async_evaluate0$_inDependency = oldInDependency;
72683 // goto the next finally handler
72684 $async$goto = $async$next.pop();
72685 break;
72686 case 5:
72687 // after finally
72688 $async$handler = 8;
72689 $async$goto = 11;
72690 return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
72691 case 11:
72692 // returning from await.
72693 $async$handler = 1;
72694 // goto after finally
72695 $async$goto = 10;
72696 break;
72697 case 8:
72698 // catch
72699 $async$handler = 7;
72700 $async$exception = $async$currentError;
72701 t2 = A.unwrapException($async$exception);
72702 if (type$.SassRuntimeException_2._is(t2))
72703 throw $async$exception;
72704 else if (t2 instanceof A.MultiSpanSassException0) {
72705 error = t2;
72706 stackTrace = A.getTraceFromException($async$exception);
72707 t2 = error._span_exception$_message;
72708 t3 = error;
72709 t4 = J.getInterceptor$z(t3);
72710 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
72711 t4 = error.primaryLabel;
72712 t5 = error.secondarySpans;
72713 t6 = error;
72714 t7 = J.getInterceptor$z(t6);
72715 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(t1._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
72716 } else if (t2 instanceof A.SassException0) {
72717 error0 = t2;
72718 stackTrace0 = A.getTraceFromException($async$exception);
72719 t2 = error0;
72720 t3 = J.getInterceptor$z(t2);
72721 A.throwWithTrace0(t1._async_evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
72722 } else if (t2 instanceof A.MultiSpanSassScriptException0) {
72723 error1 = t2;
72724 stackTrace1 = A.getTraceFromException($async$exception);
72725 A.throwWithTrace0(t1._async_evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
72726 } else if (t2 instanceof A.SassScriptException0) {
72727 error2 = t2;
72728 stackTrace2 = A.getTraceFromException($async$exception);
72729 A.throwWithTrace0(t1._async_evaluate0$_exception$1(error2.message), stackTrace2);
72730 } else
72731 throw $async$exception;
72732 // goto after finally
72733 $async$goto = 10;
72734 break;
72735 case 7:
72736 // uncaught
72737 // goto rethrow
72738 $async$goto = 1;
72739 break;
72740 case 10:
72741 // after finally
72742 // implicit return
72743 return A._asyncReturn(null, $async$completer);
72744 case 1:
72745 // rethrow
72746 return A._asyncRethrow($async$currentError, $async$completer);
72747 }
72748 });
72749 return A._asyncStartSync($async$call$0, $async$completer);
72750 },
72751 $signature: 2
72752 };
72753 A._EvaluateVisitor__loadModule__closure2.prototype = {
72754 call$1(previousLoad) {
72755 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));
72756 },
72757 $signature: 84
72758 };
72759 A._EvaluateVisitor__execute_closure2.prototype = {
72760 call$0() {
72761 var $async$goto = 0,
72762 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72763 $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
72764 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72765 if ($async$errorCode === 1)
72766 return A._asyncRethrow($async$result, $async$completer);
72767 while (true)
72768 switch ($async$goto) {
72769 case 0:
72770 // Function start
72771 t1 = $async$self.$this;
72772 oldImporter = t1._async_evaluate0$_importer;
72773 oldStylesheet = t1._async_evaluate0$__stylesheet;
72774 oldRoot = t1._async_evaluate0$__root;
72775 oldParent = t1._async_evaluate0$__parent;
72776 oldEndOfImports = t1._async_evaluate0$__endOfImports;
72777 oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
72778 oldExtensionStore = t1._async_evaluate0$__extensionStore;
72779 t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
72780 oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
72781 oldMediaQueries = t1._async_evaluate0$_mediaQueries;
72782 oldDeclarationName = t1._async_evaluate0$_declarationName;
72783 oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
72784 oldInKeyframes = t1._async_evaluate0$_inKeyframes;
72785 oldConfiguration = t1._async_evaluate0$_configuration;
72786 t1._async_evaluate0$_importer = $async$self.importer;
72787 t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
72788 t4 = t3.span;
72789 t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
72790 t1._async_evaluate0$__endOfImports = 0;
72791 t1._async_evaluate0$_outOfOrderImports = null;
72792 t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
72793 t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
72794 t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
72795 t6 = $async$self.configuration;
72796 if (t6 != null)
72797 t1._async_evaluate0$_configuration = t6;
72798 $async$goto = 2;
72799 return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
72800 case 2:
72801 // returning from await.
72802 t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
72803 $async$self.css._value = t3;
72804 t1._async_evaluate0$_importer = oldImporter;
72805 t1._async_evaluate0$__stylesheet = oldStylesheet;
72806 t1._async_evaluate0$__root = oldRoot;
72807 t1._async_evaluate0$__parent = oldParent;
72808 t1._async_evaluate0$__endOfImports = oldEndOfImports;
72809 t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
72810 t1._async_evaluate0$__extensionStore = oldExtensionStore;
72811 t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
72812 t1._async_evaluate0$_mediaQueries = oldMediaQueries;
72813 t1._async_evaluate0$_declarationName = oldDeclarationName;
72814 t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
72815 t1._async_evaluate0$_atRootExcludingStyleRule = t2;
72816 t1._async_evaluate0$_inKeyframes = oldInKeyframes;
72817 t1._async_evaluate0$_configuration = oldConfiguration;
72818 // implicit return
72819 return A._asyncReturn(null, $async$completer);
72820 }
72821 });
72822 return A._asyncStartSync($async$call$0, $async$completer);
72823 },
72824 $signature: 2
72825 };
72826 A._EvaluateVisitor__combineCss_closure8.prototype = {
72827 call$1(module) {
72828 return module.get$transitivelyContainsCss();
72829 },
72830 $signature: 124
72831 };
72832 A._EvaluateVisitor__combineCss_closure9.prototype = {
72833 call$1(target) {
72834 return !this.selectors.contains$1(0, target);
72835 },
72836 $signature: 16
72837 };
72838 A._EvaluateVisitor__combineCss_closure10.prototype = {
72839 call$1(module) {
72840 return module.cloneCss$0();
72841 },
72842 $signature: 326
72843 };
72844 A._EvaluateVisitor__extendModules_closure5.prototype = {
72845 call$1(target) {
72846 return !this.originalSelectors.contains$1(0, target);
72847 },
72848 $signature: 16
72849 };
72850 A._EvaluateVisitor__extendModules_closure6.prototype = {
72851 call$0() {
72852 return A._setArrayType([], type$.JSArray_ExtensionStore_2);
72853 },
72854 $signature: 167
72855 };
72856 A._EvaluateVisitor__topologicalModules_visitModule2.prototype = {
72857 call$1(module) {
72858 var t1, t2, t3, _i, upstream;
72859 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
72860 upstream = t1[_i];
72861 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
72862 this.call$1(upstream);
72863 }
72864 this.sorted.addFirst$1(module);
72865 },
72866 $signature: 164
72867 };
72868 A._EvaluateVisitor_visitAtRootRule_closure8.prototype = {
72869 call$0() {
72870 var t1 = A.SpanScanner$(this.resolved, null);
72871 return new A.AtRootQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
72872 },
72873 $signature: 110
72874 };
72875 A._EvaluateVisitor_visitAtRootRule_closure9.prototype = {
72876 call$0() {
72877 var $async$goto = 0,
72878 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72879 $async$self = this, t1, t2, t3, _i;
72880 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72881 if ($async$errorCode === 1)
72882 return A._asyncRethrow($async$result, $async$completer);
72883 while (true)
72884 switch ($async$goto) {
72885 case 0:
72886 // Function start
72887 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
72888 case 2:
72889 // for condition
72890 if (!(_i < t2)) {
72891 // goto after for
72892 $async$goto = 4;
72893 break;
72894 }
72895 $async$goto = 5;
72896 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
72897 case 5:
72898 // returning from await.
72899 case 3:
72900 // for update
72901 ++_i;
72902 // goto for condition
72903 $async$goto = 2;
72904 break;
72905 case 4:
72906 // after for
72907 // implicit return
72908 return A._asyncReturn(null, $async$completer);
72909 }
72910 });
72911 return A._asyncStartSync($async$call$0, $async$completer);
72912 },
72913 $signature: 2
72914 };
72915 A._EvaluateVisitor_visitAtRootRule_closure10.prototype = {
72916 call$0() {
72917 var $async$goto = 0,
72918 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
72919 $async$self = this, t1, t2, t3, _i;
72920 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72921 if ($async$errorCode === 1)
72922 return A._asyncRethrow($async$result, $async$completer);
72923 while (true)
72924 switch ($async$goto) {
72925 case 0:
72926 // Function start
72927 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
72928 case 2:
72929 // for condition
72930 if (!(_i < t2)) {
72931 // goto after for
72932 $async$goto = 4;
72933 break;
72934 }
72935 $async$goto = 5;
72936 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
72937 case 5:
72938 // returning from await.
72939 case 3:
72940 // for update
72941 ++_i;
72942 // goto for condition
72943 $async$goto = 2;
72944 break;
72945 case 4:
72946 // after for
72947 // implicit return
72948 return A._asyncReturn(null, $async$completer);
72949 }
72950 });
72951 return A._asyncStartSync($async$call$0, $async$completer);
72952 },
72953 $signature: 33
72954 };
72955 A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
72956 call$1(callback) {
72957 var $async$goto = 0,
72958 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72959 $async$self = this, t1, t2;
72960 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72961 if ($async$errorCode === 1)
72962 return A._asyncRethrow($async$result, $async$completer);
72963 while (true)
72964 switch ($async$goto) {
72965 case 0:
72966 // Function start
72967 t1 = $async$self.$this;
72968 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
72969 t1._async_evaluate0$__parent = $async$self.newParent;
72970 $async$goto = 2;
72971 return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
72972 case 2:
72973 // returning from await.
72974 t1._async_evaluate0$__parent = t2;
72975 // implicit return
72976 return A._asyncReturn(null, $async$completer);
72977 }
72978 });
72979 return A._asyncStartSync($async$call$1, $async$completer);
72980 },
72981 $signature: 29
72982 };
72983 A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
72984 call$1(callback) {
72985 var $async$goto = 0,
72986 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72987 $async$self = this, t1, oldAtRootExcludingStyleRule;
72988 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72989 if ($async$errorCode === 1)
72990 return A._asyncRethrow($async$result, $async$completer);
72991 while (true)
72992 switch ($async$goto) {
72993 case 0:
72994 // Function start
72995 t1 = $async$self.$this;
72996 oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
72997 t1._async_evaluate0$_atRootExcludingStyleRule = true;
72998 $async$goto = 2;
72999 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
73000 case 2:
73001 // returning from await.
73002 t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
73003 // implicit return
73004 return A._asyncReturn(null, $async$completer);
73005 }
73006 });
73007 return A._asyncStartSync($async$call$1, $async$completer);
73008 },
73009 $signature: 29
73010 };
73011 A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
73012 call$1(callback) {
73013 return this.$this._async_evaluate0$_withMediaQueries$1$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
73014 },
73015 $signature: 29
73016 };
73017 A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
73018 call$0() {
73019 return this.innerScope.call$1(this.callback);
73020 },
73021 $signature: 2
73022 };
73023 A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
73024 call$1(callback) {
73025 var $async$goto = 0,
73026 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73027 $async$self = this, t1, wasInKeyframes;
73028 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73029 if ($async$errorCode === 1)
73030 return A._asyncRethrow($async$result, $async$completer);
73031 while (true)
73032 switch ($async$goto) {
73033 case 0:
73034 // Function start
73035 t1 = $async$self.$this;
73036 wasInKeyframes = t1._async_evaluate0$_inKeyframes;
73037 t1._async_evaluate0$_inKeyframes = false;
73038 $async$goto = 2;
73039 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
73040 case 2:
73041 // returning from await.
73042 t1._async_evaluate0$_inKeyframes = wasInKeyframes;
73043 // implicit return
73044 return A._asyncReturn(null, $async$completer);
73045 }
73046 });
73047 return A._asyncStartSync($async$call$1, $async$completer);
73048 },
73049 $signature: 29
73050 };
73051 A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
73052 call$1($parent) {
73053 return type$.CssAtRule_2._is($parent);
73054 },
73055 $signature: 169
73056 };
73057 A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
73058 call$1(callback) {
73059 var $async$goto = 0,
73060 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73061 $async$self = this, t1, wasInUnknownAtRule;
73062 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73063 if ($async$errorCode === 1)
73064 return A._asyncRethrow($async$result, $async$completer);
73065 while (true)
73066 switch ($async$goto) {
73067 case 0:
73068 // Function start
73069 t1 = $async$self.$this;
73070 wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
73071 t1._async_evaluate0$_inUnknownAtRule = false;
73072 $async$goto = 2;
73073 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
73074 case 2:
73075 // returning from await.
73076 t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
73077 // implicit return
73078 return A._asyncReturn(null, $async$completer);
73079 }
73080 });
73081 return A._asyncStartSync($async$call$1, $async$completer);
73082 },
73083 $signature: 29
73084 };
73085 A._EvaluateVisitor_visitContentRule_closure2.prototype = {
73086 call$0() {
73087 var $async$goto = 0,
73088 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73089 $async$returnValue, $async$self = this, t1, t2, t3, _i;
73090 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73091 if ($async$errorCode === 1)
73092 return A._asyncRethrow($async$result, $async$completer);
73093 while (true)
73094 switch ($async$goto) {
73095 case 0:
73096 // Function start
73097 t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73098 case 3:
73099 // for condition
73100 if (!(_i < t2)) {
73101 // goto after for
73102 $async$goto = 5;
73103 break;
73104 }
73105 $async$goto = 6;
73106 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73107 case 6:
73108 // returning from await.
73109 case 4:
73110 // for update
73111 ++_i;
73112 // goto for condition
73113 $async$goto = 3;
73114 break;
73115 case 5:
73116 // after for
73117 $async$returnValue = null;
73118 // goto return
73119 $async$goto = 1;
73120 break;
73121 case 1:
73122 // return
73123 return A._asyncReturn($async$returnValue, $async$completer);
73124 }
73125 });
73126 return A._asyncStartSync($async$call$0, $async$completer);
73127 },
73128 $signature: 2
73129 };
73130 A._EvaluateVisitor_visitDeclaration_closure5.prototype = {
73131 call$1(value) {
73132 return this.$call$body$_EvaluateVisitor_visitDeclaration_closure0(value);
73133 },
73134 $call$body$_EvaluateVisitor_visitDeclaration_closure0(value) {
73135 var $async$goto = 0,
73136 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value_2),
73137 $async$returnValue, $async$self = this, $async$temp1;
73138 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73139 if ($async$errorCode === 1)
73140 return A._asyncRethrow($async$result, $async$completer);
73141 while (true)
73142 switch ($async$goto) {
73143 case 0:
73144 // Function start
73145 $async$temp1 = A;
73146 $async$goto = 3;
73147 return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
73148 case 3:
73149 // returning from await.
73150 $async$returnValue = new $async$temp1.CssValue0($async$result, value.get$span(value), type$.CssValue_Value_2);
73151 // goto return
73152 $async$goto = 1;
73153 break;
73154 case 1:
73155 // return
73156 return A._asyncReturn($async$returnValue, $async$completer);
73157 }
73158 });
73159 return A._asyncStartSync($async$call$1, $async$completer);
73160 },
73161 $signature: 330
73162 };
73163 A._EvaluateVisitor_visitDeclaration_closure6.prototype = {
73164 call$0() {
73165 var $async$goto = 0,
73166 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73167 $async$self = this, t1, t2, t3, _i;
73168 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73169 if ($async$errorCode === 1)
73170 return A._asyncRethrow($async$result, $async$completer);
73171 while (true)
73172 switch ($async$goto) {
73173 case 0:
73174 // Function start
73175 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73176 case 2:
73177 // for condition
73178 if (!(_i < t2)) {
73179 // goto after for
73180 $async$goto = 4;
73181 break;
73182 }
73183 $async$goto = 5;
73184 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73185 case 5:
73186 // returning from await.
73187 case 3:
73188 // for update
73189 ++_i;
73190 // goto for condition
73191 $async$goto = 2;
73192 break;
73193 case 4:
73194 // after for
73195 // implicit return
73196 return A._asyncReturn(null, $async$completer);
73197 }
73198 });
73199 return A._asyncStartSync($async$call$0, $async$completer);
73200 },
73201 $signature: 2
73202 };
73203 A._EvaluateVisitor_visitEachRule_closure8.prototype = {
73204 call$1(value) {
73205 var t1 = this.$this,
73206 t2 = this.nodeWithSpan;
73207 return t1._async_evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
73208 },
73209 $signature: 58
73210 };
73211 A._EvaluateVisitor_visitEachRule_closure9.prototype = {
73212 call$1(value) {
73213 return this.$this._async_evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
73214 },
73215 $signature: 58
73216 };
73217 A._EvaluateVisitor_visitEachRule_closure10.prototype = {
73218 call$0() {
73219 var _this = this,
73220 t1 = _this.$this;
73221 return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
73222 },
73223 $signature: 65
73224 };
73225 A._EvaluateVisitor_visitEachRule__closure2.prototype = {
73226 call$1(element) {
73227 var t1;
73228 this.setVariables.call$1(element);
73229 t1 = this.$this;
73230 return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
73231 },
73232 $signature: 333
73233 };
73234 A._EvaluateVisitor_visitEachRule___closure2.prototype = {
73235 call$1(child) {
73236 return child.accept$1(this.$this);
73237 },
73238 $signature: 89
73239 };
73240 A._EvaluateVisitor_visitExtendRule_closure2.prototype = {
73241 call$0() {
73242 var t1 = this.targetText;
73243 return A.SelectorList_SelectorList$parse0(A.trimAscii0(t1.get$value(t1), true), false, true, this.$this._async_evaluate0$_logger);
73244 },
73245 $signature: 48
73246 };
73247 A._EvaluateVisitor_visitAtRule_closure8.prototype = {
73248 call$1(value) {
73249 return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
73250 },
73251 $signature: 336
73252 };
73253 A._EvaluateVisitor_visitAtRule_closure9.prototype = {
73254 call$0() {
73255 var $async$goto = 0,
73256 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73257 $async$self = this, t2, t3, _i, t1, styleRule;
73258 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73259 if ($async$errorCode === 1)
73260 return A._asyncRethrow($async$result, $async$completer);
73261 while (true)
73262 switch ($async$goto) {
73263 case 0:
73264 // Function start
73265 t1 = $async$self.$this;
73266 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
73267 $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes ? 2 : 4;
73268 break;
73269 case 2:
73270 // then
73271 t2 = $async$self.children, t3 = t2.length, _i = 0;
73272 case 5:
73273 // for condition
73274 if (!(_i < t3)) {
73275 // goto after for
73276 $async$goto = 7;
73277 break;
73278 }
73279 $async$goto = 8;
73280 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
73281 case 8:
73282 // returning from await.
73283 case 6:
73284 // for update
73285 ++_i;
73286 // goto for condition
73287 $async$goto = 5;
73288 break;
73289 case 7:
73290 // after for
73291 // goto join
73292 $async$goto = 3;
73293 break;
73294 case 4:
73295 // else
73296 $async$goto = 9;
73297 return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure2(t1, $async$self.children), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
73298 case 9:
73299 // returning from await.
73300 case 3:
73301 // join
73302 // implicit return
73303 return A._asyncReturn(null, $async$completer);
73304 }
73305 });
73306 return A._asyncStartSync($async$call$0, $async$completer);
73307 },
73308 $signature: 2
73309 };
73310 A._EvaluateVisitor_visitAtRule__closure2.prototype = {
73311 call$0() {
73312 var $async$goto = 0,
73313 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73314 $async$self = this, t1, t2, t3, _i;
73315 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73316 if ($async$errorCode === 1)
73317 return A._asyncRethrow($async$result, $async$completer);
73318 while (true)
73319 switch ($async$goto) {
73320 case 0:
73321 // Function start
73322 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73323 case 2:
73324 // for condition
73325 if (!(_i < t2)) {
73326 // goto after for
73327 $async$goto = 4;
73328 break;
73329 }
73330 $async$goto = 5;
73331 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73332 case 5:
73333 // returning from await.
73334 case 3:
73335 // for update
73336 ++_i;
73337 // goto for condition
73338 $async$goto = 2;
73339 break;
73340 case 4:
73341 // after for
73342 // implicit return
73343 return A._asyncReturn(null, $async$completer);
73344 }
73345 });
73346 return A._asyncStartSync($async$call$0, $async$completer);
73347 },
73348 $signature: 2
73349 };
73350 A._EvaluateVisitor_visitAtRule_closure10.prototype = {
73351 call$1(node) {
73352 return type$.CssStyleRule_2._is(node);
73353 },
73354 $signature: 8
73355 };
73356 A._EvaluateVisitor_visitForRule_closure14.prototype = {
73357 call$0() {
73358 var $async$goto = 0,
73359 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
73360 $async$returnValue, $async$self = this;
73361 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73362 if ($async$errorCode === 1)
73363 return A._asyncRethrow($async$result, $async$completer);
73364 while (true)
73365 switch ($async$goto) {
73366 case 0:
73367 // Function start
73368 $async$goto = 3;
73369 return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
73370 case 3:
73371 // returning from await.
73372 $async$returnValue = $async$result.assertNumber$0();
73373 // goto return
73374 $async$goto = 1;
73375 break;
73376 case 1:
73377 // return
73378 return A._asyncReturn($async$returnValue, $async$completer);
73379 }
73380 });
73381 return A._asyncStartSync($async$call$0, $async$completer);
73382 },
73383 $signature: 175
73384 };
73385 A._EvaluateVisitor_visitForRule_closure15.prototype = {
73386 call$0() {
73387 var $async$goto = 0,
73388 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
73389 $async$returnValue, $async$self = this;
73390 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73391 if ($async$errorCode === 1)
73392 return A._asyncRethrow($async$result, $async$completer);
73393 while (true)
73394 switch ($async$goto) {
73395 case 0:
73396 // Function start
73397 $async$goto = 3;
73398 return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
73399 case 3:
73400 // returning from await.
73401 $async$returnValue = $async$result.assertNumber$0();
73402 // goto return
73403 $async$goto = 1;
73404 break;
73405 case 1:
73406 // return
73407 return A._asyncReturn($async$returnValue, $async$completer);
73408 }
73409 });
73410 return A._asyncStartSync($async$call$0, $async$completer);
73411 },
73412 $signature: 175
73413 };
73414 A._EvaluateVisitor_visitForRule_closure16.prototype = {
73415 call$0() {
73416 return this.fromNumber.assertInt$0();
73417 },
73418 $signature: 12
73419 };
73420 A._EvaluateVisitor_visitForRule_closure17.prototype = {
73421 call$0() {
73422 var t1 = this.fromNumber;
73423 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
73424 },
73425 $signature: 12
73426 };
73427 A._EvaluateVisitor_visitForRule_closure18.prototype = {
73428 call$0() {
73429 var $async$goto = 0,
73430 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
73431 $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
73432 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73433 if ($async$errorCode === 1)
73434 return A._asyncRethrow($async$result, $async$completer);
73435 while (true)
73436 switch ($async$goto) {
73437 case 0:
73438 // Function start
73439 t1 = $async$self.$this;
73440 t2 = $async$self.node;
73441 nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
73442 i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
73443 case 3:
73444 // for condition
73445 if (!(i !== t3.to)) {
73446 // goto after for
73447 $async$goto = 5;
73448 break;
73449 }
73450 t7 = t1._async_evaluate0$_environment;
73451 t8 = t6.get$numeratorUnits(t6);
73452 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
73453 $async$goto = 6;
73454 return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
73455 case 6:
73456 // returning from await.
73457 result = $async$result;
73458 if (result != null) {
73459 $async$returnValue = result;
73460 // goto return
73461 $async$goto = 1;
73462 break;
73463 }
73464 case 4:
73465 // for update
73466 i += t4;
73467 // goto for condition
73468 $async$goto = 3;
73469 break;
73470 case 5:
73471 // after for
73472 $async$returnValue = null;
73473 // goto return
73474 $async$goto = 1;
73475 break;
73476 case 1:
73477 // return
73478 return A._asyncReturn($async$returnValue, $async$completer);
73479 }
73480 });
73481 return A._asyncStartSync($async$call$0, $async$completer);
73482 },
73483 $signature: 65
73484 };
73485 A._EvaluateVisitor_visitForRule__closure2.prototype = {
73486 call$1(child) {
73487 return child.accept$1(this.$this);
73488 },
73489 $signature: 89
73490 };
73491 A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
73492 call$1(module) {
73493 this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
73494 },
73495 $signature: 133
73496 };
73497 A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
73498 call$1(module) {
73499 this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
73500 },
73501 $signature: 133
73502 };
73503 A._EvaluateVisitor_visitIfRule_closure2.prototype = {
73504 call$0() {
73505 var t1 = this.$this;
73506 return t1._async_evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure2(t1));
73507 },
73508 $signature: 65
73509 };
73510 A._EvaluateVisitor_visitIfRule__closure2.prototype = {
73511 call$1(child) {
73512 return child.accept$1(this.$this);
73513 },
73514 $signature: 89
73515 };
73516 A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
73517 call$0() {
73518 var $async$goto = 0,
73519 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73520 $async$returnValue, $async$self = this, t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor, t1, t2, result, stylesheet, url;
73521 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73522 if ($async$errorCode === 1)
73523 return A._asyncRethrow($async$result, $async$completer);
73524 while (true)
73525 switch ($async$goto) {
73526 case 0:
73527 // Function start
73528 t1 = $async$self.$this;
73529 t2 = $async$self.$import;
73530 $async$goto = 3;
73531 return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
73532 case 3:
73533 // returning from await.
73534 result = $async$result;
73535 stylesheet = result.stylesheet;
73536 url = stylesheet.span.file.url;
73537 if (url != null) {
73538 t3 = t1._async_evaluate0$_activeModules;
73539 if (t3.containsKey$1(url)) {
73540 t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
73541 throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
73542 }
73543 t3.$indexSet(0, url, t2);
73544 }
73545 t2 = stylesheet._stylesheet1$_uses;
73546 t3 = type$.UnmodifiableListView_UseRule_2;
73547 t4 = new A.UnmodifiableListView(t2, t3);
73548 if (t4.get$length(t4) === 0) {
73549 t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
73550 t4 = t4.get$length(t4) === 0;
73551 } else
73552 t4 = false;
73553 $async$goto = t4 ? 4 : 5;
73554 break;
73555 case 4:
73556 // then
73557 oldImporter = t1._async_evaluate0$_importer;
73558 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
73559 oldInDependency = t1._async_evaluate0$_inDependency;
73560 t1._async_evaluate0$_importer = result.importer;
73561 t1._async_evaluate0$__stylesheet = stylesheet;
73562 t1._async_evaluate0$_inDependency = result.isDependency;
73563 $async$goto = 6;
73564 return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
73565 case 6:
73566 // returning from await.
73567 t1._async_evaluate0$_importer = oldImporter;
73568 t1._async_evaluate0$__stylesheet = t2;
73569 t1._async_evaluate0$_inDependency = oldInDependency;
73570 t1._async_evaluate0$_activeModules.remove$1(0, url);
73571 // goto return
73572 $async$goto = 1;
73573 break;
73574 case 5:
73575 // join
73576 t2 = new A.UnmodifiableListView(t2, t3);
73577 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
73578 t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
73579 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
73580 } else
73581 loadsUserDefinedModules = true;
73582 children = A._Cell$();
73583 t2 = t1._async_evaluate0$_environment;
73584 t3 = type$.String;
73585 t4 = type$.Module_AsyncCallable_2;
73586 t5 = type$.AstNode_2;
73587 t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
73588 t7 = t2._async_environment0$_variables;
73589 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
73590 t8 = t2._async_environment0$_variableNodes;
73591 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
73592 t9 = t2._async_environment0$_functions;
73593 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
73594 t10 = t2._async_environment0$_mixins;
73595 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
73596 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);
73597 $async$goto = 7;
73598 return A._asyncAwait(t1._async_evaluate0$_withEnvironment$1$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure14(t1, result, stylesheet, loadsUserDefinedModules, environment, children), type$.Null), $async$call$0);
73599 case 7:
73600 // returning from await.
73601 module = environment.toDummyModule$0();
73602 t1._async_evaluate0$_environment.importForwards$1(module);
73603 $async$goto = loadsUserDefinedModules ? 8 : 9;
73604 break;
73605 case 8:
73606 // then
73607 $async$goto = module.transitivelyContainsCss ? 10 : 11;
73608 break;
73609 case 10:
73610 // then
73611 $async$goto = 12;
73612 return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
73613 case 12:
73614 // returning from await.
73615 case 11:
73616 // join
73617 visitor = new A._ImportedCssVisitor2(t1);
73618 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
73619 t2.get$current(t2).accept$1(visitor);
73620 case 9:
73621 // join
73622 t1._async_evaluate0$_activeModules.remove$1(0, url);
73623 case 1:
73624 // return
73625 return A._asyncReturn($async$returnValue, $async$completer);
73626 }
73627 });
73628 return A._asyncStartSync($async$call$0, $async$completer);
73629 },
73630 $signature: 33
73631 };
73632 A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
73633 call$1(previousLoad) {
73634 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));
73635 },
73636 $signature: 84
73637 };
73638 A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
73639 call$1(rule) {
73640 return rule.url.get$scheme() !== "sass";
73641 },
73642 $signature: 177
73643 };
73644 A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
73645 call$1(rule) {
73646 return rule.url.get$scheme() !== "sass";
73647 },
73648 $signature: 178
73649 };
73650 A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
73651 call$0() {
73652 var $async$goto = 0,
73653 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73654 $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
73655 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73656 if ($async$errorCode === 1)
73657 return A._asyncRethrow($async$result, $async$completer);
73658 while (true)
73659 switch ($async$goto) {
73660 case 0:
73661 // Function start
73662 t1 = $async$self.$this;
73663 oldImporter = t1._async_evaluate0$_importer;
73664 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
73665 t3 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
73666 t4 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
73667 t5 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
73668 oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
73669 oldConfiguration = t1._async_evaluate0$_configuration;
73670 oldInDependency = t1._async_evaluate0$_inDependency;
73671 t6 = $async$self.result;
73672 t1._async_evaluate0$_importer = t6.importer;
73673 t7 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
73674 t8 = $async$self.loadsUserDefinedModules;
73675 if (t8) {
73676 t9 = A.ModifiableCssStylesheet$0(t7.span);
73677 t1._async_evaluate0$__root = t9;
73678 t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t9, "_root");
73679 t1._async_evaluate0$__endOfImports = 0;
73680 t1._async_evaluate0$_outOfOrderImports = null;
73681 }
73682 t1._async_evaluate0$_inDependency = t6.isDependency;
73683 t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
73684 if (!t6.get$isEmpty(t6))
73685 t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
73686 $async$goto = 2;
73687 return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
73688 case 2:
73689 // returning from await.
73690 t6 = t8 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
73691 $async$self.children._value = t6;
73692 t1._async_evaluate0$_importer = oldImporter;
73693 t1._async_evaluate0$__stylesheet = t2;
73694 if (t8) {
73695 t1._async_evaluate0$__root = t3;
73696 t1._async_evaluate0$__parent = t4;
73697 t1._async_evaluate0$__endOfImports = t5;
73698 t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
73699 }
73700 t1._async_evaluate0$_configuration = oldConfiguration;
73701 t1._async_evaluate0$_inDependency = oldInDependency;
73702 // implicit return
73703 return A._asyncReturn(null, $async$completer);
73704 }
73705 });
73706 return A._asyncStartSync($async$call$0, $async$completer);
73707 },
73708 $signature: 2
73709 };
73710 A._EvaluateVisitor__visitStaticImport_closure2.prototype = {
73711 call$1(supports) {
73712 return this.$call$body$_EvaluateVisitor__visitStaticImport_closure0(supports);
73713 },
73714 $call$body$_EvaluateVisitor__visitStaticImport_closure0(supports) {
73715 var $async$goto = 0,
73716 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
73717 $async$returnValue, $async$self = this, t2, arg, t1, $async$temp1, $async$temp2;
73718 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73719 if ($async$errorCode === 1)
73720 return A._asyncRethrow($async$result, $async$completer);
73721 while (true)
73722 switch ($async$goto) {
73723 case 0:
73724 // Function start
73725 t1 = $async$self.$this;
73726 $async$goto = supports instanceof A.SupportsDeclaration0 ? 3 : 5;
73727 break;
73728 case 3:
73729 // then
73730 $async$temp1 = A;
73731 $async$goto = 6;
73732 return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(supports.name), $async$call$1);
73733 case 6:
73734 // returning from await.
73735 t2 = $async$temp1.S($async$result) + ":";
73736 $async$temp1 = t2 + (supports.get$isCustomProperty() ? "" : " ");
73737 $async$temp2 = A;
73738 $async$goto = 7;
73739 return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(supports.value), $async$call$1);
73740 case 7:
73741 // returning from await.
73742 arg = $async$temp1 + $async$temp2.S($async$result);
73743 // goto join
73744 $async$goto = 4;
73745 break;
73746 case 5:
73747 // else
73748 $async$goto = 8;
73749 return A._asyncAwait(A.NullableExtension_andThen0(supports, t1.get$_async_evaluate0$_visitSupportsCondition()), $async$call$1);
73750 case 8:
73751 // returning from await.
73752 arg = $async$result;
73753 case 4:
73754 // join
73755 $async$returnValue = new A.CssValue0("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String_2);
73756 // goto return
73757 $async$goto = 1;
73758 break;
73759 case 1:
73760 // return
73761 return A._asyncReturn($async$returnValue, $async$completer);
73762 }
73763 });
73764 return A._asyncStartSync($async$call$1, $async$completer);
73765 },
73766 $signature: 342
73767 };
73768 A._EvaluateVisitor_visitIncludeRule_closure11.prototype = {
73769 call$0() {
73770 var t1 = this.node;
73771 return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
73772 },
73773 $signature: 116
73774 };
73775 A._EvaluateVisitor_visitIncludeRule_closure12.prototype = {
73776 call$0() {
73777 return this.node.get$spanWithoutContent();
73778 },
73779 $signature: 31
73780 };
73781 A._EvaluateVisitor_visitIncludeRule_closure14.prototype = {
73782 call$1($content) {
73783 var t1 = this.$this;
73784 return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
73785 },
73786 $signature: 343
73787 };
73788 A._EvaluateVisitor_visitIncludeRule_closure13.prototype = {
73789 call$0() {
73790 var $async$goto = 0,
73791 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73792 $async$self = this, t1;
73793 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73794 if ($async$errorCode === 1)
73795 return A._asyncRethrow($async$result, $async$completer);
73796 while (true)
73797 switch ($async$goto) {
73798 case 0:
73799 // Function start
73800 t1 = $async$self.$this;
73801 $async$goto = 2;
73802 return A._asyncAwait(t1._async_evaluate0$_environment.withContent$2($async$self.contentCallable, new A._EvaluateVisitor_visitIncludeRule__closure2(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
73803 case 2:
73804 // returning from await.
73805 // implicit return
73806 return A._asyncReturn(null, $async$completer);
73807 }
73808 });
73809 return A._asyncStartSync($async$call$0, $async$completer);
73810 },
73811 $signature: 2
73812 };
73813 A._EvaluateVisitor_visitIncludeRule__closure2.prototype = {
73814 call$0() {
73815 var $async$goto = 0,
73816 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73817 $async$self = this, t1;
73818 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73819 if ($async$errorCode === 1)
73820 return A._asyncRethrow($async$result, $async$completer);
73821 while (true)
73822 switch ($async$goto) {
73823 case 0:
73824 // Function start
73825 t1 = $async$self.$this;
73826 $async$goto = 2;
73827 return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure2(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
73828 case 2:
73829 // returning from await.
73830 // implicit return
73831 return A._asyncReturn(null, $async$completer);
73832 }
73833 });
73834 return A._asyncStartSync($async$call$0, $async$completer);
73835 },
73836 $signature: 33
73837 };
73838 A._EvaluateVisitor_visitIncludeRule___closure2.prototype = {
73839 call$0() {
73840 var $async$goto = 0,
73841 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73842 $async$self = this, t1, t2, t3, t4, t5, _i;
73843 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73844 if ($async$errorCode === 1)
73845 return A._asyncRethrow($async$result, $async$completer);
73846 while (true)
73847 switch ($async$goto) {
73848 case 0:
73849 // Function start
73850 t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value_2, _i = 0;
73851 case 2:
73852 // for condition
73853 if (!(_i < t2)) {
73854 // goto after for
73855 $async$goto = 4;
73856 break;
73857 }
73858 $async$goto = 5;
73859 return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure2(t3, t1[_i]), t5), $async$call$0);
73860 case 5:
73861 // returning from await.
73862 case 3:
73863 // for update
73864 ++_i;
73865 // goto for condition
73866 $async$goto = 2;
73867 break;
73868 case 4:
73869 // after for
73870 // implicit return
73871 return A._asyncReturn(null, $async$completer);
73872 }
73873 });
73874 return A._asyncStartSync($async$call$0, $async$completer);
73875 },
73876 $signature: 33
73877 };
73878 A._EvaluateVisitor_visitIncludeRule____closure2.prototype = {
73879 call$0() {
73880 return this.statement.accept$1(this.$this);
73881 },
73882 $signature: 65
73883 };
73884 A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
73885 call$1(mediaQueries) {
73886 return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
73887 },
73888 $signature: 77
73889 };
73890 A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
73891 call$0() {
73892 var $async$goto = 0,
73893 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73894 $async$self = this, t1, t2;
73895 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73896 if ($async$errorCode === 1)
73897 return A._asyncRethrow($async$result, $async$completer);
73898 while (true)
73899 switch ($async$goto) {
73900 case 0:
73901 // Function start
73902 t1 = $async$self.$this;
73903 t2 = $async$self.mergedQueries;
73904 if (t2 == null)
73905 t2 = $async$self.queries;
73906 $async$goto = 2;
73907 return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
73908 case 2:
73909 // returning from await.
73910 // implicit return
73911 return A._asyncReturn(null, $async$completer);
73912 }
73913 });
73914 return A._asyncStartSync($async$call$0, $async$completer);
73915 },
73916 $signature: 2
73917 };
73918 A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
73919 call$0() {
73920 var $async$goto = 0,
73921 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73922 $async$self = this, t2, t3, _i, t1, styleRule;
73923 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73924 if ($async$errorCode === 1)
73925 return A._asyncRethrow($async$result, $async$completer);
73926 while (true)
73927 switch ($async$goto) {
73928 case 0:
73929 // Function start
73930 t1 = $async$self.$this;
73931 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
73932 $async$goto = styleRule == null ? 2 : 4;
73933 break;
73934 case 2:
73935 // then
73936 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
73937 case 5:
73938 // for condition
73939 if (!(_i < t3)) {
73940 // goto after for
73941 $async$goto = 7;
73942 break;
73943 }
73944 $async$goto = 8;
73945 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
73946 case 8:
73947 // returning from await.
73948 case 6:
73949 // for update
73950 ++_i;
73951 // goto for condition
73952 $async$goto = 5;
73953 break;
73954 case 7:
73955 // after for
73956 // goto join
73957 $async$goto = 3;
73958 break;
73959 case 4:
73960 // else
73961 $async$goto = 9;
73962 return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
73963 case 9:
73964 // returning from await.
73965 case 3:
73966 // join
73967 // implicit return
73968 return A._asyncReturn(null, $async$completer);
73969 }
73970 });
73971 return A._asyncStartSync($async$call$0, $async$completer);
73972 },
73973 $signature: 2
73974 };
73975 A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
73976 call$0() {
73977 var $async$goto = 0,
73978 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73979 $async$self = this, t1, t2, t3, _i;
73980 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73981 if ($async$errorCode === 1)
73982 return A._asyncRethrow($async$result, $async$completer);
73983 while (true)
73984 switch ($async$goto) {
73985 case 0:
73986 // Function start
73987 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73988 case 2:
73989 // for condition
73990 if (!(_i < t2)) {
73991 // goto after for
73992 $async$goto = 4;
73993 break;
73994 }
73995 $async$goto = 5;
73996 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73997 case 5:
73998 // returning from await.
73999 case 3:
74000 // for update
74001 ++_i;
74002 // goto for condition
74003 $async$goto = 2;
74004 break;
74005 case 4:
74006 // after for
74007 // implicit return
74008 return A._asyncReturn(null, $async$completer);
74009 }
74010 });
74011 return A._asyncStartSync($async$call$0, $async$completer);
74012 },
74013 $signature: 2
74014 };
74015 A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
74016 call$1(node) {
74017 var t1;
74018 if (!type$.CssStyleRule_2._is(node))
74019 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
74020 else
74021 t1 = true;
74022 return t1;
74023 },
74024 $signature: 8
74025 };
74026 A._EvaluateVisitor__visitMediaQueries_closure2.prototype = {
74027 call$0() {
74028 var t1 = A.SpanScanner$(this.resolved, null);
74029 return new A.MediaQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
74030 },
74031 $signature: 126
74032 };
74033 A._EvaluateVisitor_visitStyleRule_closure20.prototype = {
74034 call$0() {
74035 var t1 = this.selectorText;
74036 return A.KeyframeSelectorParser$0(t1.get$value(t1), this.$this._async_evaluate0$_logger).parse$0();
74037 },
74038 $signature: 49
74039 };
74040 A._EvaluateVisitor_visitStyleRule_closure21.prototype = {
74041 call$0() {
74042 var $async$goto = 0,
74043 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74044 $async$self = this, t1, t2, t3, _i;
74045 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74046 if ($async$errorCode === 1)
74047 return A._asyncRethrow($async$result, $async$completer);
74048 while (true)
74049 switch ($async$goto) {
74050 case 0:
74051 // Function start
74052 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74053 case 2:
74054 // for condition
74055 if (!(_i < t2)) {
74056 // goto after for
74057 $async$goto = 4;
74058 break;
74059 }
74060 $async$goto = 5;
74061 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74062 case 5:
74063 // returning from await.
74064 case 3:
74065 // for update
74066 ++_i;
74067 // goto for condition
74068 $async$goto = 2;
74069 break;
74070 case 4:
74071 // after for
74072 // implicit return
74073 return A._asyncReturn(null, $async$completer);
74074 }
74075 });
74076 return A._asyncStartSync($async$call$0, $async$completer);
74077 },
74078 $signature: 2
74079 };
74080 A._EvaluateVisitor_visitStyleRule_closure22.prototype = {
74081 call$1(node) {
74082 return type$.CssStyleRule_2._is(node);
74083 },
74084 $signature: 8
74085 };
74086 A._EvaluateVisitor_visitStyleRule_closure23.prototype = {
74087 call$0() {
74088 var _s11_ = "_stylesheet",
74089 t1 = this.selectorText,
74090 t2 = this.$this;
74091 return A.SelectorList_SelectorList$parse0(t1.get$value(t1), !t2._async_evaluate0$_assertInModule$2(t2._async_evaluate0$__stylesheet, _s11_).plainCss, !t2._async_evaluate0$_assertInModule$2(t2._async_evaluate0$__stylesheet, _s11_).plainCss, t2._async_evaluate0$_logger);
74092 },
74093 $signature: 48
74094 };
74095 A._EvaluateVisitor_visitStyleRule_closure24.prototype = {
74096 call$0() {
74097 var t1 = this._box_0.parsedSelector,
74098 t2 = this.$this,
74099 t3 = t2._async_evaluate0$_styleRuleIgnoringAtRoot;
74100 t3 = t3 == null ? null : t3.originalSelector;
74101 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate0$_atRootExcludingStyleRule);
74102 },
74103 $signature: 48
74104 };
74105 A._EvaluateVisitor_visitStyleRule_closure25.prototype = {
74106 call$0() {
74107 var $async$goto = 0,
74108 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74109 $async$self = this, t1;
74110 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74111 if ($async$errorCode === 1)
74112 return A._asyncRethrow($async$result, $async$completer);
74113 while (true)
74114 switch ($async$goto) {
74115 case 0:
74116 // Function start
74117 t1 = $async$self.$this;
74118 $async$goto = 2;
74119 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);
74120 case 2:
74121 // returning from await.
74122 // implicit return
74123 return A._asyncReturn(null, $async$completer);
74124 }
74125 });
74126 return A._asyncStartSync($async$call$0, $async$completer);
74127 },
74128 $signature: 2
74129 };
74130 A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
74131 call$0() {
74132 var $async$goto = 0,
74133 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74134 $async$self = this, t1, t2, t3, _i;
74135 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74136 if ($async$errorCode === 1)
74137 return A._asyncRethrow($async$result, $async$completer);
74138 while (true)
74139 switch ($async$goto) {
74140 case 0:
74141 // Function start
74142 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74143 case 2:
74144 // for condition
74145 if (!(_i < t2)) {
74146 // goto after for
74147 $async$goto = 4;
74148 break;
74149 }
74150 $async$goto = 5;
74151 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74152 case 5:
74153 // returning from await.
74154 case 3:
74155 // for update
74156 ++_i;
74157 // goto for condition
74158 $async$goto = 2;
74159 break;
74160 case 4:
74161 // after for
74162 // implicit return
74163 return A._asyncReturn(null, $async$completer);
74164 }
74165 });
74166 return A._asyncStartSync($async$call$0, $async$completer);
74167 },
74168 $signature: 2
74169 };
74170 A._EvaluateVisitor_visitStyleRule_closure26.prototype = {
74171 call$1(node) {
74172 return type$.CssStyleRule_2._is(node);
74173 },
74174 $signature: 8
74175 };
74176 A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
74177 call$0() {
74178 var $async$goto = 0,
74179 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74180 $async$self = this, t2, t3, _i, t1, styleRule;
74181 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74182 if ($async$errorCode === 1)
74183 return A._asyncRethrow($async$result, $async$completer);
74184 while (true)
74185 switch ($async$goto) {
74186 case 0:
74187 // Function start
74188 t1 = $async$self.$this;
74189 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
74190 $async$goto = styleRule == null ? 2 : 4;
74191 break;
74192 case 2:
74193 // then
74194 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
74195 case 5:
74196 // for condition
74197 if (!(_i < t3)) {
74198 // goto after for
74199 $async$goto = 7;
74200 break;
74201 }
74202 $async$goto = 8;
74203 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
74204 case 8:
74205 // returning from await.
74206 case 6:
74207 // for update
74208 ++_i;
74209 // goto for condition
74210 $async$goto = 5;
74211 break;
74212 case 7:
74213 // after for
74214 // goto join
74215 $async$goto = 3;
74216 break;
74217 case 4:
74218 // else
74219 $async$goto = 9;
74220 return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
74221 case 9:
74222 // returning from await.
74223 case 3:
74224 // join
74225 // implicit return
74226 return A._asyncReturn(null, $async$completer);
74227 }
74228 });
74229 return A._asyncStartSync($async$call$0, $async$completer);
74230 },
74231 $signature: 2
74232 };
74233 A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
74234 call$0() {
74235 var $async$goto = 0,
74236 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74237 $async$self = this, t1, t2, t3, _i;
74238 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74239 if ($async$errorCode === 1)
74240 return A._asyncRethrow($async$result, $async$completer);
74241 while (true)
74242 switch ($async$goto) {
74243 case 0:
74244 // Function start
74245 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74246 case 2:
74247 // for condition
74248 if (!(_i < t2)) {
74249 // goto after for
74250 $async$goto = 4;
74251 break;
74252 }
74253 $async$goto = 5;
74254 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74255 case 5:
74256 // returning from await.
74257 case 3:
74258 // for update
74259 ++_i;
74260 // goto for condition
74261 $async$goto = 2;
74262 break;
74263 case 4:
74264 // after for
74265 // implicit return
74266 return A._asyncReturn(null, $async$completer);
74267 }
74268 });
74269 return A._asyncStartSync($async$call$0, $async$completer);
74270 },
74271 $signature: 2
74272 };
74273 A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
74274 call$1(node) {
74275 return type$.CssStyleRule_2._is(node);
74276 },
74277 $signature: 8
74278 };
74279 A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
74280 call$0() {
74281 var t1 = this.override;
74282 this.$this._async_evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
74283 },
74284 $signature: 1
74285 };
74286 A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
74287 call$0() {
74288 var t1 = this.node;
74289 return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
74290 },
74291 $signature: 39
74292 };
74293 A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
74294 call$0() {
74295 var t1 = this.$this,
74296 t2 = this.node;
74297 t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
74298 },
74299 $signature: 1
74300 };
74301 A._EvaluateVisitor_visitUseRule_closure2.prototype = {
74302 call$1(module) {
74303 var t1 = this.node;
74304 this.$this._async_evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
74305 },
74306 $signature: 133
74307 };
74308 A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
74309 call$0() {
74310 return this.node.expression.accept$1(this.$this);
74311 },
74312 $signature: 64
74313 };
74314 A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
74315 call$0() {
74316 var $async$goto = 0,
74317 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
74318 $async$returnValue, $async$self = this, t1, t2, t3, result;
74319 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74320 if ($async$errorCode === 1)
74321 return A._asyncRethrow($async$result, $async$completer);
74322 while (true)
74323 switch ($async$goto) {
74324 case 0:
74325 // Function start
74326 t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
74327 case 3:
74328 // for condition
74329 $async$goto = 5;
74330 return A._asyncAwait(t2.accept$1(t3), $async$call$0);
74331 case 5:
74332 // returning from await.
74333 if (!$async$result.get$isTruthy()) {
74334 // goto after for
74335 $async$goto = 4;
74336 break;
74337 }
74338 $async$goto = 6;
74339 return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
74340 case 6:
74341 // returning from await.
74342 result = $async$result;
74343 if (result != null) {
74344 $async$returnValue = result;
74345 // goto return
74346 $async$goto = 1;
74347 break;
74348 }
74349 // goto for condition
74350 $async$goto = 3;
74351 break;
74352 case 4:
74353 // after for
74354 $async$returnValue = null;
74355 // goto return
74356 $async$goto = 1;
74357 break;
74358 case 1:
74359 // return
74360 return A._asyncReturn($async$returnValue, $async$completer);
74361 }
74362 });
74363 return A._asyncStartSync($async$call$0, $async$completer);
74364 },
74365 $signature: 65
74366 };
74367 A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
74368 call$1(child) {
74369 return child.accept$1(this.$this);
74370 },
74371 $signature: 89
74372 };
74373 A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
74374 call$0() {
74375 var $async$goto = 0,
74376 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
74377 $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
74378 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74379 if ($async$errorCode === 1)
74380 return A._asyncRethrow($async$result, $async$completer);
74381 while (true)
74382 switch ($async$goto) {
74383 case 0:
74384 // Function start
74385 t1 = $async$self.node;
74386 t2 = $async$self.$this;
74387 $async$goto = 3;
74388 return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
74389 case 3:
74390 // returning from await.
74391 left = $async$result;
74392 t3 = t1.operator;
74393 case 4:
74394 // switch
74395 switch (t3) {
74396 case B.BinaryOperator_kjl0:
74397 // goto case
74398 $async$goto = 6;
74399 break;
74400 case B.BinaryOperator_or_or_10:
74401 // goto case
74402 $async$goto = 7;
74403 break;
74404 case B.BinaryOperator_and_and_20:
74405 // goto case
74406 $async$goto = 8;
74407 break;
74408 case B.BinaryOperator_YlX0:
74409 // goto case
74410 $async$goto = 9;
74411 break;
74412 case B.BinaryOperator_i5H0:
74413 // goto case
74414 $async$goto = 10;
74415 break;
74416 case B.BinaryOperator_AcR1:
74417 // goto case
74418 $async$goto = 11;
74419 break;
74420 case B.BinaryOperator_1da0:
74421 // goto case
74422 $async$goto = 12;
74423 break;
74424 case B.BinaryOperator_8qt0:
74425 // goto case
74426 $async$goto = 13;
74427 break;
74428 case B.BinaryOperator_33h0:
74429 // goto case
74430 $async$goto = 14;
74431 break;
74432 case B.BinaryOperator_AcR2:
74433 // goto case
74434 $async$goto = 15;
74435 break;
74436 case B.BinaryOperator_iyO0:
74437 // goto case
74438 $async$goto = 16;
74439 break;
74440 case B.BinaryOperator_O1M0:
74441 // goto case
74442 $async$goto = 17;
74443 break;
74444 case B.BinaryOperator_RTB0:
74445 // goto case
74446 $async$goto = 18;
74447 break;
74448 case B.BinaryOperator_2ad0:
74449 // goto case
74450 $async$goto = 19;
74451 break;
74452 default:
74453 // goto default
74454 $async$goto = 20;
74455 break;
74456 }
74457 break;
74458 case 6:
74459 // case
74460 $async$goto = 21;
74461 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74462 case 21:
74463 // returning from await.
74464 right = $async$result;
74465 $async$returnValue = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
74466 // goto return
74467 $async$goto = 1;
74468 break;
74469 case 7:
74470 // case
74471 $async$goto = left.get$isTruthy() ? 22 : 24;
74472 break;
74473 case 22:
74474 // then
74475 $async$result = left;
74476 // goto join
74477 $async$goto = 23;
74478 break;
74479 case 24:
74480 // else
74481 $async$goto = 25;
74482 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74483 case 25:
74484 // returning from await.
74485 case 23:
74486 // join
74487 $async$returnValue = $async$result;
74488 // goto return
74489 $async$goto = 1;
74490 break;
74491 case 8:
74492 // case
74493 $async$goto = left.get$isTruthy() ? 26 : 28;
74494 break;
74495 case 26:
74496 // then
74497 $async$goto = 29;
74498 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74499 case 29:
74500 // returning from await.
74501 // goto join
74502 $async$goto = 27;
74503 break;
74504 case 28:
74505 // else
74506 $async$result = left;
74507 case 27:
74508 // join
74509 $async$returnValue = $async$result;
74510 // goto return
74511 $async$goto = 1;
74512 break;
74513 case 9:
74514 // case
74515 $async$temp1 = left;
74516 $async$goto = 30;
74517 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74518 case 30:
74519 // returning from await.
74520 $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
74521 // goto return
74522 $async$goto = 1;
74523 break;
74524 case 10:
74525 // case
74526 $async$temp1 = left;
74527 $async$goto = 31;
74528 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74529 case 31:
74530 // returning from await.
74531 $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
74532 // goto return
74533 $async$goto = 1;
74534 break;
74535 case 11:
74536 // case
74537 $async$temp1 = left;
74538 $async$goto = 32;
74539 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74540 case 32:
74541 // returning from await.
74542 $async$returnValue = $async$temp1.greaterThan$1($async$result);
74543 // goto return
74544 $async$goto = 1;
74545 break;
74546 case 12:
74547 // case
74548 $async$temp1 = left;
74549 $async$goto = 33;
74550 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74551 case 33:
74552 // returning from await.
74553 $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
74554 // goto return
74555 $async$goto = 1;
74556 break;
74557 case 13:
74558 // case
74559 $async$temp1 = left;
74560 $async$goto = 34;
74561 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74562 case 34:
74563 // returning from await.
74564 $async$returnValue = $async$temp1.lessThan$1($async$result);
74565 // goto return
74566 $async$goto = 1;
74567 break;
74568 case 14:
74569 // case
74570 $async$temp1 = left;
74571 $async$goto = 35;
74572 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74573 case 35:
74574 // returning from await.
74575 $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
74576 // goto return
74577 $async$goto = 1;
74578 break;
74579 case 15:
74580 // case
74581 $async$temp1 = left;
74582 $async$goto = 36;
74583 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74584 case 36:
74585 // returning from await.
74586 $async$returnValue = $async$temp1.plus$1($async$result);
74587 // goto return
74588 $async$goto = 1;
74589 break;
74590 case 16:
74591 // case
74592 $async$temp1 = left;
74593 $async$goto = 37;
74594 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74595 case 37:
74596 // returning from await.
74597 $async$returnValue = $async$temp1.minus$1($async$result);
74598 // goto return
74599 $async$goto = 1;
74600 break;
74601 case 17:
74602 // case
74603 $async$temp1 = left;
74604 $async$goto = 38;
74605 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74606 case 38:
74607 // returning from await.
74608 $async$returnValue = $async$temp1.times$1($async$result);
74609 // goto return
74610 $async$goto = 1;
74611 break;
74612 case 18:
74613 // case
74614 $async$goto = 39;
74615 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74616 case 39:
74617 // returning from await.
74618 right = $async$result;
74619 result = left.dividedBy$1(right);
74620 if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
74621 $async$returnValue = type$.SassNumber_2._as(result).withSlash$2(left, right);
74622 // goto return
74623 $async$goto = 1;
74624 break;
74625 } else {
74626 if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
74627 t2._async_evaluate0$_warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
74628 $async$returnValue = result;
74629 // goto return
74630 $async$goto = 1;
74631 break;
74632 }
74633 case 19:
74634 // case
74635 $async$temp1 = left;
74636 $async$goto = 40;
74637 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74638 case 40:
74639 // returning from await.
74640 $async$returnValue = $async$temp1.modulo$1($async$result);
74641 // goto return
74642 $async$goto = 1;
74643 break;
74644 case 20:
74645 // default
74646 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
74647 case 5:
74648 // after switch
74649 case 1:
74650 // return
74651 return A._asyncReturn($async$returnValue, $async$completer);
74652 }
74653 });
74654 return A._asyncStartSync($async$call$0, $async$completer);
74655 },
74656 $signature: 64
74657 };
74658 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2.prototype = {
74659 call$1(expression) {
74660 if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_RTB0)
74661 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
74662 else if (expression instanceof A.ParenthesizedExpression0)
74663 return expression.expression.toString$0(0);
74664 else
74665 return expression.toString$0(0);
74666 },
74667 $signature: 100
74668 };
74669 A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
74670 call$0() {
74671 var t1 = this.node;
74672 return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
74673 },
74674 $signature: 39
74675 };
74676 A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
74677 call$0() {
74678 var _this = this,
74679 t1 = _this.node.operator;
74680 switch (t1) {
74681 case B.UnaryOperator_j2w0:
74682 return _this.operand.unaryPlus$0();
74683 case B.UnaryOperator_U4G0:
74684 return _this.operand.unaryMinus$0();
74685 case B.UnaryOperator_zDx0:
74686 return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
74687 case B.UnaryOperator_not_not0:
74688 return _this.operand.unaryNot$0();
74689 default:
74690 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
74691 }
74692 },
74693 $signature: 44
74694 };
74695 A._EvaluateVisitor__visitCalculationValue_closure2.prototype = {
74696 call$0() {
74697 var $async$goto = 0,
74698 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
74699 $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
74700 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74701 if ($async$errorCode === 1)
74702 return A._asyncRethrow($async$result, $async$completer);
74703 while (true)
74704 switch ($async$goto) {
74705 case 0:
74706 // Function start
74707 t1 = $async$self.$this;
74708 t2 = $async$self.node;
74709 t3 = $async$self.inMinMax;
74710 $async$temp1 = A;
74711 $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$1(t2.operator);
74712 $async$goto = 3;
74713 return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
74714 case 3:
74715 // returning from await.
74716 $async$temp3 = $async$result;
74717 $async$goto = 4;
74718 return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
74719 case 4:
74720 // returning from await.
74721 $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate0$_inSupportsDeclaration);
74722 // goto return
74723 $async$goto = 1;
74724 break;
74725 case 1:
74726 // return
74727 return A._asyncReturn($async$returnValue, $async$completer);
74728 }
74729 });
74730 return A._asyncStartSync($async$call$0, $async$completer);
74731 },
74732 $signature: 152
74733 };
74734 A._EvaluateVisitor_visitListExpression_closure2.prototype = {
74735 call$1(expression) {
74736 return expression.accept$1(this.$this);
74737 },
74738 $signature: 350
74739 };
74740 A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
74741 call$0() {
74742 var t1 = this.node;
74743 return this.$this._async_evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
74744 },
74745 $signature: 116
74746 };
74747 A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
74748 call$0() {
74749 var t1 = this.node;
74750 return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
74751 },
74752 $signature: 64
74753 };
74754 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
74755 call$0() {
74756 var t1 = this.node;
74757 return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
74758 },
74759 $signature: 64
74760 };
74761 A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
74762 call$0() {
74763 var _this = this,
74764 t1 = _this.$this,
74765 t2 = _this.callable,
74766 t3 = _this.V;
74767 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);
74768 },
74769 $signature() {
74770 return this.V._eval$1("Future<0>()");
74771 }
74772 };
74773 A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
74774 call$0() {
74775 var _this = this,
74776 t1 = _this.$this,
74777 t2 = _this.V;
74778 return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
74779 },
74780 $signature() {
74781 return this.V._eval$1("Future<0>()");
74782 }
74783 };
74784 A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
74785 call$0() {
74786 return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
74787 },
74788 $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
74789 var $async$goto = 0,
74790 $async$completer = A._makeAsyncAwaitCompleter($async$type),
74791 $async$returnValue, $async$self = this, declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, argumentWord, argumentNames, t1, t2, t3, t4, t5, t6, $async$temp1;
74792 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74793 if ($async$errorCode === 1)
74794 return A._asyncRethrow($async$result, $async$completer);
74795 while (true)
74796 switch ($async$goto) {
74797 case 0:
74798 // Function start
74799 t1 = $async$self.$this;
74800 t2 = $async$self.evaluated;
74801 t3 = t2.positional;
74802 t4 = t2.named;
74803 t5 = $async$self.callable.declaration.$arguments;
74804 t6 = $async$self.nodeWithSpan;
74805 t1._async_evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
74806 declaredArguments = t5.$arguments;
74807 t7 = declaredArguments.length;
74808 minLength = Math.min(t3.length, t7);
74809 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
74810 t1._async_evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
74811 i = t3.length, t8 = t2.namedNodes;
74812 case 3:
74813 // for condition
74814 if (!(i < t7)) {
74815 // goto after for
74816 $async$goto = 5;
74817 break;
74818 }
74819 argument = declaredArguments[i];
74820 t9 = argument.name;
74821 value = t4.remove$1(0, t9);
74822 $async$goto = value == null ? 6 : 7;
74823 break;
74824 case 6:
74825 // then
74826 t10 = argument.defaultValue;
74827 $async$temp1 = t1;
74828 $async$goto = 8;
74829 return A._asyncAwait(t10.accept$1(t1), $async$call$0);
74830 case 8:
74831 // returning from await.
74832 value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t10));
74833 case 7:
74834 // join
74835 t10 = t1._async_evaluate0$_environment;
74836 t11 = t8.$index(0, t9);
74837 if (t11 == null) {
74838 t11 = argument.defaultValue;
74839 t11.toString;
74840 t11 = t1._async_evaluate0$_expressionNode$1(t11);
74841 }
74842 t10.setLocalVariable$3(t9, value, t11);
74843 case 4:
74844 // for update
74845 ++i;
74846 // goto for condition
74847 $async$goto = 3;
74848 break;
74849 case 5:
74850 // after for
74851 restArgument = t5.restArgument;
74852 if (restArgument != null) {
74853 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty15;
74854 t2 = t2.separator;
74855 argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : t2);
74856 t1._async_evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
74857 } else
74858 argumentList = null;
74859 $async$goto = 9;
74860 return A._asyncAwait($async$self.run.call$0(), $async$call$0);
74861 case 9:
74862 // returning from await.
74863 result = $async$result;
74864 if (argumentList == null) {
74865 $async$returnValue = result;
74866 // goto return
74867 $async$goto = 1;
74868 break;
74869 }
74870 if (t4.get$isEmpty(t4)) {
74871 $async$returnValue = result;
74872 // goto return
74873 $async$goto = 1;
74874 break;
74875 }
74876 if (argumentList._argument_list$_wereKeywordsAccessed) {
74877 $async$returnValue = result;
74878 // goto return
74879 $async$goto = 1;
74880 break;
74881 }
74882 t2 = t4.get$keys(t4);
74883 argumentWord = A.pluralize0("argument", t2.get$length(t2), null);
74884 t4 = t4.get$keys(t4);
74885 argumentNames = A.toSentence0(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure2(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
74886 throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + argumentWord + " named " + argumentNames + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate0$_stackTrace$1(t6.get$span(t6))));
74887 case 1:
74888 // return
74889 return A._asyncReturn($async$returnValue, $async$completer);
74890 }
74891 });
74892 return A._asyncStartSync($async$call$0, $async$completer);
74893 },
74894 $signature() {
74895 return this.V._eval$1("Future<0>()");
74896 }
74897 };
74898 A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
74899 call$1($name) {
74900 return "$" + $name;
74901 },
74902 $signature: 5
74903 };
74904 A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
74905 call$0() {
74906 var $async$goto = 0,
74907 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
74908 $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
74909 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74910 if ($async$errorCode === 1)
74911 return A._asyncRethrow($async$result, $async$completer);
74912 while (true)
74913 switch ($async$goto) {
74914 case 0:
74915 // Function start
74916 t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
74917 case 3:
74918 // for condition
74919 if (!(_i < t3)) {
74920 // goto after for
74921 $async$goto = 5;
74922 break;
74923 }
74924 $async$goto = 6;
74925 return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
74926 case 6:
74927 // returning from await.
74928 $returnValue = $async$result;
74929 if ($returnValue instanceof A.Value0) {
74930 $async$returnValue = $returnValue;
74931 // goto return
74932 $async$goto = 1;
74933 break;
74934 }
74935 case 4:
74936 // for update
74937 ++_i;
74938 // goto for condition
74939 $async$goto = 3;
74940 break;
74941 case 5:
74942 // after for
74943 throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
74944 case 1:
74945 // return
74946 return A._asyncReturn($async$returnValue, $async$completer);
74947 }
74948 });
74949 return A._asyncStartSync($async$call$0, $async$completer);
74950 },
74951 $signature: 64
74952 };
74953 A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
74954 call$0() {
74955 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
74956 },
74957 $signature: 0
74958 };
74959 A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
74960 call$1($name) {
74961 return "$" + $name;
74962 },
74963 $signature: 5
74964 };
74965 A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
74966 call$1(value) {
74967 return value;
74968 },
74969 $signature: 38
74970 };
74971 A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
74972 call$1(value) {
74973 return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
74974 },
74975 $signature: 38
74976 };
74977 A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
74978 call$2(key, value) {
74979 var _this = this,
74980 t1 = _this.restNodeForSpan;
74981 _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
74982 _this.namedNodes.$indexSet(0, key, t1);
74983 },
74984 $signature: 96
74985 };
74986 A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
74987 call$1(value) {
74988 return value;
74989 },
74990 $signature: 38
74991 };
74992 A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
74993 call$1(value) {
74994 var t1 = this.restArgs;
74995 return new A.ValueExpression0(value, t1.get$span(t1));
74996 },
74997 $signature: 54
74998 };
74999 A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
75000 call$1(value) {
75001 var t1 = this.restArgs;
75002 return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
75003 },
75004 $signature: 54
75005 };
75006 A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
75007 call$2(key, value) {
75008 var _this = this,
75009 t1 = _this.restArgs;
75010 _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
75011 },
75012 $signature: 96
75013 };
75014 A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
75015 call$1(value) {
75016 var t1 = this.keywordRestArgs;
75017 return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
75018 },
75019 $signature: 54
75020 };
75021 A._EvaluateVisitor__addRestMap_closure2.prototype = {
75022 call$2(key, value) {
75023 var t2, _this = this,
75024 t1 = _this.$this;
75025 if (key instanceof A.SassString0)
75026 _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
75027 else {
75028 t2 = _this.nodeWithSpan;
75029 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)));
75030 }
75031 },
75032 $signature: 52
75033 };
75034 A._EvaluateVisitor__verifyArguments_closure2.prototype = {
75035 call$0() {
75036 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
75037 },
75038 $signature: 0
75039 };
75040 A._EvaluateVisitor_visitStringExpression_closure2.prototype = {
75041 call$1(value) {
75042 var $async$goto = 0,
75043 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
75044 $async$returnValue, $async$self = this, t1, result;
75045 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75046 if ($async$errorCode === 1)
75047 return A._asyncRethrow($async$result, $async$completer);
75048 while (true)
75049 switch ($async$goto) {
75050 case 0:
75051 // Function start
75052 if (typeof value == "string") {
75053 $async$returnValue = value;
75054 // goto return
75055 $async$goto = 1;
75056 break;
75057 }
75058 type$.Expression_2._as(value);
75059 t1 = $async$self.$this;
75060 $async$goto = 3;
75061 return A._asyncAwait(value.accept$1(t1), $async$call$1);
75062 case 3:
75063 // returning from await.
75064 result = $async$result;
75065 $async$returnValue = result instanceof A.SassString0 ? result._string0$_text : t1._async_evaluate0$_serialize$3$quote(result, value, false);
75066 // goto return
75067 $async$goto = 1;
75068 break;
75069 case 1:
75070 // return
75071 return A._asyncReturn($async$returnValue, $async$completer);
75072 }
75073 });
75074 return A._asyncStartSync($async$call$1, $async$completer);
75075 },
75076 $signature: 95
75077 };
75078 A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
75079 call$0() {
75080 var $async$goto = 0,
75081 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75082 $async$self = this, t1, t2, t3;
75083 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75084 if ($async$errorCode === 1)
75085 return A._asyncRethrow($async$result, $async$completer);
75086 while (true)
75087 switch ($async$goto) {
75088 case 0:
75089 // Function start
75090 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75091 case 2:
75092 // for condition
75093 if (!t1.moveNext$0()) {
75094 // goto after for
75095 $async$goto = 3;
75096 break;
75097 }
75098 $async$goto = 4;
75099 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75100 case 4:
75101 // returning from await.
75102 // goto for condition
75103 $async$goto = 2;
75104 break;
75105 case 3:
75106 // after for
75107 // implicit return
75108 return A._asyncReturn(null, $async$completer);
75109 }
75110 });
75111 return A._asyncStartSync($async$call$0, $async$completer);
75112 },
75113 $signature: 2
75114 };
75115 A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
75116 call$1(node) {
75117 return type$.CssStyleRule_2._is(node);
75118 },
75119 $signature: 8
75120 };
75121 A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
75122 call$0() {
75123 var $async$goto = 0,
75124 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75125 $async$self = this, t1, t2, t3;
75126 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75127 if ($async$errorCode === 1)
75128 return A._asyncRethrow($async$result, $async$completer);
75129 while (true)
75130 switch ($async$goto) {
75131 case 0:
75132 // Function start
75133 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75134 case 2:
75135 // for condition
75136 if (!t1.moveNext$0()) {
75137 // goto after for
75138 $async$goto = 3;
75139 break;
75140 }
75141 $async$goto = 4;
75142 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75143 case 4:
75144 // returning from await.
75145 // goto for condition
75146 $async$goto = 2;
75147 break;
75148 case 3:
75149 // after for
75150 // implicit return
75151 return A._asyncReturn(null, $async$completer);
75152 }
75153 });
75154 return A._asyncStartSync($async$call$0, $async$completer);
75155 },
75156 $signature: 2
75157 };
75158 A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
75159 call$1(node) {
75160 return type$.CssStyleRule_2._is(node);
75161 },
75162 $signature: 8
75163 };
75164 A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
75165 call$1(mediaQueries) {
75166 return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
75167 },
75168 $signature: 77
75169 };
75170 A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
75171 call$0() {
75172 var $async$goto = 0,
75173 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75174 $async$self = this, t1, t2;
75175 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75176 if ($async$errorCode === 1)
75177 return A._asyncRethrow($async$result, $async$completer);
75178 while (true)
75179 switch ($async$goto) {
75180 case 0:
75181 // Function start
75182 t1 = $async$self.$this;
75183 t2 = $async$self.mergedQueries;
75184 if (t2 == null)
75185 t2 = $async$self.node.queries;
75186 $async$goto = 2;
75187 return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
75188 case 2:
75189 // returning from await.
75190 // implicit return
75191 return A._asyncReturn(null, $async$completer);
75192 }
75193 });
75194 return A._asyncStartSync($async$call$0, $async$completer);
75195 },
75196 $signature: 2
75197 };
75198 A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
75199 call$0() {
75200 var $async$goto = 0,
75201 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75202 $async$self = this, t2, t3, t1, styleRule;
75203 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75204 if ($async$errorCode === 1)
75205 return A._asyncRethrow($async$result, $async$completer);
75206 while (true)
75207 switch ($async$goto) {
75208 case 0:
75209 // Function start
75210 t1 = $async$self.$this;
75211 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
75212 $async$goto = styleRule == null ? 2 : 4;
75213 break;
75214 case 2:
75215 // then
75216 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
75217 case 5:
75218 // for condition
75219 if (!t2.moveNext$0()) {
75220 // goto after for
75221 $async$goto = 6;
75222 break;
75223 }
75224 $async$goto = 7;
75225 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
75226 case 7:
75227 // returning from await.
75228 // goto for condition
75229 $async$goto = 5;
75230 break;
75231 case 6:
75232 // after for
75233 // goto join
75234 $async$goto = 3;
75235 break;
75236 case 4:
75237 // else
75238 $async$goto = 8;
75239 return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
75240 case 8:
75241 // returning from await.
75242 case 3:
75243 // join
75244 // implicit return
75245 return A._asyncReturn(null, $async$completer);
75246 }
75247 });
75248 return A._asyncStartSync($async$call$0, $async$completer);
75249 },
75250 $signature: 2
75251 };
75252 A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
75253 call$0() {
75254 var $async$goto = 0,
75255 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75256 $async$self = this, t1, t2, t3;
75257 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75258 if ($async$errorCode === 1)
75259 return A._asyncRethrow($async$result, $async$completer);
75260 while (true)
75261 switch ($async$goto) {
75262 case 0:
75263 // Function start
75264 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75265 case 2:
75266 // for condition
75267 if (!t1.moveNext$0()) {
75268 // goto after for
75269 $async$goto = 3;
75270 break;
75271 }
75272 $async$goto = 4;
75273 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75274 case 4:
75275 // returning from await.
75276 // goto for condition
75277 $async$goto = 2;
75278 break;
75279 case 3:
75280 // after for
75281 // implicit return
75282 return A._asyncReturn(null, $async$completer);
75283 }
75284 });
75285 return A._asyncStartSync($async$call$0, $async$completer);
75286 },
75287 $signature: 2
75288 };
75289 A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
75290 call$1(node) {
75291 var t1;
75292 if (!type$.CssStyleRule_2._is(node))
75293 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
75294 else
75295 t1 = true;
75296 return t1;
75297 },
75298 $signature: 8
75299 };
75300 A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
75301 call$0() {
75302 var $async$goto = 0,
75303 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75304 $async$self = this, t1;
75305 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75306 if ($async$errorCode === 1)
75307 return A._asyncRethrow($async$result, $async$completer);
75308 while (true)
75309 switch ($async$goto) {
75310 case 0:
75311 // Function start
75312 t1 = $async$self.$this;
75313 $async$goto = 2;
75314 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);
75315 case 2:
75316 // returning from await.
75317 // implicit return
75318 return A._asyncReturn(null, $async$completer);
75319 }
75320 });
75321 return A._asyncStartSync($async$call$0, $async$completer);
75322 },
75323 $signature: 2
75324 };
75325 A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
75326 call$0() {
75327 var $async$goto = 0,
75328 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75329 $async$self = this, t1, t2, t3;
75330 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75331 if ($async$errorCode === 1)
75332 return A._asyncRethrow($async$result, $async$completer);
75333 while (true)
75334 switch ($async$goto) {
75335 case 0:
75336 // Function start
75337 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75338 case 2:
75339 // for condition
75340 if (!t1.moveNext$0()) {
75341 // goto after for
75342 $async$goto = 3;
75343 break;
75344 }
75345 $async$goto = 4;
75346 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75347 case 4:
75348 // returning from await.
75349 // goto for condition
75350 $async$goto = 2;
75351 break;
75352 case 3:
75353 // after for
75354 // implicit return
75355 return A._asyncReturn(null, $async$completer);
75356 }
75357 });
75358 return A._asyncStartSync($async$call$0, $async$completer);
75359 },
75360 $signature: 2
75361 };
75362 A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
75363 call$1(node) {
75364 return type$.CssStyleRule_2._is(node);
75365 },
75366 $signature: 8
75367 };
75368 A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
75369 call$0() {
75370 var $async$goto = 0,
75371 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75372 $async$self = this, t2, t3, t1, styleRule;
75373 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75374 if ($async$errorCode === 1)
75375 return A._asyncRethrow($async$result, $async$completer);
75376 while (true)
75377 switch ($async$goto) {
75378 case 0:
75379 // Function start
75380 t1 = $async$self.$this;
75381 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
75382 $async$goto = styleRule == null ? 2 : 4;
75383 break;
75384 case 2:
75385 // then
75386 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
75387 case 5:
75388 // for condition
75389 if (!t2.moveNext$0()) {
75390 // goto after for
75391 $async$goto = 6;
75392 break;
75393 }
75394 $async$goto = 7;
75395 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
75396 case 7:
75397 // returning from await.
75398 // goto for condition
75399 $async$goto = 5;
75400 break;
75401 case 6:
75402 // after for
75403 // goto join
75404 $async$goto = 3;
75405 break;
75406 case 4:
75407 // else
75408 $async$goto = 8;
75409 return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
75410 case 8:
75411 // returning from await.
75412 case 3:
75413 // join
75414 // implicit return
75415 return A._asyncReturn(null, $async$completer);
75416 }
75417 });
75418 return A._asyncStartSync($async$call$0, $async$completer);
75419 },
75420 $signature: 2
75421 };
75422 A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
75423 call$0() {
75424 var $async$goto = 0,
75425 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75426 $async$self = this, t1, t2, t3;
75427 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75428 if ($async$errorCode === 1)
75429 return A._asyncRethrow($async$result, $async$completer);
75430 while (true)
75431 switch ($async$goto) {
75432 case 0:
75433 // Function start
75434 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75435 case 2:
75436 // for condition
75437 if (!t1.moveNext$0()) {
75438 // goto after for
75439 $async$goto = 3;
75440 break;
75441 }
75442 $async$goto = 4;
75443 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75444 case 4:
75445 // returning from await.
75446 // goto for condition
75447 $async$goto = 2;
75448 break;
75449 case 3:
75450 // after for
75451 // implicit return
75452 return A._asyncReturn(null, $async$completer);
75453 }
75454 });
75455 return A._asyncStartSync($async$call$0, $async$completer);
75456 },
75457 $signature: 2
75458 };
75459 A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
75460 call$1(node) {
75461 return type$.CssStyleRule_2._is(node);
75462 },
75463 $signature: 8
75464 };
75465 A._EvaluateVisitor__performInterpolation_closure2.prototype = {
75466 call$1(value) {
75467 var $async$goto = 0,
75468 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
75469 $async$returnValue, $async$self = this, t1, result, t2, t3;
75470 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75471 if ($async$errorCode === 1)
75472 return A._asyncRethrow($async$result, $async$completer);
75473 while (true)
75474 switch ($async$goto) {
75475 case 0:
75476 // Function start
75477 if (typeof value == "string") {
75478 $async$returnValue = value;
75479 // goto return
75480 $async$goto = 1;
75481 break;
75482 }
75483 type$.Expression_2._as(value);
75484 t1 = $async$self.$this;
75485 $async$goto = 3;
75486 return A._asyncAwait(value.accept$1(t1), $async$call$1);
75487 case 3:
75488 // returning from await.
75489 result = $async$result;
75490 if ($async$self.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
75491 t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
75492 t3 = $.$get$namesByColor0();
75493 t1._async_evaluate0$_warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_AcR2, new A.StringExpression0(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
75494 }
75495 $async$returnValue = t1._async_evaluate0$_serialize$3$quote(result, value, false);
75496 // goto return
75497 $async$goto = 1;
75498 break;
75499 case 1:
75500 // return
75501 return A._asyncReturn($async$returnValue, $async$completer);
75502 }
75503 });
75504 return A._asyncStartSync($async$call$1, $async$completer);
75505 },
75506 $signature: 95
75507 };
75508 A._EvaluateVisitor__serialize_closure2.prototype = {
75509 call$0() {
75510 return A.serializeValue0(this.value, false, this.quote);
75511 },
75512 $signature: 30
75513 };
75514 A._EvaluateVisitor__expressionNode_closure2.prototype = {
75515 call$0() {
75516 var t1 = this.expression;
75517 return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
75518 },
75519 $signature: 188
75520 };
75521 A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
75522 call$1(number) {
75523 var asSlash = number.asSlash;
75524 if (asSlash != null)
75525 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
75526 else
75527 return A.serializeValue0(number, true, true);
75528 },
75529 $signature: 189
75530 };
75531 A._EvaluateVisitor__stackFrame_closure2.prototype = {
75532 call$1(url) {
75533 var t1 = this.$this._async_evaluate0$_importCache;
75534 t1 = t1 == null ? null : t1.humanize$1(url);
75535 return t1 == null ? url : t1;
75536 },
75537 $signature: 97
75538 };
75539 A._EvaluateVisitor__stackTrace_closure2.prototype = {
75540 call$1(tuple) {
75541 return this.$this._async_evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
75542 },
75543 $signature: 190
75544 };
75545 A._ImportedCssVisitor2.prototype = {
75546 visitCssAtRule$1(node) {
75547 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
75548 this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
75549 },
75550 visitCssComment$1(node) {
75551 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
75552 },
75553 visitCssDeclaration$1(node) {
75554 },
75555 visitCssImport$1(node) {
75556 var t2,
75557 _s13_ = "_endOfImports",
75558 t1 = this._async_evaluate0$_visitor;
75559 if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
75560 t1._async_evaluate0$_addChild$1(node);
75561 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)) {
75562 t1._async_evaluate0$_addChild$1(node);
75563 t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
75564 } else {
75565 t2 = t1._async_evaluate0$_outOfOrderImports;
75566 (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
75567 }
75568 },
75569 visitCssKeyframeBlock$1(node) {
75570 },
75571 visitCssMediaRule$1(node) {
75572 var t1 = this._async_evaluate0$_visitor,
75573 mediaQueries = t1._async_evaluate0$_mediaQueries;
75574 t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
75575 },
75576 visitCssStyleRule$1(node) {
75577 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
75578 },
75579 visitCssStylesheet$1(node) {
75580 var t1, t2;
75581 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
75582 t2._as(t1.__internal$_current).accept$1(this);
75583 },
75584 visitCssSupportsRule$1(node) {
75585 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
75586 }
75587 };
75588 A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
75589 call$1(node) {
75590 return type$.CssStyleRule_2._is(node);
75591 },
75592 $signature: 8
75593 };
75594 A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
75595 call$1(node) {
75596 var t1;
75597 if (!type$.CssStyleRule_2._is(node))
75598 t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
75599 else
75600 t1 = true;
75601 return t1;
75602 },
75603 $signature: 8
75604 };
75605 A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
75606 call$1(node) {
75607 return type$.CssStyleRule_2._is(node);
75608 },
75609 $signature: 8
75610 };
75611 A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
75612 call$1(node) {
75613 return type$.CssStyleRule_2._is(node);
75614 },
75615 $signature: 8
75616 };
75617 A.EvaluateResult0.prototype = {};
75618 A._EvaluationContext2.prototype = {
75619 get$currentCallableSpan() {
75620 var callableNode = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
75621 if (callableNode != null)
75622 return callableNode.get$span(callableNode);
75623 throw A.wrapException(A.StateError$(string$.No_Sasc));
75624 },
75625 warn$2$deprecation(_, message, deprecation) {
75626 var t1 = this._async_evaluate0$_visitor,
75627 t2 = t1._async_evaluate0$_importSpan;
75628 if (t2 == null) {
75629 t2 = t1._async_evaluate0$_callableNode;
75630 t2 = t2 == null ? null : t2.get$span(t2);
75631 }
75632 t1._async_evaluate0$_warn$3$deprecation(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
75633 },
75634 $isEvaluationContext0: 1
75635 };
75636 A._ArgumentResults2.prototype = {};
75637 A._LoadedStylesheet2.prototype = {};
75638 A.NodeToDartAsyncFileImporter.prototype = {
75639 canonicalize$1(_, url) {
75640 return this.canonicalize$body$NodeToDartAsyncFileImporter(0, url);
75641 },
75642 canonicalize$body$NodeToDartAsyncFileImporter(_, url) {
75643 var $async$goto = 0,
75644 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
75645 $async$returnValue, $async$self = this, result, t1, resultUrl;
75646 var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75647 if ($async$errorCode === 1)
75648 return A._asyncRethrow($async$result, $async$completer);
75649 while (true)
75650 switch ($async$goto) {
75651 case 0:
75652 // Function start
75653 if (url.get$scheme() === "file") {
75654 $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, url);
75655 // goto return
75656 $async$goto = 1;
75657 break;
75658 }
75659 result = $async$self._findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
75660 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
75661 break;
75662 case 3:
75663 // then
75664 $async$goto = 5;
75665 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
75666 case 5:
75667 // returning from await.
75668 result = $async$result;
75669 case 4:
75670 // join
75671 if (result == null) {
75672 $async$returnValue = null;
75673 // goto return
75674 $async$goto = 1;
75675 break;
75676 }
75677 t1 = self.URL;
75678 if (!(result instanceof t1))
75679 A.jsThrow(new self.Error(string$.The_fie));
75680 resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
75681 if (resultUrl.get$scheme() !== "file")
75682 A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
75683 $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, resultUrl);
75684 // goto return
75685 $async$goto = 1;
75686 break;
75687 case 1:
75688 // return
75689 return A._asyncReturn($async$returnValue, $async$completer);
75690 }
75691 });
75692 return A._asyncStartSync($async$canonicalize$1, $async$completer);
75693 },
75694 load$1(_, url) {
75695 return $.$get$_filesystemImporter().load$1(0, url);
75696 }
75697 };
75698 A.AsyncImportCache0.prototype = {
75699 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
75700 return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
75701 },
75702 canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
75703 var $async$goto = 0,
75704 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
75705 $async$returnValue, $async$self = this, t1, relativeResult;
75706 var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75707 if ($async$errorCode === 1)
75708 return A._asyncRethrow($async$result, $async$completer);
75709 while (true)
75710 switch ($async$goto) {
75711 case 0:
75712 // Function start
75713 $async$goto = baseImporter != null ? 3 : 4;
75714 break;
75715 case 3:
75716 // then
75717 t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2;
75718 $async$goto = 5;
75719 return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_relativeCanonicalizeCache, new A.Tuple4(url, forImport, baseImporter, baseUrl, t1), new A.AsyncImportCache_canonicalize_closure1($async$self, baseUrl, url, baseImporter, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2), $async$canonicalize$4$baseImporter$baseUrl$forImport);
75720 case 5:
75721 // returning from await.
75722 relativeResult = $async$result;
75723 if (relativeResult != null) {
75724 $async$returnValue = relativeResult;
75725 // goto return
75726 $async$goto = 1;
75727 break;
75728 }
75729 case 4:
75730 // join
75731 t1 = type$.Tuple2_Uri_bool;
75732 $async$goto = 6;
75733 return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_canonicalizeCache, new A.Tuple2(url, forImport, t1), new A.AsyncImportCache_canonicalize_closure2($async$self, url, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2), $async$canonicalize$4$baseImporter$baseUrl$forImport);
75734 case 6:
75735 // returning from await.
75736 $async$returnValue = $async$result;
75737 // goto return
75738 $async$goto = 1;
75739 break;
75740 case 1:
75741 // return
75742 return A._asyncReturn($async$returnValue, $async$completer);
75743 }
75744 });
75745 return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
75746 },
75747 _async_import_cache0$_canonicalize$3(importer, url, forImport) {
75748 return this._canonicalize$body$AsyncImportCache0(importer, url, forImport);
75749 },
75750 _canonicalize$body$AsyncImportCache0(importer, url, forImport) {
75751 var $async$goto = 0,
75752 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
75753 $async$returnValue, $async$self = this, t1, result;
75754 var $async$_async_import_cache0$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75755 if ($async$errorCode === 1)
75756 return A._asyncRethrow($async$result, $async$completer);
75757 while (true)
75758 switch ($async$goto) {
75759 case 0:
75760 // Function start
75761 if (forImport) {
75762 t1 = type$.nullable_Object;
75763 t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
75764 } else
75765 t1 = importer.canonicalize$1(0, url);
75766 $async$goto = 3;
75767 return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$3);
75768 case 3:
75769 // returning from await.
75770 result = $async$result;
75771 if ((result == null ? null : result.get$scheme()) === "")
75772 $async$self._async_import_cache0$_logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
75773 $async$returnValue = result;
75774 // goto return
75775 $async$goto = 1;
75776 break;
75777 case 1:
75778 // return
75779 return A._asyncReturn($async$returnValue, $async$completer);
75780 }
75781 });
75782 return A._asyncStartSync($async$_async_import_cache0$_canonicalize$3, $async$completer);
75783 },
75784 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
75785 return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet);
75786 },
75787 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
75788 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
75789 },
75790 importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet) {
75791 var $async$goto = 0,
75792 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
75793 $async$returnValue, $async$self = this;
75794 var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75795 if ($async$errorCode === 1)
75796 return A._asyncRethrow($async$result, $async$completer);
75797 while (true)
75798 switch ($async$goto) {
75799 case 0:
75800 // Function start
75801 $async$goto = 3;
75802 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);
75803 case 3:
75804 // returning from await.
75805 $async$returnValue = $async$result;
75806 // goto return
75807 $async$goto = 1;
75808 break;
75809 case 1:
75810 // return
75811 return A._asyncReturn($async$returnValue, $async$completer);
75812 }
75813 });
75814 return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
75815 },
75816 humanize$1(canonicalUrl) {
75817 var t2, url,
75818 t1 = this._async_import_cache0$_canonicalizeCache;
75819 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri_2);
75820 t2 = t1.$ti;
75821 url = A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.AsyncImportCache_humanize_closure2(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.AsyncImportCache_humanize_closure3(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.AsyncImportCache_humanize_closure4());
75822 if (url == null)
75823 return canonicalUrl;
75824 t1 = $.$get$url();
75825 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
75826 },
75827 sourceMapUrl$1(_, canonicalUrl) {
75828 var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
75829 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
75830 return t1 == null ? canonicalUrl : t1;
75831 }
75832 };
75833 A.AsyncImportCache_canonicalize_closure1.prototype = {
75834 call$0() {
75835 var $async$goto = 0,
75836 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
75837 $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
75838 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75839 if ($async$errorCode === 1)
75840 return A._asyncRethrow($async$result, $async$completer);
75841 while (true)
75842 switch ($async$goto) {
75843 case 0:
75844 // Function start
75845 t1 = $async$self.baseUrl;
75846 resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
75847 if (resolvedUrl == null)
75848 resolvedUrl = $async$self.url;
75849 t1 = $async$self.baseImporter;
75850 $async$goto = 3;
75851 return A._asyncAwait($async$self.$this._async_import_cache0$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
75852 case 3:
75853 // returning from await.
75854 canonicalUrl = $async$result;
75855 if (canonicalUrl == null) {
75856 $async$returnValue = null;
75857 // goto return
75858 $async$goto = 1;
75859 break;
75860 }
75861 $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri_2);
75862 // goto return
75863 $async$goto = 1;
75864 break;
75865 case 1:
75866 // return
75867 return A._asyncReturn($async$returnValue, $async$completer);
75868 }
75869 });
75870 return A._asyncStartSync($async$call$0, $async$completer);
75871 },
75872 $signature: 191
75873 };
75874 A.AsyncImportCache_canonicalize_closure2.prototype = {
75875 call$0() {
75876 var $async$goto = 0,
75877 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
75878 $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
75879 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75880 if ($async$errorCode === 1)
75881 return A._asyncRethrow($async$result, $async$completer);
75882 while (true)
75883 switch ($async$goto) {
75884 case 0:
75885 // Function start
75886 t1 = $async$self.$this, t2 = t1._async_import_cache0$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
75887 case 3:
75888 // for condition
75889 if (!(_i < t2.length)) {
75890 // goto after for
75891 $async$goto = 5;
75892 break;
75893 }
75894 importer = t2[_i];
75895 $async$goto = 6;
75896 return A._asyncAwait(t1._async_import_cache0$_canonicalize$3(importer, t4, t5), $async$call$0);
75897 case 6:
75898 // returning from await.
75899 canonicalUrl = $async$result;
75900 if (canonicalUrl != null) {
75901 $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri_2);
75902 // goto return
75903 $async$goto = 1;
75904 break;
75905 }
75906 case 4:
75907 // for update
75908 t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
75909 // goto for condition
75910 $async$goto = 3;
75911 break;
75912 case 5:
75913 // after for
75914 $async$returnValue = null;
75915 // goto return
75916 $async$goto = 1;
75917 break;
75918 case 1:
75919 // return
75920 return A._asyncReturn($async$returnValue, $async$completer);
75921 }
75922 });
75923 return A._asyncStartSync($async$call$0, $async$completer);
75924 },
75925 $signature: 191
75926 };
75927 A.AsyncImportCache__canonicalize_closure0.prototype = {
75928 call$0() {
75929 return this.importer.canonicalize$1(0, this.url);
75930 },
75931 $signature: 209
75932 };
75933 A.AsyncImportCache_importCanonical_closure0.prototype = {
75934 call$0() {
75935 var $async$goto = 0,
75936 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
75937 $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
75938 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75939 if ($async$errorCode === 1)
75940 return A._asyncRethrow($async$result, $async$completer);
75941 while (true)
75942 switch ($async$goto) {
75943 case 0:
75944 // Function start
75945 t1 = $async$self.canonicalUrl;
75946 $async$goto = 3;
75947 return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
75948 case 3:
75949 // returning from await.
75950 result = $async$result;
75951 if (result == null) {
75952 $async$returnValue = null;
75953 // goto return
75954 $async$goto = 1;
75955 break;
75956 }
75957 t2 = $async$self.$this;
75958 t2._async_import_cache0$_resultsCache.$indexSet(0, t1, result);
75959 t3 = result.contents;
75960 t4 = result.syntax;
75961 t1 = $async$self.originalUrl.resolveUri$1(t1);
75962 $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t4, $async$self.quiet ? $.$get$Logger_quiet0() : t2._async_import_cache0$_logger, t1);
75963 // goto return
75964 $async$goto = 1;
75965 break;
75966 case 1:
75967 // return
75968 return A._asyncReturn($async$returnValue, $async$completer);
75969 }
75970 });
75971 return A._asyncStartSync($async$call$0, $async$completer);
75972 },
75973 $signature: 358
75974 };
75975 A.AsyncImportCache_humanize_closure2.prototype = {
75976 call$1(tuple) {
75977 return tuple.item2.$eq(0, this.canonicalUrl);
75978 },
75979 $signature: 359
75980 };
75981 A.AsyncImportCache_humanize_closure3.prototype = {
75982 call$1(tuple) {
75983 return tuple.item3;
75984 },
75985 $signature: 360
75986 };
75987 A.AsyncImportCache_humanize_closure4.prototype = {
75988 call$1(url) {
75989 return url.get$path(url).length;
75990 },
75991 $signature: 80
75992 };
75993 A.AtRootQueryParser0.prototype = {
75994 parse$0() {
75995 return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
75996 }
75997 };
75998 A.AtRootQueryParser_parse_closure0.prototype = {
75999 call$0() {
76000 var include, atRules,
76001 t1 = this.$this,
76002 t2 = t1.scanner;
76003 t2.expectChar$1(40);
76004 t1.whitespace$0();
76005 include = t1.scanIdentifier$1("with");
76006 if (!include)
76007 t1.expectIdentifier$2$name("without", '"with" or "without"');
76008 t1.whitespace$0();
76009 t2.expectChar$1(58);
76010 t1.whitespace$0();
76011 atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
76012 do {
76013 atRules.add$1(0, t1.identifier$0().toLowerCase());
76014 t1.whitespace$0();
76015 } while (t1.lookingAtIdentifier$0());
76016 t2.expectChar$1(41);
76017 t2.expectDone$0();
76018 return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
76019 },
76020 $signature: 110
76021 };
76022 A.AtRootQuery0.prototype = {
76023 excludes$1(node) {
76024 var t1, _this = this;
76025 if (_this._at_root_query0$_all)
76026 return !_this.include;
76027 if (type$.CssStyleRule_2._is(node))
76028 return _this._at_root_query0$_rule !== _this.include;
76029 if (type$.CssMediaRule_2._is(node))
76030 return _this.excludesName$1("media");
76031 if (type$.CssSupportsRule_2._is(node))
76032 return _this.excludesName$1("supports");
76033 if (type$.CssAtRule_2._is(node)) {
76034 t1 = node.name;
76035 return _this.excludesName$1(t1.get$value(t1).toLowerCase());
76036 }
76037 return false;
76038 },
76039 excludesName$1($name) {
76040 var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
76041 return t1 !== this.include;
76042 }
76043 };
76044 A.AtRootRule0.prototype = {
76045 accept$1$1(visitor) {
76046 return visitor.visitAtRootRule$1(this);
76047 },
76048 accept$1(visitor) {
76049 return this.accept$1$1(visitor, type$.dynamic);
76050 },
76051 toString$0(_) {
76052 var buffer = new A.StringBuffer("@at-root "),
76053 t1 = this.query;
76054 if (t1 != null)
76055 buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
76056 t1 = this.children;
76057 return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
76058 },
76059 get$span(receiver) {
76060 return this.span;
76061 }
76062 };
76063 A.ModifiableCssAtRule0.prototype = {
76064 accept$1$1(visitor) {
76065 return visitor.visitCssAtRule$1(this);
76066 },
76067 accept$1(visitor) {
76068 return this.accept$1$1(visitor, type$.dynamic);
76069 },
76070 copyWithoutChildren$0() {
76071 var _this = this;
76072 return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
76073 },
76074 addChild$1(child) {
76075 this.super$ModifiableCssParentNode$addChild0(child);
76076 },
76077 $isCssAtRule0: 1,
76078 get$isChildless() {
76079 return this.isChildless;
76080 },
76081 get$span(receiver) {
76082 return this.span;
76083 }
76084 };
76085 A.AtRule0.prototype = {
76086 accept$1$1(visitor) {
76087 return visitor.visitAtRule$1(this);
76088 },
76089 accept$1(visitor) {
76090 return this.accept$1$1(visitor, type$.dynamic);
76091 },
76092 toString$0(_) {
76093 var children,
76094 t1 = "@" + this.name.toString$0(0),
76095 buffer = new A.StringBuffer(t1),
76096 t2 = this.value;
76097 if (t2 != null)
76098 buffer._contents = t1 + (" " + t2.toString$0(0));
76099 children = this.children;
76100 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
76101 },
76102 get$span(receiver) {
76103 return this.span;
76104 }
76105 };
76106 A.AttributeSelector0.prototype = {
76107 accept$1$1(visitor) {
76108 var value, t2, _this = this,
76109 t1 = visitor._serialize0$_buffer;
76110 t1.writeCharCode$1(91);
76111 t1.write$1(0, _this.name);
76112 value = _this.value;
76113 if (value != null) {
76114 t1.write$1(0, _this.op);
76115 if (A.Parser_isIdentifier0(value) && !B.JSString_methods.startsWith$1(value, "--")) {
76116 t1.write$1(0, value);
76117 t2 = _this.modifier;
76118 if (t2 != null)
76119 t1.writeCharCode$1(32);
76120 } else {
76121 visitor._serialize0$_visitQuotedString$1(value);
76122 t2 = _this.modifier;
76123 if (t2 != null)
76124 if (visitor._serialize0$_style !== B.OutputStyle_compressed0)
76125 t1.writeCharCode$1(32);
76126 }
76127 if (t2 != null)
76128 t1.write$1(0, t2);
76129 }
76130 t1.writeCharCode$1(93);
76131 return null;
76132 },
76133 accept$1(visitor) {
76134 return this.accept$1$1(visitor, type$.dynamic);
76135 },
76136 $eq(_, other) {
76137 var _this = this;
76138 if (other == null)
76139 return false;
76140 return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
76141 },
76142 get$hashCode(_) {
76143 var _this = this,
76144 t1 = _this.name;
76145 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;
76146 }
76147 };
76148 A.AttributeOperator0.prototype = {
76149 toString$0(_) {
76150 return this._attribute0$_text;
76151 }
76152 };
76153 A.BinaryOperationExpression0.prototype = {
76154 get$span(_) {
76155 var right,
76156 left = this.left;
76157 for (; left instanceof A.BinaryOperationExpression0;)
76158 left = left.left;
76159 right = this.right;
76160 for (; right instanceof A.BinaryOperationExpression0;)
76161 right = right.right;
76162 return left.get$span(left).expand$1(0, right.get$span(right));
76163 },
76164 accept$1$1(visitor) {
76165 return visitor.visitBinaryOperationExpression$1(this);
76166 },
76167 accept$1(visitor) {
76168 return this.accept$1$1(visitor, type$.dynamic);
76169 },
76170 toString$0(_) {
76171 var t2, right, rightNeedsParens, _this = this,
76172 left = _this.left,
76173 leftNeedsParens = left instanceof A.BinaryOperationExpression0 && left.operator.precedence < _this.operator.precedence,
76174 t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
76175 t1 += left.toString$0(0);
76176 if (leftNeedsParens)
76177 t1 += A.Primitives_stringFromCharCode(41);
76178 t2 = _this.operator;
76179 t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
76180 right = _this.right;
76181 rightNeedsParens = right instanceof A.BinaryOperationExpression0 && right.operator.precedence <= t2.precedence;
76182 if (rightNeedsParens)
76183 t1 += A.Primitives_stringFromCharCode(40);
76184 t1 += right.toString$0(0);
76185 if (rightNeedsParens)
76186 t1 += A.Primitives_stringFromCharCode(41);
76187 return t1.charCodeAt(0) == 0 ? t1 : t1;
76188 },
76189 $isExpression0: 1,
76190 $isAstNode0: 1
76191 };
76192 A.BinaryOperator0.prototype = {
76193 toString$0(_) {
76194 return this.name;
76195 }
76196 };
76197 A.BooleanExpression0.prototype = {
76198 accept$1$1(visitor) {
76199 return visitor.visitBooleanExpression$1(this);
76200 },
76201 accept$1(visitor) {
76202 return this.accept$1$1(visitor, type$.dynamic);
76203 },
76204 toString$0(_) {
76205 return String(this.value);
76206 },
76207 $isExpression0: 1,
76208 $isAstNode0: 1,
76209 get$span(receiver) {
76210 return this.span;
76211 }
76212 };
76213 A.legacyBooleanClass_closure.prototype = {
76214 call$0() {
76215 var t1 = type$.JSClass,
76216 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
76217 J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
76218 jsClass.TRUE = B.SassBoolean_true0;
76219 jsClass.FALSE = B.SassBoolean_false0;
76220 A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
76221 return jsClass;
76222 },
76223 $signature: 23
76224 };
76225 A.legacyBooleanClass__closure.prototype = {
76226 call$2(_, __) {
76227 throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
76228 },
76229 call$1(_) {
76230 return this.call$2(_, null);
76231 },
76232 "call*": "call$2",
76233 $requiredArgCount: 1,
76234 $defaultValues() {
76235 return [null];
76236 },
76237 $signature: 192
76238 };
76239 A.legacyBooleanClass__closure0.prototype = {
76240 call$1($self) {
76241 return $self === B.SassBoolean_true0;
76242 },
76243 $signature: 108
76244 };
76245 A.booleanClass_closure.prototype = {
76246 call$0() {
76247 var t1 = type$.JSClass,
76248 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
76249 A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
76250 return jsClass;
76251 },
76252 $signature: 23
76253 };
76254 A.booleanClass__closure.prototype = {
76255 call$2($self, _) {
76256 A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
76257 },
76258 call$1($self) {
76259 return this.call$2($self, null);
76260 },
76261 "call*": "call$2",
76262 $requiredArgCount: 1,
76263 $defaultValues() {
76264 return [null];
76265 },
76266 $signature: 362
76267 };
76268 A.SassBoolean0.prototype = {
76269 get$isTruthy() {
76270 return this.value;
76271 },
76272 accept$1$1(visitor) {
76273 return visitor._serialize0$_buffer.write$1(0, String(this.value));
76274 },
76275 accept$1(visitor) {
76276 return this.accept$1$1(visitor, type$.dynamic);
76277 },
76278 assertBoolean$1($name) {
76279 return this;
76280 },
76281 unaryNot$0() {
76282 return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
76283 }
76284 };
76285 A.BuiltInCallable0.prototype = {
76286 callbackFor$2(positional, names) {
76287 var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
76288 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) {
76289 overload = t1[_i];
76290 t3 = overload.item1;
76291 if (t3.matches$2(positional, names))
76292 return overload;
76293 mismatchDistance = t3.$arguments.length - positional;
76294 if (minMismatchDistance != null) {
76295 t3 = Math.abs(mismatchDistance);
76296 t4 = Math.abs(minMismatchDistance);
76297 if (t3 > t4)
76298 continue;
76299 if (t3 === t4 && mismatchDistance < 0)
76300 continue;
76301 }
76302 minMismatchDistance = mismatchDistance;
76303 fuzzyMatch = overload;
76304 }
76305 if (fuzzyMatch != null)
76306 return fuzzyMatch;
76307 throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
76308 },
76309 withName$1($name) {
76310 return new A.BuiltInCallable0($name, this._built_in$_overloads);
76311 },
76312 $isAsyncCallable0: 1,
76313 $isAsyncBuiltInCallable0: 1,
76314 $isCallable0: 1,
76315 get$name(receiver) {
76316 return this.name;
76317 }
76318 };
76319 A.BuiltInCallable$mixin_closure0.prototype = {
76320 call$1($arguments) {
76321 this.callback.call$1($arguments);
76322 return B.C__SassNull0;
76323 },
76324 $signature: 3
76325 };
76326 A.BuiltInModule0.prototype = {
76327 get$upstream() {
76328 return B.List_empty13;
76329 },
76330 get$variableNodes() {
76331 return B.Map_empty7;
76332 },
76333 get$extensionStore() {
76334 return B.C_EmptyExtensionStore0;
76335 },
76336 get$css(_) {
76337 return new A.CssStylesheet0(B.List_empty11, A.SourceFile$decoded(B.List_empty1, this.url).span$2(0, 0, 0));
76338 },
76339 get$transitivelyContainsCss() {
76340 return false;
76341 },
76342 get$transitivelyContainsExtensions() {
76343 return false;
76344 },
76345 setVariable$3($name, value, nodeWithSpan) {
76346 if (!this.variables.containsKey$1($name))
76347 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
76348 throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable."));
76349 },
76350 variableIdentity$1($name) {
76351 return this;
76352 },
76353 cloneCss$0() {
76354 return this;
76355 },
76356 $isModule0: 1,
76357 get$url(receiver) {
76358 return this.url;
76359 },
76360 get$functions(receiver) {
76361 return this.functions;
76362 },
76363 get$mixins() {
76364 return this.mixins;
76365 },
76366 get$variables() {
76367 return this.variables;
76368 }
76369 };
76370 A.CalculationExpression0.prototype = {
76371 accept$1$1(visitor) {
76372 return visitor.visitCalculationExpression$1(this);
76373 },
76374 accept$1(visitor) {
76375 return this.accept$1$1(visitor, type$.dynamic);
76376 },
76377 toString$0(_) {
76378 return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
76379 },
76380 $isExpression0: 1,
76381 $isAstNode0: 1,
76382 get$span(receiver) {
76383 return this.span;
76384 }
76385 };
76386 A.CalculationExpression__verifyArguments_closure0.prototype = {
76387 call$1(arg) {
76388 A.CalculationExpression__verify0(arg);
76389 return arg;
76390 },
76391 $signature: 364
76392 };
76393 A.SassCalculation0.prototype = {
76394 get$isSpecialNumber() {
76395 return true;
76396 },
76397 accept$1$1(visitor) {
76398 var t2,
76399 t1 = visitor._serialize0$_buffer;
76400 t1.write$1(0, this.name);
76401 t1.writeCharCode$1(40);
76402 t2 = visitor._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ";
76403 visitor._serialize0$_writeBetween$3(this.$arguments, t2, visitor.get$_serialize0$_writeCalculationValue());
76404 t1.writeCharCode$1(41);
76405 return null;
76406 },
76407 accept$1(visitor) {
76408 return this.accept$1$1(visitor, type$.dynamic);
76409 },
76410 assertCalculation$1($name) {
76411 return this;
76412 },
76413 plus$1(other) {
76414 if (other instanceof A.SassString0)
76415 return this.super$Value$plus0(other);
76416 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
76417 },
76418 minus$1(other) {
76419 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
76420 },
76421 unaryPlus$0() {
76422 return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".'));
76423 },
76424 unaryMinus$0() {
76425 return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".'));
76426 },
76427 $eq(_, other) {
76428 if (other == null)
76429 return false;
76430 return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
76431 },
76432 get$hashCode(_) {
76433 return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
76434 }
76435 };
76436 A.SassCalculation__verifyLength_closure0.prototype = {
76437 call$1(arg) {
76438 return arg instanceof A.SassString0 || arg instanceof A.CalculationInterpolation0;
76439 },
76440 $signature: 108
76441 };
76442 A.CalculationOperation0.prototype = {
76443 $eq(_, other) {
76444 if (other == null)
76445 return false;
76446 return other instanceof A.CalculationOperation0 && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
76447 },
76448 get$hashCode(_) {
76449 return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
76450 },
76451 toString$0(_) {
76452 var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
76453 return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
76454 }
76455 };
76456 A.CalculationOperator0.prototype = {
76457 toString$0(_) {
76458 return this.name;
76459 }
76460 };
76461 A.CalculationInterpolation0.prototype = {
76462 $eq(_, other) {
76463 if (other == null)
76464 return false;
76465 return other instanceof A.CalculationInterpolation0 && this.value === other.value;
76466 },
76467 get$hashCode(_) {
76468 return B.JSString_methods.get$hashCode(this.value);
76469 },
76470 toString$0(_) {
76471 return this.value;
76472 }
76473 };
76474 A.CallableDeclaration0.prototype = {
76475 get$span(receiver) {
76476 return this.span;
76477 }
76478 };
76479 A.Chokidar0.prototype = {};
76480 A.ChokidarOptions0.prototype = {};
76481 A.ChokidarWatcher0.prototype = {};
76482 A.ClassSelector0.prototype = {
76483 $eq(_, other) {
76484 if (other == null)
76485 return false;
76486 return other instanceof A.ClassSelector0 && other.name === this.name;
76487 },
76488 accept$1$1(visitor) {
76489 var t1 = visitor._serialize0$_buffer;
76490 t1.writeCharCode$1(46);
76491 t1.write$1(0, this.name);
76492 return null;
76493 },
76494 accept$1(visitor) {
76495 return this.accept$1$1(visitor, type$.dynamic);
76496 },
76497 addSuffix$1(suffix) {
76498 return new A.ClassSelector0(this.name + suffix);
76499 },
76500 get$hashCode(_) {
76501 return B.JSString_methods.get$hashCode(this.name);
76502 }
76503 };
76504 A._CloneCssVisitor0.prototype = {
76505 visitCssAtRule$1(node) {
76506 var t1 = node.isChildless,
76507 rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
76508 return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
76509 },
76510 visitCssComment$1(node) {
76511 return new A.ModifiableCssComment0(node.text, node.span);
76512 },
76513 visitCssDeclaration$1(node) {
76514 return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
76515 },
76516 visitCssImport$1(node) {
76517 return A.ModifiableCssImport$0(node.url, node.span, node.media, node.supports);
76518 },
76519 visitCssKeyframeBlock$1(node) {
76520 return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
76521 },
76522 visitCssMediaRule$1(node) {
76523 return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
76524 },
76525 visitCssStyleRule$1(node) {
76526 var newSelector = this._clone_css$_oldToNewSelectors.$index(0, node.selector);
76527 if (newSelector == null)
76528 throw A.wrapException(A.StateError$(string$.The_Ex));
76529 return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(newSelector, node.span, node.originalSelector), node);
76530 },
76531 visitCssStylesheet$1(node) {
76532 return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
76533 },
76534 visitCssSupportsRule$1(node) {
76535 return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
76536 },
76537 _clone_css$_visitChildren$1$2(newParent, oldParent) {
76538 var t1, t2, newChild;
76539 for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
76540 t2 = t1.get$current(t1);
76541 newChild = t2.accept$1(this);
76542 newChild.isGroupEnd = t2.get$isGroupEnd();
76543 newParent.addChild$1(newChild);
76544 }
76545 return newParent;
76546 },
76547 _clone_css$_visitChildren$2(newParent, oldParent) {
76548 return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
76549 }
76550 };
76551 A.ColorExpression0.prototype = {
76552 accept$1$1(visitor) {
76553 return visitor.visitColorExpression$1(this);
76554 },
76555 accept$1(visitor) {
76556 return this.accept$1$1(visitor, type$.dynamic);
76557 },
76558 toString$0(_) {
76559 return A.serializeValue0(this.value, true, true);
76560 },
76561 $isExpression0: 1,
76562 $isAstNode0: 1,
76563 get$span(receiver) {
76564 return this.span;
76565 }
76566 };
76567 A.global_closure30.prototype = {
76568 call$1($arguments) {
76569 return A._rgb0("rgb", $arguments);
76570 },
76571 $signature: 3
76572 };
76573 A.global_closure31.prototype = {
76574 call$1($arguments) {
76575 return A._rgb0("rgb", $arguments);
76576 },
76577 $signature: 3
76578 };
76579 A.global_closure32.prototype = {
76580 call$1($arguments) {
76581 return A._rgbTwoArg0("rgb", $arguments);
76582 },
76583 $signature: 3
76584 };
76585 A.global_closure33.prototype = {
76586 call$1($arguments) {
76587 var parsed = A._parseChannels0("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
76588 return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgb", type$.List_Value_2._as(parsed));
76589 },
76590 $signature: 3
76591 };
76592 A.global_closure34.prototype = {
76593 call$1($arguments) {
76594 return A._rgb0("rgba", $arguments);
76595 },
76596 $signature: 3
76597 };
76598 A.global_closure35.prototype = {
76599 call$1($arguments) {
76600 return A._rgb0("rgba", $arguments);
76601 },
76602 $signature: 3
76603 };
76604 A.global_closure36.prototype = {
76605 call$1($arguments) {
76606 return A._rgbTwoArg0("rgba", $arguments);
76607 },
76608 $signature: 3
76609 };
76610 A.global_closure37.prototype = {
76611 call$1($arguments) {
76612 var parsed = A._parseChannels0("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
76613 return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgba", type$.List_Value_2._as(parsed));
76614 },
76615 $signature: 3
76616 };
76617 A.global_closure38.prototype = {
76618 call$1($arguments) {
76619 var color, t2,
76620 t1 = J.getInterceptor$asx($arguments),
76621 weight = t1.$index($arguments, 1).assertNumber$1("weight");
76622 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76623 if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
76624 throw A.wrapException(string$.Only_oa);
76625 return A._functionString0("invert", t1.take$1($arguments, 1));
76626 }
76627 color = t1.$index($arguments, 0).assertColor$1("color");
76628 t1 = color.get$red(color);
76629 t2 = color.get$green(color);
76630 return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
76631 },
76632 $signature: 3
76633 };
76634 A.global_closure39.prototype = {
76635 call$1($arguments) {
76636 return A._hsl0("hsl", $arguments);
76637 },
76638 $signature: 3
76639 };
76640 A.global_closure40.prototype = {
76641 call$1($arguments) {
76642 return A._hsl0("hsl", $arguments);
76643 },
76644 $signature: 3
76645 };
76646 A.global_closure41.prototype = {
76647 call$1($arguments) {
76648 var t1 = J.getInterceptor$asx($arguments);
76649 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
76650 return A._functionString0("hsl", $arguments);
76651 else
76652 throw A.wrapException(A.SassScriptException$0("Missing argument $lightness."));
76653 },
76654 $signature: 14
76655 };
76656 A.global_closure42.prototype = {
76657 call$1($arguments) {
76658 var parsed = A._parseChannels0("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
76659 return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsl", type$.List_Value_2._as(parsed));
76660 },
76661 $signature: 3
76662 };
76663 A.global_closure43.prototype = {
76664 call$1($arguments) {
76665 return A._hsl0("hsla", $arguments);
76666 },
76667 $signature: 3
76668 };
76669 A.global_closure44.prototype = {
76670 call$1($arguments) {
76671 return A._hsl0("hsla", $arguments);
76672 },
76673 $signature: 3
76674 };
76675 A.global_closure45.prototype = {
76676 call$1($arguments) {
76677 var t1 = J.getInterceptor$asx($arguments);
76678 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
76679 return A._functionString0("hsla", $arguments);
76680 else
76681 throw A.wrapException(A.SassScriptException$0("Missing argument $lightness."));
76682 },
76683 $signature: 14
76684 };
76685 A.global_closure46.prototype = {
76686 call$1($arguments) {
76687 var parsed = A._parseChannels0("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
76688 return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsla", type$.List_Value_2._as(parsed));
76689 },
76690 $signature: 3
76691 };
76692 A.global_closure47.prototype = {
76693 call$1($arguments) {
76694 var t1 = J.getInterceptor$asx($arguments);
76695 if (t1.$index($arguments, 0) instanceof A.SassNumber0)
76696 return A._functionString0("grayscale", $arguments);
76697 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
76698 },
76699 $signature: 3
76700 };
76701 A.global_closure48.prototype = {
76702 call$1($arguments) {
76703 var t1 = J.getInterceptor$asx($arguments),
76704 color = t1.$index($arguments, 0).assertColor$1("color"),
76705 degrees = t1.$index($arguments, 1).assertNumber$1("degrees");
76706 A._checkAngle0(degrees, null);
76707 return color.changeHsl$1$hue(color.get$hue(color) + degrees._number1$_value);
76708 },
76709 $signature: 25
76710 };
76711 A.global_closure49.prototype = {
76712 call$1($arguments) {
76713 var t1 = J.getInterceptor$asx($arguments),
76714 color = t1.$index($arguments, 0).assertColor$1("color"),
76715 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76716 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
76717 },
76718 $signature: 25
76719 };
76720 A.global_closure50.prototype = {
76721 call$1($arguments) {
76722 var t1 = J.getInterceptor$asx($arguments),
76723 color = t1.$index($arguments, 0).assertColor$1("color"),
76724 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76725 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
76726 },
76727 $signature: 25
76728 };
76729 A.global_closure51.prototype = {
76730 call$1($arguments) {
76731 return new A.SassString0("saturate(" + A.serializeValue0(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
76732 },
76733 $signature: 14
76734 };
76735 A.global_closure52.prototype = {
76736 call$1($arguments) {
76737 var t1 = J.getInterceptor$asx($arguments),
76738 color = t1.$index($arguments, 0).assertColor$1("color"),
76739 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76740 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
76741 },
76742 $signature: 25
76743 };
76744 A.global_closure53.prototype = {
76745 call$1($arguments) {
76746 var t1 = J.getInterceptor$asx($arguments),
76747 color = t1.$index($arguments, 0).assertColor$1("color"),
76748 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76749 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
76750 },
76751 $signature: 25
76752 };
76753 A.global_closure54.prototype = {
76754 call$1($arguments) {
76755 var color,
76756 argument = J.$index$asx($arguments, 0);
76757 if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0()))
76758 return A._functionString0("alpha", $arguments);
76759 color = argument.assertColor$1("color");
76760 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
76761 },
76762 $signature: 3
76763 };
76764 A.global_closure55.prototype = {
76765 call$1($arguments) {
76766 var t1,
76767 argList = J.$index$asx($arguments, 0).get$asList();
76768 if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
76769 return A._functionString0("alpha", $arguments);
76770 t1 = argList.length;
76771 if (t1 === 0)
76772 throw A.wrapException(A.SassScriptException$0("Missing argument $color."));
76773 else
76774 throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed."));
76775 },
76776 $signature: 14
76777 };
76778 A.global__closure0.prototype = {
76779 call$1(argument) {
76780 return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
76781 },
76782 $signature: 47
76783 };
76784 A.global_closure56.prototype = {
76785 call$1($arguments) {
76786 var color,
76787 t1 = J.getInterceptor$asx($arguments);
76788 if (t1.$index($arguments, 0) instanceof A.SassNumber0)
76789 return A._functionString0("opacity", $arguments);
76790 color = t1.$index($arguments, 0).assertColor$1("color");
76791 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
76792 },
76793 $signature: 3
76794 };
76795 A.module_closure8.prototype = {
76796 call$1($arguments) {
76797 var result, color, t2,
76798 t1 = J.getInterceptor$asx($arguments),
76799 weight = t1.$index($arguments, 1).assertNumber$1("weight");
76800 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76801 if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
76802 throw A.wrapException(string$.Only_oa);
76803 result = A._functionString0("invert", t1.take$1($arguments, 1));
76804 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_ci + result.toString$0(0);
76805 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
76806 return result;
76807 }
76808 color = t1.$index($arguments, 0).assertColor$1("color");
76809 t1 = color.get$red(color);
76810 t2 = color.get$green(color);
76811 return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
76812 },
76813 $signature: 3
76814 };
76815 A.module_closure9.prototype = {
76816 call$1($arguments) {
76817 var result,
76818 t1 = J.getInterceptor$asx($arguments);
76819 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76820 result = A._functionString0("grayscale", t1.take$1($arguments, 1));
76821 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_cg + result.toString$0(0);
76822 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
76823 return result;
76824 }
76825 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
76826 },
76827 $signature: 3
76828 };
76829 A.module_closure10.prototype = {
76830 call$1($arguments) {
76831 return A._hwb0($arguments);
76832 },
76833 $signature: 3
76834 };
76835 A.module_closure11.prototype = {
76836 call$1($arguments) {
76837 var parsed = A._parseChannels0("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
76838 if (parsed instanceof A.SassString0)
76839 throw A.wrapException(A.SassScriptException$0('Expected numeric channels, got "' + parsed.toString$0(0) + '".'));
76840 else
76841 return A._hwb0(type$.List_Value_2._as(parsed));
76842 },
76843 $signature: 3
76844 };
76845 A.module_closure12.prototype = {
76846 call$1($arguments) {
76847 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76848 t1 = t1.get$whiteness(t1);
76849 return new A.SingleUnitSassNumber0("%", t1, null);
76850 },
76851 $signature: 9
76852 };
76853 A.module_closure13.prototype = {
76854 call$1($arguments) {
76855 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76856 t1 = t1.get$blackness(t1);
76857 return new A.SingleUnitSassNumber0("%", t1, null);
76858 },
76859 $signature: 9
76860 };
76861 A.module_closure14.prototype = {
76862 call$1($arguments) {
76863 var result, t1, color,
76864 argument = J.$index$asx($arguments, 0);
76865 if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0())) {
76866 result = A._functionString0("alpha", $arguments);
76867 t1 = string$.Using_c + result.toString$0(0);
76868 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
76869 return result;
76870 }
76871 color = argument.assertColor$1("color");
76872 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
76873 },
76874 $signature: 3
76875 };
76876 A.module_closure15.prototype = {
76877 call$1($arguments) {
76878 var result,
76879 t1 = J.getInterceptor$asx($arguments);
76880 if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure0())) {
76881 result = A._functionString0("alpha", $arguments);
76882 t1 = string$.Using_c + result.toString$0(0);
76883 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
76884 return result;
76885 }
76886 throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed."));
76887 },
76888 $signature: 14
76889 };
76890 A.module__closure0.prototype = {
76891 call$1(argument) {
76892 return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
76893 },
76894 $signature: 47
76895 };
76896 A.module_closure16.prototype = {
76897 call$1($arguments) {
76898 var result, color,
76899 t1 = J.getInterceptor$asx($arguments);
76900 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76901 result = A._functionString0("opacity", $arguments);
76902 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x20to_co + result.toString$0(0);
76903 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
76904 return result;
76905 }
76906 color = t1.$index($arguments, 0).assertColor$1("color");
76907 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
76908 },
76909 $signature: 3
76910 };
76911 A._red_closure0.prototype = {
76912 call$1($arguments) {
76913 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76914 t1 = t1.get$red(t1);
76915 return new A.UnitlessSassNumber0(t1, null);
76916 },
76917 $signature: 9
76918 };
76919 A._green_closure0.prototype = {
76920 call$1($arguments) {
76921 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76922 t1 = t1.get$green(t1);
76923 return new A.UnitlessSassNumber0(t1, null);
76924 },
76925 $signature: 9
76926 };
76927 A._blue_closure0.prototype = {
76928 call$1($arguments) {
76929 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76930 t1 = t1.get$blue(t1);
76931 return new A.UnitlessSassNumber0(t1, null);
76932 },
76933 $signature: 9
76934 };
76935 A._mix_closure0.prototype = {
76936 call$1($arguments) {
76937 var t1 = J.getInterceptor$asx($arguments);
76938 return A._mixColors0(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
76939 },
76940 $signature: 25
76941 };
76942 A._hue_closure0.prototype = {
76943 call$1($arguments) {
76944 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76945 t1 = t1.get$hue(t1);
76946 return new A.SingleUnitSassNumber0("deg", t1, null);
76947 },
76948 $signature: 9
76949 };
76950 A._saturation_closure0.prototype = {
76951 call$1($arguments) {
76952 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76953 t1 = t1.get$saturation(t1);
76954 return new A.SingleUnitSassNumber0("%", t1, null);
76955 },
76956 $signature: 9
76957 };
76958 A._lightness_closure0.prototype = {
76959 call$1($arguments) {
76960 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76961 t1 = t1.get$lightness(t1);
76962 return new A.SingleUnitSassNumber0("%", t1, null);
76963 },
76964 $signature: 9
76965 };
76966 A._complement_closure0.prototype = {
76967 call$1($arguments) {
76968 var color = J.$index$asx($arguments, 0).assertColor$1("color");
76969 return color.changeHsl$1$hue(color.get$hue(color) + 180);
76970 },
76971 $signature: 25
76972 };
76973 A._adjust_closure0.prototype = {
76974 call$1($arguments) {
76975 return A._updateComponents0($arguments, true, false, false);
76976 },
76977 $signature: 25
76978 };
76979 A._scale_closure0.prototype = {
76980 call$1($arguments) {
76981 return A._updateComponents0($arguments, false, false, true);
76982 },
76983 $signature: 25
76984 };
76985 A._change_closure0.prototype = {
76986 call$1($arguments) {
76987 return A._updateComponents0($arguments, false, true, false);
76988 },
76989 $signature: 25
76990 };
76991 A._ieHexStr_closure0.prototype = {
76992 call$1($arguments) {
76993 var color = J.$index$asx($arguments, 0).assertColor$1("color"),
76994 t1 = new A._ieHexStr_closure_hexString0();
76995 return new A.SassString0("#" + A.S(t1.call$1(A.fuzzyRound0(color._color1$_alpha * 255))) + A.S(t1.call$1(color.get$red(color))) + A.S(t1.call$1(color.get$green(color))) + A.S(t1.call$1(color.get$blue(color))), false);
76996 },
76997 $signature: 14
76998 };
76999 A._ieHexStr_closure_hexString0.prototype = {
77000 call$1(component) {
77001 return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
77002 },
77003 $signature: 196
77004 };
77005 A._updateComponents_getParam0.prototype = {
77006 call$4$assertPercent$checkPercent($name, max, assertPercent, checkPercent) {
77007 var t2,
77008 t1 = this.keywords.remove$1(0, $name),
77009 number = t1 == null ? null : t1.assertNumber$1($name);
77010 if (number == null)
77011 return null;
77012 t1 = this.scale;
77013 t2 = !t1;
77014 if (t2 && checkPercent)
77015 A._checkPercent0(number, $name);
77016 if (!t2 || assertPercent)
77017 number.assertUnit$2("%", $name);
77018 if (t1)
77019 max = 100;
77020 return number.valueInRange$3(this.change ? 0 : -max, max, $name);
77021 },
77022 call$2($name, max) {
77023 return this.call$4$assertPercent$checkPercent($name, max, false, false);
77024 },
77025 call$3$checkPercent($name, max, checkPercent) {
77026 return this.call$4$assertPercent$checkPercent($name, max, false, checkPercent);
77027 },
77028 call$3$assertPercent($name, max, assertPercent) {
77029 return this.call$4$assertPercent$checkPercent($name, max, assertPercent, false);
77030 },
77031 $signature: 195
77032 };
77033 A._updateComponents_closure0.prototype = {
77034 call$1($name) {
77035 return "$" + $name;
77036 },
77037 $signature: 5
77038 };
77039 A._updateComponents_updateValue0.prototype = {
77040 call$3(current, param, max) {
77041 var t1;
77042 if (param == null)
77043 return current;
77044 if (this.change)
77045 return param;
77046 if (this.adjust)
77047 return B.JSNumber_methods.clamp$2(current + param, 0, max);
77048 t1 = param > 0 ? max - current : current;
77049 return current + t1 * (param / 100);
77050 },
77051 $signature: 194
77052 };
77053 A._updateComponents_updateRgb0.prototype = {
77054 call$2(current, param) {
77055 return A.fuzzyRound0(this.updateValue.call$3(current, param, 255));
77056 },
77057 $signature: 193
77058 };
77059 A._functionString_closure0.prototype = {
77060 call$1(argument) {
77061 return A.serializeValue0(argument, false, true);
77062 },
77063 $signature: 198
77064 };
77065 A._removedColorFunction_closure0.prototype = {
77066 call$1($arguments) {
77067 var t1 = this.name,
77068 t2 = J.getInterceptor$asx($arguments),
77069 t3 = "The function " + t1 + string$.x28__isn + A.S(t2.$index($arguments, 0)) + ", $" + this.argument + ": ";
77070 throw A.wrapException(A.SassScriptException$0(t3 + (this.negative ? "-" : "") + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Morx3a + t1));
77071 },
77072 $signature: 370
77073 };
77074 A._rgb_closure0.prototype = {
77075 call$1(alpha) {
77076 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
77077 },
77078 $signature: 134
77079 };
77080 A._hsl_closure0.prototype = {
77081 call$1(alpha) {
77082 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
77083 },
77084 $signature: 134
77085 };
77086 A._removeUnits_closure1.prototype = {
77087 call$1(unit) {
77088 return " * 1" + unit;
77089 },
77090 $signature: 5
77091 };
77092 A._removeUnits_closure2.prototype = {
77093 call$1(unit) {
77094 return " / 1" + unit;
77095 },
77096 $signature: 5
77097 };
77098 A._hwb_closure0.prototype = {
77099 call$1(alpha) {
77100 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
77101 },
77102 $signature: 134
77103 };
77104 A._parseChannels_closure0.prototype = {
77105 call$1(value) {
77106 return value.get$isVar();
77107 },
77108 $signature: 47
77109 };
77110 A._NodeSassColor.prototype = {};
77111 A.legacyColorClass_closure.prototype = {
77112 call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
77113 var red, t1, t2, t3, t4;
77114 if (dartValue != null) {
77115 J.set$dartValue$x(thisArg, dartValue);
77116 return;
77117 }
77118 if (green == null || blue == null) {
77119 A._asInt(redOrArgb);
77120 alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
77121 red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
77122 green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
77123 blue = B.JSInt_methods.$mod(redOrArgb, 256);
77124 } else {
77125 redOrArgb.toString;
77126 red = redOrArgb;
77127 }
77128 t1 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(red, 0, 255));
77129 t2 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(green, 0, 255));
77130 t3 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(blue, 0, 255));
77131 t4 = alpha == null ? null : B.JSNumber_methods.clamp$2(alpha, 0, 1);
77132 J.set$dartValue$x(thisArg, A.SassColor$rgb0(t1, t2, t3, t4 == null ? 1 : t4));
77133 },
77134 call$2(thisArg, redOrArgb) {
77135 return this.call$6(thisArg, redOrArgb, null, null, null, null);
77136 },
77137 call$3(thisArg, redOrArgb, green) {
77138 return this.call$6(thisArg, redOrArgb, green, null, null, null);
77139 },
77140 call$4(thisArg, redOrArgb, green, blue) {
77141 return this.call$6(thisArg, redOrArgb, green, blue, null, null);
77142 },
77143 call$5(thisArg, redOrArgb, green, blue, alpha) {
77144 return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
77145 },
77146 "call*": "call$6",
77147 $requiredArgCount: 2,
77148 $defaultValues() {
77149 return [null, null, null, null];
77150 },
77151 $signature: 372
77152 };
77153 A.legacyColorClass_closure0.prototype = {
77154 call$1(thisArg) {
77155 return J.get$red$x(J.get$dartValue$x(thisArg));
77156 },
77157 $signature: 127
77158 };
77159 A.legacyColorClass_closure1.prototype = {
77160 call$1(thisArg) {
77161 return J.get$green$x(J.get$dartValue$x(thisArg));
77162 },
77163 $signature: 127
77164 };
77165 A.legacyColorClass_closure2.prototype = {
77166 call$1(thisArg) {
77167 return J.get$blue$x(J.get$dartValue$x(thisArg));
77168 },
77169 $signature: 127
77170 };
77171 A.legacyColorClass_closure3.prototype = {
77172 call$1(thisArg) {
77173 return J.get$dartValue$x(thisArg)._color1$_alpha;
77174 },
77175 $signature: 374
77176 };
77177 A.legacyColorClass_closure4.prototype = {
77178 call$2(thisArg, value) {
77179 var t1 = J.getInterceptor$x(thisArg);
77180 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$red(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
77181 },
77182 $signature: 88
77183 };
77184 A.legacyColorClass_closure5.prototype = {
77185 call$2(thisArg, value) {
77186 var t1 = J.getInterceptor$x(thisArg);
77187 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$green(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
77188 },
77189 $signature: 88
77190 };
77191 A.legacyColorClass_closure6.prototype = {
77192 call$2(thisArg, value) {
77193 var t1 = J.getInterceptor$x(thisArg);
77194 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$blue(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
77195 },
77196 $signature: 88
77197 };
77198 A.legacyColorClass_closure7.prototype = {
77199 call$2(thisArg, value) {
77200 var t1 = J.getInterceptor$x(thisArg);
77201 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$alpha(B.JSNumber_methods.clamp$2(value, 0, 1)));
77202 },
77203 $signature: 88
77204 };
77205 A.colorClass_closure.prototype = {
77206 call$0() {
77207 var t1 = type$.JSClass,
77208 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure()));
77209 J.get$$prototype$x(jsClass).change = A.allowInteropCaptureThisNamed("change", new A.colorClass__closure0());
77210 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));
77211 A.JSClassExtension_injectSuperclass(t1._as(A.SassColor$rgb0(0, 0, 0, null).constructor), jsClass);
77212 return jsClass;
77213 },
77214 $signature: 23
77215 };
77216 A.colorClass__closure.prototype = {
77217 call$2($self, color) {
77218 var t2, t3, t4,
77219 t1 = J.getInterceptor$x(color);
77220 if (t1.get$red(color) != null) {
77221 t2 = t1.get$red(color);
77222 t2.toString;
77223 t2 = A.fuzzyRound0(t2);
77224 t3 = t1.get$green(color);
77225 t3.toString;
77226 t3 = A.fuzzyRound0(t3);
77227 t4 = t1.get$blue(color);
77228 t4.toString;
77229 return A.SassColor$rgb0(t2, t3, A.fuzzyRound0(t4), t1.get$alpha(color));
77230 } else if (t1.get$saturation(color) != null) {
77231 t2 = t1.get$hue(color);
77232 t2.toString;
77233 t3 = t1.get$saturation(color);
77234 t3.toString;
77235 t4 = t1.get$lightness(color);
77236 t4.toString;
77237 return A.SassColor$hsl(t2, t3, t4, t1.get$alpha(color));
77238 } else {
77239 t2 = t1.get$hue(color);
77240 t2.toString;
77241 t3 = t1.get$whiteness(color);
77242 t3.toString;
77243 t4 = t1.get$blackness(color);
77244 t4.toString;
77245 return A.SassColor_SassColor$hwb0(t2, t3, t4, t1.get$alpha(color));
77246 }
77247 },
77248 $signature: 376
77249 };
77250 A.colorClass__closure0.prototype = {
77251 call$2($self, options) {
77252 var t2, t3, t4,
77253 t1 = J.getInterceptor$x(options);
77254 if (t1.get$whiteness(options) != null || t1.get$blackness(options) != null) {
77255 t2 = t1.get$hue(options);
77256 if (t2 == null)
77257 t2 = $self.get$hue($self);
77258 t3 = t1.get$whiteness(options);
77259 if (t3 == null)
77260 t3 = $self.get$whiteness($self);
77261 t4 = t1.get$blackness(options);
77262 if (t4 == null)
77263 t4 = $self.get$blackness($self);
77264 t1 = t1.get$alpha(options);
77265 return $self.changeHwb$4$alpha$blackness$hue$whiteness(t1 == null ? $self._color1$_alpha : t1, t4, t2, t3);
77266 } else if (t1.get$hue(options) != null || t1.get$saturation(options) != null || t1.get$lightness(options) != null) {
77267 t2 = t1.get$hue(options);
77268 if (t2 == null)
77269 t2 = $self.get$hue($self);
77270 t3 = t1.get$saturation(options);
77271 if (t3 == null)
77272 t3 = $self.get$saturation($self);
77273 t4 = t1.get$lightness(options);
77274 if (t4 == null)
77275 t4 = $self.get$lightness($self);
77276 t1 = t1.get$alpha(options);
77277 return $self.changeHsl$4$alpha$hue$lightness$saturation(t1 == null ? $self._color1$_alpha : t1, t2, t4, t3);
77278 } else if (t1.get$red(options) != null || t1.get$green(options) != null || t1.get$blue(options) != null) {
77279 t2 = A.NullableExtension_andThen0(t1.get$red(options), A.number2__fuzzyRound$closure());
77280 if (t2 == null)
77281 t2 = $self.get$red($self);
77282 t3 = A.NullableExtension_andThen0(t1.get$green(options), A.number2__fuzzyRound$closure());
77283 if (t3 == null)
77284 t3 = $self.get$green($self);
77285 t4 = A.NullableExtension_andThen0(t1.get$blue(options), A.number2__fuzzyRound$closure());
77286 if (t4 == null)
77287 t4 = $self.get$blue($self);
77288 t1 = t1.get$alpha(options);
77289 return $self.changeRgb$4$alpha$blue$green$red(t1 == null ? $self._color1$_alpha : t1, t4, t3, t2);
77290 } else {
77291 t1 = t1.get$alpha(options);
77292 return $self.changeAlpha$1(t1 == null ? $self._color1$_alpha : t1);
77293 }
77294 },
77295 $signature: 377
77296 };
77297 A.colorClass__closure1.prototype = {
77298 call$1($self) {
77299 return $self.get$red($self);
77300 },
77301 $signature: 129
77302 };
77303 A.colorClass__closure2.prototype = {
77304 call$1($self) {
77305 return $self.get$green($self);
77306 },
77307 $signature: 129
77308 };
77309 A.colorClass__closure3.prototype = {
77310 call$1($self) {
77311 return $self.get$blue($self);
77312 },
77313 $signature: 129
77314 };
77315 A.colorClass__closure4.prototype = {
77316 call$1($self) {
77317 return $self.get$hue($self);
77318 },
77319 $signature: 57
77320 };
77321 A.colorClass__closure5.prototype = {
77322 call$1($self) {
77323 return $self.get$saturation($self);
77324 },
77325 $signature: 57
77326 };
77327 A.colorClass__closure6.prototype = {
77328 call$1($self) {
77329 return $self.get$lightness($self);
77330 },
77331 $signature: 57
77332 };
77333 A.colorClass__closure7.prototype = {
77334 call$1($self) {
77335 return $self.get$whiteness($self);
77336 },
77337 $signature: 57
77338 };
77339 A.colorClass__closure8.prototype = {
77340 call$1($self) {
77341 return $self.get$blackness($self);
77342 },
77343 $signature: 57
77344 };
77345 A.colorClass__closure9.prototype = {
77346 call$1($self) {
77347 return $self._color1$_alpha;
77348 },
77349 $signature: 57
77350 };
77351 A._Channels.prototype = {};
77352 A.SassColor0.prototype = {
77353 get$red(_) {
77354 var t1;
77355 if (this._color1$_red == null)
77356 this._color1$_hslToRgb$0();
77357 t1 = this._color1$_red;
77358 t1.toString;
77359 return t1;
77360 },
77361 get$green(_) {
77362 var t1;
77363 if (this._color1$_green == null)
77364 this._color1$_hslToRgb$0();
77365 t1 = this._color1$_green;
77366 t1.toString;
77367 return t1;
77368 },
77369 get$blue(_) {
77370 var t1;
77371 if (this._color1$_blue == null)
77372 this._color1$_hslToRgb$0();
77373 t1 = this._color1$_blue;
77374 t1.toString;
77375 return t1;
77376 },
77377 get$hue(_) {
77378 var t1;
77379 if (this._color1$_hue == null)
77380 this._color1$_rgbToHsl$0();
77381 t1 = this._color1$_hue;
77382 t1.toString;
77383 return t1;
77384 },
77385 get$saturation(_) {
77386 var t1;
77387 if (this._color1$_saturation == null)
77388 this._color1$_rgbToHsl$0();
77389 t1 = this._color1$_saturation;
77390 t1.toString;
77391 return t1;
77392 },
77393 get$lightness(_) {
77394 var t1;
77395 if (this._color1$_lightness == null)
77396 this._color1$_rgbToHsl$0();
77397 t1 = this._color1$_lightness;
77398 t1.toString;
77399 return t1;
77400 },
77401 get$whiteness(_) {
77402 var _this = this;
77403 return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
77404 },
77405 get$blackness(_) {
77406 var _this = this;
77407 return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
77408 },
77409 accept$1$1(visitor) {
77410 var $name, hexLength, t1, format, t2, opaque, _this = this;
77411 if (visitor._serialize0$_style === B.OutputStyle_compressed0)
77412 if (!(Math.abs(_this._color1$_alpha - 1) < $.$get$epsilon0()))
77413 visitor._serialize0$_writeRgb$1(_this);
77414 else {
77415 $name = $.$get$namesByColor0().$index(0, _this);
77416 hexLength = visitor._serialize0$_canUseShortHex$1(_this) ? 4 : 7;
77417 if ($name != null && $name.length <= hexLength)
77418 visitor._serialize0$_buffer.write$1(0, $name);
77419 else {
77420 t1 = visitor._serialize0$_buffer;
77421 if (visitor._serialize0$_canUseShortHex$1(_this)) {
77422 t1.writeCharCode$1(35);
77423 t1.writeCharCode$1(A.hexCharFor0(_this.get$red(_this) & 15));
77424 t1.writeCharCode$1(A.hexCharFor0(_this.get$green(_this) & 15));
77425 t1.writeCharCode$1(A.hexCharFor0(_this.get$blue(_this) & 15));
77426 } else {
77427 t1.writeCharCode$1(35);
77428 visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
77429 visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
77430 visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
77431 }
77432 }
77433 }
77434 else {
77435 format = _this.format;
77436 if (format != null)
77437 if (format === B._ColorFormatEnum_rgbFunction0)
77438 visitor._serialize0$_writeRgb$1(_this);
77439 else {
77440 t1 = visitor._serialize0$_buffer;
77441 if (format === B._ColorFormatEnum_hslFunction0) {
77442 t2 = _this._color1$_alpha;
77443 opaque = Math.abs(t2 - 1) < $.$get$epsilon0();
77444 t1.write$1(0, opaque ? "hsl(" : "hsla(");
77445 visitor._serialize0$_writeNumber$1(_this.get$hue(_this));
77446 t1.write$1(0, "deg");
77447 t1.write$1(0, ", ");
77448 visitor._serialize0$_writeNumber$1(_this.get$saturation(_this));
77449 t1.writeCharCode$1(37);
77450 t1.write$1(0, ", ");
77451 visitor._serialize0$_writeNumber$1(_this.get$lightness(_this));
77452 t1.writeCharCode$1(37);
77453 if (!opaque) {
77454 t1.write$1(0, ", ");
77455 visitor._serialize0$_writeNumber$1(t2);
77456 }
77457 t1.writeCharCode$1(41);
77458 } else {
77459 t2 = type$.SpanColorFormat_2._as(format)._color1$_span;
77460 t1.write$1(0, A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null));
77461 }
77462 }
77463 else {
77464 t1 = $.$get$namesByColor0();
77465 if (t1.containsKey$1(_this) && !(Math.abs(_this._color1$_alpha - 0) < $.$get$epsilon0()))
77466 visitor._serialize0$_buffer.write$1(0, t1.$index(0, _this));
77467 else if (Math.abs(_this._color1$_alpha - 1) < $.$get$epsilon0()) {
77468 visitor._serialize0$_buffer.writeCharCode$1(35);
77469 visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
77470 visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
77471 visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
77472 } else
77473 visitor._serialize0$_writeRgb$1(_this);
77474 }
77475 }
77476 return null;
77477 },
77478 accept$1(visitor) {
77479 return this.accept$1$1(visitor, type$.dynamic);
77480 },
77481 assertColor$1($name) {
77482 return this;
77483 },
77484 changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
77485 var _this = this,
77486 t1 = red == null ? _this.get$red(_this) : red,
77487 t2 = green == null ? _this.get$green(_this) : green,
77488 t3 = blue == null ? _this.get$blue(_this) : blue;
77489 return A.SassColor$rgb0(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
77490 },
77491 changeRgb$3$blue$green$red(blue, green, red) {
77492 return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
77493 },
77494 changeRgb$1$alpha(alpha) {
77495 return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
77496 },
77497 changeRgb$1$blue(blue) {
77498 return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
77499 },
77500 changeRgb$1$green(green) {
77501 return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
77502 },
77503 changeRgb$1$red(red) {
77504 return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
77505 },
77506 changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
77507 var _this = this,
77508 t1 = hue == null ? _this.get$hue(_this) : hue,
77509 t2 = saturation == null ? _this.get$saturation(_this) : saturation,
77510 t3 = lightness == null ? _this.get$lightness(_this) : lightness;
77511 return A.SassColor$hsl(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
77512 },
77513 changeHsl$1$saturation(saturation) {
77514 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
77515 },
77516 changeHsl$1$lightness(lightness) {
77517 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
77518 },
77519 changeHsl$1$hue(hue) {
77520 return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
77521 },
77522 changeHwb$4$alpha$blackness$hue$whiteness(alpha, blackness, hue, whiteness) {
77523 var t1 = hue == null ? this.get$hue(this) : hue;
77524 return A.SassColor_SassColor$hwb0(t1, whiteness, blackness, alpha);
77525 },
77526 changeAlpha$1(alpha) {
77527 var _this = this;
77528 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);
77529 },
77530 plus$1(other) {
77531 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
77532 return this.super$Value$plus0(other);
77533 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
77534 },
77535 minus$1(other) {
77536 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
77537 return this.super$Value$minus0(other);
77538 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
77539 },
77540 dividedBy$1(other) {
77541 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
77542 return this.super$Value$dividedBy0(other);
77543 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".'));
77544 },
77545 $eq(_, other) {
77546 var _this = this;
77547 if (other == null)
77548 return false;
77549 return other instanceof A.SassColor0 && other.get$red(other) === _this.get$red(_this) && other.get$green(other) === _this.get$green(_this) && other.get$blue(other) === _this.get$blue(_this) && other._color1$_alpha === _this._color1$_alpha;
77550 },
77551 get$hashCode(_) {
77552 var _this = this;
77553 return B.JSInt_methods.get$hashCode(_this.get$red(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$green(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$blue(_this)) ^ B.JSNumber_methods.get$hashCode(_this._color1$_alpha);
77554 },
77555 _color1$_rgbToHsl$0() {
77556 var t2, lightness, _this = this,
77557 scaledRed = _this.get$red(_this) / 255,
77558 scaledGreen = _this.get$green(_this) / 255,
77559 scaledBlue = _this.get$blue(_this) / 255,
77560 max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
77561 min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
77562 delta = max - min,
77563 t1 = max === min;
77564 if (t1)
77565 _this._color1$_hue = 0;
77566 else if (max === scaledRed)
77567 _this._color1$_hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
77568 else if (max === scaledGreen)
77569 _this._color1$_hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
77570 else if (max === scaledBlue)
77571 _this._color1$_hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
77572 t2 = max + min;
77573 lightness = 50 * t2;
77574 _this._color1$_lightness = lightness;
77575 if (t1)
77576 _this._color1$_saturation = 0;
77577 else {
77578 t1 = 100 * delta;
77579 if (lightness < 50)
77580 _this._color1$_saturation = t1 / t2;
77581 else
77582 _this._color1$_saturation = t1 / (2 - max - min);
77583 }
77584 },
77585 _color1$_hslToRgb$0() {
77586 var _this = this,
77587 scaledHue = _this.get$hue(_this) / 360,
77588 scaledSaturation = _this.get$saturation(_this) / 100,
77589 scaledLightness = _this.get$lightness(_this) / 100,
77590 m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
77591 m1 = scaledLightness * 2 - m2;
77592 _this._color1$_red = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue + 0.3333333333333333) * 255);
77593 _this._color1$_green = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue) * 255);
77594 _this._color1$_blue = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue - 0.3333333333333333) * 255);
77595 }
77596 };
77597 A.SassColor_SassColor$hwb_toRgb0.prototype = {
77598 call$1(hue) {
77599 return A.fuzzyRound0((A.SassColor__hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
77600 },
77601 $signature: 42
77602 };
77603 A._ColorFormatEnum0.prototype = {
77604 toString$0(_) {
77605 return this._color1$_name;
77606 }
77607 };
77608 A.SpanColorFormat0.prototype = {};
77609 A.ModifiableCssComment0.prototype = {
77610 accept$1$1(visitor) {
77611 return visitor.visitCssComment$1(this);
77612 },
77613 accept$1(visitor) {
77614 return this.accept$1$1(visitor, type$.dynamic);
77615 },
77616 $isCssComment0: 1,
77617 get$span(receiver) {
77618 return this.span;
77619 }
77620 };
77621 A.compileAsync_closure.prototype = {
77622 call$0() {
77623 var $async$goto = 0,
77624 $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
77625 $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, result, t1, t2, t3, t4;
77626 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77627 if ($async$errorCode === 1)
77628 return A._asyncRethrow($async$result, $async$completer);
77629 while (true)
77630 switch ($async$goto) {
77631 case 0:
77632 // Function start
77633 t1 = $async$self.options;
77634 t2 = t1 == null;
77635 t3 = t2 ? null : J.get$loadPaths$x(t1);
77636 t4 = t2 ? null : J.get$quietDeps$x(t1);
77637 if (t4 == null)
77638 t4 = false;
77639 t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
77640 t6 = t2 ? null : J.get$verbose$x(t1);
77641 if (t6 == null)
77642 t6 = false;
77643 t7 = t2 ? null : J.get$sourceMap$x(t1);
77644 if (t7 == null)
77645 t7 = false;
77646 t8 = t2 ? null : J.get$logger$x(t1);
77647 t8 = new A.NodeToDartLogger(t8, new A.StderrLogger0($async$self.color), $async$self.ascii);
77648 if (t2)
77649 t9 = null;
77650 else {
77651 t9 = J.get$importers$x(t1);
77652 t9 = t9 == null ? null : J.map$1$1$ax(t9, new A.compileAsync__closure(), type$.AsyncImporter);
77653 }
77654 t10 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
77655 $async$goto = 3;
77656 return A._asyncAwait(A.compileAsync0($async$self.path, true, t10, A.AsyncImportCache$(t9, t3, t8, null), null, null, t8, null, t4, t7, t5, null, true, t6), $async$call$0);
77657 case 3:
77658 // returning from await.
77659 result = $async$result;
77660 t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
77661 $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
77662 // goto return
77663 $async$goto = 1;
77664 break;
77665 case 1:
77666 // return
77667 return A._asyncReturn($async$returnValue, $async$completer);
77668 }
77669 });
77670 return A._asyncStartSync($async$call$0, $async$completer);
77671 },
77672 $signature: 204
77673 };
77674 A.compileAsync__closure.prototype = {
77675 call$1(importer) {
77676 return A._parseAsyncImporter(importer);
77677 },
77678 $signature: 205
77679 };
77680 A.compileStringAsync_closure.prototype = {
77681 call$0() {
77682 var $async$goto = 0,
77683 $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
77684 $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, result, t1, t2, t3, t4, t5, t6;
77685 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77686 if ($async$errorCode === 1)
77687 return A._asyncRethrow($async$result, $async$completer);
77688 while (true)
77689 switch ($async$goto) {
77690 case 0:
77691 // Function start
77692 t1 = $async$self.options;
77693 t2 = t1 == null;
77694 t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
77695 t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils1__jsToDartUrl$closure());
77696 t5 = t2 ? null : J.get$loadPaths$x(t1);
77697 t6 = t2 ? null : J.get$quietDeps$x(t1);
77698 if (t6 == null)
77699 t6 = false;
77700 t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
77701 t8 = t2 ? null : J.get$verbose$x(t1);
77702 if (t8 == null)
77703 t8 = false;
77704 t9 = t2 ? null : J.get$sourceMap$x(t1);
77705 if (t9 == null)
77706 t9 = false;
77707 t10 = t2 ? null : J.get$logger$x(t1);
77708 t10 = new A.NodeToDartLogger(t10, new A.StderrLogger0($async$self.color), $async$self.ascii);
77709 if (t2)
77710 t11 = null;
77711 else {
77712 t11 = J.get$importers$x(t1);
77713 t11 = t11 == null ? null : J.map$1$1$ax(t11, new A.compileStringAsync__closure(), type$.AsyncImporter);
77714 }
77715 t12 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
77716 if (t12 == null)
77717 t12 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter() : null;
77718 t13 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
77719 $async$goto = 3;
77720 return A._asyncAwait(A.compileStringAsync0($async$self.text, true, t13, A.AsyncImportCache$(t11, t5, t10, null), t12, null, null, t10, null, t6, t9, t7, t3, t4, true, t8), $async$call$0);
77721 case 3:
77722 // returning from await.
77723 result = $async$result;
77724 t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
77725 $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
77726 // goto return
77727 $async$goto = 1;
77728 break;
77729 case 1:
77730 // return
77731 return A._asyncReturn($async$returnValue, $async$completer);
77732 }
77733 });
77734 return A._asyncStartSync($async$call$0, $async$completer);
77735 },
77736 $signature: 204
77737 };
77738 A.compileStringAsync__closure.prototype = {
77739 call$1(importer) {
77740 return A._parseAsyncImporter(importer);
77741 },
77742 $signature: 205
77743 };
77744 A.compileStringAsync__closure0.prototype = {
77745 call$1(importer) {
77746 return A._parseAsyncImporter(importer);
77747 },
77748 $signature: 382
77749 };
77750 A._wrapAsyncSassExceptions_closure.prototype = {
77751 call$1(error) {
77752 return error instanceof A.SassException0 ? A.throwNodeException(error, this.ascii, this.color, null) : A.jsThrow(type$.Object._as(error));
77753 },
77754 $signature: 383
77755 };
77756 A._parseFunctions_closure0.prototype = {
77757 call$2(signature, callback) {
77758 var error, stackTrace, exception, t2, t3, t4, t1 = {};
77759 t1.tuple = null;
77760 try {
77761 t1.tuple = A.ScssParser$0(signature, null, null).parseSignature$0();
77762 } catch (exception) {
77763 t2 = A.unwrapException(exception);
77764 if (t2 instanceof A.SassFormatException0) {
77765 error = t2;
77766 stackTrace = A.getTraceFromException(exception);
77767 t2 = error;
77768 t3 = J.getInterceptor$z(t2);
77769 A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace);
77770 } else
77771 throw exception;
77772 }
77773 t2 = this.result;
77774 t3 = t1.tuple;
77775 t4 = t3.item1;
77776 t3 = t3.item2;
77777 if (!this.asynch)
77778 t2.push(A.BuiltInCallable$parsed(t4, t3, new A._parseFunctions__closure2(t1, callback)));
77779 else
77780 t2.push(new A.AsyncBuiltInCallable0(t4, t3, new A._parseFunctions__closure3(t1, callback)));
77781 },
77782 $signature: 109
77783 };
77784 A._parseFunctions__closure2.prototype = {
77785 call$1($arguments) {
77786 var t1, t2,
77787 _s42_ = string$.Invali,
77788 result = type$.Function._as(this.callback).call$1(A.toJSArray($arguments));
77789 if (result instanceof A.Value0)
77790 return result;
77791 t1 = result != null && result instanceof self.Promise;
77792 t2 = this._box_0.tuple;
77793 if (t1)
77794 throw A.wrapException(_s42_ + A.S(t2.item1) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
77795 else
77796 throw A.wrapException(_s42_ + A.S(t2.item1) + '": ' + A.S(result) + " is not a sass.Value.");
77797 },
77798 $signature: 3
77799 };
77800 A._parseFunctions__closure3.prototype = {
77801 call$1($arguments) {
77802 return this.$call$body$_parseFunctions__closure0($arguments);
77803 },
77804 $call$body$_parseFunctions__closure0($arguments) {
77805 var $async$goto = 0,
77806 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
77807 $async$returnValue, $async$self = this, result;
77808 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77809 if ($async$errorCode === 1)
77810 return A._asyncRethrow($async$result, $async$completer);
77811 while (true)
77812 switch ($async$goto) {
77813 case 0:
77814 // Function start
77815 result = type$.Function._as($async$self.callback).call$1(A.toJSArray($arguments));
77816 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
77817 break;
77818 case 3:
77819 // then
77820 $async$goto = 5;
77821 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.Object), $async$call$1);
77822 case 5:
77823 // returning from await.
77824 result = $async$result;
77825 case 4:
77826 // join
77827 if (result instanceof A.Value0) {
77828 $async$returnValue = result;
77829 // goto return
77830 $async$goto = 1;
77831 break;
77832 }
77833 throw A.wrapException(string$.Invali + A.S($async$self._box_0.tuple.item1) + '": ' + A.S(result) + " is not a sass.Value.");
77834 case 1:
77835 // return
77836 return A._asyncReturn($async$returnValue, $async$completer);
77837 }
77838 });
77839 return A._asyncStartSync($async$call$1, $async$completer);
77840 },
77841 $signature: 93
77842 };
77843 A._compileStylesheet_closure1.prototype = {
77844 call$1(url) {
77845 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);
77846 },
77847 $signature: 5
77848 };
77849 A.CompileOptions.prototype = {};
77850 A.CompileStringOptions.prototype = {};
77851 A.NodeCompileResult.prototype = {};
77852 A.CompileResult0.prototype = {};
77853 A.ComplexSassNumber0.prototype = {
77854 get$numeratorUnits(_) {
77855 return this._complex1$_numeratorUnits;
77856 },
77857 get$denominatorUnits(_) {
77858 return this._complex1$_denominatorUnits;
77859 },
77860 get$hasUnits() {
77861 return true;
77862 },
77863 hasUnit$1(unit) {
77864 return false;
77865 },
77866 compatibleWithUnit$1(unit) {
77867 return false;
77868 },
77869 hasPossiblyCompatibleUnits$1(other) {
77870 throw A.wrapException(A.UnimplementedError$(string$.Comple));
77871 },
77872 withValue$1(value) {
77873 return new A.ComplexSassNumber0(this._complex1$_numeratorUnits, this._complex1$_denominatorUnits, value, null);
77874 },
77875 withSlash$2(numerator, denominator) {
77876 return new A.ComplexSassNumber0(this._complex1$_numeratorUnits, this._complex1$_denominatorUnits, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
77877 }
77878 };
77879 A.ComplexSelector0.prototype = {
77880 get$minSpecificity() {
77881 if (this._complex0$_minSpecificity == null)
77882 this._complex0$_computeSpecificity$0();
77883 var t1 = this._complex0$_minSpecificity;
77884 t1.toString;
77885 return t1;
77886 },
77887 get$maxSpecificity() {
77888 if (this._complex0$_maxSpecificity == null)
77889 this._complex0$_computeSpecificity$0();
77890 var t1 = this._complex0$_maxSpecificity;
77891 t1.toString;
77892 return t1;
77893 },
77894 get$isInvisible() {
77895 var result, _this = this,
77896 value = _this._complex0$__ComplexSelector_isInvisible;
77897 if (value === $) {
77898 result = B.JSArray_methods.any$1(_this.components, new A.ComplexSelector_isInvisible_closure0());
77899 A._lateInitializeOnceCheck(_this._complex0$__ComplexSelector_isInvisible, "isInvisible");
77900 _this._complex0$__ComplexSelector_isInvisible = result;
77901 value = result;
77902 }
77903 return value;
77904 },
77905 accept$1$1(visitor) {
77906 return visitor.visitComplexSelector$1(this);
77907 },
77908 accept$1(visitor) {
77909 return this.accept$1$1(visitor, type$.dynamic);
77910 },
77911 _complex0$_computeSpecificity$0() {
77912 var t1, t2, minSpecificity, maxSpecificity, _i, component, t3;
77913 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
77914 component = t1[_i];
77915 if (component instanceof A.CompoundSelector0) {
77916 if (component._compound0$_minSpecificity == null)
77917 component._compound0$_computeSpecificity$0();
77918 t3 = component._compound0$_minSpecificity;
77919 t3.toString;
77920 minSpecificity += t3;
77921 if (component._compound0$_maxSpecificity == null)
77922 component._compound0$_computeSpecificity$0();
77923 t3 = component._compound0$_maxSpecificity;
77924 t3.toString;
77925 maxSpecificity += t3;
77926 }
77927 }
77928 this._complex0$_minSpecificity = minSpecificity;
77929 this._complex0$_maxSpecificity = maxSpecificity;
77930 },
77931 get$hashCode(_) {
77932 return B.C_ListEquality0.hash$1(this.components);
77933 },
77934 $eq(_, other) {
77935 if (other == null)
77936 return false;
77937 return other instanceof A.ComplexSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
77938 }
77939 };
77940 A.ComplexSelector_isInvisible_closure0.prototype = {
77941 call$1(component) {
77942 return component instanceof A.CompoundSelector0 && component.get$isInvisible();
77943 },
77944 $signature: 105
77945 };
77946 A.Combinator0.prototype = {
77947 toString$0(_) {
77948 return this._complex0$_text;
77949 },
77950 $isComplexSelectorComponent0: 1
77951 };
77952 A.CompoundSelector0.prototype = {
77953 get$isInvisible() {
77954 return B.JSArray_methods.any$1(this.components, new A.CompoundSelector_isInvisible_closure0());
77955 },
77956 accept$1$1(visitor) {
77957 return visitor.visitCompoundSelector$1(this);
77958 },
77959 accept$1(visitor) {
77960 return this.accept$1$1(visitor, type$.dynamic);
77961 },
77962 _compound0$_computeSpecificity$0() {
77963 var t1, t2, minSpecificity, maxSpecificity, _i, simple;
77964 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
77965 simple = t1[_i];
77966 minSpecificity += simple.get$minSpecificity();
77967 maxSpecificity += simple.get$maxSpecificity();
77968 }
77969 this._compound0$_minSpecificity = minSpecificity;
77970 this._compound0$_maxSpecificity = maxSpecificity;
77971 },
77972 get$hashCode(_) {
77973 return B.C_ListEquality0.hash$1(this.components);
77974 },
77975 $eq(_, other) {
77976 if (other == null)
77977 return false;
77978 return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
77979 },
77980 $isComplexSelectorComponent0: 1
77981 };
77982 A.CompoundSelector_isInvisible_closure0.prototype = {
77983 call$1(component) {
77984 return component.get$isInvisible();
77985 },
77986 $signature: 16
77987 };
77988 A.Configuration0.prototype = {
77989 throughForward$1($forward) {
77990 var prefix, shownVariables, hiddenVariables, t1,
77991 newValues = this._configuration$_values;
77992 if (newValues.get$isEmpty(newValues))
77993 return B.Configuration_Map_empty0;
77994 prefix = $forward.prefix;
77995 if (prefix != null)
77996 newValues = new A.UnprefixedMapView0(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue_2);
77997 shownVariables = $forward.shownVariables;
77998 hiddenVariables = $forward.hiddenVariables;
77999 if (shownVariables != null)
78000 newValues = new A.LimitedMapView0(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
78001 else {
78002 if (hiddenVariables != null) {
78003 t1 = hiddenVariables._base;
78004 t1 = t1.get$isNotEmpty(t1);
78005 } else
78006 t1 = false;
78007 if (t1)
78008 newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
78009 }
78010 return this._configuration$_withValues$1(newValues);
78011 },
78012 _configuration$_withValues$1(values) {
78013 return new A.Configuration0(values);
78014 },
78015 toString$0(_) {
78016 var t1 = this._configuration$_values;
78017 return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure0(), type$.String).join$1(0, ", ") + ")";
78018 }
78019 };
78020 A.Configuration_toString_closure0.prototype = {
78021 call$1(entry) {
78022 return "$" + A.S(entry.key) + ": " + A.S(entry.value);
78023 },
78024 $signature: 386
78025 };
78026 A.ExplicitConfiguration0.prototype = {
78027 _configuration$_withValues$1(values) {
78028 return new A.ExplicitConfiguration0(this.nodeWithSpan, values);
78029 }
78030 };
78031 A.ConfiguredValue0.prototype = {
78032 toString$0(_) {
78033 return A.serializeValue0(this.value, true, true);
78034 }
78035 };
78036 A.ConfiguredVariable0.prototype = {
78037 toString$0(_) {
78038 var t1 = "$" + this.name + ": " + this.expression.toString$0(0);
78039 return t1 + (this.isGuarded ? " !default" : "");
78040 },
78041 $isAstNode0: 1,
78042 get$span(receiver) {
78043 return this.span;
78044 }
78045 };
78046 A.ContentBlock0.prototype = {
78047 accept$1$1(visitor) {
78048 return visitor.visitContentBlock$1(this);
78049 },
78050 accept$1(visitor) {
78051 return this.accept$1$1(visitor, type$.dynamic);
78052 },
78053 toString$0(_) {
78054 var t2,
78055 t1 = this.$arguments;
78056 t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
78057 t2 = this.children;
78058 return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
78059 }
78060 };
78061 A.ContentRule0.prototype = {
78062 accept$1$1(visitor) {
78063 return visitor.visitContentRule$1(this);
78064 },
78065 accept$1(visitor) {
78066 return this.accept$1$1(visitor, type$.dynamic);
78067 },
78068 toString$0(_) {
78069 var t1 = this.$arguments;
78070 return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
78071 },
78072 $isAstNode0: 1,
78073 $isStatement0: 1,
78074 get$span(receiver) {
78075 return this.span;
78076 }
78077 };
78078 A._disallowedFunctionNames_closure0.prototype = {
78079 call$1($function) {
78080 return $function.name;
78081 },
78082 $signature: 387
78083 };
78084 A.CssParser0.prototype = {
78085 get$plainCss() {
78086 return true;
78087 },
78088 silentComment$0() {
78089 var t1 = this.scanner,
78090 t2 = t1._string_scanner$_position;
78091 this.super$Parser$silentComment0();
78092 this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
78093 },
78094 atRule$2$root(child, root) {
78095 var $name, urlStart, next, url, urlSpan, queries, t2, t3, t4, t5, _this = this,
78096 t1 = _this.scanner,
78097 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
78098 t1.expectChar$1(64);
78099 $name = _this.interpolatedIdentifier$0();
78100 _this.whitespace$0();
78101 switch ($name.get$asPlain()) {
78102 case "at-root":
78103 case "content":
78104 case "debug":
78105 case "each":
78106 case "error":
78107 case "extend":
78108 case "for":
78109 case "function":
78110 case "if":
78111 case "include":
78112 case "mixin":
78113 case "return":
78114 case "warn":
78115 case "while":
78116 _this.almostAnyValue$0();
78117 _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
78118 break;
78119 case "import":
78120 urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
78121 next = t1.peekChar$0();
78122 url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression0(_this.interpolatedString$0().asInterpolation$1$static(true), false);
78123 urlSpan = t1.spanFrom$1(urlStart);
78124 _this.whitespace$0();
78125 queries = _this.tryImportQueries$0();
78126 _this.expectStatementSeparator$1("@import rule");
78127 t2 = A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), urlSpan);
78128 t3 = t1.spanFrom$1(urlStart);
78129 t4 = queries == null;
78130 t5 = t4 ? null : queries.item1;
78131 t2 = A._setArrayType([new A.StaticImport0(t2, t5, t4 ? null : queries.item2, t3)], type$.JSArray_Import_2);
78132 t1 = t1.spanFrom$1(start);
78133 return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
78134 case "media":
78135 return _this.mediaRule$1(start);
78136 case "-moz-document":
78137 return _this.mozDocumentRule$2(start, $name);
78138 case "supports":
78139 return _this.supportsRule$1(start);
78140 default:
78141 return _this.unknownAtRule$2(start, $name);
78142 }
78143 },
78144 identifierLike$0() {
78145 var t2, $arguments, t3, t4, _this = this,
78146 t1 = _this.scanner,
78147 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
78148 identifier = _this.interpolatedIdentifier$0(),
78149 plain = identifier.get$asPlain(),
78150 specialFunction = _this.trySpecialFunction$2(plain.toLowerCase(), start);
78151 if (specialFunction != null)
78152 return specialFunction;
78153 t2 = t1._string_scanner$_position;
78154 if (!t1.scanChar$1(40))
78155 return new A.StringExpression0(identifier, false);
78156 $arguments = A._setArrayType([], type$.JSArray_Expression_2);
78157 if (!t1.scanChar$1(41)) {
78158 do {
78159 _this.whitespace$0();
78160 $arguments.push(_this.expression$1$singleEquals(true));
78161 _this.whitespace$0();
78162 } while (t1.scanChar$1(44));
78163 t1.expectChar$1(41);
78164 }
78165 if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
78166 _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
78167 t3 = A.Interpolation$0(A._setArrayType([new A.StringExpression0(identifier, false)], type$.JSArray_Object), identifier.span);
78168 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
78169 t4 = type$.Expression_2;
78170 return new A.InterpolatedFunctionExpression0(t3, new A.ArgumentInvocation0(A.List_List$unmodifiable($arguments, t4), A.ConstantMap_ConstantMap$from(B.Map_empty9, type$.String, t4), null, null, t2), t1.spanFrom$1(start));
78171 },
78172 namespacedExpression$2(namespace, start) {
78173 var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
78174 this.error$2(0, string$.Modulen, expression.get$span(expression));
78175 }
78176 };
78177 A.DebugRule0.prototype = {
78178 accept$1$1(visitor) {
78179 return visitor.visitDebugRule$1(this);
78180 },
78181 accept$1(visitor) {
78182 return this.accept$1$1(visitor, type$.dynamic);
78183 },
78184 toString$0(_) {
78185 return "@debug " + this.expression.toString$0(0) + ";";
78186 },
78187 $isAstNode0: 1,
78188 $isStatement0: 1,
78189 get$span(receiver) {
78190 return this.span;
78191 }
78192 };
78193 A.ModifiableCssDeclaration0.prototype = {
78194 accept$1$1(visitor) {
78195 return visitor.visitCssDeclaration$1(this);
78196 },
78197 accept$1(visitor) {
78198 return this.accept$1$1(visitor, type$.dynamic);
78199 },
78200 toString$0(_) {
78201 return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
78202 },
78203 get$span(receiver) {
78204 return this.span;
78205 }
78206 };
78207 A.Declaration0.prototype = {
78208 accept$1$1(visitor) {
78209 return visitor.visitDeclaration$1(this);
78210 },
78211 accept$1(visitor) {
78212 return this.accept$1$1(visitor, type$.dynamic);
78213 },
78214 get$span(receiver) {
78215 return this.span;
78216 }
78217 };
78218 A.SupportsDeclaration0.prototype = {
78219 get$isCustomProperty() {
78220 var $name = this.name;
78221 return $name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
78222 },
78223 toString$0(_) {
78224 return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
78225 },
78226 $isAstNode0: 1,
78227 $isSupportsCondition0: 1,
78228 get$span(receiver) {
78229 return this.span;
78230 }
78231 };
78232 A.DynamicImport0.prototype = {
78233 toString$0(_) {
78234 return A.StringExpression_quoteText0(this.urlString);
78235 },
78236 $isImport0: 1,
78237 $isAstNode0: 1,
78238 get$span(receiver) {
78239 return this.span;
78240 }
78241 };
78242 A.EachRule0.prototype = {
78243 accept$1$1(visitor) {
78244 return visitor.visitEachRule$1(this);
78245 },
78246 accept$1(visitor) {
78247 return this.accept$1$1(visitor, type$.dynamic);
78248 },
78249 toString$0(_) {
78250 var t1 = this.variables,
78251 t2 = this.children;
78252 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, " ") + "}";
78253 },
78254 get$span(receiver) {
78255 return this.span;
78256 }
78257 };
78258 A.EachRule_toString_closure0.prototype = {
78259 call$1(variable) {
78260 return "$" + variable;
78261 },
78262 $signature: 5
78263 };
78264 A.EmptyExtensionStore0.prototype = {
78265 get$isEmpty(_) {
78266 return true;
78267 },
78268 get$simpleSelectors() {
78269 return B.C_EmptyUnmodifiableSet0;
78270 },
78271 extensionsWhereTarget$1(callback) {
78272 return B.List_empty12;
78273 },
78274 addSelector$3(selector, span, mediaContext) {
78275 throw A.wrapException(A.UnsupportedError$(string$.addSel));
78276 },
78277 addExtension$4(extender, target, extend, mediaContext) {
78278 throw A.wrapException(A.UnsupportedError$(string$.addExt_));
78279 },
78280 addExtensions$1(extenders) {
78281 throw A.wrapException(A.UnsupportedError$(string$.addExts));
78282 },
78283 clone$0() {
78284 return B.Tuple2_EmptyExtensionStore_Map_empty0;
78285 },
78286 $isExtensionStore0: 1
78287 };
78288 A.Environment0.prototype = {
78289 closure$0() {
78290 var t4, t5, t6, _this = this,
78291 t1 = _this._environment0$_forwardedModules,
78292 t2 = _this._environment0$_nestedForwardedModules,
78293 t3 = _this._environment0$_variables;
78294 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
78295 t4 = _this._environment0$_variableNodes;
78296 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
78297 t5 = _this._environment0$_functions;
78298 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
78299 t6 = _this._environment0$_mixins;
78300 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
78301 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);
78302 },
78303 addModule$3$namespace(module, nodeWithSpan, namespace) {
78304 var t1, t2, span, _this = this;
78305 if (namespace == null) {
78306 _this._environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
78307 _this._environment0$_allModules.push(module);
78308 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._environment0$_variables))); t1.moveNext$0();) {
78309 t2 = t1.get$current(t1);
78310 if (module.get$variables().containsKey$1(t2))
78311 throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".'));
78312 }
78313 } else {
78314 t1 = _this._environment0$_modules;
78315 if (t1.containsKey$1(namespace)) {
78316 t1 = _this._environment0$_namespaceNodes.$index(0, namespace);
78317 span = t1 == null ? null : t1.span;
78318 t1 = string$.There_ + namespace + '".';
78319 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78320 if (span != null)
78321 t2.$indexSet(0, span, "original @use");
78322 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @use", t2));
78323 }
78324 t1.$indexSet(0, namespace, module);
78325 _this._environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
78326 _this._environment0$_allModules.push(module);
78327 }
78328 },
78329 forwardModule$2(module, rule) {
78330 var view, t1, t2, _this = this,
78331 forwardedModules = _this._environment0$_forwardedModules;
78332 if (forwardedModules == null)
78333 forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78334 view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
78335 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
78336 t2 = t1.get$current(t1);
78337 _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
78338 _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
78339 _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
78340 }
78341 _this._environment0$_allModules.push(module);
78342 forwardedModules.$indexSet(0, view, rule);
78343 },
78344 _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
78345 var larger, smaller, t1, t2, $name, span;
78346 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
78347 larger = oldMembers;
78348 smaller = newMembers;
78349 } else {
78350 larger = newMembers;
78351 smaller = oldMembers;
78352 }
78353 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
78354 $name = t1.get$current(t1);
78355 if (!larger.containsKey$1($name))
78356 continue;
78357 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
78358 continue;
78359 if (t2)
78360 $name = "$" + $name;
78361 t1 = this._environment0$_forwardedModules;
78362 if (t1 == null)
78363 span = null;
78364 else {
78365 t1 = t1.$index(0, oldModule);
78366 span = t1 == null ? null : J.get$span$z(t1);
78367 }
78368 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
78369 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78370 if (span != null)
78371 t2.$indexSet(0, span, "original @forward");
78372 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @forward", t2));
78373 }
78374 },
78375 importForwards$1(module) {
78376 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
78377 forwarded = module._environment0$_environment._environment0$_forwardedModules;
78378 if (forwarded == null)
78379 return;
78380 forwardedModules = _this._environment0$_forwardedModules;
78381 if (forwardedModules != null) {
78382 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78383 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._environment0$_globalModules; t2.moveNext$0();) {
78384 t4 = t2.get$current(t2);
78385 t5 = t4.key;
78386 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
78387 t1.$indexSet(0, t5, t4.value);
78388 }
78389 forwarded = t1;
78390 } else
78391 forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78392 t1 = forwarded.get$keys(forwarded);
78393 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
78394 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure2(), t2), t2._eval$1("Iterable.E"));
78395 t2 = forwarded.get$keys(forwarded);
78396 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
78397 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.Environment_importForwards_closure3(), t1), t1._eval$1("Iterable.E"));
78398 t1 = forwarded.get$keys(forwarded);
78399 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
78400 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure4(), t2), t2._eval$1("Iterable.E"));
78401 t1 = _this._environment0$_variables;
78402 t2 = t1.length;
78403 if (t2 === 1) {
78404 for (t2 = _this._environment0$_importedModules, t3 = t2.get$entries(t2).toList$0(0), t4 = t3.length, t5 = type$.Callable_2, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
78405 entry = t3[_i];
78406 module = entry.key;
78407 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
78408 if (shadowed != null) {
78409 t2.remove$1(0, module);
78410 t6 = shadowed.variables;
78411 if (t6.get$isEmpty(t6)) {
78412 t6 = shadowed.functions;
78413 if (t6.get$isEmpty(t6)) {
78414 t6 = shadowed.mixins;
78415 if (t6.get$isEmpty(t6)) {
78416 t6 = shadowed._shadowed_view0$_inner;
78417 t6 = t6.get$css(t6);
78418 t6 = J.get$isEmpty$asx(t6.get$children(t6));
78419 } else
78420 t6 = false;
78421 } else
78422 t6 = false;
78423 } else
78424 t6 = false;
78425 if (!t6)
78426 t2.$indexSet(0, shadowed, entry.value);
78427 }
78428 }
78429 for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
78430 entry = t3[_i];
78431 module = entry.key;
78432 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
78433 if (shadowed != null) {
78434 forwardedModules.remove$1(0, module);
78435 t6 = shadowed.variables;
78436 if (t6.get$isEmpty(t6)) {
78437 t6 = shadowed.functions;
78438 if (t6.get$isEmpty(t6)) {
78439 t6 = shadowed.mixins;
78440 if (t6.get$isEmpty(t6)) {
78441 t6 = shadowed._shadowed_view0$_inner;
78442 t6 = t6.get$css(t6);
78443 t6 = J.get$isEmpty$asx(t6.get$children(t6));
78444 } else
78445 t6 = false;
78446 } else
78447 t6 = false;
78448 } else
78449 t6 = false;
78450 if (!t6)
78451 forwardedModules.$indexSet(0, shadowed, entry.value);
78452 }
78453 }
78454 t2.addAll$1(0, forwarded);
78455 forwardedModules.addAll$1(0, forwarded);
78456 } else {
78457 t3 = _this._environment0$_nestedForwardedModules;
78458 if (t3 == null) {
78459 _length = t2 - 1;
78460 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
78461 for (t2 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
78462 _list[_i] = A._setArrayType([], t2);
78463 _this._environment0$_nestedForwardedModules = _list;
78464 t2 = _list;
78465 } else
78466 t2 = t3;
78467 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
78468 }
78469 for (t2 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = A._instanceType(t2)._precomputed1, t4 = _this._environment0$_variableIndices, t5 = _this._environment0$_variableNodes; t2.moveNext$0();) {
78470 t6 = t3._as(t2._collection$_current);
78471 t4.remove$1(0, t6);
78472 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
78473 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
78474 }
78475 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._environment0$_functionIndices, t4 = _this._environment0$_functions; t1.moveNext$0();) {
78476 t5 = t2._as(t1._collection$_current);
78477 t3.remove$1(0, t5);
78478 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
78479 }
78480 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._environment0$_mixinIndices, t4 = _this._environment0$_mixins; t1.moveNext$0();) {
78481 t5 = t2._as(t1._collection$_current);
78482 t3.remove$1(0, t5);
78483 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
78484 }
78485 },
78486 getVariable$2$namespace($name, namespace) {
78487 var t1, index, _this = this;
78488 if (namespace != null)
78489 return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
78490 if (_this._environment0$_lastVariableName === $name) {
78491 t1 = _this._environment0$_lastVariableIndex;
78492 t1.toString;
78493 t1 = J.$index$asx(_this._environment0$_variables[t1], $name);
78494 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
78495 }
78496 t1 = _this._environment0$_variableIndices;
78497 index = t1.$index(0, $name);
78498 if (index != null) {
78499 _this._environment0$_lastVariableName = $name;
78500 _this._environment0$_lastVariableIndex = index;
78501 t1 = J.$index$asx(_this._environment0$_variables[index], $name);
78502 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
78503 }
78504 index = _this._environment0$_variableIndex$1($name);
78505 if (index == null)
78506 return _this._environment0$_getVariableFromGlobalModule$1($name);
78507 _this._environment0$_lastVariableName = $name;
78508 _this._environment0$_lastVariableIndex = index;
78509 t1.$indexSet(0, $name, index);
78510 t1 = J.$index$asx(_this._environment0$_variables[index], $name);
78511 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
78512 },
78513 getVariable$1($name) {
78514 return this.getVariable$2$namespace($name, null);
78515 },
78516 _environment0$_getVariableFromGlobalModule$1($name) {
78517 return this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
78518 },
78519 getVariableNode$2$namespace($name, namespace) {
78520 var t1, index, _this = this;
78521 if (namespace != null)
78522 return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
78523 if (_this._environment0$_lastVariableName === $name) {
78524 t1 = _this._environment0$_lastVariableIndex;
78525 t1.toString;
78526 t1 = J.$index$asx(_this._environment0$_variableNodes[t1], $name);
78527 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
78528 }
78529 t1 = _this._environment0$_variableIndices;
78530 index = t1.$index(0, $name);
78531 if (index != null) {
78532 _this._environment0$_lastVariableName = $name;
78533 _this._environment0$_lastVariableIndex = index;
78534 t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
78535 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
78536 }
78537 index = _this._environment0$_variableIndex$1($name);
78538 if (index == null)
78539 return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
78540 _this._environment0$_lastVariableName = $name;
78541 _this._environment0$_lastVariableIndex = index;
78542 t1.$indexSet(0, $name, index);
78543 t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
78544 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
78545 },
78546 _environment0$_getVariableNodeFromGlobalModule$1($name) {
78547 var t1, t2, value;
78548 for (t1 = this._environment0$_importedModules, t2 = this._environment0$_globalModules, t2 = t1.get$keys(t1).followedBy$1(0, t2.get$keys(t2)), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
78549 t1 = t2._currentIterator;
78550 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
78551 if (value != null)
78552 return value;
78553 }
78554 return null;
78555 },
78556 globalVariableExists$2$namespace($name, namespace) {
78557 if (namespace != null)
78558 return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
78559 if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
78560 return true;
78561 return this._environment0$_getVariableFromGlobalModule$1($name) != null;
78562 },
78563 globalVariableExists$1($name) {
78564 return this.globalVariableExists$2$namespace($name, null);
78565 },
78566 _environment0$_variableIndex$1($name) {
78567 var t1, i;
78568 for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
78569 if (t1[i].containsKey$1($name))
78570 return i;
78571 return null;
78572 },
78573 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
78574 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
78575 if (namespace != null) {
78576 _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
78577 return;
78578 }
78579 if (global || _this._environment0$_variables.length === 1) {
78580 _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
78581 t1 = _this._environment0$_variables;
78582 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
78583 moduleWithName = _this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure3($name), type$.Module_Callable_2);
78584 if (moduleWithName != null) {
78585 moduleWithName.setVariable$3($name, value, nodeWithSpan);
78586 return;
78587 }
78588 }
78589 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
78590 J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
78591 return;
78592 }
78593 nestedForwardedModules = _this._environment0$_nestedForwardedModules;
78594 if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
78595 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
78596 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
78597 t5 = t4._as(t3.__internal$_current);
78598 if (t5.get$variables().containsKey$1($name)) {
78599 t5.setVariable$3($name, value, nodeWithSpan);
78600 return;
78601 }
78602 }
78603 if (_this._environment0$_lastVariableName === $name) {
78604 t1 = _this._environment0$_lastVariableIndex;
78605 t1.toString;
78606 index = t1;
78607 } else
78608 index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
78609 if (!_this._environment0$_inSemiGlobalScope && index === 0) {
78610 index = _this._environment0$_variables.length - 1;
78611 _this._environment0$_variableIndices.$indexSet(0, $name, index);
78612 }
78613 _this._environment0$_lastVariableName = $name;
78614 _this._environment0$_lastVariableIndex = index;
78615 J.$indexSet$ax(_this._environment0$_variables[index], $name, value);
78616 J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
78617 },
78618 setVariable$4$global($name, value, nodeWithSpan, global) {
78619 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
78620 },
78621 setLocalVariable$3($name, value, nodeWithSpan) {
78622 var index, _this = this,
78623 t1 = _this._environment0$_variables,
78624 t2 = t1.length;
78625 _this._environment0$_lastVariableName = $name;
78626 index = _this._environment0$_lastVariableIndex = t2 - 1;
78627 _this._environment0$_variableIndices.$indexSet(0, $name, index);
78628 J.$indexSet$ax(t1[index], $name, value);
78629 J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
78630 },
78631 getFunction$2$namespace($name, namespace) {
78632 var t1, index, _this = this;
78633 if (namespace != null) {
78634 t1 = _this._environment0$_getModule$1(namespace);
78635 return t1.get$functions(t1).$index(0, $name);
78636 }
78637 t1 = _this._environment0$_functionIndices;
78638 index = t1.$index(0, $name);
78639 if (index != null) {
78640 t1 = J.$index$asx(_this._environment0$_functions[index], $name);
78641 return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
78642 }
78643 index = _this._environment0$_functionIndex$1($name);
78644 if (index == null)
78645 return _this._environment0$_getFunctionFromGlobalModule$1($name);
78646 t1.$indexSet(0, $name, index);
78647 t1 = J.$index$asx(_this._environment0$_functions[index], $name);
78648 return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
78649 },
78650 _environment0$_getFunctionFromGlobalModule$1($name) {
78651 return this._environment0$_fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name), type$.Callable_2);
78652 },
78653 _environment0$_functionIndex$1($name) {
78654 var t1, i;
78655 for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
78656 if (t1[i].containsKey$1($name))
78657 return i;
78658 return null;
78659 },
78660 getMixin$2$namespace($name, namespace) {
78661 var t1, index, _this = this;
78662 if (namespace != null)
78663 return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
78664 t1 = _this._environment0$_mixinIndices;
78665 index = t1.$index(0, $name);
78666 if (index != null) {
78667 t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
78668 return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
78669 }
78670 index = _this._environment0$_mixinIndex$1($name);
78671 if (index == null)
78672 return _this._environment0$_getMixinFromGlobalModule$1($name);
78673 t1.$indexSet(0, $name, index);
78674 t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
78675 return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
78676 },
78677 _environment0$_getMixinFromGlobalModule$1($name) {
78678 return this._environment0$_fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name), type$.Callable_2);
78679 },
78680 _environment0$_mixinIndex$1($name) {
78681 var t1, i;
78682 for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
78683 if (t1[i].containsKey$1($name))
78684 return i;
78685 return null;
78686 },
78687 scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
78688 var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, _this = this;
78689 semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
78690 wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
78691 _this._environment0$_inSemiGlobalScope = semiGlobal;
78692 if (!when)
78693 try {
78694 t1 = callback.call$0();
78695 return t1;
78696 } finally {
78697 _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
78698 }
78699 t1 = _this._environment0$_variables;
78700 t2 = type$.String;
78701 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
78702 B.JSArray_methods.add$1(_this._environment0$_variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
78703 t3 = _this._environment0$_functions;
78704 t4 = type$.Callable_2;
78705 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
78706 t5 = _this._environment0$_mixins;
78707 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
78708 t4 = _this._environment0$_nestedForwardedModules;
78709 if (t4 != null)
78710 t4.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
78711 try {
78712 t2 = callback.call$0();
78713 return t2;
78714 } finally {
78715 _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
78716 _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
78717 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
78718 $name = t1.get$current(t1);
78719 t2.remove$1(0, $name);
78720 }
78721 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t3))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
78722 name0 = t1.get$current(t1);
78723 t2.remove$1(0, name0);
78724 }
78725 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t5))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
78726 name1 = t1.get$current(t1);
78727 t2.remove$1(0, name1);
78728 }
78729 t1 = _this._environment0$_nestedForwardedModules;
78730 if (t1 != null)
78731 t1.pop();
78732 }
78733 },
78734 scope$1$1(callback, $T) {
78735 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
78736 },
78737 scope$1$2$when(callback, when, $T) {
78738 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
78739 },
78740 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
78741 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
78742 },
78743 toImplicitConfiguration$0() {
78744 var t1, t2, i, values, nodes, t3, t4, t5, t6,
78745 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
78746 for (t1 = this._environment0$_variables, t2 = this._environment0$_variableNodes, i = 0; i < t1.length; ++i) {
78747 values = t1[i];
78748 nodes = t2[i];
78749 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
78750 t4 = t3.get$current(t3);
78751 t5 = t4.key;
78752 t4 = t4.value;
78753 t6 = nodes.$index(0, t5);
78754 t6.toString;
78755 configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
78756 }
78757 }
78758 return new A.Configuration0(configuration);
78759 },
78760 toModule$2(css, extensionStore) {
78761 return A._EnvironmentModule__EnvironmentModule1(this, css, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
78762 },
78763 toDummyModule$0() {
78764 return A._EnvironmentModule__EnvironmentModule1(this, new A.CssStylesheet0(new A.UnmodifiableListView(B.List_empty11, type$.UnmodifiableListView_CssNode_2), A.SourceFile$decoded(B.List_empty1, "<dummy module>").span$1(0, 0)), B.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toDummyModule_closure0()));
78765 },
78766 _environment0$_getModule$1(namespace) {
78767 var module = this._environment0$_modules.$index(0, namespace);
78768 if (module != null)
78769 return module;
78770 throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".'));
78771 },
78772 _environment0$_fromOneModule$1$3($name, type, callback, $T) {
78773 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
78774 nestedForwardedModules = this._environment0$_nestedForwardedModules;
78775 if (nestedForwardedModules != null)
78776 for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
78777 for (t3 = J.get$reversed$ax(t2._as(t1.__internal$_current)), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
78778 value = callback.call$1(t4._as(t3.__internal$_current));
78779 if (value != null)
78780 return value;
78781 }
78782 for (t1 = this._environment0$_importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
78783 value = callback.call$1(t1.get$current(t1));
78784 if (value != null)
78785 return value;
78786 }
78787 for (t1 = this._environment0$_globalModules, t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2), t3 = type$.Callable_2, value = null, identity = null; t2.moveNext$0();) {
78788 t4 = t2.get$current(t2);
78789 valueInModule = callback.call$1(t4);
78790 if (valueInModule == null)
78791 continue;
78792 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
78793 if (identityFromModule.$eq(0, identity))
78794 continue;
78795 if (value != null) {
78796 spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
78797 t2 = "This " + type + string$.x20is_av;
78798 t3 = type + " use";
78799 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78800 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
78801 t5 = t1.get$current(t1);
78802 if (t5 != null)
78803 t4.$indexSet(0, t5, "includes " + type);
78804 }
78805 throw A.wrapException(A.MultiSpanSassScriptException$0(t2, t3, t4));
78806 }
78807 identity = identityFromModule;
78808 value = valueInModule;
78809 }
78810 return value;
78811 }
78812 };
78813 A.Environment_importForwards_closure2.prototype = {
78814 call$1(module) {
78815 var t1 = module.get$variables();
78816 return t1.get$keys(t1);
78817 },
78818 $signature: 101
78819 };
78820 A.Environment_importForwards_closure3.prototype = {
78821 call$1(module) {
78822 var t1 = module.get$functions(module);
78823 return t1.get$keys(t1);
78824 },
78825 $signature: 101
78826 };
78827 A.Environment_importForwards_closure4.prototype = {
78828 call$1(module) {
78829 var t1 = module.get$mixins();
78830 return t1.get$keys(t1);
78831 },
78832 $signature: 101
78833 };
78834 A.Environment__getVariableFromGlobalModule_closure0.prototype = {
78835 call$1(module) {
78836 return module.get$variables().$index(0, this.name);
78837 },
78838 $signature: 390
78839 };
78840 A.Environment_setVariable_closure2.prototype = {
78841 call$0() {
78842 var t1 = this.$this;
78843 t1._environment0$_lastVariableName = this.name;
78844 return t1._environment0$_lastVariableIndex = 0;
78845 },
78846 $signature: 12
78847 };
78848 A.Environment_setVariable_closure3.prototype = {
78849 call$1(module) {
78850 return module.get$variables().containsKey$1(this.name) ? module : null;
78851 },
78852 $signature: 391
78853 };
78854 A.Environment_setVariable_closure4.prototype = {
78855 call$0() {
78856 var t1 = this.$this,
78857 t2 = t1._environment0$_variableIndex$1(this.name);
78858 return t2 == null ? t1._environment0$_variables.length - 1 : t2;
78859 },
78860 $signature: 12
78861 };
78862 A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
78863 call$1(module) {
78864 return module.get$functions(module).$index(0, this.name);
78865 },
78866 $signature: 210
78867 };
78868 A.Environment__getMixinFromGlobalModule_closure0.prototype = {
78869 call$1(module) {
78870 return module.get$mixins().$index(0, this.name);
78871 },
78872 $signature: 210
78873 };
78874 A.Environment_toModule_closure0.prototype = {
78875 call$1(modules) {
78876 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
78877 },
78878 $signature: 211
78879 };
78880 A.Environment_toDummyModule_closure0.prototype = {
78881 call$1(modules) {
78882 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
78883 },
78884 $signature: 211
78885 };
78886 A.Environment__fromOneModule_closure0.prototype = {
78887 call$1(entry) {
78888 return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure0(entry, this.T));
78889 },
78890 $signature: 394
78891 };
78892 A.Environment__fromOneModule__closure0.prototype = {
78893 call$1(_) {
78894 return J.get$span$z(this.entry.value);
78895 },
78896 $signature() {
78897 return this.T._eval$1("FileSpan(0)");
78898 }
78899 };
78900 A._EnvironmentModule1.prototype = {
78901 get$url(_) {
78902 var t1 = this.css;
78903 return t1.get$span(t1).file.url;
78904 },
78905 setVariable$3($name, value, nodeWithSpan) {
78906 var t1, t2,
78907 module = this._environment0$_modulesByVariable.$index(0, $name);
78908 if (module != null) {
78909 module.setVariable$3($name, value, nodeWithSpan);
78910 return;
78911 }
78912 t1 = this._environment0$_environment;
78913 t2 = t1._environment0$_variables;
78914 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
78915 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
78916 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
78917 J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
78918 return;
78919 },
78920 variableIdentity$1($name) {
78921 var module = this._environment0$_modulesByVariable.$index(0, $name);
78922 return module == null ? this : module.variableIdentity$1($name);
78923 },
78924 cloneCss$0() {
78925 var newCssAndExtensionStore, _this = this,
78926 t1 = _this.css;
78927 if (J.get$isEmpty$asx(t1.get$children(t1)))
78928 return _this;
78929 newCssAndExtensionStore = A.cloneCssStylesheet0(t1, _this.extensionStore);
78930 return A._EnvironmentModule$_1(_this._environment0$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._environment0$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
78931 },
78932 toString$0(_) {
78933 var t1 = this.css;
78934 if (t1.get$span(t1).file.url == null)
78935 t1 = "<unknown url>";
78936 else {
78937 t1 = t1.get$span(t1);
78938 t1 = $.$get$context().prettyUri$1(t1.file.url);
78939 }
78940 return t1;
78941 },
78942 $isModule0: 1,
78943 get$upstream() {
78944 return this.upstream;
78945 },
78946 get$variables() {
78947 return this.variables;
78948 },
78949 get$variableNodes() {
78950 return this.variableNodes;
78951 },
78952 get$functions(receiver) {
78953 return this.functions;
78954 },
78955 get$mixins() {
78956 return this.mixins;
78957 },
78958 get$extensionStore() {
78959 return this.extensionStore;
78960 },
78961 get$css(receiver) {
78962 return this.css;
78963 },
78964 get$transitivelyContainsCss() {
78965 return this.transitivelyContainsCss;
78966 },
78967 get$transitivelyContainsExtensions() {
78968 return this.transitivelyContainsExtensions;
78969 }
78970 };
78971 A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
78972 call$1(module) {
78973 return module.get$variables();
78974 },
78975 $signature: 395
78976 };
78977 A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
78978 call$1(module) {
78979 return module.get$variableNodes();
78980 },
78981 $signature: 396
78982 };
78983 A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
78984 call$1(module) {
78985 return module.get$functions(module);
78986 },
78987 $signature: 212
78988 };
78989 A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
78990 call$1(module) {
78991 return module.get$mixins();
78992 },
78993 $signature: 212
78994 };
78995 A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
78996 call$1(module) {
78997 return module.get$transitivelyContainsCss();
78998 },
78999 $signature: 140
79000 };
79001 A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
79002 call$1(module) {
79003 return module.get$transitivelyContainsExtensions();
79004 },
79005 $signature: 140
79006 };
79007 A.ErrorRule0.prototype = {
79008 accept$1$1(visitor) {
79009 return visitor.visitErrorRule$1(this);
79010 },
79011 accept$1(visitor) {
79012 return this.accept$1$1(visitor, type$.dynamic);
79013 },
79014 toString$0(_) {
79015 return "@error " + this.expression.toString$0(0) + ";";
79016 },
79017 $isAstNode0: 1,
79018 $isStatement0: 1,
79019 get$span(receiver) {
79020 return this.span;
79021 }
79022 };
79023 A._EvaluateVisitor1.prototype = {
79024 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
79025 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
79026 _s20_ = "$name, $module: null",
79027 _s9_ = "sass:meta",
79028 t1 = type$.JSArray_BuiltInCallable_2,
79029 metaFunctions = A._setArrayType([A.BuiltInCallable$function0("global-variable-exists", _s20_, new A._EvaluateVisitor_closure19(_this), _s9_), A.BuiltInCallable$function0("variable-exists", "$name", new A._EvaluateVisitor_closure20(_this), _s9_), A.BuiltInCallable$function0("function-exists", _s20_, new A._EvaluateVisitor_closure21(_this), _s9_), A.BuiltInCallable$function0("mixin-exists", _s20_, new A._EvaluateVisitor_closure22(_this), _s9_), A.BuiltInCallable$function0("content-exists", "", new A._EvaluateVisitor_closure23(_this), _s9_), A.BuiltInCallable$function0("module-variables", "$module", new A._EvaluateVisitor_closure24(_this), _s9_), A.BuiltInCallable$function0("module-functions", "$module", new A._EvaluateVisitor_closure25(_this), _s9_), A.BuiltInCallable$function0("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure26(_this), _s9_), A.BuiltInCallable$function0("call", "$function, $args...", new A._EvaluateVisitor_closure27(_this), _s9_)], t1),
79030 metaMixins = A._setArrayType([A.BuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure28(_this), _s9_)], t1);
79031 t1 = type$.BuiltInCallable_2;
79032 t2 = A.List_List$of($.$get$global6(), true, t1);
79033 B.JSArray_methods.addAll$1(t2, $.$get$local0());
79034 B.JSArray_methods.addAll$1(t2, metaFunctions);
79035 metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
79036 for (t1 = A.List_List$of($.$get$coreModules0(), true, type$.BuiltInModule_BuiltInCallable_2), t1.push(metaModule), t2 = t1.length, t3 = _this._evaluate0$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
79037 module = t1[_i];
79038 t3.$indexSet(0, module.url, module);
79039 }
79040 t1 = A._setArrayType([], type$.JSArray_Callable_2);
79041 B.JSArray_methods.addAll$1(t1, functions);
79042 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
79043 B.JSArray_methods.addAll$1(t1, metaFunctions);
79044 for (t2 = t1.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
79045 $function = t1[_i];
79046 t4 = J.get$name$x($function);
79047 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
79048 }
79049 },
79050 run$2(_, importer, node) {
79051 var t1 = type$.nullable_Object;
79052 return A.runZoned(new A._EvaluateVisitor_run_closure1(this, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext1(this, node)], t1, t1), type$.EvaluateResult_2);
79053 },
79054 _evaluate0$_assertInModule$1$2(value, $name) {
79055 if (value != null)
79056 return value;
79057 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
79058 },
79059 _evaluate0$_assertInModule$2(value, $name) {
79060 return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
79061 },
79062 _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
79063 var t1, t2, _this = this,
79064 builtInModule = _this._evaluate0$_builtInModules.$index(0, url);
79065 if (builtInModule != null) {
79066 if (configuration instanceof A.ExplicitConfiguration0) {
79067 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
79068 t2 = configuration.nodeWithSpan;
79069 throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
79070 }
79071 _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(callback, builtInModule));
79072 return;
79073 }
79074 _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
79075 },
79076 _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
79077 return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
79078 },
79079 _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
79080 return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
79081 },
79082 _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
79083 var currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
79084 url = stylesheet.span.file.url,
79085 t1 = _this._evaluate0$_modules,
79086 alreadyLoaded = t1.$index(0, url);
79087 if (alreadyLoaded != null) {
79088 t1 = configuration == null;
79089 currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
79090 if (currentConfiguration instanceof A.ExplicitConfiguration0) {
79091 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
79092 t2 = _this._evaluate0$_moduleNodes.$index(0, url);
79093 existingSpan = t2 == null ? null : J.get$span$z(t2);
79094 if (t1) {
79095 t1 = currentConfiguration.nodeWithSpan;
79096 configurationSpan = t1.get$span(t1);
79097 } else
79098 configurationSpan = null;
79099 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
79100 if (existingSpan != null)
79101 t1.$indexSet(0, existingSpan, "original load");
79102 if (configurationSpan != null)
79103 t1.$indexSet(0, configurationSpan, "configuration");
79104 throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
79105 }
79106 return alreadyLoaded;
79107 }
79108 environment = A.Environment$0();
79109 css = A._Cell$();
79110 extensionStore = A.ExtensionStore$0();
79111 _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css));
79112 module = environment.toModule$2(css._readLocal$0(), extensionStore);
79113 if (url != null) {
79114 t1.$indexSet(0, url, module);
79115 if (nodeWithSpan != null)
79116 _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
79117 }
79118 return module;
79119 },
79120 _evaluate0$_execute$2(importer, stylesheet) {
79121 return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
79122 },
79123 _evaluate0$_addOutOfOrderImports$0() {
79124 var t1, t2, _this = this, _s5_ = "_root",
79125 _s13_ = "_endOfImports",
79126 outOfOrderImports = _this._evaluate0$_outOfOrderImports;
79127 if (outOfOrderImports == null)
79128 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
79129 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
79130 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode_2);
79131 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
79132 t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
79133 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
79134 return t1;
79135 },
79136 _evaluate0$_combineCss$2$clone(root, clone) {
79137 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
79138 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
79139 selectors = root.get$extensionStore().get$simpleSelectors();
79140 unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
79141 if (unsatisfiedExtension != null)
79142 _this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
79143 return root.get$css(root);
79144 }
79145 sortedModules = _this._evaluate0$_topologicalModules$1(root);
79146 if (clone) {
79147 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<Callable0>>");
79148 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure7(), t1), true, t1._eval$1("ListIterable.E"));
79149 }
79150 _this._evaluate0$_extendModules$1(sortedModules);
79151 t1 = type$.JSArray_CssNode_2;
79152 imports = A._setArrayType([], t1);
79153 css = A._setArrayType([], t1);
79154 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
79155 t3 = t2._as(t1.__internal$_current);
79156 t3 = t3.get$css(t3);
79157 statements = t3.get$children(t3);
79158 index = _this._evaluate0$_indexAfterImports$1(statements);
79159 t3 = J.getInterceptor$ax(statements);
79160 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
79161 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
79162 }
79163 t1 = B.JSArray_methods.$add(imports, css);
79164 t2 = root.get$css(root);
79165 return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
79166 },
79167 _evaluate0$_combineCss$1(root) {
79168 return this._evaluate0$_combineCss$2$clone(root, false);
79169 },
79170 _evaluate0$_extendModules$1(sortedModules) {
79171 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
79172 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
79173 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
79174 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
79175 t2 = t1.get$current(t1);
79176 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
79177 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
79178 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
79179 t3 = t2.get$extensionStore().get$addExtensions();
79180 if ($self != null)
79181 t3.call$1($self);
79182 t3 = t2.get$extensionStore();
79183 if (t3.get$isEmpty(t3))
79184 continue;
79185 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
79186 upstream = t3[_i];
79187 url = upstream.get$url(upstream);
79188 if (url == null)
79189 continue;
79190 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure4()), t2.get$extensionStore());
79191 }
79192 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
79193 }
79194 if (unsatisfiedExtensions._collection$_length !== 0)
79195 this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
79196 },
79197 _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
79198 throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
79199 },
79200 _evaluate0$_topologicalModules$1(root) {
79201 var t1 = type$.Module_Callable_2,
79202 sorted = A.QueueList$(null, t1);
79203 new A._EvaluateVisitor__topologicalModules_visitModule1(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
79204 return sorted;
79205 },
79206 _evaluate0$_indexAfterImports$1(statements) {
79207 var t1, t2, t3, lastImport, i, statement;
79208 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
79209 statement = t1.$index(statements, i);
79210 if (t3._is(statement))
79211 lastImport = i;
79212 else if (!t2._is(statement))
79213 break;
79214 }
79215 return lastImport + 1;
79216 },
79217 visitStylesheet$1(node) {
79218 var t1, t2, _i;
79219 for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
79220 t1[_i].accept$1(this);
79221 return null;
79222 },
79223 visitAtRootRule$1(node) {
79224 var t1, grandparent, root, innerCopy, t2, outerCopy, copy, _this = this,
79225 _s8_ = "__parent",
79226 unparsedQuery = node.query,
79227 query = unparsedQuery != null ? _this._evaluate0$_adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure5(_this, _this._evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS0,
79228 $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
79229 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
79230 for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
79231 if (!query.excludes$1($parent))
79232 included.push($parent);
79233 grandparent = $parent._node1$_parent;
79234 if (grandparent == null)
79235 throw A.wrapException(A.StateError$(string$.CssNod));
79236 }
79237 root = _this._evaluate0$_trimIncluded$1(included);
79238 if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
79239 _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure6(_this, node), node.hasDeclarations, type$.Null);
79240 return null;
79241 }
79242 if (included.length !== 0) {
79243 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
79244 for (t1 = A.SubListIterable$(included, 1, null, type$.ModifiableCssParentNode_2), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
79245 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
79246 copy.addChild$1(outerCopy);
79247 }
79248 root.addChild$1(outerCopy);
79249 } else
79250 innerCopy = root;
79251 _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure7(_this, node));
79252 return null;
79253 },
79254 _evaluate0$_trimIncluded$1(nodes) {
79255 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
79256 _s22_ = " to be an ancestor of ";
79257 if (nodes.length === 0)
79258 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
79259 $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
79260 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
79261 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
79262 grandparent = $parent._node1$_parent;
79263 if (grandparent == null)
79264 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
79265 }
79266 if (innermostContiguous == null)
79267 innermostContiguous = i;
79268 grandparent = $parent._node1$_parent;
79269 if (grandparent == null)
79270 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
79271 }
79272 if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
79273 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
79274 innermostContiguous.toString;
79275 root = nodes[innermostContiguous];
79276 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
79277 return root;
79278 },
79279 _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
79280 var _this = this,
79281 scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
79282 t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
79283 if (t1 !== query.include)
79284 scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
79285 if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
79286 scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
79287 if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
79288 scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
79289 return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
79290 },
79291 visitContentBlock$1(node) {
79292 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
79293 },
79294 visitContentRule$1(node) {
79295 var $content = this._evaluate0$_environment._environment0$_content;
79296 if ($content == null)
79297 return null;
79298 this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
79299 return null;
79300 },
79301 visitDebugRule$1(node) {
79302 var value = node.expression.accept$1(this),
79303 t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
79304 this._evaluate0$_logger.debug$2(0, t1, node.span);
79305 return null;
79306 },
79307 visitDeclaration$1(node) {
79308 var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
79309 if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
79310 throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
79311 t1 = node.name;
79312 $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t1, true);
79313 t2 = _this._evaluate0$_declarationName;
79314 if (t2 != null)
79315 $name = new A.CssValue0(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
79316 t2 = node.value;
79317 cssValue = A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure3(_this));
79318 t3 = cssValue != null;
79319 if (t3)
79320 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
79321 else
79322 t4 = false;
79323 if (t4) {
79324 t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
79325 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
79326 if (_this._evaluate0$_sourceMap) {
79327 t2 = A.NullableExtension_andThen0(t2, _this.get$_evaluate0$_expressionNode());
79328 t2 = t2 == null ? _null : J.get$span$z(t2);
79329 } else
79330 t2 = _null;
79331 t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
79332 } else if (J.startsWith$1$s($name.value, "--") && t3)
79333 throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
79334 children = node.children;
79335 if (children != null) {
79336 oldDeclarationName = _this._evaluate0$_declarationName;
79337 _this._evaluate0$_declarationName = $name.value;
79338 _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure4(_this, children), node.hasDeclarations, type$.Null);
79339 _this._evaluate0$_declarationName = oldDeclarationName;
79340 }
79341 return _null;
79342 },
79343 visitEachRule$1(node) {
79344 var _this = this,
79345 t1 = node.list,
79346 list = t1.accept$1(_this),
79347 nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
79348 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure5(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure6(_this, node, nodeWithSpan);
79349 return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, setVariables, node), true, type$.nullable_Value_2);
79350 },
79351 _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
79352 var i,
79353 list = value.get$asList(),
79354 t1 = variables.length,
79355 minLength = Math.min(t1, list.length);
79356 for (i = 0; i < minLength; ++i)
79357 this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
79358 for (i = minLength; i < t1; ++i)
79359 this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
79360 },
79361 visitErrorRule$1(node) {
79362 throw A.wrapException(this._evaluate0$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
79363 },
79364 visitExtendRule$1(node) {
79365 var targetText, t1, t2, t3, _i, t4, _this = this,
79366 styleRule = _this._evaluate0$_atRootExcludingStyleRule ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
79367 if (styleRule == null || _this._evaluate0$_declarationName != null)
79368 throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
79369 targetText = _this._evaluate0$_interpolationToValue$2$warnForColor(node.selector, true);
79370 for (t1 = _this._evaluate0$_adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure1(_this, targetText)).components, t2 = t1.length, t3 = type$.CompoundSelector_2, _i = 0; _i < t2; ++_i) {
79371 t4 = t1[_i].components;
79372 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector0))
79373 throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.span));
79374 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
79375 if (t4.length !== 1)
79376 throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
79377 _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, _this._evaluate0$_mediaQueries);
79378 }
79379 return null;
79380 },
79381 visitAtRule$1(node) {
79382 var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
79383 if (_this._evaluate0$_declarationName != null)
79384 throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
79385 $name = _this._evaluate0$_interpolationToValue$1(node.name);
79386 value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
79387 children = node.children;
79388 if (children == null) {
79389 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
79390 return null;
79391 }
79392 wasInKeyframes = _this._evaluate0$_inKeyframes;
79393 wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
79394 if (A.unvendor0($name.value) === "keyframes")
79395 _this._evaluate0$_inKeyframes = true;
79396 else
79397 _this._evaluate0$_inUnknownAtRule = true;
79398 _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure6(_this, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure7(), type$.ModifiableCssAtRule_2, type$.Null);
79399 _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
79400 _this._evaluate0$_inKeyframes = wasInKeyframes;
79401 return null;
79402 },
79403 visitForRule$1(node) {
79404 var _this = this, t1 = {},
79405 t2 = node.from,
79406 fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
79407 t3 = node.to,
79408 toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
79409 from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
79410 to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
79411 direction = from > to ? -1 : 1;
79412 if (from === (!node.isExclusive ? t1.to = to + direction : to))
79413 return null;
79414 return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
79415 },
79416 visitForwardRule$1(node) {
79417 var newConfiguration, t4, _i, variable, $name, _this = this,
79418 _s8_ = "@forward",
79419 oldConfiguration = _this._evaluate0$_configuration,
79420 adjustedConfiguration = oldConfiguration.throughForward$1(node),
79421 t1 = node.configuration,
79422 t2 = t1.length,
79423 t3 = node.url;
79424 if (t2 !== 0) {
79425 newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
79426 _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
79427 t3 = type$.String;
79428 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
79429 for (_i = 0; _i < t2; ++_i) {
79430 variable = t1[_i];
79431 if (!variable.isGuarded)
79432 t4.add$1(0, variable.name);
79433 }
79434 _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
79435 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
79436 for (_i = 0; _i < t2; ++_i)
79437 t3.add$1(0, t1[_i].name);
79438 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) {
79439 $name = t2[_i];
79440 if (!t3.contains$1(0, $name))
79441 if (!t1.get$isEmpty(t1))
79442 t1.remove$1(0, $name);
79443 }
79444 _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
79445 } else {
79446 _this._evaluate0$_configuration = adjustedConfiguration;
79447 _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
79448 _this._evaluate0$_configuration = oldConfiguration;
79449 }
79450 return null;
79451 },
79452 _evaluate0$_addForwardConfiguration$2(configuration, node) {
79453 var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
79454 t1 = configuration._configuration$_values,
79455 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
79456 for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
79457 variable = t2[_i];
79458 if (variable.isGuarded) {
79459 t4 = variable.name;
79460 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
79461 if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
79462 newValues.$indexSet(0, t4, t5);
79463 continue;
79464 }
79465 }
79466 t4 = variable.expression;
79467 variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
79468 newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
79469 }
79470 if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
79471 return new A.ExplicitConfiguration0(node, newValues);
79472 else
79473 return new A.Configuration0(newValues);
79474 },
79475 _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
79476 var t1, t2, t3, t4, _i, $name;
79477 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) {
79478 $name = t2[_i];
79479 if (except.contains$1(0, $name))
79480 continue;
79481 if (!t4.containsKey$1($name))
79482 if (!t1.get$isEmpty(t1))
79483 t1.remove$1(0, $name);
79484 }
79485 },
79486 _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
79487 var t1, entry;
79488 if (!(configuration instanceof A.ExplicitConfiguration0))
79489 return;
79490 t1 = configuration._configuration$_values;
79491 if (t1.get$isEmpty(t1))
79492 return;
79493 t1 = t1.get$entries(t1);
79494 entry = t1.get$first(t1);
79495 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
79496 throw A.wrapException(this._evaluate0$_exception$2(t1, entry.value.configurationSpan));
79497 },
79498 _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
79499 return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
79500 },
79501 visitFunctionRule$1(node) {
79502 var t1 = this._evaluate0$_environment,
79503 t2 = t1.closure$0(),
79504 t3 = this._evaluate0$_inDependency,
79505 t4 = t1._environment0$_functions,
79506 index = t4.length - 1,
79507 t5 = node.name;
79508 t1._environment0$_functionIndices.$indexSet(0, t5, index);
79509 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
79510 return null;
79511 },
79512 visitIfRule$1(node) {
79513 var t1, t2, _i, clauseToCheck, _box_0 = {};
79514 _box_0.clause = node.lastClause;
79515 for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
79516 clauseToCheck = t1[_i];
79517 if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
79518 _box_0.clause = clauseToCheck;
79519 break;
79520 }
79521 }
79522 t1 = _box_0.clause;
79523 if (t1 == null)
79524 return null;
79525 return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure1(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value_2);
79526 },
79527 visitImportRule$1(node) {
79528 var t1, t2, t3, _i, $import;
79529 for (t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0; _i < t2; ++_i) {
79530 $import = t1[_i];
79531 if ($import instanceof A.DynamicImport0)
79532 this._evaluate0$_visitDynamicImport$1($import);
79533 else
79534 this._evaluate0$_visitStaticImport$1(t3._as($import));
79535 }
79536 return null;
79537 },
79538 _evaluate0$_visitDynamicImport$1($import) {
79539 return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
79540 },
79541 _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
79542 var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this;
79543 baseUrl = baseUrl;
79544 try {
79545 _this._evaluate0$_importSpan = span;
79546 importCache = _this._evaluate0$_importCache;
79547 if (importCache != null) {
79548 if (baseUrl == null)
79549 baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").span.file.url;
79550 tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
79551 if (tuple != null) {
79552 isDependency = _this._evaluate0$_inDependency || tuple.item1 !== _this._evaluate0$_importer;
79553 t1 = tuple.item1;
79554 t2 = tuple.item2;
79555 t3 = tuple.item3;
79556 t4 = _this._evaluate0$_quietDeps && isDependency;
79557 stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
79558 if (stylesheet != null) {
79559 _this._evaluate0$_loadedUrls.add$1(0, tuple.item2);
79560 t1 = tuple.item1;
79561 return new A._LoadedStylesheet1(stylesheet, t1, isDependency);
79562 }
79563 }
79564 } else {
79565 result = _this._evaluate0$_importLikeNode$2(url, forImport);
79566 if (result != null) {
79567 t1 = _this._evaluate0$_loadedUrls;
79568 A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
79569 return result;
79570 }
79571 }
79572 if (B.JSString_methods.startsWith$1(url, "package:") && true)
79573 throw A.wrapException(string$.x22packa);
79574 else
79575 throw A.wrapException("Can't find stylesheet to import.");
79576 } catch (exception) {
79577 t1 = A.unwrapException(exception);
79578 if (t1 instanceof A.SassException0) {
79579 error = t1;
79580 stackTrace = A.getTraceFromException(exception);
79581 t1 = error;
79582 t2 = J.getInterceptor$z(t1);
79583 A.throwWithTrace0(_this._evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
79584 } else {
79585 error0 = t1;
79586 stackTrace0 = A.getTraceFromException(exception);
79587 message = null;
79588 try {
79589 message = A._asString(J.get$message$x(error0));
79590 } catch (exception) {
79591 message0 = J.toString$0$(error0);
79592 message = message0;
79593 }
79594 A.throwWithTrace0(_this._evaluate0$_exception$1(message), stackTrace0);
79595 }
79596 } finally {
79597 _this._evaluate0$_importSpan = null;
79598 }
79599 },
79600 _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
79601 return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
79602 },
79603 _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
79604 return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
79605 },
79606 _evaluate0$_importLikeNode$2(originalUrl, forImport) {
79607 var result, isDependency, url, t2, _this = this,
79608 _s11_ = "_stylesheet",
79609 t1 = _this._evaluate0$_nodeImporter;
79610 t1.toString;
79611 result = t1.loadRelative$3(originalUrl, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url, forImport);
79612 if (result != null)
79613 isDependency = _this._evaluate0$_inDependency;
79614 else {
79615 result = t1.load$3(0, originalUrl, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url, forImport);
79616 if (result == null)
79617 return null;
79618 isDependency = true;
79619 }
79620 url = result.item2;
79621 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS0;
79622 t2 = _this._evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : _this._evaluate0$_logger;
79623 return new A._LoadedStylesheet1(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
79624 },
79625 _evaluate0$_visitStaticImport$1($import) {
79626 var t1, _this = this,
79627 _s8_ = "__parent",
79628 _s5_ = "_root",
79629 _s13_ = "_endOfImports",
79630 url = _this._evaluate0$_interpolationToValue$1($import.url),
79631 supports = A.NullableExtension_andThen0($import.supports, new A._EvaluateVisitor__visitStaticImport_closure1(_this)),
79632 node = A.ModifiableCssImport$0(url, $import.span, A.NullableExtension_andThen0($import.media, _this.get$_evaluate0$_visitMediaQueries()), supports);
79633 if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
79634 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
79635 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)) {
79636 _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(node);
79637 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
79638 } else {
79639 t1 = _this._evaluate0$_outOfOrderImports;
79640 (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
79641 }
79642 },
79643 visitIncludeRule$1(node) {
79644 var nodeWithSpan, t1, _this = this,
79645 _s37_ = "Mixin doesn't accept a content block.",
79646 mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure7(_this, node));
79647 if (mixin == null)
79648 throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", node.span));
79649 nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure8(node));
79650 if (mixin instanceof A.BuiltInCallable0) {
79651 if (node.content != null)
79652 throw A.wrapException(_this._evaluate0$_exception$2(_s37_, node.span));
79653 _this._evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
79654 } else if (type$.UserDefinedCallable_Environment_2._is(mixin)) {
79655 t1 = node.content;
79656 if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
79657 throw A.wrapException(A.MultiSpanSassRuntimeException$0(_s37_, node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(node.get$spanWithoutContent())));
79658 _this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure9(_this, A.NullableExtension_andThen0(t1, new A._EvaluateVisitor_visitIncludeRule_closure10(_this)), mixin, nodeWithSpan), type$.Null);
79659 } else
79660 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
79661 return null;
79662 },
79663 visitMixinRule$1(node) {
79664 var t1 = this._evaluate0$_environment,
79665 t2 = t1.closure$0(),
79666 t3 = this._evaluate0$_inDependency,
79667 t4 = t1._environment0$_mixins,
79668 index = t4.length - 1,
79669 t5 = node.name;
79670 t1._environment0$_mixinIndices.$indexSet(0, t5, index);
79671 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
79672 return null;
79673 },
79674 visitLoudComment$1(node) {
79675 var t1, _this = this,
79676 _s8_ = "__parent",
79677 _s13_ = "_endOfImports";
79678 if (_this._evaluate0$_inFunction)
79679 return null;
79680 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))
79681 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
79682 t1 = node.text;
79683 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(_this._evaluate0$_performInterpolation$1(t1), t1.span));
79684 return null;
79685 },
79686 visitMediaRule$1(node) {
79687 var queries, mergedQueries, t1, _this = this;
79688 if (_this._evaluate0$_declarationName != null)
79689 throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
79690 queries = _this._evaluate0$_visitMediaQueries$1(node.query);
79691 mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
79692 t1 = mergedQueries == null;
79693 if (!t1 && J.get$isEmpty$asx(mergedQueries))
79694 return null;
79695 t1 = t1 ? queries : mergedQueries;
79696 _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(t1, node.span), new A._EvaluateVisitor_visitMediaRule_closure6(_this, mergedQueries, queries, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure7(mergedQueries), type$.ModifiableCssMediaRule_2, type$.Null);
79697 return null;
79698 },
79699 _evaluate0$_visitMediaQueries$1(interpolation) {
79700 return this._evaluate0$_adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure1(this, this._evaluate0$_performInterpolation$2$warnForColor(interpolation, true)));
79701 },
79702 _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
79703 var t1, t2, t3, t4, t5, result,
79704 queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
79705 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
79706 t4 = t1.get$current(t1);
79707 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
79708 result = t4.merge$1(t5.get$current(t5));
79709 if (result === B._SingletonCssMediaQueryMergeResult_empty0)
79710 continue;
79711 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
79712 return null;
79713 queries.push(t3._as(result).query);
79714 }
79715 }
79716 return queries;
79717 },
79718 visitReturnRule$1(node) {
79719 var t1 = node.expression;
79720 return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
79721 },
79722 visitSilentComment$1(node) {
79723 return null;
79724 },
79725 visitStyleRule$1(node) {
79726 var t2, selectorText, rule, oldAtRootExcludingStyleRule, _this = this,
79727 _s8_ = "__parent",
79728 t1 = {};
79729 if (_this._evaluate0$_declarationName != null)
79730 throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
79731 t2 = node.selector;
79732 selectorText = _this._evaluate0$_interpolationToValue$3$trim$warnForColor(t2, true, true);
79733 if (_this._evaluate0$_inKeyframes) {
79734 _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable(_this._evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure13(_this, selectorText)), type$.String), t2.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure14(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure15(), type$.ModifiableCssKeyframeBlock_2, type$.Null);
79735 return null;
79736 }
79737 t1.parsedSelector = _this._evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure16(_this, selectorText));
79738 t1.parsedSelector = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure17(t1, _this));
79739 rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$3(t1.parsedSelector, t2.span, _this._evaluate0$_mediaQueries), node.span, t1.parsedSelector);
79740 oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
79741 t1 = _this._evaluate0$_atRootExcludingStyleRule = false;
79742 _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure18(_this, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure19(), type$.ModifiableCssStyleRule_2, type$.Null);
79743 _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
79744 if ((oldAtRootExcludingStyleRule ? null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
79745 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
79746 t1 = !t1.get$isEmpty(t1);
79747 }
79748 if (t1) {
79749 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
79750 t1.get$last(t1).isGroupEnd = true;
79751 }
79752 return null;
79753 },
79754 visitSupportsRule$1(node) {
79755 var t1, _this = this;
79756 if (_this._evaluate0$_declarationName != null)
79757 throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
79758 t1 = node.condition;
79759 _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);
79760 return null;
79761 },
79762 _evaluate0$_visitSupportsCondition$1(condition) {
79763 var t1, oldInSupportsDeclaration, t2, result, _this = this;
79764 if (condition instanceof A.SupportsOperation0) {
79765 t1 = condition.operator;
79766 return _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
79767 } else if (condition instanceof A.SupportsNegation0)
79768 return "not " + _this._evaluate0$_parenthesize$1(condition.condition);
79769 else if (condition instanceof A.SupportsInterpolation0) {
79770 t1 = condition.expression;
79771 return _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
79772 } else if (condition instanceof A.SupportsDeclaration0) {
79773 oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
79774 _this._evaluate0$_inSupportsDeclaration = true;
79775 t1 = condition.name;
79776 t1 = "(" + _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, true) + ":";
79777 t2 = condition.value;
79778 result = t1 + (condition.get$isCustomProperty() ? "" : " ") + _this._evaluate0$_serialize$3$quote(t2.accept$1(_this), t2, true) + ")";
79779 _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
79780 return result;
79781 } else if (condition instanceof A.SupportsFunction0)
79782 return _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
79783 else if (condition instanceof A.SupportsAnything0)
79784 return "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
79785 else
79786 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
79787 },
79788 _evaluate0$_parenthesize$2(condition, operator) {
79789 var t1;
79790 if (!(condition instanceof A.SupportsNegation0))
79791 if (condition instanceof A.SupportsOperation0)
79792 t1 = operator == null || operator !== condition.operator;
79793 else
79794 t1 = false;
79795 else
79796 t1 = true;
79797 if (t1)
79798 return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
79799 else
79800 return this._evaluate0$_visitSupportsCondition$1(condition);
79801 },
79802 _evaluate0$_parenthesize$1(condition) {
79803 return this._evaluate0$_parenthesize$2(condition, null);
79804 },
79805 visitVariableDeclaration$1(node) {
79806 var t1, value, _this = this, _null = null;
79807 if (node.isGuarded) {
79808 if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
79809 t1 = _this._evaluate0$_configuration._configuration$_values;
79810 t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
79811 if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
79812 _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(_this, node, t1));
79813 return _null;
79814 }
79815 }
79816 value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
79817 if (value != null && !value.$eq(0, B.C__SassNull0))
79818 return _null;
79819 }
79820 if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
79821 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.";
79822 _this._evaluate0$_warn$3$deprecation(t1, node.span, true);
79823 }
79824 t1 = node.expression;
79825 _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
79826 return _null;
79827 },
79828 visitUseRule$1(node) {
79829 var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
79830 t1 = node.configuration,
79831 t2 = t1.length;
79832 if (t2 !== 0) {
79833 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
79834 for (_i = 0; _i < t2; ++_i) {
79835 variable = t1[_i];
79836 t3 = variable.expression;
79837 variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
79838 values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
79839 }
79840 configuration = new A.ExplicitConfiguration0(node, values);
79841 } else
79842 configuration = B.Configuration_Map_empty0;
79843 _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
79844 _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
79845 return null;
79846 },
79847 visitWarnRule$1(node) {
79848 var _this = this,
79849 value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
79850 t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression);
79851 _this._evaluate0$_logger.warn$2$trace(0, t1, _this._evaluate0$_stackTrace$1(node.span));
79852 return null;
79853 },
79854 visitWhileRule$1(node) {
79855 return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
79856 },
79857 visitBinaryOperationExpression$1(node) {
79858 return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(this, node));
79859 },
79860 visitValueExpression$1(node) {
79861 return node.value;
79862 },
79863 visitVariableExpression$1(node) {
79864 var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
79865 if (result != null)
79866 return result;
79867 throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
79868 },
79869 visitUnaryOperationExpression$1(node) {
79870 return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
79871 },
79872 visitBooleanExpression$1(node) {
79873 return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
79874 },
79875 visitIfExpression$1(node) {
79876 var condition, t2, ifTrue, ifFalse, result, _this = this,
79877 pair = _this._evaluate0$_evaluateMacroArguments$1(node),
79878 positional = pair.item1,
79879 named = pair.item2,
79880 t1 = J.getInterceptor$asx(positional);
79881 _this._evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
79882 if (t1.get$length(positional) > 0)
79883 condition = t1.$index(positional, 0);
79884 else {
79885 t2 = named.$index(0, "condition");
79886 t2.toString;
79887 condition = t2;
79888 }
79889 if (t1.get$length(positional) > 1)
79890 ifTrue = t1.$index(positional, 1);
79891 else {
79892 t2 = named.$index(0, "if-true");
79893 t2.toString;
79894 ifTrue = t2;
79895 }
79896 if (t1.get$length(positional) > 2)
79897 ifFalse = t1.$index(positional, 2);
79898 else {
79899 t1 = named.$index(0, "if-false");
79900 t1.toString;
79901 ifFalse = t1;
79902 }
79903 result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
79904 return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
79905 },
79906 visitNullExpression$1(node) {
79907 return B.C__SassNull0;
79908 },
79909 visitNumberExpression$1(node) {
79910 var t1 = node.value,
79911 t2 = node.unit;
79912 return t2 == null ? new A.UnitlessSassNumber0(t1, null) : new A.SingleUnitSassNumber0(t2, t1, null);
79913 },
79914 visitParenthesizedExpression$1(node) {
79915 return node.expression.accept$1(this);
79916 },
79917 visitCalculationExpression$1(node) {
79918 var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
79919 t1 = A._setArrayType([], type$.JSArray_Object);
79920 for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
79921 argument = t2[_i];
79922 t1.push(_this._evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6));
79923 }
79924 $arguments = t1;
79925 if (_this._evaluate0$_inSupportsDeclaration)
79926 return new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
79927 try {
79928 switch (t4) {
79929 case "calc":
79930 t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
79931 return t1;
79932 case "min":
79933 t1 = A.SassCalculation_min0($arguments);
79934 return t1;
79935 case "max":
79936 t1 = A.SassCalculation_max0($arguments);
79937 return t1;
79938 case "clamp":
79939 t1 = J.$index$asx($arguments, 0);
79940 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
79941 t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
79942 return t1;
79943 default:
79944 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
79945 throw A.wrapException(t1);
79946 }
79947 } catch (exception) {
79948 t1 = A.unwrapException(exception);
79949 if (t1 instanceof A.SassScriptException0) {
79950 error = t1;
79951 stackTrace = A.getTraceFromException(exception);
79952 _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
79953 A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), stackTrace);
79954 } else
79955 throw exception;
79956 }
79957 },
79958 _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
79959 var i, t1, arg, number1, j, number2;
79960 for (i = 0; t1 = args.length, i < t1; ++i) {
79961 arg = args[i];
79962 if (!(arg instanceof A.SassNumber0))
79963 continue;
79964 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
79965 throw A.wrapException(this._evaluate0$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
79966 }
79967 for (i = 0; i < t1 - 1; ++i) {
79968 number1 = args[i];
79969 if (!(number1 instanceof A.SassNumber0))
79970 continue;
79971 for (j = i + 1; t1 = args.length, j < t1; ++j) {
79972 number2 = args[j];
79973 if (!(number2 instanceof A.SassNumber0))
79974 continue;
79975 if (number1.hasPossiblyCompatibleUnits$1(number2))
79976 continue;
79977 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]))));
79978 }
79979 }
79980 },
79981 _evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
79982 var inner, result, t1, _this = this;
79983 if (node instanceof A.ParenthesizedExpression0) {
79984 inner = node.expression;
79985 result = _this._evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax);
79986 if (inner instanceof A.FunctionExpression0)
79987 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
79988 else
79989 t1 = false;
79990 return t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
79991 } else if (node instanceof A.StringExpression0)
79992 return new A.CalculationInterpolation0(_this._evaluate0$_performInterpolation$1(node.text));
79993 else if (node instanceof A.BinaryOperationExpression0)
79994 return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure1(_this, node, inMinMax));
79995 else {
79996 result = node.accept$1(_this);
79997 if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0)
79998 return result;
79999 if (result instanceof A.SassString0 && !result._string0$_hasQuotes)
80000 return result;
80001 throw A.wrapException(_this._evaluate0$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
80002 }
80003 },
80004 _evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
80005 switch (operator) {
80006 case B.BinaryOperator_AcR2:
80007 return B.CalculationOperator_Iem0;
80008 case B.BinaryOperator_iyO0:
80009 return B.CalculationOperator_uti0;
80010 case B.BinaryOperator_O1M0:
80011 return B.CalculationOperator_Dih0;
80012 case B.BinaryOperator_RTB0:
80013 return B.CalculationOperator_jB60;
80014 default:
80015 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
80016 }
80017 },
80018 visitColorExpression$1(node) {
80019 return node.value;
80020 },
80021 visitListExpression$1(node) {
80022 var t1 = node.contents;
80023 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);
80024 },
80025 visitMapExpression$1(node) {
80026 var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
80027 t1 = type$.Value_2,
80028 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
80029 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
80030 for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
80031 pair = t2[_i];
80032 t4 = pair.item1;
80033 keyValue = t4.accept$1(this);
80034 valueValue = pair.item2.accept$1(this);
80035 if (map.$index(0, keyValue) != null) {
80036 t1 = keyNodes.$index(0, keyValue);
80037 oldValueSpan = t1 == null ? null : t1.get$span(t1);
80038 t1 = J.getInterceptor$z(t4);
80039 t2 = t1.get$span(t4);
80040 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
80041 if (oldValueSpan != null)
80042 t3.$indexSet(0, oldValueSpan, "first key");
80043 throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, this._evaluate0$_stackTrace$1(t1.get$span(t4))));
80044 }
80045 map.$indexSet(0, keyValue, valueValue);
80046 keyNodes.$indexSet(0, keyValue, t4);
80047 }
80048 return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
80049 },
80050 visitFunctionExpression$1(node) {
80051 var oldInFunction, result, _this = this, t1 = {},
80052 $function = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure3(_this, node));
80053 t1.$function = $function;
80054 if ($function == null) {
80055 if (node.namespace != null)
80056 throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
80057 t1.$function = new A.PlainCssCallable0(node.originalName);
80058 }
80059 oldInFunction = _this._evaluate0$_inFunction;
80060 _this._evaluate0$_inFunction = true;
80061 result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure4(t1, _this, node));
80062 _this._evaluate0$_inFunction = oldInFunction;
80063 return result;
80064 },
80065 visitInterpolatedFunctionExpression$1(node) {
80066 var result, _this = this,
80067 t1 = _this._evaluate0$_performInterpolation$1(node.name),
80068 oldInFunction = _this._evaluate0$_inFunction;
80069 _this._evaluate0$_inFunction = true;
80070 result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
80071 _this._evaluate0$_inFunction = oldInFunction;
80072 return result;
80073 },
80074 _evaluate0$_getFunction$2$namespace($name, namespace) {
80075 var local = this._evaluate0$_environment.getFunction$2$namespace($name, namespace);
80076 if (local != null || namespace != null)
80077 return local;
80078 return this._evaluate0$_builtInFunctions.$index(0, $name);
80079 },
80080 _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
80081 var oldCallable, result, _this = this,
80082 evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
80083 $name = callable.declaration.name;
80084 if ($name !== "@content")
80085 $name += "()";
80086 oldCallable = _this._evaluate0$_currentCallable;
80087 _this._evaluate0$_currentCallable = callable;
80088 result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
80089 _this._evaluate0$_currentCallable = oldCallable;
80090 return result;
80091 },
80092 _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
80093 var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
80094 if (callable instanceof A.BuiltInCallable0)
80095 return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
80096 else if (type$.UserDefinedCallable_Environment_2._is(callable))
80097 return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
80098 else if (callable instanceof A.PlainCssCallable0) {
80099 t1 = $arguments.named;
80100 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
80101 throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
80102 t1 = callable.name + "(";
80103 for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
80104 argument = t2[_i];
80105 if (first)
80106 first = false;
80107 else
80108 t1 += ", ";
80109 t1 += _this._evaluate0$_serialize$3$quote(argument.accept$1(_this), argument, true);
80110 }
80111 restArg = $arguments.rest;
80112 if (restArg != null) {
80113 rest = restArg.accept$1(_this);
80114 if (!first)
80115 t1 += ", ";
80116 t1 += _this._evaluate0$_serialize$2(rest, restArg);
80117 }
80118 t1 += A.Primitives_stringFromCharCode(41);
80119 return new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
80120 } else
80121 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
80122 },
80123 _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
80124 var callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, _this = this,
80125 evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
80126 oldCallableNode = _this._evaluate0$_callableNode;
80127 _this._evaluate0$_callableNode = nodeWithSpan;
80128 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
80129 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
80130 overload = tuple.item1;
80131 callback = tuple.item2;
80132 _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(overload, evaluated, namedSet));
80133 declaredArguments = overload.$arguments;
80134 for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
80135 argument = declaredArguments[i];
80136 t2 = evaluated.positional;
80137 t3 = evaluated.named.remove$1(0, argument.name);
80138 if (t3 == null) {
80139 t3 = argument.defaultValue;
80140 t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
80141 }
80142 t2.push(t3);
80143 }
80144 if (overload.restArgument != null) {
80145 if (evaluated.positional.length > t1) {
80146 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
80147 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
80148 } else
80149 rest = B.List_empty15;
80150 t1 = evaluated.named;
80151 argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : evaluated.separator);
80152 evaluated.positional.push(argumentList);
80153 } else
80154 argumentList = null;
80155 result = null;
80156 try {
80157 result = callback.call$1(evaluated.positional);
80158 } catch (exception) {
80159 t1 = A.unwrapException(exception);
80160 if (type$.SassRuntimeException_2._is(t1))
80161 throw exception;
80162 else if (t1 instanceof A.MultiSpanSassScriptException0) {
80163 error = t1;
80164 stackTrace = A.getTraceFromException(exception);
80165 t1 = error.message;
80166 t2 = nodeWithSpan.get$span(nodeWithSpan);
80167 t3 = error.primaryLabel;
80168 t4 = error.secondarySpans;
80169 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(_this._evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
80170 } else if (t1 instanceof A.MultiSpanSassException0) {
80171 error0 = t1;
80172 stackTrace0 = A.getTraceFromException(exception);
80173 t1 = error0._span_exception$_message;
80174 t2 = error0;
80175 t3 = J.getInterceptor$z(t2);
80176 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
80177 t3 = error0.primaryLabel;
80178 t4 = error0.secondarySpans;
80179 t5 = error0;
80180 t6 = J.getInterceptor$z(t5);
80181 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(_this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
80182 } else {
80183 error1 = t1;
80184 stackTrace1 = A.getTraceFromException(exception);
80185 message = null;
80186 try {
80187 message = A._asString(J.get$message$x(error1));
80188 } catch (exception) {
80189 message0 = J.toString$0$(error1);
80190 message = message0;
80191 }
80192 A.throwWithTrace0(_this._evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
80193 }
80194 }
80195 _this._evaluate0$_callableNode = oldCallableNode;
80196 if (argumentList == null)
80197 return result;
80198 t1 = evaluated.named;
80199 if (t1.get$isEmpty(t1))
80200 return result;
80201 if (argumentList._argument_list$_wereKeywordsAccessed)
80202 return result;
80203 t1 = evaluated.named;
80204 t1 = t1.get$keys(t1);
80205 t1 = "No " + A.pluralize0("argument", t1.get$length(t1), null) + " named ";
80206 t2 = evaluated.named;
80207 throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + A.S(A.toSentence0(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure4(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
80208 },
80209 _evaluate0$_evaluateArguments$1($arguments) {
80210 var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
80211 positional = A._setArrayType([], type$.JSArray_Value_2),
80212 positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
80213 for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
80214 expression = t1[_i];
80215 nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
80216 positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
80217 positionalNodes.push(nodeForSpan);
80218 }
80219 t1 = type$.String;
80220 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
80221 t2 = type$.AstNode_2;
80222 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
80223 for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
80224 t4 = t3.get$current(t3);
80225 t5 = t4.value;
80226 nodeForSpan = _this._evaluate0$_expressionNode$1(t5);
80227 t4 = t4.key;
80228 named.$indexSet(0, t4, _this._evaluate0$_withoutSlash$2(t5.accept$1(_this), nodeForSpan));
80229 namedNodes.$indexSet(0, t4, nodeForSpan);
80230 }
80231 restArgs = $arguments.rest;
80232 if (restArgs == null)
80233 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null0);
80234 rest = restArgs.accept$1(_this);
80235 restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
80236 if (rest instanceof A.SassMap0) {
80237 _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
80238 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
80239 for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
80240 t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
80241 namedNodes.addAll$1(0, t3);
80242 separator = B.ListSeparator_undecided_null0;
80243 } else if (rest instanceof A.SassList0) {
80244 t3 = rest._list1$_contents;
80245 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>")));
80246 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
80247 separator = rest._list1$_separator;
80248 if (rest instanceof A.SassArgumentList0) {
80249 rest._argument_list$_wereKeywordsAccessed = true;
80250 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
80251 }
80252 } else {
80253 positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
80254 positionalNodes.push(restNodeForSpan);
80255 separator = B.ListSeparator_undecided_null0;
80256 }
80257 keywordRestArgs = $arguments.keywordRest;
80258 if (keywordRestArgs == null)
80259 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
80260 keywordRest = keywordRestArgs.accept$1(_this);
80261 keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
80262 if (keywordRest instanceof A.SassMap0) {
80263 _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
80264 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
80265 for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
80266 t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
80267 namedNodes.addAll$1(0, t1);
80268 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
80269 } else
80270 throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
80271 },
80272 _evaluate0$_evaluateMacroArguments$1(invocation) {
80273 var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
80274 t1 = invocation.$arguments,
80275 restArgs_ = t1.rest;
80276 if (restArgs_ == null)
80277 return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80278 t2 = t1.positional;
80279 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
80280 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
80281 rest = restArgs_.accept$1(_this);
80282 restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
80283 if (rest instanceof A.SassMap0)
80284 _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
80285 else if (rest instanceof A.SassList0) {
80286 t2 = rest._list1$_contents;
80287 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>")));
80288 if (rest instanceof A.SassArgumentList0) {
80289 rest._argument_list$_wereKeywordsAccessed = true;
80290 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
80291 }
80292 } else
80293 positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
80294 keywordRestArgs_ = t1.keywordRest;
80295 if (keywordRestArgs_ == null)
80296 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80297 keywordRest = keywordRestArgs_.accept$1(_this);
80298 keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
80299 if (keywordRest instanceof A.SassMap0) {
80300 _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
80301 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80302 } else
80303 throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
80304 },
80305 _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
80306 map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
80307 },
80308 _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
80309 return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
80310 },
80311 _evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
80312 return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1($arguments, positional, named));
80313 },
80314 visitSelectorExpression$1(node) {
80315 var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
80316 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
80317 return t1 == null ? B.C__SassNull0 : t1;
80318 },
80319 visitStringExpression$1(node) {
80320 var t1, _this = this,
80321 oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
80322 _this._evaluate0$_inSupportsDeclaration = false;
80323 t1 = node.text.contents;
80324 t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure1(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
80325 _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
80326 return new A.SassString0(t1, node.hasQuotes);
80327 },
80328 visitCssAtRule$1(node) {
80329 var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
80330 if (_this._evaluate0$_declarationName != null)
80331 throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
80332 if (node.isChildless) {
80333 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
80334 return;
80335 }
80336 wasInKeyframes = _this._evaluate0$_inKeyframes;
80337 wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
80338 t1 = node.name;
80339 if (A.unvendor0(t1.get$value(t1)) === "keyframes")
80340 _this._evaluate0$_inKeyframes = true;
80341 else
80342 _this._evaluate0$_inUnknownAtRule = true;
80343 _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);
80344 _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
80345 _this._evaluate0$_inKeyframes = wasInKeyframes;
80346 },
80347 visitCssComment$1(node) {
80348 var _this = this,
80349 _s8_ = "__parent",
80350 _s13_ = "_endOfImports";
80351 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))
80352 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
80353 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
80354 },
80355 visitCssDeclaration$1(node) {
80356 var t1 = node.name;
80357 this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(t1, node.value, node.span, J.startsWith$1$s(t1.get$value(t1), "--"), node.valueSpanForMap));
80358 },
80359 visitCssImport$1(node) {
80360 var t1, _this = this,
80361 _s8_ = "__parent",
80362 _s5_ = "_root",
80363 _s13_ = "_endOfImports",
80364 modifiableNode = A.ModifiableCssImport$0(node.url, node.span, node.media, node.supports);
80365 if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
80366 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
80367 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)) {
80368 _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
80369 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
80370 } else {
80371 t1 = _this._evaluate0$_outOfOrderImports;
80372 (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
80373 }
80374 },
80375 visitCssKeyframeBlock$1(node) {
80376 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);
80377 },
80378 visitCssMediaRule$1(node) {
80379 var mergedQueries, t1, _this = this;
80380 if (_this._evaluate0$_declarationName != null)
80381 throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
80382 mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
80383 t1 = mergedQueries == null;
80384 if (!t1 && J.get$isEmpty$asx(mergedQueries))
80385 return;
80386 t1 = t1 ? node.queries : mergedQueries;
80387 _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(t1, node.span), new A._EvaluateVisitor_visitCssMediaRule_closure6(_this, mergedQueries, node), false, new A._EvaluateVisitor_visitCssMediaRule_closure7(mergedQueries), type$.ModifiableCssMediaRule_2, type$.Null);
80388 },
80389 visitCssStyleRule$1(node) {
80390 var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
80391 _s8_ = "__parent";
80392 if (_this._evaluate0$_declarationName != null)
80393 throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
80394 t1 = _this._evaluate0$_atRootExcludingStyleRule;
80395 styleRule = t1 ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
80396 t2 = node.selector;
80397 t3 = t2.value;
80398 t4 = styleRule == null;
80399 t5 = t4 ? null : styleRule.originalSelector;
80400 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
80401 rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._evaluate0$_mediaQueries), node.span, originalSelector);
80402 oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
80403 _this._evaluate0$_atRootExcludingStyleRule = false;
80404 _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure3(_this, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure4(), type$.ModifiableCssStyleRule_2, type$.Null);
80405 _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
80406 if (t4) {
80407 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80408 t1 = !t1.get$isEmpty(t1);
80409 } else
80410 t1 = false;
80411 if (t1) {
80412 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80413 t1.get$last(t1).isGroupEnd = true;
80414 }
80415 },
80416 visitCssStylesheet$1(node) {
80417 var t1;
80418 for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
80419 t1.get$current(t1).accept$1(this);
80420 },
80421 visitCssSupportsRule$1(node) {
80422 var _this = this;
80423 if (_this._evaluate0$_declarationName != null)
80424 throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
80425 _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);
80426 },
80427 _evaluate0$_handleReturn$1$2(list, callback) {
80428 var t1, _i, result;
80429 for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
80430 result = callback.call$1(list[_i]);
80431 if (result != null)
80432 return result;
80433 }
80434 return null;
80435 },
80436 _evaluate0$_handleReturn$2(list, callback) {
80437 return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
80438 },
80439 _evaluate0$_withEnvironment$1$2(environment, callback) {
80440 var result,
80441 oldEnvironment = this._evaluate0$_environment;
80442 this._evaluate0$_environment = environment;
80443 result = callback.call$0();
80444 this._evaluate0$_environment = oldEnvironment;
80445 return result;
80446 },
80447 _evaluate0$_withEnvironment$2(environment, callback) {
80448 return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
80449 },
80450 _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
80451 var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
80452 t1 = trim ? A.trimAscii0(result, true) : result;
80453 return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
80454 },
80455 _evaluate0$_interpolationToValue$1(interpolation) {
80456 return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
80457 },
80458 _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
80459 return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
80460 },
80461 _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
80462 var t1, result, _this = this,
80463 oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
80464 _this._evaluate0$_inSupportsDeclaration = false;
80465 t1 = interpolation.contents;
80466 result = new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure1(_this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
80467 _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
80468 return result;
80469 },
80470 _evaluate0$_performInterpolation$1(interpolation) {
80471 return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
80472 },
80473 _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
80474 return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
80475 },
80476 _evaluate0$_serialize$2(value, nodeWithSpan) {
80477 return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
80478 },
80479 _evaluate0$_expressionNode$1(expression) {
80480 var t1;
80481 if (expression instanceof A.VariableExpression0) {
80482 t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
80483 return t1 == null ? expression : t1;
80484 } else
80485 return expression;
80486 },
80487 _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
80488 var t1, result, _this = this;
80489 _this._evaluate0$_addChild$2$through(node, through);
80490 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
80491 _this._evaluate0$__parent = node;
80492 result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
80493 _this._evaluate0$__parent = t1;
80494 return result;
80495 },
80496 _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
80497 return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
80498 },
80499 _evaluate0$_withParent$2$2(node, callback, $S, $T) {
80500 return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
80501 },
80502 _evaluate0$_addChild$2$through(node, through) {
80503 var grandparent, t1,
80504 $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
80505 if (through != null) {
80506 for (; through.call$1($parent); $parent = grandparent) {
80507 grandparent = $parent._node1$_parent;
80508 if (grandparent == null)
80509 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
80510 }
80511 if ($parent.get$hasFollowingSibling()) {
80512 t1 = $parent._node1$_parent;
80513 t1.toString;
80514 $parent = $parent.copyWithoutChildren$0();
80515 t1.addChild$1($parent);
80516 }
80517 }
80518 $parent.addChild$1(node);
80519 },
80520 _evaluate0$_addChild$1(node) {
80521 return this._evaluate0$_addChild$2$through(node, null);
80522 },
80523 _evaluate0$_withStyleRule$1$2(rule, callback) {
80524 var result,
80525 oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
80526 this._evaluate0$_styleRuleIgnoringAtRoot = rule;
80527 result = callback.call$0();
80528 this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
80529 return result;
80530 },
80531 _evaluate0$_withStyleRule$2(rule, callback) {
80532 return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
80533 },
80534 _evaluate0$_withMediaQueries$1$2(queries, callback) {
80535 var result,
80536 oldMediaQueries = this._evaluate0$_mediaQueries;
80537 this._evaluate0$_mediaQueries = queries;
80538 result = callback.call$0();
80539 this._evaluate0$_mediaQueries = oldMediaQueries;
80540 return result;
80541 },
80542 _evaluate0$_withMediaQueries$2(queries, callback) {
80543 return this._evaluate0$_withMediaQueries$1$2(queries, callback, type$.dynamic);
80544 },
80545 _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
80546 var oldMember, result, _this = this,
80547 t1 = _this._evaluate0$_stack;
80548 t1.push(new A.Tuple2(_this._evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
80549 oldMember = _this._evaluate0$_member;
80550 _this._evaluate0$_member = member;
80551 result = callback.call$0();
80552 _this._evaluate0$_member = oldMember;
80553 t1.pop();
80554 return result;
80555 },
80556 _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
80557 return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
80558 },
80559 _evaluate0$_withoutSlash$2(value, nodeForSpan) {
80560 if (value instanceof A.SassNumber0 && value.asSlash != null)
80561 this._evaluate0$_warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation1().call$1(value)) + string$.x0a_More, nodeForSpan.get$span(nodeForSpan), true);
80562 return value.withoutSlash$0();
80563 },
80564 _evaluate0$_stackFrame$2(member, span) {
80565 return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.file.url, new A._EvaluateVisitor__stackFrame_closure1(this)));
80566 },
80567 _evaluate0$_stackTrace$1(span) {
80568 var _this = this,
80569 t1 = _this._evaluate0$_stack;
80570 t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure1(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
80571 if (span != null)
80572 t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
80573 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
80574 },
80575 _evaluate0$_stackTrace$0() {
80576 return this._evaluate0$_stackTrace$1(null);
80577 },
80578 _evaluate0$_warn$3$deprecation(message, span, deprecation) {
80579 var t1, _this = this;
80580 if (_this._evaluate0$_quietDeps)
80581 if (!_this._evaluate0$_inDependency) {
80582 t1 = _this._evaluate0$_currentCallable;
80583 t1 = t1 == null ? null : t1.inDependency;
80584 t1 = t1 === true;
80585 } else
80586 t1 = true;
80587 else
80588 t1 = false;
80589 if (t1)
80590 return;
80591 if (!_this._evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
80592 return;
80593 _this._evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate0$_stackTrace$1(span));
80594 },
80595 _evaluate0$_warn$2(message, span) {
80596 return this._evaluate0$_warn$3$deprecation(message, span, false);
80597 },
80598 _evaluate0$_exception$2(message, span) {
80599 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2) : span;
80600 return new A.SassRuntimeException0(this._evaluate0$_stackTrace$1(span), message, t1);
80601 },
80602 _evaluate0$_exception$1(message) {
80603 return this._evaluate0$_exception$2(message, null);
80604 },
80605 _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
80606 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2);
80607 return new A.MultiSpanSassRuntimeException0(this._evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
80608 },
80609 _evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
80610 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
80611 try {
80612 t1 = callback.call$0();
80613 return t1;
80614 } catch (exception) {
80615 t1 = A.unwrapException(exception);
80616 if (t1 instanceof A.SassFormatException0) {
80617 error = t1;
80618 stackTrace = A.getTraceFromException(exception);
80619 t1 = error;
80620 t2 = J.getInterceptor$z(t1);
80621 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
80622 span = nodeWithSpan.get$span(nodeWithSpan);
80623 t1 = span;
80624 t2 = span;
80625 syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, 0, _null), 0, _null), A.FileLocation$_(t1.file, t1._file$_start).offset, A.FileLocation$_(t2.file, t2._end).offset, errorText);
80626 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
80627 t1 = span;
80628 t1 = A.FileLocation$_(t1.file, t1._file$_start);
80629 t3 = error;
80630 t4 = J.getInterceptor$z(t3);
80631 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
80632 t3 = A.FileLocation$_(t3.file, t3._file$_start);
80633 t4 = span;
80634 t4 = A.FileLocation$_(t4.file, t4._file$_start);
80635 t5 = error;
80636 t6 = J.getInterceptor$z(t5);
80637 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
80638 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
80639 A.throwWithTrace0(this._evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
80640 } else
80641 throw exception;
80642 }
80643 },
80644 _evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
80645 return this._evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
80646 },
80647 _evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
80648 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
80649 try {
80650 t1 = callback.call$0();
80651 return t1;
80652 } catch (exception) {
80653 t1 = A.unwrapException(exception);
80654 if (t1 instanceof A.MultiSpanSassScriptException0) {
80655 error = t1;
80656 stackTrace = A.getTraceFromException(exception);
80657 t1 = error.message;
80658 t2 = nodeWithSpan.get$span(nodeWithSpan);
80659 t3 = error.primaryLabel;
80660 t4 = error.secondarySpans;
80661 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(this._evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
80662 } else if (t1 instanceof A.SassScriptException0) {
80663 error0 = t1;
80664 stackTrace0 = A.getTraceFromException(exception);
80665 A.throwWithTrace0(this._evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
80666 } else
80667 throw exception;
80668 }
80669 },
80670 _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
80671 return this._evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
80672 },
80673 _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
80674 var error, stackTrace, t1, exception, t2;
80675 try {
80676 t1 = callback.call$0();
80677 return t1;
80678 } catch (exception) {
80679 t1 = A.unwrapException(exception);
80680 if (type$.SassRuntimeException_2._is(t1)) {
80681 error = t1;
80682 stackTrace = A.getTraceFromException(exception);
80683 t1 = J.get$span$z(error);
80684 if (!B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null), "@error"))
80685 throw exception;
80686 t1 = error._span_exception$_message;
80687 t2 = nodeWithSpan.get$span(nodeWithSpan);
80688 A.throwWithTrace0(new A.SassRuntimeException0(this._evaluate0$_stackTrace$0(), t1, t2), stackTrace);
80689 } else
80690 throw exception;
80691 }
80692 },
80693 _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
80694 return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
80695 }
80696 };
80697 A._EvaluateVisitor_closure19.prototype = {
80698 call$1($arguments) {
80699 var module, t2,
80700 t1 = J.getInterceptor$asx($arguments),
80701 variable = t1.$index($arguments, 0).assertString$1("name");
80702 t1 = t1.$index($arguments, 1).get$realNull();
80703 module = t1 == null ? null : t1.assertString$1("module");
80704 t1 = this.$this._evaluate0$_environment;
80705 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
80706 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
80707 },
80708 $signature: 20
80709 };
80710 A._EvaluateVisitor_closure20.prototype = {
80711 call$1($arguments) {
80712 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
80713 t1 = this.$this._evaluate0$_environment;
80714 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
80715 },
80716 $signature: 20
80717 };
80718 A._EvaluateVisitor_closure21.prototype = {
80719 call$1($arguments) {
80720 var module, t2, t3, t4,
80721 t1 = J.getInterceptor$asx($arguments),
80722 variable = t1.$index($arguments, 0).assertString$1("name");
80723 t1 = t1.$index($arguments, 1).get$realNull();
80724 module = t1 == null ? null : t1.assertString$1("module");
80725 t1 = this.$this;
80726 t2 = t1._evaluate0$_environment;
80727 t3 = variable._string0$_text;
80728 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
80729 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;
80730 },
80731 $signature: 20
80732 };
80733 A._EvaluateVisitor_closure22.prototype = {
80734 call$1($arguments) {
80735 var module, t2,
80736 t1 = J.getInterceptor$asx($arguments),
80737 variable = t1.$index($arguments, 0).assertString$1("name");
80738 t1 = t1.$index($arguments, 1).get$realNull();
80739 module = t1 == null ? null : t1.assertString$1("module");
80740 t1 = this.$this._evaluate0$_environment;
80741 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
80742 return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
80743 },
80744 $signature: 20
80745 };
80746 A._EvaluateVisitor_closure23.prototype = {
80747 call$1($arguments) {
80748 var t1 = this.$this._evaluate0$_environment;
80749 if (!t1._environment0$_inMixin)
80750 throw A.wrapException(A.SassScriptException$0(string$.conten));
80751 return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
80752 },
80753 $signature: 20
80754 };
80755 A._EvaluateVisitor_closure24.prototype = {
80756 call$1($arguments) {
80757 var t2, t3, t4,
80758 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
80759 module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
80760 if (module == null)
80761 throw A.wrapException('There is no module with namespace "' + t1 + '".');
80762 t1 = type$.Value_2;
80763 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
80764 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
80765 t4 = t3.get$current(t3);
80766 t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
80767 }
80768 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
80769 },
80770 $signature: 37
80771 };
80772 A._EvaluateVisitor_closure25.prototype = {
80773 call$1($arguments) {
80774 var t2, t3, t4,
80775 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
80776 module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
80777 if (module == null)
80778 throw A.wrapException('There is no module with namespace "' + t1 + '".');
80779 t1 = type$.Value_2;
80780 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
80781 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
80782 t4 = t3.get$current(t3);
80783 t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
80784 }
80785 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
80786 },
80787 $signature: 37
80788 };
80789 A._EvaluateVisitor_closure26.prototype = {
80790 call$1($arguments) {
80791 var module, callable, t2,
80792 t1 = J.getInterceptor$asx($arguments),
80793 $name = t1.$index($arguments, 0).assertString$1("name"),
80794 css = t1.$index($arguments, 1).get$isTruthy();
80795 t1 = t1.$index($arguments, 2).get$realNull();
80796 module = t1 == null ? null : t1.assertString$1("module");
80797 if (css && module != null)
80798 throw A.wrapException(string$.x24css_a);
80799 if (css)
80800 callable = new A.PlainCssCallable0($name._string0$_text);
80801 else {
80802 t1 = this.$this;
80803 t2 = t1._evaluate0$_callableNode;
80804 t2.toString;
80805 callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure7(t1, $name, module));
80806 }
80807 if (callable != null)
80808 return new A.SassFunction0(callable);
80809 throw A.wrapException("Function not found: " + $name.toString$0(0));
80810 },
80811 $signature: 161
80812 };
80813 A._EvaluateVisitor__closure7.prototype = {
80814 call$0() {
80815 var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
80816 t2 = this.module;
80817 t2 = t2 == null ? null : t2._string0$_text;
80818 return this.$this._evaluate0$_getFunction$2$namespace(t1, t2);
80819 },
80820 $signature: 131
80821 };
80822 A._EvaluateVisitor_closure27.prototype = {
80823 call$1($arguments) {
80824 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
80825 t1 = J.getInterceptor$asx($arguments),
80826 $function = t1.$index($arguments, 0),
80827 args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
80828 t1 = this.$this;
80829 t2 = t1._evaluate0$_callableNode;
80830 t2.toString;
80831 t3 = A._setArrayType([], type$.JSArray_Expression_2);
80832 t4 = type$.String;
80833 t5 = type$.Expression_2;
80834 t6 = t2.get$span(t2);
80835 t7 = t2.get$span(t2);
80836 args._argument_list$_wereKeywordsAccessed = true;
80837 t8 = args._argument_list$_keywords;
80838 if (t8.get$isEmpty(t8))
80839 t2 = null;
80840 else {
80841 t9 = type$.Value_2;
80842 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
80843 for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
80844 t11 = t8.get$current(t8);
80845 t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
80846 }
80847 t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
80848 }
80849 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);
80850 if ($function instanceof A.SassString0) {
80851 t2 = string$.Passin + $function.toString$0(0) + "))";
80852 A.EvaluationContext_current0().warn$2$deprecation(0, t2, true);
80853 callableNode = t1._evaluate0$_callableNode;
80854 return t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode)));
80855 }
80856 callable = $function.assertFunction$1("function").callable;
80857 if (type$.Callable_2._is(callable)) {
80858 t2 = t1._evaluate0$_callableNode;
80859 t2.toString;
80860 return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
80861 } else
80862 throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as));
80863 },
80864 $signature: 3
80865 };
80866 A._EvaluateVisitor_closure28.prototype = {
80867 call$1($arguments) {
80868 var withMap, t2, values, configuration,
80869 t1 = J.getInterceptor$asx($arguments),
80870 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
80871 t1 = t1.$index($arguments, 1).get$realNull();
80872 withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
80873 t1 = this.$this;
80874 t2 = t1._evaluate0$_callableNode;
80875 t2.toString;
80876 if (withMap != null) {
80877 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
80878 withMap.forEach$1(0, new A._EvaluateVisitor__closure5(values, t2.get$span(t2), t2));
80879 configuration = new A.ExplicitConfiguration0(t2, values);
80880 } else
80881 configuration = B.Configuration_Map_empty0;
80882 t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure6(t1), t2.get$span(t2).file.url, configuration, true);
80883 t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
80884 },
80885 $signature: 402
80886 };
80887 A._EvaluateVisitor__closure5.prototype = {
80888 call$2(variable, value) {
80889 var t1 = variable.assertString$1("with key"),
80890 $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
80891 t1 = this.values;
80892 if (t1.containsKey$1($name))
80893 throw A.wrapException("The variable $" + $name + " was configured twice.");
80894 t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
80895 },
80896 $signature: 52
80897 };
80898 A._EvaluateVisitor__closure6.prototype = {
80899 call$1(module) {
80900 var t1 = this.$this;
80901 return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
80902 },
80903 $signature: 59
80904 };
80905 A._EvaluateVisitor_run_closure1.prototype = {
80906 call$0() {
80907 var t2, _this = this,
80908 t1 = _this.node,
80909 url = t1.span.file.url;
80910 if (url != null) {
80911 t2 = _this.$this;
80912 t2._evaluate0$_activeModules.$indexSet(0, url, null);
80913 if (!(t2._evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
80914 t2._evaluate0$_loadedUrls.add$1(0, url);
80915 }
80916 t2 = _this.$this;
80917 return new A.EvaluateResult0(t2._evaluate0$_combineCss$1(t2._evaluate0$_execute$2(_this.importer, t1)), t2._evaluate0$_loadedUrls);
80918 },
80919 $signature: 404
80920 };
80921 A._EvaluateVisitor__loadModule_closure3.prototype = {
80922 call$0() {
80923 return this.callback.call$1(this.builtInModule);
80924 },
80925 $signature: 0
80926 };
80927 A._EvaluateVisitor__loadModule_closure4.prototype = {
80928 call$0() {
80929 var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, _this = this,
80930 t1 = _this.$this,
80931 t2 = _this.nodeWithSpan,
80932 result = t1._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
80933 stylesheet = result.stylesheet,
80934 canonicalUrl = stylesheet.span.file.url;
80935 if (canonicalUrl != null && t1._evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
80936 message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
80937 t2 = A.NullableExtension_andThen0(t1._evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t1, message));
80938 throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1(message) : t2);
80939 }
80940 if (canonicalUrl != null)
80941 t1._evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
80942 oldInDependency = t1._evaluate0$_inDependency;
80943 t1._evaluate0$_inDependency = result.isDependency;
80944 module = null;
80945 try {
80946 module = t1._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
80947 } finally {
80948 t1._evaluate0$_activeModules.remove$1(0, canonicalUrl);
80949 t1._evaluate0$_inDependency = oldInDependency;
80950 }
80951 try {
80952 _this.callback.call$1(module);
80953 } catch (exception) {
80954 t2 = A.unwrapException(exception);
80955 if (type$.SassRuntimeException_2._is(t2))
80956 throw exception;
80957 else if (t2 instanceof A.MultiSpanSassException0) {
80958 error = t2;
80959 stackTrace = A.getTraceFromException(exception);
80960 t2 = error._span_exception$_message;
80961 t3 = error;
80962 t4 = J.getInterceptor$z(t3);
80963 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
80964 t4 = error.primaryLabel;
80965 t5 = error.secondarySpans;
80966 t6 = error;
80967 t7 = J.getInterceptor$z(t6);
80968 A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(t1._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
80969 } else if (t2 instanceof A.SassException0) {
80970 error0 = t2;
80971 stackTrace0 = A.getTraceFromException(exception);
80972 t2 = error0;
80973 t3 = J.getInterceptor$z(t2);
80974 A.throwWithTrace0(t1._evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
80975 } else if (t2 instanceof A.MultiSpanSassScriptException0) {
80976 error1 = t2;
80977 stackTrace1 = A.getTraceFromException(exception);
80978 A.throwWithTrace0(t1._evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
80979 } else if (t2 instanceof A.SassScriptException0) {
80980 error2 = t2;
80981 stackTrace2 = A.getTraceFromException(exception);
80982 A.throwWithTrace0(t1._evaluate0$_exception$1(error2.message), stackTrace2);
80983 } else
80984 throw exception;
80985 }
80986 },
80987 $signature: 1
80988 };
80989 A._EvaluateVisitor__loadModule__closure1.prototype = {
80990 call$1(previousLoad) {
80991 return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
80992 },
80993 $signature: 84
80994 };
80995 A._EvaluateVisitor__execute_closure1.prototype = {
80996 call$0() {
80997 var t3, t4, t5, t6, _this = this,
80998 t1 = _this.$this,
80999 oldImporter = t1._evaluate0$_importer,
81000 oldStylesheet = t1._evaluate0$__stylesheet,
81001 oldRoot = t1._evaluate0$__root,
81002 oldParent = t1._evaluate0$__parent,
81003 oldEndOfImports = t1._evaluate0$__endOfImports,
81004 oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
81005 oldExtensionStore = t1._evaluate0$__extensionStore,
81006 t2 = t1._evaluate0$_atRootExcludingStyleRule,
81007 oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
81008 oldMediaQueries = t1._evaluate0$_mediaQueries,
81009 oldDeclarationName = t1._evaluate0$_declarationName,
81010 oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
81011 oldInKeyframes = t1._evaluate0$_inKeyframes,
81012 oldConfiguration = t1._evaluate0$_configuration;
81013 t1._evaluate0$_importer = _this.importer;
81014 t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
81015 t4 = t3.span;
81016 t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
81017 t1._evaluate0$__endOfImports = 0;
81018 t1._evaluate0$_outOfOrderImports = null;
81019 t1._evaluate0$__extensionStore = _this.extensionStore;
81020 t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
81021 t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
81022 t6 = _this.configuration;
81023 if (t6 != null)
81024 t1._evaluate0$_configuration = t6;
81025 t1.visitStylesheet$1(t3);
81026 t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
81027 _this.css._value = t3;
81028 t1._evaluate0$_importer = oldImporter;
81029 t1._evaluate0$__stylesheet = oldStylesheet;
81030 t1._evaluate0$__root = oldRoot;
81031 t1._evaluate0$__parent = oldParent;
81032 t1._evaluate0$__endOfImports = oldEndOfImports;
81033 t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
81034 t1._evaluate0$__extensionStore = oldExtensionStore;
81035 t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
81036 t1._evaluate0$_mediaQueries = oldMediaQueries;
81037 t1._evaluate0$_declarationName = oldDeclarationName;
81038 t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
81039 t1._evaluate0$_atRootExcludingStyleRule = t2;
81040 t1._evaluate0$_inKeyframes = oldInKeyframes;
81041 t1._evaluate0$_configuration = oldConfiguration;
81042 },
81043 $signature: 1
81044 };
81045 A._EvaluateVisitor__combineCss_closure5.prototype = {
81046 call$1(module) {
81047 return module.get$transitivelyContainsCss();
81048 },
81049 $signature: 140
81050 };
81051 A._EvaluateVisitor__combineCss_closure6.prototype = {
81052 call$1(target) {
81053 return !this.selectors.contains$1(0, target);
81054 },
81055 $signature: 16
81056 };
81057 A._EvaluateVisitor__combineCss_closure7.prototype = {
81058 call$1(module) {
81059 return module.cloneCss$0();
81060 },
81061 $signature: 608
81062 };
81063 A._EvaluateVisitor__extendModules_closure3.prototype = {
81064 call$1(target) {
81065 return !this.originalSelectors.contains$1(0, target);
81066 },
81067 $signature: 16
81068 };
81069 A._EvaluateVisitor__extendModules_closure4.prototype = {
81070 call$0() {
81071 return A._setArrayType([], type$.JSArray_ExtensionStore_2);
81072 },
81073 $signature: 167
81074 };
81075 A._EvaluateVisitor__topologicalModules_visitModule1.prototype = {
81076 call$1(module) {
81077 var t1, t2, t3, _i, upstream;
81078 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
81079 upstream = t1[_i];
81080 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
81081 this.call$1(upstream);
81082 }
81083 this.sorted.addFirst$1(module);
81084 },
81085 $signature: 59
81086 };
81087 A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
81088 call$0() {
81089 var t1 = A.SpanScanner$(this.resolved, null);
81090 return new A.AtRootQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
81091 },
81092 $signature: 110
81093 };
81094 A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
81095 call$0() {
81096 var t1, t2, t3, _i;
81097 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81098 t1[_i].accept$1(t3);
81099 },
81100 $signature: 1
81101 };
81102 A._EvaluateVisitor_visitAtRootRule_closure7.prototype = {
81103 call$0() {
81104 var t1, t2, t3, _i;
81105 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81106 t1[_i].accept$1(t3);
81107 },
81108 $signature: 0
81109 };
81110 A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
81111 call$1(callback) {
81112 var t1 = this.$this,
81113 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
81114 t1._evaluate0$__parent = this.newParent;
81115 t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
81116 t1._evaluate0$__parent = t2;
81117 },
81118 $signature: 27
81119 };
81120 A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
81121 call$1(callback) {
81122 var t1 = this.$this,
81123 oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
81124 t1._evaluate0$_atRootExcludingStyleRule = true;
81125 this.innerScope.call$1(callback);
81126 t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
81127 },
81128 $signature: 27
81129 };
81130 A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
81131 call$1(callback) {
81132 return this.$this._evaluate0$_withMediaQueries$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
81133 },
81134 $signature: 27
81135 };
81136 A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
81137 call$0() {
81138 return this.innerScope.call$1(this.callback);
81139 },
81140 $signature: 1
81141 };
81142 A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
81143 call$1(callback) {
81144 var t1 = this.$this,
81145 wasInKeyframes = t1._evaluate0$_inKeyframes;
81146 t1._evaluate0$_inKeyframes = false;
81147 this.innerScope.call$1(callback);
81148 t1._evaluate0$_inKeyframes = wasInKeyframes;
81149 },
81150 $signature: 27
81151 };
81152 A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
81153 call$1($parent) {
81154 return type$.CssAtRule_2._is($parent);
81155 },
81156 $signature: 169
81157 };
81158 A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
81159 call$1(callback) {
81160 var t1 = this.$this,
81161 wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
81162 t1._evaluate0$_inUnknownAtRule = false;
81163 this.innerScope.call$1(callback);
81164 t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
81165 },
81166 $signature: 27
81167 };
81168 A._EvaluateVisitor_visitContentRule_closure1.prototype = {
81169 call$0() {
81170 var t1, t2, t3, _i;
81171 for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81172 t1[_i].accept$1(t3);
81173 return null;
81174 },
81175 $signature: 1
81176 };
81177 A._EvaluateVisitor_visitDeclaration_closure3.prototype = {
81178 call$1(value) {
81179 return new A.CssValue0(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value_2);
81180 },
81181 $signature: 406
81182 };
81183 A._EvaluateVisitor_visitDeclaration_closure4.prototype = {
81184 call$0() {
81185 var t1, t2, t3, _i;
81186 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81187 t1[_i].accept$1(t3);
81188 },
81189 $signature: 1
81190 };
81191 A._EvaluateVisitor_visitEachRule_closure5.prototype = {
81192 call$1(value) {
81193 var t1 = this.$this,
81194 t2 = this.nodeWithSpan;
81195 return t1._evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._evaluate0$_withoutSlash$2(value, t2), t2);
81196 },
81197 $signature: 58
81198 };
81199 A._EvaluateVisitor_visitEachRule_closure6.prototype = {
81200 call$1(value) {
81201 return this.$this._evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
81202 },
81203 $signature: 58
81204 };
81205 A._EvaluateVisitor_visitEachRule_closure7.prototype = {
81206 call$0() {
81207 var _this = this,
81208 t1 = _this.$this;
81209 return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
81210 },
81211 $signature: 39
81212 };
81213 A._EvaluateVisitor_visitEachRule__closure1.prototype = {
81214 call$1(element) {
81215 var t1;
81216 this.setVariables.call$1(element);
81217 t1 = this.$this;
81218 return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
81219 },
81220 $signature: 216
81221 };
81222 A._EvaluateVisitor_visitEachRule___closure1.prototype = {
81223 call$1(child) {
81224 return child.accept$1(this.$this);
81225 },
81226 $signature: 74
81227 };
81228 A._EvaluateVisitor_visitExtendRule_closure1.prototype = {
81229 call$0() {
81230 return A.SelectorList_SelectorList$parse0(A.trimAscii0(this.targetText.value, true), false, true, this.$this._evaluate0$_logger);
81231 },
81232 $signature: 48
81233 };
81234 A._EvaluateVisitor_visitAtRule_closure5.prototype = {
81235 call$1(value) {
81236 return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
81237 },
81238 $signature: 409
81239 };
81240 A._EvaluateVisitor_visitAtRule_closure6.prototype = {
81241 call$0() {
81242 var t2, t3, _i,
81243 t1 = this.$this,
81244 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81245 if (styleRule == null || t1._evaluate0$_inKeyframes)
81246 for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
81247 t2[_i].accept$1(t1);
81248 else
81249 t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure1(t1, this.children), false, type$.ModifiableCssStyleRule_2, type$.Null);
81250 },
81251 $signature: 1
81252 };
81253 A._EvaluateVisitor_visitAtRule__closure1.prototype = {
81254 call$0() {
81255 var t1, t2, t3, _i;
81256 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81257 t1[_i].accept$1(t3);
81258 },
81259 $signature: 1
81260 };
81261 A._EvaluateVisitor_visitAtRule_closure7.prototype = {
81262 call$1(node) {
81263 return type$.CssStyleRule_2._is(node);
81264 },
81265 $signature: 8
81266 };
81267 A._EvaluateVisitor_visitForRule_closure9.prototype = {
81268 call$0() {
81269 return this.node.from.accept$1(this.$this).assertNumber$0();
81270 },
81271 $signature: 218
81272 };
81273 A._EvaluateVisitor_visitForRule_closure10.prototype = {
81274 call$0() {
81275 return this.node.to.accept$1(this.$this).assertNumber$0();
81276 },
81277 $signature: 218
81278 };
81279 A._EvaluateVisitor_visitForRule_closure11.prototype = {
81280 call$0() {
81281 return this.fromNumber.assertInt$0();
81282 },
81283 $signature: 12
81284 };
81285 A._EvaluateVisitor_visitForRule_closure12.prototype = {
81286 call$0() {
81287 var t1 = this.fromNumber;
81288 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
81289 },
81290 $signature: 12
81291 };
81292 A._EvaluateVisitor_visitForRule_closure13.prototype = {
81293 call$0() {
81294 var i, t3, t4, t5, t6, t7, t8, result, _this = this,
81295 t1 = _this.$this,
81296 t2 = _this.node,
81297 nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
81298 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) {
81299 t7 = t1._evaluate0$_environment;
81300 t8 = t6.get$numeratorUnits(t6);
81301 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
81302 result = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
81303 if (result != null)
81304 return result;
81305 }
81306 return null;
81307 },
81308 $signature: 39
81309 };
81310 A._EvaluateVisitor_visitForRule__closure1.prototype = {
81311 call$1(child) {
81312 return child.accept$1(this.$this);
81313 },
81314 $signature: 74
81315 };
81316 A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
81317 call$1(module) {
81318 this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
81319 },
81320 $signature: 59
81321 };
81322 A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
81323 call$1(module) {
81324 this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
81325 },
81326 $signature: 59
81327 };
81328 A._EvaluateVisitor_visitIfRule_closure1.prototype = {
81329 call$0() {
81330 var t1 = this.$this;
81331 return t1._evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure1(t1));
81332 },
81333 $signature: 39
81334 };
81335 A._EvaluateVisitor_visitIfRule__closure1.prototype = {
81336 call$1(child) {
81337 return child.accept$1(this.$this);
81338 },
81339 $signature: 74
81340 };
81341 A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
81342 call$0() {
81343 var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
81344 t1 = this.$this,
81345 t2 = this.$import,
81346 result = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true),
81347 stylesheet = result.stylesheet,
81348 url = stylesheet.span.file.url;
81349 if (url != null) {
81350 t3 = t1._evaluate0$_activeModules;
81351 if (t3.containsKey$1(url)) {
81352 t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
81353 throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
81354 }
81355 t3.$indexSet(0, url, t2);
81356 }
81357 t2 = stylesheet._stylesheet1$_uses;
81358 t3 = type$.UnmodifiableListView_UseRule_2;
81359 t4 = new A.UnmodifiableListView(t2, t3);
81360 if (t4.get$length(t4) === 0) {
81361 t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81362 t4 = t4.get$length(t4) === 0;
81363 } else
81364 t4 = false;
81365 if (t4) {
81366 oldImporter = t1._evaluate0$_importer;
81367 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
81368 oldInDependency = t1._evaluate0$_inDependency;
81369 t1._evaluate0$_importer = result.importer;
81370 t1._evaluate0$__stylesheet = stylesheet;
81371 t1._evaluate0$_inDependency = result.isDependency;
81372 t1.visitStylesheet$1(stylesheet);
81373 t1._evaluate0$_importer = oldImporter;
81374 t1._evaluate0$__stylesheet = t2;
81375 t1._evaluate0$_inDependency = oldInDependency;
81376 t1._evaluate0$_activeModules.remove$1(0, url);
81377 return;
81378 }
81379 t2 = new A.UnmodifiableListView(t2, t3);
81380 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
81381 t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81382 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
81383 } else
81384 loadsUserDefinedModules = true;
81385 children = A._Cell$();
81386 t2 = t1._evaluate0$_environment;
81387 t3 = type$.String;
81388 t4 = type$.Module_Callable_2;
81389 t5 = type$.AstNode_2;
81390 t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
81391 t7 = t2._environment0$_variables;
81392 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
81393 t8 = t2._environment0$_variableNodes;
81394 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
81395 t9 = t2._environment0$_functions;
81396 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
81397 t10 = t2._environment0$_mixins;
81398 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
81399 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);
81400 t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
81401 module = environment.toDummyModule$0();
81402 t1._evaluate0$_environment.importForwards$1(module);
81403 if (loadsUserDefinedModules) {
81404 if (module.transitivelyContainsCss)
81405 t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
81406 visitor = new A._ImportedCssVisitor1(t1);
81407 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
81408 t2.get$current(t2).accept$1(visitor);
81409 }
81410 t1._evaluate0$_activeModules.remove$1(0, url);
81411 },
81412 $signature: 0
81413 };
81414 A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
81415 call$1(previousLoad) {
81416 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));
81417 },
81418 $signature: 84
81419 };
81420 A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
81421 call$1(rule) {
81422 return rule.url.get$scheme() !== "sass";
81423 },
81424 $signature: 177
81425 };
81426 A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
81427 call$1(rule) {
81428 return rule.url.get$scheme() !== "sass";
81429 },
81430 $signature: 178
81431 };
81432 A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
81433 call$0() {
81434 var t7, t8, t9, _this = this,
81435 t1 = _this.$this,
81436 oldImporter = t1._evaluate0$_importer,
81437 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
81438 t3 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
81439 t4 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
81440 t5 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
81441 oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
81442 oldConfiguration = t1._evaluate0$_configuration,
81443 oldInDependency = t1._evaluate0$_inDependency,
81444 t6 = _this.result;
81445 t1._evaluate0$_importer = t6.importer;
81446 t7 = t1._evaluate0$__stylesheet = _this.stylesheet;
81447 t8 = _this.loadsUserDefinedModules;
81448 if (t8) {
81449 t9 = A.ModifiableCssStylesheet$0(t7.span);
81450 t1._evaluate0$__root = t9;
81451 t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t9, "_root");
81452 t1._evaluate0$__endOfImports = 0;
81453 t1._evaluate0$_outOfOrderImports = null;
81454 }
81455 t1._evaluate0$_inDependency = t6.isDependency;
81456 t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81457 if (!t6.get$isEmpty(t6))
81458 t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
81459 t1.visitStylesheet$1(t7);
81460 t6 = t8 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
81461 _this.children._value = t6;
81462 t1._evaluate0$_importer = oldImporter;
81463 t1._evaluate0$__stylesheet = t2;
81464 if (t8) {
81465 t1._evaluate0$__root = t3;
81466 t1._evaluate0$__parent = t4;
81467 t1._evaluate0$__endOfImports = t5;
81468 t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
81469 }
81470 t1._evaluate0$_configuration = oldConfiguration;
81471 t1._evaluate0$_inDependency = oldInDependency;
81472 },
81473 $signature: 1
81474 };
81475 A._EvaluateVisitor__visitStaticImport_closure1.prototype = {
81476 call$1(supports) {
81477 var t2, t3, arg,
81478 t1 = this.$this;
81479 if (supports instanceof A.SupportsDeclaration0) {
81480 t2 = supports.name;
81481 t2 = t1._evaluate0$_serialize$3$quote(t2.accept$1(t1), t2, true) + ":";
81482 t3 = supports.value;
81483 arg = t2 + (supports.get$isCustomProperty() ? "" : " ") + t1._evaluate0$_serialize$3$quote(t3.accept$1(t1), t3, true);
81484 } else
81485 arg = A.NullableExtension_andThen0(supports, t1.get$_evaluate0$_visitSupportsCondition());
81486 return new A.CssValue0("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String_2);
81487 },
81488 $signature: 411
81489 };
81490 A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
81491 call$0() {
81492 var t1 = this.node;
81493 return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
81494 },
81495 $signature: 131
81496 };
81497 A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
81498 call$0() {
81499 return this.node.get$spanWithoutContent();
81500 },
81501 $signature: 31
81502 };
81503 A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
81504 call$1($content) {
81505 var t1 = this.$this;
81506 return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
81507 },
81508 $signature: 412
81509 };
81510 A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
81511 call$0() {
81512 var _this = this,
81513 t1 = _this.$this,
81514 t2 = t1._evaluate0$_environment,
81515 oldContent = t2._environment0$_content;
81516 t2._environment0$_content = _this.contentCallable;
81517 new A._EvaluateVisitor_visitIncludeRule__closure1(t1, _this.mixin, _this.nodeWithSpan).call$0();
81518 t2._environment0$_content = oldContent;
81519 },
81520 $signature: 1
81521 };
81522 A._EvaluateVisitor_visitIncludeRule__closure1.prototype = {
81523 call$0() {
81524 var t1 = this.$this,
81525 t2 = t1._evaluate0$_environment,
81526 oldInMixin = t2._environment0$_inMixin;
81527 t2._environment0$_inMixin = true;
81528 new A._EvaluateVisitor_visitIncludeRule___closure1(t1, this.mixin, this.nodeWithSpan).call$0();
81529 t2._environment0$_inMixin = oldInMixin;
81530 },
81531 $signature: 0
81532 };
81533 A._EvaluateVisitor_visitIncludeRule___closure1.prototype = {
81534 call$0() {
81535 var t1, t2, t3, t4, _i;
81536 for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
81537 t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure1(t3, t1[_i]));
81538 },
81539 $signature: 0
81540 };
81541 A._EvaluateVisitor_visitIncludeRule____closure1.prototype = {
81542 call$0() {
81543 return this.statement.accept$1(this.$this);
81544 },
81545 $signature: 39
81546 };
81547 A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
81548 call$1(mediaQueries) {
81549 return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
81550 },
81551 $signature: 77
81552 };
81553 A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
81554 call$0() {
81555 var _this = this,
81556 t1 = _this.$this,
81557 t2 = _this.mergedQueries;
81558 if (t2 == null)
81559 t2 = _this.queries;
81560 t1._evaluate0$_withMediaQueries$2(t2, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
81561 },
81562 $signature: 1
81563 };
81564 A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
81565 call$0() {
81566 var t2, t3, _i,
81567 t1 = this.$this,
81568 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81569 if (styleRule == null)
81570 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
81571 t2[_i].accept$1(t1);
81572 else
81573 t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
81574 },
81575 $signature: 1
81576 };
81577 A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
81578 call$0() {
81579 var t1, t2, t3, _i;
81580 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81581 t1[_i].accept$1(t3);
81582 },
81583 $signature: 1
81584 };
81585 A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
81586 call$1(node) {
81587 var t1;
81588 if (!type$.CssStyleRule_2._is(node))
81589 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
81590 else
81591 t1 = true;
81592 return t1;
81593 },
81594 $signature: 8
81595 };
81596 A._EvaluateVisitor__visitMediaQueries_closure1.prototype = {
81597 call$0() {
81598 var t1 = A.SpanScanner$(this.resolved, null);
81599 return new A.MediaQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
81600 },
81601 $signature: 126
81602 };
81603 A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
81604 call$0() {
81605 return A.KeyframeSelectorParser$0(this.selectorText.value, this.$this._evaluate0$_logger).parse$0();
81606 },
81607 $signature: 49
81608 };
81609 A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
81610 call$0() {
81611 var t1, t2, t3, _i;
81612 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81613 t1[_i].accept$1(t3);
81614 },
81615 $signature: 1
81616 };
81617 A._EvaluateVisitor_visitStyleRule_closure15.prototype = {
81618 call$1(node) {
81619 return type$.CssStyleRule_2._is(node);
81620 },
81621 $signature: 8
81622 };
81623 A._EvaluateVisitor_visitStyleRule_closure16.prototype = {
81624 call$0() {
81625 var _s11_ = "_stylesheet",
81626 t1 = this.$this;
81627 return A.SelectorList_SelectorList$parse0(this.selectorText.value, !t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, _s11_).plainCss, !t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, _s11_).plainCss, t1._evaluate0$_logger);
81628 },
81629 $signature: 48
81630 };
81631 A._EvaluateVisitor_visitStyleRule_closure17.prototype = {
81632 call$0() {
81633 var t1 = this._box_0.parsedSelector,
81634 t2 = this.$this,
81635 t3 = t2._evaluate0$_styleRuleIgnoringAtRoot;
81636 t3 = t3 == null ? null : t3.originalSelector;
81637 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._evaluate0$_atRootExcludingStyleRule);
81638 },
81639 $signature: 48
81640 };
81641 A._EvaluateVisitor_visitStyleRule_closure18.prototype = {
81642 call$0() {
81643 var t1 = this.$this;
81644 t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
81645 },
81646 $signature: 1
81647 };
81648 A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
81649 call$0() {
81650 var t1, t2, t3, _i;
81651 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81652 t1[_i].accept$1(t3);
81653 },
81654 $signature: 1
81655 };
81656 A._EvaluateVisitor_visitStyleRule_closure19.prototype = {
81657 call$1(node) {
81658 return type$.CssStyleRule_2._is(node);
81659 },
81660 $signature: 8
81661 };
81662 A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
81663 call$0() {
81664 var t2, t3, _i,
81665 t1 = this.$this,
81666 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81667 if (styleRule == null)
81668 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
81669 t2[_i].accept$1(t1);
81670 else
81671 t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
81672 },
81673 $signature: 1
81674 };
81675 A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
81676 call$0() {
81677 var t1, t2, t3, _i;
81678 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81679 t1[_i].accept$1(t3);
81680 },
81681 $signature: 1
81682 };
81683 A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
81684 call$1(node) {
81685 return type$.CssStyleRule_2._is(node);
81686 },
81687 $signature: 8
81688 };
81689 A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
81690 call$0() {
81691 var t1 = this.override;
81692 this.$this._evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
81693 },
81694 $signature: 1
81695 };
81696 A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
81697 call$0() {
81698 var t1 = this.node;
81699 return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
81700 },
81701 $signature: 39
81702 };
81703 A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
81704 call$0() {
81705 var t1 = this.$this,
81706 t2 = this.node;
81707 t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
81708 },
81709 $signature: 1
81710 };
81711 A._EvaluateVisitor_visitUseRule_closure1.prototype = {
81712 call$1(module) {
81713 var t1 = this.node;
81714 this.$this._evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
81715 },
81716 $signature: 59
81717 };
81718 A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
81719 call$0() {
81720 return this.node.expression.accept$1(this.$this);
81721 },
81722 $signature: 44
81723 };
81724 A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
81725 call$0() {
81726 var t1, t2, t3, result;
81727 for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
81728 result = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
81729 if (result != null)
81730 return result;
81731 }
81732 return null;
81733 },
81734 $signature: 39
81735 };
81736 A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
81737 call$1(child) {
81738 return child.accept$1(this.$this);
81739 },
81740 $signature: 74
81741 };
81742 A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
81743 call$0() {
81744 var right, result,
81745 t1 = this.node,
81746 t2 = this.$this,
81747 left = t1.left.accept$1(t2),
81748 t3 = t1.operator;
81749 switch (t3) {
81750 case B.BinaryOperator_kjl0:
81751 right = t1.right.accept$1(t2);
81752 return new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
81753 case B.BinaryOperator_or_or_10:
81754 return left.get$isTruthy() ? left : t1.right.accept$1(t2);
81755 case B.BinaryOperator_and_and_20:
81756 return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
81757 case B.BinaryOperator_YlX0:
81758 return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
81759 case B.BinaryOperator_i5H0:
81760 return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
81761 case B.BinaryOperator_AcR1:
81762 return left.greaterThan$1(t1.right.accept$1(t2));
81763 case B.BinaryOperator_1da0:
81764 return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
81765 case B.BinaryOperator_8qt0:
81766 return left.lessThan$1(t1.right.accept$1(t2));
81767 case B.BinaryOperator_33h0:
81768 return left.lessThanOrEquals$1(t1.right.accept$1(t2));
81769 case B.BinaryOperator_AcR2:
81770 return left.plus$1(t1.right.accept$1(t2));
81771 case B.BinaryOperator_iyO0:
81772 return left.minus$1(t1.right.accept$1(t2));
81773 case B.BinaryOperator_O1M0:
81774 return left.times$1(t1.right.accept$1(t2));
81775 case B.BinaryOperator_RTB0:
81776 right = t1.right.accept$1(t2);
81777 result = left.dividedBy$1(right);
81778 if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
81779 return type$.SassNumber_2._as(result).withSlash$2(left, right);
81780 else {
81781 if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
81782 t2._evaluate0$_warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
81783 return result;
81784 }
81785 case B.BinaryOperator_2ad0:
81786 return left.modulo$1(t1.right.accept$1(t2));
81787 default:
81788 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
81789 }
81790 },
81791 $signature: 44
81792 };
81793 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1.prototype = {
81794 call$1(expression) {
81795 if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_RTB0)
81796 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
81797 else if (expression instanceof A.ParenthesizedExpression0)
81798 return expression.expression.toString$0(0);
81799 else
81800 return expression.toString$0(0);
81801 },
81802 $signature: 100
81803 };
81804 A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
81805 call$0() {
81806 var t1 = this.node;
81807 return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
81808 },
81809 $signature: 39
81810 };
81811 A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
81812 call$0() {
81813 var _this = this,
81814 t1 = _this.node.operator;
81815 switch (t1) {
81816 case B.UnaryOperator_j2w0:
81817 return _this.operand.unaryPlus$0();
81818 case B.UnaryOperator_U4G0:
81819 return _this.operand.unaryMinus$0();
81820 case B.UnaryOperator_zDx0:
81821 return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
81822 case B.UnaryOperator_not_not0:
81823 return _this.operand.unaryNot$0();
81824 default:
81825 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
81826 }
81827 },
81828 $signature: 44
81829 };
81830 A._EvaluateVisitor__visitCalculationValue_closure1.prototype = {
81831 call$0() {
81832 var t1 = this.$this,
81833 t2 = this.node,
81834 t3 = this.inMinMax;
81835 return A.SassCalculation_operateInternal0(t1._evaluate0$_binaryOperatorToCalculationOperator$1(t2.operator), t1._evaluate0$_visitCalculationValue$2$inMinMax(t2.left, t3), t1._evaluate0$_visitCalculationValue$2$inMinMax(t2.right, t3), t3, !t1._evaluate0$_inSupportsDeclaration);
81836 },
81837 $signature: 99
81838 };
81839 A._EvaluateVisitor_visitListExpression_closure1.prototype = {
81840 call$1(expression) {
81841 return expression.accept$1(this.$this);
81842 },
81843 $signature: 413
81844 };
81845 A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
81846 call$0() {
81847 var t1 = this.node;
81848 return this.$this._evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
81849 },
81850 $signature: 131
81851 };
81852 A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
81853 call$0() {
81854 var t1 = this.node;
81855 return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
81856 },
81857 $signature: 44
81858 };
81859 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
81860 call$0() {
81861 var t1 = this.node;
81862 return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
81863 },
81864 $signature: 44
81865 };
81866 A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
81867 call$0() {
81868 var _this = this,
81869 t1 = _this.$this,
81870 t2 = _this.callable;
81871 return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
81872 },
81873 $signature() {
81874 return this.V._eval$1("0()");
81875 }
81876 };
81877 A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
81878 call$0() {
81879 var _this = this,
81880 t1 = _this.$this,
81881 t2 = _this.V;
81882 return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
81883 },
81884 $signature() {
81885 return this.V._eval$1("0()");
81886 }
81887 };
81888 A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
81889 call$0() {
81890 var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, argumentWord, argumentNames, _this = this,
81891 t1 = _this.$this,
81892 t2 = _this.evaluated,
81893 t3 = t2.positional,
81894 t4 = t2.named,
81895 t5 = _this.callable.declaration.$arguments,
81896 t6 = _this.nodeWithSpan;
81897 t1._evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
81898 declaredArguments = t5.$arguments;
81899 t7 = declaredArguments.length;
81900 minLength = Math.min(t3.length, t7);
81901 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
81902 t1._evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
81903 for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
81904 argument = declaredArguments[i];
81905 t9 = argument.name;
81906 value = t4.remove$1(0, t9);
81907 if (value == null) {
81908 t10 = argument.defaultValue;
81909 value = t1._evaluate0$_withoutSlash$2(t10.accept$1(t1), t1._evaluate0$_expressionNode$1(t10));
81910 }
81911 t10 = t1._evaluate0$_environment;
81912 t11 = t8.$index(0, t9);
81913 if (t11 == null) {
81914 t11 = argument.defaultValue;
81915 t11.toString;
81916 t11 = t1._evaluate0$_expressionNode$1(t11);
81917 }
81918 t10.setLocalVariable$3(t9, value, t11);
81919 }
81920 restArgument = t5.restArgument;
81921 if (restArgument != null) {
81922 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty15;
81923 t2 = t2.separator;
81924 argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : t2);
81925 t1._evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
81926 } else
81927 argumentList = null;
81928 result = _this.run.call$0();
81929 if (argumentList == null)
81930 return result;
81931 if (t4.get$isEmpty(t4))
81932 return result;
81933 if (argumentList._argument_list$_wereKeywordsAccessed)
81934 return result;
81935 t2 = t4.get$keys(t4);
81936 argumentWord = A.pluralize0("argument", t2.get$length(t2), null);
81937 t4 = t4.get$keys(t4);
81938 argumentNames = A.toSentence0(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure1(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
81939 throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + argumentWord + " named " + argumentNames + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._evaluate0$_stackTrace$1(t6.get$span(t6))));
81940 },
81941 $signature() {
81942 return this.V._eval$1("0()");
81943 }
81944 };
81945 A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
81946 call$1($name) {
81947 return "$" + $name;
81948 },
81949 $signature: 5
81950 };
81951 A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
81952 call$0() {
81953 var t1, t2, t3, t4, _i, $returnValue;
81954 for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
81955 $returnValue = t2[_i].accept$1(t4);
81956 if ($returnValue instanceof A.Value0)
81957 return $returnValue;
81958 }
81959 throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
81960 },
81961 $signature: 44
81962 };
81963 A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
81964 call$0() {
81965 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
81966 },
81967 $signature: 0
81968 };
81969 A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
81970 call$1($name) {
81971 return "$" + $name;
81972 },
81973 $signature: 5
81974 };
81975 A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
81976 call$1(value) {
81977 return value;
81978 },
81979 $signature: 38
81980 };
81981 A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
81982 call$1(value) {
81983 return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
81984 },
81985 $signature: 38
81986 };
81987 A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
81988 call$2(key, value) {
81989 var _this = this,
81990 t1 = _this.restNodeForSpan;
81991 _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
81992 _this.namedNodes.$indexSet(0, key, t1);
81993 },
81994 $signature: 96
81995 };
81996 A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
81997 call$1(value) {
81998 return value;
81999 },
82000 $signature: 38
82001 };
82002 A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
82003 call$1(value) {
82004 var t1 = this.restArgs;
82005 return new A.ValueExpression0(value, t1.get$span(t1));
82006 },
82007 $signature: 54
82008 };
82009 A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
82010 call$1(value) {
82011 var t1 = this.restArgs;
82012 return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
82013 },
82014 $signature: 54
82015 };
82016 A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
82017 call$2(key, value) {
82018 var _this = this,
82019 t1 = _this.restArgs;
82020 _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
82021 },
82022 $signature: 96
82023 };
82024 A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
82025 call$1(value) {
82026 var t1 = this.keywordRestArgs;
82027 return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
82028 },
82029 $signature: 54
82030 };
82031 A._EvaluateVisitor__addRestMap_closure1.prototype = {
82032 call$2(key, value) {
82033 var t2, _this = this,
82034 t1 = _this.$this;
82035 if (key instanceof A.SassString0)
82036 _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
82037 else {
82038 t2 = _this.nodeWithSpan;
82039 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)));
82040 }
82041 },
82042 $signature: 52
82043 };
82044 A._EvaluateVisitor__verifyArguments_closure1.prototype = {
82045 call$0() {
82046 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
82047 },
82048 $signature: 0
82049 };
82050 A._EvaluateVisitor_visitStringExpression_closure1.prototype = {
82051 call$1(value) {
82052 var t1, result;
82053 if (typeof value == "string")
82054 return value;
82055 type$.Expression_2._as(value);
82056 t1 = this.$this;
82057 result = value.accept$1(t1);
82058 return result instanceof A.SassString0 ? result._string0$_text : t1._evaluate0$_serialize$3$quote(result, value, false);
82059 },
82060 $signature: 45
82061 };
82062 A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
82063 call$0() {
82064 var t1, t2, t3;
82065 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
82066 t2._as(t1.__internal$_current).accept$1(t3);
82067 },
82068 $signature: 1
82069 };
82070 A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
82071 call$1(node) {
82072 return type$.CssStyleRule_2._is(node);
82073 },
82074 $signature: 8
82075 };
82076 A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
82077 call$0() {
82078 var t1, t2, t3;
82079 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
82080 t2._as(t1.__internal$_current).accept$1(t3);
82081 },
82082 $signature: 1
82083 };
82084 A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
82085 call$1(node) {
82086 return type$.CssStyleRule_2._is(node);
82087 },
82088 $signature: 8
82089 };
82090 A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
82091 call$1(mediaQueries) {
82092 return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
82093 },
82094 $signature: 77
82095 };
82096 A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
82097 call$0() {
82098 var _this = this,
82099 t1 = _this.$this,
82100 t2 = _this.mergedQueries;
82101 if (t2 == null)
82102 t2 = _this.node.queries;
82103 t1._evaluate0$_withMediaQueries$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
82104 },
82105 $signature: 1
82106 };
82107 A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
82108 call$0() {
82109 var t2, t3,
82110 t1 = this.$this,
82111 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
82112 if (styleRule == null)
82113 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
82114 t3._as(t2.__internal$_current).accept$1(t1);
82115 else
82116 t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
82117 },
82118 $signature: 1
82119 };
82120 A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
82121 call$0() {
82122 var t1, t2, t3;
82123 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
82124 t2._as(t1.__internal$_current).accept$1(t3);
82125 },
82126 $signature: 1
82127 };
82128 A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
82129 call$1(node) {
82130 var t1;
82131 if (!type$.CssStyleRule_2._is(node))
82132 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
82133 else
82134 t1 = true;
82135 return t1;
82136 },
82137 $signature: 8
82138 };
82139 A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
82140 call$0() {
82141 var t1 = this.$this;
82142 t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
82143 },
82144 $signature: 1
82145 };
82146 A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
82147 call$0() {
82148 var t1, t2, t3;
82149 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
82150 t2._as(t1.__internal$_current).accept$1(t3);
82151 },
82152 $signature: 1
82153 };
82154 A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
82155 call$1(node) {
82156 return type$.CssStyleRule_2._is(node);
82157 },
82158 $signature: 8
82159 };
82160 A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
82161 call$0() {
82162 var t2, t3,
82163 t1 = this.$this,
82164 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
82165 if (styleRule == null)
82166 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
82167 t3._as(t2.__internal$_current).accept$1(t1);
82168 else
82169 t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
82170 },
82171 $signature: 1
82172 };
82173 A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
82174 call$0() {
82175 var t1, t2, t3;
82176 for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = this.$this; t1.moveNext$0();)
82177 t2._as(t1.__internal$_current).accept$1(t3);
82178 },
82179 $signature: 1
82180 };
82181 A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
82182 call$1(node) {
82183 return type$.CssStyleRule_2._is(node);
82184 },
82185 $signature: 8
82186 };
82187 A._EvaluateVisitor__performInterpolation_closure1.prototype = {
82188 call$1(value) {
82189 var t1, result, t2, t3;
82190 if (typeof value == "string")
82191 return value;
82192 type$.Expression_2._as(value);
82193 t1 = this.$this;
82194 result = value.accept$1(t1);
82195 if (this.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
82196 t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
82197 t3 = $.$get$namesByColor0();
82198 t1._evaluate0$_warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_AcR2, new A.StringExpression0(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
82199 }
82200 return t1._evaluate0$_serialize$3$quote(result, value, false);
82201 },
82202 $signature: 45
82203 };
82204 A._EvaluateVisitor__serialize_closure1.prototype = {
82205 call$0() {
82206 return A.serializeValue0(this.value, false, this.quote);
82207 },
82208 $signature: 30
82209 };
82210 A._EvaluateVisitor__expressionNode_closure1.prototype = {
82211 call$0() {
82212 var t1 = this.expression;
82213 return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
82214 },
82215 $signature: 188
82216 };
82217 A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
82218 call$1(number) {
82219 var asSlash = number.asSlash;
82220 if (asSlash != null)
82221 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
82222 else
82223 return A.serializeValue0(number, true, true);
82224 },
82225 $signature: 189
82226 };
82227 A._EvaluateVisitor__stackFrame_closure1.prototype = {
82228 call$1(url) {
82229 var t1 = this.$this._evaluate0$_importCache;
82230 t1 = t1 == null ? null : t1.humanize$1(url);
82231 return t1 == null ? url : t1;
82232 },
82233 $signature: 97
82234 };
82235 A._EvaluateVisitor__stackTrace_closure1.prototype = {
82236 call$1(tuple) {
82237 return this.$this._evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
82238 },
82239 $signature: 190
82240 };
82241 A._ImportedCssVisitor1.prototype = {
82242 visitCssAtRule$1(node) {
82243 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
82244 this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
82245 },
82246 visitCssComment$1(node) {
82247 return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
82248 },
82249 visitCssDeclaration$1(node) {
82250 },
82251 visitCssImport$1(node) {
82252 var t2,
82253 _s13_ = "_endOfImports",
82254 t1 = this._evaluate0$_visitor;
82255 if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
82256 t1._evaluate0$_addChild$1(node);
82257 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)) {
82258 t1._evaluate0$_addChild$1(node);
82259 t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
82260 } else {
82261 t2 = t1._evaluate0$_outOfOrderImports;
82262 (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
82263 }
82264 },
82265 visitCssKeyframeBlock$1(node) {
82266 },
82267 visitCssMediaRule$1(node) {
82268 var t1 = this._evaluate0$_visitor,
82269 mediaQueries = t1._evaluate0$_mediaQueries;
82270 t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
82271 },
82272 visitCssStyleRule$1(node) {
82273 return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
82274 },
82275 visitCssStylesheet$1(node) {
82276 var t1, t2;
82277 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
82278 t2._as(t1.__internal$_current).accept$1(this);
82279 },
82280 visitCssSupportsRule$1(node) {
82281 return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
82282 }
82283 };
82284 A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
82285 call$1(node) {
82286 return type$.CssStyleRule_2._is(node);
82287 },
82288 $signature: 8
82289 };
82290 A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
82291 call$1(node) {
82292 var t1;
82293 if (!type$.CssStyleRule_2._is(node))
82294 t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
82295 else
82296 t1 = true;
82297 return t1;
82298 },
82299 $signature: 8
82300 };
82301 A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
82302 call$1(node) {
82303 return type$.CssStyleRule_2._is(node);
82304 },
82305 $signature: 8
82306 };
82307 A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
82308 call$1(node) {
82309 return type$.CssStyleRule_2._is(node);
82310 },
82311 $signature: 8
82312 };
82313 A._EvaluationContext1.prototype = {
82314 get$currentCallableSpan() {
82315 var callableNode = this._evaluate0$_visitor._evaluate0$_callableNode;
82316 if (callableNode != null)
82317 return callableNode.get$span(callableNode);
82318 throw A.wrapException(A.StateError$(string$.No_Sasc));
82319 },
82320 warn$2$deprecation(_, message, deprecation) {
82321 var t1 = this._evaluate0$_visitor,
82322 t2 = t1._evaluate0$_importSpan;
82323 if (t2 == null) {
82324 t2 = t1._evaluate0$_callableNode;
82325 t2 = t2 == null ? null : t2.get$span(t2);
82326 }
82327 t1._evaluate0$_warn$3$deprecation(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
82328 },
82329 $isEvaluationContext0: 1
82330 };
82331 A._ArgumentResults1.prototype = {};
82332 A._LoadedStylesheet1.prototype = {};
82333 A._NodeException.prototype = {};
82334 A.exceptionClass_closure.prototype = {
82335 call$0() {
82336 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());
82337 A.defineGetter(jsClass, "name", null, "sass.Exception");
82338 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));
82339 return jsClass;
82340 },
82341 $signature: 23
82342 };
82343 A.exceptionClass__closure.prototype = {
82344 call$1(exception) {
82345 return J.get$_dartException$x(exception)._span_exception$_message;
82346 },
82347 $signature: 219
82348 };
82349 A.exceptionClass__closure0.prototype = {
82350 call$1(exception) {
82351 return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
82352 },
82353 $signature: 219
82354 };
82355 A.exceptionClass__closure1.prototype = {
82356 call$1(exception) {
82357 var t1 = J.get$_dartException$x(exception),
82358 t2 = J.getInterceptor$z(t1);
82359 return A.SourceSpanException.prototype.get$span.call(t2, t1);
82360 },
82361 $signature: 415
82362 };
82363 A.SassException0.prototype = {
82364 get$trace(_) {
82365 return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
82366 },
82367 get$span(_) {
82368 return A.SourceSpanException.prototype.get$span.call(this, this);
82369 },
82370 toString$1$color(_, color) {
82371 var t2, _i, frame, t3, _this = this,
82372 buffer = new A.StringBuffer(""),
82373 t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
82374 buffer._contents = t1;
82375 buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
82376 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
82377 frame = t1[_i];
82378 if (J.get$length$asx(frame) === 0)
82379 continue;
82380 t3 = buffer._contents += "\n";
82381 buffer._contents = t3 + (" " + A.S(frame));
82382 }
82383 t1 = buffer._contents;
82384 return t1.charCodeAt(0) == 0 ? t1 : t1;
82385 },
82386 toString$0($receiver) {
82387 return this.toString$1$color($receiver, null);
82388 }
82389 };
82390 A.MultiSpanSassException0.prototype = {
82391 toString$1$color(_, color) {
82392 var t1, t2, _i, frame, _this = this,
82393 useColor = color === true && true,
82394 buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
82395 A.NullableExtension_andThen0(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, useColor, null, null).highlight$0(), buffer.get$write(buffer));
82396 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
82397 frame = t1[_i];
82398 if (J.get$length$asx(frame) === 0)
82399 continue;
82400 buffer._contents += "\n";
82401 buffer._contents += " " + A.S(frame);
82402 }
82403 t1 = buffer._contents;
82404 return t1.charCodeAt(0) == 0 ? t1 : t1;
82405 },
82406 toString$0($receiver) {
82407 return this.toString$1$color($receiver, null);
82408 }
82409 };
82410 A.SassRuntimeException0.prototype = {
82411 get$trace(receiver) {
82412 return this.trace;
82413 }
82414 };
82415 A.MultiSpanSassRuntimeException0.prototype = {$isSassRuntimeException0: 1,
82416 get$trace(receiver) {
82417 return this.trace;
82418 }
82419 };
82420 A.SassFormatException0.prototype = {
82421 get$source() {
82422 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(this, this).file._decodedChars, 0, null), 0, null);
82423 },
82424 $isFormatException: 1,
82425 $isSourceSpanFormatException: 1
82426 };
82427 A.SassScriptException0.prototype = {
82428 toString$0(_) {
82429 return this.message + string$.x0a_BUG_;
82430 },
82431 get$message(receiver) {
82432 return this.message;
82433 }
82434 };
82435 A.MultiSpanSassScriptException0.prototype = {};
82436 A.Exports.prototype = {};
82437 A.LoggerNamespace.prototype = {};
82438 A.ExtendRule0.prototype = {
82439 accept$1$1(visitor) {
82440 return visitor.visitExtendRule$1(this);
82441 },
82442 accept$1(visitor) {
82443 return this.accept$1$1(visitor, type$.dynamic);
82444 },
82445 toString$0(_) {
82446 return "@extend " + this.selector.toString$0(0);
82447 },
82448 $isAstNode0: 1,
82449 $isStatement0: 1,
82450 get$span(receiver) {
82451 return this.span;
82452 }
82453 };
82454 A.Extension0.prototype = {
82455 toString$0(_) {
82456 var t1 = this.extender.toString$0(0) + " {@extend " + this.target.toString$0(0);
82457 return t1 + (this.isOptional ? " !optional" : "") + "}";
82458 }
82459 };
82460 A.Extender0.prototype = {
82461 assertCompatibleMediaContext$1(mediaContext) {
82462 var expectedMediaContext,
82463 extension = this._extension$_extension;
82464 if (extension == null)
82465 return;
82466 expectedMediaContext = extension.mediaContext;
82467 if (expectedMediaContext == null)
82468 return;
82469 if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
82470 return;
82471 throw A.wrapException(A.SassException$0(string$.You_ma, extension.span));
82472 },
82473 toString$0(_) {
82474 return A.serializeSelector0(this.selector, true);
82475 }
82476 };
82477 A.ExtensionStore0.prototype = {
82478 get$isEmpty(_) {
82479 var t1 = this._extension_store$_extensions;
82480 return t1.get$isEmpty(t1);
82481 },
82482 get$simpleSelectors() {
82483 return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
82484 },
82485 extensionsWhereTarget$1($async$callback) {
82486 var $async$self = this;
82487 return A._makeSyncStarIterable(function() {
82488 var callback = $async$callback;
82489 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
82490 return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
82491 if ($async$errorCode === 1) {
82492 $async$currentError = $async$result;
82493 $async$goto = $async$handler;
82494 }
82495 while (true)
82496 switch ($async$goto) {
82497 case 0:
82498 // Function start
82499 t1 = $async$self._extension_store$_extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
82500 case 2:
82501 // for condition
82502 if (!t1.moveNext$0()) {
82503 // goto after for
82504 $async$goto = 3;
82505 break;
82506 }
82507 t2 = t1.get$current(t1);
82508 if (!callback.call$1(t2.key)) {
82509 // goto for condition
82510 $async$goto = 2;
82511 break;
82512 }
82513 t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
82514 case 4:
82515 // for condition
82516 if (!t2.moveNext$0()) {
82517 // goto after for
82518 $async$goto = 5;
82519 break;
82520 }
82521 t3 = t2.get$current(t2);
82522 $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
82523 break;
82524 case 6:
82525 // then
82526 t3 = t3.unmerge$0();
82527 $async$goto = 9;
82528 return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
82529 case 9:
82530 // after yield
82531 // goto join
82532 $async$goto = 7;
82533 break;
82534 case 8:
82535 // else
82536 $async$goto = !t3.isOptional ? 10 : 11;
82537 break;
82538 case 10:
82539 // then
82540 $async$goto = 12;
82541 return t3;
82542 case 12:
82543 // after yield
82544 case 11:
82545 // join
82546 case 7:
82547 // join
82548 // goto for condition
82549 $async$goto = 4;
82550 break;
82551 case 5:
82552 // after for
82553 // goto for condition
82554 $async$goto = 2;
82555 break;
82556 case 3:
82557 // after for
82558 // implicit return
82559 return A._IterationMarker_endOfIteration();
82560 case 1:
82561 // rethrow
82562 return A._IterationMarker_uncaughtError($async$currentError);
82563 }
82564 };
82565 }, type$.Extension_2);
82566 },
82567 addSelector$3(selector, selectorSpan, mediaContext) {
82568 var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
82569 selector = selector;
82570 originalSelector = selector;
82571 if (!originalSelector.get$isInvisible())
82572 for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._extension_store$_originals, _i = 0; _i < t2; ++_i)
82573 t3.add$1(0, t1[_i]);
82574 t1 = _this._extension_store$_extensions;
82575 if (t1.get$isNotEmpty(t1))
82576 try {
82577 selector = _this._extension_store$_extendList$4(originalSelector, selectorSpan, t1, mediaContext);
82578 } catch (exception) {
82579 t1 = A.unwrapException(exception);
82580 if (t1 instanceof A.SassException0) {
82581 error = t1;
82582 stackTrace = A.getTraceFromException(exception);
82583 t1 = error;
82584 t2 = J.getInterceptor$z(t1);
82585 t3 = error;
82586 t4 = J.getInterceptor$z(t3);
82587 A.throwWithTrace0(new A.SassException0("From " + A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
82588 } else
82589 throw exception;
82590 }
82591 modifiableSelector = new A.ModifiableCssValue0(selector, selectorSpan, type$.ModifiableCssValue_SelectorList_2);
82592 if (mediaContext != null)
82593 _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
82594 _this._extension_store$_registerSelector$2(selector, modifiableSelector);
82595 return modifiableSelector;
82596 },
82597 _extension_store$_registerSelector$2(list, selector) {
82598 var t1, t2, t3, _i, t4, t5, _i0, component, t6, t7, _i1, simple, selectorInPseudo;
82599 for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, _i = 0; _i < t2; ++_i)
82600 for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0) {
82601 component = t4[_i0];
82602 if (!(component instanceof A.CompoundSelector0))
82603 continue;
82604 for (t6 = component.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
82605 simple = t6[_i1];
82606 J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()), selector);
82607 if (!(simple instanceof A.PseudoSelector0))
82608 continue;
82609 selectorInPseudo = simple.selector;
82610 if (selectorInPseudo != null)
82611 this._extension_store$_registerSelector$2(selectorInPseudo, selector);
82612 }
82613 }
82614 },
82615 addExtension$4(extender, target, extend, mediaContext) {
82616 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
82617 selectors = _this._extension_store$_selectors.$index(0, target),
82618 t1 = _this._extension_store$_extensionsByExtender,
82619 existingExtensions = t1.$index(0, target),
82620 sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
82621 for (t2 = extender.value.components, t3 = t2.length, t4 = selectors == null, t5 = _this._extension_store$_sourceSpecificity, t6 = extender.span, t7 = extend.span, t8 = extend.isOptional, t9 = existingExtensions != null, t10 = type$.ComplexSelector_2, t11 = type$.Extension_2, newExtensions = null, _i = 0; _i < t3; ++_i) {
82622 complex = t2[_i];
82623 if (complex._complex0$_maxSpecificity == null)
82624 complex._complex0$_computeSpecificity$0();
82625 complex._complex0$_maxSpecificity.toString;
82626 t12 = new A.Extender0(complex, false, t6);
82627 extension = t12._extension$_extension = new A.Extension0(t12, target, mediaContext, t8, t7);
82628 existingExtension = sources.$index(0, complex);
82629 if (existingExtension != null) {
82630 sources.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, extension));
82631 continue;
82632 }
82633 sources.$indexSet(0, complex, extension);
82634 for (t12 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
82635 t13 = t12.get$current(t12);
82636 J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure3()), extension);
82637 t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure4(complex));
82638 }
82639 if (!t4 || t9) {
82640 if (newExtensions == null)
82641 newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
82642 newExtensions.$indexSet(0, complex, extension);
82643 }
82644 }
82645 if (newExtensions == null)
82646 return;
82647 t1 = type$.SimpleSelector_2;
82648 newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
82649 if (t9) {
82650 additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
82651 if (additionalExtensions != null)
82652 A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
82653 }
82654 if (!t4)
82655 _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
82656 },
82657 _extension_store$_simpleSelectors$1(complex) {
82658 return this._simpleSelectors$body$ExtensionStore0(complex);
82659 },
82660 _simpleSelectors$body$ExtensionStore0($async$complex) {
82661 var $async$self = this;
82662 return A._makeSyncStarIterable(function() {
82663 var complex = $async$complex;
82664 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, component, t3, t4, _i0, simple, selector, t5, t6, _i1;
82665 return function $async$_extension_store$_simpleSelectors$1($async$errorCode, $async$result) {
82666 if ($async$errorCode === 1) {
82667 $async$currentError = $async$result;
82668 $async$goto = $async$handler;
82669 }
82670 while (true)
82671 switch ($async$goto) {
82672 case 0:
82673 // Function start
82674 t1 = complex.components, t2 = t1.length, _i = 0;
82675 case 2:
82676 // for condition
82677 if (!(_i < t2)) {
82678 // goto after for
82679 $async$goto = 4;
82680 break;
82681 }
82682 component = t1[_i];
82683 $async$goto = component instanceof A.CompoundSelector0 ? 5 : 6;
82684 break;
82685 case 5:
82686 // then
82687 t3 = component.components, t4 = t3.length, _i0 = 0;
82688 case 7:
82689 // for condition
82690 if (!(_i0 < t4)) {
82691 // goto after for
82692 $async$goto = 9;
82693 break;
82694 }
82695 simple = t3[_i0];
82696 $async$goto = 10;
82697 return simple;
82698 case 10:
82699 // after yield
82700 if (!(simple instanceof A.PseudoSelector0)) {
82701 // goto for update
82702 $async$goto = 8;
82703 break;
82704 }
82705 selector = simple.selector;
82706 if (selector == null) {
82707 // goto for update
82708 $async$goto = 8;
82709 break;
82710 }
82711 t5 = selector.components, t6 = t5.length, _i1 = 0;
82712 case 11:
82713 // for condition
82714 if (!(_i1 < t6)) {
82715 // goto after for
82716 $async$goto = 13;
82717 break;
82718 }
82719 $async$goto = 14;
82720 return A._IterationMarker_yieldStar($async$self._extension_store$_simpleSelectors$1(t5[_i1]));
82721 case 14:
82722 // after yield
82723 case 12:
82724 // for update
82725 ++_i1;
82726 // goto for condition
82727 $async$goto = 11;
82728 break;
82729 case 13:
82730 // after for
82731 case 8:
82732 // for update
82733 ++_i0;
82734 // goto for condition
82735 $async$goto = 7;
82736 break;
82737 case 9:
82738 // after for
82739 case 6:
82740 // join
82741 case 3:
82742 // for update
82743 ++_i;
82744 // goto for condition
82745 $async$goto = 2;
82746 break;
82747 case 4:
82748 // after for
82749 // implicit return
82750 return A._IterationMarker_endOfIteration();
82751 case 1:
82752 // rethrow
82753 return A._IterationMarker_uncaughtError($async$currentError);
82754 }
82755 };
82756 }, type$.SimpleSelector_2);
82757 },
82758 _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
82759 var extension, selectors, error, stackTrace, t1, t2, t3, t4, t5, t6, additionalExtensions, _i, t7, exception, t8, t9, containsExtension, first, _i0, complex, t10, t11, t12, t13, t14, withExtender, existingExtension, _i1, component, _i2;
82760 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) {
82761 extension = t1[_i];
82762 t7 = t6.$index(0, extension.target);
82763 t7.toString;
82764 selectors = null;
82765 try {
82766 selectors = this._extension_store$_extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
82767 if (selectors == null)
82768 continue;
82769 } catch (exception) {
82770 t8 = A.unwrapException(exception);
82771 if (t8 instanceof A.SassException0) {
82772 error = t8;
82773 stackTrace = A.getTraceFromException(exception);
82774 t8 = error;
82775 t9 = J.getInterceptor$z(t8);
82776 A.throwWithTrace0(new A.SassException0("From " + extension.extender.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t9, t8)), stackTrace);
82777 } else
82778 throw exception;
82779 }
82780 t8 = J.get$first$ax(selectors);
82781 t9 = extension.extender;
82782 containsExtension = B.C_ListEquality.equals$2(0, t8.components, t9.selector.components);
82783 for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
82784 complex = t8[_i0];
82785 if (containsExtension && first) {
82786 first = false;
82787 continue;
82788 }
82789 t10 = extension;
82790 t11 = t10.extender;
82791 t12 = t10.target;
82792 t13 = t10.span;
82793 t14 = t10.mediaContext;
82794 t10 = t10.isOptional;
82795 if (complex._complex0$_maxSpecificity == null)
82796 complex._complex0$_computeSpecificity$0();
82797 complex._complex0$_maxSpecificity.toString;
82798 t11 = new A.Extender0(complex, false, t11.span);
82799 withExtender = t11._extension$_extension = new A.Extension0(t11, t12, t14, t10, t13);
82800 existingExtension = t7.$index(0, complex);
82801 if (existingExtension != null)
82802 t7.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, withExtender));
82803 else {
82804 t7.$indexSet(0, complex, withExtender);
82805 for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1) {
82806 component = t10[_i1];
82807 if (component instanceof A.CompoundSelector0)
82808 for (t12 = component.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
82809 J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
82810 }
82811 if (newExtensions.containsKey$1(extension.target)) {
82812 if (additionalExtensions == null)
82813 additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
82814 additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, complex, withExtender);
82815 }
82816 }
82817 }
82818 if (!containsExtension)
82819 t7.remove$1(0, extension.extender);
82820 }
82821 return additionalExtensions;
82822 },
82823 _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
82824 var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
82825 for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
82826 selector = t1.get$current(t1);
82827 oldValue = selector.value;
82828 try {
82829 selector.value = this._extension_store$_extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
82830 } catch (exception) {
82831 t3 = A.unwrapException(exception);
82832 if (t3 instanceof A.SassException0) {
82833 error = t3;
82834 stackTrace = A.getTraceFromException(exception);
82835 t3 = error;
82836 t4 = J.getInterceptor$z(t3);
82837 A.throwWithTrace0(new A.SassException0("From " + selector.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
82838 } else
82839 throw exception;
82840 }
82841 if (oldValue === selector.value)
82842 continue;
82843 this._extension_store$_registerSelector$2(selector.value, selector);
82844 }
82845 },
82846 addExtensions$1(extensionStores) {
82847 var t1, t2, t3, _box_0 = {};
82848 _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
82849 for (t1 = J.get$iterator$ax(extensionStores), t2 = this._extension_store$_sourceSpecificity; t1.moveNext$0();) {
82850 t3 = t1.get$current(t1);
82851 if (t3.get$isEmpty(t3))
82852 continue;
82853 t2.addAll$1(0, t3.get$_extension_store$_sourceSpecificity());
82854 t3.get$_extension_store$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure1(_box_0, this));
82855 }
82856 A.NullableExtension_andThen0(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure2(_box_0, this));
82857 },
82858 _extension_store$_extendList$4(list, listSpan, extensions, mediaQueryContext) {
82859 var t1, t2, t3, extended, i, complex, result, t4;
82860 for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
82861 complex = t1[i];
82862 result = this._extension_store$_extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
82863 if (result == null) {
82864 if (extended != null)
82865 extended.push(complex);
82866 } else {
82867 if (extended == null)
82868 if (i === 0)
82869 extended = A._setArrayType([], t3);
82870 else {
82871 t4 = B.JSArray_methods.sublist$2(t1, 0, i);
82872 extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
82873 }
82874 B.JSArray_methods.addAll$1(extended, result);
82875 }
82876 }
82877 if (extended == null)
82878 return list;
82879 t1 = this._extension_store$_originals;
82880 return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)));
82881 },
82882 _extension_store$_extendList$3(list, listSpan, extensions) {
82883 return this._extension_store$_extendList$4(list, listSpan, extensions, null);
82884 },
82885 _extension_store$_extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
82886 var t1, t2, t3, t4, t5, extendedNotExpanded, i, component, extended, result, t6, t7, t8, _null = null,
82887 _s28_ = "components may not be empty.",
82888 _box_0 = {},
82889 isOriginal = this._extension_store$_originals.contains$1(0, complex);
82890 for (t1 = complex.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, t4 = type$.JSArray_ComplexSelectorComponent_2, t5 = type$.ComplexSelectorComponent_2, extendedNotExpanded = _null, i = 0; i < t2; ++i) {
82891 component = t1[i];
82892 if (component instanceof A.CompoundSelector0) {
82893 extended = this._extension_store$_extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
82894 if (extended == null) {
82895 if (extendedNotExpanded != null) {
82896 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
82897 result.fixed$length = Array;
82898 result.immutable$list = Array;
82899 t6 = result;
82900 if (t6.length === 0)
82901 A.throwExpression(A.ArgumentError$(_s28_, _null));
82902 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector0(t6, false)], t3));
82903 }
82904 } else {
82905 if (extendedNotExpanded == null) {
82906 t6 = A._arrayInstanceType(t1);
82907 t7 = t6._eval$1("SubListIterable<1>");
82908 t8 = new A.SubListIterable(t1, 0, i, t7);
82909 t8.SubListIterable$3(t1, 0, i, t6._precomputed1);
82910 t7 = t7._eval$1("MappedListIterable<ListIterable.E,List<ComplexSelector0>>");
82911 extendedNotExpanded = A.List_List$of(new A.MappedListIterable(t8, new A.ExtensionStore__extendComplex_closure1(complex), t7), true, t7._eval$1("ListIterable.E"));
82912 }
82913 B.JSArray_methods.add$1(extendedNotExpanded, extended);
82914 }
82915 } else if (extendedNotExpanded != null) {
82916 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
82917 result.fixed$length = Array;
82918 result.immutable$list = Array;
82919 t6 = result;
82920 if (t6.length === 0)
82921 A.throwExpression(A.ArgumentError$(_s28_, _null));
82922 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector0(t6, false)], t3));
82923 }
82924 }
82925 if (extendedNotExpanded == null)
82926 return _null;
82927 _box_0.first = true;
82928 t1 = type$.ComplexSelector_2;
82929 t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure2(_box_0, this, complex), t1);
82930 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
82931 },
82932 _extension_store$_extendCompound$5$inOriginal(compound, compoundSpan, extensions, mediaQueryContext, inOriginal) {
82933 var t2, t3, t4, t5, t6, t7, t8, t9, t10, options, i, simple, extended, result, t11, t12, isOriginal, _this = this, _null = null,
82934 _s28_ = "components may not be empty.",
82935 _box_1 = {},
82936 t1 = _this._extension_store$_mode,
82937 targetsUsed = t1 === B.ExtendMode_normal0 || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
82938 for (t2 = compound.components, t3 = t2.length, t4 = type$.JSArray_List_Extender_2, t5 = type$.JSArray_Extender_2, t6 = type$.JSArray_ComplexSelectorComponent_2, t7 = type$.ComplexSelectorComponent_2, t8 = type$.SimpleSelector_2, t9 = _this._extension_store$_sourceSpecificity, t10 = type$.JSArray_SimpleSelector_2, options = _null, i = 0; i < t3; ++i) {
82939 simple = t2[i];
82940 extended = _this._extension_store$_extendSimple$5(simple, compoundSpan, extensions, mediaQueryContext, targetsUsed);
82941 if (extended == null) {
82942 if (options != null) {
82943 result = A.List_List$from(A._setArrayType([simple], t10), false, t8);
82944 result.fixed$length = Array;
82945 result.immutable$list = Array;
82946 t11 = result;
82947 if (t11.length === 0)
82948 A.throwExpression(A.ArgumentError$(_s28_, _null));
82949 result = A.List_List$from(A._setArrayType([new A.CompoundSelector0(t11)], t6), false, t7);
82950 result.fixed$length = Array;
82951 result.immutable$list = Array;
82952 t11 = result;
82953 if (t11.length === 0)
82954 A.throwExpression(A.ArgumentError$(_s28_, _null));
82955 t9.$index(0, simple);
82956 options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t11, false), true, compoundSpan)], t5));
82957 }
82958 } else {
82959 if (options == null) {
82960 options = A._setArrayType([], t4);
82961 if (i !== 0) {
82962 t11 = A._arrayInstanceType(t2);
82963 t12 = new A.SubListIterable(t2, 0, i, t11._eval$1("SubListIterable<1>"));
82964 t12.SubListIterable$3(t2, 0, i, t11._precomputed1);
82965 result = A.List_List$from(t12, false, t8);
82966 result.fixed$length = Array;
82967 result.immutable$list = Array;
82968 t12 = result;
82969 compound = new A.CompoundSelector0(t12);
82970 if (t12.length === 0)
82971 A.throwExpression(A.ArgumentError$(_s28_, _null));
82972 result = A.List_List$from(A._setArrayType([compound], t6), false, t7);
82973 result.fixed$length = Array;
82974 result.immutable$list = Array;
82975 t11 = result;
82976 if (t11.length === 0)
82977 A.throwExpression(A.ArgumentError$(_s28_, _null));
82978 _this._extension_store$_sourceSpecificityFor$1(compound);
82979 options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t11, false), true, compoundSpan)], t5));
82980 }
82981 }
82982 B.JSArray_methods.addAll$1(options, extended);
82983 }
82984 }
82985 if (options == null)
82986 return _null;
82987 if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
82988 return _null;
82989 if (options.length === 1)
82990 return J.map$1$1$ax(B.JSArray_methods.get$first(options), new A.ExtensionStore__extendCompound_closure4(mediaQueryContext), type$.ComplexSelector_2).toList$0(0);
82991 t1 = _box_1.first = t1 !== B.ExtendMode_replace0;
82992 t2 = A.IterableNullableExtension_whereNotNull(J.map$1$1$ax(A.paths0(options, type$.Extender_2), new A.ExtensionStore__extendCompound_closure5(_box_1, mediaQueryContext), type$.nullable_List_ComplexSelector_2), type$.List_ComplexSelector_2);
82993 t3 = t2.$ti._eval$1("ExpandIterable<Iterable.E,ComplexSelector0>");
82994 result = A.List_List$of(new A.ExpandIterable(t2, new A.ExtensionStore__extendCompound_closure6(), t3), true, t3._eval$1("Iterable.E"));
82995 isOriginal = new A.ExtensionStore__extendCompound_closure7();
82996 return _this._extension_store$_trim$2(result, inOriginal && t1 ? new A.ExtensionStore__extendCompound_closure8(B.JSArray_methods.get$first(result)) : isOriginal);
82997 },
82998 _extension_store$_extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
82999 var extended,
83000 t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed, simpleSpan);
83001 if (simple instanceof A.PseudoSelector0 && simple.selector != null) {
83002 extended = this._extension_store$_extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
83003 if (extended != null)
83004 return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure1(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender0>>"));
83005 }
83006 return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
83007 },
83008 _extension_store$_extenderForSimple$2(simple, span) {
83009 var t1 = A.ComplexSelector$0(A._setArrayType([A.CompoundSelector$0(A._setArrayType([simple], type$.JSArray_SimpleSelector_2))], type$.JSArray_ComplexSelectorComponent_2), false);
83010 this._extension_store$_sourceSpecificity.$index(0, simple);
83011 return new A.Extender0(t1, true, span);
83012 },
83013 _extension_store$_extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
83014 var extended, complexes, t1, result,
83015 selector = pseudo.selector;
83016 if (selector == null)
83017 throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
83018 extended = this._extension_store$_extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
83019 if (extended === selector)
83020 return null;
83021 complexes = extended.components;
83022 t1 = pseudo.normalizedName === "not";
83023 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()))
83024 complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
83025 complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
83026 if (t1 && selector.components.length === 1) {
83027 t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
83028 result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
83029 return result.length === 0 ? null : result;
83030 } else
83031 return A._setArrayType([A.PseudoSelector$0(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$0(complexes))], type$.JSArray_PseudoSelector_2);
83032 },
83033 _extension_store$_trim$2(selectors, isOriginal) {
83034 var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, component;
83035 if (selectors.length > 100)
83036 return selectors;
83037 result = A.QueueList$(null, type$.ComplexSelector_2);
83038 $label0$0:
83039 for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
83040 _box_0 = {};
83041 complex1 = selectors[i];
83042 if (isOriginal.call$1(complex1)) {
83043 for (j = 0; j < numOriginals; ++j)
83044 if (J.$eq$(result.$index(0, j), complex1)) {
83045 A.rotateSlice0(result, 0, j + 1);
83046 continue $label0$0;
83047 }
83048 ++numOriginals;
83049 result.addFirst$1(complex1);
83050 continue $label0$0;
83051 }
83052 _box_0.maxSpecificity = 0;
83053 for (t3 = complex1.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
83054 component = t3[_i];
83055 if (component instanceof A.CompoundSelector0)
83056 _box_0.maxSpecificity = Math.max(_box_0.maxSpecificity, this._extension_store$_sourceSpecificityFor$1(component));
83057 }
83058 if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
83059 continue $label0$0;
83060 t3 = new A.SubListIterable(selectors, 0, i, t1);
83061 t3.SubListIterable$3(selectors, 0, i, t2);
83062 if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
83063 continue $label0$0;
83064 result.addFirst$1(complex1);
83065 }
83066 return result;
83067 },
83068 _extension_store$_sourceSpecificityFor$1(compound) {
83069 var t1, t2, t3, specificity, _i, t4;
83070 for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
83071 t4 = t3.$index(0, t1[_i]);
83072 specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
83073 }
83074 return specificity;
83075 },
83076 clone$0() {
83077 var t3, t4, _this = this,
83078 t1 = type$.SimpleSelector_2,
83079 newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList_2),
83080 t2 = type$.ModifiableCssValue_SelectorList_2,
83081 newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery_2),
83082 oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList_2, t2);
83083 _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
83084 t2 = type$.Extension_2;
83085 t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
83086 t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
83087 t1 = A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int);
83088 t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
83089 t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
83090 t4.addAll$1(0, _this._extension_store$_originals);
83091 return new A.Tuple2(new A.ExtensionStore0(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal0), oldToNewSelectors, type$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2);
83092 },
83093 get$_extension_store$_extensions() {
83094 return this._extension_store$_extensions;
83095 },
83096 get$_extension_store$_sourceSpecificity() {
83097 return this._extension_store$_sourceSpecificity;
83098 }
83099 };
83100 A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
83101 call$1(extension) {
83102 return !extension.isOptional;
83103 },
83104 $signature: 416
83105 };
83106 A.ExtensionStore__registerSelector_closure0.prototype = {
83107 call$0() {
83108 return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2);
83109 },
83110 $signature: 417
83111 };
83112 A.ExtensionStore_addExtension_closure2.prototype = {
83113 call$0() {
83114 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
83115 },
83116 $signature: 142
83117 };
83118 A.ExtensionStore_addExtension_closure3.prototype = {
83119 call$0() {
83120 return A._setArrayType([], type$.JSArray_Extension_2);
83121 },
83122 $signature: 221
83123 };
83124 A.ExtensionStore_addExtension_closure4.prototype = {
83125 call$0() {
83126 return this.complex.get$maxSpecificity();
83127 },
83128 $signature: 12
83129 };
83130 A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
83131 call$0() {
83132 return A._setArrayType([], type$.JSArray_Extension_2);
83133 },
83134 $signature: 221
83135 };
83136 A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
83137 call$0() {
83138 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
83139 },
83140 $signature: 142
83141 };
83142 A.ExtensionStore_addExtensions_closure1.prototype = {
83143 call$2(target, newSources) {
83144 var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
83145 if (target instanceof A.PlaceholderSelector0) {
83146 first = B.JSString_methods._codeUnitAt$1(target.name, 0);
83147 t1 = first === 45 || first === 95;
83148 } else
83149 t1 = false;
83150 if (t1)
83151 return;
83152 t1 = _this.$this;
83153 extensionsForTarget = t1._extension_store$_extensionsByExtender.$index(0, target);
83154 t2 = extensionsForTarget == null;
83155 if (!t2) {
83156 t3 = _this._box_0;
83157 t4 = t3.extensionsToExtend;
83158 B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension_2) : t4, extensionsForTarget);
83159 }
83160 selectorsForTarget = t1._extension_store$_selectors.$index(0, target);
83161 t3 = selectorsForTarget != null;
83162 if (t3) {
83163 t4 = _this._box_0;
83164 t5 = t4.selectorsToExtend;
83165 (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2) : t5).addAll$1(0, selectorsForTarget);
83166 }
83167 t1 = t1._extension_store$_extensions;
83168 existingSources = t1.$index(0, target);
83169 if (existingSources == null) {
83170 t4 = type$.ComplexSelector_2;
83171 t5 = type$.Extension_2;
83172 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
83173 if (!t2 || t3) {
83174 t1 = _this._box_0;
83175 t2 = t1.newExtensions;
83176 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
83177 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
83178 }
83179 } else
83180 newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure4(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
83181 },
83182 $signature: 420
83183 };
83184 A.ExtensionStore_addExtensions__closure4.prototype = {
83185 call$2(extender, extension) {
83186 var t2, _this = this,
83187 t1 = _this.existingSources;
83188 if (t1.containsKey$1(extender)) {
83189 t2 = t1.$index(0, extender);
83190 t2.toString;
83191 extension = A.MergedExtension_merge0(t2, extension);
83192 t1.$indexSet(0, extender, extension);
83193 } else
83194 t1.$indexSet(0, extender, extension);
83195 if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
83196 t1 = _this._box_0;
83197 t2 = t1.newExtensions;
83198 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
83199 J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure0()), extender, extension);
83200 }
83201 },
83202 $signature: 421
83203 };
83204 A.ExtensionStore_addExtensions___closure0.prototype = {
83205 call$0() {
83206 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
83207 },
83208 $signature: 142
83209 };
83210 A.ExtensionStore_addExtensions_closure2.prototype = {
83211 call$1(newExtensions) {
83212 var t1 = this._box_0,
83213 t2 = this.$this;
83214 A.NullableExtension_andThen0(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure2(t2, newExtensions));
83215 A.NullableExtension_andThen0(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure3(t2, newExtensions));
83216 },
83217 $signature: 422
83218 };
83219 A.ExtensionStore_addExtensions__closure2.prototype = {
83220 call$1(extensionsToExtend) {
83221 return this.$this._extension_store$_extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
83222 },
83223 $signature: 423
83224 };
83225 A.ExtensionStore_addExtensions__closure3.prototype = {
83226 call$1(selectorsToExtend) {
83227 return this.$this._extension_store$_extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
83228 },
83229 $signature: 424
83230 };
83231 A.ExtensionStore__extendComplex_closure1.prototype = {
83232 call$1(component) {
83233 return A._setArrayType([A.ComplexSelector$0(A._setArrayType([component], type$.JSArray_ComplexSelectorComponent_2), this.complex.lineBreak)], type$.JSArray_ComplexSelector_2);
83234 },
83235 $signature: 425
83236 };
83237 A.ExtensionStore__extendComplex_closure2.prototype = {
83238 call$1(path) {
83239 var t1 = A.weave0(J.map$1$1$ax(path, new A.ExtensionStore__extendComplex__closure1(), type$.List_ComplexSelectorComponent_2).toList$0(0));
83240 return new A.MappedListIterable(t1, new A.ExtensionStore__extendComplex__closure2(this._box_0, this.$this, this.complex, path), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
83241 },
83242 $signature: 426
83243 };
83244 A.ExtensionStore__extendComplex__closure1.prototype = {
83245 call$1(complex) {
83246 return complex.components;
83247 },
83248 $signature: 427
83249 };
83250 A.ExtensionStore__extendComplex__closure2.prototype = {
83251 call$1(components) {
83252 var _this = this,
83253 t1 = _this.complex,
83254 outputComplex = A.ComplexSelector$0(components, t1.lineBreak || J.any$1$ax(_this.path, new A.ExtensionStore__extendComplex___closure0())),
83255 t2 = _this._box_0;
83256 if (t2.first && _this.$this._extension_store$_originals.contains$1(0, t1))
83257 _this.$this._extension_store$_originals.add$1(0, outputComplex);
83258 t2.first = false;
83259 return outputComplex;
83260 },
83261 $signature: 85
83262 };
83263 A.ExtensionStore__extendComplex___closure0.prototype = {
83264 call$1(inputComplex) {
83265 return inputComplex.lineBreak;
83266 },
83267 $signature: 17
83268 };
83269 A.ExtensionStore__extendCompound_closure4.prototype = {
83270 call$1(extender) {
83271 extender.assertCompatibleMediaContext$1(this.mediaQueryContext);
83272 return extender.selector;
83273 },
83274 $signature: 430
83275 };
83276 A.ExtensionStore__extendCompound_closure5.prototype = {
83277 call$1(path) {
83278 var complexes, toUnify, t2, t3, originals, t4, _box_0 = {},
83279 t1 = this._box_1;
83280 if (t1.first) {
83281 t1.first = false;
83282 complexes = A._setArrayType([A._setArrayType([A.CompoundSelector$0(J.expand$1$1$ax(path, new A.ExtensionStore__extendCompound__closure1(), type$.SimpleSelector_2))], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2);
83283 } else {
83284 toUnify = A.QueueList$(null, type$.List_ComplexSelectorComponent_2);
83285 for (t1 = J.get$iterator$ax(path), t2 = type$.CompoundSelector_2, t3 = type$.JSArray_SimpleSelector_2, originals = null; t1.moveNext$0();) {
83286 t4 = t1.get$current(t1);
83287 if (t4.isOriginal) {
83288 if (originals == null)
83289 originals = A._setArrayType([], t3);
83290 B.JSArray_methods.addAll$1(originals, t2._as(B.JSArray_methods.get$last(t4.selector.components)).components);
83291 } else
83292 toUnify._queue_list$_add$1(t4.selector.components);
83293 }
83294 if (originals != null)
83295 toUnify.addFirst$1(A._setArrayType([A.CompoundSelector$0(originals)], type$.JSArray_ComplexSelectorComponent_2));
83296 complexes = A.unifyComplex0(toUnify);
83297 if (complexes == null)
83298 return null;
83299 }
83300 _box_0.lineBreak = false;
83301 for (t1 = J.get$iterator$ax(path), t2 = this.mediaQueryContext; t1.moveNext$0();) {
83302 t3 = t1.get$current(t1);
83303 t3.assertCompatibleMediaContext$1(t2);
83304 _box_0.lineBreak = _box_0.lineBreak || t3.selector.lineBreak;
83305 }
83306 t1 = J.map$1$1$ax(complexes, new A.ExtensionStore__extendCompound__closure2(_box_0), type$.ComplexSelector_2);
83307 return A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
83308 },
83309 $signature: 431
83310 };
83311 A.ExtensionStore__extendCompound__closure1.prototype = {
83312 call$1(extender) {
83313 return type$.CompoundSelector_2._as(B.JSArray_methods.get$last(extender.selector.components)).components;
83314 },
83315 $signature: 432
83316 };
83317 A.ExtensionStore__extendCompound__closure2.prototype = {
83318 call$1(components) {
83319 return A.ComplexSelector$0(components, this._box_0.lineBreak);
83320 },
83321 $signature: 85
83322 };
83323 A.ExtensionStore__extendCompound_closure6.prototype = {
83324 call$1(l) {
83325 return l;
83326 },
83327 $signature: 433
83328 };
83329 A.ExtensionStore__extendCompound_closure7.prototype = {
83330 call$1(_) {
83331 return false;
83332 },
83333 $signature: 17
83334 };
83335 A.ExtensionStore__extendCompound_closure8.prototype = {
83336 call$1(complex) {
83337 var t1 = B.C_ListEquality.equals$2(0, complex.components, this.original.components);
83338 return t1;
83339 },
83340 $signature: 17
83341 };
83342 A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
83343 call$1(simple) {
83344 var t1, t2, _this = this,
83345 extensionsForSimple = _this.extensions.$index(0, simple);
83346 if (extensionsForSimple == null)
83347 return null;
83348 t1 = _this.targetsUsed;
83349 if (t1 != null)
83350 t1.add$1(0, simple);
83351 t1 = A._setArrayType([], type$.JSArray_Extender_2);
83352 t2 = _this.$this;
83353 if (t2._extension_store$_mode !== B.ExtendMode_replace0)
83354 t1.push(t2._extension_store$_extenderForSimple$2(simple, _this.simpleSpan));
83355 for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
83356 t1.push(t2.get$current(t2).extender);
83357 return t1;
83358 },
83359 $signature: 434
83360 };
83361 A.ExtensionStore__extendSimple_closure1.prototype = {
83362 call$1(pseudo) {
83363 var t1 = this.withoutPseudo.call$1(pseudo);
83364 return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender_2) : t1;
83365 },
83366 $signature: 435
83367 };
83368 A.ExtensionStore__extendSimple_closure2.prototype = {
83369 call$1(result) {
83370 return A._setArrayType([result], type$.JSArray_List_Extender_2);
83371 },
83372 $signature: 436
83373 };
83374 A.ExtensionStore__extendPseudo_closure4.prototype = {
83375 call$1(complex) {
83376 return complex.components.length > 1;
83377 },
83378 $signature: 17
83379 };
83380 A.ExtensionStore__extendPseudo_closure5.prototype = {
83381 call$1(complex) {
83382 return complex.components.length === 1;
83383 },
83384 $signature: 17
83385 };
83386 A.ExtensionStore__extendPseudo_closure6.prototype = {
83387 call$1(complex) {
83388 return complex.components.length <= 1;
83389 },
83390 $signature: 17
83391 };
83392 A.ExtensionStore__extendPseudo_closure7.prototype = {
83393 call$1(complex) {
83394 var innerPseudo, innerSelector,
83395 t1 = complex.components;
83396 if (t1.length !== 1)
83397 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83398 if (!(B.JSArray_methods.get$first(t1) instanceof A.CompoundSelector0))
83399 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83400 t1 = type$.CompoundSelector_2._as(B.JSArray_methods.get$first(t1)).components;
83401 if (t1.length !== 1)
83402 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83403 if (!(B.JSArray_methods.get$first(t1) instanceof A.PseudoSelector0))
83404 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83405 innerPseudo = type$.PseudoSelector_2._as(B.JSArray_methods.get$first(t1));
83406 innerSelector = innerPseudo.selector;
83407 if (innerSelector == null)
83408 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83409 t1 = this.pseudo;
83410 switch (t1.normalizedName) {
83411 case "not":
83412 t1 = innerPseudo.normalizedName;
83413 if (t1 !== "is" && t1 !== "matches")
83414 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83415 return innerSelector.components;
83416 case "is":
83417 case "matches":
83418 case "any":
83419 case "current":
83420 case "nth-child":
83421 case "nth-last-child":
83422 if (innerPseudo.name !== t1.name)
83423 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83424 if (innerPseudo.argument != t1.argument)
83425 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83426 return innerSelector.components;
83427 case "has":
83428 case "host":
83429 case "host-context":
83430 case "slotted":
83431 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83432 default:
83433 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83434 }
83435 },
83436 $signature: 437
83437 };
83438 A.ExtensionStore__extendPseudo_closure8.prototype = {
83439 call$1(complex) {
83440 var t1 = this.pseudo;
83441 return A.PseudoSelector$0(t1.name, t1.argument, !t1.isClass, A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2)));
83442 },
83443 $signature: 438
83444 };
83445 A.ExtensionStore__trim_closure1.prototype = {
83446 call$1(complex2) {
83447 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector0(complex2.components, this.complex1.components);
83448 },
83449 $signature: 17
83450 };
83451 A.ExtensionStore__trim_closure2.prototype = {
83452 call$1(complex2) {
83453 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector0(complex2.components, this.complex1.components);
83454 },
83455 $signature: 17
83456 };
83457 A.ExtensionStore_clone_closure0.prototype = {
83458 call$2(simple, selectors) {
83459 var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
83460 t1 = type$.ModifiableCssValue_SelectorList_2,
83461 newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
83462 _this.newSelectors.$indexSet(0, simple, newSelectorSet);
83463 for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._extension_store$_mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
83464 t6 = t2.get$current(t2);
83465 newSelector = new A.ModifiableCssValue0(t6.value, t6.span, t1);
83466 newSelectorSet.add$1(0, newSelector);
83467 t3.$indexSet(0, t6, newSelector);
83468 mediaContext = t4.$index(0, t6);
83469 if (mediaContext != null)
83470 t5.$indexSet(0, newSelector, mediaContext);
83471 }
83472 },
83473 $signature: 439
83474 };
83475 A.FiberClass.prototype = {};
83476 A.Fiber.prototype = {};
83477 A.NodeToDartFileImporter.prototype = {
83478 canonicalize$1(_, url) {
83479 var result, t1, resultUrl;
83480 if (url.get$scheme() === "file")
83481 return $.$get$_filesystemImporter0().canonicalize$1(0, url);
83482 result = this._file0$_findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
83483 if (result == null)
83484 return null;
83485 t1 = self.Promise;
83486 if (result instanceof t1)
83487 A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
83488 else {
83489 t1 = self.URL;
83490 if (!(result instanceof t1))
83491 A.jsThrow(new self.Error(string$.The_fie));
83492 }
83493 resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
83494 if (resultUrl.get$scheme() !== "file")
83495 A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
83496 return $.$get$_filesystemImporter0().canonicalize$1(0, resultUrl);
83497 },
83498 load$1(_, url) {
83499 return $.$get$_filesystemImporter0().load$1(0, url);
83500 }
83501 };
83502 A.FilesystemImporter0.prototype = {
83503 canonicalize$1(_, url) {
83504 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
83505 return null;
83506 return A.NullableExtension_andThen0(A.resolveImportPath0(A.join(this._filesystem$_loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure0());
83507 },
83508 load$1(_, url) {
83509 var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
83510 return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
83511 },
83512 toString$0(_) {
83513 return this._filesystem$_loadPath;
83514 }
83515 };
83516 A.FilesystemImporter_canonicalize_closure0.prototype = {
83517 call$1(resolved) {
83518 var t1, t2, t0, _null = null;
83519 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
83520 t1 = $.$get$context();
83521 t2 = A._realCasePath0(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
83522 t0 = t2;
83523 t2 = t1;
83524 t1 = t0;
83525 } else {
83526 t1 = $.$get$context();
83527 t2 = t1.canonicalize$1(0, resolved);
83528 t0 = t2;
83529 t2 = t1;
83530 t1 = t0;
83531 }
83532 return t2.toUri$1(t1);
83533 },
83534 $signature: 184
83535 };
83536 A.ForRule0.prototype = {
83537 accept$1$1(visitor) {
83538 return visitor.visitForRule$1(this);
83539 },
83540 accept$1(visitor) {
83541 return this.accept$1$1(visitor, type$.dynamic);
83542 },
83543 toString$0(_) {
83544 var _this = this,
83545 t1 = "@for $" + _this.variable + " from " + _this.from.toString$0(0) + " ",
83546 t2 = _this.children;
83547 return t1 + (_this.isExclusive ? "to" : "through") + " " + _this.to.toString$0(0) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
83548 },
83549 get$span(receiver) {
83550 return this.span;
83551 }
83552 };
83553 A.ForwardRule0.prototype = {
83554 accept$1$1(visitor) {
83555 return visitor.visitForwardRule$1(this);
83556 },
83557 accept$1(visitor) {
83558 return this.accept$1$1(visitor, type$.dynamic);
83559 },
83560 toString$0(_) {
83561 var t2, prefix, _this = this,
83562 t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
83563 shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
83564 hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
83565 if (shownMixinsAndFunctions != null) {
83566 t1 += " show ";
83567 t2 = _this.shownVariables;
83568 t2.toString;
83569 t2 = t1 + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
83570 t1 = t2;
83571 } else {
83572 if (hiddenMixinsAndFunctions != null) {
83573 t2 = hiddenMixinsAndFunctions._base;
83574 t2 = t2.get$isNotEmpty(t2);
83575 } else
83576 t2 = false;
83577 if (t2) {
83578 t1 += " hide ";
83579 t2 = _this.hiddenVariables;
83580 t2.toString;
83581 t2 = t1 + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
83582 t1 = t2;
83583 }
83584 }
83585 prefix = _this.prefix;
83586 if (prefix != null)
83587 t1 += " as " + prefix + "*";
83588 t2 = _this.configuration;
83589 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
83590 return t1.charCodeAt(0) == 0 ? t1 : t1;
83591 },
83592 _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
83593 var t2,
83594 t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
83595 for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
83596 t1.push("$" + t2.get$current(t2));
83597 return B.JSArray_methods.join$1(t1, ", ");
83598 },
83599 $isAstNode0: 1,
83600 $isStatement0: 1,
83601 get$span(receiver) {
83602 return this.span;
83603 }
83604 };
83605 A.ForwardedModuleView0.prototype = {
83606 get$url(_) {
83607 var t1 = this._forwarded_view0$_inner;
83608 return t1.get$url(t1);
83609 },
83610 get$upstream() {
83611 return this._forwarded_view0$_inner.get$upstream();
83612 },
83613 get$extensionStore() {
83614 return this._forwarded_view0$_inner.get$extensionStore();
83615 },
83616 get$css(_) {
83617 var t1 = this._forwarded_view0$_inner;
83618 return t1.get$css(t1);
83619 },
83620 get$transitivelyContainsCss() {
83621 return this._forwarded_view0$_inner.get$transitivelyContainsCss();
83622 },
83623 get$transitivelyContainsExtensions() {
83624 return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
83625 },
83626 setVariable$3($name, value, nodeWithSpan) {
83627 var prefix,
83628 _s19_ = "Undefined variable.",
83629 t1 = this._forwarded_view0$_rule,
83630 shownVariables = t1.shownVariables,
83631 hiddenVariables = t1.hiddenVariables;
83632 if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
83633 throw A.wrapException(A.SassScriptException$0(_s19_));
83634 else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
83635 throw A.wrapException(A.SassScriptException$0(_s19_));
83636 prefix = t1.prefix;
83637 if (prefix != null) {
83638 if (!B.JSString_methods.startsWith$1($name, prefix))
83639 throw A.wrapException(A.SassScriptException$0(_s19_));
83640 $name = B.JSString_methods.substring$1($name, prefix.length);
83641 }
83642 return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
83643 },
83644 variableIdentity$1($name) {
83645 var prefix = this._forwarded_view0$_rule.prefix;
83646 if (prefix != null)
83647 $name = B.JSString_methods.substring$1($name, prefix.length);
83648 return this._forwarded_view0$_inner.variableIdentity$1($name);
83649 },
83650 $eq(_, other) {
83651 if (other == null)
83652 return false;
83653 return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
83654 },
83655 get$hashCode(_) {
83656 var t1 = this._forwarded_view0$_inner;
83657 return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
83658 },
83659 cloneCss$0() {
83660 return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
83661 },
83662 toString$0(_) {
83663 return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
83664 },
83665 $isModule0: 1,
83666 get$variables() {
83667 return this.variables;
83668 },
83669 get$variableNodes() {
83670 return this.variableNodes;
83671 },
83672 get$functions(receiver) {
83673 return this.functions;
83674 },
83675 get$mixins() {
83676 return this.mixins;
83677 }
83678 };
83679 A.FunctionExpression0.prototype = {
83680 accept$1$1(visitor) {
83681 return visitor.visitFunctionExpression$1(this);
83682 },
83683 accept$1(visitor) {
83684 return this.accept$1$1(visitor, type$.dynamic);
83685 },
83686 toString$0(_) {
83687 var t1 = this.namespace;
83688 t1 = t1 != null ? "" + (t1 + ".") : "";
83689 t1 += this.originalName + this.$arguments.toString$0(0);
83690 return t1.charCodeAt(0) == 0 ? t1 : t1;
83691 },
83692 $isExpression0: 1,
83693 $isAstNode0: 1,
83694 get$span(receiver) {
83695 return this.span;
83696 }
83697 };
83698 A.JSFunction0.prototype = {};
83699 A.SupportsFunction0.prototype = {
83700 toString$0(_) {
83701 return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
83702 },
83703 $isAstNode0: 1,
83704 $isSupportsCondition0: 1,
83705 get$span(receiver) {
83706 return this.span;
83707 }
83708 };
83709 A.functionClass_closure.prototype = {
83710 call$0() {
83711 var t1 = type$.JSClass,
83712 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
83713 A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
83714 return jsClass;
83715 },
83716 $signature: 23
83717 };
83718 A.functionClass__closure.prototype = {
83719 call$3($self, signature, callback) {
83720 var paren = B.JSString_methods.indexOf$1(signature, "(");
83721 if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
83722 A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
83723 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));
83724 },
83725 "call*": "call$3",
83726 $requiredArgCount: 3,
83727 $signature: 440
83728 };
83729 A.functionClass__closure0.prototype = {
83730 call$1(_) {
83731 return B.C__SassNull0;
83732 },
83733 $signature: 3
83734 };
83735 A.SassFunction0.prototype = {
83736 accept$1$1(visitor) {
83737 var t1, t2;
83738 if (!visitor._serialize0$_inspect)
83739 A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value."));
83740 t1 = visitor._serialize0$_buffer;
83741 t1.write$1(0, "get-function(");
83742 t2 = this.callable;
83743 visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
83744 t1.writeCharCode$1(41);
83745 return null;
83746 },
83747 accept$1(visitor) {
83748 return this.accept$1$1(visitor, type$.dynamic);
83749 },
83750 assertFunction$1($name) {
83751 return this;
83752 },
83753 $eq(_, other) {
83754 if (other == null)
83755 return false;
83756 return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
83757 },
83758 get$hashCode(_) {
83759 var t1 = this.callable;
83760 return t1.get$hashCode(t1);
83761 }
83762 };
83763 A.FunctionRule0.prototype = {
83764 accept$1$1(visitor) {
83765 return visitor.visitFunctionRule$1(this);
83766 },
83767 accept$1(visitor) {
83768 return this.accept$1$1(visitor, type$.dynamic);
83769 },
83770 toString$0(_) {
83771 var t1 = this.children;
83772 return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
83773 }
83774 };
83775 A.unifyComplex_closure0.prototype = {
83776 call$1(complex) {
83777 var t1 = J.getInterceptor$asx(complex);
83778 return t1.sublist$2(complex, 0, t1.get$length(complex) - 1);
83779 },
83780 $signature: 104
83781 };
83782 A._weaveParents_closure6.prototype = {
83783 call$2(group1, group2) {
83784 var unified, t1, _null = null;
83785 if (B.C_ListEquality.equals$2(0, group1, group2))
83786 return group1;
83787 if (!(J.get$first$ax(group1) instanceof A.CompoundSelector0) || !(J.get$first$ax(group2) instanceof A.CompoundSelector0))
83788 return _null;
83789 if (A.complexIsParentSuperselector0(group1, group2))
83790 return group2;
83791 if (A.complexIsParentSuperselector0(group2, group1))
83792 return group1;
83793 if (!A._mustUnify0(group1, group2))
83794 return _null;
83795 unified = A.unifyComplex0(A._setArrayType([group1, group2], type$.JSArray_List_ComplexSelectorComponent_2));
83796 if (unified == null)
83797 return _null;
83798 t1 = J.getInterceptor$asx(unified);
83799 if (t1.get$length(unified) > 1)
83800 return _null;
83801 return t1.get$first(unified);
83802 },
83803 $signature: 442
83804 };
83805 A._weaveParents_closure7.prototype = {
83806 call$1(sequence) {
83807 return A.complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
83808 },
83809 $signature: 443
83810 };
83811 A._weaveParents_closure8.prototype = {
83812 call$1(chunk) {
83813 return J.expand$1$1$ax(chunk, new A._weaveParents__closure4(), type$.ComplexSelectorComponent_2);
83814 },
83815 $signature: 225
83816 };
83817 A._weaveParents__closure4.prototype = {
83818 call$1(group) {
83819 return group;
83820 },
83821 $signature: 104
83822 };
83823 A._weaveParents_closure9.prototype = {
83824 call$1(sequence) {
83825 return sequence.get$length(sequence) === 0;
83826 },
83827 $signature: 197
83828 };
83829 A._weaveParents_closure10.prototype = {
83830 call$1(chunk) {
83831 return J.expand$1$1$ax(chunk, new A._weaveParents__closure3(), type$.ComplexSelectorComponent_2);
83832 },
83833 $signature: 225
83834 };
83835 A._weaveParents__closure3.prototype = {
83836 call$1(group) {
83837 return group;
83838 },
83839 $signature: 104
83840 };
83841 A._weaveParents_closure11.prototype = {
83842 call$1(choice) {
83843 return J.get$isNotEmpty$asx(choice);
83844 },
83845 $signature: 445
83846 };
83847 A._weaveParents_closure12.prototype = {
83848 call$1(path) {
83849 var t1 = J.expand$1$1$ax(path, new A._weaveParents__closure2(), type$.ComplexSelectorComponent_2);
83850 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
83851 },
83852 $signature: 446
83853 };
83854 A._weaveParents__closure2.prototype = {
83855 call$1(group) {
83856 return group;
83857 },
83858 $signature: 447
83859 };
83860 A._mustUnify_closure0.prototype = {
83861 call$1(component) {
83862 return component instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(component.components, new A._mustUnify__closure0(this.uniqueSelectors));
83863 },
83864 $signature: 105
83865 };
83866 A._mustUnify__closure0.prototype = {
83867 call$1(simple) {
83868 var t1;
83869 if (!(simple instanceof A.IDSelector0))
83870 t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
83871 else
83872 t1 = true;
83873 return t1 && this.uniqueSelectors.contains$1(0, simple);
83874 },
83875 $signature: 16
83876 };
83877 A.paths_closure0.prototype = {
83878 call$2(paths, choice) {
83879 var t1 = this.T;
83880 t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
83881 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
83882 },
83883 $signature() {
83884 return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
83885 }
83886 };
83887 A.paths__closure0.prototype = {
83888 call$1(option) {
83889 var t1 = this.T;
83890 return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
83891 },
83892 $signature() {
83893 return this.T._eval$1("Iterable<List<0>>(0)");
83894 }
83895 };
83896 A.paths___closure0.prototype = {
83897 call$1(path) {
83898 var t1 = A.List_List$of(path, true, this.T);
83899 t1.push(this.option);
83900 return t1;
83901 },
83902 $signature() {
83903 return this.T._eval$1("List<0>(List<0>)");
83904 }
83905 };
83906 A._hasRoot_closure0.prototype = {
83907 call$1(simple) {
83908 return simple instanceof A.PseudoSelector0 && simple.isClass && simple.normalizedName === "root";
83909 },
83910 $signature: 16
83911 };
83912 A.listIsSuperselector_closure0.prototype = {
83913 call$1(complex1) {
83914 return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
83915 },
83916 $signature: 17
83917 };
83918 A.listIsSuperselector__closure0.prototype = {
83919 call$1(complex2) {
83920 return A.complexIsSuperselector0(complex2.components, this.complex1.components);
83921 },
83922 $signature: 17
83923 };
83924 A._simpleIsSuperselectorOfCompound_closure0.prototype = {
83925 call$1(theirSimple) {
83926 var selector,
83927 t1 = this.simple;
83928 if (t1.$eq(0, theirSimple))
83929 return true;
83930 if (!(theirSimple instanceof A.PseudoSelector0))
83931 return false;
83932 selector = theirSimple.selector;
83933 if (selector == null)
83934 return false;
83935 if (!$._subselectorPseudos0.contains$1(0, theirSimple.normalizedName))
83936 return false;
83937 return B.JSArray_methods.every$1(selector.components, new A._simpleIsSuperselectorOfCompound__closure0(t1));
83938 },
83939 $signature: 16
83940 };
83941 A._simpleIsSuperselectorOfCompound__closure0.prototype = {
83942 call$1(complex) {
83943 var t1 = complex.components;
83944 if (t1.length !== 1)
83945 return false;
83946 return B.JSArray_methods.contains$1(type$.CompoundSelector_2._as(B.JSArray_methods.get$single(t1)).components, this.simple);
83947 },
83948 $signature: 17
83949 };
83950 A._selectorPseudoIsSuperselector_closure6.prototype = {
83951 call$1(selector2) {
83952 return A.listIsSuperselector0(this.selector1.components, selector2.components);
83953 },
83954 $signature: 87
83955 };
83956 A._selectorPseudoIsSuperselector_closure7.prototype = {
83957 call$1(complex1) {
83958 var t1 = complex1.components,
83959 t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2),
83960 t3 = this.parents;
83961 if (t3 != null)
83962 B.JSArray_methods.addAll$1(t2, t3);
83963 t2.push(this.compound2);
83964 return A.complexIsSuperselector0(t1, t2);
83965 },
83966 $signature: 17
83967 };
83968 A._selectorPseudoIsSuperselector_closure8.prototype = {
83969 call$1(selector2) {
83970 return A.listIsSuperselector0(this.selector1.components, selector2.components);
83971 },
83972 $signature: 87
83973 };
83974 A._selectorPseudoIsSuperselector_closure9.prototype = {
83975 call$1(selector2) {
83976 return A.listIsSuperselector0(this.selector1.components, selector2.components);
83977 },
83978 $signature: 87
83979 };
83980 A._selectorPseudoIsSuperselector_closure10.prototype = {
83981 call$1(complex) {
83982 return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
83983 },
83984 $signature: 17
83985 };
83986 A._selectorPseudoIsSuperselector__closure0.prototype = {
83987 call$1(simple2) {
83988 var compound1, selector2, _this = this;
83989 if (simple2 instanceof A.TypeSelector0) {
83990 compound1 = B.JSArray_methods.get$last(_this.complex.components);
83991 return compound1 instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
83992 } else if (simple2 instanceof A.IDSelector0) {
83993 compound1 = B.JSArray_methods.get$last(_this.complex.components);
83994 return compound1 instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
83995 } else if (simple2 instanceof A.PseudoSelector0 && simple2.name === _this.pseudo1.name) {
83996 selector2 = simple2.selector;
83997 if (selector2 == null)
83998 return false;
83999 return A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
84000 } else
84001 return false;
84002 },
84003 $signature: 16
84004 };
84005 A._selectorPseudoIsSuperselector___closure1.prototype = {
84006 call$1(simple1) {
84007 var t1;
84008 if (simple1 instanceof A.TypeSelector0) {
84009 t1 = this.simple2.name.$eq(0, simple1.name);
84010 t1 = !t1;
84011 } else
84012 t1 = false;
84013 return t1;
84014 },
84015 $signature: 16
84016 };
84017 A._selectorPseudoIsSuperselector___closure2.prototype = {
84018 call$1(simple1) {
84019 var t1;
84020 if (simple1 instanceof A.IDSelector0) {
84021 t1 = simple1.name;
84022 t1 = this.simple2.name !== t1;
84023 } else
84024 t1 = false;
84025 return t1;
84026 },
84027 $signature: 16
84028 };
84029 A._selectorPseudoIsSuperselector_closure11.prototype = {
84030 call$1(selector2) {
84031 var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
84032 return t1;
84033 },
84034 $signature: 87
84035 };
84036 A._selectorPseudoIsSuperselector_closure12.prototype = {
84037 call$1(pseudo2) {
84038 var t1, selector2;
84039 if (!(pseudo2 instanceof A.PseudoSelector0))
84040 return false;
84041 t1 = this.pseudo1;
84042 if (pseudo2.name !== t1.name)
84043 return false;
84044 if (pseudo2.argument != t1.argument)
84045 return false;
84046 selector2 = pseudo2.selector;
84047 if (selector2 == null)
84048 return false;
84049 return A.listIsSuperselector0(this.selector1.components, selector2.components);
84050 },
84051 $signature: 16
84052 };
84053 A._selectorPseudoArgs_closure1.prototype = {
84054 call$1(pseudo) {
84055 return pseudo.isClass === this.isClass && pseudo.name === this.name;
84056 },
84057 $signature: 449
84058 };
84059 A._selectorPseudoArgs_closure2.prototype = {
84060 call$1(pseudo) {
84061 return pseudo.selector;
84062 },
84063 $signature: 450
84064 };
84065 A.globalFunctions_closure0.prototype = {
84066 call$1($arguments) {
84067 var t1 = J.getInterceptor$asx($arguments);
84068 return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
84069 },
84070 $signature: 3
84071 };
84072 A.IDSelector0.prototype = {
84073 get$minSpecificity() {
84074 return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$minSpecificity.call(this), 2));
84075 },
84076 accept$1$1(visitor) {
84077 var t1 = visitor._serialize0$_buffer;
84078 t1.writeCharCode$1(35);
84079 t1.write$1(0, this.name);
84080 return null;
84081 },
84082 accept$1(visitor) {
84083 return this.accept$1$1(visitor, type$.dynamic);
84084 },
84085 addSuffix$1(suffix) {
84086 return new A.IDSelector0(this.name + suffix);
84087 },
84088 unify$1(compound) {
84089 if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
84090 return null;
84091 return this.super$SimpleSelector$unify0(compound);
84092 },
84093 $eq(_, other) {
84094 if (other == null)
84095 return false;
84096 return other instanceof A.IDSelector0 && other.name === this.name;
84097 },
84098 get$hashCode(_) {
84099 return B.JSString_methods.get$hashCode(this.name);
84100 }
84101 };
84102 A.IDSelector_unify_closure0.prototype = {
84103 call$1(simple) {
84104 var t1;
84105 if (simple instanceof A.IDSelector0) {
84106 t1 = simple.name;
84107 t1 = this.$this.name !== t1;
84108 } else
84109 t1 = false;
84110 return t1;
84111 },
84112 $signature: 16
84113 };
84114 A.IfExpression0.prototype = {
84115 accept$1$1(visitor) {
84116 return visitor.visitIfExpression$1(this);
84117 },
84118 accept$1(visitor) {
84119 return this.accept$1$1(visitor, type$.dynamic);
84120 },
84121 toString$0(_) {
84122 return "if" + this.$arguments.toString$0(0);
84123 },
84124 $isExpression0: 1,
84125 $isAstNode0: 1,
84126 get$span(receiver) {
84127 return this.span;
84128 }
84129 };
84130 A.IfRule0.prototype = {
84131 accept$1$1(visitor) {
84132 return visitor.visitIfRule$1(this);
84133 },
84134 accept$1(visitor) {
84135 return this.accept$1$1(visitor, type$.dynamic);
84136 },
84137 toString$0(_) {
84138 var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
84139 lastClause = this.lastClause;
84140 return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
84141 },
84142 $isAstNode0: 1,
84143 $isStatement0: 1,
84144 get$span(receiver) {
84145 return this.span;
84146 }
84147 };
84148 A.IfRule_toString_closure0.prototype = {
84149 call$2(index, clause) {
84150 return "@" + (index === 0 ? "if" : "else if") + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
84151 },
84152 $signature: 451
84153 };
84154 A.IfRuleClause0.prototype = {};
84155 A.IfRuleClause$__closure0.prototype = {
84156 call$1(child) {
84157 var t1;
84158 if (!(child instanceof A.VariableDeclaration0))
84159 if (!(child instanceof A.FunctionRule0))
84160 if (!(child instanceof A.MixinRule0))
84161 t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
84162 else
84163 t1 = true;
84164 else
84165 t1 = true;
84166 else
84167 t1 = true;
84168 return t1;
84169 },
84170 $signature: 227
84171 };
84172 A.IfRuleClause$___closure0.prototype = {
84173 call$1($import) {
84174 return $import instanceof A.DynamicImport0;
84175 },
84176 $signature: 228
84177 };
84178 A.IfClause0.prototype = {
84179 toString$0(_) {
84180 return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
84181 }
84182 };
84183 A.ElseClause0.prototype = {
84184 toString$0(_) {
84185 return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
84186 }
84187 };
84188 A.ImmutableList.prototype = {};
84189 A.ImmutableMap.prototype = {};
84190 A.immutableMapToDartMap_closure.prototype = {
84191 call$3(value, key, _) {
84192 this.dartMap.$indexSet(0, key, value);
84193 },
84194 "call*": "call$3",
84195 $requiredArgCount: 3,
84196 $signature: 454
84197 };
84198 A.NodeImporter.prototype = {
84199 loadRelative$3(url, previous, forImport) {
84200 var t1, t2, _null = null;
84201 if ($.$get$url().style.rootLength$1(url) > 0) {
84202 if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
84203 return _null;
84204 return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
84205 }
84206 if ((previous == null ? _null : previous.get$scheme()) !== "file")
84207 return _null;
84208 t1 = $.$get$context();
84209 t2 = t1.style;
84210 return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
84211 },
84212 load$3(_, url, previous, forImport) {
84213 var t1, t2, t3, t4, t5, _i, importer, context, value, _this = this,
84214 previousString = _this._previousToString$1(previous);
84215 for (t1 = _this._implementation$_importers, t2 = t1.length, t3 = _this._implementation$_options, t4 = type$.RenderContextOptions, t5 = type$.JSArray_Object, _i = 0; _i < t2; ++_i) {
84216 importer = t1[_i];
84217 context = {options: t4._as(t3), fromImport: forImport};
84218 J.set$context$x(J.get$options$x(context), context);
84219 value = J.apply$2$x(importer, context, A._setArrayType([url, previousString], t5));
84220 if (value != null)
84221 return _this._handleImportResult$4(url, previous, value, forImport);
84222 }
84223 return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
84224 },
84225 loadAsync$3(url, previous, forImport) {
84226 return this.loadAsync$body$NodeImporter(url, previous, forImport);
84227 },
84228 loadAsync$body$NodeImporter(url, previous, forImport) {
84229 var $async$goto = 0,
84230 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple2_String_String),
84231 $async$returnValue, $async$self = this, t1, t2, _i, value, previousString;
84232 var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
84233 if ($async$errorCode === 1)
84234 return A._asyncRethrow($async$result, $async$completer);
84235 while (true)
84236 switch ($async$goto) {
84237 case 0:
84238 // Function start
84239 previousString = $async$self._previousToString$1(previous);
84240 t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
84241 case 3:
84242 // for condition
84243 if (!(_i < t2)) {
84244 // goto after for
84245 $async$goto = 5;
84246 break;
84247 }
84248 $async$goto = 6;
84249 return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
84250 case 6:
84251 // returning from await.
84252 value = $async$result;
84253 if (value != null) {
84254 $async$returnValue = $async$self._handleImportResult$4(url, previous, value, forImport);
84255 // goto return
84256 $async$goto = 1;
84257 break;
84258 }
84259 case 4:
84260 // for update
84261 ++_i;
84262 // goto for condition
84263 $async$goto = 3;
84264 break;
84265 case 5:
84266 // after for
84267 $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
84268 // goto return
84269 $async$goto = 1;
84270 break;
84271 case 1:
84272 // return
84273 return A._asyncReturn($async$returnValue, $async$completer);
84274 }
84275 });
84276 return A._asyncStartSync($async$loadAsync$3, $async$completer);
84277 },
84278 _previousToString$1(previous) {
84279 if (previous == null)
84280 return "stdin";
84281 if (previous.get$scheme() === "file")
84282 return $.$get$context().style.pathFromUri$1(A._parseUri(previous));
84283 return previous.toString$0(0);
84284 },
84285 _resolveLoadPathFromUrl$2(url, forImport) {
84286 return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
84287 },
84288 _resolveLoadPath$2(path, forImport) {
84289 var t2, t3, t4, t5, _i, parts, result, _null = null,
84290 t1 = $.$get$context(),
84291 cwdResult = this._tryPath$2(t1.absolute$7(path, _null, _null, _null, _null, _null, _null), forImport);
84292 if (cwdResult != null)
84293 return cwdResult;
84294 for (t2 = this._includePaths, t3 = t2.length, t4 = type$.JSArray_nullable_String, t5 = type$.WhereTypeIterable_String, _i = 0; _i < t3; ++_i) {
84295 parts = A._setArrayType([t2[_i], path, null, null, null, null, null, null], t4);
84296 A._validateArgList("join", parts);
84297 result = this._tryPath$2(t1.absolute$7(t1.joinAll$1(new A.WhereTypeIterable(parts, t5)), _null, _null, _null, _null, _null, _null), forImport);
84298 if (result != null)
84299 return result;
84300 }
84301 return _null;
84302 },
84303 _tryPath$2(path, forImport) {
84304 var t1;
84305 if (forImport) {
84306 t1 = type$.nullable_Object;
84307 t1 = A.runZoned(new A.NodeImporter__tryPath_closure(path), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_String);
84308 } else
84309 t1 = A.resolveImportPath0(path);
84310 return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
84311 },
84312 _handleImportResult$4(url, previous, value, forImport) {
84313 var t1, file, contents, resolved;
84314 if (value instanceof self.Error)
84315 throw A.wrapException(value);
84316 if (!type$.NodeImporterResult_2._is(value))
84317 return null;
84318 t1 = J.getInterceptor$x(value);
84319 file = t1.get$file(value);
84320 contents = t1.get$contents(value);
84321 if (file == null) {
84322 t1 = contents == null ? "" : contents;
84323 return new A.Tuple2(t1, url, type$.Tuple2_String_String);
84324 } else if (contents != null)
84325 return new A.Tuple2(contents, $.$get$context().toUri$1(file).toString$0(0), type$.Tuple2_String_String);
84326 else {
84327 resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
84328 if (resolved == null)
84329 resolved = this._resolveLoadPath$2(file, forImport);
84330 if (resolved != null)
84331 return resolved;
84332 throw A.wrapException("Can't find stylesheet to import.");
84333 }
84334 },
84335 _callImporterAsync$4(importer, url, previousString, forImport) {
84336 return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
84337 },
84338 _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
84339 var $async$goto = 0,
84340 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
84341 $async$returnValue, $async$self = this, t1, result;
84342 var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
84343 if ($async$errorCode === 1)
84344 return A._asyncRethrow($async$result, $async$completer);
84345 while (true)
84346 switch ($async$goto) {
84347 case 0:
84348 // Function start
84349 t1 = new A._Future($.Zone__current, type$._Future_Object);
84350 result = J.apply$2$x(importer, $async$self._renderContext$1(forImport), A._setArrayType([url, previousString, A.allowInterop(new A._AsyncCompleter(t1, type$._AsyncCompleter_Object).get$complete())], type$.JSArray_Object));
84351 $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
84352 break;
84353 case 3:
84354 // then
84355 $async$goto = 5;
84356 return A._asyncAwait(t1, $async$_callImporterAsync$4);
84357 case 5:
84358 // returning from await.
84359 $async$returnValue = $async$result;
84360 // goto return
84361 $async$goto = 1;
84362 break;
84363 case 4:
84364 // join
84365 $async$returnValue = result;
84366 // goto return
84367 $async$goto = 1;
84368 break;
84369 case 1:
84370 // return
84371 return A._asyncReturn($async$returnValue, $async$completer);
84372 }
84373 });
84374 return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
84375 },
84376 _renderContext$1(fromImport) {
84377 var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
84378 J.set$context$x(J.get$options$x(context), context);
84379 return context;
84380 }
84381 };
84382 A.NodeImporter__tryPath_closure.prototype = {
84383 call$0() {
84384 return A.resolveImportPath0(this.path);
84385 },
84386 $signature: 41
84387 };
84388 A.NodeImporter__tryPath_closure0.prototype = {
84389 call$1(resolved) {
84390 return new A.Tuple2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0), type$.Tuple2_String_String);
84391 },
84392 $signature: 455
84393 };
84394 A.ModifiableCssImport0.prototype = {
84395 accept$1$1(visitor) {
84396 return visitor.visitCssImport$1(this);
84397 },
84398 accept$1(visitor) {
84399 return this.accept$1$1(visitor, type$.dynamic);
84400 },
84401 $isCssImport0: 1,
84402 get$span(receiver) {
84403 return this.span;
84404 }
84405 };
84406 A.ImportCache0.prototype = {
84407 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
84408 var relativeResult, _this = this;
84409 if (baseImporter != null) {
84410 relativeResult = _this._import_cache$_relativeCanonicalizeCache.putIfAbsent$2(new A.Tuple4(url, forImport, baseImporter, baseUrl, type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2), new A.ImportCache_canonicalize_closure1(_this, baseUrl, url, baseImporter, forImport));
84411 if (relativeResult != null)
84412 return relativeResult;
84413 }
84414 return _this._import_cache$_canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure2(_this, url, forImport));
84415 },
84416 _import_cache$_canonicalize$3(importer, url, forImport) {
84417 var t1, result;
84418 if (forImport) {
84419 t1 = type$.nullable_Object;
84420 result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
84421 } else
84422 result = importer.canonicalize$1(0, url);
84423 if ((result == null ? null : result.get$scheme()) === "")
84424 this._import_cache$_logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
84425 return result;
84426 },
84427 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
84428 return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl, quiet));
84429 },
84430 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
84431 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
84432 },
84433 humanize$1(canonicalUrl) {
84434 var t2, url,
84435 t1 = this._import_cache$_canonicalizeCache;
84436 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri_2);
84437 t2 = t1.$ti;
84438 url = A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.ImportCache_humanize_closure2(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.ImportCache_humanize_closure3(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.ImportCache_humanize_closure4());
84439 if (url == null)
84440 return canonicalUrl;
84441 t1 = $.$get$url();
84442 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
84443 },
84444 sourceMapUrl$1(_, canonicalUrl) {
84445 var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
84446 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
84447 return t1 == null ? canonicalUrl : t1;
84448 }
84449 };
84450 A.ImportCache_canonicalize_closure1.prototype = {
84451 call$0() {
84452 var canonicalUrl, _this = this,
84453 t1 = _this.baseUrl,
84454 resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
84455 if (resolvedUrl == null)
84456 resolvedUrl = _this.url;
84457 t1 = _this.baseImporter;
84458 canonicalUrl = _this.$this._import_cache$_canonicalize$3(t1, resolvedUrl, _this.forImport);
84459 if (canonicalUrl == null)
84460 return null;
84461 return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri_2);
84462 },
84463 $signature: 229
84464 };
84465 A.ImportCache_canonicalize_closure2.prototype = {
84466 call$0() {
84467 var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
84468 for (t1 = this.$this, t2 = t1._import_cache$_importers, t3 = t2.length, t4 = this.url, t5 = this.forImport, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
84469 importer = t2[_i];
84470 canonicalUrl = t1._import_cache$_canonicalize$3(importer, t4, t5);
84471 if (canonicalUrl != null)
84472 return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri_2);
84473 }
84474 return null;
84475 },
84476 $signature: 229
84477 };
84478 A.ImportCache__canonicalize_closure0.prototype = {
84479 call$0() {
84480 return this.importer.canonicalize$1(0, this.url);
84481 },
84482 $signature: 185
84483 };
84484 A.ImportCache_importCanonical_closure0.prototype = {
84485 call$0() {
84486 var t2, t3, t4, _this = this,
84487 t1 = _this.canonicalUrl,
84488 result = _this.importer.load$1(0, t1);
84489 if (result == null)
84490 return null;
84491 t2 = _this.$this;
84492 t2._import_cache$_resultsCache.$indexSet(0, t1, result);
84493 t3 = result.contents;
84494 t4 = result.syntax;
84495 t1 = _this.originalUrl.resolveUri$1(t1);
84496 return A.Stylesheet_Stylesheet$parse0(t3, t4, _this.quiet ? $.$get$Logger_quiet0() : t2._import_cache$_logger, t1);
84497 },
84498 $signature: 457
84499 };
84500 A.ImportCache_humanize_closure2.prototype = {
84501 call$1(tuple) {
84502 return tuple.item2.$eq(0, this.canonicalUrl);
84503 },
84504 $signature: 458
84505 };
84506 A.ImportCache_humanize_closure3.prototype = {
84507 call$1(tuple) {
84508 return tuple.item3;
84509 },
84510 $signature: 459
84511 };
84512 A.ImportCache_humanize_closure4.prototype = {
84513 call$1(url) {
84514 return url.get$path(url).length;
84515 },
84516 $signature: 80
84517 };
84518 A.ImportRule0.prototype = {
84519 accept$1$1(visitor) {
84520 return visitor.visitImportRule$1(this);
84521 },
84522 accept$1(visitor) {
84523 return this.accept$1$1(visitor, type$.dynamic);
84524 },
84525 toString$0(_) {
84526 return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
84527 },
84528 $isAstNode0: 1,
84529 $isStatement0: 1,
84530 get$span(receiver) {
84531 return this.span;
84532 }
84533 };
84534 A.NodeImporter0.prototype = {};
84535 A.CanonicalizeOptions.prototype = {};
84536 A.NodeImporterResult0.prototype = {};
84537 A.Importer0.prototype = {};
84538 A.NodeImporterResult1.prototype = {};
84539 A.IncludeRule0.prototype = {
84540 get$spanWithoutContent() {
84541 var t2, t3,
84542 t1 = this.span;
84543 if (!(this.content == null)) {
84544 t2 = t1.file;
84545 t3 = this.$arguments.span;
84546 t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, A.FileLocation$_(t3.file, t3._end).offset)));
84547 t1 = t3;
84548 }
84549 return t1;
84550 },
84551 accept$1$1(visitor) {
84552 return visitor.visitIncludeRule$1(this);
84553 },
84554 accept$1(visitor) {
84555 return this.accept$1$1(visitor, type$.dynamic);
84556 },
84557 toString$0(_) {
84558 var t2, _this = this,
84559 t1 = _this.namespace;
84560 t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
84561 t1 += _this.name;
84562 t2 = _this.$arguments;
84563 if (!t2.get$isEmpty(t2))
84564 t1 += "(" + t2.toString$0(0) + ")";
84565 t2 = _this.content;
84566 t1 += t2 == null ? ";" : " " + t2.toString$0(0);
84567 return t1.charCodeAt(0) == 0 ? t1 : t1;
84568 },
84569 $isAstNode0: 1,
84570 $isStatement0: 1,
84571 get$span(receiver) {
84572 return this.span;
84573 }
84574 };
84575 A.InterpolatedFunctionExpression0.prototype = {
84576 accept$1$1(visitor) {
84577 return visitor.visitInterpolatedFunctionExpression$1(this);
84578 },
84579 accept$1(visitor) {
84580 return this.accept$1$1(visitor, type$.dynamic);
84581 },
84582 toString$0(_) {
84583 return this.name.toString$0(0) + this.$arguments.toString$0(0);
84584 },
84585 $isExpression0: 1,
84586 $isAstNode0: 1,
84587 get$span(receiver) {
84588 return this.span;
84589 }
84590 };
84591 A.Interpolation0.prototype = {
84592 get$asPlain() {
84593 var first,
84594 t1 = this.contents,
84595 t2 = t1.length;
84596 if (t2 === 0)
84597 return "";
84598 if (t2 > 1)
84599 return null;
84600 first = B.JSArray_methods.get$first(t1);
84601 return typeof first == "string" ? first : null;
84602 },
84603 get$initialPlain() {
84604 var first = B.JSArray_methods.get$first(this.contents);
84605 return typeof first == "string" ? first : "";
84606 },
84607 Interpolation$20(contents, span) {
84608 var t1, t2, t3, i, t4, t5,
84609 _s8_ = "contents";
84610 for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression_2, i = 0; i < t2; ++i) {
84611 t4 = t1[i];
84612 t5 = typeof t4 == "string";
84613 if (!t5 && !t3._is(t4))
84614 throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
84615 if (i !== 0 && typeof t1[i - 1] == "string" && t5)
84616 throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
84617 }
84618 },
84619 toString$0(_) {
84620 var t1 = this.contents;
84621 return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
84622 },
84623 $isAstNode0: 1,
84624 get$span(receiver) {
84625 return this.span;
84626 }
84627 };
84628 A.Interpolation_toString_closure0.prototype = {
84629 call$1(value) {
84630 return typeof value == "string" ? value : "#{" + A.S(value) + "}";
84631 },
84632 $signature: 45
84633 };
84634 A.SupportsInterpolation0.prototype = {
84635 toString$0(_) {
84636 return "#{" + this.expression.toString$0(0) + "}";
84637 },
84638 $isAstNode0: 1,
84639 $isSupportsCondition0: 1,
84640 get$span(receiver) {
84641 return this.span;
84642 }
84643 };
84644 A.InterpolationBuffer0.prototype = {
84645 writeCharCode$1(character) {
84646 this._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(character);
84647 return null;
84648 },
84649 add$1(_, expression) {
84650 this._interpolation_buffer0$_flushText$0();
84651 this._interpolation_buffer0$_contents.push(expression);
84652 },
84653 addInterpolation$1(interpolation) {
84654 var first, t1, _this = this,
84655 toAdd = interpolation.contents;
84656 if (toAdd.length === 0)
84657 return;
84658 first = B.JSArray_methods.get$first(toAdd);
84659 if (typeof first == "string") {
84660 _this._interpolation_buffer0$_text._contents += first;
84661 toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
84662 }
84663 _this._interpolation_buffer0$_flushText$0();
84664 t1 = _this._interpolation_buffer0$_contents;
84665 B.JSArray_methods.addAll$1(t1, toAdd);
84666 if (typeof B.JSArray_methods.get$last(t1) == "string")
84667 _this._interpolation_buffer0$_text._contents += A.S(t1.pop());
84668 },
84669 _interpolation_buffer0$_flushText$0() {
84670 var t1 = this._interpolation_buffer0$_text,
84671 t2 = t1._contents;
84672 if (t2.length === 0)
84673 return;
84674 this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
84675 t1._contents = "";
84676 },
84677 interpolation$1(span) {
84678 var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
84679 t2 = this._interpolation_buffer0$_text._contents;
84680 if (t2.length !== 0)
84681 t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
84682 return A.Interpolation$0(t1, span);
84683 },
84684 toString$0(_) {
84685 var t1, t2, _i, t3, element;
84686 for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
84687 element = t1[_i];
84688 t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
84689 }
84690 t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
84691 return t1.charCodeAt(0) == 0 ? t1 : t1;
84692 }
84693 };
84694 A._realCasePath_helper0.prototype = {
84695 call$1(path) {
84696 var dirname = $.$get$context().dirname$1(path);
84697 if (dirname === path)
84698 return path;
84699 return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
84700 },
84701 $signature: 5
84702 };
84703 A._realCasePath_helper_closure0.prototype = {
84704 call$0() {
84705 var matches, t2, exception,
84706 realDirname = this.helper.call$1(this.dirname),
84707 t1 = this.path,
84708 basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
84709 try {
84710 matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
84711 t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
84712 return t2;
84713 } catch (exception) {
84714 if (A.unwrapException(exception) instanceof A.FileSystemException0)
84715 return t1;
84716 else
84717 throw exception;
84718 }
84719 },
84720 $signature: 30
84721 };
84722 A._realCasePath_helper__closure0.prototype = {
84723 call$1(realPath) {
84724 return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
84725 },
84726 $signature: 6
84727 };
84728 A.ModifiableCssKeyframeBlock0.prototype = {
84729 accept$1$1(visitor) {
84730 return visitor.visitCssKeyframeBlock$1(this);
84731 },
84732 accept$1(visitor) {
84733 return this.accept$1$1(visitor, type$.dynamic);
84734 },
84735 copyWithoutChildren$0() {
84736 return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
84737 },
84738 get$span(receiver) {
84739 return this.span;
84740 }
84741 };
84742 A.KeyframeSelectorParser0.prototype = {
84743 parse$0() {
84744 return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
84745 },
84746 _keyframe_selector$_percentage$0() {
84747 var t3, next,
84748 t1 = this.scanner,
84749 t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
84750 second = t1.peekChar$0();
84751 if (!A.isDigit0(second) && second !== 46)
84752 t1.error$1(0, "Expected number.");
84753 while (true) {
84754 t3 = t1.peekChar$0();
84755 if (!(t3 != null && t3 >= 48 && t3 <= 57))
84756 break;
84757 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84758 }
84759 if (t1.peekChar$0() === 46) {
84760 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84761 while (true) {
84762 t3 = t1.peekChar$0();
84763 if (!(t3 != null && t3 >= 48 && t3 <= 57))
84764 break;
84765 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84766 }
84767 }
84768 if (this.scanIdentChar$1(101)) {
84769 t2 += A.Primitives_stringFromCharCode(101);
84770 next = t1.peekChar$0();
84771 if (next === 43 || next === 45)
84772 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84773 if (!A.isDigit0(t1.peekChar$0()))
84774 t1.error$1(0, "Expected digit.");
84775 while (true) {
84776 t3 = t1.peekChar$0();
84777 if (!(t3 != null && t3 >= 48 && t3 <= 57))
84778 break;
84779 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84780 }
84781 }
84782 t1.expectChar$1(37);
84783 t2 += A.Primitives_stringFromCharCode(37);
84784 return t2.charCodeAt(0) == 0 ? t2 : t2;
84785 }
84786 };
84787 A.KeyframeSelectorParser_parse_closure0.prototype = {
84788 call$0() {
84789 var selectors = A._setArrayType([], type$.JSArray_String),
84790 t1 = this.$this,
84791 t2 = t1.scanner;
84792 do {
84793 t1.whitespace$0();
84794 if (t1.lookingAtIdentifier$0())
84795 if (t1.scanIdentifier$1("from"))
84796 selectors.push("from");
84797 else {
84798 t1.expectIdentifier$2$name("to", '"to" or "from"');
84799 selectors.push("to");
84800 }
84801 else
84802 selectors.push(t1._keyframe_selector$_percentage$0());
84803 t1.whitespace$0();
84804 } while (t2.scanChar$1(44));
84805 t2.expectDone$0();
84806 return selectors;
84807 },
84808 $signature: 49
84809 };
84810 A.render_closure.prototype = {
84811 call$0() {
84812 var error, exception;
84813 try {
84814 this.callback.call$2(null, A.renderSync(this.options));
84815 } catch (exception) {
84816 error = A.unwrapException(exception);
84817 this.callback.call$2(error, null);
84818 }
84819 return null;
84820 },
84821 $signature: 1
84822 };
84823 A.render_closure0.prototype = {
84824 call$1(result) {
84825 this.callback.call$2(null, result);
84826 },
84827 $signature: 460
84828 };
84829 A.render_closure1.prototype = {
84830 call$2(error, stackTrace) {
84831 var t2, t3, _null = null,
84832 t1 = this.callback;
84833 if (error instanceof A.SassException0)
84834 t1.call$2(A._wrapException(error, stackTrace), _null);
84835 else {
84836 t2 = J.toString$0$(error);
84837 t3 = A.getTrace0(error);
84838 t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
84839 }
84840 },
84841 $signature: 63
84842 };
84843 A._parseFunctions_closure.prototype = {
84844 call$2(signature, callback) {
84845 var error, stackTrace, exception, t1, t2, context, fiber, _this = this, tuple = null;
84846 try {
84847 tuple = A.ScssParser$0(signature, null, null).parseSignature$1$requireParens(false);
84848 } catch (exception) {
84849 t1 = A.unwrapException(exception);
84850 if (t1 instanceof A.SassFormatException0) {
84851 error = t1;
84852 stackTrace = A.getTraceFromException(exception);
84853 t1 = error;
84854 t2 = J.getInterceptor$z(t1);
84855 A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
84856 } else
84857 throw exception;
84858 }
84859 t1 = _this.options;
84860 context = {options: A._contextOptions(t1, _this.start)};
84861 J.set$context$x(J.get$options$x(context), context);
84862 fiber = J.get$fiber$x(t1);
84863 if (fiber != null)
84864 _this.result.push(A.BuiltInCallable$parsed(tuple.item1, tuple.item2, new A._parseFunctions__closure(fiber, callback, context)));
84865 else {
84866 t1 = _this.result;
84867 if (!_this.asynch)
84868 t1.push(A.BuiltInCallable$parsed(tuple.item1, tuple.item2, new A._parseFunctions__closure0(callback, context)));
84869 else
84870 t1.push(new A.AsyncBuiltInCallable0(tuple.item1, tuple.item2, new A._parseFunctions__closure1(callback, context)));
84871 }
84872 },
84873 $signature: 109
84874 };
84875 A._parseFunctions__closure.prototype = {
84876 call$1($arguments) {
84877 var result,
84878 t1 = this.fiber,
84879 currentFiber = J.get$current$x(t1),
84880 t2 = type$.Object;
84881 t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value1__wrapValue$closure(), t2), true, t2);
84882 t2.push(A.allowInterop(new A._parseFunctions___closure0(currentFiber)));
84883 result = J.apply$2$x(type$.JSFunction._as(this.callback), this.context, t2);
84884 return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure1(t1), null, type$.nullable_Object) : result);
84885 },
84886 $signature: 3
84887 };
84888 A._parseFunctions___closure0.prototype = {
84889 call$1(result) {
84890 A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
84891 },
84892 call$0() {
84893 return this.call$1(null);
84894 },
84895 "call*": "call$1",
84896 $requiredArgCount: 0,
84897 $defaultValues() {
84898 return [null];
84899 },
84900 $signature: 75
84901 };
84902 A._parseFunctions____closure.prototype = {
84903 call$0() {
84904 return J.run$1$x(this.currentFiber, this.result);
84905 },
84906 $signature: 0
84907 };
84908 A._parseFunctions___closure1.prototype = {
84909 call$0() {
84910 return J.yield$0$x(this.fiber);
84911 },
84912 $signature: 99
84913 };
84914 A._parseFunctions__closure0.prototype = {
84915 call$1($arguments) {
84916 return A.unwrapValue(J.apply$2$x(type$.JSFunction._as(this.callback), this.context, J.map$1$1$ax($arguments, A.value1__wrapValue$closure(), type$.Object).toList$0(0)));
84917 },
84918 $signature: 3
84919 };
84920 A._parseFunctions__closure1.prototype = {
84921 call$1($arguments) {
84922 return this.$call$body$_parseFunctions__closure($arguments);
84923 },
84924 $call$body$_parseFunctions__closure($arguments) {
84925 var $async$goto = 0,
84926 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
84927 $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
84928 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
84929 if ($async$errorCode === 1)
84930 return A._asyncRethrow($async$result, $async$completer);
84931 while (true)
84932 switch ($async$goto) {
84933 case 0:
84934 // Function start
84935 t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
84936 t2 = type$.Object;
84937 t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value1__wrapValue$closure(), t2), true, t2);
84938 t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
84939 result = J.apply$2$x(type$.JSFunction._as($async$self.callback), $async$self.context, t2);
84940 $async$temp1 = A;
84941 $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
84942 break;
84943 case 3:
84944 // then
84945 $async$goto = 6;
84946 return A._asyncAwait(t1, $async$call$1);
84947 case 6:
84948 // returning from await.
84949 // goto join
84950 $async$goto = 4;
84951 break;
84952 case 5:
84953 // else
84954 $async$result = result;
84955 case 4:
84956 // join
84957 $async$returnValue = $async$temp1.unwrapValue($async$result);
84958 // goto return
84959 $async$goto = 1;
84960 break;
84961 case 1:
84962 // return
84963 return A._asyncReturn($async$returnValue, $async$completer);
84964 }
84965 });
84966 return A._asyncStartSync($async$call$1, $async$completer);
84967 },
84968 $signature: 93
84969 };
84970 A._parseFunctions___closure.prototype = {
84971 call$1(result) {
84972 return this.completer.complete$1(result);
84973 },
84974 call$0() {
84975 return this.call$1(null);
84976 },
84977 "call*": "call$1",
84978 $requiredArgCount: 0,
84979 $defaultValues() {
84980 return [null];
84981 },
84982 $signature: 251
84983 };
84984 A._parseImporter_closure.prototype = {
84985 call$1(importer) {
84986 return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this.fiber, importer)));
84987 },
84988 $signature: 461
84989 };
84990 A._parseImporter__closure.prototype = {
84991 call$4(thisArg, url, previous, _) {
84992 var t1 = this.fiber,
84993 result = J.apply$2$x(this.importer, thisArg, A._setArrayType([url, previous, A.allowInterop(new A._parseImporter___closure(J.get$current$x(t1)))], type$.JSArray_Object));
84994 if (A._asBool($.$get$_isUndefined().call$1(result)))
84995 return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
84996 return result;
84997 },
84998 call$3(thisArg, url, previous) {
84999 return this.call$4(thisArg, url, previous, null);
85000 },
85001 "call*": "call$4",
85002 $requiredArgCount: 3,
85003 $defaultValues() {
85004 return [null];
85005 },
85006 $signature: 462
85007 };
85008 A._parseImporter___closure.prototype = {
85009 call$1(result) {
85010 A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
85011 },
85012 $signature: 463
85013 };
85014 A._parseImporter____closure.prototype = {
85015 call$0() {
85016 return J.run$1$x(this.currentFiber, this.result);
85017 },
85018 $signature: 0
85019 };
85020 A._parseImporter___closure0.prototype = {
85021 call$0() {
85022 return J.yield$0$x(this.fiber);
85023 },
85024 $signature: 99
85025 };
85026 A.LimitedMapView0.prototype = {
85027 get$keys(_) {
85028 return this._limited_map_view0$_keys;
85029 },
85030 get$length(_) {
85031 return this._limited_map_view0$_keys._collection$_length;
85032 },
85033 get$isEmpty(_) {
85034 return this._limited_map_view0$_keys._collection$_length === 0;
85035 },
85036 get$isNotEmpty(_) {
85037 return this._limited_map_view0$_keys._collection$_length !== 0;
85038 },
85039 $index(_, key) {
85040 return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
85041 },
85042 containsKey$1(key) {
85043 return this._limited_map_view0$_keys.contains$1(0, key);
85044 },
85045 remove$1(_, key) {
85046 return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
85047 }
85048 };
85049 A.ListExpression0.prototype = {
85050 accept$1$1(visitor) {
85051 return visitor.visitListExpression$1(this);
85052 },
85053 accept$1(visitor) {
85054 return this.accept$1$1(visitor, type$.dynamic);
85055 },
85056 toString$0(_) {
85057 var _this = this,
85058 t1 = _this.hasBrackets,
85059 t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
85060 t3 = _this.contents,
85061 t4 = _this.separator === B.ListSeparator_kWM0 ? ", " : " ";
85062 t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
85063 t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
85064 return t1.charCodeAt(0) == 0 ? t1 : t1;
85065 },
85066 _list3$_elementNeedsParens$1(expression) {
85067 var t1, t2;
85068 if (expression instanceof A.ListExpression0) {
85069 if (expression.contents.length < 2)
85070 return false;
85071 if (expression.hasBrackets)
85072 return false;
85073 t1 = this.separator;
85074 t2 = t1 === B.ListSeparator_kWM0;
85075 return t2 ? t2 : t1 !== B.ListSeparator_undecided_null0;
85076 }
85077 if (this.separator !== B.ListSeparator_woc0)
85078 return false;
85079 if (expression instanceof A.UnaryOperationExpression0) {
85080 t1 = expression.operator;
85081 return t1 === B.UnaryOperator_j2w0 || t1 === B.UnaryOperator_U4G0;
85082 }
85083 return false;
85084 },
85085 $isExpression0: 1,
85086 $isAstNode0: 1,
85087 get$span(receiver) {
85088 return this.span;
85089 }
85090 };
85091 A.ListExpression_toString_closure0.prototype = {
85092 call$1(element) {
85093 return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
85094 },
85095 $signature: 100
85096 };
85097 A._length_closure2.prototype = {
85098 call$1($arguments) {
85099 var t1 = J.$index$asx($arguments, 0).get$asList().length;
85100 return new A.UnitlessSassNumber0(t1, null);
85101 },
85102 $signature: 9
85103 };
85104 A._nth_closure0.prototype = {
85105 call$1($arguments) {
85106 var t1 = J.getInterceptor$asx($arguments),
85107 list = t1.$index($arguments, 0),
85108 index = t1.$index($arguments, 1);
85109 return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
85110 },
85111 $signature: 3
85112 };
85113 A._setNth_closure0.prototype = {
85114 call$1($arguments) {
85115 var t1 = J.getInterceptor$asx($arguments),
85116 list = t1.$index($arguments, 0),
85117 index = t1.$index($arguments, 1),
85118 value = t1.$index($arguments, 2),
85119 t2 = list.get$asList(),
85120 newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
85121 newList[list.sassIndexToListIndex$2(index, "n")] = value;
85122 return t1.$index($arguments, 0).withListContents$1(newList);
85123 },
85124 $signature: 21
85125 };
85126 A._join_closure0.prototype = {
85127 call$1($arguments) {
85128 var separator, bracketed,
85129 t1 = J.getInterceptor$asx($arguments),
85130 list1 = t1.$index($arguments, 0),
85131 list2 = t1.$index($arguments, 1),
85132 separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
85133 bracketedParam = t1.$index($arguments, 3);
85134 t1 = separatorParam._string0$_text;
85135 if (t1 === "auto")
85136 if (list1.get$separator(list1) !== B.ListSeparator_undecided_null0)
85137 separator = list1.get$separator(list1);
85138 else
85139 separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null0 ? list2.get$separator(list2) : B.ListSeparator_woc0;
85140 else if (t1 === "space")
85141 separator = B.ListSeparator_woc0;
85142 else if (t1 === "comma")
85143 separator = B.ListSeparator_kWM0;
85144 else {
85145 if (t1 !== "slash")
85146 throw A.wrapException(A.SassScriptException$0(string$.x24separ));
85147 separator = B.ListSeparator_1gm0;
85148 }
85149 bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
85150 t1 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
85151 B.JSArray_methods.addAll$1(t1, list2.get$asList());
85152 return A.SassList$0(t1, separator, bracketed);
85153 },
85154 $signature: 21
85155 };
85156 A._append_closure2.prototype = {
85157 call$1($arguments) {
85158 var separator,
85159 t1 = J.getInterceptor$asx($arguments),
85160 list = t1.$index($arguments, 0),
85161 value = t1.$index($arguments, 1);
85162 t1 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
85163 if (t1 === "auto")
85164 separator = list.get$separator(list) === B.ListSeparator_undecided_null0 ? B.ListSeparator_woc0 : list.get$separator(list);
85165 else if (t1 === "space")
85166 separator = B.ListSeparator_woc0;
85167 else if (t1 === "comma")
85168 separator = B.ListSeparator_kWM0;
85169 else {
85170 if (t1 !== "slash")
85171 throw A.wrapException(A.SassScriptException$0(string$.x24separ));
85172 separator = B.ListSeparator_1gm0;
85173 }
85174 t1 = A.List_List$of(list.get$asList(), true, type$.Value_2);
85175 t1.push(value);
85176 return list.withListContents$2$separator(t1, separator);
85177 },
85178 $signature: 21
85179 };
85180 A._zip_closure0.prototype = {
85181 call$1($arguments) {
85182 var results, result, _box_0 = {},
85183 t1 = J.$index$asx($arguments, 0).get$asList(),
85184 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
85185 lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
85186 if (lists.length === 0)
85187 return B.SassList_yfz0;
85188 _box_0.i = 0;
85189 results = A._setArrayType([], type$.JSArray_SassList_2);
85190 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));) {
85191 result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
85192 result.fixed$length = Array;
85193 result.immutable$list = Array;
85194 results.push(new A.SassList0(result, B.ListSeparator_woc0, false));
85195 ++_box_0.i;
85196 }
85197 return A.SassList$0(results, B.ListSeparator_kWM0, false);
85198 },
85199 $signature: 21
85200 };
85201 A._zip__closure2.prototype = {
85202 call$1(list) {
85203 return list.get$asList();
85204 },
85205 $signature: 465
85206 };
85207 A._zip__closure3.prototype = {
85208 call$1(list) {
85209 return this._box_0.i !== J.get$length$asx(list);
85210 },
85211 $signature: 466
85212 };
85213 A._zip__closure4.prototype = {
85214 call$1(list) {
85215 return J.$index$asx(list, this._box_0.i);
85216 },
85217 $signature: 3
85218 };
85219 A._index_closure2.prototype = {
85220 call$1($arguments) {
85221 var t1 = J.getInterceptor$asx($arguments),
85222 index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
85223 if (index === -1)
85224 t1 = B.C__SassNull0;
85225 else
85226 t1 = new A.UnitlessSassNumber0(index + 1, null);
85227 return t1;
85228 },
85229 $signature: 3
85230 };
85231 A._separator_closure0.prototype = {
85232 call$1($arguments) {
85233 switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
85234 case B.ListSeparator_kWM0:
85235 return new A.SassString0("comma", false);
85236 case B.ListSeparator_1gm0:
85237 return new A.SassString0("slash", false);
85238 default:
85239 return new A.SassString0("space", false);
85240 }
85241 },
85242 $signature: 14
85243 };
85244 A._isBracketed_closure0.prototype = {
85245 call$1($arguments) {
85246 return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
85247 },
85248 $signature: 20
85249 };
85250 A._slash_closure0.prototype = {
85251 call$1($arguments) {
85252 var list = J.$index$asx($arguments, 0).get$asList();
85253 if (list.length < 2)
85254 throw A.wrapException(A.SassScriptException$0("At least two elements are required."));
85255 return A.SassList$0(list, B.ListSeparator_1gm0, false);
85256 },
85257 $signature: 21
85258 };
85259 A.SelectorList0.prototype = {
85260 get$isInvisible() {
85261 return B.JSArray_methods.every$1(this.components, new A.SelectorList_isInvisible_closure0());
85262 },
85263 get$asSassList() {
85264 var t1 = this.components;
85265 return A.SassList$0(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_kWM0, false);
85266 },
85267 accept$1$1(visitor) {
85268 return visitor.visitSelectorList$1(this);
85269 },
85270 accept$1(visitor) {
85271 return this.accept$1$1(visitor, type$.dynamic);
85272 },
85273 unify$1(other) {
85274 var t1 = this.components,
85275 t2 = A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector0>"),
85276 contents = A.List_List$of(new A.ExpandIterable(t1, new A.SelectorList_unify_closure0(other), t2), true, t2._eval$1("Iterable.E"));
85277 return contents.length === 0 ? null : A.SelectorList$0(contents);
85278 },
85279 resolveParentSelectors$2$implicitParent($parent, implicitParent) {
85280 var t1, _this = this;
85281 if ($parent == null) {
85282 if (!B.JSArray_methods.any$1(_this.components, _this.get$_list2$_complexContainsParentSelector()))
85283 return _this;
85284 throw A.wrapException(A.SassScriptException$0(string$.Top_le));
85285 }
85286 t1 = _this.components;
85287 return A.SelectorList$0(A.flattenVertically0(new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors_closure0(_this, implicitParent, $parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Iterable<ComplexSelector0>>")), type$.ComplexSelector_2));
85288 },
85289 resolveParentSelectors$1($parent) {
85290 return this.resolveParentSelectors$2$implicitParent($parent, true);
85291 },
85292 _list2$_complexContainsParentSelector$1(complex) {
85293 return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure0());
85294 },
85295 _list2$_resolveParentSelectorsCompound$2(compound, $parent) {
85296 var resolvedMembers0, parentSelector, t1,
85297 resolvedMembers = compound.components,
85298 containsSelectorPseudo = B.JSArray_methods.any$1(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure2());
85299 if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(resolvedMembers) instanceof A.ParentSelector0))
85300 return null;
85301 resolvedMembers0 = containsSelectorPseudo ? new A.MappedListIterable(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure3($parent), A._arrayInstanceType(resolvedMembers)._eval$1("MappedListIterable<1,SimpleSelector0>")) : resolvedMembers;
85302 parentSelector = B.JSArray_methods.get$first(resolvedMembers);
85303 if (parentSelector instanceof A.ParentSelector0) {
85304 if (resolvedMembers.length === 1 && parentSelector.suffix == null)
85305 return $parent.components;
85306 } else
85307 return A._setArrayType([A.ComplexSelector$0(A._setArrayType([A.CompoundSelector$0(resolvedMembers0)], type$.JSArray_ComplexSelectorComponent_2), false)], type$.JSArray_ComplexSelector_2);
85308 t1 = $parent.components;
85309 return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure4(compound, resolvedMembers0), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85310 },
85311 get$hashCode(_) {
85312 return B.C_ListEquality0.hash$1(this.components);
85313 },
85314 $eq(_, other) {
85315 if (other == null)
85316 return false;
85317 return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
85318 }
85319 };
85320 A.SelectorList_isInvisible_closure0.prototype = {
85321 call$1(complex) {
85322 return complex.get$isInvisible();
85323 },
85324 $signature: 17
85325 };
85326 A.SelectorList_asSassList_closure0.prototype = {
85327 call$1(complex) {
85328 var t1 = complex.components;
85329 return A.SassList$0(new A.MappedListIterable(t1, new A.SelectorList_asSassList__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_woc0, false);
85330 },
85331 $signature: 467
85332 };
85333 A.SelectorList_asSassList__closure0.prototype = {
85334 call$1(component) {
85335 return new A.SassString0(component.toString$0(0), false);
85336 },
85337 $signature: 468
85338 };
85339 A.SelectorList_unify_closure0.prototype = {
85340 call$1(complex1) {
85341 var t1 = this.other.components;
85342 return new A.ExpandIterable(t1, new A.SelectorList_unify__closure0(complex1), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector0>"));
85343 },
85344 $signature: 114
85345 };
85346 A.SelectorList_unify__closure0.prototype = {
85347 call$1(complex2) {
85348 var unified = A.unifyComplex0(A._setArrayType([this.complex1.components, complex2.components], type$.JSArray_List_ComplexSelectorComponent_2));
85349 if (unified == null)
85350 return B.List_empty14;
85351 return J.map$1$1$ax(unified, new A.SelectorList_unify___closure0(), type$.ComplexSelector_2);
85352 },
85353 $signature: 114
85354 };
85355 A.SelectorList_unify___closure0.prototype = {
85356 call$1(complex) {
85357 return A.ComplexSelector$0(complex, false);
85358 },
85359 $signature: 85
85360 };
85361 A.SelectorList_resolveParentSelectors_closure0.prototype = {
85362 call$1(complex) {
85363 var t2, newComplexes, t3, t4, t5, t6, t7, _i, component, resolved, t8, _i0, previousLineBreaks, newComplexes0, t9, i, newComplex, i0, lineBreak, t10, t11, t12, t13, _this = this, _box_0 = {},
85364 t1 = _this.$this;
85365 if (!t1._list2$_complexContainsParentSelector$1(complex)) {
85366 if (!_this.implicitParent)
85367 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
85368 t1 = _this.parent.components;
85369 return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85370 }
85371 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
85372 newComplexes = A._setArrayType([A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2)], t2);
85373 t3 = type$.JSArray_bool;
85374 _box_0.lineBreaks = A._setArrayType([false], t3);
85375 for (t4 = complex.components, t5 = t4.length, t6 = type$.ComplexSelectorComponent_2, t7 = _this.parent, _i = 0; _i < t5; ++_i) {
85376 component = t4[_i];
85377 if (component instanceof A.CompoundSelector0) {
85378 resolved = t1._list2$_resolveParentSelectorsCompound$2(component, t7);
85379 if (resolved == null) {
85380 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
85381 newComplexes[_i0].push(component);
85382 continue;
85383 }
85384 previousLineBreaks = _box_0.lineBreaks;
85385 newComplexes0 = A._setArrayType([], t2);
85386 _box_0.lineBreaks = A._setArrayType([], t3);
85387 for (t8 = newComplexes.length, t9 = J.getInterceptor$ax(resolved), i = 0, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0, i = i0) {
85388 newComplex = newComplexes[_i0];
85389 i0 = i + 1;
85390 lineBreak = previousLineBreaks[i];
85391 for (t10 = t9.get$iterator(resolved), t11 = !lineBreak; t10.moveNext$0();) {
85392 t12 = t10.get$current(t10);
85393 t13 = A.List_List$of(newComplex, true, t6);
85394 B.JSArray_methods.addAll$1(t13, t12.components);
85395 newComplexes0.push(t13);
85396 t13 = _box_0.lineBreaks;
85397 t13.push(!t11 || t12.lineBreak);
85398 }
85399 }
85400 newComplexes = newComplexes0;
85401 } else
85402 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
85403 newComplexes[_i0].push(component);
85404 }
85405 _box_0.i = 0;
85406 return new A.MappedListIterable(newComplexes, new A.SelectorList_resolveParentSelectors__closure2(_box_0), A._arrayInstanceType(newComplexes)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85407 },
85408 $signature: 114
85409 };
85410 A.SelectorList_resolveParentSelectors__closure1.prototype = {
85411 call$1(parentComplex) {
85412 var t1 = A.List_List$of(parentComplex.components, true, type$.ComplexSelectorComponent_2),
85413 t2 = this.complex;
85414 B.JSArray_methods.addAll$1(t1, t2.components);
85415 return A.ComplexSelector$0(t1, t2.lineBreak || parentComplex.lineBreak);
85416 },
85417 $signature: 120
85418 };
85419 A.SelectorList_resolveParentSelectors__closure2.prototype = {
85420 call$1(newComplex) {
85421 var t1 = this._box_0;
85422 return A.ComplexSelector$0(newComplex, t1.lineBreaks[t1.i++]);
85423 },
85424 $signature: 85
85425 };
85426 A.SelectorList__complexContainsParentSelector_closure0.prototype = {
85427 call$1(component) {
85428 return component instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(component.components, new A.SelectorList__complexContainsParentSelector__closure0());
85429 },
85430 $signature: 105
85431 };
85432 A.SelectorList__complexContainsParentSelector__closure0.prototype = {
85433 call$1(simple) {
85434 var selector;
85435 if (simple instanceof A.ParentSelector0)
85436 return true;
85437 if (!(simple instanceof A.PseudoSelector0))
85438 return false;
85439 selector = simple.selector;
85440 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
85441 },
85442 $signature: 16
85443 };
85444 A.SelectorList__resolveParentSelectorsCompound_closure2.prototype = {
85445 call$1(simple) {
85446 var selector;
85447 if (!(simple instanceof A.PseudoSelector0))
85448 return false;
85449 selector = simple.selector;
85450 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
85451 },
85452 $signature: 16
85453 };
85454 A.SelectorList__resolveParentSelectorsCompound_closure3.prototype = {
85455 call$1(simple) {
85456 var selector, t1, t2, t3;
85457 if (!(simple instanceof A.PseudoSelector0))
85458 return simple;
85459 selector = simple.selector;
85460 if (selector == null)
85461 return simple;
85462 if (!B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector()))
85463 return simple;
85464 t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
85465 t2 = simple.name;
85466 t3 = simple.isClass;
85467 return A.PseudoSelector$0(t2, simple.argument, !t3, t1);
85468 },
85469 $signature: 471
85470 };
85471 A.SelectorList__resolveParentSelectorsCompound_closure4.prototype = {
85472 call$1(complex) {
85473 var suffix, t2, t3, t4, t5, last,
85474 t1 = complex.components,
85475 lastComponent = B.JSArray_methods.get$last(t1);
85476 if (!(lastComponent instanceof A.CompoundSelector0))
85477 throw A.wrapException(A.SassScriptException$0('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.'));
85478 suffix = type$.ParentSelector_2._as(B.JSArray_methods.get$first(this.compound.components)).suffix;
85479 t2 = type$.SimpleSelector_2;
85480 t3 = this.resolvedMembers;
85481 t4 = lastComponent.components;
85482 t5 = J.getInterceptor$ax(t3);
85483 if (suffix != null) {
85484 t2 = A.List_List$of(A.SubListIterable$(t4, 0, A.checkNotNullable(t4.length - 1, "count", type$.int), A._arrayInstanceType(t4)._precomputed1), true, t2);
85485 t2.push(B.JSArray_methods.get$last(t4).addSuffix$1(suffix));
85486 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
85487 last = A.CompoundSelector$0(t2);
85488 } else {
85489 t2 = A.List_List$of(t4, true, t2);
85490 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
85491 last = A.CompoundSelector$0(t2);
85492 }
85493 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(t1.length - 1, "count", type$.int), A._arrayInstanceType(t1)._precomputed1), true, type$.ComplexSelectorComponent_2);
85494 t1.push(last);
85495 return A.ComplexSelector$0(t1, complex.lineBreak);
85496 },
85497 $signature: 120
85498 };
85499 A._NodeSassList.prototype = {};
85500 A.legacyListClass_closure.prototype = {
85501 call$4(thisArg, $length, commaSeparator, dartValue) {
85502 var t1;
85503 if (dartValue == null) {
85504 $length.toString;
85505 t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
85506 t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_kWM0 : B.ListSeparator_woc0, false);
85507 } else
85508 t1 = dartValue;
85509 J.set$dartValue$x(thisArg, t1);
85510 },
85511 call$2(thisArg, $length) {
85512 return this.call$4(thisArg, $length, null, null);
85513 },
85514 call$3(thisArg, $length, commaSeparator) {
85515 return this.call$4(thisArg, $length, commaSeparator, null);
85516 },
85517 "call*": "call$4",
85518 $requiredArgCount: 2,
85519 $defaultValues() {
85520 return [null, null];
85521 },
85522 $signature: 472
85523 };
85524 A.legacyListClass__closure.prototype = {
85525 call$1(_) {
85526 return B.C__SassNull0;
85527 },
85528 $signature: 233
85529 };
85530 A.legacyListClass_closure0.prototype = {
85531 call$2(thisArg, index) {
85532 return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
85533 },
85534 $signature: 474
85535 };
85536 A.legacyListClass_closure1.prototype = {
85537 call$3(thisArg, index, value) {
85538 var t1 = J.getInterceptor$x(thisArg),
85539 t2 = t1.get$dartValue(thisArg)._list1$_contents,
85540 mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
85541 mutable[index] = A.unwrapValue(value);
85542 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
85543 },
85544 "call*": "call$3",
85545 $requiredArgCount: 3,
85546 $signature: 475
85547 };
85548 A.legacyListClass_closure2.prototype = {
85549 call$1(thisArg) {
85550 return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_kWM0;
85551 },
85552 $signature: 476
85553 };
85554 A.legacyListClass_closure3.prototype = {
85555 call$2(thisArg, isComma) {
85556 var t1 = J.getInterceptor$x(thisArg),
85557 t2 = t1.get$dartValue(thisArg)._list1$_contents,
85558 t3 = isComma ? B.ListSeparator_kWM0 : B.ListSeparator_woc0;
85559 t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
85560 },
85561 $signature: 477
85562 };
85563 A.legacyListClass_closure4.prototype = {
85564 call$1(thisArg) {
85565 return J.get$dartValue$x(thisArg)._list1$_contents.length;
85566 },
85567 $signature: 478
85568 };
85569 A.listClass_closure.prototype = {
85570 call$0() {
85571 var t1 = type$.JSClass,
85572 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
85573 J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
85574 A.JSClassExtension_injectSuperclass(t1._as(B.SassList_0.constructor), jsClass);
85575 return jsClass;
85576 },
85577 $signature: 23
85578 };
85579 A.listClass__closure.prototype = {
85580 call$3($self, contentsOrOptions, options) {
85581 var contents, t1, t2;
85582 if (self.immutable.isList(contentsOrOptions))
85583 contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
85584 else if (type$.List_dynamic._is(contentsOrOptions))
85585 contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
85586 else {
85587 contents = A._setArrayType([], type$.JSArray_Value_2);
85588 type$.nullable__ConstructorOptions._as(contentsOrOptions);
85589 options = contentsOrOptions;
85590 }
85591 t1 = options == null;
85592 if (!t1) {
85593 t2 = J.get$separator$x(options);
85594 t2 = A._asBool($.$get$_isUndefined().call$1(t2));
85595 } else
85596 t2 = true;
85597 t2 = t2 ? B.ListSeparator_kWM0 : A.jsToDartSeparator(J.get$separator$x(options));
85598 t1 = t1 ? null : J.get$brackets$x(options);
85599 return A.SassList$0(contents, t2, t1 == null ? false : t1);
85600 },
85601 call$1($self) {
85602 return this.call$3($self, null, null);
85603 },
85604 call$2($self, contentsOrOptions) {
85605 return this.call$3($self, contentsOrOptions, null);
85606 },
85607 "call*": "call$3",
85608 $requiredArgCount: 1,
85609 $defaultValues() {
85610 return [null, null];
85611 },
85612 $signature: 479
85613 };
85614 A.listClass__closure0.prototype = {
85615 call$2($self, indexFloat) {
85616 var index = B.JSNumber_methods.floor$0(indexFloat);
85617 if (index < 0)
85618 index = $self.get$asList().length + index;
85619 if (index < 0 || index >= $self.get$asList().length)
85620 return self.undefined;
85621 return $self.get$asList()[index];
85622 },
85623 $signature: 234
85624 };
85625 A._ConstructorOptions.prototype = {};
85626 A.SassList0.prototype = {
85627 get$separator(_) {
85628 return this._list1$_separator;
85629 },
85630 get$hasBrackets() {
85631 return this._list1$_hasBrackets;
85632 },
85633 get$isBlank() {
85634 return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
85635 },
85636 get$asList() {
85637 return this._list1$_contents;
85638 },
85639 get$lengthAsList() {
85640 return this._list1$_contents.length;
85641 },
85642 SassList$3$brackets0(contents, _separator, brackets) {
85643 if (this._list1$_separator === B.ListSeparator_undecided_null0 && this._list1$_contents.length > 1)
85644 throw A.wrapException(A.ArgumentError$(string$.A_list, null));
85645 },
85646 accept$1$1(visitor) {
85647 return visitor.visitList$1(this);
85648 },
85649 accept$1(visitor) {
85650 return this.accept$1$1(visitor, type$.dynamic);
85651 },
85652 assertMap$1($name) {
85653 return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
85654 },
85655 tryMap$0() {
85656 return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
85657 },
85658 $eq(_, other) {
85659 var t1, _this = this;
85660 if (other == null)
85661 return false;
85662 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)))
85663 t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
85664 else
85665 t1 = true;
85666 return t1;
85667 },
85668 get$hashCode(_) {
85669 return B.C_ListEquality0.hash$1(this._list1$_contents);
85670 }
85671 };
85672 A.SassList_isBlank_closure0.prototype = {
85673 call$1(element) {
85674 return element.get$isBlank();
85675 },
85676 $signature: 47
85677 };
85678 A.ListSeparator0.prototype = {
85679 toString$0(_) {
85680 return this._list1$_name;
85681 }
85682 };
85683 A.NodeLogger.prototype = {};
85684 A.WarnOptions.prototype = {};
85685 A.DebugOptions.prototype = {};
85686 A._QuietLogger0.prototype = {
85687 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
85688 },
85689 warn$2$span($receiver, message, span) {
85690 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
85691 },
85692 warn$3$deprecation$span($receiver, message, deprecation, span) {
85693 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
85694 }
85695 };
85696 A.LoudComment0.prototype = {
85697 get$span(_) {
85698 return this.text.span;
85699 },
85700 accept$1$1(visitor) {
85701 return visitor.visitLoudComment$1(this);
85702 },
85703 accept$1(visitor) {
85704 return this.accept$1$1(visitor, type$.dynamic);
85705 },
85706 toString$0(_) {
85707 return this.text.toString$0(0);
85708 },
85709 $isAstNode0: 1,
85710 $isStatement0: 1
85711 };
85712 A.MapExpression0.prototype = {
85713 accept$1$1(visitor) {
85714 return visitor.visitMapExpression$1(this);
85715 },
85716 accept$1(visitor) {
85717 return this.accept$1$1(visitor, type$.dynamic);
85718 },
85719 toString$0(_) {
85720 var t1 = this.pairs;
85721 return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
85722 },
85723 $isExpression0: 1,
85724 $isAstNode0: 1,
85725 get$span(receiver) {
85726 return this.span;
85727 }
85728 };
85729 A.MapExpression_toString_closure0.prototype = {
85730 call$1(pair) {
85731 return A.S(pair.item1) + ": " + A.S(pair.item2);
85732 },
85733 $signature: 481
85734 };
85735 A._get_closure0.prototype = {
85736 call$1($arguments) {
85737 var t3, value,
85738 t1 = J.getInterceptor$asx($arguments),
85739 map = t1.$index($arguments, 0).assertMap$1("map"),
85740 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
85741 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
85742 for (t1 = A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value_2), t1 = new A.ListIterator(t1, t1.get$length(t1)), t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0(); map = value) {
85743 value = map._map0$_contents.$index(0, t3._as(t1.__internal$_current));
85744 if (!(value instanceof A.SassMap0))
85745 return B.C__SassNull0;
85746 }
85747 t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
85748 return t1 == null ? B.C__SassNull0 : t1;
85749 },
85750 $signature: 3
85751 };
85752 A._set_closure1.prototype = {
85753 call$1($arguments) {
85754 var t1 = J.getInterceptor$asx($arguments);
85755 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);
85756 },
85757 $signature: 3
85758 };
85759 A._set__closure2.prototype = {
85760 call$1(_) {
85761 return J.$index$asx(this.$arguments, 2);
85762 },
85763 $signature: 38
85764 };
85765 A._set_closure2.prototype = {
85766 call$1($arguments) {
85767 var t1 = J.getInterceptor$asx($arguments),
85768 map = t1.$index($arguments, 0).assertMap$1("map"),
85769 args = t1.$index($arguments, 1).get$asList();
85770 t1 = args.length;
85771 if (t1 === 0)
85772 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key."));
85773 else if (t1 === 1)
85774 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value."));
85775 return A._modify0(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure1(args), true);
85776 },
85777 $signature: 3
85778 };
85779 A._set__closure1.prototype = {
85780 call$1(_) {
85781 return B.JSArray_methods.get$last(this.args);
85782 },
85783 $signature: 38
85784 };
85785 A._merge_closure1.prototype = {
85786 call$1($arguments) {
85787 var t2, t3, t4,
85788 t1 = J.getInterceptor$asx($arguments),
85789 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
85790 map2 = t1.$index($arguments, 1).assertMap$1("map2");
85791 t1 = type$.Value_2;
85792 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
85793 for (t3 = map1._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85794 t4 = t3.get$current(t3);
85795 t2.$indexSet(0, t4.key, t4.value);
85796 }
85797 for (t3 = map2._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85798 t4 = t3.get$current(t3);
85799 t2.$indexSet(0, t4.key, t4.value);
85800 }
85801 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
85802 },
85803 $signature: 37
85804 };
85805 A._merge_closure2.prototype = {
85806 call$1($arguments) {
85807 var map2,
85808 t1 = J.getInterceptor$asx($arguments),
85809 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
85810 args = t1.$index($arguments, 1).get$asList();
85811 t1 = args.length;
85812 if (t1 === 0)
85813 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key."));
85814 else if (t1 === 1)
85815 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map."));
85816 map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
85817 return A._modify0(map1, A.SubListIterable$(args, 0, A.checkNotNullable(args.length - 1, "count", type$.int), A._arrayInstanceType(args)._precomputed1), new A._merge__closure0(map2), true);
85818 },
85819 $signature: 3
85820 };
85821 A._merge__closure0.prototype = {
85822 call$1(oldValue) {
85823 var t1, t2, t3, t4,
85824 nestedMap = oldValue.tryMap$0();
85825 if (nestedMap == null)
85826 return this.map2;
85827 t1 = type$.Value_2;
85828 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
85829 for (t3 = nestedMap._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85830 t4 = t3.get$current(t3);
85831 t2.$indexSet(0, t4.key, t4.value);
85832 }
85833 for (t3 = this.map2._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85834 t4 = t3.get$current(t3);
85835 t2.$indexSet(0, t4.key, t4.value);
85836 }
85837 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
85838 },
85839 $signature: 482
85840 };
85841 A._deepMerge_closure0.prototype = {
85842 call$1($arguments) {
85843 var t1 = J.getInterceptor$asx($arguments);
85844 return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
85845 },
85846 $signature: 37
85847 };
85848 A._deepRemove_closure0.prototype = {
85849 call$1($arguments) {
85850 var t1 = J.getInterceptor$asx($arguments),
85851 map = t1.$index($arguments, 0).assertMap$1("map"),
85852 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
85853 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
85854 return A._modify0(map, A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value_2), new A._deepRemove__closure0(t2), false);
85855 },
85856 $signature: 3
85857 };
85858 A._deepRemove__closure0.prototype = {
85859 call$1(value) {
85860 var t1, t2,
85861 nestedMap = value.tryMap$0();
85862 if (nestedMap != null && nestedMap._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
85863 t1 = type$.Value_2;
85864 t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
85865 t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
85866 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
85867 }
85868 return value;
85869 },
85870 $signature: 38
85871 };
85872 A._remove_closure1.prototype = {
85873 call$1($arguments) {
85874 return J.$index$asx($arguments, 0).assertMap$1("map");
85875 },
85876 $signature: 37
85877 };
85878 A._remove_closure2.prototype = {
85879 call$1($arguments) {
85880 var mutableMap, t3, _i,
85881 t1 = J.getInterceptor$asx($arguments),
85882 map = t1.$index($arguments, 0).assertMap$1("map"),
85883 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
85884 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
85885 t1 = type$.Value_2;
85886 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
85887 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
85888 mutableMap.remove$1(0, t2[_i]);
85889 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
85890 },
85891 $signature: 37
85892 };
85893 A._keys_closure0.prototype = {
85894 call$1($arguments) {
85895 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
85896 return A.SassList$0(t1.get$keys(t1), B.ListSeparator_kWM0, false);
85897 },
85898 $signature: 21
85899 };
85900 A._values_closure0.prototype = {
85901 call$1($arguments) {
85902 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
85903 return A.SassList$0(t1.get$values(t1), B.ListSeparator_kWM0, false);
85904 },
85905 $signature: 21
85906 };
85907 A._hasKey_closure0.prototype = {
85908 call$1($arguments) {
85909 var t3, value,
85910 t1 = J.getInterceptor$asx($arguments),
85911 map = t1.$index($arguments, 0).assertMap$1("map"),
85912 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
85913 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
85914 for (t1 = A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value_2), t1 = new A.ListIterator(t1, t1.get$length(t1)), t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0(); map = value) {
85915 value = map._map0$_contents.$index(0, t3._as(t1.__internal$_current));
85916 if (!(value instanceof A.SassMap0))
85917 return B.SassBoolean_false0;
85918 }
85919 return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
85920 },
85921 $signature: 20
85922 };
85923 A._modify__modifyNestedMap0.prototype = {
85924 call$1(map) {
85925 var nestedMap, _this = this,
85926 t1 = type$.Value_2,
85927 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
85928 t2 = _this.keyIterator,
85929 key = t2.get$current(t2);
85930 if (!t2.moveNext$0()) {
85931 t2 = mutableMap.$index(0, key);
85932 if (t2 == null)
85933 t2 = B.C__SassNull0;
85934 mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
85935 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
85936 }
85937 t2 = mutableMap.$index(0, key);
85938 nestedMap = t2 == null ? null : t2.tryMap$0();
85939 t2 = nestedMap == null;
85940 if (t2 && !_this.addNesting)
85941 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
85942 mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
85943 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
85944 },
85945 $signature: 483
85946 };
85947 A._deepMergeImpl__ensureMutable0.prototype = {
85948 call$0() {
85949 var t2,
85950 t1 = this._box_0;
85951 if (t1.mutable)
85952 return;
85953 t1.mutable = true;
85954 t2 = type$.Value_2;
85955 t1.result = A.LinkedHashMap_LinkedHashMap$of(t1.result, t2, t2);
85956 },
85957 $signature: 0
85958 };
85959 A._deepMergeImpl_closure0.prototype = {
85960 call$2(key, value) {
85961 var resultMap, valueMap, merged,
85962 t1 = this._box_0,
85963 resultValue = t1.result.$index(0, key);
85964 if (resultValue == null) {
85965 this._ensureMutable.call$0();
85966 t1.result.$indexSet(0, key, value);
85967 } else {
85968 resultMap = resultValue.tryMap$0();
85969 valueMap = value.tryMap$0();
85970 if (resultMap != null && valueMap != null) {
85971 merged = A._deepMergeImpl0(valueMap, resultMap);
85972 if (merged === resultMap)
85973 return;
85974 this._ensureMutable.call$0();
85975 t1.result.$indexSet(0, key, merged);
85976 }
85977 }
85978 },
85979 $signature: 52
85980 };
85981 A._NodeSassMap.prototype = {};
85982 A.legacyMapClass_closure.prototype = {
85983 call$3(thisArg, $length, dartValue) {
85984 var t1, t2, t3, map;
85985 if (dartValue == null) {
85986 $length.toString;
85987 t1 = type$.Value_2;
85988 t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
85989 t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
85990 map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
85991 A.MapBase__fillMapWithIterables(map, t2, t3);
85992 t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
85993 } else
85994 t1 = dartValue;
85995 J.set$dartValue$x(thisArg, t1);
85996 },
85997 call$2(thisArg, $length) {
85998 return this.call$3(thisArg, $length, null);
85999 },
86000 "call*": "call$3",
86001 $requiredArgCount: 2,
86002 $defaultValues() {
86003 return [null];
86004 },
86005 $signature: 484
86006 };
86007 A.legacyMapClass__closure.prototype = {
86008 call$1(i) {
86009 return new A.UnitlessSassNumber0(i, null);
86010 },
86011 $signature: 485
86012 };
86013 A.legacyMapClass__closure0.prototype = {
86014 call$1(_) {
86015 return B.C__SassNull0;
86016 },
86017 $signature: 233
86018 };
86019 A.legacyMapClass_closure0.prototype = {
86020 call$2(thisArg, index) {
86021 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
86022 return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
86023 },
86024 $signature: 235
86025 };
86026 A.legacyMapClass_closure1.prototype = {
86027 call$2(thisArg, index) {
86028 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
86029 return A.wrapValue(t1.get$values(t1).elementAt$1(0, index));
86030 },
86031 $signature: 235
86032 };
86033 A.legacyMapClass_closure2.prototype = {
86034 call$1(thisArg) {
86035 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
86036 return t1.get$length(t1);
86037 },
86038 $signature: 487
86039 };
86040 A.legacyMapClass_closure3.prototype = {
86041 call$3(thisArg, index, key) {
86042 var newKey, t2, newMap, t3, i, t4, t5,
86043 t1 = J.getInterceptor$x(thisArg);
86044 A.RangeError_checkValidIndex(index, t1.get$dartValue(thisArg)._map0$_contents, "index");
86045 newKey = A.unwrapValue(key);
86046 t2 = type$.Value_2;
86047 newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
86048 for (t3 = t1.get$dartValue(thisArg)._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
86049 t4 = t3.get$current(t3);
86050 if (i === index)
86051 newMap.$indexSet(0, newKey, t4.value);
86052 else {
86053 t5 = t4.key;
86054 if (newKey.$eq(0, t5))
86055 throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
86056 newMap.$indexSet(0, t5, t4.value);
86057 }
86058 ++i;
86059 }
86060 t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
86061 },
86062 "call*": "call$3",
86063 $requiredArgCount: 3,
86064 $signature: 236
86065 };
86066 A.legacyMapClass_closure4.prototype = {
86067 call$3(thisArg, index, value) {
86068 var t3, t4, t5,
86069 t1 = J.getInterceptor$x(thisArg),
86070 t2 = t1.get$dartValue(thisArg)._map0$_contents,
86071 key = J.elementAt$1$ax(t2.get$keys(t2), index);
86072 t2 = type$.Value_2;
86073 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
86074 for (t4 = t1.get$dartValue(thisArg)._map0$_contents, t4 = t4.get$entries(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
86075 t5 = t4.get$current(t4);
86076 t3.$indexSet(0, t5.key, t5.value);
86077 }
86078 t3.$indexSet(0, key, A.unwrapValue(value));
86079 t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
86080 },
86081 "call*": "call$3",
86082 $requiredArgCount: 3,
86083 $signature: 236
86084 };
86085 A.mapClass_closure.prototype = {
86086 call$0() {
86087 var t1 = type$.JSClass,
86088 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
86089 t2 = J.getInterceptor$x(jsClass);
86090 A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
86091 t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
86092 A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
86093 return jsClass;
86094 },
86095 $signature: 23
86096 };
86097 A.mapClass__closure.prototype = {
86098 call$2($self, contents) {
86099 var t1;
86100 if (contents == null)
86101 t1 = B.SassMap_Map_empty0;
86102 else {
86103 t1 = type$.Value_2;
86104 t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
86105 }
86106 return t1;
86107 },
86108 call$1($self) {
86109 return this.call$2($self, null);
86110 },
86111 "call*": "call$2",
86112 $requiredArgCount: 1,
86113 $defaultValues() {
86114 return [null];
86115 },
86116 $signature: 489
86117 };
86118 A.mapClass__closure0.prototype = {
86119 call$1($self) {
86120 return A.dartMapToImmutableMap($self._map0$_contents);
86121 },
86122 $signature: 490
86123 };
86124 A.mapClass__closure1.prototype = {
86125 call$2($self, indexOrKey) {
86126 var index, t1, entry;
86127 if (typeof indexOrKey == "number") {
86128 index = B.JSNumber_methods.floor$0(indexOrKey);
86129 if (index < 0) {
86130 t1 = $self._map0$_contents;
86131 index = t1.get$length(t1) + index;
86132 }
86133 if (index >= 0) {
86134 t1 = $self._map0$_contents;
86135 t1 = index >= t1.get$length(t1);
86136 } else
86137 t1 = true;
86138 if (t1)
86139 return self.undefined;
86140 t1 = $self._map0$_contents;
86141 entry = t1.get$entries(t1).elementAt$1(0, index);
86142 return A.SassList$0(A._setArrayType([entry.key, entry.value], type$.JSArray_Value_2), B.ListSeparator_woc0, false);
86143 } else {
86144 t1 = $self._map0$_contents.$index(0, indexOrKey);
86145 return t1 == null ? self.undefined : t1;
86146 }
86147 },
86148 $signature: 491
86149 };
86150 A.SassMap0.prototype = {
86151 get$separator(_) {
86152 var t1 = this._map0$_contents;
86153 return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null0 : B.ListSeparator_kWM0;
86154 },
86155 get$asList() {
86156 var result = A._setArrayType([], type$.JSArray_Value_2);
86157 this._map0$_contents.forEach$1(0, new A.SassMap_asList_closure0(result));
86158 return result;
86159 },
86160 get$lengthAsList() {
86161 var t1 = this._map0$_contents;
86162 return t1.get$length(t1);
86163 },
86164 accept$1$1(visitor) {
86165 return visitor.visitMap$1(this);
86166 },
86167 accept$1(visitor) {
86168 return this.accept$1$1(visitor, type$.dynamic);
86169 },
86170 assertMap$1($name) {
86171 return this;
86172 },
86173 tryMap$0() {
86174 return this;
86175 },
86176 $eq(_, other) {
86177 var t1;
86178 if (other == null)
86179 return false;
86180 if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
86181 t1 = this._map0$_contents;
86182 t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
86183 } else
86184 t1 = true;
86185 return t1;
86186 },
86187 get$hashCode(_) {
86188 var t1 = this._map0$_contents;
86189 return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty15) : B.C_MapEquality.hash$1(t1);
86190 }
86191 };
86192 A.SassMap_asList_closure0.prototype = {
86193 call$2(key, value) {
86194 this.result.push(A.SassList$0(A._setArrayType([key, value], type$.JSArray_Value_2), B.ListSeparator_woc0, false));
86195 },
86196 $signature: 52
86197 };
86198 A._ceil_closure0.prototype = {
86199 call$1(value) {
86200 return B.JSNumber_methods.ceil$0(value);
86201 },
86202 $signature: 42
86203 };
86204 A._clamp_closure0.prototype = {
86205 call$1($arguments) {
86206 var t1 = J.getInterceptor$asx($arguments),
86207 min = t1.$index($arguments, 0).assertNumber$1("min"),
86208 number = t1.$index($arguments, 1).assertNumber$1("number"),
86209 max = t1.$index($arguments, 2).assertNumber$1("max");
86210 number.convertValueToMatch$3(min, "number", "min");
86211 max.convertValueToMatch$3(min, "max", "min");
86212 if (min.greaterThanOrEquals$1(max).value)
86213 return min;
86214 if (min.greaterThanOrEquals$1(number).value)
86215 return min;
86216 if (number.greaterThanOrEquals$1(max).value)
86217 return max;
86218 return number;
86219 },
86220 $signature: 9
86221 };
86222 A._floor_closure0.prototype = {
86223 call$1(value) {
86224 return B.JSNumber_methods.floor$0(value);
86225 },
86226 $signature: 42
86227 };
86228 A._max_closure0.prototype = {
86229 call$1($arguments) {
86230 var t1, t2, max, _i, number;
86231 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) {
86232 number = t1[_i].assertNumber$0();
86233 if (max == null || max.lessThan$1(number).value)
86234 max = number;
86235 }
86236 if (max != null)
86237 return max;
86238 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
86239 },
86240 $signature: 9
86241 };
86242 A._min_closure0.prototype = {
86243 call$1($arguments) {
86244 var t1, t2, min, _i, number;
86245 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) {
86246 number = t1[_i].assertNumber$0();
86247 if (min == null || min.greaterThan$1(number).value)
86248 min = number;
86249 }
86250 if (min != null)
86251 return min;
86252 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
86253 },
86254 $signature: 9
86255 };
86256 A._abs_closure0.prototype = {
86257 call$1(value) {
86258 return Math.abs(value);
86259 },
86260 $signature: 92
86261 };
86262 A._hypot_closure0.prototype = {
86263 call$1($arguments) {
86264 var subtotal, i, i0, t3, t4,
86265 t1 = J.$index$asx($arguments, 0).get$asList(),
86266 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
86267 numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
86268 t1 = numbers.length;
86269 if (t1 === 0)
86270 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
86271 for (subtotal = 0, i = 0; i < t1; i = i0) {
86272 i0 = i + 1;
86273 subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
86274 }
86275 t1 = Math.sqrt(subtotal);
86276 t2 = numbers[0];
86277 t3 = J.getInterceptor$x(t2);
86278 t4 = t3.get$numeratorUnits(t2);
86279 return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t2), t4);
86280 },
86281 $signature: 9
86282 };
86283 A._hypot__closure0.prototype = {
86284 call$1(argument) {
86285 return argument.assertNumber$0();
86286 },
86287 $signature: 492
86288 };
86289 A._log_closure0.prototype = {
86290 call$1($arguments) {
86291 var numberValue, base, baseValue, t2,
86292 _s18_ = " to have no units.",
86293 t1 = J.getInterceptor$asx($arguments),
86294 number = t1.$index($arguments, 0).assertNumber$1("number");
86295 if (number.get$hasUnits())
86296 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_));
86297 numberValue = A._fuzzyRoundIfZero0(number._number1$_value);
86298 if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull0)) {
86299 t1 = Math.log(numberValue);
86300 return new A.UnitlessSassNumber0(t1, null);
86301 }
86302 base = t1.$index($arguments, 1).assertNumber$1("base");
86303 if (base.get$hasUnits())
86304 throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_));
86305 t1 = base._number1$_value;
86306 baseValue = Math.abs(t1 - 1) < $.$get$epsilon0() ? A.fuzzyRound0(t1) : A._fuzzyRoundIfZero0(t1);
86307 t1 = Math.log(numberValue);
86308 t2 = Math.log(baseValue);
86309 return new A.UnitlessSassNumber0(t1 / t2, null);
86310 },
86311 $signature: 9
86312 };
86313 A._pow_closure0.prototype = {
86314 call$1($arguments) {
86315 var baseValue, exponentValue, t2, intExponent, t3,
86316 _s18_ = " to have no units.",
86317 _null = null,
86318 t1 = J.getInterceptor$asx($arguments),
86319 base = t1.$index($arguments, 0).assertNumber$1("base"),
86320 exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
86321 if (base.get$hasUnits())
86322 throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_));
86323 else if (exponent.get$hasUnits())
86324 throw A.wrapException(A.SassScriptException$0("$exponent: Expected " + exponent.toString$0(0) + _s18_));
86325 baseValue = A._fuzzyRoundIfZero0(base._number1$_value);
86326 exponentValue = A._fuzzyRoundIfZero0(exponent._number1$_value);
86327 t1 = $.$get$epsilon0();
86328 if (Math.abs(Math.abs(baseValue) - 1) < t1)
86329 t2 = exponentValue == 1 / 0 || exponentValue == -1 / 0;
86330 else
86331 t2 = false;
86332 if (t2)
86333 return new A.UnitlessSassNumber0(0 / 0, _null);
86334 else {
86335 t2 = Math.abs(baseValue - 0);
86336 if (t2 < t1) {
86337 if (isFinite(exponentValue)) {
86338 intExponent = A.fuzzyIsInt0(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
86339 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
86340 exponentValue = A.fuzzyRound0(exponentValue);
86341 }
86342 } else {
86343 if (isFinite(baseValue))
86344 t3 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue) && A.fuzzyIsInt0(exponentValue);
86345 else
86346 t3 = false;
86347 if (t3)
86348 exponentValue = A.fuzzyRound0(exponentValue);
86349 else {
86350 if (baseValue == 1 / 0 || baseValue == -1 / 0)
86351 t1 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue);
86352 else
86353 t1 = false;
86354 if (t1) {
86355 intExponent = A.fuzzyIsInt0(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
86356 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
86357 exponentValue = A.fuzzyRound0(exponentValue);
86358 }
86359 }
86360 }
86361 }
86362 t1 = Math.pow(baseValue, exponentValue);
86363 return new A.UnitlessSassNumber0(t1, _null);
86364 },
86365 $signature: 9
86366 };
86367 A._sqrt_closure0.prototype = {
86368 call$1($arguments) {
86369 var t1,
86370 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86371 if (number.get$hasUnits())
86372 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86373 t1 = Math.sqrt(A._fuzzyRoundIfZero0(number._number1$_value));
86374 return new A.UnitlessSassNumber0(t1, null);
86375 },
86376 $signature: 9
86377 };
86378 A._acos_closure0.prototype = {
86379 call$1($arguments) {
86380 var numberValue,
86381 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86382 if (number.get$hasUnits())
86383 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86384 numberValue = number._number1$_value;
86385 if (Math.abs(Math.abs(numberValue) - 1) < $.$get$epsilon0())
86386 numberValue = A.fuzzyRound0(numberValue);
86387 return A.SassNumber_SassNumber$withUnits0(Math.acos(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86388 },
86389 $signature: 9
86390 };
86391 A._asin_closure0.prototype = {
86392 call$1($arguments) {
86393 var t1, numberValue,
86394 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86395 if (number.get$hasUnits())
86396 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86397 t1 = number._number1$_value;
86398 numberValue = Math.abs(Math.abs(t1) - 1) < $.$get$epsilon0() ? A.fuzzyRound0(t1) : A._fuzzyRoundIfZero0(t1);
86399 return A.SassNumber_SassNumber$withUnits0(Math.asin(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86400 },
86401 $signature: 9
86402 };
86403 A._atan_closure0.prototype = {
86404 call$1($arguments) {
86405 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
86406 if (number.get$hasUnits())
86407 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86408 return A.SassNumber_SassNumber$withUnits0(Math.atan(A._fuzzyRoundIfZero0(number._number1$_value)) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86409 },
86410 $signature: 9
86411 };
86412 A._atan2_closure0.prototype = {
86413 call$1($arguments) {
86414 var t1 = J.getInterceptor$asx($arguments),
86415 y = t1.$index($arguments, 0).assertNumber$1("y"),
86416 xValue = A._fuzzyRoundIfZero0(t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y"));
86417 return A.SassNumber_SassNumber$withUnits0(Math.atan2(A._fuzzyRoundIfZero0(y._number1$_value), xValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86418 },
86419 $signature: 9
86420 };
86421 A._cos_closure0.prototype = {
86422 call$1($arguments) {
86423 var t1 = Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"));
86424 return new A.UnitlessSassNumber0(t1, null);
86425 },
86426 $signature: 9
86427 };
86428 A._sin_closure0.prototype = {
86429 call$1($arguments) {
86430 var t1 = Math.sin(A._fuzzyRoundIfZero0(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")));
86431 return new A.UnitlessSassNumber0(t1, null);
86432 },
86433 $signature: 9
86434 };
86435 A._tan_closure0.prototype = {
86436 call$1($arguments) {
86437 var value = J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"),
86438 t1 = B.JSNumber_methods.$mod(value - 1.5707963267948966, 6.283185307179586),
86439 t2 = $.$get$epsilon0();
86440 if (Math.abs(t1 - 0) < t2)
86441 return new A.UnitlessSassNumber0(1 / 0, null);
86442 else if (Math.abs(B.JSNumber_methods.$mod(value + 1.5707963267948966, 6.283185307179586) - 0) < t2)
86443 return new A.UnitlessSassNumber0(-1 / 0, null);
86444 else {
86445 t1 = Math.tan(A._fuzzyRoundIfZero0(value));
86446 return new A.UnitlessSassNumber0(t1, null);
86447 }
86448 },
86449 $signature: 9
86450 };
86451 A._compatible_closure0.prototype = {
86452 call$1($arguments) {
86453 var t1 = J.getInterceptor$asx($arguments);
86454 return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
86455 },
86456 $signature: 20
86457 };
86458 A._isUnitless_closure0.prototype = {
86459 call$1($arguments) {
86460 return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
86461 },
86462 $signature: 20
86463 };
86464 A._unit_closure0.prototype = {
86465 call$1($arguments) {
86466 return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
86467 },
86468 $signature: 14
86469 };
86470 A._percentage_closure0.prototype = {
86471 call$1($arguments) {
86472 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
86473 number.assertNoUnits$1("number");
86474 return new A.SingleUnitSassNumber0("%", number._number1$_value * 100, null);
86475 },
86476 $signature: 9
86477 };
86478 A._randomFunction_closure0.prototype = {
86479 call$1($arguments) {
86480 var limit,
86481 t1 = J.getInterceptor$asx($arguments);
86482 if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull0)) {
86483 t1 = $.$get$_random2().nextDouble$0();
86484 return new A.UnitlessSassNumber0(t1, null);
86485 }
86486 limit = t1.$index($arguments, 0).assertNumber$1("limit").assertInt$1("limit");
86487 if (limit < 1)
86488 throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit + "."));
86489 t1 = $.$get$_random2().nextInt$1(limit);
86490 return new A.UnitlessSassNumber0(t1 + 1, null);
86491 },
86492 $signature: 9
86493 };
86494 A._div_closure0.prototype = {
86495 call$1($arguments) {
86496 var t1 = J.getInterceptor$asx($arguments),
86497 number1 = t1.$index($arguments, 0),
86498 number2 = t1.$index($arguments, 1);
86499 if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
86500 A.EvaluationContext_current0().warn$2$deprecation(0, string$.math_d, false);
86501 return number1.dividedBy$1(number2);
86502 },
86503 $signature: 3
86504 };
86505 A._numberFunction_closure0.prototype = {
86506 call$1($arguments) {
86507 var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
86508 t1 = this.transform.call$1(number._number1$_value),
86509 t2 = number.get$numeratorUnits(number);
86510 return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
86511 },
86512 $signature: 9
86513 };
86514 A.CssMediaQuery0.prototype = {
86515 merge$1(other) {
86516 var t8, negativeFeatures, features, type, modifier, fewerFeatures, fewerFeatures0, moreFeatures, _this = this, _null = null, _s3_ = "all",
86517 t1 = _this.modifier,
86518 ourModifier = t1 == null ? _null : t1.toLowerCase(),
86519 t2 = _this.type,
86520 t3 = t2 == null,
86521 ourType = t3 ? _null : t2.toLowerCase(),
86522 t4 = other.modifier,
86523 theirModifier = t4 == null ? _null : t4.toLowerCase(),
86524 t5 = other.type,
86525 t6 = t5 == null,
86526 theirType = t6 ? _null : t5.toLowerCase(),
86527 t7 = ourType == null;
86528 if (t7 && theirType == null) {
86529 t1 = type$.String;
86530 t2 = A.List_List$of(_this.features, true, t1);
86531 B.JSArray_methods.addAll$1(t2, other.features);
86532 return new A.MediaQuerySuccessfulMergeResult0(new A.CssMediaQuery0(_null, _null, A.List_List$unmodifiable(t2, t1)));
86533 }
86534 t8 = ourModifier === "not";
86535 if (t8 !== (theirModifier === "not")) {
86536 if (ourType == theirType) {
86537 negativeFeatures = t8 ? _this.features : other.features;
86538 if (B.JSArray_methods.every$1(negativeFeatures, B.JSArray_methods.get$contains(t8 ? other.features : _this.features)))
86539 return B._SingletonCssMediaQueryMergeResult_empty0;
86540 else
86541 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86542 } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
86543 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86544 if (t8) {
86545 features = other.features;
86546 type = theirType;
86547 modifier = theirModifier;
86548 } else {
86549 features = _this.features;
86550 type = ourType;
86551 modifier = ourModifier;
86552 }
86553 } else if (t8) {
86554 if (ourType != theirType)
86555 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86556 fewerFeatures = _this.features;
86557 fewerFeatures0 = other.features;
86558 t3 = fewerFeatures.length > fewerFeatures0.length;
86559 moreFeatures = t3 ? fewerFeatures : fewerFeatures0;
86560 if (t3)
86561 fewerFeatures = fewerFeatures0;
86562 if (!B.JSArray_methods.every$1(fewerFeatures, B.JSArray_methods.get$contains(moreFeatures)))
86563 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86564 features = moreFeatures;
86565 type = ourType;
86566 modifier = ourModifier;
86567 } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
86568 type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
86569 t3 = A.List_List$of(_this.features, true, type$.String);
86570 B.JSArray_methods.addAll$1(t3, other.features);
86571 features = t3;
86572 modifier = theirModifier;
86573 } else {
86574 if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
86575 t3 = A.List_List$of(_this.features, true, type$.String);
86576 B.JSArray_methods.addAll$1(t3, other.features);
86577 features = t3;
86578 modifier = ourModifier;
86579 } else {
86580 if (ourType != theirType)
86581 return B._SingletonCssMediaQueryMergeResult_empty0;
86582 else {
86583 modifier = ourModifier == null ? theirModifier : ourModifier;
86584 t3 = A.List_List$of(_this.features, true, type$.String);
86585 B.JSArray_methods.addAll$1(t3, other.features);
86586 }
86587 features = t3;
86588 }
86589 type = ourType;
86590 }
86591 t2 = type == ourType ? t2 : t5;
86592 t1 = modifier == ourModifier ? t1 : t4;
86593 t3 = A.List_List$unmodifiable(features, type$.String);
86594 return new A.MediaQuerySuccessfulMergeResult0(new A.CssMediaQuery0(t1, t2, t3));
86595 },
86596 $eq(_, other) {
86597 if (other == null)
86598 return false;
86599 return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.features, this.features);
86600 },
86601 get$hashCode(_) {
86602 return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.features);
86603 },
86604 toString$0(_) {
86605 var t2, _this = this,
86606 t1 = _this.modifier;
86607 t1 = t1 != null ? "" + (t1 + " ") : "";
86608 t2 = _this.type;
86609 if (t2 != null) {
86610 t1 += t2;
86611 if (_this.features.length !== 0)
86612 t1 += " and ";
86613 }
86614 t1 += B.JSArray_methods.join$1(_this.features, " and ");
86615 return t1.charCodeAt(0) == 0 ? t1 : t1;
86616 }
86617 };
86618 A._SingletonCssMediaQueryMergeResult0.prototype = {
86619 toString$0(_) {
86620 return this._media_query1$_name;
86621 }
86622 };
86623 A.MediaQuerySuccessfulMergeResult0.prototype = {};
86624 A.MediaQueryParser0.prototype = {
86625 parse$0() {
86626 return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
86627 },
86628 _media_query0$_mediaQuery$0() {
86629 var identifier1, identifier2, type, modifier, features, _this = this, _null = null,
86630 t1 = _this.scanner;
86631 if (t1.peekChar$0() !== 40) {
86632 identifier1 = _this.identifier$0();
86633 _this.whitespace$0();
86634 if (!_this.lookingAtIdentifier$0())
86635 return new A.CssMediaQuery0(_null, identifier1, B.List_empty);
86636 identifier2 = _this.identifier$0();
86637 _this.whitespace$0();
86638 if (A.equalsIgnoreCase0(identifier2, "and")) {
86639 type = identifier1;
86640 modifier = _null;
86641 } else {
86642 if (_this.scanIdentifier$1("and"))
86643 _this.whitespace$0();
86644 else
86645 return new A.CssMediaQuery0(identifier1, identifier2, B.List_empty);
86646 type = identifier2;
86647 modifier = identifier1;
86648 }
86649 } else {
86650 type = _null;
86651 modifier = type;
86652 }
86653 features = A._setArrayType([], type$.JSArray_String);
86654 do {
86655 _this.whitespace$0();
86656 t1.expectChar$1(40);
86657 features.push("(" + _this.declarationValue$0() + ")");
86658 t1.expectChar$1(41);
86659 _this.whitespace$0();
86660 } while (_this.scanIdentifier$1("and"));
86661 if (type == null)
86662 return new A.CssMediaQuery0(_null, _null, A.List_List$unmodifiable(features, type$.String));
86663 else {
86664 t1 = A.List_List$unmodifiable(features, type$.String);
86665 return new A.CssMediaQuery0(modifier, type, t1);
86666 }
86667 }
86668 };
86669 A.MediaQueryParser_parse_closure0.prototype = {
86670 call$0() {
86671 var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
86672 t1 = this.$this,
86673 t2 = t1.scanner;
86674 do {
86675 t1.whitespace$0();
86676 queries.push(t1._media_query0$_mediaQuery$0());
86677 } while (t2.scanChar$1(44));
86678 t2.expectDone$0();
86679 return queries;
86680 },
86681 $signature: 126
86682 };
86683 A.ModifiableCssMediaRule0.prototype = {
86684 accept$1$1(visitor) {
86685 return visitor.visitCssMediaRule$1(this);
86686 },
86687 accept$1(visitor) {
86688 return this.accept$1$1(visitor, type$.dynamic);
86689 },
86690 copyWithoutChildren$0() {
86691 return A.ModifiableCssMediaRule$0(this.queries, this.span);
86692 },
86693 $isCssMediaRule0: 1,
86694 get$span(receiver) {
86695 return this.span;
86696 }
86697 };
86698 A.MediaRule0.prototype = {
86699 accept$1$1(visitor) {
86700 return visitor.visitMediaRule$1(this);
86701 },
86702 accept$1(visitor) {
86703 return this.accept$1$1(visitor, type$.dynamic);
86704 },
86705 toString$0(_) {
86706 var t1 = this.children;
86707 return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
86708 },
86709 get$span(receiver) {
86710 return this.span;
86711 }
86712 };
86713 A.MergedExtension0.prototype = {
86714 unmerge$0() {
86715 var $async$self = this;
86716 return A._makeSyncStarIterable(function() {
86717 var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
86718 return function $async$unmerge$0($async$errorCode, $async$result) {
86719 if ($async$errorCode === 1) {
86720 $async$currentError = $async$result;
86721 $async$goto = $async$handler;
86722 }
86723 while (true)
86724 switch ($async$goto) {
86725 case 0:
86726 // Function start
86727 left = $async$self.left;
86728 $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
86729 break;
86730 case 2:
86731 // then
86732 $async$goto = 5;
86733 return A._IterationMarker_yieldStar(left.unmerge$0());
86734 case 5:
86735 // after yield
86736 // goto join
86737 $async$goto = 3;
86738 break;
86739 case 4:
86740 // else
86741 $async$goto = 6;
86742 return left;
86743 case 6:
86744 // after yield
86745 case 3:
86746 // join
86747 right = $async$self.right;
86748 $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
86749 break;
86750 case 7:
86751 // then
86752 $async$goto = 10;
86753 return A._IterationMarker_yieldStar(right.unmerge$0());
86754 case 10:
86755 // after yield
86756 // goto join
86757 $async$goto = 8;
86758 break;
86759 case 9:
86760 // else
86761 $async$goto = 11;
86762 return right;
86763 case 11:
86764 // after yield
86765 case 8:
86766 // join
86767 // implicit return
86768 return A._IterationMarker_endOfIteration();
86769 case 1:
86770 // rethrow
86771 return A._IterationMarker_uncaughtError($async$currentError);
86772 }
86773 };
86774 }, type$.Extension_2);
86775 }
86776 };
86777 A.MergedMapView0.prototype = {
86778 get$keys(_) {
86779 var t1 = this._merged_map_view$_mapsByKey;
86780 return t1.get$keys(t1);
86781 },
86782 get$length(_) {
86783 var t1 = this._merged_map_view$_mapsByKey;
86784 return t1.get$length(t1);
86785 },
86786 get$isEmpty(_) {
86787 var t1 = this._merged_map_view$_mapsByKey;
86788 return t1.get$isEmpty(t1);
86789 },
86790 get$isNotEmpty(_) {
86791 var t1 = this._merged_map_view$_mapsByKey;
86792 return t1.get$isNotEmpty(t1);
86793 },
86794 MergedMapView$10(maps, $K, $V) {
86795 var t1, t2, t3, _i, map, t4, t5;
86796 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) {
86797 map = maps[_i];
86798 if (t3._is(map))
86799 for (t4 = map._merged_map_view$_mapsByKey, t4 = t4.get$values(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
86800 t5 = t4.get$current(t4);
86801 A.setAll0(t2, t5.get$keys(t5), t5);
86802 }
86803 else
86804 A.setAll0(t2, map.get$keys(map), map);
86805 }
86806 },
86807 $index(_, key) {
86808 var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
86809 return t1 == null ? null : t1.$index(0, key);
86810 },
86811 $indexSet(_, key, value) {
86812 var child = this._merged_map_view$_mapsByKey.$index(0, key);
86813 if (child == null)
86814 throw A.wrapException(A.UnsupportedError$(string$.New_en));
86815 child.$indexSet(0, key, value);
86816 },
86817 remove$1(_, key) {
86818 throw A.wrapException(A.UnsupportedError$(string$.Entrie));
86819 },
86820 containsKey$1(key) {
86821 return this._merged_map_view$_mapsByKey.containsKey$1(key);
86822 }
86823 };
86824 A.global_closure57.prototype = {
86825 call$1($arguments) {
86826 return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
86827 },
86828 $signature: 20
86829 };
86830 A.global_closure58.prototype = {
86831 call$1($arguments) {
86832 return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
86833 },
86834 $signature: 14
86835 };
86836 A.global_closure59.prototype = {
86837 call$1($arguments) {
86838 var value = J.$index$asx($arguments, 0);
86839 if (value instanceof A.SassArgumentList0)
86840 return new A.SassString0("arglist", false);
86841 if (value instanceof A.SassBoolean0)
86842 return new A.SassString0("bool", false);
86843 if (value instanceof A.SassColor0)
86844 return new A.SassString0("color", false);
86845 if (value instanceof A.SassList0)
86846 return new A.SassString0("list", false);
86847 if (value instanceof A.SassMap0)
86848 return new A.SassString0("map", false);
86849 if (value.$eq(0, B.C__SassNull0))
86850 return new A.SassString0("null", false);
86851 if (value instanceof A.SassNumber0)
86852 return new A.SassString0("number", false);
86853 if (value instanceof A.SassFunction0)
86854 return new A.SassString0("function", false);
86855 if (value instanceof A.SassCalculation0)
86856 return new A.SassString0("calculation", false);
86857 return new A.SassString0("string", false);
86858 },
86859 $signature: 14
86860 };
86861 A.global_closure60.prototype = {
86862 call$1($arguments) {
86863 var t1, t2, t3, t4,
86864 argumentList = J.$index$asx($arguments, 0);
86865 if (argumentList instanceof A.SassArgumentList0) {
86866 t1 = type$.Value_2;
86867 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
86868 for (argumentList._argument_list$_wereKeywordsAccessed = true, t3 = argumentList._argument_list$_keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
86869 t4 = t3.get$current(t3);
86870 t2.$indexSet(0, new A.SassString0(t4.key, false), t4.value);
86871 }
86872 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
86873 } else
86874 throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
86875 },
86876 $signature: 37
86877 };
86878 A.local_closure1.prototype = {
86879 call$1($arguments) {
86880 return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
86881 },
86882 $signature: 14
86883 };
86884 A.local_closure2.prototype = {
86885 call$1($arguments) {
86886 var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
86887 return A.SassList$0(new A.MappedListIterable(t1, new A.local__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_kWM0, false);
86888 },
86889 $signature: 21
86890 };
86891 A.local__closure0.prototype = {
86892 call$1(argument) {
86893 if (argument instanceof A.Value0)
86894 return argument;
86895 return new A.SassString0(J.toString$0$(argument), false);
86896 },
86897 $signature: 493
86898 };
86899 A.MixinRule0.prototype = {
86900 get$hasContent() {
86901 var result, _this = this,
86902 value = _this._mixin_rule$__MixinRule_hasContent;
86903 if (value === $) {
86904 result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
86905 A._lateInitializeOnceCheck(_this._mixin_rule$__MixinRule_hasContent, "hasContent");
86906 _this._mixin_rule$__MixinRule_hasContent = result;
86907 value = result;
86908 }
86909 return value;
86910 },
86911 accept$1$1(visitor) {
86912 return visitor.visitMixinRule$1(this);
86913 },
86914 accept$1(visitor) {
86915 return this.accept$1$1(visitor, type$.dynamic);
86916 },
86917 toString$0(_) {
86918 var t1 = "@mixin " + this.name,
86919 t2 = this.$arguments;
86920 if (!(t2.$arguments.length === 0 && t2.restArgument == null))
86921 t1 += "(" + t2.toString$0(0) + ")";
86922 t2 = this.children;
86923 t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
86924 return t2.charCodeAt(0) == 0 ? t2 : t2;
86925 }
86926 };
86927 A._HasContentVisitor0.prototype = {
86928 visitContentRule$1(_) {
86929 return true;
86930 }
86931 };
86932 A.ExtendMode0.prototype = {
86933 toString$0(_) {
86934 return this.name;
86935 }
86936 };
86937 A.SupportsNegation0.prototype = {
86938 toString$0(_) {
86939 var t1 = this.condition;
86940 if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
86941 return "not (" + t1.toString$0(0) + ")";
86942 else
86943 return "not " + t1.toString$0(0);
86944 },
86945 $isAstNode0: 1,
86946 $isSupportsCondition0: 1,
86947 get$span(receiver) {
86948 return this.span;
86949 }
86950 };
86951 A.NoOpImporter.prototype = {
86952 canonicalize$1(_, url) {
86953 return null;
86954 },
86955 load$1(_, url) {
86956 return null;
86957 },
86958 toString$0(_) {
86959 return "(unknown)";
86960 }
86961 };
86962 A.NoSourceMapBuffer0.prototype = {
86963 get$length(_) {
86964 return this._no_source_map_buffer0$_buffer._contents.length;
86965 },
86966 forSpan$1$2(span, callback) {
86967 return callback.call$0();
86968 },
86969 forSpan$2(span, callback) {
86970 return this.forSpan$1$2(span, callback, type$.dynamic);
86971 },
86972 write$1(_, object) {
86973 this._no_source_map_buffer0$_buffer._contents += A.S(object);
86974 return null;
86975 },
86976 writeCharCode$1(charCode) {
86977 this._no_source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
86978 return null;
86979 },
86980 toString$0(_) {
86981 var t1 = this._no_source_map_buffer0$_buffer._contents;
86982 return t1.charCodeAt(0) == 0 ? t1 : t1;
86983 },
86984 buildSourceMap$1$prefix(prefix) {
86985 return A.throwExpression(A.UnsupportedError$(string$.NoSour));
86986 }
86987 };
86988 A.AstNode0.prototype = {};
86989 A._FakeAstNode0.prototype = {
86990 get$span(_) {
86991 return this._node2$_callback.call$0();
86992 },
86993 $isAstNode0: 1
86994 };
86995 A.CssNode0.prototype = {
86996 toString$0(_) {
86997 return A.serialize0(this, true, null, true, null, false, null, true).css;
86998 }
86999 };
87000 A.CssParentNode0.prototype = {};
87001 A.FileSystemException0.prototype = {
87002 toString$0(_) {
87003 var t1 = $.$get$context();
87004 return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
87005 },
87006 get$message(receiver) {
87007 return this.message;
87008 }
87009 };
87010 A.Stderr0.prototype = {
87011 writeln$1(object) {
87012 J.write$1$x(this._node0$_stderr, (object == null ? "" : object) + "\n");
87013 },
87014 writeln$0() {
87015 return this.writeln$1(null);
87016 }
87017 };
87018 A._readFile_closure0.prototype = {
87019 call$0() {
87020 return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
87021 },
87022 $signature: 82
87023 };
87024 A.fileExists_closure0.prototype = {
87025 call$0() {
87026 var error, systemError, exception,
87027 t1 = this.path;
87028 if (!J.existsSync$1$x(A.fs(), t1))
87029 return false;
87030 try {
87031 t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
87032 return t1;
87033 } catch (exception) {
87034 error = A.unwrapException(exception);
87035 systemError = type$.JsSystemError._as(error);
87036 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
87037 return false;
87038 throw exception;
87039 }
87040 },
87041 $signature: 26
87042 };
87043 A.dirExists_closure0.prototype = {
87044 call$0() {
87045 var error, systemError, exception,
87046 t1 = this.path;
87047 if (!J.existsSync$1$x(A.fs(), t1))
87048 return false;
87049 try {
87050 t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
87051 return t1;
87052 } catch (exception) {
87053 error = A.unwrapException(exception);
87054 systemError = type$.JsSystemError._as(error);
87055 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
87056 return false;
87057 throw exception;
87058 }
87059 },
87060 $signature: 26
87061 };
87062 A.listDir_closure0.prototype = {
87063 call$0() {
87064 var t1 = this.path;
87065 if (!this.recursive)
87066 return J.map$1$1$ax(J.readdirSync$1$x(A.fs(), t1), new A.listDir__closure1(t1), type$.String).where$1(0, new A.listDir__closure2());
87067 else
87068 return new A.listDir_closure_list0().call$1(t1);
87069 },
87070 $signature: 183
87071 };
87072 A.listDir__closure1.prototype = {
87073 call$1(child) {
87074 return A.join(this.path, A._asString(child), null);
87075 },
87076 $signature: 83
87077 };
87078 A.listDir__closure2.prototype = {
87079 call$1(child) {
87080 return !A.dirExists0(child);
87081 },
87082 $signature: 6
87083 };
87084 A.listDir_closure_list0.prototype = {
87085 call$1($parent) {
87086 return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
87087 },
87088 $signature: 144
87089 };
87090 A.listDir__list_closure0.prototype = {
87091 call$1(child) {
87092 var path = A.join(this.parent, A._asString(child), null);
87093 return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
87094 },
87095 $signature: 181
87096 };
87097 A.ModifiableCssNode0.prototype = {
87098 get$hasFollowingSibling() {
87099 var siblings, t1, i, t2,
87100 $parent = this._node1$_parent;
87101 if ($parent == null)
87102 return false;
87103 siblings = $parent.children;
87104 t1 = this._node1$_indexInParent;
87105 t1.toString;
87106 i = t1 + 1;
87107 t1 = siblings._collection$_source;
87108 t2 = J.getInterceptor$asx(t1);
87109 for (; i < t2.get$length(t1); ++i)
87110 if (!this._node1$_isInvisible$1(t2.elementAt$1(t1, i)))
87111 return true;
87112 return false;
87113 },
87114 _node1$_isInvisible$1(node) {
87115 if (type$.CssParentNode_2._is(node)) {
87116 if (type$.CssAtRule_2._is(node))
87117 return false;
87118 if (type$.CssStyleRule_2._is(node) && node.selector.value.get$isInvisible())
87119 return true;
87120 return J.every$1$ax(node.get$children(node), this.get$_node1$_isInvisible());
87121 } else
87122 return false;
87123 },
87124 get$isGroupEnd() {
87125 return this.isGroupEnd;
87126 }
87127 };
87128 A.ModifiableCssParentNode0.prototype = {
87129 get$isChildless() {
87130 return false;
87131 },
87132 addChild$1(child) {
87133 var t1;
87134 child._node1$_parent = this;
87135 t1 = this._node1$_children;
87136 child._node1$_indexInParent = t1.length;
87137 t1.push(child);
87138 },
87139 $isCssParentNode0: 1,
87140 get$children(receiver) {
87141 return this.children;
87142 }
87143 };
87144 A.main_closure0.prototype = {
87145 call$2(_, __) {
87146 },
87147 $signature: 494
87148 };
87149 A.main_closure1.prototype = {
87150 call$2(_, __) {
87151 },
87152 $signature: 495
87153 };
87154 A.NodeToDartLogger.prototype = {
87155 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
87156 var t1 = this._node,
87157 warn = t1 == null ? null : J.get$warn$x(t1);
87158 if (warn == null)
87159 this._withAscii$1(new A.NodeToDartLogger_warn_closure(this, message, span, trace, deprecation));
87160 else {
87161 t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
87162 warn.call$2(message, {deprecation: deprecation, span: t1, stack: J.toString$0$(trace)});
87163 }
87164 },
87165 warn$1($receiver, message) {
87166 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
87167 },
87168 warn$2$span($receiver, message, span) {
87169 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
87170 },
87171 warn$2$deprecation($receiver, message, deprecation) {
87172 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
87173 },
87174 warn$3$deprecation$span($receiver, message, deprecation, span) {
87175 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
87176 },
87177 warn$2$trace($receiver, message, trace) {
87178 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
87179 },
87180 debug$2(_, message, span) {
87181 var t1 = this._node,
87182 debug = t1 == null ? null : J.get$debug$x(t1);
87183 if (debug == null)
87184 this._withAscii$1(new A.NodeToDartLogger_debug_closure(this, message, span));
87185 else
87186 debug.call$2(message, {span: span});
87187 },
87188 _withAscii$1$1(callback) {
87189 var t1,
87190 wasAscii = $._glyphs === B.C_AsciiGlyphSet;
87191 $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
87192 try {
87193 t1 = callback.call$0();
87194 return t1;
87195 } finally {
87196 $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
87197 }
87198 },
87199 _withAscii$1(callback) {
87200 return this._withAscii$1$1(callback, type$.dynamic);
87201 }
87202 };
87203 A.NodeToDartLogger_warn_closure.prototype = {
87204 call$0() {
87205 var _this = this;
87206 _this.$this._fallback.warn$4$deprecation$span$trace(0, _this.message, _this.deprecation, _this.span, _this.trace);
87207 },
87208 $signature: 1
87209 };
87210 A.NodeToDartLogger_debug_closure.prototype = {
87211 call$0() {
87212 return this.$this._fallback.debug$2(0, this.message, this.span);
87213 },
87214 $signature: 0
87215 };
87216 A.NullExpression0.prototype = {
87217 accept$1$1(visitor) {
87218 return visitor.visitNullExpression$1(this);
87219 },
87220 accept$1(visitor) {
87221 return this.accept$1$1(visitor, type$.dynamic);
87222 },
87223 toString$0(_) {
87224 return "null";
87225 },
87226 $isExpression0: 1,
87227 $isAstNode0: 1,
87228 get$span(receiver) {
87229 return this.span;
87230 }
87231 };
87232 A.legacyNullClass_closure.prototype = {
87233 call$0() {
87234 var t1 = type$.JSClass,
87235 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
87236 jsClass.NULL = B.C__SassNull0;
87237 A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
87238 return jsClass;
87239 },
87240 $signature: 23
87241 };
87242 A.legacyNullClass__closure.prototype = {
87243 call$2(_, __) {
87244 throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
87245 },
87246 call$1(_) {
87247 return this.call$2(_, null);
87248 },
87249 "call*": "call$2",
87250 $requiredArgCount: 1,
87251 $defaultValues() {
87252 return [null];
87253 },
87254 $signature: 192
87255 };
87256 A._SassNull0.prototype = {
87257 get$isTruthy() {
87258 return false;
87259 },
87260 get$isBlank() {
87261 return true;
87262 },
87263 get$realNull() {
87264 return null;
87265 },
87266 accept$1$1(visitor) {
87267 if (visitor._serialize0$_inspect)
87268 visitor._serialize0$_buffer.write$1(0, "null");
87269 return null;
87270 },
87271 accept$1(visitor) {
87272 return this.accept$1$1(visitor, type$.dynamic);
87273 },
87274 unaryNot$0() {
87275 return B.SassBoolean_true0;
87276 }
87277 };
87278 A.NumberExpression0.prototype = {
87279 accept$1$1(visitor) {
87280 return visitor.visitNumberExpression$1(this);
87281 },
87282 accept$1(visitor) {
87283 return this.accept$1$1(visitor, type$.dynamic);
87284 },
87285 toString$0(_) {
87286 var t1 = A.S(this.value),
87287 t2 = this.unit;
87288 return t1 + (t2 == null ? "" : t2);
87289 },
87290 $isExpression0: 1,
87291 $isAstNode0: 1,
87292 get$span(receiver) {
87293 return this.span;
87294 }
87295 };
87296 A._NodeSassNumber.prototype = {};
87297 A.legacyNumberClass_closure.prototype = {
87298 call$4(thisArg, value, unit, dartValue) {
87299 var t1;
87300 if (dartValue == null) {
87301 value.toString;
87302 t1 = A._parseNumber(value, unit);
87303 } else
87304 t1 = dartValue;
87305 J.set$dartValue$x(thisArg, t1);
87306 },
87307 call$2(thisArg, value) {
87308 return this.call$4(thisArg, value, null, null);
87309 },
87310 call$3(thisArg, value, unit) {
87311 return this.call$4(thisArg, value, unit, null);
87312 },
87313 "call*": "call$4",
87314 $requiredArgCount: 2,
87315 $defaultValues() {
87316 return [null, null];
87317 },
87318 $signature: 496
87319 };
87320 A.legacyNumberClass_closure0.prototype = {
87321 call$1(thisArg) {
87322 return J.get$dartValue$x(thisArg)._number1$_value;
87323 },
87324 $signature: 497
87325 };
87326 A.legacyNumberClass_closure1.prototype = {
87327 call$2(thisArg, value) {
87328 var t1 = J.getInterceptor$x(thisArg),
87329 t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
87330 t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
87331 },
87332 $signature: 498
87333 };
87334 A.legacyNumberClass_closure2.prototype = {
87335 call$1(thisArg) {
87336 var t1 = J.getInterceptor$x(thisArg),
87337 t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*");
87338 return t2 + (J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/") + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
87339 },
87340 $signature: 499
87341 };
87342 A.legacyNumberClass_closure3.prototype = {
87343 call$2(thisArg, unit) {
87344 var t1 = J.getInterceptor$x(thisArg);
87345 t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
87346 },
87347 $signature: 500
87348 };
87349 A._parseNumber_closure.prototype = {
87350 call$1(unit) {
87351 return unit.length === 0;
87352 },
87353 $signature: 6
87354 };
87355 A._parseNumber_closure0.prototype = {
87356 call$1(unit) {
87357 return unit.length === 0;
87358 },
87359 $signature: 6
87360 };
87361 A.numberClass_closure.prototype = {
87362 call$0() {
87363 var t1 = type$.JSClass,
87364 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
87365 t2 = type$.String,
87366 t3 = type$.Function;
87367 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));
87368 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));
87369 A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(new A.UnitlessSassNumber0(0, null).constructor))).constructor), jsClass);
87370 return jsClass;
87371 },
87372 $signature: 23
87373 };
87374 A.numberClass__closure.prototype = {
87375 call$3($self, value, unitOrOptions) {
87376 var t1, t2, _null = null;
87377 if (typeof unitOrOptions == "string")
87378 return new A.SingleUnitSassNumber0(unitOrOptions, value, _null);
87379 type$.nullable__ConstructorOptions_2._as(unitOrOptions);
87380 t1 = unitOrOptions == null;
87381 if (t1)
87382 t2 = _null;
87383 else {
87384 t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
87385 t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
87386 }
87387 if (t1)
87388 t1 = _null;
87389 else {
87390 t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
87391 t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
87392 }
87393 return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
87394 },
87395 call$2($self, value) {
87396 return this.call$3($self, value, null);
87397 },
87398 "call*": "call$3",
87399 $requiredArgCount: 2,
87400 $defaultValues() {
87401 return [null];
87402 },
87403 $signature: 501
87404 };
87405 A.numberClass__closure0.prototype = {
87406 call$1($self) {
87407 return $self._number1$_value;
87408 },
87409 $signature: 502
87410 };
87411 A.numberClass__closure1.prototype = {
87412 call$1($self) {
87413 return A.fuzzyIsInt0($self._number1$_value);
87414 },
87415 $signature: 237
87416 };
87417 A.numberClass__closure2.prototype = {
87418 call$1($self) {
87419 var t1 = $self._number1$_value;
87420 return A.fuzzyIsInt0(t1) ? B.JSNumber_methods.round$0(t1) : null;
87421 },
87422 $signature: 504
87423 };
87424 A.numberClass__closure3.prototype = {
87425 call$1($self) {
87426 return new self.immutable.List($self.get$numeratorUnits($self));
87427 },
87428 $signature: 238
87429 };
87430 A.numberClass__closure4.prototype = {
87431 call$1($self) {
87432 return new self.immutable.List($self.get$denominatorUnits($self));
87433 },
87434 $signature: 238
87435 };
87436 A.numberClass__closure5.prototype = {
87437 call$1($self) {
87438 return $self.get$hasUnits();
87439 },
87440 $signature: 237
87441 };
87442 A.numberClass__closure6.prototype = {
87443 call$2($self, $name) {
87444 return $self.assertInt$1($name);
87445 },
87446 call$1($self) {
87447 return this.call$2($self, null);
87448 },
87449 "call*": "call$2",
87450 $requiredArgCount: 1,
87451 $defaultValues() {
87452 return [null];
87453 },
87454 $signature: 506
87455 };
87456 A.numberClass__closure7.prototype = {
87457 call$4($self, min, max, $name) {
87458 return $self.valueInRange$3(min, max, $name);
87459 },
87460 call$3($self, min, max) {
87461 return this.call$4($self, min, max, null);
87462 },
87463 "call*": "call$4",
87464 $requiredArgCount: 3,
87465 $defaultValues() {
87466 return [null];
87467 },
87468 $signature: 507
87469 };
87470 A.numberClass__closure8.prototype = {
87471 call$2($self, $name) {
87472 return $self.assertNoUnits$1($name);
87473 },
87474 call$1($self) {
87475 return this.call$2($self, null);
87476 },
87477 "call*": "call$2",
87478 $requiredArgCount: 1,
87479 $defaultValues() {
87480 return [null];
87481 },
87482 $signature: 508
87483 };
87484 A.numberClass__closure9.prototype = {
87485 call$3($self, unit, $name) {
87486 return $self.assertUnit$2(unit, $name);
87487 },
87488 call$2($self, unit) {
87489 return this.call$3($self, unit, null);
87490 },
87491 "call*": "call$3",
87492 $requiredArgCount: 2,
87493 $defaultValues() {
87494 return [null];
87495 },
87496 $signature: 509
87497 };
87498 A.numberClass__closure10.prototype = {
87499 call$2($self, unit) {
87500 return $self.hasUnit$1(unit);
87501 },
87502 $signature: 239
87503 };
87504 A.numberClass__closure11.prototype = {
87505 call$2($self, unit) {
87506 return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
87507 },
87508 $signature: 239
87509 };
87510 A.numberClass__closure12.prototype = {
87511 call$4($self, numeratorUnits, denominatorUnits, $name) {
87512 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87513 t2 = type$.String;
87514 t1 = J.cast$1$0$ax(t1, t2);
87515 t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
87516 return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
87517 },
87518 call$3($self, numeratorUnits, denominatorUnits) {
87519 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87520 },
87521 "call*": "call$4",
87522 $requiredArgCount: 3,
87523 $defaultValues() {
87524 return [null];
87525 },
87526 $signature: 240
87527 };
87528 A.numberClass__closure13.prototype = {
87529 call$4($self, other, $name, otherName) {
87530 return $self.convertToMatch$3(other, $name, otherName);
87531 },
87532 call$2($self, other) {
87533 return this.call$4($self, other, null, null);
87534 },
87535 call$3($self, other, $name) {
87536 return this.call$4($self, other, $name, null);
87537 },
87538 "call*": "call$4",
87539 $requiredArgCount: 2,
87540 $defaultValues() {
87541 return [null, null];
87542 },
87543 $signature: 241
87544 };
87545 A.numberClass__closure14.prototype = {
87546 call$4($self, numeratorUnits, denominatorUnits, $name) {
87547 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87548 t2 = type$.String;
87549 t1 = J.cast$1$0$ax(t1, t2);
87550 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);
87551 },
87552 call$3($self, numeratorUnits, denominatorUnits) {
87553 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87554 },
87555 "call*": "call$4",
87556 $requiredArgCount: 3,
87557 $defaultValues() {
87558 return [null];
87559 },
87560 $signature: 242
87561 };
87562 A.numberClass__closure15.prototype = {
87563 call$4($self, other, $name, otherName) {
87564 return $self.convertValueToMatch$3(other, $name, otherName);
87565 },
87566 call$2($self, other) {
87567 return this.call$4($self, other, null, null);
87568 },
87569 call$3($self, other, $name) {
87570 return this.call$4($self, other, $name, null);
87571 },
87572 "call*": "call$4",
87573 $requiredArgCount: 2,
87574 $defaultValues() {
87575 return [null, null];
87576 },
87577 $signature: 243
87578 };
87579 A.numberClass__closure16.prototype = {
87580 call$4($self, numeratorUnits, denominatorUnits, $name) {
87581 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87582 t2 = type$.String;
87583 t1 = J.cast$1$0$ax(t1, t2);
87584 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);
87585 },
87586 call$3($self, numeratorUnits, denominatorUnits) {
87587 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87588 },
87589 "call*": "call$4",
87590 $requiredArgCount: 3,
87591 $defaultValues() {
87592 return [null];
87593 },
87594 $signature: 240
87595 };
87596 A.numberClass__closure17.prototype = {
87597 call$4($self, other, $name, otherName) {
87598 return $self.coerceToMatch$3(other, $name, otherName);
87599 },
87600 call$2($self, other) {
87601 return this.call$4($self, other, null, null);
87602 },
87603 call$3($self, other, $name) {
87604 return this.call$4($self, other, $name, null);
87605 },
87606 "call*": "call$4",
87607 $requiredArgCount: 2,
87608 $defaultValues() {
87609 return [null, null];
87610 },
87611 $signature: 241
87612 };
87613 A.numberClass__closure18.prototype = {
87614 call$4($self, numeratorUnits, denominatorUnits, $name) {
87615 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87616 t2 = type$.String;
87617 t1 = J.cast$1$0$ax(t1, t2);
87618 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);
87619 },
87620 call$3($self, numeratorUnits, denominatorUnits) {
87621 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87622 },
87623 "call*": "call$4",
87624 $requiredArgCount: 3,
87625 $defaultValues() {
87626 return [null];
87627 },
87628 $signature: 242
87629 };
87630 A.numberClass__closure19.prototype = {
87631 call$4($self, other, $name, otherName) {
87632 return $self.coerceValueToMatch$3(other, $name, otherName);
87633 },
87634 call$2($self, other) {
87635 return this.call$4($self, other, null, null);
87636 },
87637 call$3($self, other, $name) {
87638 return this.call$4($self, other, $name, null);
87639 },
87640 "call*": "call$4",
87641 $requiredArgCount: 2,
87642 $defaultValues() {
87643 return [null, null];
87644 },
87645 $signature: 243
87646 };
87647 A._ConstructorOptions0.prototype = {};
87648 A.SassNumber0.prototype = {
87649 get$unitString() {
87650 var _this = this;
87651 return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
87652 },
87653 accept$1$1(visitor) {
87654 return visitor.visitNumber$1(this);
87655 },
87656 accept$1(visitor) {
87657 return this.accept$1$1(visitor, type$.dynamic);
87658 },
87659 withoutSlash$0() {
87660 var _this = this;
87661 return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
87662 },
87663 assertNumber$1($name) {
87664 return this;
87665 },
87666 assertNumber$0() {
87667 return this.assertNumber$1(null);
87668 },
87669 assertInt$1($name) {
87670 var t1 = this._number1$_value,
87671 integer = A.fuzzyIsInt0(t1) ? B.JSNumber_methods.round$0(t1) : null;
87672 if (integer != null)
87673 return integer;
87674 throw A.wrapException(this._number1$_exception$2(this.toString$0(0) + " is not an int.", $name));
87675 },
87676 assertInt$0() {
87677 return this.assertInt$1(null);
87678 },
87679 valueInRange$3(min, max, $name) {
87680 var _this = this,
87681 result = A.fuzzyCheckRange0(_this._number1$_value, min, max);
87682 if (result != null)
87683 return result;
87684 throw A.wrapException(_this._number1$_exception$2("Expected " + _this.toString$0(0) + " to be within " + A.S(min) + _this.get$unitString() + " and " + A.S(max) + _this.get$unitString() + ".", $name));
87685 },
87686 hasCompatibleUnits$1(other) {
87687 var _this = this;
87688 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
87689 return false;
87690 if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
87691 return false;
87692 return _this.isComparableTo$1(other);
87693 },
87694 assertUnit$2(unit, $name) {
87695 if (this.hasUnit$1(unit))
87696 return;
87697 throw A.wrapException(this._number1$_exception$2("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
87698 },
87699 assertNoUnits$1($name) {
87700 if (!this.get$hasUnits())
87701 return;
87702 throw A.wrapException(this._number1$_exception$2("Expected " + this.toString$0(0) + " to have no units.", $name));
87703 },
87704 convertToMatch$3(other, $name, otherName) {
87705 var t1 = this.convertValueToMatch$3(other, $name, otherName),
87706 t2 = other.get$numeratorUnits(other);
87707 return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
87708 },
87709 convertValueToMatch$3(other, $name, otherName) {
87710 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
87711 },
87712 coerce$3(newNumerators, newDenominators, $name) {
87713 return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
87714 },
87715 coerce$2(newNumerators, newDenominators) {
87716 return this.coerce$3(newNumerators, newDenominators, null);
87717 },
87718 coerceValue$3(newNumerators, newDenominators, $name) {
87719 return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
87720 },
87721 coerceValueToUnit$2(unit, $name) {
87722 var t1 = type$.JSArray_String;
87723 return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
87724 },
87725 coerceToMatch$3(other, $name, otherName) {
87726 var t1 = this.coerceValueToMatch$3(other, $name, otherName),
87727 t2 = other.get$numeratorUnits(other);
87728 return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
87729 },
87730 coerceValueToMatch$3(other, $name, otherName) {
87731 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
87732 },
87733 coerceValueToMatch$1(other) {
87734 return this.coerceValueToMatch$3(other, null, null);
87735 },
87736 _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
87737 var t1, otherHasUnits, t2, _compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
87738 if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
87739 return _this._number1$_value;
87740 t1 = J.getInterceptor$asx(newNumerators);
87741 otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
87742 if (coerceUnitless)
87743 t2 = !_this.get$hasUnits() || !otherHasUnits;
87744 else
87745 t2 = false;
87746 if (t2)
87747 return _this._number1$_value;
87748 _compatibilityException = new A.SassNumber__coerceOrConvertValue__compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
87749 _box_0.value = _this._number1$_value;
87750 t2 = _this.get$numeratorUnits(_this);
87751 oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
87752 for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
87753 A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(_compatibilityException));
87754 t1 = _this.get$denominatorUnits(_this);
87755 oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
87756 for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
87757 A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(_compatibilityException));
87758 if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
87759 throw A.wrapException(_compatibilityException.call$0());
87760 return _box_0.value;
87761 },
87762 _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
87763 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
87764 },
87765 isComparableTo$1(other) {
87766 var exception;
87767 if (!this.get$hasUnits() || !other.get$hasUnits())
87768 return true;
87769 try {
87770 this.greaterThan$1(other);
87771 return true;
87772 } catch (exception) {
87773 if (A.unwrapException(exception) instanceof A.SassScriptException0)
87774 return false;
87775 else
87776 throw exception;
87777 }
87778 },
87779 greaterThan$1(other) {
87780 if (other instanceof A.SassNumber0)
87781 return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87782 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
87783 },
87784 greaterThanOrEquals$1(other) {
87785 if (other instanceof A.SassNumber0)
87786 return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87787 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
87788 },
87789 lessThan$1(other) {
87790 if (other instanceof A.SassNumber0)
87791 return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87792 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
87793 },
87794 lessThanOrEquals$1(other) {
87795 if (other instanceof A.SassNumber0)
87796 return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87797 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
87798 },
87799 modulo$1(other) {
87800 var _this = this;
87801 if (other instanceof A.SassNumber0)
87802 return _this.withValue$1(_this._number1$_coerceUnits$2(other, _this.get$moduloLikeSass()));
87803 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " % " + other.toString$0(0) + '".'));
87804 },
87805 moduloLikeSass$2(num1, num2) {
87806 var result;
87807 if (num2 > 0)
87808 return B.JSNumber_methods.$mod(num1, num2);
87809 if (num2 === 0)
87810 return 0 / 0;
87811 result = B.JSNumber_methods.$mod(num1, num2);
87812 return result === 0 ? 0 : result + num2;
87813 },
87814 plus$1(other) {
87815 var _this = this;
87816 if (other instanceof A.SassNumber0)
87817 return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
87818 if (!(other instanceof A.SassColor0))
87819 return _this.super$Value$plus0(other);
87820 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".'));
87821 },
87822 minus$1(other) {
87823 var _this = this;
87824 if (other instanceof A.SassNumber0)
87825 return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
87826 if (!(other instanceof A.SassColor0))
87827 return _this.super$Value$minus0(other);
87828 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".'));
87829 },
87830 times$1(other) {
87831 var _this = this;
87832 if (other instanceof A.SassNumber0) {
87833 if (!other.get$hasUnits())
87834 return _this.withValue$1(_this._number1$_value * other._number1$_value);
87835 return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
87836 }
87837 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".'));
87838 },
87839 dividedBy$1(other) {
87840 var _this = this;
87841 if (other instanceof A.SassNumber0) {
87842 if (!other.get$hasUnits())
87843 return _this.withValue$1(_this._number1$_value / other._number1$_value);
87844 return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
87845 }
87846 return _this.super$Value$dividedBy0(other);
87847 },
87848 unaryPlus$0() {
87849 return this;
87850 },
87851 _number1$_coerceUnits$1$2(other, operation) {
87852 var t1, exception;
87853 try {
87854 t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
87855 return t1;
87856 } catch (exception) {
87857 if (A.unwrapException(exception) instanceof A.SassScriptException0) {
87858 this.coerceValueToMatch$1(other);
87859 throw exception;
87860 } else
87861 throw exception;
87862 }
87863 },
87864 _number1$_coerceUnits$2(other, operation) {
87865 return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
87866 },
87867 multiplyUnits$3(value, otherNumerators, otherDenominators) {
87868 var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
87869 _box_0.value = value;
87870 if (_this.get$numeratorUnits(_this).length === 0) {
87871 if (otherDenominators.length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
87872 return A.SassNumber_SassNumber$withUnits0(value, _this.get$denominatorUnits(_this), otherNumerators);
87873 else if (_this.get$denominatorUnits(_this).length === 0)
87874 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, otherNumerators);
87875 } else if (otherNumerators.length === 0)
87876 if (otherDenominators.length === 0)
87877 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
87878 else if (_this.get$denominatorUnits(_this).length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
87879 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
87880 newNumerators = A._setArrayType([], type$.JSArray_String);
87881 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
87882 for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
87883 numerator = t1[_i];
87884 A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
87885 }
87886 t1 = _this.get$denominatorUnits(_this);
87887 mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
87888 for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
87889 numerator = otherNumerators[_i];
87890 A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
87891 }
87892 t1 = _box_0.value;
87893 B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
87894 return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
87895 },
87896 _number1$_areAnyConvertible$2(units1, units2) {
87897 return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
87898 },
87899 _number1$_unitString$2(numerators, denominators) {
87900 var t2,
87901 t1 = J.getInterceptor$asx(numerators);
87902 if (t1.get$isEmpty(numerators)) {
87903 t1 = J.getInterceptor$asx(denominators);
87904 if (t1.get$isEmpty(denominators))
87905 return "no units";
87906 if (t1.get$length(denominators) === 1)
87907 return J.$add$ansx(t1.get$single(denominators), "^-1");
87908 return "(" + t1.join$1(denominators, "*") + ")^-1";
87909 }
87910 t2 = J.getInterceptor$asx(denominators);
87911 if (t2.get$isEmpty(denominators))
87912 return t1.join$1(numerators, "*");
87913 return t1.join$1(numerators, "*") + "/" + t2.join$1(denominators, "*");
87914 },
87915 $eq(_, other) {
87916 var _this = this;
87917 if (other == null)
87918 return false;
87919 if (other instanceof A.SassNumber0) {
87920 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
87921 return false;
87922 if (!_this.get$hasUnits())
87923 return Math.abs(_this._number1$_value - other._number1$_value) < $.$get$epsilon0();
87924 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))))
87925 return false;
87926 return Math.abs(_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))) < $.$get$epsilon0();
87927 } else
87928 return false;
87929 },
87930 get$hashCode(_) {
87931 var _this = this,
87932 t1 = _this.hashCache;
87933 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;
87934 },
87935 _number1$_canonicalizeUnitList$1(units) {
87936 var type,
87937 t1 = units.length;
87938 if (t1 === 0)
87939 return units;
87940 if (t1 === 1) {
87941 type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
87942 if (type == null)
87943 t1 = units;
87944 else {
87945 t1 = B.Map_U8AHF.$index(0, type);
87946 t1.toString;
87947 t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
87948 }
87949 return t1;
87950 }
87951 t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
87952 t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
87953 B.JSArray_methods.sort$0(t1);
87954 return t1;
87955 },
87956 _number1$_canonicalMultiplier$1(units) {
87957 return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
87958 },
87959 canonicalMultiplierForUnit$1(unit) {
87960 var t1,
87961 innerMap = B.Map_K2BWj.$index(0, unit);
87962 if (innerMap == null)
87963 t1 = 1;
87964 else {
87965 t1 = innerMap.get$values(innerMap);
87966 t1 = 1 / t1.get$first(t1);
87967 }
87968 return t1;
87969 },
87970 _number1$_exception$2(message, $name) {
87971 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
87972 }
87973 };
87974 A.SassNumber__coerceOrConvertValue__compatibilityException0.prototype = {
87975 call$0() {
87976 var t2, t3, message, t4, type, unit, _this = this,
87977 t1 = _this.other;
87978 if (t1 != null) {
87979 t2 = _this.$this;
87980 t3 = t2.toString$0(0) + " and";
87981 message = new A.StringBuffer(t3);
87982 t4 = _this.otherName;
87983 if (t4 != null)
87984 t3 = message._contents = t3 + (" $" + t4 + ":");
87985 t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
87986 message._contents = t1;
87987 if (!t2.get$hasUnits() || !_this.otherHasUnits)
87988 message._contents = t1 + " (one has units and the other doesn't)";
87989 t1 = message.toString$0(0) + ".";
87990 t2 = _this.name;
87991 return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
87992 } else if (!_this.otherHasUnits) {
87993 t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
87994 t2 = _this.name;
87995 return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
87996 } else {
87997 t1 = _this.newNumerators;
87998 t2 = J.getInterceptor$asx(t1);
87999 if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
88000 type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
88001 if (type != null) {
88002 t1 = "Expected " + _this.$this.toString$0(0) + " to have ";
88003 t1 = t1 + (B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), B.JSString_methods._codeUnitAt$1(type, 0)) ? "an " + type : "a " + type) + " unit (";
88004 t2 = B.Map_U8AHF.$index(0, type);
88005 t2.toString;
88006 t2 = t1 + B.JSArray_methods.join$1(t2, ", ") + ").";
88007 t1 = _this.name;
88008 return new A.SassScriptException0(t1 == null ? t2 : "$" + t1 + ": " + t2);
88009 }
88010 }
88011 t3 = _this.newDenominators;
88012 unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
88013 t2 = _this.$this;
88014 t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
88015 t1 = _this.name;
88016 return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
88017 }
88018 },
88019 $signature: 515
88020 };
88021 A.SassNumber__coerceOrConvertValue_closure3.prototype = {
88022 call$1(oldNumerator) {
88023 var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
88024 if (factor == null)
88025 return false;
88026 this._box_0.value *= factor;
88027 return true;
88028 },
88029 $signature: 6
88030 };
88031 A.SassNumber__coerceOrConvertValue_closure4.prototype = {
88032 call$0() {
88033 return A.throwExpression(this._compatibilityException.call$0());
88034 },
88035 $signature: 0
88036 };
88037 A.SassNumber__coerceOrConvertValue_closure5.prototype = {
88038 call$1(oldDenominator) {
88039 var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
88040 if (factor == null)
88041 return false;
88042 this._box_0.value /= factor;
88043 return true;
88044 },
88045 $signature: 6
88046 };
88047 A.SassNumber__coerceOrConvertValue_closure6.prototype = {
88048 call$0() {
88049 return A.throwExpression(this._compatibilityException.call$0());
88050 },
88051 $signature: 0
88052 };
88053 A.SassNumber_plus_closure0.prototype = {
88054 call$2(num1, num2) {
88055 return num1 + num2;
88056 },
88057 $signature: 50
88058 };
88059 A.SassNumber_minus_closure0.prototype = {
88060 call$2(num1, num2) {
88061 return num1 - num2;
88062 },
88063 $signature: 50
88064 };
88065 A.SassNumber_multiplyUnits_closure3.prototype = {
88066 call$1(denominator) {
88067 var factor = A.conversionFactor0(this.numerator, denominator);
88068 if (factor == null)
88069 return false;
88070 this._box_0.value /= factor;
88071 return true;
88072 },
88073 $signature: 6
88074 };
88075 A.SassNumber_multiplyUnits_closure4.prototype = {
88076 call$0() {
88077 return this.newNumerators.push(this.numerator);
88078 },
88079 $signature: 0
88080 };
88081 A.SassNumber_multiplyUnits_closure5.prototype = {
88082 call$1(denominator) {
88083 var factor = A.conversionFactor0(this.numerator, denominator);
88084 if (factor == null)
88085 return false;
88086 this._box_0.value /= factor;
88087 return true;
88088 },
88089 $signature: 6
88090 };
88091 A.SassNumber_multiplyUnits_closure6.prototype = {
88092 call$0() {
88093 return this.newNumerators.push(this.numerator);
88094 },
88095 $signature: 0
88096 };
88097 A.SassNumber__areAnyConvertible_closure0.prototype = {
88098 call$1(unit1) {
88099 var innerMap = B.Map_K2BWj.$index(0, unit1);
88100 if (innerMap == null)
88101 return B.JSArray_methods.contains$1(this.units2, unit1);
88102 return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
88103 },
88104 $signature: 6
88105 };
88106 A.SassNumber__canonicalizeUnitList_closure0.prototype = {
88107 call$1(unit) {
88108 var t1,
88109 type = $.$get$_typesByUnit0().$index(0, unit);
88110 if (type == null)
88111 t1 = unit;
88112 else {
88113 t1 = B.Map_U8AHF.$index(0, type);
88114 t1.toString;
88115 t1 = B.JSArray_methods.get$first(t1);
88116 }
88117 return t1;
88118 },
88119 $signature: 5
88120 };
88121 A.SassNumber__canonicalMultiplier_closure0.prototype = {
88122 call$2(multiplier, unit) {
88123 return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
88124 },
88125 $signature: 168
88126 };
88127 A.SupportsOperation0.prototype = {
88128 toString$0(_) {
88129 var _this = this;
88130 return _this._operation0$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation0$_parenthesize$1(_this.right);
88131 },
88132 _operation0$_parenthesize$1(condition) {
88133 var t1;
88134 if (!(condition instanceof A.SupportsNegation0))
88135 t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
88136 else
88137 t1 = true;
88138 return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
88139 },
88140 $isAstNode0: 1,
88141 $isSupportsCondition0: 1,
88142 get$span(receiver) {
88143 return this.span;
88144 }
88145 };
88146 A.ParentSelector0.prototype = {
88147 accept$1$1(visitor) {
88148 var t2,
88149 t1 = visitor._serialize0$_buffer;
88150 t1.writeCharCode$1(38);
88151 t2 = this.suffix;
88152 if (t2 != null)
88153 t1.write$1(0, t2);
88154 return null;
88155 },
88156 accept$1(visitor) {
88157 return this.accept$1$1(visitor, type$.dynamic);
88158 },
88159 unify$1(compound) {
88160 return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
88161 }
88162 };
88163 A.ParentStatement0.prototype = {$isAstNode0: 1, $isStatement0: 1};
88164 A.ParentStatement_closure0.prototype = {
88165 call$1(child) {
88166 var t1;
88167 if (!(child instanceof A.VariableDeclaration0))
88168 if (!(child instanceof A.FunctionRule0))
88169 if (!(child instanceof A.MixinRule0))
88170 t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
88171 else
88172 t1 = true;
88173 else
88174 t1 = true;
88175 else
88176 t1 = true;
88177 return t1;
88178 },
88179 $signature: 227
88180 };
88181 A.ParentStatement__closure0.prototype = {
88182 call$1($import) {
88183 return $import instanceof A.DynamicImport0;
88184 },
88185 $signature: 228
88186 };
88187 A.ParenthesizedExpression0.prototype = {
88188 accept$1$1(visitor) {
88189 return visitor.visitParenthesizedExpression$1(this);
88190 },
88191 accept$1(visitor) {
88192 return this.accept$1$1(visitor, type$.dynamic);
88193 },
88194 toString$0(_) {
88195 return "(" + this.expression.toString$0(0) + ")";
88196 },
88197 $isExpression0: 1,
88198 $isAstNode0: 1,
88199 get$span(receiver) {
88200 return this.span;
88201 }
88202 };
88203 A.Parser1.prototype = {
88204 _parser0$_parseIdentifier$0() {
88205 return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
88206 },
88207 whitespace$0() {
88208 do
88209 this.whitespaceWithoutComments$0();
88210 while (this.scanComment$0());
88211 },
88212 whitespaceWithoutComments$0() {
88213 var t3,
88214 t1 = this.scanner,
88215 t2 = t1.string.length;
88216 while (true) {
88217 if (t1._string_scanner$_position !== t2) {
88218 t3 = t1.peekChar$0();
88219 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
88220 } else
88221 t3 = false;
88222 if (!t3)
88223 break;
88224 t1.readChar$0();
88225 }
88226 },
88227 spaces$0() {
88228 var t3,
88229 t1 = this.scanner,
88230 t2 = t1.string.length;
88231 while (true) {
88232 if (t1._string_scanner$_position !== t2) {
88233 t3 = t1.peekChar$0();
88234 t3 = t3 === 32 || t3 === 9;
88235 } else
88236 t3 = false;
88237 if (!t3)
88238 break;
88239 t1.readChar$0();
88240 }
88241 },
88242 scanComment$0() {
88243 var next,
88244 t1 = this.scanner;
88245 if (t1.peekChar$0() !== 47)
88246 return false;
88247 next = t1.peekChar$1(1);
88248 if (next === 47) {
88249 this.silentComment$0();
88250 return true;
88251 } else if (next === 42) {
88252 this.loudComment$0();
88253 return true;
88254 } else
88255 return false;
88256 },
88257 silentComment$0() {
88258 var t2, t3,
88259 t1 = this.scanner;
88260 t1.expect$1("//");
88261 t2 = t1.string.length;
88262 while (true) {
88263 if (t1._string_scanner$_position !== t2) {
88264 t3 = t1.peekChar$0();
88265 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
88266 } else
88267 t3 = false;
88268 if (!t3)
88269 break;
88270 t1.readChar$0();
88271 }
88272 },
88273 loudComment$0() {
88274 var next,
88275 t1 = this.scanner;
88276 t1.expect$1("/*");
88277 for (; true;) {
88278 if (t1.readChar$0() !== 42)
88279 continue;
88280 do
88281 next = t1.readChar$0();
88282 while (next === 42);
88283 if (next === 47)
88284 break;
88285 }
88286 },
88287 identifier$2$normalize$unit(normalize, unit) {
88288 var t2, first, _this = this,
88289 _s20_ = "Expected identifier.",
88290 text = new A.StringBuffer(""),
88291 t1 = _this.scanner;
88292 if (t1.scanChar$1(45)) {
88293 t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
88294 if (t1.scanChar$1(45)) {
88295 text._contents = t2 + A.Primitives_stringFromCharCode(45);
88296 _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
88297 t1 = text._contents;
88298 return t1.charCodeAt(0) == 0 ? t1 : t1;
88299 }
88300 } else
88301 t2 = "";
88302 first = t1.peekChar$0();
88303 if (first == null)
88304 t1.error$1(0, _s20_);
88305 else if (normalize && first === 95) {
88306 t1.readChar$0();
88307 text._contents = t2 + A.Primitives_stringFromCharCode(45);
88308 } else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
88309 text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
88310 else if (first === 92)
88311 text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
88312 else
88313 t1.error$1(0, _s20_);
88314 _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
88315 t1 = text._contents;
88316 return t1.charCodeAt(0) == 0 ? t1 : t1;
88317 },
88318 identifier$0() {
88319 return this.identifier$2$normalize$unit(false, false);
88320 },
88321 identifier$1$normalize(normalize) {
88322 return this.identifier$2$normalize$unit(normalize, false);
88323 },
88324 identifier$1$unit(unit) {
88325 return this.identifier$2$normalize$unit(false, unit);
88326 },
88327 _parser0$_identifierBody$3$normalize$unit(text, normalize, unit) {
88328 var t1, next, second, t2;
88329 for (t1 = this.scanner; true;) {
88330 next = t1.peekChar$0();
88331 if (next == null)
88332 break;
88333 else if (unit && next === 45) {
88334 second = t1.peekChar$1(1);
88335 if (second != null)
88336 if (second !== 46)
88337 t2 = second >= 48 && second <= 57;
88338 else
88339 t2 = true;
88340 else
88341 t2 = false;
88342 if (t2)
88343 break;
88344 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88345 } else if (normalize && next === 95) {
88346 t1.readChar$0();
88347 text._contents += A.Primitives_stringFromCharCode(45);
88348 } else {
88349 if (next !== 95) {
88350 if (!(next >= 97 && next <= 122))
88351 t2 = next >= 65 && next <= 90;
88352 else
88353 t2 = true;
88354 t2 = t2 || next >= 128;
88355 } else
88356 t2 = true;
88357 if (!t2) {
88358 t2 = next >= 48 && next <= 57;
88359 t2 = t2 || next === 45;
88360 } else
88361 t2 = true;
88362 if (t2)
88363 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88364 else if (next === 92)
88365 text._contents += A.S(this.escape$0());
88366 else
88367 break;
88368 }
88369 }
88370 },
88371 _parser0$_identifierBody$1(text) {
88372 return this._parser0$_identifierBody$3$normalize$unit(text, false, false);
88373 },
88374 string$0() {
88375 var buffer, next, t2,
88376 t1 = this.scanner,
88377 quote = t1.readChar$0();
88378 if (quote !== 39 && quote !== 34)
88379 t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
88380 buffer = new A.StringBuffer("");
88381 for (; true;) {
88382 next = t1.peekChar$0();
88383 if (next === quote) {
88384 t1.readChar$0();
88385 break;
88386 } else if (next == null || next === 10 || next === 13 || next === 12)
88387 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
88388 else if (next === 92) {
88389 t2 = t1.peekChar$1(1);
88390 if (t2 === 10 || t2 === 13 || t2 === 12) {
88391 t1.readChar$0();
88392 t1.readChar$0();
88393 } else
88394 buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
88395 } else
88396 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88397 }
88398 t1 = buffer._contents;
88399 return t1.charCodeAt(0) == 0 ? t1 : t1;
88400 },
88401 naturalNumber$0() {
88402 var number, t2,
88403 t1 = this.scanner,
88404 first = t1.readChar$0();
88405 if (!A.isDigit0(first))
88406 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
88407 number = first - 48;
88408 while (true) {
88409 t2 = t1.peekChar$0();
88410 if (!(t2 != null && t2 >= 48 && t2 <= 57))
88411 break;
88412 number = number * 10 + (t1.readChar$0() - 48);
88413 }
88414 return number;
88415 },
88416 declarationValue$1$allowEmpty(allowEmpty) {
88417 var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
88418 buffer = new A.StringBuffer(""),
88419 brackets = A._setArrayType([], type$.JSArray_int);
88420 $label0$1:
88421 for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
88422 next = t1.peekChar$0();
88423 switch (next) {
88424 case 92:
88425 buffer._contents += A.S(_this.escape$1$identifierStart(true));
88426 wroteNewline = false;
88427 break;
88428 case 34:
88429 case 39:
88430 start = t1._string_scanner$_position;
88431 t2.call$0();
88432 end = t1._string_scanner$_position;
88433 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
88434 wroteNewline = false;
88435 break;
88436 case 47:
88437 if (t1.peekChar$1(1) === 42) {
88438 t3 = _this.get$loudComment();
88439 start = t1._string_scanner$_position;
88440 t3.call$0();
88441 end = t1._string_scanner$_position;
88442 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
88443 } else
88444 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88445 wroteNewline = false;
88446 break;
88447 case 32:
88448 case 9:
88449 if (!wroteNewline) {
88450 t3 = t1.peekChar$1(1);
88451 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
88452 } else
88453 t3 = true;
88454 if (t3)
88455 buffer._contents += A.Primitives_stringFromCharCode(32);
88456 t1.readChar$0();
88457 break;
88458 case 10:
88459 case 13:
88460 case 12:
88461 t3 = t1.peekChar$1(-1);
88462 if (!(t3 === 10 || t3 === 13 || t3 === 12))
88463 buffer._contents += "\n";
88464 t1.readChar$0();
88465 wroteNewline = true;
88466 break;
88467 case 40:
88468 case 123:
88469 case 91:
88470 next.toString;
88471 buffer._contents += A.Primitives_stringFromCharCode(next);
88472 brackets.push(A.opposite0(t1.readChar$0()));
88473 wroteNewline = false;
88474 break;
88475 case 41:
88476 case 125:
88477 case 93:
88478 if (brackets.length === 0)
88479 break $label0$1;
88480 next.toString;
88481 buffer._contents += A.Primitives_stringFromCharCode(next);
88482 t1.expectChar$1(brackets.pop());
88483 wroteNewline = false;
88484 break;
88485 case 59:
88486 if (brackets.length === 0)
88487 break $label0$1;
88488 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88489 break;
88490 case 117:
88491 case 85:
88492 url = _this.tryUrl$0();
88493 if (url != null)
88494 buffer._contents += url;
88495 else
88496 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88497 wroteNewline = false;
88498 break;
88499 default:
88500 if (next == null)
88501 break $label0$1;
88502 if (_this.lookingAtIdentifier$0())
88503 buffer._contents += _this.identifier$0();
88504 else
88505 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88506 wroteNewline = false;
88507 break;
88508 }
88509 }
88510 if (brackets.length !== 0)
88511 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
88512 if (!allowEmpty && buffer._contents.length === 0)
88513 t1.error$1(0, "Expected token.");
88514 t1 = buffer._contents;
88515 return t1.charCodeAt(0) == 0 ? t1 : t1;
88516 },
88517 declarationValue$0() {
88518 return this.declarationValue$1$allowEmpty(false);
88519 },
88520 tryUrl$0() {
88521 var buffer, next, t2, _this = this,
88522 t1 = _this.scanner,
88523 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
88524 if (!_this.scanIdentifier$1("url"))
88525 return null;
88526 if (!t1.scanChar$1(40)) {
88527 t1.set$state(start);
88528 return null;
88529 }
88530 _this.whitespace$0();
88531 buffer = new A.StringBuffer("");
88532 buffer._contents = "" + "url(";
88533 for (; true;) {
88534 next = t1.peekChar$0();
88535 if (next == null)
88536 break;
88537 else if (next === 92)
88538 buffer._contents += A.S(_this.escape$0());
88539 else {
88540 if (next !== 37)
88541 if (next !== 38)
88542 if (next !== 35)
88543 t2 = next >= 42 && next <= 126 || next >= 128;
88544 else
88545 t2 = true;
88546 else
88547 t2 = true;
88548 else
88549 t2 = true;
88550 if (t2)
88551 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88552 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
88553 _this.whitespace$0();
88554 if (t1.peekChar$0() !== 41)
88555 break;
88556 } else if (next === 41) {
88557 t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88558 return t2.charCodeAt(0) == 0 ? t2 : t2;
88559 } else
88560 break;
88561 }
88562 }
88563 t1.set$state(start);
88564 return null;
88565 },
88566 variableName$0() {
88567 this.scanner.expectChar$1(36);
88568 return this.identifier$1$normalize(true);
88569 },
88570 escape$1$identifierStart(identifierStart) {
88571 var value, first, i, next, t2, exception,
88572 _s25_ = "Expected escape sequence.",
88573 t1 = this.scanner,
88574 start = t1._string_scanner$_position;
88575 t1.expectChar$1(92);
88576 value = 0;
88577 first = t1.peekChar$0();
88578 if (first == null)
88579 t1.error$1(0, _s25_);
88580 else if (first === 10 || first === 13 || first === 12)
88581 t1.error$1(0, _s25_);
88582 else if (A.isHex0(first)) {
88583 for (i = 0; i < 6; ++i) {
88584 next = t1.peekChar$0();
88585 if (next == null || !A.isHex0(next))
88586 break;
88587 value *= 16;
88588 value += A.asHex0(t1.readChar$0());
88589 }
88590 this.scanCharIf$1(A.character0__isWhitespace$closure());
88591 } else
88592 value = t1.readChar$0();
88593 if (identifierStart) {
88594 t2 = value;
88595 t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128;
88596 } else {
88597 t2 = value;
88598 t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128 || A.isDigit0(t2) || t2 === 45;
88599 }
88600 if (t2)
88601 try {
88602 t2 = A.Primitives_stringFromCharCode(value);
88603 return t2;
88604 } catch (exception) {
88605 if (type$.RangeError._is(A.unwrapException(exception)))
88606 t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
88607 else
88608 throw exception;
88609 }
88610 else {
88611 if (!(value <= 31))
88612 if (!J.$eq$(value, 127))
88613 t1 = identifierStart && A.isDigit0(value);
88614 else
88615 t1 = true;
88616 else
88617 t1 = true;
88618 if (t1) {
88619 t1 = "" + A.Primitives_stringFromCharCode(92);
88620 if (value > 15)
88621 t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
88622 t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
88623 return t1.charCodeAt(0) == 0 ? t1 : t1;
88624 } else
88625 return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
88626 }
88627 },
88628 escape$0() {
88629 return this.escape$1$identifierStart(false);
88630 },
88631 scanCharIf$1(condition) {
88632 var t1 = this.scanner;
88633 if (!condition.call$1(t1.peekChar$0()))
88634 return false;
88635 t1.readChar$0();
88636 return true;
88637 },
88638 scanIdentChar$2$caseSensitive(char, caseSensitive) {
88639 var t3,
88640 t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
88641 t2 = this.scanner,
88642 next = t2.peekChar$0();
88643 if (next != null && t1.call$1(next)) {
88644 t2.readChar$0();
88645 return true;
88646 } else if (next === 92) {
88647 t3 = t2._string_scanner$_position;
88648 if (t1.call$1(A.consumeEscapedCharacter0(t2)))
88649 return true;
88650 t2.set$state(new A._SpanScannerState(t2, t3));
88651 }
88652 return false;
88653 },
88654 scanIdentChar$1(char) {
88655 return this.scanIdentChar$2$caseSensitive(char, false);
88656 },
88657 expectIdentChar$1(letter) {
88658 var t1;
88659 if (this.scanIdentChar$2$caseSensitive(letter, false))
88660 return;
88661 t1 = this.scanner;
88662 t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
88663 },
88664 lookingAtIdentifier$1($forward) {
88665 var t1, first, second;
88666 if ($forward == null)
88667 $forward = 0;
88668 t1 = this.scanner;
88669 first = t1.peekChar$1($forward);
88670 if (first == null)
88671 return false;
88672 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
88673 return true;
88674 if (first !== 45)
88675 return false;
88676 second = t1.peekChar$1($forward + 1);
88677 if (second == null)
88678 return false;
88679 return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
88680 },
88681 lookingAtIdentifier$0() {
88682 return this.lookingAtIdentifier$1(null);
88683 },
88684 lookingAtIdentifierBody$0() {
88685 var t1,
88686 next = this.scanner.peekChar$0();
88687 if (next != null)
88688 t1 = next === 95 || A.isAlphabetic1(next) || next >= 128 || A.isDigit0(next) || next === 45 || next === 92;
88689 else
88690 t1 = false;
88691 return t1;
88692 },
88693 scanIdentifier$2$caseSensitive(text, caseSensitive) {
88694 var t1, start, t2, t3, _this = this;
88695 if (!_this.lookingAtIdentifier$0())
88696 return false;
88697 t1 = _this.scanner;
88698 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
88699 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
88700 if (_this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), caseSensitive))
88701 continue;
88702 if (start._scanner !== t1)
88703 A.throwExpression(A.ArgumentError$(string$.The_gi, null));
88704 t2 = start.position;
88705 if (t2 < 0 || t2 > t1.string.length)
88706 A.throwExpression(A.ArgumentError$("Invalid position " + t2, null));
88707 t1._string_scanner$_position = t2;
88708 t1._lastMatch = null;
88709 return false;
88710 }
88711 if (!_this.lookingAtIdentifierBody$0())
88712 return true;
88713 t1.set$state(start);
88714 return false;
88715 },
88716 scanIdentifier$1(text) {
88717 return this.scanIdentifier$2$caseSensitive(text, false);
88718 },
88719 expectIdentifier$2$name(text, $name) {
88720 var t1, start, t2, t3;
88721 if ($name == null)
88722 $name = '"' + text + '"';
88723 t1 = this.scanner;
88724 start = t1._string_scanner$_position;
88725 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
88726 if (this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), false))
88727 continue;
88728 t1.error$2$position(0, "Expected " + $name + ".", start);
88729 }
88730 if (!this.lookingAtIdentifierBody$0())
88731 return;
88732 t1.error$2$position(0, "Expected " + $name, start);
88733 },
88734 expectIdentifier$1(text) {
88735 return this.expectIdentifier$2$name(text, null);
88736 },
88737 rawText$1(consumer) {
88738 var t1 = this.scanner,
88739 start = t1._string_scanner$_position;
88740 consumer.call$0();
88741 return t1.substring$1(0, start);
88742 },
88743 error$3(_, message, span, trace) {
88744 var exception = new A.StringScannerException(this.scanner.string, message, span);
88745 if (trace == null)
88746 throw A.wrapException(exception);
88747 else
88748 A.throwWithTrace0(exception, trace);
88749 },
88750 error$2($receiver, message, span) {
88751 return this.error$3($receiver, message, span, null);
88752 },
88753 withErrorMessage$1$2(message, callback) {
88754 var error, stackTrace, t1, exception;
88755 try {
88756 t1 = callback.call$0();
88757 return t1;
88758 } catch (exception) {
88759 t1 = A.unwrapException(exception);
88760 if (type$.SourceSpanFormatException._is(t1)) {
88761 error = t1;
88762 stackTrace = A.getTraceFromException(exception);
88763 t1 = J.get$span$z(error);
88764 A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
88765 } else
88766 throw exception;
88767 }
88768 },
88769 withErrorMessage$2(message, callback) {
88770 return this.withErrorMessage$1$2(message, callback, type$.dynamic);
88771 },
88772 wrapSpanFormatException$1$1(callback) {
88773 var error, stackTrace, span, startPosition, t1, exception;
88774 try {
88775 t1 = callback.call$0();
88776 return t1;
88777 } catch (exception) {
88778 t1 = A.unwrapException(exception);
88779 if (type$.SourceSpanFormatException._is(t1)) {
88780 error = t1;
88781 stackTrace = A.getTraceFromException(exception);
88782 span = J.get$span$z(error);
88783 if (A.startsWithIgnoreCase0(error._span_exception$_message, "expected")) {
88784 t1 = span;
88785 t1 = t1._end - t1._file$_start === 0;
88786 } else
88787 t1 = false;
88788 if (t1) {
88789 t1 = span;
88790 startPosition = this._parser0$_firstNewlineBefore$1(A.FileLocation$_(t1.file, t1._file$_start).offset);
88791 t1 = span;
88792 if (!J.$eq$(startPosition, A.FileLocation$_(t1.file, t1._file$_start).offset))
88793 span = span.file.span$2(0, startPosition, startPosition);
88794 }
88795 A.throwWithTrace0(new A.SassFormatException0(error._span_exception$_message, span), stackTrace);
88796 } else
88797 throw exception;
88798 }
88799 },
88800 wrapSpanFormatException$1(callback) {
88801 return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
88802 },
88803 _parser0$_firstNewlineBefore$1(position) {
88804 var t1, lastNewline, codeUnit,
88805 index = position - 1;
88806 for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
88807 codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
88808 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
88809 return lastNewline == null ? position : lastNewline;
88810 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
88811 lastNewline = index;
88812 --index;
88813 }
88814 return position;
88815 }
88816 };
88817 A.Parser__parseIdentifier_closure0.prototype = {
88818 call$0() {
88819 var t1 = this.$this,
88820 result = t1.identifier$0();
88821 t1.scanner.expectDone$0();
88822 return result;
88823 },
88824 $signature: 30
88825 };
88826 A.Parser_scanIdentChar_matches0.prototype = {
88827 call$1(actual) {
88828 var t1 = this.char;
88829 return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
88830 },
88831 $signature: 51
88832 };
88833 A.PlaceholderSelector0.prototype = {
88834 get$isInvisible() {
88835 return true;
88836 },
88837 accept$1$1(visitor) {
88838 var t1 = visitor._serialize0$_buffer;
88839 t1.writeCharCode$1(37);
88840 t1.write$1(0, this.name);
88841 return null;
88842 },
88843 accept$1(visitor) {
88844 return this.accept$1$1(visitor, type$.dynamic);
88845 },
88846 addSuffix$1(suffix) {
88847 return new A.PlaceholderSelector0(this.name + suffix);
88848 },
88849 $eq(_, other) {
88850 if (other == null)
88851 return false;
88852 return other instanceof A.PlaceholderSelector0 && other.name === this.name;
88853 },
88854 get$hashCode(_) {
88855 return B.JSString_methods.get$hashCode(this.name);
88856 }
88857 };
88858 A.PlainCssCallable0.prototype = {
88859 $eq(_, other) {
88860 if (other == null)
88861 return false;
88862 return other instanceof A.PlainCssCallable0 && this.name === other.name;
88863 },
88864 get$hashCode(_) {
88865 return B.JSString_methods.get$hashCode(this.name);
88866 },
88867 $isAsyncCallable0: 1,
88868 $isCallable0: 1,
88869 get$name(receiver) {
88870 return this.name;
88871 }
88872 };
88873 A.PrefixedMapView0.prototype = {
88874 get$keys(_) {
88875 return new A._PrefixedKeys0(this);
88876 },
88877 get$length(_) {
88878 var t1 = this._prefixed_map_view0$_map;
88879 return t1.get$length(t1);
88880 },
88881 get$isEmpty(_) {
88882 var t1 = this._prefixed_map_view0$_map;
88883 return t1.get$isEmpty(t1);
88884 },
88885 get$isNotEmpty(_) {
88886 var t1 = this._prefixed_map_view0$_map;
88887 return t1.get$isNotEmpty(t1);
88888 },
88889 $index(_, key) {
88890 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;
88891 },
88892 containsKey$1(key) {
88893 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));
88894 }
88895 };
88896 A._PrefixedKeys0.prototype = {
88897 get$length(_) {
88898 var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
88899 return t1.get$length(t1);
88900 },
88901 get$iterator(_) {
88902 var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
88903 t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
88904 return t1.get$iterator(t1);
88905 },
88906 contains$1(_, key) {
88907 return this._prefixed_map_view0$_view.containsKey$1(key);
88908 }
88909 };
88910 A._PrefixedKeys_iterator_closure0.prototype = {
88911 call$1(key) {
88912 return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
88913 },
88914 $signature: 5
88915 };
88916 A.PseudoSelector0.prototype = {
88917 get$isHostContext() {
88918 return this.isClass && this.name === "host-context" && this.selector != null;
88919 },
88920 get$minSpecificity() {
88921 if (this._pseudo0$_minSpecificity == null)
88922 this._pseudo0$_computeSpecificity$0();
88923 var t1 = this._pseudo0$_minSpecificity;
88924 t1.toString;
88925 return t1;
88926 },
88927 get$maxSpecificity() {
88928 if (this._pseudo0$_maxSpecificity == null)
88929 this._pseudo0$_computeSpecificity$0();
88930 var t1 = this._pseudo0$_maxSpecificity;
88931 t1.toString;
88932 return t1;
88933 },
88934 get$isInvisible() {
88935 var selector = this.selector;
88936 if (selector == null)
88937 return false;
88938 return this.name !== "not" && selector.get$isInvisible();
88939 },
88940 addSuffix$1(suffix) {
88941 var _this = this;
88942 if (_this.argument != null || _this.selector != null)
88943 _this.super$SimpleSelector$addSuffix0(suffix);
88944 return A.PseudoSelector$0(_this.name + suffix, null, !_this.isClass, null);
88945 },
88946 unify$1(compound) {
88947 var other, result, t2, addedThis, _i, simple, _this = this,
88948 t1 = _this.name;
88949 if (t1 === "host" || t1 === "host-context") {
88950 if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
88951 return null;
88952 } else if (compound.length === 1) {
88953 other = B.JSArray_methods.get$first(compound);
88954 if (!(other instanceof A.UniversalSelector0))
88955 if (other instanceof A.PseudoSelector0)
88956 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
88957 else
88958 t1 = false;
88959 else
88960 t1 = true;
88961 if (t1)
88962 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
88963 }
88964 if (B.JSArray_methods.contains$1(compound, _this))
88965 return compound;
88966 result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
88967 for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
88968 simple = compound[_i];
88969 if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
88970 if (t2)
88971 return null;
88972 result.push(_this);
88973 addedThis = true;
88974 }
88975 result.push(simple);
88976 }
88977 if (!addedThis)
88978 result.push(_this);
88979 return result;
88980 },
88981 _pseudo0$_computeSpecificity$0() {
88982 var selector, t1, t2, minSpecificity, maxSpecificity, _i, complex, t3, _this = this;
88983 if (!_this.isClass) {
88984 _this._pseudo0$_maxSpecificity = _this._pseudo0$_minSpecificity = 1;
88985 return;
88986 }
88987 selector = _this.selector;
88988 if (selector == null) {
88989 _this._pseudo0$_minSpecificity = A.SimpleSelector0.prototype.get$minSpecificity.call(_this);
88990 _this._pseudo0$_maxSpecificity = A.SimpleSelector0.prototype.get$maxSpecificity.call(_this);
88991 return;
88992 }
88993 if (_this.name === "not") {
88994 for (t1 = selector.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
88995 complex = t1[_i];
88996 if (complex._complex0$_minSpecificity == null)
88997 complex._complex0$_computeSpecificity$0();
88998 t3 = complex._complex0$_minSpecificity;
88999 t3.toString;
89000 minSpecificity = Math.max(minSpecificity, t3);
89001 if (complex._complex0$_maxSpecificity == null)
89002 complex._complex0$_computeSpecificity$0();
89003 t3 = complex._complex0$_maxSpecificity;
89004 t3.toString;
89005 maxSpecificity = Math.max(maxSpecificity, t3);
89006 }
89007 _this._pseudo0$_minSpecificity = minSpecificity;
89008 _this._pseudo0$_maxSpecificity = maxSpecificity;
89009 } else {
89010 minSpecificity = A._asInt(Math.pow(A.SimpleSelector0.prototype.get$minSpecificity.call(_this), 3));
89011 for (t1 = selector.components, t2 = t1.length, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
89012 complex = t1[_i];
89013 if (complex._complex0$_minSpecificity == null)
89014 complex._complex0$_computeSpecificity$0();
89015 t3 = complex._complex0$_minSpecificity;
89016 t3.toString;
89017 minSpecificity = Math.min(minSpecificity, t3);
89018 if (complex._complex0$_maxSpecificity == null)
89019 complex._complex0$_computeSpecificity$0();
89020 t3 = complex._complex0$_maxSpecificity;
89021 t3.toString;
89022 maxSpecificity = Math.max(maxSpecificity, t3);
89023 }
89024 _this._pseudo0$_minSpecificity = minSpecificity;
89025 _this._pseudo0$_maxSpecificity = maxSpecificity;
89026 }
89027 },
89028 accept$1$1(visitor) {
89029 return visitor.visitPseudoSelector$1(this);
89030 },
89031 accept$1(visitor) {
89032 return this.accept$1$1(visitor, type$.dynamic);
89033 },
89034 $eq(_, other) {
89035 var _this = this;
89036 if (other == null)
89037 return false;
89038 return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
89039 },
89040 get$hashCode(_) {
89041 var _this = this,
89042 t1 = B.JSString_methods.get$hashCode(_this.name),
89043 t2 = !_this.isClass ? 519018 : 218159;
89044 return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
89045 }
89046 };
89047 A.PseudoSelector_unify_closure0.prototype = {
89048 call$1(simple) {
89049 var t1;
89050 if (simple instanceof A.PseudoSelector0)
89051 t1 = simple.isClass && simple.name === "host" || simple.selector != null;
89052 else
89053 t1 = false;
89054 return t1;
89055 },
89056 $signature: 16
89057 };
89058 A.PublicMemberMapView0.prototype = {
89059 get$keys(_) {
89060 var t1 = this._public_member_map_view0$_inner;
89061 return J.where$1$ax(t1.get$keys(t1), A.utils0__isPublic$closure());
89062 },
89063 containsKey$1(key) {
89064 return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
89065 },
89066 $index(_, key) {
89067 if (typeof key == "string" && A.isPublic0(key))
89068 return this._public_member_map_view0$_inner.$index(0, key);
89069 return null;
89070 }
89071 };
89072 A.QualifiedName0.prototype = {
89073 $eq(_, other) {
89074 if (other == null)
89075 return false;
89076 return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
89077 },
89078 get$hashCode(_) {
89079 return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
89080 },
89081 toString$0(_) {
89082 var t1 = this.namespace,
89083 t2 = this.name;
89084 return t1 == null ? t2 : t1 + "|" + t2;
89085 }
89086 };
89087 A.JSClass0.prototype = {};
89088 A.JSClassExtension_setCustomInspect_closure.prototype = {
89089 call$4($self, _, __, ___) {
89090 return this.inspect.call$1($self);
89091 },
89092 call$3($self, _, __) {
89093 return this.call$4($self, _, __, null);
89094 },
89095 "call*": "call$4",
89096 $requiredArgCount: 3,
89097 $defaultValues() {
89098 return [null];
89099 },
89100 $signature: 516
89101 };
89102 A.JSClassExtension_get_defineMethod_closure.prototype = {
89103 call$2($name, body) {
89104 J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
89105 return null;
89106 },
89107 $signature: 244
89108 };
89109 A.JSClassExtension_get_defineGetter_closure.prototype = {
89110 call$2($name, body) {
89111 A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
89112 return null;
89113 },
89114 $signature: 244
89115 };
89116 A.RenderContext0.prototype = {};
89117 A.RenderContextOptions0.prototype = {};
89118 A.RenderContextResult0.prototype = {};
89119 A.RenderContextResultStats0.prototype = {};
89120 A.RenderOptions.prototype = {};
89121 A.RenderResult.prototype = {};
89122 A.RenderResultStats.prototype = {};
89123 A.ImporterResult0.prototype = {
89124 get$sourceMapUrl(_) {
89125 var t1 = this._result$_sourceMapUrl;
89126 return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
89127 }
89128 };
89129 A.ReturnRule0.prototype = {
89130 accept$1$1(visitor) {
89131 return visitor.visitReturnRule$1(this);
89132 },
89133 accept$1(visitor) {
89134 return this.accept$1$1(visitor, type$.dynamic);
89135 },
89136 toString$0(_) {
89137 return "@return " + this.expression.toString$0(0) + ";";
89138 },
89139 $isAstNode0: 1,
89140 $isStatement0: 1,
89141 get$span(receiver) {
89142 return this.span;
89143 }
89144 };
89145 A.main_printError.prototype = {
89146 call$2(error, stackTrace) {
89147 var t1 = this._box_0;
89148 if (t1.printedError)
89149 $.$get$stderr().writeln$0();
89150 t1.printedError = true;
89151 t1 = $.$get$stderr();
89152 t1.writeln$1(error);
89153 if (stackTrace != null) {
89154 t1.writeln$0();
89155 t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
89156 }
89157 },
89158 $signature: 518
89159 };
89160 A.main_closure.prototype = {
89161 call$0() {
89162 var t1, exception;
89163 try {
89164 t1 = this.destination;
89165 if (t1 != null && !this._box_0.options.get$emitErrorCss())
89166 A.deleteFile(t1);
89167 } catch (exception) {
89168 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
89169 throw exception;
89170 }
89171 },
89172 $signature: 1
89173 };
89174 A.SassParser0.prototype = {
89175 get$currentIndentation() {
89176 return this._sass0$_currentIndentation;
89177 },
89178 get$indented() {
89179 return true;
89180 },
89181 styleRuleSelector$0() {
89182 var t4,
89183 t1 = this.scanner,
89184 t2 = t1._string_scanner$_position,
89185 t3 = new A.StringBuffer(""),
89186 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
89187 do {
89188 buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
89189 t4 = t3._contents += A.Primitives_stringFromCharCode(10);
89190 } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character0__isNewline$closure()));
89191 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
89192 },
89193 expectStatementSeparator$1($name) {
89194 var _this = this;
89195 if (!_this.atEndOfStatement$0())
89196 _this._sass0$_expectNewline$0();
89197 if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
89198 return;
89199 _this.scanner.error$2$position(0, "Nothing may be indented " + ($name == null ? "here" : "beneath a " + $name) + ".", _this._sass0$_nextIndentationEnd.position);
89200 },
89201 expectStatementSeparator$0() {
89202 return this.expectStatementSeparator$1(null);
89203 },
89204 atEndOfStatement$0() {
89205 var next = this.scanner.peekChar$0();
89206 return next == null || next === 10 || next === 13 || next === 12;
89207 },
89208 lookingAtChildren$0() {
89209 return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
89210 },
89211 importArgument$0() {
89212 var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
89213 t1 = _this.scanner;
89214 switch (t1.peekChar$0()) {
89215 case 117:
89216 case 85:
89217 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89218 if (_this.scanIdentifier$1("url"))
89219 if (t1.scanChar$1(40)) {
89220 t1.set$state(start);
89221 return _this.super$StylesheetParser$importArgument0();
89222 } else
89223 t1.set$state(start);
89224 break;
89225 case 39:
89226 case 34:
89227 return _this.super$StylesheetParser$importArgument0();
89228 }
89229 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89230 next = t1.peekChar$0();
89231 while (true) {
89232 if (next != null)
89233 if (next !== 44)
89234 if (next !== 59)
89235 t2 = !(next === 10 || next === 13 || next === 12);
89236 else
89237 t2 = false;
89238 else
89239 t2 = false;
89240 else
89241 t2 = false;
89242 if (!t2)
89243 break;
89244 t1.readChar$0();
89245 next = t1.peekChar$0();
89246 }
89247 url = t1.substring$1(0, start.position);
89248 span = t1.spanFrom$1(start);
89249 if (_this.isPlainImportUrl$1(url))
89250 return new A.StaticImport0(A.Interpolation$0(A._setArrayType([A.serializeValue0(new A.SassString0(url, true), true, true)], type$.JSArray_Object), span), null, null, span);
89251 else
89252 try {
89253 t1 = _this.parseImportUrl$1(url);
89254 return new A.DynamicImport0(t1, span);
89255 } catch (exception) {
89256 t1 = A.unwrapException(exception);
89257 if (type$.FormatException._is(t1)) {
89258 innerError = t1;
89259 stackTrace = A.getTraceFromException(exception);
89260 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
89261 } else
89262 throw exception;
89263 }
89264 },
89265 scanElse$1(ifIndentation) {
89266 var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
89267 if (_this._sass0$_peekIndentation$0() !== ifIndentation)
89268 return false;
89269 t1 = _this.scanner;
89270 t2 = t1._string_scanner$_position;
89271 startIndentation = _this._sass0$_currentIndentation;
89272 startNextIndentation = _this._sass0$_nextIndentation;
89273 startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
89274 _this._sass0$_readIndentation$0();
89275 if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
89276 return true;
89277 t1.set$state(new A._SpanScannerState(t1, t2));
89278 _this._sass0$_currentIndentation = startIndentation;
89279 _this._sass0$_nextIndentation = startNextIndentation;
89280 _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
89281 return false;
89282 },
89283 children$1(_, child) {
89284 var children = A._setArrayType([], type$.JSArray_Statement_2);
89285 this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
89286 return children;
89287 },
89288 statements$1(statement) {
89289 var statements, t2, child,
89290 t1 = this.scanner,
89291 first = t1.peekChar$0();
89292 if (first === 9 || first === 32)
89293 t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
89294 statements = A._setArrayType([], type$.JSArray_Statement_2);
89295 for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
89296 child = this._sass0$_child$1(statement);
89297 if (child != null)
89298 statements.push(child);
89299 this._sass0$_readIndentation$0();
89300 }
89301 return statements;
89302 },
89303 _sass0$_child$1(child) {
89304 var _this = this,
89305 t1 = _this.scanner;
89306 switch (t1.peekChar$0()) {
89307 case 13:
89308 case 10:
89309 case 12:
89310 return null;
89311 case 36:
89312 return _this.variableDeclarationWithoutNamespace$0();
89313 case 47:
89314 switch (t1.peekChar$1(1)) {
89315 case 47:
89316 return _this._sass0$_silentComment$0();
89317 case 42:
89318 return _this._sass0$_loudComment$0();
89319 default:
89320 return child.call$0();
89321 }
89322 default:
89323 return child.call$0();
89324 }
89325 },
89326 _sass0$_silentComment$0() {
89327 var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
89328 t1 = _this.scanner,
89329 t2 = t1._string_scanner$_position;
89330 t1.expect$1("//");
89331 buffer = new A.StringBuffer("");
89332 parentIndentation = _this._sass0$_currentIndentation;
89333 t3 = t1.string.length;
89334 t4 = 1 + parentIndentation;
89335 t5 = 2 + parentIndentation;
89336 $label0$0:
89337 do {
89338 commentPrefix = t1.scanChar$1(47) ? "///" : "//";
89339 for (i = commentPrefix.length; true;) {
89340 t6 = buffer._contents += commentPrefix;
89341 for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
89342 t6 += A.Primitives_stringFromCharCode(32);
89343 buffer._contents = t6;
89344 }
89345 while (true) {
89346 if (t1._string_scanner$_position !== t3) {
89347 t7 = t1.peekChar$0();
89348 t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
89349 } else
89350 t7 = false;
89351 if (!t7)
89352 break;
89353 t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
89354 buffer._contents = t6;
89355 }
89356 buffer._contents = t6 + "\n";
89357 if (_this._sass0$_peekIndentation$0() < parentIndentation)
89358 break $label0$0;
89359 if (_this._sass0$_peekIndentation$0() === parentIndentation) {
89360 if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
89361 _this._sass0$_readIndentation$0();
89362 break;
89363 }
89364 _this._sass0$_readIndentation$0();
89365 }
89366 } while (t1.scan$1("//"));
89367 t3 = buffer._contents;
89368 return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
89369 },
89370 _sass0$_loudComment$0() {
89371 var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
89372 t1 = _this.scanner,
89373 t2 = t1._string_scanner$_position;
89374 t1.expect$1("/*");
89375 t3 = new A.StringBuffer("");
89376 t4 = A._setArrayType([], type$.JSArray_Object);
89377 buffer = new A.InterpolationBuffer0(t3, t4);
89378 t3._contents = "" + "/*";
89379 parentIndentation = _this._sass0$_currentIndentation;
89380 for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
89381 if (first) {
89382 beginningOfComment = t1._string_scanner$_position;
89383 _this.spaces$0();
89384 t7 = t1.peekChar$0();
89385 if (t7 === 10 || t7 === 13 || t7 === 12) {
89386 _this._sass0$_readIndentation$0();
89387 t7 = t3._contents += A.Primitives_stringFromCharCode(32);
89388 } else {
89389 end = t1._string_scanner$_position;
89390 t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
89391 }
89392 } else {
89393 t7 = t3._contents += "\n";
89394 t7 += " * ";
89395 t3._contents = t7;
89396 }
89397 for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
89398 t7 += A.Primitives_stringFromCharCode(32);
89399 t3._contents = t7;
89400 }
89401 $label0$1:
89402 for (; t1._string_scanner$_position !== t6;)
89403 switch (t1.peekChar$0()) {
89404 case 10:
89405 case 13:
89406 case 12:
89407 break $label0$1;
89408 case 35:
89409 if (t1.peekChar$1(1) === 123) {
89410 t7 = _this.singleInterpolation$0();
89411 buffer._interpolation_buffer0$_flushText$0();
89412 t4.push(t7);
89413 } else
89414 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89415 break;
89416 default:
89417 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89418 break;
89419 }
89420 if (_this._sass0$_peekIndentation$0() <= parentIndentation)
89421 break;
89422 for (; _this._sass0$_lookingAtDoubleNewline$0();) {
89423 _this._sass0$_expectNewline$0();
89424 t7 = t3._contents += "\n";
89425 t3._contents = t7 + " *";
89426 }
89427 _this._sass0$_readIndentation$0();
89428 }
89429 t4 = t3._contents;
89430 if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
89431 t3._contents += " */";
89432 return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
89433 },
89434 whitespaceWithoutComments$0() {
89435 var t1, t2, next;
89436 for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
89437 next = t1.peekChar$0();
89438 if (next !== 9 && next !== 32)
89439 break;
89440 t1.readChar$0();
89441 }
89442 },
89443 loudComment$0() {
89444 var next,
89445 t1 = this.scanner;
89446 t1.expect$1("/*");
89447 for (; true;) {
89448 next = t1.readChar$0();
89449 if (next === 10 || next === 13 || next === 12)
89450 t1.error$1(0, "expected */.");
89451 if (next !== 42)
89452 continue;
89453 do
89454 next = t1.readChar$0();
89455 while (next === 42);
89456 if (next === 47)
89457 break;
89458 }
89459 },
89460 _sass0$_expectNewline$0() {
89461 var t1 = this.scanner;
89462 switch (t1.peekChar$0()) {
89463 case 59:
89464 t1.error$1(0, string$.semico);
89465 break;
89466 case 13:
89467 t1.readChar$0();
89468 if (t1.peekChar$0() === 10)
89469 t1.readChar$0();
89470 return;
89471 case 10:
89472 case 12:
89473 t1.readChar$0();
89474 return;
89475 default:
89476 t1.error$1(0, "expected newline.");
89477 }
89478 },
89479 _sass0$_lookingAtDoubleNewline$0() {
89480 var nextChar,
89481 t1 = this.scanner;
89482 switch (t1.peekChar$0()) {
89483 case 13:
89484 nextChar = t1.peekChar$1(1);
89485 if (nextChar === 10) {
89486 t1 = t1.peekChar$1(2);
89487 return t1 === 10 || t1 === 13 || t1 === 12;
89488 }
89489 return nextChar === 13 || nextChar === 12;
89490 case 10:
89491 case 12:
89492 t1 = t1.peekChar$1(1);
89493 return t1 === 10 || t1 === 13 || t1 === 12;
89494 default:
89495 return false;
89496 }
89497 },
89498 _sass0$_whileIndentedLower$1(body) {
89499 var t1, t2, childIndentation, indentation, t3, t4, t5, _this = this,
89500 parentIndentation = _this._sass0$_currentIndentation;
89501 for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
89502 indentation = _this._sass0$_readIndentation$0();
89503 if (childIndentation == null)
89504 childIndentation = indentation;
89505 if (childIndentation !== indentation) {
89506 t3 = "Inconsistent indentation, expected " + childIndentation + " spaces.";
89507 t4 = t1._string_scanner$_position;
89508 t5 = t2.getColumn$1(t4);
89509 t1.error$3$length$position(0, t3, t2.getColumn$1(t1._string_scanner$_position), t4 - t5);
89510 }
89511 body.call$0();
89512 }
89513 },
89514 _sass0$_readIndentation$0() {
89515 var t1, _this = this,
89516 currentIndentation = _this._sass0$_nextIndentation;
89517 if (currentIndentation == null)
89518 currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
89519 _this._sass0$_currentIndentation = currentIndentation;
89520 t1 = _this._sass0$_nextIndentationEnd;
89521 t1.toString;
89522 _this.scanner.set$state(t1);
89523 _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
89524 return currentIndentation;
89525 },
89526 _sass0$_peekIndentation$0() {
89527 var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
89528 cached = _this._sass0$_nextIndentation;
89529 if (cached != null)
89530 return cached;
89531 t1 = _this.scanner;
89532 t2 = t1._string_scanner$_position;
89533 t3 = t1.string.length;
89534 if (t2 === t3) {
89535 _this._sass0$_nextIndentation = 0;
89536 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
89537 return 0;
89538 }
89539 start = new A._SpanScannerState(t1, t2);
89540 if (!_this.scanCharIf$1(A.character0__isNewline$closure()))
89541 t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
89542 containsTab = A._Cell$();
89543 containsSpace = A._Cell$();
89544 nextIndentation = A._Cell$();
89545 t2 = nextIndentation.__late_helper$_name;
89546 do {
89547 containsSpace._value = containsTab._value = false;
89548 nextIndentation._value = 0;
89549 for (; true;) {
89550 next = t1.peekChar$0();
89551 if (next === 32)
89552 containsSpace._value = true;
89553 else if (next === 9)
89554 containsTab._value = true;
89555 else
89556 break;
89557 t4 = nextIndentation._value;
89558 if (t4 === nextIndentation)
89559 A.throwExpression(A.LateError$localNI(t2));
89560 nextIndentation._value = t4 + 1;
89561 t1.readChar$0();
89562 }
89563 t4 = t1._string_scanner$_position;
89564 if (t4 === t3) {
89565 _this._sass0$_nextIndentation = 0;
89566 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t4);
89567 t1.set$state(start);
89568 return 0;
89569 }
89570 } while (_this.scanCharIf$1(A.character0__isNewline$closure()));
89571 t2 = containsTab._readLocal$0();
89572 t3 = containsSpace._readLocal$0();
89573 if (t2) {
89574 if (t3) {
89575 t2 = t1._string_scanner$_position;
89576 t3 = t1._sourceFile;
89577 t4 = t3.getColumn$1(t2);
89578 t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
89579 } else if (_this._sass0$_spaces === true) {
89580 t2 = t1._string_scanner$_position;
89581 t3 = t1._sourceFile;
89582 t4 = t3.getColumn$1(t2);
89583 t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
89584 }
89585 } else if (t3 && _this._sass0$_spaces === false) {
89586 t2 = t1._string_scanner$_position;
89587 t3 = t1._sourceFile;
89588 t4 = t3.getColumn$1(t2);
89589 t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
89590 }
89591 _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
89592 if (nextIndentation._readLocal$0() > 0)
89593 if (_this._sass0$_spaces == null)
89594 _this._sass0$_spaces = containsSpace._readLocal$0();
89595 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
89596 t1.set$state(start);
89597 return nextIndentation._readLocal$0();
89598 }
89599 };
89600 A.SassParser_children_closure0.prototype = {
89601 call$0() {
89602 var parsedChild = this.$this._sass0$_child$1(this.child);
89603 if (parsedChild != null)
89604 this.children.push(parsedChild);
89605 },
89606 $signature: 0
89607 };
89608 A._Exports.prototype = {};
89609 A._wrapMain_closure.prototype = {
89610 call$1(_) {
89611 return A._translateReturnValue(this.main.call$0());
89612 },
89613 $signature: 78
89614 };
89615 A._wrapMain_closure0.prototype = {
89616 call$1(args) {
89617 return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
89618 },
89619 $signature: 78
89620 };
89621 A.ScssParser0.prototype = {
89622 get$indented() {
89623 return false;
89624 },
89625 get$currentIndentation() {
89626 return 0;
89627 },
89628 styleRuleSelector$0() {
89629 return this.almostAnyValue$0();
89630 },
89631 expectStatementSeparator$1($name) {
89632 var t1, next;
89633 this.whitespaceWithoutComments$0();
89634 t1 = this.scanner;
89635 if (t1._string_scanner$_position === t1.string.length)
89636 return;
89637 next = t1.peekChar$0();
89638 if (next === 59 || next === 125)
89639 return;
89640 t1.expectChar$1(59);
89641 },
89642 expectStatementSeparator$0() {
89643 return this.expectStatementSeparator$1(null);
89644 },
89645 atEndOfStatement$0() {
89646 var next = this.scanner.peekChar$0();
89647 return next == null || next === 59 || next === 125 || next === 123;
89648 },
89649 lookingAtChildren$0() {
89650 return this.scanner.peekChar$0() === 123;
89651 },
89652 scanElse$1(ifIndentation) {
89653 var t3, _this = this,
89654 t1 = _this.scanner,
89655 t2 = t1._string_scanner$_position;
89656 _this.whitespace$0();
89657 t3 = t1._string_scanner$_position;
89658 if (t1.scanChar$1(64)) {
89659 if (_this.scanIdentifier$2$caseSensitive("else", true))
89660 return true;
89661 if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
89662 _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
89663 t1.set$position(t1._string_scanner$_position - 2);
89664 return true;
89665 }
89666 }
89667 t1.set$state(new A._SpanScannerState(t1, t2));
89668 return false;
89669 },
89670 children$1(_, child) {
89671 var children, _this = this,
89672 t1 = _this.scanner;
89673 t1.expectChar$1(123);
89674 _this.whitespaceWithoutComments$0();
89675 children = A._setArrayType([], type$.JSArray_Statement_2);
89676 for (; true;)
89677 switch (t1.peekChar$0()) {
89678 case 36:
89679 children.push(_this.variableDeclarationWithoutNamespace$0());
89680 break;
89681 case 47:
89682 switch (t1.peekChar$1(1)) {
89683 case 47:
89684 children.push(_this._scss0$_silentComment$0());
89685 _this.whitespaceWithoutComments$0();
89686 break;
89687 case 42:
89688 children.push(_this._scss0$_loudComment$0());
89689 _this.whitespaceWithoutComments$0();
89690 break;
89691 default:
89692 children.push(child.call$0());
89693 break;
89694 }
89695 break;
89696 case 59:
89697 t1.readChar$0();
89698 _this.whitespaceWithoutComments$0();
89699 break;
89700 case 125:
89701 t1.expectChar$1(125);
89702 return children;
89703 default:
89704 children.push(child.call$0());
89705 break;
89706 }
89707 },
89708 statements$1(statement) {
89709 var t1, t2, child, _this = this,
89710 statements = A._setArrayType([], type$.JSArray_Statement_2);
89711 _this.whitespaceWithoutComments$0();
89712 for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
89713 switch (t1.peekChar$0()) {
89714 case 36:
89715 statements.push(_this.variableDeclarationWithoutNamespace$0());
89716 break;
89717 case 47:
89718 switch (t1.peekChar$1(1)) {
89719 case 47:
89720 statements.push(_this._scss0$_silentComment$0());
89721 _this.whitespaceWithoutComments$0();
89722 break;
89723 case 42:
89724 statements.push(_this._scss0$_loudComment$0());
89725 _this.whitespaceWithoutComments$0();
89726 break;
89727 default:
89728 child = statement.call$0();
89729 if (child != null)
89730 statements.push(child);
89731 break;
89732 }
89733 break;
89734 case 59:
89735 t1.readChar$0();
89736 _this.whitespaceWithoutComments$0();
89737 break;
89738 default:
89739 child = statement.call$0();
89740 if (child != null)
89741 statements.push(child);
89742 break;
89743 }
89744 return statements;
89745 },
89746 _scss0$_silentComment$0() {
89747 var t2, t3, _this = this,
89748 t1 = _this.scanner,
89749 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89750 t1.expect$1("//");
89751 t2 = t1.string.length;
89752 do {
89753 while (true) {
89754 if (t1._string_scanner$_position !== t2) {
89755 t3 = t1.readChar$0();
89756 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
89757 } else
89758 t3 = false;
89759 if (!t3)
89760 break;
89761 }
89762 if (t1._string_scanner$_position === t2)
89763 break;
89764 _this.whitespaceWithoutComments$0();
89765 } while (t1.scan$1("//"));
89766 if (_this.get$plainCss())
89767 _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
89768 return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
89769 },
89770 _scss0$_loudComment$0() {
89771 var t3, t4, buffer, t5, endPosition, t6, result,
89772 t1 = this.scanner,
89773 t2 = t1._string_scanner$_position;
89774 t1.expect$1("/*");
89775 t3 = new A.StringBuffer("");
89776 t4 = A._setArrayType([], type$.JSArray_Object);
89777 buffer = new A.InterpolationBuffer0(t3, t4);
89778 t3._contents = "" + "/*";
89779 for (; true;)
89780 switch (t1.peekChar$0()) {
89781 case 35:
89782 if (t1.peekChar$1(1) === 123) {
89783 t5 = this.singleInterpolation$0();
89784 buffer._interpolation_buffer0$_flushText$0();
89785 t4.push(t5);
89786 } else
89787 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89788 break;
89789 case 42:
89790 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89791 if (t1.peekChar$0() !== 47)
89792 break;
89793 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89794 endPosition = t1._string_scanner$_position;
89795 t5 = t1._sourceFile;
89796 t6 = new A._SpanScannerState(t1, t2).position;
89797 t1 = new A._FileSpan(t5, t6, endPosition);
89798 t1._FileSpan$3(t5, t6, endPosition);
89799 t6 = type$.Object;
89800 t5 = A.List_List$of(t4, true, t6);
89801 t2 = t3._contents;
89802 if (t2.length !== 0)
89803 t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
89804 result = A.List_List$from(t5, false, t6);
89805 result.fixed$length = Array;
89806 result.immutable$list = Array;
89807 t2 = new A.Interpolation0(result, t1);
89808 t2.Interpolation$20(t5, t1);
89809 return new A.LoudComment0(t2);
89810 case 13:
89811 t1.readChar$0();
89812 if (t1.peekChar$0() !== 10)
89813 t3._contents += A.Primitives_stringFromCharCode(10);
89814 break;
89815 case 12:
89816 t1.readChar$0();
89817 t3._contents += A.Primitives_stringFromCharCode(10);
89818 break;
89819 default:
89820 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89821 break;
89822 }
89823 }
89824 };
89825 A.Selector0.prototype = {
89826 get$isInvisible() {
89827 return false;
89828 },
89829 toString$0(_) {
89830 var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
89831 this.accept$1(visitor);
89832 return visitor._serialize0$_buffer.toString$0(0);
89833 }
89834 };
89835 A.SelectorExpression0.prototype = {
89836 accept$1$1(visitor) {
89837 return visitor.visitSelectorExpression$1(this);
89838 },
89839 accept$1(visitor) {
89840 return this.accept$1$1(visitor, type$.dynamic);
89841 },
89842 toString$0(_) {
89843 return "&";
89844 },
89845 $isExpression0: 1,
89846 $isAstNode0: 1,
89847 get$span(receiver) {
89848 return this.span;
89849 }
89850 };
89851 A._nest_closure0.prototype = {
89852 call$1($arguments) {
89853 var t1 = {},
89854 selectors = J.$index$asx($arguments, 0).get$asList();
89855 if (selectors.length === 0)
89856 throw A.wrapException(A.SassScriptException$0(string$.x24selec));
89857 t1.first = true;
89858 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();
89859 },
89860 $signature: 21
89861 };
89862 A._nest__closure1.prototype = {
89863 call$1(selector) {
89864 var t1 = this._box_0,
89865 result = selector.assertSelector$1$allowParent(!t1.first);
89866 t1.first = false;
89867 return result;
89868 },
89869 $signature: 245
89870 };
89871 A._nest__closure2.prototype = {
89872 call$2($parent, child) {
89873 return child.resolveParentSelectors$1($parent);
89874 },
89875 $signature: 246
89876 };
89877 A._append_closure1.prototype = {
89878 call$1($arguments) {
89879 var selectors = J.$index$asx($arguments, 0).get$asList();
89880 if (selectors.length === 0)
89881 throw A.wrapException(A.SassScriptException$0(string$.x24selec));
89882 return new A.MappedListIterable(selectors, new A._append__closure1(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList0>")).reduce$1(0, new A._append__closure2()).get$asSassList();
89883 },
89884 $signature: 21
89885 };
89886 A._append__closure1.prototype = {
89887 call$1(selector) {
89888 return selector.assertSelector$0();
89889 },
89890 $signature: 245
89891 };
89892 A._append__closure2.prototype = {
89893 call$2($parent, child) {
89894 var t1 = child.components;
89895 return A.SelectorList$0(new A.MappedListIterable(t1, new A._append___closure0($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"))).resolveParentSelectors$1($parent);
89896 },
89897 $signature: 246
89898 };
89899 A._append___closure0.prototype = {
89900 call$1(complex) {
89901 var newCompound, t2,
89902 t1 = complex.components,
89903 compound = B.JSArray_methods.get$first(t1);
89904 if (compound instanceof A.CompoundSelector0) {
89905 newCompound = A._prependParent0(compound);
89906 if (newCompound == null)
89907 throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
89908 t2 = A._setArrayType([newCompound], type$.JSArray_ComplexSelectorComponent_2);
89909 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
89910 return A.ComplexSelector$0(t2, false);
89911 } else
89912 throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
89913 },
89914 $signature: 120
89915 };
89916 A._extend_closure0.prototype = {
89917 call$1($arguments) {
89918 var t1 = J.getInterceptor$asx($arguments),
89919 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
89920 target = t1.$index($arguments, 1).assertSelector$1$name("extendee");
89921 return A.ExtensionStore__extendOrReplace0(selector, t1.$index($arguments, 2).assertSelector$1$name("extender"), target, B.ExtendMode_allTargets0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
89922 },
89923 $signature: 21
89924 };
89925 A._replace_closure0.prototype = {
89926 call$1($arguments) {
89927 var t1 = J.getInterceptor$asx($arguments),
89928 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
89929 target = t1.$index($arguments, 1).assertSelector$1$name("original");
89930 return A.ExtensionStore__extendOrReplace0(selector, t1.$index($arguments, 2).assertSelector$1$name("replacement"), target, B.ExtendMode_replace0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
89931 },
89932 $signature: 21
89933 };
89934 A._unify_closure0.prototype = {
89935 call$1($arguments) {
89936 var t1 = J.getInterceptor$asx($arguments),
89937 result = t1.$index($arguments, 0).assertSelector$1$name("selector1").unify$1(t1.$index($arguments, 1).assertSelector$1$name("selector2"));
89938 return result == null ? B.C__SassNull0 : result.get$asSassList();
89939 },
89940 $signature: 3
89941 };
89942 A._isSuperselector_closure0.prototype = {
89943 call$1($arguments) {
89944 var t1 = J.getInterceptor$asx($arguments),
89945 selector1 = t1.$index($arguments, 0).assertSelector$1$name("super"),
89946 selector2 = t1.$index($arguments, 1).assertSelector$1$name("sub");
89947 return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
89948 },
89949 $signature: 20
89950 };
89951 A._simpleSelectors_closure0.prototype = {
89952 call$1($arguments) {
89953 var t1 = J.$index$asx($arguments, 0).assertCompoundSelector$1$name("selector").components;
89954 return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_kWM0, false);
89955 },
89956 $signature: 21
89957 };
89958 A._simpleSelectors__closure0.prototype = {
89959 call$1(simple) {
89960 return new A.SassString0(A.serializeSelector0(simple, true), false);
89961 },
89962 $signature: 521
89963 };
89964 A._parse_closure0.prototype = {
89965 call$1($arguments) {
89966 return J.$index$asx($arguments, 0).assertSelector$1$name("selector").get$asSassList();
89967 },
89968 $signature: 21
89969 };
89970 A.SelectorParser0.prototype = {
89971 parse$0() {
89972 return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
89973 },
89974 parseCompoundSelector$0() {
89975 return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
89976 },
89977 _selector$_selectorList$0() {
89978 var t3, t4, lineBreak, _this = this,
89979 t1 = _this.scanner,
89980 t2 = t1._sourceFile,
89981 previousLine = t2.getLine$1(t1._string_scanner$_position),
89982 components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
89983 _this.whitespace$0();
89984 for (t3 = t1.string.length; t1.scanChar$1(44);) {
89985 _this.whitespace$0();
89986 if (t1.peekChar$0() === 44)
89987 continue;
89988 t4 = t1._string_scanner$_position;
89989 if (t4 === t3)
89990 break;
89991 lineBreak = t2.getLine$1(t4) !== previousLine;
89992 if (lineBreak)
89993 previousLine = t2.getLine$1(t1._string_scanner$_position);
89994 components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
89995 }
89996 return A.SelectorList$0(components);
89997 },
89998 _selector$_complexSelector$1$lineBreak(lineBreak) {
89999 var t1, next, _this = this,
90000 _s58_ = string$.x22x26__ma,
90001 components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
90002 $label0$1:
90003 for (t1 = _this.scanner; true;) {
90004 _this.whitespace$0();
90005 next = t1.peekChar$0();
90006 switch (next) {
90007 case 43:
90008 t1.readChar$0();
90009 components.push(B.Combinator_uzg0);
90010 break;
90011 case 62:
90012 t1.readChar$0();
90013 components.push(B.Combinator_sgq0);
90014 break;
90015 case 126:
90016 t1.readChar$0();
90017 components.push(B.Combinator_CzM0);
90018 break;
90019 case 91:
90020 case 46:
90021 case 35:
90022 case 37:
90023 case 58:
90024 case 38:
90025 case 42:
90026 case 124:
90027 components.push(_this._selector$_compoundSelector$0());
90028 if (t1.peekChar$0() === 38)
90029 t1.error$1(0, _s58_);
90030 break;
90031 default:
90032 if (next == null || !_this.lookingAtIdentifier$0())
90033 break $label0$1;
90034 components.push(_this._selector$_compoundSelector$0());
90035 if (t1.peekChar$0() === 38)
90036 t1.error$1(0, _s58_);
90037 break;
90038 }
90039 }
90040 if (components.length === 0)
90041 t1.error$1(0, "expected selector.");
90042 return A.ComplexSelector$0(components, lineBreak);
90043 },
90044 _selector$_complexSelector$0() {
90045 return this._selector$_complexSelector$1$lineBreak(false);
90046 },
90047 _selector$_compoundSelector$0() {
90048 var t2,
90049 components = A._setArrayType([this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2),
90050 t1 = this.scanner;
90051 while (true) {
90052 t2 = t1.peekChar$0();
90053 if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
90054 break;
90055 components.push(this._selector$_simpleSelector$1$allowParent(false));
90056 }
90057 return A.CompoundSelector$0(components);
90058 },
90059 _selector$_simpleSelector$1$allowParent(allowParent) {
90060 var $name, text, t2, suffix, _this = this,
90061 t1 = _this.scanner,
90062 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
90063 if (allowParent == null)
90064 allowParent = _this._selector$_allowParent;
90065 switch (t1.peekChar$0()) {
90066 case 91:
90067 return _this._selector$_attributeSelector$0();
90068 case 46:
90069 t1.expectChar$1(46);
90070 return new A.ClassSelector0(_this.identifier$0());
90071 case 35:
90072 t1.expectChar$1(35);
90073 return new A.IDSelector0(_this.identifier$0());
90074 case 37:
90075 t1.expectChar$1(37);
90076 $name = _this.identifier$0();
90077 if (!_this._selector$_allowPlaceholder)
90078 _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
90079 return new A.PlaceholderSelector0($name);
90080 case 58:
90081 return _this._selector$_pseudoSelector$0();
90082 case 38:
90083 t1.expectChar$1(38);
90084 if (_this.lookingAtIdentifierBody$0()) {
90085 text = new A.StringBuffer("");
90086 _this._parser0$_identifierBody$1(text);
90087 if (text._contents.length === 0)
90088 t1.error$1(0, "Expected identifier body.");
90089 t2 = text._contents;
90090 suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
90091 } else
90092 suffix = null;
90093 if (!allowParent)
90094 _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
90095 return new A.ParentSelector0(suffix);
90096 default:
90097 return _this._selector$_typeOrUniversalSelector$0();
90098 }
90099 },
90100 _selector$_simpleSelector$0() {
90101 return this._selector$_simpleSelector$1$allowParent(null);
90102 },
90103 _selector$_attributeSelector$0() {
90104 var $name, operator, next, value, modifier, _this = this, _null = null,
90105 t1 = _this.scanner;
90106 t1.expectChar$1(91);
90107 _this.whitespace$0();
90108 $name = _this._selector$_attributeName$0();
90109 _this.whitespace$0();
90110 if (t1.scanChar$1(93))
90111 return new A.AttributeSelector0($name, _null, _null, _null);
90112 operator = _this._selector$_attributeOperator$0();
90113 _this.whitespace$0();
90114 next = t1.peekChar$0();
90115 value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
90116 _this.whitespace$0();
90117 next = t1.peekChar$0();
90118 modifier = next != null && A.isAlphabetic1(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
90119 t1.expectChar$1(93);
90120 return new A.AttributeSelector0($name, operator, value, modifier);
90121 },
90122 _selector$_attributeName$0() {
90123 var nameOrNamespace, _this = this,
90124 t1 = _this.scanner;
90125 if (t1.scanChar$1(42)) {
90126 t1.expectChar$1(124);
90127 return new A.QualifiedName0(_this.identifier$0(), "*");
90128 }
90129 if (t1.scanChar$1(124))
90130 return new A.QualifiedName0(_this.identifier$0(), "");
90131 nameOrNamespace = _this.identifier$0();
90132 if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
90133 return new A.QualifiedName0(nameOrNamespace, null);
90134 t1.readChar$0();
90135 return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
90136 },
90137 _selector$_attributeOperator$0() {
90138 var t1 = this.scanner,
90139 t2 = t1._string_scanner$_position;
90140 switch (t1.readChar$0()) {
90141 case 61:
90142 return B.AttributeOperator_sEs0;
90143 case 126:
90144 t1.expectChar$1(61);
90145 return B.AttributeOperator_fz10;
90146 case 124:
90147 t1.expectChar$1(61);
90148 return B.AttributeOperator_AuK0;
90149 case 94:
90150 t1.expectChar$1(61);
90151 return B.AttributeOperator_4L50;
90152 case 36:
90153 t1.expectChar$1(61);
90154 return B.AttributeOperator_mOX0;
90155 case 42:
90156 t1.expectChar$1(61);
90157 return B.AttributeOperator_gqZ0;
90158 default:
90159 t1.error$2$position(0, 'Expected "]".', t2);
90160 }
90161 },
90162 _selector$_pseudoSelector$0() {
90163 var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
90164 t1 = _this.scanner;
90165 t1.expectChar$1(58);
90166 element = t1.scanChar$1(58);
90167 $name = _this.identifier$0();
90168 if (!t1.scanChar$1(40))
90169 return A.PseudoSelector$0($name, _null, element, _null);
90170 _this.whitespace$0();
90171 unvendored = A.unvendor0($name);
90172 if (element)
90173 if ($._selectorPseudoElements0.contains$1(0, unvendored)) {
90174 selector = _this._selector$_selectorList$0();
90175 argument = _null;
90176 } else {
90177 argument = _this.declarationValue$1$allowEmpty(true);
90178 selector = _null;
90179 }
90180 else if ($._selectorPseudoClasses0.contains$1(0, unvendored)) {
90181 selector = _this._selector$_selectorList$0();
90182 argument = _null;
90183 } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
90184 argument = _this._selector$_aNPlusB$0();
90185 _this.whitespace$0();
90186 t2 = t1.peekChar$1(-1);
90187 if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
90188 _this.expectIdentifier$1("of");
90189 argument += " of";
90190 _this.whitespace$0();
90191 selector = _this._selector$_selectorList$0();
90192 } else
90193 selector = _null;
90194 } else {
90195 argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
90196 selector = _null;
90197 }
90198 t1.expectChar$1(41);
90199 return A.PseudoSelector$0($name, argument, element, selector);
90200 },
90201 _selector$_aNPlusB$0() {
90202 var t2, first, t3, next, last, _this = this,
90203 t1 = _this.scanner;
90204 switch (t1.peekChar$0()) {
90205 case 101:
90206 case 69:
90207 _this.expectIdentifier$1("even");
90208 return "even";
90209 case 111:
90210 case 79:
90211 _this.expectIdentifier$1("odd");
90212 return "odd";
90213 case 43:
90214 case 45:
90215 t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
90216 break;
90217 default:
90218 t2 = "";
90219 }
90220 first = t1.peekChar$0();
90221 if (first != null && A.isDigit0(first)) {
90222 while (true) {
90223 t3 = t1.peekChar$0();
90224 if (!(t3 != null && t3 >= 48 && t3 <= 57))
90225 break;
90226 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
90227 }
90228 _this.whitespace$0();
90229 if (!_this.scanIdentChar$1(110))
90230 return t2.charCodeAt(0) == 0 ? t2 : t2;
90231 } else
90232 _this.expectIdentChar$1(110);
90233 t2 += A.Primitives_stringFromCharCode(110);
90234 _this.whitespace$0();
90235 next = t1.peekChar$0();
90236 if (next !== 43 && next !== 45)
90237 return t2.charCodeAt(0) == 0 ? t2 : t2;
90238 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
90239 _this.whitespace$0();
90240 last = t1.peekChar$0();
90241 if (last == null || !A.isDigit0(last))
90242 t1.error$1(0, "Expected a number.");
90243 while (true) {
90244 t3 = t1.peekChar$0();
90245 if (!(t3 != null && t3 >= 48 && t3 <= 57))
90246 break;
90247 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
90248 }
90249 return t2.charCodeAt(0) == 0 ? t2 : t2;
90250 },
90251 _selector$_typeOrUniversalSelector$0() {
90252 var nameOrNamespace, _this = this,
90253 t1 = _this.scanner,
90254 first = t1.peekChar$0();
90255 if (first === 42) {
90256 t1.readChar$0();
90257 if (!t1.scanChar$1(124))
90258 return new A.UniversalSelector0(null);
90259 if (t1.scanChar$1(42))
90260 return new A.UniversalSelector0("*");
90261 else
90262 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), "*"));
90263 } else if (first === 124) {
90264 t1.readChar$0();
90265 if (t1.scanChar$1(42))
90266 return new A.UniversalSelector0("");
90267 else
90268 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), ""));
90269 }
90270 nameOrNamespace = _this.identifier$0();
90271 if (!t1.scanChar$1(124))
90272 return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null));
90273 else if (t1.scanChar$1(42))
90274 return new A.UniversalSelector0(nameOrNamespace);
90275 else
90276 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace));
90277 }
90278 };
90279 A.SelectorParser_parse_closure0.prototype = {
90280 call$0() {
90281 var t1 = this.$this,
90282 selector = t1._selector$_selectorList$0();
90283 t1 = t1.scanner;
90284 if (t1._string_scanner$_position !== t1.string.length)
90285 t1.error$1(0, "expected selector.");
90286 return selector;
90287 },
90288 $signature: 48
90289 };
90290 A.SelectorParser_parseCompoundSelector_closure0.prototype = {
90291 call$0() {
90292 var t1 = this.$this,
90293 compound = t1._selector$_compoundSelector$0();
90294 t1 = t1.scanner;
90295 if (t1._string_scanner$_position !== t1.string.length)
90296 t1.error$1(0, "expected selector.");
90297 return compound;
90298 },
90299 $signature: 522
90300 };
90301 A.serialize_closure0.prototype = {
90302 call$1(codeUnit) {
90303 return codeUnit > 127;
90304 },
90305 $signature: 51
90306 };
90307 A._SerializeVisitor0.prototype = {
90308 visitCssStylesheet$1(node) {
90309 var t1, t2, t3, t4, t5, previous, i, child, _this = this;
90310 for (t1 = _this._serialize0$_style !== B.OutputStyle_compressed0, t2 = type$.CssComment_2, t3 = type$.CssParentNode_2, t4 = _this._serialize0$_buffer, t5 = _this._lineFeed.text, previous = null, i = 0; i < J.get$length$asx(node.get$children(node)); ++i) {
90311 child = J.$index$asx(node.get$children(node), i);
90312 if (_this._serialize0$_isInvisible$1(child))
90313 continue;
90314 if (previous != null) {
90315 if (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous))
90316 t4.writeCharCode$1(59);
90317 if (t1)
90318 t4.write$1(0, t5);
90319 if (previous.get$isGroupEnd())
90320 if (t1)
90321 t4.write$1(0, t5);
90322 }
90323 child.accept$1(_this);
90324 previous = child;
90325 }
90326 if (previous != null)
90327 t1 = (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous)) && t1;
90328 else
90329 t1 = false;
90330 if (t1)
90331 t4.writeCharCode$1(59);
90332 },
90333 visitCssComment$1(node) {
90334 this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
90335 },
90336 visitCssAtRule$1(node) {
90337 var t1, _this = this;
90338 _this._serialize0$_writeIndentation$0();
90339 t1 = _this._serialize0$_buffer;
90340 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
90341 if (!node.isChildless) {
90342 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90343 t1.writeCharCode$1(32);
90344 _this._serialize0$_visitChildren$1(node.children);
90345 }
90346 },
90347 visitCssMediaRule$1(node) {
90348 var t1, _this = this;
90349 _this._serialize0$_writeIndentation$0();
90350 t1 = _this._serialize0$_buffer;
90351 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
90352 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90353 t1.writeCharCode$1(32);
90354 _this._serialize0$_visitChildren$1(node.children);
90355 },
90356 visitCssImport$1(node) {
90357 this._serialize0$_writeIndentation$0();
90358 this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
90359 },
90360 _serialize0$_writeImportUrl$1(url) {
90361 var urlContents, maybeQuote, _this = this;
90362 if (_this._serialize0$_style !== B.OutputStyle_compressed0 || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
90363 _this._serialize0$_buffer.write$1(0, url);
90364 return;
90365 }
90366 urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
90367 maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
90368 if (maybeQuote === 39 || maybeQuote === 34)
90369 _this._serialize0$_buffer.write$1(0, urlContents);
90370 else
90371 _this._serialize0$_visitQuotedString$1(urlContents);
90372 },
90373 visitCssKeyframeBlock$1(node) {
90374 var t1, _this = this;
90375 _this._serialize0$_writeIndentation$0();
90376 t1 = _this._serialize0$_buffer;
90377 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
90378 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90379 t1.writeCharCode$1(32);
90380 _this._serialize0$_visitChildren$1(node.children);
90381 },
90382 _serialize0$_visitMediaQuery$1(query) {
90383 var t2, t3, _this = this,
90384 t1 = query.modifier;
90385 if (t1 != null) {
90386 t2 = _this._serialize0$_buffer;
90387 t2.write$1(0, t1);
90388 t2.writeCharCode$1(32);
90389 }
90390 t1 = query.type;
90391 if (t1 != null) {
90392 t2 = _this._serialize0$_buffer;
90393 t2.write$1(0, t1);
90394 if (query.features.length !== 0)
90395 t2.write$1(0, " and ");
90396 }
90397 t1 = query.features;
90398 t2 = _this._serialize0$_style === B.OutputStyle_compressed0 ? "and " : " and ";
90399 t3 = _this._serialize0$_buffer;
90400 _this._serialize0$_writeBetween$3(t1, t2, t3.get$write(t3));
90401 },
90402 visitCssStyleRule$1(node) {
90403 var t1, _this = this;
90404 _this._serialize0$_writeIndentation$0();
90405 t1 = _this._serialize0$_buffer;
90406 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
90407 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90408 t1.writeCharCode$1(32);
90409 _this._serialize0$_visitChildren$1(node.children);
90410 },
90411 visitCssSupportsRule$1(node) {
90412 var t1, _this = this;
90413 _this._serialize0$_writeIndentation$0();
90414 t1 = _this._serialize0$_buffer;
90415 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
90416 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90417 t1.writeCharCode$1(32);
90418 _this._serialize0$_visitChildren$1(node.children);
90419 },
90420 visitCssDeclaration$1(node) {
90421 var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
90422 _this._serialize0$_writeIndentation$0();
90423 t1 = node.name;
90424 _this._serialize0$_write$1(t1);
90425 t2 = _this._serialize0$_buffer;
90426 t2.writeCharCode$1(58);
90427 if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
90428 t1 = node.value;
90429 t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
90430 } else {
90431 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90432 t2.writeCharCode$1(32);
90433 try {
90434 t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
90435 } catch (exception) {
90436 t1 = A.unwrapException(exception);
90437 if (t1 instanceof A.MultiSpanSassScriptException0) {
90438 error = t1;
90439 stackTrace = A.getTraceFromException(exception);
90440 t1 = error.message;
90441 t2 = node.value;
90442 t2 = t2.get$span(t2);
90443 A.throwWithTrace0(new A.MultiSpanSassException0(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
90444 } else if (t1 instanceof A.SassScriptException0) {
90445 error0 = t1;
90446 stackTrace0 = A.getTraceFromException(exception);
90447 t1 = node.value;
90448 A.throwWithTrace0(new A.SassException0(error0.message, t1.get$span(t1)), stackTrace0);
90449 } else
90450 throw exception;
90451 }
90452 }
90453 },
90454 _serialize0$_writeFoldedValue$1(node) {
90455 var t2, next, t3,
90456 t1 = node.value,
90457 scanner = A.StringScanner$(type$.SassString_2._as(t1.get$value(t1))._string0$_text, null, null);
90458 for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
90459 next = scanner.readChar$0();
90460 if (next !== 10) {
90461 t2.writeCharCode$1(next);
90462 continue;
90463 }
90464 t2.writeCharCode$1(32);
90465 while (true) {
90466 t3 = scanner.peekChar$0();
90467 if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
90468 break;
90469 scanner.readChar$0();
90470 }
90471 }
90472 },
90473 _serialize0$_writeReindentedValue$1(node) {
90474 var _this = this,
90475 t1 = node.value,
90476 value = type$.SassString_2._as(t1.get$value(t1))._string0$_text,
90477 minimumIndentation = _this._serialize0$_minimumIndentation$1(value);
90478 if (minimumIndentation == null) {
90479 _this._serialize0$_buffer.write$1(0, value);
90480 return;
90481 } else if (minimumIndentation === -1) {
90482 t1 = _this._serialize0$_buffer;
90483 t1.write$1(0, A.trimAsciiRight0(value, true));
90484 t1.writeCharCode$1(32);
90485 return;
90486 }
90487 t1 = node.name;
90488 t1 = t1.get$span(t1);
90489 t1 = A.FileLocation$_(t1.file, t1._file$_start);
90490 _this._serialize0$_writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
90491 },
90492 _serialize0$_minimumIndentation$1(text) {
90493 var character, t2, min, next, min0,
90494 scanner = A.LineScanner$(text),
90495 t1 = scanner.string.length;
90496 while (true) {
90497 if (scanner._string_scanner$_position !== t1) {
90498 character = scanner.super$StringScanner$readChar();
90499 scanner._adjustLineAndColumn$1(character);
90500 t2 = character !== 10;
90501 } else
90502 t2 = false;
90503 if (!t2)
90504 break;
90505 }
90506 if (scanner._string_scanner$_position === t1)
90507 return scanner.peekChar$1(-1) === 10 ? -1 : null;
90508 for (min = null; scanner._string_scanner$_position !== t1;) {
90509 for (; scanner._string_scanner$_position !== t1;) {
90510 next = scanner.peekChar$0();
90511 if (next !== 32 && next !== 9)
90512 break;
90513 scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
90514 }
90515 if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
90516 continue;
90517 min0 = scanner._line_scanner$_column;
90518 min = min == null ? min0 : Math.min(min, min0);
90519 while (true) {
90520 if (scanner._string_scanner$_position !== t1) {
90521 character = scanner.super$StringScanner$readChar();
90522 scanner._adjustLineAndColumn$1(character);
90523 t2 = character !== 10;
90524 } else
90525 t2 = false;
90526 if (!t2)
90527 break;
90528 }
90529 }
90530 return min == null ? -1 : min;
90531 },
90532 _serialize0$_writeWithIndent$2(text, minimumIndentation) {
90533 var t1, t2, t3, character, lineStart, newlines, end,
90534 scanner = A.LineScanner$(text);
90535 for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
90536 character = scanner.super$StringScanner$readChar();
90537 scanner._adjustLineAndColumn$1(character);
90538 if (character === 10)
90539 break;
90540 t3.writeCharCode$1(character);
90541 }
90542 for (; true;) {
90543 lineStart = scanner._string_scanner$_position;
90544 for (newlines = 1; true;) {
90545 if (scanner._string_scanner$_position === t2) {
90546 t3.writeCharCode$1(32);
90547 return;
90548 }
90549 character = scanner.super$StringScanner$readChar();
90550 scanner._adjustLineAndColumn$1(character);
90551 if (character === 32 || character === 9)
90552 continue;
90553 if (character !== 10)
90554 break;
90555 lineStart = scanner._string_scanner$_position;
90556 ++newlines;
90557 }
90558 this._serialize0$_writeTimes$2(10, newlines);
90559 this._serialize0$_writeIndentation$0();
90560 end = scanner._string_scanner$_position;
90561 t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
90562 for (; true;) {
90563 if (scanner._string_scanner$_position === t2)
90564 return;
90565 character = scanner.super$StringScanner$readChar();
90566 scanner._adjustLineAndColumn$1(character);
90567 if (character === 10)
90568 break;
90569 t3.writeCharCode$1(character);
90570 }
90571 }
90572 },
90573 _serialize0$_writeCalculationValue$1(value) {
90574 var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
90575 if (value instanceof A.Value0)
90576 value.accept$1(_this);
90577 else if (value instanceof A.CalculationInterpolation0)
90578 _this._serialize0$_buffer.write$1(0, value.value);
90579 else if (value instanceof A.CalculationOperation0) {
90580 left = value.left;
90581 if (!(left instanceof A.CalculationInterpolation0))
90582 parenthesizeLeft = left instanceof A.CalculationOperation0 && left.operator.precedence < value.operator.precedence;
90583 else
90584 parenthesizeLeft = true;
90585 if (parenthesizeLeft)
90586 _this._serialize0$_buffer.writeCharCode$1(40);
90587 _this._serialize0$_writeCalculationValue$1(left);
90588 if (parenthesizeLeft)
90589 _this._serialize0$_buffer.writeCharCode$1(41);
90590 operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_compressed0 || value.operator.precedence === 1;
90591 if (operatorWhitespace)
90592 _this._serialize0$_buffer.writeCharCode$1(32);
90593 t1 = _this._serialize0$_buffer;
90594 t2 = value.operator;
90595 t1.write$1(0, t2.operator);
90596 if (operatorWhitespace)
90597 t1.writeCharCode$1(32);
90598 right = value.right;
90599 if (!(right instanceof A.CalculationInterpolation0))
90600 parenthesizeRight = right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(t2, right.operator);
90601 else
90602 parenthesizeRight = true;
90603 if (parenthesizeRight)
90604 t1.writeCharCode$1(40);
90605 _this._serialize0$_writeCalculationValue$1(right);
90606 if (parenthesizeRight)
90607 t1.writeCharCode$1(41);
90608 }
90609 },
90610 _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
90611 if (outer === B.CalculationOperator_jB60)
90612 return true;
90613 if (outer === B.CalculationOperator_Iem0)
90614 return false;
90615 return right === B.CalculationOperator_Iem0 || right === B.CalculationOperator_uti0;
90616 },
90617 _serialize0$_writeRgb$1(value) {
90618 var t3,
90619 t1 = value._color1$_alpha,
90620 opaque = Math.abs(t1 - 1) < $.$get$epsilon0(),
90621 t2 = this._serialize0$_buffer;
90622 t2.write$1(0, opaque ? "rgb(" : "rgba(");
90623 t2.write$1(0, value.get$red(value));
90624 t3 = this._serialize0$_style === B.OutputStyle_compressed0;
90625 t2.write$1(0, t3 ? "," : ", ");
90626 t2.write$1(0, value.get$green(value));
90627 t2.write$1(0, t3 ? "," : ", ");
90628 t2.write$1(0, value.get$blue(value));
90629 if (!opaque) {
90630 t2.write$1(0, t3 ? "," : ", ");
90631 this._serialize0$_writeNumber$1(t1);
90632 }
90633 t2.writeCharCode$1(41);
90634 },
90635 _serialize0$_canUseShortHex$1(color) {
90636 var t1 = color.get$red(color);
90637 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
90638 t1 = color.get$green(color);
90639 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
90640 t1 = color.get$blue(color);
90641 t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
90642 } else
90643 t1 = false;
90644 } else
90645 t1 = false;
90646 return t1;
90647 },
90648 _serialize0$_writeHexComponent$1(color) {
90649 var t1 = this._serialize0$_buffer;
90650 t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
90651 t1.writeCharCode$1(A.hexCharFor0(color & 15));
90652 },
90653 visitList$1(value) {
90654 var t2, t3, singleton, t4, t5, _this = this,
90655 t1 = value._list1$_hasBrackets;
90656 if (t1)
90657 _this._serialize0$_buffer.writeCharCode$1(91);
90658 else if (value._list1$_contents.length === 0) {
90659 if (!_this._serialize0$_inspect)
90660 throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value."));
90661 _this._serialize0$_buffer.write$1(0, "()");
90662 return;
90663 }
90664 t2 = _this._serialize0$_inspect;
90665 if (t2)
90666 if (value._list1$_contents.length === 1) {
90667 t3 = value._list1$_separator;
90668 t3 = t3 === B.ListSeparator_kWM0 || t3 === B.ListSeparator_1gm0;
90669 singleton = t3;
90670 } else
90671 singleton = false;
90672 else
90673 singleton = false;
90674 if (singleton && !t1)
90675 _this._serialize0$_buffer.writeCharCode$1(40);
90676 t3 = value._list1$_contents;
90677 t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
90678 t4 = value._list1$_separator;
90679 t5 = _this._serialize0$_separatorString$1(t4);
90680 _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
90681 if (singleton) {
90682 t2 = _this._serialize0$_buffer;
90683 t2.write$1(0, t4.separator);
90684 if (!t1)
90685 t2.writeCharCode$1(41);
90686 }
90687 if (t1)
90688 _this._serialize0$_buffer.writeCharCode$1(93);
90689 },
90690 _serialize0$_separatorString$1(separator) {
90691 switch (separator) {
90692 case B.ListSeparator_kWM0:
90693 return this._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ";
90694 case B.ListSeparator_1gm0:
90695 return this._serialize0$_style === B.OutputStyle_compressed0 ? "/" : " / ";
90696 case B.ListSeparator_woc0:
90697 return " ";
90698 default:
90699 return "";
90700 }
90701 },
90702 _serialize0$_elementNeedsParens$2(separator, value) {
90703 var t1;
90704 if (value instanceof A.SassList0) {
90705 if (value._list1$_contents.length < 2)
90706 return false;
90707 if (value._list1$_hasBrackets)
90708 return false;
90709 switch (separator) {
90710 case B.ListSeparator_kWM0:
90711 return value._list1$_separator === B.ListSeparator_kWM0;
90712 case B.ListSeparator_1gm0:
90713 t1 = value._list1$_separator;
90714 return t1 === B.ListSeparator_kWM0 || t1 === B.ListSeparator_1gm0;
90715 default:
90716 return value._list1$_separator !== B.ListSeparator_undecided_null0;
90717 }
90718 }
90719 return false;
90720 },
90721 visitMap$1(map) {
90722 var t1, t2, _this = this;
90723 if (!_this._serialize0$_inspect)
90724 throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value."));
90725 t1 = _this._serialize0$_buffer;
90726 t1.writeCharCode$1(40);
90727 t2 = map._map0$_contents;
90728 _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
90729 t1.writeCharCode$1(41);
90730 },
90731 _serialize0$_writeMapElement$1(value) {
90732 var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_kWM0 && !value._list1$_hasBrackets;
90733 if (needsParens)
90734 this._serialize0$_buffer.writeCharCode$1(40);
90735 value.accept$1(this);
90736 if (needsParens)
90737 this._serialize0$_buffer.writeCharCode$1(41);
90738 },
90739 visitNumber$1(value) {
90740 var _this = this,
90741 asSlash = value.asSlash;
90742 if (asSlash != null) {
90743 _this.visitNumber$1(asSlash.item1);
90744 _this._serialize0$_buffer.writeCharCode$1(47);
90745 _this.visitNumber$1(asSlash.item2);
90746 return;
90747 }
90748 _this._serialize0$_writeNumber$1(value._number1$_value);
90749 if (!_this._serialize0$_inspect) {
90750 if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
90751 throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value."));
90752 if (value.get$numeratorUnits(value).length !== 0)
90753 _this._serialize0$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
90754 } else
90755 _this._serialize0$_buffer.write$1(0, value.get$unitString());
90756 },
90757 _serialize0$_writeNumber$1(number) {
90758 var text, _this = this,
90759 integer = A.fuzzyIsInt0(number) ? B.JSNumber_methods.round$0(number) : null;
90760 if (integer != null) {
90761 _this._serialize0$_buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(integer)));
90762 return;
90763 }
90764 text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
90765 if (text.length < 12) {
90766 if (_this._serialize0$_style === B.OutputStyle_compressed0 && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
90767 text = B.JSString_methods.substring$1(text, 1);
90768 _this._serialize0$_buffer.write$1(0, text);
90769 return;
90770 }
90771 _this._serialize0$_writeRounded$1(text);
90772 },
90773 _serialize0$_removeExponent$1(text) {
90774 var buffer, t3, additionalZeroes,
90775 t1 = B.JSString_methods._codeUnitAt$1(text, 0),
90776 negative = t1 === 45,
90777 exponent = A._Cell$(),
90778 t2 = text.length,
90779 i = 0;
90780 while (true) {
90781 if (!(i < t2)) {
90782 buffer = null;
90783 break;
90784 }
90785 c$0: {
90786 if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
90787 break c$0;
90788 buffer = new A.StringBuffer("");
90789 t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
90790 if (negative) {
90791 t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
90792 buffer._contents = t1;
90793 if (i > 3)
90794 buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
90795 } else if (i > 2)
90796 buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
90797 exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
90798 break;
90799 }
90800 ++i;
90801 }
90802 if (buffer == null)
90803 return text;
90804 if (exponent._readLocal$0() > 0) {
90805 t1 = exponent._readLocal$0();
90806 t2 = buffer._contents;
90807 t3 = negative ? 1 : 0;
90808 additionalZeroes = t1 - (t2.length - 1 - t3);
90809 for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
90810 t1 += A.Primitives_stringFromCharCode(48);
90811 buffer._contents = t1;
90812 }
90813 return t1.charCodeAt(0) == 0 ? t1 : t1;
90814 } else {
90815 t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
90816 t2 = exponent.__late_helper$_name;
90817 i = -1;
90818 while (true) {
90819 t3 = exponent._value;
90820 if (t3 === exponent)
90821 A.throwExpression(A.LateError$localNI(t2));
90822 if (!(i > t3))
90823 break;
90824 t1 += A.Primitives_stringFromCharCode(48);
90825 --i;
90826 }
90827 if (negative) {
90828 t2 = buffer._contents;
90829 t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
90830 } else
90831 t2 = buffer;
90832 t2 = t1 + A.S(t2);
90833 return t2.charCodeAt(0) == 0 ? t2 : t2;
90834 }
90835 },
90836 _serialize0$_writeRounded$1(text) {
90837 var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
90838 if (B.JSString_methods.endsWith$1(text, ".0")) {
90839 _this._serialize0$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
90840 return;
90841 }
90842 t1 = text.length;
90843 digits = new Uint8Array(t1 + 1);
90844 negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
90845 textIndex = negative ? 1 : 0;
90846 for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
90847 if (textIndex === t1) {
90848 _this._serialize0$_buffer.write$1(0, text);
90849 return;
90850 }
90851 textIndex0 = textIndex + 1;
90852 codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
90853 if (codeUnit === 46) {
90854 textIndex = textIndex0;
90855 break;
90856 }
90857 digitsIndex0 = digitsIndex + 1;
90858 digits[digitsIndex] = codeUnit - 48;
90859 }
90860 indexAfterPrecision = textIndex + 10;
90861 if (indexAfterPrecision >= t1) {
90862 _this._serialize0$_buffer.write$1(0, text);
90863 return;
90864 }
90865 for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
90866 digitsIndex1 = digitsIndex0 + 1;
90867 textIndex0 = textIndex + 1;
90868 digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
90869 }
90870 if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
90871 for (; true; digitsIndex0 = digitsIndex1) {
90872 digitsIndex1 = digitsIndex0 - 1;
90873 newDigit = digits[digitsIndex1] + 1;
90874 digits[digitsIndex1] = newDigit;
90875 if (newDigit !== 10)
90876 break;
90877 }
90878 for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
90879 digits[digitsIndex0] = 0;
90880 while (true) {
90881 t1 = digitsIndex0 > digitsIndex;
90882 if (!(t1 && digits[digitsIndex0 - 1] === 0))
90883 break;
90884 --digitsIndex0;
90885 }
90886 if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
90887 _this._serialize0$_buffer.writeCharCode$1(48);
90888 return;
90889 }
90890 if (negative)
90891 _this._serialize0$_buffer.writeCharCode$1(45);
90892 if (digits[0] === 0)
90893 writtenIndex = _this._serialize0$_style === B.OutputStyle_compressed0 && digits[1] === 0 ? 2 : 1;
90894 else
90895 writtenIndex = 0;
90896 for (t2 = _this._serialize0$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
90897 t2.writeCharCode$1(48 + digits[writtenIndex]);
90898 if (t1) {
90899 t2.writeCharCode$1(46);
90900 for (; writtenIndex < digitsIndex0; ++writtenIndex)
90901 t2.writeCharCode$1(48 + digits[writtenIndex]);
90902 }
90903 },
90904 _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
90905 var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
90906 buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
90907 if (forceDoubleQuote)
90908 buffer.writeCharCode$1(34);
90909 for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
90910 char = B.JSString_methods._codeUnitAt$1(string, i);
90911 switch (char) {
90912 case 39:
90913 if (forceDoubleQuote)
90914 buffer.writeCharCode$1(39);
90915 else {
90916 if (includesDoubleQuote) {
90917 _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
90918 return;
90919 } else
90920 buffer.writeCharCode$1(39);
90921 includesSingleQuote = true;
90922 }
90923 break;
90924 case 34:
90925 if (forceDoubleQuote) {
90926 buffer.writeCharCode$1(92);
90927 buffer.writeCharCode$1(34);
90928 } else {
90929 if (includesSingleQuote) {
90930 _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
90931 return;
90932 } else
90933 buffer.writeCharCode$1(34);
90934 includesDoubleQuote = true;
90935 }
90936 break;
90937 case 0:
90938 case 1:
90939 case 2:
90940 case 3:
90941 case 4:
90942 case 5:
90943 case 6:
90944 case 7:
90945 case 8:
90946 case 10:
90947 case 11:
90948 case 12:
90949 case 13:
90950 case 14:
90951 case 15:
90952 case 16:
90953 case 17:
90954 case 18:
90955 case 19:
90956 case 20:
90957 case 21:
90958 case 22:
90959 case 23:
90960 case 24:
90961 case 25:
90962 case 26:
90963 case 27:
90964 case 28:
90965 case 29:
90966 case 30:
90967 case 31:
90968 _this._serialize0$_writeEscape$4(buffer, char, string, i);
90969 break;
90970 case 92:
90971 buffer.writeCharCode$1(92);
90972 buffer.writeCharCode$1(92);
90973 break;
90974 default:
90975 newIndex = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
90976 if (newIndex != null) {
90977 i = newIndex;
90978 break;
90979 }
90980 buffer.writeCharCode$1(char);
90981 break;
90982 }
90983 }
90984 if (forceDoubleQuote)
90985 buffer.writeCharCode$1(34);
90986 else {
90987 quote = includesDoubleQuote ? 39 : 34;
90988 t1 = _this._serialize0$_buffer;
90989 t1.writeCharCode$1(quote);
90990 t1.write$1(0, buffer);
90991 t1.writeCharCode$1(quote);
90992 }
90993 },
90994 _serialize0$_visitQuotedString$1(string) {
90995 return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
90996 },
90997 _serialize0$_visitUnquotedString$1(string) {
90998 var t1, t2, afterNewline, i, char, newIndex;
90999 for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
91000 char = B.JSString_methods._codeUnitAt$1(string, i);
91001 switch (char) {
91002 case 10:
91003 t2.writeCharCode$1(32);
91004 afterNewline = true;
91005 break;
91006 case 32:
91007 if (!afterNewline)
91008 t2.writeCharCode$1(32);
91009 break;
91010 default:
91011 newIndex = this._serialize0$_tryPrivateUseCharacter$4(t2, char, string, i);
91012 if (newIndex != null) {
91013 i = newIndex;
91014 afterNewline = false;
91015 break;
91016 }
91017 t2.writeCharCode$1(char);
91018 afterNewline = false;
91019 break;
91020 }
91021 }
91022 },
91023 _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
91024 var t1;
91025 if (this._serialize0$_style === B.OutputStyle_compressed0)
91026 return null;
91027 if (codeUnit >= 57344 && codeUnit <= 63743) {
91028 this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
91029 return i;
91030 }
91031 if (codeUnit >>> 7 === 439 && string.length > i + 1) {
91032 t1 = i + 1;
91033 this._serialize0$_writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
91034 return t1;
91035 }
91036 return null;
91037 },
91038 _serialize0$_writeEscape$4(buffer, character, string, i) {
91039 var t1, next;
91040 buffer.writeCharCode$1(92);
91041 buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
91042 t1 = i + 1;
91043 if (string.length === t1)
91044 return;
91045 next = B.JSString_methods._codeUnitAt$1(string, t1);
91046 if (A.isHex0(next) || next === 32 || next === 9)
91047 buffer.writeCharCode$1(32);
91048 },
91049 visitComplexSelector$1(complex) {
91050 var t1, t2, t3, t4, lastComponent, _i, component, t5;
91051 for (t1 = complex.components, t2 = t1.length, t3 = this._serialize0$_buffer, t4 = this._serialize0$_style === B.OutputStyle_compressed0, lastComponent = null, _i = 0; _i < t2; ++_i, lastComponent = component) {
91052 component = t1[_i];
91053 if (lastComponent != null)
91054 if (!(t4 && lastComponent instanceof A.Combinator0))
91055 t5 = !(t4 && component instanceof A.Combinator0);
91056 else
91057 t5 = false;
91058 else
91059 t5 = false;
91060 if (t5)
91061 t3.write$1(0, " ");
91062 if (component instanceof A.CompoundSelector0)
91063 this.visitCompoundSelector$1(component);
91064 else
91065 t3.write$1(0, component);
91066 }
91067 },
91068 visitCompoundSelector$1(compound) {
91069 var t2, t3, _i,
91070 t1 = this._serialize0$_buffer,
91071 start = t1.get$length(t1);
91072 for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
91073 t2[_i].accept$1(this);
91074 if (t1.get$length(t1) === start)
91075 t1.writeCharCode$1(42);
91076 },
91077 visitSelectorList$1(list) {
91078 var t1, t2, t3, t4, first, t5, _this = this,
91079 complexes = list.components;
91080 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_compressed0, t3 = _this._serialize0$_buffer, t4 = _this._lineFeed.text, first = true; t1.moveNext$0();) {
91081 t5 = t1.get$current(t1);
91082 if (first)
91083 first = false;
91084 else {
91085 t3.writeCharCode$1(44);
91086 if (t5.lineBreak) {
91087 if (t2)
91088 t3.write$1(0, t4);
91089 } else if (t2)
91090 t3.writeCharCode$1(32);
91091 }
91092 _this.visitComplexSelector$1(t5);
91093 }
91094 },
91095 visitPseudoSelector$1(pseudo) {
91096 var t3, t4, t5,
91097 innerSelector = pseudo.selector,
91098 t1 = innerSelector == null,
91099 t2 = !t1;
91100 if (t2 && pseudo.name === "not" && innerSelector.get$isInvisible())
91101 return;
91102 t3 = this._serialize0$_buffer;
91103 t3.writeCharCode$1(58);
91104 if (!pseudo.isSyntacticClass)
91105 t3.writeCharCode$1(58);
91106 t3.write$1(0, pseudo.name);
91107 t4 = pseudo.argument;
91108 t5 = t4 == null;
91109 if (t5 && t1)
91110 return;
91111 t3.writeCharCode$1(40);
91112 if (!t5) {
91113 t3.write$1(0, t4);
91114 if (t2)
91115 t3.writeCharCode$1(32);
91116 }
91117 if (t2)
91118 this.visitSelectorList$1(innerSelector);
91119 t3.writeCharCode$1(41);
91120 },
91121 _serialize0$_write$1(value) {
91122 return this._serialize0$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure0(this, value));
91123 },
91124 _serialize0$_visitChildren$1(children) {
91125 var _this = this, t1 = {},
91126 t2 = _this._serialize0$_buffer;
91127 t2.writeCharCode$1(123);
91128 if (children.every$1(children, _this.get$_serialize0$_isInvisible())) {
91129 t2.writeCharCode$1(125);
91130 return;
91131 }
91132 _this._serialize0$_writeLineFeed$0();
91133 t1.previous_ = null;
91134 ++_this._serialize0$_indentation;
91135 new A._SerializeVisitor__visitChildren_closure0(t1, _this, children).call$0();
91136 --_this._serialize0$_indentation;
91137 t1 = t1.previous_;
91138 t1.toString;
91139 if ((type$.CssParentNode_2._is(t1) ? t1.get$isChildless() : !type$.CssComment_2._is(t1)) && _this._serialize0$_style !== B.OutputStyle_compressed0)
91140 t2.writeCharCode$1(59);
91141 _this._serialize0$_writeLineFeed$0();
91142 _this._serialize0$_writeIndentation$0();
91143 t2.writeCharCode$1(125);
91144 },
91145 _serialize0$_writeLineFeed$0() {
91146 if (this._serialize0$_style !== B.OutputStyle_compressed0)
91147 this._serialize0$_buffer.write$1(0, this._lineFeed.text);
91148 },
91149 _serialize0$_writeIndentation$0() {
91150 var _this = this;
91151 if (_this._serialize0$_style === B.OutputStyle_compressed0)
91152 return;
91153 _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
91154 },
91155 _serialize0$_writeTimes$2(char, times) {
91156 var t1, i;
91157 for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
91158 t1.writeCharCode$1(char);
91159 },
91160 _serialize0$_writeBetween$1$3(iterable, text, callback) {
91161 var t1, t2, first, value;
91162 for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
91163 value = t1.get$current(t1);
91164 if (first)
91165 first = false;
91166 else
91167 t2.write$1(0, text);
91168 callback.call$1(value);
91169 }
91170 },
91171 _serialize0$_writeBetween$3(iterable, text, callback) {
91172 return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
91173 },
91174 _serialize0$_isInvisible$1(node) {
91175 if (this._serialize0$_inspect)
91176 return false;
91177 if (this._serialize0$_style === B.OutputStyle_compressed0 && type$.CssComment_2._is(node) && B.JSString_methods._codeUnitAt$1(node.text, 2) !== 33)
91178 return true;
91179 if (type$.CssParentNode_2._is(node)) {
91180 if (type$.CssAtRule_2._is(node))
91181 return false;
91182 if (type$.CssStyleRule_2._is(node) && node.selector.value.get$isInvisible())
91183 return true;
91184 return J.every$1$ax(node.get$children(node), this.get$_serialize0$_isInvisible());
91185 } else
91186 return false;
91187 }
91188 };
91189 A._SerializeVisitor_visitCssComment_closure0.prototype = {
91190 call$0() {
91191 var t2, t3, minimumIndentation,
91192 t1 = this.$this;
91193 if (t1._serialize0$_style === B.OutputStyle_compressed0 && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
91194 return;
91195 t2 = this.node;
91196 t3 = t2.text;
91197 minimumIndentation = t1._serialize0$_minimumIndentation$1(t3);
91198 if (minimumIndentation == null) {
91199 t1._serialize0$_writeIndentation$0();
91200 t1._serialize0$_buffer.write$1(0, t3);
91201 return;
91202 }
91203 t2 = t2.span;
91204 t2 = A.FileLocation$_(t2.file, t2._file$_start);
91205 minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
91206 t1._serialize0$_writeIndentation$0();
91207 t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
91208 },
91209 $signature: 1
91210 };
91211 A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
91212 call$0() {
91213 var t3, value,
91214 t1 = this.$this,
91215 t2 = t1._serialize0$_buffer;
91216 t2.writeCharCode$1(64);
91217 t3 = this.node;
91218 t1._serialize0$_write$1(t3.name);
91219 value = t3.value;
91220 if (value != null) {
91221 t2.writeCharCode$1(32);
91222 t1._serialize0$_write$1(value);
91223 }
91224 },
91225 $signature: 1
91226 };
91227 A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
91228 call$0() {
91229 var t3, t4,
91230 t1 = this.$this,
91231 t2 = t1._serialize0$_buffer;
91232 t2.write$1(0, "@media");
91233 t3 = t1._serialize0$_style === B.OutputStyle_compressed0;
91234 if (t3) {
91235 t4 = B.JSArray_methods.get$first(this.node.queries);
91236 t4 = !(t4.modifier == null && t4.type == null);
91237 } else
91238 t4 = true;
91239 if (t4)
91240 t2.writeCharCode$1(32);
91241 t2 = t3 ? "," : ", ";
91242 t1._serialize0$_writeBetween$3(this.node.queries, t2, t1.get$_serialize0$_visitMediaQuery());
91243 },
91244 $signature: 1
91245 };
91246 A._SerializeVisitor_visitCssImport_closure0.prototype = {
91247 call$0() {
91248 var t3, t4, t5, t6, supports, media,
91249 t1 = this.$this,
91250 t2 = t1._serialize0$_buffer;
91251 t2.write$1(0, "@import");
91252 t3 = t1._serialize0$_style === B.OutputStyle_compressed0;
91253 t4 = !t3;
91254 if (t4)
91255 t2.writeCharCode$1(32);
91256 t5 = this.node;
91257 t6 = t5.url;
91258 t2.forSpan$2(t6.get$span(t6), new A._SerializeVisitor_visitCssImport__closure0(t1, t5));
91259 supports = t5.supports;
91260 if (supports != null) {
91261 if (t4)
91262 t2.writeCharCode$1(32);
91263 t1._serialize0$_write$1(supports);
91264 }
91265 media = t5.media;
91266 if (media != null) {
91267 if (t4)
91268 t2.writeCharCode$1(32);
91269 t2 = t3 ? "," : ", ";
91270 t1._serialize0$_writeBetween$3(media, t2, t1.get$_serialize0$_visitMediaQuery());
91271 }
91272 },
91273 $signature: 1
91274 };
91275 A._SerializeVisitor_visitCssImport__closure0.prototype = {
91276 call$0() {
91277 var t1 = this.node.url;
91278 return this.$this._serialize0$_writeImportUrl$1(t1.get$value(t1));
91279 },
91280 $signature: 0
91281 };
91282 A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
91283 call$0() {
91284 var t1 = this.$this,
91285 t2 = t1._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ",
91286 t3 = t1._serialize0$_buffer;
91287 return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
91288 },
91289 $signature: 0
91290 };
91291 A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
91292 call$0() {
91293 return this.$this.visitSelectorList$1(this.node.selector.value);
91294 },
91295 $signature: 0
91296 };
91297 A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
91298 call$0() {
91299 var t1 = this.$this,
91300 t2 = t1._serialize0$_buffer;
91301 t2.write$1(0, "@supports");
91302 if (!(t1._serialize0$_style === B.OutputStyle_compressed0 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
91303 t2.writeCharCode$1(32);
91304 t1._serialize0$_write$1(this.node.condition);
91305 },
91306 $signature: 1
91307 };
91308 A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
91309 call$0() {
91310 var t1 = this.$this,
91311 t2 = this.node;
91312 if (t1._serialize0$_style === B.OutputStyle_compressed0)
91313 t1._serialize0$_writeFoldedValue$1(t2);
91314 else
91315 t1._serialize0$_writeReindentedValue$1(t2);
91316 },
91317 $signature: 1
91318 };
91319 A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
91320 call$0() {
91321 var t1 = this.node.value;
91322 return t1.get$value(t1).accept$1(this.$this);
91323 },
91324 $signature: 0
91325 };
91326 A._SerializeVisitor_visitList_closure2.prototype = {
91327 call$1(element) {
91328 return !element.get$isBlank();
91329 },
91330 $signature: 47
91331 };
91332 A._SerializeVisitor_visitList_closure3.prototype = {
91333 call$1(element) {
91334 var t1 = this.$this,
91335 needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
91336 if (needsParens)
91337 t1._serialize0$_buffer.writeCharCode$1(40);
91338 element.accept$1(t1);
91339 if (needsParens)
91340 t1._serialize0$_buffer.writeCharCode$1(41);
91341 },
91342 $signature: 58
91343 };
91344 A._SerializeVisitor_visitList_closure4.prototype = {
91345 call$1(element) {
91346 element.accept$1(this.$this);
91347 },
91348 $signature: 58
91349 };
91350 A._SerializeVisitor_visitMap_closure0.prototype = {
91351 call$1(entry) {
91352 var t1 = this.$this;
91353 t1._serialize0$_writeMapElement$1(entry.key);
91354 t1._serialize0$_buffer.write$1(0, ": ");
91355 t1._serialize0$_writeMapElement$1(entry.value);
91356 },
91357 $signature: 524
91358 };
91359 A._SerializeVisitor_visitSelectorList_closure0.prototype = {
91360 call$1(complex) {
91361 return !complex.get$isInvisible();
91362 },
91363 $signature: 17
91364 };
91365 A._SerializeVisitor__write_closure0.prototype = {
91366 call$0() {
91367 var t1 = this.value;
91368 return this.$this._serialize0$_buffer.write$1(0, t1.get$value(t1));
91369 },
91370 $signature: 0
91371 };
91372 A._SerializeVisitor__visitChildren_closure0.prototype = {
91373 call$0() {
91374 var t1, t2, t3, t4, t5, t6, t7, t8, i, child, previous, t9;
91375 for (t1 = this.children._collection$_source, t2 = J.getInterceptor$asx(t1), t3 = this._box_0, t4 = this.$this, t5 = type$.CssComment_2, t6 = type$.CssParentNode_2, t7 = t4._serialize0$_buffer, t8 = t4._lineFeed.text, i = 0; i < t2.get$length(t1); ++i) {
91376 child = t2.elementAt$1(t1, i);
91377 if (t4._serialize0$_isInvisible$1(child))
91378 continue;
91379 previous = t3.previous_;
91380 if (previous != null) {
91381 if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
91382 t7.writeCharCode$1(59);
91383 t9 = t4._serialize0$_style !== B.OutputStyle_compressed0;
91384 if (t9)
91385 t7.write$1(0, t8);
91386 if (previous.get$isGroupEnd())
91387 if (t9)
91388 t7.write$1(0, t8);
91389 }
91390 t3.previous_ = child;
91391 child.accept$1(t4);
91392 }
91393 },
91394 $signature: 0
91395 };
91396 A.OutputStyle0.prototype = {
91397 toString$0(_) {
91398 return this._serialize0$_name;
91399 }
91400 };
91401 A.LineFeed0.prototype = {
91402 toString$0(_) {
91403 return this.name;
91404 }
91405 };
91406 A.SerializeResult0.prototype = {};
91407 A.ShadowedModuleView0.prototype = {
91408 get$url(_) {
91409 var t1 = this._shadowed_view0$_inner;
91410 return t1.get$url(t1);
91411 },
91412 get$upstream() {
91413 return this._shadowed_view0$_inner.get$upstream();
91414 },
91415 get$extensionStore() {
91416 return this._shadowed_view0$_inner.get$extensionStore();
91417 },
91418 get$css(_) {
91419 var t1 = this._shadowed_view0$_inner;
91420 return t1.get$css(t1);
91421 },
91422 get$transitivelyContainsCss() {
91423 return this._shadowed_view0$_inner.get$transitivelyContainsCss();
91424 },
91425 get$transitivelyContainsExtensions() {
91426 return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
91427 },
91428 setVariable$3($name, value, nodeWithSpan) {
91429 if (!this.variables.containsKey$1($name))
91430 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
91431 else
91432 return this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
91433 },
91434 variableIdentity$1($name) {
91435 return this._shadowed_view0$_inner.variableIdentity$1($name);
91436 },
91437 $eq(_, other) {
91438 var t1, t2, _this = this;
91439 if (other == null)
91440 return false;
91441 if (other instanceof A.ShadowedModuleView0)
91442 if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
91443 t1 = _this.variables;
91444 t1 = t1.get$keys(t1);
91445 t2 = other.variables;
91446 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
91447 t1 = _this.functions;
91448 t1 = t1.get$keys(t1);
91449 t2 = other.functions;
91450 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
91451 t1 = _this.mixins;
91452 t1 = t1.get$keys(t1);
91453 t2 = other.mixins;
91454 t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
91455 t1 = t2;
91456 } else
91457 t1 = false;
91458 } else
91459 t1 = false;
91460 } else
91461 t1 = false;
91462 else
91463 t1 = false;
91464 return t1;
91465 },
91466 get$hashCode(_) {
91467 var t1 = this._shadowed_view0$_inner;
91468 return t1.get$hashCode(t1);
91469 },
91470 cloneCss$0() {
91471 var _this = this;
91472 return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
91473 },
91474 toString$0(_) {
91475 return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
91476 },
91477 $isModule0: 1,
91478 get$variables() {
91479 return this.variables;
91480 },
91481 get$variableNodes() {
91482 return this.variableNodes;
91483 },
91484 get$functions(receiver) {
91485 return this.functions;
91486 },
91487 get$mixins() {
91488 return this.mixins;
91489 }
91490 };
91491 A.SilentComment0.prototype = {
91492 accept$1$1(visitor) {
91493 return visitor.visitSilentComment$1(this);
91494 },
91495 accept$1(visitor) {
91496 return this.accept$1$1(visitor, type$.dynamic);
91497 },
91498 toString$0(_) {
91499 return this.text;
91500 },
91501 $isAstNode0: 1,
91502 $isStatement0: 1,
91503 get$span(receiver) {
91504 return this.span;
91505 }
91506 };
91507 A.SimpleSelector0.prototype = {
91508 get$minSpecificity() {
91509 return 1000;
91510 },
91511 get$maxSpecificity() {
91512 return this.get$minSpecificity();
91513 },
91514 addSuffix$1(suffix) {
91515 return A.throwExpression(A.SassScriptException$0('Invalid parent selector "' + this.toString$0(0) + '"'));
91516 },
91517 unify$1(compound) {
91518 var other, t1, result, addedThis, _i, simple, _this = this;
91519 if (compound.length === 1) {
91520 other = B.JSArray_methods.get$first(compound);
91521 if (!(other instanceof A.UniversalSelector0))
91522 if (other instanceof A.PseudoSelector0)
91523 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
91524 else
91525 t1 = false;
91526 else
91527 t1 = true;
91528 if (t1)
91529 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
91530 }
91531 if (B.JSArray_methods.contains$1(compound, _this))
91532 return compound;
91533 result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
91534 for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
91535 simple = compound[_i];
91536 if (!addedThis && simple instanceof A.PseudoSelector0) {
91537 result.push(_this);
91538 addedThis = true;
91539 }
91540 result.push(simple);
91541 }
91542 if (!addedThis)
91543 result.push(_this);
91544 return result;
91545 }
91546 };
91547 A.SingleUnitSassNumber0.prototype = {
91548 get$numeratorUnits(_) {
91549 return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
91550 },
91551 get$denominatorUnits(_) {
91552 return B.List_empty;
91553 },
91554 get$hasUnits() {
91555 return true;
91556 },
91557 withValue$1(value) {
91558 return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
91559 },
91560 withSlash$2(numerator, denominator) {
91561 return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
91562 },
91563 hasUnit$1(unit) {
91564 return unit === this._single_unit$_unit;
91565 },
91566 hasCompatibleUnits$1(other) {
91567 return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
91568 },
91569 hasPossiblyCompatibleUnits$1(other) {
91570 var t1, knownCompatibilities, otherUnit;
91571 if (!(other instanceof A.SingleUnitSassNumber0))
91572 return false;
91573 t1 = $.$get$_knownCompatibilitiesByUnit0();
91574 knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
91575 if (knownCompatibilities == null)
91576 return true;
91577 otherUnit = other._single_unit$_unit.toLowerCase();
91578 return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
91579 },
91580 compatibleWithUnit$1(unit) {
91581 return A.conversionFactor0(this._single_unit$_unit, unit) != null;
91582 },
91583 coerceToMatch$3(other, $name, otherName) {
91584 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
91585 return t1 == null ? this.super$SassNumber$coerceToMatch(other, $name, otherName) : t1;
91586 },
91587 coerceValueToMatch$3(other, $name, otherName) {
91588 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
91589 return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
91590 },
91591 coerceValueToMatch$1(other) {
91592 return this.coerceValueToMatch$3(other, null, null);
91593 },
91594 convertToMatch$3(other, $name, otherName) {
91595 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
91596 return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
91597 },
91598 convertValueToMatch$3(other, $name, otherName) {
91599 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
91600 return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
91601 },
91602 coerce$3(newNumerators, newDenominators, $name) {
91603 var t1 = J.getInterceptor$asx(newNumerators);
91604 t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
91605 return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
91606 },
91607 coerce$2(newNumerators, newDenominators) {
91608 return this.coerce$3(newNumerators, newDenominators, null);
91609 },
91610 coerceValue$3(newNumerators, newDenominators, $name) {
91611 var t1 = J.getInterceptor$asx(newNumerators);
91612 t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
91613 return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
91614 },
91615 coerceValueToUnit$2(unit, $name) {
91616 var t1 = this._single_unit$_coerceValueToUnit$1(unit);
91617 return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
91618 },
91619 _single_unit$_coerceToUnit$1(unit) {
91620 var t1 = this._single_unit$_unit;
91621 if (t1 === unit)
91622 return this;
91623 return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
91624 },
91625 _single_unit$_coerceValueToUnit$1(unit) {
91626 return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
91627 },
91628 multiplyUnits$3(value, otherNumerators, otherDenominators) {
91629 var mutableOtherDenominators, t1 = {};
91630 t1.value = value;
91631 t1.newNumerators = otherNumerators;
91632 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
91633 A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
91634 return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
91635 },
91636 unaryMinus$0() {
91637 return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
91638 },
91639 $eq(_, other) {
91640 var factor;
91641 if (other == null)
91642 return false;
91643 if (other instanceof A.SingleUnitSassNumber0) {
91644 factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
91645 return factor != null && Math.abs(this._number1$_value * factor - other._number1$_value) < $.$get$epsilon0();
91646 } else
91647 return false;
91648 },
91649 get$hashCode(_) {
91650 var _this = this,
91651 t1 = _this.hashCache;
91652 return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
91653 }
91654 };
91655 A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
91656 call$1(factor) {
91657 return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
91658 },
91659 $signature: 525
91660 };
91661 A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
91662 call$1(factor) {
91663 return this.$this._number1$_value * factor;
91664 },
91665 $signature: 92
91666 };
91667 A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
91668 call$1(denominator) {
91669 var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
91670 if (factor == null)
91671 return false;
91672 this._box_0.value *= factor;
91673 return true;
91674 },
91675 $signature: 6
91676 };
91677 A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
91678 call$0() {
91679 var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
91680 t2 = this._box_0;
91681 B.JSArray_methods.addAll$1(t1, t2.newNumerators);
91682 t2.newNumerators = t1;
91683 },
91684 $signature: 0
91685 };
91686 A.SourceMapBuffer0.prototype = {
91687 get$_source_map_buffer0$_targetLocation() {
91688 var t1 = this._source_map_buffer0$_buffer._contents,
91689 t2 = this._source_map_buffer0$_line;
91690 return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
91691 },
91692 get$length(_) {
91693 return this._source_map_buffer0$_buffer._contents.length;
91694 },
91695 forSpan$1$2(span, callback) {
91696 var t1, _this = this,
91697 wasInSpan = _this._source_map_buffer0$_inSpan;
91698 _this._source_map_buffer0$_inSpan = true;
91699 _this._source_map_buffer0$_addEntry$2(A.FileLocation$_(span.file, span._file$_start), _this.get$_source_map_buffer0$_targetLocation());
91700 try {
91701 t1 = callback.call$0();
91702 return t1;
91703 } finally {
91704 _this._source_map_buffer0$_inSpan = wasInSpan;
91705 }
91706 },
91707 forSpan$2(span, callback) {
91708 return this.forSpan$1$2(span, callback, type$.dynamic);
91709 },
91710 _source_map_buffer0$_addEntry$2(source, target) {
91711 var entry, t2,
91712 t1 = this._source_map_buffer0$_entries;
91713 if (t1.length !== 0) {
91714 entry = B.JSArray_methods.get$last(t1);
91715 t2 = entry.source;
91716 if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
91717 return;
91718 if (entry.target.offset === target.offset)
91719 return;
91720 }
91721 t1.push(new A.Entry(source, target, null));
91722 },
91723 write$1(_, object) {
91724 var t1, i,
91725 string = J.toString$0$(object);
91726 this._source_map_buffer0$_buffer._contents += string;
91727 for (t1 = string.length, i = 0; i < t1; ++i)
91728 if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
91729 this._source_map_buffer0$_writeLine$0();
91730 else
91731 ++this._source_map_buffer0$_column;
91732 },
91733 writeCharCode$1(charCode) {
91734 this._source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
91735 if (charCode === 10)
91736 this._source_map_buffer0$_writeLine$0();
91737 else
91738 ++this._source_map_buffer0$_column;
91739 },
91740 _source_map_buffer0$_writeLine$0() {
91741 var _this = this,
91742 t1 = _this._source_map_buffer0$_entries;
91743 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)
91744 t1.pop();
91745 ++_this._source_map_buffer0$_line;
91746 _this._source_map_buffer0$_column = 0;
91747 if (_this._source_map_buffer0$_inSpan)
91748 t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
91749 },
91750 toString$0(_) {
91751 var t1 = this._source_map_buffer0$_buffer._contents;
91752 return t1.charCodeAt(0) == 0 ? t1 : t1;
91753 },
91754 buildSourceMap$1$prefix(prefix) {
91755 var i, t2, prefixColumn, _box_0 = {},
91756 t1 = prefix.length;
91757 if (t1 === 0)
91758 return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
91759 _box_0.prefixColumn = _box_0.prefixLines = 0;
91760 for (i = 0, t2 = 0; i < t1; ++i)
91761 if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
91762 ++_box_0.prefixLines;
91763 _box_0.prefixColumn = 0;
91764 t2 = 0;
91765 } else {
91766 prefixColumn = t2 + 1;
91767 _box_0.prefixColumn = prefixColumn;
91768 t2 = prefixColumn;
91769 }
91770 t2 = this._source_map_buffer0$_entries;
91771 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>")));
91772 }
91773 };
91774 A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
91775 call$1(entry) {
91776 var t1 = entry.source,
91777 t2 = entry.target,
91778 t3 = t2.line,
91779 t4 = this._box_0,
91780 t5 = t4.prefixLines;
91781 t4 = t3 === 0 ? t4.prefixColumn : 0;
91782 return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
91783 },
91784 $signature: 170
91785 };
91786 A.updateSourceSpanPrototype_closure.prototype = {
91787 call$1(span) {
91788 return A.FileLocation$_(span.file, span._file$_start);
91789 },
91790 $signature: 247
91791 };
91792 A.updateSourceSpanPrototype_closure0.prototype = {
91793 call$1(span) {
91794 return A.FileLocation$_(span.file, span._end);
91795 },
91796 $signature: 247
91797 };
91798 A.updateSourceSpanPrototype_closure1.prototype = {
91799 call$1(span) {
91800 return A.NullableExtension_andThen0(span.file.url, A.utils1__dartToJSUrl$closure());
91801 },
91802 $signature: 527
91803 };
91804 A.updateSourceSpanPrototype_closure2.prototype = {
91805 call$1(span) {
91806 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
91807 },
91808 $signature: 248
91809 };
91810 A.updateSourceSpanPrototype_closure3.prototype = {
91811 call$1(span) {
91812 return span.get$context(span);
91813 },
91814 $signature: 248
91815 };
91816 A.updateSourceSpanPrototype_closure4.prototype = {
91817 call$1($location) {
91818 return $location.get$line();
91819 },
91820 $signature: 249
91821 };
91822 A.updateSourceSpanPrototype_closure5.prototype = {
91823 call$1($location) {
91824 return $location.get$column();
91825 },
91826 $signature: 249
91827 };
91828 A.StatementSearchVisitor0.prototype = {
91829 visitAtRootRule$1(node) {
91830 return this.visitChildren$1(node.children);
91831 },
91832 visitAtRule$1(node) {
91833 return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
91834 },
91835 visitContentBlock$1(node) {
91836 return this.visitChildren$1(node.children);
91837 },
91838 visitDebugRule$1(node) {
91839 return null;
91840 },
91841 visitDeclaration$1(node) {
91842 return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
91843 },
91844 visitEachRule$1(node) {
91845 return this.visitChildren$1(node.children);
91846 },
91847 visitErrorRule$1(node) {
91848 return null;
91849 },
91850 visitExtendRule$1(node) {
91851 return null;
91852 },
91853 visitForRule$1(node) {
91854 return this.visitChildren$1(node.children);
91855 },
91856 visitForwardRule$1(node) {
91857 return null;
91858 },
91859 visitFunctionRule$1(node) {
91860 return this.visitChildren$1(node.children);
91861 },
91862 visitIfRule$1(node) {
91863 var t1 = A._IterableExtension__search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
91864 return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
91865 },
91866 visitImportRule$1(node) {
91867 return null;
91868 },
91869 visitIncludeRule$1(node) {
91870 return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock());
91871 },
91872 visitLoudComment$1(node) {
91873 return null;
91874 },
91875 visitMediaRule$1(node) {
91876 return this.visitChildren$1(node.children);
91877 },
91878 visitMixinRule$1(node) {
91879 return this.visitChildren$1(node.children);
91880 },
91881 visitReturnRule$1(node) {
91882 return null;
91883 },
91884 visitSilentComment$1(node) {
91885 return null;
91886 },
91887 visitStyleRule$1(node) {
91888 return this.visitChildren$1(node.children);
91889 },
91890 visitStylesheet$1(node) {
91891 return this.visitChildren$1(node.children);
91892 },
91893 visitSupportsRule$1(node) {
91894 return this.visitChildren$1(node.children);
91895 },
91896 visitUseRule$1(node) {
91897 return null;
91898 },
91899 visitVariableDeclaration$1(node) {
91900 return null;
91901 },
91902 visitWarnRule$1(node) {
91903 return null;
91904 },
91905 visitWhileRule$1(node) {
91906 return this.visitChildren$1(node.children);
91907 },
91908 visitChildren$1(children) {
91909 return A._IterableExtension__search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
91910 }
91911 };
91912 A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
91913 call$1(clause) {
91914 return A._IterableExtension__search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
91915 },
91916 $signature() {
91917 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
91918 }
91919 };
91920 A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
91921 call$1(child) {
91922 return child.accept$1(this.$this);
91923 },
91924 $signature() {
91925 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
91926 }
91927 };
91928 A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
91929 call$1(lastClause) {
91930 return A._IterableExtension__search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
91931 },
91932 $signature() {
91933 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
91934 }
91935 };
91936 A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
91937 call$1(child) {
91938 return child.accept$1(this.$this);
91939 },
91940 $signature() {
91941 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
91942 }
91943 };
91944 A.StatementSearchVisitor_visitChildren_closure0.prototype = {
91945 call$1(child) {
91946 return child.accept$1(this.$this);
91947 },
91948 $signature() {
91949 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
91950 }
91951 };
91952 A.StaticImport0.prototype = {
91953 toString$0(_) {
91954 var t1 = this.url.toString$0(0),
91955 t2 = this.supports;
91956 if (t2 != null)
91957 t1 += " supports(" + t2.toString$0(0) + ")";
91958 t2 = this.media;
91959 if (t2 != null)
91960 t1 += " " + t2.toString$0(0);
91961 t1 += A.Primitives_stringFromCharCode(59);
91962 return t1.charCodeAt(0) == 0 ? t1 : t1;
91963 },
91964 $isImport0: 1,
91965 $isAstNode0: 1,
91966 get$span(receiver) {
91967 return this.span;
91968 }
91969 };
91970 A.StderrLogger0.prototype = {
91971 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
91972 var t2, t3, t4,
91973 t1 = this.color;
91974 if (t1) {
91975 t2 = $.$get$stderr0();
91976 t3 = t2._node0$_stderr;
91977 t4 = J.getInterceptor$x(t3);
91978 t4.write$1(t3, "\x1b[33m\x1b[1m");
91979 if (deprecation)
91980 t4.write$1(t3, "Deprecation ");
91981 t4.write$1(t3, "Warning\x1b[0m");
91982 } else {
91983 if (deprecation)
91984 J.write$1$x($.$get$stderr0()._node0$_stderr, "DEPRECATION ");
91985 t2 = $.$get$stderr0();
91986 J.write$1$x(t2._node0$_stderr, "WARNING");
91987 }
91988 if (span == null)
91989 t2.writeln$1(": " + message);
91990 else if (trace != null)
91991 t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
91992 else
91993 t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
91994 if (trace != null)
91995 t2.writeln$1(A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
91996 t2.writeln$0();
91997 },
91998 warn$1($receiver, message) {
91999 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
92000 },
92001 warn$2$span($receiver, message, span) {
92002 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
92003 },
92004 warn$2$deprecation($receiver, message, deprecation) {
92005 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
92006 },
92007 warn$3$deprecation$span($receiver, message, deprecation, span) {
92008 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
92009 },
92010 warn$2$trace($receiver, message, trace) {
92011 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
92012 },
92013 debug$2(_, message, span) {
92014 var url, t3, t4,
92015 t1 = span.file,
92016 t2 = span._file$_start;
92017 if (A.FileLocation$_(t1, t2).file.url == null)
92018 url = "-";
92019 else {
92020 t3 = A.FileLocation$_(t1, t2);
92021 url = $.$get$context().prettyUri$1(t3.file.url);
92022 }
92023 t3 = $.$get$stderr0();
92024 t4 = url + ":";
92025 t2 = A.FileLocation$_(t1, t2);
92026 t2 = t4 + (t2.file.getLine$1(t2.offset) + 1) + " ";
92027 t4 = t3._node0$_stderr;
92028 t1 = J.getInterceptor$x(t4);
92029 t1.write$1(t4, t2);
92030 t1.write$1(t4, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
92031 t3.writeln$1(": " + message);
92032 }
92033 };
92034 A.StringExpression0.prototype = {
92035 get$span(_) {
92036 return this.text.span;
92037 },
92038 accept$1$1(visitor) {
92039 return visitor.visitStringExpression$1(this);
92040 },
92041 accept$1(visitor) {
92042 return this.accept$1$1(visitor, type$.dynamic);
92043 },
92044 asInterpolation$1$static($static) {
92045 var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
92046 if (!this.hasQuotes)
92047 return this.text;
92048 t1 = this.text;
92049 t2 = t1.contents;
92050 quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
92051 t3 = new A.StringBuffer("");
92052 t4 = A._setArrayType([], type$.JSArray_Object);
92053 buffer = new A.InterpolationBuffer0(t3, t4);
92054 t3._contents = "" + A.Primitives_stringFromCharCode(quote);
92055 for (t5 = t2.length, t6 = type$.Expression_2, _i = 0; _i < t5; ++_i) {
92056 value = t2[_i];
92057 if (t6._is(value)) {
92058 buffer._interpolation_buffer0$_flushText$0();
92059 t4.push(value);
92060 } else if (typeof value == "string")
92061 A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
92062 }
92063 t3._contents += A.Primitives_stringFromCharCode(quote);
92064 return buffer.interpolation$1(t1.span);
92065 },
92066 asInterpolation$0() {
92067 return this.asInterpolation$1$static(false);
92068 },
92069 toString$0(_) {
92070 return this.asInterpolation$0().toString$0(0);
92071 },
92072 $isExpression0: 1,
92073 $isAstNode0: 1
92074 };
92075 A._unquote_closure0.prototype = {
92076 call$1($arguments) {
92077 var string = J.$index$asx($arguments, 0).assertString$1("string");
92078 if (!string._string0$_hasQuotes)
92079 return string;
92080 return new A.SassString0(string._string0$_text, false);
92081 },
92082 $signature: 14
92083 };
92084 A._quote_closure0.prototype = {
92085 call$1($arguments) {
92086 var string = J.$index$asx($arguments, 0).assertString$1("string");
92087 if (string._string0$_hasQuotes)
92088 return string;
92089 return new A.SassString0(string._string0$_text, true);
92090 },
92091 $signature: 14
92092 };
92093 A._length_closure1.prototype = {
92094 call$1($arguments) {
92095 var t1 = J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength();
92096 return new A.UnitlessSassNumber0(t1, null);
92097 },
92098 $signature: 9
92099 };
92100 A._insert_closure0.prototype = {
92101 call$1($arguments) {
92102 var indexInt, codeUnitIndex, _s5_ = "index",
92103 t1 = J.getInterceptor$asx($arguments),
92104 string = t1.$index($arguments, 0).assertString$1("string"),
92105 insert = t1.$index($arguments, 1).assertString$1("insert"),
92106 index = t1.$index($arguments, 2).assertNumber$1(_s5_);
92107 index.assertNoUnits$1(_s5_);
92108 indexInt = index.assertInt$1(_s5_);
92109 if (indexInt < 0)
92110 indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
92111 t1 = string._string0$_text;
92112 codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
92113 return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
92114 },
92115 $signature: 14
92116 };
92117 A._index_closure1.prototype = {
92118 call$1($arguments) {
92119 var codepointIndex,
92120 t1 = J.getInterceptor$asx($arguments),
92121 t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
92122 codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
92123 if (codeUnitIndex === -1)
92124 return B.C__SassNull0;
92125 codepointIndex = A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex);
92126 return new A.UnitlessSassNumber0(codepointIndex + 1, null);
92127 },
92128 $signature: 3
92129 };
92130 A._slice_closure0.prototype = {
92131 call$1($arguments) {
92132 var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
92133 _s8_ = "start-at",
92134 t1 = J.getInterceptor$asx($arguments),
92135 string = t1.$index($arguments, 0).assertString$1("string"),
92136 start = t1.$index($arguments, 1).assertNumber$1(_s8_),
92137 end = t1.$index($arguments, 2).assertNumber$1("end-at");
92138 start.assertNoUnits$1(_s8_);
92139 end.assertNoUnits$1("end-at");
92140 lengthInCodepoints = string.get$_string0$_sassLength();
92141 endInt = end.assertInt$0();
92142 if (endInt === 0)
92143 return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
92144 startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
92145 endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
92146 if (endCodepoint === lengthInCodepoints)
92147 --endCodepoint;
92148 if (endCodepoint < startCodepoint)
92149 return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
92150 t1 = string._string0$_text;
92151 return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
92152 },
92153 $signature: 14
92154 };
92155 A._toUpperCase_closure0.prototype = {
92156 call$1($arguments) {
92157 var t1, t2, i, t3, t4,
92158 string = J.$index$asx($arguments, 0).assertString$1("string");
92159 for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
92160 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
92161 t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
92162 }
92163 return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
92164 },
92165 $signature: 14
92166 };
92167 A._toLowerCase_closure0.prototype = {
92168 call$1($arguments) {
92169 var t1, t2, i, t3, t4,
92170 string = J.$index$asx($arguments, 0).assertString$1("string");
92171 for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
92172 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
92173 t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
92174 }
92175 return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
92176 },
92177 $signature: 14
92178 };
92179 A._uniqueId_closure0.prototype = {
92180 call$1($arguments) {
92181 var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
92182 $._previousUniqueId0 = t1;
92183 if (t1 > Math.pow(36, 6))
92184 $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
92185 return new A.SassString0("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId0(), 36), 6, "0"), false);
92186 },
92187 $signature: 14
92188 };
92189 A._NodeSassString.prototype = {};
92190 A.legacyStringClass_closure.prototype = {
92191 call$3(thisArg, value, dartValue) {
92192 var t1;
92193 if (dartValue == null) {
92194 value.toString;
92195 t1 = new A.SassString0(value, false);
92196 } else
92197 t1 = dartValue;
92198 J.set$dartValue$x(thisArg, t1);
92199 },
92200 call$2(thisArg, value) {
92201 return this.call$3(thisArg, value, null);
92202 },
92203 "call*": "call$3",
92204 $requiredArgCount: 2,
92205 $defaultValues() {
92206 return [null];
92207 },
92208 $signature: 530
92209 };
92210 A.legacyStringClass_closure0.prototype = {
92211 call$1(thisArg) {
92212 return J.get$dartValue$x(thisArg)._string0$_text;
92213 },
92214 $signature: 531
92215 };
92216 A.legacyStringClass_closure1.prototype = {
92217 call$2(thisArg, value) {
92218 J.set$dartValue$x(thisArg, new A.SassString0(value, false));
92219 },
92220 $signature: 532
92221 };
92222 A.stringClass_closure.prototype = {
92223 call$0() {
92224 var t2,
92225 t1 = type$.JSClass,
92226 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
92227 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));
92228 J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
92229 t2 = $.$get$_emptyQuoted0();
92230 A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
92231 return jsClass;
92232 },
92233 $signature: 23
92234 };
92235 A.stringClass__closure.prototype = {
92236 call$3($self, textOrOptions, options) {
92237 var t1;
92238 if (typeof textOrOptions == "string") {
92239 t1 = options == null ? null : J.get$quotes$x(options);
92240 t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
92241 } else {
92242 type$.nullable__ConstructorOptions_3._as(textOrOptions);
92243 t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
92244 t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
92245 }
92246 return t1;
92247 },
92248 call$1($self) {
92249 return this.call$3($self, null, null);
92250 },
92251 call$2($self, textOrOptions) {
92252 return this.call$3($self, textOrOptions, null);
92253 },
92254 "call*": "call$3",
92255 $requiredArgCount: 1,
92256 $defaultValues() {
92257 return [null, null];
92258 },
92259 $signature: 533
92260 };
92261 A.stringClass__closure0.prototype = {
92262 call$1($self) {
92263 return $self._string0$_text;
92264 },
92265 $signature: 534
92266 };
92267 A.stringClass__closure1.prototype = {
92268 call$1($self) {
92269 return $self._string0$_hasQuotes;
92270 },
92271 $signature: 535
92272 };
92273 A.stringClass__closure2.prototype = {
92274 call$1($self) {
92275 return $self.get$_string0$_sassLength();
92276 },
92277 $signature: 536
92278 };
92279 A.stringClass__closure3.prototype = {
92280 call$3($self, sassIndex, $name) {
92281 var t1 = $self._string0$_text,
92282 index = sassIndex.assertNumber$1($name).assertInt$1($name);
92283 if (index === 0)
92284 A.throwExpression($self._string0$_exception$2("String index may not be 0.", $name));
92285 if (Math.abs(index) > $self.get$_string0$_sassLength())
92286 A.throwExpression($self._string0$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
92287 return A.codepointIndexToCodeUnitIndex0(t1, index < 0 ? $self.get$_string0$_sassLength() + index : index - 1);
92288 },
92289 call$2($self, sassIndex) {
92290 return this.call$3($self, sassIndex, null);
92291 },
92292 "call*": "call$3",
92293 $requiredArgCount: 2,
92294 $defaultValues() {
92295 return [null];
92296 },
92297 $signature: 537
92298 };
92299 A._ConstructorOptions1.prototype = {};
92300 A.SassString0.prototype = {
92301 get$_string0$_sassLength() {
92302 var t1, result, _this = this,
92303 value = _this._string0$__SassString__sassLength;
92304 if (value === $) {
92305 t1 = new A.Runes(_this._string0$_text);
92306 result = t1.get$length(t1);
92307 A._lateInitializeOnceCheck(_this._string0$__SassString__sassLength, "_sassLength");
92308 _this._string0$__SassString__sassLength = result;
92309 value = result;
92310 }
92311 return value;
92312 },
92313 get$isSpecialNumber() {
92314 var t1, t2;
92315 if (this._string0$_hasQuotes)
92316 return false;
92317 t1 = this._string0$_text;
92318 if (t1.length < 6)
92319 return false;
92320 t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
92321 if (t2 === 99) {
92322 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
92323 if (t2 === 108) {
92324 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
92325 return false;
92326 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
92327 return false;
92328 if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
92329 return false;
92330 return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
92331 } else if (t2 === 97) {
92332 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
92333 return false;
92334 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
92335 return false;
92336 return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
92337 } else
92338 return false;
92339 } else if (t2 === 118) {
92340 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
92341 return false;
92342 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
92343 return false;
92344 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92345 } else if (t2 === 101) {
92346 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
92347 return false;
92348 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
92349 return false;
92350 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92351 } else if (t2 === 109) {
92352 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
92353 if (t2 === 97) {
92354 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
92355 return false;
92356 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92357 } else if (t2 === 105) {
92358 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
92359 return false;
92360 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92361 } else
92362 return false;
92363 } else
92364 return false;
92365 },
92366 get$isVar() {
92367 if (this._string0$_hasQuotes)
92368 return false;
92369 var t1 = this._string0$_text;
92370 if (t1.length < 8)
92371 return false;
92372 return (B.JSString_methods._codeUnitAt$1(t1, 0) | 32) === 118 && (B.JSString_methods._codeUnitAt$1(t1, 1) | 32) === 97 && (B.JSString_methods._codeUnitAt$1(t1, 2) | 32) === 114 && B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92373 },
92374 get$isBlank() {
92375 return !this._string0$_hasQuotes && this._string0$_text.length === 0;
92376 },
92377 accept$1$1(visitor) {
92378 var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
92379 t2 = this._string0$_text;
92380 if (t1)
92381 visitor._serialize0$_visitQuotedString$1(t2);
92382 else
92383 visitor._serialize0$_visitUnquotedString$1(t2);
92384 return null;
92385 },
92386 accept$1(visitor) {
92387 return this.accept$1$1(visitor, type$.dynamic);
92388 },
92389 assertString$1($name) {
92390 return this;
92391 },
92392 plus$1(other) {
92393 var t1 = this._string0$_text,
92394 t2 = this._string0$_hasQuotes;
92395 if (other instanceof A.SassString0)
92396 return new A.SassString0(t1 + other._string0$_text, t2);
92397 else
92398 return new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
92399 },
92400 $eq(_, other) {
92401 if (other == null)
92402 return false;
92403 return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
92404 },
92405 get$hashCode(_) {
92406 var t1 = this._string0$_hashCache;
92407 return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
92408 },
92409 _string0$_exception$2(message, $name) {
92410 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
92411 }
92412 };
92413 A.ModifiableCssStyleRule0.prototype = {
92414 accept$1$1(visitor) {
92415 return visitor.visitCssStyleRule$1(this);
92416 },
92417 accept$1(visitor) {
92418 return this.accept$1$1(visitor, type$.dynamic);
92419 },
92420 copyWithoutChildren$0() {
92421 return A.ModifiableCssStyleRule$0(this.selector, this.span, this.originalSelector);
92422 },
92423 $isCssStyleRule0: 1,
92424 get$span(receiver) {
92425 return this.span;
92426 }
92427 };
92428 A.StyleRule0.prototype = {
92429 accept$1$1(visitor) {
92430 return visitor.visitStyleRule$1(this);
92431 },
92432 accept$1(visitor) {
92433 return this.accept$1$1(visitor, type$.dynamic);
92434 },
92435 toString$0(_) {
92436 var t1 = this.children;
92437 return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
92438 },
92439 get$span(receiver) {
92440 return this.span;
92441 }
92442 };
92443 A.CssStylesheet0.prototype = {
92444 get$isGroupEnd() {
92445 return false;
92446 },
92447 get$isChildless() {
92448 return false;
92449 },
92450 accept$1$1(visitor) {
92451 return visitor.visitCssStylesheet$1(this);
92452 },
92453 accept$1(visitor) {
92454 return this.accept$1$1(visitor, type$.dynamic);
92455 },
92456 get$children(receiver) {
92457 return this.children;
92458 },
92459 get$span(receiver) {
92460 return this.span;
92461 }
92462 };
92463 A.ModifiableCssStylesheet0.prototype = {
92464 accept$1$1(visitor) {
92465 return visitor.visitCssStylesheet$1(this);
92466 },
92467 accept$1(visitor) {
92468 return this.accept$1$1(visitor, type$.dynamic);
92469 },
92470 copyWithoutChildren$0() {
92471 return A.ModifiableCssStylesheet$0(this.span);
92472 },
92473 $isCssStylesheet0: 1,
92474 get$span(receiver) {
92475 return this.span;
92476 }
92477 };
92478 A.StylesheetParser0.prototype = {
92479 parse$0() {
92480 return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
92481 },
92482 parseArgumentDeclaration$0() {
92483 return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure0(this), type$.ArgumentDeclaration_2);
92484 },
92485 _stylesheet0$_parseSingleProduction$1$1(production, $T) {
92486 return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
92487 },
92488 parseSignature$1$requireParens(requireParens) {
92489 return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
92490 },
92491 parseSignature$0() {
92492 return this.parseSignature$1$requireParens(true);
92493 },
92494 _stylesheet0$_statement$1$root(root) {
92495 var t2, _this = this,
92496 t1 = _this.scanner;
92497 switch (t1.peekChar$0()) {
92498 case 64:
92499 return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
92500 case 43:
92501 if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
92502 return _this._stylesheet0$_styleRule$0();
92503 _this._stylesheet0$_isUseAllowed = false;
92504 t2 = t1._string_scanner$_position;
92505 t1.readChar$0();
92506 return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
92507 case 61:
92508 if (!_this.get$indented())
92509 return _this._stylesheet0$_styleRule$0();
92510 _this._stylesheet0$_isUseAllowed = false;
92511 t2 = t1._string_scanner$_position;
92512 t1.readChar$0();
92513 _this.whitespace$0();
92514 return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
92515 case 125:
92516 t1.error$2$length(0, 'unmatched "}".', 1);
92517 break;
92518 default:
92519 return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
92520 }
92521 },
92522 _stylesheet0$_statement$0() {
92523 return this._stylesheet0$_statement$1$root(false);
92524 },
92525 variableDeclarationWithoutNamespace$2(namespace, start_) {
92526 var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
92527 precedingComment = _this.lastSilentComment;
92528 _this.lastSilentComment = null;
92529 if (start_ == null) {
92530 t1 = _this.scanner;
92531 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92532 } else
92533 start = start_;
92534 $name = _this.variableName$0();
92535 t1 = namespace != null;
92536 if (t1)
92537 _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
92538 if (_this.get$plainCss())
92539 _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
92540 _this.whitespace$0();
92541 t2 = _this.scanner;
92542 t2.expectChar$1(58);
92543 _this.whitespace$0();
92544 value = _this.expression$0();
92545 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
92546 for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
92547 flag = _this.identifier$0();
92548 if (flag === "default")
92549 guarded = true;
92550 else if (flag === "global") {
92551 if (t1) {
92552 endPosition = t2._string_scanner$_position;
92553 t4 = t2._sourceFile;
92554 t5 = flagStart.position;
92555 t6 = new A._FileSpan(t4, t5, endPosition);
92556 t6._FileSpan$3(t4, t5, endPosition);
92557 A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
92558 }
92559 global = true;
92560 } else {
92561 endPosition = t2._string_scanner$_position;
92562 t4 = t2._sourceFile;
92563 t5 = flagStart.position;
92564 t6 = new A._FileSpan(t4, t5, endPosition);
92565 t6._FileSpan$3(t4, t5, endPosition);
92566 A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
92567 }
92568 _this.whitespace$0();
92569 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
92570 }
92571 _this.expectStatementSeparator$1("variable declaration");
92572 declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
92573 if (global)
92574 _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
92575 return declaration;
92576 },
92577 variableDeclarationWithoutNamespace$0() {
92578 return this.variableDeclarationWithoutNamespace$2(null, null);
92579 },
92580 _stylesheet0$_variableDeclarationOrStyleRule$0() {
92581 var t1, t2, variableOrInterpolation, t3, _this = this;
92582 if (_this.get$plainCss())
92583 return _this._stylesheet0$_styleRule$0();
92584 if (_this.get$indented() && _this.scanner.scanChar$1(92))
92585 return _this._stylesheet0$_styleRule$0();
92586 if (!_this.lookingAtIdentifier$0())
92587 return _this._stylesheet0$_styleRule$0();
92588 t1 = _this.scanner;
92589 t2 = t1._string_scanner$_position;
92590 variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
92591 if (variableOrInterpolation instanceof A.VariableDeclaration0)
92592 return variableOrInterpolation;
92593 else {
92594 t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
92595 t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
92596 return _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
92597 }
92598 },
92599 _stylesheet0$_declarationOrStyleRule$0() {
92600 var t1, t2, declarationOrBuffer, _this = this;
92601 if (_this.get$plainCss() && _this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inUnknownAtRule)
92602 return _this._stylesheet0$_propertyOrVariableDeclaration$0();
92603 if (_this.get$indented() && _this.scanner.scanChar$1(92))
92604 return _this._stylesheet0$_styleRule$0();
92605 t1 = _this.scanner;
92606 t2 = t1._string_scanner$_position;
92607 declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
92608 return type$.Statement_2._is(declarationOrBuffer) ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
92609 },
92610 _stylesheet0$_declarationOrBuffer$0() {
92611 var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
92612 t2 = _this.scanner,
92613 start = new A._SpanScannerState(t2, t2._string_scanner$_position),
92614 nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
92615 first = t2.peekChar$0();
92616 if (first !== 58)
92617 if (first !== 42)
92618 if (first !== 46)
92619 t3 = first === 35 && t2.peekChar$1(1) !== 123;
92620 else
92621 t3 = true;
92622 else
92623 t3 = true;
92624 else
92625 t3 = true;
92626 if (t3) {
92627 t3 = t2.readChar$0();
92628 nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(t3);
92629 t3 = _this.rawText$1(_this.get$whitespace());
92630 nameBuffer._interpolation_buffer0$_text._contents += t3;
92631 startsWithPunctuation = true;
92632 } else
92633 startsWithPunctuation = false;
92634 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
92635 return nameBuffer;
92636 variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
92637 if (variableOrInterpolation instanceof A.VariableDeclaration0)
92638 return variableOrInterpolation;
92639 else
92640 nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
92641 _this._stylesheet0$_isUseAllowed = false;
92642 if (t2.matches$1("/*")) {
92643 t3 = _this.rawText$1(_this.get$loudComment());
92644 nameBuffer._interpolation_buffer0$_text._contents += t3;
92645 }
92646 midBuffer = new A.StringBuffer("");
92647 t3 = _this.get$whitespace();
92648 midBuffer._contents += _this.rawText$1(t3);
92649 t4 = t2._string_scanner$_position;
92650 if (!t2.scanChar$1(58)) {
92651 if (midBuffer._contents.length !== 0)
92652 nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(32);
92653 return nameBuffer;
92654 }
92655 midBuffer._contents += A.Primitives_stringFromCharCode(58);
92656 $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
92657 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
92658 t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
92659 _this.expectStatementSeparator$1("custom property");
92660 return A.Declaration$0($name, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
92661 }
92662 if (t2.scanChar$1(58)) {
92663 t1 = nameBuffer;
92664 t2 = t1._interpolation_buffer0$_text;
92665 t3 = t2._contents += A.S(midBuffer);
92666 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
92667 return t1;
92668 } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
92669 t1 = nameBuffer;
92670 t1._interpolation_buffer0$_text._contents += A.S(midBuffer);
92671 return t1;
92672 }
92673 postColonWhitespace = _this.rawText$1(t3);
92674 if (_this.lookingAtChildren$0())
92675 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure1($name));
92676 midBuffer._contents += postColonWhitespace;
92677 couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
92678 beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
92679 t3 = t1.value = null;
92680 try {
92681 t3 = t1.value = _this.expression$0();
92682 if (_this.lookingAtChildren$0()) {
92683 if (couldBeSelector)
92684 _this.expectStatementSeparator$0();
92685 } else if (!_this.atEndOfStatement$0())
92686 _this.expectStatementSeparator$0();
92687 } catch (exception) {
92688 if (type$.FormatException._is(A.unwrapException(exception))) {
92689 if (!couldBeSelector)
92690 throw exception;
92691 t2.set$state(beforeDeclaration);
92692 additional = _this.almostAnyValue$0();
92693 if (!_this.get$indented() && t2.peekChar$0() === 59)
92694 throw exception;
92695 nameBuffer._interpolation_buffer0$_text._contents += A.S(midBuffer);
92696 nameBuffer.addInterpolation$1(additional);
92697 return nameBuffer;
92698 } else
92699 throw exception;
92700 }
92701 if (_this.lookingAtChildren$0())
92702 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure2(t1, $name));
92703 else {
92704 _this.expectStatementSeparator$0();
92705 return A.Declaration$0($name, t3, t2.spanFrom$1(start));
92706 }
92707 },
92708 _stylesheet0$_variableDeclarationOrInterpolation$0() {
92709 var t1, start, identifier, t2, buffer, _this = this;
92710 if (!_this.lookingAtIdentifier$0())
92711 return _this.interpolatedIdentifier$0();
92712 t1 = _this.scanner;
92713 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92714 identifier = _this.identifier$0();
92715 if (t1.matches$1(".$")) {
92716 t1.readChar$0();
92717 return _this.variableDeclarationWithoutNamespace$2(identifier, start);
92718 } else {
92719 t2 = new A.StringBuffer("");
92720 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
92721 t2._contents = "" + identifier;
92722 if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
92723 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
92724 return buffer.interpolation$1(t1.spanFrom$1(start));
92725 }
92726 },
92727 _stylesheet0$_styleRule$2(buffer, start_) {
92728 var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
92729 _this._stylesheet0$_isUseAllowed = false;
92730 if (start_ == null) {
92731 t2 = _this.scanner;
92732 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
92733 } else
92734 start = start_;
92735 interpolation = t1.interpolation = _this.styleRuleSelector$0();
92736 if (buffer != null) {
92737 buffer.addInterpolation$1(interpolation);
92738 t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
92739 } else
92740 t2 = interpolation;
92741 if (t2.contents.length === 0)
92742 _this.scanner.error$1(0, 'expected "}".');
92743 wasInStyleRule = _this._stylesheet0$_inStyleRule;
92744 _this._stylesheet0$_inStyleRule = true;
92745 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
92746 },
92747 _stylesheet0$_styleRule$0() {
92748 return this._stylesheet0$_styleRule$2(null, null);
92749 },
92750 _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
92751 var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
92752 _s48_ = string$.Nested,
92753 t1 = {},
92754 t2 = _this.scanner,
92755 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
92756 t1.name = null;
92757 first = t2.peekChar$0();
92758 if (first !== 58)
92759 if (first !== 42)
92760 if (first !== 46)
92761 t3 = first === 35 && t2.peekChar$1(1) !== 123;
92762 else
92763 t3 = true;
92764 else
92765 t3 = true;
92766 else
92767 t3 = true;
92768 if (t3) {
92769 t3 = new A.StringBuffer("");
92770 nameBuffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
92771 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
92772 t3._contents += _this.rawText$1(_this.get$whitespace());
92773 nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
92774 t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
92775 } else if (!_this.get$plainCss()) {
92776 variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
92777 if (variableOrInterpolation instanceof A.VariableDeclaration0)
92778 return variableOrInterpolation;
92779 else {
92780 type$.Interpolation_2._as(variableOrInterpolation);
92781 t1.name = variableOrInterpolation;
92782 }
92783 t3 = variableOrInterpolation;
92784 } else {
92785 $name = _this.interpolatedIdentifier$0();
92786 t1.name = $name;
92787 t3 = $name;
92788 }
92789 _this.whitespace$0();
92790 t2.expectChar$1(58);
92791 if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
92792 t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
92793 _this.expectStatementSeparator$1("custom property");
92794 return A.Declaration$0(t3, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
92795 }
92796 _this.whitespace$0();
92797 if (_this.lookingAtChildren$0()) {
92798 if (_this.get$plainCss())
92799 t2.error$1(0, _s48_);
92800 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure1(t1));
92801 }
92802 value = _this.expression$0();
92803 if (_this.lookingAtChildren$0()) {
92804 if (_this.get$plainCss())
92805 t2.error$1(0, _s48_);
92806 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure2(t1, value));
92807 } else {
92808 _this.expectStatementSeparator$0();
92809 return A.Declaration$0(t3, value, t2.spanFrom$1(start));
92810 }
92811 },
92812 _stylesheet0$_propertyOrVariableDeclaration$0() {
92813 return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(true);
92814 },
92815 _stylesheet0$_declarationChild$0() {
92816 if (this.scanner.peekChar$0() === 64)
92817 return this._stylesheet0$_declarationAtRule$0();
92818 return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
92819 },
92820 atRule$2$root(child, root) {
92821 var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
92822 _s9_ = "@use rule",
92823 t1 = _this.scanner,
92824 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92825 t1.expectChar$2$name(64, "@-rule");
92826 $name = _this.interpolatedIdentifier$0();
92827 _this.whitespace$0();
92828 wasUseAllowed = _this._stylesheet0$_isUseAllowed;
92829 _this._stylesheet0$_isUseAllowed = false;
92830 switch ($name.get$asPlain()) {
92831 case "at-root":
92832 return _this._stylesheet0$_atRootRule$1(start);
92833 case "content":
92834 return _this._stylesheet0$_contentRule$1(start);
92835 case "debug":
92836 return _this._stylesheet0$_debugRule$1(start);
92837 case "each":
92838 return _this._stylesheet0$_eachRule$2(start, child);
92839 case "else":
92840 return _this._stylesheet0$_disallowedAtRule$1(start);
92841 case "error":
92842 return _this._stylesheet0$_errorRule$1(start);
92843 case "extend":
92844 if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
92845 _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
92846 value = _this.almostAnyValue$0();
92847 optional = t1.scanChar$1(33);
92848 if (optional)
92849 _this.expectIdentifier$1("optional");
92850 _this.expectStatementSeparator$1("@extend rule");
92851 return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
92852 case "for":
92853 return _this._stylesheet0$_forRule$2(start, child);
92854 case "forward":
92855 _this._stylesheet0$_isUseAllowed = wasUseAllowed;
92856 if (!root)
92857 _this._stylesheet0$_disallowedAtRule$1(start);
92858 return _this._stylesheet0$_forwardRule$1(start);
92859 case "function":
92860 return _this._stylesheet0$_functionRule$1(start);
92861 case "if":
92862 return _this._stylesheet0$_ifRule$2(start, child);
92863 case "import":
92864 return _this._stylesheet0$_importRule$1(start);
92865 case "include":
92866 return _this._stylesheet0$_includeRule$1(start);
92867 case "media":
92868 return _this.mediaRule$1(start);
92869 case "mixin":
92870 return _this._stylesheet0$_mixinRule$1(start);
92871 case "-moz-document":
92872 return _this.mozDocumentRule$2(start, $name);
92873 case "return":
92874 return _this._stylesheet0$_disallowedAtRule$1(start);
92875 case "supports":
92876 return _this.supportsRule$1(start);
92877 case "use":
92878 _this._stylesheet0$_isUseAllowed = wasUseAllowed;
92879 if (!root)
92880 _this._stylesheet0$_disallowedAtRule$1(start);
92881 url = _this._stylesheet0$_urlString$0();
92882 _this.whitespace$0();
92883 namespace = _this._stylesheet0$_useNamespace$2(url, start);
92884 _this.whitespace$0();
92885 configuration = _this._stylesheet0$_configuration$0();
92886 _this.expectStatementSeparator$1(_s9_);
92887 span = t1.spanFrom$1(start);
92888 if (!_this._stylesheet0$_isUseAllowed)
92889 _this.error$2(0, string$.x40use_r, span);
92890 _this.expectStatementSeparator$1(_s9_);
92891 t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
92892 t1.UseRule$4$configuration0(url, namespace, span, configuration);
92893 return t1;
92894 case "warn":
92895 return _this._stylesheet0$_warnRule$1(start);
92896 case "while":
92897 return _this._stylesheet0$_whileRule$2(start, child);
92898 default:
92899 return _this.unknownAtRule$2(start, $name);
92900 }
92901 },
92902 _stylesheet0$_declarationAtRule$0() {
92903 var _this = this,
92904 t1 = _this.scanner,
92905 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92906 switch (_this._stylesheet0$_plainAtRuleName$0()) {
92907 case "content":
92908 return _this._stylesheet0$_contentRule$1(start);
92909 case "debug":
92910 return _this._stylesheet0$_debugRule$1(start);
92911 case "each":
92912 return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
92913 case "else":
92914 return _this._stylesheet0$_disallowedAtRule$1(start);
92915 case "error":
92916 return _this._stylesheet0$_errorRule$1(start);
92917 case "for":
92918 return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
92919 case "if":
92920 return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
92921 case "include":
92922 return _this._stylesheet0$_includeRule$1(start);
92923 case "warn":
92924 return _this._stylesheet0$_warnRule$1(start);
92925 case "while":
92926 return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
92927 default:
92928 return _this._stylesheet0$_disallowedAtRule$1(start);
92929 }
92930 },
92931 _stylesheet0$_functionChild$0() {
92932 var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, value, _this = this,
92933 t1 = _this.scanner;
92934 if (t1.peekChar$0() !== 64) {
92935 t2 = t1._string_scanner$_position;
92936 state = new A._SpanScannerState(t1, t2);
92937 try {
92938 namespace = _this.identifier$0();
92939 t1.expectChar$1(46);
92940 t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
92941 return t2;
92942 } catch (exception) {
92943 t2 = A.unwrapException(exception);
92944 t3 = type$.SourceSpanFormatException;
92945 if (t3._is(t2)) {
92946 variableDeclarationError = t2;
92947 stackTrace = A.getTraceFromException(exception);
92948 t1.set$state(state);
92949 statement = null;
92950 try {
92951 statement = _this._stylesheet0$_declarationOrStyleRule$0();
92952 } catch (exception) {
92953 if (t3._is(A.unwrapException(exception)))
92954 throw A.wrapException(variableDeclarationError);
92955 else
92956 throw exception;
92957 }
92958 _this.error$3(0, "@function rules may not contain " + (statement instanceof A.StyleRule0 ? "style rules" : "declarations") + ".", J.get$span$z(statement), stackTrace);
92959 } else
92960 throw exception;
92961 }
92962 }
92963 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92964 switch (_this._stylesheet0$_plainAtRuleName$0()) {
92965 case "debug":
92966 return _this._stylesheet0$_debugRule$1(start);
92967 case "each":
92968 return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
92969 case "else":
92970 return _this._stylesheet0$_disallowedAtRule$1(start);
92971 case "error":
92972 return _this._stylesheet0$_errorRule$1(start);
92973 case "for":
92974 return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
92975 case "if":
92976 return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
92977 case "return":
92978 value = _this.expression$0();
92979 _this.expectStatementSeparator$1("@return rule");
92980 return new A.ReturnRule0(value, t1.spanFrom$1(start));
92981 case "warn":
92982 return _this._stylesheet0$_warnRule$1(start);
92983 case "while":
92984 return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
92985 default:
92986 return _this._stylesheet0$_disallowedAtRule$1(start);
92987 }
92988 },
92989 _stylesheet0$_plainAtRuleName$0() {
92990 this.scanner.expectChar$2$name(64, "@-rule");
92991 var $name = this.identifier$0();
92992 this.whitespace$0();
92993 return $name;
92994 },
92995 _stylesheet0$_atRootRule$1(start) {
92996 var query, _this = this,
92997 t1 = _this.scanner;
92998 if (t1.peekChar$0() === 40) {
92999 query = _this._stylesheet0$_atRootQuery$0();
93000 _this.whitespace$0();
93001 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(query));
93002 } else if (_this.lookingAtChildren$0())
93003 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
93004 else
93005 return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
93006 },
93007 _stylesheet0$_atRootQuery$0() {
93008 var interpolation, t2, t3, t4, buffer, t5, _this = this,
93009 t1 = _this.scanner;
93010 if (t1.peekChar$0() === 35) {
93011 interpolation = _this.singleInterpolation$0();
93012 return A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
93013 }
93014 t2 = t1._string_scanner$_position;
93015 t3 = new A.StringBuffer("");
93016 t4 = A._setArrayType([], type$.JSArray_Object);
93017 buffer = new A.InterpolationBuffer0(t3, t4);
93018 t1.expectChar$1(40);
93019 t3._contents += A.Primitives_stringFromCharCode(40);
93020 _this.whitespace$0();
93021 t5 = _this.expression$0();
93022 buffer._interpolation_buffer0$_flushText$0();
93023 t4.push(t5);
93024 if (t1.scanChar$1(58)) {
93025 _this.whitespace$0();
93026 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
93027 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
93028 t5 = _this.expression$0();
93029 buffer._interpolation_buffer0$_flushText$0();
93030 t4.push(t5);
93031 }
93032 t1.expectChar$1(41);
93033 _this.whitespace$0();
93034 t3._contents += A.Primitives_stringFromCharCode(41);
93035 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
93036 },
93037 _stylesheet0$_contentRule$1(start) {
93038 var t1, $arguments, t2, t3, _this = this;
93039 if (!_this._stylesheet0$_inMixin)
93040 _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
93041 _this.whitespace$0();
93042 t1 = _this.scanner;
93043 if (t1.peekChar$0() === 40)
93044 $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
93045 else {
93046 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93047 t3 = t2.offset;
93048 $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
93049 }
93050 _this.expectStatementSeparator$1("@content rule");
93051 return new A.ContentRule0($arguments, t1.spanFrom$1(start));
93052 },
93053 _stylesheet0$_debugRule$1(start) {
93054 var value = this.expression$0();
93055 this.expectStatementSeparator$1("@debug rule");
93056 return new A.DebugRule0(value, this.scanner.spanFrom$1(start));
93057 },
93058 _stylesheet0$_eachRule$2(start, child) {
93059 var variables, t1, _this = this,
93060 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93061 _this._stylesheet0$_inControlDirective = true;
93062 variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
93063 _this.whitespace$0();
93064 for (t1 = _this.scanner; t1.scanChar$1(44);) {
93065 _this.whitespace$0();
93066 t1.expectChar$1(36);
93067 variables.push(_this.identifier$1$normalize(true));
93068 _this.whitespace$0();
93069 }
93070 _this.expectIdentifier$1("in");
93071 _this.whitespace$0();
93072 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this.expression$0()));
93073 },
93074 _stylesheet0$_errorRule$1(start) {
93075 var value = this.expression$0();
93076 this.expectStatementSeparator$1("@error rule");
93077 return new A.ErrorRule0(value, this.scanner.spanFrom$1(start));
93078 },
93079 _stylesheet0$_functionRule$1(start) {
93080 var $name, $arguments, _this = this,
93081 precedingComment = _this.lastSilentComment;
93082 _this.lastSilentComment = null;
93083 $name = _this.identifier$1$normalize(true);
93084 _this.whitespace$0();
93085 $arguments = _this._stylesheet0$_argumentDeclaration$0();
93086 if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
93087 _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
93088 else if (_this._stylesheet0$_inControlDirective)
93089 _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
93090 switch (A.unvendor0($name)) {
93091 case "calc":
93092 case "element":
93093 case "expression":
93094 case "url":
93095 case "and":
93096 case "or":
93097 case "not":
93098 case "clamp":
93099 _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
93100 break;
93101 }
93102 _this.whitespace$0();
93103 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, $arguments, precedingComment));
93104 },
93105 _stylesheet0$_forRule$2(start, child) {
93106 var variable, from, _this = this, t1 = {},
93107 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93108 _this._stylesheet0$_inControlDirective = true;
93109 variable = _this.variableName$0();
93110 _this.whitespace$0();
93111 _this.expectIdentifier$1("from");
93112 _this.whitespace$0();
93113 t1.exclusive = null;
93114 from = _this.expression$1$until(new A.StylesheetParser__forRule_closure1(t1, _this));
93115 if (t1.exclusive == null)
93116 _this.scanner.error$1(0, 'Expected "to" or "through".');
93117 _this.whitespace$0();
93118 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this.expression$0()));
93119 },
93120 _stylesheet0$_forwardRule$1(start) {
93121 var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
93122 url = _this._stylesheet0$_urlString$0();
93123 _this.whitespace$0();
93124 if (_this.scanIdentifier$1("as")) {
93125 _this.whitespace$0();
93126 prefix = _this.identifier$1$normalize(true);
93127 _this.scanner.expectChar$1(42);
93128 _this.whitespace$0();
93129 } else
93130 prefix = _null;
93131 if (_this.scanIdentifier$1("show")) {
93132 members = _this._stylesheet0$_memberList$0();
93133 shownMixinsAndFunctions = members.item1;
93134 shownVariables = members.item2;
93135 hiddenVariables = _null;
93136 hiddenMixinsAndFunctions = hiddenVariables;
93137 } else {
93138 if (_this.scanIdentifier$1("hide")) {
93139 members = _this._stylesheet0$_memberList$0();
93140 hiddenMixinsAndFunctions = members.item1;
93141 hiddenVariables = members.item2;
93142 } else {
93143 hiddenVariables = _null;
93144 hiddenMixinsAndFunctions = hiddenVariables;
93145 }
93146 shownVariables = _null;
93147 shownMixinsAndFunctions = shownVariables;
93148 }
93149 configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
93150 _this.expectStatementSeparator$1("@forward rule");
93151 span = _this.scanner.spanFrom$1(start);
93152 if (!_this._stylesheet0$_isUseAllowed)
93153 _this.error$2(0, string$.x40forwa, span);
93154 if (shownMixinsAndFunctions != null) {
93155 shownVariables.toString;
93156 t1 = type$.String;
93157 t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
93158 t3 = type$.UnmodifiableSetView_String;
93159 t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
93160 t4 = configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
93161 return new A.ForwardRule0(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
93162 } else if (hiddenMixinsAndFunctions != null) {
93163 hiddenVariables.toString;
93164 t1 = type$.String;
93165 t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
93166 t3 = type$.UnmodifiableSetView_String;
93167 t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
93168 t4 = configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
93169 return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
93170 } else
93171 return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
93172 },
93173 _stylesheet0$_memberList$0() {
93174 var _this = this,
93175 t1 = type$.String,
93176 identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
93177 variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
93178 t1 = _this.scanner;
93179 do {
93180 _this.whitespace$0();
93181 _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
93182 _this.whitespace$0();
93183 } while (t1.scanChar$1(44));
93184 return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
93185 },
93186 _stylesheet0$_ifRule$2(start, child) {
93187 var condition, children, clauses, lastClause, span, _this = this,
93188 ifIndentation = _this.get$currentIndentation(),
93189 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93190 _this._stylesheet0$_inControlDirective = true;
93191 condition = _this.expression$0();
93192 children = _this.children$1(0, child);
93193 _this.whitespaceWithoutComments$0();
93194 clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
93195 while (true) {
93196 if (!_this.scanElse$1(ifIndentation)) {
93197 lastClause = null;
93198 break;
93199 }
93200 _this.whitespace$0();
93201 if (_this.scanIdentifier$1("if")) {
93202 _this.whitespace$0();
93203 clauses.push(A.IfClause$0(_this.expression$0(), _this.children$1(0, child)));
93204 } else {
93205 lastClause = A.ElseClause$0(_this.children$1(0, child));
93206 break;
93207 }
93208 }
93209 _this._stylesheet0$_inControlDirective = wasInControlDirective;
93210 span = _this.scanner.spanFrom$1(start);
93211 _this.whitespaceWithoutComments$0();
93212 return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
93213 },
93214 _stylesheet0$_importRule$1(start) {
93215 var argument, _this = this,
93216 imports = A._setArrayType([], type$.JSArray_Import_2),
93217 t1 = _this.scanner;
93218 do {
93219 _this.whitespace$0();
93220 argument = _this.importArgument$0();
93221 if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && argument instanceof A.DynamicImport0)
93222 _this._stylesheet0$_disallowedAtRule$1(start);
93223 imports.push(argument);
93224 _this.whitespace$0();
93225 } while (t1.scanChar$1(44));
93226 _this.expectStatementSeparator$1("@import rule");
93227 t1 = t1.spanFrom$1(start);
93228 return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
93229 },
93230 importArgument$0() {
93231 var url, urlSpan, innerError, stackTrace, queries, t2, t3, t4, exception, _this = this, _null = null,
93232 t1 = _this.scanner,
93233 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
93234 next = t1.peekChar$0();
93235 if (next === 117 || next === 85) {
93236 url = _this.dynamicUrl$0();
93237 _this.whitespace$0();
93238 queries = _this.tryImportQueries$0();
93239 t2 = A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start));
93240 t1 = t1.spanFrom$1(start);
93241 t3 = queries == null;
93242 t4 = t3 ? _null : queries.item1;
93243 return new A.StaticImport0(t2, t4, t3 ? _null : queries.item2, t1);
93244 }
93245 url = _this.string$0();
93246 urlSpan = t1.spanFrom$1(start);
93247 _this.whitespace$0();
93248 queries = _this.tryImportQueries$0();
93249 if (_this.isPlainImportUrl$1(url) || queries != null) {
93250 t2 = urlSpan;
93251 t2 = 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);
93252 t1 = t1.spanFrom$1(start);
93253 t3 = queries == null;
93254 t4 = t3 ? _null : queries.item1;
93255 return new A.StaticImport0(t2, t4, t3 ? _null : queries.item2, t1);
93256 } else
93257 try {
93258 t1 = _this.parseImportUrl$1(url);
93259 return new A.DynamicImport0(t1, urlSpan);
93260 } catch (exception) {
93261 t1 = A.unwrapException(exception);
93262 if (type$.FormatException._is(t1)) {
93263 innerError = t1;
93264 stackTrace = A.getTraceFromException(exception);
93265 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
93266 } else
93267 throw exception;
93268 }
93269 },
93270 parseImportUrl$1(url) {
93271 var t1 = $.$get$windows();
93272 if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
93273 return t1.toUri$1(url).toString$0(0);
93274 A.Uri_parse(url);
93275 return url;
93276 },
93277 isPlainImportUrl$1(url) {
93278 var first;
93279 if (url.length < 5)
93280 return false;
93281 if (B.JSString_methods.endsWith$1(url, ".css"))
93282 return true;
93283 first = B.JSString_methods._codeUnitAt$1(url, 0);
93284 if (first === 47)
93285 return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
93286 if (first !== 104)
93287 return false;
93288 return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
93289 },
93290 tryImportQueries$0() {
93291 var t1, start, supports, identifier, t2, $arguments, $name, media, _this = this, _null = null;
93292 if (_this.scanIdentifier$1("supports")) {
93293 t1 = _this.scanner;
93294 t1.expectChar$1(40);
93295 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93296 if (_this.scanIdentifier$1("not")) {
93297 _this.whitespace$0();
93298 supports = new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(start));
93299 } else if (t1.peekChar$0() === 40)
93300 supports = _this._stylesheet0$_supportsCondition$0();
93301 else {
93302 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
93303 identifier = _this.interpolatedIdentifier$0();
93304 t2 = identifier.get$asPlain();
93305 if ((t2 == null ? _null : t2.toLowerCase()) === "not")
93306 _this.error$2(0, '"not" is not a valid identifier here.', identifier.span);
93307 if (t1.scanChar$1(40)) {
93308 $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
93309 t1.expectChar$1(41);
93310 supports = new A.SupportsFunction0(identifier, $arguments, t1.spanFrom$1(start));
93311 } else {
93312 t1.set$state(start);
93313 supports = _null;
93314 }
93315 } else
93316 supports = _null;
93317 if (supports == null) {
93318 $name = _this.expression$0();
93319 t1.expectChar$1(58);
93320 supports = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
93321 }
93322 }
93323 t1.expectChar$1(41);
93324 _this.whitespace$0();
93325 } else
93326 supports = _null;
93327 media = _this._stylesheet0$_lookingAtInterpolatedIdentifier$0() || _this.scanner.peekChar$0() === 40 ? _this._stylesheet0$_mediaQueryList$0() : _null;
93328 if (supports == null && media == null)
93329 return _null;
93330 return new A.Tuple2(supports, media, type$.Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation_2);
93331 },
93332 _stylesheet0$_includeRule$1(start) {
93333 var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
93334 $name = _this.identifier$0(),
93335 t1 = _this.scanner;
93336 if (t1.scanChar$1(46)) {
93337 name0 = _this._stylesheet0$_publicIdentifier$0();
93338 namespace = $name;
93339 $name = name0;
93340 } else {
93341 $name = A.stringReplaceAllUnchecked($name, "_", "-");
93342 namespace = _null;
93343 }
93344 _this.whitespace$0();
93345 if (t1.peekChar$0() === 40)
93346 $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
93347 else {
93348 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93349 t3 = t2.offset;
93350 $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
93351 }
93352 _this.whitespace$0();
93353 if (_this.scanIdentifier$1("using")) {
93354 _this.whitespace$0();
93355 contentArguments = _this._stylesheet0$_argumentDeclaration$0();
93356 _this.whitespace$0();
93357 } else
93358 contentArguments = _null;
93359 t2 = contentArguments == null;
93360 if (!t2 || _this.lookingAtChildren$0()) {
93361 if (t2) {
93362 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93363 t3 = t2.offset;
93364 contentArguments_ = new A.ArgumentDeclaration0(B.List_empty18, _null, A._FileSpan$(t2.file, t3, t3));
93365 } else
93366 contentArguments_ = contentArguments;
93367 wasInContentBlock = _this._stylesheet0$_inContentBlock;
93368 _this._stylesheet0$_inContentBlock = true;
93369 $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentArguments_));
93370 _this._stylesheet0$_inContentBlock = wasInContentBlock;
93371 } else {
93372 _this.expectStatementSeparator$0();
93373 $content = _null;
93374 }
93375 t1 = t1.spanFrom$2(start, start);
93376 t2 = $content == null ? $arguments : $content;
93377 return new A.IncludeRule0(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
93378 },
93379 mediaRule$1(start) {
93380 return this._stylesheet0$_withChildren$3(this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(this._stylesheet0$_mediaQueryList$0()));
93381 },
93382 _stylesheet0$_mixinRule$1(start) {
93383 var $name, t1, $arguments, t2, t3, _this = this,
93384 precedingComment = _this.lastSilentComment;
93385 _this.lastSilentComment = null;
93386 $name = _this.identifier$1$normalize(true);
93387 _this.whitespace$0();
93388 t1 = _this.scanner;
93389 if (t1.peekChar$0() === 40)
93390 $arguments = _this._stylesheet0$_argumentDeclaration$0();
93391 else {
93392 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93393 t3 = t2.offset;
93394 $arguments = new A.ArgumentDeclaration0(B.List_empty18, null, A._FileSpan$(t2.file, t3, t3));
93395 }
93396 if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
93397 _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
93398 else if (_this._stylesheet0$_inControlDirective)
93399 _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
93400 _this.whitespace$0();
93401 _this._stylesheet0$_inMixin = true;
93402 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, $arguments, precedingComment));
93403 },
93404 mozDocumentRule$2(start, $name) {
93405 var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
93406 t1 = _this.scanner,
93407 t2 = t1._string_scanner$_position,
93408 t3 = new A.StringBuffer(""),
93409 t4 = A._setArrayType([], type$.JSArray_Object),
93410 buffer = new A.InterpolationBuffer0(t3, t4);
93411 _box_0.needsDeprecationWarning = false;
93412 for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
93413 if (t1.peekChar$0() === 35) {
93414 t7 = _this.singleInterpolation$0();
93415 buffer._interpolation_buffer0$_flushText$0();
93416 t4.push(t7);
93417 _box_0.needsDeprecationWarning = true;
93418 } else {
93419 t7 = t1._string_scanner$_position;
93420 identifier = _this.identifier$0();
93421 switch (identifier) {
93422 case "url":
93423 case "url-prefix":
93424 case "domain":
93425 contents = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
93426 if (contents != null)
93427 buffer.addInterpolation$1(contents);
93428 else {
93429 t1.expectChar$1(40);
93430 _this.whitespace$0();
93431 argument = _this.interpolatedString$0();
93432 t1.expectChar$1(41);
93433 t7 = t3._contents += identifier;
93434 t3._contents = t7 + A.Primitives_stringFromCharCode(40);
93435 buffer.addInterpolation$1(argument.asInterpolation$0());
93436 t3._contents += A.Primitives_stringFromCharCode(41);
93437 }
93438 t7 = t3._contents;
93439 trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
93440 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("")'))
93441 _box_0.needsDeprecationWarning = true;
93442 break;
93443 case "regexp":
93444 t3._contents += "regexp(";
93445 t1.expectChar$1(40);
93446 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
93447 t1.expectChar$1(41);
93448 t3._contents += A.Primitives_stringFromCharCode(41);
93449 _box_0.needsDeprecationWarning = true;
93450 break;
93451 default:
93452 endPosition = t1._string_scanner$_position;
93453 t8 = t1._sourceFile;
93454 t9 = new A._FileSpan(t8, t7, endPosition);
93455 t9._FileSpan$3(t8, t7, endPosition);
93456 A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
93457 }
93458 }
93459 _this.whitespace$0();
93460 if (!t1.scanChar$1(44))
93461 break;
93462 t3._contents += A.Primitives_stringFromCharCode(44);
93463 start0 = t1._string_scanner$_position;
93464 t5.call$0();
93465 end = t1._string_scanner$_position;
93466 t3._contents += B.JSString_methods.substring$2(t6, start0, end);
93467 }
93468 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)))));
93469 },
93470 supportsRule$1(start) {
93471 var _this = this,
93472 condition = _this._stylesheet0$_supportsCondition$0();
93473 _this.whitespace$0();
93474 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
93475 },
93476 _stylesheet0$_useNamespace$2(url, start) {
93477 var namespace, basename, dot, t1, exception, _this = this;
93478 if (_this.scanIdentifier$1("as")) {
93479 _this.whitespace$0();
93480 return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
93481 }
93482 basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
93483 dot = B.JSString_methods.indexOf$1(basename, ".");
93484 t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
93485 namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
93486 try {
93487 t1 = A.SpanScanner$(namespace, null);
93488 t1 = new A.Parser1(t1, _this.logger)._parser0$_parseIdentifier$0();
93489 return t1;
93490 } catch (exception) {
93491 if (A.unwrapException(exception) instanceof A.SassFormatException0)
93492 _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
93493 else
93494 throw exception;
93495 }
93496 },
93497 _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
93498 var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
93499 if (!_this.scanIdentifier$1("with"))
93500 return null;
93501 variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
93502 configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
93503 _this.whitespace$0();
93504 t1 = _this.scanner;
93505 t1.expectChar$1(40);
93506 for (t2 = t1.string; true;) {
93507 _this.whitespace$0();
93508 t3 = t1._string_scanner$_position;
93509 t1.expectChar$1(36);
93510 $name = _this.identifier$1$normalize(true);
93511 _this.whitespace$0();
93512 t1.expectChar$1(58);
93513 _this.whitespace$0();
93514 expression = _this._stylesheet0$_expressionUntilComma$0();
93515 t4 = t1._string_scanner$_position;
93516 if (allowGuarded && t1.scanChar$1(33))
93517 if (_this.identifier$0() === "default") {
93518 _this.whitespace$0();
93519 guarded = true;
93520 } else {
93521 endPosition = t1._string_scanner$_position;
93522 t5 = t1._sourceFile;
93523 t6 = new A._FileSpan(t5, t4, endPosition);
93524 t6._FileSpan$3(t5, t4, endPosition);
93525 A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
93526 guarded = false;
93527 }
93528 else
93529 guarded = false;
93530 endPosition = t1._string_scanner$_position;
93531 t4 = t1._sourceFile;
93532 span = new A._FileSpan(t4, t3, endPosition);
93533 span._FileSpan$3(t4, t3, endPosition);
93534 if (variableNames.contains$1(0, $name))
93535 A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
93536 variableNames.add$1(0, $name);
93537 configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
93538 if (!t1.scanChar$1(44))
93539 break;
93540 _this.whitespace$0();
93541 if (!_this._stylesheet0$_lookingAtExpression$0())
93542 break;
93543 }
93544 t1.expectChar$1(41);
93545 return configuration;
93546 },
93547 _stylesheet0$_configuration$0() {
93548 return this._stylesheet0$_configuration$1$allowGuarded(false);
93549 },
93550 _stylesheet0$_warnRule$1(start) {
93551 var value = this.expression$0();
93552 this.expectStatementSeparator$1("@warn rule");
93553 return new A.WarnRule0(value, this.scanner.spanFrom$1(start));
93554 },
93555 _stylesheet0$_whileRule$2(start, child) {
93556 var _this = this,
93557 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93558 _this._stylesheet0$_inControlDirective = true;
93559 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this.expression$0()));
93560 },
93561 unknownAtRule$2(start, $name) {
93562 var t2, t3, rule, _this = this, t1 = {},
93563 wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
93564 _this._stylesheet0$_inUnknownAtRule = true;
93565 t1.value = null;
93566 t2 = _this.scanner;
93567 t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
93568 if (_this.lookingAtChildren$0())
93569 rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
93570 else {
93571 _this.expectStatementSeparator$0();
93572 rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
93573 }
93574 _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
93575 return rule;
93576 },
93577 _stylesheet0$_disallowedAtRule$1(start) {
93578 this.almostAnyValue$0();
93579 this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
93580 },
93581 _stylesheet0$_argumentDeclaration$0() {
93582 var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
93583 t1 = _this.scanner,
93584 t2 = t1._string_scanner$_position;
93585 t1.expectChar$1(40);
93586 _this.whitespace$0();
93587 $arguments = A._setArrayType([], type$.JSArray_Argument_2);
93588 named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
93589 t3 = t1.string;
93590 while (true) {
93591 if (!(t1.peekChar$0() === 36)) {
93592 restArgument = null;
93593 break;
93594 }
93595 t4 = t1._string_scanner$_position;
93596 t1.expectChar$1(36);
93597 $name = _this.identifier$1$normalize(true);
93598 _this.whitespace$0();
93599 if (t1.scanChar$1(58)) {
93600 _this.whitespace$0();
93601 defaultValue = _this._stylesheet0$_expressionUntilComma$0();
93602 } else {
93603 if (t1.scanChar$1(46)) {
93604 t1.expectChar$1(46);
93605 t1.expectChar$1(46);
93606 _this.whitespace$0();
93607 restArgument = $name;
93608 break;
93609 }
93610 defaultValue = null;
93611 }
93612 endPosition = t1._string_scanner$_position;
93613 t5 = t1._sourceFile;
93614 t6 = new A._FileSpan(t5, t4, endPosition);
93615 t6._FileSpan$3(t5, t4, endPosition);
93616 $arguments.push(new A.Argument0($name, defaultValue, t6));
93617 if (!named.add$1(0, $name))
93618 A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
93619 if (!t1.scanChar$1(44)) {
93620 restArgument = null;
93621 break;
93622 }
93623 _this.whitespace$0();
93624 }
93625 t1.expectChar$1(41);
93626 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
93627 return new A.ArgumentDeclaration0(A.List_List$unmodifiable($arguments, type$.Argument_2), restArgument, t1);
93628 },
93629 _stylesheet0$_argumentInvocation$1$mixin(mixin) {
93630 var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, _this = this,
93631 t1 = _this.scanner,
93632 t2 = t1._string_scanner$_position;
93633 t1.expectChar$1(40);
93634 _this.whitespace$0();
93635 positional = A._setArrayType([], type$.JSArray_Expression_2);
93636 t3 = type$.String;
93637 t4 = type$.Expression_2;
93638 named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
93639 t5 = !mixin;
93640 t6 = t1.string;
93641 rest = null;
93642 while (true) {
93643 if (!_this._stylesheet0$_lookingAtExpression$0()) {
93644 keywordRest = null;
93645 break;
93646 }
93647 expression = _this._stylesheet0$_expressionUntilComma$1$singleEquals(t5);
93648 _this.whitespace$0();
93649 if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
93650 _this.whitespace$0();
93651 t7 = expression.name;
93652 if (named.containsKey$1(t7))
93653 A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
93654 named.$indexSet(0, t7, _this._stylesheet0$_expressionUntilComma$1$singleEquals(t5));
93655 } else if (t1.scanChar$1(46)) {
93656 t1.expectChar$1(46);
93657 t1.expectChar$1(46);
93658 if (rest != null) {
93659 _this.whitespace$0();
93660 keywordRest = expression;
93661 break;
93662 }
93663 rest = expression;
93664 } else if (named.get$isNotEmpty(named))
93665 A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
93666 else
93667 positional.push(expression);
93668 _this.whitespace$0();
93669 if (!t1.scanChar$1(44)) {
93670 keywordRest = null;
93671 break;
93672 }
93673 _this.whitespace$0();
93674 }
93675 t1.expectChar$1(41);
93676 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
93677 return new A.ArgumentInvocation0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
93678 },
93679 _stylesheet0$_argumentInvocation$0() {
93680 return this._stylesheet0$_argumentInvocation$1$mixin(false);
93681 },
93682 expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
93683 var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
93684 _s20_ = "Expected expression.",
93685 _box_0 = {},
93686 t1 = until != null;
93687 if (t1 && until.call$0())
93688 _this.scanner.error$1(0, _s20_);
93689 if (bracketList) {
93690 t2 = _this.scanner;
93691 beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
93692 t2.expectChar$1(91);
93693 _this.whitespace$0();
93694 if (t2.scanChar$1(93)) {
93695 t1 = A._setArrayType([], type$.JSArray_Expression_2);
93696 t2 = t2.spanFrom$1(beforeBracket);
93697 return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null0, true, t2);
93698 }
93699 } else
93700 beforeBracket = null;
93701 t2 = _this.scanner;
93702 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
93703 wasInParentheses = _this._stylesheet0$_inParentheses;
93704 _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
93705 _box_0.allowSlash = true;
93706 _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
93707 resetState = new A.StylesheetParser_expression_resetState0(_box_0, _this, start);
93708 resolveOneOperation = new A.StylesheetParser_expression_resolveOneOperation0(_box_0, _this);
93709 resolveOperations = new A.StylesheetParser_expression_resolveOperations0(_box_0, resolveOneOperation);
93710 addSingleExpression = new A.StylesheetParser_expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
93711 addOperator = new A.StylesheetParser_expression_addOperator0(_box_0, _this, resolveOneOperation);
93712 resolveSpaceExpressions = new A.StylesheetParser_expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
93713 $label0$0:
93714 for (t3 = type$.JSArray_Expression_2; true;) {
93715 _this.whitespace$0();
93716 if (t1 && until.call$0())
93717 break $label0$0;
93718 first = t2.peekChar$0();
93719 switch (first) {
93720 case 40:
93721 addSingleExpression.call$1(_this._stylesheet0$_parentheses$0());
93722 break;
93723 case 91:
93724 addSingleExpression.call$1(_this.expression$1$bracketList(true));
93725 break;
93726 case 36:
93727 addSingleExpression.call$1(_this._stylesheet0$_variable$0());
93728 break;
93729 case 38:
93730 addSingleExpression.call$1(_this._stylesheet0$_selector$0());
93731 break;
93732 case 39:
93733 case 34:
93734 addSingleExpression.call$1(_this.interpolatedString$0());
93735 break;
93736 case 35:
93737 addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
93738 break;
93739 case 61:
93740 t2.readChar$0();
93741 if (singleEquals && t2.peekChar$0() !== 61)
93742 addOperator.call$1(B.BinaryOperator_kjl0);
93743 else {
93744 t2.expectChar$1(61);
93745 addOperator.call$1(B.BinaryOperator_YlX0);
93746 }
93747 break;
93748 case 33:
93749 next = t2.peekChar$1(1);
93750 if (next === 61) {
93751 t2.readChar$0();
93752 t2.readChar$0();
93753 addOperator.call$1(B.BinaryOperator_i5H0);
93754 } else {
93755 if (next != null)
93756 if ((next | 32) >>> 0 !== 105)
93757 t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
93758 else
93759 t4 = true;
93760 else
93761 t4 = true;
93762 if (t4)
93763 addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
93764 else
93765 break $label0$0;
93766 }
93767 break;
93768 case 60:
93769 t2.readChar$0();
93770 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_33h0 : B.BinaryOperator_8qt0);
93771 break;
93772 case 62:
93773 t2.readChar$0();
93774 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_1da0 : B.BinaryOperator_AcR1);
93775 break;
93776 case 42:
93777 t2.readChar$0();
93778 addOperator.call$1(B.BinaryOperator_O1M0);
93779 break;
93780 case 43:
93781 if (_box_0.singleExpression_ == null)
93782 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
93783 else {
93784 t2.readChar$0();
93785 addOperator.call$1(B.BinaryOperator_AcR2);
93786 }
93787 break;
93788 case 45:
93789 next = t2.peekChar$1(1);
93790 if (next != null && next >= 48 && next <= 57 || next === 46)
93791 if (_box_0.singleExpression_ != null) {
93792 t4 = t2.peekChar$1(-1);
93793 t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
93794 } else
93795 t4 = true;
93796 else
93797 t4 = false;
93798 if (t4)
93799 addSingleExpression.call$1(_this._stylesheet0$_number$0());
93800 else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
93801 addSingleExpression.call$1(_this.identifierLike$0());
93802 else if (_box_0.singleExpression_ == null)
93803 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
93804 else {
93805 t2.readChar$0();
93806 addOperator.call$1(B.BinaryOperator_iyO0);
93807 }
93808 break;
93809 case 47:
93810 if (_box_0.singleExpression_ == null)
93811 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
93812 else {
93813 t2.readChar$0();
93814 addOperator.call$1(B.BinaryOperator_RTB0);
93815 }
93816 break;
93817 case 37:
93818 t2.readChar$0();
93819 addOperator.call$1(B.BinaryOperator_2ad0);
93820 break;
93821 case 48:
93822 case 49:
93823 case 50:
93824 case 51:
93825 case 52:
93826 case 53:
93827 case 54:
93828 case 55:
93829 case 56:
93830 case 57:
93831 addSingleExpression.call$1(_this._stylesheet0$_number$0());
93832 break;
93833 case 46:
93834 if (t2.peekChar$1(1) === 46)
93835 break $label0$0;
93836 addSingleExpression.call$1(_this._stylesheet0$_number$0());
93837 break;
93838 case 97:
93839 if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
93840 addOperator.call$1(B.BinaryOperator_and_and_20);
93841 else
93842 addSingleExpression.call$1(_this.identifierLike$0());
93843 break;
93844 case 111:
93845 if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
93846 addOperator.call$1(B.BinaryOperator_or_or_10);
93847 else
93848 addSingleExpression.call$1(_this.identifierLike$0());
93849 break;
93850 case 117:
93851 case 85:
93852 if (t2.peekChar$1(1) === 43)
93853 addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
93854 else
93855 addSingleExpression.call$1(_this.identifierLike$0());
93856 break;
93857 case 98:
93858 case 99:
93859 case 100:
93860 case 101:
93861 case 102:
93862 case 103:
93863 case 104:
93864 case 105:
93865 case 106:
93866 case 107:
93867 case 108:
93868 case 109:
93869 case 110:
93870 case 112:
93871 case 113:
93872 case 114:
93873 case 115:
93874 case 116:
93875 case 118:
93876 case 119:
93877 case 120:
93878 case 121:
93879 case 122:
93880 case 65:
93881 case 66:
93882 case 67:
93883 case 68:
93884 case 69:
93885 case 70:
93886 case 71:
93887 case 72:
93888 case 73:
93889 case 74:
93890 case 75:
93891 case 76:
93892 case 77:
93893 case 78:
93894 case 79:
93895 case 80:
93896 case 81:
93897 case 82:
93898 case 83:
93899 case 84:
93900 case 86:
93901 case 87:
93902 case 88:
93903 case 89:
93904 case 90:
93905 case 95:
93906 case 92:
93907 addSingleExpression.call$1(_this.identifierLike$0());
93908 break;
93909 case 44:
93910 if (_this._stylesheet0$_inParentheses) {
93911 _this._stylesheet0$_inParentheses = false;
93912 if (_box_0.allowSlash) {
93913 resetState.call$0();
93914 break;
93915 }
93916 }
93917 commaExpressions = _box_0.commaExpressions_;
93918 if (commaExpressions == null)
93919 commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
93920 if (_box_0.singleExpression_ == null)
93921 t2.error$1(0, _s20_);
93922 resolveSpaceExpressions.call$0();
93923 t4 = _box_0.singleExpression_;
93924 t4.toString;
93925 commaExpressions.push(t4);
93926 t2.readChar$0();
93927 _box_0.allowSlash = true;
93928 _box_0.singleExpression_ = null;
93929 break;
93930 default:
93931 if (first != null && first >= 128) {
93932 addSingleExpression.call$1(_this.identifierLike$0());
93933 break;
93934 } else
93935 break $label0$0;
93936 }
93937 }
93938 if (bracketList)
93939 t2.expectChar$1(93);
93940 commaExpressions = _box_0.commaExpressions_;
93941 spaceExpressions = _box_0.spaceExpressions_;
93942 if (commaExpressions != null) {
93943 resolveSpaceExpressions.call$0();
93944 _this._stylesheet0$_inParentheses = wasInParentheses;
93945 singleExpression = _box_0.singleExpression_;
93946 if (singleExpression != null)
93947 commaExpressions.push(singleExpression);
93948 t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
93949 return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_kWM0, bracketList, t1);
93950 } else if (bracketList && spaceExpressions != null) {
93951 resolveOperations.call$0();
93952 t1 = _box_0.singleExpression_;
93953 t1.toString;
93954 spaceExpressions.push(t1);
93955 beforeBracket.toString;
93956 t2 = t2.spanFrom$1(beforeBracket);
93957 return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_woc0, true, t2);
93958 } else {
93959 resolveSpaceExpressions.call$0();
93960 if (bracketList) {
93961 t1 = _box_0.singleExpression_;
93962 t1.toString;
93963 t3 = A._setArrayType([t1], t3);
93964 beforeBracket.toString;
93965 t2 = t2.spanFrom$1(beforeBracket);
93966 _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t3, type$.Expression_2), B.ListSeparator_undecided_null0, true, t2);
93967 }
93968 t1 = _box_0.singleExpression_;
93969 t1.toString;
93970 return t1;
93971 }
93972 },
93973 expression$2$singleEquals$until(singleEquals, until) {
93974 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, until);
93975 },
93976 expression$1$bracketList(bracketList) {
93977 return this.expression$3$bracketList$singleEquals$until(bracketList, false, null);
93978 },
93979 expression$0() {
93980 return this.expression$3$bracketList$singleEquals$until(false, false, null);
93981 },
93982 expression$1$singleEquals(singleEquals) {
93983 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, null);
93984 },
93985 expression$1$until(until) {
93986 return this.expression$3$bracketList$singleEquals$until(false, false, until);
93987 },
93988 _stylesheet0$_expressionUntilComma$1$singleEquals(singleEquals) {
93989 return this.expression$2$singleEquals$until(singleEquals, new A.StylesheetParser__expressionUntilComma_closure0(this));
93990 },
93991 _stylesheet0$_expressionUntilComma$0() {
93992 return this._stylesheet0$_expressionUntilComma$1$singleEquals(false);
93993 },
93994 _stylesheet0$_isSlashOperand$1(expression) {
93995 var t1;
93996 if (!(expression instanceof A.NumberExpression0))
93997 if (!(expression instanceof A.CalculationExpression0))
93998 t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
93999 else
94000 t1 = true;
94001 else
94002 t1 = true;
94003 return t1;
94004 },
94005 _stylesheet0$_singleExpression$0() {
94006 var next, _this = this,
94007 t1 = _this.scanner,
94008 first = t1.peekChar$0();
94009 switch (first) {
94010 case 40:
94011 return _this._stylesheet0$_parentheses$0();
94012 case 47:
94013 return _this._stylesheet0$_unaryOperation$0();
94014 case 46:
94015 return _this._stylesheet0$_number$0();
94016 case 91:
94017 return _this.expression$1$bracketList(true);
94018 case 36:
94019 return _this._stylesheet0$_variable$0();
94020 case 38:
94021 return _this._stylesheet0$_selector$0();
94022 case 39:
94023 case 34:
94024 return _this.interpolatedString$0();
94025 case 35:
94026 return _this._stylesheet0$_hashExpression$0();
94027 case 43:
94028 next = t1.peekChar$1(1);
94029 return A.isDigit0(next) || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
94030 case 45:
94031 return _this._stylesheet0$_minusExpression$0();
94032 case 33:
94033 return _this._stylesheet0$_importantExpression$0();
94034 case 117:
94035 case 85:
94036 if (t1.peekChar$1(1) === 43)
94037 return _this._stylesheet0$_unicodeRange$0();
94038 else
94039 return _this.identifierLike$0();
94040 case 48:
94041 case 49:
94042 case 50:
94043 case 51:
94044 case 52:
94045 case 53:
94046 case 54:
94047 case 55:
94048 case 56:
94049 case 57:
94050 return _this._stylesheet0$_number$0();
94051 case 97:
94052 case 98:
94053 case 99:
94054 case 100:
94055 case 101:
94056 case 102:
94057 case 103:
94058 case 104:
94059 case 105:
94060 case 106:
94061 case 107:
94062 case 108:
94063 case 109:
94064 case 110:
94065 case 111:
94066 case 112:
94067 case 113:
94068 case 114:
94069 case 115:
94070 case 116:
94071 case 118:
94072 case 119:
94073 case 120:
94074 case 121:
94075 case 122:
94076 case 65:
94077 case 66:
94078 case 67:
94079 case 68:
94080 case 69:
94081 case 70:
94082 case 71:
94083 case 72:
94084 case 73:
94085 case 74:
94086 case 75:
94087 case 76:
94088 case 77:
94089 case 78:
94090 case 79:
94091 case 80:
94092 case 81:
94093 case 82:
94094 case 83:
94095 case 84:
94096 case 86:
94097 case 87:
94098 case 88:
94099 case 89:
94100 case 90:
94101 case 95:
94102 case 92:
94103 return _this.identifierLike$0();
94104 default:
94105 if (first != null && first >= 128)
94106 return _this.identifierLike$0();
94107 t1.error$1(0, "Expected expression.");
94108 }
94109 },
94110 _stylesheet0$_parentheses$0() {
94111 var wasInParentheses, start, first, expressions, t1, t2, _this = this;
94112 if (_this.get$plainCss())
94113 _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
94114 wasInParentheses = _this._stylesheet0$_inParentheses;
94115 _this._stylesheet0$_inParentheses = true;
94116 try {
94117 t1 = _this.scanner;
94118 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94119 t1.expectChar$1(40);
94120 _this.whitespace$0();
94121 if (!_this._stylesheet0$_lookingAtExpression$0()) {
94122 t1.expectChar$1(41);
94123 t2 = A._setArrayType([], type$.JSArray_Expression_2);
94124 t1 = t1.spanFrom$1(start);
94125 t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
94126 return new A.ListExpression0(t2, B.ListSeparator_undecided_null0, false, t1);
94127 }
94128 first = _this._stylesheet0$_expressionUntilComma$0();
94129 if (t1.scanChar$1(58)) {
94130 _this.whitespace$0();
94131 t1 = _this._stylesheet0$_map$2(first, start);
94132 return t1;
94133 }
94134 if (!t1.scanChar$1(44)) {
94135 t1.expectChar$1(41);
94136 t1 = t1.spanFrom$1(start);
94137 return new A.ParenthesizedExpression0(first, t1);
94138 }
94139 _this.whitespace$0();
94140 expressions = A._setArrayType([first], type$.JSArray_Expression_2);
94141 for (; true;) {
94142 if (!_this._stylesheet0$_lookingAtExpression$0())
94143 break;
94144 J.add$1$ax(expressions, _this._stylesheet0$_expressionUntilComma$0());
94145 if (!t1.scanChar$1(44))
94146 break;
94147 _this.whitespace$0();
94148 }
94149 t1.expectChar$1(41);
94150 t1 = t1.spanFrom$1(start);
94151 t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
94152 return new A.ListExpression0(t2, B.ListSeparator_kWM0, false, t1);
94153 } finally {
94154 _this._stylesheet0$_inParentheses = wasInParentheses;
94155 }
94156 },
94157 _stylesheet0$_map$2(first, start) {
94158 var t2, key, _this = this,
94159 t1 = type$.Tuple2_Expression_Expression_2,
94160 pairs = A._setArrayType([new A.Tuple2(first, _this._stylesheet0$_expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression_2);
94161 for (t2 = _this.scanner; t2.scanChar$1(44);) {
94162 _this.whitespace$0();
94163 if (!_this._stylesheet0$_lookingAtExpression$0())
94164 break;
94165 key = _this._stylesheet0$_expressionUntilComma$0();
94166 t2.expectChar$1(58);
94167 _this.whitespace$0();
94168 pairs.push(new A.Tuple2(key, _this._stylesheet0$_expressionUntilComma$0(), t1));
94169 }
94170 t2.expectChar$1(41);
94171 t2 = t2.spanFrom$1(start);
94172 return new A.MapExpression0(A.List_List$unmodifiable(pairs, t1), t2);
94173 },
94174 _stylesheet0$_hashExpression$0() {
94175 var start, first, t2, identifier, buffer, _this = this,
94176 t1 = _this.scanner;
94177 if (t1.peekChar$1(1) === 123)
94178 return _this.identifierLike$0();
94179 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94180 t1.expectChar$1(35);
94181 first = t1.peekChar$0();
94182 if (first != null && A.isDigit0(first))
94183 return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
94184 t2 = t1._string_scanner$_position;
94185 identifier = _this.interpolatedIdentifier$0();
94186 if (_this._stylesheet0$_isHexColor$1(identifier)) {
94187 t1.set$state(new A._SpanScannerState(t1, t2));
94188 return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
94189 }
94190 t2 = new A.StringBuffer("");
94191 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
94192 t2._contents = "" + A.Primitives_stringFromCharCode(35);
94193 buffer.addInterpolation$1(identifier);
94194 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
94195 },
94196 _stylesheet0$_hexColorContents$1(start) {
94197 var red, green, blue, alpha, digit4, t2, t3, _this = this,
94198 digit1 = _this._stylesheet0$_hexDigit$0(),
94199 digit2 = _this._stylesheet0$_hexDigit$0(),
94200 digit3 = _this._stylesheet0$_hexDigit$0(),
94201 t1 = _this.scanner;
94202 if (!A.isHex0(t1.peekChar$0())) {
94203 red = (digit1 << 4 >>> 0) + digit1;
94204 green = (digit2 << 4 >>> 0) + digit2;
94205 blue = (digit3 << 4 >>> 0) + digit3;
94206 alpha = null;
94207 } else {
94208 digit4 = _this._stylesheet0$_hexDigit$0();
94209 t2 = digit1 << 4 >>> 0;
94210 t3 = digit3 << 4 >>> 0;
94211 if (!A.isHex0(t1.peekChar$0())) {
94212 red = t2 + digit1;
94213 green = (digit2 << 4 >>> 0) + digit2;
94214 blue = t3 + digit3;
94215 alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
94216 } else {
94217 red = t2 + digit2;
94218 green = t3 + digit4;
94219 blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
94220 alpha = A.isHex0(t1.peekChar$0()) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
94221 }
94222 }
94223 return A.SassColor$rgbInternal0(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
94224 },
94225 _stylesheet0$_isHexColor$1(interpolation) {
94226 var t1,
94227 plain = interpolation.get$asPlain();
94228 if (plain == null)
94229 return false;
94230 t1 = plain.length;
94231 if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
94232 return false;
94233 t1 = new A.CodeUnits(plain);
94234 return t1.every$1(t1, A.character0__isHex$closure());
94235 },
94236 _stylesheet0$_hexDigit$0() {
94237 var t1 = this.scanner,
94238 char = t1.peekChar$0();
94239 if (char == null || !A.isHex0(char))
94240 t1.error$1(0, "Expected hex digit.");
94241 return A.asHex0(t1.readChar$0());
94242 },
94243 _stylesheet0$_minusExpression$0() {
94244 var _this = this,
94245 next = _this.scanner.peekChar$1(1);
94246 if (A.isDigit0(next) || next === 46)
94247 return _this._stylesheet0$_number$0();
94248 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
94249 return _this.identifierLike$0();
94250 return _this._stylesheet0$_unaryOperation$0();
94251 },
94252 _stylesheet0$_importantExpression$0() {
94253 var t1 = this.scanner,
94254 t2 = t1._string_scanner$_position;
94255 t1.readChar$0();
94256 this.whitespace$0();
94257 this.expectIdentifier$1("important");
94258 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
94259 return new A.StringExpression0(A.Interpolation$0(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
94260 },
94261 _stylesheet0$_unaryOperation$0() {
94262 var _this = this,
94263 t1 = _this.scanner,
94264 t2 = t1._string_scanner$_position,
94265 operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
94266 if (operator == null)
94267 t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
94268 else if (_this.get$plainCss() && operator !== B.UnaryOperator_zDx0)
94269 t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
94270 _this.whitespace$0();
94271 return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94272 },
94273 _stylesheet0$_unaryOperatorFor$1(character) {
94274 switch (character) {
94275 case 43:
94276 return B.UnaryOperator_j2w0;
94277 case 45:
94278 return B.UnaryOperator_U4G0;
94279 case 47:
94280 return B.UnaryOperator_zDx0;
94281 default:
94282 return null;
94283 }
94284 },
94285 _stylesheet0$_number$0() {
94286 var number, t4, unit, t5, _this = this,
94287 t1 = _this.scanner,
94288 t2 = t1._string_scanner$_position,
94289 first = t1.peekChar$0(),
94290 t3 = first === 45,
94291 sign = t3 ? -1 : 1;
94292 if (first === 43 || t3)
94293 t1.readChar$0();
94294 number = t1.peekChar$0() === 46 ? 0 : _this.naturalNumber$0();
94295 t3 = _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
94296 t4 = _this._stylesheet0$_tryExponent$0();
94297 if (t1.scanChar$1(37))
94298 unit = "%";
94299 else {
94300 if (_this.lookingAtIdentifier$0())
94301 t5 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
94302 else
94303 t5 = false;
94304 unit = t5 ? _this.identifier$1$unit(true) : null;
94305 }
94306 return new A.NumberExpression0(sign * ((number + t3) * t4), unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94307 },
94308 _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
94309 var t2,
94310 t1 = this.scanner,
94311 start = t1._string_scanner$_position;
94312 if (t1.peekChar$0() !== 46)
94313 return 0;
94314 if (!A.isDigit0(t1.peekChar$1(1))) {
94315 if (allowTrailingDot)
94316 return 0;
94317 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
94318 }
94319 t1.readChar$0();
94320 while (true) {
94321 t2 = t1.peekChar$0();
94322 if (!(t2 != null && t2 >= 48 && t2 <= 57))
94323 break;
94324 t1.readChar$0();
94325 }
94326 return A.double_parse(t1.substring$1(0, start));
94327 },
94328 _stylesheet0$_tryExponent$0() {
94329 var next, t2, exponentSign, exponent,
94330 t1 = this.scanner,
94331 first = t1.peekChar$0();
94332 if (first !== 101 && first !== 69)
94333 return 1;
94334 next = t1.peekChar$1(1);
94335 if (!A.isDigit0(next) && next !== 45 && next !== 43)
94336 return 1;
94337 t1.readChar$0();
94338 t2 = next === 45;
94339 exponentSign = t2 ? -1 : 1;
94340 if (next === 43 || t2)
94341 t1.readChar$0();
94342 if (!A.isDigit0(t1.peekChar$0()))
94343 t1.error$1(0, "Expected digit.");
94344 exponent = 0;
94345 while (true) {
94346 t2 = t1.peekChar$0();
94347 if (!(t2 != null && t2 >= 48 && t2 <= 57))
94348 break;
94349 exponent = exponent * 10 + (t1.readChar$0() - 48);
94350 }
94351 return Math.pow(10, exponentSign * exponent);
94352 },
94353 _stylesheet0$_unicodeRange$0() {
94354 var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
94355 _s26_ = "Expected at most 6 digits.",
94356 t1 = _this.scanner,
94357 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94358 _this.expectIdentChar$1(117);
94359 t1.expectChar$1(43);
94360 for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
94361 ++firstRangeLength;
94362 for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
94363 ++firstRangeLength;
94364 if (firstRangeLength === 0)
94365 t1.error$1(0, 'Expected hex digit or "?".');
94366 else if (firstRangeLength > 6)
94367 _this.error$2(0, _s26_, t1.spanFrom$1(start));
94368 else if (hasQuestionMark) {
94369 t2 = t1.substring$1(0, start.position);
94370 t1 = t1.spanFrom$1(start);
94371 return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
94372 }
94373 if (t1.scanChar$1(45)) {
94374 t2 = t1._string_scanner$_position;
94375 for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
94376 ++secondRangeLength;
94377 if (secondRangeLength === 0)
94378 t1.error$1(0, "Expected hex digit.");
94379 else if (secondRangeLength > 6)
94380 _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94381 }
94382 if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
94383 t1.error$1(0, "Expected end of identifier.");
94384 t2 = t1.substring$1(0, start.position);
94385 t1 = t1.spanFrom$1(start);
94386 return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
94387 },
94388 _stylesheet0$_variable$0() {
94389 var _this = this,
94390 t1 = _this.scanner,
94391 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
94392 $name = _this.variableName$0();
94393 if (_this.get$plainCss())
94394 _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
94395 return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
94396 },
94397 _stylesheet0$_selector$0() {
94398 var t1, start, _this = this;
94399 if (_this.get$plainCss())
94400 _this.scanner.error$2$length(0, string$.The_pa, 1);
94401 t1 = _this.scanner;
94402 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94403 t1.expectChar$1(38);
94404 if (t1.scanChar$1(38)) {
94405 _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
94406 t1.set$position(t1._string_scanner$_position - 1);
94407 }
94408 return new A.SelectorExpression0(t1.spanFrom$1(start));
94409 },
94410 interpolatedString$0() {
94411 var t3, t4, buffer, next, second, t5,
94412 t1 = this.scanner,
94413 t2 = t1._string_scanner$_position,
94414 quote = t1.readChar$0();
94415 if (quote !== 39 && quote !== 34)
94416 t1.error$2$position(0, "Expected string.", t2);
94417 t3 = new A.StringBuffer("");
94418 t4 = A._setArrayType([], type$.JSArray_Object);
94419 buffer = new A.InterpolationBuffer0(t3, t4);
94420 for (; true;) {
94421 next = t1.peekChar$0();
94422 if (next === quote) {
94423 t1.readChar$0();
94424 break;
94425 } else if (next == null || next === 10 || next === 13 || next === 12)
94426 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
94427 else if (next === 92) {
94428 second = t1.peekChar$1(1);
94429 if (second === 10 || second === 13 || second === 12) {
94430 t1.readChar$0();
94431 t1.readChar$0();
94432 if (second === 13)
94433 t1.scanChar$1(10);
94434 } else
94435 t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
94436 } else if (next === 35)
94437 if (t1.peekChar$1(1) === 123) {
94438 t5 = this.singleInterpolation$0();
94439 buffer._interpolation_buffer0$_flushText$0();
94440 t4.push(t5);
94441 } else
94442 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94443 else
94444 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94445 }
94446 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
94447 },
94448 identifierLike$0() {
94449 var invocation, lower, color, specialFunction, _this = this,
94450 t1 = _this.scanner,
94451 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
94452 identifier = _this.interpolatedIdentifier$0(),
94453 plain = identifier.get$asPlain(),
94454 t2 = plain == null,
94455 t3 = !t2;
94456 if (t3) {
94457 if (plain === "if" && t1.peekChar$0() === 40) {
94458 invocation = _this._stylesheet0$_argumentInvocation$0();
94459 return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
94460 } else if (plain === "not") {
94461 _this.whitespace$0();
94462 return new A.UnaryOperationExpression0(B.UnaryOperator_not_not0, _this._stylesheet0$_singleExpression$0(), identifier.span);
94463 }
94464 lower = plain.toLowerCase();
94465 if (t1.peekChar$0() !== 40) {
94466 switch (plain) {
94467 case "false":
94468 return new A.BooleanExpression0(false, identifier.span);
94469 case "null":
94470 return new A.NullExpression0(identifier.span);
94471 case "true":
94472 return new A.BooleanExpression0(true, identifier.span);
94473 }
94474 color = $.$get$colorsByName0().$index(0, lower);
94475 if (color != null) {
94476 t1 = identifier.span;
94477 return new A.ColorExpression0(A.SassColor$rgbInternal0(color.get$red(color), color.get$green(color), color.get$blue(color), color._color1$_alpha, new A.SpanColorFormat0(t1)), t1);
94478 }
94479 }
94480 specialFunction = _this.trySpecialFunction$2(lower, start);
94481 if (specialFunction != null)
94482 return specialFunction;
94483 }
94484 switch (t1.peekChar$0()) {
94485 case 46:
94486 if (t1.peekChar$1(1) === 46)
94487 return new A.StringExpression0(identifier, false);
94488 t1.readChar$0();
94489 if (t3)
94490 return _this.namespacedExpression$2(plain, start);
94491 _this.error$2(0, string$.Interpn, identifier.span);
94492 break;
94493 case 40:
94494 if (t2)
94495 return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94496 else
94497 return new A.FunctionExpression0(null, plain, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94498 default:
94499 return new A.StringExpression0(identifier, false);
94500 }
94501 },
94502 namespacedExpression$2(namespace, start) {
94503 var $name, _this = this,
94504 t1 = _this.scanner;
94505 if (t1.peekChar$0() === 36) {
94506 $name = _this.variableName$0();
94507 _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
94508 return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
94509 }
94510 return new A.FunctionExpression0(namespace, _this._stylesheet0$_publicIdentifier$0(), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94511 },
94512 trySpecialFunction$2($name, start) {
94513 var t2, buffer, t3, next, _this = this, _null = null,
94514 t1 = _this.scanner,
94515 calculation = t1.peekChar$0() === 40 ? _this._stylesheet0$_tryCalculation$2($name, start) : _null;
94516 if (calculation != null)
94517 return calculation;
94518 switch (A.unvendor0($name)) {
94519 case "calc":
94520 case "element":
94521 case "expression":
94522 if (!t1.scanChar$1(40))
94523 return _null;
94524 t2 = new A.StringBuffer("");
94525 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
94526 t3 = "" + $name;
94527 t2._contents = t3;
94528 t2._contents = t3 + A.Primitives_stringFromCharCode(40);
94529 break;
94530 case "progid":
94531 if (!t1.scanChar$1(58))
94532 return _null;
94533 t2 = new A.StringBuffer("");
94534 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
94535 t3 = "" + $name;
94536 t2._contents = t3;
94537 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
94538 next = t1.peekChar$0();
94539 while (true) {
94540 if (next != null) {
94541 if (!(next >= 97 && next <= 122))
94542 t3 = next >= 65 && next <= 90;
94543 else
94544 t3 = true;
94545 t3 = t3 || next === 46;
94546 } else
94547 t3 = false;
94548 if (!t3)
94549 break;
94550 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94551 next = t1.peekChar$0();
94552 }
94553 t1.expectChar$1(40);
94554 t2._contents += A.Primitives_stringFromCharCode(40);
94555 break;
94556 case "url":
94557 return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
94558 default:
94559 return _null;
94560 }
94561 buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
94562 t1.expectChar$1(41);
94563 buffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(41);
94564 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
94565 },
94566 _stylesheet0$_tryCalculation$2($name, start) {
94567 var beforeArguments, $arguments, t1, exception, t2, _this = this;
94568 switch ($name) {
94569 case "calc":
94570 $arguments = _this._stylesheet0$_calculationArguments$1(1);
94571 t1 = _this.scanner.spanFrom$1(start);
94572 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
94573 case "min":
94574 case "max":
94575 t1 = _this.scanner;
94576 beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
94577 $arguments = null;
94578 try {
94579 $arguments = _this._stylesheet0$_calculationArguments$0();
94580 } catch (exception) {
94581 if (type$.FormatException._is(A.unwrapException(exception))) {
94582 t1.set$state(beforeArguments);
94583 return null;
94584 } else
94585 throw exception;
94586 }
94587 t2 = $arguments;
94588 t1 = t1.spanFrom$1(start);
94589 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0(t2), t1);
94590 case "clamp":
94591 $arguments = _this._stylesheet0$_calculationArguments$1(3);
94592 t1 = _this.scanner.spanFrom$1(start);
94593 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
94594 default:
94595 return null;
94596 }
94597 },
94598 _stylesheet0$_calculationArguments$1(maxArgs) {
94599 var interpolation, $arguments, t2, _this = this,
94600 t1 = _this.scanner;
94601 t1.expectChar$1(40);
94602 interpolation = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
94603 if (interpolation != null) {
94604 t1.expectChar$1(41);
94605 return A._setArrayType([interpolation], type$.JSArray_Expression_2);
94606 }
94607 _this.whitespace$0();
94608 $arguments = A._setArrayType([_this._stylesheet0$_calculationSum$0()], type$.JSArray_Expression_2);
94609 t2 = maxArgs != null;
94610 while (true) {
94611 if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
94612 break;
94613 _this.whitespace$0();
94614 $arguments.push(_this._stylesheet0$_calculationSum$0());
94615 }
94616 t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
94617 return $arguments;
94618 },
94619 _stylesheet0$_calculationArguments$0() {
94620 return this._stylesheet0$_calculationArguments$1(null);
94621 },
94622 _stylesheet0$_calculationSum$0() {
94623 var t1, next, t2, t3, _this = this,
94624 sum = _this._stylesheet0$_calculationProduct$0();
94625 for (t1 = _this.scanner; true;) {
94626 next = t1.peekChar$0();
94627 t2 = next === 43;
94628 if (t2 || next === 45) {
94629 t3 = t1.peekChar$1(-1);
94630 if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
94631 t3 = t1.peekChar$1(1);
94632 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
94633 } else
94634 t3 = true;
94635 if (t3)
94636 t1.error$1(0, string$.x22x2b__an);
94637 t1.readChar$0();
94638 _this.whitespace$0();
94639 t2 = t2 ? B.BinaryOperator_AcR2 : B.BinaryOperator_iyO0;
94640 sum = new A.BinaryOperationExpression0(t2, sum, _this._stylesheet0$_calculationProduct$0(), false);
94641 } else
94642 return sum;
94643 }
94644 },
94645 _stylesheet0$_calculationProduct$0() {
94646 var t1, next, t2, _this = this,
94647 product = _this._stylesheet0$_calculationValue$0();
94648 for (t1 = _this.scanner; true;) {
94649 _this.whitespace$0();
94650 next = t1.peekChar$0();
94651 t2 = next === 42;
94652 if (t2 || next === 47) {
94653 t1.readChar$0();
94654 _this.whitespace$0();
94655 t2 = t2 ? B.BinaryOperator_O1M0 : B.BinaryOperator_RTB0;
94656 product = new A.BinaryOperationExpression0(t2, product, _this._stylesheet0$_calculationValue$0(), false);
94657 } else
94658 return product;
94659 }
94660 },
94661 _stylesheet0$_calculationValue$0() {
94662 var t2, value, start, ident, lowerCase, calculation, _this = this,
94663 t1 = _this.scanner,
94664 next = t1.peekChar$0();
94665 if (next === 43 || next === 45 || next === 46 || A.isDigit0(next))
94666 return _this._stylesheet0$_number$0();
94667 else if (next === 36)
94668 return _this._stylesheet0$_variable$0();
94669 else if (next === 40) {
94670 t2 = t1._string_scanner$_position;
94671 t1.readChar$0();
94672 value = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
94673 if (value == null) {
94674 _this.whitespace$0();
94675 value = _this._stylesheet0$_calculationSum$0();
94676 }
94677 _this.whitespace$0();
94678 t1.expectChar$1(41);
94679 return new A.ParenthesizedExpression0(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94680 } else if (!_this.lookingAtIdentifier$0())
94681 t1.error$1(0, string$.Expectn);
94682 else {
94683 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94684 ident = _this.identifier$0();
94685 if (t1.scanChar$1(46))
94686 return _this.namespacedExpression$2(ident, start);
94687 if (t1.peekChar$0() !== 40)
94688 t1.error$1(0, 'Expected "(" or ".".');
94689 lowerCase = ident.toLowerCase();
94690 calculation = _this._stylesheet0$_tryCalculation$2(lowerCase, start);
94691 if (calculation != null)
94692 return calculation;
94693 else if (lowerCase === "if")
94694 return new A.IfExpression0(_this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94695 else
94696 return new A.FunctionExpression0(null, ident, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94697 }
94698 },
94699 _stylesheet0$_containsCalculationInterpolation$0() {
94700 var t2, parens, next, target, t3, _null = null,
94701 _s64_ = string$.The_gi,
94702 _s17_ = "Invalid position ",
94703 brackets = A._setArrayType([], type$.JSArray_int),
94704 t1 = this.scanner,
94705 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94706 for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
94707 next = t1.peekChar$0();
94708 switch (next) {
94709 case 92:
94710 target = 1;
94711 break;
94712 case 47:
94713 target = 2;
94714 break;
94715 case 39:
94716 case 34:
94717 target = 3;
94718 break;
94719 case 35:
94720 target = 4;
94721 break;
94722 case 40:
94723 target = 5;
94724 break;
94725 case 123:
94726 case 91:
94727 target = 6;
94728 break;
94729 case 41:
94730 target = 7;
94731 break;
94732 case 125:
94733 case 93:
94734 target = 8;
94735 break;
94736 default:
94737 target = 9;
94738 break;
94739 }
94740 c$0:
94741 for (; true;)
94742 switch (target) {
94743 case 1:
94744 t1.readChar$0();
94745 t1.readChar$0();
94746 break c$0;
94747 case 2:
94748 if (!this.scanComment$0())
94749 t1.readChar$0();
94750 break c$0;
94751 case 3:
94752 this.interpolatedString$0();
94753 break c$0;
94754 case 4:
94755 if (parens === 0 && t1.peekChar$1(1) === 123) {
94756 if (start._scanner !== t1)
94757 A.throwExpression(A.ArgumentError$(_s64_, _null));
94758 t3 = start.position;
94759 if (t3 < 0 || t3 > t2)
94760 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
94761 t1._string_scanner$_position = t3;
94762 t1._lastMatch = null;
94763 return true;
94764 }
94765 t1.readChar$0();
94766 break c$0;
94767 case 5:
94768 ++parens;
94769 target = 6;
94770 continue c$0;
94771 case 6:
94772 next.toString;
94773 brackets.push(A.opposite0(next));
94774 t1.readChar$0();
94775 break c$0;
94776 case 7:
94777 --parens;
94778 target = 8;
94779 continue c$0;
94780 case 8:
94781 if (brackets.length === 0 || brackets.pop() !== next) {
94782 if (start._scanner !== t1)
94783 A.throwExpression(A.ArgumentError$(_s64_, _null));
94784 t3 = start.position;
94785 if (t3 < 0 || t3 > t2)
94786 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
94787 t1._string_scanner$_position = t3;
94788 t1._lastMatch = null;
94789 return false;
94790 }
94791 t1.readChar$0();
94792 break c$0;
94793 case 9:
94794 t1.readChar$0();
94795 break c$0;
94796 }
94797 }
94798 t1.set$state(start);
94799 return false;
94800 },
94801 _stylesheet0$_tryUrlContents$2$name(start, $name) {
94802 var t3, t4, buffer, t5, next, endPosition, result, _this = this,
94803 t1 = _this.scanner,
94804 t2 = t1._string_scanner$_position;
94805 if (!t1.scanChar$1(40))
94806 return null;
94807 _this.whitespaceWithoutComments$0();
94808 t3 = new A.StringBuffer("");
94809 t4 = A._setArrayType([], type$.JSArray_Object);
94810 buffer = new A.InterpolationBuffer0(t3, t4);
94811 t5 = "" + ($name == null ? "url" : $name);
94812 t3._contents = t5;
94813 t3._contents = t5 + A.Primitives_stringFromCharCode(40);
94814 for (; true;) {
94815 next = t1.peekChar$0();
94816 if (next == null)
94817 break;
94818 else if (next === 92)
94819 t3._contents += A.S(_this.escape$0());
94820 else {
94821 if (next !== 33)
94822 if (next !== 37)
94823 if (next !== 38)
94824 t5 = next >= 42 && next <= 126 || next >= 128;
94825 else
94826 t5 = true;
94827 else
94828 t5 = true;
94829 else
94830 t5 = true;
94831 if (t5)
94832 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94833 else if (next === 35)
94834 if (t1.peekChar$1(1) === 123) {
94835 t5 = _this.singleInterpolation$0();
94836 buffer._interpolation_buffer0$_flushText$0();
94837 t4.push(t5);
94838 } else
94839 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94840 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
94841 _this.whitespaceWithoutComments$0();
94842 if (t1.peekChar$0() !== 41)
94843 break;
94844 } else if (next === 41) {
94845 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94846 endPosition = t1._string_scanner$_position;
94847 t2 = t1._sourceFile;
94848 t5 = start.position;
94849 t1 = new A._FileSpan(t2, t5, endPosition);
94850 t1._FileSpan$3(t2, t5, endPosition);
94851 t5 = type$.Object;
94852 t2 = A.List_List$of(t4, true, t5);
94853 t4 = t3._contents;
94854 if (t4.length !== 0)
94855 t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
94856 result = A.List_List$from(t2, false, t5);
94857 result.fixed$length = Array;
94858 result.immutable$list = Array;
94859 t3 = new A.Interpolation0(result, t1);
94860 t3.Interpolation$20(t2, t1);
94861 return t3;
94862 } else
94863 break;
94864 }
94865 }
94866 t1.set$state(new A._SpanScannerState(t1, t2));
94867 return null;
94868 },
94869 _stylesheet0$_tryUrlContents$1(start) {
94870 return this._stylesheet0$_tryUrlContents$2$name(start, null);
94871 },
94872 dynamicUrl$0() {
94873 var contents, _this = this,
94874 t1 = _this.scanner,
94875 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94876 _this.expectIdentifier$1("url");
94877 contents = _this._stylesheet0$_tryUrlContents$1(start);
94878 if (contents != null)
94879 return new A.StringExpression0(contents, false);
94880 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));
94881 },
94882 almostAnyValue$1$omitComments(omitComments) {
94883 var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
94884 t1 = _this.scanner,
94885 t2 = t1._string_scanner$_position,
94886 t3 = new A.StringBuffer(""),
94887 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
94888 $label0$1:
94889 for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
94890 next = t1.peekChar$0();
94891 switch (next) {
94892 case 92:
94893 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94894 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94895 break;
94896 case 34:
94897 case 39:
94898 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
94899 break;
94900 case 47:
94901 commentStart = t1._string_scanner$_position;
94902 if (_this.scanComment$0()) {
94903 if (t6) {
94904 end = t1._string_scanner$_position;
94905 t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
94906 }
94907 } else
94908 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94909 break;
94910 case 35:
94911 if (t1.peekChar$1(1) === 123)
94912 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
94913 else
94914 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94915 break;
94916 case 13:
94917 case 10:
94918 case 12:
94919 if (_this.get$indented())
94920 break $label0$1;
94921 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94922 break;
94923 case 33:
94924 case 59:
94925 case 123:
94926 case 125:
94927 break $label0$1;
94928 case 117:
94929 case 85:
94930 t7 = t1._string_scanner$_position;
94931 if (!_this.scanIdentifier$1("url")) {
94932 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94933 break;
94934 }
94935 contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t7));
94936 if (contents == null) {
94937 if (t7 < 0 || t7 > t5)
94938 A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
94939 t1._string_scanner$_position = t7;
94940 t1._lastMatch = null;
94941 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94942 } else
94943 buffer.addInterpolation$1(contents);
94944 break;
94945 default:
94946 if (next == null)
94947 break $label0$1;
94948 if (_this.lookingAtIdentifier$0())
94949 t3._contents += _this.identifier$0();
94950 else
94951 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94952 break;
94953 }
94954 }
94955 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94956 },
94957 almostAnyValue$0() {
94958 return this.almostAnyValue$1$omitComments(false);
94959 },
94960 _stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
94961 var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
94962 t1 = _this.scanner,
94963 t2 = t1._string_scanner$_position,
94964 t3 = new A.StringBuffer(""),
94965 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object)),
94966 brackets = A._setArrayType([], type$.JSArray_int);
94967 $label0$1:
94968 for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
94969 next = t1.peekChar$0();
94970 switch (next) {
94971 case 92:
94972 t3._contents += A.S(_this.escape$1$identifierStart(true));
94973 wroteNewline = false;
94974 break;
94975 case 34:
94976 case 39:
94977 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
94978 wroteNewline = false;
94979 break;
94980 case 47:
94981 if (t1.peekChar$1(1) === 42) {
94982 t8 = _this.get$loudComment();
94983 start = t1._string_scanner$_position;
94984 t8.call$0();
94985 end = t1._string_scanner$_position;
94986 t3._contents += B.JSString_methods.substring$2(t4, start, end);
94987 } else
94988 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94989 wroteNewline = false;
94990 break;
94991 case 35:
94992 if (t1.peekChar$1(1) === 123)
94993 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
94994 else
94995 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94996 wroteNewline = false;
94997 break;
94998 case 32:
94999 case 9:
95000 if (!wroteNewline) {
95001 t8 = t1.peekChar$1(1);
95002 t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
95003 } else
95004 t8 = true;
95005 if (t8)
95006 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95007 else
95008 t1.readChar$0();
95009 break;
95010 case 10:
95011 case 13:
95012 case 12:
95013 if (_this.get$indented())
95014 break $label0$1;
95015 t8 = t1.peekChar$1(-1);
95016 if (!(t8 === 10 || t8 === 13 || t8 === 12))
95017 t3._contents += "\n";
95018 t1.readChar$0();
95019 wroteNewline = true;
95020 break;
95021 case 40:
95022 case 123:
95023 case 91:
95024 next.toString;
95025 t3._contents += A.Primitives_stringFromCharCode(next);
95026 brackets.push(A.opposite0(t1.readChar$0()));
95027 wroteNewline = false;
95028 break;
95029 case 41:
95030 case 125:
95031 case 93:
95032 if (brackets.length === 0)
95033 break $label0$1;
95034 next.toString;
95035 t3._contents += A.Primitives_stringFromCharCode(next);
95036 t1.expectChar$1(brackets.pop());
95037 wroteNewline = false;
95038 break;
95039 case 59:
95040 if (t7 && brackets.length === 0)
95041 break $label0$1;
95042 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95043 wroteNewline = false;
95044 break;
95045 case 58:
95046 if (t6 && brackets.length === 0)
95047 break $label0$1;
95048 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95049 wroteNewline = false;
95050 break;
95051 case 117:
95052 case 85:
95053 t8 = t1._string_scanner$_position;
95054 if (!_this.scanIdentifier$1("url")) {
95055 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95056 wroteNewline = false;
95057 break;
95058 }
95059 contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t8));
95060 if (contents == null) {
95061 if (t8 < 0 || t8 > t5)
95062 A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
95063 t1._string_scanner$_position = t8;
95064 t1._lastMatch = null;
95065 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95066 } else
95067 buffer.addInterpolation$1(contents);
95068 wroteNewline = false;
95069 break;
95070 default:
95071 if (next == null)
95072 break $label0$1;
95073 if (_this.lookingAtIdentifier$0())
95074 t3._contents += _this.identifier$0();
95075 else
95076 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95077 wroteNewline = false;
95078 break;
95079 }
95080 }
95081 if (brackets.length !== 0)
95082 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
95083 if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
95084 t1.error$1(0, "Expected token.");
95085 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95086 },
95087 _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
95088 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
95089 },
95090 _stylesheet0$_interpolatedDeclarationValue$0() {
95091 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
95092 },
95093 _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
95094 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
95095 },
95096 interpolatedIdentifier$0() {
95097 var first, _this = this,
95098 _s20_ = "Expected identifier.",
95099 t1 = _this.scanner,
95100 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
95101 t2 = new A.StringBuffer(""),
95102 t3 = A._setArrayType([], type$.JSArray_Object),
95103 buffer = new A.InterpolationBuffer0(t2, t3);
95104 if (t1.scanChar$1(45)) {
95105 t2._contents += A.Primitives_stringFromCharCode(45);
95106 if (t1.scanChar$1(45)) {
95107 t2._contents += A.Primitives_stringFromCharCode(45);
95108 _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
95109 return buffer.interpolation$1(t1.spanFrom$1(start));
95110 }
95111 }
95112 first = t1.peekChar$0();
95113 if (first == null)
95114 t1.error$1(0, _s20_);
95115 else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
95116 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95117 else if (first === 92)
95118 t2._contents += A.S(_this.escape$1$identifierStart(true));
95119 else if (first === 35 && t1.peekChar$1(1) === 123) {
95120 t2 = _this.singleInterpolation$0();
95121 buffer._interpolation_buffer0$_flushText$0();
95122 t3.push(t2);
95123 } else
95124 t1.error$1(0, _s20_);
95125 _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
95126 return buffer.interpolation$1(t1.spanFrom$1(start));
95127 },
95128 _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
95129 var t1, t2, t3, next, t4;
95130 for (t1 = buffer._interpolation_buffer0$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer0$_text; true;) {
95131 next = t2.peekChar$0();
95132 if (next == null)
95133 break;
95134 else {
95135 if (next !== 95)
95136 if (next !== 45) {
95137 if (!(next >= 97 && next <= 122))
95138 t4 = next >= 65 && next <= 90;
95139 else
95140 t4 = true;
95141 if (!t4)
95142 t4 = next >= 48 && next <= 57;
95143 else
95144 t4 = true;
95145 t4 = t4 || next >= 128;
95146 } else
95147 t4 = true;
95148 else
95149 t4 = true;
95150 if (t4)
95151 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
95152 else if (next === 92)
95153 t3._contents += A.S(this.escape$0());
95154 else if (next === 35 && t2.peekChar$1(1) === 123) {
95155 t4 = this.singleInterpolation$0();
95156 buffer._interpolation_buffer0$_flushText$0();
95157 t1.push(t4);
95158 } else
95159 break;
95160 }
95161 }
95162 },
95163 singleInterpolation$0() {
95164 var contents, _this = this,
95165 t1 = _this.scanner,
95166 t2 = t1._string_scanner$_position;
95167 t1.expect$1("#{");
95168 _this.whitespace$0();
95169 contents = _this.expression$0();
95170 t1.expectChar$1(125);
95171 if (_this.get$plainCss())
95172 _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95173 return contents;
95174 },
95175 _stylesheet0$_mediaQueryList$0() {
95176 var t4,
95177 t1 = this.scanner,
95178 t2 = t1._string_scanner$_position,
95179 t3 = new A.StringBuffer(""),
95180 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
95181 for (; true;) {
95182 this.whitespace$0();
95183 this._stylesheet0$_mediaQuery$1(buffer);
95184 if (!t1.scanChar$1(44))
95185 break;
95186 t4 = t3._contents += A.Primitives_stringFromCharCode(44);
95187 t3._contents = t4 + A.Primitives_stringFromCharCode(32);
95188 }
95189 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95190 },
95191 _stylesheet0$_mediaQuery$1(buffer) {
95192 var t1, identifier, _this = this;
95193 if (_this.scanner.peekChar$0() !== 40) {
95194 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
95195 _this.whitespace$0();
95196 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
95197 return;
95198 t1 = buffer._interpolation_buffer0$_text;
95199 t1._contents += A.Primitives_stringFromCharCode(32);
95200 identifier = _this.interpolatedIdentifier$0();
95201 _this.whitespace$0();
95202 if (A.equalsIgnoreCase0(identifier.get$asPlain(), "and"))
95203 t1._contents += " and ";
95204 else {
95205 buffer.addInterpolation$1(identifier);
95206 if (_this.scanIdentifier$1("and")) {
95207 _this.whitespace$0();
95208 t1._contents += " and ";
95209 } else
95210 return;
95211 }
95212 }
95213 for (t1 = buffer._interpolation_buffer0$_text; true;) {
95214 _this.whitespace$0();
95215 buffer.addInterpolation$1(_this._stylesheet0$_mediaFeature$0());
95216 _this.whitespace$0();
95217 if (!_this.scanIdentifier$1("and"))
95218 break;
95219 t1._contents += " and ";
95220 }
95221 },
95222 _stylesheet0$_mediaFeature$0() {
95223 var interpolation, t2, t3, t4, buffer, t5, next, t6, _this = this,
95224 t1 = _this.scanner;
95225 if (t1.peekChar$0() === 35) {
95226 interpolation = _this.singleInterpolation$0();
95227 return A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
95228 }
95229 t2 = t1._string_scanner$_position;
95230 t3 = new A.StringBuffer("");
95231 t4 = A._setArrayType([], type$.JSArray_Object);
95232 buffer = new A.InterpolationBuffer0(t3, t4);
95233 t1.expectChar$1(40);
95234 t3._contents += A.Primitives_stringFromCharCode(40);
95235 _this.whitespace$0();
95236 t5 = _this._stylesheet0$_expressionUntilComparison$0();
95237 buffer._interpolation_buffer0$_flushText$0();
95238 t4.push(t5);
95239 if (t1.scanChar$1(58)) {
95240 _this.whitespace$0();
95241 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
95242 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
95243 t5 = _this.expression$0();
95244 buffer._interpolation_buffer0$_flushText$0();
95245 t4.push(t5);
95246 } else {
95247 next = t1.peekChar$0();
95248 t5 = next !== 60;
95249 if (!t5 || next === 62 || next === 61) {
95250 t3._contents += A.Primitives_stringFromCharCode(32);
95251 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95252 if ((!t5 || next === 62) && t1.scanChar$1(61))
95253 t3._contents += A.Primitives_stringFromCharCode(61);
95254 t3._contents += A.Primitives_stringFromCharCode(32);
95255 _this.whitespace$0();
95256 t6 = _this._stylesheet0$_expressionUntilComparison$0();
95257 buffer._interpolation_buffer0$_flushText$0();
95258 t4.push(t6);
95259 if (!t5 || next === 62) {
95260 next.toString;
95261 t5 = t1.scanChar$1(next);
95262 } else
95263 t5 = false;
95264 if (t5) {
95265 t5 = t3._contents += A.Primitives_stringFromCharCode(32);
95266 t3._contents = t5 + A.Primitives_stringFromCharCode(next);
95267 if (t1.scanChar$1(61))
95268 t3._contents += A.Primitives_stringFromCharCode(61);
95269 t3._contents += A.Primitives_stringFromCharCode(32);
95270 _this.whitespace$0();
95271 t5 = _this._stylesheet0$_expressionUntilComparison$0();
95272 buffer._interpolation_buffer0$_flushText$0();
95273 t4.push(t5);
95274 }
95275 }
95276 }
95277 t1.expectChar$1(41);
95278 _this.whitespace$0();
95279 t3._contents += A.Primitives_stringFromCharCode(41);
95280 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95281 },
95282 _stylesheet0$_expressionUntilComparison$0() {
95283 return this.expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure0(this));
95284 },
95285 _stylesheet0$_supportsCondition$0() {
95286 var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
95287 t1 = _this.scanner,
95288 t2 = t1._string_scanner$_position;
95289 if (_this.scanIdentifier$1("not")) {
95290 _this.whitespace$0();
95291 return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95292 }
95293 condition = _this._stylesheet0$_supportsConditionInParens$0();
95294 _this.whitespace$0();
95295 for (operator = null; _this.lookingAtIdentifier$0();) {
95296 if (operator != null)
95297 _this.expectIdentifier$1(operator);
95298 else if (_this.scanIdentifier$1("or"))
95299 operator = "or";
95300 else {
95301 _this.expectIdentifier$1("and");
95302 operator = "and";
95303 }
95304 _this.whitespace$0();
95305 right = _this._stylesheet0$_supportsConditionInParens$0();
95306 endPosition = t1._string_scanner$_position;
95307 t3 = t1._sourceFile;
95308 t4 = new A._FileSpan(t3, t2, endPosition);
95309 t4._FileSpan$3(t3, t2, endPosition);
95310 condition = new A.SupportsOperation0(condition, right, operator, t4);
95311 lowerOperator = operator.toLowerCase();
95312 if (lowerOperator !== "and" && lowerOperator !== "or")
95313 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
95314 _this.whitespace$0();
95315 }
95316 return condition;
95317 },
95318 _stylesheet0$_supportsConditionInParens$0() {
95319 var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
95320 t1 = _this.scanner,
95321 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
95322 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
95323 identifier0 = _this.interpolatedIdentifier$0();
95324 t2 = identifier0.get$asPlain();
95325 if ((t2 == null ? null : t2.toLowerCase()) === "not")
95326 _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
95327 if (t1.scanChar$1(40)) {
95328 $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
95329 t1.expectChar$1(41);
95330 return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
95331 } else {
95332 t2 = identifier0.contents;
95333 if (t2.length !== 1 || !type$.Expression_2._is(B.JSArray_methods.get$first(t2)))
95334 _this.error$2(0, "Expected @supports condition.", identifier0.span);
95335 else
95336 return new A.SupportsInterpolation0(type$.Expression_2._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
95337 }
95338 }
95339 t1.expectChar$1(40);
95340 _this.whitespace$0();
95341 if (_this.scanIdentifier$1("not")) {
95342 _this.whitespace$0();
95343 condition = _this._stylesheet0$_supportsConditionInParens$0();
95344 t1.expectChar$1(41);
95345 return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
95346 } else if (t1.peekChar$0() === 40) {
95347 condition = _this._stylesheet0$_supportsCondition$0();
95348 t1.expectChar$1(41);
95349 return condition;
95350 }
95351 $name = null;
95352 nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
95353 wasInParentheses = _this._stylesheet0$_inParentheses;
95354 try {
95355 $name = _this.expression$0();
95356 t1.expectChar$1(58);
95357 } catch (exception) {
95358 if (type$.FormatException._is(A.unwrapException(exception))) {
95359 t1.set$state(nameStart);
95360 _this._stylesheet0$_inParentheses = wasInParentheses;
95361 identifier = _this.interpolatedIdentifier$0();
95362 operation = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
95363 if (operation != null) {
95364 t1.expectChar$1(41);
95365 return operation;
95366 }
95367 t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
95368 t2.addInterpolation$1(identifier);
95369 t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
95370 contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
95371 if (t1.peekChar$0() === 58)
95372 throw exception;
95373 t1.expectChar$1(41);
95374 return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
95375 } else
95376 throw exception;
95377 }
95378 declaration = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
95379 t1.expectChar$1(41);
95380 return declaration;
95381 },
95382 _stylesheet0$_supportsDeclarationValue$2($name, start) {
95383 var value, _this = this;
95384 if ($name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
95385 value = new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false);
95386 else {
95387 _this.whitespace$0();
95388 value = _this.expression$0();
95389 }
95390 return new A.SupportsDeclaration0($name, value, _this.scanner.spanFrom$1(start));
95391 },
95392 _stylesheet0$_trySupportsOperation$2(interpolation, start) {
95393 var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
95394 t1 = interpolation.contents;
95395 if (t1.length !== 1)
95396 return _null;
95397 expression = B.JSArray_methods.get$first(t1);
95398 if (!type$.Expression_2._is(expression))
95399 return _null;
95400 t1 = _this.scanner;
95401 beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
95402 _this.whitespace$0();
95403 for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
95404 if (operator != null)
95405 _this.expectIdentifier$1(operator);
95406 else if (_this.scanIdentifier$1("and"))
95407 operator = "and";
95408 else {
95409 if (!_this.scanIdentifier$1("or")) {
95410 if (beforeWhitespace._scanner !== t1)
95411 A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
95412 t2 = beforeWhitespace.position;
95413 if (t2 < 0 || t2 > t1.string.length)
95414 A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
95415 t1._string_scanner$_position = t2;
95416 return t1._lastMatch = null;
95417 }
95418 operator = "or";
95419 }
95420 _this.whitespace$0();
95421 right = _this._stylesheet0$_supportsConditionInParens$0();
95422 t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
95423 endPosition = t1._string_scanner$_position;
95424 t5 = t1._sourceFile;
95425 t6 = new A._FileSpan(t5, t2, endPosition);
95426 t6._FileSpan$3(t5, t2, endPosition);
95427 operation = new A.SupportsOperation0(t4, right, operator, t6);
95428 lowerOperator = operator.toLowerCase();
95429 if (lowerOperator !== "and" && lowerOperator !== "or")
95430 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
95431 _this.whitespace$0();
95432 }
95433 return operation;
95434 },
95435 _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
95436 var second,
95437 t1 = this.scanner,
95438 first = t1.peekChar$0();
95439 if (first == null)
95440 return false;
95441 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
95442 return true;
95443 if (first === 35)
95444 return t1.peekChar$1(1) === 123;
95445 if (first !== 45)
95446 return false;
95447 second = t1.peekChar$1(1);
95448 if (second == null)
95449 return false;
95450 if (second === 35)
95451 return t1.peekChar$1(2) === 123;
95452 return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
95453 },
95454 _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
95455 var t1 = this.scanner,
95456 first = t1.peekChar$0();
95457 if (first == null)
95458 return false;
95459 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || A.isDigit0(first) || first === 45 || first === 92)
95460 return true;
95461 return first === 35 && t1.peekChar$1(1) === 123;
95462 },
95463 _stylesheet0$_lookingAtExpression$0() {
95464 var next,
95465 t1 = this.scanner,
95466 character = t1.peekChar$0();
95467 if (character == null)
95468 return false;
95469 if (character === 46)
95470 return t1.peekChar$1(1) !== 46;
95471 if (character === 33) {
95472 next = t1.peekChar$1(1);
95473 if (next != null)
95474 if ((next | 32) >>> 0 !== 105)
95475 t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
95476 else
95477 t1 = true;
95478 else
95479 t1 = true;
95480 return t1;
95481 }
95482 if (character !== 40)
95483 if (character !== 47)
95484 if (character !== 91)
95485 if (character !== 39)
95486 if (character !== 34)
95487 if (character !== 35)
95488 if (character !== 43)
95489 if (character !== 45)
95490 if (character !== 92)
95491 if (character !== 36)
95492 if (character !== 38)
95493 t1 = character === 95 || A.isAlphabetic1(character) || character >= 128 || A.isDigit0(character);
95494 else
95495 t1 = true;
95496 else
95497 t1 = true;
95498 else
95499 t1 = true;
95500 else
95501 t1 = true;
95502 else
95503 t1 = true;
95504 else
95505 t1 = true;
95506 else
95507 t1 = true;
95508 else
95509 t1 = true;
95510 else
95511 t1 = true;
95512 else
95513 t1 = true;
95514 else
95515 t1 = true;
95516 return t1;
95517 },
95518 _stylesheet0$_withChildren$1$3(child, start, create) {
95519 var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
95520 this.whitespaceWithoutComments$0();
95521 return result;
95522 },
95523 _stylesheet0$_withChildren$3(child, start, create) {
95524 return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
95525 },
95526 _stylesheet0$_urlString$0() {
95527 var innerError, stackTrace, t2, exception,
95528 t1 = this.scanner,
95529 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
95530 url = this.string$0();
95531 try {
95532 t2 = A.Uri_parse(url);
95533 return t2;
95534 } catch (exception) {
95535 t2 = A.unwrapException(exception);
95536 if (type$.FormatException._is(t2)) {
95537 innerError = t2;
95538 stackTrace = A.getTraceFromException(exception);
95539 this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
95540 } else
95541 throw exception;
95542 }
95543 },
95544 _stylesheet0$_publicIdentifier$0() {
95545 var _this = this,
95546 t1 = _this.scanner,
95547 t2 = t1._string_scanner$_position,
95548 result = _this.identifier$1$normalize(true);
95549 _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
95550 return result;
95551 },
95552 _stylesheet0$_assertPublic$2(identifier, span) {
95553 var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
95554 if (!(first === 45 || first === 95))
95555 return;
95556 this.error$2(0, string$.Privat, span.call$0());
95557 },
95558 get$plainCss() {
95559 return false;
95560 }
95561 };
95562 A.StylesheetParser_parse_closure0.prototype = {
95563 call$0() {
95564 var statements, t4,
95565 t1 = this.$this,
95566 t2 = t1.scanner,
95567 t3 = t2._string_scanner$_position;
95568 t2.scanChar$1(65279);
95569 statements = t1.statements$1(new A.StylesheetParser_parse__closure1(t1));
95570 t2.expectDone$0();
95571 t4 = t1._stylesheet0$_globalVariables;
95572 t4 = t4.get$values(t4);
95573 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));
95574 return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
95575 },
95576 $signature: 540
95577 };
95578 A.StylesheetParser_parse__closure1.prototype = {
95579 call$0() {
95580 var t1 = this.$this;
95581 if (t1.scanner.scan$1("@charset")) {
95582 t1.whitespace$0();
95583 t1.string$0();
95584 return null;
95585 }
95586 return t1._stylesheet0$_statement$1$root(true);
95587 },
95588 $signature: 541
95589 };
95590 A.StylesheetParser_parse__closure2.prototype = {
95591 call$1(declaration) {
95592 var t1 = declaration.name,
95593 t2 = declaration.expression;
95594 return A.VariableDeclaration$0(t1, new A.NullExpression0(t2.get$span(t2)), declaration.span, null, false, true, null);
95595 },
95596 $signature: 542
95597 };
95598 A.StylesheetParser_parseArgumentDeclaration_closure0.prototype = {
95599 call$0() {
95600 var $arguments,
95601 t1 = this.$this,
95602 t2 = t1.scanner;
95603 t2.expectChar$2$name(64, "@-rule");
95604 t1.identifier$0();
95605 t1.whitespace$0();
95606 t1.identifier$0();
95607 $arguments = t1._stylesheet0$_argumentDeclaration$0();
95608 t1.whitespace$0();
95609 t2.expectChar$1(123);
95610 return $arguments;
95611 },
95612 $signature: 543
95613 };
95614 A.StylesheetParser__parseSingleProduction_closure0.prototype = {
95615 call$0() {
95616 var result = this.production.call$0();
95617 this.$this.scanner.expectDone$0();
95618 return result;
95619 },
95620 $signature() {
95621 return this.T._eval$1("0()");
95622 }
95623 };
95624 A.StylesheetParser_parseSignature_closure.prototype = {
95625 call$0() {
95626 var $arguments, t2, t3,
95627 t1 = this.$this,
95628 $name = t1.identifier$0();
95629 t1.whitespace$0();
95630 if (this.requireParens || t1.scanner.peekChar$0() === 40)
95631 $arguments = t1._stylesheet0$_argumentDeclaration$0();
95632 else {
95633 t2 = t1.scanner;
95634 t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
95635 t3 = t2.offset;
95636 $arguments = new A.ArgumentDeclaration0(B.List_empty18, null, A._FileSpan$(t2.file, t3, t3));
95637 }
95638 t1.scanner.expectDone$0();
95639 return new A.Tuple2($name, $arguments, type$.Tuple2_String_ArgumentDeclaration);
95640 },
95641 $signature: 544
95642 };
95643 A.StylesheetParser__statement_closure0.prototype = {
95644 call$0() {
95645 return this.$this._stylesheet0$_statement$0();
95646 },
95647 $signature: 103
95648 };
95649 A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
95650 call$0() {
95651 return this.$this.scanner.spanFrom$1(this.start);
95652 },
95653 $signature: 31
95654 };
95655 A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
95656 call$0() {
95657 return this.declaration;
95658 },
95659 $signature: 545
95660 };
95661 A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
95662 call$2(children, span) {
95663 return A.Declaration$nested0(this.name, children, span, null);
95664 },
95665 $signature: 81
95666 };
95667 A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
95668 call$2(children, span) {
95669 return A.Declaration$nested0(this.name, children, span, this._box_0.value);
95670 },
95671 $signature: 81
95672 };
95673 A.StylesheetParser__styleRule_closure0.prototype = {
95674 call$2(children, span) {
95675 var _this = this,
95676 t1 = _this.$this;
95677 if (t1.get$indented() && children.length === 0)
95678 t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
95679 t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
95680 return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
95681 },
95682 $signature: 547
95683 };
95684 A.StylesheetParser__propertyOrVariableDeclaration_closure1.prototype = {
95685 call$2(children, span) {
95686 return A.Declaration$nested0(this._box_0.name, children, span, null);
95687 },
95688 $signature: 81
95689 };
95690 A.StylesheetParser__propertyOrVariableDeclaration_closure2.prototype = {
95691 call$2(children, span) {
95692 return A.Declaration$nested0(this._box_0.name, children, span, this.value);
95693 },
95694 $signature: 81
95695 };
95696 A.StylesheetParser__atRootRule_closure1.prototype = {
95697 call$2(children, span) {
95698 return A.AtRootRule$0(children, span, this.query);
95699 },
95700 $signature: 252
95701 };
95702 A.StylesheetParser__atRootRule_closure2.prototype = {
95703 call$2(children, span) {
95704 return A.AtRootRule$0(children, span, null);
95705 },
95706 $signature: 252
95707 };
95708 A.StylesheetParser__eachRule_closure0.prototype = {
95709 call$2(children, span) {
95710 var _this = this;
95711 _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
95712 return A.EachRule$0(_this.variables, _this.list, children, span);
95713 },
95714 $signature: 549
95715 };
95716 A.StylesheetParser__functionRule_closure0.prototype = {
95717 call$2(children, span) {
95718 return A.FunctionRule$0(this.name, this.$arguments, children, span, this.precedingComment);
95719 },
95720 $signature: 550
95721 };
95722 A.StylesheetParser__forRule_closure1.prototype = {
95723 call$0() {
95724 var t1 = this.$this;
95725 if (!t1.lookingAtIdentifier$0())
95726 return false;
95727 if (t1.scanIdentifier$1("to"))
95728 return this._box_0.exclusive = true;
95729 else if (t1.scanIdentifier$1("through")) {
95730 this._box_0.exclusive = false;
95731 return true;
95732 } else
95733 return false;
95734 },
95735 $signature: 26
95736 };
95737 A.StylesheetParser__forRule_closure2.prototype = {
95738 call$2(children, span) {
95739 var t1, _this = this;
95740 _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
95741 t1 = _this._box_0.exclusive;
95742 t1.toString;
95743 return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
95744 },
95745 $signature: 551
95746 };
95747 A.StylesheetParser__memberList_closure0.prototype = {
95748 call$0() {
95749 var t1 = this.$this;
95750 if (t1.scanner.peekChar$0() === 36)
95751 this.variables.add$1(0, t1.variableName$0());
95752 else
95753 this.identifiers.add$1(0, t1.identifier$1$normalize(true));
95754 },
95755 $signature: 1
95756 };
95757 A.StylesheetParser__includeRule_closure0.prototype = {
95758 call$2(children, span) {
95759 return A.ContentBlock$0(this.contentArguments_, children, span);
95760 },
95761 $signature: 552
95762 };
95763 A.StylesheetParser_mediaRule_closure0.prototype = {
95764 call$2(children, span) {
95765 return A.MediaRule$0(this.query, children, span);
95766 },
95767 $signature: 553
95768 };
95769 A.StylesheetParser__mixinRule_closure0.prototype = {
95770 call$2(children, span) {
95771 var _this = this;
95772 _this.$this._stylesheet0$_inMixin = false;
95773 return A.MixinRule$0(_this.name, _this.$arguments, children, span, _this.precedingComment);
95774 },
95775 $signature: 554
95776 };
95777 A.StylesheetParser_mozDocumentRule_closure0.prototype = {
95778 call$2(children, span) {
95779 var _this = this;
95780 if (_this._box_0.needsDeprecationWarning)
95781 _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
95782 return A.AtRule$0(_this.name, span, children, _this.value);
95783 },
95784 $signature: 253
95785 };
95786 A.StylesheetParser_supportsRule_closure0.prototype = {
95787 call$2(children, span) {
95788 return A.SupportsRule$0(this.condition, children, span);
95789 },
95790 $signature: 556
95791 };
95792 A.StylesheetParser__whileRule_closure0.prototype = {
95793 call$2(children, span) {
95794 this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
95795 return A.WhileRule$0(this.condition, children, span);
95796 },
95797 $signature: 557
95798 };
95799 A.StylesheetParser_unknownAtRule_closure0.prototype = {
95800 call$2(children, span) {
95801 return A.AtRule$0(this.name, span, children, this._box_0.value);
95802 },
95803 $signature: 253
95804 };
95805 A.StylesheetParser_expression_resetState0.prototype = {
95806 call$0() {
95807 var t2,
95808 t1 = this._box_0;
95809 t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
95810 t2 = this.$this;
95811 t2.scanner.set$state(this.start);
95812 t1.allowSlash = true;
95813 t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
95814 },
95815 $signature: 0
95816 };
95817 A.StylesheetParser_expression_resolveOneOperation0.prototype = {
95818 call$0() {
95819 var t2, t3,
95820 t1 = this._box_0,
95821 operator = t1.operators_.pop(),
95822 left = t1.operands_.pop(),
95823 right = t1.singleExpression_;
95824 if (right == null) {
95825 t2 = this.$this.scanner;
95826 t3 = operator.operator.length;
95827 t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
95828 }
95829 if (t1.allowSlash) {
95830 t2 = this.$this;
95831 t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_RTB0 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
95832 } else
95833 t2 = false;
95834 if (t2)
95835 t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_RTB0, left, right, true);
95836 else {
95837 t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
95838 t1.allowSlash = false;
95839 }
95840 },
95841 $signature: 0
95842 };
95843 A.StylesheetParser_expression_resolveOperations0.prototype = {
95844 call$0() {
95845 var t1,
95846 operators = this._box_0.operators_;
95847 if (operators == null)
95848 return;
95849 for (t1 = this.resolveOneOperation; operators.length !== 0;)
95850 t1.call$0();
95851 },
95852 $signature: 0
95853 };
95854 A.StylesheetParser_expression_addSingleExpression0.prototype = {
95855 call$1(expression) {
95856 var t2, spaceExpressions, _this = this,
95857 t1 = _this._box_0;
95858 if (t1.singleExpression_ != null) {
95859 t2 = _this.$this;
95860 if (t2._stylesheet0$_inParentheses) {
95861 t2._stylesheet0$_inParentheses = false;
95862 if (t1.allowSlash) {
95863 _this.resetState.call$0();
95864 return;
95865 }
95866 }
95867 spaceExpressions = t1.spaceExpressions_;
95868 if (spaceExpressions == null)
95869 spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
95870 _this.resolveOperations.call$0();
95871 t2 = t1.singleExpression_;
95872 t2.toString;
95873 spaceExpressions.push(t2);
95874 t1.allowSlash = true;
95875 }
95876 t1.singleExpression_ = expression;
95877 },
95878 $signature: 558
95879 };
95880 A.StylesheetParser_expression_addOperator0.prototype = {
95881 call$1(operator) {
95882 var t2, t3, operators, operands, t4, singleExpression,
95883 t1 = this.$this;
95884 if (t1.get$plainCss() && operator !== B.BinaryOperator_RTB0 && operator !== B.BinaryOperator_kjl0) {
95885 t2 = t1.scanner;
95886 t3 = operator.operator.length;
95887 t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
95888 }
95889 t2 = this._box_0;
95890 t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_RTB0;
95891 operators = t2.operators_;
95892 if (operators == null)
95893 operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
95894 operands = t2.operands_;
95895 if (operands == null)
95896 operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
95897 t3 = this.resolveOneOperation;
95898 t4 = operator.precedence;
95899 while (true) {
95900 if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
95901 break;
95902 t3.call$0();
95903 }
95904 operators.push(operator);
95905 singleExpression = t2.singleExpression_;
95906 if (singleExpression == null) {
95907 t3 = t1.scanner;
95908 t4 = operator.operator.length;
95909 t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
95910 }
95911 operands.push(singleExpression);
95912 t1.whitespace$0();
95913 t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
95914 },
95915 $signature: 559
95916 };
95917 A.StylesheetParser_expression_resolveSpaceExpressions0.prototype = {
95918 call$0() {
95919 var t1, spaceExpressions, singleExpression, t2;
95920 this.resolveOperations.call$0();
95921 t1 = this._box_0;
95922 spaceExpressions = t1.spaceExpressions_;
95923 if (spaceExpressions != null) {
95924 singleExpression = t1.singleExpression_;
95925 if (singleExpression == null)
95926 this.$this.scanner.error$1(0, "Expected expression.");
95927 spaceExpressions.push(singleExpression);
95928 t2 = B.JSArray_methods.get$first(spaceExpressions);
95929 t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
95930 t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_woc0, false, t2);
95931 t1.spaceExpressions_ = null;
95932 }
95933 },
95934 $signature: 0
95935 };
95936 A.StylesheetParser__expressionUntilComma_closure0.prototype = {
95937 call$0() {
95938 return this.$this.scanner.peekChar$0() === 44;
95939 },
95940 $signature: 26
95941 };
95942 A.StylesheetParser__unicodeRange_closure1.prototype = {
95943 call$1(char) {
95944 return char != null && A.isHex0(char);
95945 },
95946 $signature: 32
95947 };
95948 A.StylesheetParser__unicodeRange_closure2.prototype = {
95949 call$1(char) {
95950 return char != null && A.isHex0(char);
95951 },
95952 $signature: 32
95953 };
95954 A.StylesheetParser_namespacedExpression_closure0.prototype = {
95955 call$0() {
95956 return this.$this.scanner.spanFrom$1(this.start);
95957 },
95958 $signature: 31
95959 };
95960 A.StylesheetParser_trySpecialFunction_closure0.prototype = {
95961 call$1(contents) {
95962 return new A.StringExpression0(contents, false);
95963 },
95964 $signature: 560
95965 };
95966 A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
95967 call$0() {
95968 var t1 = this.$this.scanner,
95969 next = t1.peekChar$0();
95970 if (next === 61)
95971 return t1.peekChar$1(1) !== 61;
95972 return next === 60 || next === 62;
95973 },
95974 $signature: 26
95975 };
95976 A.StylesheetParser__publicIdentifier_closure0.prototype = {
95977 call$0() {
95978 return this.$this.scanner.spanFrom$1(this.start);
95979 },
95980 $signature: 31
95981 };
95982 A.Stylesheet0.prototype = {
95983 Stylesheet$internal$3$plainCss0(children, span, plainCss) {
95984 var t1, t2, t3, t4, _i, child;
95985 for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
95986 child = t1[_i];
95987 if (child instanceof A.UseRule0)
95988 t4.push(child);
95989 else if (child instanceof A.ForwardRule0)
95990 t3.push(child);
95991 else if (!(child instanceof A.SilentComment0) && !(child instanceof A.LoudComment0) && !(child instanceof A.VariableDeclaration0))
95992 break;
95993 }
95994 },
95995 accept$1$1(visitor) {
95996 return visitor.visitStylesheet$1(this);
95997 },
95998 accept$1(visitor) {
95999 return this.accept$1$1(visitor, type$.dynamic);
96000 },
96001 toString$0(_) {
96002 var t1 = this.children;
96003 return (t1 && B.JSArray_methods).join$1(t1, " ");
96004 },
96005 get$span(receiver) {
96006 return this.span;
96007 }
96008 };
96009 A.ModifiableCssSupportsRule0.prototype = {
96010 accept$1$1(visitor) {
96011 return visitor.visitCssSupportsRule$1(this);
96012 },
96013 accept$1(visitor) {
96014 return this.accept$1$1(visitor, type$.dynamic);
96015 },
96016 copyWithoutChildren$0() {
96017 return A.ModifiableCssSupportsRule$0(this.condition, this.span);
96018 },
96019 $isCssSupportsRule0: 1,
96020 get$span(receiver) {
96021 return this.span;
96022 }
96023 };
96024 A.SupportsRule0.prototype = {
96025 accept$1$1(visitor) {
96026 return visitor.visitSupportsRule$1(this);
96027 },
96028 accept$1(visitor) {
96029 return this.accept$1$1(visitor, type$.dynamic);
96030 },
96031 toString$0(_) {
96032 var t1 = this.children;
96033 return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
96034 },
96035 get$span(receiver) {
96036 return this.span;
96037 }
96038 };
96039 A.NodeToDartImporter.prototype = {
96040 canonicalize$1(_, url) {
96041 var t1,
96042 result = this._sync$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
96043 if (result == null)
96044 return null;
96045 t1 = self.URL;
96046 if (result instanceof t1)
96047 return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
96048 t1 = self.Promise;
96049 if (result instanceof t1)
96050 A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
96051 else
96052 A.jsThrow(new self.Error(string$.The_ca));
96053 },
96054 load$1(_, url) {
96055 var t1, contents, syntax, t2,
96056 result = this._sync$_load.call$1(new self.URL(url.toString$0(0)));
96057 if (result == null)
96058 return null;
96059 t1 = self.Promise;
96060 if (result instanceof t1)
96061 A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
96062 type$.NodeImporterResult._as(result);
96063 t1 = J.getInterceptor$x(result);
96064 contents = t1.get$contents(result);
96065 syntax = t1.get$syntax(result);
96066 if (contents == null || syntax == null)
96067 A.jsThrow(new self.Error(string$.The_lo));
96068 t2 = A.parseSyntax(syntax);
96069 return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
96070 }
96071 };
96072 A.Syntax0.prototype = {
96073 toString$0(_) {
96074 return this._syntax0$_name;
96075 }
96076 };
96077 A.TerseLogger0.prototype = {
96078 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
96079 var firstParagraph, t1, t2, count;
96080 if (deprecation) {
96081 firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
96082 t1 = this._terse$_warningCounts;
96083 t2 = t1.$index(0, firstParagraph);
96084 count = (t2 == null ? 0 : t2) + 1;
96085 t1.$indexSet(0, firstParagraph, count);
96086 if (count > 5)
96087 return;
96088 }
96089 this._terse$_inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
96090 },
96091 warn$2$span($receiver, message, span) {
96092 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
96093 },
96094 warn$2$deprecation($receiver, message, deprecation) {
96095 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
96096 },
96097 warn$3$deprecation$span($receiver, message, deprecation, span) {
96098 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
96099 },
96100 warn$2$trace($receiver, message, trace) {
96101 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
96102 },
96103 debug$2(_, message, span) {
96104 return this._terse$_inner.debug$2(0, message, span);
96105 },
96106 summarize$1$node(node) {
96107 var t2, total,
96108 t1 = this._terse$_warningCounts;
96109 t1 = t1.get$values(t1);
96110 t2 = A._instanceType(t1);
96111 total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.TerseLogger_summarize_closure1(), t2._eval$1("WhereIterable<Iterable.E>")), new A.TerseLogger_summarize_closure2(), t2._eval$1("MappedIterable<Iterable.E,int>")));
96112 if (total > 0) {
96113 t1 = "" + total + string$.x20repet;
96114 this._terse$_inner.warn$1(0, t1 + (node ? "" : string$.x0aRun_i));
96115 }
96116 }
96117 };
96118 A.TerseLogger_summarize_closure1.prototype = {
96119 call$1(count) {
96120 return count > 5;
96121 },
96122 $signature: 51
96123 };
96124 A.TerseLogger_summarize_closure2.prototype = {
96125 call$1(count) {
96126 return count - 5;
96127 },
96128 $signature: 176
96129 };
96130 A.TypeSelector0.prototype = {
96131 get$minSpecificity() {
96132 return 1;
96133 },
96134 accept$1$1(visitor) {
96135 visitor._serialize0$_buffer.write$1(0, this.name);
96136 return null;
96137 },
96138 accept$1(visitor) {
96139 return this.accept$1$1(visitor, type$.dynamic);
96140 },
96141 addSuffix$1(suffix) {
96142 var t1 = this.name;
96143 return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace));
96144 },
96145 unify$1(compound) {
96146 var unified, t1;
96147 if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector0 || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector0) {
96148 unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
96149 if (unified == null)
96150 return null;
96151 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
96152 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
96153 return t1;
96154 } else {
96155 t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
96156 B.JSArray_methods.addAll$1(t1, compound);
96157 return t1;
96158 }
96159 },
96160 $eq(_, other) {
96161 if (other == null)
96162 return false;
96163 return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
96164 },
96165 get$hashCode(_) {
96166 var t1 = this.name;
96167 return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
96168 }
96169 };
96170 A.Types.prototype = {};
96171 A.UnaryOperationExpression0.prototype = {
96172 accept$1$1(visitor) {
96173 return visitor.visitUnaryOperationExpression$1(this);
96174 },
96175 accept$1(visitor) {
96176 return this.accept$1$1(visitor, type$.dynamic);
96177 },
96178 toString$0(_) {
96179 var t1 = this.operator,
96180 t2 = t1.operator;
96181 t1 = t1 === B.UnaryOperator_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
96182 t1 += this.operand.toString$0(0);
96183 return t1.charCodeAt(0) == 0 ? t1 : t1;
96184 },
96185 $isExpression0: 1,
96186 $isAstNode0: 1,
96187 get$span(receiver) {
96188 return this.span;
96189 }
96190 };
96191 A.UnaryOperator0.prototype = {
96192 toString$0(_) {
96193 return this.name;
96194 }
96195 };
96196 A.UnitlessSassNumber0.prototype = {
96197 get$numeratorUnits(_) {
96198 return B.List_empty;
96199 },
96200 get$denominatorUnits(_) {
96201 return B.List_empty;
96202 },
96203 get$hasUnits() {
96204 return false;
96205 },
96206 withValue$1(value) {
96207 return new A.UnitlessSassNumber0(value, null);
96208 },
96209 withSlash$2(numerator, denominator) {
96210 return new A.UnitlessSassNumber0(this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
96211 },
96212 hasUnit$1(unit) {
96213 return false;
96214 },
96215 hasCompatibleUnits$1(other) {
96216 return other instanceof A.UnitlessSassNumber0;
96217 },
96218 hasPossiblyCompatibleUnits$1(other) {
96219 return other instanceof A.UnitlessSassNumber0;
96220 },
96221 compatibleWithUnit$1(unit) {
96222 return true;
96223 },
96224 coerceToMatch$3(other, $name, otherName) {
96225 return other.withValue$1(this._number1$_value);
96226 },
96227 coerceValueToMatch$3(other, $name, otherName) {
96228 return this._number1$_value;
96229 },
96230 coerceValueToMatch$1(other) {
96231 return this.coerceValueToMatch$3(other, null, null);
96232 },
96233 convertToMatch$3(other, $name, otherName) {
96234 return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
96235 },
96236 convertValueToMatch$3(other, $name, otherName) {
96237 return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
96238 },
96239 coerce$3(newNumerators, newDenominators, $name) {
96240 return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
96241 },
96242 coerce$2(newNumerators, newDenominators) {
96243 return this.coerce$3(newNumerators, newDenominators, null);
96244 },
96245 coerceValue$3(newNumerators, newDenominators, $name) {
96246 return this._number1$_value;
96247 },
96248 coerceValueToUnit$2(unit, $name) {
96249 return this._number1$_value;
96250 },
96251 greaterThan$1(other) {
96252 var t1, t2;
96253 if (other instanceof A.SassNumber0) {
96254 t1 = this._number1$_value;
96255 t2 = other._number1$_value;
96256 return t1 > t2 && !(Math.abs(t1 - t2) < $.$get$epsilon0()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
96257 }
96258 return this.super$SassNumber$greaterThan0(other);
96259 },
96260 greaterThanOrEquals$1(other) {
96261 var t1, t2;
96262 if (other instanceof A.SassNumber0) {
96263 t1 = this._number1$_value;
96264 t2 = other._number1$_value;
96265 return t1 > t2 || Math.abs(t1 - t2) < $.$get$epsilon0() ? B.SassBoolean_true0 : B.SassBoolean_false0;
96266 }
96267 return this.super$SassNumber$greaterThanOrEquals0(other);
96268 },
96269 lessThan$1(other) {
96270 var t1, t2;
96271 if (other instanceof A.SassNumber0) {
96272 t1 = this._number1$_value;
96273 t2 = other._number1$_value;
96274 return t1 < t2 && !(Math.abs(t1 - t2) < $.$get$epsilon0()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
96275 }
96276 return this.super$SassNumber$lessThan0(other);
96277 },
96278 lessThanOrEquals$1(other) {
96279 var t1, t2;
96280 if (other instanceof A.SassNumber0) {
96281 t1 = this._number1$_value;
96282 t2 = other._number1$_value;
96283 return t1 < t2 || Math.abs(t1 - t2) < $.$get$epsilon0() ? B.SassBoolean_true0 : B.SassBoolean_false0;
96284 }
96285 return this.super$SassNumber$lessThanOrEquals0(other);
96286 },
96287 modulo$1(other) {
96288 if (other instanceof A.SassNumber0)
96289 return other.withValue$1(this.moduloLikeSass$2(this._number1$_value, other._number1$_value));
96290 return this.super$SassNumber$modulo0(other);
96291 },
96292 plus$1(other) {
96293 if (other instanceof A.SassNumber0)
96294 return other.withValue$1(this._number1$_value + other._number1$_value);
96295 return this.super$SassNumber$plus0(other);
96296 },
96297 minus$1(other) {
96298 if (other instanceof A.SassNumber0)
96299 return other.withValue$1(this._number1$_value - other._number1$_value);
96300 return this.super$SassNumber$minus0(other);
96301 },
96302 times$1(other) {
96303 if (other instanceof A.SassNumber0)
96304 return other.withValue$1(this._number1$_value * other._number1$_value);
96305 return this.super$SassNumber$times0(other);
96306 },
96307 dividedBy$1(other) {
96308 var t1, t2;
96309 if (other instanceof A.SassNumber0) {
96310 t1 = this._number1$_value / other._number1$_value;
96311 if (other.get$hasUnits()) {
96312 t2 = other.get$denominatorUnits(other);
96313 t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
96314 t1 = t2;
96315 } else
96316 t1 = new A.UnitlessSassNumber0(t1, null);
96317 return t1;
96318 }
96319 return this.super$SassNumber$dividedBy0(other);
96320 },
96321 unaryMinus$0() {
96322 return new A.UnitlessSassNumber0(-this._number1$_value, null);
96323 },
96324 $eq(_, other) {
96325 if (other == null)
96326 return false;
96327 return other instanceof A.UnitlessSassNumber0 && Math.abs(this._number1$_value - other._number1$_value) < $.$get$epsilon0();
96328 },
96329 get$hashCode(_) {
96330 var t1 = this.hashCache;
96331 return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
96332 }
96333 };
96334 A.UniversalSelector0.prototype = {
96335 get$minSpecificity() {
96336 return 0;
96337 },
96338 accept$1$1(visitor) {
96339 var t2,
96340 t1 = this.namespace;
96341 if (t1 != null) {
96342 t2 = visitor._serialize0$_buffer;
96343 t2.write$1(0, t1);
96344 t2.writeCharCode$1(124);
96345 }
96346 visitor._serialize0$_buffer.writeCharCode$1(42);
96347 return null;
96348 },
96349 accept$1(visitor) {
96350 return this.accept$1$1(visitor, type$.dynamic);
96351 },
96352 unify$1(compound) {
96353 var unified, t1, _this = this,
96354 first = B.JSArray_methods.get$first(compound);
96355 if (first instanceof A.UniversalSelector0 || first instanceof A.TypeSelector0) {
96356 unified = A.unifyUniversalAndElement0(_this, first);
96357 if (unified == null)
96358 return null;
96359 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
96360 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
96361 return t1;
96362 } else {
96363 if (compound.length === 1)
96364 if (first instanceof A.PseudoSelector0)
96365 t1 = first.isClass && first.name === "host" || first.get$isHostContext();
96366 else
96367 t1 = false;
96368 else
96369 t1 = false;
96370 if (t1)
96371 return null;
96372 }
96373 t1 = _this.namespace;
96374 if (t1 != null && t1 !== "*") {
96375 t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
96376 B.JSArray_methods.addAll$1(t1, compound);
96377 return t1;
96378 }
96379 if (compound.length !== 0)
96380 return compound;
96381 return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
96382 },
96383 $eq(_, other) {
96384 if (other == null)
96385 return false;
96386 return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
96387 },
96388 get$hashCode(_) {
96389 return J.get$hashCode$(this.namespace);
96390 }
96391 };
96392 A.UnprefixedMapView0.prototype = {
96393 get$keys(_) {
96394 return new A._UnprefixedKeys0(this);
96395 },
96396 $index(_, key) {
96397 return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
96398 },
96399 containsKey$1(key) {
96400 return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
96401 },
96402 remove$1(_, key) {
96403 return typeof key == "string" ? this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key) : null;
96404 }
96405 };
96406 A._UnprefixedKeys0.prototype = {
96407 get$iterator(_) {
96408 var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
96409 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);
96410 return t1.get$iterator(t1);
96411 },
96412 contains$1(_, key) {
96413 return this._unprefixed_map_view0$_view.containsKey$1(key);
96414 }
96415 };
96416 A._UnprefixedKeys_iterator_closure1.prototype = {
96417 call$1(key) {
96418 return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
96419 },
96420 $signature: 6
96421 };
96422 A._UnprefixedKeys_iterator_closure2.prototype = {
96423 call$1(key) {
96424 return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
96425 },
96426 $signature: 5
96427 };
96428 A.JSUrl0.prototype = {};
96429 A.UseRule0.prototype = {
96430 UseRule$4$configuration0(url, namespace, span, configuration) {
96431 var t1, t2, _i, variable;
96432 for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
96433 variable = t1[_i];
96434 if (variable.isGuarded)
96435 throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
96436 }
96437 },
96438 accept$1$1(visitor) {
96439 return visitor.visitUseRule$1(this);
96440 },
96441 accept$1(visitor) {
96442 return this.accept$1$1(visitor, type$.dynamic);
96443 },
96444 toString$0(_) {
96445 var t1 = this.url,
96446 t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
96447 basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
96448 dot = B.JSString_methods.indexOf$1(basename, ".");
96449 t1 = this.namespace;
96450 if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
96451 t1 = t2 + (" as " + (t1 == null ? "*" : t1));
96452 else
96453 t1 = t2;
96454 t2 = this.configuration;
96455 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
96456 return t1.charCodeAt(0) == 0 ? t1 : t1;
96457 },
96458 $isAstNode0: 1,
96459 $isStatement0: 1,
96460 get$span(receiver) {
96461 return this.span;
96462 }
96463 };
96464 A.UserDefinedCallable0.prototype = {
96465 get$name(_) {
96466 return this.declaration.name;
96467 },
96468 $isAsyncCallable0: 1,
96469 $isCallable0: 1
96470 };
96471 A.resolveImportPath_closure1.prototype = {
96472 call$0() {
96473 return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
96474 },
96475 $signature: 41
96476 };
96477 A.resolveImportPath_closure2.prototype = {
96478 call$0() {
96479 return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
96480 },
96481 $signature: 41
96482 };
96483 A._tryPathAsDirectory_closure0.prototype = {
96484 call$0() {
96485 return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
96486 },
96487 $signature: 41
96488 };
96489 A._exactlyOne_closure0.prototype = {
96490 call$1(path) {
96491 var t1 = $.$get$context();
96492 return " " + t1.prettyUri$1(t1.toUri$1(path));
96493 },
96494 $signature: 5
96495 };
96496 A._PropertyDescriptor0.prototype = {};
96497 A.futureToPromise_closure0.prototype = {
96498 call$2(resolve, reject) {
96499 this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
96500 },
96501 $signature: 561
96502 };
96503 A.futureToPromise__closure0.prototype = {
96504 call$1(result) {
96505 return this.resolve.call$1(result);
96506 },
96507 $signature: 28
96508 };
96509 A.futureToPromise__closure1.prototype = {
96510 call$2(error, stackTrace) {
96511 A.attachTrace0(error, stackTrace);
96512 this.reject.call$1(error);
96513 },
96514 $signature: 63
96515 };
96516 A.objectToMap_closure.prototype = {
96517 call$2(key, value) {
96518 this.map.$indexSet(0, key, value);
96519 return value;
96520 },
96521 $signature: 109
96522 };
96523 A.indent_closure0.prototype = {
96524 call$1(line) {
96525 return B.JSString_methods.$mul(" ", this.indentation) + line;
96526 },
96527 $signature: 5
96528 };
96529 A.flattenVertically_closure1.prototype = {
96530 call$1(inner) {
96531 return A.QueueList_QueueList$from(inner, this.T);
96532 },
96533 $signature() {
96534 return this.T._eval$1("QueueList<0>(Iterable<0>)");
96535 }
96536 };
96537 A.flattenVertically_closure2.prototype = {
96538 call$1(queue) {
96539 this.result.push(queue.removeFirst$0());
96540 return queue.get$length(queue) === 0;
96541 },
96542 $signature() {
96543 return this.T._eval$1("bool(QueueList<0>)");
96544 }
96545 };
96546 A.longestCommonSubsequence_closure0.prototype = {
96547 call$2(element1, element2) {
96548 return J.$eq$(element1, element2) ? element1 : null;
96549 },
96550 $signature() {
96551 return this.T._eval$1("0?(0,0)");
96552 }
96553 };
96554 A.longestCommonSubsequence_backtrack0.prototype = {
96555 call$2(i, j) {
96556 var selection, t1, _this = this;
96557 if (i === -1 || j === -1)
96558 return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
96559 selection = _this.selections[i][j];
96560 if (selection != null) {
96561 t1 = _this.call$2(i - 1, j - 1);
96562 J.add$1$ax(t1, selection);
96563 return t1;
96564 }
96565 t1 = _this.lengths;
96566 return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
96567 },
96568 $signature() {
96569 return this.T._eval$1("List<0>(int,int)");
96570 }
96571 };
96572 A.mapAddAll2_closure0.prototype = {
96573 call$2(key, inner) {
96574 var t1 = this.destination,
96575 innerDestination = t1.$index(0, key);
96576 if (innerDestination != null)
96577 innerDestination.addAll$1(0, inner);
96578 else
96579 t1.$indexSet(0, key, inner);
96580 },
96581 $signature() {
96582 return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
96583 }
96584 };
96585 A.CssValue0.prototype = {
96586 toString$0(_) {
96587 return J.toString$0$(this.value);
96588 },
96589 $isAstNode0: 1,
96590 get$value(receiver) {
96591 return this.value;
96592 },
96593 get$span(receiver) {
96594 return this.span;
96595 }
96596 };
96597 A.ValueExpression0.prototype = {
96598 accept$1$1(visitor) {
96599 return visitor.visitValueExpression$1(this);
96600 },
96601 accept$1(visitor) {
96602 return this.accept$1$1(visitor, type$.dynamic);
96603 },
96604 toString$0(_) {
96605 return A.serializeValue0(this.value, true, true);
96606 },
96607 $isExpression0: 1,
96608 $isAstNode0: 1,
96609 get$span(receiver) {
96610 return this.span;
96611 }
96612 };
96613 A.ModifiableCssValue0.prototype = {
96614 toString$0(_) {
96615 return A.serializeSelector0(this.value, true);
96616 },
96617 $isAstNode0: 1,
96618 $isCssValue0: 1,
96619 get$value(receiver) {
96620 return this.value;
96621 },
96622 get$span(receiver) {
96623 return this.span;
96624 }
96625 };
96626 A.valueClass_closure.prototype = {
96627 call$0() {
96628 var t2,
96629 t1 = type$.JSClass,
96630 jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
96631 A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
96632 t1 = type$.String;
96633 t2 = type$.Function;
96634 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));
96635 A.LinkedHashMap_LinkedHashMap$_literal(["sassIndexToListIndex", new A.valueClass__closure5(), "get", new A.valueClass__closure6(), "assertBoolean", new A.valueClass__closure7(), "assertColor", new A.valueClass__closure8(), "assertFunction", new A.valueClass__closure9(), "assertMap", new A.valueClass__closure10(), "assertNumber", new A.valueClass__closure11(), "assertString", new A.valueClass__closure12(), "tryMap", new A.valueClass__closure13(), "equals", new A.valueClass__closure14(), "hashCode", new A.valueClass__closure15(), "toString", new A.valueClass__closure16()], t1, t2).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
96636 return jsClass;
96637 },
96638 $signature: 23
96639 };
96640 A.valueClass__closure.prototype = {
96641 call$1($self) {
96642 return J.toString$0$($self);
96643 },
96644 $signature: 45
96645 };
96646 A.valueClass__closure0.prototype = {
96647 call$1($self) {
96648 return new self.immutable.List($self.get$asList());
96649 },
96650 $signature: 562
96651 };
96652 A.valueClass__closure1.prototype = {
96653 call$1($self) {
96654 return $self.get$hasBrackets();
96655 },
96656 $signature: 47
96657 };
96658 A.valueClass__closure2.prototype = {
96659 call$1($self) {
96660 return $self.get$isTruthy();
96661 },
96662 $signature: 47
96663 };
96664 A.valueClass__closure3.prototype = {
96665 call$1($self) {
96666 return $self.get$realNull();
96667 },
96668 $signature: 216
96669 };
96670 A.valueClass__closure4.prototype = {
96671 call$1($self) {
96672 return $self.get$separator($self).separator;
96673 },
96674 $signature: 563
96675 };
96676 A.valueClass__closure5.prototype = {
96677 call$3($self, sassIndex, $name) {
96678 return $self.sassIndexToListIndex$2(sassIndex, $name);
96679 },
96680 call$2($self, sassIndex) {
96681 return this.call$3($self, sassIndex, null);
96682 },
96683 "call*": "call$3",
96684 $requiredArgCount: 2,
96685 $defaultValues() {
96686 return [null];
96687 },
96688 $signature: 564
96689 };
96690 A.valueClass__closure6.prototype = {
96691 call$2($self, index) {
96692 return index < 1 && index >= -1 ? $self : self.undefined;
96693 },
96694 $signature: 234
96695 };
96696 A.valueClass__closure7.prototype = {
96697 call$2($self, $name) {
96698 return $self.assertBoolean$1($name);
96699 },
96700 call$1($self) {
96701 return this.call$2($self, null);
96702 },
96703 "call*": "call$2",
96704 $requiredArgCount: 1,
96705 $defaultValues() {
96706 return [null];
96707 },
96708 $signature: 565
96709 };
96710 A.valueClass__closure8.prototype = {
96711 call$2($self, $name) {
96712 return $self.assertColor$1($name);
96713 },
96714 call$1($self) {
96715 return this.call$2($self, null);
96716 },
96717 "call*": "call$2",
96718 $requiredArgCount: 1,
96719 $defaultValues() {
96720 return [null];
96721 },
96722 $signature: 566
96723 };
96724 A.valueClass__closure9.prototype = {
96725 call$2($self, $name) {
96726 return $self.assertFunction$1($name);
96727 },
96728 call$1($self) {
96729 return this.call$2($self, null);
96730 },
96731 "call*": "call$2",
96732 $requiredArgCount: 1,
96733 $defaultValues() {
96734 return [null];
96735 },
96736 $signature: 567
96737 };
96738 A.valueClass__closure10.prototype = {
96739 call$2($self, $name) {
96740 return $self.assertMap$1($name);
96741 },
96742 call$1($self) {
96743 return this.call$2($self, null);
96744 },
96745 "call*": "call$2",
96746 $requiredArgCount: 1,
96747 $defaultValues() {
96748 return [null];
96749 },
96750 $signature: 568
96751 };
96752 A.valueClass__closure11.prototype = {
96753 call$2($self, $name) {
96754 return $self.assertNumber$1($name);
96755 },
96756 call$1($self) {
96757 return this.call$2($self, null);
96758 },
96759 "call*": "call$2",
96760 $requiredArgCount: 1,
96761 $defaultValues() {
96762 return [null];
96763 },
96764 $signature: 569
96765 };
96766 A.valueClass__closure12.prototype = {
96767 call$2($self, $name) {
96768 return $self.assertString$1($name);
96769 },
96770 call$1($self) {
96771 return this.call$2($self, null);
96772 },
96773 "call*": "call$2",
96774 $requiredArgCount: 1,
96775 $defaultValues() {
96776 return [null];
96777 },
96778 $signature: 570
96779 };
96780 A.valueClass__closure13.prototype = {
96781 call$1($self) {
96782 return $self.tryMap$0();
96783 },
96784 $signature: 571
96785 };
96786 A.valueClass__closure14.prototype = {
96787 call$2($self, other) {
96788 return $self.$eq(0, other);
96789 },
96790 $signature: 572
96791 };
96792 A.valueClass__closure15.prototype = {
96793 call$2($self, _) {
96794 return $self.get$hashCode($self);
96795 },
96796 call$1($self) {
96797 return this.call$2($self, null);
96798 },
96799 "call*": "call$2",
96800 $requiredArgCount: 1,
96801 $defaultValues() {
96802 return [null];
96803 },
96804 $signature: 573
96805 };
96806 A.valueClass__closure16.prototype = {
96807 call$1($self) {
96808 return A.serializeValue0($self, true, true);
96809 },
96810 $signature: 198
96811 };
96812 A.Value0.prototype = {
96813 get$isTruthy() {
96814 return true;
96815 },
96816 get$separator(_) {
96817 return B.ListSeparator_undecided_null0;
96818 },
96819 get$hasBrackets() {
96820 return false;
96821 },
96822 get$asList() {
96823 return A._setArrayType([this], type$.JSArray_Value_2);
96824 },
96825 get$lengthAsList() {
96826 return 1;
96827 },
96828 get$isBlank() {
96829 return false;
96830 },
96831 get$isSpecialNumber() {
96832 return false;
96833 },
96834 get$isVar() {
96835 return false;
96836 },
96837 get$realNull() {
96838 return this;
96839 },
96840 sassIndexToListIndex$2(sassIndex, $name) {
96841 var _this = this,
96842 index = sassIndex.assertNumber$1($name).assertInt$1($name);
96843 if (index === 0)
96844 throw A.wrapException(_this._value0$_exception$2("List index may not be 0.", $name));
96845 if (Math.abs(index) > _this.get$lengthAsList())
96846 throw A.wrapException(_this._value0$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a list with " + _this.get$lengthAsList() + " elements.", $name));
96847 return index < 0 ? _this.get$lengthAsList() + index : index - 1;
96848 },
96849 assertBoolean$1($name) {
96850 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a boolean.", $name));
96851 },
96852 assertCalculation$1($name) {
96853 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a calculation.", $name));
96854 },
96855 assertColor$1($name) {
96856 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a color.", $name));
96857 },
96858 assertFunction$1($name) {
96859 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a function reference.", $name));
96860 },
96861 assertMap$1($name) {
96862 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a map.", $name));
96863 },
96864 tryMap$0() {
96865 return null;
96866 },
96867 assertNumber$1($name) {
96868 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a number.", $name));
96869 },
96870 assertNumber$0() {
96871 return this.assertNumber$1(null);
96872 },
96873 assertString$1($name) {
96874 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a string.", $name));
96875 },
96876 assertSelector$2$allowParent$name(allowParent, $name) {
96877 var error, stackTrace, t1, exception,
96878 string = this._value0$_selectorString$1($name);
96879 try {
96880 t1 = A.SelectorList_SelectorList$parse0(string, allowParent, true, null);
96881 return t1;
96882 } catch (exception) {
96883 t1 = A.unwrapException(exception);
96884 if (t1 instanceof A.SassFormatException0) {
96885 error = t1;
96886 stackTrace = A.getTraceFromException(exception);
96887 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
96888 A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
96889 } else
96890 throw exception;
96891 }
96892 },
96893 assertSelector$1$name($name) {
96894 return this.assertSelector$2$allowParent$name(false, $name);
96895 },
96896 assertSelector$0() {
96897 return this.assertSelector$2$allowParent$name(false, null);
96898 },
96899 assertSelector$1$allowParent(allowParent) {
96900 return this.assertSelector$2$allowParent$name(allowParent, null);
96901 },
96902 assertCompoundSelector$1$name($name) {
96903 var error, stackTrace, t1, exception,
96904 allowParent = false,
96905 string = this._value0$_selectorString$1($name);
96906 try {
96907 t1 = A.SelectorParser$0(string, allowParent, true, null, null).parseCompoundSelector$0();
96908 return t1;
96909 } catch (exception) {
96910 t1 = A.unwrapException(exception);
96911 if (t1 instanceof A.SassFormatException0) {
96912 error = t1;
96913 stackTrace = A.getTraceFromException(exception);
96914 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
96915 t1 = "$" + $name + ": " + t1;
96916 A.throwWithTrace0(new A.SassScriptException0(t1), stackTrace);
96917 } else
96918 throw exception;
96919 }
96920 },
96921 _value0$_selectorString$1($name) {
96922 var string = this._value0$_selectorStringOrNull$0();
96923 if (string != null)
96924 return string;
96925 throw A.wrapException(this._value0$_exception$2(this.toString$0(0) + string$.x20is_no, $name));
96926 },
96927 _value0$_selectorStringOrNull$0() {
96928 var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
96929 if (_this instanceof A.SassString0)
96930 return _this._string0$_text;
96931 if (!(_this instanceof A.SassList0))
96932 return _null;
96933 t1 = _this._list1$_contents;
96934 t2 = t1.length;
96935 if (t2 === 0)
96936 return _null;
96937 result = A._setArrayType([], type$.JSArray_String);
96938 t3 = _this._list1$_separator;
96939 switch (t3) {
96940 case B.ListSeparator_kWM0:
96941 for (_i = 0; _i < t2; ++_i) {
96942 complex = t1[_i];
96943 if (complex instanceof A.SassString0)
96944 result.push(complex._string0$_text);
96945 else if (complex instanceof A.SassList0 && complex._list1$_separator === B.ListSeparator_woc0) {
96946 string = complex._value0$_selectorStringOrNull$0();
96947 if (string == null)
96948 return _null;
96949 result.push(string);
96950 } else
96951 return _null;
96952 }
96953 break;
96954 case B.ListSeparator_1gm0:
96955 return _null;
96956 default:
96957 for (_i = 0; _i < t2; ++_i) {
96958 compound = t1[_i];
96959 if (compound instanceof A.SassString0)
96960 result.push(compound._string0$_text);
96961 else
96962 return _null;
96963 }
96964 break;
96965 }
96966 return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_kWM0 ? ", " : " ");
96967 },
96968 withListContents$2$separator(contents, separator) {
96969 var t1 = separator == null ? this.get$separator(this) : separator,
96970 t2 = this.get$hasBrackets();
96971 return A.SassList$0(contents, t1, t2);
96972 },
96973 withListContents$1(contents) {
96974 return this.withListContents$2$separator(contents, null);
96975 },
96976 greaterThan$1(other) {
96977 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
96978 },
96979 greaterThanOrEquals$1(other) {
96980 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
96981 },
96982 lessThan$1(other) {
96983 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
96984 },
96985 lessThanOrEquals$1(other) {
96986 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
96987 },
96988 times$1(other) {
96989 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".'));
96990 },
96991 modulo$1(other) {
96992 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".'));
96993 },
96994 plus$1(other) {
96995 if (other instanceof A.SassString0)
96996 return new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
96997 else if (other instanceof A.SassCalculation0)
96998 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
96999 else
97000 return new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
97001 },
97002 minus$1(other) {
97003 if (other instanceof A.SassCalculation0)
97004 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
97005 else
97006 return new A.SassString0(A.serializeValue0(this, false, true) + "-" + A.serializeValue0(other, false, true), false);
97007 },
97008 dividedBy$1(other) {
97009 return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
97010 },
97011 unaryPlus$0() {
97012 return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
97013 },
97014 unaryMinus$0() {
97015 return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
97016 },
97017 unaryNot$0() {
97018 return B.SassBoolean_false0;
97019 },
97020 withoutSlash$0() {
97021 return this;
97022 },
97023 toString$0(_) {
97024 return A.serializeValue0(this, true, true);
97025 },
97026 _value0$_exception$2(message, $name) {
97027 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
97028 }
97029 };
97030 A.VariableExpression0.prototype = {
97031 accept$1$1(visitor) {
97032 return visitor.visitVariableExpression$1(this);
97033 },
97034 accept$1(visitor) {
97035 return this.accept$1$1(visitor, type$.dynamic);
97036 },
97037 toString$0(_) {
97038 var t1 = this.namespace,
97039 t2 = this.name;
97040 return t1 == null ? "$" + t2 : t1 + ".$" + t2;
97041 },
97042 $isExpression0: 1,
97043 $isAstNode0: 1,
97044 get$span(receiver) {
97045 return this.span;
97046 }
97047 };
97048 A.VariableDeclaration0.prototype = {
97049 accept$1$1(visitor) {
97050 return visitor.visitVariableDeclaration$1(this);
97051 },
97052 accept$1(visitor) {
97053 return this.accept$1$1(visitor, type$.dynamic);
97054 },
97055 toString$0(_) {
97056 var t1 = this.namespace;
97057 t1 = t1 != null ? "$" + (t1 + ".") : "$";
97058 t1 += this.name + ": " + this.expression.toString$0(0) + ";";
97059 return t1.charCodeAt(0) == 0 ? t1 : t1;
97060 },
97061 $isAstNode0: 1,
97062 $isStatement0: 1,
97063 get$span(receiver) {
97064 return this.span;
97065 }
97066 };
97067 A.WarnRule0.prototype = {
97068 accept$1$1(visitor) {
97069 return visitor.visitWarnRule$1(this);
97070 },
97071 accept$1(visitor) {
97072 return this.accept$1$1(visitor, type$.dynamic);
97073 },
97074 toString$0(_) {
97075 return "@warn " + this.expression.toString$0(0) + ";";
97076 },
97077 $isAstNode0: 1,
97078 $isStatement0: 1,
97079 get$span(receiver) {
97080 return this.span;
97081 }
97082 };
97083 A.WhileRule0.prototype = {
97084 accept$1$1(visitor) {
97085 return visitor.visitWhileRule$1(this);
97086 },
97087 accept$1(visitor) {
97088 return this.accept$1$1(visitor, type$.dynamic);
97089 },
97090 toString$0(_) {
97091 var t1 = this.children;
97092 return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
97093 },
97094 get$span(receiver) {
97095 return this.span;
97096 }
97097 };
97098 (function aliases() {
97099 var _ = J.LegacyJavaScriptObject.prototype;
97100 _.super$LegacyJavaScriptObject$toString = _.toString$0;
97101 _ = A.JsLinkedHashMap.prototype;
97102 _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
97103 _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
97104 _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
97105 _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
97106 _ = A._BufferingStreamSubscription.prototype;
97107 _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
97108 _.super$_BufferingStreamSubscription$_addError = _._addError$2;
97109 _ = A.ListMixin.prototype;
97110 _.super$ListMixin$setRange = _.setRange$4;
97111 _ = A.Iterable.prototype;
97112 _.super$Iterable$where = _.where$1;
97113 _.super$Iterable$skipWhile = _.skipWhile$1;
97114 _ = A.ModifiableCssParentNode.prototype;
97115 _.super$ModifiableCssParentNode$addChild = _.addChild$1;
97116 _ = A.SimpleSelector.prototype;
97117 _.super$SimpleSelector$addSuffix = _.addSuffix$1;
97118 _.super$SimpleSelector$unify = _.unify$1;
97119 _ = A.Parser.prototype;
97120 _.super$Parser$silentComment = _.silentComment$0;
97121 _ = A.StylesheetParser.prototype;
97122 _.super$StylesheetParser$importArgument = _.importArgument$0;
97123 _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
97124 _ = A.Value.prototype;
97125 _.super$Value$assertMap = _.assertMap$1;
97126 _.super$Value$plus = _.plus$1;
97127 _.super$Value$minus = _.minus$1;
97128 _.super$Value$dividedBy = _.dividedBy$1;
97129 _ = A.SassNumber.prototype;
97130 _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
97131 _.super$SassNumber$coerce = _.coerce$3;
97132 _.super$SassNumber$coerceValue = _.coerceValue$3;
97133 _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
97134 _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
97135 _.super$SassNumber$greaterThan = _.greaterThan$1;
97136 _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
97137 _.super$SassNumber$lessThan = _.lessThan$1;
97138 _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
97139 _.super$SassNumber$modulo = _.modulo$1;
97140 _.super$SassNumber$plus = _.plus$1;
97141 _.super$SassNumber$minus = _.minus$1;
97142 _.super$SassNumber$times = _.times$1;
97143 _.super$SassNumber$dividedBy = _.dividedBy$1;
97144 _ = A.SourceSpanMixin.prototype;
97145 _.super$SourceSpanMixin$compareTo = _.compareTo$1;
97146 _.super$SourceSpanMixin$$eq = _.$eq;
97147 _ = A.StringScanner.prototype;
97148 _.super$StringScanner$readChar = _.readChar$0;
97149 _.super$StringScanner$scanChar = _.scanChar$1;
97150 _.super$StringScanner$scan = _.scan$1;
97151 _.super$StringScanner$matches = _.matches$1;
97152 _ = A.ModifiableCssParentNode0.prototype;
97153 _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
97154 _ = A.SassNumber0.prototype;
97155 _.super$SassNumber$convertToMatch = _.convertToMatch$3;
97156 _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
97157 _.super$SassNumber$coerce0 = _.coerce$3;
97158 _.super$SassNumber$coerceValue0 = _.coerceValue$3;
97159 _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
97160 _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
97161 _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
97162 _.super$SassNumber$greaterThan0 = _.greaterThan$1;
97163 _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
97164 _.super$SassNumber$lessThan0 = _.lessThan$1;
97165 _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
97166 _.super$SassNumber$modulo0 = _.modulo$1;
97167 _.super$SassNumber$plus0 = _.plus$1;
97168 _.super$SassNumber$minus0 = _.minus$1;
97169 _.super$SassNumber$times0 = _.times$1;
97170 _.super$SassNumber$dividedBy0 = _.dividedBy$1;
97171 _ = A.Parser1.prototype;
97172 _.super$Parser$silentComment0 = _.silentComment$0;
97173 _ = A.SimpleSelector0.prototype;
97174 _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
97175 _.super$SimpleSelector$unify0 = _.unify$1;
97176 _ = A.StylesheetParser0.prototype;
97177 _.super$StylesheetParser$importArgument0 = _.importArgument$0;
97178 _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
97179 _ = A.Value0.prototype;
97180 _.super$Value$assertMap0 = _.assertMap$1;
97181 _.super$Value$plus0 = _.plus$1;
97182 _.super$Value$minus0 = _.minus$1;
97183 _.super$Value$dividedBy0 = _.dividedBy$1;
97184 })();
97185 (function installTearOffs() {
97186 var _static_2 = hunkHelpers._static_2,
97187 _instance_1_i = hunkHelpers._instance_1i,
97188 _instance_1_u = hunkHelpers._instance_1u,
97189 _static_1 = hunkHelpers._static_1,
97190 _static_0 = hunkHelpers._static_0,
97191 _static = hunkHelpers.installStaticTearOff,
97192 _instance = hunkHelpers.installInstanceTearOff,
97193 _instance_2_u = hunkHelpers._instance_2u,
97194 _instance_0_i = hunkHelpers._instance_0i,
97195 _instance_0_u = hunkHelpers._instance_0u;
97196 _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 254);
97197 _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 11);
97198 _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 11);
97199 _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 11);
97200 _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 11);
97201 _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 11);
97202 _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 106);
97203 _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 106);
97204 _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 106);
97205 _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
97206 _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 119);
97207 _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 61);
97208 _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
97209 _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 576, 0);
97210 _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
97211 return A._rootRun($self, $parent, zone, f, type$.dynamic);
97212 }], 577, 1);
97213 _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
97214 return A._rootRunUnary($self, $parent, zone, f, arg, type$.dynamic, type$.dynamic);
97215 }], 578, 1);
97216 _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
97217 return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, type$.dynamic, type$.dynamic, type$.dynamic);
97218 }], 579, 1);
97219 _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
97220 return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
97221 }], 580, 0);
97222 _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
97223 return A._rootRegisterUnaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic);
97224 }], 581, 0);
97225 _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
97226 return A._rootRegisterBinaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic, type$.dynamic);
97227 }], 582, 0);
97228 _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 583, 0);
97229 _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 584, 0);
97230 _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 585, 0);
97231 _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 586, 0);
97232 _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 587, 0);
97233 _static_1(A, "async___printToZone$closure", "_printToZone", 121);
97234 _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 588, 0);
97235 _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
97236 return [null];
97237 }, ["call$1", "call$0"], ["complete$1", "complete$0"], 251, 0, 0);
97238 _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 61);
97239 var _;
97240 _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 28);
97241 _instance(_, "get$addError", 0, 1, function() {
97242 return [null];
97243 }, ["call$2", "call$1"], ["addError$2", "addError$1"], 250, 0, 0);
97244 _instance_0_i(_, "get$close", "close$0", 488);
97245 _instance_1_u(_, "get$_async$_add", "_async$_add$1", 28);
97246 _instance_2_u(_, "get$_addError", "_addError$2", 61);
97247 _instance_0_u(_, "get$_close", "_close$0", 0);
97248 _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
97249 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
97250 _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 539, 0, 0);
97251 _instance_0_i(_, "get$resume", "resume$0", 0);
97252 _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
97253 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
97254 _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 28);
97255 _instance_2_u(_, "get$_onError", "_onError$2", 61);
97256 _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
97257 _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
97258 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
97259 _instance_1_u(_, "get$_handleData", "_handleData$1", 28);
97260 _instance_2_u(_, "get$_handleError", "_handleError$2", 555);
97261 _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
97262 _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 256);
97263 _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 257);
97264 _static_2(A, "collection_ListMixin__compareAny$closure", "ListMixin__compareAny", 254);
97265 _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 11);
97266 _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 11);
97267 _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 232, 0, 0);
97268 _instance_1_i(_, "get$contains", "contains$1", 11);
97269 _instance_1_i(_, "get$add", "add$1", 11);
97270 _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 232, 0, 0);
97271 _instance_1_u(A.MapMixin.prototype, "get$containsKey", "containsKey$1", 11);
97272 _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 11);
97273 _instance_1_i(A._UnmodifiableSet.prototype, "get$contains", "contains$1", 11);
97274 _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 78);
97275 _static_1(A, "core__identityHashCode$closure", "identityHashCode", 257);
97276 _static_2(A, "core__identical$closure", "identical", 256);
97277 _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 5);
97278 _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 11);
97279 _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 28);
97280 _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
97281 return A.max(a, b, type$.num);
97282 }], 591, 1);
97283 _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 28);
97284 _instance(_, "get$setError", 0, 1, function() {
97285 return [null];
97286 }, ["call$2", "call$1"], ["setError$2", "setError$1"], 250, 0, 0);
97287 _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
97288 _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
97289 _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
97290 _instance_0_u(_, "get$_onCancel", "_onCancel$0", 224);
97291 _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
97292 _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 11);
97293 _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 11);
97294 _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 11);
97295 _instance_1_u(A.ModifiableCssNode.prototype, "get$_node$_isInvisible", "_node$_isInvisible$1", 7);
97296 _instance_1_u(A.SelectorList.prototype, "get$_complexContainsParentSelector", "_complexContainsParentSelector$1", 18);
97297 _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 201);
97298 _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 201);
97299 _static_1(A, "functions___isUnique$closure", "_isUnique", 15);
97300 _static_1(A, "color0___opacify$closure", "_opacify", 24);
97301 _static_1(A, "color0___transparentize$closure", "_transparentize", 24);
97302 _instance_0_u(_ = A.Parser.prototype, "get$whitespace", "whitespace$0", 0);
97303 _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
97304 _instance_0_u(_, "get$string", "string$0", 30);
97305 _instance_0_u(A.SassParser.prototype, "get$loudComment", "loudComment$0", 0);
97306 _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 348, 0, 0);
97307 _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 139);
97308 _instance_0_u(_, "get$_functionChild", "_functionChild$0", 139);
97309 _instance(_, "get$expression", 0, 0, null, ["call$3$bracketList$singleEquals$until", "call$0", "call$2$singleEquals$until", "call$1$bracketList", "call$1$singleEquals", "call$1$until"], ["expression$3$bracketList$singleEquals$until", "expression$0", "expression$2$singleEquals$until", "expression$1$bracketList", "expression$1$singleEquals", "expression$1$until"], 351, 0, 0);
97310 _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97311 _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97312 _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 28);
97313 _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97314 _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 11);
97315 _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 28);
97316 _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97317 _static_1(A, "utils__isPublic$closure", "isPublic", 6);
97318 _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 172);
97319 _instance_2_u(A.SassNumber.prototype, "get$moduloLikeSass", "moduloLikeSass$2", 50);
97320 _instance_1_u(_ = A._EvaluateVisitor0.prototype, "get$_async_evaluate$_visitMediaQueries", "_async_evaluate$_visitMediaQueries$1", 408);
97321 _instance_1_u(_, "get$_async_evaluate$_visitSupportsCondition", "_async_evaluate$_visitSupportsCondition$1", 410);
97322 _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 166);
97323 _instance_1_u(_ = A._EvaluateVisitor.prototype, "get$_visitMediaQueries", "_visitMediaQueries$1", 575);
97324 _instance_1_u(_, "get$_visitSupportsCondition", "_visitSupportsCondition$1", 589);
97325 _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 166);
97326 _instance_1_u(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 271);
97327 _instance_1_u(_, "get$visitChildren", "visitChildren$1", 272);
97328 _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 273);
97329 _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 130);
97330 _instance_1_u(_, "get$_isInvisible", "_isInvisible$1", 7);
97331 _instance_1_u(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
97332 _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
97333 _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
97334 return {color: null};
97335 }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 285, 0, 0);
97336 _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
97337 return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
97338 }], 593, 0);
97339 _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
97340 return A._collect($event, soFar, type$.dynamic);
97341 }], 594, 0);
97342 _instance_1_u(_ = A._EvaluateVisitor2.prototype, "get$_async_evaluate0$_visitMediaQueries", "_async_evaluate0$_visitMediaQueries$1", 313);
97343 _instance_1_u(_, "get$_async_evaluate0$_visitSupportsCondition", "_async_evaluate0$_visitSupportsCondition$1", 314);
97344 _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 158);
97345 _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 172);
97346 _static_1(A, "color2___opacify$closure", "_opacify0", 25);
97347 _static_1(A, "color2___transparentize$closure", "_transparentize0", 25);
97348 _static(A, "compile__compile$closure", 1, function() {
97349 return [null];
97350 }, ["call$2", "call$1"], ["compile0", function(path) {
97351 return A.compile0(path, null);
97352 }], 595, 0);
97353 _static(A, "compile__compileString$closure", 1, function() {
97354 return [null];
97355 }, ["call$2", "call$1"], ["compileString0", function(text) {
97356 return A.compileString0(text, null);
97357 }], 596, 0);
97358 _static(A, "compile__compileAsync$closure", 1, function() {
97359 return [null];
97360 }, ["call$2", "call$1"], ["compileAsync1", function(path) {
97361 return A.compileAsync1(path, null);
97362 }], 597, 0);
97363 _static(A, "compile__compileStringAsync$closure", 1, function() {
97364 return [null];
97365 }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
97366 return A.compileStringAsync1(text, null);
97367 }], 598, 0);
97368 _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 599);
97369 _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 208);
97370 _instance_1_u(_ = A._EvaluateVisitor1.prototype, "get$_evaluate0$_visitMediaQueries", "_evaluate0$_visitMediaQueries$1", 399);
97371 _instance_1_u(_, "get$_evaluate0$_visitSupportsCondition", "_evaluate0$_visitSupportsCondition$1", 400);
97372 _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 158);
97373 _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 208);
97374 _static_1(A, "functions0___isUnique$closure", "_isUnique0", 16);
97375 _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 600);
97376 _static_2(A, "legacy__render$closure", "render", 601);
97377 _static_1(A, "legacy__renderSync$closure", "renderSync", 602);
97378 _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97379 _instance_1_u(A.SelectorList0.prototype, "get$_list2$_complexContainsParentSelector", "_list2$_complexContainsParentSelector$1", 17);
97380 _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97381 _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 28);
97382 _instance_1_u(A.ModifiableCssNode0.prototype, "get$_node1$_isInvisible", "_node1$_isInvisible$1", 8);
97383 _instance_2_u(A.SassNumber0.prototype, "get$moduloLikeSass", "moduloLikeSass$2", 50);
97384 _instance_0_u(_ = A.Parser1.prototype, "get$whitespace", "whitespace$0", 0);
97385 _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
97386 _instance_0_u(_, "get$string", "string$0", 30);
97387 _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97388 _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97389 _static_1(A, "sass__main$closure", "main0", 603);
97390 _instance_0_u(A.SassParser0.prototype, "get$loudComment", "loudComment$0", 0);
97391 _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 523);
97392 _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 130);
97393 _instance_1_u(_, "get$_serialize0$_isInvisible", "_serialize0$_isInvisible$1", 8);
97394 _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 28);
97395 _instance_1_u(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
97396 _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
97397 _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 538, 0, 0);
97398 _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 103);
97399 _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 103);
97400 _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97401 _static_1(A, "utils1__jsToDartUrl$closure", "jsToDartUrl", 604);
97402 _static_1(A, "utils1__dartToJSUrl$closure", "dartToJSUrl", 605);
97403 _static_1(A, "utils0__isPublic$closure", "isPublic0", 6);
97404 _static(A, "path__absolute$closure", 1, function() {
97405 return [null, null, null, null, null, null];
97406 }, ["call$7", "call$1", "call$2", "call$3", "call$4", "call$6", "call$5"], ["absolute", function(part1) {
97407 return A.absolute(part1, null, null, null, null, null, null);
97408 }, function(part1, part2) {
97409 return A.absolute(part1, part2, null, null, null, null, null);
97410 }, function(part1, part2, part3) {
97411 return A.absolute(part1, part2, part3, null, null, null, null);
97412 }, function(part1, part2, part3, part4) {
97413 return A.absolute(part1, part2, part3, part4, null, null, null);
97414 }, function(part1, part2, part3, part4, part5, part6) {
97415 return A.absolute(part1, part2, part3, part4, part5, part6, null);
97416 }, function(part1, part2, part3, part4, part5) {
97417 return A.absolute(part1, part2, part3, part4, part5, null, null);
97418 }], 606, 0);
97419 _static_1(A, "path__prettyUri$closure", "prettyUri", 83);
97420 _static_1(A, "character__isWhitespace$closure", "isWhitespace", 32);
97421 _static_1(A, "character__isNewline$closure", "isNewline", 32);
97422 _static_1(A, "character__isHex$closure", "isHex", 32);
97423 _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 43);
97424 _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 43);
97425 _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 43);
97426 _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 43);
97427 _static_1(A, "number0__fuzzyRound$closure", "fuzzyRound", 42);
97428 _static_1(A, "character0__isWhitespace$closure", "isWhitespace0", 32);
97429 _static_1(A, "character0__isNewline$closure", "isNewline0", 32);
97430 _static_1(A, "character0__isHex$closure", "isHex0", 32);
97431 _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 43);
97432 _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 43);
97433 _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 43);
97434 _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 43);
97435 _static_1(A, "number2__fuzzyRound$closure", "fuzzyRound0", 42);
97436 _static_1(A, "value1__wrapValue$closure", "wrapValue", 405);
97437 })();
97438 (function inheritance() {
97439 var _mixin = hunkHelpers.mixin,
97440 _inherit = hunkHelpers.inherit,
97441 _inheritMany = hunkHelpers.inheritMany;
97442 _inherit(A.Object, null);
97443 _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Iterable, A.CastIterator, A.Closure, A.MapMixin, A.Error, A._ListBase_Object_ListMixin, A.SentinelValue, A.ListIterator, A.Iterator, A.ExpandIterator, A.EmptyIterator, A.FollowedByIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A.MapView, A.ConstantMap, A.JSInvocationMirror, A.TypeErrorDecoder, A.NullThrownFromJavaScriptException, A.ExceptionAndStackTrace, A._StackTrace, A._Required, A.LinkedHashMapCell, A.LinkedHashMapKeyIterator, A.JSSyntaxRegExp, A._MatchImplementation, A._AllMatchesIterator, A.StringMatch, A._StringAllMatchesIterator, A._Cell, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A._AsyncAwaitCompleter, A._IterationMarker, A._SyncStarIterator, A.AsyncError, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A.Stream, A.StreamTransformerBase, A._StreamController, A._SyncStreamControllerDispatch, A._AsyncStreamControllerDispatch, A._BufferingStreamSubscription, A._AddStreamState, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._StreamIterator, A._ZoneFunction, A._RunNullaryZoneFunction, A._RunUnaryZoneFunction, A._RunBinaryZoneFunction, A._RegisterNullaryZoneFunction, A._RegisterUnaryZoneFunction, A._RegisterBinaryZoneFunction, A._ZoneSpecification, A._ZoneDelegate, A._Zone, A._HashMapKeyIterator, A.__SetBase_Object_SetMixin, A._LinkedHashSetCell, A._LinkedHashSetIterator, A.ListMixin, A._MapBaseValueIterator, A._UnmodifiableMapMixin, A._ListQueueIterator, A.SetMixin, A._UnmodifiableSetMixin, A.Codec, A._Base64Encoder, A.ChunkedConversionSink, A._JsonStringifier, A.StringConversionSinkMixin, A._Utf8Encoder, A._Utf8Decoder, A.DateTime, A.Duration, A.OutOfMemoryError, A.StackOverflowError, A._Exception, A.FormatException, A.Expando, A.MapEntry, A.Null, A._StringStackTrace, A.RuneIterator, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A._JSRandom, A.ArgParser, A.ArgResults, A.Option, A.OptionType, A.Parser0, A._Usage, A.ErrorResult, A.ValueResult, A.StreamCompleter, A.StreamGroup, A._StreamGroupState, A.StreamQueue, A._NextRequest, A.Repl, A.ReplAdapter, A.DefaultEquality, A.IterableEquality, A.ListEquality, A._MapEntry, A.MapEquality, A._QueueList_Object_ListMixin, A._DelegatingIterableBase, A.UnmodifiableSetMixin, A.Context, A._PathDirection, A._PathRelation, A.Style, A.ParsedPath, A.PathException, A.CssMediaQuery, A._SingletonCssMediaQueryMergeResult, A.MediaQuerySuccessfulMergeResult, A.AstNode, A.ModifiableCssValue, A.CssValue, A._FakeAstNode, A.Argument, A.ArgumentDeclaration, A.ArgumentInvocation, A.AtRootQuery, A.ConfiguredVariable, A.BinaryOperationExpression, A.BinaryOperator, A.BooleanExpression, A.CalculationExpression, A.ColorExpression, A.FunctionExpression, A.IfExpression, A.InterpolatedFunctionExpression, A.ListExpression, A.MapExpression, A.NullExpression, A.NumberExpression, A.ParenthesizedExpression, A.SelectorExpression, A.StringExpression, A.UnaryOperationExpression, A.UnaryOperator, A.ValueExpression, A.VariableExpression, A.DynamicImport, A.StaticImport, A.Interpolation, A.ParentStatement, A.ContentRule, A.DebugRule, A.ErrorRule, A.ExtendRule, A.ForwardRule, A.IfRule, A.IfRuleClause, A.ImportRule, A.IncludeRule, A.LoudComment, A.StatementSearchVisitor, A.ReturnRule, A.SilentComment, A.UseRule, A.VariableDeclaration, A.WarnRule, A.SupportsAnything, A.SupportsDeclaration, A.SupportsFunction, A.SupportsInterpolation, A.SupportsNegation, A.SupportsOperation, A.Selector, A.AttributeOperator, A.Combinator, 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.ExtendMode, A.ImportCache, A.AsyncImporter, A.ImporterResult, A.InterpolationBuffer, A.FileSystemException, A.Stderr, A._QuietLogger, A.StderrLogger, A.TerseLogger, A.TrackingLogger, A.BuiltInModule, A.ForwardedModuleView, A.ShadowedModuleView, A.Parser, A.StylesheetGraph, A.StylesheetNode, A.Syntax, A.MultiDirWatcher, A.NoSourceMapBuffer, A.SourceMapBuffer, A.Value, A.CalculationOperation, A.CalculationOperator, A.CalculationInterpolation, A._ColorFormatEnum, A.SpanColorFormat, A.ListSeparator, A._EvaluateVisitor0, A._ImportedCssVisitor0, A.EvaluateResult, A._EvaluationContext0, A._ArgumentResults0, A._LoadedStylesheet0, A._CloneCssVisitor, A.Evaluator, A._EvaluateVisitor, A._ImportedCssVisitor, A._EvaluationContext, A._ArgumentResults, A._LoadedStylesheet, A.RecursiveStatementVisitor, A._SerializeVisitor, A.OutputStyle, A.LineFeed, A.SerializeResult, A.Entry, A.Mapping, A.TargetLineEntry, A.TargetEntry, A.SourceFile, A.SourceLocationMixin, A.SourceSpanMixin, A.Highlighter, A._Highlight, A._Line, A.SourceLocation, A.Chain, A.Frame, A.LazyTrace, A.Trace, A.UnparsedFrame, A.StringScanner, A._SpanScannerState, A.AsciiGlyphSet, A.UnicodeGlyphSet, A.Tuple2, A.Tuple3, A.Tuple4, A.WatchEvent, A.ChangeType, A.SupportsAnything0, A.Argument0, A.ArgumentDeclaration0, A.ArgumentInvocation0, A.Value0, A.AsyncImporter0, A.AsyncBuiltInCallable0, A.AsyncEnvironment0, A._EnvironmentModule2, A._EvaluateVisitor2, A._ImportedCssVisitor2, A.EvaluateResult0, A._EvaluationContext2, A._ArgumentResults2, A._LoadedStylesheet2, A.AsyncImportCache0, A.Parser1, A.AtRootQuery0, A.ParentStatement0, A.AstNode0, A.Selector0, A.AttributeOperator0, A.BinaryOperationExpression0, A.BinaryOperator0, A.BooleanExpression0, A.BuiltInCallable0, A.BuiltInModule0, A.CalculationExpression0, A.CalculationOperation0, A.CalculationOperator0, A.CalculationInterpolation0, A._CloneCssVisitor0, A.ColorExpression0, A._ColorFormatEnum0, A.SpanColorFormat0, A.CompileResult0, A.Combinator0, A.Configuration0, A.ConfiguredValue0, A.ConfiguredVariable0, A.ContentRule0, A.DebugRule0, A.SupportsDeclaration0, A.DynamicImport0, A.EmptyExtensionStore0, A.Environment0, A._EnvironmentModule1, A.ErrorRule0, A._EvaluateVisitor1, A._ImportedCssVisitor1, A._EvaluationContext1, A._ArgumentResults1, A._LoadedStylesheet1, A.SassScriptException0, A.ExtendRule0, A.Extension0, A.Extender0, A.ExtensionStore0, A.ForwardRule0, A.ForwardedModuleView0, A.FunctionExpression0, A.SupportsFunction0, A.IfExpression0, A.IfRule0, A.IfRuleClause0, A.NodeImporter, A.ImportCache0, A.ImportRule0, A.IncludeRule0, A.InterpolatedFunctionExpression0, A.Interpolation0, A.SupportsInterpolation0, A.InterpolationBuffer0, A.ListExpression0, A.ListSeparator0, A._QuietLogger0, A.LoudComment0, A.MapExpression0, A.CssMediaQuery0, A._SingletonCssMediaQueryMergeResult0, A.MediaQuerySuccessfulMergeResult0, A.StatementSearchVisitor0, A.ExtendMode0, A.SupportsNegation0, A.NoSourceMapBuffer0, A._FakeAstNode0, A.FileSystemException0, A.Stderr0, A.NodeToDartLogger, A.NullExpression0, A.NumberExpression0, A.SupportsOperation0, A.ParenthesizedExpression0, A.PlainCssCallable0, A.QualifiedName0, A.ImporterResult0, A.ReturnRule0, A.SelectorExpression0, A._SerializeVisitor0, A.OutputStyle0, A.LineFeed0, A.SerializeResult0, A.ShadowedModuleView0, A.SilentComment0, A.SourceMapBuffer0, A.StaticImport0, A.StderrLogger0, A.StringExpression0, A.Syntax0, A.TerseLogger0, A.UnaryOperationExpression0, A.UnaryOperator0, A.UseRule0, A.UserDefinedCallable0, A.CssValue0, A.ValueExpression0, A.ModifiableCssValue0, A.VariableExpression0, A.VariableDeclaration0, A.WarnRule0]);
97444 _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JSArray, J.JSNumber, J.JSString, A.NativeTypedData]);
97445 _inherit(J.LegacyJavaScriptObject, J.JavaScriptObject);
97446 _inheritMany(J.LegacyJavaScriptObject, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction, A.Stdin, A.Stdout, A.ReadlineModule, A.ReadlineOptions, A.ReadlineInterface, A.BufferModule, A.BufferConstants, A.Buffer, A.ConsoleModule, A.Console, A.EventEmitter, A.FS, A.FSConstants, A.FSWatcher, A.ReadStream, A.ReadStreamOptions, A.WriteStream, A.WriteStreamOptions, A.FileOptions, A.StatOptions, A.MkdirOptions, A.RmdirOptions, A.WatchOptions, A.WatchFileOptions, A.Stats, A.Promise, A.Date, A.JsError, A.Atomics, A.Modules, A.Module1, A.Net, A.Socket, A.NetAddress, A.NetServer, A.NodeJsError, A.Process, A.CPUUsage, A.Release, A.StreamModule, A.Readable, A.Writable, A.Duplex, A.Transform, A.WritableOptions, A.ReadableOptions, A.Immediate, A.Timeout, A.TTY, A.Util, A.JSArray0, A.Chokidar, A.ChokidarOptions, A.ChokidarWatcher, A.JSFunction, A.NodeImporterResult, A.RenderContext, A.RenderContextOptions, A.RenderContextResult, A.RenderContextResultStats, A.JSClass, A.JSUrl, A._PropertyDescriptor, A.JSArray1, A.Chokidar0, A.ChokidarOptions0, A.ChokidarWatcher0, A._NodeSassColor, A._Channels, A.CompileOptions, A.NodeCompileResult, A.Exports, A.LoggerNamespace, A.FiberClass, A.Fiber, A.JSFunction0, A.ImmutableList, A.ImmutableMap, A.NodeImporter0, A.CanonicalizeOptions, A.NodeImporterResult0, A.NodeImporterResult1, A._NodeSassList, A._ConstructorOptions, A.NodeLogger, A.WarnOptions, A.DebugOptions, A._NodeSassMap, A._NodeSassNumber, A._ConstructorOptions0, A.JSClass0, A.RenderContext0, A.RenderContextOptions0, A.RenderContextResult0, A.RenderContextResultStats0, A.RenderOptions, A.RenderResult, A.RenderResultStats, A._Exports, A._NodeSassString, A._ConstructorOptions1, A.Types, A.JSUrl0, A._PropertyDescriptor0]);
97447 _inherit(J.JSUnmodifiableArray, J.JSArray);
97448 _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
97449 _inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.SkipIterable, A.SkipWhileIterable, A.FollowedByIterable, A.WhereTypeIterable, A._ConstantMapKeyIterable, A.IterableBase, A._StringAllMatchesIterable, A.Runes]);
97450 _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
97451 _inherit(A._EfficientLengthCastIterable, A.CastIterable);
97452 _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
97453 _inheritMany(A.Closure, [A.Closure2Args, A.CastMap_entries_closure, A.Closure0Args, A.ConstantStringMap_values_closure, A.Instantiation, A.TearOffClosure, A.JsLinkedHashMap_values_closure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._awaitOnObject_closure, A.Future_wait_closure, A._Future__chainForeignFuture_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A.Stream_Stream$fromFuture_closure, A.Stream_length_closure, A._CustomZone_bindUnaryCallback_closure, A._RootZone_bindUnaryCallback_closure, A._HashMap_values_closure, A._LinkedCustomHashMap_closure, A.MapMixin_entries_closure, A._Uri__makePath_closure, A._createTables_setChars, A._createTables_setRange, A._convertDataTree__convert, A.ArgParser__addOption_closure, A._Usage__writeOption_closure, A._Usage__buildAllowedList_closure, A.StreamGroup__onListen_closure, A.StreamGroup__onCancel_closure, A.StreamQueue__ensureListening_closure, A.alwaysValid_closure, A.ReplAdapter_runAsync__closure, A.MapKeySet_difference_closure, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.futureToPromise__closure, A.Context_joinAll_closure, A.Context_split_closure, A._validateArgList_closure, A.ParsedPath__splitExtension_closure, A.PathMap__create_closure0, A.PathMap__create_closure1, A.WindowsStyle_absolutePathToUri_closure, A.ArgumentDeclaration_verify_closure, A.ArgumentDeclaration_verify_closure0, A.CalculationExpression__verifyArguments_closure, A.ListExpression_toString_closure, A.MapExpression_toString_closure, A.Interpolation_toString_closure, A.EachRule_toString_closure, A.IfRuleClause$__closure, A.IfRuleClause$___closure, A.ParentStatement_closure, A.ParentStatement__closure, A.ComplexSelector_isInvisible_closure, A.CompoundSelector_isInvisible_closure, A.IDSelector_unify_closure, A.SelectorList_isInvisible_closure, A.SelectorList_asSassList_closure, A.SelectorList_asSassList__closure, A.SelectorList_unify_closure, A.SelectorList_unify__closure, A.SelectorList_unify___closure, A.SelectorList_resolveParentSelectors_closure, A.SelectorList_resolveParentSelectors__closure, A.SelectorList_resolveParentSelectors__closure0, A.SelectorList__complexContainsParentSelector_closure, A.SelectorList__complexContainsParentSelector__closure, A.SelectorList__resolveParentSelectorsCompound_closure, A.SelectorList__resolveParentSelectorsCompound_closure0, A.SelectorList__resolveParentSelectorsCompound_closure1, A.PseudoSelector_unify_closure, A._compileStylesheet_closure0, A.AsyncEnvironment_importForwards_closure, A.AsyncEnvironment_importForwards_closure0, A.AsyncEnvironment_importForwards_closure1, A.AsyncEnvironment__getVariableFromGlobalModule_closure, A.AsyncEnvironment_setVariable_closure0, A.AsyncEnvironment__getFunctionFromGlobalModule_closure, A.AsyncEnvironment__getMixinFromGlobalModule_closure, A.AsyncEnvironment_toModule_closure, A.AsyncEnvironment_toDummyModule_closure, A.AsyncEnvironment__fromOneModule_closure, A.AsyncEnvironment__fromOneModule__closure, A._EnvironmentModule__EnvironmentModule_closure5, A._EnvironmentModule__EnvironmentModule_closure6, A._EnvironmentModule__EnvironmentModule_closure7, A._EnvironmentModule__EnvironmentModule_closure8, A._EnvironmentModule__EnvironmentModule_closure9, A._EnvironmentModule__EnvironmentModule_closure10, A.AsyncImportCache_humanize_closure, A.AsyncImportCache_humanize_closure0, A.AsyncImportCache_humanize_closure1, A.AsyncBuiltInCallable$mixin_closure, A.BuiltInCallable$mixin_closure, A._compileStylesheet_closure, A.Configuration_toString_closure, A.Environment_importForwards_closure, A.Environment_importForwards_closure0, A.Environment_importForwards_closure1, A.Environment__getVariableFromGlobalModule_closure, A.Environment_setVariable_closure0, A.Environment__getFunctionFromGlobalModule_closure, A.Environment__getMixinFromGlobalModule_closure, A.Environment_toModule_closure, A.Environment_toDummyModule_closure, A.Environment__fromOneModule_closure, A.Environment__fromOneModule__closure, A._EnvironmentModule__EnvironmentModule_closure, A._EnvironmentModule__EnvironmentModule_closure0, A._EnvironmentModule__EnvironmentModule_closure1, A._EnvironmentModule__EnvironmentModule_closure2, A._EnvironmentModule__EnvironmentModule_closure3, A._EnvironmentModule__EnvironmentModule_closure4, A._writeSourceMap_closure, A.ExecutableOptions_emitErrorCss_closure, A.watch_closure, A._Watcher__debounceEvents_closure, A.ExtensionStore_extensionsWhereTarget_closure, A.ExtensionStore_addExtensions_closure0, A.ExtensionStore_addExtensions__closure, A.ExtensionStore_addExtensions__closure0, A.ExtensionStore__extendComplex_closure, A.ExtensionStore__extendComplex_closure0, A.ExtensionStore__extendComplex__closure, A.ExtensionStore__extendComplex__closure0, A.ExtensionStore__extendComplex___closure, A.ExtensionStore__extendCompound_closure, A.ExtensionStore__extendCompound_closure0, A.ExtensionStore__extendCompound__closure, A.ExtensionStore__extendCompound__closure0, A.ExtensionStore__extendCompound_closure1, A.ExtensionStore__extendCompound_closure2, A.ExtensionStore__extendCompound_closure3, 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__closure1, A._weaveParents_closure2, A._weaveParents_closure3, A._weaveParents__closure0, A._weaveParents_closure4, A._weaveParents_closure5, A._weaveParents__closure, A._mustUnify_closure, A._mustUnify__closure, A.paths__closure, A.paths___closure, A._hasRoot_closure, A.listIsSuperselector_closure, A.listIsSuperselector__closure, A._simpleIsSuperselectorOfCompound_closure, A._simpleIsSuperselectorOfCompound__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_closure, A.global_closure0, A.global_closure1, A.global_closure2, A.global_closure3, A.global_closure4, A.global_closure5, A.global_closure6, A.global_closure7, A.global_closure8, A.global_closure9, A.global_closure10, A.global_closure11, A.global_closure12, A.global_closure13, A.global_closure14, A.global_closure15, A.global_closure16, A.global_closure17, A.global_closure18, A.global_closure19, A.global_closure20, A.global_closure21, A.global_closure22, A.global_closure23, A.global_closure24, A.global__closure, A.global_closure25, A.module_closure, A.module_closure0, A.module_closure1, A.module_closure2, A.module_closure3, A.module_closure4, A.module_closure5, A.module_closure6, A.module__closure, A.module_closure7, A._red_closure, A._green_closure, A._blue_closure, A._mix_closure, A._hue_closure, A._saturation_closure, A._lightness_closure, A._complement_closure, A._adjust_closure, A._scale_closure, A._change_closure, A._ieHexStr_closure, A._ieHexStr_closure_hexString, A._updateComponents_getParam, A._updateComponents_closure, A._updateComponents_updateValue, A._functionString_closure, A._removedColorFunction_closure, A._rgb_closure, A._hsl_closure, A._removeUnits_closure, A._removeUnits_closure0, A._hwb_closure, A._parseChannels_closure, A._length_closure0, A._nth_closure, A._setNth_closure, A._join_closure, A._append_closure0, A._zip_closure, A._zip__closure, A._zip__closure0, A._zip__closure1, A._index_closure0, A._separator_closure, A._isBracketed_closure, A._slash_closure, A._get_closure, A._set_closure, A._set__closure0, A._set_closure0, A._set__closure, A._merge_closure, A._merge_closure0, A._merge__closure, A._deepMerge_closure, A._deepRemove_closure, A._deepRemove__closure, A._remove_closure, A._remove_closure0, A._keys_closure, A._values_closure, A._hasKey_closure, A._modify__modifyNestedMap, A._ceil_closure, A._clamp_closure, A._floor_closure, A._max_closure, A._min_closure, A._abs_closure, A._hypot_closure, A._hypot__closure, A._log_closure, A._pow_closure, A._sqrt_closure, A._acos_closure, A._asin_closure, A._atan_closure, A._atan2_closure, A._cos_closure, A._sin_closure, A._tan_closure, A._compatible_closure, A._isUnitless_closure, A._unit_closure, A._percentage_closure, A._randomFunction_closure, A._div_closure, A._numberFunction_closure, A.global_closure26, A.global_closure27, A.global_closure28, A.global_closure29, A.local_closure, A.local_closure0, A.local__closure, A._nest_closure, A._nest__closure, A._append_closure, A._append__closure, A._append___closure, A._extend_closure, A._replace_closure, A._unify_closure, A._isSuperselector_closure, A._simpleSelectors_closure, A._simpleSelectors__closure, A._parse_closure, A._unquote_closure, A._quote_closure, A._length_closure, A._insert_closure, A._index_closure, A._slice_closure, A._toUpperCase_closure, A._toLowerCase_closure, A._uniqueId_closure, A.ImportCache_humanize_closure, A.ImportCache_humanize_closure0, A.ImportCache_humanize_closure1, A.FilesystemImporter_canonicalize_closure, A._exactlyOne_closure, A._realCasePath_helper, A._realCasePath_helper__closure, A.readStdin_closure, A.readStdin_closure0, A.readStdin_closure1, A.readStdin_closure2, A.listDir__closure, A.listDir__closure0, A.listDir_closure_list, A.listDir__list_closure, A.watchDir_closure, A.watchDir_closure0, A.watchDir_closure1, A.watchDir_closure2, A.TerseLogger_summarize_closure, A.TerseLogger_summarize_closure0, A._disallowedFunctionNames_closure, A.Parser_scanIdentChar_matches, A.StylesheetParser_parse__closure0, A.StylesheetParser_expression_addSingleExpression, A.StylesheetParser_expression_addOperator, A.StylesheetParser__unicodeRange_closure, A.StylesheetParser__unicodeRange_closure0, A.StylesheetParser_trySpecialFunction_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime, A._PrefixedKeys_iterator_closure, A.SourceMapBuffer_buildSourceMap_closure, A._UnprefixedKeys_iterator_closure, A._UnprefixedKeys_iterator_closure0, A.indent_closure, A.flattenVertically_closure, A.flattenVertically_closure0, A.SassCalculation__verifyLength_closure, A.SassColor_SassColor$hwb_toRgb, A.SassList_isBlank_closure, A.SassNumber__coerceOrConvertValue_closure, A.SassNumber__coerceOrConvertValue_closure1, A.SassNumber_multiplyUnits_closure, A.SassNumber_multiplyUnits_closure1, A.SassNumber__areAnyConvertible_closure, A.SassNumber__canonicalizeUnitList_closure, A.SingleUnitSassNumber__coerceToUnit_closure, A.SingleUnitSassNumber__coerceValueToUnit_closure, A.SingleUnitSassNumber_multiplyUnits_closure, A._EvaluateVisitor_closure9, A._EvaluateVisitor_closure10, A._EvaluateVisitor_closure11, A._EvaluateVisitor_closure12, A._EvaluateVisitor_closure13, A._EvaluateVisitor_closure14, A._EvaluateVisitor_closure15, A._EvaluateVisitor_closure16, A._EvaluateVisitor_closure17, A._EvaluateVisitor_closure18, A._EvaluateVisitor__closure3, A._EvaluateVisitor__loadModule__closure0, A._EvaluateVisitor__combineCss_closure2, A._EvaluateVisitor__combineCss_closure3, A._EvaluateVisitor__combineCss_closure4, A._EvaluateVisitor__extendModules_closure1, A._EvaluateVisitor__topologicalModules_visitModule0, A._EvaluateVisitor__scopeForAtRoot_closure5, A._EvaluateVisitor__scopeForAtRoot_closure6, A._EvaluateVisitor__scopeForAtRoot_closure7, A._EvaluateVisitor__scopeForAtRoot_closure8, A._EvaluateVisitor__scopeForAtRoot_closure9, A._EvaluateVisitor__scopeForAtRoot_closure10, A._EvaluateVisitor_visitDeclaration_closure1, A._EvaluateVisitor_visitEachRule_closure2, A._EvaluateVisitor_visitEachRule_closure3, A._EvaluateVisitor_visitEachRule__closure0, A._EvaluateVisitor_visitEachRule___closure0, A._EvaluateVisitor_visitAtRule_closure2, A._EvaluateVisitor_visitAtRule_closure4, A._EvaluateVisitor_visitForRule__closure0, A._EvaluateVisitor_visitForwardRule_closure1, A._EvaluateVisitor_visitForwardRule_closure2, A._EvaluateVisitor_visitIfRule__closure0, A._EvaluateVisitor__visitDynamicImport__closure3, A._EvaluateVisitor__visitDynamicImport__closure4, A._EvaluateVisitor__visitDynamicImport__closure5, A._EvaluateVisitor__visitStaticImport_closure0, A._EvaluateVisitor_visitIncludeRule_closure6, A._EvaluateVisitor_visitMediaRule_closure2, A._EvaluateVisitor_visitMediaRule_closure4, A._EvaluateVisitor_visitStyleRule_closure8, A._EvaluateVisitor_visitStyleRule_closure12, A._EvaluateVisitor_visitSupportsRule_closure2, A._EvaluateVisitor_visitUseRule_closure0, A._EvaluateVisitor_visitWhileRule__closure0, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0, A._EvaluateVisitor_visitListExpression_closure0, A._EvaluateVisitor__runUserDefinedCallable____closure0, A._EvaluateVisitor__runBuiltInCallable_closure2, A._EvaluateVisitor__evaluateArguments_closure3, A._EvaluateVisitor__evaluateArguments_closure4, A._EvaluateVisitor__evaluateArguments_closure6, A._EvaluateVisitor__evaluateMacroArguments_closure3, A._EvaluateVisitor__evaluateMacroArguments_closure4, A._EvaluateVisitor__evaluateMacroArguments_closure6, A._EvaluateVisitor_visitStringExpression_closure0, A._EvaluateVisitor_visitCssAtRule_closure2, A._EvaluateVisitor_visitCssKeyframeBlock_closure2, A._EvaluateVisitor_visitCssMediaRule_closure2, A._EvaluateVisitor_visitCssMediaRule_closure4, A._EvaluateVisitor_visitCssStyleRule_closure2, A._EvaluateVisitor_visitCssSupportsRule_closure2, A._EvaluateVisitor__performInterpolation_closure0, A._EvaluateVisitor__withoutSlash_recommendation0, A._EvaluateVisitor__stackFrame_closure0, A._EvaluateVisitor__stackTrace_closure0, A._ImportedCssVisitor_visitCssAtRule_closure0, A._ImportedCssVisitor_visitCssMediaRule_closure0, A._ImportedCssVisitor_visitCssStyleRule_closure0, A._ImportedCssVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor_closure, A._EvaluateVisitor_closure0, A._EvaluateVisitor_closure1, A._EvaluateVisitor_closure2, A._EvaluateVisitor_closure3, A._EvaluateVisitor_closure4, A._EvaluateVisitor_closure5, A._EvaluateVisitor_closure6, A._EvaluateVisitor_closure7, A._EvaluateVisitor_closure8, A._EvaluateVisitor__closure0, A._EvaluateVisitor__loadModule__closure, A._EvaluateVisitor__combineCss_closure, A._EvaluateVisitor__combineCss_closure0, A._EvaluateVisitor__combineCss_closure1, A._EvaluateVisitor__extendModules_closure, A._EvaluateVisitor__topologicalModules_visitModule, A._EvaluateVisitor__scopeForAtRoot_closure, A._EvaluateVisitor__scopeForAtRoot_closure0, A._EvaluateVisitor__scopeForAtRoot_closure1, A._EvaluateVisitor__scopeForAtRoot_closure2, A._EvaluateVisitor__scopeForAtRoot_closure3, A._EvaluateVisitor__scopeForAtRoot_closure4, A._EvaluateVisitor_visitDeclaration_closure, A._EvaluateVisitor_visitEachRule_closure, A._EvaluateVisitor_visitEachRule_closure0, A._EvaluateVisitor_visitEachRule__closure, A._EvaluateVisitor_visitEachRule___closure, A._EvaluateVisitor_visitAtRule_closure, A._EvaluateVisitor_visitAtRule_closure1, A._EvaluateVisitor_visitForRule__closure, A._EvaluateVisitor_visitForwardRule_closure, A._EvaluateVisitor_visitForwardRule_closure0, A._EvaluateVisitor_visitIfRule__closure, A._EvaluateVisitor__visitDynamicImport__closure, A._EvaluateVisitor__visitDynamicImport__closure0, A._EvaluateVisitor__visitDynamicImport__closure1, A._EvaluateVisitor__visitStaticImport_closure, A._EvaluateVisitor_visitIncludeRule_closure2, A._EvaluateVisitor_visitMediaRule_closure, A._EvaluateVisitor_visitMediaRule_closure1, A._EvaluateVisitor_visitStyleRule_closure1, A._EvaluateVisitor_visitStyleRule_closure5, A._EvaluateVisitor_visitSupportsRule_closure0, A._EvaluateVisitor_visitUseRule_closure, A._EvaluateVisitor_visitWhileRule__closure, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation, A._EvaluateVisitor_visitListExpression_closure, A._EvaluateVisitor__runUserDefinedCallable____closure, A._EvaluateVisitor__runBuiltInCallable_closure0, A._EvaluateVisitor__evaluateArguments_closure, A._EvaluateVisitor__evaluateArguments_closure0, A._EvaluateVisitor__evaluateArguments_closure2, A._EvaluateVisitor__evaluateMacroArguments_closure, A._EvaluateVisitor__evaluateMacroArguments_closure0, A._EvaluateVisitor__evaluateMacroArguments_closure2, A._EvaluateVisitor_visitStringExpression_closure, A._EvaluateVisitor_visitCssAtRule_closure0, A._EvaluateVisitor_visitCssKeyframeBlock_closure0, A._EvaluateVisitor_visitCssMediaRule_closure, A._EvaluateVisitor_visitCssMediaRule_closure1, A._EvaluateVisitor_visitCssStyleRule_closure0, A._EvaluateVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor__performInterpolation_closure, A._EvaluateVisitor__withoutSlash_recommendation, A._EvaluateVisitor__stackFrame_closure, A._EvaluateVisitor__stackTrace_closure, A._ImportedCssVisitor_visitCssAtRule_closure, A._ImportedCssVisitor_visitCssMediaRule_closure, A._ImportedCssVisitor_visitCssStyleRule_closure, A._ImportedCssVisitor_visitCssSupportsRule_closure, A.serialize_closure, A._SerializeVisitor_visitList_closure, A._SerializeVisitor_visitList_closure0, A._SerializeVisitor_visitList_closure1, A._SerializeVisitor_visitMap_closure, A._SerializeVisitor_visitSelectorList_closure, A.StatementSearchVisitor_visitIfRule_closure, A.StatementSearchVisitor_visitIfRule__closure0, A.StatementSearchVisitor_visitIfRule_closure0, A.StatementSearchVisitor_visitIfRule__closure, A.StatementSearchVisitor_visitChildren_closure, A.SingleMapping_SingleMapping$fromEntries_closure1, A.SingleMapping_toJson_closure, A.Highlighter$__closure, A.Highlighter$___closure, A.Highlighter$__closure0, A.Highlighter__collateLines_closure, A.Highlighter__collateLines_closure1, A.Highlighter__collateLines__closure, A.Highlighter_highlight_closure, A.Chain_Chain$parse_closure, A.Chain_Chain$parse_closure0, A.Chain_Chain$parse_closure1, A.Chain_toTrace_closure, A.Chain_toString_closure0, A.Chain_toString__closure0, A.Chain_toString_closure, A.Chain_toString__closure, A.Trace__parseVM_closure, A.Trace__parseVM_closure0, A.Trace$parseV8_closure, A.Trace$parseV8_closure0, A.Trace$parseJSCore_closure, A.Trace$parseJSCore_closure0, A.Trace$parseFirefox_closure, A.Trace$parseFirefox_closure0, A.Trace$parseFriendly_closure, A.Trace$parseFriendly_closure0, A.Trace_terse_closure, A.Trace_foldFrames_closure, A.Trace_foldFrames_closure0, A.Trace_toString_closure0, A.Trace_toString_closure, A.TransformByHandlers_transformByHandlers__closure, A.RateLimit__debounceAggregate_closure0, A.ArgumentDeclaration_verify_closure1, A.ArgumentDeclaration_verify_closure2, A.argumentListClass__closure, A.argumentListClass__closure0, A.AsyncBuiltInCallable$mixin_closure0, A._compileStylesheet_closure2, A.AsyncEnvironment_importForwards_closure2, A.AsyncEnvironment_importForwards_closure3, A.AsyncEnvironment_importForwards_closure4, A.AsyncEnvironment__getVariableFromGlobalModule_closure0, A.AsyncEnvironment_setVariable_closure3, A.AsyncEnvironment__getFunctionFromGlobalModule_closure0, A.AsyncEnvironment__getMixinFromGlobalModule_closure0, A.AsyncEnvironment_toModule_closure0, A.AsyncEnvironment_toDummyModule_closure0, A.AsyncEnvironment__fromOneModule_closure0, A.AsyncEnvironment__fromOneModule__closure0, A._EnvironmentModule__EnvironmentModule_closure17, A._EnvironmentModule__EnvironmentModule_closure18, A._EnvironmentModule__EnvironmentModule_closure19, A._EnvironmentModule__EnvironmentModule_closure20, A._EnvironmentModule__EnvironmentModule_closure21, A._EnvironmentModule__EnvironmentModule_closure22, A._EvaluateVisitor_closure29, A._EvaluateVisitor_closure30, A._EvaluateVisitor_closure31, A._EvaluateVisitor_closure32, A._EvaluateVisitor_closure33, A._EvaluateVisitor_closure34, A._EvaluateVisitor_closure35, A._EvaluateVisitor_closure36, A._EvaluateVisitor_closure37, A._EvaluateVisitor_closure38, A._EvaluateVisitor__closure9, A._EvaluateVisitor__loadModule__closure2, A._EvaluateVisitor__combineCss_closure8, A._EvaluateVisitor__combineCss_closure9, A._EvaluateVisitor__combineCss_closure10, A._EvaluateVisitor__extendModules_closure5, A._EvaluateVisitor__topologicalModules_visitModule2, A._EvaluateVisitor__scopeForAtRoot_closure17, A._EvaluateVisitor__scopeForAtRoot_closure18, A._EvaluateVisitor__scopeForAtRoot_closure19, A._EvaluateVisitor__scopeForAtRoot_closure20, A._EvaluateVisitor__scopeForAtRoot_closure21, A._EvaluateVisitor__scopeForAtRoot_closure22, A._EvaluateVisitor_visitDeclaration_closure5, A._EvaluateVisitor_visitEachRule_closure8, A._EvaluateVisitor_visitEachRule_closure9, A._EvaluateVisitor_visitEachRule__closure2, A._EvaluateVisitor_visitEachRule___closure2, A._EvaluateVisitor_visitAtRule_closure8, A._EvaluateVisitor_visitAtRule_closure10, A._EvaluateVisitor_visitForRule__closure2, A._EvaluateVisitor_visitForwardRule_closure5, A._EvaluateVisitor_visitForwardRule_closure6, A._EvaluateVisitor_visitIfRule__closure2, A._EvaluateVisitor__visitDynamicImport__closure11, A._EvaluateVisitor__visitDynamicImport__closure12, A._EvaluateVisitor__visitDynamicImport__closure13, A._EvaluateVisitor__visitStaticImport_closure2, A._EvaluateVisitor_visitIncludeRule_closure14, A._EvaluateVisitor_visitMediaRule_closure8, A._EvaluateVisitor_visitMediaRule_closure10, A._EvaluateVisitor_visitStyleRule_closure22, A._EvaluateVisitor_visitStyleRule_closure26, A._EvaluateVisitor_visitSupportsRule_closure6, A._EvaluateVisitor_visitUseRule_closure2, A._EvaluateVisitor_visitWhileRule__closure2, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2, A._EvaluateVisitor_visitListExpression_closure2, A._EvaluateVisitor__runUserDefinedCallable____closure2, A._EvaluateVisitor__runBuiltInCallable_closure6, A._EvaluateVisitor__evaluateArguments_closure11, A._EvaluateVisitor__evaluateArguments_closure12, A._EvaluateVisitor__evaluateArguments_closure14, A._EvaluateVisitor__evaluateMacroArguments_closure11, A._EvaluateVisitor__evaluateMacroArguments_closure12, A._EvaluateVisitor__evaluateMacroArguments_closure14, A._EvaluateVisitor_visitStringExpression_closure2, A._EvaluateVisitor_visitCssAtRule_closure6, A._EvaluateVisitor_visitCssKeyframeBlock_closure6, A._EvaluateVisitor_visitCssMediaRule_closure8, A._EvaluateVisitor_visitCssMediaRule_closure10, A._EvaluateVisitor_visitCssStyleRule_closure6, A._EvaluateVisitor_visitCssSupportsRule_closure6, A._EvaluateVisitor__performInterpolation_closure2, A._EvaluateVisitor__withoutSlash_recommendation2, A._EvaluateVisitor__stackFrame_closure2, A._EvaluateVisitor__stackTrace_closure2, A._ImportedCssVisitor_visitCssAtRule_closure2, A._ImportedCssVisitor_visitCssMediaRule_closure2, A._ImportedCssVisitor_visitCssStyleRule_closure2, A._ImportedCssVisitor_visitCssSupportsRule_closure2, A.AsyncImportCache_humanize_closure2, A.AsyncImportCache_humanize_closure3, A.AsyncImportCache_humanize_closure4, A.legacyBooleanClass__closure, A.legacyBooleanClass__closure0, A.booleanClass__closure, A.BuiltInCallable$mixin_closure0, A.CalculationExpression__verifyArguments_closure0, A.SassCalculation__verifyLength_closure0, A.global_closure30, A.global_closure31, A.global_closure32, A.global_closure33, A.global_closure34, A.global_closure35, A.global_closure36, A.global_closure37, A.global_closure38, A.global_closure39, A.global_closure40, A.global_closure41, A.global_closure42, A.global_closure43, A.global_closure44, A.global_closure45, A.global_closure46, A.global_closure47, A.global_closure48, A.global_closure49, A.global_closure50, A.global_closure51, A.global_closure52, A.global_closure53, A.global_closure54, A.global_closure55, A.global__closure0, A.global_closure56, A.module_closure8, A.module_closure9, A.module_closure10, A.module_closure11, A.module_closure12, A.module_closure13, A.module_closure14, A.module_closure15, A.module__closure0, A.module_closure16, A._red_closure0, A._green_closure0, A._blue_closure0, A._mix_closure0, A._hue_closure0, A._saturation_closure0, A._lightness_closure0, A._complement_closure0, A._adjust_closure0, A._scale_closure0, A._change_closure0, A._ieHexStr_closure0, A._ieHexStr_closure_hexString0, A._updateComponents_getParam0, A._updateComponents_closure0, A._updateComponents_updateValue0, A._functionString_closure0, A._removedColorFunction_closure0, A._rgb_closure0, A._hsl_closure0, A._removeUnits_closure1, A._removeUnits_closure2, A._hwb_closure0, A._parseChannels_closure0, A.legacyColorClass_closure, A.legacyColorClass_closure0, A.legacyColorClass_closure1, A.legacyColorClass_closure2, A.legacyColorClass_closure3, A.colorClass__closure1, A.colorClass__closure2, A.colorClass__closure3, A.colorClass__closure4, A.colorClass__closure5, A.colorClass__closure6, A.colorClass__closure7, A.colorClass__closure8, A.colorClass__closure9, A.SassColor_SassColor$hwb_toRgb0, A.compileAsync__closure, A.compileStringAsync__closure, A.compileStringAsync__closure0, A._wrapAsyncSassExceptions_closure, A._parseFunctions__closure2, A._parseFunctions__closure3, A._compileStylesheet_closure1, A.ComplexSelector_isInvisible_closure0, A.CompoundSelector_isInvisible_closure0, A.Configuration_toString_closure0, A._disallowedFunctionNames_closure0, A.EachRule_toString_closure0, A.Environment_importForwards_closure2, A.Environment_importForwards_closure3, A.Environment_importForwards_closure4, A.Environment__getVariableFromGlobalModule_closure0, A.Environment_setVariable_closure3, A.Environment__getFunctionFromGlobalModule_closure0, A.Environment__getMixinFromGlobalModule_closure0, A.Environment_toModule_closure0, A.Environment_toDummyModule_closure0, A.Environment__fromOneModule_closure0, A.Environment__fromOneModule__closure0, A._EnvironmentModule__EnvironmentModule_closure11, A._EnvironmentModule__EnvironmentModule_closure12, A._EnvironmentModule__EnvironmentModule_closure13, A._EnvironmentModule__EnvironmentModule_closure14, A._EnvironmentModule__EnvironmentModule_closure15, A._EnvironmentModule__EnvironmentModule_closure16, A._EvaluateVisitor_closure19, A._EvaluateVisitor_closure20, A._EvaluateVisitor_closure21, A._EvaluateVisitor_closure22, A._EvaluateVisitor_closure23, A._EvaluateVisitor_closure24, A._EvaluateVisitor_closure25, A._EvaluateVisitor_closure26, A._EvaluateVisitor_closure27, A._EvaluateVisitor_closure28, A._EvaluateVisitor__closure6, A._EvaluateVisitor__loadModule__closure1, A._EvaluateVisitor__combineCss_closure5, A._EvaluateVisitor__combineCss_closure6, A._EvaluateVisitor__combineCss_closure7, A._EvaluateVisitor__extendModules_closure3, A._EvaluateVisitor__topologicalModules_visitModule1, A._EvaluateVisitor__scopeForAtRoot_closure11, A._EvaluateVisitor__scopeForAtRoot_closure12, A._EvaluateVisitor__scopeForAtRoot_closure13, A._EvaluateVisitor__scopeForAtRoot_closure14, A._EvaluateVisitor__scopeForAtRoot_closure15, A._EvaluateVisitor__scopeForAtRoot_closure16, A._EvaluateVisitor_visitDeclaration_closure3, A._EvaluateVisitor_visitEachRule_closure5, A._EvaluateVisitor_visitEachRule_closure6, A._EvaluateVisitor_visitEachRule__closure1, A._EvaluateVisitor_visitEachRule___closure1, A._EvaluateVisitor_visitAtRule_closure5, A._EvaluateVisitor_visitAtRule_closure7, A._EvaluateVisitor_visitForRule__closure1, A._EvaluateVisitor_visitForwardRule_closure3, A._EvaluateVisitor_visitForwardRule_closure4, A._EvaluateVisitor_visitIfRule__closure1, A._EvaluateVisitor__visitDynamicImport__closure7, A._EvaluateVisitor__visitDynamicImport__closure8, A._EvaluateVisitor__visitDynamicImport__closure9, A._EvaluateVisitor__visitStaticImport_closure1, A._EvaluateVisitor_visitIncludeRule_closure10, A._EvaluateVisitor_visitMediaRule_closure5, A._EvaluateVisitor_visitMediaRule_closure7, A._EvaluateVisitor_visitStyleRule_closure15, A._EvaluateVisitor_visitStyleRule_closure19, A._EvaluateVisitor_visitSupportsRule_closure4, A._EvaluateVisitor_visitUseRule_closure1, A._EvaluateVisitor_visitWhileRule__closure1, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1, A._EvaluateVisitor_visitListExpression_closure1, A._EvaluateVisitor__runUserDefinedCallable____closure1, A._EvaluateVisitor__runBuiltInCallable_closure4, A._EvaluateVisitor__evaluateArguments_closure7, A._EvaluateVisitor__evaluateArguments_closure8, A._EvaluateVisitor__evaluateArguments_closure10, A._EvaluateVisitor__evaluateMacroArguments_closure7, A._EvaluateVisitor__evaluateMacroArguments_closure8, A._EvaluateVisitor__evaluateMacroArguments_closure10, A._EvaluateVisitor_visitStringExpression_closure1, A._EvaluateVisitor_visitCssAtRule_closure4, A._EvaluateVisitor_visitCssKeyframeBlock_closure4, A._EvaluateVisitor_visitCssMediaRule_closure5, A._EvaluateVisitor_visitCssMediaRule_closure7, A._EvaluateVisitor_visitCssStyleRule_closure4, A._EvaluateVisitor_visitCssSupportsRule_closure4, A._EvaluateVisitor__performInterpolation_closure1, A._EvaluateVisitor__withoutSlash_recommendation1, A._EvaluateVisitor__stackFrame_closure1, A._EvaluateVisitor__stackTrace_closure1, A._ImportedCssVisitor_visitCssAtRule_closure1, A._ImportedCssVisitor_visitCssMediaRule_closure1, A._ImportedCssVisitor_visitCssStyleRule_closure1, A._ImportedCssVisitor_visitCssSupportsRule_closure1, A.exceptionClass__closure, A.exceptionClass__closure0, A.exceptionClass__closure1, A.ExtensionStore_extensionsWhereTarget_closure0, A.ExtensionStore_addExtensions_closure2, A.ExtensionStore_addExtensions__closure2, A.ExtensionStore_addExtensions__closure3, A.ExtensionStore__extendComplex_closure1, A.ExtensionStore__extendComplex_closure2, A.ExtensionStore__extendComplex__closure1, A.ExtensionStore__extendComplex__closure2, A.ExtensionStore__extendComplex___closure0, A.ExtensionStore__extendCompound_closure4, A.ExtensionStore__extendCompound_closure5, A.ExtensionStore__extendCompound__closure1, A.ExtensionStore__extendCompound__closure2, A.ExtensionStore__extendCompound_closure6, A.ExtensionStore__extendCompound_closure7, A.ExtensionStore__extendCompound_closure8, 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_closure7, A._weaveParents_closure8, A._weaveParents__closure4, A._weaveParents_closure9, A._weaveParents_closure10, A._weaveParents__closure3, A._weaveParents_closure11, A._weaveParents_closure12, A._weaveParents__closure2, A._mustUnify_closure0, A._mustUnify__closure0, A.paths__closure0, A.paths___closure0, A._hasRoot_closure0, A.listIsSuperselector_closure0, A.listIsSuperselector__closure0, A._simpleIsSuperselectorOfCompound_closure0, A._simpleIsSuperselectorOfCompound__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_closure2, A.ImportCache_humanize_closure3, A.ImportCache_humanize_closure4, A.Interpolation_toString_closure0, A._realCasePath_helper0, A._realCasePath_helper__closure0, A.render_closure0, A._parseFunctions__closure, A._parseFunctions___closure0, A._parseFunctions__closure0, A._parseFunctions__closure1, A._parseFunctions___closure, A._parseImporter_closure, A._parseImporter__closure, A._parseImporter___closure, A.ListExpression_toString_closure0, A._length_closure2, A._nth_closure0, A._setNth_closure0, A._join_closure0, A._append_closure2, A._zip_closure0, A._zip__closure2, A._zip__closure3, A._zip__closure4, A._index_closure2, A._separator_closure0, A._isBracketed_closure0, A._slash_closure0, A.SelectorList_isInvisible_closure0, A.SelectorList_asSassList_closure0, A.SelectorList_asSassList__closure0, A.SelectorList_unify_closure0, A.SelectorList_unify__closure0, A.SelectorList_unify___closure0, A.SelectorList_resolveParentSelectors_closure0, A.SelectorList_resolveParentSelectors__closure1, A.SelectorList_resolveParentSelectors__closure2, A.SelectorList__complexContainsParentSelector_closure0, A.SelectorList__complexContainsParentSelector__closure0, A.SelectorList__resolveParentSelectorsCompound_closure2, A.SelectorList__resolveParentSelectorsCompound_closure3, A.SelectorList__resolveParentSelectorsCompound_closure4, A.legacyListClass_closure, A.legacyListClass__closure, A.legacyListClass_closure1, A.legacyListClass_closure2, A.legacyListClass_closure4, A.listClass__closure, A.SassList_isBlank_closure0, A.MapExpression_toString_closure0, A._get_closure0, A._set_closure1, A._set__closure2, A._set_closure2, A._set__closure1, A._merge_closure1, A._merge_closure2, A._merge__closure0, A._deepMerge_closure0, A._deepRemove_closure0, A._deepRemove__closure0, A._remove_closure1, A._remove_closure2, A._keys_closure0, A._values_closure0, A._hasKey_closure0, A._modify__modifyNestedMap0, A.legacyMapClass_closure, A.legacyMapClass__closure, A.legacyMapClass__closure0, A.legacyMapClass_closure2, A.legacyMapClass_closure3, A.legacyMapClass_closure4, A.mapClass__closure, A.mapClass__closure0, A._ceil_closure0, A._clamp_closure0, A._floor_closure0, A._max_closure0, A._min_closure0, A._abs_closure0, A._hypot_closure0, A._hypot__closure0, A._log_closure0, A._pow_closure0, A._sqrt_closure0, A._acos_closure0, A._asin_closure0, A._atan_closure0, A._atan2_closure0, A._cos_closure0, A._sin_closure0, A._tan_closure0, A._compatible_closure0, A._isUnitless_closure0, A._unit_closure0, A._percentage_closure0, A._randomFunction_closure0, A._div_closure0, A._numberFunction_closure0, A.global_closure57, A.global_closure58, A.global_closure59, A.global_closure60, A.local_closure1, A.local_closure2, A.local__closure0, A.listDir__closure1, A.listDir__closure2, A.listDir_closure_list0, A.listDir__list_closure0, A.legacyNullClass__closure, A.legacyNumberClass_closure, A.legacyNumberClass_closure0, A.legacyNumberClass_closure2, A._parseNumber_closure, A._parseNumber_closure0, A.numberClass__closure, A.numberClass__closure0, A.numberClass__closure1, A.numberClass__closure2, A.numberClass__closure3, A.numberClass__closure4, A.numberClass__closure5, A.numberClass__closure6, A.numberClass__closure7, A.numberClass__closure8, A.numberClass__closure9, A.numberClass__closure12, A.numberClass__closure13, A.numberClass__closure14, A.numberClass__closure15, A.numberClass__closure16, A.numberClass__closure17, A.numberClass__closure18, A.numberClass__closure19, A.SassNumber__coerceOrConvertValue_closure3, A.SassNumber__coerceOrConvertValue_closure5, A.SassNumber_multiplyUnits_closure3, A.SassNumber_multiplyUnits_closure5, A.SassNumber__areAnyConvertible_closure0, A.SassNumber__canonicalizeUnitList_closure0, A.ParentStatement_closure0, A.ParentStatement__closure0, A.Parser_scanIdentChar_matches0, A._PrefixedKeys_iterator_closure0, A.PseudoSelector_unify_closure0, A.JSClassExtension_setCustomInspect_closure, A._wrapMain_closure, A._wrapMain_closure0, A._nest_closure0, A._nest__closure1, A._append_closure1, A._append__closure1, A._append___closure0, A._extend_closure0, A._replace_closure0, A._unify_closure0, A._isSuperselector_closure0, A._simpleSelectors_closure0, A._simpleSelectors__closure0, A._parse_closure0, A.serialize_closure0, A._SerializeVisitor_visitList_closure2, A._SerializeVisitor_visitList_closure3, A._SerializeVisitor_visitList_closure4, A._SerializeVisitor_visitMap_closure0, A._SerializeVisitor_visitSelectorList_closure0, A.SingleUnitSassNumber__coerceToUnit_closure0, A.SingleUnitSassNumber__coerceValueToUnit_closure0, A.SingleUnitSassNumber_multiplyUnits_closure1, A.SourceMapBuffer_buildSourceMap_closure0, A.updateSourceSpanPrototype_closure, A.updateSourceSpanPrototype_closure0, A.updateSourceSpanPrototype_closure1, A.updateSourceSpanPrototype_closure2, A.updateSourceSpanPrototype_closure3, A.updateSourceSpanPrototype_closure4, A.updateSourceSpanPrototype_closure5, A.StatementSearchVisitor_visitIfRule_closure1, A.StatementSearchVisitor_visitIfRule__closure2, A.StatementSearchVisitor_visitIfRule_closure2, A.StatementSearchVisitor_visitIfRule__closure1, A.StatementSearchVisitor_visitChildren_closure0, A._unquote_closure0, A._quote_closure0, A._length_closure1, A._insert_closure0, A._index_closure1, A._slice_closure0, A._toUpperCase_closure0, A._toLowerCase_closure0, A._uniqueId_closure0, A.legacyStringClass_closure, A.legacyStringClass_closure0, A.stringClass__closure, A.stringClass__closure0, A.stringClass__closure1, A.stringClass__closure2, A.stringClass__closure3, A.StylesheetParser_parse__closure2, A.StylesheetParser_expression_addSingleExpression0, A.StylesheetParser_expression_addOperator0, A.StylesheetParser__unicodeRange_closure1, A.StylesheetParser__unicodeRange_closure2, A.StylesheetParser_trySpecialFunction_closure0, A.TerseLogger_summarize_closure1, A.TerseLogger_summarize_closure2, A._UnprefixedKeys_iterator_closure1, A._UnprefixedKeys_iterator_closure2, A._exactlyOne_closure0, A.futureToPromise__closure0, A.indent_closure0, A.flattenVertically_closure1, A.flattenVertically_closure2, A.valueClass__closure, A.valueClass__closure0, A.valueClass__closure1, A.valueClass__closure2, A.valueClass__closure3, A.valueClass__closure4, A.valueClass__closure5, A.valueClass__closure7, A.valueClass__closure8, A.valueClass__closure9, A.valueClass__closure10, A.valueClass__closure11, A.valueClass__closure12, A.valueClass__closure13, A.valueClass__closure15, A.valueClass__closure16]);
97454 _inheritMany(A.Closure2Args, [A._CastListBase_sort_closure, A.CastMap_forEach_closure, A.Primitives_functionNoSuchMethod_closure, A.JsLinkedHashMap_addAll_closure, A.initHooks_closure0, A._awaitOnObject_closure0, A._wrapJsFunctionForAsync_closure, A.Future_wait_handleError, A._Future__chainForeignFuture_closure0, A.Stream_Stream$fromFuture_closure0, A._HashMap_addAll_closure, A.HashMap_HashMap$from_closure, A.LinkedHashMap_LinkedHashMap$from_closure, A.MapBase_mapToString_closure, A._JsonStringifier_writeMap_closure, A.NoSuchMethodError_toString_closure, A.Uri__parseIPv4Address_error, A.Uri_parseIPv6Address_error, A.Uri_parseIPv6Address_parseHex, A._createTables_build, A.Parser_parse_closure, A.StreamQueue__ensureListening_closure1, A.futureToPromise_closure, A.PathMap__create_closure, A.IfRule_toString_closure, A.ExtensionStore_addExtensions_closure, A.ExtensionStore_addExtensions__closure1, A.ExtensionStore_clone_closure, A._weaveParents_closure, A.paths_closure, A._updateComponents_updateRgb, A._deepMergeImpl_closure, A._nest__closure0, A._append__closure0, A.StylesheetParser__declarationOrBuffer_closure, A.StylesheetParser__declarationOrBuffer_closure0, A.StylesheetParser__styleRule_closure, A.StylesheetParser__propertyOrVariableDeclaration_closure, A.StylesheetParser__propertyOrVariableDeclaration_closure0, A.StylesheetParser__atRootRule_closure, A.StylesheetParser__atRootRule_closure0, A.StylesheetParser__eachRule_closure, A.StylesheetParser__functionRule_closure, A.StylesheetParser__forRule_closure0, A.StylesheetParser__includeRule_closure, A.StylesheetParser_mediaRule_closure, A.StylesheetParser__mixinRule_closure, A.StylesheetParser_mozDocumentRule_closure, A.StylesheetParser_supportsRule_closure, A.StylesheetParser__whileRule_closure, A.StylesheetParser_unknownAtRule_closure, A.StylesheetGraph__recanonicalizeImportsForNode_closure, A.longestCommonSubsequence_closure, A.longestCommonSubsequence_backtrack, A.mapAddAll2_closure, A.SassMap_asList_closure, A.SassNumber_plus_closure, A.SassNumber_minus_closure, A.SassNumber__canonicalMultiplier_closure, A._EvaluateVisitor__closure2, A._EvaluateVisitor__evaluateArguments_closure5, A._EvaluateVisitor__evaluateMacroArguments_closure5, A._EvaluateVisitor__addRestMap_closure0, A._EvaluateVisitor__closure, A._EvaluateVisitor__evaluateArguments_closure1, A._EvaluateVisitor__evaluateMacroArguments_closure1, A._EvaluateVisitor__addRestMap_closure, A.SingleMapping_toJson_closure0, A.Highlighter__collateLines_closure0, A.Frame_Frame$parseV8_closure_parseLocation, A.TransformByHandlers_transformByHandlers__closure1, A.RateLimit__debounceAggregate_closure, A._EvaluateVisitor__closure8, A._EvaluateVisitor__evaluateArguments_closure13, A._EvaluateVisitor__evaluateMacroArguments_closure13, A._EvaluateVisitor__addRestMap_closure2, A._updateComponents_updateRgb0, A.legacyColorClass_closure4, A.legacyColorClass_closure5, A.legacyColorClass_closure6, A.legacyColorClass_closure7, A.colorClass__closure, A.colorClass__closure0, A._parseFunctions_closure0, A._EvaluateVisitor__closure5, A._EvaluateVisitor__evaluateArguments_closure9, A._EvaluateVisitor__evaluateMacroArguments_closure9, A._EvaluateVisitor__addRestMap_closure1, A.ExtensionStore_addExtensions_closure1, A.ExtensionStore_addExtensions__closure4, A.ExtensionStore_clone_closure0, A._weaveParents_closure6, A.paths_closure0, A.IfRule_toString_closure0, A.render_closure1, A._parseFunctions_closure, A.legacyListClass_closure0, A.legacyListClass_closure3, A.listClass__closure0, A._deepMergeImpl_closure0, A.legacyMapClass_closure0, A.legacyMapClass_closure1, A.mapClass__closure1, A.SassMap_asList_closure0, A.main_closure0, A.main_closure1, A.legacyNumberClass_closure1, A.legacyNumberClass_closure3, A.numberClass__closure10, A.numberClass__closure11, A.SassNumber_plus_closure0, A.SassNumber_minus_closure0, A.SassNumber__canonicalMultiplier_closure0, A.JSClassExtension_get_defineMethod_closure, A.JSClassExtension_get_defineGetter_closure, A.main_printError, A._nest__closure2, A._append__closure2, A.legacyStringClass_closure1, A.StylesheetParser__declarationOrBuffer_closure1, A.StylesheetParser__declarationOrBuffer_closure2, A.StylesheetParser__styleRule_closure0, A.StylesheetParser__propertyOrVariableDeclaration_closure1, A.StylesheetParser__propertyOrVariableDeclaration_closure2, A.StylesheetParser__atRootRule_closure1, A.StylesheetParser__atRootRule_closure2, A.StylesheetParser__eachRule_closure0, A.StylesheetParser__functionRule_closure0, A.StylesheetParser__forRule_closure2, A.StylesheetParser__includeRule_closure0, A.StylesheetParser_mediaRule_closure0, A.StylesheetParser__mixinRule_closure0, A.StylesheetParser_mozDocumentRule_closure0, A.StylesheetParser_supportsRule_closure0, A.StylesheetParser__whileRule_closure0, A.StylesheetParser_unknownAtRule_closure0, A.futureToPromise_closure0, A.futureToPromise__closure1, A.objectToMap_closure, A.longestCommonSubsequence_closure0, A.longestCommonSubsequence_backtrack0, A.mapAddAll2_closure0, A.valueClass__closure6, A.valueClass__closure14]);
97455 _inherit(A.CastList, A._CastListBase);
97456 _inherit(A.MapBase, A.MapMixin);
97457 _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A.MergedMapView, A.MergedMapView0]);
97458 _inheritMany(A.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A.RuntimeError, A._Error, A.JsonUnsupportedObjectError, A.AssertionError, A.NullThrownError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError, A.CyclicInitializationError]);
97459 _inherit(A.ListBase, A._ListBase_Object_ListMixin);
97460 _inherit(A.UnmodifiableListBase, A.ListBase);
97461 _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
97462 _inheritMany(A.Closure0Args, [A.nullFuture_closure, A._AsyncRun__scheduleImmediateJsOverride_internalCallback, A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback, A._TimerImpl_internalCallback, A._TimerImpl$periodic_closure, A._Future__addListener_closure, A._Future__prependListeners_closure, A._Future__chainForeignFuture_closure1, A._Future__asyncCompleteWithValue_closure, A._Future__chainFuture_closure, A._Future__asyncCompleteError_closure, A._Future__propagateToListeners_handleWhenCompleteCallback, A._Future__propagateToListeners_handleValueCallback, A._Future__propagateToListeners_handleError, A.Stream_length_closure0, A._StreamController__subscribe_closure, A._StreamController__recordCancel_complete, A._AddStreamState_cancel_closure, A._BufferingStreamSubscription__sendError_sendError, A._BufferingStreamSubscription__sendDone_sendDone, A._PendingEvents_schedule_closure, A._CustomZone_bindCallback_closure, A._CustomZone_bindCallbackGuarded_closure, A._rootHandleError_closure, A._RootZone_bindCallback_closure, A._RootZone_bindCallbackGuarded_closure, A.Utf8Decoder__decoder_closure, A.Utf8Decoder__decoderNonfatal_closure, A.Parser__setOption_closure, A.StreamGroup_add_closure, A.StreamGroup_add_closure0, A.StreamGroup__listenToStream_closure, A.StreamQueue__ensureListening_closure0, A.ReplAdapter_runAsync_closure, A.ParsedPath__splitExtension_closure0, A.AsyncEnvironment_setVariable_closure, A.AsyncEnvironment_setVariable_closure1, A.AsyncImportCache_canonicalize_closure, A.AsyncImportCache_canonicalize_closure0, A.AsyncImportCache__canonicalize_closure, A.AsyncImportCache_importCanonical_closure, A.Environment_setVariable_closure, A.Environment_setVariable_closure1, A.ExecutableOptions__parser_closure, A.ExecutableOptions_interactive_closure, A.ExtensionStore__registerSelector_closure, A.ExtensionStore_addExtension_closure, A.ExtensionStore_addExtension_closure0, A.ExtensionStore_addExtension_closure1, A.ExtensionStore__extendExistingExtensions_closure, A.ExtensionStore__extendExistingExtensions_closure0, A.ExtensionStore_addExtensions___closure, A._deepMergeImpl__ensureMutable, A.ImportCache_canonicalize_closure, A.ImportCache_canonicalize_closure0, A.ImportCache__canonicalize_closure, A.ImportCache_importCanonical_closure, A.resolveImportPath_closure, A.resolveImportPath_closure0, A._tryPathAsDirectory_closure, A._realCasePath_helper_closure, A._readFile_closure, A.writeFile_closure, A.deleteFile_closure, A.fileExists_closure, A.dirExists_closure, A.ensureDir_closure, A.listDir_closure, A.modificationTime_closure, A.watchDir_closure3, A.watchDir__closure, A.AtRootQueryParser_parse_closure, A.KeyframeSelectorParser_parse_closure, A.MediaQueryParser_parse_closure, A.Parser__parseIdentifier_closure, A.SassParser_children_closure, A.SelectorParser_parse_closure, A.SelectorParser_parseCompoundSelector_closure, A.StylesheetParser_parse_closure, A.StylesheetParser_parse__closure, A.StylesheetParser_parseArgumentDeclaration_closure, A.StylesheetParser_parseVariableDeclaration_closure, A.StylesheetParser_parseUseRule_closure, A.StylesheetParser__parseSingleProduction_closure, A.StylesheetParser__statement_closure, A.StylesheetParser_variableDeclarationWithoutNamespace_closure, A.StylesheetParser_variableDeclarationWithoutNamespace_closure0, A.StylesheetParser__forRule_closure, A.StylesheetParser__memberList_closure, A.StylesheetParser_expression_resetState, A.StylesheetParser_expression_resolveOneOperation, A.StylesheetParser_expression_resolveOperations, A.StylesheetParser_expression_resolveSpaceExpressions, A.StylesheetParser__expressionUntilComma_closure, A.StylesheetParser_namespacedExpression_closure, A.StylesheetParser__expressionUntilComparison_closure, A.StylesheetParser__publicIdentifier_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure, A.StylesheetGraph__add_closure, A.StylesheetGraph_addCanonical_closure, A.StylesheetGraph_reload_closure, A.StylesheetGraph__nodeFor_closure, A.StylesheetGraph__nodeFor_closure0, A.SassNumber__coerceOrConvertValue__compatibilityException, A.SassNumber__coerceOrConvertValue_closure0, A.SassNumber__coerceOrConvertValue_closure2, A.SassNumber_multiplyUnits_closure0, A.SassNumber_multiplyUnits_closure2, A.SingleUnitSassNumber_multiplyUnits_closure0, A._EvaluateVisitor__closure4, A._EvaluateVisitor_run_closure0, A._EvaluateVisitor__loadModule_closure1, A._EvaluateVisitor__loadModule_closure2, A._EvaluateVisitor__execute_closure0, A._EvaluateVisitor__extendModules_closure2, A._EvaluateVisitor_visitAtRootRule_closure2, A._EvaluateVisitor_visitAtRootRule_closure3, A._EvaluateVisitor_visitAtRootRule_closure4, A._EvaluateVisitor__scopeForAtRoot__closure0, A._EvaluateVisitor_visitContentRule_closure0, A._EvaluateVisitor_visitDeclaration_closure2, A._EvaluateVisitor_visitEachRule_closure4, A._EvaluateVisitor_visitExtendRule_closure0, A._EvaluateVisitor_visitAtRule_closure3, A._EvaluateVisitor_visitAtRule__closure0, A._EvaluateVisitor_visitForRule_closure4, A._EvaluateVisitor_visitForRule_closure5, A._EvaluateVisitor_visitForRule_closure6, A._EvaluateVisitor_visitForRule_closure7, A._EvaluateVisitor_visitForRule_closure8, A._EvaluateVisitor_visitIfRule_closure0, A._EvaluateVisitor__visitDynamicImport_closure0, A._EvaluateVisitor__visitDynamicImport__closure6, A._EvaluateVisitor_visitIncludeRule_closure3, A._EvaluateVisitor_visitIncludeRule_closure4, A._EvaluateVisitor_visitIncludeRule_closure5, A._EvaluateVisitor_visitIncludeRule__closure0, A._EvaluateVisitor_visitIncludeRule___closure0, A._EvaluateVisitor_visitIncludeRule____closure0, A._EvaluateVisitor_visitMediaRule_closure3, A._EvaluateVisitor_visitMediaRule__closure0, A._EvaluateVisitor_visitMediaRule___closure0, A._EvaluateVisitor__visitMediaQueries_closure0, A._EvaluateVisitor_visitStyleRule_closure6, A._EvaluateVisitor_visitStyleRule_closure7, A._EvaluateVisitor_visitStyleRule_closure9, A._EvaluateVisitor_visitStyleRule_closure10, A._EvaluateVisitor_visitStyleRule_closure11, A._EvaluateVisitor_visitStyleRule__closure0, A._EvaluateVisitor_visitSupportsRule_closure1, A._EvaluateVisitor_visitSupportsRule__closure0, A._EvaluateVisitor_visitVariableDeclaration_closure2, A._EvaluateVisitor_visitVariableDeclaration_closure3, A._EvaluateVisitor_visitVariableDeclaration_closure4, A._EvaluateVisitor_visitWarnRule_closure0, A._EvaluateVisitor_visitWhileRule_closure0, A._EvaluateVisitor_visitBinaryOperationExpression_closure0, A._EvaluateVisitor_visitVariableExpression_closure0, A._EvaluateVisitor_visitUnaryOperationExpression_closure0, A._EvaluateVisitor__visitCalculationValue_closure0, A._EvaluateVisitor_visitFunctionExpression_closure1, A._EvaluateVisitor_visitFunctionExpression_closure2, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0, A._EvaluateVisitor__runUserDefinedCallable_closure0, A._EvaluateVisitor__runUserDefinedCallable__closure0, A._EvaluateVisitor__runUserDefinedCallable___closure0, A._EvaluateVisitor__runFunctionCallable_closure0, A._EvaluateVisitor__runBuiltInCallable_closure1, A._EvaluateVisitor__verifyArguments_closure0, A._EvaluateVisitor_visitCssAtRule_closure1, A._EvaluateVisitor_visitCssKeyframeBlock_closure1, A._EvaluateVisitor_visitCssMediaRule_closure3, A._EvaluateVisitor_visitCssMediaRule__closure0, A._EvaluateVisitor_visitCssMediaRule___closure0, A._EvaluateVisitor_visitCssStyleRule_closure1, A._EvaluateVisitor_visitCssStyleRule__closure0, A._EvaluateVisitor_visitCssSupportsRule_closure1, A._EvaluateVisitor_visitCssSupportsRule__closure0, A._EvaluateVisitor__serialize_closure0, A._EvaluateVisitor__expressionNode_closure0, A._EvaluateVisitor__closure1, A._EvaluateVisitor_run_closure, A._EvaluateVisitor_runExpression_closure, A._EvaluateVisitor_runExpression__closure, A._EvaluateVisitor_runStatement_closure, A._EvaluateVisitor_runStatement__closure, A._EvaluateVisitor__loadModule_closure, A._EvaluateVisitor__loadModule_closure0, A._EvaluateVisitor__execute_closure, A._EvaluateVisitor__extendModules_closure0, A._EvaluateVisitor_visitAtRootRule_closure, A._EvaluateVisitor_visitAtRootRule_closure0, A._EvaluateVisitor_visitAtRootRule_closure1, A._EvaluateVisitor__scopeForAtRoot__closure, A._EvaluateVisitor_visitContentRule_closure, A._EvaluateVisitor_visitDeclaration_closure0, A._EvaluateVisitor_visitEachRule_closure1, A._EvaluateVisitor_visitExtendRule_closure, A._EvaluateVisitor_visitAtRule_closure0, A._EvaluateVisitor_visitAtRule__closure, A._EvaluateVisitor_visitForRule_closure, A._EvaluateVisitor_visitForRule_closure0, A._EvaluateVisitor_visitForRule_closure1, A._EvaluateVisitor_visitForRule_closure2, A._EvaluateVisitor_visitForRule_closure3, A._EvaluateVisitor_visitIfRule_closure, A._EvaluateVisitor__visitDynamicImport_closure, A._EvaluateVisitor__visitDynamicImport__closure2, A._EvaluateVisitor_visitIncludeRule_closure, A._EvaluateVisitor_visitIncludeRule_closure0, A._EvaluateVisitor_visitIncludeRule_closure1, A._EvaluateVisitor_visitIncludeRule__closure, A._EvaluateVisitor_visitIncludeRule___closure, A._EvaluateVisitor_visitIncludeRule____closure, A._EvaluateVisitor_visitMediaRule_closure0, A._EvaluateVisitor_visitMediaRule__closure, A._EvaluateVisitor_visitMediaRule___closure, A._EvaluateVisitor__visitMediaQueries_closure, A._EvaluateVisitor_visitStyleRule_closure, A._EvaluateVisitor_visitStyleRule_closure0, A._EvaluateVisitor_visitStyleRule_closure2, A._EvaluateVisitor_visitStyleRule_closure3, A._EvaluateVisitor_visitStyleRule_closure4, A._EvaluateVisitor_visitStyleRule__closure, A._EvaluateVisitor_visitSupportsRule_closure, A._EvaluateVisitor_visitSupportsRule__closure, A._EvaluateVisitor_visitVariableDeclaration_closure, A._EvaluateVisitor_visitVariableDeclaration_closure0, A._EvaluateVisitor_visitVariableDeclaration_closure1, A._EvaluateVisitor_visitWarnRule_closure, A._EvaluateVisitor_visitWhileRule_closure, A._EvaluateVisitor_visitBinaryOperationExpression_closure, A._EvaluateVisitor_visitVariableExpression_closure, A._EvaluateVisitor_visitUnaryOperationExpression_closure, A._EvaluateVisitor__visitCalculationValue_closure, A._EvaluateVisitor_visitFunctionExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure0, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure, A._EvaluateVisitor__runUserDefinedCallable_closure, A._EvaluateVisitor__runUserDefinedCallable__closure, A._EvaluateVisitor__runUserDefinedCallable___closure, A._EvaluateVisitor__runFunctionCallable_closure, A._EvaluateVisitor__runBuiltInCallable_closure, A._EvaluateVisitor__verifyArguments_closure, A._EvaluateVisitor_visitCssAtRule_closure, A._EvaluateVisitor_visitCssKeyframeBlock_closure, A._EvaluateVisitor_visitCssMediaRule_closure0, A._EvaluateVisitor_visitCssMediaRule__closure, A._EvaluateVisitor_visitCssMediaRule___closure, A._EvaluateVisitor_visitCssStyleRule_closure, A._EvaluateVisitor_visitCssStyleRule__closure, A._EvaluateVisitor_visitCssSupportsRule_closure, A._EvaluateVisitor_visitCssSupportsRule__closure, A._EvaluateVisitor__serialize_closure, A._EvaluateVisitor__expressionNode_closure, A._SerializeVisitor_visitCssComment_closure, A._SerializeVisitor_visitCssAtRule_closure, A._SerializeVisitor_visitCssMediaRule_closure, A._SerializeVisitor_visitCssImport_closure, A._SerializeVisitor_visitCssImport__closure, A._SerializeVisitor_visitCssKeyframeBlock_closure, A._SerializeVisitor_visitCssStyleRule_closure, A._SerializeVisitor_visitCssSupportsRule_closure, A._SerializeVisitor_visitCssDeclaration_closure, A._SerializeVisitor_visitCssDeclaration_closure0, A._SerializeVisitor__write_closure, A._SerializeVisitor__visitChildren_closure, A.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__writeSidebar_closure, A._Highlight_closure, A.Frame_Frame$parseVM_closure, A.Frame_Frame$parseV8_closure, A.Frame_Frame$_parseFirefoxEval_closure, A.Frame_Frame$parseFirefox_closure, A.Frame_Frame$parseFriendly_closure, A.LazyTrace_terse_closure, A.Trace_Trace$from_closure, A.TransformByHandlers_transformByHandlers_closure, A.TransformByHandlers_transformByHandlers__closure0, A.TransformByHandlers_transformByHandlers__closure2, A.RateLimit__debounceAggregate_closure_emit, A.RateLimit__debounceAggregate__closure, A.argumentListClass_closure, A.AsyncEnvironment_setVariable_closure2, A.AsyncEnvironment_setVariable_closure4, A._EvaluateVisitor__closure10, A._EvaluateVisitor_run_closure2, A._EvaluateVisitor__loadModule_closure5, A._EvaluateVisitor__loadModule_closure6, A._EvaluateVisitor__execute_closure2, A._EvaluateVisitor__extendModules_closure6, A._EvaluateVisitor_visitAtRootRule_closure8, A._EvaluateVisitor_visitAtRootRule_closure9, A._EvaluateVisitor_visitAtRootRule_closure10, A._EvaluateVisitor__scopeForAtRoot__closure2, A._EvaluateVisitor_visitContentRule_closure2, A._EvaluateVisitor_visitDeclaration_closure6, A._EvaluateVisitor_visitEachRule_closure10, A._EvaluateVisitor_visitExtendRule_closure2, A._EvaluateVisitor_visitAtRule_closure9, A._EvaluateVisitor_visitAtRule__closure2, A._EvaluateVisitor_visitForRule_closure14, A._EvaluateVisitor_visitForRule_closure15, A._EvaluateVisitor_visitForRule_closure16, A._EvaluateVisitor_visitForRule_closure17, A._EvaluateVisitor_visitForRule_closure18, A._EvaluateVisitor_visitIfRule_closure2, A._EvaluateVisitor__visitDynamicImport_closure2, A._EvaluateVisitor__visitDynamicImport__closure14, A._EvaluateVisitor_visitIncludeRule_closure11, A._EvaluateVisitor_visitIncludeRule_closure12, A._EvaluateVisitor_visitIncludeRule_closure13, A._EvaluateVisitor_visitIncludeRule__closure2, A._EvaluateVisitor_visitIncludeRule___closure2, A._EvaluateVisitor_visitIncludeRule____closure2, A._EvaluateVisitor_visitMediaRule_closure9, A._EvaluateVisitor_visitMediaRule__closure2, A._EvaluateVisitor_visitMediaRule___closure2, A._EvaluateVisitor__visitMediaQueries_closure2, A._EvaluateVisitor_visitStyleRule_closure20, A._EvaluateVisitor_visitStyleRule_closure21, A._EvaluateVisitor_visitStyleRule_closure23, A._EvaluateVisitor_visitStyleRule_closure24, A._EvaluateVisitor_visitStyleRule_closure25, A._EvaluateVisitor_visitStyleRule__closure2, A._EvaluateVisitor_visitSupportsRule_closure5, A._EvaluateVisitor_visitSupportsRule__closure2, A._EvaluateVisitor_visitVariableDeclaration_closure8, A._EvaluateVisitor_visitVariableDeclaration_closure9, A._EvaluateVisitor_visitVariableDeclaration_closure10, A._EvaluateVisitor_visitWarnRule_closure2, A._EvaluateVisitor_visitWhileRule_closure2, A._EvaluateVisitor_visitBinaryOperationExpression_closure2, A._EvaluateVisitor_visitVariableExpression_closure2, A._EvaluateVisitor_visitUnaryOperationExpression_closure2, A._EvaluateVisitor__visitCalculationValue_closure2, A._EvaluateVisitor_visitFunctionExpression_closure5, A._EvaluateVisitor_visitFunctionExpression_closure6, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2, A._EvaluateVisitor__runUserDefinedCallable_closure2, A._EvaluateVisitor__runUserDefinedCallable__closure2, A._EvaluateVisitor__runUserDefinedCallable___closure2, A._EvaluateVisitor__runFunctionCallable_closure2, A._EvaluateVisitor__runBuiltInCallable_closure5, A._EvaluateVisitor__verifyArguments_closure2, A._EvaluateVisitor_visitCssAtRule_closure5, A._EvaluateVisitor_visitCssKeyframeBlock_closure5, A._EvaluateVisitor_visitCssMediaRule_closure9, A._EvaluateVisitor_visitCssMediaRule__closure2, A._EvaluateVisitor_visitCssMediaRule___closure2, A._EvaluateVisitor_visitCssStyleRule_closure5, A._EvaluateVisitor_visitCssStyleRule__closure2, A._EvaluateVisitor_visitCssSupportsRule_closure5, A._EvaluateVisitor_visitCssSupportsRule__closure2, A._EvaluateVisitor__serialize_closure2, A._EvaluateVisitor__expressionNode_closure2, A.AsyncImportCache_canonicalize_closure1, A.AsyncImportCache_canonicalize_closure2, A.AsyncImportCache__canonicalize_closure0, A.AsyncImportCache_importCanonical_closure0, A.AtRootQueryParser_parse_closure0, A.legacyBooleanClass_closure, A.booleanClass_closure, A.colorClass_closure, A.compileAsync_closure, A.compileStringAsync_closure, A.Environment_setVariable_closure2, A.Environment_setVariable_closure4, A._EvaluateVisitor__closure7, A._EvaluateVisitor_run_closure1, A._EvaluateVisitor__loadModule_closure3, A._EvaluateVisitor__loadModule_closure4, A._EvaluateVisitor__execute_closure1, A._EvaluateVisitor__extendModules_closure4, A._EvaluateVisitor_visitAtRootRule_closure5, A._EvaluateVisitor_visitAtRootRule_closure6, A._EvaluateVisitor_visitAtRootRule_closure7, A._EvaluateVisitor__scopeForAtRoot__closure1, A._EvaluateVisitor_visitContentRule_closure1, A._EvaluateVisitor_visitDeclaration_closure4, A._EvaluateVisitor_visitEachRule_closure7, A._EvaluateVisitor_visitExtendRule_closure1, A._EvaluateVisitor_visitAtRule_closure6, A._EvaluateVisitor_visitAtRule__closure1, A._EvaluateVisitor_visitForRule_closure9, A._EvaluateVisitor_visitForRule_closure10, A._EvaluateVisitor_visitForRule_closure11, A._EvaluateVisitor_visitForRule_closure12, A._EvaluateVisitor_visitForRule_closure13, A._EvaluateVisitor_visitIfRule_closure1, A._EvaluateVisitor__visitDynamicImport_closure1, A._EvaluateVisitor__visitDynamicImport__closure10, A._EvaluateVisitor_visitIncludeRule_closure7, A._EvaluateVisitor_visitIncludeRule_closure8, A._EvaluateVisitor_visitIncludeRule_closure9, A._EvaluateVisitor_visitIncludeRule__closure1, A._EvaluateVisitor_visitIncludeRule___closure1, A._EvaluateVisitor_visitIncludeRule____closure1, A._EvaluateVisitor_visitMediaRule_closure6, A._EvaluateVisitor_visitMediaRule__closure1, A._EvaluateVisitor_visitMediaRule___closure1, A._EvaluateVisitor__visitMediaQueries_closure1, A._EvaluateVisitor_visitStyleRule_closure13, A._EvaluateVisitor_visitStyleRule_closure14, A._EvaluateVisitor_visitStyleRule_closure16, A._EvaluateVisitor_visitStyleRule_closure17, A._EvaluateVisitor_visitStyleRule_closure18, A._EvaluateVisitor_visitStyleRule__closure1, A._EvaluateVisitor_visitSupportsRule_closure3, A._EvaluateVisitor_visitSupportsRule__closure1, A._EvaluateVisitor_visitVariableDeclaration_closure5, A._EvaluateVisitor_visitVariableDeclaration_closure6, A._EvaluateVisitor_visitVariableDeclaration_closure7, A._EvaluateVisitor_visitWarnRule_closure1, A._EvaluateVisitor_visitWhileRule_closure1, A._EvaluateVisitor_visitBinaryOperationExpression_closure1, A._EvaluateVisitor_visitVariableExpression_closure1, A._EvaluateVisitor_visitUnaryOperationExpression_closure1, A._EvaluateVisitor__visitCalculationValue_closure1, A._EvaluateVisitor_visitFunctionExpression_closure3, A._EvaluateVisitor_visitFunctionExpression_closure4, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1, A._EvaluateVisitor__runUserDefinedCallable_closure1, A._EvaluateVisitor__runUserDefinedCallable__closure1, A._EvaluateVisitor__runUserDefinedCallable___closure1, A._EvaluateVisitor__runFunctionCallable_closure1, A._EvaluateVisitor__runBuiltInCallable_closure3, A._EvaluateVisitor__verifyArguments_closure1, A._EvaluateVisitor_visitCssAtRule_closure3, A._EvaluateVisitor_visitCssKeyframeBlock_closure3, A._EvaluateVisitor_visitCssMediaRule_closure6, A._EvaluateVisitor_visitCssMediaRule__closure1, A._EvaluateVisitor_visitCssMediaRule___closure1, A._EvaluateVisitor_visitCssStyleRule_closure3, A._EvaluateVisitor_visitCssStyleRule__closure1, A._EvaluateVisitor_visitCssSupportsRule_closure3, A._EvaluateVisitor_visitCssSupportsRule__closure1, A._EvaluateVisitor__serialize_closure1, A._EvaluateVisitor__expressionNode_closure1, A.exceptionClass_closure, A.ExtensionStore__registerSelector_closure0, A.ExtensionStore_addExtension_closure2, A.ExtensionStore_addExtension_closure3, A.ExtensionStore_addExtension_closure4, A.ExtensionStore__extendExistingExtensions_closure1, A.ExtensionStore__extendExistingExtensions_closure2, A.ExtensionStore_addExtensions___closure0, A.functionClass_closure, A.NodeImporter__tryPath_closure, A.ImportCache_canonicalize_closure1, A.ImportCache_canonicalize_closure2, A.ImportCache__canonicalize_closure0, A.ImportCache_importCanonical_closure0, A._realCasePath_helper_closure0, A.KeyframeSelectorParser_parse_closure0, A.render_closure, A._parseFunctions____closure, A._parseFunctions___closure1, A._parseImporter____closure, A._parseImporter___closure0, A.listClass_closure, A._deepMergeImpl__ensureMutable0, A.mapClass_closure, A.MediaQueryParser_parse_closure0, A._readFile_closure0, A.fileExists_closure0, A.dirExists_closure0, A.listDir_closure0, A.NodeToDartLogger_warn_closure, A.NodeToDartLogger_debug_closure, A.legacyNullClass_closure, A.numberClass_closure, A.SassNumber__coerceOrConvertValue__compatibilityException0, A.SassNumber__coerceOrConvertValue_closure4, A.SassNumber__coerceOrConvertValue_closure6, A.SassNumber_multiplyUnits_closure4, A.SassNumber_multiplyUnits_closure6, A.Parser__parseIdentifier_closure0, A.main_closure, A.SassParser_children_closure0, A.SelectorParser_parse_closure0, A.SelectorParser_parseCompoundSelector_closure0, A._SerializeVisitor_visitCssComment_closure0, A._SerializeVisitor_visitCssAtRule_closure0, A._SerializeVisitor_visitCssMediaRule_closure0, A._SerializeVisitor_visitCssImport_closure0, A._SerializeVisitor_visitCssImport__closure0, A._SerializeVisitor_visitCssKeyframeBlock_closure0, A._SerializeVisitor_visitCssStyleRule_closure0, A._SerializeVisitor_visitCssSupportsRule_closure0, A._SerializeVisitor_visitCssDeclaration_closure1, A._SerializeVisitor_visitCssDeclaration_closure2, A._SerializeVisitor__write_closure0, A._SerializeVisitor__visitChildren_closure0, A.SingleUnitSassNumber_multiplyUnits_closure2, A.stringClass_closure, A.StylesheetParser_parse_closure0, A.StylesheetParser_parse__closure1, A.StylesheetParser_parseArgumentDeclaration_closure0, A.StylesheetParser__parseSingleProduction_closure0, A.StylesheetParser_parseSignature_closure, A.StylesheetParser__statement_closure0, A.StylesheetParser_variableDeclarationWithoutNamespace_closure1, A.StylesheetParser_variableDeclarationWithoutNamespace_closure2, A.StylesheetParser__forRule_closure1, A.StylesheetParser__memberList_closure0, A.StylesheetParser_expression_resetState0, A.StylesheetParser_expression_resolveOneOperation0, A.StylesheetParser_expression_resolveOperations0, A.StylesheetParser_expression_resolveSpaceExpressions0, A.StylesheetParser__expressionUntilComma_closure0, A.StylesheetParser_namespacedExpression_closure0, A.StylesheetParser__expressionUntilComparison_closure0, A.StylesheetParser__publicIdentifier_closure0, A.resolveImportPath_closure1, A.resolveImportPath_closure2, A._tryPathAsDirectory_closure0, A.valueClass_closure]);
97463 _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
97464 _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._GeneratorIterable]);
97465 _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
97466 _inheritMany(A.Iterator, [A.MappedIterator, A.WhereIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator]);
97467 _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
97468 _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
97469 _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
97470 _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
97471 _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
97472 _inherit(A.ConstantMapView, A.UnmodifiableMapView);
97473 _inherit(A.ConstantStringMap, A.ConstantMap);
97474 _inherit(A.Instantiation1, A.Instantiation);
97475 _inherit(A.NullError, A.TypeError);
97476 _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
97477 _inheritMany(A.IterableBase, [A._AllMatchesIterable, A._SyncStarIterable, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A._PrefixedKeys, A._UnprefixedKeys, A._PrefixedKeys0, A._UnprefixedKeys0]);
97478 _inherit(A.NativeTypedArray, A.NativeTypedData);
97479 _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
97480 _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
97481 _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
97482 _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
97483 _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
97484 _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
97485 _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
97486 _inherit(A._TypeError, A._Error);
97487 _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
97488 _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
97489 _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
97490 _inherit(A._ControllerStream, A._StreamImpl);
97491 _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
97492 _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
97493 _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
97494 _inherit(A._StreamImplEvents, A._PendingEvents);
97495 _inherit(A._ExpandStream, A._ForwardingStream);
97496 _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
97497 _inherit(A._IdentityHashMap, A._HashMap);
97498 _inheritMany(A.JsLinkedHashMap, [A._LinkedIdentityHashMap, A._LinkedCustomHashMap]);
97499 _inherit(A._SetBase, A.__SetBase_Object_SetMixin);
97500 _inheritMany(A._SetBase, [A._LinkedHashSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin]);
97501 _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
97502 _inherit(A._UnmodifiableSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin);
97503 _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
97504 _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
97505 _inherit(A.Converter, A.StreamTransformerBase);
97506 _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.Utf8Encoder, A.Utf8Decoder]);
97507 _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
97508 _inherit(A.ByteConversionSink, A.ChunkedConversionSink);
97509 _inheritMany(A.ByteConversionSink, [A.ByteConversionSinkBase, A._Utf8StringSinkAdapter]);
97510 _inherit(A._Base64EncoderSink, A.ByteConversionSinkBase);
97511 _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
97512 _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
97513 _inherit(A._JsonStringStringifier, A._JsonStringifier);
97514 _inherit(A.StringConversionSinkBase, A.StringConversionSinkMixin);
97515 _inherit(A._StringSinkConversionSink, A.StringConversionSinkBase);
97516 _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
97517 _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
97518 _inherit(A._DataUri, A._Uri);
97519 _inherit(A.ArgParserException, A.FormatException);
97520 _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
97521 _inherit(A.QueueList, A._QueueList_Object_ListMixin);
97522 _inherit(A._CastQueueList, A.QueueList);
97523 _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
97524 _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
97525 _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
97526 _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
97527 _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
97528 _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
97529 _inherit(A.InternalStyle, A.Style);
97530 _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
97531 _inherit(A.CssNode, A.AstNode);
97532 _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
97533 _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
97534 _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
97535 _inherit(A.CssStylesheet, A.CssParentNode);
97536 _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]);
97537 _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
97538 _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
97539 _inherit(A._HasContentVisitor, A.StatementSearchVisitor);
97540 _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
97541 _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
97542 _inherit(A.ExplicitConfiguration, A.Configuration);
97543 _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.SassException0]);
97544 _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
97545 _inherit(A.MultiSpanSassRuntimeException, A.MultiSpanSassException);
97546 _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
97547 _inherit(A.MergedExtension, A.Extension);
97548 _inherit(A.Importer, A.AsyncImporter);
97549 _inherit(A.FilesystemImporter, A.Importer);
97550 _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
97551 _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
97552 _inherit(A.CssParser, A.ScssParser);
97553 _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
97554 _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A._SassNull, A.SassNumber, A.SassString]);
97555 _inherit(A.SassArgumentList, A.SassList);
97556 _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
97557 _inherit(A._FindDependenciesVisitor, A.RecursiveStatementVisitor);
97558 _inherit(A.SingleMapping, A.Mapping);
97559 _inherit(A.FileLocation, A.SourceLocationMixin);
97560 _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
97561 _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
97562 _inherit(A.StringScannerException, A.SourceSpanFormatException);
97563 _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
97564 _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A._SassNull0, A.SassString0]);
97565 _inherit(A.SassArgumentList0, A.SassList0);
97566 _inheritMany(A.AsyncImporter0, [A.NodeToDartAsyncImporter, A.NodeToDartAsyncFileImporter, A.Importer0]);
97567 _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
97568 _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]);
97569 _inherit(A.CssNode0, A.AstNode0);
97570 _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
97571 _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
97572 _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
97573 _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
97574 _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
97575 _inherit(A.CompileStringOptions, A.CompileOptions);
97576 _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
97577 _inherit(A.ExplicitConfiguration0, A.Configuration0);
97578 _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
97579 _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
97580 _inherit(A.CssParser0, A.ScssParser0);
97581 _inherit(A._NodeException, A.JsError);
97582 _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
97583 _inherit(A.MultiSpanSassRuntimeException0, A.MultiSpanSassException0);
97584 _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
97585 _inheritMany(A.Importer0, [A.NodeToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter, A.NodeToDartImporter]);
97586 _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
97587 _inherit(A.MergedExtension0, A.Extension0);
97588 _inherit(A._HasContentVisitor0, A.StatementSearchVisitor0);
97589 _inherit(A.CssStylesheet0, A.CssParentNode0);
97590 _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
97591 _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListMixin);
97592 _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListMixin);
97593 _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
97594 _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListMixin);
97595 _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
97596 _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
97597 _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
97598 _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
97599 _mixin(A._ListBase_Object_ListMixin, A.ListMixin);
97600 _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
97601 _mixin(A.__SetBase_Object_SetMixin, A.SetMixin);
97602 _mixin(A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
97603 _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
97604 _mixin(A._QueueList_Object_ListMixin, A.ListMixin);
97605 _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
97606 _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
97607 })();
97608 var init = {
97609 typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
97610 mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"},
97611 mangledNames: {},
97612 types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "String(String)", "bool(String)", "bool(CssNode)", "bool(CssNode0)", "SassNumber0(List<Value0>)", "SassNumber(List<Value>)", "bool(Object?)", "int()", "SassString(List<Value>)", "SassString0(List<Value0>)", "bool(SimpleSelector)", "bool(SimpleSelector0)", "bool(ComplexSelector0)", "bool(ComplexSelector)", "SassBoolean(List<Value>)", "SassBoolean0(List<Value0>)", "SassList0(List<Value0>)", "SassList(List<Value>)", "JSClass0()", "SassColor(List<Value>)", "SassColor0(List<Value0>)", "bool()", "Null(~())", "~(Object?)", "Future<Null>(Future<~>())", "String()", "FileSpan()", "bool(int?)", "Future<~>()", "Value(Value)", "SassMap(List<Value>)", "Value()", "SassMap0(List<Value0>)", "Value0(Value0)", "Value0?()", "Value?()", "String?()", "int(num)", "bool(num,num)", "Value0()", "String(Object)", "SelectorList()", "bool(Value0)", "SelectorList0()", "List<String>()", "num(num,num)", "bool(int)", "~(Value0,Value0)", "ValueExpression(Value)", "ValueExpression0(Value0)", "~(Value)", "~(Value,Value)", "num(SassColor0)", "~(Value0)", "~(Module0<Callable0>)", "Frame()", "~(Object,StackTrace)", "bool(Value)", "Null(Object,StackTrace)", "Future<Value0>()", "Future<Value0?>()", "Null(@)", "~(Module<Callable>)", "Future<Value?>()", "Future<Value>()", "Frame(String)", "Stylesheet?()", "ComplexSelector(List<ComplexSelectorComponent>)", "Value?(Statement)", "Value0?(Statement0)", "Null([Object?])", "bool(SelectorList)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "@(@)", "Declaration(List<Statement>,FileSpan)", "int(Uri)", "Declaration0(List<Statement0>,FileSpan)", "@()", "String(@)", "SassRuntimeException0(AstNode0)", "ComplexSelector0(List<ComplexSelectorComponent0>)", "SassRuntimeException(AstNode)", "bool(SelectorList0)", "Null(_NodeSassColor,num)", "Future<Value0?>(Statement0)", "Future<Value?>(Statement)", "List<CssMediaQuery>?(List<CssMediaQuery>)", "num(num)", "Future<Value0>(List<Value0>)", "~(String,Value)", "Future<String>(Object?)", "~(String,Value0)", "Uri(Uri)", "Tuple3<Importer,Uri,Uri>?()", "Object()", "String(Expression0)", "Iterable<String>(Module0<Callable0>)", "num(Value)", "Statement0()", "List<ComplexSelectorComponent0>(List<ComplexSelectorComponent0>)", "bool(ComplexSelectorComponent0)", "~(~())", "Iterable<String>(Module<Callable>)", "bool(Object)", "~(String,Object?)", "AtRootQuery0()", "ComplexSelector(ComplexSelector)", "Iterable<String>(Module<AsyncCallable>)", "AsyncCallable?()", "Iterable<ComplexSelector0>(ComplexSelector0)", "bool(ComplexSelectorComponent)", "AsyncCallable0?()", "bool(Module<Callable>)", "bool(@)", "~(@)", "ComplexSelector0(ComplexSelector0)", "~(String)", "Map<ComplexSelector,Extension>()", "Null(Module<AsyncCallable>)", "bool(Module0<AsyncCallable0>)", "Iterable<String>(Module0<AsyncCallable0>)", "List<CssMediaQuery0>()", "int(_NodeSassColor)", "String(Expression)", "int(SassColor0)", "~(Object)", "Callable0?()", "List<ComplexSelectorComponent>(List<ComplexSelectorComponent>)", "Null(Module0<AsyncCallable0>)", "num(Value0)", "AtRootQuery()", "List<CssMediaQuery>()", "Iterable<ComplexSelector>(ComplexSelector)", "Callable?()", "Statement()", "bool(Module0<Callable0>)", "bool(_Highlight)", "Map<ComplexSelector0,Extension0>()", "bool(Module<AsyncCallable>)", "Iterable<String>(String)", "int(Frame)", "String(Frame)", "Frame(Tuple2<String,AstNode>)", "Trace()", "String(SassNumber)", "bool(Frame)", "AstNode?()", "Future<Object>()", "bool(ForwardRule)", "AsyncCallable0?(Module0<AsyncCallable0>)", "MapKeySet<Module0<AsyncCallable0>>(Map<Module0<AsyncCallable0>,AstNode0>)", "Map<String,AsyncCallable0>(Module0<AsyncCallable0>)", "bool(UseRule)", "AstNode0(AstNode0)", "Future<SassNumber>()", "bool(ModifiableCssParentNode)", "SassFunction0(List<Value0>)", "List<ExtensionStore>()", "~(Module<AsyncCallable>)", "~(Module0<AsyncCallable0>)", "SassFunction(List<Value>)", "AstNode(AstNode)", "List<ExtensionStore0>()", "num(num,String)", "bool(ModifiableCssParentNode0)", "Entry(Entry)", "AtRule(List<Statement>,FileSpan)", "Object(Object)", "AtRootRule(List<Statement>,FileSpan)", "VariableDeclaration()", "Future<SassNumber0>()", "int(int)", "bool(UseRule0)", "bool(ForwardRule0)", "~(String[~])", "DateTime()", "Iterable<String>(@)", "Trace(String)", "Iterable<String>()", "Uri(String)", "Uri?()", "SelectorList(SelectorList,SelectorList)", "SelectorList(Value)", "AstNode0?()", "String(SassNumber0)", "Frame(Tuple2<String,AstNode0>)", "Future<Tuple3<AsyncImporter0,Uri,Uri>?>()", "0&(@[@])", "int(int,num?)", "num(num,num?,num)", "num?(String,num{assertPercent:bool,checkPercent:bool})", "String(int)", "bool(Queue<Object?>)", "String(Value0)", "Iterable<ComplexSelectorComponent>(List<List<ComplexSelectorComponent>>)", "List<Extension>()", "~(Iterable<ExtensionStore>)", "Map<String,Callable>(Module<Callable>)", "MapKeySet<Module<Callable>>(Map<Module<Callable>,AstNode>)", "Future<NodeCompileResult>()", "AsyncImporter0(Object?)", "Callable?(Module<Callable>)", "Future<Value>(List<Value>)", "~(Iterable<ExtensionStore0>)", "Uri?/()", "Callable0?(Module0<Callable0>)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode0>)", "Map<String,Callable0>(Module0<Callable0>)", "Future<Tuple3<AsyncImporter,Uri,Uri>?>()", "Map<String,AsyncCallable>(Module<AsyncCallable>)", "MapKeySet<Module<AsyncCallable>>(Map<Module<AsyncCallable>,AstNode>)", "Value0?(Value0)", "AsyncCallable?(Module<AsyncCallable>)", "SassNumber0()", "String(_NodeException)", "SassNumber()", "List<Extension0>()", "bool(Statement)", "bool(String?)", "Future<~>?()", "Iterable<ComplexSelectorComponent0>(List<List<ComplexSelectorComponent0>>)", "~(Uint8List,String,int)", "bool(Statement0)", "bool(Import0)", "Tuple3<Importer0,Uri,Uri>?()", "~(Object?,Object?)", "~(@,@)", "Set<0^>()<Object?>", "Value0(int)", "@(Value0,num)", "Object(_NodeSassMap,int)", "Null(_NodeSassMap,int,Object)", "bool(SassNumber0)", "ImmutableList(SassNumber0)", "bool(SassNumber0,String)", "SassNumber0(SassNumber0,Object,Object[String?])", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "num(SassNumber0,Object,Object[String?])", "num(SassNumber0,SassNumber0[String?,String?])", "~(String,Function)", "SelectorList0(Value0)", "SelectorList0(SelectorList0,SelectorList0)", "FileLocation(FileSpan)", "String(FileSpan)", "int(SourceLocation)", "~(Object[StackTrace?])", "~([Object?])", "AtRootRule0(List<Statement0>,FileSpan)", "AtRule0(List<Statement0>,FileSpan)", "int(@,@)", "~(String,@)", "bool(Object?,Object?)", "int(Object?)", "bool(Import)", "SupportsRule(List<Statement>,FileSpan)", "EvaluateResult()", "Module<Callable>(Module<Callable>)", "CssValue<Value>(Expression)", "Value?(Value)", "Null(@,StackTrace)", "CssValue<String>(Interpolation)", "String(Value)", "CssValue<String>(SupportsCondition)", "UserDefinedCallable<Environment>(ContentBlock)", "0&(List<Value>)", "Value(Expression)", "~(ContentBlock)", "~(List<Statement>)", "~(CssMediaQuery)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "_Future<@>(@)", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "String(String{color:@})", "FileSpan?(MapEntry<Module<AsyncCallable>,AstNode>)", "List<Frame>(Trace)", "int(Trace)", "List<Value>(Value)", "String(Trace)", "bool(List<Value>)", "Map<String,Value>(Module<AsyncCallable>)", "Frame(String,String)", "Map<String,AstNode>(Module<AsyncCallable>)", "Null(Function,Function)", "SassMap(Value)", "Frame(Frame)", "String(Argument0)", "SassMap(SassMap)", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap(SassArgumentList0)", "String(String?)", "Null(@,@)", "Value0?(Module0<AsyncCallable0>)", "Module0<AsyncCallable0>?(Module0<AsyncCallable0>)", "bool(String?,String?)", "SassNumber(Value)", "FileSpan?(MapEntry<Module0<AsyncCallable0>,AstNode0>)", "Map<String,Value0>(Module0<AsyncCallable0>)", "Map<String,AstNode0>(Module0<AsyncCallable0>)", "Value(Object)", "Future<Stylesheet?>()", "Future<List<CssMediaQuery0>>(Interpolation0)", "Future<String>(SupportsCondition0)", "bool(Tuple3<AsyncImporter,Uri,Uri>)", "SassString(SimpleSelector)", "Uri(Tuple3<AsyncImporter,Uri,Uri>)", "int(String?)", "~(int,@)", "Future<~>(List<Value0>)", "bool(Tuple3<Importer,Uri,Uri>)", "Uri(Tuple3<Importer,Uri,Uri>)", "Future<EvaluateResult0>()", "String(Argument)", "String(MapEntry<String,ConfiguredValue>)", "Module0<AsyncCallable0>(Module0<AsyncCallable0>)", "Expression(Expression)", "Value?(Module<Callable>)", "Module<Callable>?(Module<Callable>)", "Future<CssValue0<Value0>>(Expression0)", "~(Symbol0,@)", "String(Tuple2<Expression,Expression>)", "Future<Value0?>(Value0)", "FileSpan?(MapEntry<Module<Callable>,AstNode>)", "Map<String,Value>(Module<Callable>)", "Future<CssValue0<String>>(Interpolation0)", "Map<String,AstNode>(Module<Callable>)", "~(String,int)", "String(int,IfClause)", "ArgParser()", "~(String,int?)", "Future<CssValue0<String>>(SupportsCondition0)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "String(BuiltInCallable)", "Future<~>(String)", "List<WatchEvent>(List<WatchEvent>)", "CompoundSelector()", "Statement({root:bool})", "int(int,int)", "Future<Value0>(Expression0)", "Expression({bracketList:bool,singleEquals:bool,until:bool()?})", "Stylesheet()", "Statement?()", "VariableDeclaration(VariableDeclaration)", "ArgumentDeclaration()", "bool(Extension)", "UseRule()", "Future<Stylesheet0?>()", "bool(Tuple3<AsyncImporter0,Uri,Uri>)", "Uri(Tuple3<AsyncImporter0,Uri,Uri>)", "Set<ModifiableCssValue<SelectorList>>()", "0&(Object[Object?])", "@(String)", "Expression0(Expression0)", "StyleRule(List<Statement>,FileSpan)", "Uint8List(@,@)", "EachRule(List<Statement>,FileSpan)", "FunctionRule(List<Statement>,FileSpan)", "ForRule(List<Statement>,FileSpan)", "0&(List<Value0>)", "ContentBlock(List<Statement>,FileSpan)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "MediaRule(List<Statement>,FileSpan)", "num(_NodeSassColor)", "MixinRule(List<Statement>,FileSpan)", "SassColor0(Object,_Channels)", "SassColor0(SassColor0,_Channels)", "~(SimpleSelector,Map<ComplexSelector,Extension>)", "~(ComplexSelector,Extension)", "WhileRule(List<Statement>,FileSpan)", "~(Expression)", "AsyncImporter0(NodeImporter0)", "0&(@)", "~(BinaryOperator)", "Null(Map<SimpleSelector,Map<ComplexSelector,Extension>>)", "String(MapEntry<String,ConfiguredValue0>)", "String(BuiltInCallable0)", "StringExpression(Interpolation)", "DateTime(StylesheetNode)", "Value0?(Module0<Callable0>)", "Module0<Callable0>?(Module0<Callable0>)", "~(Uri,StylesheetNode?)", "Map<SimpleSelector,Map<ComplexSelector,Extension>>?(List<Extension>)", "FileSpan?(MapEntry<Module0<Callable0>,AstNode0>)", "Map<String,Value0>(Module0<Callable0>)", "Map<String,AstNode0>(Module0<Callable0>)", "~(Set<ModifiableCssValue<SelectorList>>)", "List<ComplexSelector>(ComplexSelectorComponent)", "List<CssMediaQuery0>(Interpolation0)", "String(SupportsCondition0)", "SassScriptException()", "~(List<Value0>)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "EvaluateResult0()", "Object(Value0)", "CssValue0<Value0>(Expression0)", "SingleUnitSassNumber(num)", "Future<List<CssMediaQuery>>(Interpolation)", "CssValue0<String>(Interpolation0)", "Future<String>(SupportsCondition)", "CssValue0<String>(SupportsCondition0)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "List<ComplexSelectorComponent>(ComplexSelector)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableCssValue0<SelectorList0>>()", "ComplexSelector(Extender)", "List<ComplexSelector>?(List<Extender>)", "~(SimpleSelector0,Map<ComplexSelector0,Extension0>)", "~(ComplexSelector0,Extension0)", "Null(Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>)", "Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>?(List<Extension0>)", "~(Set<ModifiableCssValue0<SelectorList0>>)", "List<ComplexSelector0>(ComplexSelectorComponent0)", "Iterable<ComplexSelector0>(List<ComplexSelector0>)", "List<ComplexSelectorComponent0>(ComplexSelector0)", "Future<~>(List<Value>)", "List<SimpleSelector>(Extender)", "ComplexSelector0(Extender0)", "List<ComplexSelector0>?(List<Extender0>)", "List<SimpleSelector0>(Extender0)", "List<ComplexSelector0>(List<ComplexSelector0>)", "List<Extender0>?(SimpleSelector0)", "List<Extender0>(PseudoSelector0)", "List<List<Extender0>>(List<Extender0>)", "List<ComplexSelector0>(ComplexSelector0)", "PseudoSelector0(ComplexSelector0)", "~(SimpleSelector0,Set<ModifiableCssValue0<SelectorList0>>)", "SassFunction0(Object,String,Value0(List<Value0>))", "Future<EvaluateResult>()", "List<ComplexSelectorComponent0>?(List<ComplexSelectorComponent0>,List<ComplexSelectorComponent0>)", "bool(Queue<List<ComplexSelectorComponent0>>)", "List<ComplexSelector>(List<ComplexSelector>)", "bool(List<Iterable<ComplexSelectorComponent0>>)", "List<ComplexSelectorComponent0>(List<Iterable<ComplexSelectorComponent0>>)", "Iterable<ComplexSelectorComponent0>(Iterable<ComplexSelectorComponent0>)", "Module<AsyncCallable>(Module<AsyncCallable>)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "List<Extender>?(SimpleSelector)", "List<Extender>(PseudoSelector)", "~(Object?,Object,Object?)", "Tuple2<String,String>(String)", "List<List<Extender>>(List<Extender>)", "Stylesheet0?()", "bool(Tuple3<Importer0,Uri,Uri>)", "Uri(Tuple3<Importer0,Uri,Uri>)", "Null(RenderResult)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "Future<CssValue<Value>>(Expression)", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "SassString0(ComplexSelectorComponent0)", "List<ComplexSelector>(ComplexSelector)", "PseudoSelector(ComplexSelector)", "SimpleSelector0(SimpleSelector0)", "Null(_NodeSassList,int?[bool?,SassList0?])", "Future<Value?>(Value)", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassList0(Object[Object?,_ConstructorOptions?])", "~(SimpleSelector,Set<ModifiableCssValue<SelectorList>>)", "String(Tuple2<Expression0,Expression0>)", "SassMap0(Value0)", "SassMap0(SassMap0)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "Future<CssValue<String>>(Interpolation)", "int(_NodeSassMap)", "Future<@>()", "SassMap0(Object[ImmutableMap?])", "ImmutableMap(SassMap0)", "@(SassMap0,Object)", "SassNumber0(Value0)", "Value0(Object)", "~(String,WarnOptions)", "~(String,DebugOptions)", "Null(_NodeSassNumber,num?[String?,SassNumber0?])", "num(_NodeSassNumber)", "Null(_NodeSassNumber,num)", "String(_NodeSassNumber)", "Null(_NodeSassNumber,String)", "SassNumber0(Object,num[Object?])", "num(SassNumber0)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "int?(SassNumber0)", "bool(Queue<List<ComplexSelectorComponent>>)", "int(SassNumber0[String?])", "num(SassNumber0,num,num[String?])", "~(SassNumber0[String?])", "~(SassNumber0,String[String?])", "SassList(ComplexSelector)", "Future<CssValue<String>>(SupportsCondition)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "SassString(ComplexSelectorComponent)", "bool(List<Iterable<ComplexSelectorComponent>>)", "SassScriptException0()", "String(Object,@,@[@])", "List<ComplexSelectorComponent>(List<Iterable<ComplexSelectorComponent>>)", "~(String,StackTrace?)", "Iterable<ComplexSelectorComponent>(Iterable<ComplexSelectorComponent>)", "Object?(Object?)", "SassString0(SimpleSelector0)", "CompoundSelector0()", "~(CssMediaQuery0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(num)", "Future<Value>(Expression)", "JSUrl0?(FileSpan)", "bool(PseudoSelector)", "SelectorList?(PseudoSelector)", "Null(_NodeSassString,String?[SassString0?])", "String(_NodeSassString)", "Null(_NodeSassString,String)", "SassString0(Object[Object?,_ConstructorOptions1?])", "String(SassString0)", "bool(SassString0)", "int(SassString0)", "int(SassString0,Value0[String?])", "Statement0({root:bool})", "~([Future<~>?])", "Stylesheet0()", "Statement0?()", "VariableDeclaration0(VariableDeclaration0)", "ArgumentDeclaration0()", "Tuple2<String,ArgumentDeclaration0>()", "VariableDeclaration0()", "~(String,Option)", "StyleRule0(List<Statement0>,FileSpan)", "SimpleSelector(SimpleSelector)", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "~(@,StackTrace)", "SupportsRule0(List<Statement0>,FileSpan)", "WhileRule0(List<Statement0>,FileSpan)", "~(Expression0)", "~(BinaryOperator0)", "StringExpression0(Interpolation0)", "Null(~(Object?),~(Object?))", "ImmutableList(Value0)", "String?(Value0)", "int(Value0,Value0[String?])", "SassBoolean0(Value0[String?])", "SassColor0(Value0[String?])", "SassFunction0(Value0[String?])", "SassMap0(Value0[String?])", "SassNumber0(Value0[String?])", "SassString0(Value0[String?])", "SassMap0?(Value0)", "bool(Value0,Object?)", "int(Value0[Object?])", "Value?(Module<AsyncCallable>)", "List<CssMediaQuery>(Interpolation)", "~(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?>?)", "String(SupportsCondition)", "@(@,String)", "0^(0^,0^)<num>", "~(List<Value>)", "~(Object,StackTrace,EventSink<0^>)<Object?>", "List<0^>(0^,List<0^>?)<Object?>", "NodeCompileResult(String[CompileOptions?])", "NodeCompileResult(String[CompileStringOptions?])", "Promise(String[CompileOptions?])", "Promise(String[CompileStringOptions?])", "Importer0(Object?)", "List<Object?>(Object?)", "~(RenderOptions,~(Object?,RenderResult?))", "RenderResult(RenderOptions)", "Future<~>(List<String>)", "Uri(JSUrl0)", "JSUrl0(Uri)", "String(String[String?,String?,String?,String?,String?,String?])", "Module<AsyncCallable>?(Module<AsyncCallable>)", "Module0<Callable0>(Module0<Callable0>)"],
97613 interceptorsByTag: null,
97614 leafTags: null,
97615 arrayRti: Symbol("$ti")
97616 };
97617 A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","Stdin":"LegacyJavaScriptObject","Stdout":"LegacyJavaScriptObject","ReadlineModule":"LegacyJavaScriptObject","ReadlineOptions":"LegacyJavaScriptObject","ReadlineInterface":"LegacyJavaScriptObject","BufferModule":"LegacyJavaScriptObject","BufferConstants":"LegacyJavaScriptObject","Buffer":"LegacyJavaScriptObject","ConsoleModule":"LegacyJavaScriptObject","Console":"LegacyJavaScriptObject","EventEmitter":"LegacyJavaScriptObject","FS":"LegacyJavaScriptObject","FSConstants":"LegacyJavaScriptObject","FSWatcher":"LegacyJavaScriptObject","ReadStream":"LegacyJavaScriptObject","ReadStreamOptions":"LegacyJavaScriptObject","WriteStream":"LegacyJavaScriptObject","WriteStreamOptions":"LegacyJavaScriptObject","FileOptions":"LegacyJavaScriptObject","StatOptions":"LegacyJavaScriptObject","MkdirOptions":"LegacyJavaScriptObject","RmdirOptions":"LegacyJavaScriptObject","WatchOptions":"LegacyJavaScriptObject","WatchFileOptions":"LegacyJavaScriptObject","Stats":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","Date":"LegacyJavaScriptObject","JsError":"LegacyJavaScriptObject","Atomics":"LegacyJavaScriptObject","Modules":"LegacyJavaScriptObject","Module1":"LegacyJavaScriptObject","Net":"LegacyJavaScriptObject","Socket":"LegacyJavaScriptObject","NetAddress":"LegacyJavaScriptObject","NetServer":"LegacyJavaScriptObject","NodeJsError":"LegacyJavaScriptObject","JsAssertionError":"LegacyJavaScriptObject","JsRangeError":"LegacyJavaScriptObject","JsReferenceError":"LegacyJavaScriptObject","JsSyntaxError":"LegacyJavaScriptObject","JsTypeError":"LegacyJavaScriptObject","JsSystemError":"LegacyJavaScriptObject","Process":"LegacyJavaScriptObject","CPUUsage":"LegacyJavaScriptObject","Release":"LegacyJavaScriptObject","StreamModule":"LegacyJavaScriptObject","Readable":"LegacyJavaScriptObject","Writable":"LegacyJavaScriptObject","Duplex":"LegacyJavaScriptObject","Transform":"LegacyJavaScriptObject","WritableOptions":"LegacyJavaScriptObject","ReadableOptions":"LegacyJavaScriptObject","Immediate":"LegacyJavaScriptObject","Timeout":"LegacyJavaScriptObject","TTY":"LegacyJavaScriptObject","TTYReadStream":"LegacyJavaScriptObject","TTYWriteStream":"LegacyJavaScriptObject","Util":"LegacyJavaScriptObject","JSArray0":"LegacyJavaScriptObject","Chokidar":"LegacyJavaScriptObject","ChokidarOptions":"LegacyJavaScriptObject","ChokidarWatcher":"LegacyJavaScriptObject","JSFunction":"LegacyJavaScriptObject","NodeImporterResult":"LegacyJavaScriptObject","RenderContext":"LegacyJavaScriptObject","RenderContextOptions":"LegacyJavaScriptObject","RenderContextResult":"LegacyJavaScriptObject","RenderContextResultStats":"LegacyJavaScriptObject","JSClass":"LegacyJavaScriptObject","JSUrl":"LegacyJavaScriptObject","_PropertyDescriptor":"LegacyJavaScriptObject","JSArray1":"LegacyJavaScriptObject","Chokidar0":"LegacyJavaScriptObject","ChokidarOptions0":"LegacyJavaScriptObject","ChokidarWatcher0":"LegacyJavaScriptObject","_NodeSassColor":"LegacyJavaScriptObject","_Channels":"LegacyJavaScriptObject","CompileOptions":"LegacyJavaScriptObject","CompileStringOptions":"LegacyJavaScriptObject","NodeCompileResult":"LegacyJavaScriptObject","_NodeException":"LegacyJavaScriptObject","Exports":"LegacyJavaScriptObject","LoggerNamespace":"LegacyJavaScriptObject","Fiber":"LegacyJavaScriptObject","FiberClass":"LegacyJavaScriptObject","JSFunction0":"LegacyJavaScriptObject","ImmutableList":"LegacyJavaScriptObject","ImmutableMap":"LegacyJavaScriptObject","NodeImporter0":"LegacyJavaScriptObject","CanonicalizeOptions":"LegacyJavaScriptObject","NodeImporterResult0":"LegacyJavaScriptObject","NodeImporterResult1":"LegacyJavaScriptObject","_NodeSassList":"LegacyJavaScriptObject","_ConstructorOptions":"LegacyJavaScriptObject","WarnOptions":"LegacyJavaScriptObject","DebugOptions":"LegacyJavaScriptObject","NodeLogger":"LegacyJavaScriptObject","_NodeSassMap":"LegacyJavaScriptObject","_NodeSassNumber":"LegacyJavaScriptObject","_ConstructorOptions0":"LegacyJavaScriptObject","JSClass0":"LegacyJavaScriptObject","RenderContext0":"LegacyJavaScriptObject","RenderContextOptions0":"LegacyJavaScriptObject","RenderContextResult0":"LegacyJavaScriptObject","RenderContextResultStats0":"LegacyJavaScriptObject","RenderOptions":"LegacyJavaScriptObject","RenderResult":"LegacyJavaScriptObject","RenderResultStats":"LegacyJavaScriptObject","_Exports":"LegacyJavaScriptObject","_NodeSassString":"LegacyJavaScriptObject","_ConstructorOptions1":"LegacyJavaScriptObject","Types":"LegacyJavaScriptObject","JSUrl0":"LegacyJavaScriptObject","_PropertyDescriptor0":"LegacyJavaScriptObject","JSBool":{"bool":[]},"JSNull":{"Null":[]},"LegacyJavaScriptObject":{"Promise":[],"JsSystemError":[],"_NodeSassColor":[],"_Channels":[],"CompileOptions":[],"CompileStringOptions":[],"NodeCompileResult":[],"_NodeException":[],"Fiber":[],"JSFunction0":[],"ImmutableList":[],"ImmutableMap":[],"NodeImporter0":[],"NodeImporterResult0":[],"NodeImporterResult1":[],"_NodeSassList":[],"_ConstructorOptions":[],"WarnOptions":[],"DebugOptions":[],"_NodeSassMap":[],"_NodeSassNumber":[],"_ConstructorOptions0":[],"JSClass0":[],"RenderContextOptions0":[],"RenderOptions":[],"RenderResult":[],"_NodeSassString":[],"_ConstructorOptions1":[],"JSUrl0":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"]},"JSString":{"String":[],"Comparable":["String"]},"_CastIterableBase":{"Iterable":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListMixin.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapMixin":["3","4"],"Map":["3","4"],"MapMixin.K":"3","MapMixin.V":"4"},"LateError":{"Error":[]},"CodeUnits":{"ListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListIterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"FollowedByIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthFollowedByIterable":{"FollowedByIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"UnmodifiableListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"Instantiation":{"Function":[]},"Instantiation1":{"Function":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Function":[]},"Closure2Args":{"Function":[]},"TearOffClosure":{"Function":[]},"StaticClosure":{"Function":[]},"BoundClosure":{"Function":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"]},"NativeTypedArrayOfDouble":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"NativeTypedArrayOfInt":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"NativeFloat32List":{"NativeTypedArrayOfDouble":[],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"ListMixin.E":"double"},"NativeFloat64List":{"NativeTypedArrayOfDouble":[],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"ListMixin.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_Future":{"Future":["1"]},"_SyncStarIterable":{"Iterable":["1"],"Iterable.E":"1"},"_AsyncCompleter":{"_Completer":["1"]},"_SyncCompleter":{"_Completer":["1"]},"_StreamController":{"EventSink":["1"]},"_AsyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_SyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_BufferingStreamSubscription.T":"2"},"_ExpandStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"Zone":[]},"_RootZone":{"Zone":[]},"Queue":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"_HashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedIdentityHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedHashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedIdentityHashSet":{"_LinkedHashSet":["1"],"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableListView":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"UnmodifiableMapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_UnmodifiableSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"AsciiCodec":{"Codec":["String","List<int>"]},"_UnicodeSubsetEncoder":{"Converter":["String","List<int>"]},"AsciiEncoder":{"Converter":["String","List<int>"]},"Base64Codec":{"Codec":["List<int>","String"]},"Base64Encoder":{"Converter":["List<int>","String"]},"Encoding":{"Codec":["String","List<int>"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"]},"JsonEncoder":{"Converter":["Object?","String"]},"Utf8Codec":{"Codec":["String","List<int>"]},"Utf8Encoder":{"Converter":["String","List<int>"]},"Utf8Decoder":{"Converter":["List<int>","String"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"RangeError":[],"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"_GeneratorIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_StringStackTrace":{"StackTrace":[]},"Runes":{"Iterable":["int"],"Iterable.E":"int"},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"ArgParserException":{"FormatException":[],"Exception":[]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_CompleterStream":{"Stream":["1"],"Stream.T":"1"},"_NextRequest":{"_EventRequest":["1"]},"EmptyUnmodifiableSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"QueueList":{"ListMixin":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListMixin":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","QueueList.E":"2"},"UnmodifiableSetView":{"DelegatingSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapKeySet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_DelegatingIterableBase":{"Iterable":["1"]},"DelegatingSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"PathException":{"Exception":[]},"PathMap":{"Map":["String?","1"]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"ModifiableCssAtRule":{"ModifiableCssParentNode":[],"CssAtRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssComment":{"ModifiableCssNode":[],"CssComment":[],"CssNode":[],"AstNode":[]},"ModifiableCssDeclaration":{"ModifiableCssNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssImport":{"ModifiableCssNode":[],"CssImport":[],"CssNode":[],"AstNode":[]},"ModifiableCssKeyframeBlock":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssMediaRule":{"ModifiableCssParentNode":[],"CssMediaRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssNode":{"CssNode":[],"AstNode":[]},"ModifiableCssParentNode":{"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStyleRule":{"ModifiableCssParentNode":[],"CssStyleRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStylesheet":{"ModifiableCssParentNode":[],"CssStylesheet":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssSupportsRule":{"ModifiableCssParentNode":[],"CssSupportsRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssValue":{"CssValue":["1"],"AstNode":[]},"CssNode":{"AstNode":[]},"CssParentNode":{"CssNode":[],"AstNode":[]},"CssStylesheet":{"CssParentNode":[],"CssNode":[],"AstNode":[]},"CssValue":{"AstNode":[]},"_FakeAstNode":{"AstNode":[]},"Argument":{"AstNode":[]},"ArgumentDeclaration":{"AstNode":[]},"ArgumentInvocation":{"AstNode":[]},"ConfiguredVariable":{"AstNode":[]},"BinaryOperationExpression":{"Expression":[],"AstNode":[]},"BooleanExpression":{"Expression":[],"AstNode":[]},"CalculationExpression":{"Expression":[],"AstNode":[]},"ColorExpression":{"Expression":[],"AstNode":[]},"FunctionExpression":{"Expression":[],"AstNode":[]},"IfExpression":{"Expression":[],"AstNode":[]},"InterpolatedFunctionExpression":{"Expression":[],"AstNode":[]},"ListExpression":{"Expression":[],"AstNode":[]},"MapExpression":{"Expression":[],"AstNode":[]},"NullExpression":{"Expression":[],"AstNode":[]},"NumberExpression":{"Expression":[],"AstNode":[]},"ParenthesizedExpression":{"Expression":[],"AstNode":[]},"SelectorExpression":{"Expression":[],"AstNode":[]},"StringExpression":{"Expression":[],"AstNode":[]},"UnaryOperationExpression":{"Expression":[],"AstNode":[]},"ValueExpression":{"Expression":[],"AstNode":[]},"VariableExpression":{"Expression":[],"AstNode":[]},"DynamicImport":{"Import":[],"AstNode":[]},"StaticImport":{"Import":[],"AstNode":[]},"Interpolation":{"AstNode":[]},"AtRootRule":{"Statement":[],"AstNode":[]},"AtRule":{"Statement":[],"AstNode":[]},"CallableDeclaration":{"Statement":[],"AstNode":[]},"ContentBlock":{"Statement":[],"AstNode":[]},"ContentRule":{"Statement":[],"AstNode":[]},"DebugRule":{"Statement":[],"AstNode":[]},"Declaration":{"Statement":[],"AstNode":[]},"EachRule":{"Statement":[],"AstNode":[]},"ErrorRule":{"Statement":[],"AstNode":[]},"ExtendRule":{"Statement":[],"AstNode":[]},"ForRule":{"Statement":[],"AstNode":[]},"ForwardRule":{"Statement":[],"AstNode":[]},"FunctionRule":{"Statement":[],"AstNode":[]},"IfRule":{"Statement":[],"AstNode":[]},"ImportRule":{"Statement":[],"AstNode":[]},"IncludeRule":{"Statement":[],"AstNode":[]},"LoudComment":{"Statement":[],"AstNode":[]},"MediaRule":{"Statement":[],"AstNode":[]},"MixinRule":{"Statement":[],"AstNode":[]},"_HasContentVisitor":{"StatementSearchVisitor":["bool"],"StatementSearchVisitor.T":"bool"},"ParentStatement":{"Statement":[],"AstNode":[]},"ReturnRule":{"Statement":[],"AstNode":[]},"SilentComment":{"Statement":[],"AstNode":[]},"StyleRule":{"Statement":[],"AstNode":[]},"Stylesheet":{"Statement":[],"AstNode":[]},"SupportsRule":{"Statement":[],"AstNode":[]},"UseRule":{"Statement":[],"AstNode":[]},"VariableDeclaration":{"Statement":[],"AstNode":[]},"WarnRule":{"Statement":[],"AstNode":[]},"WhileRule":{"Statement":[],"AstNode":[]},"SupportsAnything":{"SupportsCondition":[],"AstNode":[]},"SupportsDeclaration":{"SupportsCondition":[],"AstNode":[]},"SupportsFunction":{"SupportsCondition":[],"AstNode":[]},"SupportsInterpolation":{"SupportsCondition":[],"AstNode":[]},"SupportsNegation":{"SupportsCondition":[],"AstNode":[]},"SupportsOperation":{"SupportsCondition":[],"AstNode":[]},"AttributeSelector":{"SimpleSelector":[]},"ClassSelector":{"SimpleSelector":[]},"Combinator":{"ComplexSelectorComponent":[]},"CompoundSelector":{"ComplexSelectorComponent":[]},"IDSelector":{"SimpleSelector":[]},"ParentSelector":{"SimpleSelector":[]},"PlaceholderSelector":{"SimpleSelector":[]},"PseudoSelector":{"SimpleSelector":[]},"TypeSelector":{"SimpleSelector":[]},"UniversalSelector":{"SimpleSelector":[]},"_EnvironmentModule0":{"Module":["AsyncCallable"]},"AsyncBuiltInCallable":{"AsyncCallable":[]},"BuiltInCallable":{"Callable":[],"AsyncBuiltInCallable":[],"AsyncCallable":[]},"PlainCssCallable":{"Callable":[],"AsyncCallable":[]},"UserDefinedCallable":{"Callable":[],"AsyncCallable":[]},"ExplicitConfiguration":{"Configuration":[]},"_EnvironmentModule":{"Module":["Callable"]},"SassRuntimeException":{"Exception":[]},"SassException":{"Exception":[]},"MultiSpanSassException":{"Exception":[]},"MultiSpanSassRuntimeException":{"SassRuntimeException":[],"Exception":[]},"SassFormatException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"UsageException":{"Exception":[]},"EmptyExtensionStore":{"ExtensionStore":[]},"MergedExtension":{"Extension":[]},"Importer":{"AsyncImporter":[]},"FilesystemImporter":{"Importer":[],"AsyncImporter":[]},"BuiltInModule":{"Module":["1"]},"ForwardedModuleView":{"Module":["1"]},"ShadowedModuleView":{"Module":["1"]},"LimitedMapView":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"MergedMapView":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"PrefixedMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_PrefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"PublicMemberMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"UnprefixedMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_UnprefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"SassArgumentList":{"SassList":[],"Value":[]},"SassBoolean":{"Value":[]},"SassCalculation":{"Value":[]},"SassColor":{"Value":[]},"SassFunction":{"Value":[]},"SassList":{"Value":[]},"SassMap":{"Value":[]},"_SassNull":{"Value":[]},"SassNumber":{"Value":[]},"ComplexSassNumber":{"SassNumber":[],"Value":[]},"SingleUnitSassNumber":{"SassNumber":[],"Value":[]},"UnitlessSassNumber":{"SassNumber":[],"Value":[]},"SassString":{"Value":[]},"_EvaluationContext0":{"EvaluationContext":[]},"_EvaluationContext":{"EvaluationContext":[]},"Entry":{"Comparable":["Entry"]},"FileLocation":{"SourceLocation":[],"Comparable":["SourceLocation"]},"FileSpan":{"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"_FileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceLocation":{"Comparable":["SourceLocation"]},"SourceLocationMixin":{"SourceLocation":[],"Comparable":["SourceLocation"]},"SourceSpan":{"Comparable":["SourceSpan"]},"SourceSpanBase":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanException":{"Exception":[]},"SourceSpanFormatException":{"FormatException":[],"Exception":[]},"SourceSpanMixin":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanWithContext":{"SourceSpan":[],"Comparable":["SourceSpan"]},"Chain":{"StackTrace":[]},"LazyTrace":{"Trace":[],"StackTrace":[]},"Trace":{"StackTrace":[]},"UnparsedFrame":{"Frame":[]},"StringScannerException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"SupportsAnything0":{"SupportsCondition0":[],"AstNode0":[]},"Argument0":{"AstNode0":[]},"ArgumentDeclaration0":{"AstNode0":[]},"ArgumentInvocation0":{"AstNode0":[]},"SassArgumentList0":{"SassList0":[],"Value0":[]},"NodeToDartAsyncImporter":{"AsyncImporter0":[]},"AsyncBuiltInCallable0":{"AsyncCallable0":[]},"_EnvironmentModule2":{"Module0":["AsyncCallable0"]},"_EvaluationContext2":{"EvaluationContext0":[]},"NodeToDartAsyncFileImporter":{"AsyncImporter0":[]},"AtRootRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssAtRule0":{"ModifiableCssParentNode0":[],"CssAtRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"AtRule0":{"Statement0":[],"AstNode0":[]},"AttributeSelector0":{"SimpleSelector0":[]},"BinaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"BooleanExpression0":{"Expression0":[],"AstNode0":[]},"SassBoolean0":{"Value0":[]},"BuiltInCallable0":{"Callable0":[],"AsyncBuiltInCallable0":[],"AsyncCallable0":[]},"BuiltInModule0":{"Module0":["1"]},"CalculationExpression0":{"Expression0":[],"AstNode0":[]},"SassCalculation0":{"Value0":[]},"CallableDeclaration0":{"Statement0":[],"AstNode0":[]},"ClassSelector0":{"SimpleSelector0":[]},"ColorExpression0":{"Expression0":[],"AstNode0":[]},"SassColor0":{"Value0":[]},"ModifiableCssComment0":{"ModifiableCssNode0":[],"CssComment0":[],"CssNode0":[],"AstNode0":[]},"ComplexSassNumber0":{"SassNumber0":[],"Value0":[]},"Combinator0":{"ComplexSelectorComponent0":[]},"CompoundSelector0":{"ComplexSelectorComponent0":[]},"ExplicitConfiguration0":{"Configuration0":[]},"ConfiguredVariable0":{"AstNode0":[]},"ContentBlock0":{"Statement0":[],"AstNode0":[]},"ContentRule0":{"Statement0":[],"AstNode0":[]},"DebugRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssDeclaration0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"Declaration0":{"Statement0":[],"AstNode0":[]},"SupportsDeclaration0":{"SupportsCondition0":[],"AstNode0":[]},"DynamicImport0":{"Import0":[],"AstNode0":[]},"EachRule0":{"Statement0":[],"AstNode0":[]},"EmptyExtensionStore0":{"ExtensionStore0":[]},"_EnvironmentModule1":{"Module0":["Callable0"]},"ErrorRule0":{"Statement0":[],"AstNode0":[]},"_EvaluationContext1":{"EvaluationContext0":[]},"SassRuntimeException0":{"Exception":[]},"SassException0":{"Exception":[]},"MultiSpanSassException0":{"Exception":[]},"MultiSpanSassRuntimeException0":{"SassRuntimeException0":[],"Exception":[]},"SassFormatException0":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"ExtendRule0":{"Statement0":[],"AstNode0":[]},"NodeToDartFileImporter":{"Importer0":[],"AsyncImporter0":[]},"FilesystemImporter0":{"Importer0":[],"AsyncImporter0":[]},"ForRule0":{"Statement0":[],"AstNode0":[]},"ForwardRule0":{"Statement0":[],"AstNode0":[]},"ForwardedModuleView0":{"Module0":["1"]},"FunctionExpression0":{"Expression0":[],"AstNode0":[]},"SupportsFunction0":{"SupportsCondition0":[],"AstNode0":[]},"SassFunction0":{"Value0":[]},"FunctionRule0":{"Statement0":[],"AstNode0":[]},"IDSelector0":{"SimpleSelector0":[]},"IfExpression0":{"Expression0":[],"AstNode0":[]},"IfRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssImport0":{"ModifiableCssNode0":[],"CssImport0":[],"CssNode0":[],"AstNode0":[]},"ImportRule0":{"Statement0":[],"AstNode0":[]},"Importer0":{"AsyncImporter0":[]},"IncludeRule0":{"Statement0":[],"AstNode0":[]},"InterpolatedFunctionExpression0":{"Expression0":[],"AstNode0":[]},"Interpolation0":{"AstNode0":[]},"SupportsInterpolation0":{"SupportsCondition0":[],"AstNode0":[]},"ModifiableCssKeyframeBlock0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"LimitedMapView0":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"ListExpression0":{"Expression0":[],"AstNode0":[]},"SassList0":{"Value0":[]},"LoudComment0":{"Statement0":[],"AstNode0":[]},"MapExpression0":{"Expression0":[],"AstNode0":[]},"SassMap0":{"Value0":[]},"ModifiableCssMediaRule0":{"ModifiableCssParentNode0":[],"CssMediaRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"MediaRule0":{"Statement0":[],"AstNode0":[]},"MergedExtension0":{"Extension0":[]},"MergedMapView0":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"MixinRule0":{"Statement0":[],"AstNode0":[]},"_HasContentVisitor0":{"StatementSearchVisitor0":["bool"],"StatementSearchVisitor0.T":"bool"},"SupportsNegation0":{"SupportsCondition0":[],"AstNode0":[]},"NoOpImporter":{"Importer0":[],"AsyncImporter0":[]},"_FakeAstNode0":{"AstNode0":[]},"CssNode0":{"AstNode0":[]},"CssParentNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssParentNode0":{"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"NullExpression0":{"Expression0":[],"AstNode0":[]},"_SassNull0":{"Value0":[]},"NumberExpression0":{"Expression0":[],"AstNode0":[]},"SassNumber0":{"Value0":[]},"SupportsOperation0":{"SupportsCondition0":[],"AstNode0":[]},"ParentSelector0":{"SimpleSelector0":[]},"ParentStatement0":{"Statement0":[],"AstNode0":[]},"ParenthesizedExpression0":{"Expression0":[],"AstNode0":[]},"PlaceholderSelector0":{"SimpleSelector0":[]},"PlainCssCallable0":{"Callable0":[],"AsyncCallable0":[]},"PrefixedMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_PrefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"PseudoSelector0":{"SimpleSelector0":[]},"PublicMemberMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"ReturnRule0":{"Statement0":[],"AstNode0":[]},"SelectorExpression0":{"Expression0":[],"AstNode0":[]},"ShadowedModuleView0":{"Module0":["1"]},"SilentComment0":{"Statement0":[],"AstNode0":[]},"SingleUnitSassNumber0":{"SassNumber0":[],"Value0":[]},"StaticImport0":{"Import0":[],"AstNode0":[]},"StringExpression0":{"Expression0":[],"AstNode0":[]},"SassString0":{"Value0":[]},"ModifiableCssStyleRule0":{"ModifiableCssParentNode0":[],"CssStyleRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"StyleRule0":{"Statement0":[],"AstNode0":[]},"CssStylesheet0":{"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"ModifiableCssStylesheet0":{"ModifiableCssParentNode0":[],"CssStylesheet0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"Stylesheet0":{"Statement0":[],"AstNode0":[]},"ModifiableCssSupportsRule0":{"ModifiableCssParentNode0":[],"CssSupportsRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"SupportsRule0":{"Statement0":[],"AstNode0":[]},"NodeToDartImporter":{"Importer0":[],"AsyncImporter0":[]},"TypeSelector0":{"SimpleSelector0":[]},"UnaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"UnitlessSassNumber0":{"SassNumber0":[],"Value0":[]},"UniversalSelector0":{"SimpleSelector0":[]},"UnprefixedMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_UnprefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"UseRule0":{"Statement0":[],"AstNode0":[]},"UserDefinedCallable0":{"Callable0":[],"AsyncCallable0":[]},"CssValue0":{"AstNode0":[]},"ValueExpression0":{"Expression0":[],"AstNode0":[]},"ModifiableCssValue0":{"CssValue0":["1"],"AstNode0":[]},"VariableExpression0":{"Expression0":[],"AstNode0":[]},"VariableDeclaration0":{"Statement0":[],"AstNode0":[]},"WarnRule0":{"Statement0":[],"AstNode0":[]},"WhileRule0":{"Statement0":[],"AstNode0":[]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Expression":{"AstNode":[]},"Import":{"AstNode":[]},"Statement":{"AstNode":[]},"SupportsCondition":{"AstNode":[]},"Callable":{"AsyncCallable":[]},"Callable0":{"AsyncCallable0":[]},"Expression0":{"AstNode0":[]},"Import0":{"AstNode0":[]},"Statement0":{"AstNode0":[]},"SupportsCondition0":{"AstNode0":[]}}'));
97618 A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"ArrayIterator":1,"ListIterator":1,"MappedIterator":2,"WhereIterator":1,"ExpandIterator":2,"TakeIterator":1,"SkipIterator":1,"SkipWhileIterator":1,"EmptyIterator":1,"FollowedByIterator":1,"FixedLengthListMixin":1,"UnmodifiableListMixin":1,"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"LinkedHashMapKeyIterator":1,"NativeTypedArray":1,"EventSink":1,"_SyncStarIterator":1,"StreamTransformerBase":2,"_SyncStreamControllerDispatch":1,"_AsyncStreamControllerDispatch":1,"_AddStreamState":1,"_StreamControllerAddStreamState":1,"_DelayedEvent":1,"_DelayedData":1,"_PendingEvents":1,"_StreamImplEvents":1,"_StreamIterator":1,"_ZoneFunction":1,"Queue":1,"_HashMapKeyIterator":1,"_LinkedHashSetIterator":1,"IterableBase":1,"ListBase":1,"MapBase":2,"UnmodifiableMapBase":2,"_MapBaseValueIterator":2,"_UnmodifiableMapMixin":2,"MapView":2,"_ListQueueIterator":1,"_UnmodifiableSetMixin":1,"_ListBase_Object_ListMixin":1,"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":2,"__SetBase_Object_SetMixin":1,"__UnmodifiableSet__SetBase__UnmodifiableSetMixin":1,"ChunkedConversionSink":1,"_StringSinkConversionSink":1,"Expando":1,"Iterator":1,"_EventRequest":1,"_EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin":1,"DefaultEquality":1,"IterableEquality":1,"ListEquality":1,"MapEquality":2,"_QueueList_Object_ListMixin":1,"UnmodifiableSetMixin":1,"_UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin":1,"_DelegatingIterableBase":1,"_MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin":1,"ParentStatement":1,"ParentStatement0":1}'));
97619 var string$ = {
97620 x0a_BUG_: "\n\nBUG: This should include a source span!",
97621 x0a_More: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
97622 x0aRun_i: "\nRun in verbose mode to see all warnings.",
97623 x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
97624 x20in_in: " in interpolation here.\nIt may end up represented as ",
97625 x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
97626 x20is_av: " is available from multiple global modules.",
97627 x20is_no: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
97628 x20must_: " must not be greater than the number of characters in the file, ",
97629 x20repet: " repetitive deprecation warnings omitted.",
97630 x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
97631 x20was_a: ' was already loaded, so it can\'t be configured using "with".',
97632 x20was_n: " was not declared with !default in the @used module.",
97633 x20was_p: " was passed both by position and by name.",
97634 x21globa: "!global isn't allowed for variables in other modules.",
97635 x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
97636 x22x26__ma: '"&" may only used at the beginning of a compound selector.',
97637 x22x29__If: "\").\nIf you really want to use the color value here, use '",
97638 x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
97639 x22packa: '"package:" URLs aren\'t supported on this platform.',
97640 x24css_a: "$css and $module may not both be passed at once.",
97641 x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
97642 x24selec: "$selectors: At least one selector must be passed.",
97643 x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
97644 x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
97645 x29x0a_Morx20: ")\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
97646 x29x0a_Morx3a: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
97647 x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: $",
97648 x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
97649 x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
97650 x2c_whici: ", which is currently (incorrectly) converted to ",
97651 x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
97652 x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.\n",
97653 x3d_____: "===== asynchronous gap ===========================\n",
97654 x40_moz_: "@-moz-document is deprecated and support will be removed in Dart Sass 2.0.0.\n\nFor details, see http://bit.ly/MozDocument.",
97655 x40conte: "@content is only allowed within mixin declarations.",
97656 x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
97657 x40exten: "@extend may only be used within style rules.",
97658 x40forwa: "@forward rules must be written before any other rules.",
97659 x40funct: "@function if($condition, $if-true, $if-false) {",
97660 x40use_r: "@use rules must be written before any other rules.",
97661 A_list: "A list with more than one element must have an explicit separator.",
97662 ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
97663 An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
97664 An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
97665 As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
97666 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.",
97667 At_rul: "At-rules may not be used within nested declarations.",
97668 Cannotff: "Cannot extract a file path from a URI with a fragment component",
97669 Cannotfq: "Cannot extract a file path from a URI with a query component",
97670 Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
97671 Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
97672 Could_: 'Could not find an option with short name "-',
97673 CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
97674 Declarm: "Declarations may only be used within style rules.",
97675 Declarwa: 'Declarations whose names begin with "--" may not be nested.',
97676 Declarwu: 'Declarations whose names begin with "--" must have StringExpression values (was `',
97677 Either: "Either options.data or options.file must be set.",
97678 Entrie: "Entries may not be removed from MergedMapView.",
97679 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",
97680 Evalua: "Evaluation handles @include and its content block together.",
97681 Expand: "Expandos are not allowed on strings, numbers, booleans or null",
97682 Expectn: "Expected number, variable, function, or calculation.",
97683 Expectv: "Expected variable, mixin, or function name",
97684 Functi: "Functions may not be declared in control directives.",
97685 HSL_pa: "HSL parameters may not be passed along with HWB parameters.",
97686 If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
97687 In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
97688 Indent: "Indenting at the beginning of the document is illegal.",
97689 Interpn: "Interpolation isn't allowed in namespaces.",
97690 Interpp: "Interpolation isn't allowed in plain CSS.",
97691 Invali: 'Invalid return value for custom function "',
97692 It_s_n: "It's not clear which file to import. Found:\n",
97693 May_on: "May only contains Strings or Expressions.",
97694 Media_: "Media rules may not be used within nested declarations.",
97695 Mixinsb: "Mixins may not be declared in control directives.",
97696 Mixinscf: "Mixins may not contain function declarations.",
97697 Mixinscm: "Mixins may not contain mixin declarations.",
97698 Modulel: "Module loop: this module is already being loaded.",
97699 Modulen: "Module namespaces aren't allowed in plain CSS.",
97700 Nested: "Nested declarations aren't allowed in plain CSS.",
97701 New_en: "New entries may not be added to MergedMapView.",
97702 No_Sasc: "No Sass callable is currently being evaluated.",
97703 No_Sass: "No Sass stylesheet is currently being evaluated.",
97704 NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
97705 Only_2: "Only 2 slash-separated elements allowed, but ",
97706 Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
97707 Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
97708 Other_: "Other modules' members can't be defined with !global.",
97709 Passin: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
97710 Placeh: "Placeholder selectors aren't allowed here.",
97711 Plain_: "Plain CSS functions don't support keyword arguments.",
97712 Positi: "Positional arguments must come before keyword arguments.",
97713 Privat: "Private members can't be accessed from outside their modules.",
97714 RGB_pa: "RGB parameters may not be passed along with ",
97715 Sass_v: "Sass variables aren't allowed in plain CSS.",
97716 Silent: "Silent comments aren't allowed in plain CSS.",
97717 Soon__: "Soon, it will instead be correctly converted to ",
97718 Style_: "Style rules may not be used within nested declarations.",
97719 Suppor: "Supports rules may not be used within nested declarations.",
97720 The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
97721 The_ca: "The canonicalize() method must return a URL.",
97722 The_fie: "The findFileUrl() method must return a URL.",
97723 The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
97724 The_gi: "The given LineScannerState was not returned by this LineScanner.",
97725 The_lo: "The load() function must return an object with contents and syntax fields.",
97726 The_pa: "The parent selector isn't allowed in plain CSS.",
97727 The_sa: "The same variable may only be configured once.",
97728 The_ta: 'The target selector was not found.\nUse "@extend ',
97729 There_: "There's already a module with namespace \"",
97730 This_d: 'This declaration has no argument named "$',
97731 This_f: "This function isn't allowed in plain CSS.",
97732 This_ma: 'This module and the new module both define a variable named "$',
97733 This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
97734 This_s: "This selector doesn't have any properties and won't be rendered.",
97735 This_v: "This variable was not declared with !default in the @used module.",
97736 Top_le: 'Top-level selectors may not contain the parent selector "&".',
97737 Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
97738 Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
97739 Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
97740 Variab_: "Variable keyword argument map must have string keys.\n",
97741 Variabs: "Variable keyword arguments must be a map (was ",
97742 You_ma: "You may not @extend selectors across media queries.",
97743 You_pr: "You probably don't mean to use the color value ",
97744 x60_inst: "` instead.\nSee http://bit.ly/ExtendCompound for details.\n",
97745 addExt_: "addExtension() can't be called for a const ExtensionStore.",
97746 addExts: "addExtensions() can't be called for a const ExtensionStore.",
97747 addSel: "addSelector() can't be called for a const ExtensionStore.",
97748 compou: "compound selectors may no longer be extended.\nConsider `@extend ",
97749 conten: "content-exists() may only be called within a mixin.",
97750 math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
97751 must_b: "must be a UniversalSelector or a TypeSelector",
97752 parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
97753 semico: "semicolons aren't allowed in the indented syntax.",
97754 throug: "through() must return false for at least one parent of "
97755 };
97756 var type$ = (function rtii() {
97757 var findType = A.findType;
97758 return {
97759 $env_1_1_String: findType("@<String>"),
97760 ArgParser: findType("ArgParser"),
97761 Argument: findType("Argument"),
97762 ArgumentDeclaration: findType("ArgumentDeclaration"),
97763 ArgumentDeclaration_2: findType("ArgumentDeclaration0"),
97764 Argument_2: findType("Argument0"),
97765 AstNode: findType("AstNode"),
97766 AstNode_2: findType("AstNode0"),
97767 AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
97768 AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
97769 AsyncCallable: findType("AsyncCallable"),
97770 AsyncCallable_2: findType("AsyncCallable0"),
97771 AsyncImporter: findType("AsyncImporter0"),
97772 BuiltInCallable: findType("BuiltInCallable"),
97773 BuiltInCallable_2: findType("BuiltInCallable0"),
97774 BuiltInModule_AsyncBuiltInCallable: findType("BuiltInModule<AsyncBuiltInCallable>"),
97775 BuiltInModule_AsyncBuiltInCallable_2: findType("BuiltInModule0<AsyncBuiltInCallable0>"),
97776 BuiltInModule_BuiltInCallable: findType("BuiltInModule<BuiltInCallable>"),
97777 BuiltInModule_BuiltInCallable_2: findType("BuiltInModule0<BuiltInCallable0>"),
97778 Callable: findType("Callable"),
97779 Callable_2: findType("Callable0"),
97780 ChangeType: findType("ChangeType"),
97781 Combinator: findType("Combinator"),
97782 Combinator_2: findType("Combinator0"),
97783 Comparable_dynamic: findType("Comparable<@>"),
97784 Comparable_nullable_Object: findType("Comparable<Object?>"),
97785 CompileResult: findType("CompileResult"),
97786 CompileResult_2: findType("CompileResult0"),
97787 ComplexSelector: findType("ComplexSelector"),
97788 ComplexSelectorComponent: findType("ComplexSelectorComponent"),
97789 ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
97790 ComplexSelector_2: findType("ComplexSelector0"),
97791 CompoundSelector: findType("CompoundSelector"),
97792 CompoundSelector_2: findType("CompoundSelector0"),
97793 Configuration: findType("Configuration"),
97794 Configuration_2: findType("Configuration0"),
97795 ConfiguredValue: findType("ConfiguredValue"),
97796 ConfiguredValue_2: findType("ConfiguredValue0"),
97797 ConfiguredVariable: findType("ConfiguredVariable"),
97798 ConfiguredVariable_2: findType("ConfiguredVariable0"),
97799 ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
97800 ConstantStringMap_String_Null: findType("ConstantStringMap<String,Null>"),
97801 ConstantStringMap_String_num: findType("ConstantStringMap<String,num>"),
97802 CssAtRule: findType("CssAtRule"),
97803 CssAtRule_2: findType("CssAtRule0"),
97804 CssComment: findType("CssComment"),
97805 CssComment_2: findType("CssComment0"),
97806 CssImport: findType("CssImport"),
97807 CssImport_2: findType("CssImport0"),
97808 CssMediaQuery: findType("CssMediaQuery"),
97809 CssMediaQuery_2: findType("CssMediaQuery0"),
97810 CssMediaRule: findType("CssMediaRule"),
97811 CssMediaRule_2: findType("CssMediaRule0"),
97812 CssParentNode: findType("CssParentNode"),
97813 CssParentNode_2: findType("CssParentNode0"),
97814 CssStyleRule: findType("CssStyleRule"),
97815 CssStyleRule_2: findType("CssStyleRule0"),
97816 CssStylesheet: findType("CssStylesheet"),
97817 CssStylesheet_2: findType("CssStylesheet0"),
97818 CssSupportsRule: findType("CssSupportsRule"),
97819 CssSupportsRule_2: findType("CssSupportsRule0"),
97820 CssValue_List_String: findType("CssValue<List<String>>"),
97821 CssValue_List_String_2: findType("CssValue0<List<String>>"),
97822 CssValue_SelectorList: findType("CssValue<SelectorList>"),
97823 CssValue_SelectorList_2: findType("CssValue0<SelectorList0>"),
97824 CssValue_String: findType("CssValue<String>"),
97825 CssValue_String_2: findType("CssValue0<String>"),
97826 CssValue_Value: findType("CssValue<Value>"),
97827 CssValue_Value_2: findType("CssValue0<Value0>"),
97828 DateTime: findType("DateTime"),
97829 EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
97830 Error: findType("Error"),
97831 EvaluateResult: findType("EvaluateResult"),
97832 EvaluateResult_2: findType("EvaluateResult0"),
97833 EvaluationContext: findType("EvaluationContext"),
97834 EvaluationContext_2: findType("EvaluationContext0"),
97835 Exception: findType("Exception"),
97836 Expression: findType("Expression"),
97837 Expression_2: findType("Expression0"),
97838 Extender: findType("Extender"),
97839 Extender_2: findType("Extender0"),
97840 Extension: findType("Extension"),
97841 Extension_2: findType("Extension0"),
97842 FileSpan: findType("FileSpan"),
97843 FormatException: findType("FormatException"),
97844 Frame: findType("Frame"),
97845 Function: findType("Function"),
97846 FutureOr_EvaluateResult: findType("EvaluateResult/"),
97847 FutureOr_EvaluateResult_2: findType("EvaluateResult0/"),
97848 FutureOr_nullable_Uri: findType("Uri?/"),
97849 Future_dynamic: findType("Future<@>"),
97850 Future_void: findType("Future<~>"),
97851 IfClause: findType("IfClause"),
97852 IfClause_2: findType("IfClause0"),
97853 ImmutableList: findType("ImmutableList"),
97854 ImmutableMap: findType("ImmutableMap"),
97855 Import: findType("Import"),
97856 Import_2: findType("Import0"),
97857 Importer: findType("Importer0"),
97858 ImporterResult: findType("ImporterResult"),
97859 ImporterResult_2: findType("ImporterResult0"),
97860 InternalStyle: findType("InternalStyle"),
97861 Interpolation: findType("Interpolation"),
97862 InterpolationBuffer: findType("InterpolationBuffer"),
97863 InterpolationBuffer_2: findType("InterpolationBuffer0"),
97864 Interpolation_2: findType("Interpolation0"),
97865 Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
97866 Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
97867 Iterable_dynamic: findType("Iterable<@>"),
97868 JSArray_Argument: findType("JSArray<Argument>"),
97869 JSArray_Argument_2: findType("JSArray<Argument0>"),
97870 JSArray_AstNode: findType("JSArray<AstNode>"),
97871 JSArray_AstNode_2: findType("JSArray<AstNode0>"),
97872 JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
97873 JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
97874 JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
97875 JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
97876 JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
97877 JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
97878 JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
97879 JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
97880 JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
97881 JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
97882 JSArray_Callable: findType("JSArray<Callable>"),
97883 JSArray_Callable_2: findType("JSArray<Callable0>"),
97884 JSArray_Combinator: findType("JSArray<Combinator>"),
97885 JSArray_Combinator_2: findType("JSArray<Combinator0>"),
97886 JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
97887 JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
97888 JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
97889 JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
97890 JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
97891 JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
97892 JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
97893 JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
97894 JSArray_CssNode: findType("JSArray<CssNode>"),
97895 JSArray_CssNode_2: findType("JSArray<CssNode0>"),
97896 JSArray_Entry: findType("JSArray<Entry>"),
97897 JSArray_Expression: findType("JSArray<Expression>"),
97898 JSArray_Expression_2: findType("JSArray<Expression0>"),
97899 JSArray_Extender: findType("JSArray<Extender>"),
97900 JSArray_Extender_2: findType("JSArray<Extender0>"),
97901 JSArray_Extension: findType("JSArray<Extension>"),
97902 JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
97903 JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
97904 JSArray_Extension_2: findType("JSArray<Extension0>"),
97905 JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
97906 JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
97907 JSArray_Frame: findType("JSArray<Frame>"),
97908 JSArray_IfClause: findType("JSArray<IfClause>"),
97909 JSArray_IfClause_2: findType("JSArray<IfClause0>"),
97910 JSArray_Import: findType("JSArray<Import>"),
97911 JSArray_Import_2: findType("JSArray<Import0>"),
97912 JSArray_Importer: findType("JSArray<Importer0>"),
97913 JSArray_Importer_2: findType("JSArray<Importer>"),
97914 JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
97915 JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
97916 JSArray_JSFunction: findType("JSArray<JSFunction0>"),
97917 JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
97918 JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
97919 JSArray_List_Extender: findType("JSArray<List<Extender>>"),
97920 JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
97921 JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
97922 JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
97923 JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
97924 JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
97925 JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
97926 JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
97927 JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable>>"),
97928 JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable0>>"),
97929 JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
97930 JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
97931 JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
97932 JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
97933 JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
97934 JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
97935 JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
97936 JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
97937 JSArray_Module_AsyncCallable: findType("JSArray<Module<AsyncCallable>>"),
97938 JSArray_Module_AsyncCallable_2: findType("JSArray<Module0<AsyncCallable0>>"),
97939 JSArray_Module_Callable: findType("JSArray<Module<Callable>>"),
97940 JSArray_Module_Callable_2: findType("JSArray<Module0<Callable0>>"),
97941 JSArray_Object: findType("JSArray<Object>"),
97942 JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
97943 JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
97944 JSArray_SassList: findType("JSArray<SassList>"),
97945 JSArray_SassList_2: findType("JSArray<SassList0>"),
97946 JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
97947 JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
97948 JSArray_Statement: findType("JSArray<Statement>"),
97949 JSArray_Statement_2: findType("JSArray<Statement0>"),
97950 JSArray_String: findType("JSArray<String>"),
97951 JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
97952 JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
97953 JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
97954 JSArray_Trace: findType("JSArray<Trace>"),
97955 JSArray_Tuple2_Expression_Expression: findType("JSArray<Tuple2<Expression,Expression>>"),
97956 JSArray_Tuple2_Expression_Expression_2: findType("JSArray<Tuple2<Expression0,Expression0>>"),
97957 JSArray_Tuple2_String_AstNode: findType("JSArray<Tuple2<String,AstNode>>"),
97958 JSArray_Tuple2_String_AstNode_2: findType("JSArray<Tuple2<String,AstNode0>>"),
97959 JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("JSArray<Tuple2<ArgumentDeclaration,Value(List<Value>)>>"),
97960 JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("JSArray<Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>>"),
97961 JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("JSArray<Tuple4<Uri,bool,Importer,Uri?>>"),
97962 JSArray_Uri: findType("JSArray<Uri>"),
97963 JSArray_UseRule: findType("JSArray<UseRule>"),
97964 JSArray_UseRule_2: findType("JSArray<UseRule0>"),
97965 JSArray_Value: findType("JSArray<Value>"),
97966 JSArray_Value_2: findType("JSArray<Value0>"),
97967 JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
97968 JSArray__Highlight: findType("JSArray<_Highlight>"),
97969 JSArray__Line: findType("JSArray<_Line>"),
97970 JSArray_bool: findType("JSArray<bool>"),
97971 JSArray_dynamic: findType("JSArray<@>"),
97972 JSArray_int: findType("JSArray<int>"),
97973 JSArray_nullable_String: findType("JSArray<String?>"),
97974 JSClass: findType("JSClass0"),
97975 JSFunction: findType("JSFunction0"),
97976 JSNull: findType("JSNull"),
97977 JSUrl: findType("JSUrl0"),
97978 JavaScriptFunction: findType("JavaScriptFunction"),
97979 JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
97980 JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
97981 JsSystemError: findType("JsSystemError"),
97982 LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
97983 LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
97984 List_ComplexSelector: findType("List<ComplexSelector>"),
97985 List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
97986 List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
97987 List_ComplexSelector_2: findType("List<ComplexSelector0>"),
97988 List_CssMediaQuery: findType("List<CssMediaQuery>"),
97989 List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
97990 List_Extension: findType("List<Extension>"),
97991 List_ExtensionStore: findType("List<ExtensionStore>"),
97992 List_ExtensionStore_2: findType("List<ExtensionStore0>"),
97993 List_Extension_2: findType("List<Extension0>"),
97994 List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
97995 List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
97996 List_Module_AsyncCallable: findType("List<Module<AsyncCallable>>"),
97997 List_Module_AsyncCallable_2: findType("List<Module0<AsyncCallable0>>"),
97998 List_Module_Callable: findType("List<Module<Callable>>"),
97999 List_Module_Callable_2: findType("List<Module0<Callable0>>"),
98000 List_String: findType("List<String>"),
98001 List_Value: findType("List<Value>"),
98002 List_Value_2: findType("List<Value0>"),
98003 List_WatchEvent: findType("List<WatchEvent>"),
98004 List_dynamic: findType("List<@>"),
98005 List_int: findType("List<int>"),
98006 List_nullable_Object: findType("List<Object?>"),
98007 MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module<AsyncCallable>>"),
98008 MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module0<AsyncCallable0>>"),
98009 MapKeySet_Module_Callable: findType("MapKeySet<Module<Callable>>"),
98010 MapKeySet_Module_Callable_2: findType("MapKeySet<Module0<Callable0>>"),
98011 MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
98012 MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
98013 MapKeySet_String: findType("MapKeySet<String>"),
98014 MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
98015 Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
98016 Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
98017 Map_String_AstNode: findType("Map<String,AstNode>"),
98018 Map_String_AstNode_2: findType("Map<String,AstNode0>"),
98019 Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
98020 Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
98021 Map_String_Callable: findType("Map<String,Callable>"),
98022 Map_String_Callable_2: findType("Map<String,Callable0>"),
98023 Map_String_Value: findType("Map<String,Value>"),
98024 Map_String_Value_2: findType("Map<String,Value0>"),
98025 Map_String_dynamic: findType("Map<String,@>"),
98026 Map_dynamic_dynamic: findType("Map<@,@>"),
98027 MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
98028 MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
98029 MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
98030 MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
98031 MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
98032 MediaQuerySuccessfulMergeResult: findType("MediaQuerySuccessfulMergeResult"),
98033 MediaQuerySuccessfulMergeResult_2: findType("MediaQuerySuccessfulMergeResult0"),
98034 MixinRule: findType("MixinRule"),
98035 MixinRule_2: findType("MixinRule0"),
98036 ModifiableCssAtRule: findType("ModifiableCssAtRule"),
98037 ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
98038 ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
98039 ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
98040 ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
98041 ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
98042 ModifiableCssNode: findType("ModifiableCssNode"),
98043 ModifiableCssNode_2: findType("ModifiableCssNode0"),
98044 ModifiableCssParentNode: findType("ModifiableCssParentNode"),
98045 ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
98046 ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
98047 ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
98048 ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
98049 ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
98050 ModifiableCssValue_SelectorList: findType("ModifiableCssValue<SelectorList>"),
98051 ModifiableCssValue_SelectorList_2: findType("ModifiableCssValue0<SelectorList0>"),
98052 Module_AsyncCallable: findType("Module<AsyncCallable>"),
98053 Module_AsyncCallable_2: findType("Module0<AsyncCallable0>"),
98054 Module_Callable: findType("Module<Callable>"),
98055 Module_Callable_2: findType("Module0<Callable0>"),
98056 NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
98057 NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
98058 NativeUint8List: findType("NativeUint8List"),
98059 Never: findType("0&"),
98060 NodeCompileResult: findType("NodeCompileResult"),
98061 NodeImporter: findType("NodeImporter0"),
98062 NodeImporterResult: findType("NodeImporterResult0"),
98063 NodeImporterResult_2: findType("NodeImporterResult1"),
98064 Null: findType("Null"),
98065 Object: findType("Object"),
98066 Option: findType("Option"),
98067 ParentSelector: findType("ParentSelector"),
98068 ParentSelector_2: findType("ParentSelector0"),
98069 PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
98070 PathMap_String: findType("PathMap<String>"),
98071 PathMap_nullable_String: findType("PathMap<String?>"),
98072 Promise: findType("Promise"),
98073 PseudoSelector: findType("PseudoSelector"),
98074 PseudoSelector_2: findType("PseudoSelector0"),
98075 RangeError: findType("RangeError"),
98076 RegExpMatch: findType("RegExpMatch"),
98077 RenderContextOptions: findType("RenderContextOptions0"),
98078 RenderResult: findType("RenderResult"),
98079 Result_String: findType("Result<String>"),
98080 ReversedListIterable_Combinator: findType("ReversedListIterable<Combinator>"),
98081 ReversedListIterable_Combinator_2: findType("ReversedListIterable<Combinator0>"),
98082 SassArgumentList: findType("SassArgumentList"),
98083 SassArgumentList_2: findType("SassArgumentList0"),
98084 SassBoolean: findType("SassBoolean"),
98085 SassBoolean_2: findType("SassBoolean0"),
98086 SassColor: findType("SassColor"),
98087 SassColor_2: findType("SassColor0"),
98088 SassList: findType("SassList"),
98089 SassList_2: findType("SassList0"),
98090 SassMap: findType("SassMap"),
98091 SassMap_2: findType("SassMap0"),
98092 SassNumber: findType("SassNumber"),
98093 SassNumber_2: findType("SassNumber0"),
98094 SassRuntimeException: findType("SassRuntimeException"),
98095 SassRuntimeException_2: findType("SassRuntimeException0"),
98096 SassString: findType("SassString"),
98097 SassString_2: findType("SassString0"),
98098 SelectorList: findType("SelectorList"),
98099 SelectorList_2: findType("SelectorList0"),
98100 Set_ModifiableCssValue_SelectorList: findType("Set<ModifiableCssValue<SelectorList>>"),
98101 Set_ModifiableCssValue_SelectorList_2: findType("Set<ModifiableCssValue0<SelectorList0>>"),
98102 SimpleSelector: findType("SimpleSelector"),
98103 SimpleSelector_2: findType("SimpleSelector0"),
98104 SourceFile: findType("SourceFile"),
98105 SourceLocation: findType("SourceLocation"),
98106 SourceSpan: findType("SourceSpan"),
98107 SourceSpanFormatException: findType("SourceSpanFormatException"),
98108 SourceSpanWithContext: findType("SourceSpanWithContext"),
98109 SpanColorFormat: findType("SpanColorFormat"),
98110 SpanColorFormat_2: findType("SpanColorFormat0"),
98111 StackTrace: findType("StackTrace"),
98112 Statement: findType("Statement"),
98113 Statement_2: findType("Statement0"),
98114 StaticImport: findType("StaticImport"),
98115 StaticImport_2: findType("StaticImport0"),
98116 StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
98117 StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
98118 StreamQueue_String: findType("StreamQueue<String>"),
98119 Stream_WatchEvent: findType("Stream<WatchEvent>"),
98120 String: findType("String"),
98121 StylesheetNode: findType("StylesheetNode"),
98122 Timer: findType("Timer"),
98123 Trace: findType("Trace"),
98124 Tuple2_Expression_Expression: findType("Tuple2<Expression,Expression>"),
98125 Tuple2_Expression_Expression_2: findType("Tuple2<Expression0,Expression0>"),
98126 Tuple2_ModifiableCssStylesheet_ExtensionStore: findType("Tuple2<ModifiableCssStylesheet,ExtensionStore>"),
98127 Tuple2_ModifiableCssStylesheet_ExtensionStore_2: findType("Tuple2<ModifiableCssStylesheet0,ExtensionStore0>"),
98128 Tuple2_SassNumber_SassNumber: findType("Tuple2<SassNumber,SassNumber>"),
98129 Tuple2_SassNumber_SassNumber_2: findType("Tuple2<SassNumber0,SassNumber0>"),
98130 Tuple2_String_ArgumentDeclaration: findType("Tuple2<String,ArgumentDeclaration0>"),
98131 Tuple2_String_AstNode: findType("Tuple2<String,AstNode>"),
98132 Tuple2_String_AstNode_2: findType("Tuple2<String,AstNode0>"),
98133 Tuple2_String_SourceSpan: findType("Tuple2<String,SourceSpan>"),
98134 Tuple2_String_String: findType("Tuple2<String,String>"),
98135 Tuple2_Uri_bool: findType("Tuple2<Uri,bool>"),
98136 Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value/(List<Value>)>"),
98137 Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0/(List<Value0>)>"),
98138 Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value(List<Value>)>"),
98139 Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>"),
98140 Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList: findType("Tuple2<ExtensionStore,Map<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>>"),
98141 Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2: findType("Tuple2<ExtensionStore0,Map<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>>"),
98142 Tuple2_of_List_Expression_and_Map_String_Expression: findType("Tuple2<List<Expression>,Map<String,Expression>>"),
98143 Tuple2_of_List_Expression_and_Map_String_Expression_2: findType("Tuple2<List<Expression0>,Map<String,Expression0>>"),
98144 Tuple2_of_List_Uri_and_List_Uri: findType("Tuple2<List<Uri>,List<Uri>>"),
98145 Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode: findType("Tuple2<Map<Uri,StylesheetNode?>,Map<Uri,StylesheetNode?>>"),
98146 Tuple2_of_Set_String_and_Set_String: findType("Tuple2<Set<String>,Set<String>>"),
98147 Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation: findType("Tuple2<SupportsCondition?,Interpolation?>"),
98148 Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation_2: findType("Tuple2<SupportsCondition0?,Interpolation0?>"),
98149 Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>"),
98150 Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>"),
98151 Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>"),
98152 Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>"),
98153 Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri: findType("Tuple4<Uri,bool,AsyncImporter,Uri?>"),
98154 Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2: findType("Tuple4<Uri,bool,AsyncImporter0,Uri?>"),
98155 Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("Tuple4<Uri,bool,Importer,Uri?>"),
98156 Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2: findType("Tuple4<Uri,bool,Importer0,Uri?>"),
98157 TypeError: findType("TypeError"),
98158 Uint8List: findType("Uint8List"),
98159 UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
98160 UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
98161 UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
98162 UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
98163 UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
98164 UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
98165 UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
98166 UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
98167 UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
98168 UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
98169 UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
98170 UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
98171 UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
98172 UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
98173 UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
98174 UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
98175 UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
98176 UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
98177 UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
98178 UnmodifiableSetView_String: findType("UnmodifiableSetView<String>"),
98179 UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView<StylesheetNode>"),
98180 UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
98181 UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
98182 Uri: findType("Uri"),
98183 UseRule: findType("UseRule"),
98184 UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
98185 UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
98186 UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
98187 UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
98188 Value: findType("Value"),
98189 Value_2: findType("Value0"),
98190 Value_Function_List_Value: findType("Value(List<Value>)"),
98191 Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
98192 VariableDeclaration: findType("VariableDeclaration"),
98193 VariableDeclaration_2: findType("VariableDeclaration0"),
98194 WatchEvent: findType("WatchEvent"),
98195 WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
98196 WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
98197 WhereIterable_String: findType("WhereIterable<String>"),
98198 WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
98199 WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
98200 WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
98201 _ArgumentResults: findType("_ArgumentResults0"),
98202 _ArgumentResults_2: findType("_ArgumentResults2"),
98203 _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
98204 _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
98205 _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
98206 _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
98207 _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
98208 _EventRequest_dynamic: findType("_EventRequest<@>"),
98209 _Future_Object: findType("_Future<Object>"),
98210 _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
98211 _Future_String: findType("_Future<String>"),
98212 _Future_bool: findType("_Future<bool>"),
98213 _Future_dynamic: findType("_Future<@>"),
98214 _Future_int: findType("_Future<int>"),
98215 _Future_nullable_Object: findType("_Future<Object?>"),
98216 _Future_void: findType("_Future<~>"),
98217 _Highlight: findType("_Highlight"),
98218 _IdentityHashMap_dynamic_dynamic: findType("_IdentityHashMap<@,@>"),
98219 _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
98220 _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
98221 _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
98222 _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
98223 _LoadedStylesheet: findType("_LoadedStylesheet0"),
98224 _LoadedStylesheet_2: findType("_LoadedStylesheet2"),
98225 _MapEntry: findType("_MapEntry"),
98226 _NodeException: findType("_NodeException"),
98227 _UnmodifiableSet_String: findType("_UnmodifiableSet<String>"),
98228 bool: findType("bool"),
98229 double: findType("double"),
98230 dynamic: findType("@"),
98231 dynamic_Function: findType("@()"),
98232 dynamic_Function_Object: findType("@(Object)"),
98233 dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
98234 int: findType("int"),
98235 legacy_Never: findType("0&*"),
98236 legacy_Object: findType("Object*"),
98237 nullable_AstNode: findType("AstNode?"),
98238 nullable_AstNode_2: findType("AstNode0?"),
98239 nullable_FileSpan: findType("FileSpan?"),
98240 nullable_Future_Null: findType("Future<Null>?"),
98241 nullable_Future_void: findType("Future<~>?"),
98242 nullable_ImporterResult: findType("ImporterResult0?"),
98243 nullable_List_ComplexSelector: findType("List<ComplexSelector>?"),
98244 nullable_List_ComplexSelector_2: findType("List<ComplexSelector0>?"),
98245 nullable_Object: findType("Object?"),
98246 nullable_SourceFile: findType("SourceFile?"),
98247 nullable_SourceSpan: findType("SourceSpan?"),
98248 nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
98249 nullable_String: findType("String?"),
98250 nullable_Stylesheet: findType("Stylesheet?"),
98251 nullable_StylesheetNode: findType("StylesheetNode?"),
98252 nullable_Stylesheet_2: findType("Stylesheet0?"),
98253 nullable_Tuple2_String_String: findType("Tuple2<String,String>?"),
98254 nullable_Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>?"),
98255 nullable_Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>?"),
98256 nullable_Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>?"),
98257 nullable_Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>?"),
98258 nullable_Uri: findType("Uri?"),
98259 nullable_Value: findType("Value?"),
98260 nullable_Value_2: findType("Value0?"),
98261 nullable__ConstructorOptions: findType("_ConstructorOptions?"),
98262 nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
98263 nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
98264 nullable__Highlight: findType("_Highlight?"),
98265 nullable__LoadedStylesheet: findType("_LoadedStylesheet0?"),
98266 nullable__LoadedStylesheet_2: findType("_LoadedStylesheet2?"),
98267 num: findType("num"),
98268 void: findType("~"),
98269 void_Function_Object: findType("~(Object)"),
98270 void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
98271 };
98272 })();
98273 (function constants() {
98274 var makeConstList = hunkHelpers.makeConstList;
98275 B.Interceptor_methods = J.Interceptor.prototype;
98276 B.JSArray_methods = J.JSArray.prototype;
98277 B.JSBool_methods = J.JSBool.prototype;
98278 B.JSInt_methods = J.JSInt.prototype;
98279 B.JSNumber_methods = J.JSNumber.prototype;
98280 B.JSString_methods = J.JSString.prototype;
98281 B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
98282 B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
98283 B.NativeUint32List_methods = A.NativeUint32List.prototype;
98284 B.NativeUint8List_methods = A.NativeUint8List.prototype;
98285 B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
98286 B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
98287 B.AsciiEncoder_127 = new A.AsciiEncoder(127);
98288 B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
98289 B.AtRootQuery_UsS = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
98290 B.AtRootQuery_UsS0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
98291 B.AttributeOperator_4L5 = new A.AttributeOperator("^=");
98292 B.AttributeOperator_4L50 = new A.AttributeOperator0("^=");
98293 B.AttributeOperator_AuK = new A.AttributeOperator("|=");
98294 B.AttributeOperator_AuK0 = new A.AttributeOperator0("|=");
98295 B.AttributeOperator_fz1 = new A.AttributeOperator("~=");
98296 B.AttributeOperator_fz10 = new A.AttributeOperator0("~=");
98297 B.AttributeOperator_gqZ = new A.AttributeOperator("*=");
98298 B.AttributeOperator_gqZ0 = new A.AttributeOperator0("*=");
98299 B.AttributeOperator_mOX = new A.AttributeOperator("$=");
98300 B.AttributeOperator_mOX0 = new A.AttributeOperator0("$=");
98301 B.AttributeOperator_sEs = new A.AttributeOperator("=");
98302 B.AttributeOperator_sEs0 = new A.AttributeOperator0("=");
98303 B.BinaryOperator_1da = new A.BinaryOperator("greater than or equals", ">=", 4);
98304 B.BinaryOperator_1da0 = new A.BinaryOperator0("greater than or equals", ">=", 4);
98305 B.BinaryOperator_2ad = new A.BinaryOperator("modulo", "%", 6);
98306 B.BinaryOperator_2ad0 = new A.BinaryOperator0("modulo", "%", 6);
98307 B.BinaryOperator_33h = new A.BinaryOperator("less than or equals", "<=", 4);
98308 B.BinaryOperator_33h0 = new A.BinaryOperator0("less than or equals", "<=", 4);
98309 B.BinaryOperator_8qt = new A.BinaryOperator("less than", "<", 4);
98310 B.BinaryOperator_8qt0 = new A.BinaryOperator0("less than", "<", 4);
98311 B.BinaryOperator_AcR = new A.BinaryOperator("greater than", ">", 4);
98312 B.BinaryOperator_AcR0 = new A.BinaryOperator("plus", "+", 5);
98313 B.BinaryOperator_AcR1 = new A.BinaryOperator0("greater than", ">", 4);
98314 B.BinaryOperator_AcR2 = new A.BinaryOperator0("plus", "+", 5);
98315 B.BinaryOperator_O1M = new A.BinaryOperator("times", "*", 6);
98316 B.BinaryOperator_O1M0 = new A.BinaryOperator0("times", "*", 6);
98317 B.BinaryOperator_RTB = new A.BinaryOperator("divided by", "/", 6);
98318 B.BinaryOperator_RTB0 = new A.BinaryOperator0("divided by", "/", 6);
98319 B.BinaryOperator_YlX = new A.BinaryOperator("equals", "==", 3);
98320 B.BinaryOperator_YlX0 = new A.BinaryOperator0("equals", "==", 3);
98321 B.BinaryOperator_and_and_2 = new A.BinaryOperator("and", "and", 2);
98322 B.BinaryOperator_and_and_20 = new A.BinaryOperator0("and", "and", 2);
98323 B.BinaryOperator_i5H = new A.BinaryOperator("not equals", "!=", 3);
98324 B.BinaryOperator_i5H0 = new A.BinaryOperator0("not equals", "!=", 3);
98325 B.BinaryOperator_iyO = new A.BinaryOperator("minus", "-", 5);
98326 B.BinaryOperator_iyO0 = new A.BinaryOperator0("minus", "-", 5);
98327 B.BinaryOperator_kjl = new A.BinaryOperator("single equals", "=", 0);
98328 B.BinaryOperator_kjl0 = new A.BinaryOperator0("single equals", "=", 0);
98329 B.BinaryOperator_or_or_1 = new A.BinaryOperator("or", "or", 1);
98330 B.BinaryOperator_or_or_10 = new A.BinaryOperator0("or", "or", 1);
98331 B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
98332 B.C_AsciiCodec = new A.AsciiCodec();
98333 B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
98334 B.C_Base64Encoder = new A.Base64Encoder();
98335 B.C_Base64Codec = new A.Base64Codec();
98336 B.C_DefaultEquality = new A.DefaultEquality();
98337 B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
98338 B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
98339 B.C_EmptyIterator = new A.EmptyIterator();
98340 B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
98341 B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
98342 B.C_IterableEquality = new A.IterableEquality();
98343 B.C_JS_CONST = function getTagFallback(o) {
98344 var s = Object.prototype.toString.call(o);
98345 return s.substring(8, s.length - 1);
98346};
98347 B.C_JS_CONST0 = function() {
98348 var toStringFunction = Object.prototype.toString;
98349 function getTag(o) {
98350 var s = toStringFunction.call(o);
98351 return s.substring(8, s.length - 1);
98352 }
98353 function getUnknownTag(object, tag) {
98354 if (/^HTML[A-Z].*Element$/.test(tag)) {
98355 var name = toStringFunction.call(object);
98356 if (name == "[object Object]") return null;
98357 return "HTMLElement";
98358 }
98359 }
98360 function getUnknownTagGenericBrowser(object, tag) {
98361 if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement";
98362 return getUnknownTag(object, tag);
98363 }
98364 function prototypeForTag(tag) {
98365 if (typeof window == "undefined") return null;
98366 if (typeof window[tag] == "undefined") return null;
98367 var constructor = window[tag];
98368 if (typeof constructor != "function") return null;
98369 return constructor.prototype;
98370 }
98371 function discriminator(tag) { return null; }
98372 var isBrowser = typeof navigator == "object";
98373 return {
98374 getTag: getTag,
98375 getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
98376 prototypeForTag: prototypeForTag,
98377 discriminator: discriminator };
98378};
98379 B.C_JS_CONST6 = function(getTagFallback) {
98380 return function(hooks) {
98381 if (typeof navigator != "object") return hooks;
98382 var ua = navigator.userAgent;
98383 if (ua.indexOf("DumpRenderTree") >= 0) return hooks;
98384 if (ua.indexOf("Chrome") >= 0) {
98385 function confirm(p) {
98386 return typeof window == "object" && window[p] && window[p].name == p;
98387 }
98388 if (confirm("Window") && confirm("HTMLElement")) return hooks;
98389 }
98390 hooks.getTag = getTagFallback;
98391 };
98392};
98393 B.C_JS_CONST1 = function(hooks) {
98394 if (typeof dartExperimentalFixupGetTag != "function") return hooks;
98395 hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
98396};
98397 B.C_JS_CONST2 = function(hooks) {
98398 var getTag = hooks.getTag;
98399 var prototypeForTag = hooks.prototypeForTag;
98400 function getTagFixed(o) {
98401 var tag = getTag(o);
98402 if (tag == "Document") {
98403 if (!!o.xmlVersion) return "!Document";
98404 return "!HTMLDocument";
98405 }
98406 return tag;
98407 }
98408 function prototypeForTagFixed(tag) {
98409 if (tag == "Document") return null;
98410 return prototypeForTag(tag);
98411 }
98412 hooks.getTag = getTagFixed;
98413 hooks.prototypeForTag = prototypeForTagFixed;
98414};
98415 B.C_JS_CONST5 = function(hooks) {
98416 var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
98417 if (userAgent.indexOf("Firefox") == -1) return hooks;
98418 var getTag = hooks.getTag;
98419 var quickMap = {
98420 "BeforeUnloadEvent": "Event",
98421 "DataTransfer": "Clipboard",
98422 "GeoGeolocation": "Geolocation",
98423 "Location": "!Location",
98424 "WorkerMessageEvent": "MessageEvent",
98425 "XMLDocument": "!Document"};
98426 function getTagFirefox(o) {
98427 var tag = getTag(o);
98428 return quickMap[tag] || tag;
98429 }
98430 hooks.getTag = getTagFirefox;
98431};
98432 B.C_JS_CONST4 = function(hooks) {
98433 var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
98434 if (userAgent.indexOf("Trident/") == -1) return hooks;
98435 var getTag = hooks.getTag;
98436 var quickMap = {
98437 "BeforeUnloadEvent": "Event",
98438 "DataTransfer": "Clipboard",
98439 "HTMLDDElement": "HTMLElement",
98440 "HTMLDTElement": "HTMLElement",
98441 "HTMLPhraseElement": "HTMLElement",
98442 "Position": "Geoposition"
98443 };
98444 function getTagIE(o) {
98445 var tag = getTag(o);
98446 var newTag = quickMap[tag];
98447 if (newTag) return newTag;
98448 if (tag == "Object") {
98449 if (window.DataView && (o instanceof window.DataView)) return "DataView";
98450 }
98451 return tag;
98452 }
98453 function prototypeForTagIE(tag) {
98454 var constructor = window[tag];
98455 if (constructor == null) return null;
98456 return constructor.prototype;
98457 }
98458 hooks.getTag = getTagIE;
98459 hooks.prototypeForTag = prototypeForTagIE;
98460};
98461 B.C_JS_CONST3 = function(hooks) { return hooks; }
98462;
98463 B.C_JsonCodec = new A.JsonCodec();
98464 B.C_LineFeed = new A.LineFeed();
98465 B.C_ListEquality0 = new A.ListEquality();
98466 B.C_ListEquality = new A.ListEquality();
98467 B.C_MapEquality = new A.MapEquality();
98468 B.C_OutOfMemoryError = new A.OutOfMemoryError();
98469 B.C_SentinelValue = new A.SentinelValue();
98470 B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
98471 B.C_Utf8Codec = new A.Utf8Codec();
98472 B.C_Utf8Encoder = new A.Utf8Encoder();
98473 B.C__DelayedDone = new A._DelayedDone();
98474 B.C__HasContentVisitor = new A._HasContentVisitor();
98475 B.C__HasContentVisitor0 = new A._HasContentVisitor0();
98476 B.C__JSRandom = new A._JSRandom();
98477 B.C__Required = new A._Required();
98478 B.C__RootZone = new A._RootZone();
98479 B.C__SassNull = new A._SassNull();
98480 B.C__SassNull0 = new A._SassNull0();
98481 B.CalculationOperator_Dih = new A.CalculationOperator("times", "*", 2);
98482 B.CalculationOperator_Dih0 = new A.CalculationOperator0("times", "*", 2);
98483 B.CalculationOperator_Iem = new A.CalculationOperator("plus", "+", 1);
98484 B.CalculationOperator_Iem0 = new A.CalculationOperator0("plus", "+", 1);
98485 B.CalculationOperator_jB6 = new A.CalculationOperator("divided by", "/", 2);
98486 B.CalculationOperator_jB60 = new A.CalculationOperator0("divided by", "/", 2);
98487 B.CalculationOperator_uti = new A.CalculationOperator("minus", "-", 1);
98488 B.CalculationOperator_uti0 = new A.CalculationOperator0("minus", "-", 1);
98489 B.ChangeType_add = new A.ChangeType("add");
98490 B.ChangeType_modify = new A.ChangeType("modify");
98491 B.ChangeType_remove = new A.ChangeType("remove");
98492 B.Combinator_CzM = new A.Combinator("~");
98493 B.Combinator_CzM0 = new A.Combinator0("~");
98494 B.Combinator_sgq = new A.Combinator(">");
98495 B.Combinator_sgq0 = new A.Combinator0(">");
98496 B.Combinator_uzg = new A.Combinator("+");
98497 B.Combinator_uzg0 = new A.Combinator0("+");
98498 B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
98499 B.Map_empty11 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue>"));
98500 B.Configuration_Map_empty = new A.Configuration(B.Map_empty11);
98501 B.Map_empty12 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue0>"));
98502 B.Configuration_Map_empty0 = new A.Configuration0(B.Map_empty12);
98503 B.Duration_0 = new A.Duration(0);
98504 B.ExtendMode_allTargets = new A.ExtendMode("allTargets");
98505 B.ExtendMode_allTargets0 = new A.ExtendMode0("allTargets");
98506 B.ExtendMode_normal = new A.ExtendMode("normal");
98507 B.ExtendMode_normal0 = new A.ExtendMode0("normal");
98508 B.ExtendMode_replace = new A.ExtendMode("replace");
98509 B.ExtendMode_replace0 = new A.ExtendMode0("replace");
98510 B.JsonEncoder_null = new A.JsonEncoder(null);
98511 B.LineFeed_D6m = new A.LineFeed0("lf", "\n");
98512 B.LineFeed_Mss = new A.LineFeed0("crlf", "\r\n");
98513 B.LineFeed_a1Y = new A.LineFeed0("lfcr", "\n\r");
98514 B.LineFeed_kMT = new A.LineFeed0("cr", "\r");
98515 B.ListSeparator_1gm = new A.ListSeparator("slash", "/");
98516 B.ListSeparator_1gm0 = new A.ListSeparator0("slash", "/");
98517 B.ListSeparator_kWM = new A.ListSeparator("comma", ",");
98518 B.ListSeparator_kWM0 = new A.ListSeparator0("comma", ",");
98519 B.ListSeparator_undecided_null = new A.ListSeparator("undecided", null);
98520 B.ListSeparator_undecided_null0 = new A.ListSeparator0("undecided", null);
98521 B.ListSeparator_woc = new A.ListSeparator("space", " ");
98522 B.ListSeparator_woc0 = new A.ListSeparator0("space", " ");
98523 B.List_2Vk = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int);
98524 B.List_Opy = A._setArrayType(makeConstList(["em", "ex", "ch", "rem", "vw", "vh", "vmin", "vmax", "cm", "mm", "q", "in", "pt", "pc", "px"]), type$.JSArray_String);
98525 B.Map_Op0VJ = new A.ConstantStringMap(15, {em: null, ex: null, ch: null, rem: null, vw: null, vh: null, vmin: null, vmax: null, cm: null, mm: null, q: null, in: null, pt: null, pc: null, px: null}, B.List_Opy, type$.ConstantStringMap_String_Null);
98526 B.Set_Opyzl = new A._UnmodifiableSet(B.Map_Op0VJ, type$._UnmodifiableSet_String);
98527 B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
98528 B.Map_EGso3 = new A.ConstantStringMap(4, {deg: null, grad: null, rad: null, turn: null}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_Null);
98529 B.Set_EGJh = new A._UnmodifiableSet(B.Map_EGso3, type$._UnmodifiableSet_String);
98530 B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
98531 B.Map_maDht = new A.ConstantStringMap(2, {s: null, ms: null}, B.List_s_ms, type$.ConstantStringMap_String_Null);
98532 B.Set_maSD = new A._UnmodifiableSet(B.Map_maDht, type$._UnmodifiableSet_String);
98533 B.List_hz_khz = A._setArrayType(makeConstList(["hz", "khz"]), type$.JSArray_String);
98534 B.Map_kfoGx = new A.ConstantStringMap(2, {hz: null, khz: null}, B.List_hz_khz, type$.ConstantStringMap_String_Null);
98535 B.Set_kfn1 = new A._UnmodifiableSet(B.Map_kfoGx, type$._UnmodifiableSet_String);
98536 B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
98537 B.Map_H20 = new A.ConstantStringMap(3, {dpi: null, dpcm: null, dppx: null}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_Null);
98538 B.Set_H2nB4 = new A._UnmodifiableSet(B.Map_H20, type$._UnmodifiableSet_String);
98539 B.List_AqW = A._setArrayType(makeConstList([B.Set_Opyzl, B.Set_EGJh, B.Set_maSD, B.Set_kfn1, B.Set_H2nB4]), A.findType("JSArray<Set<String>>"));
98540 B.List_CVk = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int);
98541 B.List_JYB = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int);
98542 B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Argument);
98543 B.List_empty18 = A._setArrayType(makeConstList([]), type$.JSArray_Argument_2);
98544 B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
98545 B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
98546 B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
98547 B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
98548 B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
98549 B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
98550 B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
98551 B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
98552 B.List_empty7 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
98553 B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
98554 B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
98555 B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
98556 B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_Importer);
98557 B.List_empty3 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module<0&>>"));
98558 B.List_empty13 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
98559 B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
98560 B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
98561 B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
98562 B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_int);
98563 B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
98564 B.List_gRj = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int);
98565 B.List_nxB = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int);
98566 B.List_qFt = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int);
98567 B.List_qNA = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int);
98568 B.List_qg40 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
98569 B.List_qg4 = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
98570 B.List_K2O = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px", "deg", "grad", "rad", "turn", "s", "ms", "Hz", "kHz", "dpi", "dpcm", "dppx"]), type$.JSArray_String);
98571 B.List_aha = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
98572 B.Map_ahsJO = new A.ConstantStringMap(7, {in: 1, cm: 0.39370078740157477, pc: 0.16666666666666666, mm: 0.03937007874015748, q: 0.00984251968503937, pt: 0.013888888888888888, px: 0.010416666666666666}, B.List_aha, type$.ConstantStringMap_String_num);
98573 B.Map_ahM6L = new A.ConstantStringMap(7, {in: 2.54, cm: 1, pc: 0.42333333333333334, mm: 0.1, q: 0.025, pt: 0.035277777777777776, px: 0.026458333333333334}, B.List_aha, type$.ConstantStringMap_String_num);
98574 B.Map_ahNsa = new A.ConstantStringMap(7, {in: 6, cm: 2.3622047244094486, pc: 1, mm: 0.2362204724409449, q: 0.05905511811023623, pt: 0.08333333333333333, px: 0.0625}, B.List_aha, type$.ConstantStringMap_String_num);
98575 B.Map_ahPSt = new A.ConstantStringMap(7, {in: 25.4, cm: 10, pc: 4.233333333333333, mm: 1, q: 0.25, pt: 0.35277777777777775, px: 0.26458333333333334}, B.List_aha, type$.ConstantStringMap_String_num);
98576 B.Map_ahgya = new A.ConstantStringMap(7, {in: 101.6, cm: 40, pc: 16.933333333333334, mm: 4, q: 1, pt: 1.411111111111111, px: 1.0583333333333333}, B.List_aha, type$.ConstantStringMap_String_num);
98577 B.Map_ahGvh = new A.ConstantStringMap(7, {in: 72, cm: 28.346456692913385, pc: 12, mm: 2.834645669291339, q: 0.7086614173228347, pt: 1, px: 0.75}, B.List_aha, type$.ConstantStringMap_String_num);
98578 B.Map_ahkuc = new A.ConstantStringMap(7, {in: 96, cm: 37.79527559055118, pc: 16, mm: 3.7795275590551185, q: 0.9448818897637796, pt: 1.3333333333333333, px: 1}, B.List_aha, type$.ConstantStringMap_String_num);
98579 B.Map_EGyvr = new A.ConstantStringMap(4, {deg: 1, grad: 0.9, rad: 57.29577951308232, turn: 360}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_num);
98580 B.Map_EGfqB = new A.ConstantStringMap(4, {deg: 1.1111111111111112, grad: 1, rad: 63.66197723675813, turn: 400}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_num);
98581 B.Map_EGswR = new A.ConstantStringMap(4, {deg: 0.017453292519943295, grad: 0.015707963267948967, rad: 1, turn: 6.283185307179586}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_num);
98582 B.Map_EGY2F = new A.ConstantStringMap(4, {deg: 0.002777777777777778, grad: 0.0025, rad: 0.15915494309189535, turn: 1}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_num);
98583 B.Map_ma2bi = new A.ConstantStringMap(2, {s: 1, ms: 0.001}, B.List_s_ms, type$.ConstantStringMap_String_num);
98584 B.Map_maDht0 = new A.ConstantStringMap(2, {s: 1000, ms: 1}, B.List_s_ms, type$.ConstantStringMap_String_num);
98585 B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
98586 B.Map_0IpUe = new A.ConstantStringMap(2, {Hz: 1, kHz: 1000}, B.List_Hz_kHz, type$.ConstantStringMap_String_num);
98587 B.Map_0IVs0 = new A.ConstantStringMap(2, {Hz: 0.001, kHz: 1}, B.List_Hz_kHz, type$.ConstantStringMap_String_num);
98588 B.Map_H2OWd = new A.ConstantStringMap(3, {dpi: 1, dpcm: 2.54, dppx: 96}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
98589 B.Map_H24em = new A.ConstantStringMap(3, {dpi: 0.39370078740157477, dpcm: 1, dppx: 37.79527559055118}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
98590 B.Map_H25Om = new A.ConstantStringMap(3, {dpi: 0.010416666666666666, dpcm: 0.026458333333333334, dppx: 1}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
98591 B.Map_K2BWj = new A.ConstantStringMap(18, {in: B.Map_ahsJO, cm: B.Map_ahM6L, pc: B.Map_ahNsa, mm: B.Map_ahPSt, q: B.Map_ahgya, pt: B.Map_ahGvh, px: B.Map_ahkuc, deg: B.Map_EGyvr, grad: B.Map_EGfqB, rad: B.Map_EGswR, turn: B.Map_EGY2F, s: B.Map_ma2bi, ms: B.Map_maDht0, Hz: B.Map_0IpUe, kHz: B.Map_0IVs0, dpi: B.Map_H2OWd, dpcm: B.Map_H24em, dppx: B.Map_H25Om}, B.List_K2O, A.findType("ConstantStringMap<String,Map<String,num>>"));
98592 B.List_U8g = A._setArrayType(makeConstList(["length", "angle", "time", "frequency", "pixel density"]), type$.JSArray_String);
98593 B.Map_U8AHF = new A.ConstantStringMap(5, {length: B.List_aha, angle: B.List_deg_grad_rad_turn, time: B.List_s_ms, frequency: B.List_Hz_kHz, "pixel density": B.List_dpi_dpcm_dppx}, B.List_U8g, A.findType("ConstantStringMap<String,List<String>>"));
98594 B.Map_empty0 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode>"));
98595 B.Map_empty7 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode0>"));
98596 B.Map_empty2 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression>"));
98597 B.Map_empty9 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression0>"));
98598 B.Map_empty3 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<AsyncCallable>>"));
98599 B.Map_empty = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<Callable>>"));
98600 B.Map_empty10 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<AsyncCallable0>>"));
98601 B.Map_empty6 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<Callable0>>"));
98602 B.Map_empty1 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value>"));
98603 B.Map_empty8 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value0>"));
98604 B.List_empty22 = A._setArrayType(makeConstList([]), A.findType("JSArray<Symbol0>"));
98605 B.Map_empty4 = new A.ConstantStringMap(0, {}, B.List_empty22, A.findType("ConstantStringMap<Symbol0,@>"));
98606 B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_nullable_String);
98607 B.Map_empty5 = new A.ConstantStringMap(0, {}, B.List_empty23, A.findType("ConstantStringMap<String?,String>"));
98608 B.OptionType_YwU = new A.OptionType("OptionType.single");
98609 B.OptionType_nMZ = new A.OptionType("OptionType.flag");
98610 B.OptionType_qyr = new A.OptionType("OptionType.multiple");
98611 B.OutputStyle_compressed = new A.OutputStyle("compressed");
98612 B.OutputStyle_compressed0 = new A.OutputStyle0("compressed");
98613 B.OutputStyle_expanded = new A.OutputStyle("expanded");
98614 B.OutputStyle_expanded0 = new A.OutputStyle0("expanded");
98615 B.SassBoolean_false = new A.SassBoolean(false);
98616 B.SassBoolean_false0 = new A.SassBoolean0(false);
98617 B.SassBoolean_true = new A.SassBoolean(true);
98618 B.SassBoolean_true0 = new A.SassBoolean0(true);
98619 B.SassList_0 = new A.SassList0(B.List_empty15, B.ListSeparator_undecided_null0, false);
98620 B.SassList_yfz = new A.SassList(B.List_empty5, B.ListSeparator_kWM, false);
98621 B.SassList_yfz0 = new A.SassList0(B.List_empty15, B.ListSeparator_kWM0, false);
98622 B.Map_empty13 = new A.ConstantStringMap(0, {}, B.List_empty5, A.findType("ConstantStringMap<Value,Value>"));
98623 B.SassMap_Map_empty = new A.SassMap(B.Map_empty13);
98624 B.Map_empty14 = new A.ConstantStringMap(0, {}, B.List_empty15, A.findType("ConstantStringMap<Value0,Value0>"));
98625 B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty14);
98626 B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable);
98627 B.Map_empty15 = new A.ConstantStringMap(0, {}, B.List_empty24, A.findType("ConstantStringMap<Module<AsyncCallable>,Null>"));
98628 B.Set_empty0 = new A._UnmodifiableSet(B.Map_empty15, A.findType("_UnmodifiableSet<Module<AsyncCallable>>"));
98629 B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable);
98630 B.Map_empty16 = new A.ConstantStringMap(0, {}, B.List_empty25, A.findType("ConstantStringMap<Module<Callable>,Null>"));
98631 B.Set_empty = new A._UnmodifiableSet(B.Map_empty16, A.findType("_UnmodifiableSet<Module<Callable>>"));
98632 B.List_empty26 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable_2);
98633 B.Map_empty17 = new A.ConstantStringMap(0, {}, B.List_empty26, A.findType("ConstantStringMap<Module0<AsyncCallable0>,Null>"));
98634 B.Set_empty3 = new A._UnmodifiableSet(B.Map_empty17, A.findType("_UnmodifiableSet<Module0<AsyncCallable0>>"));
98635 B.List_empty27 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable_2);
98636 B.Map_empty18 = new A.ConstantStringMap(0, {}, B.List_empty27, A.findType("ConstantStringMap<Module0<Callable0>,Null>"));
98637 B.Set_empty2 = new A._UnmodifiableSet(B.Map_empty18, A.findType("_UnmodifiableSet<Module0<Callable0>>"));
98638 B.List_empty28 = A._setArrayType(makeConstList([]), type$.JSArray_StylesheetNode);
98639 B.Map_empty19 = new A.ConstantStringMap(0, {}, B.List_empty28, A.findType("ConstantStringMap<StylesheetNode,Null>"));
98640 B.Set_empty1 = new A._UnmodifiableSet(B.Map_empty19, A.findType("_UnmodifiableSet<StylesheetNode>"));
98641 B.StderrLogger_false = new A.StderrLogger(false);
98642 B.StderrLogger_false0 = new A.StderrLogger0(false);
98643 B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
98644 B.Symbol__inImportRule = new A.Symbol("_inImportRule");
98645 B.Symbol_call = new A.Symbol("call");
98646 B.Syntax_CSS = new A.Syntax("CSS");
98647 B.Syntax_CSS0 = new A.Syntax0("CSS");
98648 B.Syntax_SCSS = new A.Syntax("SCSS");
98649 B.Syntax_SCSS0 = new A.Syntax0("SCSS");
98650 B.Syntax_Sass = new A.Syntax("Sass");
98651 B.Syntax_Sass0 = new A.Syntax0("Sass");
98652 B.List_empty29 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue<SelectorList>>"));
98653 B.Map_empty20 = new A.ConstantStringMap(0, {}, B.List_empty29, A.findType("ConstantStringMap<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>"));
98654 B.Tuple2_EmptyExtensionStore_Map_empty = new A.Tuple2(B.C_EmptyExtensionStore, B.Map_empty20, type$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList);
98655 B.List_empty30 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue0<SelectorList0>>"));
98656 B.Map_empty21 = new A.ConstantStringMap(0, {}, B.List_empty30, A.findType("ConstantStringMap<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>"));
98657 B.Tuple2_EmptyExtensionStore_Map_empty0 = new A.Tuple2(B.C_EmptyExtensionStore0, B.Map_empty21, type$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2);
98658 B.Type_Null_Yyn = A.typeLiteral("Null");
98659 B.Type_Object_xQ6 = A.typeLiteral("Object");
98660 B.UnaryOperator_U4G = new A.UnaryOperator("minus", "-");
98661 B.UnaryOperator_U4G0 = new A.UnaryOperator0("minus", "-");
98662 B.UnaryOperator_j2w = new A.UnaryOperator("plus", "+");
98663 B.UnaryOperator_j2w0 = new A.UnaryOperator0("plus", "+");
98664 B.UnaryOperator_not_not = new A.UnaryOperator("not", "not");
98665 B.UnaryOperator_not_not0 = new A.UnaryOperator0("not", "not");
98666 B.UnaryOperator_zDx = new A.UnaryOperator("divide", "/");
98667 B.UnaryOperator_zDx0 = new A.UnaryOperator0("divide", "/");
98668 B.Utf8Decoder_false = new A.Utf8Decoder(false);
98669 B._ColorFormatEnum_hslFunction = new A._ColorFormatEnum("hslFunction");
98670 B._ColorFormatEnum_hslFunction0 = new A._ColorFormatEnum0("hslFunction");
98671 B._ColorFormatEnum_rgbFunction = new A._ColorFormatEnum("rgbFunction");
98672 B._ColorFormatEnum_rgbFunction0 = new A._ColorFormatEnum0("rgbFunction");
98673 B._IterationMarker_null_2 = new A._IterationMarker(null, 2);
98674 B._PathDirection_8Gl = new A._PathDirection("at root");
98675 B._PathDirection_988 = new A._PathDirection("below root");
98676 B._PathDirection_FIw = new A._PathDirection("reaches root");
98677 B._PathDirection_ZGD = new A._PathDirection("above root");
98678 B._PathRelation_different = new A._PathRelation("different");
98679 B._PathRelation_equal = new A._PathRelation("equal");
98680 B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
98681 B._PathRelation_within = new A._PathRelation("within");
98682 B._RegisterBinaryZoneFunction_kGu = new A._RegisterBinaryZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
98683 B._RegisterNullaryZoneFunction__RootZone__rootRegisterCallback = new A._RegisterNullaryZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
98684 B._RegisterUnaryZoneFunction_Bqo = new A._RegisterUnaryZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
98685 B._RunBinaryZoneFunction__RootZone__rootRunBinary = new A._RunBinaryZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
98686 B._RunNullaryZoneFunction__RootZone__rootRun = new A._RunNullaryZoneFunction(B.C__RootZone, A.async___rootRun$closure());
98687 B._RunUnaryZoneFunction__RootZone__rootRunUnary = new A._RunUnaryZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
98688 B._SingletonCssMediaQueryMergeResult_empty = new A._SingletonCssMediaQueryMergeResult("empty");
98689 B._SingletonCssMediaQueryMergeResult_empty0 = new A._SingletonCssMediaQueryMergeResult0("empty");
98690 B._SingletonCssMediaQueryMergeResult_unrepresentable = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
98691 B._SingletonCssMediaQueryMergeResult_unrepresentable0 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
98692 B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
98693 B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
98694 B._StreamGroupState_listening = new A._StreamGroupState("listening");
98695 B._StreamGroupState_paused = new A._StreamGroupState("paused");
98696 B._StringStackTrace_3uE = new A._StringStackTrace("");
98697 B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
98698 B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
98699 B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
98700 B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
98701 B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
98702 B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
98703 B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
98704 B._ZoneSpecification_ALf = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
98705 })();
98706 (function staticFields() {
98707 $._JS_INTEROP_INTERCEPTOR_TAG = null;
98708 $.printToZone = null;
98709 $.Primitives__identityHashCodeProperty = null;
98710 $.BoundClosure__receiverFieldNameCache = null;
98711 $.BoundClosure__interceptorFieldNameCache = null;
98712 $.getTagFunction = null;
98713 $.alternateTagFunction = null;
98714 $.prototypeForTagFunction = null;
98715 $.dispatchRecordsForInstanceTags = null;
98716 $.interceptorsForUncacheableTags = null;
98717 $.initNativeDispatchFlag = null;
98718 $._nextCallback = null;
98719 $._lastCallback = null;
98720 $._lastPriorityCallback = null;
98721 $._isInCallbackLoop = false;
98722 $.Zone__current = B.C__RootZone;
98723 $._RootZone__rootDelegate = null;
98724 $._toStringVisiting = A._setArrayType([], type$.JSArray_Object);
98725 $._fs = null;
98726 $._currentUriBase = null;
98727 $._current = null;
98728 $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "any", "nth-child", "nth-last-child"], type$.String);
98729 $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
98730 $._realCaseCache = function() {
98731 var t1 = type$.String;
98732 return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
98733 }();
98734 $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "current", "any", "has", "host", "host-context"], type$.String);
98735 $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
98736 $._glyphs = B.C_UnicodeGlyphSet;
98737 $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "any", "nth-child", "nth-last-child"], type$.String);
98738 $._realCaseCache0 = function() {
98739 var t1 = type$.String;
98740 return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
98741 }();
98742 $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
98743 $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "current", "any", "has", "host", "host-context"], type$.String);
98744 $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
98745 })();
98746 (function lazyInitializers() {
98747 var _lazyFinal = hunkHelpers.lazyFinal,
98748 _lazy = hunkHelpers.lazy;
98749 _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
98750 _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<Null>")));
98751 _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
98752 toString: function() {
98753 return "$receiver$";
98754 }
98755 })));
98756 _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
98757 toString: function() {
98758 return "$receiver$";
98759 }
98760 })));
98761 _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
98762 _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
98763 var $argumentsExpr$ = "$arguments$";
98764 try {
98765 null.$method$($argumentsExpr$);
98766 } catch (e) {
98767 return e.message;
98768 }
98769 }()));
98770 _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
98771 _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
98772 var $argumentsExpr$ = "$arguments$";
98773 try {
98774 (void 0).$method$($argumentsExpr$);
98775 } catch (e) {
98776 return e.message;
98777 }
98778 }()));
98779 _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
98780 _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
98781 try {
98782 null.$method$;
98783 } catch (e) {
98784 return e.message;
98785 }
98786 }()));
98787 _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
98788 _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
98789 try {
98790 (void 0).$method$;
98791 } catch (e) {
98792 return e.message;
98793 }
98794 }()));
98795 _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
98796 _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future<Null>")._as($.$get$nullFuture()));
98797 _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
98798 _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
98799 var t1 = type$.dynamic;
98800 return A.HashMap_HashMap(t1, t1);
98801 });
98802 _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", () => new A.Utf8Decoder__decoder_closure().call$0());
98803 _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", () => new A.Utf8Decoder__decoderNonfatal_closure().call$0());
98804 _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))));
98805 _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32");
98806 _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
98807 _lazy($, "_hasErrorStackProperty", "$get$_hasErrorStackProperty", () => new Error().stack != void 0);
98808 _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_xQ6));
98809 _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables());
98810 _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
98811 _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
98812 _lazyFinal($, "readline", "$get$readline", () => self.readline);
98813 _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
98814 _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
98815 _lazyFinal($, "context", "$get$context", () => new A.Context(type$.InternalStyle._as($.$get$Style_platform()), null));
98816 _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
98817 _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)));
98818 _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)));
98819 _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
98820 _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ArgumentDeclaration_ArgumentDeclaration$parse(string$.x40funct, null));
98821 _lazyFinal($, "colorsByName", "$get$colorsByName", () => {
98822 var _null = null;
98823 return A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb(154, 205, 50, _null), "yellow", A.SassColor$rgb(255, 255, 0, _null), "whitesmoke", A.SassColor$rgb(245, 245, 245, _null), "white", A.SassColor$rgb(255, 255, 255, _null), "wheat", A.SassColor$rgb(245, 222, 179, _null), "violet", A.SassColor$rgb(238, 130, 238, _null), "turquoise", A.SassColor$rgb(64, 224, 208, _null), "transparent", A.SassColor$rgb(0, 0, 0, 0), "tomato", A.SassColor$rgb(255, 99, 71, _null), "thistle", A.SassColor$rgb(216, 191, 216, _null), "teal", A.SassColor$rgb(0, 128, 128, _null), "tan", A.SassColor$rgb(210, 180, 140, _null), "steelblue", A.SassColor$rgb(70, 130, 180, _null), "springgreen", A.SassColor$rgb(0, 255, 127, _null), "snow", A.SassColor$rgb(255, 250, 250, _null), "slategrey", A.SassColor$rgb(112, 128, 144, _null), "slategray", A.SassColor$rgb(112, 128, 144, _null), "slateblue", A.SassColor$rgb(106, 90, 205, _null), "skyblue", A.SassColor$rgb(135, 206, 235, _null), "silver", A.SassColor$rgb(192, 192, 192, _null), "sienna", A.SassColor$rgb(160, 82, 45, _null), "seashell", A.SassColor$rgb(255, 245, 238, _null), "seagreen", A.SassColor$rgb(46, 139, 87, _null), "sandybrown", A.SassColor$rgb(244, 164, 96, _null), "salmon", A.SassColor$rgb(250, 128, 114, _null), "saddlebrown", A.SassColor$rgb(139, 69, 19, _null), "royalblue", A.SassColor$rgb(65, 105, 225, _null), "rosybrown", A.SassColor$rgb(188, 143, 143, _null), "red", A.SassColor$rgb(255, 0, 0, _null), "rebeccapurple", A.SassColor$rgb(102, 51, 153, _null), "purple", A.SassColor$rgb(128, 0, 128, _null), "powderblue", A.SassColor$rgb(176, 224, 230, _null), "plum", A.SassColor$rgb(221, 160, 221, _null), "pink", A.SassColor$rgb(255, 192, 203, _null), "peru", A.SassColor$rgb(205, 133, 63, _null), "peachpuff", A.SassColor$rgb(255, 218, 185, _null), "papayawhip", A.SassColor$rgb(255, 239, 213, _null), "palevioletred", A.SassColor$rgb(219, 112, 147, _null), "paleturquoise", A.SassColor$rgb(175, 238, 238, _null), "palegreen", A.SassColor$rgb(152, 251, 152, _null), "palegoldenrod", A.SassColor$rgb(238, 232, 170, _null), "orchid", A.SassColor$rgb(218, 112, 214, _null), "orangered", A.SassColor$rgb(255, 69, 0, _null), "orange", A.SassColor$rgb(255, 165, 0, _null), "olivedrab", A.SassColor$rgb(107, 142, 35, _null), "olive", A.SassColor$rgb(128, 128, 0, _null), "oldlace", A.SassColor$rgb(253, 245, 230, _null), "navy", A.SassColor$rgb(0, 0, 128, _null), "navajowhite", A.SassColor$rgb(255, 222, 173, _null), "moccasin", A.SassColor$rgb(255, 228, 181, _null), "mistyrose", A.SassColor$rgb(255, 228, 225, _null), "mintcream", A.SassColor$rgb(245, 255, 250, _null), "midnightblue", A.SassColor$rgb(25, 25, 112, _null), "mediumvioletred", A.SassColor$rgb(199, 21, 133, _null), "mediumturquoise", A.SassColor$rgb(72, 209, 204, _null), "mediumspringgreen", A.SassColor$rgb(0, 250, 154, _null), "mediumslateblue", A.SassColor$rgb(123, 104, 238, _null), "mediumseagreen", A.SassColor$rgb(60, 179, 113, _null), "mediumpurple", A.SassColor$rgb(147, 112, 219, _null), "mediumorchid", A.SassColor$rgb(186, 85, 211, _null), "mediumblue", A.SassColor$rgb(0, 0, 205, _null), "mediumaquamarine", A.SassColor$rgb(102, 205, 170, _null), "maroon", A.SassColor$rgb(128, 0, 0, _null), "magenta", A.SassColor$rgb(255, 0, 255, _null), "linen", A.SassColor$rgb(250, 240, 230, _null), "limegreen", A.SassColor$rgb(50, 205, 50, _null), "lime", A.SassColor$rgb(0, 255, 0, _null), "lightyellow", A.SassColor$rgb(255, 255, 224, _null), "lightsteelblue", A.SassColor$rgb(176, 196, 222, _null), "lightslategrey", A.SassColor$rgb(119, 136, 153, _null), "lightslategray", A.SassColor$rgb(119, 136, 153, _null), "lightskyblue", A.SassColor$rgb(135, 206, 250, _null), "lightseagreen", A.SassColor$rgb(32, 178, 170, _null), "lightsalmon", A.SassColor$rgb(255, 160, 122, _null), "lightpink", A.SassColor$rgb(255, 182, 193, _null), "lightgrey", A.SassColor$rgb(211, 211, 211, _null), "lightgreen", A.SassColor$rgb(144, 238, 144, _null), "lightgray", A.SassColor$rgb(211, 211, 211, _null), "lightgoldenrodyellow", A.SassColor$rgb(250, 250, 210, _null), "lightcyan", A.SassColor$rgb(224, 255, 255, _null), "lightcoral", A.SassColor$rgb(240, 128, 128, _null), "lightblue", A.SassColor$rgb(173, 216, 230, _null), "lemonchiffon", A.SassColor$rgb(255, 250, 205, _null), "lawngreen", A.SassColor$rgb(124, 252, 0, _null), "lavenderblush", A.SassColor$rgb(255, 240, 245, _null), "lavender", A.SassColor$rgb(230, 230, 250, _null), "khaki", A.SassColor$rgb(240, 230, 140, _null), "ivory", A.SassColor$rgb(255, 255, 240, _null), "indigo", A.SassColor$rgb(75, 0, 130, _null), "indianred", A.SassColor$rgb(205, 92, 92, _null), "hotpink", A.SassColor$rgb(255, 105, 180, _null), "honeydew", A.SassColor$rgb(240, 255, 240, _null), "grey", A.SassColor$rgb(128, 128, 128, _null), "greenyellow", A.SassColor$rgb(173, 255, 47, _null), "green", A.SassColor$rgb(0, 128, 0, _null), "gray", A.SassColor$rgb(128, 128, 128, _null), "goldenrod", A.SassColor$rgb(218, 165, 32, _null), "gold", A.SassColor$rgb(255, 215, 0, _null), "ghostwhite", A.SassColor$rgb(248, 248, 255, _null), "gainsboro", A.SassColor$rgb(220, 220, 220, _null), "fuchsia", A.SassColor$rgb(255, 0, 255, _null), "forestgreen", A.SassColor$rgb(34, 139, 34, _null), "floralwhite", A.SassColor$rgb(255, 250, 240, _null), "firebrick", A.SassColor$rgb(178, 34, 34, _null), "dodgerblue", A.SassColor$rgb(30, 144, 255, _null), "dimgrey", A.SassColor$rgb(105, 105, 105, _null), "dimgray", A.SassColor$rgb(105, 105, 105, _null), "deepskyblue", A.SassColor$rgb(0, 191, 255, _null), "deeppink", A.SassColor$rgb(255, 20, 147, _null), "darkviolet", A.SassColor$rgb(148, 0, 211, _null), "darkturquoise", A.SassColor$rgb(0, 206, 209, _null), "darkslategrey", A.SassColor$rgb(47, 79, 79, _null), "darkslategray", A.SassColor$rgb(47, 79, 79, _null), "darkslateblue", A.SassColor$rgb(72, 61, 139, _null), "darkseagreen", A.SassColor$rgb(143, 188, 143, _null), "darksalmon", A.SassColor$rgb(233, 150, 122, _null), "darkred", A.SassColor$rgb(139, 0, 0, _null), "darkorchid", A.SassColor$rgb(153, 50, 204, _null), "darkorange", A.SassColor$rgb(255, 140, 0, _null), "darkolivegreen", A.SassColor$rgb(85, 107, 47, _null), "darkmagenta", A.SassColor$rgb(139, 0, 139, _null), "darkkhaki", A.SassColor$rgb(189, 183, 107, _null), "darkgrey", A.SassColor$rgb(169, 169, 169, _null), "darkgreen", A.SassColor$rgb(0, 100, 0, _null), "darkgray", A.SassColor$rgb(169, 169, 169, _null), "darkgoldenrod", A.SassColor$rgb(184, 134, 11, _null), "darkcyan", A.SassColor$rgb(0, 139, 139, _null), "darkblue", A.SassColor$rgb(0, 0, 139, _null), "cyan", A.SassColor$rgb(0, 255, 255, _null), "crimson", A.SassColor$rgb(220, 20, 60, _null), "cornsilk", A.SassColor$rgb(255, 248, 220, _null), "cornflowerblue", A.SassColor$rgb(100, 149, 237, _null), "coral", A.SassColor$rgb(255, 127, 80, _null), "chocolate", A.SassColor$rgb(210, 105, 30, _null), "chartreuse", A.SassColor$rgb(127, 255, 0, _null), "cadetblue", A.SassColor$rgb(95, 158, 160, _null), "burlywood", A.SassColor$rgb(222, 184, 135, _null), "brown", A.SassColor$rgb(165, 42, 42, _null), "blueviolet", A.SassColor$rgb(138, 43, 226, _null), "blue", A.SassColor$rgb(0, 0, 255, _null), "blanchedalmond", A.SassColor$rgb(255, 235, 205, _null), "black", A.SassColor$rgb(0, 0, 0, _null), "bisque", A.SassColor$rgb(255, 228, 196, _null), "beige", A.SassColor$rgb(245, 245, 220, _null), "azure", A.SassColor$rgb(240, 255, 255, _null), "aquamarine", A.SassColor$rgb(127, 255, 212, _null), "aqua", A.SassColor$rgb(0, 255, 255, _null), "antiquewhite", A.SassColor$rgb(250, 235, 215, _null), "aliceblue", A.SassColor$rgb(240, 248, 255, _null)], type$.String, type$.SassColor);
98824 });
98825 _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
98826 var t2, t3,
98827 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor, type$.String);
98828 for (t2 = $.$get$colorsByName(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
98829 t3 = t2.get$current(t2);
98830 t1.$indexSet(0, t3.value, t3.key);
98831 }
98832 return t1;
98833 });
98834 _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
98835 _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
98836 _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
98837 var t1 = type$.BuiltInCallable,
98838 t2 = A.List_List$of($.$get$global0(), true, t1);
98839 B.JSArray_methods.addAll$1(t2, $.$get$global1());
98840 B.JSArray_methods.addAll$1(t2, $.$get$global2());
98841 B.JSArray_methods.addAll$1(t2, $.$get$global3());
98842 B.JSArray_methods.addAll$1(t2, $.$get$global4());
98843 B.JSArray_methods.addAll$1(t2, $.$get$global5());
98844 B.JSArray_methods.addAll$1(t2, $.$get$global());
98845 t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
98846 return A.UnmodifiableListView$(t2, t1);
98847 });
98848 _lazyFinal($, "coreModules", "$get$coreModules", () => A.UnmodifiableListView$(A._setArrayType([$.$get$module(), $.$get$module0(), $.$get$module1(), $.$get$module2(), $.$get$module3(), $.$get$module4()], A.findType("JSArray<BuiltInModule<BuiltInCallable>>")), type$.BuiltInModule_BuiltInCallable));
98849 _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
98850 _lazyFinal($, "global", "$get$global0", () => {
98851 var _s27_ = "$red, $green, $blue, $alpha",
98852 _s19_ = "$red, $green, $blue",
98853 _s37_ = "$hue, $saturation, $lightness, $alpha",
98854 _s29_ = "$hue, $saturation, $lightness",
98855 _s17_ = "$hue, $saturation",
98856 _s15_ = "$color, $amount",
98857 t1 = type$.String,
98858 t2 = type$.Value_Function_List_Value;
98859 return A.UnmodifiableListView$(A._setArrayType([$.$get$_red(), $.$get$_green(), $.$get$_blue(), $.$get$_mix(), A.BuiltInCallable$overloadedFunction("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure(), _s19_, new A.global_closure0(), "$color, $alpha", new A.global_closure1(), "$channels", new A.global_closure2()], t1, t2)), A.BuiltInCallable$overloadedFunction("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure3(), _s19_, new A.global_closure4(), "$color, $alpha", new A.global_closure5(), "$channels", new A.global_closure6()], t1, t2)), A._function4("invert", "$color, $weight: 100%", new A.global_closure7()), $.$get$_hue(), $.$get$_saturation(), $.$get$_lightness(), $.$get$_complement(), A.BuiltInCallable$overloadedFunction("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure8(), _s29_, new A.global_closure9(), _s17_, new A.global_closure10(), "$channels", new A.global_closure11()], t1, t2)), A.BuiltInCallable$overloadedFunction("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure12(), _s29_, new A.global_closure13(), _s17_, new A.global_closure14(), "$channels", new A.global_closure15()], t1, t2)), A._function4("grayscale", "$color", new A.global_closure16()), A._function4("adjust-hue", "$color, $degrees", new A.global_closure17()), A._function4("lighten", _s15_, new A.global_closure18()), A._function4("darken", _s15_, new A.global_closure19()), A.BuiltInCallable$overloadedFunction("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure20(), "$color, $amount", new A.global_closure21()], t1, t2)), A._function4("desaturate", _s15_, new A.global_closure22()), A._function4("opacify", _s15_, A.color0___opacify$closure()), A._function4("fade-in", _s15_, A.color0___opacify$closure()), A._function4("transparentize", _s15_, A.color0___transparentize$closure()), A._function4("fade-out", _s15_, A.color0___transparentize$closure()), A.BuiltInCallable$overloadedFunction("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure23(), "$args...", new A.global_closure24()], t1, t2)), A._function4("opacity", "$color", new A.global_closure25()), $.$get$_ieHexStr(), $.$get$_adjust().withName$1("adjust-color"), $.$get$_scale().withName$1("scale-color"), $.$get$_change().withName$1("change-color")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
98860 });
98861 _lazyFinal($, "module", "$get$module", () => {
98862 var _s9_ = "lightness",
98863 _s10_ = "saturation",
98864 _s6_ = "$color", _s5_ = "alpha",
98865 t1 = type$.String,
98866 t2 = type$.Value_Function_List_Value;
98867 return A.BuiltInModule$("color", A._setArrayType([$.$get$_red(), $.$get$_green(), $.$get$_blue(), $.$get$_mix(), A._function4("invert", "$color, $weight: 100%", new A.module_closure()), $.$get$_hue(), $.$get$_saturation(), $.$get$_lightness(), $.$get$_complement(), A._removedColorFunction("adjust-hue", "hue", false), A._removedColorFunction("lighten", _s9_, false), A._removedColorFunction("darken", _s9_, true), A._removedColorFunction("saturate", _s10_, false), A._removedColorFunction("desaturate", _s10_, true), A._function4("grayscale", _s6_, new A.module_closure0()), A.BuiltInCallable$overloadedFunction("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure1(), "$channels", new A.module_closure2()], t1, t2)), A._function4("whiteness", _s6_, new A.module_closure3()), A._function4("blackness", _s6_, new A.module_closure4()), A._removedColorFunction("opacify", _s5_, false), A._removedColorFunction("fade-in", _s5_, false), A._removedColorFunction("transparentize", _s5_, true), A._removedColorFunction("fade-out", _s5_, true), A.BuiltInCallable$overloadedFunction(_s5_, A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.module_closure5(), "$args...", new A.module_closure6()], t1, t2)), A._function4("opacity", _s6_, new A.module_closure7()), $.$get$_adjust(), $.$get$_scale(), $.$get$_change(), $.$get$_ieHexStr()], type$.JSArray_BuiltInCallable), null, null, type$.BuiltInCallable);
98868 });
98869 _lazyFinal($, "_red", "$get$_red", () => A._function4("red", "$color", new A._red_closure()));
98870 _lazyFinal($, "_green", "$get$_green", () => A._function4("green", "$color", new A._green_closure()));
98871 _lazyFinal($, "_blue", "$get$_blue", () => A._function4("blue", "$color", new A._blue_closure()));
98872 _lazyFinal($, "_mix", "$get$_mix", () => A._function4("mix", "$color1, $color2, $weight: 50%", new A._mix_closure()));
98873 _lazyFinal($, "_hue", "$get$_hue", () => A._function4("hue", "$color", new A._hue_closure()));
98874 _lazyFinal($, "_saturation", "$get$_saturation", () => A._function4("saturation", "$color", new A._saturation_closure()));
98875 _lazyFinal($, "_lightness", "$get$_lightness", () => A._function4("lightness", "$color", new A._lightness_closure()));
98876 _lazyFinal($, "_complement", "$get$_complement", () => A._function4("complement", "$color", new A._complement_closure()));
98877 _lazyFinal($, "_adjust", "$get$_adjust", () => A._function4("adjust", "$color, $kwargs...", new A._adjust_closure()));
98878 _lazyFinal($, "_scale", "$get$_scale", () => A._function4("scale", "$color, $kwargs...", new A._scale_closure()));
98879 _lazyFinal($, "_change", "$get$_change", () => A._function4("change", "$color, $kwargs...", new A._change_closure()));
98880 _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function4("ie-hex-str", "$color", new A._ieHexStr_closure()));
98881 _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));
98882 _lazyFinal($, "module0", "$get$module0", () => A.BuiltInModule$("list", A._setArrayType([$.$get$_length0(), $.$get$_nth(), $.$get$_setNth(), $.$get$_join(), $.$get$_append0(), $.$get$_zip(), $.$get$_index0(), $.$get$_isBracketed(), $.$get$_separator(), $.$get$_slash()], type$.JSArray_BuiltInCallable), null, null, type$.BuiltInCallable));
98883 _lazyFinal($, "_length", "$get$_length0", () => A._function3("length", "$list", new A._length_closure0()));
98884 _lazyFinal($, "_nth", "$get$_nth", () => A._function3("nth", "$list, $n", new A._nth_closure()));
98885 _lazyFinal($, "_setNth", "$get$_setNth", () => A._function3("set-nth", "$list, $n, $value", new A._setNth_closure()));
98886 _lazyFinal($, "_join", "$get$_join", () => A._function3("join", string$.x24list1, new A._join_closure()));
98887 _lazyFinal($, "_append", "$get$_append0", () => A._function3("append", "$list, $val, $separator: auto", new A._append_closure0()));
98888 _lazyFinal($, "_zip", "$get$_zip", () => A._function3("zip", "$lists...", new A._zip_closure()));
98889 _lazyFinal($, "_index", "$get$_index0", () => A._function3("index", "$list, $value", new A._index_closure0()));
98890 _lazyFinal($, "_separator", "$get$_separator", () => A._function3("separator", "$list", new A._separator_closure()));
98891 _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function3("is-bracketed", "$list", new A._isBracketed_closure()));
98892 _lazyFinal($, "_slash", "$get$_slash", () => A._function3("slash", "$elements...", new A._slash_closure()));
98893 _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));
98894 _lazyFinal($, "module1", "$get$module1", () => A.BuiltInModule$("map", A._setArrayType([$.$get$_get(), $.$get$_set(), $.$get$_merge(), $.$get$_remove(), $.$get$_keys(), $.$get$_values(), $.$get$_hasKey(), $.$get$_deepMerge(), $.$get$_deepRemove()], type$.JSArray_BuiltInCallable), null, null, type$.BuiltInCallable));
98895 _lazyFinal($, "_get", "$get$_get", () => A._function2("get", "$map, $key, $keys...", new A._get_closure()));
98896 _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)));
98897 _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)));
98898 _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function2("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
98899 _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function2("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
98900 _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)));
98901 _lazyFinal($, "_keys", "$get$_keys", () => A._function2("keys", "$map", new A._keys_closure()));
98902 _lazyFinal($, "_values", "$get$_values", () => A._function2("values", "$map", new A._values_closure()));
98903 _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function2("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
98904 _lazyFinal($, "global2", "$get$global3", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_abs(), $.$get$_ceil(), $.$get$_floor(), $.$get$_max(), $.$get$_min(), $.$get$_percentage(), $.$get$_randomFunction(), $.$get$_round(), $.$get$_unit(), $.$get$_compatible().withName$1("comparable"), $.$get$_isUnitless().withName$1("unitless")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
98905 _lazyFinal($, "module2", "$get$module2", () => A.BuiltInModule$("math", A._setArrayType([$.$get$_abs(), $.$get$_acos(), $.$get$_asin(), $.$get$_atan(), $.$get$_atan2(), $.$get$_ceil(), $.$get$_clamp(), $.$get$_cos(), $.$get$_compatible(), $.$get$_floor(), $.$get$_hypot(), $.$get$_isUnitless(), $.$get$_log(), $.$get$_max(), $.$get$_min(), $.$get$_percentage(), $.$get$_pow(), $.$get$_randomFunction(), $.$get$_round(), $.$get$_sin(), $.$get$_sqrt(), $.$get$_tan(), $.$get$_unit(), $.$get$_div()], type$.JSArray_BuiltInCallable), null, A.LinkedHashMap_LinkedHashMap$_literal(["e", A.SassNumber_SassNumber(2.718281828459045, null), "pi", A.SassNumber_SassNumber(3.141592653589793, null)], type$.String, type$.Value), type$.BuiltInCallable));
98906 _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
98907 _lazyFinal($, "_clamp", "$get$_clamp", () => A._function1("clamp", "$min, $number, $max", new A._clamp_closure()));
98908 _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
98909 _lazyFinal($, "_max", "$get$_max", () => A._function1("max", "$numbers...", new A._max_closure()));
98910 _lazyFinal($, "_min", "$get$_min", () => A._function1("min", "$numbers...", new A._min_closure()));
98911 _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", A.number0__fuzzyRound$closure()));
98912 _lazyFinal($, "_abs", "$get$_abs", () => A._numberFunction("abs", new A._abs_closure()));
98913 _lazyFinal($, "_hypot", "$get$_hypot", () => A._function1("hypot", "$numbers...", new A._hypot_closure()));
98914 _lazyFinal($, "_log", "$get$_log", () => A._function1("log", "$number, $base: null", new A._log_closure()));
98915 _lazyFinal($, "_pow", "$get$_pow", () => A._function1("pow", "$base, $exponent", new A._pow_closure()));
98916 _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._function1("sqrt", "$number", new A._sqrt_closure()));
98917 _lazyFinal($, "_acos", "$get$_acos", () => A._function1("acos", "$number", new A._acos_closure()));
98918 _lazyFinal($, "_asin", "$get$_asin", () => A._function1("asin", "$number", new A._asin_closure()));
98919 _lazyFinal($, "_atan", "$get$_atan", () => A._function1("atan", "$number", new A._atan_closure()));
98920 _lazyFinal($, "_atan2", "$get$_atan2", () => A._function1("atan2", "$y, $x", new A._atan2_closure()));
98921 _lazyFinal($, "_cos", "$get$_cos", () => A._function1("cos", "$number", new A._cos_closure()));
98922 _lazyFinal($, "_sin", "$get$_sin", () => A._function1("sin", "$number", new A._sin_closure()));
98923 _lazyFinal($, "_tan", "$get$_tan", () => A._function1("tan", "$number", new A._tan_closure()));
98924 _lazyFinal($, "_compatible", "$get$_compatible", () => A._function1("compatible", "$number1, $number2", new A._compatible_closure()));
98925 _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function1("is-unitless", "$number", new A._isUnitless_closure()));
98926 _lazyFinal($, "_unit", "$get$_unit", () => A._function1("unit", "$number", new A._unit_closure()));
98927 _lazyFinal($, "_percentage", "$get$_percentage", () => A._function1("percentage", "$number", new A._percentage_closure()));
98928 _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
98929 _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function1("random", "$limit: null", new A._randomFunction_closure()));
98930 _lazyFinal($, "_div", "$get$_div", () => A._function1("div", "$number1, $number2", new A._div_closure()));
98931 _lazyFinal($, "global3", "$get$global", () => A.UnmodifiableListView$(A._setArrayType([A._function5("feature-exists", "$feature", new A.global_closure26()), A._function5("inspect", "$value", new A.global_closure27()), A._function5("type-of", "$value", new A.global_closure28()), A._function5("keywords", "$args", new A.global_closure29())], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
98932 _lazyFinal($, "local", "$get$local", () => A.UnmodifiableListView$(A._setArrayType([A._function5("calc-name", "$calc", new A.local_closure()), A._function5("calc-args", "$calc", new A.local_closure0())], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
98933 _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));
98934 _lazyFinal($, "module3", "$get$module3", () => A.BuiltInModule$("selector", A._setArrayType([$.$get$_isSuperselector(), $.$get$_simpleSelectors(), $.$get$_parse(), $.$get$_nest(), $.$get$_append(), $.$get$_extend(), $.$get$_replace(), $.$get$_unify()], type$.JSArray_BuiltInCallable), null, null, type$.BuiltInCallable));
98935 _lazyFinal($, "_nest", "$get$_nest", () => A._function0("nest", "$selectors...", new A._nest_closure()));
98936 _lazyFinal($, "_append0", "$get$_append", () => A._function0("append", "$selectors...", new A._append_closure()));
98937 _lazyFinal($, "_extend", "$get$_extend", () => A._function0("extend", "$selector, $extendee, $extender", new A._extend_closure()));
98938 _lazyFinal($, "_replace", "$get$_replace", () => A._function0("replace", "$selector, $original, $replacement", new A._replace_closure()));
98939 _lazyFinal($, "_unify", "$get$_unify", () => A._function0("unify", "$selector1, $selector2", new A._unify_closure()));
98940 _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function0("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
98941 _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function0("simple-selectors", "$selector", new A._simpleSelectors_closure()));
98942 _lazyFinal($, "_parse", "$get$_parse", () => A._function0("parse", "$selector", new A._parse_closure()));
98943 _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
98944 _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
98945 _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));
98946 _lazyFinal($, "module4", "$get$module4", () => A.BuiltInModule$("string", A._setArrayType([$.$get$_unquote(), $.$get$_quote(), $.$get$_toUpperCase(), $.$get$_toLowerCase(), $.$get$_length(), $.$get$_insert(), $.$get$_index(), $.$get$_slice(), $.$get$_uniqueId()], type$.JSArray_BuiltInCallable), null, null, type$.BuiltInCallable));
98947 _lazyFinal($, "_unquote", "$get$_unquote", () => A._function("unquote", "$string", new A._unquote_closure()));
98948 _lazyFinal($, "_quote", "$get$_quote", () => A._function("quote", "$string", new A._quote_closure()));
98949 _lazyFinal($, "_length0", "$get$_length", () => A._function("length", "$string", new A._length_closure()));
98950 _lazyFinal($, "_insert", "$get$_insert", () => A._function("insert", "$string, $insert, $index", new A._insert_closure()));
98951 _lazyFinal($, "_index0", "$get$_index", () => A._function("index", "$string, $substring", new A._index_closure()));
98952 _lazyFinal($, "_slice", "$get$_slice", () => A._function("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
98953 _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function("to-upper-case", "$string", new A._toUpperCase_closure()));
98954 _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function("to-lower-case", "$string", new A._toLowerCase_closure()));
98955 _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function("unique-id", "", new A._uniqueId_closure()));
98956 _lazyFinal($, "stderr", "$get$stderr", () => new A.Stderr(J.get$stderr$x(self.process)));
98957 _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
98958 _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
98959 var t1 = $.$get$globalFunctions();
98960 t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
98961 t1.add$1(0, "if");
98962 t1.remove$1(0, "rgb");
98963 t1.remove$1(0, "rgba");
98964 t1.remove$1(0, "hsl");
98965 t1.remove$1(0, "hsla");
98966 t1.remove$1(0, "grayscale");
98967 t1.remove$1(0, "invert");
98968 t1.remove$1(0, "alpha");
98969 t1.remove$1(0, "opacity");
98970 t1.remove$1(0, "saturate");
98971 return t1;
98972 });
98973 _lazyFinal($, "epsilon", "$get$epsilon", () => A.pow(10, -11));
98974 _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => 1 / $.$get$epsilon());
98975 _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
98976 _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
98977 _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
98978 var t2, t3, t4,
98979 t1 = type$.String;
98980 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
98981 for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
98982 t3 = t2.get$current(t2);
98983 for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
98984 t1.$indexSet(0, t4.get$current(t4), t3);
98985 }
98986 return t1;
98987 });
98988 _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
98989 var _i, set, t2,
98990 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
98991 for (_i = 0; _i < 5; ++_i) {
98992 set = B.List_AqW[_i];
98993 for (t2 = set.get$iterator(set); t2.moveNext$0();)
98994 t1.$indexSet(0, t2.get$current(t2), set);
98995 }
98996 return t1;
98997 });
98998 _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
98999 _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
99000 _lazyFinal($, "MAX_INT32", "$get$MAX_INT32", () => A._asInt(A.pow(2, 31)) - 1);
99001 _lazyFinal($, "MIN_INT32", "$get$MIN_INT32", () => -A._asInt(A.pow(2, 31)));
99002 _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
99003 _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
99004 _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
99005 _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
99006 _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
99007 _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
99008 _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
99009 _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
99010 _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
99011 _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
99012 _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
99013 _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
99014 _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
99015 _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
99016 _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
99017 _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
99018 _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
99019 _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
99020 _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\r\\n?|\\n", false));
99021 _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
99022 _lazyFinal($, "_filesystemImporter", "$get$_filesystemImporter", () => A.FilesystemImporter$("."));
99023 _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
99024 _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
99025 _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
99026 _lazyFinal($, "global6", "$get$global7", () => {
99027 var _s27_ = "$red, $green, $blue, $alpha",
99028 _s19_ = "$red, $green, $blue",
99029 _s37_ = "$hue, $saturation, $lightness, $alpha",
99030 _s29_ = "$hue, $saturation, $lightness",
99031 _s17_ = "$hue, $saturation",
99032 _s15_ = "$color, $amount",
99033 t1 = type$.String,
99034 t2 = type$.Value_Function_List_Value_2;
99035 return A.UnmodifiableListView$(A._setArrayType([$.$get$_red0(), $.$get$_green0(), $.$get$_blue0(), $.$get$_mix0(), A.BuiltInCallable$overloadedFunction0("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure30(), _s19_, new A.global_closure31(), "$color, $alpha", new A.global_closure32(), "$channels", new A.global_closure33()], t1, t2)), A.BuiltInCallable$overloadedFunction0("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure34(), _s19_, new A.global_closure35(), "$color, $alpha", new A.global_closure36(), "$channels", new A.global_closure37()], t1, t2)), A._function11("invert", "$color, $weight: 100%", new A.global_closure38()), $.$get$_hue0(), $.$get$_saturation0(), $.$get$_lightness0(), $.$get$_complement0(), A.BuiltInCallable$overloadedFunction0("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure39(), _s29_, new A.global_closure40(), _s17_, new A.global_closure41(), "$channels", new A.global_closure42()], t1, t2)), A.BuiltInCallable$overloadedFunction0("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure43(), _s29_, new A.global_closure44(), _s17_, new A.global_closure45(), "$channels", new A.global_closure46()], t1, t2)), A._function11("grayscale", "$color", new A.global_closure47()), A._function11("adjust-hue", "$color, $degrees", new A.global_closure48()), A._function11("lighten", _s15_, new A.global_closure49()), A._function11("darken", _s15_, new A.global_closure50()), A.BuiltInCallable$overloadedFunction0("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure51(), "$color, $amount", new A.global_closure52()], t1, t2)), A._function11("desaturate", _s15_, new A.global_closure53()), A._function11("opacify", _s15_, A.color2___opacify$closure()), A._function11("fade-in", _s15_, A.color2___opacify$closure()), A._function11("transparentize", _s15_, A.color2___transparentize$closure()), A._function11("fade-out", _s15_, A.color2___transparentize$closure()), A.BuiltInCallable$overloadedFunction0("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure54(), "$args...", new A.global_closure55()], t1, t2)), A._function11("opacity", "$color", new A.global_closure56()), $.$get$_ieHexStr0(), $.$get$_adjust0().withName$1("adjust-color"), $.$get$_scale0().withName$1("scale-color"), $.$get$_change0().withName$1("change-color")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
99036 });
99037 _lazyFinal($, "module5", "$get$module5", () => {
99038 var _s9_ = "lightness",
99039 _s10_ = "saturation",
99040 _s6_ = "$color", _s5_ = "alpha",
99041 t1 = type$.String,
99042 t2 = type$.Value_Function_List_Value_2;
99043 return A.BuiltInModule$0("color", A._setArrayType([$.$get$_red0(), $.$get$_green0(), $.$get$_blue0(), $.$get$_mix0(), A._function11("invert", "$color, $weight: 100%", new A.module_closure8()), $.$get$_hue0(), $.$get$_saturation0(), $.$get$_lightness0(), $.$get$_complement0(), A._removedColorFunction0("adjust-hue", "hue", false), A._removedColorFunction0("lighten", _s9_, false), A._removedColorFunction0("darken", _s9_, true), A._removedColorFunction0("saturate", _s10_, false), A._removedColorFunction0("desaturate", _s10_, true), A._function11("grayscale", _s6_, new A.module_closure9()), A.BuiltInCallable$overloadedFunction0("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure10(), "$channels", new A.module_closure11()], t1, t2)), A._function11("whiteness", _s6_, new A.module_closure12()), A._function11("blackness", _s6_, new A.module_closure13()), A._removedColorFunction0("opacify", _s5_, false), A._removedColorFunction0("fade-in", _s5_, false), A._removedColorFunction0("transparentize", _s5_, true), A._removedColorFunction0("fade-out", _s5_, true), A.BuiltInCallable$overloadedFunction0(_s5_, A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.module_closure14(), "$args...", new A.module_closure15()], t1, t2)), A._function11("opacity", _s6_, new A.module_closure16()), $.$get$_adjust0(), $.$get$_scale0(), $.$get$_change0(), $.$get$_ieHexStr0()], type$.JSArray_BuiltInCallable_2), null, null, type$.BuiltInCallable_2);
99044 });
99045 _lazyFinal($, "_red0", "$get$_red0", () => A._function11("red", "$color", new A._red_closure0()));
99046 _lazyFinal($, "_green0", "$get$_green0", () => A._function11("green", "$color", new A._green_closure0()));
99047 _lazyFinal($, "_blue0", "$get$_blue0", () => A._function11("blue", "$color", new A._blue_closure0()));
99048 _lazyFinal($, "_mix0", "$get$_mix0", () => A._function11("mix", "$color1, $color2, $weight: 50%", new A._mix_closure0()));
99049 _lazyFinal($, "_hue0", "$get$_hue0", () => A._function11("hue", "$color", new A._hue_closure0()));
99050 _lazyFinal($, "_saturation0", "$get$_saturation0", () => A._function11("saturation", "$color", new A._saturation_closure0()));
99051 _lazyFinal($, "_lightness0", "$get$_lightness0", () => A._function11("lightness", "$color", new A._lightness_closure0()));
99052 _lazyFinal($, "_complement0", "$get$_complement0", () => A._function11("complement", "$color", new A._complement_closure0()));
99053 _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function11("adjust", "$color, $kwargs...", new A._adjust_closure0()));
99054 _lazyFinal($, "_scale0", "$get$_scale0", () => A._function11("scale", "$color, $kwargs...", new A._scale_closure0()));
99055 _lazyFinal($, "_change0", "$get$_change0", () => A._function11("change", "$color, $kwargs...", new A._change_closure0()));
99056 _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function11("ie-hex-str", "$color", new A._ieHexStr_closure0()));
99057 _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
99058 var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
99059 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));
99060 return t1;
99061 });
99062 _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
99063 _lazyFinal($, "colorsByName0", "$get$colorsByName0", () => {
99064 var _null = null;
99065 return A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb0(154, 205, 50, _null), "yellow", A.SassColor$rgb0(255, 255, 0, _null), "whitesmoke", A.SassColor$rgb0(245, 245, 245, _null), "white", A.SassColor$rgb0(255, 255, 255, _null), "wheat", A.SassColor$rgb0(245, 222, 179, _null), "violet", A.SassColor$rgb0(238, 130, 238, _null), "turquoise", A.SassColor$rgb0(64, 224, 208, _null), "transparent", A.SassColor$rgb0(0, 0, 0, 0), "tomato", A.SassColor$rgb0(255, 99, 71, _null), "thistle", A.SassColor$rgb0(216, 191, 216, _null), "teal", A.SassColor$rgb0(0, 128, 128, _null), "tan", A.SassColor$rgb0(210, 180, 140, _null), "steelblue", A.SassColor$rgb0(70, 130, 180, _null), "springgreen", A.SassColor$rgb0(0, 255, 127, _null), "snow", A.SassColor$rgb0(255, 250, 250, _null), "slategrey", A.SassColor$rgb0(112, 128, 144, _null), "slategray", A.SassColor$rgb0(112, 128, 144, _null), "slateblue", A.SassColor$rgb0(106, 90, 205, _null), "skyblue", A.SassColor$rgb0(135, 206, 235, _null), "silver", A.SassColor$rgb0(192, 192, 192, _null), "sienna", A.SassColor$rgb0(160, 82, 45, _null), "seashell", A.SassColor$rgb0(255, 245, 238, _null), "seagreen", A.SassColor$rgb0(46, 139, 87, _null), "sandybrown", A.SassColor$rgb0(244, 164, 96, _null), "salmon", A.SassColor$rgb0(250, 128, 114, _null), "saddlebrown", A.SassColor$rgb0(139, 69, 19, _null), "royalblue", A.SassColor$rgb0(65, 105, 225, _null), "rosybrown", A.SassColor$rgb0(188, 143, 143, _null), "red", A.SassColor$rgb0(255, 0, 0, _null), "rebeccapurple", A.SassColor$rgb0(102, 51, 153, _null), "purple", A.SassColor$rgb0(128, 0, 128, _null), "powderblue", A.SassColor$rgb0(176, 224, 230, _null), "plum", A.SassColor$rgb0(221, 160, 221, _null), "pink", A.SassColor$rgb0(255, 192, 203, _null), "peru", A.SassColor$rgb0(205, 133, 63, _null), "peachpuff", A.SassColor$rgb0(255, 218, 185, _null), "papayawhip", A.SassColor$rgb0(255, 239, 213, _null), "palevioletred", A.SassColor$rgb0(219, 112, 147, _null), "paleturquoise", A.SassColor$rgb0(175, 238, 238, _null), "palegreen", A.SassColor$rgb0(152, 251, 152, _null), "palegoldenrod", A.SassColor$rgb0(238, 232, 170, _null), "orchid", A.SassColor$rgb0(218, 112, 214, _null), "orangered", A.SassColor$rgb0(255, 69, 0, _null), "orange", A.SassColor$rgb0(255, 165, 0, _null), "olivedrab", A.SassColor$rgb0(107, 142, 35, _null), "olive", A.SassColor$rgb0(128, 128, 0, _null), "oldlace", A.SassColor$rgb0(253, 245, 230, _null), "navy", A.SassColor$rgb0(0, 0, 128, _null), "navajowhite", A.SassColor$rgb0(255, 222, 173, _null), "moccasin", A.SassColor$rgb0(255, 228, 181, _null), "mistyrose", A.SassColor$rgb0(255, 228, 225, _null), "mintcream", A.SassColor$rgb0(245, 255, 250, _null), "midnightblue", A.SassColor$rgb0(25, 25, 112, _null), "mediumvioletred", A.SassColor$rgb0(199, 21, 133, _null), "mediumturquoise", A.SassColor$rgb0(72, 209, 204, _null), "mediumspringgreen", A.SassColor$rgb0(0, 250, 154, _null), "mediumslateblue", A.SassColor$rgb0(123, 104, 238, _null), "mediumseagreen", A.SassColor$rgb0(60, 179, 113, _null), "mediumpurple", A.SassColor$rgb0(147, 112, 219, _null), "mediumorchid", A.SassColor$rgb0(186, 85, 211, _null), "mediumblue", A.SassColor$rgb0(0, 0, 205, _null), "mediumaquamarine", A.SassColor$rgb0(102, 205, 170, _null), "maroon", A.SassColor$rgb0(128, 0, 0, _null), "magenta", A.SassColor$rgb0(255, 0, 255, _null), "linen", A.SassColor$rgb0(250, 240, 230, _null), "limegreen", A.SassColor$rgb0(50, 205, 50, _null), "lime", A.SassColor$rgb0(0, 255, 0, _null), "lightyellow", A.SassColor$rgb0(255, 255, 224, _null), "lightsteelblue", A.SassColor$rgb0(176, 196, 222, _null), "lightslategrey", A.SassColor$rgb0(119, 136, 153, _null), "lightslategray", A.SassColor$rgb0(119, 136, 153, _null), "lightskyblue", A.SassColor$rgb0(135, 206, 250, _null), "lightseagreen", A.SassColor$rgb0(32, 178, 170, _null), "lightsalmon", A.SassColor$rgb0(255, 160, 122, _null), "lightpink", A.SassColor$rgb0(255, 182, 193, _null), "lightgrey", A.SassColor$rgb0(211, 211, 211, _null), "lightgreen", A.SassColor$rgb0(144, 238, 144, _null), "lightgray", A.SassColor$rgb0(211, 211, 211, _null), "lightgoldenrodyellow", A.SassColor$rgb0(250, 250, 210, _null), "lightcyan", A.SassColor$rgb0(224, 255, 255, _null), "lightcoral", A.SassColor$rgb0(240, 128, 128, _null), "lightblue", A.SassColor$rgb0(173, 216, 230, _null), "lemonchiffon", A.SassColor$rgb0(255, 250, 205, _null), "lawngreen", A.SassColor$rgb0(124, 252, 0, _null), "lavenderblush", A.SassColor$rgb0(255, 240, 245, _null), "lavender", A.SassColor$rgb0(230, 230, 250, _null), "khaki", A.SassColor$rgb0(240, 230, 140, _null), "ivory", A.SassColor$rgb0(255, 255, 240, _null), "indigo", A.SassColor$rgb0(75, 0, 130, _null), "indianred", A.SassColor$rgb0(205, 92, 92, _null), "hotpink", A.SassColor$rgb0(255, 105, 180, _null), "honeydew", A.SassColor$rgb0(240, 255, 240, _null), "grey", A.SassColor$rgb0(128, 128, 128, _null), "greenyellow", A.SassColor$rgb0(173, 255, 47, _null), "green", A.SassColor$rgb0(0, 128, 0, _null), "gray", A.SassColor$rgb0(128, 128, 128, _null), "goldenrod", A.SassColor$rgb0(218, 165, 32, _null), "gold", A.SassColor$rgb0(255, 215, 0, _null), "ghostwhite", A.SassColor$rgb0(248, 248, 255, _null), "gainsboro", A.SassColor$rgb0(220, 220, 220, _null), "fuchsia", A.SassColor$rgb0(255, 0, 255, _null), "forestgreen", A.SassColor$rgb0(34, 139, 34, _null), "floralwhite", A.SassColor$rgb0(255, 250, 240, _null), "firebrick", A.SassColor$rgb0(178, 34, 34, _null), "dodgerblue", A.SassColor$rgb0(30, 144, 255, _null), "dimgrey", A.SassColor$rgb0(105, 105, 105, _null), "dimgray", A.SassColor$rgb0(105, 105, 105, _null), "deepskyblue", A.SassColor$rgb0(0, 191, 255, _null), "deeppink", A.SassColor$rgb0(255, 20, 147, _null), "darkviolet", A.SassColor$rgb0(148, 0, 211, _null), "darkturquoise", A.SassColor$rgb0(0, 206, 209, _null), "darkslategrey", A.SassColor$rgb0(47, 79, 79, _null), "darkslategray", A.SassColor$rgb0(47, 79, 79, _null), "darkslateblue", A.SassColor$rgb0(72, 61, 139, _null), "darkseagreen", A.SassColor$rgb0(143, 188, 143, _null), "darksalmon", A.SassColor$rgb0(233, 150, 122, _null), "darkred", A.SassColor$rgb0(139, 0, 0, _null), "darkorchid", A.SassColor$rgb0(153, 50, 204, _null), "darkorange", A.SassColor$rgb0(255, 140, 0, _null), "darkolivegreen", A.SassColor$rgb0(85, 107, 47, _null), "darkmagenta", A.SassColor$rgb0(139, 0, 139, _null), "darkkhaki", A.SassColor$rgb0(189, 183, 107, _null), "darkgrey", A.SassColor$rgb0(169, 169, 169, _null), "darkgreen", A.SassColor$rgb0(0, 100, 0, _null), "darkgray", A.SassColor$rgb0(169, 169, 169, _null), "darkgoldenrod", A.SassColor$rgb0(184, 134, 11, _null), "darkcyan", A.SassColor$rgb0(0, 139, 139, _null), "darkblue", A.SassColor$rgb0(0, 0, 139, _null), "cyan", A.SassColor$rgb0(0, 255, 255, _null), "crimson", A.SassColor$rgb0(220, 20, 60, _null), "cornsilk", A.SassColor$rgb0(255, 248, 220, _null), "cornflowerblue", A.SassColor$rgb0(100, 149, 237, _null), "coral", A.SassColor$rgb0(255, 127, 80, _null), "chocolate", A.SassColor$rgb0(210, 105, 30, _null), "chartreuse", A.SassColor$rgb0(127, 255, 0, _null), "cadetblue", A.SassColor$rgb0(95, 158, 160, _null), "burlywood", A.SassColor$rgb0(222, 184, 135, _null), "brown", A.SassColor$rgb0(165, 42, 42, _null), "blueviolet", A.SassColor$rgb0(138, 43, 226, _null), "blue", A.SassColor$rgb0(0, 0, 255, _null), "blanchedalmond", A.SassColor$rgb0(255, 235, 205, _null), "black", A.SassColor$rgb0(0, 0, 0, _null), "bisque", A.SassColor$rgb0(255, 228, 196, _null), "beige", A.SassColor$rgb0(245, 245, 220, _null), "azure", A.SassColor$rgb0(240, 255, 255, _null), "aquamarine", A.SassColor$rgb0(127, 255, 212, _null), "aqua", A.SassColor$rgb0(0, 255, 255, _null), "antiquewhite", A.SassColor$rgb0(250, 235, 215, _null), "aliceblue", A.SassColor$rgb0(240, 248, 255, _null)], type$.String, type$.SassColor_2);
99066 });
99067 _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
99068 var t2, t3,
99069 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor_2, type$.String);
99070 for (t2 = $.$get$colorsByName0(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
99071 t3 = t2.get$current(t2);
99072 t1.$indexSet(0, t3.value, t3.key);
99073 }
99074 return t1;
99075 });
99076 _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
99077 var t1 = $.$get$globalFunctions0();
99078 t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
99079 t1.add$1(0, "if");
99080 t1.remove$1(0, "rgb");
99081 t1.remove$1(0, "rgba");
99082 t1.remove$1(0, "hsl");
99083 t1.remove$1(0, "hsla");
99084 t1.remove$1(0, "grayscale");
99085 t1.remove$1(0, "invert");
99086 t1.remove$1(0, "alpha");
99087 t1.remove$1(0, "opacity");
99088 t1.remove$1(0, "saturate");
99089 return t1;
99090 });
99091 _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
99092 _lazyFinal($, "_filesystemImporter0", "$get$_filesystemImporter0", () => A.FilesystemImporter$("."));
99093 _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
99094 _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
99095 var t1 = type$.BuiltInCallable_2,
99096 t2 = A.List_List$of($.$get$global7(), true, t1);
99097 B.JSArray_methods.addAll$1(t2, $.$get$global8());
99098 B.JSArray_methods.addAll$1(t2, $.$get$global9());
99099 B.JSArray_methods.addAll$1(t2, $.$get$global10());
99100 B.JSArray_methods.addAll$1(t2, $.$get$global11());
99101 B.JSArray_methods.addAll$1(t2, $.$get$global12());
99102 B.JSArray_methods.addAll$1(t2, $.$get$global6());
99103 t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
99104 return A.UnmodifiableListView$(t2, t1);
99105 });
99106 _lazyFinal($, "coreModules0", "$get$coreModules0", () => A.UnmodifiableListView$(A._setArrayType([$.$get$module5(), $.$get$module6(), $.$get$module7(), $.$get$module8(), $.$get$module9(), $.$get$module10()], A.findType("JSArray<BuiltInModule0<BuiltInCallable0>>")), type$.BuiltInModule_BuiltInCallable_2));
99107 _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ArgumentDeclaration_ArgumentDeclaration$parse0(string$.x40funct, null));
99108 _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));
99109 _lazyFinal($, "module6", "$get$module6", () => A.BuiltInModule$0("list", A._setArrayType([$.$get$_length2(), $.$get$_nth0(), $.$get$_setNth0(), $.$get$_join0(), $.$get$_append2(), $.$get$_zip0(), $.$get$_index2(), $.$get$_isBracketed0(), $.$get$_separator0(), $.$get$_slash0()], type$.JSArray_BuiltInCallable_2), null, null, type$.BuiltInCallable_2));
99110 _lazyFinal($, "_length1", "$get$_length2", () => A._function10("length", "$list", new A._length_closure2()));
99111 _lazyFinal($, "_nth0", "$get$_nth0", () => A._function10("nth", "$list, $n", new A._nth_closure0()));
99112 _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function10("set-nth", "$list, $n, $value", new A._setNth_closure0()));
99113 _lazyFinal($, "_join0", "$get$_join0", () => A._function10("join", string$.x24list1, new A._join_closure0()));
99114 _lazyFinal($, "_append1", "$get$_append2", () => A._function10("append", "$list, $val, $separator: auto", new A._append_closure2()));
99115 _lazyFinal($, "_zip0", "$get$_zip0", () => A._function10("zip", "$lists...", new A._zip_closure0()));
99116 _lazyFinal($, "_index1", "$get$_index2", () => A._function10("index", "$list, $value", new A._index_closure2()));
99117 _lazyFinal($, "_separator0", "$get$_separator0", () => A._function10("separator", "$list", new A._separator_closure0()));
99118 _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function10("is-bracketed", "$list", new A._isBracketed_closure0()));
99119 _lazyFinal($, "_slash0", "$get$_slash0", () => A._function10("slash", "$elements...", new A._slash_closure0()));
99120 _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
99121 var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
99122 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));
99123 return t1;
99124 });
99125 _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
99126 _lazyFinal($, "Logger_quiet0", "$get$Logger_quiet0", () => new A._QuietLogger0());
99127 _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));
99128 _lazyFinal($, "module7", "$get$module7", () => A.BuiltInModule$0("map", A._setArrayType([$.$get$_get0(), $.$get$_set0(), $.$get$_merge0(), $.$get$_remove0(), $.$get$_keys0(), $.$get$_values0(), $.$get$_hasKey0(), $.$get$_deepMerge0(), $.$get$_deepRemove0()], type$.JSArray_BuiltInCallable_2), null, null, type$.BuiltInCallable_2));
99129 _lazyFinal($, "_get0", "$get$_get0", () => A._function9("get", "$map, $key, $keys...", new A._get_closure0()));
99130 _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)));
99131 _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)));
99132 _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function9("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
99133 _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function9("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
99134 _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)));
99135 _lazyFinal($, "_keys0", "$get$_keys0", () => A._function9("keys", "$map", new A._keys_closure0()));
99136 _lazyFinal($, "_values0", "$get$_values0", () => A._function9("values", "$map", new A._values_closure0()));
99137 _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function9("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
99138 _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
99139 var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
99140 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));
99141 return t1;
99142 });
99143 _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
99144 _lazyFinal($, "global9", "$get$global10", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_abs0(), $.$get$_ceil0(), $.$get$_floor0(), $.$get$_max0(), $.$get$_min0(), $.$get$_percentage0(), $.$get$_randomFunction0(), $.$get$_round0(), $.$get$_unit0(), $.$get$_compatible0().withName$1("comparable"), $.$get$_isUnitless0().withName$1("unitless")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
99145 _lazyFinal($, "module8", "$get$module8", () => A.BuiltInModule$0("math", A._setArrayType([$.$get$_abs0(), $.$get$_acos0(), $.$get$_asin0(), $.$get$_atan0(), $.$get$_atan20(), $.$get$_ceil0(), $.$get$_clamp0(), $.$get$_cos0(), $.$get$_compatible0(), $.$get$_floor0(), $.$get$_hypot0(), $.$get$_isUnitless0(), $.$get$_log0(), $.$get$_max0(), $.$get$_min0(), $.$get$_percentage0(), $.$get$_pow0(), $.$get$_randomFunction0(), $.$get$_round0(), $.$get$_sin0(), $.$get$_sqrt0(), $.$get$_tan0(), $.$get$_unit0(), $.$get$_div0()], type$.JSArray_BuiltInCallable_2), null, A.LinkedHashMap_LinkedHashMap$_literal(["e", A.SassNumber_SassNumber0(2.718281828459045, null), "pi", A.SassNumber_SassNumber0(3.141592653589793, null)], type$.String, type$.Value_2), type$.BuiltInCallable_2));
99146 _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
99147 _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function8("clamp", "$min, $number, $max", new A._clamp_closure0()));
99148 _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
99149 _lazyFinal($, "_max0", "$get$_max0", () => A._function8("max", "$numbers...", new A._max_closure0()));
99150 _lazyFinal($, "_min0", "$get$_min0", () => A._function8("min", "$numbers...", new A._min_closure0()));
99151 _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", A.number2__fuzzyRound$closure()));
99152 _lazyFinal($, "_abs0", "$get$_abs0", () => A._numberFunction0("abs", new A._abs_closure0()));
99153 _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function8("hypot", "$numbers...", new A._hypot_closure0()));
99154 _lazyFinal($, "_log0", "$get$_log0", () => A._function8("log", "$number, $base: null", new A._log_closure0()));
99155 _lazyFinal($, "_pow0", "$get$_pow0", () => A._function8("pow", "$base, $exponent", new A._pow_closure0()));
99156 _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._function8("sqrt", "$number", new A._sqrt_closure0()));
99157 _lazyFinal($, "_acos0", "$get$_acos0", () => A._function8("acos", "$number", new A._acos_closure0()));
99158 _lazyFinal($, "_asin0", "$get$_asin0", () => A._function8("asin", "$number", new A._asin_closure0()));
99159 _lazyFinal($, "_atan0", "$get$_atan0", () => A._function8("atan", "$number", new A._atan_closure0()));
99160 _lazyFinal($, "_atan20", "$get$_atan20", () => A._function8("atan2", "$y, $x", new A._atan2_closure0()));
99161 _lazyFinal($, "_cos0", "$get$_cos0", () => A._function8("cos", "$number", new A._cos_closure0()));
99162 _lazyFinal($, "_sin0", "$get$_sin0", () => A._function8("sin", "$number", new A._sin_closure0()));
99163 _lazyFinal($, "_tan0", "$get$_tan0", () => A._function8("tan", "$number", new A._tan_closure0()));
99164 _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function8("compatible", "$number1, $number2", new A._compatible_closure0()));
99165 _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function8("is-unitless", "$number", new A._isUnitless_closure0()));
99166 _lazyFinal($, "_unit0", "$get$_unit0", () => A._function8("unit", "$number", new A._unit_closure0()));
99167 _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function8("percentage", "$number", new A._percentage_closure0()));
99168 _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
99169 _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function8("random", "$limit: null", new A._randomFunction_closure0()));
99170 _lazyFinal($, "_div0", "$get$_div0", () => A._function8("div", "$number1, $number2", new A._div_closure0()));
99171 _lazyFinal($, "global10", "$get$global6", () => A.UnmodifiableListView$(A._setArrayType([A._function12("feature-exists", "$feature", new A.global_closure57()), A._function12("inspect", "$value", new A.global_closure58()), A._function12("type-of", "$value", new A.global_closure59()), A._function12("keywords", "$args", new A.global_closure60())], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
99172 _lazyFinal($, "local0", "$get$local0", () => A.UnmodifiableListView$(A._setArrayType([A._function12("calc-name", "$calc", new A.local_closure1()), A._function12("calc-args", "$calc", new A.local_closure2())], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
99173 _lazyFinal($, "stderr0", "$get$stderr0", () => new A.Stderr0(J.get$stderr$x(self.process)));
99174 _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
99175 _lazyFinal($, "epsilon0", "$get$epsilon0", () => A.pow(10, -11));
99176 _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => 1 / $.$get$epsilon0());
99177 _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
99178 var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
99179 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));
99180 return t1;
99181 });
99182 _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
99183 _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
99184 var t2, t3, t4,
99185 t1 = type$.String;
99186 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
99187 for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
99188 t3 = t2.get$current(t2);
99189 for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
99190 t1.$indexSet(0, t4.get$current(t4), t3);
99191 }
99192 return t1;
99193 });
99194 _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));
99195 _lazyFinal($, "module9", "$get$module9", () => A.BuiltInModule$0("selector", A._setArrayType([$.$get$_isSuperselector0(), $.$get$_simpleSelectors0(), $.$get$_parse0(), $.$get$_nest0(), $.$get$_append1(), $.$get$_extend0(), $.$get$_replace0(), $.$get$_unify0()], type$.JSArray_BuiltInCallable_2), null, null, type$.BuiltInCallable_2));
99196 _lazyFinal($, "_nest0", "$get$_nest0", () => A._function7("nest", "$selectors...", new A._nest_closure0()));
99197 _lazyFinal($, "_append2", "$get$_append1", () => A._function7("append", "$selectors...", new A._append_closure1()));
99198 _lazyFinal($, "_extend0", "$get$_extend0", () => A._function7("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
99199 _lazyFinal($, "_replace0", "$get$_replace0", () => A._function7("replace", "$selector, $original, $replacement", new A._replace_closure0()));
99200 _lazyFinal($, "_unify0", "$get$_unify0", () => A._function7("unify", "$selector1, $selector2", new A._unify_closure0()));
99201 _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function7("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
99202 _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function7("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
99203 _lazyFinal($, "_parse0", "$get$_parse0", () => A._function7("parse", "$selector", new A._parse_closure0()));
99204 _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
99205 var _i, set, t2,
99206 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
99207 for (_i = 0; _i < 5; ++_i) {
99208 set = B.List_AqW[_i];
99209 for (t2 = set.get$iterator(set); t2.moveNext$0();)
99210 t1.$indexSet(0, t2.get$current(t2), set);
99211 }
99212 return t1;
99213 });
99214 _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
99215 _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
99216 _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));
99217 _lazyFinal($, "module10", "$get$module10", () => A.BuiltInModule$0("string", A._setArrayType([$.$get$_unquote0(), $.$get$_quote0(), $.$get$_toUpperCase0(), $.$get$_toLowerCase0(), $.$get$_length1(), $.$get$_insert0(), $.$get$_index1(), $.$get$_slice0(), $.$get$_uniqueId0()], type$.JSArray_BuiltInCallable_2), null, null, type$.BuiltInCallable_2));
99218 _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function6("unquote", "$string", new A._unquote_closure0()));
99219 _lazyFinal($, "_quote0", "$get$_quote0", () => A._function6("quote", "$string", new A._quote_closure0()));
99220 _lazyFinal($, "_length2", "$get$_length1", () => A._function6("length", "$string", new A._length_closure1()));
99221 _lazyFinal($, "_insert0", "$get$_insert0", () => A._function6("insert", "$string, $insert, $index", new A._insert_closure0()));
99222 _lazyFinal($, "_index2", "$get$_index1", () => A._function6("index", "$string, $substring", new A._index_closure1()));
99223 _lazyFinal($, "_slice0", "$get$_slice0", () => A._function6("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
99224 _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function6("to-upper-case", "$string", new A._toUpperCase_closure0()));
99225 _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function6("to-lower-case", "$string", new A._toLowerCase_closure0()));
99226 _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function6("unique-id", "", new A._uniqueId_closure0()));
99227 _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
99228 var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
99229 A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
99230 return t1;
99231 });
99232 _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
99233 _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
99234 _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
99235 _lazyFinal($, "_jsThrow", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
99236 _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
99237 _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
99238 _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
99239 _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
99240 })();
99241 (function nativeSupport() {
99242 !function() {
99243 var intern = function(s) {
99244 var o = {};
99245 o[s] = 1;
99246 return Object.keys(hunkHelpers.convertToFastObject(o))[0];
99247 };
99248 init.getIsolateTag = function(name) {
99249 return intern("___dart_" + name + init.isolateTag);
99250 };
99251 var tableProperty = "___dart_isolate_tags_";
99252 var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
99253 var rootProperty = "_ZxYxX";
99254 for (var i = 0;; i++) {
99255 var property = intern(rootProperty + "_" + i + "_");
99256 if (!(property in usedProperties)) {
99257 usedProperties[property] = 1;
99258 init.isolateTag = property;
99259 break;
99260 }
99261 }
99262 init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
99263 }();
99264 hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer: J.Interceptor, DataView: A.NativeTypedData, ArrayBufferView: A.NativeTypedData, 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});
99265 hunkHelpers.setOrUpdateLeafTags({ArrayBuffer: true, DataView: true, ArrayBufferView: false, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false});
99266 A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
99267 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
99268 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
99269 A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
99270 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
99271 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
99272 A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
99273 })();
99274 Function.prototype.call$0 = function() {
99275 return this();
99276 };
99277 Function.prototype.call$1 = function(a) {
99278 return this(a);
99279 };
99280 Function.prototype.call$2 = function(a, b) {
99281 return this(a, b);
99282 };
99283 Function.prototype.call$3$1 = function(a) {
99284 return this(a);
99285 };
99286 Function.prototype.call$2$1 = function(a) {
99287 return this(a);
99288 };
99289 Function.prototype.call$1$1 = function(a) {
99290 return this(a);
99291 };
99292 Function.prototype.call$3 = function(a, b, c) {
99293 return this(a, b, c);
99294 };
99295 Function.prototype.call$4 = function(a, b, c, d) {
99296 return this(a, b, c, d);
99297 };
99298 Function.prototype.call$3$3 = function(a, b, c) {
99299 return this(a, b, c);
99300 };
99301 Function.prototype.call$2$2 = function(a, b) {
99302 return this(a, b);
99303 };
99304 Function.prototype.call$6 = function(a, b, c, d, e, f) {
99305 return this(a, b, c, d, e, f);
99306 };
99307 Function.prototype.call$5 = function(a, b, c, d, e) {
99308 return this(a, b, c, d, e);
99309 };
99310 Function.prototype.call$1$0 = function() {
99311 return this();
99312 };
99313 Function.prototype.call$2$0 = function() {
99314 return this();
99315 };
99316 Function.prototype.call$2$3 = function(a, b, c) {
99317 return this(a, b, c);
99318 };
99319 Function.prototype.call$1$2 = function(a, b) {
99320 return this(a, b);
99321 };
99322 convertAllToFastObject(holders);
99323 convertToFastObject($);
99324 (function(callback) {
99325 if (typeof document === "undefined") {
99326 callback(null);
99327 return;
99328 }
99329 if (typeof document.currentScript != "undefined") {
99330 callback(document.currentScript);
99331 return;
99332 }
99333 var scripts = document.scripts;
99334 function onLoad(event) {
99335 for (var i = 0; i < scripts.length; ++i)
99336 scripts[i].removeEventListener("load", onLoad, false);
99337 callback(event.target);
99338 }
99339 for (var i = 0; i < scripts.length; ++i)
99340 scripts[i].addEventListener("load", onLoad, false);
99341 })(function(currentScript) {
99342 init.currentScript = currentScript;
99343 var callMain = A.main1;
99344 if (typeof dartMainRunner === "function")
99345 dartMainRunner(callMain, []);
99346 else
99347 callMain([]);
99348 });
99349})();
99350}