@vue/compiler-sfc 3.6.0-alpha.6 → 3.6.0-beta.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/dist/compiler-sfc.cjs.js +354 -294
- package/dist/compiler-sfc.esm-browser.js +28818 -28535
- package/package.json +7 -7
package/dist/compiler-sfc.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-sfc v3.6.0-
|
|
2
|
+
* @vue/compiler-sfc v3.6.0-beta.1
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -1711,14 +1711,21 @@ function createCache(max = 500) {
|
|
|
1711
1711
|
function isUsedInTemplate(identifier, sfc) {
|
|
1712
1712
|
return resolveTemplateUsedIdentifiers(sfc).has(identifier);
|
|
1713
1713
|
}
|
|
1714
|
-
const
|
|
1714
|
+
const templateAnalysisCache = createCache();
|
|
1715
|
+
function resolveTemplateVModelIdentifiers(sfc) {
|
|
1716
|
+
return resolveTemplateAnalysisResult(sfc, false).vModelIds;
|
|
1717
|
+
}
|
|
1715
1718
|
function resolveTemplateUsedIdentifiers(sfc) {
|
|
1719
|
+
return resolveTemplateAnalysisResult(sfc).usedIds;
|
|
1720
|
+
}
|
|
1721
|
+
function resolveTemplateAnalysisResult(sfc, collectUsedIds = true) {
|
|
1716
1722
|
const { content, ast } = sfc.template;
|
|
1717
|
-
const cached =
|
|
1718
|
-
if (cached) {
|
|
1723
|
+
const cached = templateAnalysisCache.get(content);
|
|
1724
|
+
if (cached && (!collectUsedIds || cached.usedIds)) {
|
|
1719
1725
|
return cached;
|
|
1720
1726
|
}
|
|
1721
|
-
const ids = /* @__PURE__ */ new Set();
|
|
1727
|
+
const ids = collectUsedIds ? /* @__PURE__ */ new Set() : void 0;
|
|
1728
|
+
const vModelIds = /* @__PURE__ */ new Set();
|
|
1722
1729
|
ast.children.forEach(walk);
|
|
1723
1730
|
function walk(node) {
|
|
1724
1731
|
var _a;
|
|
@@ -1727,39 +1734,55 @@ function resolveTemplateUsedIdentifiers(sfc) {
|
|
|
1727
1734
|
let tag = node.tag;
|
|
1728
1735
|
if (tag.includes(".")) tag = tag.split(".")[0].trim();
|
|
1729
1736
|
if (!CompilerDOM.parserOptions.isNativeTag(tag) && !CompilerDOM.parserOptions.isBuiltInComponent(tag)) {
|
|
1730
|
-
ids
|
|
1731
|
-
|
|
1737
|
+
if (ids) {
|
|
1738
|
+
ids.add(shared.camelize(tag));
|
|
1739
|
+
ids.add(shared.capitalize(shared.camelize(tag)));
|
|
1740
|
+
}
|
|
1732
1741
|
}
|
|
1733
1742
|
for (let i = 0; i < node.props.length; i++) {
|
|
1734
1743
|
const prop = node.props[i];
|
|
1735
1744
|
if (prop.type === 7) {
|
|
1736
|
-
if (
|
|
1737
|
-
|
|
1745
|
+
if (ids) {
|
|
1746
|
+
if (!shared.isBuiltInDirective(prop.name)) {
|
|
1747
|
+
ids.add(`v${shared.capitalize(shared.camelize(prop.name))}`);
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
if (prop.name === "model") {
|
|
1751
|
+
const exp = prop.exp;
|
|
1752
|
+
if (exp && exp.type === 4) {
|
|
1753
|
+
const expString = exp.content.trim();
|
|
1754
|
+
if (CompilerDOM.isSimpleIdentifier(expString) && expString !== "undefined") {
|
|
1755
|
+
vModelIds.add(expString);
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1738
1758
|
}
|
|
1739
|
-
if (prop.arg && !prop.arg.isStatic) {
|
|
1759
|
+
if (ids && prop.arg && !prop.arg.isStatic) {
|
|
1740
1760
|
extractIdentifiers(ids, prop.arg);
|
|
1741
1761
|
}
|
|
1742
|
-
if (
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1762
|
+
if (ids) {
|
|
1763
|
+
if (prop.name === "for") {
|
|
1764
|
+
extractIdentifiers(ids, prop.forParseResult.source);
|
|
1765
|
+
} else if (prop.exp) {
|
|
1766
|
+
extractIdentifiers(ids, prop.exp);
|
|
1767
|
+
} else if (prop.name === "bind" && !prop.exp) {
|
|
1768
|
+
ids.add(shared.camelize(prop.arg.content));
|
|
1769
|
+
}
|
|
1748
1770
|
}
|
|
1749
1771
|
}
|
|
1750
|
-
if (prop.type === 6 && prop.name === "ref" && ((_a = prop.value) == null ? void 0 : _a.content)) {
|
|
1772
|
+
if (ids && prop.type === 6 && prop.name === "ref" && ((_a = prop.value) == null ? void 0 : _a.content)) {
|
|
1751
1773
|
ids.add(prop.value.content);
|
|
1752
1774
|
}
|
|
1753
1775
|
}
|
|
1754
1776
|
node.children.forEach(walk);
|
|
1755
1777
|
break;
|
|
1756
1778
|
case 5:
|
|
1757
|
-
extractIdentifiers(ids, node.content);
|
|
1779
|
+
if (ids) extractIdentifiers(ids, node.content);
|
|
1758
1780
|
break;
|
|
1759
1781
|
}
|
|
1760
1782
|
}
|
|
1761
|
-
|
|
1762
|
-
|
|
1783
|
+
const result = { usedIds: ids, vModelIds };
|
|
1784
|
+
templateAnalysisCache.set(content, result);
|
|
1785
|
+
return result;
|
|
1763
1786
|
}
|
|
1764
1787
|
function extractIdentifiers(ids, node) {
|
|
1765
1788
|
if (node.ast) {
|
|
@@ -2320,7 +2343,7 @@ var hasRequiredConsolidate$1;
|
|
|
2320
2343
|
function requireConsolidate$1 () {
|
|
2321
2344
|
if (hasRequiredConsolidate$1) return consolidate$2.exports;
|
|
2322
2345
|
hasRequiredConsolidate$1 = 1;
|
|
2323
|
-
(function (module, exports) {
|
|
2346
|
+
(function (module, exports$1) {
|
|
2324
2347
|
/*
|
|
2325
2348
|
* Engines which do not support caching of their file contents
|
|
2326
2349
|
* should use the `read()` function defined in consolidate.js
|
|
@@ -2366,7 +2389,7 @@ function requireConsolidate$1 () {
|
|
|
2366
2389
|
* @api public
|
|
2367
2390
|
*/
|
|
2368
2391
|
|
|
2369
|
-
exports.clearCache = function() {
|
|
2392
|
+
exports$1.clearCache = function() {
|
|
2370
2393
|
readCache = {};
|
|
2371
2394
|
cacheStore = {};
|
|
2372
2395
|
};
|
|
@@ -2499,11 +2522,11 @@ function requireConsolidate$1 () {
|
|
|
2499
2522
|
opts.partials = partials;
|
|
2500
2523
|
if (err) return cb(err);
|
|
2501
2524
|
if (cache(opts)) {
|
|
2502
|
-
exports[name].render('', opts, cb);
|
|
2525
|
+
exports$1[name].render('', opts, cb);
|
|
2503
2526
|
} else {
|
|
2504
2527
|
read(path, opts, function(err, str) {
|
|
2505
2528
|
if (err) return cb(err);
|
|
2506
|
-
exports[name].render(str, opts, cb);
|
|
2529
|
+
exports$1[name].render(str, opts, cb);
|
|
2507
2530
|
});
|
|
2508
2531
|
}
|
|
2509
2532
|
});
|
|
@@ -2515,13 +2538,13 @@ function requireConsolidate$1 () {
|
|
|
2515
2538
|
* velocity support.
|
|
2516
2539
|
*/
|
|
2517
2540
|
|
|
2518
|
-
exports.velocityjs = fromStringRenderer('velocityjs');
|
|
2541
|
+
exports$1.velocityjs = fromStringRenderer('velocityjs');
|
|
2519
2542
|
|
|
2520
2543
|
/**
|
|
2521
2544
|
* velocity string support.
|
|
2522
2545
|
*/
|
|
2523
2546
|
|
|
2524
|
-
exports.velocityjs.render = function(str, options, cb) {
|
|
2547
|
+
exports$1.velocityjs.render = function(str, options, cb) {
|
|
2525
2548
|
return promisify(cb, function(cb) {
|
|
2526
2549
|
var engine = requires.velocityjs || (requires.velocityjs = require('velocityjs'));
|
|
2527
2550
|
try {
|
|
@@ -2537,7 +2560,7 @@ function requireConsolidate$1 () {
|
|
|
2537
2560
|
* Liquid support.
|
|
2538
2561
|
*/
|
|
2539
2562
|
|
|
2540
|
-
exports.liquid = fromStringRenderer('liquid');
|
|
2563
|
+
exports$1.liquid = fromStringRenderer('liquid');
|
|
2541
2564
|
|
|
2542
2565
|
/**
|
|
2543
2566
|
* Liquid string support.
|
|
@@ -2641,7 +2664,7 @@ function requireConsolidate$1 () {
|
|
|
2641
2664
|
tmpl(context, cb);
|
|
2642
2665
|
}
|
|
2643
2666
|
|
|
2644
|
-
exports.liquid.render = function(str, options, cb) {
|
|
2667
|
+
exports$1.liquid.render = function(str, options, cb) {
|
|
2645
2668
|
return promisify(cb, function(cb) {
|
|
2646
2669
|
var engine = requires.liquid;
|
|
2647
2670
|
var Liquid;
|
|
@@ -2740,7 +2763,7 @@ function requireConsolidate$1 () {
|
|
|
2740
2763
|
* Jade support.
|
|
2741
2764
|
*/
|
|
2742
2765
|
|
|
2743
|
-
exports.jade = function(path, options, cb) {
|
|
2766
|
+
exports$1.jade = function(path, options, cb) {
|
|
2744
2767
|
return promisify(cb, function(cb) {
|
|
2745
2768
|
var engine = requires.jade;
|
|
2746
2769
|
if (!engine) {
|
|
@@ -2768,7 +2791,7 @@ function requireConsolidate$1 () {
|
|
|
2768
2791
|
* Jade string support.
|
|
2769
2792
|
*/
|
|
2770
2793
|
|
|
2771
|
-
exports.jade.render = function(str, options, cb) {
|
|
2794
|
+
exports$1.jade.render = function(str, options, cb) {
|
|
2772
2795
|
return promisify(cb, function(cb) {
|
|
2773
2796
|
var engine = requires.jade;
|
|
2774
2797
|
if (!engine) {
|
|
@@ -2796,13 +2819,13 @@ function requireConsolidate$1 () {
|
|
|
2796
2819
|
* Dust support.
|
|
2797
2820
|
*/
|
|
2798
2821
|
|
|
2799
|
-
exports.dust = fromStringRenderer('dust');
|
|
2822
|
+
exports$1.dust = fromStringRenderer('dust');
|
|
2800
2823
|
|
|
2801
2824
|
/**
|
|
2802
2825
|
* Dust string support.
|
|
2803
2826
|
*/
|
|
2804
2827
|
|
|
2805
|
-
exports.dust.render = function(str, options, cb) {
|
|
2828
|
+
exports$1.dust.render = function(str, options, cb) {
|
|
2806
2829
|
return promisify(cb, function(cb) {
|
|
2807
2830
|
var engine = requires.dust;
|
|
2808
2831
|
if (!engine) {
|
|
@@ -2851,13 +2874,13 @@ function requireConsolidate$1 () {
|
|
|
2851
2874
|
* Swig support.
|
|
2852
2875
|
*/
|
|
2853
2876
|
|
|
2854
|
-
exports.swig = fromStringRenderer('swig');
|
|
2877
|
+
exports$1.swig = fromStringRenderer('swig');
|
|
2855
2878
|
|
|
2856
2879
|
/**
|
|
2857
2880
|
* Swig string support.
|
|
2858
2881
|
*/
|
|
2859
2882
|
|
|
2860
|
-
exports.swig.render = function(str, options, cb) {
|
|
2883
|
+
exports$1.swig.render = function(str, options, cb) {
|
|
2861
2884
|
return promisify(cb, function(cb) {
|
|
2862
2885
|
var engine = requires.swig;
|
|
2863
2886
|
if (!engine) {
|
|
@@ -2887,7 +2910,7 @@ function requireConsolidate$1 () {
|
|
|
2887
2910
|
* Razor support.
|
|
2888
2911
|
*/
|
|
2889
2912
|
|
|
2890
|
-
exports.razor = function(path, options, cb) {
|
|
2913
|
+
exports$1.razor = function(path, options, cb) {
|
|
2891
2914
|
return promisify(cb, function(cb) {
|
|
2892
2915
|
var engine = requires.razor;
|
|
2893
2916
|
if (!engine) {
|
|
@@ -2917,7 +2940,7 @@ function requireConsolidate$1 () {
|
|
|
2917
2940
|
* razor string support.
|
|
2918
2941
|
*/
|
|
2919
2942
|
|
|
2920
|
-
exports.razor.render = function(str, options, cb) {
|
|
2943
|
+
exports$1.razor.render = function(str, options, cb) {
|
|
2921
2944
|
return promisify(cb, function(cb) {
|
|
2922
2945
|
|
|
2923
2946
|
try {
|
|
@@ -2940,13 +2963,13 @@ function requireConsolidate$1 () {
|
|
|
2940
2963
|
* Atpl support.
|
|
2941
2964
|
*/
|
|
2942
2965
|
|
|
2943
|
-
exports.atpl = fromStringRenderer('atpl');
|
|
2966
|
+
exports$1.atpl = fromStringRenderer('atpl');
|
|
2944
2967
|
|
|
2945
2968
|
/**
|
|
2946
2969
|
* Atpl string support.
|
|
2947
2970
|
*/
|
|
2948
2971
|
|
|
2949
|
-
exports.atpl.render = function(str, options, cb) {
|
|
2972
|
+
exports$1.atpl.render = function(str, options, cb) {
|
|
2950
2973
|
return promisify(cb, function(cb) {
|
|
2951
2974
|
var engine = requires.atpl || (requires.atpl = require('atpl'));
|
|
2952
2975
|
try {
|
|
@@ -2962,13 +2985,13 @@ function requireConsolidate$1 () {
|
|
|
2962
2985
|
* Liquor support,
|
|
2963
2986
|
*/
|
|
2964
2987
|
|
|
2965
|
-
exports.liquor = fromStringRenderer('liquor');
|
|
2988
|
+
exports$1.liquor = fromStringRenderer('liquor');
|
|
2966
2989
|
|
|
2967
2990
|
/**
|
|
2968
2991
|
* Liquor string support.
|
|
2969
2992
|
*/
|
|
2970
2993
|
|
|
2971
|
-
exports.liquor.render = function(str, options, cb) {
|
|
2994
|
+
exports$1.liquor.render = function(str, options, cb) {
|
|
2972
2995
|
return promisify(cb, function(cb) {
|
|
2973
2996
|
var engine = requires.liquor || (requires.liquor = require('liquor'));
|
|
2974
2997
|
try {
|
|
@@ -2984,13 +3007,13 @@ function requireConsolidate$1 () {
|
|
|
2984
3007
|
* Twig support.
|
|
2985
3008
|
*/
|
|
2986
3009
|
|
|
2987
|
-
exports.twig = fromStringRenderer('twig');
|
|
3010
|
+
exports$1.twig = fromStringRenderer('twig');
|
|
2988
3011
|
|
|
2989
3012
|
/**
|
|
2990
3013
|
* Twig string support.
|
|
2991
3014
|
*/
|
|
2992
3015
|
|
|
2993
|
-
exports.twig.render = function(str, options, cb) {
|
|
3016
|
+
exports$1.twig.render = function(str, options, cb) {
|
|
2994
3017
|
return promisify(cb, function(cb) {
|
|
2995
3018
|
var engine = requires.twig || (requires.twig = require('twig').twig);
|
|
2996
3019
|
var templateData = {
|
|
@@ -3012,13 +3035,13 @@ function requireConsolidate$1 () {
|
|
|
3012
3035
|
* EJS support.
|
|
3013
3036
|
*/
|
|
3014
3037
|
|
|
3015
|
-
exports.ejs = fromStringRenderer('ejs');
|
|
3038
|
+
exports$1.ejs = fromStringRenderer('ejs');
|
|
3016
3039
|
|
|
3017
3040
|
/**
|
|
3018
3041
|
* EJS string support.
|
|
3019
3042
|
*/
|
|
3020
3043
|
|
|
3021
|
-
exports.ejs.render = function(str, options, cb) {
|
|
3044
|
+
exports$1.ejs.render = function(str, options, cb) {
|
|
3022
3045
|
return promisify(cb, function(cb) {
|
|
3023
3046
|
var engine = requires.ejs || (requires.ejs = require('ejs'));
|
|
3024
3047
|
try {
|
|
@@ -3034,13 +3057,13 @@ function requireConsolidate$1 () {
|
|
|
3034
3057
|
* Eco support.
|
|
3035
3058
|
*/
|
|
3036
3059
|
|
|
3037
|
-
exports.eco = fromStringRenderer('eco');
|
|
3060
|
+
exports$1.eco = fromStringRenderer('eco');
|
|
3038
3061
|
|
|
3039
3062
|
/**
|
|
3040
3063
|
* Eco string support.
|
|
3041
3064
|
*/
|
|
3042
3065
|
|
|
3043
|
-
exports.eco.render = function(str, options, cb) {
|
|
3066
|
+
exports$1.eco.render = function(str, options, cb) {
|
|
3044
3067
|
return promisify(cb, function(cb) {
|
|
3045
3068
|
var engine = requires.eco || (requires.eco = require('eco'));
|
|
3046
3069
|
try {
|
|
@@ -3055,13 +3078,13 @@ function requireConsolidate$1 () {
|
|
|
3055
3078
|
* Jazz support.
|
|
3056
3079
|
*/
|
|
3057
3080
|
|
|
3058
|
-
exports.jazz = fromStringRenderer('jazz');
|
|
3081
|
+
exports$1.jazz = fromStringRenderer('jazz');
|
|
3059
3082
|
|
|
3060
3083
|
/**
|
|
3061
3084
|
* Jazz string support.
|
|
3062
3085
|
*/
|
|
3063
3086
|
|
|
3064
|
-
exports.jazz.render = function(str, options, cb) {
|
|
3087
|
+
exports$1.jazz.render = function(str, options, cb) {
|
|
3065
3088
|
return promisify(cb, function(cb) {
|
|
3066
3089
|
var engine = requires.jazz || (requires.jazz = require('jazz'));
|
|
3067
3090
|
try {
|
|
@@ -3079,13 +3102,13 @@ function requireConsolidate$1 () {
|
|
|
3079
3102
|
* JQTPL support.
|
|
3080
3103
|
*/
|
|
3081
3104
|
|
|
3082
|
-
exports.jqtpl = fromStringRenderer('jqtpl');
|
|
3105
|
+
exports$1.jqtpl = fromStringRenderer('jqtpl');
|
|
3083
3106
|
|
|
3084
3107
|
/**
|
|
3085
3108
|
* JQTPL string support.
|
|
3086
3109
|
*/
|
|
3087
3110
|
|
|
3088
|
-
exports.jqtpl.render = function(str, options, cb) {
|
|
3111
|
+
exports$1.jqtpl.render = function(str, options, cb) {
|
|
3089
3112
|
return promisify(cb, function(cb) {
|
|
3090
3113
|
var engine = requires.jqtpl || (requires.jqtpl = require('jqtpl'));
|
|
3091
3114
|
try {
|
|
@@ -3101,13 +3124,13 @@ function requireConsolidate$1 () {
|
|
|
3101
3124
|
* Haml support.
|
|
3102
3125
|
*/
|
|
3103
3126
|
|
|
3104
|
-
exports.haml = fromStringRenderer('haml');
|
|
3127
|
+
exports$1.haml = fromStringRenderer('haml');
|
|
3105
3128
|
|
|
3106
3129
|
/**
|
|
3107
3130
|
* Haml string support.
|
|
3108
3131
|
*/
|
|
3109
3132
|
|
|
3110
|
-
exports.haml.render = function(str, options, cb) {
|
|
3133
|
+
exports$1.haml.render = function(str, options, cb) {
|
|
3111
3134
|
return promisify(cb, function(cb) {
|
|
3112
3135
|
var engine = requires.haml || (requires.haml = require('hamljs'));
|
|
3113
3136
|
try {
|
|
@@ -3123,13 +3146,13 @@ function requireConsolidate$1 () {
|
|
|
3123
3146
|
* Hamlet support.
|
|
3124
3147
|
*/
|
|
3125
3148
|
|
|
3126
|
-
exports.hamlet = fromStringRenderer('hamlet');
|
|
3149
|
+
exports$1.hamlet = fromStringRenderer('hamlet');
|
|
3127
3150
|
|
|
3128
3151
|
/**
|
|
3129
3152
|
* Hamlet string support.
|
|
3130
3153
|
*/
|
|
3131
3154
|
|
|
3132
|
-
exports.hamlet.render = function(str, options, cb) {
|
|
3155
|
+
exports$1.hamlet.render = function(str, options, cb) {
|
|
3133
3156
|
return promisify(cb, function(cb) {
|
|
3134
3157
|
var engine = requires.hamlet || (requires.hamlet = require('hamlet'));
|
|
3135
3158
|
try {
|
|
@@ -3145,7 +3168,7 @@ function requireConsolidate$1 () {
|
|
|
3145
3168
|
* Whiskers support.
|
|
3146
3169
|
*/
|
|
3147
3170
|
|
|
3148
|
-
exports.whiskers = function(path, options, cb) {
|
|
3171
|
+
exports$1.whiskers = function(path, options, cb) {
|
|
3149
3172
|
return promisify(cb, function(cb) {
|
|
3150
3173
|
var engine = requires.whiskers || (requires.whiskers = require('whiskers'));
|
|
3151
3174
|
engine.__express(path, options, cb);
|
|
@@ -3156,7 +3179,7 @@ function requireConsolidate$1 () {
|
|
|
3156
3179
|
* Whiskers string support.
|
|
3157
3180
|
*/
|
|
3158
3181
|
|
|
3159
|
-
exports.whiskers.render = function(str, options, cb) {
|
|
3182
|
+
exports$1.whiskers.render = function(str, options, cb) {
|
|
3160
3183
|
return promisify(cb, function(cb) {
|
|
3161
3184
|
var engine = requires.whiskers || (requires.whiskers = require('whiskers'));
|
|
3162
3185
|
try {
|
|
@@ -3171,13 +3194,13 @@ function requireConsolidate$1 () {
|
|
|
3171
3194
|
* Coffee-HAML support.
|
|
3172
3195
|
*/
|
|
3173
3196
|
|
|
3174
|
-
exports['haml-coffee'] = fromStringRenderer('haml-coffee');
|
|
3197
|
+
exports$1['haml-coffee'] = fromStringRenderer('haml-coffee');
|
|
3175
3198
|
|
|
3176
3199
|
/**
|
|
3177
3200
|
* Coffee-HAML string support.
|
|
3178
3201
|
*/
|
|
3179
3202
|
|
|
3180
|
-
exports['haml-coffee'].render = function(str, options, cb) {
|
|
3203
|
+
exports$1['haml-coffee'].render = function(str, options, cb) {
|
|
3181
3204
|
return promisify(cb, function(cb) {
|
|
3182
3205
|
var engine = requires['haml-coffee'] || (requires['haml-coffee'] = require('haml-coffee'));
|
|
3183
3206
|
try {
|
|
@@ -3193,13 +3216,13 @@ function requireConsolidate$1 () {
|
|
|
3193
3216
|
* Hogan support.
|
|
3194
3217
|
*/
|
|
3195
3218
|
|
|
3196
|
-
exports.hogan = fromStringRenderer('hogan');
|
|
3219
|
+
exports$1.hogan = fromStringRenderer('hogan');
|
|
3197
3220
|
|
|
3198
3221
|
/**
|
|
3199
3222
|
* Hogan string support.
|
|
3200
3223
|
*/
|
|
3201
3224
|
|
|
3202
|
-
exports.hogan.render = function(str, options, cb) {
|
|
3225
|
+
exports$1.hogan.render = function(str, options, cb) {
|
|
3203
3226
|
return promisify(cb, function(cb) {
|
|
3204
3227
|
var engine = requires.hogan || (requires.hogan = require('hogan.js'));
|
|
3205
3228
|
try {
|
|
@@ -3215,13 +3238,13 @@ function requireConsolidate$1 () {
|
|
|
3215
3238
|
* templayed.js support.
|
|
3216
3239
|
*/
|
|
3217
3240
|
|
|
3218
|
-
exports.templayed = fromStringRenderer('templayed');
|
|
3241
|
+
exports$1.templayed = fromStringRenderer('templayed');
|
|
3219
3242
|
|
|
3220
3243
|
/**
|
|
3221
3244
|
* templayed.js string support.
|
|
3222
3245
|
*/
|
|
3223
3246
|
|
|
3224
|
-
exports.templayed.render = function(str, options, cb) {
|
|
3247
|
+
exports$1.templayed.render = function(str, options, cb) {
|
|
3225
3248
|
return promisify(cb, function(cb) {
|
|
3226
3249
|
var engine = requires.templayed || (requires.templayed = require('templayed'));
|
|
3227
3250
|
try {
|
|
@@ -3237,13 +3260,13 @@ function requireConsolidate$1 () {
|
|
|
3237
3260
|
* Handlebars support.
|
|
3238
3261
|
*/
|
|
3239
3262
|
|
|
3240
|
-
exports.handlebars = fromStringRenderer('handlebars');
|
|
3263
|
+
exports$1.handlebars = fromStringRenderer('handlebars');
|
|
3241
3264
|
|
|
3242
3265
|
/**
|
|
3243
3266
|
* Handlebars string support.
|
|
3244
3267
|
*/
|
|
3245
3268
|
|
|
3246
|
-
exports.handlebars.render = function(str, options, cb) {
|
|
3269
|
+
exports$1.handlebars.render = function(str, options, cb) {
|
|
3247
3270
|
return promisify(cb, function(cb) {
|
|
3248
3271
|
var engine = requires.handlebars || (requires.handlebars = require('handlebars'));
|
|
3249
3272
|
try {
|
|
@@ -3265,13 +3288,13 @@ function requireConsolidate$1 () {
|
|
|
3265
3288
|
* Underscore support.
|
|
3266
3289
|
*/
|
|
3267
3290
|
|
|
3268
|
-
exports.underscore = fromStringRenderer('underscore');
|
|
3291
|
+
exports$1.underscore = fromStringRenderer('underscore');
|
|
3269
3292
|
|
|
3270
3293
|
/**
|
|
3271
3294
|
* Underscore string support.
|
|
3272
3295
|
*/
|
|
3273
3296
|
|
|
3274
|
-
exports.underscore.render = function(str, options, cb) {
|
|
3297
|
+
exports$1.underscore.render = function(str, options, cb) {
|
|
3275
3298
|
return promisify(cb, function(cb) {
|
|
3276
3299
|
var engine = requires.underscore || (requires.underscore = require('underscore'));
|
|
3277
3300
|
try {
|
|
@@ -3292,13 +3315,13 @@ function requireConsolidate$1 () {
|
|
|
3292
3315
|
* Lodash support.
|
|
3293
3316
|
*/
|
|
3294
3317
|
|
|
3295
|
-
exports.lodash = fromStringRenderer('lodash');
|
|
3318
|
+
exports$1.lodash = fromStringRenderer('lodash');
|
|
3296
3319
|
|
|
3297
3320
|
/**
|
|
3298
3321
|
* Lodash string support.
|
|
3299
3322
|
*/
|
|
3300
3323
|
|
|
3301
|
-
exports.lodash.render = function(str, options, cb) {
|
|
3324
|
+
exports$1.lodash.render = function(str, options, cb) {
|
|
3302
3325
|
return promisify(cb, function(cb) {
|
|
3303
3326
|
var engine = requires.lodash || (requires.lodash = require('lodash'));
|
|
3304
3327
|
try {
|
|
@@ -3314,7 +3337,7 @@ function requireConsolidate$1 () {
|
|
|
3314
3337
|
* Pug support. (formerly Jade)
|
|
3315
3338
|
*/
|
|
3316
3339
|
|
|
3317
|
-
exports.pug = function(path, options, cb) {
|
|
3340
|
+
exports$1.pug = function(path, options, cb) {
|
|
3318
3341
|
return promisify(cb, function(cb) {
|
|
3319
3342
|
var engine = requires.pug;
|
|
3320
3343
|
if (!engine) {
|
|
@@ -3342,7 +3365,7 @@ function requireConsolidate$1 () {
|
|
|
3342
3365
|
* Pug string support.
|
|
3343
3366
|
*/
|
|
3344
3367
|
|
|
3345
|
-
exports.pug.render = function(str, options, cb) {
|
|
3368
|
+
exports$1.pug.render = function(str, options, cb) {
|
|
3346
3369
|
return promisify(cb, function(cb) {
|
|
3347
3370
|
var engine = requires.pug;
|
|
3348
3371
|
if (!engine) {
|
|
@@ -3370,13 +3393,13 @@ function requireConsolidate$1 () {
|
|
|
3370
3393
|
* QEJS support.
|
|
3371
3394
|
*/
|
|
3372
3395
|
|
|
3373
|
-
exports.qejs = fromStringRenderer('qejs');
|
|
3396
|
+
exports$1.qejs = fromStringRenderer('qejs');
|
|
3374
3397
|
|
|
3375
3398
|
/**
|
|
3376
3399
|
* QEJS string support.
|
|
3377
3400
|
*/
|
|
3378
3401
|
|
|
3379
|
-
exports.qejs.render = function(str, options, cb) {
|
|
3402
|
+
exports$1.qejs.render = function(str, options, cb) {
|
|
3380
3403
|
return promisify(cb, function(cb) {
|
|
3381
3404
|
try {
|
|
3382
3405
|
var engine = requires.qejs || (requires.qejs = require('qejs'));
|
|
@@ -3395,13 +3418,13 @@ function requireConsolidate$1 () {
|
|
|
3395
3418
|
* Walrus support.
|
|
3396
3419
|
*/
|
|
3397
3420
|
|
|
3398
|
-
exports.walrus = fromStringRenderer('walrus');
|
|
3421
|
+
exports$1.walrus = fromStringRenderer('walrus');
|
|
3399
3422
|
|
|
3400
3423
|
/**
|
|
3401
3424
|
* Walrus string support.
|
|
3402
3425
|
*/
|
|
3403
3426
|
|
|
3404
|
-
exports.walrus.render = function(str, options, cb) {
|
|
3427
|
+
exports$1.walrus.render = function(str, options, cb) {
|
|
3405
3428
|
return promisify(cb, function(cb) {
|
|
3406
3429
|
var engine = requires.walrus || (requires.walrus = require('walrus'));
|
|
3407
3430
|
try {
|
|
@@ -3417,13 +3440,13 @@ function requireConsolidate$1 () {
|
|
|
3417
3440
|
* Mustache support.
|
|
3418
3441
|
*/
|
|
3419
3442
|
|
|
3420
|
-
exports.mustache = fromStringRenderer('mustache');
|
|
3443
|
+
exports$1.mustache = fromStringRenderer('mustache');
|
|
3421
3444
|
|
|
3422
3445
|
/**
|
|
3423
3446
|
* Mustache string support.
|
|
3424
3447
|
*/
|
|
3425
3448
|
|
|
3426
|
-
exports.mustache.render = function(str, options, cb) {
|
|
3449
|
+
exports$1.mustache.render = function(str, options, cb) {
|
|
3427
3450
|
return promisify(cb, function(cb) {
|
|
3428
3451
|
var engine = requires.mustache || (requires.mustache = require('mustache'));
|
|
3429
3452
|
try {
|
|
@@ -3438,7 +3461,7 @@ function requireConsolidate$1 () {
|
|
|
3438
3461
|
* Just support.
|
|
3439
3462
|
*/
|
|
3440
3463
|
|
|
3441
|
-
exports.just = function(path, options, cb) {
|
|
3464
|
+
exports$1.just = function(path, options, cb) {
|
|
3442
3465
|
return promisify(cb, function(cb) {
|
|
3443
3466
|
var engine = requires.just;
|
|
3444
3467
|
if (!engine) {
|
|
@@ -3454,7 +3477,7 @@ function requireConsolidate$1 () {
|
|
|
3454
3477
|
* Just string support.
|
|
3455
3478
|
*/
|
|
3456
3479
|
|
|
3457
|
-
exports.just.render = function(str, options, cb) {
|
|
3480
|
+
exports$1.just.render = function(str, options, cb) {
|
|
3458
3481
|
return promisify(cb, function(cb) {
|
|
3459
3482
|
var JUST = require('just');
|
|
3460
3483
|
var engine = new JUST({ root: { page: str }});
|
|
@@ -3466,7 +3489,7 @@ function requireConsolidate$1 () {
|
|
|
3466
3489
|
* ECT support.
|
|
3467
3490
|
*/
|
|
3468
3491
|
|
|
3469
|
-
exports.ect = function(path, options, cb) {
|
|
3492
|
+
exports$1.ect = function(path, options, cb) {
|
|
3470
3493
|
return promisify(cb, function(cb) {
|
|
3471
3494
|
var engine = requires.ect;
|
|
3472
3495
|
if (!engine) {
|
|
@@ -3482,7 +3505,7 @@ function requireConsolidate$1 () {
|
|
|
3482
3505
|
* ECT string support.
|
|
3483
3506
|
*/
|
|
3484
3507
|
|
|
3485
|
-
exports.ect.render = function(str, options, cb) {
|
|
3508
|
+
exports$1.ect.render = function(str, options, cb) {
|
|
3486
3509
|
return promisify(cb, function(cb) {
|
|
3487
3510
|
var ECT = require('ect');
|
|
3488
3511
|
var engine = new ECT({ root: { page: str }});
|
|
@@ -3494,13 +3517,13 @@ function requireConsolidate$1 () {
|
|
|
3494
3517
|
* mote support.
|
|
3495
3518
|
*/
|
|
3496
3519
|
|
|
3497
|
-
exports.mote = fromStringRenderer('mote');
|
|
3520
|
+
exports$1.mote = fromStringRenderer('mote');
|
|
3498
3521
|
|
|
3499
3522
|
/**
|
|
3500
3523
|
* mote string support.
|
|
3501
3524
|
*/
|
|
3502
3525
|
|
|
3503
|
-
exports.mote.render = function(str, options, cb) {
|
|
3526
|
+
exports$1.mote.render = function(str, options, cb) {
|
|
3504
3527
|
return promisify(cb, function(cb) {
|
|
3505
3528
|
var engine = requires.mote || (requires.mote = require('mote'));
|
|
3506
3529
|
try {
|
|
@@ -3516,7 +3539,7 @@ function requireConsolidate$1 () {
|
|
|
3516
3539
|
* Toffee support.
|
|
3517
3540
|
*/
|
|
3518
3541
|
|
|
3519
|
-
exports.toffee = function(path, options, cb) {
|
|
3542
|
+
exports$1.toffee = function(path, options, cb) {
|
|
3520
3543
|
return promisify(cb, function(cb) {
|
|
3521
3544
|
var toffee = requires.toffee || (requires.toffee = require('toffee'));
|
|
3522
3545
|
toffee.__consolidate_engine_render(path, options, cb);
|
|
@@ -3527,7 +3550,7 @@ function requireConsolidate$1 () {
|
|
|
3527
3550
|
* Toffee string support.
|
|
3528
3551
|
*/
|
|
3529
3552
|
|
|
3530
|
-
exports.toffee.render = function(str, options, cb) {
|
|
3553
|
+
exports$1.toffee.render = function(str, options, cb) {
|
|
3531
3554
|
return promisify(cb, function(cb) {
|
|
3532
3555
|
var engine = requires.toffee || (requires.toffee = require('toffee'));
|
|
3533
3556
|
try {
|
|
@@ -3542,13 +3565,13 @@ function requireConsolidate$1 () {
|
|
|
3542
3565
|
* doT support.
|
|
3543
3566
|
*/
|
|
3544
3567
|
|
|
3545
|
-
exports.dot = fromStringRenderer('dot');
|
|
3568
|
+
exports$1.dot = fromStringRenderer('dot');
|
|
3546
3569
|
|
|
3547
3570
|
/**
|
|
3548
3571
|
* doT string support.
|
|
3549
3572
|
*/
|
|
3550
3573
|
|
|
3551
|
-
exports.dot.render = function(str, options, cb) {
|
|
3574
|
+
exports$1.dot.render = function(str, options, cb) {
|
|
3552
3575
|
return promisify(cb, function(cb) {
|
|
3553
3576
|
var engine = requires.dot || (requires.dot = require('dot'));
|
|
3554
3577
|
var extend = (requires.extend || (requires.extend = require$$2._extend));
|
|
@@ -3568,13 +3591,13 @@ function requireConsolidate$1 () {
|
|
|
3568
3591
|
* bracket support.
|
|
3569
3592
|
*/
|
|
3570
3593
|
|
|
3571
|
-
exports.bracket = fromStringRenderer('bracket');
|
|
3594
|
+
exports$1.bracket = fromStringRenderer('bracket');
|
|
3572
3595
|
|
|
3573
3596
|
/**
|
|
3574
3597
|
* bracket string support.
|
|
3575
3598
|
*/
|
|
3576
3599
|
|
|
3577
|
-
exports.bracket.render = function(str, options, cb) {
|
|
3600
|
+
exports$1.bracket.render = function(str, options, cb) {
|
|
3578
3601
|
return promisify(cb, function(cb) {
|
|
3579
3602
|
var engine = requires.bracket || (requires.bracket = require('bracket-template'));
|
|
3580
3603
|
try {
|
|
@@ -3590,13 +3613,13 @@ function requireConsolidate$1 () {
|
|
|
3590
3613
|
* Ractive support.
|
|
3591
3614
|
*/
|
|
3592
3615
|
|
|
3593
|
-
exports.ractive = fromStringRenderer('ractive');
|
|
3616
|
+
exports$1.ractive = fromStringRenderer('ractive');
|
|
3594
3617
|
|
|
3595
3618
|
/**
|
|
3596
3619
|
* Ractive string support.
|
|
3597
3620
|
*/
|
|
3598
3621
|
|
|
3599
|
-
exports.ractive.render = function(str, options, cb) {
|
|
3622
|
+
exports$1.ractive.render = function(str, options, cb) {
|
|
3600
3623
|
return promisify(cb, function(cb) {
|
|
3601
3624
|
var Engine = requires.ractive || (requires.ractive = require('ractive'));
|
|
3602
3625
|
|
|
@@ -3631,13 +3654,13 @@ function requireConsolidate$1 () {
|
|
|
3631
3654
|
* Nunjucks support.
|
|
3632
3655
|
*/
|
|
3633
3656
|
|
|
3634
|
-
exports.nunjucks = fromStringRenderer('nunjucks');
|
|
3657
|
+
exports$1.nunjucks = fromStringRenderer('nunjucks');
|
|
3635
3658
|
|
|
3636
3659
|
/**
|
|
3637
3660
|
* Nunjucks string support.
|
|
3638
3661
|
*/
|
|
3639
3662
|
|
|
3640
|
-
exports.nunjucks.render = function(str, options, cb) {
|
|
3663
|
+
exports$1.nunjucks.render = function(str, options, cb) {
|
|
3641
3664
|
return promisify(cb, function(cb) {
|
|
3642
3665
|
|
|
3643
3666
|
try {
|
|
@@ -3696,13 +3719,13 @@ function requireConsolidate$1 () {
|
|
|
3696
3719
|
* HTMLing support.
|
|
3697
3720
|
*/
|
|
3698
3721
|
|
|
3699
|
-
exports.htmling = fromStringRenderer('htmling');
|
|
3722
|
+
exports$1.htmling = fromStringRenderer('htmling');
|
|
3700
3723
|
|
|
3701
3724
|
/**
|
|
3702
3725
|
* HTMLing string support.
|
|
3703
3726
|
*/
|
|
3704
3727
|
|
|
3705
|
-
exports.htmling.render = function(str, options, cb) {
|
|
3728
|
+
exports$1.htmling.render = function(str, options, cb) {
|
|
3706
3729
|
return promisify(cb, function(cb) {
|
|
3707
3730
|
var engine = requires.htmling || (requires.htmling = require('htmling'));
|
|
3708
3731
|
try {
|
|
@@ -3725,7 +3748,7 @@ function requireConsolidate$1 () {
|
|
|
3725
3748
|
return module._compile(compiled, filename);
|
|
3726
3749
|
}
|
|
3727
3750
|
|
|
3728
|
-
exports.requireReact = requireReact;
|
|
3751
|
+
exports$1.requireReact = requireReact;
|
|
3729
3752
|
|
|
3730
3753
|
/**
|
|
3731
3754
|
* Converting a string into a node module.
|
|
@@ -3774,13 +3797,13 @@ function requireConsolidate$1 () {
|
|
|
3774
3797
|
* Plates Support.
|
|
3775
3798
|
*/
|
|
3776
3799
|
|
|
3777
|
-
exports.plates = fromStringRenderer('plates');
|
|
3800
|
+
exports$1.plates = fromStringRenderer('plates');
|
|
3778
3801
|
|
|
3779
3802
|
/**
|
|
3780
3803
|
* Plates string support.
|
|
3781
3804
|
*/
|
|
3782
3805
|
|
|
3783
|
-
exports.plates.render = function(str, options, cb) {
|
|
3806
|
+
exports$1.plates.render = function(str, options, cb) {
|
|
3784
3807
|
return promisify(cb, function(cb) {
|
|
3785
3808
|
var engine = requires.plates || (requires.plates = require('plates'));
|
|
3786
3809
|
var map = options.map || undefined;
|
|
@@ -3881,24 +3904,24 @@ function requireConsolidate$1 () {
|
|
|
3881
3904
|
/**
|
|
3882
3905
|
* React JS Support
|
|
3883
3906
|
*/
|
|
3884
|
-
exports.react = reactRenderer('path');
|
|
3907
|
+
exports$1.react = reactRenderer('path');
|
|
3885
3908
|
|
|
3886
3909
|
/**
|
|
3887
3910
|
* React JS string support.
|
|
3888
3911
|
*/
|
|
3889
|
-
exports.react.render = reactRenderer('string');
|
|
3912
|
+
exports$1.react.render = reactRenderer('string');
|
|
3890
3913
|
|
|
3891
3914
|
/**
|
|
3892
3915
|
* ARC-templates support.
|
|
3893
3916
|
*/
|
|
3894
3917
|
|
|
3895
|
-
exports['arc-templates'] = fromStringRenderer('arc-templates');
|
|
3918
|
+
exports$1['arc-templates'] = fromStringRenderer('arc-templates');
|
|
3896
3919
|
|
|
3897
3920
|
/**
|
|
3898
3921
|
* ARC-templates string support.
|
|
3899
3922
|
*/
|
|
3900
3923
|
|
|
3901
|
-
exports['arc-templates'].render = function(str, options, cb) {
|
|
3924
|
+
exports$1['arc-templates'].render = function(str, options, cb) {
|
|
3902
3925
|
var readFileWithOptions = util.promisify(read);
|
|
3903
3926
|
var consolidateFileSystem = {};
|
|
3904
3927
|
consolidateFileSystem.readFile = function(path) {
|
|
@@ -3926,12 +3949,12 @@ function requireConsolidate$1 () {
|
|
|
3926
3949
|
/**
|
|
3927
3950
|
* Vash support
|
|
3928
3951
|
*/
|
|
3929
|
-
exports.vash = fromStringRenderer('vash');
|
|
3952
|
+
exports$1.vash = fromStringRenderer('vash');
|
|
3930
3953
|
|
|
3931
3954
|
/**
|
|
3932
3955
|
* Vash string support
|
|
3933
3956
|
*/
|
|
3934
|
-
exports.vash.render = function(str, options, cb) {
|
|
3957
|
+
exports$1.vash.render = function(str, options, cb) {
|
|
3935
3958
|
return promisify(cb, function(cb) {
|
|
3936
3959
|
var engine = requires.vash || (requires.vash = require('vash'));
|
|
3937
3960
|
|
|
@@ -3962,13 +3985,13 @@ function requireConsolidate$1 () {
|
|
|
3962
3985
|
* Slm support.
|
|
3963
3986
|
*/
|
|
3964
3987
|
|
|
3965
|
-
exports.slm = fromStringRenderer('slm');
|
|
3988
|
+
exports$1.slm = fromStringRenderer('slm');
|
|
3966
3989
|
|
|
3967
3990
|
/**
|
|
3968
3991
|
* Slm string support.
|
|
3969
3992
|
*/
|
|
3970
3993
|
|
|
3971
|
-
exports.slm.render = function(str, options, cb) {
|
|
3994
|
+
exports$1.slm.render = function(str, options, cb) {
|
|
3972
3995
|
return promisify(cb, function(cb) {
|
|
3973
3996
|
var engine = requires.slm || (requires.slm = require('slm'));
|
|
3974
3997
|
|
|
@@ -3985,7 +4008,7 @@ function requireConsolidate$1 () {
|
|
|
3985
4008
|
* Marko support.
|
|
3986
4009
|
*/
|
|
3987
4010
|
|
|
3988
|
-
exports.marko = function(path, options, cb) {
|
|
4011
|
+
exports$1.marko = function(path, options, cb) {
|
|
3989
4012
|
return promisify(cb, function(cb) {
|
|
3990
4013
|
var engine = requires.marko || (requires.marko = require('marko'));
|
|
3991
4014
|
options.writeToDisk = !!options.cache;
|
|
@@ -4003,7 +4026,7 @@ function requireConsolidate$1 () {
|
|
|
4003
4026
|
* Marko string support.
|
|
4004
4027
|
*/
|
|
4005
4028
|
|
|
4006
|
-
exports.marko.render = function(str, options, cb) {
|
|
4029
|
+
exports$1.marko.render = function(str, options, cb) {
|
|
4007
4030
|
return promisify(cb, function(cb) {
|
|
4008
4031
|
var engine = requires.marko || (requires.marko = require('marko'));
|
|
4009
4032
|
options.writeToDisk = !!options.cache;
|
|
@@ -4021,7 +4044,7 @@ function requireConsolidate$1 () {
|
|
|
4021
4044
|
/**
|
|
4022
4045
|
* Teacup support.
|
|
4023
4046
|
*/
|
|
4024
|
-
exports.teacup = function(path, options, cb) {
|
|
4047
|
+
exports$1.teacup = function(path, options, cb) {
|
|
4025
4048
|
return promisify(cb, function(cb) {
|
|
4026
4049
|
var engine = requires.teacup || (requires.teacup = require('teacup/lib/express'));
|
|
4027
4050
|
commonjsRequire.extensions['.teacup'] = commonjsRequire.extensions['.coffee'];
|
|
@@ -4042,7 +4065,7 @@ function requireConsolidate$1 () {
|
|
|
4042
4065
|
/**
|
|
4043
4066
|
* Teacup string support.
|
|
4044
4067
|
*/
|
|
4045
|
-
exports.teacup.render = function(str, options, cb) {
|
|
4068
|
+
exports$1.teacup.render = function(str, options, cb) {
|
|
4046
4069
|
var coffee = require('coffee-script');
|
|
4047
4070
|
var vm = require('vm');
|
|
4048
4071
|
var sandbox = {
|
|
@@ -4060,13 +4083,13 @@ function requireConsolidate$1 () {
|
|
|
4060
4083
|
* Squirrelly support.
|
|
4061
4084
|
*/
|
|
4062
4085
|
|
|
4063
|
-
exports.squirrelly = fromStringRenderer('squirrelly');
|
|
4086
|
+
exports$1.squirrelly = fromStringRenderer('squirrelly');
|
|
4064
4087
|
|
|
4065
4088
|
/**
|
|
4066
4089
|
* Squirrelly string support.
|
|
4067
4090
|
*/
|
|
4068
4091
|
|
|
4069
|
-
exports.squirrelly.render = function(str, options, cb) {
|
|
4092
|
+
exports$1.squirrelly.render = function(str, options, cb) {
|
|
4070
4093
|
return promisify(cb, function(cb) {
|
|
4071
4094
|
var engine = requires.squirrelly || (requires.squirrelly = require('squirrelly'));
|
|
4072
4095
|
try {
|
|
@@ -4087,13 +4110,13 @@ function requireConsolidate$1 () {
|
|
|
4087
4110
|
* Twing support.
|
|
4088
4111
|
*/
|
|
4089
4112
|
|
|
4090
|
-
exports.twing = fromStringRenderer('twing');
|
|
4113
|
+
exports$1.twing = fromStringRenderer('twing');
|
|
4091
4114
|
|
|
4092
4115
|
/**
|
|
4093
4116
|
* Twing string support.
|
|
4094
4117
|
*/
|
|
4095
4118
|
|
|
4096
|
-
exports.twing.render = function(str, options, cb) {
|
|
4119
|
+
exports$1.twing.render = function(str, options, cb) {
|
|
4097
4120
|
return promisify(cb, function(cb) {
|
|
4098
4121
|
var engine = requires.twing || (requires.twing = require('twing'));
|
|
4099
4122
|
try {
|
|
@@ -4111,7 +4134,7 @@ function requireConsolidate$1 () {
|
|
|
4111
4134
|
/**
|
|
4112
4135
|
* expose the instance of the engine
|
|
4113
4136
|
*/
|
|
4114
|
-
exports.requires = requires;
|
|
4137
|
+
exports$1.requires = requires;
|
|
4115
4138
|
} (consolidate$2, consolidate$2.exports));
|
|
4116
4139
|
return consolidate$2.exports;
|
|
4117
4140
|
}
|
|
@@ -4397,10 +4420,10 @@ var hasRequiredUnesc;
|
|
|
4397
4420
|
function requireUnesc () {
|
|
4398
4421
|
if (hasRequiredUnesc) return unesc.exports;
|
|
4399
4422
|
hasRequiredUnesc = 1;
|
|
4400
|
-
(function (module, exports) {
|
|
4423
|
+
(function (module, exports$1) {
|
|
4401
4424
|
|
|
4402
|
-
exports.__esModule = true;
|
|
4403
|
-
exports["default"] = unesc;
|
|
4425
|
+
exports$1.__esModule = true;
|
|
4426
|
+
exports$1["default"] = unesc;
|
|
4404
4427
|
// Many thanks for this post which made this migration much easier.
|
|
4405
4428
|
// https://mathiasbynens.be/notes/css-escapes
|
|
4406
4429
|
|
|
@@ -4472,7 +4495,7 @@ function requireUnesc () {
|
|
|
4472
4495
|
}
|
|
4473
4496
|
return ret;
|
|
4474
4497
|
}
|
|
4475
|
-
module.exports = exports.default;
|
|
4498
|
+
module.exports = exports$1.default;
|
|
4476
4499
|
} (unesc, unesc.exports));
|
|
4477
4500
|
return unesc.exports;
|
|
4478
4501
|
}
|
|
@@ -4484,10 +4507,10 @@ var hasRequiredGetProp;
|
|
|
4484
4507
|
function requireGetProp () {
|
|
4485
4508
|
if (hasRequiredGetProp) return getProp.exports;
|
|
4486
4509
|
hasRequiredGetProp = 1;
|
|
4487
|
-
(function (module, exports) {
|
|
4510
|
+
(function (module, exports$1) {
|
|
4488
4511
|
|
|
4489
|
-
exports.__esModule = true;
|
|
4490
|
-
exports["default"] = getProp;
|
|
4512
|
+
exports$1.__esModule = true;
|
|
4513
|
+
exports$1["default"] = getProp;
|
|
4491
4514
|
function getProp(obj) {
|
|
4492
4515
|
for (var _len = arguments.length, props = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
4493
4516
|
props[_key - 1] = arguments[_key];
|
|
@@ -4501,7 +4524,7 @@ function requireGetProp () {
|
|
|
4501
4524
|
}
|
|
4502
4525
|
return obj;
|
|
4503
4526
|
}
|
|
4504
|
-
module.exports = exports.default;
|
|
4527
|
+
module.exports = exports$1.default;
|
|
4505
4528
|
} (getProp, getProp.exports));
|
|
4506
4529
|
return getProp.exports;
|
|
4507
4530
|
}
|
|
@@ -4513,10 +4536,10 @@ var hasRequiredEnsureObject;
|
|
|
4513
4536
|
function requireEnsureObject () {
|
|
4514
4537
|
if (hasRequiredEnsureObject) return ensureObject.exports;
|
|
4515
4538
|
hasRequiredEnsureObject = 1;
|
|
4516
|
-
(function (module, exports) {
|
|
4539
|
+
(function (module, exports$1) {
|
|
4517
4540
|
|
|
4518
|
-
exports.__esModule = true;
|
|
4519
|
-
exports["default"] = ensureObject;
|
|
4541
|
+
exports$1.__esModule = true;
|
|
4542
|
+
exports$1["default"] = ensureObject;
|
|
4520
4543
|
function ensureObject(obj) {
|
|
4521
4544
|
for (var _len = arguments.length, props = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
4522
4545
|
props[_key - 1] = arguments[_key];
|
|
@@ -4529,7 +4552,7 @@ function requireEnsureObject () {
|
|
|
4529
4552
|
obj = obj[prop];
|
|
4530
4553
|
}
|
|
4531
4554
|
}
|
|
4532
|
-
module.exports = exports.default;
|
|
4555
|
+
module.exports = exports$1.default;
|
|
4533
4556
|
} (ensureObject, ensureObject.exports));
|
|
4534
4557
|
return ensureObject.exports;
|
|
4535
4558
|
}
|
|
@@ -4541,10 +4564,10 @@ var hasRequiredStripComments;
|
|
|
4541
4564
|
function requireStripComments () {
|
|
4542
4565
|
if (hasRequiredStripComments) return stripComments.exports;
|
|
4543
4566
|
hasRequiredStripComments = 1;
|
|
4544
|
-
(function (module, exports) {
|
|
4567
|
+
(function (module, exports$1) {
|
|
4545
4568
|
|
|
4546
|
-
exports.__esModule = true;
|
|
4547
|
-
exports["default"] = stripComments;
|
|
4569
|
+
exports$1.__esModule = true;
|
|
4570
|
+
exports$1["default"] = stripComments;
|
|
4548
4571
|
function stripComments(str) {
|
|
4549
4572
|
var s = "";
|
|
4550
4573
|
var commentStart = str.indexOf("/*");
|
|
@@ -4561,7 +4584,7 @@ function requireStripComments () {
|
|
|
4561
4584
|
s = s + str.slice(lastEnd);
|
|
4562
4585
|
return s;
|
|
4563
4586
|
}
|
|
4564
|
-
module.exports = exports.default;
|
|
4587
|
+
module.exports = exports$1.default;
|
|
4565
4588
|
} (stripComments, stripComments.exports));
|
|
4566
4589
|
return stripComments.exports;
|
|
4567
4590
|
}
|
|
@@ -4591,10 +4614,10 @@ var hasRequiredNode$1;
|
|
|
4591
4614
|
function requireNode$1 () {
|
|
4592
4615
|
if (hasRequiredNode$1) return node$1.exports;
|
|
4593
4616
|
hasRequiredNode$1 = 1;
|
|
4594
|
-
(function (module, exports) {
|
|
4617
|
+
(function (module, exports$1) {
|
|
4595
4618
|
|
|
4596
|
-
exports.__esModule = true;
|
|
4597
|
-
exports["default"] = void 0;
|
|
4619
|
+
exports$1.__esModule = true;
|
|
4620
|
+
exports$1["default"] = void 0;
|
|
4598
4621
|
var _util = /*@__PURE__*/ requireUtil$1();
|
|
4599
4622
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
4600
4623
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
@@ -4781,8 +4804,8 @@ function requireNode$1 () {
|
|
|
4781
4804
|
}]);
|
|
4782
4805
|
return Node;
|
|
4783
4806
|
}();
|
|
4784
|
-
exports["default"] = Node;
|
|
4785
|
-
module.exports = exports.default;
|
|
4807
|
+
exports$1["default"] = Node;
|
|
4808
|
+
module.exports = exports$1.default;
|
|
4786
4809
|
} (node$1, node$1.exports));
|
|
4787
4810
|
return node$1.exports;
|
|
4788
4811
|
}
|
|
@@ -4829,10 +4852,10 @@ var hasRequiredContainer;
|
|
|
4829
4852
|
function requireContainer () {
|
|
4830
4853
|
if (hasRequiredContainer) return container.exports;
|
|
4831
4854
|
hasRequiredContainer = 1;
|
|
4832
|
-
(function (module, exports) {
|
|
4855
|
+
(function (module, exports$1) {
|
|
4833
4856
|
|
|
4834
|
-
exports.__esModule = true;
|
|
4835
|
-
exports["default"] = void 0;
|
|
4857
|
+
exports$1.__esModule = true;
|
|
4858
|
+
exports$1["default"] = void 0;
|
|
4836
4859
|
var _node = _interopRequireDefault(/*@__PURE__*/ requireNode$1());
|
|
4837
4860
|
var types = _interopRequireWildcard(/*@__PURE__*/ requireTypes());
|
|
4838
4861
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -5148,8 +5171,8 @@ function requireContainer () {
|
|
|
5148
5171
|
}]);
|
|
5149
5172
|
return Container;
|
|
5150
5173
|
}(_node["default"]);
|
|
5151
|
-
exports["default"] = Container;
|
|
5152
|
-
module.exports = exports.default;
|
|
5174
|
+
exports$1["default"] = Container;
|
|
5175
|
+
module.exports = exports$1.default;
|
|
5153
5176
|
} (container, container.exports));
|
|
5154
5177
|
return container.exports;
|
|
5155
5178
|
}
|
|
@@ -5159,10 +5182,10 @@ var hasRequiredRoot;
|
|
|
5159
5182
|
function requireRoot () {
|
|
5160
5183
|
if (hasRequiredRoot) return root.exports;
|
|
5161
5184
|
hasRequiredRoot = 1;
|
|
5162
|
-
(function (module, exports) {
|
|
5185
|
+
(function (module, exports$1) {
|
|
5163
5186
|
|
|
5164
|
-
exports.__esModule = true;
|
|
5165
|
-
exports["default"] = void 0;
|
|
5187
|
+
exports$1.__esModule = true;
|
|
5188
|
+
exports$1["default"] = void 0;
|
|
5166
5189
|
var _container = _interopRequireDefault(/*@__PURE__*/ requireContainer());
|
|
5167
5190
|
var _types = /*@__PURE__*/ requireTypes();
|
|
5168
5191
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -5201,8 +5224,8 @@ function requireRoot () {
|
|
|
5201
5224
|
}]);
|
|
5202
5225
|
return Root;
|
|
5203
5226
|
}(_container["default"]);
|
|
5204
|
-
exports["default"] = Root;
|
|
5205
|
-
module.exports = exports.default;
|
|
5227
|
+
exports$1["default"] = Root;
|
|
5228
|
+
module.exports = exports$1.default;
|
|
5206
5229
|
} (root, root.exports));
|
|
5207
5230
|
return root.exports;
|
|
5208
5231
|
}
|
|
@@ -5214,10 +5237,10 @@ var hasRequiredSelector;
|
|
|
5214
5237
|
function requireSelector () {
|
|
5215
5238
|
if (hasRequiredSelector) return selector.exports;
|
|
5216
5239
|
hasRequiredSelector = 1;
|
|
5217
|
-
(function (module, exports) {
|
|
5240
|
+
(function (module, exports$1) {
|
|
5218
5241
|
|
|
5219
|
-
exports.__esModule = true;
|
|
5220
|
-
exports["default"] = void 0;
|
|
5242
|
+
exports$1.__esModule = true;
|
|
5243
|
+
exports$1["default"] = void 0;
|
|
5221
5244
|
var _container = _interopRequireDefault(/*@__PURE__*/ requireContainer());
|
|
5222
5245
|
var _types = /*@__PURE__*/ requireTypes();
|
|
5223
5246
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -5233,8 +5256,8 @@ function requireSelector () {
|
|
|
5233
5256
|
}
|
|
5234
5257
|
return Selector;
|
|
5235
5258
|
}(_container["default"]);
|
|
5236
|
-
exports["default"] = Selector;
|
|
5237
|
-
module.exports = exports.default;
|
|
5259
|
+
exports$1["default"] = Selector;
|
|
5260
|
+
module.exports = exports$1.default;
|
|
5238
5261
|
} (selector, selector.exports));
|
|
5239
5262
|
return selector.exports;
|
|
5240
5263
|
}
|
|
@@ -5364,10 +5387,10 @@ var hasRequiredClassName;
|
|
|
5364
5387
|
function requireClassName () {
|
|
5365
5388
|
if (hasRequiredClassName) return className.exports;
|
|
5366
5389
|
hasRequiredClassName = 1;
|
|
5367
|
-
(function (module, exports) {
|
|
5390
|
+
(function (module, exports$1) {
|
|
5368
5391
|
|
|
5369
|
-
exports.__esModule = true;
|
|
5370
|
-
exports["default"] = void 0;
|
|
5392
|
+
exports$1.__esModule = true;
|
|
5393
|
+
exports$1["default"] = void 0;
|
|
5371
5394
|
var _cssesc = _interopRequireDefault(/*@__PURE__*/ requireCssesc());
|
|
5372
5395
|
var _util = /*@__PURE__*/ requireUtil$1();
|
|
5373
5396
|
var _node = _interopRequireDefault(/*@__PURE__*/ requireNode$1());
|
|
@@ -5412,8 +5435,8 @@ function requireClassName () {
|
|
|
5412
5435
|
}]);
|
|
5413
5436
|
return ClassName;
|
|
5414
5437
|
}(_node["default"]);
|
|
5415
|
-
exports["default"] = ClassName;
|
|
5416
|
-
module.exports = exports.default;
|
|
5438
|
+
exports$1["default"] = ClassName;
|
|
5439
|
+
module.exports = exports$1.default;
|
|
5417
5440
|
} (className, className.exports));
|
|
5418
5441
|
return className.exports;
|
|
5419
5442
|
}
|
|
@@ -5425,10 +5448,10 @@ var hasRequiredComment;
|
|
|
5425
5448
|
function requireComment () {
|
|
5426
5449
|
if (hasRequiredComment) return comment.exports;
|
|
5427
5450
|
hasRequiredComment = 1;
|
|
5428
|
-
(function (module, exports) {
|
|
5451
|
+
(function (module, exports$1) {
|
|
5429
5452
|
|
|
5430
|
-
exports.__esModule = true;
|
|
5431
|
-
exports["default"] = void 0;
|
|
5453
|
+
exports$1.__esModule = true;
|
|
5454
|
+
exports$1["default"] = void 0;
|
|
5432
5455
|
var _node = _interopRequireDefault(/*@__PURE__*/ requireNode$1());
|
|
5433
5456
|
var _types = /*@__PURE__*/ requireTypes();
|
|
5434
5457
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -5444,8 +5467,8 @@ function requireComment () {
|
|
|
5444
5467
|
}
|
|
5445
5468
|
return Comment;
|
|
5446
5469
|
}(_node["default"]);
|
|
5447
|
-
exports["default"] = Comment;
|
|
5448
|
-
module.exports = exports.default;
|
|
5470
|
+
exports$1["default"] = Comment;
|
|
5471
|
+
module.exports = exports$1.default;
|
|
5449
5472
|
} (comment, comment.exports));
|
|
5450
5473
|
return comment.exports;
|
|
5451
5474
|
}
|
|
@@ -5457,10 +5480,10 @@ var hasRequiredId;
|
|
|
5457
5480
|
function requireId () {
|
|
5458
5481
|
if (hasRequiredId) return id.exports;
|
|
5459
5482
|
hasRequiredId = 1;
|
|
5460
|
-
(function (module, exports) {
|
|
5483
|
+
(function (module, exports$1) {
|
|
5461
5484
|
|
|
5462
|
-
exports.__esModule = true;
|
|
5463
|
-
exports["default"] = void 0;
|
|
5485
|
+
exports$1.__esModule = true;
|
|
5486
|
+
exports$1["default"] = void 0;
|
|
5464
5487
|
var _node = _interopRequireDefault(/*@__PURE__*/ requireNode$1());
|
|
5465
5488
|
var _types = /*@__PURE__*/ requireTypes();
|
|
5466
5489
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -5480,8 +5503,8 @@ function requireId () {
|
|
|
5480
5503
|
};
|
|
5481
5504
|
return ID;
|
|
5482
5505
|
}(_node["default"]);
|
|
5483
|
-
exports["default"] = ID;
|
|
5484
|
-
module.exports = exports.default;
|
|
5506
|
+
exports$1["default"] = ID;
|
|
5507
|
+
module.exports = exports$1.default;
|
|
5485
5508
|
} (id, id.exports));
|
|
5486
5509
|
return id.exports;
|
|
5487
5510
|
}
|
|
@@ -5495,10 +5518,10 @@ var hasRequiredNamespace;
|
|
|
5495
5518
|
function requireNamespace () {
|
|
5496
5519
|
if (hasRequiredNamespace) return namespace.exports;
|
|
5497
5520
|
hasRequiredNamespace = 1;
|
|
5498
|
-
(function (module, exports) {
|
|
5521
|
+
(function (module, exports$1) {
|
|
5499
5522
|
|
|
5500
|
-
exports.__esModule = true;
|
|
5501
|
-
exports["default"] = void 0;
|
|
5523
|
+
exports$1.__esModule = true;
|
|
5524
|
+
exports$1["default"] = void 0;
|
|
5502
5525
|
var _cssesc = _interopRequireDefault(/*@__PURE__*/ requireCssesc());
|
|
5503
5526
|
var _util = /*@__PURE__*/ requireUtil$1();
|
|
5504
5527
|
var _node = _interopRequireDefault(/*@__PURE__*/ requireNode$1());
|
|
@@ -5572,8 +5595,8 @@ function requireNamespace () {
|
|
|
5572
5595
|
}]);
|
|
5573
5596
|
return Namespace;
|
|
5574
5597
|
}(_node["default"]);
|
|
5575
|
-
exports["default"] = Namespace;
|
|
5576
|
-
module.exports = exports.default;
|
|
5598
|
+
exports$1["default"] = Namespace;
|
|
5599
|
+
module.exports = exports$1.default;
|
|
5577
5600
|
} (namespace, namespace.exports));
|
|
5578
5601
|
return namespace.exports;
|
|
5579
5602
|
}
|
|
@@ -5583,10 +5606,10 @@ var hasRequiredTag;
|
|
|
5583
5606
|
function requireTag () {
|
|
5584
5607
|
if (hasRequiredTag) return tag.exports;
|
|
5585
5608
|
hasRequiredTag = 1;
|
|
5586
|
-
(function (module, exports) {
|
|
5609
|
+
(function (module, exports$1) {
|
|
5587
5610
|
|
|
5588
|
-
exports.__esModule = true;
|
|
5589
|
-
exports["default"] = void 0;
|
|
5611
|
+
exports$1.__esModule = true;
|
|
5612
|
+
exports$1["default"] = void 0;
|
|
5590
5613
|
var _namespace = _interopRequireDefault(/*@__PURE__*/ requireNamespace());
|
|
5591
5614
|
var _types = /*@__PURE__*/ requireTypes();
|
|
5592
5615
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -5602,8 +5625,8 @@ function requireTag () {
|
|
|
5602
5625
|
}
|
|
5603
5626
|
return Tag;
|
|
5604
5627
|
}(_namespace["default"]);
|
|
5605
|
-
exports["default"] = Tag;
|
|
5606
|
-
module.exports = exports.default;
|
|
5628
|
+
exports$1["default"] = Tag;
|
|
5629
|
+
module.exports = exports$1.default;
|
|
5607
5630
|
} (tag, tag.exports));
|
|
5608
5631
|
return tag.exports;
|
|
5609
5632
|
}
|
|
@@ -5615,10 +5638,10 @@ var hasRequiredString;
|
|
|
5615
5638
|
function requireString () {
|
|
5616
5639
|
if (hasRequiredString) return string.exports;
|
|
5617
5640
|
hasRequiredString = 1;
|
|
5618
|
-
(function (module, exports) {
|
|
5641
|
+
(function (module, exports$1) {
|
|
5619
5642
|
|
|
5620
|
-
exports.__esModule = true;
|
|
5621
|
-
exports["default"] = void 0;
|
|
5643
|
+
exports$1.__esModule = true;
|
|
5644
|
+
exports$1["default"] = void 0;
|
|
5622
5645
|
var _node = _interopRequireDefault(/*@__PURE__*/ requireNode$1());
|
|
5623
5646
|
var _types = /*@__PURE__*/ requireTypes();
|
|
5624
5647
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -5634,8 +5657,8 @@ function requireString () {
|
|
|
5634
5657
|
}
|
|
5635
5658
|
return String;
|
|
5636
5659
|
}(_node["default"]);
|
|
5637
|
-
exports["default"] = String;
|
|
5638
|
-
module.exports = exports.default;
|
|
5660
|
+
exports$1["default"] = String;
|
|
5661
|
+
module.exports = exports$1.default;
|
|
5639
5662
|
} (string, string.exports));
|
|
5640
5663
|
return string.exports;
|
|
5641
5664
|
}
|
|
@@ -5647,10 +5670,10 @@ var hasRequiredPseudo;
|
|
|
5647
5670
|
function requirePseudo () {
|
|
5648
5671
|
if (hasRequiredPseudo) return pseudo.exports;
|
|
5649
5672
|
hasRequiredPseudo = 1;
|
|
5650
|
-
(function (module, exports) {
|
|
5673
|
+
(function (module, exports$1) {
|
|
5651
5674
|
|
|
5652
|
-
exports.__esModule = true;
|
|
5653
|
-
exports["default"] = void 0;
|
|
5675
|
+
exports$1.__esModule = true;
|
|
5676
|
+
exports$1["default"] = void 0;
|
|
5654
5677
|
var _container = _interopRequireDefault(/*@__PURE__*/ requireContainer());
|
|
5655
5678
|
var _types = /*@__PURE__*/ requireTypes();
|
|
5656
5679
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -5671,8 +5694,8 @@ function requirePseudo () {
|
|
|
5671
5694
|
};
|
|
5672
5695
|
return Pseudo;
|
|
5673
5696
|
}(_container["default"]);
|
|
5674
|
-
exports["default"] = Pseudo;
|
|
5675
|
-
module.exports = exports.default;
|
|
5697
|
+
exports$1["default"] = Pseudo;
|
|
5698
|
+
module.exports = exports$1.default;
|
|
5676
5699
|
} (pseudo, pseudo.exports));
|
|
5677
5700
|
return pseudo.exports;
|
|
5678
5701
|
}
|
|
@@ -5698,11 +5721,11 @@ var hasRequiredAttribute;
|
|
|
5698
5721
|
function requireAttribute () {
|
|
5699
5722
|
if (hasRequiredAttribute) return attribute;
|
|
5700
5723
|
hasRequiredAttribute = 1;
|
|
5701
|
-
(function (exports) {
|
|
5724
|
+
(function (exports$1) {
|
|
5702
5725
|
|
|
5703
|
-
exports.__esModule = true;
|
|
5704
|
-
exports["default"] = void 0;
|
|
5705
|
-
exports.unescapeValue = unescapeValue;
|
|
5726
|
+
exports$1.__esModule = true;
|
|
5727
|
+
exports$1["default"] = void 0;
|
|
5728
|
+
exports$1.unescapeValue = unescapeValue;
|
|
5706
5729
|
var _cssesc = _interopRequireDefault(/*@__PURE__*/ requireCssesc());
|
|
5707
5730
|
var _unesc = _interopRequireDefault(/*@__PURE__*/ requireUnesc());
|
|
5708
5731
|
var _namespace = _interopRequireDefault(/*@__PURE__*/ requireNamespace());
|
|
@@ -6127,7 +6150,7 @@ function requireAttribute () {
|
|
|
6127
6150
|
}]);
|
|
6128
6151
|
return Attribute;
|
|
6129
6152
|
}(_namespace["default"]);
|
|
6130
|
-
exports["default"] = Attribute;
|
|
6153
|
+
exports$1["default"] = Attribute;
|
|
6131
6154
|
Attribute.NO_QUOTE = null;
|
|
6132
6155
|
Attribute.SINGLE_QUOTE = "'";
|
|
6133
6156
|
Attribute.DOUBLE_QUOTE = '"';
|
|
@@ -6157,10 +6180,10 @@ var hasRequiredUniversal;
|
|
|
6157
6180
|
function requireUniversal () {
|
|
6158
6181
|
if (hasRequiredUniversal) return universal.exports;
|
|
6159
6182
|
hasRequiredUniversal = 1;
|
|
6160
|
-
(function (module, exports) {
|
|
6183
|
+
(function (module, exports$1) {
|
|
6161
6184
|
|
|
6162
|
-
exports.__esModule = true;
|
|
6163
|
-
exports["default"] = void 0;
|
|
6185
|
+
exports$1.__esModule = true;
|
|
6186
|
+
exports$1["default"] = void 0;
|
|
6164
6187
|
var _namespace = _interopRequireDefault(/*@__PURE__*/ requireNamespace());
|
|
6165
6188
|
var _types = /*@__PURE__*/ requireTypes();
|
|
6166
6189
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -6177,8 +6200,8 @@ function requireUniversal () {
|
|
|
6177
6200
|
}
|
|
6178
6201
|
return Universal;
|
|
6179
6202
|
}(_namespace["default"]);
|
|
6180
|
-
exports["default"] = Universal;
|
|
6181
|
-
module.exports = exports.default;
|
|
6203
|
+
exports$1["default"] = Universal;
|
|
6204
|
+
module.exports = exports$1.default;
|
|
6182
6205
|
} (universal, universal.exports));
|
|
6183
6206
|
return universal.exports;
|
|
6184
6207
|
}
|
|
@@ -6190,10 +6213,10 @@ var hasRequiredCombinator;
|
|
|
6190
6213
|
function requireCombinator () {
|
|
6191
6214
|
if (hasRequiredCombinator) return combinator.exports;
|
|
6192
6215
|
hasRequiredCombinator = 1;
|
|
6193
|
-
(function (module, exports) {
|
|
6216
|
+
(function (module, exports$1) {
|
|
6194
6217
|
|
|
6195
|
-
exports.__esModule = true;
|
|
6196
|
-
exports["default"] = void 0;
|
|
6218
|
+
exports$1.__esModule = true;
|
|
6219
|
+
exports$1["default"] = void 0;
|
|
6197
6220
|
var _node = _interopRequireDefault(/*@__PURE__*/ requireNode$1());
|
|
6198
6221
|
var _types = /*@__PURE__*/ requireTypes();
|
|
6199
6222
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -6209,8 +6232,8 @@ function requireCombinator () {
|
|
|
6209
6232
|
}
|
|
6210
6233
|
return Combinator;
|
|
6211
6234
|
}(_node["default"]);
|
|
6212
|
-
exports["default"] = Combinator;
|
|
6213
|
-
module.exports = exports.default;
|
|
6235
|
+
exports$1["default"] = Combinator;
|
|
6236
|
+
module.exports = exports$1.default;
|
|
6214
6237
|
} (combinator, combinator.exports));
|
|
6215
6238
|
return combinator.exports;
|
|
6216
6239
|
}
|
|
@@ -6222,10 +6245,10 @@ var hasRequiredNesting;
|
|
|
6222
6245
|
function requireNesting () {
|
|
6223
6246
|
if (hasRequiredNesting) return nesting.exports;
|
|
6224
6247
|
hasRequiredNesting = 1;
|
|
6225
|
-
(function (module, exports) {
|
|
6248
|
+
(function (module, exports$1) {
|
|
6226
6249
|
|
|
6227
|
-
exports.__esModule = true;
|
|
6228
|
-
exports["default"] = void 0;
|
|
6250
|
+
exports$1.__esModule = true;
|
|
6251
|
+
exports$1["default"] = void 0;
|
|
6229
6252
|
var _node = _interopRequireDefault(/*@__PURE__*/ requireNode$1());
|
|
6230
6253
|
var _types = /*@__PURE__*/ requireTypes();
|
|
6231
6254
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -6242,8 +6265,8 @@ function requireNesting () {
|
|
|
6242
6265
|
}
|
|
6243
6266
|
return Nesting;
|
|
6244
6267
|
}(_node["default"]);
|
|
6245
|
-
exports["default"] = Nesting;
|
|
6246
|
-
module.exports = exports.default;
|
|
6268
|
+
exports$1["default"] = Nesting;
|
|
6269
|
+
module.exports = exports$1.default;
|
|
6247
6270
|
} (nesting, nesting.exports));
|
|
6248
6271
|
return nesting.exports;
|
|
6249
6272
|
}
|
|
@@ -6255,16 +6278,16 @@ var hasRequiredSortAscending;
|
|
|
6255
6278
|
function requireSortAscending () {
|
|
6256
6279
|
if (hasRequiredSortAscending) return sortAscending.exports;
|
|
6257
6280
|
hasRequiredSortAscending = 1;
|
|
6258
|
-
(function (module, exports) {
|
|
6281
|
+
(function (module, exports$1) {
|
|
6259
6282
|
|
|
6260
|
-
exports.__esModule = true;
|
|
6261
|
-
exports["default"] = sortAscending;
|
|
6283
|
+
exports$1.__esModule = true;
|
|
6284
|
+
exports$1["default"] = sortAscending;
|
|
6262
6285
|
function sortAscending(list) {
|
|
6263
6286
|
return list.sort(function (a, b) {
|
|
6264
6287
|
return a - b;
|
|
6265
6288
|
});
|
|
6266
6289
|
}
|
|
6267
|
-
module.exports = exports.default;
|
|
6290
|
+
module.exports = exports$1.default;
|
|
6268
6291
|
} (sortAscending, sortAscending.exports));
|
|
6269
6292
|
return sortAscending.exports;
|
|
6270
6293
|
}
|
|
@@ -6355,11 +6378,11 @@ var hasRequiredTokenize;
|
|
|
6355
6378
|
function requireTokenize () {
|
|
6356
6379
|
if (hasRequiredTokenize) return tokenize;
|
|
6357
6380
|
hasRequiredTokenize = 1;
|
|
6358
|
-
(function (exports) {
|
|
6381
|
+
(function (exports$1) {
|
|
6359
6382
|
|
|
6360
|
-
exports.__esModule = true;
|
|
6361
|
-
exports.FIELDS = void 0;
|
|
6362
|
-
exports["default"] = tokenize;
|
|
6383
|
+
exports$1.__esModule = true;
|
|
6384
|
+
exports$1.FIELDS = void 0;
|
|
6385
|
+
exports$1["default"] = tokenize;
|
|
6363
6386
|
var t = _interopRequireWildcard(/*@__PURE__*/ requireTokenTypes());
|
|
6364
6387
|
var _unescapable, _wordDelimiters;
|
|
6365
6388
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -6429,7 +6452,7 @@ function requireTokenize () {
|
|
|
6429
6452
|
START_POS: 5,
|
|
6430
6453
|
END_POS: 6
|
|
6431
6454
|
};
|
|
6432
|
-
exports.FIELDS = FIELDS;
|
|
6455
|
+
exports$1.FIELDS = FIELDS;
|
|
6433
6456
|
function tokenize(input) {
|
|
6434
6457
|
var tokens = [];
|
|
6435
6458
|
var css = input.css.valueOf();
|
|
@@ -6601,10 +6624,10 @@ var hasRequiredParser$1;
|
|
|
6601
6624
|
function requireParser$1 () {
|
|
6602
6625
|
if (hasRequiredParser$1) return parser.exports;
|
|
6603
6626
|
hasRequiredParser$1 = 1;
|
|
6604
|
-
(function (module, exports) {
|
|
6627
|
+
(function (module, exports$1) {
|
|
6605
6628
|
|
|
6606
|
-
exports.__esModule = true;
|
|
6607
|
-
exports["default"] = void 0;
|
|
6629
|
+
exports$1.__esModule = true;
|
|
6630
|
+
exports$1["default"] = void 0;
|
|
6608
6631
|
var _root = _interopRequireDefault(/*@__PURE__*/ requireRoot());
|
|
6609
6632
|
var _selector = _interopRequireDefault(/*@__PURE__*/ requireSelector());
|
|
6610
6633
|
var _className = _interopRequireDefault(/*@__PURE__*/ requireClassName());
|
|
@@ -7149,7 +7172,7 @@ function requireParser$1 () {
|
|
|
7149
7172
|
if (_space2.endsWith(' ') && _rawSpace2.endsWith(' ')) {
|
|
7150
7173
|
spaces.before = _space2.slice(0, _space2.length - 1);
|
|
7151
7174
|
raws.spaces.before = _rawSpace2.slice(0, _rawSpace2.length - 1);
|
|
7152
|
-
} else if (_space2
|
|
7175
|
+
} else if (_space2[0] === ' ' && _rawSpace2[0] === ' ') {
|
|
7153
7176
|
spaces.after = _space2.slice(1);
|
|
7154
7177
|
raws.spaces.after = _rawSpace2.slice(1);
|
|
7155
7178
|
} else {
|
|
@@ -7612,8 +7635,8 @@ function requireParser$1 () {
|
|
|
7612
7635
|
}]);
|
|
7613
7636
|
return Parser;
|
|
7614
7637
|
}();
|
|
7615
|
-
exports["default"] = Parser;
|
|
7616
|
-
module.exports = exports.default;
|
|
7638
|
+
exports$1["default"] = Parser;
|
|
7639
|
+
module.exports = exports$1.default;
|
|
7617
7640
|
} (parser, parser.exports));
|
|
7618
7641
|
return parser.exports;
|
|
7619
7642
|
}
|
|
@@ -7623,10 +7646,10 @@ var hasRequiredProcessor;
|
|
|
7623
7646
|
function requireProcessor () {
|
|
7624
7647
|
if (hasRequiredProcessor) return processor.exports;
|
|
7625
7648
|
hasRequiredProcessor = 1;
|
|
7626
|
-
(function (module, exports) {
|
|
7649
|
+
(function (module, exports$1) {
|
|
7627
7650
|
|
|
7628
|
-
exports.__esModule = true;
|
|
7629
|
-
exports["default"] = void 0;
|
|
7651
|
+
exports$1.__esModule = true;
|
|
7652
|
+
exports$1["default"] = void 0;
|
|
7630
7653
|
var _parser = _interopRequireDefault(/*@__PURE__*/ requireParser$1());
|
|
7631
7654
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
7632
7655
|
var Processor = /*#__PURE__*/function () {
|
|
@@ -7791,8 +7814,8 @@ function requireProcessor () {
|
|
|
7791
7814
|
};
|
|
7792
7815
|
return Processor;
|
|
7793
7816
|
}();
|
|
7794
|
-
exports["default"] = Processor;
|
|
7795
|
-
module.exports = exports.default;
|
|
7817
|
+
exports$1["default"] = Processor;
|
|
7818
|
+
module.exports = exports$1.default;
|
|
7796
7819
|
} (processor, processor.exports));
|
|
7797
7820
|
return processor.exports;
|
|
7798
7821
|
}
|
|
@@ -7945,26 +7968,26 @@ var hasRequiredSelectors;
|
|
|
7945
7968
|
function requireSelectors () {
|
|
7946
7969
|
if (hasRequiredSelectors) return selectors;
|
|
7947
7970
|
hasRequiredSelectors = 1;
|
|
7948
|
-
(function (exports) {
|
|
7971
|
+
(function (exports$1) {
|
|
7949
7972
|
|
|
7950
|
-
exports.__esModule = true;
|
|
7973
|
+
exports$1.__esModule = true;
|
|
7951
7974
|
var _types = /*@__PURE__*/ requireTypes();
|
|
7952
7975
|
Object.keys(_types).forEach(function (key) {
|
|
7953
7976
|
if (key === "default" || key === "__esModule") return;
|
|
7954
|
-
if (key in exports && exports[key] === _types[key]) return;
|
|
7955
|
-
exports[key] = _types[key];
|
|
7977
|
+
if (key in exports$1 && exports$1[key] === _types[key]) return;
|
|
7978
|
+
exports$1[key] = _types[key];
|
|
7956
7979
|
});
|
|
7957
7980
|
var _constructors = /*@__PURE__*/ requireConstructors();
|
|
7958
7981
|
Object.keys(_constructors).forEach(function (key) {
|
|
7959
7982
|
if (key === "default" || key === "__esModule") return;
|
|
7960
|
-
if (key in exports && exports[key] === _constructors[key]) return;
|
|
7961
|
-
exports[key] = _constructors[key];
|
|
7983
|
+
if (key in exports$1 && exports$1[key] === _constructors[key]) return;
|
|
7984
|
+
exports$1[key] = _constructors[key];
|
|
7962
7985
|
});
|
|
7963
7986
|
var _guards = /*@__PURE__*/ requireGuards();
|
|
7964
7987
|
Object.keys(_guards).forEach(function (key) {
|
|
7965
7988
|
if (key === "default" || key === "__esModule") return;
|
|
7966
|
-
if (key in exports && exports[key] === _guards[key]) return;
|
|
7967
|
-
exports[key] = _guards[key];
|
|
7989
|
+
if (key in exports$1 && exports$1[key] === _guards[key]) return;
|
|
7990
|
+
exports$1[key] = _guards[key];
|
|
7968
7991
|
});
|
|
7969
7992
|
} (selectors));
|
|
7970
7993
|
return selectors;
|
|
@@ -7975,10 +7998,10 @@ var hasRequiredDist;
|
|
|
7975
7998
|
function requireDist () {
|
|
7976
7999
|
if (hasRequiredDist) return dist.exports;
|
|
7977
8000
|
hasRequiredDist = 1;
|
|
7978
|
-
(function (module, exports) {
|
|
8001
|
+
(function (module, exports$1) {
|
|
7979
8002
|
|
|
7980
|
-
exports.__esModule = true;
|
|
7981
|
-
exports["default"] = void 0;
|
|
8003
|
+
exports$1.__esModule = true;
|
|
8004
|
+
exports$1["default"] = void 0;
|
|
7982
8005
|
var _processor = _interopRequireDefault(/*@__PURE__*/ requireProcessor());
|
|
7983
8006
|
var selectors = _interopRequireWildcard(/*@__PURE__*/ requireSelectors());
|
|
7984
8007
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -7990,8 +8013,8 @@ function requireDist () {
|
|
|
7990
8013
|
Object.assign(parser, selectors);
|
|
7991
8014
|
delete parser.__esModule;
|
|
7992
8015
|
var _default = parser;
|
|
7993
|
-
exports["default"] = _default;
|
|
7994
|
-
module.exports = exports.default;
|
|
8016
|
+
exports$1["default"] = _default;
|
|
8017
|
+
module.exports = exports$1.default;
|
|
7995
8018
|
} (dist, dist.exports));
|
|
7996
8019
|
return dist.exports;
|
|
7997
8020
|
}
|
|
@@ -8454,7 +8477,7 @@ var hasRequiredUtil;
|
|
|
8454
8477
|
function requireUtil () {
|
|
8455
8478
|
if (hasRequiredUtil) return util;
|
|
8456
8479
|
hasRequiredUtil = 1;
|
|
8457
|
-
(function (exports) {
|
|
8480
|
+
(function (exports$1) {
|
|
8458
8481
|
/*
|
|
8459
8482
|
* Copyright 2011 Mozilla Foundation and contributors
|
|
8460
8483
|
* Licensed under the New BSD license. See LICENSE or:
|
|
@@ -8480,7 +8503,7 @@ function requireUtil () {
|
|
|
8480
8503
|
throw new Error('"' + aName + '" is a required argument.');
|
|
8481
8504
|
}
|
|
8482
8505
|
}
|
|
8483
|
-
exports.getArg = getArg;
|
|
8506
|
+
exports$1.getArg = getArg;
|
|
8484
8507
|
|
|
8485
8508
|
var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;
|
|
8486
8509
|
var dataUrlRegexp = /^data:.+\,.+$/;
|
|
@@ -8498,7 +8521,7 @@ function requireUtil () {
|
|
|
8498
8521
|
path: match[5]
|
|
8499
8522
|
};
|
|
8500
8523
|
}
|
|
8501
|
-
exports.urlParse = urlParse;
|
|
8524
|
+
exports$1.urlParse = urlParse;
|
|
8502
8525
|
|
|
8503
8526
|
function urlGenerate(aParsedUrl) {
|
|
8504
8527
|
var url = '';
|
|
@@ -8520,7 +8543,7 @@ function requireUtil () {
|
|
|
8520
8543
|
}
|
|
8521
8544
|
return url;
|
|
8522
8545
|
}
|
|
8523
|
-
exports.urlGenerate = urlGenerate;
|
|
8546
|
+
exports$1.urlGenerate = urlGenerate;
|
|
8524
8547
|
|
|
8525
8548
|
/**
|
|
8526
8549
|
* Normalizes a path, or the path portion of a URL:
|
|
@@ -8542,7 +8565,7 @@ function requireUtil () {
|
|
|
8542
8565
|
}
|
|
8543
8566
|
path = url.path;
|
|
8544
8567
|
}
|
|
8545
|
-
var isAbsolute = exports.isAbsolute(path);
|
|
8568
|
+
var isAbsolute = exports$1.isAbsolute(path);
|
|
8546
8569
|
|
|
8547
8570
|
var parts = path.split(/\/+/);
|
|
8548
8571
|
for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {
|
|
@@ -8576,7 +8599,7 @@ function requireUtil () {
|
|
|
8576
8599
|
}
|
|
8577
8600
|
return path;
|
|
8578
8601
|
}
|
|
8579
|
-
exports.normalize = normalize;
|
|
8602
|
+
exports$1.normalize = normalize;
|
|
8580
8603
|
|
|
8581
8604
|
/**
|
|
8582
8605
|
* Joins two paths/URLs.
|
|
@@ -8635,9 +8658,9 @@ function requireUtil () {
|
|
|
8635
8658
|
}
|
|
8636
8659
|
return joined;
|
|
8637
8660
|
}
|
|
8638
|
-
exports.join = join;
|
|
8661
|
+
exports$1.join = join;
|
|
8639
8662
|
|
|
8640
|
-
exports.isAbsolute = function (aPath) {
|
|
8663
|
+
exports$1.isAbsolute = function (aPath) {
|
|
8641
8664
|
return aPath.charAt(0) === '/' || urlRegexp.test(aPath);
|
|
8642
8665
|
};
|
|
8643
8666
|
|
|
@@ -8679,7 +8702,7 @@ function requireUtil () {
|
|
|
8679
8702
|
// Make sure we add a "../" for each component we removed from the root.
|
|
8680
8703
|
return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
|
|
8681
8704
|
}
|
|
8682
|
-
exports.relative = relative;
|
|
8705
|
+
exports$1.relative = relative;
|
|
8683
8706
|
|
|
8684
8707
|
var supportsNullProto = (function () {
|
|
8685
8708
|
var obj = Object.create(null);
|
|
@@ -8706,7 +8729,7 @@ function requireUtil () {
|
|
|
8706
8729
|
|
|
8707
8730
|
return aStr;
|
|
8708
8731
|
}
|
|
8709
|
-
exports.toSetString = supportsNullProto ? identity : toSetString;
|
|
8732
|
+
exports$1.toSetString = supportsNullProto ? identity : toSetString;
|
|
8710
8733
|
|
|
8711
8734
|
function fromSetString(aStr) {
|
|
8712
8735
|
if (isProtoString(aStr)) {
|
|
@@ -8715,7 +8738,7 @@ function requireUtil () {
|
|
|
8715
8738
|
|
|
8716
8739
|
return aStr;
|
|
8717
8740
|
}
|
|
8718
|
-
exports.fromSetString = supportsNullProto ? identity : fromSetString;
|
|
8741
|
+
exports$1.fromSetString = supportsNullProto ? identity : fromSetString;
|
|
8719
8742
|
|
|
8720
8743
|
function isProtoString(s) {
|
|
8721
8744
|
if (!s) {
|
|
@@ -8785,7 +8808,7 @@ function requireUtil () {
|
|
|
8785
8808
|
|
|
8786
8809
|
return strcmp(mappingA.name, mappingB.name);
|
|
8787
8810
|
}
|
|
8788
|
-
exports.compareByOriginalPositions = compareByOriginalPositions;
|
|
8811
|
+
exports$1.compareByOriginalPositions = compareByOriginalPositions;
|
|
8789
8812
|
|
|
8790
8813
|
/**
|
|
8791
8814
|
* Comparator between two mappings with deflated source and name indices where
|
|
@@ -8824,7 +8847,7 @@ function requireUtil () {
|
|
|
8824
8847
|
|
|
8825
8848
|
return strcmp(mappingA.name, mappingB.name);
|
|
8826
8849
|
}
|
|
8827
|
-
exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
|
|
8850
|
+
exports$1.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
|
|
8828
8851
|
|
|
8829
8852
|
function strcmp(aStr1, aStr2) {
|
|
8830
8853
|
if (aStr1 === aStr2) {
|
|
@@ -8878,7 +8901,7 @@ function requireUtil () {
|
|
|
8878
8901
|
|
|
8879
8902
|
return strcmp(mappingA.name, mappingB.name);
|
|
8880
8903
|
}
|
|
8881
|
-
exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
|
|
8904
|
+
exports$1.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
|
|
8882
8905
|
|
|
8883
8906
|
/**
|
|
8884
8907
|
* Strip any JSON XSSI avoidance prefix from the string (as documented
|
|
@@ -8888,7 +8911,7 @@ function requireUtil () {
|
|
|
8888
8911
|
function parseSourceMapInput(str) {
|
|
8889
8912
|
return JSON.parse(str.replace(/^\)]}'[^\n]*\n/, ''));
|
|
8890
8913
|
}
|
|
8891
|
-
exports.parseSourceMapInput = parseSourceMapInput;
|
|
8914
|
+
exports$1.parseSourceMapInput = parseSourceMapInput;
|
|
8892
8915
|
|
|
8893
8916
|
/**
|
|
8894
8917
|
* Compute the URL of a source given the the source root, the source's
|
|
@@ -8941,7 +8964,7 @@ function requireUtil () {
|
|
|
8941
8964
|
|
|
8942
8965
|
return normalize(sourceURL);
|
|
8943
8966
|
}
|
|
8944
|
-
exports.computeSourceURL = computeSourceURL;
|
|
8967
|
+
exports$1.computeSourceURL = computeSourceURL;
|
|
8945
8968
|
} (util));
|
|
8946
8969
|
return util;
|
|
8947
8970
|
}
|
|
@@ -9613,15 +9636,15 @@ var hasRequiredBinarySearch;
|
|
|
9613
9636
|
function requireBinarySearch () {
|
|
9614
9637
|
if (hasRequiredBinarySearch) return binarySearch;
|
|
9615
9638
|
hasRequiredBinarySearch = 1;
|
|
9616
|
-
(function (exports) {
|
|
9639
|
+
(function (exports$1) {
|
|
9617
9640
|
/*
|
|
9618
9641
|
* Copyright 2011 Mozilla Foundation and contributors
|
|
9619
9642
|
* Licensed under the New BSD license. See LICENSE or:
|
|
9620
9643
|
* http://opensource.org/licenses/BSD-3-Clause
|
|
9621
9644
|
*/
|
|
9622
9645
|
|
|
9623
|
-
exports.GREATEST_LOWER_BOUND = 1;
|
|
9624
|
-
exports.LEAST_UPPER_BOUND = 2;
|
|
9646
|
+
exports$1.GREATEST_LOWER_BOUND = 1;
|
|
9647
|
+
exports$1.LEAST_UPPER_BOUND = 2;
|
|
9625
9648
|
|
|
9626
9649
|
/**
|
|
9627
9650
|
* Recursive implementation of binary search.
|
|
@@ -9661,7 +9684,7 @@ function requireBinarySearch () {
|
|
|
9661
9684
|
|
|
9662
9685
|
// The exact needle element was not found in this haystack. Determine if
|
|
9663
9686
|
// we are in termination case (3) or (2) and return the appropriate thing.
|
|
9664
|
-
if (aBias == exports.LEAST_UPPER_BOUND) {
|
|
9687
|
+
if (aBias == exports$1.LEAST_UPPER_BOUND) {
|
|
9665
9688
|
return aHigh < aHaystack.length ? aHigh : -1;
|
|
9666
9689
|
} else {
|
|
9667
9690
|
return mid;
|
|
@@ -9675,7 +9698,7 @@ function requireBinarySearch () {
|
|
|
9675
9698
|
}
|
|
9676
9699
|
|
|
9677
9700
|
// we are in termination case (3) or (2) and return the appropriate thing.
|
|
9678
|
-
if (aBias == exports.LEAST_UPPER_BOUND) {
|
|
9701
|
+
if (aBias == exports$1.LEAST_UPPER_BOUND) {
|
|
9679
9702
|
return mid;
|
|
9680
9703
|
} else {
|
|
9681
9704
|
return aLow < 0 ? -1 : aLow;
|
|
@@ -9701,13 +9724,13 @@ function requireBinarySearch () {
|
|
|
9701
9724
|
* searching for, respectively, if the exact element cannot be found.
|
|
9702
9725
|
* Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.
|
|
9703
9726
|
*/
|
|
9704
|
-
exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
|
|
9727
|
+
exports$1.search = function search(aNeedle, aHaystack, aCompare, aBias) {
|
|
9705
9728
|
if (aHaystack.length === 0) {
|
|
9706
9729
|
return -1;
|
|
9707
9730
|
}
|
|
9708
9731
|
|
|
9709
9732
|
var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,
|
|
9710
|
-
aCompare, aBias || exports.GREATEST_LOWER_BOUND);
|
|
9733
|
+
aCompare, aBias || exports$1.GREATEST_LOWER_BOUND);
|
|
9711
9734
|
if (index < 0) {
|
|
9712
9735
|
return -1;
|
|
9713
9736
|
}
|
|
@@ -11894,11 +11917,11 @@ function requireCreateICSSRules () {
|
|
|
11894
11917
|
});
|
|
11895
11918
|
};
|
|
11896
11919
|
|
|
11897
|
-
const createExports = (exports, postcss, mode = "rule") => {
|
|
11898
|
-
const declarations = Object.keys(exports).map((key) =>
|
|
11920
|
+
const createExports = (exports$1, postcss, mode = "rule") => {
|
|
11921
|
+
const declarations = Object.keys(exports$1).map((key) =>
|
|
11899
11922
|
postcss.decl({
|
|
11900
11923
|
prop: key,
|
|
11901
|
-
value: exports[key],
|
|
11924
|
+
value: exports$1[key],
|
|
11902
11925
|
raws: { before: "\n " },
|
|
11903
11926
|
})
|
|
11904
11927
|
);
|
|
@@ -11922,9 +11945,9 @@ function requireCreateICSSRules () {
|
|
|
11922
11945
|
return [rule];
|
|
11923
11946
|
};
|
|
11924
11947
|
|
|
11925
|
-
const createICSSRules = (imports, exports, postcss, mode) => [
|
|
11948
|
+
const createICSSRules = (imports, exports$1, postcss, mode) => [
|
|
11926
11949
|
...createImports(imports, postcss, mode),
|
|
11927
|
-
...createExports(exports, postcss, mode),
|
|
11950
|
+
...createExports(exports$1, postcss, mode),
|
|
11928
11951
|
];
|
|
11929
11952
|
|
|
11930
11953
|
createICSSRules_1 = createICSSRules;
|
|
@@ -12025,12 +12048,12 @@ function requireParser () {
|
|
|
12025
12048
|
async fetchImport(importNode, relativeTo, depNr) {
|
|
12026
12049
|
const file = importNode.selector.match(importRegexp)[1];
|
|
12027
12050
|
const depTrace = this.trace + String.fromCharCode(depNr);
|
|
12028
|
-
const exports = await this.pathFetcher(file, relativeTo, depTrace);
|
|
12051
|
+
const exports$1 = await this.pathFetcher(file, relativeTo, depTrace);
|
|
12029
12052
|
|
|
12030
12053
|
try {
|
|
12031
12054
|
importNode.each(decl => {
|
|
12032
12055
|
if (decl.type == "decl") {
|
|
12033
|
-
this.translations[decl.prop] = exports[decl.value];
|
|
12056
|
+
this.translations[decl.prop] = exports$1[decl.value];
|
|
12034
12057
|
}
|
|
12035
12058
|
});
|
|
12036
12059
|
importNode.remove();
|
|
@@ -13201,12 +13224,12 @@ function requireWasmHash () {
|
|
|
13201
13224
|
* @param {number} digestSize size of digest returned by wasm
|
|
13202
13225
|
*/
|
|
13203
13226
|
constructor(instance, instancesPool, chunkSize, digestSize) {
|
|
13204
|
-
const exports = /** @type {any} */ (instance.exports);
|
|
13227
|
+
const exports$1 = /** @type {any} */ (instance.exports);
|
|
13205
13228
|
|
|
13206
|
-
exports.init();
|
|
13229
|
+
exports$1.init();
|
|
13207
13230
|
|
|
13208
|
-
this.exports = exports;
|
|
13209
|
-
this.mem = Buffer.from(exports.memory.buffer, 0, 65536);
|
|
13231
|
+
this.exports = exports$1;
|
|
13232
|
+
this.mem = Buffer.from(exports$1.memory.buffer, 0, 65536);
|
|
13210
13233
|
this.buffered = 0;
|
|
13211
13234
|
this.instancesPool = instancesPool;
|
|
13212
13235
|
this.chunkSize = chunkSize;
|
|
@@ -13246,7 +13269,7 @@ function requireWasmHash () {
|
|
|
13246
13269
|
* @returns {void}
|
|
13247
13270
|
*/
|
|
13248
13271
|
_updateWithShortString(data, encoding) {
|
|
13249
|
-
const { exports, buffered, mem, chunkSize } = this;
|
|
13272
|
+
const { exports: exports$1, buffered, mem, chunkSize } = this;
|
|
13250
13273
|
|
|
13251
13274
|
let endPos;
|
|
13252
13275
|
|
|
@@ -13288,7 +13311,7 @@ function requireWasmHash () {
|
|
|
13288
13311
|
} else {
|
|
13289
13312
|
const l = endPos & ~(this.chunkSize - 1);
|
|
13290
13313
|
|
|
13291
|
-
exports.update(l);
|
|
13314
|
+
exports$1.update(l);
|
|
13292
13315
|
|
|
13293
13316
|
const newBuffered = endPos - l;
|
|
13294
13317
|
|
|
@@ -13305,7 +13328,7 @@ function requireWasmHash () {
|
|
|
13305
13328
|
* @returns {void}
|
|
13306
13329
|
*/
|
|
13307
13330
|
_updateWithBuffer(data) {
|
|
13308
|
-
const { exports, buffered, mem } = this;
|
|
13331
|
+
const { exports: exports$1, buffered, mem } = this;
|
|
13309
13332
|
const length = data.length;
|
|
13310
13333
|
|
|
13311
13334
|
if (buffered + length < this.chunkSize) {
|
|
@@ -13319,23 +13342,23 @@ function requireWasmHash () {
|
|
|
13319
13342
|
let i = 65536 - buffered;
|
|
13320
13343
|
|
|
13321
13344
|
data.copy(mem, buffered, 0, i);
|
|
13322
|
-
exports.update(65536);
|
|
13345
|
+
exports$1.update(65536);
|
|
13323
13346
|
|
|
13324
13347
|
const stop = l - buffered - 65536;
|
|
13325
13348
|
|
|
13326
13349
|
while (i < stop) {
|
|
13327
13350
|
data.copy(mem, 0, i, i + 65536);
|
|
13328
|
-
exports.update(65536);
|
|
13351
|
+
exports$1.update(65536);
|
|
13329
13352
|
i += 65536;
|
|
13330
13353
|
}
|
|
13331
13354
|
|
|
13332
13355
|
data.copy(mem, 0, i, l - buffered);
|
|
13333
13356
|
|
|
13334
|
-
exports.update(l - buffered - i);
|
|
13357
|
+
exports$1.update(l - buffered - i);
|
|
13335
13358
|
} else {
|
|
13336
13359
|
data.copy(mem, buffered, 0, l - buffered);
|
|
13337
13360
|
|
|
13338
|
-
exports.update(l);
|
|
13361
|
+
exports$1.update(l);
|
|
13339
13362
|
}
|
|
13340
13363
|
|
|
13341
13364
|
const newBuffered = length + buffered - l;
|
|
@@ -13349,9 +13372,9 @@ function requireWasmHash () {
|
|
|
13349
13372
|
}
|
|
13350
13373
|
|
|
13351
13374
|
digest(type) {
|
|
13352
|
-
const { exports, buffered, mem, digestSize } = this;
|
|
13375
|
+
const { exports: exports$1, buffered, mem, digestSize } = this;
|
|
13353
13376
|
|
|
13354
|
-
exports.final(buffered);
|
|
13377
|
+
exports$1.final(buffered);
|
|
13355
13378
|
|
|
13356
13379
|
this.instancesPool.push(this);
|
|
13357
13380
|
|
|
@@ -15397,7 +15420,7 @@ function requireSrc$1 () {
|
|
|
15397
15420
|
return {
|
|
15398
15421
|
postcssPlugin: "postcss-modules-scope",
|
|
15399
15422
|
Once(root, { rule }) {
|
|
15400
|
-
const exports = Object.create(null);
|
|
15423
|
+
const exports$1 = Object.create(null);
|
|
15401
15424
|
|
|
15402
15425
|
function exportScopedName(name, rawName, node) {
|
|
15403
15426
|
const scopedName = generateScopedName(
|
|
@@ -15415,10 +15438,10 @@ function requireSrc$1 () {
|
|
|
15415
15438
|
);
|
|
15416
15439
|
const { key, value } = exportEntry;
|
|
15417
15440
|
|
|
15418
|
-
exports[key] = exports[key] || [];
|
|
15441
|
+
exports$1[key] = exports$1[key] || [];
|
|
15419
15442
|
|
|
15420
|
-
if (exports[key].indexOf(value) < 0) {
|
|
15421
|
-
exports[key].push(value);
|
|
15443
|
+
if (exports$1[key].indexOf(value) < 0) {
|
|
15444
|
+
exports$1[key].push(value);
|
|
15422
15445
|
}
|
|
15423
15446
|
|
|
15424
15447
|
return scopedName;
|
|
@@ -15500,7 +15523,7 @@ function requireSrc$1 () {
|
|
|
15500
15523
|
case "id":
|
|
15501
15524
|
case "class":
|
|
15502
15525
|
if (exportGlobals) {
|
|
15503
|
-
exports[node.value] = [node.value];
|
|
15526
|
+
exports$1[node.value] = [node.value];
|
|
15504
15527
|
}
|
|
15505
15528
|
break;
|
|
15506
15529
|
}
|
|
@@ -15537,16 +15560,16 @@ function requireSrc$1 () {
|
|
|
15537
15560
|
|
|
15538
15561
|
if (global) {
|
|
15539
15562
|
localNames.forEach((exportedName) => {
|
|
15540
|
-
exports[exportedName].push(global[1]);
|
|
15563
|
+
exports$1[exportedName].push(global[1]);
|
|
15541
15564
|
});
|
|
15542
15565
|
} else if (hasOwnProperty.call(importedNames, className)) {
|
|
15543
15566
|
localNames.forEach((exportedName) => {
|
|
15544
|
-
exports[exportedName].push(className);
|
|
15567
|
+
exports$1[exportedName].push(className);
|
|
15545
15568
|
});
|
|
15546
|
-
} else if (hasOwnProperty.call(exports, className)) {
|
|
15569
|
+
} else if (hasOwnProperty.call(exports$1, className)) {
|
|
15547
15570
|
localNames.forEach((exportedName) => {
|
|
15548
|
-
exports[className].forEach((item) => {
|
|
15549
|
-
exports[exportedName].push(item);
|
|
15571
|
+
exports$1[className].forEach((item) => {
|
|
15572
|
+
exports$1[exportedName].push(item);
|
|
15550
15573
|
});
|
|
15551
15574
|
});
|
|
15552
15575
|
} else {
|
|
@@ -15628,7 +15651,7 @@ function requireSrc$1 () {
|
|
|
15628
15651
|
});
|
|
15629
15652
|
|
|
15630
15653
|
// If we found any :locals, insert an :export rule
|
|
15631
|
-
const exportedNames = Object.keys(exports);
|
|
15654
|
+
const exportedNames = Object.keys(exports$1);
|
|
15632
15655
|
|
|
15633
15656
|
if (exportedNames.length > 0) {
|
|
15634
15657
|
const exportRule = rule({ selector: ":export" });
|
|
@@ -15636,7 +15659,7 @@ function requireSrc$1 () {
|
|
|
15636
15659
|
exportedNames.forEach((exportedName) =>
|
|
15637
15660
|
exportRule.append({
|
|
15638
15661
|
prop: exportedName,
|
|
15639
|
-
value: exports[exportedName].join(" "),
|
|
15662
|
+
value: exports$1[exportedName].join(" "),
|
|
15640
15663
|
raws: { before: "\n " },
|
|
15641
15664
|
})
|
|
15642
15665
|
);
|
|
@@ -21333,6 +21356,43 @@ const ${normalScriptDefaultVar} = ${defaultSpecifier.local.name}
|
|
|
21333
21356
|
for (const key in setupBindings) {
|
|
21334
21357
|
ctx.bindingMetadata[key] = setupBindings[key];
|
|
21335
21358
|
}
|
|
21359
|
+
if (sfc.template && !sfc.template.src && sfc.template.ast) {
|
|
21360
|
+
const vModelIds = resolveTemplateVModelIdentifiers(sfc);
|
|
21361
|
+
if (vModelIds.size) {
|
|
21362
|
+
const toDemote = /* @__PURE__ */ new Set();
|
|
21363
|
+
for (const id of vModelIds) {
|
|
21364
|
+
if (setupBindings[id] === "setup-reactive-const") {
|
|
21365
|
+
toDemote.add(id);
|
|
21366
|
+
}
|
|
21367
|
+
}
|
|
21368
|
+
if (toDemote.size) {
|
|
21369
|
+
for (const node of scriptSetupAst.body) {
|
|
21370
|
+
if (node.type === "VariableDeclaration" && node.kind === "const" && !node.declare) {
|
|
21371
|
+
const demotedInDecl = [];
|
|
21372
|
+
for (const decl of node.declarations) {
|
|
21373
|
+
if (decl.id.type === "Identifier" && toDemote.has(decl.id.name)) {
|
|
21374
|
+
demotedInDecl.push(decl.id.name);
|
|
21375
|
+
}
|
|
21376
|
+
}
|
|
21377
|
+
if (demotedInDecl.length) {
|
|
21378
|
+
ctx.s.overwrite(
|
|
21379
|
+
node.start + startOffset,
|
|
21380
|
+
node.start + startOffset + "const".length,
|
|
21381
|
+
"let"
|
|
21382
|
+
);
|
|
21383
|
+
for (const id of demotedInDecl) {
|
|
21384
|
+
setupBindings[id] = "setup-let";
|
|
21385
|
+
ctx.bindingMetadata[id] = "setup-let";
|
|
21386
|
+
warnOnce(
|
|
21387
|
+
`\`v-model\` cannot update a \`const\` reactive binding \`${id}\`. The compiler has transformed it to \`let\` to make the update work.`
|
|
21388
|
+
);
|
|
21389
|
+
}
|
|
21390
|
+
}
|
|
21391
|
+
}
|
|
21392
|
+
}
|
|
21393
|
+
}
|
|
21394
|
+
}
|
|
21395
|
+
}
|
|
21336
21396
|
if (sfc.cssVars.length && // no need to do this when targeting SSR
|
|
21337
21397
|
!ssr) {
|
|
21338
21398
|
ctx.helperImports.add(getCssVarsHelper(vapor));
|
|
@@ -21756,7 +21816,7 @@ function mergeSourceMaps(scriptMap, templateMap, templateLineOffset) {
|
|
|
21756
21816
|
return generator.toJSON();
|
|
21757
21817
|
}
|
|
21758
21818
|
|
|
21759
|
-
const version = "3.6.0-
|
|
21819
|
+
const version = "3.6.0-beta.1";
|
|
21760
21820
|
const parseCache = parseCache$1;
|
|
21761
21821
|
const errorMessages = {
|
|
21762
21822
|
...CompilerDOM.errorMessages,
|