sass 1.77.0 → 1.77.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/sass.dart.js +123 -127
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"sass","description":"A pure JavaScript implementation of Sass.","license":"MIT","bugs":"https://github.com/sass/dart-sass/issues","homepage":"https://github.com/sass/dart-sass","repository":{"type":"git","url":"https://github.com/sass/dart-sass"},"author":{"name":"Natalie Weizenbaum","email":"nweiz@google.com","url":"https://github.com/nex3"},"engines":{"node":">=14.0.0"},"dependencies":{"chokidar":">=3.0.0 <4.0.0","immutable":"^4.0.0","source-map-js":">=0.6.2 <2.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"types":"types/index.d.ts","exports":{"types":"./types/index.d.ts","node":{"require":"./sass.node.js","default":"./sass.node.mjs"},"default":{"require":"./sass.default.cjs","default":"./sass.default.js"}},"version":"1.77.
|
|
1
|
+
{"name":"sass","description":"A pure JavaScript implementation of Sass.","license":"MIT","bugs":"https://github.com/sass/dart-sass/issues","homepage":"https://github.com/sass/dart-sass","repository":{"type":"git","url":"https://github.com/sass/dart-sass"},"author":{"name":"Natalie Weizenbaum","email":"nweiz@google.com","url":"https://github.com/nex3"},"engines":{"node":">=14.0.0"},"dependencies":{"chokidar":">=3.0.0 <4.0.0","immutable":"^4.0.0","source-map-js":">=0.6.2 <2.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"types":"types/index.d.ts","exports":{"types":"./types/index.d.ts","node":{"require":"./sass.node.js","default":"./sass.node.mjs"},"default":{"require":"./sass.default.cjs","default":"./sass.default.js"}},"version":"1.77.1","bin":{"sass":"sass.js"},"main":"sass.node.js"}
|
package/sass.dart.js
CHANGED
|
@@ -27066,7 +27066,7 @@ self.util = _cliPkgRequires.util;
|
|
|
27066
27066
|
J.set$NodePackageImporter$x(self.exports, $.$get$nodePackageImporterClass());
|
|
27067
27067
|
J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
|
|
27068
27068
|
J.set$Version$x(self.exports, $.$get$versionClass());
|
|
27069
|
-
J.set$info$x(self.exports, "dart-sass\t1.77.
|
|
27069
|
+
J.set$info$x(self.exports, "dart-sass\t1.77.1\t(Sass Compiler)\t[Dart]\ndart2js\t3.3.4\t(Dart Compiler)\t[Dart]");
|
|
27070
27070
|
A.updateCanonicalizeContextPrototype();
|
|
27071
27071
|
A.updateSourceSpanPrototype();
|
|
27072
27072
|
J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
|
|
@@ -32034,7 +32034,7 @@ self.util = _cliPkgRequires.util;
|
|
|
32034
32034
|
switch ($async$goto) {
|
|
32035
32035
|
case 0:
|
|
32036
32036
|
// Function start
|
|
32037
|
-
$async$returnValue = "1.77.
|
|
32037
|
+
$async$returnValue = "1.77.1 compiled with dart2js 3.3.4";
|
|
32038
32038
|
// goto return
|
|
32039
32039
|
$async$goto = 1;
|
|
32040
32040
|
break;
|
|
@@ -47843,7 +47843,7 @@ self.util = _cliPkgRequires.util;
|
|
|
47843
47843
|
canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
|
|
47844
47844
|
var $async$goto = 0,
|
|
47845
47845
|
$async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
|
|
47846
|
-
$async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, cacheable, i, importer, perImporterKey,
|
|
47846
|
+
$async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2, result, t8, _1_2_isSet, _2_0, _2_1, _2_3, _2_5, _2_3_isSet, _2_5_isSet, j;
|
|
47847
47847
|
var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
|
47848
47848
|
if ($async$errorCode === 1)
|
|
47849
47849
|
return A._asyncRethrow($async$result, $async$completer);
|
|
@@ -47886,7 +47886,7 @@ self.util = _cliPkgRequires.util;
|
|
|
47886
47886
|
$async$goto = 1;
|
|
47887
47887
|
break;
|
|
47888
47888
|
}
|
|
47889
|
-
t2 = $async$self._async_import_cache$_importers, t3 = type$.Record_1_nullable_Object, t4 = $async$self._async_import_cache$_perImporterCanonicalizeCache, t5 = type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl, cacheable = true, i = 0;
|
|
47889
|
+
t2 = $async$self._async_import_cache$_importers, t3 = type$.Record_1_nullable_Object, t4 = $async$self._async_import_cache$_perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl, t6 = type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl, cacheable = true, i = 0;
|
|
47890
47890
|
case 6:
|
|
47891
47891
|
// for condition
|
|
47892
47892
|
if (!(i < t2.length)) {
|
|
@@ -47897,40 +47897,39 @@ self.util = _cliPkgRequires.util;
|
|
|
47897
47897
|
importer = t2[i];
|
|
47898
47898
|
perImporterKey = new A._Record_3_forImport(importer, url, forImport);
|
|
47899
47899
|
if (t4.containsKey$1(perImporterKey)) {
|
|
47900
|
-
|
|
47901
|
-
|
|
47902
|
-
_1_0 = new A._Record_1(t6);
|
|
47900
|
+
t7 = t4.$index(0, perImporterKey);
|
|
47901
|
+
_1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
|
|
47903
47902
|
} else
|
|
47904
47903
|
_1_0 = null;
|
|
47905
|
-
|
|
47906
|
-
if (
|
|
47904
|
+
t7 = t3._is(_1_0);
|
|
47905
|
+
if (t7) {
|
|
47907
47906
|
_1_2 = _1_0._0;
|
|
47908
47907
|
if (_1_2 != null) {
|
|
47909
|
-
|
|
47908
|
+
t6._as(_1_2);
|
|
47910
47909
|
result = _1_2;
|
|
47911
|
-
|
|
47910
|
+
t8 = true;
|
|
47912
47911
|
} else {
|
|
47913
47912
|
result = null;
|
|
47914
|
-
|
|
47913
|
+
t8 = false;
|
|
47915
47914
|
}
|
|
47916
47915
|
_1_2_isSet = true;
|
|
47917
47916
|
} else {
|
|
47918
47917
|
_1_2 = null;
|
|
47919
47918
|
_1_2_isSet = false;
|
|
47920
47919
|
result = null;
|
|
47921
|
-
|
|
47920
|
+
t8 = false;
|
|
47922
47921
|
}
|
|
47923
|
-
if (
|
|
47922
|
+
if (t8) {
|
|
47924
47923
|
$async$returnValue = result;
|
|
47925
47924
|
// goto return
|
|
47926
47925
|
$async$goto = 1;
|
|
47927
47926
|
break;
|
|
47928
47927
|
}
|
|
47929
|
-
if (
|
|
47930
|
-
|
|
47928
|
+
if (t7)
|
|
47929
|
+
t7 = (_1_2_isSet ? _1_2 : _1_0._0) == null;
|
|
47931
47930
|
else
|
|
47932
|
-
|
|
47933
|
-
if (
|
|
47931
|
+
t7 = false;
|
|
47932
|
+
if (t7) {
|
|
47934
47933
|
// goto for update
|
|
47935
47934
|
$async$goto = 7;
|
|
47936
47935
|
break;
|
|
@@ -47942,11 +47941,11 @@ self.util = _cliPkgRequires.util;
|
|
|
47942
47941
|
_2_0 = $async$result;
|
|
47943
47942
|
_2_1 = _2_0._0;
|
|
47944
47943
|
if (_2_1 != null) {
|
|
47945
|
-
result = _2_1 == null ?
|
|
47944
|
+
result = _2_1 == null ? t6._as(_2_1) : _2_1;
|
|
47946
47945
|
_2_3 = _2_0._1;
|
|
47947
|
-
|
|
47948
|
-
_2_5 =
|
|
47949
|
-
|
|
47946
|
+
t7 = _2_3;
|
|
47947
|
+
_2_5 = t7;
|
|
47948
|
+
t7 = t7 && cacheable;
|
|
47950
47949
|
_2_3_isSet = true;
|
|
47951
47950
|
_2_5_isSet = true;
|
|
47952
47951
|
} else {
|
|
@@ -47955,9 +47954,9 @@ self.util = _cliPkgRequires.util;
|
|
|
47955
47954
|
_2_3 = null;
|
|
47956
47955
|
_2_3_isSet = false;
|
|
47957
47956
|
result = null;
|
|
47958
|
-
|
|
47957
|
+
t7 = false;
|
|
47959
47958
|
}
|
|
47960
|
-
if (
|
|
47959
|
+
if (t7) {
|
|
47961
47960
|
t1.$indexSet(0, key, result);
|
|
47962
47961
|
$async$returnValue = result;
|
|
47963
47962
|
// goto return
|
|
@@ -47965,20 +47964,20 @@ self.util = _cliPkgRequires.util;
|
|
|
47965
47964
|
break;
|
|
47966
47965
|
}
|
|
47967
47966
|
if (_2_5_isSet)
|
|
47968
|
-
|
|
47967
|
+
t7 = _2_5;
|
|
47969
47968
|
else {
|
|
47970
47969
|
if (_2_3_isSet)
|
|
47971
|
-
|
|
47970
|
+
t7 = _2_3;
|
|
47972
47971
|
else {
|
|
47973
47972
|
_2_3 = _2_0._1;
|
|
47974
|
-
|
|
47973
|
+
t7 = _2_3;
|
|
47975
47974
|
_2_3_isSet = true;
|
|
47976
47975
|
}
|
|
47977
|
-
_2_5 = true ===
|
|
47978
|
-
|
|
47976
|
+
_2_5 = true === t7;
|
|
47977
|
+
t7 = _2_5;
|
|
47979
47978
|
}
|
|
47980
|
-
|
|
47981
|
-
if (
|
|
47979
|
+
t7 = t7 && !cacheable;
|
|
47980
|
+
if (t7) {
|
|
47982
47981
|
t4.$indexSet(0, perImporterKey, _2_1);
|
|
47983
47982
|
if (_2_1 != null) {
|
|
47984
47983
|
$async$returnValue = _2_1;
|
|
@@ -47990,8 +47989,8 @@ self.util = _cliPkgRequires.util;
|
|
|
47990
47989
|
$async$goto = 9;
|
|
47991
47990
|
break;
|
|
47992
47991
|
}
|
|
47993
|
-
|
|
47994
|
-
if (
|
|
47992
|
+
t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
|
|
47993
|
+
if (t7) {
|
|
47995
47994
|
if (cacheable) {
|
|
47996
47995
|
for (j = 0; j < i; ++j)
|
|
47997
47996
|
t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
|
|
@@ -49761,7 +49760,7 @@ self.util = _cliPkgRequires.util;
|
|
|
49761
49760
|
}
|
|
49762
49761
|
try {
|
|
49763
49762
|
argVersion = A.Version_Version$parse(id);
|
|
49764
|
-
sassVersion = A.Version_Version$parse("1.77.
|
|
49763
|
+
sassVersion = A.Version_Version$parse("1.77.1");
|
|
49765
49764
|
if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
|
|
49766
49765
|
A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
|
|
49767
49766
|
J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
|
|
@@ -53301,7 +53300,7 @@ self.util = _cliPkgRequires.util;
|
|
|
53301
53300
|
};
|
|
53302
53301
|
A.ImportCache.prototype = {
|
|
53303
53302
|
canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
|
|
53304
|
-
var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, cacheable, i, importer, perImporterKey,
|
|
53303
|
+
var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2, result, t8, _1_2_isSet, _2_0, _2_1, _2_3, _2_5, _2_3_isSet, _2_5_isSet, j, _this = this, _null = null;
|
|
53305
53304
|
if (A.isBrowser())
|
|
53306
53305
|
t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && _this._importers.length === 0;
|
|
53307
53306
|
else
|
|
@@ -53321,50 +53320,49 @@ self.util = _cliPkgRequires.util;
|
|
|
53321
53320
|
t1 = _this._canonicalizeCache;
|
|
53322
53321
|
if (t1.containsKey$1(key))
|
|
53323
53322
|
return t1.$index(0, key);
|
|
53324
|
-
for (t2 = _this._importers, t3 = type$.Record_1_nullable_Object, t4 = _this._perImporterCanonicalizeCache, t5 = type$.Record_3_Importer_and_Uri_and_Uri_originalUrl, cacheable = true, i = 0; i < t2.length; ++i) {
|
|
53323
|
+
for (t2 = _this._importers, t3 = type$.Record_1_nullable_Object, t4 = _this._perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl, t6 = type$.Record_3_Importer_and_Uri_and_Uri_originalUrl, cacheable = true, i = 0; i < t2.length; ++i) {
|
|
53325
53324
|
importer = t2[i];
|
|
53326
53325
|
perImporterKey = new A._Record_3_forImport(importer, url, forImport);
|
|
53327
53326
|
if (t4.containsKey$1(perImporterKey)) {
|
|
53328
|
-
|
|
53329
|
-
|
|
53330
|
-
_1_0 = new A._Record_1(t6);
|
|
53327
|
+
t7 = t4.$index(0, perImporterKey);
|
|
53328
|
+
_1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
|
|
53331
53329
|
} else
|
|
53332
53330
|
_1_0 = _null;
|
|
53333
|
-
|
|
53334
|
-
if (
|
|
53331
|
+
t7 = t3._is(_1_0);
|
|
53332
|
+
if (t7) {
|
|
53335
53333
|
_1_2 = _1_0._0;
|
|
53336
53334
|
if (_1_2 != null) {
|
|
53337
|
-
|
|
53335
|
+
t6._as(_1_2);
|
|
53338
53336
|
result = _1_2;
|
|
53339
|
-
|
|
53337
|
+
t8 = true;
|
|
53340
53338
|
} else {
|
|
53341
53339
|
result = _null;
|
|
53342
|
-
|
|
53340
|
+
t8 = false;
|
|
53343
53341
|
}
|
|
53344
53342
|
_1_2_isSet = true;
|
|
53345
53343
|
} else {
|
|
53346
53344
|
result = _null;
|
|
53347
53345
|
_1_2 = result;
|
|
53348
53346
|
_1_2_isSet = false;
|
|
53349
|
-
|
|
53347
|
+
t8 = false;
|
|
53350
53348
|
}
|
|
53351
|
-
if (
|
|
53349
|
+
if (t8)
|
|
53352
53350
|
return result;
|
|
53353
|
-
if (
|
|
53354
|
-
|
|
53351
|
+
if (t7)
|
|
53352
|
+
t7 = (_1_2_isSet ? _1_2 : _1_0._0) == null;
|
|
53355
53353
|
else
|
|
53356
|
-
|
|
53357
|
-
if (
|
|
53354
|
+
t7 = false;
|
|
53355
|
+
if (t7)
|
|
53358
53356
|
continue;
|
|
53359
53357
|
$label0$1: {
|
|
53360
53358
|
_2_0 = _this._canonicalize$4(importer, url, baseUrl, forImport);
|
|
53361
53359
|
_2_1 = _2_0._0;
|
|
53362
53360
|
if (_2_1 != null) {
|
|
53363
|
-
result = _2_1 == null ?
|
|
53361
|
+
result = _2_1 == null ? t6._as(_2_1) : _2_1;
|
|
53364
53362
|
_2_3 = _2_0._1;
|
|
53365
|
-
|
|
53366
|
-
_2_5 =
|
|
53367
|
-
|
|
53363
|
+
t7 = _2_3;
|
|
53364
|
+
_2_5 = t7;
|
|
53365
|
+
t7 = t7 && cacheable;
|
|
53368
53366
|
_2_3_isSet = true;
|
|
53369
53367
|
_2_5_isSet = true;
|
|
53370
53368
|
} else {
|
|
@@ -53373,34 +53371,34 @@ self.util = _cliPkgRequires.util;
|
|
|
53373
53371
|
_2_5 = _2_3;
|
|
53374
53372
|
_2_5_isSet = false;
|
|
53375
53373
|
_2_3_isSet = false;
|
|
53376
|
-
|
|
53374
|
+
t7 = false;
|
|
53377
53375
|
}
|
|
53378
|
-
if (
|
|
53376
|
+
if (t7) {
|
|
53379
53377
|
t1.$indexSet(0, key, result);
|
|
53380
53378
|
return result;
|
|
53381
53379
|
}
|
|
53382
53380
|
if (_2_5_isSet)
|
|
53383
|
-
|
|
53381
|
+
t7 = _2_5;
|
|
53384
53382
|
else {
|
|
53385
53383
|
if (_2_3_isSet)
|
|
53386
|
-
|
|
53384
|
+
t7 = _2_3;
|
|
53387
53385
|
else {
|
|
53388
53386
|
_2_3 = _2_0._1;
|
|
53389
|
-
|
|
53387
|
+
t7 = _2_3;
|
|
53390
53388
|
_2_3_isSet = true;
|
|
53391
53389
|
}
|
|
53392
|
-
_2_5 = true ===
|
|
53393
|
-
|
|
53390
|
+
_2_5 = true === t7;
|
|
53391
|
+
t7 = _2_5;
|
|
53394
53392
|
}
|
|
53395
|
-
|
|
53396
|
-
if (
|
|
53393
|
+
t7 = t7 && !cacheable;
|
|
53394
|
+
if (t7) {
|
|
53397
53395
|
t4.$indexSet(0, perImporterKey, _2_1);
|
|
53398
53396
|
if (_2_1 != null)
|
|
53399
53397
|
return _2_1;
|
|
53400
53398
|
break $label0$1;
|
|
53401
53399
|
}
|
|
53402
|
-
|
|
53403
|
-
if (
|
|
53400
|
+
t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
|
|
53401
|
+
if (t7) {
|
|
53404
53402
|
if (cacheable) {
|
|
53405
53403
|
for (j = 0; j < i; ++j)
|
|
53406
53404
|
t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
|
|
@@ -90107,7 +90105,7 @@ self.util = _cliPkgRequires.util;
|
|
|
90107
90105
|
canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
|
|
90108
90106
|
var $async$goto = 0,
|
|
90109
90107
|
$async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
|
|
90110
|
-
$async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, cacheable, i, importer, perImporterKey,
|
|
90108
|
+
$async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2, result, t8, _1_2_isSet, _2_0, _2_1, _2_3, _2_5, _2_3_isSet, _2_5_isSet, j;
|
|
90111
90109
|
var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
|
90112
90110
|
if ($async$errorCode === 1)
|
|
90113
90111
|
return A._asyncRethrow($async$result, $async$completer);
|
|
@@ -90150,7 +90148,7 @@ self.util = _cliPkgRequires.util;
|
|
|
90150
90148
|
$async$goto = 1;
|
|
90151
90149
|
break;
|
|
90152
90150
|
}
|
|
90153
|
-
t2 = $async$self._async_import_cache0$_importers, t3 = type$.Record_1_nullable_Object, t4 = $async$self._async_import_cache0$_perImporterCanonicalizeCache, t5 = type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2, cacheable = true, i = 0;
|
|
90151
|
+
t2 = $async$self._async_import_cache0$_importers, t3 = type$.Record_1_nullable_Object, t4 = $async$self._async_import_cache0$_perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2, t6 = type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2, cacheable = true, i = 0;
|
|
90154
90152
|
case 6:
|
|
90155
90153
|
// for condition
|
|
90156
90154
|
if (!(i < t2.length)) {
|
|
@@ -90161,40 +90159,39 @@ self.util = _cliPkgRequires.util;
|
|
|
90161
90159
|
importer = t2[i];
|
|
90162
90160
|
perImporterKey = new A._Record_3_forImport(importer, url, forImport);
|
|
90163
90161
|
if (t4.containsKey$1(perImporterKey)) {
|
|
90164
|
-
|
|
90165
|
-
|
|
90166
|
-
_1_0 = new A._Record_1(t6);
|
|
90162
|
+
t7 = t4.$index(0, perImporterKey);
|
|
90163
|
+
_1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
|
|
90167
90164
|
} else
|
|
90168
90165
|
_1_0 = null;
|
|
90169
|
-
|
|
90170
|
-
if (
|
|
90166
|
+
t7 = t3._is(_1_0);
|
|
90167
|
+
if (t7) {
|
|
90171
90168
|
_1_2 = _1_0._0;
|
|
90172
90169
|
if (_1_2 != null) {
|
|
90173
|
-
|
|
90170
|
+
t6._as(_1_2);
|
|
90174
90171
|
result = _1_2;
|
|
90175
|
-
|
|
90172
|
+
t8 = true;
|
|
90176
90173
|
} else {
|
|
90177
90174
|
result = null;
|
|
90178
|
-
|
|
90175
|
+
t8 = false;
|
|
90179
90176
|
}
|
|
90180
90177
|
_1_2_isSet = true;
|
|
90181
90178
|
} else {
|
|
90182
90179
|
_1_2 = null;
|
|
90183
90180
|
_1_2_isSet = false;
|
|
90184
90181
|
result = null;
|
|
90185
|
-
|
|
90182
|
+
t8 = false;
|
|
90186
90183
|
}
|
|
90187
|
-
if (
|
|
90184
|
+
if (t8) {
|
|
90188
90185
|
$async$returnValue = result;
|
|
90189
90186
|
// goto return
|
|
90190
90187
|
$async$goto = 1;
|
|
90191
90188
|
break;
|
|
90192
90189
|
}
|
|
90193
|
-
if (
|
|
90194
|
-
|
|
90190
|
+
if (t7)
|
|
90191
|
+
t7 = (_1_2_isSet ? _1_2 : _1_0._0) == null;
|
|
90195
90192
|
else
|
|
90196
|
-
|
|
90197
|
-
if (
|
|
90193
|
+
t7 = false;
|
|
90194
|
+
if (t7) {
|
|
90198
90195
|
// goto for update
|
|
90199
90196
|
$async$goto = 7;
|
|
90200
90197
|
break;
|
|
@@ -90206,11 +90203,11 @@ self.util = _cliPkgRequires.util;
|
|
|
90206
90203
|
_2_0 = $async$result;
|
|
90207
90204
|
_2_1 = _2_0._0;
|
|
90208
90205
|
if (_2_1 != null) {
|
|
90209
|
-
result = _2_1 == null ?
|
|
90206
|
+
result = _2_1 == null ? t6._as(_2_1) : _2_1;
|
|
90210
90207
|
_2_3 = _2_0._1;
|
|
90211
|
-
|
|
90212
|
-
_2_5 =
|
|
90213
|
-
|
|
90208
|
+
t7 = _2_3;
|
|
90209
|
+
_2_5 = t7;
|
|
90210
|
+
t7 = t7 && cacheable;
|
|
90214
90211
|
_2_3_isSet = true;
|
|
90215
90212
|
_2_5_isSet = true;
|
|
90216
90213
|
} else {
|
|
@@ -90219,9 +90216,9 @@ self.util = _cliPkgRequires.util;
|
|
|
90219
90216
|
_2_3 = null;
|
|
90220
90217
|
_2_3_isSet = false;
|
|
90221
90218
|
result = null;
|
|
90222
|
-
|
|
90219
|
+
t7 = false;
|
|
90223
90220
|
}
|
|
90224
|
-
if (
|
|
90221
|
+
if (t7) {
|
|
90225
90222
|
t1.$indexSet(0, key, result);
|
|
90226
90223
|
$async$returnValue = result;
|
|
90227
90224
|
// goto return
|
|
@@ -90229,20 +90226,20 @@ self.util = _cliPkgRequires.util;
|
|
|
90229
90226
|
break;
|
|
90230
90227
|
}
|
|
90231
90228
|
if (_2_5_isSet)
|
|
90232
|
-
|
|
90229
|
+
t7 = _2_5;
|
|
90233
90230
|
else {
|
|
90234
90231
|
if (_2_3_isSet)
|
|
90235
|
-
|
|
90232
|
+
t7 = _2_3;
|
|
90236
90233
|
else {
|
|
90237
90234
|
_2_3 = _2_0._1;
|
|
90238
|
-
|
|
90235
|
+
t7 = _2_3;
|
|
90239
90236
|
_2_3_isSet = true;
|
|
90240
90237
|
}
|
|
90241
|
-
_2_5 = true ===
|
|
90242
|
-
|
|
90238
|
+
_2_5 = true === t7;
|
|
90239
|
+
t7 = _2_5;
|
|
90243
90240
|
}
|
|
90244
|
-
|
|
90245
|
-
if (
|
|
90241
|
+
t7 = t7 && !cacheable;
|
|
90242
|
+
if (t7) {
|
|
90246
90243
|
t4.$indexSet(0, perImporterKey, _2_1);
|
|
90247
90244
|
if (_2_1 != null) {
|
|
90248
90245
|
$async$returnValue = _2_1;
|
|
@@ -90254,8 +90251,8 @@ self.util = _cliPkgRequires.util;
|
|
|
90254
90251
|
$async$goto = 9;
|
|
90255
90252
|
break;
|
|
90256
90253
|
}
|
|
90257
|
-
|
|
90258
|
-
if (
|
|
90254
|
+
t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
|
|
90255
|
+
if (t7) {
|
|
90259
90256
|
if (cacheable) {
|
|
90260
90257
|
for (j = 0; j < i; ++j)
|
|
90261
90258
|
t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
|
|
@@ -100863,7 +100860,7 @@ self.util = _cliPkgRequires.util;
|
|
|
100863
100860
|
};
|
|
100864
100861
|
A.ImportCache0.prototype = {
|
|
100865
100862
|
canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
|
|
100866
|
-
var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, cacheable, i, importer, perImporterKey,
|
|
100863
|
+
var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2, result, t8, _1_2_isSet, _2_0, _2_1, _2_3, _2_5, _2_3_isSet, _2_5_isSet, j, _this = this, _null = null;
|
|
100867
100864
|
if (A.isBrowser())
|
|
100868
100865
|
t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && _this._import_cache$_importers.length === 0;
|
|
100869
100866
|
else
|
|
@@ -100883,50 +100880,49 @@ self.util = _cliPkgRequires.util;
|
|
|
100883
100880
|
t1 = _this._import_cache$_canonicalizeCache;
|
|
100884
100881
|
if (t1.containsKey$1(key))
|
|
100885
100882
|
return t1.$index(0, key);
|
|
100886
|
-
for (t2 = _this._import_cache$_importers, t3 = type$.Record_1_nullable_Object, t4 = _this._import_cache$_perImporterCanonicalizeCache, t5 = type$.Record_3_Importer_and_Uri_and_Uri_originalUrl_2, cacheable = true, i = 0; i < t2.length; ++i) {
|
|
100883
|
+
for (t2 = _this._import_cache$_importers, t3 = type$.Record_1_nullable_Object, t4 = _this._import_cache$_perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2, t6 = type$.Record_3_Importer_and_Uri_and_Uri_originalUrl_2, cacheable = true, i = 0; i < t2.length; ++i) {
|
|
100887
100884
|
importer = t2[i];
|
|
100888
100885
|
perImporterKey = new A._Record_3_forImport(importer, url, forImport);
|
|
100889
100886
|
if (t4.containsKey$1(perImporterKey)) {
|
|
100890
|
-
|
|
100891
|
-
|
|
100892
|
-
_1_0 = new A._Record_1(t6);
|
|
100887
|
+
t7 = t4.$index(0, perImporterKey);
|
|
100888
|
+
_1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
|
|
100893
100889
|
} else
|
|
100894
100890
|
_1_0 = _null;
|
|
100895
|
-
|
|
100896
|
-
if (
|
|
100891
|
+
t7 = t3._is(_1_0);
|
|
100892
|
+
if (t7) {
|
|
100897
100893
|
_1_2 = _1_0._0;
|
|
100898
100894
|
if (_1_2 != null) {
|
|
100899
|
-
|
|
100895
|
+
t6._as(_1_2);
|
|
100900
100896
|
result = _1_2;
|
|
100901
|
-
|
|
100897
|
+
t8 = true;
|
|
100902
100898
|
} else {
|
|
100903
100899
|
result = _null;
|
|
100904
|
-
|
|
100900
|
+
t8 = false;
|
|
100905
100901
|
}
|
|
100906
100902
|
_1_2_isSet = true;
|
|
100907
100903
|
} else {
|
|
100908
100904
|
result = _null;
|
|
100909
100905
|
_1_2 = result;
|
|
100910
100906
|
_1_2_isSet = false;
|
|
100911
|
-
|
|
100907
|
+
t8 = false;
|
|
100912
100908
|
}
|
|
100913
|
-
if (
|
|
100909
|
+
if (t8)
|
|
100914
100910
|
return result;
|
|
100915
|
-
if (
|
|
100916
|
-
|
|
100911
|
+
if (t7)
|
|
100912
|
+
t7 = (_1_2_isSet ? _1_2 : _1_0._0) == null;
|
|
100917
100913
|
else
|
|
100918
|
-
|
|
100919
|
-
if (
|
|
100914
|
+
t7 = false;
|
|
100915
|
+
if (t7)
|
|
100920
100916
|
continue;
|
|
100921
100917
|
$label0$1: {
|
|
100922
100918
|
_2_0 = _this._import_cache$_canonicalize$4(importer, url, baseUrl, forImport);
|
|
100923
100919
|
_2_1 = _2_0._0;
|
|
100924
100920
|
if (_2_1 != null) {
|
|
100925
|
-
result = _2_1 == null ?
|
|
100921
|
+
result = _2_1 == null ? t6._as(_2_1) : _2_1;
|
|
100926
100922
|
_2_3 = _2_0._1;
|
|
100927
|
-
|
|
100928
|
-
_2_5 =
|
|
100929
|
-
|
|
100923
|
+
t7 = _2_3;
|
|
100924
|
+
_2_5 = t7;
|
|
100925
|
+
t7 = t7 && cacheable;
|
|
100930
100926
|
_2_3_isSet = true;
|
|
100931
100927
|
_2_5_isSet = true;
|
|
100932
100928
|
} else {
|
|
@@ -100935,34 +100931,34 @@ self.util = _cliPkgRequires.util;
|
|
|
100935
100931
|
_2_5 = _2_3;
|
|
100936
100932
|
_2_5_isSet = false;
|
|
100937
100933
|
_2_3_isSet = false;
|
|
100938
|
-
|
|
100934
|
+
t7 = false;
|
|
100939
100935
|
}
|
|
100940
|
-
if (
|
|
100936
|
+
if (t7) {
|
|
100941
100937
|
t1.$indexSet(0, key, result);
|
|
100942
100938
|
return result;
|
|
100943
100939
|
}
|
|
100944
100940
|
if (_2_5_isSet)
|
|
100945
|
-
|
|
100941
|
+
t7 = _2_5;
|
|
100946
100942
|
else {
|
|
100947
100943
|
if (_2_3_isSet)
|
|
100948
|
-
|
|
100944
|
+
t7 = _2_3;
|
|
100949
100945
|
else {
|
|
100950
100946
|
_2_3 = _2_0._1;
|
|
100951
|
-
|
|
100947
|
+
t7 = _2_3;
|
|
100952
100948
|
_2_3_isSet = true;
|
|
100953
100949
|
}
|
|
100954
|
-
_2_5 = true ===
|
|
100955
|
-
|
|
100950
|
+
_2_5 = true === t7;
|
|
100951
|
+
t7 = _2_5;
|
|
100956
100952
|
}
|
|
100957
|
-
|
|
100958
|
-
if (
|
|
100953
|
+
t7 = t7 && !cacheable;
|
|
100954
|
+
if (t7) {
|
|
100959
100955
|
t4.$indexSet(0, perImporterKey, _2_1);
|
|
100960
100956
|
if (_2_1 != null)
|
|
100961
100957
|
return _2_1;
|
|
100962
100958
|
break $label0$1;
|
|
100963
100959
|
}
|
|
100964
|
-
|
|
100965
|
-
if (
|
|
100960
|
+
t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
|
|
100961
|
+
if (t7) {
|
|
100966
100962
|
if (cacheable) {
|
|
100967
100963
|
for (j = 0; j < i; ++j)
|
|
100968
100964
|
t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
|