prettier 2.6.1 → 2.7.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/LICENSE +402 -98
- package/README.md +0 -2
- package/cli.js +7373 -4560
- package/doc.js +111 -99
- package/esm/parser-angular.mjs +2 -2
- package/esm/parser-babel.mjs +19 -19
- package/esm/parser-espree.mjs +19 -19
- package/esm/parser-flow.mjs +30 -21
- package/esm/parser-glimmer.mjs +14 -14
- package/esm/parser-graphql.mjs +1 -1
- package/esm/parser-html.mjs +20 -20
- package/esm/parser-markdown.mjs +48 -48
- package/esm/parser-meriyah.mjs +12 -12
- package/esm/parser-postcss.mjs +52 -52
- package/esm/parser-typescript.mjs +65 -65
- package/esm/parser-yaml.mjs +11 -11
- package/esm/standalone.mjs +81 -80
- package/index.js +743 -2650
- package/package.json +3 -6
- package/parser-angular.js +1 -1
- package/parser-babel.js +19 -19
- package/parser-espree.js +19 -19
- package/parser-flow.js +30 -21
- package/parser-glimmer.js +15 -15
- package/parser-graphql.js +1 -1
- package/parser-html.js +20 -20
- package/parser-markdown.js +48 -48
- package/parser-meriyah.js +14 -14
- package/parser-postcss.js +42 -42
- package/parser-typescript.js +65 -65
- package/parser-yaml.js +11 -11
- package/standalone.js +81 -80
- package/third-party.js +1 -1
package/index.js
CHANGED
|
@@ -381,10 +381,10 @@ var require_shared = __commonJS({
|
|
|
381
381
|
(module2.exports = function(key, value) {
|
|
382
382
|
return store[key] || (store[key] = value !== void 0 ? value : {});
|
|
383
383
|
})("versions", []).push({
|
|
384
|
-
version: "3.
|
|
384
|
+
version: "3.22.2",
|
|
385
385
|
mode: IS_PURE ? "pure" : "global",
|
|
386
386
|
copyright: "\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",
|
|
387
|
-
license: "https://github.com/zloirock/core-js/blob/v3.
|
|
387
|
+
license: "https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",
|
|
388
388
|
source: "https://github.com/zloirock/core-js"
|
|
389
389
|
});
|
|
390
390
|
}
|
|
@@ -1511,7 +1511,7 @@ var require_es_array_flat = __commonJS({
|
|
|
1511
1511
|
}
|
|
1512
1512
|
});
|
|
1513
1513
|
|
|
1514
|
-
// dist/
|
|
1514
|
+
// dist/_index.js.cjs.js
|
|
1515
1515
|
var _excluded = ["cliName", "cliCategory", "cliDescription"];
|
|
1516
1516
|
var _excluded2 = ["_"];
|
|
1517
1517
|
var _excluded3 = ["overrides"];
|
|
@@ -1551,9 +1551,11 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
1551
1551
|
require_es_array_flat_map();
|
|
1552
1552
|
require_es_object_from_entries();
|
|
1553
1553
|
require_es_array_flat();
|
|
1554
|
+
var __create = Object.create;
|
|
1554
1555
|
var __defProp = Object.defineProperty;
|
|
1555
1556
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
1556
1557
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
1558
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
1557
1559
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
1558
1560
|
var __esm = (fn, res) => function __init() {
|
|
1559
1561
|
return fn && (res = (0, fn[__getOwnPropNames2(fn)[0]])(fn = 0)), res;
|
|
@@ -1581,6 +1583,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
1581
1583
|
}
|
|
1582
1584
|
return to;
|
|
1583
1585
|
};
|
|
1586
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
1587
|
+
value: mod,
|
|
1588
|
+
enumerable: true
|
|
1589
|
+
}) : target, mod));
|
|
1584
1590
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", {
|
|
1585
1591
|
value: true
|
|
1586
1592
|
}), mod);
|
|
@@ -1808,15 +1814,18 @@ var require_array = __commonJS2({
|
|
|
1808
1814
|
}
|
|
1809
1815
|
}
|
|
1810
1816
|
});
|
|
1811
|
-
var
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1817
|
+
var escape_string_regexp_exports = {};
|
|
1818
|
+
__export(escape_string_regexp_exports, {
|
|
1819
|
+
default: () => escapeStringRegexp
|
|
1820
|
+
});
|
|
1821
|
+
function escapeStringRegexp(string) {
|
|
1822
|
+
if (typeof string !== "string") {
|
|
1823
|
+
throw new TypeError("Expected a string");
|
|
1824
|
+
}
|
|
1825
|
+
return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
1826
|
+
}
|
|
1827
|
+
var init_escape_string_regexp = __esm({
|
|
1828
|
+
"node_modules/escape-string-regexp/index.js"() {
|
|
1820
1829
|
}
|
|
1821
1830
|
});
|
|
1822
1831
|
var require_get_last = __commonJS2({
|
|
@@ -1860,7 +1869,7 @@ var require_re = __commonJS2({
|
|
|
1860
1869
|
var R = 0;
|
|
1861
1870
|
var createToken = (name, value, isGlobal) => {
|
|
1862
1871
|
const index = R++;
|
|
1863
|
-
debug(index, value);
|
|
1872
|
+
debug(name, index, value);
|
|
1864
1873
|
t[name] = index;
|
|
1865
1874
|
src[index] = value;
|
|
1866
1875
|
re[index] = new RegExp(value, isGlobal ? "g" : void 0);
|
|
@@ -1906,8 +1915,8 @@ var require_re = __commonJS2({
|
|
|
1906
1915
|
createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
|
|
1907
1916
|
createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
|
|
1908
1917
|
createToken("STAR", "(<|>)?=?\\s*\\*");
|
|
1909
|
-
createToken("GTE0", "^\\s*>=\\s*0
|
|
1910
|
-
createToken("GTE0PRE", "^\\s*>=\\s*0
|
|
1918
|
+
createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
|
|
1919
|
+
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
1911
1920
|
}
|
|
1912
1921
|
});
|
|
1913
1922
|
var require_parse_options = __commonJS2({
|
|
@@ -1915,9 +1924,9 @@ var require_parse_options = __commonJS2({
|
|
|
1915
1924
|
var opts = ["includePrerelease", "loose", "rtl"];
|
|
1916
1925
|
var parseOptions = (options) => !options ? {} : typeof options !== "object" ? {
|
|
1917
1926
|
loose: true
|
|
1918
|
-
} : opts.filter((k) => options[k]).reduce((
|
|
1919
|
-
|
|
1920
|
-
return
|
|
1927
|
+
} : opts.filter((k) => options[k]).reduce((o, k) => {
|
|
1928
|
+
o[k] = true;
|
|
1929
|
+
return o;
|
|
1921
1930
|
}, {});
|
|
1922
1931
|
module2.exports = parseOptions;
|
|
1923
1932
|
}
|
|
@@ -2151,7 +2160,7 @@ var require_semver = __commonJS2({
|
|
|
2151
2160
|
}
|
|
2152
2161
|
}
|
|
2153
2162
|
if (identifier) {
|
|
2154
|
-
if (this.prerelease[0] ===
|
|
2163
|
+
if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
|
|
2155
2164
|
if (isNaN(this.prerelease[1])) {
|
|
2156
2165
|
this.prerelease = [identifier, 0];
|
|
2157
2166
|
}
|
|
@@ -2755,107 +2764,86 @@ var require_is_non_empty_array = __commonJS2({
|
|
|
2755
2764
|
module2.exports = isNonEmptyArray;
|
|
2756
2765
|
}
|
|
2757
2766
|
});
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
};
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2767
|
+
function ansiRegex({
|
|
2768
|
+
onlyFirst = false
|
|
2769
|
+
} = {}) {
|
|
2770
|
+
const pattern = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");
|
|
2771
|
+
return new RegExp(pattern, onlyFirst ? void 0 : "g");
|
|
2772
|
+
}
|
|
2773
|
+
var init_ansi_regex = __esm({
|
|
2774
|
+
"node_modules/strip-ansi/node_modules/ansi-regex/index.js"() {
|
|
2775
|
+
}
|
|
2776
|
+
});
|
|
2777
|
+
function stripAnsi(string) {
|
|
2778
|
+
if (typeof string !== "string") {
|
|
2779
|
+
throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
|
|
2780
|
+
}
|
|
2781
|
+
return string.replace(ansiRegex(), "");
|
|
2782
|
+
}
|
|
2783
|
+
var init_strip_ansi = __esm({
|
|
2784
|
+
"node_modules/strip-ansi/index.js"() {
|
|
2785
|
+
init_ansi_regex();
|
|
2786
|
+
}
|
|
2787
|
+
});
|
|
2788
|
+
function isFullwidthCodePoint(codePoint) {
|
|
2789
|
+
if (!Number.isInteger(codePoint)) {
|
|
2790
|
+
return false;
|
|
2791
|
+
}
|
|
2792
|
+
return codePoint >= 4352 && (codePoint <= 4447 || codePoint === 9001 || codePoint === 9002 || 11904 <= codePoint && codePoint <= 12871 && codePoint !== 12351 || 12880 <= codePoint && codePoint <= 19903 || 19968 <= codePoint && codePoint <= 42182 || 43360 <= codePoint && codePoint <= 43388 || 44032 <= codePoint && codePoint <= 55203 || 63744 <= codePoint && codePoint <= 64255 || 65040 <= codePoint && codePoint <= 65049 || 65072 <= codePoint && codePoint <= 65131 || 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510 || 110592 <= codePoint && codePoint <= 110593 || 127488 <= codePoint && codePoint <= 127569 || 131072 <= codePoint && codePoint <= 262141);
|
|
2793
|
+
}
|
|
2794
|
+
var init_is_fullwidth_code_point = __esm({
|
|
2795
|
+
"node_modules/is-fullwidth-code-point/index.js"() {
|
|
2796
|
+
}
|
|
2797
|
+
});
|
|
2798
|
+
var require_emoji_regex = __commonJS2({
|
|
2799
|
+
"node_modules/emoji-regex/index.js"(exports2, module2) {
|
|
2800
|
+
"use strict";
|
|
2801
|
+
module2.exports = function() {
|
|
2802
|
+
return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
|
|
2788
2803
|
};
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
function ansiRegex({
|
|
2810
|
-
onlyFirst = false
|
|
2811
|
-
} = {}) {
|
|
2812
|
-
const pattern = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");
|
|
2813
|
-
return new RegExp(pattern, onlyFirst ? void 0 : "g");
|
|
2814
|
-
}
|
|
2815
|
-
function stripAnsi(string) {
|
|
2816
|
-
if (typeof string !== "string") {
|
|
2817
|
-
throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
|
|
2818
|
-
}
|
|
2819
|
-
return string.replace(ansiRegex(), "");
|
|
2804
|
+
}
|
|
2805
|
+
});
|
|
2806
|
+
var string_width_exports = {};
|
|
2807
|
+
__export(string_width_exports, {
|
|
2808
|
+
default: () => stringWidth
|
|
2809
|
+
});
|
|
2810
|
+
function stringWidth(string) {
|
|
2811
|
+
if (typeof string !== "string" || string.length === 0) {
|
|
2812
|
+
return 0;
|
|
2813
|
+
}
|
|
2814
|
+
string = stripAnsi(string);
|
|
2815
|
+
if (string.length === 0) {
|
|
2816
|
+
return 0;
|
|
2817
|
+
}
|
|
2818
|
+
string = string.replace((0, import_emoji_regex.default)(), " ");
|
|
2819
|
+
let width = 0;
|
|
2820
|
+
for (let index = 0; index < string.length; index++) {
|
|
2821
|
+
const codePoint = string.codePointAt(index);
|
|
2822
|
+
if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
|
|
2823
|
+
continue;
|
|
2820
2824
|
}
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
return false;
|
|
2824
|
-
}
|
|
2825
|
-
return codePoint >= 4352 && (codePoint <= 4447 || codePoint === 9001 || codePoint === 9002 || 11904 <= codePoint && codePoint <= 12871 && codePoint !== 12351 || 12880 <= codePoint && codePoint <= 19903 || 19968 <= codePoint && codePoint <= 42182 || 43360 <= codePoint && codePoint <= 43388 || 44032 <= codePoint && codePoint <= 55203 || 63744 <= codePoint && codePoint <= 64255 || 65040 <= codePoint && codePoint <= 65049 || 65072 <= codePoint && codePoint <= 65131 || 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510 || 110592 <= codePoint && codePoint <= 110593 || 127488 <= codePoint && codePoint <= 127569 || 131072 <= codePoint && codePoint <= 262141);
|
|
2825
|
+
if (codePoint >= 768 && codePoint <= 879) {
|
|
2826
|
+
continue;
|
|
2826
2827
|
}
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
if (typeof string !== "string" || string.length === 0) {
|
|
2830
|
-
return 0;
|
|
2831
|
-
}
|
|
2832
|
-
string = stripAnsi(string);
|
|
2833
|
-
if (string.length === 0) {
|
|
2834
|
-
return 0;
|
|
2835
|
-
}
|
|
2836
|
-
string = string.replace((0, import_emoji_regex.default)(), " ");
|
|
2837
|
-
let width = 0;
|
|
2838
|
-
for (let index = 0; index < string.length; index++) {
|
|
2839
|
-
const codePoint = string.codePointAt(index);
|
|
2840
|
-
if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
|
|
2841
|
-
continue;
|
|
2842
|
-
}
|
|
2843
|
-
if (codePoint >= 768 && codePoint <= 879) {
|
|
2844
|
-
continue;
|
|
2845
|
-
}
|
|
2846
|
-
if (codePoint > 65535) {
|
|
2847
|
-
index++;
|
|
2848
|
-
}
|
|
2849
|
-
width += isFullwidthCodePoint(codePoint) ? 2 : 1;
|
|
2850
|
-
}
|
|
2851
|
-
return width;
|
|
2828
|
+
if (codePoint > 65535) {
|
|
2829
|
+
index++;
|
|
2852
2830
|
}
|
|
2831
|
+
width += isFullwidthCodePoint(codePoint) ? 2 : 1;
|
|
2832
|
+
}
|
|
2833
|
+
return width;
|
|
2834
|
+
}
|
|
2835
|
+
var import_emoji_regex;
|
|
2836
|
+
var init_string_width = __esm({
|
|
2837
|
+
"node_modules/string-width/index.js"() {
|
|
2838
|
+
init_strip_ansi();
|
|
2839
|
+
init_is_fullwidth_code_point();
|
|
2840
|
+
import_emoji_regex = __toESM(require_emoji_regex());
|
|
2853
2841
|
}
|
|
2854
2842
|
});
|
|
2855
2843
|
var require_get_string_width = __commonJS2({
|
|
2856
2844
|
"src/utils/get-string-width.js"(exports2, module2) {
|
|
2857
2845
|
"use strict";
|
|
2858
|
-
var
|
|
2846
|
+
var stringWidth2 = (init_string_width(), __toCommonJS(string_width_exports)).default;
|
|
2859
2847
|
var notAsciiRegex = /[^\x20-\x7F]/;
|
|
2860
2848
|
function getStringWidth(text) {
|
|
2861
2849
|
if (!text) {
|
|
@@ -2864,7 +2852,7 @@ var require_get_string_width = __commonJS2({
|
|
|
2864
2852
|
if (!notAsciiRegex.test(text)) {
|
|
2865
2853
|
return text.length;
|
|
2866
2854
|
}
|
|
2867
|
-
return
|
|
2855
|
+
return stringWidth2(text);
|
|
2868
2856
|
}
|
|
2869
2857
|
module2.exports = getStringWidth;
|
|
2870
2858
|
}
|
|
@@ -3004,7 +2992,9 @@ var require_get_next_non_space_non_comment_character_index_with_start_index = __
|
|
|
3004
2992
|
var require_util = __commonJS2({
|
|
3005
2993
|
"src/common/util.js"(exports2, module2) {
|
|
3006
2994
|
"use strict";
|
|
3007
|
-
var
|
|
2995
|
+
var {
|
|
2996
|
+
default: escapeStringRegexp2
|
|
2997
|
+
} = (init_escape_string_regexp(), __toCommonJS(escape_string_regexp_exports));
|
|
3008
2998
|
var getLast = require_get_last();
|
|
3009
2999
|
var {
|
|
3010
3000
|
getSupportInfo: getSupportInfo2
|
|
@@ -3169,14 +3159,14 @@ var require_util = __commonJS2({
|
|
|
3169
3159
|
return rawNumber.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/, "$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/, "$1").replace(/^([+-])?\./, "$10.").replace(/(\.\d+?)0+(?=e|$)/, "$1").replace(/\.(?=e|$)/, "");
|
|
3170
3160
|
}
|
|
3171
3161
|
function getMaxContinuousCount(str, target) {
|
|
3172
|
-
const results = str.match(new RegExp(`(${
|
|
3162
|
+
const results = str.match(new RegExp(`(${escapeStringRegexp2(target)})+`, "g"));
|
|
3173
3163
|
if (results === null) {
|
|
3174
3164
|
return 0;
|
|
3175
3165
|
}
|
|
3176
3166
|
return results.reduce((maxCount, result) => Math.max(maxCount, result.length / target.length), 0);
|
|
3177
3167
|
}
|
|
3178
3168
|
function getMinNotPresentContinuousCount(str, target) {
|
|
3179
|
-
const matches = str.match(new RegExp(`(${
|
|
3169
|
+
const matches = str.match(new RegExp(`(${escapeStringRegexp2(target)})+`, "g"));
|
|
3180
3170
|
if (matches === null) {
|
|
3181
3171
|
return 0;
|
|
3182
3172
|
}
|
|
@@ -3792,7 +3782,7 @@ var require_descriptors2 = __commonJS2({
|
|
|
3792
3782
|
tslib_1.__exportStar(require_api(), exports2);
|
|
3793
3783
|
}
|
|
3794
3784
|
});
|
|
3795
|
-
var
|
|
3785
|
+
var require_escape_string_regexp = __commonJS2({
|
|
3796
3786
|
"node_modules/vnopts/node_modules/escape-string-regexp/index.js"(exports2, module2) {
|
|
3797
3787
|
"use strict";
|
|
3798
3788
|
var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
|
|
@@ -5185,7 +5175,7 @@ var require_templates = __commonJS2({
|
|
|
5185
5175
|
var require_chalk = __commonJS2({
|
|
5186
5176
|
"node_modules/vnopts/node_modules/chalk/index.js"(exports2, module2) {
|
|
5187
5177
|
"use strict";
|
|
5188
|
-
var
|
|
5178
|
+
var escapeStringRegexp2 = require_escape_string_regexp();
|
|
5189
5179
|
var ansiStyles = require_ansi_styles();
|
|
5190
5180
|
var stdoutColor = require_supports_color().stdout;
|
|
5191
5181
|
var template = require_templates();
|
|
@@ -5218,7 +5208,7 @@ var require_chalk = __commonJS2({
|
|
|
5218
5208
|
ansiStyles.blue.open = "\x1B[94m";
|
|
5219
5209
|
}
|
|
5220
5210
|
for (const key of Object.keys(ansiStyles)) {
|
|
5221
|
-
ansiStyles[key].closeRe = new RegExp(
|
|
5211
|
+
ansiStyles[key].closeRe = new RegExp(escapeStringRegexp2(ansiStyles[key].close), "g");
|
|
5222
5212
|
styles[key] = {
|
|
5223
5213
|
get() {
|
|
5224
5214
|
const codes = ansiStyles[key];
|
|
@@ -5231,7 +5221,7 @@ var require_chalk = __commonJS2({
|
|
|
5231
5221
|
return build.call(this, this._styles || [], true, "visible");
|
|
5232
5222
|
}
|
|
5233
5223
|
};
|
|
5234
|
-
ansiStyles.color.closeRe = new RegExp(
|
|
5224
|
+
ansiStyles.color.closeRe = new RegExp(escapeStringRegexp2(ansiStyles.color.close), "g");
|
|
5235
5225
|
for (const model of Object.keys(ansiStyles.color.ansi)) {
|
|
5236
5226
|
if (skipModels.has(model)) {
|
|
5237
5227
|
continue;
|
|
@@ -5251,7 +5241,7 @@ var require_chalk = __commonJS2({
|
|
|
5251
5241
|
}
|
|
5252
5242
|
};
|
|
5253
5243
|
}
|
|
5254
|
-
ansiStyles.bgColor.closeRe = new RegExp(
|
|
5244
|
+
ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp2(ansiStyles.bgColor.close), "g");
|
|
5255
5245
|
for (const model of Object.keys(ansiStyles.bgColor.ansi)) {
|
|
5256
5246
|
if (skipModels.has(model)) {
|
|
5257
5247
|
continue;
|
|
@@ -6195,11 +6185,11 @@ var require_options_normalizer = __commonJS2({
|
|
|
6195
6185
|
};
|
|
6196
6186
|
var hasDeprecationWarned;
|
|
6197
6187
|
function normalizeOptions(options, optionInfos, {
|
|
6198
|
-
logger,
|
|
6188
|
+
logger = false,
|
|
6199
6189
|
isCLI = false,
|
|
6200
6190
|
passThrough = false,
|
|
6201
|
-
colorsModule,
|
|
6202
|
-
levenshteinDistance
|
|
6191
|
+
colorsModule = null,
|
|
6192
|
+
levenshteinDistance = null
|
|
6203
6193
|
} = {}) {
|
|
6204
6194
|
const unknown = !passThrough ? (key, value, options2) => {
|
|
6205
6195
|
const _options2$schemas = options2.schemas, {
|
|
@@ -6303,7 +6293,7 @@ var require_options_normalizer = __commonJS2({
|
|
|
6303
6293
|
case "int":
|
|
6304
6294
|
SchemaConstructor = vnopts.IntegerSchema;
|
|
6305
6295
|
if (isCLI) {
|
|
6306
|
-
parameters.preprocess =
|
|
6296
|
+
parameters.preprocess = Number;
|
|
6307
6297
|
}
|
|
6308
6298
|
break;
|
|
6309
6299
|
case "string":
|
|
@@ -6422,6 +6412,32 @@ var require_loc = __commonJS2({
|
|
|
6422
6412
|
};
|
|
6423
6413
|
}
|
|
6424
6414
|
});
|
|
6415
|
+
var require_load_parser = __commonJS2({
|
|
6416
|
+
"src/main/load-parser.js"(exports2, module2) {
|
|
6417
|
+
"use strict";
|
|
6418
|
+
var path = require("path");
|
|
6419
|
+
var {
|
|
6420
|
+
ConfigError
|
|
6421
|
+
} = require_errors();
|
|
6422
|
+
var {
|
|
6423
|
+
locStart,
|
|
6424
|
+
locEnd
|
|
6425
|
+
} = require_loc();
|
|
6426
|
+
function requireParser(parser) {
|
|
6427
|
+
try {
|
|
6428
|
+
return {
|
|
6429
|
+
parse: require(path.resolve(process.cwd(), parser)),
|
|
6430
|
+
astFormat: "estree",
|
|
6431
|
+
locStart,
|
|
6432
|
+
locEnd
|
|
6433
|
+
};
|
|
6434
|
+
} catch {
|
|
6435
|
+
throw new ConfigError(`Couldn't resolve parser "${parser}"`);
|
|
6436
|
+
}
|
|
6437
|
+
}
|
|
6438
|
+
module2.exports = requireParser;
|
|
6439
|
+
}
|
|
6440
|
+
});
|
|
6425
6441
|
var require_js_tokens = __commonJS2({
|
|
6426
6442
|
"node_modules/js-tokens/index.js"(exports2) {
|
|
6427
6443
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -6631,7 +6647,7 @@ var require_lib3 = __commonJS2({
|
|
|
6631
6647
|
var _keyword = require_keyword();
|
|
6632
6648
|
}
|
|
6633
6649
|
});
|
|
6634
|
-
var
|
|
6650
|
+
var require_escape_string_regexp2 = __commonJS2({
|
|
6635
6651
|
"node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js"(exports2, module2) {
|
|
6636
6652
|
"use strict";
|
|
6637
6653
|
var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
|
|
@@ -6852,7 +6868,7 @@ var require_templates2 = __commonJS2({
|
|
|
6852
6868
|
var require_chalk2 = __commonJS2({
|
|
6853
6869
|
"node_modules/@babel/highlight/node_modules/chalk/index.js"(exports2, module2) {
|
|
6854
6870
|
"use strict";
|
|
6855
|
-
var
|
|
6871
|
+
var escapeStringRegexp2 = require_escape_string_regexp2();
|
|
6856
6872
|
var ansiStyles = require_ansi_styles();
|
|
6857
6873
|
var stdoutColor = require_supports_color2().stdout;
|
|
6858
6874
|
var template = require_templates2();
|
|
@@ -6885,7 +6901,7 @@ var require_chalk2 = __commonJS2({
|
|
|
6885
6901
|
ansiStyles.blue.open = "\x1B[94m";
|
|
6886
6902
|
}
|
|
6887
6903
|
for (const key of Object.keys(ansiStyles)) {
|
|
6888
|
-
ansiStyles[key].closeRe = new RegExp(
|
|
6904
|
+
ansiStyles[key].closeRe = new RegExp(escapeStringRegexp2(ansiStyles[key].close), "g");
|
|
6889
6905
|
styles[key] = {
|
|
6890
6906
|
get() {
|
|
6891
6907
|
const codes = ansiStyles[key];
|
|
@@ -6898,7 +6914,7 @@ var require_chalk2 = __commonJS2({
|
|
|
6898
6914
|
return build.call(this, this._styles || [], true, "visible");
|
|
6899
6915
|
}
|
|
6900
6916
|
};
|
|
6901
|
-
ansiStyles.color.closeRe = new RegExp(
|
|
6917
|
+
ansiStyles.color.closeRe = new RegExp(escapeStringRegexp2(ansiStyles.color.close), "g");
|
|
6902
6918
|
for (const model of Object.keys(ansiStyles.color.ansi)) {
|
|
6903
6919
|
if (skipModels.has(model)) {
|
|
6904
6920
|
continue;
|
|
@@ -6918,7 +6934,7 @@ var require_chalk2 = __commonJS2({
|
|
|
6918
6934
|
}
|
|
6919
6935
|
};
|
|
6920
6936
|
}
|
|
6921
|
-
ansiStyles.bgColor.closeRe = new RegExp(
|
|
6937
|
+
ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp2(ansiStyles.bgColor.close), "g");
|
|
6922
6938
|
for (const model of Object.keys(ansiStyles.bgColor.ansi)) {
|
|
6923
6939
|
if (skipModels.has(model)) {
|
|
6924
6940
|
continue;
|
|
@@ -7258,11 +7274,11 @@ ${frame}`;
|
|
|
7258
7274
|
var require_parser = __commonJS2({
|
|
7259
7275
|
"src/main/parser.js"(exports2, module2) {
|
|
7260
7276
|
"use strict";
|
|
7261
|
-
var path = require("path");
|
|
7262
7277
|
var {
|
|
7263
7278
|
ConfigError
|
|
7264
7279
|
} = require_errors();
|
|
7265
7280
|
var jsLoc = require_loc();
|
|
7281
|
+
var loadParser = require_load_parser();
|
|
7266
7282
|
var {
|
|
7267
7283
|
locStart,
|
|
7268
7284
|
locEnd
|
|
@@ -7297,19 +7313,7 @@ var require_parser = __commonJS2({
|
|
|
7297
7313
|
if (false) {
|
|
7298
7314
|
throw new ConfigError(`Couldn't resolve parser "${opts.parser}". Parsers must be explicitly added to the standalone bundle.`);
|
|
7299
7315
|
}
|
|
7300
|
-
return
|
|
7301
|
-
}
|
|
7302
|
-
}
|
|
7303
|
-
function requireParser(parser) {
|
|
7304
|
-
try {
|
|
7305
|
-
return {
|
|
7306
|
-
parse: require(path.resolve(process.cwd(), parser)),
|
|
7307
|
-
astFormat: "estree",
|
|
7308
|
-
locStart,
|
|
7309
|
-
locEnd
|
|
7310
|
-
};
|
|
7311
|
-
} catch {
|
|
7312
|
-
throw new ConfigError(`Couldn't resolve parser "${parser}"`);
|
|
7316
|
+
return loadParser(opts.parser);
|
|
7313
7317
|
}
|
|
7314
7318
|
}
|
|
7315
7319
|
function parse(text, opts) {
|
|
@@ -7794,7 +7798,7 @@ var require_comments = __commonJS2({
|
|
|
7794
7798
|
ast: ast2,
|
|
7795
7799
|
isLastComment
|
|
7796
7800
|
} = context;
|
|
7797
|
-
if (options2.parser === "json" || options2.parser === "json5" || options2.parser === "__js_expression" || options2.parser === "__vue_expression") {
|
|
7801
|
+
if (options2.parser === "json" || options2.parser === "json5" || options2.parser === "__js_expression" || options2.parser === "__vue_expression" || options2.parser === "__vue_ts_expression") {
|
|
7798
7802
|
if (locStart(comment) - locStart(ast2) <= 0) {
|
|
7799
7803
|
addLeadingComment(ast2, comment);
|
|
7800
7804
|
continue;
|
|
@@ -11708,11 +11712,11 @@ var require_micromatch = __commonJS2({
|
|
|
11708
11712
|
options.onResult(state);
|
|
11709
11713
|
items.push(state.output);
|
|
11710
11714
|
};
|
|
11711
|
-
let matches = micromatch(list, patterns, Object.assign(Object.assign({}, options), {}, {
|
|
11715
|
+
let matches = new Set(micromatch(list, patterns, Object.assign(Object.assign({}, options), {}, {
|
|
11712
11716
|
onResult
|
|
11713
|
-
}));
|
|
11717
|
+
})));
|
|
11714
11718
|
for (let item of items) {
|
|
11715
|
-
if (!matches.
|
|
11719
|
+
if (!matches.has(item)) {
|
|
11716
11720
|
result.add(item);
|
|
11717
11721
|
}
|
|
11718
11722
|
}
|
|
@@ -14543,6 +14547,19 @@ ${error.message}`;
|
|
|
14543
14547
|
};
|
|
14544
14548
|
}
|
|
14545
14549
|
});
|
|
14550
|
+
var require_partition = __commonJS2({
|
|
14551
|
+
"src/utils/partition.js"(exports2, module2) {
|
|
14552
|
+
"use strict";
|
|
14553
|
+
function partition(array, predicate) {
|
|
14554
|
+
const result = [[], []];
|
|
14555
|
+
for (const value of array) {
|
|
14556
|
+
result[predicate(value) ? 0 : 1].push(value);
|
|
14557
|
+
}
|
|
14558
|
+
return result;
|
|
14559
|
+
}
|
|
14560
|
+
module2.exports = partition;
|
|
14561
|
+
}
|
|
14562
|
+
});
|
|
14546
14563
|
var require_homedir = __commonJS2({
|
|
14547
14564
|
"node_modules/resolve/lib/homedir.js"(exports2, module2) {
|
|
14548
14565
|
"use strict";
|
|
@@ -15716,190 +15733,29 @@ var require_resolve2 = __commonJS2({
|
|
|
15716
15733
|
module2.exports = resolve;
|
|
15717
15734
|
}
|
|
15718
15735
|
});
|
|
15719
|
-
|
|
15720
|
-
|
|
15721
|
-
|
|
15722
|
-
|
|
15723
|
-
|
|
15724
|
-
|
|
15725
|
-
|
|
15726
|
-
|
|
15727
|
-
|
|
15728
|
-
|
|
15729
|
-
|
|
15730
|
-
|
|
15731
|
-
|
|
15732
|
-
|
|
15733
|
-
|
|
15734
|
-
|
|
15735
|
-
|
|
15736
|
-
|
|
15737
|
-
|
|
15738
|
-
|
|
15739
|
-
|
|
15740
|
-
|
|
15741
|
-
|
|
15742
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
15743
|
-
if (__propIsEnum.call(b, prop))
|
|
15744
|
-
__defNormalProp(a, prop, b[prop]);
|
|
15745
|
-
}
|
|
15746
|
-
return a;
|
|
15747
|
-
};
|
|
15748
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
15749
|
-
var __commonJS22 = (cb, mod) => function __require() {
|
|
15750
|
-
return mod || (0, cb[__getOwnPropNames22(cb)[0]])((mod = {
|
|
15751
|
-
exports: {}
|
|
15752
|
-
}).exports, mod), mod.exports;
|
|
15753
|
-
};
|
|
15754
|
-
var __export2 = (target, all) => {
|
|
15755
|
-
for (var name in all)
|
|
15756
|
-
__defProp2(target, name, {
|
|
15757
|
-
get: all[name],
|
|
15758
|
-
enumerable: true
|
|
15759
|
-
});
|
|
15760
|
-
};
|
|
15761
|
-
var __copyProps2 = (to, from, except, desc) => {
|
|
15762
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
15763
|
-
for (let key of __getOwnPropNames22(from))
|
|
15764
|
-
if (!__hasOwnProp2.call(to, key) && key !== except)
|
|
15765
|
-
__defProp2(to, key, {
|
|
15766
|
-
get: () => from[key],
|
|
15767
|
-
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
|
|
15768
|
-
});
|
|
15769
|
-
}
|
|
15770
|
-
return to;
|
|
15771
|
-
};
|
|
15772
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps2(isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
|
|
15773
|
-
value: mod,
|
|
15774
|
-
enumerable: true
|
|
15775
|
-
}) : target, mod));
|
|
15776
|
-
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", {
|
|
15777
|
-
value: true
|
|
15778
|
-
}), mod);
|
|
15779
|
-
var require_p_defer = __commonJS22({
|
|
15780
|
-
"node_modules/p-defer/index.js"(exports3, module22) {
|
|
15781
|
-
"use strict";
|
|
15782
|
-
module22.exports = () => {
|
|
15783
|
-
const ret = {};
|
|
15784
|
-
ret.promise = new Promise((resolve, reject) => {
|
|
15785
|
-
ret.resolve = resolve;
|
|
15786
|
-
ret.reject = reject;
|
|
15787
|
-
});
|
|
15788
|
-
return ret;
|
|
15789
|
-
};
|
|
15790
|
-
}
|
|
15791
|
-
});
|
|
15792
|
-
var require_dist = __commonJS22({
|
|
15793
|
-
"node_modules/map-age-cleaner/dist/index.js"(exports3, module22) {
|
|
15794
|
-
"use strict";
|
|
15795
|
-
var __awaiter2 = exports3 && exports3.__awaiter || function(thisArg, _arguments, P, generator) {
|
|
15796
|
-
return new (P || (P = Promise))(function(resolve, reject) {
|
|
15797
|
-
function fulfilled(value) {
|
|
15798
|
-
try {
|
|
15799
|
-
step(generator.next(value));
|
|
15800
|
-
} catch (e) {
|
|
15801
|
-
reject(e);
|
|
15802
|
-
}
|
|
15803
|
-
}
|
|
15804
|
-
function rejected(value) {
|
|
15805
|
-
try {
|
|
15806
|
-
step(generator["throw"](value));
|
|
15807
|
-
} catch (e) {
|
|
15808
|
-
reject(e);
|
|
15809
|
-
}
|
|
15810
|
-
}
|
|
15811
|
-
function step(result) {
|
|
15812
|
-
result.done ? resolve(result.value) : new P(function(resolve2) {
|
|
15813
|
-
resolve2(result.value);
|
|
15814
|
-
}).then(fulfilled, rejected);
|
|
15815
|
-
}
|
|
15816
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
15817
|
-
});
|
|
15818
|
-
};
|
|
15819
|
-
var __importDefault2 = exports3 && exports3.__importDefault || function(mod) {
|
|
15820
|
-
return mod && mod.__esModule ? mod : {
|
|
15821
|
-
"default": mod
|
|
15822
|
-
};
|
|
15823
|
-
};
|
|
15824
|
-
Object.defineProperty(exports3, "__esModule", {
|
|
15825
|
-
value: true
|
|
15826
|
-
});
|
|
15827
|
-
var p_defer_1 = __importDefault2(require_p_defer());
|
|
15828
|
-
function mapAgeCleaner2(map, property = "maxAge") {
|
|
15829
|
-
let processingKey;
|
|
15830
|
-
let processingTimer;
|
|
15831
|
-
let processingDeferred;
|
|
15832
|
-
const cleanup = () => __awaiter2(this, void 0, void 0, function* () {
|
|
15833
|
-
if (processingKey !== void 0) {
|
|
15834
|
-
return;
|
|
15835
|
-
}
|
|
15836
|
-
const setupTimer = (item) => __awaiter2(this, void 0, void 0, function* () {
|
|
15837
|
-
processingDeferred = p_defer_1.default();
|
|
15838
|
-
const delay = item[1][property] - Date.now();
|
|
15839
|
-
if (delay <= 0) {
|
|
15840
|
-
map.delete(item[0]);
|
|
15841
|
-
processingDeferred.resolve();
|
|
15842
|
-
return;
|
|
15843
|
-
}
|
|
15844
|
-
processingKey = item[0];
|
|
15845
|
-
processingTimer = setTimeout(() => {
|
|
15846
|
-
map.delete(item[0]);
|
|
15847
|
-
if (processingDeferred) {
|
|
15848
|
-
processingDeferred.resolve();
|
|
15849
|
-
}
|
|
15850
|
-
}, delay);
|
|
15851
|
-
if (typeof processingTimer.unref === "function") {
|
|
15852
|
-
processingTimer.unref();
|
|
15853
|
-
}
|
|
15854
|
-
return processingDeferred.promise;
|
|
15855
|
-
});
|
|
15856
|
-
try {
|
|
15857
|
-
for (const entry of map) {
|
|
15858
|
-
yield setupTimer(entry);
|
|
15859
|
-
}
|
|
15860
|
-
} catch (_a) {
|
|
15861
|
-
}
|
|
15862
|
-
processingKey = void 0;
|
|
15863
|
-
});
|
|
15864
|
-
const reset = () => {
|
|
15865
|
-
processingKey = void 0;
|
|
15866
|
-
if (processingTimer !== void 0) {
|
|
15867
|
-
clearTimeout(processingTimer);
|
|
15868
|
-
processingTimer = void 0;
|
|
15869
|
-
}
|
|
15870
|
-
if (processingDeferred !== void 0) {
|
|
15871
|
-
processingDeferred.reject(void 0);
|
|
15872
|
-
processingDeferred = void 0;
|
|
15873
|
-
}
|
|
15874
|
-
};
|
|
15875
|
-
const originalSet = map.set.bind(map);
|
|
15876
|
-
map.set = (key, value) => {
|
|
15877
|
-
if (map.has(key)) {
|
|
15878
|
-
map.delete(key);
|
|
15879
|
-
}
|
|
15880
|
-
const result = originalSet(key, value);
|
|
15881
|
-
if (processingKey && processingKey === key) {
|
|
15882
|
-
reset();
|
|
15883
|
-
}
|
|
15884
|
-
cleanup();
|
|
15885
|
-
return result;
|
|
15886
|
-
};
|
|
15887
|
-
cleanup();
|
|
15888
|
-
return map;
|
|
15889
|
-
}
|
|
15890
|
-
exports3.default = mapAgeCleaner2;
|
|
15891
|
-
module22.exports = mapAgeCleaner2;
|
|
15892
|
-
module22.exports.default = mapAgeCleaner2;
|
|
15893
|
-
}
|
|
15894
|
-
});
|
|
15895
|
-
var dist_exports = {};
|
|
15896
|
-
__export2(dist_exports, {
|
|
15897
|
-
default: () => mem,
|
|
15898
|
-
memClear: () => memClear,
|
|
15899
|
-
memDecorator: () => memDecorator
|
|
15900
|
-
});
|
|
15901
|
-
module2.exports = __toCommonJS2(dist_exports);
|
|
15902
|
-
var copyProperty = (to, from, property, ignoreNonConfigurable) => {
|
|
15736
|
+
function mimicFunction(to, from, {
|
|
15737
|
+
ignoreNonConfigurable = false
|
|
15738
|
+
} = {}) {
|
|
15739
|
+
const {
|
|
15740
|
+
name
|
|
15741
|
+
} = to;
|
|
15742
|
+
for (const property of Reflect.ownKeys(from)) {
|
|
15743
|
+
copyProperty(to, from, property, ignoreNonConfigurable);
|
|
15744
|
+
}
|
|
15745
|
+
changePrototype(to, from);
|
|
15746
|
+
changeToString(to, from, name);
|
|
15747
|
+
return to;
|
|
15748
|
+
}
|
|
15749
|
+
var copyProperty;
|
|
15750
|
+
var canCopyProperty;
|
|
15751
|
+
var changePrototype;
|
|
15752
|
+
var wrappedToString;
|
|
15753
|
+
var toStringDescriptor;
|
|
15754
|
+
var toStringName;
|
|
15755
|
+
var changeToString;
|
|
15756
|
+
var init_mimic_fn = __esm({
|
|
15757
|
+
"node_modules/mimic-fn/index.js"() {
|
|
15758
|
+
copyProperty = (to, from, property, ignoreNonConfigurable) => {
|
|
15903
15759
|
if (property === "length" || property === "prototype") {
|
|
15904
15760
|
return;
|
|
15905
15761
|
}
|
|
@@ -15913,99 +15769,215 @@ var require_mem = __commonJS2({
|
|
|
15913
15769
|
}
|
|
15914
15770
|
Object.defineProperty(to, property, fromDescriptor);
|
|
15915
15771
|
};
|
|
15916
|
-
|
|
15772
|
+
canCopyProperty = function(toDescriptor, fromDescriptor) {
|
|
15917
15773
|
return toDescriptor === void 0 || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);
|
|
15918
15774
|
};
|
|
15919
|
-
|
|
15775
|
+
changePrototype = (to, from) => {
|
|
15920
15776
|
const fromPrototype = Object.getPrototypeOf(from);
|
|
15921
15777
|
if (fromPrototype === Object.getPrototypeOf(to)) {
|
|
15922
15778
|
return;
|
|
15923
15779
|
}
|
|
15924
15780
|
Object.setPrototypeOf(to, fromPrototype);
|
|
15925
15781
|
};
|
|
15926
|
-
|
|
15782
|
+
wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/
|
|
15927
15783
|
${fromBody}`;
|
|
15928
|
-
|
|
15929
|
-
|
|
15930
|
-
|
|
15784
|
+
toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, "toString");
|
|
15785
|
+
toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, "name");
|
|
15786
|
+
changeToString = (to, from, name) => {
|
|
15931
15787
|
const withName = name === "" ? "" : `with ${name.trim()}() `;
|
|
15932
15788
|
const newToString = wrappedToString.bind(null, withName, from.toString());
|
|
15933
15789
|
Object.defineProperty(newToString, "name", toStringName);
|
|
15934
|
-
Object.defineProperty(to, "toString",
|
|
15790
|
+
Object.defineProperty(to, "toString", Object.assign(Object.assign({}, toStringDescriptor), {}, {
|
|
15935
15791
|
value: newToString
|
|
15936
15792
|
}));
|
|
15937
15793
|
};
|
|
15938
|
-
|
|
15939
|
-
|
|
15940
|
-
|
|
15941
|
-
|
|
15942
|
-
|
|
15943
|
-
|
|
15944
|
-
|
|
15945
|
-
|
|
15946
|
-
|
|
15947
|
-
|
|
15948
|
-
changeToString(to, from, name);
|
|
15949
|
-
return to;
|
|
15950
|
-
}
|
|
15951
|
-
var import_map_age_cleaner = __toESM(require_dist(), 1);
|
|
15952
|
-
var cacheStore = /* @__PURE__ */ new WeakMap();
|
|
15953
|
-
function mem(fn, {
|
|
15954
|
-
cacheKey,
|
|
15955
|
-
cache = /* @__PURE__ */ new Map(),
|
|
15956
|
-
maxAge
|
|
15957
|
-
} = {}) {
|
|
15958
|
-
if (typeof maxAge === "number") {
|
|
15959
|
-
(0, import_map_age_cleaner.default)(cache);
|
|
15960
|
-
}
|
|
15961
|
-
const memoized = function(...arguments_) {
|
|
15962
|
-
const key = cacheKey ? cacheKey(arguments_) : arguments_[0];
|
|
15963
|
-
const cacheItem = cache.get(key);
|
|
15964
|
-
if (cacheItem) {
|
|
15965
|
-
return cacheItem.data;
|
|
15966
|
-
}
|
|
15967
|
-
const result = fn.apply(this, arguments_);
|
|
15968
|
-
cache.set(key, {
|
|
15969
|
-
data: result,
|
|
15970
|
-
maxAge: maxAge ? Date.now() + maxAge : Number.POSITIVE_INFINITY
|
|
15971
|
-
});
|
|
15972
|
-
return result;
|
|
15973
|
-
};
|
|
15974
|
-
mimicFunction(memoized, fn, {
|
|
15975
|
-
ignoreNonConfigurable: true
|
|
15794
|
+
}
|
|
15795
|
+
});
|
|
15796
|
+
var require_p_defer = __commonJS2({
|
|
15797
|
+
"node_modules/p-defer/index.js"(exports2, module2) {
|
|
15798
|
+
"use strict";
|
|
15799
|
+
module2.exports = () => {
|
|
15800
|
+
const ret = {};
|
|
15801
|
+
ret.promise = new Promise((resolve, reject) => {
|
|
15802
|
+
ret.resolve = resolve;
|
|
15803
|
+
ret.reject = reject;
|
|
15976
15804
|
});
|
|
15977
|
-
|
|
15978
|
-
|
|
15979
|
-
|
|
15980
|
-
|
|
15981
|
-
|
|
15982
|
-
|
|
15983
|
-
|
|
15984
|
-
|
|
15985
|
-
|
|
15986
|
-
|
|
15987
|
-
|
|
15988
|
-
|
|
15989
|
-
|
|
15990
|
-
|
|
15991
|
-
const value = mem(input, options);
|
|
15992
|
-
instanceMap.set(this, value);
|
|
15993
|
-
return value;
|
|
15805
|
+
return ret;
|
|
15806
|
+
};
|
|
15807
|
+
}
|
|
15808
|
+
});
|
|
15809
|
+
var require_dist = __commonJS2({
|
|
15810
|
+
"node_modules/map-age-cleaner/dist/index.js"(exports2, module2) {
|
|
15811
|
+
"use strict";
|
|
15812
|
+
var __awaiter2 = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
|
|
15813
|
+
return new (P || (P = Promise))(function(resolve, reject) {
|
|
15814
|
+
function fulfilled(value) {
|
|
15815
|
+
try {
|
|
15816
|
+
step(generator.next(value));
|
|
15817
|
+
} catch (e) {
|
|
15818
|
+
reject(e);
|
|
15994
15819
|
}
|
|
15995
|
-
|
|
15996
|
-
|
|
15820
|
+
}
|
|
15821
|
+
function rejected(value) {
|
|
15822
|
+
try {
|
|
15823
|
+
step(generator["throw"](value));
|
|
15824
|
+
} catch (e) {
|
|
15825
|
+
reject(e);
|
|
15826
|
+
}
|
|
15827
|
+
}
|
|
15828
|
+
function step(result) {
|
|
15829
|
+
result.done ? resolve(result.value) : new P(function(resolve2) {
|
|
15830
|
+
resolve2(result.value);
|
|
15831
|
+
}).then(fulfilled, rejected);
|
|
15832
|
+
}
|
|
15833
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
15834
|
+
});
|
|
15835
|
+
};
|
|
15836
|
+
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
15837
|
+
return mod && mod.__esModule ? mod : {
|
|
15838
|
+
"default": mod
|
|
15839
|
+
};
|
|
15840
|
+
};
|
|
15841
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
15842
|
+
value: true
|
|
15843
|
+
});
|
|
15844
|
+
var p_defer_1 = __importDefault2(require_p_defer());
|
|
15845
|
+
function mapAgeCleaner2(map, property = "maxAge") {
|
|
15846
|
+
let processingKey;
|
|
15847
|
+
let processingTimer;
|
|
15848
|
+
let processingDeferred;
|
|
15849
|
+
const cleanup = () => __awaiter2(this, void 0, void 0, function* () {
|
|
15850
|
+
if (processingKey !== void 0) {
|
|
15851
|
+
return;
|
|
15852
|
+
}
|
|
15853
|
+
const setupTimer = (item) => __awaiter2(this, void 0, void 0, function* () {
|
|
15854
|
+
processingDeferred = p_defer_1.default();
|
|
15855
|
+
const delay = item[1][property] - Date.now();
|
|
15856
|
+
if (delay <= 0) {
|
|
15857
|
+
map.delete(item[0]);
|
|
15858
|
+
processingDeferred.resolve();
|
|
15859
|
+
return;
|
|
15860
|
+
}
|
|
15861
|
+
processingKey = item[0];
|
|
15862
|
+
processingTimer = setTimeout(() => {
|
|
15863
|
+
map.delete(item[0]);
|
|
15864
|
+
if (processingDeferred) {
|
|
15865
|
+
processingDeferred.resolve();
|
|
15866
|
+
}
|
|
15867
|
+
}, delay);
|
|
15868
|
+
if (typeof processingTimer.unref === "function") {
|
|
15869
|
+
processingTimer.unref();
|
|
15870
|
+
}
|
|
15871
|
+
return processingDeferred.promise;
|
|
15872
|
+
});
|
|
15873
|
+
try {
|
|
15874
|
+
for (const entry of map) {
|
|
15875
|
+
yield setupTimer(entry);
|
|
15876
|
+
}
|
|
15877
|
+
} catch (_a) {
|
|
15878
|
+
}
|
|
15879
|
+
processingKey = void 0;
|
|
15880
|
+
});
|
|
15881
|
+
const reset = () => {
|
|
15882
|
+
processingKey = void 0;
|
|
15883
|
+
if (processingTimer !== void 0) {
|
|
15884
|
+
clearTimeout(processingTimer);
|
|
15885
|
+
processingTimer = void 0;
|
|
15886
|
+
}
|
|
15887
|
+
if (processingDeferred !== void 0) {
|
|
15888
|
+
processingDeferred.reject(void 0);
|
|
15889
|
+
processingDeferred = void 0;
|
|
15890
|
+
}
|
|
15997
15891
|
};
|
|
15892
|
+
const originalSet = map.set.bind(map);
|
|
15893
|
+
map.set = (key, value) => {
|
|
15894
|
+
if (map.has(key)) {
|
|
15895
|
+
map.delete(key);
|
|
15896
|
+
}
|
|
15897
|
+
const result = originalSet(key, value);
|
|
15898
|
+
if (processingKey && processingKey === key) {
|
|
15899
|
+
reset();
|
|
15900
|
+
}
|
|
15901
|
+
cleanup();
|
|
15902
|
+
return result;
|
|
15903
|
+
};
|
|
15904
|
+
cleanup();
|
|
15905
|
+
return map;
|
|
15998
15906
|
}
|
|
15999
|
-
|
|
16000
|
-
|
|
16001
|
-
|
|
16002
|
-
|
|
16003
|
-
|
|
16004
|
-
|
|
16005
|
-
|
|
15907
|
+
exports2.default = mapAgeCleaner2;
|
|
15908
|
+
module2.exports = mapAgeCleaner2;
|
|
15909
|
+
module2.exports.default = mapAgeCleaner2;
|
|
15910
|
+
}
|
|
15911
|
+
});
|
|
15912
|
+
var dist_exports = {};
|
|
15913
|
+
__export(dist_exports, {
|
|
15914
|
+
default: () => mem,
|
|
15915
|
+
memClear: () => memClear,
|
|
15916
|
+
memDecorator: () => memDecorator
|
|
15917
|
+
});
|
|
15918
|
+
function mem(fn, {
|
|
15919
|
+
cacheKey,
|
|
15920
|
+
cache = /* @__PURE__ */ new Map(),
|
|
15921
|
+
maxAge
|
|
15922
|
+
} = {}) {
|
|
15923
|
+
if (typeof maxAge === "number") {
|
|
15924
|
+
(0, import_map_age_cleaner.default)(cache);
|
|
15925
|
+
}
|
|
15926
|
+
const memoized = function(...arguments_) {
|
|
15927
|
+
const key = cacheKey ? cacheKey(arguments_) : arguments_[0];
|
|
15928
|
+
const cacheItem = cache.get(key);
|
|
15929
|
+
if (cacheItem) {
|
|
15930
|
+
return cacheItem.data;
|
|
15931
|
+
}
|
|
15932
|
+
const result = fn.apply(this, arguments_);
|
|
15933
|
+
cache.set(key, {
|
|
15934
|
+
data: result,
|
|
15935
|
+
maxAge: maxAge ? Date.now() + maxAge : Number.POSITIVE_INFINITY
|
|
15936
|
+
});
|
|
15937
|
+
return result;
|
|
15938
|
+
};
|
|
15939
|
+
mimicFunction(memoized, fn, {
|
|
15940
|
+
ignoreNonConfigurable: true
|
|
15941
|
+
});
|
|
15942
|
+
cacheStore.set(memoized, cache);
|
|
15943
|
+
return memoized;
|
|
15944
|
+
}
|
|
15945
|
+
function memDecorator(options = {}) {
|
|
15946
|
+
const instanceMap = /* @__PURE__ */ new WeakMap();
|
|
15947
|
+
return (target, propertyKey, descriptor) => {
|
|
15948
|
+
const input = target[propertyKey];
|
|
15949
|
+
if (typeof input !== "function") {
|
|
15950
|
+
throw new TypeError("The decorated value must be a function");
|
|
15951
|
+
}
|
|
15952
|
+
delete descriptor.value;
|
|
15953
|
+
delete descriptor.writable;
|
|
15954
|
+
descriptor.get = function() {
|
|
15955
|
+
if (!instanceMap.has(this)) {
|
|
15956
|
+
const value = mem(input, options);
|
|
15957
|
+
instanceMap.set(this, value);
|
|
15958
|
+
return value;
|
|
16006
15959
|
}
|
|
16007
|
-
|
|
16008
|
-
}
|
|
15960
|
+
return instanceMap.get(this);
|
|
15961
|
+
};
|
|
15962
|
+
};
|
|
15963
|
+
}
|
|
15964
|
+
function memClear(fn) {
|
|
15965
|
+
const cache = cacheStore.get(fn);
|
|
15966
|
+
if (!cache) {
|
|
15967
|
+
throw new TypeError("Can't clear a function that was not memoized!");
|
|
15968
|
+
}
|
|
15969
|
+
if (typeof cache.clear !== "function") {
|
|
15970
|
+
throw new TypeError("The cache Map can't be cleared!");
|
|
15971
|
+
}
|
|
15972
|
+
cache.clear();
|
|
15973
|
+
}
|
|
15974
|
+
var import_map_age_cleaner;
|
|
15975
|
+
var cacheStore;
|
|
15976
|
+
var init_dist = __esm({
|
|
15977
|
+
"node_modules/mem/dist/index.js"() {
|
|
15978
|
+
init_mimic_fn();
|
|
15979
|
+
import_map_age_cleaner = __toESM(require_dist());
|
|
15980
|
+
cacheStore = /* @__PURE__ */ new WeakMap();
|
|
16009
15981
|
}
|
|
16010
15982
|
});
|
|
16011
15983
|
var require_pseudomap = __commonJS2({
|
|
@@ -16113,7 +16085,7 @@ var require_map = __commonJS2({
|
|
|
16113
16085
|
}
|
|
16114
16086
|
});
|
|
16115
16087
|
var require_yallist = __commonJS2({
|
|
16116
|
-
"node_modules/yallist/yallist.js"(exports2, module2) {
|
|
16088
|
+
"node_modules/editorconfig/node_modules/yallist/yallist.js"(exports2, module2) {
|
|
16117
16089
|
module2.exports = Yallist;
|
|
16118
16090
|
Yallist.Node = Node;
|
|
16119
16091
|
Yallist.create = Yallist;
|
|
@@ -16437,7 +16409,7 @@ var require_yallist = __commonJS2({
|
|
|
16437
16409
|
}
|
|
16438
16410
|
});
|
|
16439
16411
|
var require_lru_cache = __commonJS2({
|
|
16440
|
-
"node_modules/lru-cache/index.js"(exports2, module2) {
|
|
16412
|
+
"node_modules/editorconfig/node_modules/lru-cache/index.js"(exports2, module2) {
|
|
16441
16413
|
"use strict";
|
|
16442
16414
|
module2.exports = LRUCache;
|
|
16443
16415
|
var Map2 = require_map();
|
|
@@ -18175,11 +18147,11 @@ var require_resolve_config_editorconfig = __commonJS2({
|
|
|
18175
18147
|
var editorconfig = require_src2();
|
|
18176
18148
|
var editorConfigToPrettier = require_editorconfig_to_prettier();
|
|
18177
18149
|
var {
|
|
18178
|
-
default:
|
|
18179
|
-
memClear
|
|
18180
|
-
} =
|
|
18150
|
+
default: mem2,
|
|
18151
|
+
memClear: memClear2
|
|
18152
|
+
} = (init_dist(), __toCommonJS(dist_exports));
|
|
18181
18153
|
var findProjectRoot = require_find_project_root();
|
|
18182
|
-
var jsonStringifyMem = (fn) =>
|
|
18154
|
+
var jsonStringifyMem = (fn) => mem2(fn, {
|
|
18183
18155
|
cacheKey: JSON.stringify
|
|
18184
18156
|
});
|
|
18185
18157
|
var maybeParse = (filePath, parse) => filePath && parse(filePath, {
|
|
@@ -18199,8 +18171,8 @@ var require_resolve_config_editorconfig = __commonJS2({
|
|
|
18199
18171
|
return opts.cache ? editorconfigAsyncWithCache : editorconfigAsyncNoCache;
|
|
18200
18172
|
}
|
|
18201
18173
|
function clearCache() {
|
|
18202
|
-
|
|
18203
|
-
|
|
18174
|
+
memClear2(editorconfigSyncWithCache);
|
|
18175
|
+
memClear2(editorconfigAsyncWithCache);
|
|
18204
18176
|
}
|
|
18205
18177
|
module2.exports = {
|
|
18206
18178
|
getLoadFunction,
|
|
@@ -18216,13 +18188,14 @@ var require_resolve_config = __commonJS2({
|
|
|
18216
18188
|
var thirdParty = require("./third-party.js");
|
|
18217
18189
|
var loadToml = require_load_toml();
|
|
18218
18190
|
var loadJson5 = require_load_json5();
|
|
18191
|
+
var partition = require_partition();
|
|
18219
18192
|
var resolve = require_resolve2();
|
|
18220
18193
|
var {
|
|
18221
|
-
default:
|
|
18222
|
-
memClear
|
|
18223
|
-
} =
|
|
18194
|
+
default: mem2,
|
|
18195
|
+
memClear: memClear2
|
|
18196
|
+
} = (init_dist(), __toCommonJS(dist_exports));
|
|
18224
18197
|
var resolveEditorConfig = require_resolve_config_editorconfig();
|
|
18225
|
-
var getExplorerMemoized =
|
|
18198
|
+
var getExplorerMemoized = mem2((opts) => {
|
|
18226
18199
|
const cosmiconfig = thirdParty["cosmiconfig" + (opts.sync ? "Sync" : "")];
|
|
18227
18200
|
const explorer = cosmiconfig("prettier", {
|
|
18228
18201
|
cache: opts.cache,
|
|
@@ -18295,7 +18268,7 @@ var require_resolve_config = __commonJS2({
|
|
|
18295
18268
|
var resolveConfig = (filePath, opts) => _resolveConfig(filePath, opts, false);
|
|
18296
18269
|
resolveConfig.sync = (filePath, opts) => _resolveConfig(filePath, opts, true);
|
|
18297
18270
|
function clearCache() {
|
|
18298
|
-
|
|
18271
|
+
memClear2(getExplorerMemoized);
|
|
18299
18272
|
resolveEditorConfig.clearCache();
|
|
18300
18273
|
}
|
|
18301
18274
|
async function resolveConfigFile(filePath) {
|
|
@@ -18336,15 +18309,7 @@ var require_resolve_config = __commonJS2({
|
|
|
18336
18309
|
}
|
|
18337
18310
|
function pathMatchesGlobs(filePath, patterns, excludedPatterns) {
|
|
18338
18311
|
const patternList = Array.isArray(patterns) ? patterns : [patterns];
|
|
18339
|
-
const withSlashes =
|
|
18340
|
-
const withoutSlashes = [];
|
|
18341
|
-
for (const pattern of patternList) {
|
|
18342
|
-
if (pattern.includes("/")) {
|
|
18343
|
-
withSlashes.push(pattern);
|
|
18344
|
-
} else {
|
|
18345
|
-
withoutSlashes.push(pattern);
|
|
18346
|
-
}
|
|
18347
|
-
}
|
|
18312
|
+
const [withSlashes, withoutSlashes] = partition(patternList, (pattern) => pattern.includes("/"));
|
|
18348
18313
|
return micromatch.isMatch(filePath, withoutSlashes, {
|
|
18349
18314
|
ignore: excludedPatterns,
|
|
18350
18315
|
basename: true,
|
|
@@ -18582,7 +18547,7 @@ var require_create_ignorer = __commonJS2({
|
|
|
18582
18547
|
"src/common/create-ignorer.js"(exports2, module2) {
|
|
18583
18548
|
"use strict";
|
|
18584
18549
|
var path = require("path");
|
|
18585
|
-
var ignore = require_ignore();
|
|
18550
|
+
var ignore = require_ignore().default;
|
|
18586
18551
|
var getFileContentOrNull = require_get_file_content_or_null();
|
|
18587
18552
|
async function createIgnorer(ignorePath, withNodeModules) {
|
|
18588
18553
|
const ignoreContent = ignorePath ? await getFileContentOrNull(path.resolve(ignorePath)) : null;
|
|
@@ -18740,2008 +18705,6 @@ var require_util_shared = __commonJS2({
|
|
|
18740
18705
|
};
|
|
18741
18706
|
}
|
|
18742
18707
|
});
|
|
18743
|
-
var require_listCacheClear = __commonJS2({
|
|
18744
|
-
"node_modules/lodash/_listCacheClear.js"(exports2, module2) {
|
|
18745
|
-
function listCacheClear() {
|
|
18746
|
-
this.__data__ = [];
|
|
18747
|
-
this.size = 0;
|
|
18748
|
-
}
|
|
18749
|
-
module2.exports = listCacheClear;
|
|
18750
|
-
}
|
|
18751
|
-
});
|
|
18752
|
-
var require_eq = __commonJS2({
|
|
18753
|
-
"node_modules/lodash/eq.js"(exports2, module2) {
|
|
18754
|
-
function eq(value, other) {
|
|
18755
|
-
return value === other || value !== value && other !== other;
|
|
18756
|
-
}
|
|
18757
|
-
module2.exports = eq;
|
|
18758
|
-
}
|
|
18759
|
-
});
|
|
18760
|
-
var require_assocIndexOf = __commonJS2({
|
|
18761
|
-
"node_modules/lodash/_assocIndexOf.js"(exports2, module2) {
|
|
18762
|
-
var eq = require_eq();
|
|
18763
|
-
function assocIndexOf(array, key) {
|
|
18764
|
-
var length = array.length;
|
|
18765
|
-
while (length--) {
|
|
18766
|
-
if (eq(array[length][0], key)) {
|
|
18767
|
-
return length;
|
|
18768
|
-
}
|
|
18769
|
-
}
|
|
18770
|
-
return -1;
|
|
18771
|
-
}
|
|
18772
|
-
module2.exports = assocIndexOf;
|
|
18773
|
-
}
|
|
18774
|
-
});
|
|
18775
|
-
var require_listCacheDelete = __commonJS2({
|
|
18776
|
-
"node_modules/lodash/_listCacheDelete.js"(exports2, module2) {
|
|
18777
|
-
var assocIndexOf = require_assocIndexOf();
|
|
18778
|
-
var arrayProto = Array.prototype;
|
|
18779
|
-
var splice = arrayProto.splice;
|
|
18780
|
-
function listCacheDelete(key) {
|
|
18781
|
-
var data = this.__data__, index = assocIndexOf(data, key);
|
|
18782
|
-
if (index < 0) {
|
|
18783
|
-
return false;
|
|
18784
|
-
}
|
|
18785
|
-
var lastIndex = data.length - 1;
|
|
18786
|
-
if (index == lastIndex) {
|
|
18787
|
-
data.pop();
|
|
18788
|
-
} else {
|
|
18789
|
-
splice.call(data, index, 1);
|
|
18790
|
-
}
|
|
18791
|
-
--this.size;
|
|
18792
|
-
return true;
|
|
18793
|
-
}
|
|
18794
|
-
module2.exports = listCacheDelete;
|
|
18795
|
-
}
|
|
18796
|
-
});
|
|
18797
|
-
var require_listCacheGet = __commonJS2({
|
|
18798
|
-
"node_modules/lodash/_listCacheGet.js"(exports2, module2) {
|
|
18799
|
-
var assocIndexOf = require_assocIndexOf();
|
|
18800
|
-
function listCacheGet(key) {
|
|
18801
|
-
var data = this.__data__, index = assocIndexOf(data, key);
|
|
18802
|
-
return index < 0 ? void 0 : data[index][1];
|
|
18803
|
-
}
|
|
18804
|
-
module2.exports = listCacheGet;
|
|
18805
|
-
}
|
|
18806
|
-
});
|
|
18807
|
-
var require_listCacheHas = __commonJS2({
|
|
18808
|
-
"node_modules/lodash/_listCacheHas.js"(exports2, module2) {
|
|
18809
|
-
var assocIndexOf = require_assocIndexOf();
|
|
18810
|
-
function listCacheHas(key) {
|
|
18811
|
-
return assocIndexOf(this.__data__, key) > -1;
|
|
18812
|
-
}
|
|
18813
|
-
module2.exports = listCacheHas;
|
|
18814
|
-
}
|
|
18815
|
-
});
|
|
18816
|
-
var require_listCacheSet = __commonJS2({
|
|
18817
|
-
"node_modules/lodash/_listCacheSet.js"(exports2, module2) {
|
|
18818
|
-
var assocIndexOf = require_assocIndexOf();
|
|
18819
|
-
function listCacheSet(key, value) {
|
|
18820
|
-
var data = this.__data__, index = assocIndexOf(data, key);
|
|
18821
|
-
if (index < 0) {
|
|
18822
|
-
++this.size;
|
|
18823
|
-
data.push([key, value]);
|
|
18824
|
-
} else {
|
|
18825
|
-
data[index][1] = value;
|
|
18826
|
-
}
|
|
18827
|
-
return this;
|
|
18828
|
-
}
|
|
18829
|
-
module2.exports = listCacheSet;
|
|
18830
|
-
}
|
|
18831
|
-
});
|
|
18832
|
-
var require_ListCache = __commonJS2({
|
|
18833
|
-
"node_modules/lodash/_ListCache.js"(exports2, module2) {
|
|
18834
|
-
var listCacheClear = require_listCacheClear();
|
|
18835
|
-
var listCacheDelete = require_listCacheDelete();
|
|
18836
|
-
var listCacheGet = require_listCacheGet();
|
|
18837
|
-
var listCacheHas = require_listCacheHas();
|
|
18838
|
-
var listCacheSet = require_listCacheSet();
|
|
18839
|
-
function ListCache(entries) {
|
|
18840
|
-
var index = -1, length = entries == null ? 0 : entries.length;
|
|
18841
|
-
this.clear();
|
|
18842
|
-
while (++index < length) {
|
|
18843
|
-
var entry = entries[index];
|
|
18844
|
-
this.set(entry[0], entry[1]);
|
|
18845
|
-
}
|
|
18846
|
-
}
|
|
18847
|
-
ListCache.prototype.clear = listCacheClear;
|
|
18848
|
-
ListCache.prototype["delete"] = listCacheDelete;
|
|
18849
|
-
ListCache.prototype.get = listCacheGet;
|
|
18850
|
-
ListCache.prototype.has = listCacheHas;
|
|
18851
|
-
ListCache.prototype.set = listCacheSet;
|
|
18852
|
-
module2.exports = ListCache;
|
|
18853
|
-
}
|
|
18854
|
-
});
|
|
18855
|
-
var require_stackClear = __commonJS2({
|
|
18856
|
-
"node_modules/lodash/_stackClear.js"(exports2, module2) {
|
|
18857
|
-
var ListCache = require_ListCache();
|
|
18858
|
-
function stackClear() {
|
|
18859
|
-
this.__data__ = new ListCache();
|
|
18860
|
-
this.size = 0;
|
|
18861
|
-
}
|
|
18862
|
-
module2.exports = stackClear;
|
|
18863
|
-
}
|
|
18864
|
-
});
|
|
18865
|
-
var require_stackDelete = __commonJS2({
|
|
18866
|
-
"node_modules/lodash/_stackDelete.js"(exports2, module2) {
|
|
18867
|
-
function stackDelete(key) {
|
|
18868
|
-
var data = this.__data__, result = data["delete"](key);
|
|
18869
|
-
this.size = data.size;
|
|
18870
|
-
return result;
|
|
18871
|
-
}
|
|
18872
|
-
module2.exports = stackDelete;
|
|
18873
|
-
}
|
|
18874
|
-
});
|
|
18875
|
-
var require_stackGet = __commonJS2({
|
|
18876
|
-
"node_modules/lodash/_stackGet.js"(exports2, module2) {
|
|
18877
|
-
function stackGet(key) {
|
|
18878
|
-
return this.__data__.get(key);
|
|
18879
|
-
}
|
|
18880
|
-
module2.exports = stackGet;
|
|
18881
|
-
}
|
|
18882
|
-
});
|
|
18883
|
-
var require_stackHas = __commonJS2({
|
|
18884
|
-
"node_modules/lodash/_stackHas.js"(exports2, module2) {
|
|
18885
|
-
function stackHas(key) {
|
|
18886
|
-
return this.__data__.has(key);
|
|
18887
|
-
}
|
|
18888
|
-
module2.exports = stackHas;
|
|
18889
|
-
}
|
|
18890
|
-
});
|
|
18891
|
-
var require_freeGlobal = __commonJS2({
|
|
18892
|
-
"node_modules/lodash/_freeGlobal.js"(exports2, module2) {
|
|
18893
|
-
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
18894
|
-
module2.exports = freeGlobal;
|
|
18895
|
-
}
|
|
18896
|
-
});
|
|
18897
|
-
var require_root = __commonJS2({
|
|
18898
|
-
"node_modules/lodash/_root.js"(exports2, module2) {
|
|
18899
|
-
var freeGlobal = require_freeGlobal();
|
|
18900
|
-
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
18901
|
-
var root = freeGlobal || freeSelf || Function("return this")();
|
|
18902
|
-
module2.exports = root;
|
|
18903
|
-
}
|
|
18904
|
-
});
|
|
18905
|
-
var require_Symbol = __commonJS2({
|
|
18906
|
-
"node_modules/lodash/_Symbol.js"(exports2, module2) {
|
|
18907
|
-
var root = require_root();
|
|
18908
|
-
var Symbol2 = root.Symbol;
|
|
18909
|
-
module2.exports = Symbol2;
|
|
18910
|
-
}
|
|
18911
|
-
});
|
|
18912
|
-
var require_getRawTag = __commonJS2({
|
|
18913
|
-
"node_modules/lodash/_getRawTag.js"(exports2, module2) {
|
|
18914
|
-
var Symbol2 = require_Symbol();
|
|
18915
|
-
var objectProto = Object.prototype;
|
|
18916
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
18917
|
-
var nativeObjectToString = objectProto.toString;
|
|
18918
|
-
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
|
18919
|
-
function getRawTag(value) {
|
|
18920
|
-
var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
|
|
18921
|
-
try {
|
|
18922
|
-
value[symToStringTag] = void 0;
|
|
18923
|
-
var unmasked = true;
|
|
18924
|
-
} catch (e) {
|
|
18925
|
-
}
|
|
18926
|
-
var result = nativeObjectToString.call(value);
|
|
18927
|
-
if (unmasked) {
|
|
18928
|
-
if (isOwn) {
|
|
18929
|
-
value[symToStringTag] = tag;
|
|
18930
|
-
} else {
|
|
18931
|
-
delete value[symToStringTag];
|
|
18932
|
-
}
|
|
18933
|
-
}
|
|
18934
|
-
return result;
|
|
18935
|
-
}
|
|
18936
|
-
module2.exports = getRawTag;
|
|
18937
|
-
}
|
|
18938
|
-
});
|
|
18939
|
-
var require_objectToString = __commonJS2({
|
|
18940
|
-
"node_modules/lodash/_objectToString.js"(exports2, module2) {
|
|
18941
|
-
var objectProto = Object.prototype;
|
|
18942
|
-
var nativeObjectToString = objectProto.toString;
|
|
18943
|
-
function objectToString(value) {
|
|
18944
|
-
return nativeObjectToString.call(value);
|
|
18945
|
-
}
|
|
18946
|
-
module2.exports = objectToString;
|
|
18947
|
-
}
|
|
18948
|
-
});
|
|
18949
|
-
var require_baseGetTag = __commonJS2({
|
|
18950
|
-
"node_modules/lodash/_baseGetTag.js"(exports2, module2) {
|
|
18951
|
-
var Symbol2 = require_Symbol();
|
|
18952
|
-
var getRawTag = require_getRawTag();
|
|
18953
|
-
var objectToString = require_objectToString();
|
|
18954
|
-
var nullTag = "[object Null]";
|
|
18955
|
-
var undefinedTag = "[object Undefined]";
|
|
18956
|
-
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
|
18957
|
-
function baseGetTag(value) {
|
|
18958
|
-
if (value == null) {
|
|
18959
|
-
return value === void 0 ? undefinedTag : nullTag;
|
|
18960
|
-
}
|
|
18961
|
-
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
18962
|
-
}
|
|
18963
|
-
module2.exports = baseGetTag;
|
|
18964
|
-
}
|
|
18965
|
-
});
|
|
18966
|
-
var require_isObject = __commonJS2({
|
|
18967
|
-
"node_modules/lodash/isObject.js"(exports2, module2) {
|
|
18968
|
-
function isObject(value) {
|
|
18969
|
-
var type = typeof value;
|
|
18970
|
-
return value != null && (type == "object" || type == "function");
|
|
18971
|
-
}
|
|
18972
|
-
module2.exports = isObject;
|
|
18973
|
-
}
|
|
18974
|
-
});
|
|
18975
|
-
var require_isFunction = __commonJS2({
|
|
18976
|
-
"node_modules/lodash/isFunction.js"(exports2, module2) {
|
|
18977
|
-
var baseGetTag = require_baseGetTag();
|
|
18978
|
-
var isObject = require_isObject();
|
|
18979
|
-
var asyncTag = "[object AsyncFunction]";
|
|
18980
|
-
var funcTag = "[object Function]";
|
|
18981
|
-
var genTag = "[object GeneratorFunction]";
|
|
18982
|
-
var proxyTag = "[object Proxy]";
|
|
18983
|
-
function isFunction(value) {
|
|
18984
|
-
if (!isObject(value)) {
|
|
18985
|
-
return false;
|
|
18986
|
-
}
|
|
18987
|
-
var tag = baseGetTag(value);
|
|
18988
|
-
return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
18989
|
-
}
|
|
18990
|
-
module2.exports = isFunction;
|
|
18991
|
-
}
|
|
18992
|
-
});
|
|
18993
|
-
var require_coreJsData = __commonJS2({
|
|
18994
|
-
"node_modules/lodash/_coreJsData.js"(exports2, module2) {
|
|
18995
|
-
var root = require_root();
|
|
18996
|
-
var coreJsData = root["__core-js_shared__"];
|
|
18997
|
-
module2.exports = coreJsData;
|
|
18998
|
-
}
|
|
18999
|
-
});
|
|
19000
|
-
var require_isMasked = __commonJS2({
|
|
19001
|
-
"node_modules/lodash/_isMasked.js"(exports2, module2) {
|
|
19002
|
-
var coreJsData = require_coreJsData();
|
|
19003
|
-
var maskSrcKey = function() {
|
|
19004
|
-
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
|
|
19005
|
-
return uid ? "Symbol(src)_1." + uid : "";
|
|
19006
|
-
}();
|
|
19007
|
-
function isMasked(func) {
|
|
19008
|
-
return !!maskSrcKey && maskSrcKey in func;
|
|
19009
|
-
}
|
|
19010
|
-
module2.exports = isMasked;
|
|
19011
|
-
}
|
|
19012
|
-
});
|
|
19013
|
-
var require_toSource = __commonJS2({
|
|
19014
|
-
"node_modules/lodash/_toSource.js"(exports2, module2) {
|
|
19015
|
-
var funcProto = Function.prototype;
|
|
19016
|
-
var funcToString = funcProto.toString;
|
|
19017
|
-
function toSource(func) {
|
|
19018
|
-
if (func != null) {
|
|
19019
|
-
try {
|
|
19020
|
-
return funcToString.call(func);
|
|
19021
|
-
} catch (e) {
|
|
19022
|
-
}
|
|
19023
|
-
try {
|
|
19024
|
-
return func + "";
|
|
19025
|
-
} catch (e) {
|
|
19026
|
-
}
|
|
19027
|
-
}
|
|
19028
|
-
return "";
|
|
19029
|
-
}
|
|
19030
|
-
module2.exports = toSource;
|
|
19031
|
-
}
|
|
19032
|
-
});
|
|
19033
|
-
var require_baseIsNative = __commonJS2({
|
|
19034
|
-
"node_modules/lodash/_baseIsNative.js"(exports2, module2) {
|
|
19035
|
-
var isFunction = require_isFunction();
|
|
19036
|
-
var isMasked = require_isMasked();
|
|
19037
|
-
var isObject = require_isObject();
|
|
19038
|
-
var toSource = require_toSource();
|
|
19039
|
-
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
19040
|
-
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
19041
|
-
var funcProto = Function.prototype;
|
|
19042
|
-
var objectProto = Object.prototype;
|
|
19043
|
-
var funcToString = funcProto.toString;
|
|
19044
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
19045
|
-
var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
19046
|
-
function baseIsNative(value) {
|
|
19047
|
-
if (!isObject(value) || isMasked(value)) {
|
|
19048
|
-
return false;
|
|
19049
|
-
}
|
|
19050
|
-
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
|
19051
|
-
return pattern.test(toSource(value));
|
|
19052
|
-
}
|
|
19053
|
-
module2.exports = baseIsNative;
|
|
19054
|
-
}
|
|
19055
|
-
});
|
|
19056
|
-
var require_getValue = __commonJS2({
|
|
19057
|
-
"node_modules/lodash/_getValue.js"(exports2, module2) {
|
|
19058
|
-
function getValue(object, key) {
|
|
19059
|
-
return object == null ? void 0 : object[key];
|
|
19060
|
-
}
|
|
19061
|
-
module2.exports = getValue;
|
|
19062
|
-
}
|
|
19063
|
-
});
|
|
19064
|
-
var require_getNative = __commonJS2({
|
|
19065
|
-
"node_modules/lodash/_getNative.js"(exports2, module2) {
|
|
19066
|
-
var baseIsNative = require_baseIsNative();
|
|
19067
|
-
var getValue = require_getValue();
|
|
19068
|
-
function getNative(object, key) {
|
|
19069
|
-
var value = getValue(object, key);
|
|
19070
|
-
return baseIsNative(value) ? value : void 0;
|
|
19071
|
-
}
|
|
19072
|
-
module2.exports = getNative;
|
|
19073
|
-
}
|
|
19074
|
-
});
|
|
19075
|
-
var require_Map = __commonJS2({
|
|
19076
|
-
"node_modules/lodash/_Map.js"(exports2, module2) {
|
|
19077
|
-
var getNative = require_getNative();
|
|
19078
|
-
var root = require_root();
|
|
19079
|
-
var Map2 = getNative(root, "Map");
|
|
19080
|
-
module2.exports = Map2;
|
|
19081
|
-
}
|
|
19082
|
-
});
|
|
19083
|
-
var require_nativeCreate = __commonJS2({
|
|
19084
|
-
"node_modules/lodash/_nativeCreate.js"(exports2, module2) {
|
|
19085
|
-
var getNative = require_getNative();
|
|
19086
|
-
var nativeCreate = getNative(Object, "create");
|
|
19087
|
-
module2.exports = nativeCreate;
|
|
19088
|
-
}
|
|
19089
|
-
});
|
|
19090
|
-
var require_hashClear = __commonJS2({
|
|
19091
|
-
"node_modules/lodash/_hashClear.js"(exports2, module2) {
|
|
19092
|
-
var nativeCreate = require_nativeCreate();
|
|
19093
|
-
function hashClear() {
|
|
19094
|
-
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
|
19095
|
-
this.size = 0;
|
|
19096
|
-
}
|
|
19097
|
-
module2.exports = hashClear;
|
|
19098
|
-
}
|
|
19099
|
-
});
|
|
19100
|
-
var require_hashDelete = __commonJS2({
|
|
19101
|
-
"node_modules/lodash/_hashDelete.js"(exports2, module2) {
|
|
19102
|
-
function hashDelete(key) {
|
|
19103
|
-
var result = this.has(key) && delete this.__data__[key];
|
|
19104
|
-
this.size -= result ? 1 : 0;
|
|
19105
|
-
return result;
|
|
19106
|
-
}
|
|
19107
|
-
module2.exports = hashDelete;
|
|
19108
|
-
}
|
|
19109
|
-
});
|
|
19110
|
-
var require_hashGet = __commonJS2({
|
|
19111
|
-
"node_modules/lodash/_hashGet.js"(exports2, module2) {
|
|
19112
|
-
var nativeCreate = require_nativeCreate();
|
|
19113
|
-
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
19114
|
-
var objectProto = Object.prototype;
|
|
19115
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
19116
|
-
function hashGet(key) {
|
|
19117
|
-
var data = this.__data__;
|
|
19118
|
-
if (nativeCreate) {
|
|
19119
|
-
var result = data[key];
|
|
19120
|
-
return result === HASH_UNDEFINED ? void 0 : result;
|
|
19121
|
-
}
|
|
19122
|
-
return hasOwnProperty.call(data, key) ? data[key] : void 0;
|
|
19123
|
-
}
|
|
19124
|
-
module2.exports = hashGet;
|
|
19125
|
-
}
|
|
19126
|
-
});
|
|
19127
|
-
var require_hashHas = __commonJS2({
|
|
19128
|
-
"node_modules/lodash/_hashHas.js"(exports2, module2) {
|
|
19129
|
-
var nativeCreate = require_nativeCreate();
|
|
19130
|
-
var objectProto = Object.prototype;
|
|
19131
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
19132
|
-
function hashHas(key) {
|
|
19133
|
-
var data = this.__data__;
|
|
19134
|
-
return nativeCreate ? data[key] !== void 0 : hasOwnProperty.call(data, key);
|
|
19135
|
-
}
|
|
19136
|
-
module2.exports = hashHas;
|
|
19137
|
-
}
|
|
19138
|
-
});
|
|
19139
|
-
var require_hashSet = __commonJS2({
|
|
19140
|
-
"node_modules/lodash/_hashSet.js"(exports2, module2) {
|
|
19141
|
-
var nativeCreate = require_nativeCreate();
|
|
19142
|
-
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
19143
|
-
function hashSet(key, value) {
|
|
19144
|
-
var data = this.__data__;
|
|
19145
|
-
this.size += this.has(key) ? 0 : 1;
|
|
19146
|
-
data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
|
|
19147
|
-
return this;
|
|
19148
|
-
}
|
|
19149
|
-
module2.exports = hashSet;
|
|
19150
|
-
}
|
|
19151
|
-
});
|
|
19152
|
-
var require_Hash = __commonJS2({
|
|
19153
|
-
"node_modules/lodash/_Hash.js"(exports2, module2) {
|
|
19154
|
-
var hashClear = require_hashClear();
|
|
19155
|
-
var hashDelete = require_hashDelete();
|
|
19156
|
-
var hashGet = require_hashGet();
|
|
19157
|
-
var hashHas = require_hashHas();
|
|
19158
|
-
var hashSet = require_hashSet();
|
|
19159
|
-
function Hash(entries) {
|
|
19160
|
-
var index = -1, length = entries == null ? 0 : entries.length;
|
|
19161
|
-
this.clear();
|
|
19162
|
-
while (++index < length) {
|
|
19163
|
-
var entry = entries[index];
|
|
19164
|
-
this.set(entry[0], entry[1]);
|
|
19165
|
-
}
|
|
19166
|
-
}
|
|
19167
|
-
Hash.prototype.clear = hashClear;
|
|
19168
|
-
Hash.prototype["delete"] = hashDelete;
|
|
19169
|
-
Hash.prototype.get = hashGet;
|
|
19170
|
-
Hash.prototype.has = hashHas;
|
|
19171
|
-
Hash.prototype.set = hashSet;
|
|
19172
|
-
module2.exports = Hash;
|
|
19173
|
-
}
|
|
19174
|
-
});
|
|
19175
|
-
var require_mapCacheClear = __commonJS2({
|
|
19176
|
-
"node_modules/lodash/_mapCacheClear.js"(exports2, module2) {
|
|
19177
|
-
var Hash = require_Hash();
|
|
19178
|
-
var ListCache = require_ListCache();
|
|
19179
|
-
var Map2 = require_Map();
|
|
19180
|
-
function mapCacheClear() {
|
|
19181
|
-
this.size = 0;
|
|
19182
|
-
this.__data__ = {
|
|
19183
|
-
"hash": new Hash(),
|
|
19184
|
-
"map": new (Map2 || ListCache)(),
|
|
19185
|
-
"string": new Hash()
|
|
19186
|
-
};
|
|
19187
|
-
}
|
|
19188
|
-
module2.exports = mapCacheClear;
|
|
19189
|
-
}
|
|
19190
|
-
});
|
|
19191
|
-
var require_isKeyable = __commonJS2({
|
|
19192
|
-
"node_modules/lodash/_isKeyable.js"(exports2, module2) {
|
|
19193
|
-
function isKeyable(value) {
|
|
19194
|
-
var type = typeof value;
|
|
19195
|
-
return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
|
|
19196
|
-
}
|
|
19197
|
-
module2.exports = isKeyable;
|
|
19198
|
-
}
|
|
19199
|
-
});
|
|
19200
|
-
var require_getMapData = __commonJS2({
|
|
19201
|
-
"node_modules/lodash/_getMapData.js"(exports2, module2) {
|
|
19202
|
-
var isKeyable = require_isKeyable();
|
|
19203
|
-
function getMapData(map, key) {
|
|
19204
|
-
var data = map.__data__;
|
|
19205
|
-
return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
|
19206
|
-
}
|
|
19207
|
-
module2.exports = getMapData;
|
|
19208
|
-
}
|
|
19209
|
-
});
|
|
19210
|
-
var require_mapCacheDelete = __commonJS2({
|
|
19211
|
-
"node_modules/lodash/_mapCacheDelete.js"(exports2, module2) {
|
|
19212
|
-
var getMapData = require_getMapData();
|
|
19213
|
-
function mapCacheDelete(key) {
|
|
19214
|
-
var result = getMapData(this, key)["delete"](key);
|
|
19215
|
-
this.size -= result ? 1 : 0;
|
|
19216
|
-
return result;
|
|
19217
|
-
}
|
|
19218
|
-
module2.exports = mapCacheDelete;
|
|
19219
|
-
}
|
|
19220
|
-
});
|
|
19221
|
-
var require_mapCacheGet = __commonJS2({
|
|
19222
|
-
"node_modules/lodash/_mapCacheGet.js"(exports2, module2) {
|
|
19223
|
-
var getMapData = require_getMapData();
|
|
19224
|
-
function mapCacheGet(key) {
|
|
19225
|
-
return getMapData(this, key).get(key);
|
|
19226
|
-
}
|
|
19227
|
-
module2.exports = mapCacheGet;
|
|
19228
|
-
}
|
|
19229
|
-
});
|
|
19230
|
-
var require_mapCacheHas = __commonJS2({
|
|
19231
|
-
"node_modules/lodash/_mapCacheHas.js"(exports2, module2) {
|
|
19232
|
-
var getMapData = require_getMapData();
|
|
19233
|
-
function mapCacheHas(key) {
|
|
19234
|
-
return getMapData(this, key).has(key);
|
|
19235
|
-
}
|
|
19236
|
-
module2.exports = mapCacheHas;
|
|
19237
|
-
}
|
|
19238
|
-
});
|
|
19239
|
-
var require_mapCacheSet = __commonJS2({
|
|
19240
|
-
"node_modules/lodash/_mapCacheSet.js"(exports2, module2) {
|
|
19241
|
-
var getMapData = require_getMapData();
|
|
19242
|
-
function mapCacheSet(key, value) {
|
|
19243
|
-
var data = getMapData(this, key), size = data.size;
|
|
19244
|
-
data.set(key, value);
|
|
19245
|
-
this.size += data.size == size ? 0 : 1;
|
|
19246
|
-
return this;
|
|
19247
|
-
}
|
|
19248
|
-
module2.exports = mapCacheSet;
|
|
19249
|
-
}
|
|
19250
|
-
});
|
|
19251
|
-
var require_MapCache = __commonJS2({
|
|
19252
|
-
"node_modules/lodash/_MapCache.js"(exports2, module2) {
|
|
19253
|
-
var mapCacheClear = require_mapCacheClear();
|
|
19254
|
-
var mapCacheDelete = require_mapCacheDelete();
|
|
19255
|
-
var mapCacheGet = require_mapCacheGet();
|
|
19256
|
-
var mapCacheHas = require_mapCacheHas();
|
|
19257
|
-
var mapCacheSet = require_mapCacheSet();
|
|
19258
|
-
function MapCache(entries) {
|
|
19259
|
-
var index = -1, length = entries == null ? 0 : entries.length;
|
|
19260
|
-
this.clear();
|
|
19261
|
-
while (++index < length) {
|
|
19262
|
-
var entry = entries[index];
|
|
19263
|
-
this.set(entry[0], entry[1]);
|
|
19264
|
-
}
|
|
19265
|
-
}
|
|
19266
|
-
MapCache.prototype.clear = mapCacheClear;
|
|
19267
|
-
MapCache.prototype["delete"] = mapCacheDelete;
|
|
19268
|
-
MapCache.prototype.get = mapCacheGet;
|
|
19269
|
-
MapCache.prototype.has = mapCacheHas;
|
|
19270
|
-
MapCache.prototype.set = mapCacheSet;
|
|
19271
|
-
module2.exports = MapCache;
|
|
19272
|
-
}
|
|
19273
|
-
});
|
|
19274
|
-
var require_stackSet = __commonJS2({
|
|
19275
|
-
"node_modules/lodash/_stackSet.js"(exports2, module2) {
|
|
19276
|
-
var ListCache = require_ListCache();
|
|
19277
|
-
var Map2 = require_Map();
|
|
19278
|
-
var MapCache = require_MapCache();
|
|
19279
|
-
var LARGE_ARRAY_SIZE = 200;
|
|
19280
|
-
function stackSet(key, value) {
|
|
19281
|
-
var data = this.__data__;
|
|
19282
|
-
if (data instanceof ListCache) {
|
|
19283
|
-
var pairs = data.__data__;
|
|
19284
|
-
if (!Map2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
|
|
19285
|
-
pairs.push([key, value]);
|
|
19286
|
-
this.size = ++data.size;
|
|
19287
|
-
return this;
|
|
19288
|
-
}
|
|
19289
|
-
data = this.__data__ = new MapCache(pairs);
|
|
19290
|
-
}
|
|
19291
|
-
data.set(key, value);
|
|
19292
|
-
this.size = data.size;
|
|
19293
|
-
return this;
|
|
19294
|
-
}
|
|
19295
|
-
module2.exports = stackSet;
|
|
19296
|
-
}
|
|
19297
|
-
});
|
|
19298
|
-
var require_Stack = __commonJS2({
|
|
19299
|
-
"node_modules/lodash/_Stack.js"(exports2, module2) {
|
|
19300
|
-
var ListCache = require_ListCache();
|
|
19301
|
-
var stackClear = require_stackClear();
|
|
19302
|
-
var stackDelete = require_stackDelete();
|
|
19303
|
-
var stackGet = require_stackGet();
|
|
19304
|
-
var stackHas = require_stackHas();
|
|
19305
|
-
var stackSet = require_stackSet();
|
|
19306
|
-
function Stack(entries) {
|
|
19307
|
-
var data = this.__data__ = new ListCache(entries);
|
|
19308
|
-
this.size = data.size;
|
|
19309
|
-
}
|
|
19310
|
-
Stack.prototype.clear = stackClear;
|
|
19311
|
-
Stack.prototype["delete"] = stackDelete;
|
|
19312
|
-
Stack.prototype.get = stackGet;
|
|
19313
|
-
Stack.prototype.has = stackHas;
|
|
19314
|
-
Stack.prototype.set = stackSet;
|
|
19315
|
-
module2.exports = Stack;
|
|
19316
|
-
}
|
|
19317
|
-
});
|
|
19318
|
-
var require_setCacheAdd = __commonJS2({
|
|
19319
|
-
"node_modules/lodash/_setCacheAdd.js"(exports2, module2) {
|
|
19320
|
-
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
19321
|
-
function setCacheAdd(value) {
|
|
19322
|
-
this.__data__.set(value, HASH_UNDEFINED);
|
|
19323
|
-
return this;
|
|
19324
|
-
}
|
|
19325
|
-
module2.exports = setCacheAdd;
|
|
19326
|
-
}
|
|
19327
|
-
});
|
|
19328
|
-
var require_setCacheHas = __commonJS2({
|
|
19329
|
-
"node_modules/lodash/_setCacheHas.js"(exports2, module2) {
|
|
19330
|
-
function setCacheHas(value) {
|
|
19331
|
-
return this.__data__.has(value);
|
|
19332
|
-
}
|
|
19333
|
-
module2.exports = setCacheHas;
|
|
19334
|
-
}
|
|
19335
|
-
});
|
|
19336
|
-
var require_SetCache = __commonJS2({
|
|
19337
|
-
"node_modules/lodash/_SetCache.js"(exports2, module2) {
|
|
19338
|
-
var MapCache = require_MapCache();
|
|
19339
|
-
var setCacheAdd = require_setCacheAdd();
|
|
19340
|
-
var setCacheHas = require_setCacheHas();
|
|
19341
|
-
function SetCache(values) {
|
|
19342
|
-
var index = -1, length = values == null ? 0 : values.length;
|
|
19343
|
-
this.__data__ = new MapCache();
|
|
19344
|
-
while (++index < length) {
|
|
19345
|
-
this.add(values[index]);
|
|
19346
|
-
}
|
|
19347
|
-
}
|
|
19348
|
-
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
|
19349
|
-
SetCache.prototype.has = setCacheHas;
|
|
19350
|
-
module2.exports = SetCache;
|
|
19351
|
-
}
|
|
19352
|
-
});
|
|
19353
|
-
var require_arraySome = __commonJS2({
|
|
19354
|
-
"node_modules/lodash/_arraySome.js"(exports2, module2) {
|
|
19355
|
-
function arraySome(array, predicate) {
|
|
19356
|
-
var index = -1, length = array == null ? 0 : array.length;
|
|
19357
|
-
while (++index < length) {
|
|
19358
|
-
if (predicate(array[index], index, array)) {
|
|
19359
|
-
return true;
|
|
19360
|
-
}
|
|
19361
|
-
}
|
|
19362
|
-
return false;
|
|
19363
|
-
}
|
|
19364
|
-
module2.exports = arraySome;
|
|
19365
|
-
}
|
|
19366
|
-
});
|
|
19367
|
-
var require_cacheHas = __commonJS2({
|
|
19368
|
-
"node_modules/lodash/_cacheHas.js"(exports2, module2) {
|
|
19369
|
-
function cacheHas(cache, key) {
|
|
19370
|
-
return cache.has(key);
|
|
19371
|
-
}
|
|
19372
|
-
module2.exports = cacheHas;
|
|
19373
|
-
}
|
|
19374
|
-
});
|
|
19375
|
-
var require_equalArrays = __commonJS2({
|
|
19376
|
-
"node_modules/lodash/_equalArrays.js"(exports2, module2) {
|
|
19377
|
-
var SetCache = require_SetCache();
|
|
19378
|
-
var arraySome = require_arraySome();
|
|
19379
|
-
var cacheHas = require_cacheHas();
|
|
19380
|
-
var COMPARE_PARTIAL_FLAG = 1;
|
|
19381
|
-
var COMPARE_UNORDERED_FLAG = 2;
|
|
19382
|
-
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
|
19383
|
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG, arrLength = array.length, othLength = other.length;
|
|
19384
|
-
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
|
19385
|
-
return false;
|
|
19386
|
-
}
|
|
19387
|
-
var arrStacked = stack.get(array);
|
|
19388
|
-
var othStacked = stack.get(other);
|
|
19389
|
-
if (arrStacked && othStacked) {
|
|
19390
|
-
return arrStacked == other && othStacked == array;
|
|
19391
|
-
}
|
|
19392
|
-
var index = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : void 0;
|
|
19393
|
-
stack.set(array, other);
|
|
19394
|
-
stack.set(other, array);
|
|
19395
|
-
while (++index < arrLength) {
|
|
19396
|
-
var arrValue = array[index], othValue = other[index];
|
|
19397
|
-
if (customizer) {
|
|
19398
|
-
var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);
|
|
19399
|
-
}
|
|
19400
|
-
if (compared !== void 0) {
|
|
19401
|
-
if (compared) {
|
|
19402
|
-
continue;
|
|
19403
|
-
}
|
|
19404
|
-
result = false;
|
|
19405
|
-
break;
|
|
19406
|
-
}
|
|
19407
|
-
if (seen) {
|
|
19408
|
-
if (!arraySome(other, function(othValue2, othIndex) {
|
|
19409
|
-
if (!cacheHas(seen, othIndex) && (arrValue === othValue2 || equalFunc(arrValue, othValue2, bitmask, customizer, stack))) {
|
|
19410
|
-
return seen.push(othIndex);
|
|
19411
|
-
}
|
|
19412
|
-
})) {
|
|
19413
|
-
result = false;
|
|
19414
|
-
break;
|
|
19415
|
-
}
|
|
19416
|
-
} else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
|
|
19417
|
-
result = false;
|
|
19418
|
-
break;
|
|
19419
|
-
}
|
|
19420
|
-
}
|
|
19421
|
-
stack["delete"](array);
|
|
19422
|
-
stack["delete"](other);
|
|
19423
|
-
return result;
|
|
19424
|
-
}
|
|
19425
|
-
module2.exports = equalArrays;
|
|
19426
|
-
}
|
|
19427
|
-
});
|
|
19428
|
-
var require_Uint8Array = __commonJS2({
|
|
19429
|
-
"node_modules/lodash/_Uint8Array.js"(exports2, module2) {
|
|
19430
|
-
var root = require_root();
|
|
19431
|
-
var Uint8Array2 = root.Uint8Array;
|
|
19432
|
-
module2.exports = Uint8Array2;
|
|
19433
|
-
}
|
|
19434
|
-
});
|
|
19435
|
-
var require_mapToArray = __commonJS2({
|
|
19436
|
-
"node_modules/lodash/_mapToArray.js"(exports2, module2) {
|
|
19437
|
-
function mapToArray(map) {
|
|
19438
|
-
var index = -1, result = Array(map.size);
|
|
19439
|
-
map.forEach(function(value, key) {
|
|
19440
|
-
result[++index] = [key, value];
|
|
19441
|
-
});
|
|
19442
|
-
return result;
|
|
19443
|
-
}
|
|
19444
|
-
module2.exports = mapToArray;
|
|
19445
|
-
}
|
|
19446
|
-
});
|
|
19447
|
-
var require_setToArray = __commonJS2({
|
|
19448
|
-
"node_modules/lodash/_setToArray.js"(exports2, module2) {
|
|
19449
|
-
function setToArray(set) {
|
|
19450
|
-
var index = -1, result = Array(set.size);
|
|
19451
|
-
set.forEach(function(value) {
|
|
19452
|
-
result[++index] = value;
|
|
19453
|
-
});
|
|
19454
|
-
return result;
|
|
19455
|
-
}
|
|
19456
|
-
module2.exports = setToArray;
|
|
19457
|
-
}
|
|
19458
|
-
});
|
|
19459
|
-
var require_equalByTag = __commonJS2({
|
|
19460
|
-
"node_modules/lodash/_equalByTag.js"(exports2, module2) {
|
|
19461
|
-
var Symbol2 = require_Symbol();
|
|
19462
|
-
var Uint8Array2 = require_Uint8Array();
|
|
19463
|
-
var eq = require_eq();
|
|
19464
|
-
var equalArrays = require_equalArrays();
|
|
19465
|
-
var mapToArray = require_mapToArray();
|
|
19466
|
-
var setToArray = require_setToArray();
|
|
19467
|
-
var COMPARE_PARTIAL_FLAG = 1;
|
|
19468
|
-
var COMPARE_UNORDERED_FLAG = 2;
|
|
19469
|
-
var boolTag = "[object Boolean]";
|
|
19470
|
-
var dateTag = "[object Date]";
|
|
19471
|
-
var errorTag = "[object Error]";
|
|
19472
|
-
var mapTag = "[object Map]";
|
|
19473
|
-
var numberTag = "[object Number]";
|
|
19474
|
-
var regexpTag = "[object RegExp]";
|
|
19475
|
-
var setTag = "[object Set]";
|
|
19476
|
-
var stringTag = "[object String]";
|
|
19477
|
-
var symbolTag = "[object Symbol]";
|
|
19478
|
-
var arrayBufferTag = "[object ArrayBuffer]";
|
|
19479
|
-
var dataViewTag = "[object DataView]";
|
|
19480
|
-
var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
|
|
19481
|
-
var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
|
19482
|
-
function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
|
19483
|
-
switch (tag) {
|
|
19484
|
-
case dataViewTag:
|
|
19485
|
-
if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {
|
|
19486
|
-
return false;
|
|
19487
|
-
}
|
|
19488
|
-
object = object.buffer;
|
|
19489
|
-
other = other.buffer;
|
|
19490
|
-
case arrayBufferTag:
|
|
19491
|
-
if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array2(object), new Uint8Array2(other))) {
|
|
19492
|
-
return false;
|
|
19493
|
-
}
|
|
19494
|
-
return true;
|
|
19495
|
-
case boolTag:
|
|
19496
|
-
case dateTag:
|
|
19497
|
-
case numberTag:
|
|
19498
|
-
return eq(+object, +other);
|
|
19499
|
-
case errorTag:
|
|
19500
|
-
return object.name == other.name && object.message == other.message;
|
|
19501
|
-
case regexpTag:
|
|
19502
|
-
case stringTag:
|
|
19503
|
-
return object == other + "";
|
|
19504
|
-
case mapTag:
|
|
19505
|
-
var convert = mapToArray;
|
|
19506
|
-
case setTag:
|
|
19507
|
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
|
|
19508
|
-
convert || (convert = setToArray);
|
|
19509
|
-
if (object.size != other.size && !isPartial) {
|
|
19510
|
-
return false;
|
|
19511
|
-
}
|
|
19512
|
-
var stacked = stack.get(object);
|
|
19513
|
-
if (stacked) {
|
|
19514
|
-
return stacked == other;
|
|
19515
|
-
}
|
|
19516
|
-
bitmask |= COMPARE_UNORDERED_FLAG;
|
|
19517
|
-
stack.set(object, other);
|
|
19518
|
-
var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
|
|
19519
|
-
stack["delete"](object);
|
|
19520
|
-
return result;
|
|
19521
|
-
case symbolTag:
|
|
19522
|
-
if (symbolValueOf) {
|
|
19523
|
-
return symbolValueOf.call(object) == symbolValueOf.call(other);
|
|
19524
|
-
}
|
|
19525
|
-
}
|
|
19526
|
-
return false;
|
|
19527
|
-
}
|
|
19528
|
-
module2.exports = equalByTag;
|
|
19529
|
-
}
|
|
19530
|
-
});
|
|
19531
|
-
var require_arrayPush = __commonJS2({
|
|
19532
|
-
"node_modules/lodash/_arrayPush.js"(exports2, module2) {
|
|
19533
|
-
function arrayPush(array, values) {
|
|
19534
|
-
var index = -1, length = values.length, offset = array.length;
|
|
19535
|
-
while (++index < length) {
|
|
19536
|
-
array[offset + index] = values[index];
|
|
19537
|
-
}
|
|
19538
|
-
return array;
|
|
19539
|
-
}
|
|
19540
|
-
module2.exports = arrayPush;
|
|
19541
|
-
}
|
|
19542
|
-
});
|
|
19543
|
-
var require_isArray = __commonJS2({
|
|
19544
|
-
"node_modules/lodash/isArray.js"(exports2, module2) {
|
|
19545
|
-
var isArray = Array.isArray;
|
|
19546
|
-
module2.exports = isArray;
|
|
19547
|
-
}
|
|
19548
|
-
});
|
|
19549
|
-
var require_baseGetAllKeys = __commonJS2({
|
|
19550
|
-
"node_modules/lodash/_baseGetAllKeys.js"(exports2, module2) {
|
|
19551
|
-
var arrayPush = require_arrayPush();
|
|
19552
|
-
var isArray = require_isArray();
|
|
19553
|
-
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
|
19554
|
-
var result = keysFunc(object);
|
|
19555
|
-
return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
19556
|
-
}
|
|
19557
|
-
module2.exports = baseGetAllKeys;
|
|
19558
|
-
}
|
|
19559
|
-
});
|
|
19560
|
-
var require_arrayFilter = __commonJS2({
|
|
19561
|
-
"node_modules/lodash/_arrayFilter.js"(exports2, module2) {
|
|
19562
|
-
function arrayFilter(array, predicate) {
|
|
19563
|
-
var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
|
|
19564
|
-
while (++index < length) {
|
|
19565
|
-
var value = array[index];
|
|
19566
|
-
if (predicate(value, index, array)) {
|
|
19567
|
-
result[resIndex++] = value;
|
|
19568
|
-
}
|
|
19569
|
-
}
|
|
19570
|
-
return result;
|
|
19571
|
-
}
|
|
19572
|
-
module2.exports = arrayFilter;
|
|
19573
|
-
}
|
|
19574
|
-
});
|
|
19575
|
-
var require_stubArray = __commonJS2({
|
|
19576
|
-
"node_modules/lodash/stubArray.js"(exports2, module2) {
|
|
19577
|
-
function stubArray() {
|
|
19578
|
-
return [];
|
|
19579
|
-
}
|
|
19580
|
-
module2.exports = stubArray;
|
|
19581
|
-
}
|
|
19582
|
-
});
|
|
19583
|
-
var require_getSymbols = __commonJS2({
|
|
19584
|
-
"node_modules/lodash/_getSymbols.js"(exports2, module2) {
|
|
19585
|
-
var arrayFilter = require_arrayFilter();
|
|
19586
|
-
var stubArray = require_stubArray();
|
|
19587
|
-
var objectProto = Object.prototype;
|
|
19588
|
-
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
19589
|
-
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
19590
|
-
var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
|
|
19591
|
-
if (object == null) {
|
|
19592
|
-
return [];
|
|
19593
|
-
}
|
|
19594
|
-
object = Object(object);
|
|
19595
|
-
return arrayFilter(nativeGetSymbols(object), function(symbol) {
|
|
19596
|
-
return propertyIsEnumerable.call(object, symbol);
|
|
19597
|
-
});
|
|
19598
|
-
};
|
|
19599
|
-
module2.exports = getSymbols;
|
|
19600
|
-
}
|
|
19601
|
-
});
|
|
19602
|
-
var require_baseTimes = __commonJS2({
|
|
19603
|
-
"node_modules/lodash/_baseTimes.js"(exports2, module2) {
|
|
19604
|
-
function baseTimes(n, iteratee) {
|
|
19605
|
-
var index = -1, result = Array(n);
|
|
19606
|
-
while (++index < n) {
|
|
19607
|
-
result[index] = iteratee(index);
|
|
19608
|
-
}
|
|
19609
|
-
return result;
|
|
19610
|
-
}
|
|
19611
|
-
module2.exports = baseTimes;
|
|
19612
|
-
}
|
|
19613
|
-
});
|
|
19614
|
-
var require_isObjectLike = __commonJS2({
|
|
19615
|
-
"node_modules/lodash/isObjectLike.js"(exports2, module2) {
|
|
19616
|
-
function isObjectLike(value) {
|
|
19617
|
-
return value != null && typeof value == "object";
|
|
19618
|
-
}
|
|
19619
|
-
module2.exports = isObjectLike;
|
|
19620
|
-
}
|
|
19621
|
-
});
|
|
19622
|
-
var require_baseIsArguments = __commonJS2({
|
|
19623
|
-
"node_modules/lodash/_baseIsArguments.js"(exports2, module2) {
|
|
19624
|
-
var baseGetTag = require_baseGetTag();
|
|
19625
|
-
var isObjectLike = require_isObjectLike();
|
|
19626
|
-
var argsTag = "[object Arguments]";
|
|
19627
|
-
function baseIsArguments(value) {
|
|
19628
|
-
return isObjectLike(value) && baseGetTag(value) == argsTag;
|
|
19629
|
-
}
|
|
19630
|
-
module2.exports = baseIsArguments;
|
|
19631
|
-
}
|
|
19632
|
-
});
|
|
19633
|
-
var require_isArguments = __commonJS2({
|
|
19634
|
-
"node_modules/lodash/isArguments.js"(exports2, module2) {
|
|
19635
|
-
var baseIsArguments = require_baseIsArguments();
|
|
19636
|
-
var isObjectLike = require_isObjectLike();
|
|
19637
|
-
var objectProto = Object.prototype;
|
|
19638
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
19639
|
-
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
19640
|
-
var isArguments = baseIsArguments(function() {
|
|
19641
|
-
return arguments;
|
|
19642
|
-
}()) ? baseIsArguments : function(value) {
|
|
19643
|
-
return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
|
19644
|
-
};
|
|
19645
|
-
module2.exports = isArguments;
|
|
19646
|
-
}
|
|
19647
|
-
});
|
|
19648
|
-
var require_stubFalse = __commonJS2({
|
|
19649
|
-
"node_modules/lodash/stubFalse.js"(exports2, module2) {
|
|
19650
|
-
function stubFalse() {
|
|
19651
|
-
return false;
|
|
19652
|
-
}
|
|
19653
|
-
module2.exports = stubFalse;
|
|
19654
|
-
}
|
|
19655
|
-
});
|
|
19656
|
-
var require_isBuffer = __commonJS2({
|
|
19657
|
-
"node_modules/lodash/isBuffer.js"(exports2, module2) {
|
|
19658
|
-
var root = require_root();
|
|
19659
|
-
var stubFalse = require_stubFalse();
|
|
19660
|
-
var freeExports = typeof exports2 == "object" && exports2 && !exports2.nodeType && exports2;
|
|
19661
|
-
var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
|
|
19662
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
19663
|
-
var Buffer2 = moduleExports ? root.Buffer : void 0;
|
|
19664
|
-
var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0;
|
|
19665
|
-
var isBuffer = nativeIsBuffer || stubFalse;
|
|
19666
|
-
module2.exports = isBuffer;
|
|
19667
|
-
}
|
|
19668
|
-
});
|
|
19669
|
-
var require_isIndex = __commonJS2({
|
|
19670
|
-
"node_modules/lodash/_isIndex.js"(exports2, module2) {
|
|
19671
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
19672
|
-
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
19673
|
-
function isIndex(value, length) {
|
|
19674
|
-
var type = typeof value;
|
|
19675
|
-
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
19676
|
-
return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
|
|
19677
|
-
}
|
|
19678
|
-
module2.exports = isIndex;
|
|
19679
|
-
}
|
|
19680
|
-
});
|
|
19681
|
-
var require_isLength = __commonJS2({
|
|
19682
|
-
"node_modules/lodash/isLength.js"(exports2, module2) {
|
|
19683
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
19684
|
-
function isLength(value) {
|
|
19685
|
-
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
19686
|
-
}
|
|
19687
|
-
module2.exports = isLength;
|
|
19688
|
-
}
|
|
19689
|
-
});
|
|
19690
|
-
var require_baseIsTypedArray = __commonJS2({
|
|
19691
|
-
"node_modules/lodash/_baseIsTypedArray.js"(exports2, module2) {
|
|
19692
|
-
var baseGetTag = require_baseGetTag();
|
|
19693
|
-
var isLength = require_isLength();
|
|
19694
|
-
var isObjectLike = require_isObjectLike();
|
|
19695
|
-
var argsTag = "[object Arguments]";
|
|
19696
|
-
var arrayTag = "[object Array]";
|
|
19697
|
-
var boolTag = "[object Boolean]";
|
|
19698
|
-
var dateTag = "[object Date]";
|
|
19699
|
-
var errorTag = "[object Error]";
|
|
19700
|
-
var funcTag = "[object Function]";
|
|
19701
|
-
var mapTag = "[object Map]";
|
|
19702
|
-
var numberTag = "[object Number]";
|
|
19703
|
-
var objectTag = "[object Object]";
|
|
19704
|
-
var regexpTag = "[object RegExp]";
|
|
19705
|
-
var setTag = "[object Set]";
|
|
19706
|
-
var stringTag = "[object String]";
|
|
19707
|
-
var weakMapTag = "[object WeakMap]";
|
|
19708
|
-
var arrayBufferTag = "[object ArrayBuffer]";
|
|
19709
|
-
var dataViewTag = "[object DataView]";
|
|
19710
|
-
var float32Tag = "[object Float32Array]";
|
|
19711
|
-
var float64Tag = "[object Float64Array]";
|
|
19712
|
-
var int8Tag = "[object Int8Array]";
|
|
19713
|
-
var int16Tag = "[object Int16Array]";
|
|
19714
|
-
var int32Tag = "[object Int32Array]";
|
|
19715
|
-
var uint8Tag = "[object Uint8Array]";
|
|
19716
|
-
var uint8ClampedTag = "[object Uint8ClampedArray]";
|
|
19717
|
-
var uint16Tag = "[object Uint16Array]";
|
|
19718
|
-
var uint32Tag = "[object Uint32Array]";
|
|
19719
|
-
var typedArrayTags = {};
|
|
19720
|
-
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
|
|
19721
|
-
typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
|
|
19722
|
-
function baseIsTypedArray(value) {
|
|
19723
|
-
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
19724
|
-
}
|
|
19725
|
-
module2.exports = baseIsTypedArray;
|
|
19726
|
-
}
|
|
19727
|
-
});
|
|
19728
|
-
var require_baseUnary = __commonJS2({
|
|
19729
|
-
"node_modules/lodash/_baseUnary.js"(exports2, module2) {
|
|
19730
|
-
function baseUnary(func) {
|
|
19731
|
-
return function(value) {
|
|
19732
|
-
return func(value);
|
|
19733
|
-
};
|
|
19734
|
-
}
|
|
19735
|
-
module2.exports = baseUnary;
|
|
19736
|
-
}
|
|
19737
|
-
});
|
|
19738
|
-
var require_nodeUtil = __commonJS2({
|
|
19739
|
-
"node_modules/lodash/_nodeUtil.js"(exports2, module2) {
|
|
19740
|
-
var freeGlobal = require_freeGlobal();
|
|
19741
|
-
var freeExports = typeof exports2 == "object" && exports2 && !exports2.nodeType && exports2;
|
|
19742
|
-
var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
|
|
19743
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
19744
|
-
var freeProcess = moduleExports && freeGlobal.process;
|
|
19745
|
-
var nodeUtil = function() {
|
|
19746
|
-
try {
|
|
19747
|
-
var types = freeModule && freeModule.require && freeModule.require("util").types;
|
|
19748
|
-
if (types) {
|
|
19749
|
-
return types;
|
|
19750
|
-
}
|
|
19751
|
-
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
|
19752
|
-
} catch (e) {
|
|
19753
|
-
}
|
|
19754
|
-
}();
|
|
19755
|
-
module2.exports = nodeUtil;
|
|
19756
|
-
}
|
|
19757
|
-
});
|
|
19758
|
-
var require_isTypedArray = __commonJS2({
|
|
19759
|
-
"node_modules/lodash/isTypedArray.js"(exports2, module2) {
|
|
19760
|
-
var baseIsTypedArray = require_baseIsTypedArray();
|
|
19761
|
-
var baseUnary = require_baseUnary();
|
|
19762
|
-
var nodeUtil = require_nodeUtil();
|
|
19763
|
-
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
19764
|
-
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
19765
|
-
module2.exports = isTypedArray;
|
|
19766
|
-
}
|
|
19767
|
-
});
|
|
19768
|
-
var require_arrayLikeKeys = __commonJS2({
|
|
19769
|
-
"node_modules/lodash/_arrayLikeKeys.js"(exports2, module2) {
|
|
19770
|
-
var baseTimes = require_baseTimes();
|
|
19771
|
-
var isArguments = require_isArguments();
|
|
19772
|
-
var isArray = require_isArray();
|
|
19773
|
-
var isBuffer = require_isBuffer();
|
|
19774
|
-
var isIndex = require_isIndex();
|
|
19775
|
-
var isTypedArray = require_isTypedArray();
|
|
19776
|
-
var objectProto = Object.prototype;
|
|
19777
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
19778
|
-
function arrayLikeKeys(value, inherited) {
|
|
19779
|
-
var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
|
|
19780
|
-
for (var key in value) {
|
|
19781
|
-
if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) {
|
|
19782
|
-
result.push(key);
|
|
19783
|
-
}
|
|
19784
|
-
}
|
|
19785
|
-
return result;
|
|
19786
|
-
}
|
|
19787
|
-
module2.exports = arrayLikeKeys;
|
|
19788
|
-
}
|
|
19789
|
-
});
|
|
19790
|
-
var require_isPrototype = __commonJS2({
|
|
19791
|
-
"node_modules/lodash/_isPrototype.js"(exports2, module2) {
|
|
19792
|
-
var objectProto = Object.prototype;
|
|
19793
|
-
function isPrototype(value) {
|
|
19794
|
-
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
|
|
19795
|
-
return value === proto;
|
|
19796
|
-
}
|
|
19797
|
-
module2.exports = isPrototype;
|
|
19798
|
-
}
|
|
19799
|
-
});
|
|
19800
|
-
var require_overArg = __commonJS2({
|
|
19801
|
-
"node_modules/lodash/_overArg.js"(exports2, module2) {
|
|
19802
|
-
function overArg(func, transform) {
|
|
19803
|
-
return function(arg) {
|
|
19804
|
-
return func(transform(arg));
|
|
19805
|
-
};
|
|
19806
|
-
}
|
|
19807
|
-
module2.exports = overArg;
|
|
19808
|
-
}
|
|
19809
|
-
});
|
|
19810
|
-
var require_nativeKeys = __commonJS2({
|
|
19811
|
-
"node_modules/lodash/_nativeKeys.js"(exports2, module2) {
|
|
19812
|
-
var overArg = require_overArg();
|
|
19813
|
-
var nativeKeys = overArg(Object.keys, Object);
|
|
19814
|
-
module2.exports = nativeKeys;
|
|
19815
|
-
}
|
|
19816
|
-
});
|
|
19817
|
-
var require_baseKeys = __commonJS2({
|
|
19818
|
-
"node_modules/lodash/_baseKeys.js"(exports2, module2) {
|
|
19819
|
-
var isPrototype = require_isPrototype();
|
|
19820
|
-
var nativeKeys = require_nativeKeys();
|
|
19821
|
-
var objectProto = Object.prototype;
|
|
19822
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
19823
|
-
function baseKeys(object) {
|
|
19824
|
-
if (!isPrototype(object)) {
|
|
19825
|
-
return nativeKeys(object);
|
|
19826
|
-
}
|
|
19827
|
-
var result = [];
|
|
19828
|
-
for (var key in Object(object)) {
|
|
19829
|
-
if (hasOwnProperty.call(object, key) && key != "constructor") {
|
|
19830
|
-
result.push(key);
|
|
19831
|
-
}
|
|
19832
|
-
}
|
|
19833
|
-
return result;
|
|
19834
|
-
}
|
|
19835
|
-
module2.exports = baseKeys;
|
|
19836
|
-
}
|
|
19837
|
-
});
|
|
19838
|
-
var require_isArrayLike = __commonJS2({
|
|
19839
|
-
"node_modules/lodash/isArrayLike.js"(exports2, module2) {
|
|
19840
|
-
var isFunction = require_isFunction();
|
|
19841
|
-
var isLength = require_isLength();
|
|
19842
|
-
function isArrayLike(value) {
|
|
19843
|
-
return value != null && isLength(value.length) && !isFunction(value);
|
|
19844
|
-
}
|
|
19845
|
-
module2.exports = isArrayLike;
|
|
19846
|
-
}
|
|
19847
|
-
});
|
|
19848
|
-
var require_keys = __commonJS2({
|
|
19849
|
-
"node_modules/lodash/keys.js"(exports2, module2) {
|
|
19850
|
-
var arrayLikeKeys = require_arrayLikeKeys();
|
|
19851
|
-
var baseKeys = require_baseKeys();
|
|
19852
|
-
var isArrayLike = require_isArrayLike();
|
|
19853
|
-
function keys(object) {
|
|
19854
|
-
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
19855
|
-
}
|
|
19856
|
-
module2.exports = keys;
|
|
19857
|
-
}
|
|
19858
|
-
});
|
|
19859
|
-
var require_getAllKeys = __commonJS2({
|
|
19860
|
-
"node_modules/lodash/_getAllKeys.js"(exports2, module2) {
|
|
19861
|
-
var baseGetAllKeys = require_baseGetAllKeys();
|
|
19862
|
-
var getSymbols = require_getSymbols();
|
|
19863
|
-
var keys = require_keys();
|
|
19864
|
-
function getAllKeys(object) {
|
|
19865
|
-
return baseGetAllKeys(object, keys, getSymbols);
|
|
19866
|
-
}
|
|
19867
|
-
module2.exports = getAllKeys;
|
|
19868
|
-
}
|
|
19869
|
-
});
|
|
19870
|
-
var require_equalObjects = __commonJS2({
|
|
19871
|
-
"node_modules/lodash/_equalObjects.js"(exports2, module2) {
|
|
19872
|
-
var getAllKeys = require_getAllKeys();
|
|
19873
|
-
var COMPARE_PARTIAL_FLAG = 1;
|
|
19874
|
-
var objectProto = Object.prototype;
|
|
19875
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
19876
|
-
function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
|
19877
|
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;
|
|
19878
|
-
if (objLength != othLength && !isPartial) {
|
|
19879
|
-
return false;
|
|
19880
|
-
}
|
|
19881
|
-
var index = objLength;
|
|
19882
|
-
while (index--) {
|
|
19883
|
-
var key = objProps[index];
|
|
19884
|
-
if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
|
|
19885
|
-
return false;
|
|
19886
|
-
}
|
|
19887
|
-
}
|
|
19888
|
-
var objStacked = stack.get(object);
|
|
19889
|
-
var othStacked = stack.get(other);
|
|
19890
|
-
if (objStacked && othStacked) {
|
|
19891
|
-
return objStacked == other && othStacked == object;
|
|
19892
|
-
}
|
|
19893
|
-
var result = true;
|
|
19894
|
-
stack.set(object, other);
|
|
19895
|
-
stack.set(other, object);
|
|
19896
|
-
var skipCtor = isPartial;
|
|
19897
|
-
while (++index < objLength) {
|
|
19898
|
-
key = objProps[index];
|
|
19899
|
-
var objValue = object[key], othValue = other[key];
|
|
19900
|
-
if (customizer) {
|
|
19901
|
-
var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);
|
|
19902
|
-
}
|
|
19903
|
-
if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {
|
|
19904
|
-
result = false;
|
|
19905
|
-
break;
|
|
19906
|
-
}
|
|
19907
|
-
skipCtor || (skipCtor = key == "constructor");
|
|
19908
|
-
}
|
|
19909
|
-
if (result && !skipCtor) {
|
|
19910
|
-
var objCtor = object.constructor, othCtor = other.constructor;
|
|
19911
|
-
if (objCtor != othCtor && "constructor" in object && "constructor" in other && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) {
|
|
19912
|
-
result = false;
|
|
19913
|
-
}
|
|
19914
|
-
}
|
|
19915
|
-
stack["delete"](object);
|
|
19916
|
-
stack["delete"](other);
|
|
19917
|
-
return result;
|
|
19918
|
-
}
|
|
19919
|
-
module2.exports = equalObjects;
|
|
19920
|
-
}
|
|
19921
|
-
});
|
|
19922
|
-
var require_DataView = __commonJS2({
|
|
19923
|
-
"node_modules/lodash/_DataView.js"(exports2, module2) {
|
|
19924
|
-
var getNative = require_getNative();
|
|
19925
|
-
var root = require_root();
|
|
19926
|
-
var DataView = getNative(root, "DataView");
|
|
19927
|
-
module2.exports = DataView;
|
|
19928
|
-
}
|
|
19929
|
-
});
|
|
19930
|
-
var require_Promise = __commonJS2({
|
|
19931
|
-
"node_modules/lodash/_Promise.js"(exports2, module2) {
|
|
19932
|
-
var getNative = require_getNative();
|
|
19933
|
-
var root = require_root();
|
|
19934
|
-
var Promise2 = getNative(root, "Promise");
|
|
19935
|
-
module2.exports = Promise2;
|
|
19936
|
-
}
|
|
19937
|
-
});
|
|
19938
|
-
var require_Set = __commonJS2({
|
|
19939
|
-
"node_modules/lodash/_Set.js"(exports2, module2) {
|
|
19940
|
-
var getNative = require_getNative();
|
|
19941
|
-
var root = require_root();
|
|
19942
|
-
var Set2 = getNative(root, "Set");
|
|
19943
|
-
module2.exports = Set2;
|
|
19944
|
-
}
|
|
19945
|
-
});
|
|
19946
|
-
var require_WeakMap = __commonJS2({
|
|
19947
|
-
"node_modules/lodash/_WeakMap.js"(exports2, module2) {
|
|
19948
|
-
var getNative = require_getNative();
|
|
19949
|
-
var root = require_root();
|
|
19950
|
-
var WeakMap2 = getNative(root, "WeakMap");
|
|
19951
|
-
module2.exports = WeakMap2;
|
|
19952
|
-
}
|
|
19953
|
-
});
|
|
19954
|
-
var require_getTag = __commonJS2({
|
|
19955
|
-
"node_modules/lodash/_getTag.js"(exports2, module2) {
|
|
19956
|
-
var DataView = require_DataView();
|
|
19957
|
-
var Map2 = require_Map();
|
|
19958
|
-
var Promise2 = require_Promise();
|
|
19959
|
-
var Set2 = require_Set();
|
|
19960
|
-
var WeakMap2 = require_WeakMap();
|
|
19961
|
-
var baseGetTag = require_baseGetTag();
|
|
19962
|
-
var toSource = require_toSource();
|
|
19963
|
-
var mapTag = "[object Map]";
|
|
19964
|
-
var objectTag = "[object Object]";
|
|
19965
|
-
var promiseTag = "[object Promise]";
|
|
19966
|
-
var setTag = "[object Set]";
|
|
19967
|
-
var weakMapTag = "[object WeakMap]";
|
|
19968
|
-
var dataViewTag = "[object DataView]";
|
|
19969
|
-
var dataViewCtorString = toSource(DataView);
|
|
19970
|
-
var mapCtorString = toSource(Map2);
|
|
19971
|
-
var promiseCtorString = toSource(Promise2);
|
|
19972
|
-
var setCtorString = toSource(Set2);
|
|
19973
|
-
var weakMapCtorString = toSource(WeakMap2);
|
|
19974
|
-
var getTag = baseGetTag;
|
|
19975
|
-
if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map2 && getTag(new Map2()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set2 && getTag(new Set2()) != setTag || WeakMap2 && getTag(new WeakMap2()) != weakMapTag) {
|
|
19976
|
-
getTag = function(value) {
|
|
19977
|
-
var result = baseGetTag(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
|
|
19978
|
-
if (ctorString) {
|
|
19979
|
-
switch (ctorString) {
|
|
19980
|
-
case dataViewCtorString:
|
|
19981
|
-
return dataViewTag;
|
|
19982
|
-
case mapCtorString:
|
|
19983
|
-
return mapTag;
|
|
19984
|
-
case promiseCtorString:
|
|
19985
|
-
return promiseTag;
|
|
19986
|
-
case setCtorString:
|
|
19987
|
-
return setTag;
|
|
19988
|
-
case weakMapCtorString:
|
|
19989
|
-
return weakMapTag;
|
|
19990
|
-
}
|
|
19991
|
-
}
|
|
19992
|
-
return result;
|
|
19993
|
-
};
|
|
19994
|
-
}
|
|
19995
|
-
module2.exports = getTag;
|
|
19996
|
-
}
|
|
19997
|
-
});
|
|
19998
|
-
var require_baseIsEqualDeep = __commonJS2({
|
|
19999
|
-
"node_modules/lodash/_baseIsEqualDeep.js"(exports2, module2) {
|
|
20000
|
-
var Stack = require_Stack();
|
|
20001
|
-
var equalArrays = require_equalArrays();
|
|
20002
|
-
var equalByTag = require_equalByTag();
|
|
20003
|
-
var equalObjects = require_equalObjects();
|
|
20004
|
-
var getTag = require_getTag();
|
|
20005
|
-
var isArray = require_isArray();
|
|
20006
|
-
var isBuffer = require_isBuffer();
|
|
20007
|
-
var isTypedArray = require_isTypedArray();
|
|
20008
|
-
var COMPARE_PARTIAL_FLAG = 1;
|
|
20009
|
-
var argsTag = "[object Arguments]";
|
|
20010
|
-
var arrayTag = "[object Array]";
|
|
20011
|
-
var objectTag = "[object Object]";
|
|
20012
|
-
var objectProto = Object.prototype;
|
|
20013
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
20014
|
-
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
20015
|
-
var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
|
|
20016
|
-
objTag = objTag == argsTag ? objectTag : objTag;
|
|
20017
|
-
othTag = othTag == argsTag ? objectTag : othTag;
|
|
20018
|
-
var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
|
|
20019
|
-
if (isSameTag && isBuffer(object)) {
|
|
20020
|
-
if (!isBuffer(other)) {
|
|
20021
|
-
return false;
|
|
20022
|
-
}
|
|
20023
|
-
objIsArr = true;
|
|
20024
|
-
objIsObj = false;
|
|
20025
|
-
}
|
|
20026
|
-
if (isSameTag && !objIsObj) {
|
|
20027
|
-
stack || (stack = new Stack());
|
|
20028
|
-
return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
20029
|
-
}
|
|
20030
|
-
if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
|
|
20031
|
-
var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__");
|
|
20032
|
-
if (objIsWrapped || othIsWrapped) {
|
|
20033
|
-
var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
|
|
20034
|
-
stack || (stack = new Stack());
|
|
20035
|
-
return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
|
|
20036
|
-
}
|
|
20037
|
-
}
|
|
20038
|
-
if (!isSameTag) {
|
|
20039
|
-
return false;
|
|
20040
|
-
}
|
|
20041
|
-
stack || (stack = new Stack());
|
|
20042
|
-
return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
|
|
20043
|
-
}
|
|
20044
|
-
module2.exports = baseIsEqualDeep;
|
|
20045
|
-
}
|
|
20046
|
-
});
|
|
20047
|
-
var require_baseIsEqual = __commonJS2({
|
|
20048
|
-
"node_modules/lodash/_baseIsEqual.js"(exports2, module2) {
|
|
20049
|
-
var baseIsEqualDeep = require_baseIsEqualDeep();
|
|
20050
|
-
var isObjectLike = require_isObjectLike();
|
|
20051
|
-
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
20052
|
-
if (value === other) {
|
|
20053
|
-
return true;
|
|
20054
|
-
}
|
|
20055
|
-
if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {
|
|
20056
|
-
return value !== value && other !== other;
|
|
20057
|
-
}
|
|
20058
|
-
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
|
20059
|
-
}
|
|
20060
|
-
module2.exports = baseIsEqual;
|
|
20061
|
-
}
|
|
20062
|
-
});
|
|
20063
|
-
var require_baseIsMatch = __commonJS2({
|
|
20064
|
-
"node_modules/lodash/_baseIsMatch.js"(exports2, module2) {
|
|
20065
|
-
var Stack = require_Stack();
|
|
20066
|
-
var baseIsEqual = require_baseIsEqual();
|
|
20067
|
-
var COMPARE_PARTIAL_FLAG = 1;
|
|
20068
|
-
var COMPARE_UNORDERED_FLAG = 2;
|
|
20069
|
-
function baseIsMatch(object, source, matchData, customizer) {
|
|
20070
|
-
var index = matchData.length, length = index, noCustomizer = !customizer;
|
|
20071
|
-
if (object == null) {
|
|
20072
|
-
return !length;
|
|
20073
|
-
}
|
|
20074
|
-
object = Object(object);
|
|
20075
|
-
while (index--) {
|
|
20076
|
-
var data = matchData[index];
|
|
20077
|
-
if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {
|
|
20078
|
-
return false;
|
|
20079
|
-
}
|
|
20080
|
-
}
|
|
20081
|
-
while (++index < length) {
|
|
20082
|
-
data = matchData[index];
|
|
20083
|
-
var key = data[0], objValue = object[key], srcValue = data[1];
|
|
20084
|
-
if (noCustomizer && data[2]) {
|
|
20085
|
-
if (objValue === void 0 && !(key in object)) {
|
|
20086
|
-
return false;
|
|
20087
|
-
}
|
|
20088
|
-
} else {
|
|
20089
|
-
var stack = new Stack();
|
|
20090
|
-
if (customizer) {
|
|
20091
|
-
var result = customizer(objValue, srcValue, key, object, source, stack);
|
|
20092
|
-
}
|
|
20093
|
-
if (!(result === void 0 ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) : result)) {
|
|
20094
|
-
return false;
|
|
20095
|
-
}
|
|
20096
|
-
}
|
|
20097
|
-
}
|
|
20098
|
-
return true;
|
|
20099
|
-
}
|
|
20100
|
-
module2.exports = baseIsMatch;
|
|
20101
|
-
}
|
|
20102
|
-
});
|
|
20103
|
-
var require_isStrictComparable = __commonJS2({
|
|
20104
|
-
"node_modules/lodash/_isStrictComparable.js"(exports2, module2) {
|
|
20105
|
-
var isObject = require_isObject();
|
|
20106
|
-
function isStrictComparable(value) {
|
|
20107
|
-
return value === value && !isObject(value);
|
|
20108
|
-
}
|
|
20109
|
-
module2.exports = isStrictComparable;
|
|
20110
|
-
}
|
|
20111
|
-
});
|
|
20112
|
-
var require_getMatchData = __commonJS2({
|
|
20113
|
-
"node_modules/lodash/_getMatchData.js"(exports2, module2) {
|
|
20114
|
-
var isStrictComparable = require_isStrictComparable();
|
|
20115
|
-
var keys = require_keys();
|
|
20116
|
-
function getMatchData(object) {
|
|
20117
|
-
var result = keys(object), length = result.length;
|
|
20118
|
-
while (length--) {
|
|
20119
|
-
var key = result[length], value = object[key];
|
|
20120
|
-
result[length] = [key, value, isStrictComparable(value)];
|
|
20121
|
-
}
|
|
20122
|
-
return result;
|
|
20123
|
-
}
|
|
20124
|
-
module2.exports = getMatchData;
|
|
20125
|
-
}
|
|
20126
|
-
});
|
|
20127
|
-
var require_matchesStrictComparable = __commonJS2({
|
|
20128
|
-
"node_modules/lodash/_matchesStrictComparable.js"(exports2, module2) {
|
|
20129
|
-
function matchesStrictComparable(key, srcValue) {
|
|
20130
|
-
return function(object) {
|
|
20131
|
-
if (object == null) {
|
|
20132
|
-
return false;
|
|
20133
|
-
}
|
|
20134
|
-
return object[key] === srcValue && (srcValue !== void 0 || key in Object(object));
|
|
20135
|
-
};
|
|
20136
|
-
}
|
|
20137
|
-
module2.exports = matchesStrictComparable;
|
|
20138
|
-
}
|
|
20139
|
-
});
|
|
20140
|
-
var require_baseMatches = __commonJS2({
|
|
20141
|
-
"node_modules/lodash/_baseMatches.js"(exports2, module2) {
|
|
20142
|
-
var baseIsMatch = require_baseIsMatch();
|
|
20143
|
-
var getMatchData = require_getMatchData();
|
|
20144
|
-
var matchesStrictComparable = require_matchesStrictComparable();
|
|
20145
|
-
function baseMatches(source) {
|
|
20146
|
-
var matchData = getMatchData(source);
|
|
20147
|
-
if (matchData.length == 1 && matchData[0][2]) {
|
|
20148
|
-
return matchesStrictComparable(matchData[0][0], matchData[0][1]);
|
|
20149
|
-
}
|
|
20150
|
-
return function(object) {
|
|
20151
|
-
return object === source || baseIsMatch(object, source, matchData);
|
|
20152
|
-
};
|
|
20153
|
-
}
|
|
20154
|
-
module2.exports = baseMatches;
|
|
20155
|
-
}
|
|
20156
|
-
});
|
|
20157
|
-
var require_isSymbol = __commonJS2({
|
|
20158
|
-
"node_modules/lodash/isSymbol.js"(exports2, module2) {
|
|
20159
|
-
var baseGetTag = require_baseGetTag();
|
|
20160
|
-
var isObjectLike = require_isObjectLike();
|
|
20161
|
-
var symbolTag = "[object Symbol]";
|
|
20162
|
-
function isSymbol(value) {
|
|
20163
|
-
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
|
|
20164
|
-
}
|
|
20165
|
-
module2.exports = isSymbol;
|
|
20166
|
-
}
|
|
20167
|
-
});
|
|
20168
|
-
var require_isKey = __commonJS2({
|
|
20169
|
-
"node_modules/lodash/_isKey.js"(exports2, module2) {
|
|
20170
|
-
var isArray = require_isArray();
|
|
20171
|
-
var isSymbol = require_isSymbol();
|
|
20172
|
-
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
|
|
20173
|
-
var reIsPlainProp = /^\w*$/;
|
|
20174
|
-
function isKey(value, object) {
|
|
20175
|
-
if (isArray(value)) {
|
|
20176
|
-
return false;
|
|
20177
|
-
}
|
|
20178
|
-
var type = typeof value;
|
|
20179
|
-
if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) {
|
|
20180
|
-
return true;
|
|
20181
|
-
}
|
|
20182
|
-
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
|
|
20183
|
-
}
|
|
20184
|
-
module2.exports = isKey;
|
|
20185
|
-
}
|
|
20186
|
-
});
|
|
20187
|
-
var require_memoize = __commonJS2({
|
|
20188
|
-
"node_modules/lodash/memoize.js"(exports2, module2) {
|
|
20189
|
-
var MapCache = require_MapCache();
|
|
20190
|
-
var FUNC_ERROR_TEXT = "Expected a function";
|
|
20191
|
-
function memoize(func, resolver) {
|
|
20192
|
-
if (typeof func != "function" || resolver != null && typeof resolver != "function") {
|
|
20193
|
-
throw new TypeError(FUNC_ERROR_TEXT);
|
|
20194
|
-
}
|
|
20195
|
-
var memoized = function() {
|
|
20196
|
-
var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
|
|
20197
|
-
if (cache.has(key)) {
|
|
20198
|
-
return cache.get(key);
|
|
20199
|
-
}
|
|
20200
|
-
var result = func.apply(this, args);
|
|
20201
|
-
memoized.cache = cache.set(key, result) || cache;
|
|
20202
|
-
return result;
|
|
20203
|
-
};
|
|
20204
|
-
memoized.cache = new (memoize.Cache || MapCache)();
|
|
20205
|
-
return memoized;
|
|
20206
|
-
}
|
|
20207
|
-
memoize.Cache = MapCache;
|
|
20208
|
-
module2.exports = memoize;
|
|
20209
|
-
}
|
|
20210
|
-
});
|
|
20211
|
-
var require_memoizeCapped = __commonJS2({
|
|
20212
|
-
"node_modules/lodash/_memoizeCapped.js"(exports2, module2) {
|
|
20213
|
-
var memoize = require_memoize();
|
|
20214
|
-
var MAX_MEMOIZE_SIZE = 500;
|
|
20215
|
-
function memoizeCapped(func) {
|
|
20216
|
-
var result = memoize(func, function(key) {
|
|
20217
|
-
if (cache.size === MAX_MEMOIZE_SIZE) {
|
|
20218
|
-
cache.clear();
|
|
20219
|
-
}
|
|
20220
|
-
return key;
|
|
20221
|
-
});
|
|
20222
|
-
var cache = result.cache;
|
|
20223
|
-
return result;
|
|
20224
|
-
}
|
|
20225
|
-
module2.exports = memoizeCapped;
|
|
20226
|
-
}
|
|
20227
|
-
});
|
|
20228
|
-
var require_stringToPath = __commonJS2({
|
|
20229
|
-
"node_modules/lodash/_stringToPath.js"(exports2, module2) {
|
|
20230
|
-
var memoizeCapped = require_memoizeCapped();
|
|
20231
|
-
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
20232
|
-
var reEscapeChar = /\\(\\)?/g;
|
|
20233
|
-
var stringToPath = memoizeCapped(function(string) {
|
|
20234
|
-
var result = [];
|
|
20235
|
-
if (string.charCodeAt(0) === 46) {
|
|
20236
|
-
result.push("");
|
|
20237
|
-
}
|
|
20238
|
-
string.replace(rePropName, function(match, number, quote, subString) {
|
|
20239
|
-
result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
|
|
20240
|
-
});
|
|
20241
|
-
return result;
|
|
20242
|
-
});
|
|
20243
|
-
module2.exports = stringToPath;
|
|
20244
|
-
}
|
|
20245
|
-
});
|
|
20246
|
-
var require_arrayMap = __commonJS2({
|
|
20247
|
-
"node_modules/lodash/_arrayMap.js"(exports2, module2) {
|
|
20248
|
-
function arrayMap(array, iteratee) {
|
|
20249
|
-
var index = -1, length = array == null ? 0 : array.length, result = Array(length);
|
|
20250
|
-
while (++index < length) {
|
|
20251
|
-
result[index] = iteratee(array[index], index, array);
|
|
20252
|
-
}
|
|
20253
|
-
return result;
|
|
20254
|
-
}
|
|
20255
|
-
module2.exports = arrayMap;
|
|
20256
|
-
}
|
|
20257
|
-
});
|
|
20258
|
-
var require_baseToString = __commonJS2({
|
|
20259
|
-
"node_modules/lodash/_baseToString.js"(exports2, module2) {
|
|
20260
|
-
var Symbol2 = require_Symbol();
|
|
20261
|
-
var arrayMap = require_arrayMap();
|
|
20262
|
-
var isArray = require_isArray();
|
|
20263
|
-
var isSymbol = require_isSymbol();
|
|
20264
|
-
var INFINITY = 1 / 0;
|
|
20265
|
-
var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
|
|
20266
|
-
var symbolToString = symbolProto ? symbolProto.toString : void 0;
|
|
20267
|
-
function baseToString(value) {
|
|
20268
|
-
if (typeof value == "string") {
|
|
20269
|
-
return value;
|
|
20270
|
-
}
|
|
20271
|
-
if (isArray(value)) {
|
|
20272
|
-
return arrayMap(value, baseToString) + "";
|
|
20273
|
-
}
|
|
20274
|
-
if (isSymbol(value)) {
|
|
20275
|
-
return symbolToString ? symbolToString.call(value) : "";
|
|
20276
|
-
}
|
|
20277
|
-
var result = value + "";
|
|
20278
|
-
return result == "0" && 1 / value == -INFINITY ? "-0" : result;
|
|
20279
|
-
}
|
|
20280
|
-
module2.exports = baseToString;
|
|
20281
|
-
}
|
|
20282
|
-
});
|
|
20283
|
-
var require_toString = __commonJS2({
|
|
20284
|
-
"node_modules/lodash/toString.js"(exports2, module2) {
|
|
20285
|
-
var baseToString = require_baseToString();
|
|
20286
|
-
function toString(value) {
|
|
20287
|
-
return value == null ? "" : baseToString(value);
|
|
20288
|
-
}
|
|
20289
|
-
module2.exports = toString;
|
|
20290
|
-
}
|
|
20291
|
-
});
|
|
20292
|
-
var require_castPath = __commonJS2({
|
|
20293
|
-
"node_modules/lodash/_castPath.js"(exports2, module2) {
|
|
20294
|
-
var isArray = require_isArray();
|
|
20295
|
-
var isKey = require_isKey();
|
|
20296
|
-
var stringToPath = require_stringToPath();
|
|
20297
|
-
var toString = require_toString();
|
|
20298
|
-
function castPath(value, object) {
|
|
20299
|
-
if (isArray(value)) {
|
|
20300
|
-
return value;
|
|
20301
|
-
}
|
|
20302
|
-
return isKey(value, object) ? [value] : stringToPath(toString(value));
|
|
20303
|
-
}
|
|
20304
|
-
module2.exports = castPath;
|
|
20305
|
-
}
|
|
20306
|
-
});
|
|
20307
|
-
var require_toKey = __commonJS2({
|
|
20308
|
-
"node_modules/lodash/_toKey.js"(exports2, module2) {
|
|
20309
|
-
var isSymbol = require_isSymbol();
|
|
20310
|
-
var INFINITY = 1 / 0;
|
|
20311
|
-
function toKey(value) {
|
|
20312
|
-
if (typeof value == "string" || isSymbol(value)) {
|
|
20313
|
-
return value;
|
|
20314
|
-
}
|
|
20315
|
-
var result = value + "";
|
|
20316
|
-
return result == "0" && 1 / value == -INFINITY ? "-0" : result;
|
|
20317
|
-
}
|
|
20318
|
-
module2.exports = toKey;
|
|
20319
|
-
}
|
|
20320
|
-
});
|
|
20321
|
-
var require_baseGet = __commonJS2({
|
|
20322
|
-
"node_modules/lodash/_baseGet.js"(exports2, module2) {
|
|
20323
|
-
var castPath = require_castPath();
|
|
20324
|
-
var toKey = require_toKey();
|
|
20325
|
-
function baseGet(object, path) {
|
|
20326
|
-
path = castPath(path, object);
|
|
20327
|
-
var index = 0, length = path.length;
|
|
20328
|
-
while (object != null && index < length) {
|
|
20329
|
-
object = object[toKey(path[index++])];
|
|
20330
|
-
}
|
|
20331
|
-
return index && index == length ? object : void 0;
|
|
20332
|
-
}
|
|
20333
|
-
module2.exports = baseGet;
|
|
20334
|
-
}
|
|
20335
|
-
});
|
|
20336
|
-
var require_get = __commonJS2({
|
|
20337
|
-
"node_modules/lodash/get.js"(exports2, module2) {
|
|
20338
|
-
var baseGet = require_baseGet();
|
|
20339
|
-
function get(object, path, defaultValue) {
|
|
20340
|
-
var result = object == null ? void 0 : baseGet(object, path);
|
|
20341
|
-
return result === void 0 ? defaultValue : result;
|
|
20342
|
-
}
|
|
20343
|
-
module2.exports = get;
|
|
20344
|
-
}
|
|
20345
|
-
});
|
|
20346
|
-
var require_baseHasIn = __commonJS2({
|
|
20347
|
-
"node_modules/lodash/_baseHasIn.js"(exports2, module2) {
|
|
20348
|
-
function baseHasIn(object, key) {
|
|
20349
|
-
return object != null && key in Object(object);
|
|
20350
|
-
}
|
|
20351
|
-
module2.exports = baseHasIn;
|
|
20352
|
-
}
|
|
20353
|
-
});
|
|
20354
|
-
var require_hasPath = __commonJS2({
|
|
20355
|
-
"node_modules/lodash/_hasPath.js"(exports2, module2) {
|
|
20356
|
-
var castPath = require_castPath();
|
|
20357
|
-
var isArguments = require_isArguments();
|
|
20358
|
-
var isArray = require_isArray();
|
|
20359
|
-
var isIndex = require_isIndex();
|
|
20360
|
-
var isLength = require_isLength();
|
|
20361
|
-
var toKey = require_toKey();
|
|
20362
|
-
function hasPath(object, path, hasFunc) {
|
|
20363
|
-
path = castPath(path, object);
|
|
20364
|
-
var index = -1, length = path.length, result = false;
|
|
20365
|
-
while (++index < length) {
|
|
20366
|
-
var key = toKey(path[index]);
|
|
20367
|
-
if (!(result = object != null && hasFunc(object, key))) {
|
|
20368
|
-
break;
|
|
20369
|
-
}
|
|
20370
|
-
object = object[key];
|
|
20371
|
-
}
|
|
20372
|
-
if (result || ++index != length) {
|
|
20373
|
-
return result;
|
|
20374
|
-
}
|
|
20375
|
-
length = object == null ? 0 : object.length;
|
|
20376
|
-
return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));
|
|
20377
|
-
}
|
|
20378
|
-
module2.exports = hasPath;
|
|
20379
|
-
}
|
|
20380
|
-
});
|
|
20381
|
-
var require_hasIn = __commonJS2({
|
|
20382
|
-
"node_modules/lodash/hasIn.js"(exports2, module2) {
|
|
20383
|
-
var baseHasIn = require_baseHasIn();
|
|
20384
|
-
var hasPath = require_hasPath();
|
|
20385
|
-
function hasIn(object, path) {
|
|
20386
|
-
return object != null && hasPath(object, path, baseHasIn);
|
|
20387
|
-
}
|
|
20388
|
-
module2.exports = hasIn;
|
|
20389
|
-
}
|
|
20390
|
-
});
|
|
20391
|
-
var require_baseMatchesProperty = __commonJS2({
|
|
20392
|
-
"node_modules/lodash/_baseMatchesProperty.js"(exports2, module2) {
|
|
20393
|
-
var baseIsEqual = require_baseIsEqual();
|
|
20394
|
-
var get = require_get();
|
|
20395
|
-
var hasIn = require_hasIn();
|
|
20396
|
-
var isKey = require_isKey();
|
|
20397
|
-
var isStrictComparable = require_isStrictComparable();
|
|
20398
|
-
var matchesStrictComparable = require_matchesStrictComparable();
|
|
20399
|
-
var toKey = require_toKey();
|
|
20400
|
-
var COMPARE_PARTIAL_FLAG = 1;
|
|
20401
|
-
var COMPARE_UNORDERED_FLAG = 2;
|
|
20402
|
-
function baseMatchesProperty(path, srcValue) {
|
|
20403
|
-
if (isKey(path) && isStrictComparable(srcValue)) {
|
|
20404
|
-
return matchesStrictComparable(toKey(path), srcValue);
|
|
20405
|
-
}
|
|
20406
|
-
return function(object) {
|
|
20407
|
-
var objValue = get(object, path);
|
|
20408
|
-
return objValue === void 0 && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
|
|
20409
|
-
};
|
|
20410
|
-
}
|
|
20411
|
-
module2.exports = baseMatchesProperty;
|
|
20412
|
-
}
|
|
20413
|
-
});
|
|
20414
|
-
var require_identity = __commonJS2({
|
|
20415
|
-
"node_modules/lodash/identity.js"(exports2, module2) {
|
|
20416
|
-
function identity(value) {
|
|
20417
|
-
return value;
|
|
20418
|
-
}
|
|
20419
|
-
module2.exports = identity;
|
|
20420
|
-
}
|
|
20421
|
-
});
|
|
20422
|
-
var require_baseProperty = __commonJS2({
|
|
20423
|
-
"node_modules/lodash/_baseProperty.js"(exports2, module2) {
|
|
20424
|
-
function baseProperty(key) {
|
|
20425
|
-
return function(object) {
|
|
20426
|
-
return object == null ? void 0 : object[key];
|
|
20427
|
-
};
|
|
20428
|
-
}
|
|
20429
|
-
module2.exports = baseProperty;
|
|
20430
|
-
}
|
|
20431
|
-
});
|
|
20432
|
-
var require_basePropertyDeep = __commonJS2({
|
|
20433
|
-
"node_modules/lodash/_basePropertyDeep.js"(exports2, module2) {
|
|
20434
|
-
var baseGet = require_baseGet();
|
|
20435
|
-
function basePropertyDeep(path) {
|
|
20436
|
-
return function(object) {
|
|
20437
|
-
return baseGet(object, path);
|
|
20438
|
-
};
|
|
20439
|
-
}
|
|
20440
|
-
module2.exports = basePropertyDeep;
|
|
20441
|
-
}
|
|
20442
|
-
});
|
|
20443
|
-
var require_property = __commonJS2({
|
|
20444
|
-
"node_modules/lodash/property.js"(exports2, module2) {
|
|
20445
|
-
var baseProperty = require_baseProperty();
|
|
20446
|
-
var basePropertyDeep = require_basePropertyDeep();
|
|
20447
|
-
var isKey = require_isKey();
|
|
20448
|
-
var toKey = require_toKey();
|
|
20449
|
-
function property(path) {
|
|
20450
|
-
return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
|
|
20451
|
-
}
|
|
20452
|
-
module2.exports = property;
|
|
20453
|
-
}
|
|
20454
|
-
});
|
|
20455
|
-
var require_baseIteratee = __commonJS2({
|
|
20456
|
-
"node_modules/lodash/_baseIteratee.js"(exports2, module2) {
|
|
20457
|
-
var baseMatches = require_baseMatches();
|
|
20458
|
-
var baseMatchesProperty = require_baseMatchesProperty();
|
|
20459
|
-
var identity = require_identity();
|
|
20460
|
-
var isArray = require_isArray();
|
|
20461
|
-
var property = require_property();
|
|
20462
|
-
function baseIteratee(value) {
|
|
20463
|
-
if (typeof value == "function") {
|
|
20464
|
-
return value;
|
|
20465
|
-
}
|
|
20466
|
-
if (value == null) {
|
|
20467
|
-
return identity;
|
|
20468
|
-
}
|
|
20469
|
-
if (typeof value == "object") {
|
|
20470
|
-
return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
|
|
20471
|
-
}
|
|
20472
|
-
return property(value);
|
|
20473
|
-
}
|
|
20474
|
-
module2.exports = baseIteratee;
|
|
20475
|
-
}
|
|
20476
|
-
});
|
|
20477
|
-
var require_baseFindIndex = __commonJS2({
|
|
20478
|
-
"node_modules/lodash/_baseFindIndex.js"(exports2, module2) {
|
|
20479
|
-
function baseFindIndex(array, predicate, fromIndex, fromRight) {
|
|
20480
|
-
var length = array.length, index = fromIndex + (fromRight ? 1 : -1);
|
|
20481
|
-
while (fromRight ? index-- : ++index < length) {
|
|
20482
|
-
if (predicate(array[index], index, array)) {
|
|
20483
|
-
return index;
|
|
20484
|
-
}
|
|
20485
|
-
}
|
|
20486
|
-
return -1;
|
|
20487
|
-
}
|
|
20488
|
-
module2.exports = baseFindIndex;
|
|
20489
|
-
}
|
|
20490
|
-
});
|
|
20491
|
-
var require_baseIsNaN = __commonJS2({
|
|
20492
|
-
"node_modules/lodash/_baseIsNaN.js"(exports2, module2) {
|
|
20493
|
-
function baseIsNaN(value) {
|
|
20494
|
-
return value !== value;
|
|
20495
|
-
}
|
|
20496
|
-
module2.exports = baseIsNaN;
|
|
20497
|
-
}
|
|
20498
|
-
});
|
|
20499
|
-
var require_strictIndexOf = __commonJS2({
|
|
20500
|
-
"node_modules/lodash/_strictIndexOf.js"(exports2, module2) {
|
|
20501
|
-
function strictIndexOf(array, value, fromIndex) {
|
|
20502
|
-
var index = fromIndex - 1, length = array.length;
|
|
20503
|
-
while (++index < length) {
|
|
20504
|
-
if (array[index] === value) {
|
|
20505
|
-
return index;
|
|
20506
|
-
}
|
|
20507
|
-
}
|
|
20508
|
-
return -1;
|
|
20509
|
-
}
|
|
20510
|
-
module2.exports = strictIndexOf;
|
|
20511
|
-
}
|
|
20512
|
-
});
|
|
20513
|
-
var require_baseIndexOf = __commonJS2({
|
|
20514
|
-
"node_modules/lodash/_baseIndexOf.js"(exports2, module2) {
|
|
20515
|
-
var baseFindIndex = require_baseFindIndex();
|
|
20516
|
-
var baseIsNaN = require_baseIsNaN();
|
|
20517
|
-
var strictIndexOf = require_strictIndexOf();
|
|
20518
|
-
function baseIndexOf(array, value, fromIndex) {
|
|
20519
|
-
return value === value ? strictIndexOf(array, value, fromIndex) : baseFindIndex(array, baseIsNaN, fromIndex);
|
|
20520
|
-
}
|
|
20521
|
-
module2.exports = baseIndexOf;
|
|
20522
|
-
}
|
|
20523
|
-
});
|
|
20524
|
-
var require_arrayIncludes = __commonJS2({
|
|
20525
|
-
"node_modules/lodash/_arrayIncludes.js"(exports2, module2) {
|
|
20526
|
-
var baseIndexOf = require_baseIndexOf();
|
|
20527
|
-
function arrayIncludes(array, value) {
|
|
20528
|
-
var length = array == null ? 0 : array.length;
|
|
20529
|
-
return !!length && baseIndexOf(array, value, 0) > -1;
|
|
20530
|
-
}
|
|
20531
|
-
module2.exports = arrayIncludes;
|
|
20532
|
-
}
|
|
20533
|
-
});
|
|
20534
|
-
var require_arrayIncludesWith = __commonJS2({
|
|
20535
|
-
"node_modules/lodash/_arrayIncludesWith.js"(exports2, module2) {
|
|
20536
|
-
function arrayIncludesWith(array, value, comparator) {
|
|
20537
|
-
var index = -1, length = array == null ? 0 : array.length;
|
|
20538
|
-
while (++index < length) {
|
|
20539
|
-
if (comparator(value, array[index])) {
|
|
20540
|
-
return true;
|
|
20541
|
-
}
|
|
20542
|
-
}
|
|
20543
|
-
return false;
|
|
20544
|
-
}
|
|
20545
|
-
module2.exports = arrayIncludesWith;
|
|
20546
|
-
}
|
|
20547
|
-
});
|
|
20548
|
-
var require_noop = __commonJS2({
|
|
20549
|
-
"node_modules/lodash/noop.js"(exports2, module2) {
|
|
20550
|
-
function noop() {
|
|
20551
|
-
}
|
|
20552
|
-
module2.exports = noop;
|
|
20553
|
-
}
|
|
20554
|
-
});
|
|
20555
|
-
var require_createSet = __commonJS2({
|
|
20556
|
-
"node_modules/lodash/_createSet.js"(exports2, module2) {
|
|
20557
|
-
var Set2 = require_Set();
|
|
20558
|
-
var noop = require_noop();
|
|
20559
|
-
var setToArray = require_setToArray();
|
|
20560
|
-
var INFINITY = 1 / 0;
|
|
20561
|
-
var createSet = !(Set2 && 1 / setToArray(new Set2([, -0]))[1] == INFINITY) ? noop : function(values) {
|
|
20562
|
-
return new Set2(values);
|
|
20563
|
-
};
|
|
20564
|
-
module2.exports = createSet;
|
|
20565
|
-
}
|
|
20566
|
-
});
|
|
20567
|
-
var require_baseUniq = __commonJS2({
|
|
20568
|
-
"node_modules/lodash/_baseUniq.js"(exports2, module2) {
|
|
20569
|
-
var SetCache = require_SetCache();
|
|
20570
|
-
var arrayIncludes = require_arrayIncludes();
|
|
20571
|
-
var arrayIncludesWith = require_arrayIncludesWith();
|
|
20572
|
-
var cacheHas = require_cacheHas();
|
|
20573
|
-
var createSet = require_createSet();
|
|
20574
|
-
var setToArray = require_setToArray();
|
|
20575
|
-
var LARGE_ARRAY_SIZE = 200;
|
|
20576
|
-
function baseUniq(array, iteratee, comparator) {
|
|
20577
|
-
var index = -1, includes = arrayIncludes, length = array.length, isCommon = true, result = [], seen = result;
|
|
20578
|
-
if (comparator) {
|
|
20579
|
-
isCommon = false;
|
|
20580
|
-
includes = arrayIncludesWith;
|
|
20581
|
-
} else if (length >= LARGE_ARRAY_SIZE) {
|
|
20582
|
-
var set = iteratee ? null : createSet(array);
|
|
20583
|
-
if (set) {
|
|
20584
|
-
return setToArray(set);
|
|
20585
|
-
}
|
|
20586
|
-
isCommon = false;
|
|
20587
|
-
includes = cacheHas;
|
|
20588
|
-
seen = new SetCache();
|
|
20589
|
-
} else {
|
|
20590
|
-
seen = iteratee ? [] : result;
|
|
20591
|
-
}
|
|
20592
|
-
outer:
|
|
20593
|
-
while (++index < length) {
|
|
20594
|
-
var value = array[index], computed = iteratee ? iteratee(value) : value;
|
|
20595
|
-
value = comparator || value !== 0 ? value : 0;
|
|
20596
|
-
if (isCommon && computed === computed) {
|
|
20597
|
-
var seenIndex = seen.length;
|
|
20598
|
-
while (seenIndex--) {
|
|
20599
|
-
if (seen[seenIndex] === computed) {
|
|
20600
|
-
continue outer;
|
|
20601
|
-
}
|
|
20602
|
-
}
|
|
20603
|
-
if (iteratee) {
|
|
20604
|
-
seen.push(computed);
|
|
20605
|
-
}
|
|
20606
|
-
result.push(value);
|
|
20607
|
-
} else if (!includes(seen, computed, comparator)) {
|
|
20608
|
-
if (seen !== result) {
|
|
20609
|
-
seen.push(computed);
|
|
20610
|
-
}
|
|
20611
|
-
result.push(value);
|
|
20612
|
-
}
|
|
20613
|
-
}
|
|
20614
|
-
return result;
|
|
20615
|
-
}
|
|
20616
|
-
module2.exports = baseUniq;
|
|
20617
|
-
}
|
|
20618
|
-
});
|
|
20619
|
-
var require_uniqBy = __commonJS2({
|
|
20620
|
-
"node_modules/lodash/uniqBy.js"(exports2, module2) {
|
|
20621
|
-
var baseIteratee = require_baseIteratee();
|
|
20622
|
-
var baseUniq = require_baseUniq();
|
|
20623
|
-
function uniqBy(array, iteratee) {
|
|
20624
|
-
return array && array.length ? baseUniq(array, baseIteratee(iteratee, 2)) : [];
|
|
20625
|
-
}
|
|
20626
|
-
module2.exports = uniqBy;
|
|
20627
|
-
}
|
|
20628
|
-
});
|
|
20629
|
-
var require_arrayAggregator = __commonJS2({
|
|
20630
|
-
"node_modules/lodash/_arrayAggregator.js"(exports2, module2) {
|
|
20631
|
-
function arrayAggregator(array, setter, iteratee, accumulator) {
|
|
20632
|
-
var index = -1, length = array == null ? 0 : array.length;
|
|
20633
|
-
while (++index < length) {
|
|
20634
|
-
var value = array[index];
|
|
20635
|
-
setter(accumulator, value, iteratee(value), array);
|
|
20636
|
-
}
|
|
20637
|
-
return accumulator;
|
|
20638
|
-
}
|
|
20639
|
-
module2.exports = arrayAggregator;
|
|
20640
|
-
}
|
|
20641
|
-
});
|
|
20642
|
-
var require_createBaseFor = __commonJS2({
|
|
20643
|
-
"node_modules/lodash/_createBaseFor.js"(exports2, module2) {
|
|
20644
|
-
function createBaseFor(fromRight) {
|
|
20645
|
-
return function(object, iteratee, keysFunc) {
|
|
20646
|
-
var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
|
|
20647
|
-
while (length--) {
|
|
20648
|
-
var key = props[fromRight ? length : ++index];
|
|
20649
|
-
if (iteratee(iterable[key], key, iterable) === false) {
|
|
20650
|
-
break;
|
|
20651
|
-
}
|
|
20652
|
-
}
|
|
20653
|
-
return object;
|
|
20654
|
-
};
|
|
20655
|
-
}
|
|
20656
|
-
module2.exports = createBaseFor;
|
|
20657
|
-
}
|
|
20658
|
-
});
|
|
20659
|
-
var require_baseFor = __commonJS2({
|
|
20660
|
-
"node_modules/lodash/_baseFor.js"(exports2, module2) {
|
|
20661
|
-
var createBaseFor = require_createBaseFor();
|
|
20662
|
-
var baseFor = createBaseFor();
|
|
20663
|
-
module2.exports = baseFor;
|
|
20664
|
-
}
|
|
20665
|
-
});
|
|
20666
|
-
var require_baseForOwn = __commonJS2({
|
|
20667
|
-
"node_modules/lodash/_baseForOwn.js"(exports2, module2) {
|
|
20668
|
-
var baseFor = require_baseFor();
|
|
20669
|
-
var keys = require_keys();
|
|
20670
|
-
function baseForOwn(object, iteratee) {
|
|
20671
|
-
return object && baseFor(object, iteratee, keys);
|
|
20672
|
-
}
|
|
20673
|
-
module2.exports = baseForOwn;
|
|
20674
|
-
}
|
|
20675
|
-
});
|
|
20676
|
-
var require_createBaseEach = __commonJS2({
|
|
20677
|
-
"node_modules/lodash/_createBaseEach.js"(exports2, module2) {
|
|
20678
|
-
var isArrayLike = require_isArrayLike();
|
|
20679
|
-
function createBaseEach(eachFunc, fromRight) {
|
|
20680
|
-
return function(collection, iteratee) {
|
|
20681
|
-
if (collection == null) {
|
|
20682
|
-
return collection;
|
|
20683
|
-
}
|
|
20684
|
-
if (!isArrayLike(collection)) {
|
|
20685
|
-
return eachFunc(collection, iteratee);
|
|
20686
|
-
}
|
|
20687
|
-
var length = collection.length, index = fromRight ? length : -1, iterable = Object(collection);
|
|
20688
|
-
while (fromRight ? index-- : ++index < length) {
|
|
20689
|
-
if (iteratee(iterable[index], index, iterable) === false) {
|
|
20690
|
-
break;
|
|
20691
|
-
}
|
|
20692
|
-
}
|
|
20693
|
-
return collection;
|
|
20694
|
-
};
|
|
20695
|
-
}
|
|
20696
|
-
module2.exports = createBaseEach;
|
|
20697
|
-
}
|
|
20698
|
-
});
|
|
20699
|
-
var require_baseEach = __commonJS2({
|
|
20700
|
-
"node_modules/lodash/_baseEach.js"(exports2, module2) {
|
|
20701
|
-
var baseForOwn = require_baseForOwn();
|
|
20702
|
-
var createBaseEach = require_createBaseEach();
|
|
20703
|
-
var baseEach = createBaseEach(baseForOwn);
|
|
20704
|
-
module2.exports = baseEach;
|
|
20705
|
-
}
|
|
20706
|
-
});
|
|
20707
|
-
var require_baseAggregator = __commonJS2({
|
|
20708
|
-
"node_modules/lodash/_baseAggregator.js"(exports2, module2) {
|
|
20709
|
-
var baseEach = require_baseEach();
|
|
20710
|
-
function baseAggregator(collection, setter, iteratee, accumulator) {
|
|
20711
|
-
baseEach(collection, function(value, key, collection2) {
|
|
20712
|
-
setter(accumulator, value, iteratee(value), collection2);
|
|
20713
|
-
});
|
|
20714
|
-
return accumulator;
|
|
20715
|
-
}
|
|
20716
|
-
module2.exports = baseAggregator;
|
|
20717
|
-
}
|
|
20718
|
-
});
|
|
20719
|
-
var require_createAggregator = __commonJS2({
|
|
20720
|
-
"node_modules/lodash/_createAggregator.js"(exports2, module2) {
|
|
20721
|
-
var arrayAggregator = require_arrayAggregator();
|
|
20722
|
-
var baseAggregator = require_baseAggregator();
|
|
20723
|
-
var baseIteratee = require_baseIteratee();
|
|
20724
|
-
var isArray = require_isArray();
|
|
20725
|
-
function createAggregator(setter, initializer) {
|
|
20726
|
-
return function(collection, iteratee) {
|
|
20727
|
-
var func = isArray(collection) ? arrayAggregator : baseAggregator, accumulator = initializer ? initializer() : {};
|
|
20728
|
-
return func(collection, setter, baseIteratee(iteratee, 2), accumulator);
|
|
20729
|
-
};
|
|
20730
|
-
}
|
|
20731
|
-
module2.exports = createAggregator;
|
|
20732
|
-
}
|
|
20733
|
-
});
|
|
20734
|
-
var require_partition = __commonJS2({
|
|
20735
|
-
"node_modules/lodash/partition.js"(exports2, module2) {
|
|
20736
|
-
var createAggregator = require_createAggregator();
|
|
20737
|
-
var partition = createAggregator(function(result, value, key) {
|
|
20738
|
-
result[key ? 0 : 1].push(value);
|
|
20739
|
-
}, function() {
|
|
20740
|
-
return [[], []];
|
|
20741
|
-
});
|
|
20742
|
-
module2.exports = partition;
|
|
20743
|
-
}
|
|
20744
|
-
});
|
|
20745
18708
|
var require_array3 = __commonJS2({
|
|
20746
18709
|
"node_modules/fast-glob/out/utils/array.js"(exports2) {
|
|
20747
18710
|
"use strict";
|
|
@@ -23332,6 +21295,24 @@ var require_out4 = __commonJS2({
|
|
|
23332
21295
|
module2.exports = FastGlob;
|
|
23333
21296
|
}
|
|
23334
21297
|
});
|
|
21298
|
+
var require_uniq_by_key = __commonJS2({
|
|
21299
|
+
"src/utils/uniq-by-key.js"(exports2, module2) {
|
|
21300
|
+
"use strict";
|
|
21301
|
+
function uniqByKey(array, key) {
|
|
21302
|
+
const result = [];
|
|
21303
|
+
const seen = /* @__PURE__ */ new Set();
|
|
21304
|
+
for (const element of array) {
|
|
21305
|
+
const value = element[key];
|
|
21306
|
+
if (!seen.has(value)) {
|
|
21307
|
+
seen.add(value);
|
|
21308
|
+
result.push(element);
|
|
21309
|
+
}
|
|
21310
|
+
}
|
|
21311
|
+
return result;
|
|
21312
|
+
}
|
|
21313
|
+
module2.exports = uniqByKey;
|
|
21314
|
+
}
|
|
21315
|
+
});
|
|
23335
21316
|
var require_create_language = __commonJS2({
|
|
23336
21317
|
"src/utils/create-language.js"(exports2, module2) {
|
|
23337
21318
|
"use strict";
|
|
@@ -23673,12 +21654,33 @@ var require_utils6 = __commonJS2({
|
|
|
23673
21654
|
var require_is_block_comment = __commonJS2({
|
|
23674
21655
|
"src/language-js/utils/is-block-comment.js"(exports2, module2) {
|
|
23675
21656
|
"use strict";
|
|
23676
|
-
|
|
23677
|
-
|
|
23678
|
-
}
|
|
21657
|
+
var BLOCK_COMMENT_TYPES = /* @__PURE__ */ new Set(["Block", "CommentBlock", "MultiLine"]);
|
|
21658
|
+
var isBlockComment = (comment) => BLOCK_COMMENT_TYPES.has(comment === null || comment === void 0 ? void 0 : comment.type);
|
|
23679
21659
|
module2.exports = isBlockComment;
|
|
23680
21660
|
}
|
|
23681
21661
|
});
|
|
21662
|
+
var require_is_node_matches = __commonJS2({
|
|
21663
|
+
"src/language-js/utils/is-node-matches.js"(exports2, module2) {
|
|
21664
|
+
"use strict";
|
|
21665
|
+
function isNodeMatchesNameOrPath(node, nameOrPath) {
|
|
21666
|
+
const names = nameOrPath.split(".");
|
|
21667
|
+
for (let index = names.length - 1; index >= 0; index--) {
|
|
21668
|
+
const name = names[index];
|
|
21669
|
+
if (index === 0) {
|
|
21670
|
+
return node.type === "Identifier" && node.name === name;
|
|
21671
|
+
}
|
|
21672
|
+
if (node.type !== "MemberExpression" || node.optional || node.computed || node.property.type !== "Identifier" || node.property.name !== name) {
|
|
21673
|
+
return false;
|
|
21674
|
+
}
|
|
21675
|
+
node = node.object;
|
|
21676
|
+
}
|
|
21677
|
+
}
|
|
21678
|
+
function isNodeMatches(node, nameOrPaths) {
|
|
21679
|
+
return nameOrPaths.some((nameOrPath) => isNodeMatchesNameOrPath(node, nameOrPath));
|
|
21680
|
+
}
|
|
21681
|
+
module2.exports = isNodeMatches;
|
|
21682
|
+
}
|
|
21683
|
+
});
|
|
23682
21684
|
var require_utils7 = __commonJS2({
|
|
23683
21685
|
"src/language-js/utils/index.js"(exports2, module2) {
|
|
23684
21686
|
"use strict";
|
|
@@ -23697,14 +21699,17 @@ var require_utils7 = __commonJS2({
|
|
|
23697
21699
|
hasSameLocStart
|
|
23698
21700
|
} = require_loc();
|
|
23699
21701
|
var isBlockComment = require_is_block_comment();
|
|
21702
|
+
var isNodeMatches = require_is_node_matches();
|
|
23700
21703
|
var NON_LINE_TERMINATING_WHITE_SPACE = "(?:(?=.)\\s)";
|
|
23701
21704
|
var FLOW_SHORTHAND_ANNOTATION = new RegExp(`^${NON_LINE_TERMINATING_WHITE_SPACE}*:`);
|
|
23702
21705
|
var FLOW_ANNOTATION = new RegExp(`^${NON_LINE_TERMINATING_WHITE_SPACE}*::`);
|
|
23703
21706
|
function hasFlowShorthandAnnotationComment(node) {
|
|
23704
|
-
|
|
21707
|
+
var _node$extra, _node$trailingComment;
|
|
21708
|
+
return ((_node$extra = node.extra) === null || _node$extra === void 0 ? void 0 : _node$extra.parenthesized) && isBlockComment((_node$trailingComment = node.trailingComments) === null || _node$trailingComment === void 0 ? void 0 : _node$trailingComment[0]) && FLOW_SHORTHAND_ANNOTATION.test(node.trailingComments[0].value);
|
|
23705
21709
|
}
|
|
23706
21710
|
function hasFlowAnnotationComment(comments) {
|
|
23707
|
-
|
|
21711
|
+
const firstComment = comments === null || comments === void 0 ? void 0 : comments[0];
|
|
21712
|
+
return isBlockComment(firstComment) && FLOW_ANNOTATION.test(firstComment.value);
|
|
23708
21713
|
}
|
|
23709
21714
|
function hasNode(node, fn) {
|
|
23710
21715
|
if (!node || typeof node !== "object") {
|
|
@@ -23720,10 +21725,11 @@ var require_utils7 = __commonJS2({
|
|
|
23720
21725
|
return node.type === "AssignmentExpression" || node.type === "BinaryExpression" || node.type === "LogicalExpression" || node.type === "NGPipeExpression" || node.type === "ConditionalExpression" || isCallExpression(node) || isMemberExpression(node) || node.type === "SequenceExpression" || node.type === "TaggedTemplateExpression" || node.type === "BindExpression" || node.type === "UpdateExpression" && !node.prefix || node.type === "TSAsExpression" || node.type === "TSNonNullExpression";
|
|
23721
21726
|
}
|
|
23722
21727
|
function getLeftSide(node) {
|
|
21728
|
+
var _ref2, _ref3, _ref4, _ref5, _ref6, _node$left;
|
|
23723
21729
|
if (node.expressions) {
|
|
23724
21730
|
return node.expressions[0];
|
|
23725
21731
|
}
|
|
23726
|
-
return node.left
|
|
21732
|
+
return (_ref2 = (_ref3 = (_ref4 = (_ref5 = (_ref6 = (_node$left = node.left) !== null && _node$left !== void 0 ? _node$left : node.test) !== null && _ref6 !== void 0 ? _ref6 : node.callee) !== null && _ref5 !== void 0 ? _ref5 : node.object) !== null && _ref4 !== void 0 ? _ref4 : node.tag) !== null && _ref3 !== void 0 ? _ref3 : node.argument) !== null && _ref2 !== void 0 ? _ref2 : node.expression;
|
|
23727
21733
|
}
|
|
23728
21734
|
function getLeftSidePathName(path, node) {
|
|
23729
21735
|
if (node.expressions) {
|
|
@@ -23752,13 +21758,12 @@ var require_utils7 = __commonJS2({
|
|
|
23752
21758
|
}
|
|
23753
21759
|
throw new Error("Unexpected node has no left side.");
|
|
23754
21760
|
}
|
|
23755
|
-
function
|
|
23756
|
-
|
|
23757
|
-
|
|
23758
|
-
var exportDeclarationTypes = /* @__PURE__ */ new Set(["ExportDefaultDeclaration", "ExportDefaultSpecifier", "DeclareExportDeclaration", "ExportNamedDeclaration", "ExportAllDeclaration"]);
|
|
23759
|
-
function isExportDeclaration(node) {
|
|
23760
|
-
return node && exportDeclarationTypes.has(node.type);
|
|
21761
|
+
function createTypeCheckFunction(types) {
|
|
21762
|
+
types = new Set(types);
|
|
21763
|
+
return (node) => types.has(node === null || node === void 0 ? void 0 : node.type);
|
|
23761
21764
|
}
|
|
21765
|
+
var isLineComment = createTypeCheckFunction(["Line", "CommentLine", "SingleLine", "HashbangComment", "HTMLOpen", "HTMLClose"]);
|
|
21766
|
+
var isExportDeclaration = createTypeCheckFunction(["ExportDefaultDeclaration", "ExportDefaultSpecifier", "DeclareExportDeclaration", "ExportNamedDeclaration", "ExportAllDeclaration"]);
|
|
23762
21767
|
function getParentExportDeclaration(path) {
|
|
23763
21768
|
const parentNode = path.getParentNode();
|
|
23764
21769
|
if (path.getName() === "declaration" && isExportDeclaration(parentNode)) {
|
|
@@ -23766,9 +21771,7 @@ var require_utils7 = __commonJS2({
|
|
|
23766
21771
|
}
|
|
23767
21772
|
return null;
|
|
23768
21773
|
}
|
|
23769
|
-
|
|
23770
|
-
return node.type === "BooleanLiteral" || node.type === "DirectiveLiteral" || node.type === "Literal" || node.type === "NullLiteral" || node.type === "NumericLiteral" || node.type === "BigIntLiteral" || node.type === "DecimalLiteral" || node.type === "RegExpLiteral" || node.type === "StringLiteral" || node.type === "TemplateLiteral" || node.type === "TSTypeLiteral" || node.type === "JSXText";
|
|
23771
|
-
}
|
|
21774
|
+
var isLiteral = createTypeCheckFunction(["BooleanLiteral", "DirectiveLiteral", "Literal", "NullLiteral", "NumericLiteral", "BigIntLiteral", "DecimalLiteral", "RegExpLiteral", "StringLiteral", "TemplateLiteral", "TSTypeLiteral", "JSXText"]);
|
|
23772
21775
|
function isNumericLiteral(node) {
|
|
23773
21776
|
return node.type === "NumericLiteral" || node.type === "Literal" && typeof node.value === "number";
|
|
23774
21777
|
}
|
|
@@ -23778,24 +21781,15 @@ var require_utils7 = __commonJS2({
|
|
|
23778
21781
|
function isStringLiteral(node) {
|
|
23779
21782
|
return node.type === "StringLiteral" || node.type === "Literal" && typeof node.value === "string";
|
|
23780
21783
|
}
|
|
23781
|
-
|
|
23782
|
-
|
|
23783
|
-
}
|
|
23784
|
-
function isFunctionOrArrowExpression(node) {
|
|
23785
|
-
return node.type === "FunctionExpression" || node.type === "ArrowFunctionExpression";
|
|
23786
|
-
}
|
|
21784
|
+
var isObjectType = createTypeCheckFunction(["ObjectTypeAnnotation", "TSTypeLiteral", "TSMappedType"]);
|
|
21785
|
+
var isFunctionOrArrowExpression = createTypeCheckFunction(["FunctionExpression", "ArrowFunctionExpression"]);
|
|
23787
21786
|
function isFunctionOrArrowExpressionWithBody(node) {
|
|
23788
21787
|
return node.type === "FunctionExpression" || node.type === "ArrowFunctionExpression" && node.body.type === "BlockStatement";
|
|
23789
21788
|
}
|
|
23790
|
-
function isTemplateLiteral(node) {
|
|
23791
|
-
return node.type === "TemplateLiteral";
|
|
23792
|
-
}
|
|
23793
21789
|
function isAngularTestWrapper(node) {
|
|
23794
21790
|
return isCallExpression(node) && node.callee.type === "Identifier" && ["async", "inject", "fakeAsync", "waitForAsync"].includes(node.callee.name);
|
|
23795
21791
|
}
|
|
23796
|
-
|
|
23797
|
-
return node.type === "JSXElement" || node.type === "JSXFragment";
|
|
23798
|
-
}
|
|
21792
|
+
var isJsxNode = createTypeCheckFunction(["JSXElement", "JSXFragment"]);
|
|
23799
21793
|
function isTheOnlyJsxElementInMarkdown(options, path) {
|
|
23800
21794
|
if (options.parentParser !== "markdown" && options.parentParser !== "mdx") {
|
|
23801
21795
|
return false;
|
|
@@ -23819,10 +21813,7 @@ var require_utils7 = __commonJS2({
|
|
|
23819
21813
|
function isTypeAnnotationAFunction(node) {
|
|
23820
21814
|
return (node.type === "TypeAnnotation" || node.type === "TSTypeAnnotation") && node.typeAnnotation.type === "FunctionTypeAnnotation" && !node.static && !hasSameLocStart(node, node.typeAnnotation);
|
|
23821
21815
|
}
|
|
23822
|
-
var
|
|
23823
|
-
function isBinaryish(node) {
|
|
23824
|
-
return binaryishNodeTypes.has(node.type);
|
|
23825
|
-
}
|
|
21816
|
+
var isBinaryish = createTypeCheckFunction(["BinaryExpression", "LogicalExpression", "NGPipeExpression"]);
|
|
23826
21817
|
function isMemberish(node) {
|
|
23827
21818
|
return isMemberExpression(node) || node.type === "BindExpression" && Boolean(node.object);
|
|
23828
21819
|
}
|
|
@@ -23839,14 +21830,14 @@ var require_utils7 = __commonJS2({
|
|
|
23839
21830
|
}
|
|
23840
21831
|
return false;
|
|
23841
21832
|
}
|
|
23842
|
-
var unitTestRe = /^(?:skip|[fx]?(?:it|describe|test))$/;
|
|
23843
|
-
function isSkipOrOnlyBlock(node) {
|
|
23844
|
-
return isMemberExpression(node.callee) && node.callee.object.type === "Identifier" && node.callee.property.type === "Identifier" && unitTestRe.test(node.callee.object.name) && (node.callee.property.name === "only" || node.callee.property.name === "skip");
|
|
23845
|
-
}
|
|
23846
21833
|
function isUnitTestSetUp(node) {
|
|
23847
21834
|
const unitTestSetUpRe = /^(?:before|after)(?:Each|All)$/;
|
|
23848
21835
|
return node.callee.type === "Identifier" && unitTestSetUpRe.test(node.callee.name) && node.arguments.length === 1;
|
|
23849
21836
|
}
|
|
21837
|
+
var testCallCalleePatterns = ["it", "it.only", "it.skip", "describe", "describe.only", "describe.skip", "test", "test.only", "test.skip", "test.step", "test.describe", "test.describe.only", "test.describe.parallel", "test.describe.parallel.only", "test.describe.serial", "test.describe.serial.only", "skip", "xit", "xdescribe", "xtest", "fit", "fdescribe", "ftest"];
|
|
21838
|
+
function isTestCallCallee(node) {
|
|
21839
|
+
return isNodeMatches(node, testCallCalleePatterns);
|
|
21840
|
+
}
|
|
23850
21841
|
function isTestCall(node, parent) {
|
|
23851
21842
|
if (node.type !== "CallExpression") {
|
|
23852
21843
|
return false;
|
|
@@ -23859,7 +21850,7 @@ var require_utils7 = __commonJS2({
|
|
|
23859
21850
|
return isAngularTestWrapper(node.arguments[0]);
|
|
23860
21851
|
}
|
|
23861
21852
|
} else if (node.arguments.length === 2 || node.arguments.length === 3) {
|
|
23862
|
-
if ((node.
|
|
21853
|
+
if ((node.arguments[0].type === "TemplateLiteral" || isStringLiteral(node.arguments[0])) && isTestCallCallee(node.callee)) {
|
|
23863
21854
|
if (node.arguments[2] && !isNumericLiteral(node.arguments[2])) {
|
|
23864
21855
|
return false;
|
|
23865
21856
|
}
|
|
@@ -23868,12 +21859,8 @@ var require_utils7 = __commonJS2({
|
|
|
23868
21859
|
}
|
|
23869
21860
|
return false;
|
|
23870
21861
|
}
|
|
23871
|
-
|
|
23872
|
-
|
|
23873
|
-
}
|
|
23874
|
-
function isMemberExpression(node) {
|
|
23875
|
-
return node && (node.type === "MemberExpression" || node.type === "OptionalMemberExpression");
|
|
23876
|
-
}
|
|
21862
|
+
var isCallExpression = createTypeCheckFunction(["CallExpression", "OptionalCallExpression"]);
|
|
21863
|
+
var isMemberExpression = createTypeCheckFunction(["MemberExpression", "OptionalMemberExpression"]);
|
|
23877
21864
|
function isSimpleTemplateLiteral(node) {
|
|
23878
21865
|
let expressionsKey = "expressions";
|
|
23879
21866
|
if (node.type === "TSTemplateLiteralType") {
|
|
@@ -23910,11 +21897,8 @@ var require_utils7 = __commonJS2({
|
|
|
23910
21897
|
});
|
|
23911
21898
|
}
|
|
23912
21899
|
function getTypeScriptMappedTypeModifier(tokenNode, keyword) {
|
|
23913
|
-
if (tokenNode === "+") {
|
|
23914
|
-
return
|
|
23915
|
-
}
|
|
23916
|
-
if (tokenNode === "-") {
|
|
23917
|
-
return "-" + keyword;
|
|
21900
|
+
if (tokenNode === "+" || tokenNode === "-") {
|
|
21901
|
+
return tokenNode + keyword;
|
|
23918
21902
|
}
|
|
23919
21903
|
return keyword;
|
|
23920
21904
|
}
|
|
@@ -24016,7 +22000,8 @@ var require_utils7 = __commonJS2({
|
|
|
24016
22000
|
return false;
|
|
24017
22001
|
}
|
|
24018
22002
|
function rawText(node) {
|
|
24019
|
-
|
|
22003
|
+
var _node$extra$raw, _node$extra2;
|
|
22004
|
+
return (_node$extra$raw = (_node$extra2 = node.extra) === null || _node$extra2 === void 0 ? void 0 : _node$extra2.raw) !== null && _node$extra$raw !== void 0 ? _node$extra$raw : node.raw;
|
|
24020
22005
|
}
|
|
24021
22006
|
function identity(x) {
|
|
24022
22007
|
return x;
|
|
@@ -24102,14 +22087,9 @@ var require_utils7 = __commonJS2({
|
|
|
24102
22087
|
}
|
|
24103
22088
|
return true;
|
|
24104
22089
|
}
|
|
24105
|
-
var PRECEDENCE =
|
|
24106
|
-
|
|
24107
|
-
|
|
24108
|
-
PRECEDENCE[op] = i;
|
|
24109
|
-
}
|
|
24110
|
-
}
|
|
24111
|
-
function getPrecedence(op) {
|
|
24112
|
-
return PRECEDENCE[op];
|
|
22090
|
+
var PRECEDENCE = new Map([["|>"], ["??"], ["||"], ["&&"], ["|"], ["^"], ["&"], ["==", "===", "!=", "!=="], ["<", ">", "<=", ">=", "in", "instanceof"], [">>", "<<", ">>>"], ["+", "-"], ["*", "/", "%"], ["**"]].flatMap((operators, index) => operators.map((operator) => [operator, index])));
|
|
22091
|
+
function getPrecedence(operator) {
|
|
22092
|
+
return PRECEDENCE.get(operator);
|
|
24113
22093
|
}
|
|
24114
22094
|
function getLeftMost(node) {
|
|
24115
22095
|
while (node.left) {
|
|
@@ -24121,11 +22101,12 @@ var require_utils7 = __commonJS2({
|
|
|
24121
22101
|
return Boolean(bitshiftOperators[operator]) || operator === "|" || operator === "^" || operator === "&";
|
|
24122
22102
|
}
|
|
24123
22103
|
function hasRestParameter(node) {
|
|
22104
|
+
var _getLast;
|
|
24124
22105
|
if (node.rest) {
|
|
24125
22106
|
return true;
|
|
24126
22107
|
}
|
|
24127
22108
|
const parameters = getFunctionParameters(node);
|
|
24128
|
-
return parameters
|
|
22109
|
+
return ((_getLast = getLast(parameters)) === null || _getLast === void 0 ? void 0 : _getLast.type) === "RestElement";
|
|
24129
22110
|
}
|
|
24130
22111
|
var functionParametersCache = /* @__PURE__ */ new WeakMap();
|
|
24131
22112
|
function getFunctionParameters(node) {
|
|
@@ -24219,14 +22200,14 @@ var require_utils7 = __commonJS2({
|
|
|
24219
22200
|
}
|
|
24220
22201
|
};
|
|
24221
22202
|
function hasComment(node, flags, fn) {
|
|
24222
|
-
if (!node ||
|
|
22203
|
+
if (!isNonEmptyArray(node === null || node === void 0 ? void 0 : node.comments)) {
|
|
24223
22204
|
return false;
|
|
24224
22205
|
}
|
|
24225
22206
|
const test = getCommentTestFunction(flags, fn);
|
|
24226
22207
|
return test ? node.comments.some(test) : true;
|
|
24227
22208
|
}
|
|
24228
22209
|
function getComments(node, flags, fn) {
|
|
24229
|
-
if (!
|
|
22210
|
+
if (!Array.isArray(node === null || node === void 0 ? void 0 : node.comments)) {
|
|
24230
22211
|
return [];
|
|
24231
22212
|
}
|
|
24232
22213
|
const test = getCommentTestFunction(flags, fn);
|
|
@@ -24935,7 +22916,8 @@ var require_clean = __commonJS2({
|
|
|
24935
22916
|
removeTemplateElementsValue(newObj.quasi);
|
|
24936
22917
|
}
|
|
24937
22918
|
if (ast.type === "TemplateLiteral") {
|
|
24938
|
-
|
|
22919
|
+
var _ast$leadingComments;
|
|
22920
|
+
const hasLanguageComment = (_ast$leadingComments = ast.leadingComments) === null || _ast$leadingComments === void 0 ? void 0 : _ast$leadingComments.some((comment) => isBlockComment(comment) && ["GraphQL", "HTML"].some((languageName) => comment.value === ` ${languageName} `));
|
|
24939
22921
|
if (hasLanguageComment || parent.type === "CallExpression" && parent.callee.name === "graphql" || !ast.leadingComments) {
|
|
24940
22922
|
removeTemplateElementsValue(newObj);
|
|
24941
22923
|
}
|
|
@@ -25183,10 +23165,10 @@ var require_comments2 = __commonJS2({
|
|
|
25183
23165
|
} = require_loc();
|
|
25184
23166
|
var isBlockComment = require_is_block_comment();
|
|
25185
23167
|
function handleOwnLineComment(context) {
|
|
25186
|
-
return [handleIgnoreComments, handleLastFunctionArgComments, handleMemberExpressionComments, handleIfStatementComments, handleWhileComments, handleTryStatementComments, handleClassComments,
|
|
23168
|
+
return [handleIgnoreComments, handleLastFunctionArgComments, handleMemberExpressionComments, handleIfStatementComments, handleWhileComments, handleTryStatementComments, handleClassComments, handleForComments, handleUnionTypeComments, handleOnlyComments, handleModuleSpecifiersComments, handleAssignmentPatternComments, handleMethodNameComments, handleLabeledStatementComments, handleBreakAndContinueStatementComments].some((fn) => fn(context));
|
|
25187
23169
|
}
|
|
25188
23170
|
function handleEndOfLineComment(context) {
|
|
25189
|
-
return [handleClosureTypeCastComments, handleLastFunctionArgComments, handleConditionalExpressionComments,
|
|
23171
|
+
return [handleClosureTypeCastComments, handleLastFunctionArgComments, handleConditionalExpressionComments, handleModuleSpecifiersComments, handleIfStatementComments, handleWhileComments, handleTryStatementComments, handleClassComments, handleLabeledStatementComments, handleCallExpressionComments, handlePropertyComments, handleOnlyComments, handleVariableDeclaratorComments, handleBreakAndContinueStatementComments, handleSwitchDefaultCaseComments].some((fn) => fn(context));
|
|
25190
23172
|
}
|
|
25191
23173
|
function handleRemainingComment(context) {
|
|
25192
23174
|
return [handleIgnoreComments, handleIfStatementComments, handleWhileComments, handleObjectPropertyAssignment, handleCommentInEmptyParens, handleMethodNameComments, handleOnlyComments, handleCommentAfterArrowParams, handleFunctionNameComments, handleTSMappedTypeComments, handleBreakAndContinueStatementComments, handleTSFunctionTrailingComments].some((fn) => fn(context));
|
|
@@ -25225,7 +23207,7 @@ var require_comments2 = __commonJS2({
|
|
|
25225
23207
|
followingNode,
|
|
25226
23208
|
text
|
|
25227
23209
|
}) {
|
|
25228
|
-
if (
|
|
23210
|
+
if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) !== "IfStatement" || !followingNode) {
|
|
25229
23211
|
return false;
|
|
25230
23212
|
}
|
|
25231
23213
|
const nextCharacter = getNextNonSpaceNonCommentCharacter(text, comment, locEnd);
|
|
@@ -25268,7 +23250,7 @@ var require_comments2 = __commonJS2({
|
|
|
25268
23250
|
followingNode,
|
|
25269
23251
|
text
|
|
25270
23252
|
}) {
|
|
25271
|
-
if (
|
|
23253
|
+
if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) !== "WhileStatement" || !followingNode) {
|
|
25272
23254
|
return false;
|
|
25273
23255
|
}
|
|
25274
23256
|
const nextCharacter = getNextNonSpaceNonCommentCharacter(text, comment, locEnd);
|
|
@@ -25292,7 +23274,7 @@ var require_comments2 = __commonJS2({
|
|
|
25292
23274
|
enclosingNode,
|
|
25293
23275
|
followingNode
|
|
25294
23276
|
}) {
|
|
25295
|
-
if (
|
|
23277
|
+
if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) !== "TryStatement" && (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) !== "CatchClause" || !followingNode) {
|
|
25296
23278
|
return false;
|
|
25297
23279
|
}
|
|
25298
23280
|
if (enclosingNode.type === "CatchClause" && precedingNode) {
|
|
@@ -25318,7 +23300,7 @@ var require_comments2 = __commonJS2({
|
|
|
25318
23300
|
enclosingNode,
|
|
25319
23301
|
followingNode
|
|
25320
23302
|
}) {
|
|
25321
|
-
if (isMemberExpression(enclosingNode) && followingNode
|
|
23303
|
+
if (isMemberExpression(enclosingNode) && (followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) === "Identifier") {
|
|
25322
23304
|
addLeadingComment(enclosingNode, comment);
|
|
25323
23305
|
return true;
|
|
25324
23306
|
}
|
|
@@ -25332,7 +23314,7 @@ var require_comments2 = __commonJS2({
|
|
|
25332
23314
|
text
|
|
25333
23315
|
}) {
|
|
25334
23316
|
const isSameLineAsPrecedingNode = precedingNode && !hasNewlineInRange(text, locEnd(precedingNode), locStart(comment));
|
|
25335
|
-
if ((!precedingNode || !isSameLineAsPrecedingNode) && enclosingNode
|
|
23317
|
+
if ((!precedingNode || !isSameLineAsPrecedingNode) && ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ConditionalExpression" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "TSConditionalType") && followingNode) {
|
|
25336
23318
|
addLeadingComment(followingNode, comment);
|
|
25337
23319
|
return true;
|
|
25338
23320
|
}
|
|
@@ -25349,13 +23331,14 @@ var require_comments2 = __commonJS2({
|
|
|
25349
23331
|
}
|
|
25350
23332
|
return false;
|
|
25351
23333
|
}
|
|
23334
|
+
var classLikeNodeTypes = /* @__PURE__ */ new Set(["ClassDeclaration", "ClassExpression", "DeclareClass", "DeclareInterface", "InterfaceDeclaration", "TSInterfaceDeclaration"]);
|
|
25352
23335
|
function handleClassComments({
|
|
25353
23336
|
comment,
|
|
25354
23337
|
precedingNode,
|
|
25355
23338
|
enclosingNode,
|
|
25356
23339
|
followingNode
|
|
25357
23340
|
}) {
|
|
25358
|
-
if (
|
|
23341
|
+
if (classLikeNodeTypes.has(enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type)) {
|
|
25359
23342
|
if (isNonEmptyArray(enclosingNode.decorators) && !(followingNode && followingNode.type === "Decorator")) {
|
|
25360
23343
|
addTrailingComment(getLast(enclosingNode.decorators), comment);
|
|
25361
23344
|
return true;
|
|
@@ -25383,6 +23366,7 @@ var require_comments2 = __commonJS2({
|
|
|
25383
23366
|
}
|
|
25384
23367
|
return false;
|
|
25385
23368
|
}
|
|
23369
|
+
var propertyLikeNodeTypes = /* @__PURE__ */ new Set(["ClassMethod", "ClassProperty", "PropertyDefinition", "TSAbstractPropertyDefinition", "TSAbstractMethodDefinition", "TSDeclareMethod", "MethodDefinition"]);
|
|
25386
23370
|
function handleMethodNameComments({
|
|
25387
23371
|
comment,
|
|
25388
23372
|
precedingNode,
|
|
@@ -25393,12 +23377,13 @@ var require_comments2 = __commonJS2({
|
|
|
25393
23377
|
addTrailingComment(precedingNode, comment);
|
|
25394
23378
|
return true;
|
|
25395
23379
|
}
|
|
25396
|
-
if (precedingNode
|
|
23380
|
+
if ((precedingNode === null || precedingNode === void 0 ? void 0 : precedingNode.type) === "Decorator" && propertyLikeNodeTypes.has(enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type)) {
|
|
25397
23381
|
addTrailingComment(precedingNode, comment);
|
|
25398
23382
|
return true;
|
|
25399
23383
|
}
|
|
25400
23384
|
return false;
|
|
25401
23385
|
}
|
|
23386
|
+
var functionLikeNodeTypes = /* @__PURE__ */ new Set(["FunctionDeclaration", "FunctionExpression", "ClassMethod", "MethodDefinition", "ObjectMethod"]);
|
|
25402
23387
|
function handleFunctionNameComments({
|
|
25403
23388
|
comment,
|
|
25404
23389
|
precedingNode,
|
|
@@ -25408,7 +23393,7 @@ var require_comments2 = __commonJS2({
|
|
|
25408
23393
|
if (getNextNonSpaceNonCommentCharacter(text, comment, locEnd) !== "(") {
|
|
25409
23394
|
return false;
|
|
25410
23395
|
}
|
|
25411
|
-
if (precedingNode &&
|
|
23396
|
+
if (precedingNode && functionLikeNodeTypes.has(enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type)) {
|
|
25412
23397
|
addTrailingComment(precedingNode, comment);
|
|
25413
23398
|
return true;
|
|
25414
23399
|
}
|
|
@@ -25419,7 +23404,7 @@ var require_comments2 = __commonJS2({
|
|
|
25419
23404
|
enclosingNode,
|
|
25420
23405
|
text
|
|
25421
23406
|
}) {
|
|
25422
|
-
if (!(enclosingNode
|
|
23407
|
+
if (!((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ArrowFunctionExpression")) {
|
|
25423
23408
|
return false;
|
|
25424
23409
|
}
|
|
25425
23410
|
const index = getNextNonSpaceNonCommentCharacterIndex(text, comment, locEnd);
|
|
@@ -25441,7 +23426,7 @@ var require_comments2 = __commonJS2({
|
|
|
25441
23426
|
addDanglingComment(enclosingNode, comment);
|
|
25442
23427
|
return true;
|
|
25443
23428
|
}
|
|
25444
|
-
if (enclosingNode
|
|
23429
|
+
if (((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "MethodDefinition" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "TSAbstractMethodDefinition") && getFunctionParameters(enclosingNode.value).length === 0) {
|
|
25445
23430
|
addDanglingComment(enclosingNode.value, comment);
|
|
25446
23431
|
return true;
|
|
25447
23432
|
}
|
|
@@ -25454,15 +23439,15 @@ var require_comments2 = __commonJS2({
|
|
|
25454
23439
|
followingNode,
|
|
25455
23440
|
text
|
|
25456
23441
|
}) {
|
|
25457
|
-
if (precedingNode
|
|
23442
|
+
if ((precedingNode === null || precedingNode === void 0 ? void 0 : precedingNode.type) === "FunctionTypeParam" && (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "FunctionTypeAnnotation" && (followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) !== "FunctionTypeParam") {
|
|
25458
23443
|
addTrailingComment(precedingNode, comment);
|
|
25459
23444
|
return true;
|
|
25460
23445
|
}
|
|
25461
|
-
if (precedingNode
|
|
23446
|
+
if (((precedingNode === null || precedingNode === void 0 ? void 0 : precedingNode.type) === "Identifier" || (precedingNode === null || precedingNode === void 0 ? void 0 : precedingNode.type) === "AssignmentPattern") && enclosingNode && isRealFunctionLikeNode(enclosingNode) && getNextNonSpaceNonCommentCharacter(text, comment, locEnd) === ")") {
|
|
25462
23447
|
addTrailingComment(precedingNode, comment);
|
|
25463
23448
|
return true;
|
|
25464
23449
|
}
|
|
25465
|
-
if (enclosingNode
|
|
23450
|
+
if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "FunctionDeclaration" && (followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) === "BlockStatement") {
|
|
25466
23451
|
const functionParamRightParenIndex = (() => {
|
|
25467
23452
|
const parameters = getFunctionParameters(enclosingNode);
|
|
25468
23453
|
if (parameters.length > 0) {
|
|
@@ -25478,21 +23463,11 @@ var require_comments2 = __commonJS2({
|
|
|
25478
23463
|
}
|
|
25479
23464
|
return false;
|
|
25480
23465
|
}
|
|
25481
|
-
function handleImportSpecifierComments({
|
|
25482
|
-
comment,
|
|
25483
|
-
enclosingNode
|
|
25484
|
-
}) {
|
|
25485
|
-
if (enclosingNode && enclosingNode.type === "ImportSpecifier") {
|
|
25486
|
-
addLeadingComment(enclosingNode, comment);
|
|
25487
|
-
return true;
|
|
25488
|
-
}
|
|
25489
|
-
return false;
|
|
25490
|
-
}
|
|
25491
23466
|
function handleLabeledStatementComments({
|
|
25492
23467
|
comment,
|
|
25493
23468
|
enclosingNode
|
|
25494
23469
|
}) {
|
|
25495
|
-
if (enclosingNode
|
|
23470
|
+
if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "LabeledStatement") {
|
|
25496
23471
|
addLeadingComment(enclosingNode, comment);
|
|
25497
23472
|
return true;
|
|
25498
23473
|
}
|
|
@@ -25502,7 +23477,7 @@ var require_comments2 = __commonJS2({
|
|
|
25502
23477
|
comment,
|
|
25503
23478
|
enclosingNode
|
|
25504
23479
|
}) {
|
|
25505
|
-
if (enclosingNode
|
|
23480
|
+
if (((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ContinueStatement" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "BreakStatement") && !enclosingNode.label) {
|
|
25506
23481
|
addTrailingComment(enclosingNode, comment);
|
|
25507
23482
|
return true;
|
|
25508
23483
|
}
|
|
@@ -25525,7 +23500,7 @@ var require_comments2 = __commonJS2({
|
|
|
25525
23500
|
enclosingNode,
|
|
25526
23501
|
followingNode
|
|
25527
23502
|
}) {
|
|
25528
|
-
if (enclosingNode
|
|
23503
|
+
if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "UnionTypeAnnotation" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "TSUnionType") {
|
|
25529
23504
|
if (isPrettierIgnoreComment(comment)) {
|
|
25530
23505
|
followingNode.prettierIgnore = true;
|
|
25531
23506
|
comment.unignore = true;
|
|
@@ -25536,7 +23511,7 @@ var require_comments2 = __commonJS2({
|
|
|
25536
23511
|
}
|
|
25537
23512
|
return false;
|
|
25538
23513
|
}
|
|
25539
|
-
if (followingNode
|
|
23514
|
+
if (((followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) === "UnionTypeAnnotation" || (followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) === "TSUnionType") && isPrettierIgnoreComment(comment)) {
|
|
25540
23515
|
followingNode.types[0].prettierIgnore = true;
|
|
25541
23516
|
comment.unignore = true;
|
|
25542
23517
|
}
|
|
@@ -25567,7 +23542,7 @@ var require_comments2 = __commonJS2({
|
|
|
25567
23542
|
}
|
|
25568
23543
|
return true;
|
|
25569
23544
|
}
|
|
25570
|
-
if (enclosingNode
|
|
23545
|
+
if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "Program" && (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.body.length) === 0 && !isNonEmptyArray(enclosingNode.directives)) {
|
|
25571
23546
|
if (isLastComment) {
|
|
25572
23547
|
addDanglingComment(enclosingNode, comment);
|
|
25573
23548
|
} else {
|
|
@@ -25575,7 +23550,7 @@ var require_comments2 = __commonJS2({
|
|
|
25575
23550
|
}
|
|
25576
23551
|
return true;
|
|
25577
23552
|
}
|
|
25578
|
-
if (followingNode
|
|
23553
|
+
if ((followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) === "Program" && (followingNode === null || followingNode === void 0 ? void 0 : followingNode.body.length) === 0 && (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ModuleExpression") {
|
|
25579
23554
|
addDanglingComment(followingNode, comment);
|
|
25580
23555
|
return true;
|
|
25581
23556
|
}
|
|
@@ -25585,19 +23560,25 @@ var require_comments2 = __commonJS2({
|
|
|
25585
23560
|
comment,
|
|
25586
23561
|
enclosingNode
|
|
25587
23562
|
}) {
|
|
25588
|
-
if (enclosingNode
|
|
23563
|
+
if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ForInStatement" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ForOfStatement") {
|
|
25589
23564
|
addLeadingComment(enclosingNode, comment);
|
|
25590
23565
|
return true;
|
|
25591
23566
|
}
|
|
25592
23567
|
return false;
|
|
25593
23568
|
}
|
|
25594
|
-
function
|
|
23569
|
+
function handleModuleSpecifiersComments({
|
|
25595
23570
|
comment,
|
|
25596
23571
|
precedingNode,
|
|
25597
23572
|
enclosingNode,
|
|
25598
23573
|
text
|
|
25599
23574
|
}) {
|
|
25600
|
-
if (
|
|
23575
|
+
if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ImportSpecifier" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ExportSpecifier") {
|
|
23576
|
+
addLeadingComment(enclosingNode, comment);
|
|
23577
|
+
return true;
|
|
23578
|
+
}
|
|
23579
|
+
const isImportDeclaration = (precedingNode === null || precedingNode === void 0 ? void 0 : precedingNode.type) === "ImportSpecifier" && (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ImportDeclaration";
|
|
23580
|
+
const isExportDeclaration = (precedingNode === null || precedingNode === void 0 ? void 0 : precedingNode.type) === "ExportSpecifier" && (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ExportNamedDeclaration";
|
|
23581
|
+
if ((isImportDeclaration || isExportDeclaration) && hasNewline(text, locEnd(comment))) {
|
|
25601
23582
|
addTrailingComment(precedingNode, comment);
|
|
25602
23583
|
return true;
|
|
25603
23584
|
}
|
|
@@ -25607,18 +23588,20 @@ var require_comments2 = __commonJS2({
|
|
|
25607
23588
|
comment,
|
|
25608
23589
|
enclosingNode
|
|
25609
23590
|
}) {
|
|
25610
|
-
if (enclosingNode
|
|
23591
|
+
if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "AssignmentPattern") {
|
|
25611
23592
|
addLeadingComment(enclosingNode, comment);
|
|
25612
23593
|
return true;
|
|
25613
23594
|
}
|
|
25614
23595
|
return false;
|
|
25615
23596
|
}
|
|
23597
|
+
var assignmentLikeNodeTypes = /* @__PURE__ */ new Set(["VariableDeclarator", "AssignmentExpression", "TypeAlias", "TSTypeAliasDeclaration"]);
|
|
23598
|
+
var complexExprNodeTypes = /* @__PURE__ */ new Set(["ObjectExpression", "ArrayExpression", "TemplateLiteral", "TaggedTemplateExpression", "ObjectTypeAnnotation", "TSTypeLiteral"]);
|
|
25616
23599
|
function handleVariableDeclaratorComments({
|
|
25617
23600
|
comment,
|
|
25618
23601
|
enclosingNode,
|
|
25619
23602
|
followingNode
|
|
25620
23603
|
}) {
|
|
25621
|
-
if (
|
|
23604
|
+
if (assignmentLikeNodeTypes.has(enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) && followingNode && (complexExprNodeTypes.has(followingNode.type) || isBlockComment(comment))) {
|
|
25622
23605
|
addLeadingComment(followingNode, comment);
|
|
25623
23606
|
return true;
|
|
25624
23607
|
}
|
|
@@ -25630,7 +23613,7 @@ var require_comments2 = __commonJS2({
|
|
|
25630
23613
|
followingNode,
|
|
25631
23614
|
text
|
|
25632
23615
|
}) {
|
|
25633
|
-
if (!followingNode && enclosingNode
|
|
23616
|
+
if (!followingNode && ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "TSMethodSignature" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "TSDeclareFunction" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "TSAbstractMethodDefinition") && getNextNonSpaceNonCommentCharacter(text, comment, locEnd) === ";") {
|
|
25634
23617
|
addTrailingComment(enclosingNode, comment);
|
|
25635
23618
|
return true;
|
|
25636
23619
|
}
|
|
@@ -25641,7 +23624,7 @@ var require_comments2 = __commonJS2({
|
|
|
25641
23624
|
enclosingNode,
|
|
25642
23625
|
followingNode
|
|
25643
23626
|
}) {
|
|
25644
|
-
if (isPrettierIgnoreComment(comment) && enclosingNode
|
|
23627
|
+
if (isPrettierIgnoreComment(comment) && (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "TSMappedType" && (followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) === "TSTypeParameter" && followingNode.constraint) {
|
|
25645
23628
|
enclosingNode.prettierIgnore = true;
|
|
25646
23629
|
comment.unignore = true;
|
|
25647
23630
|
return true;
|
|
@@ -25653,14 +23636,14 @@ var require_comments2 = __commonJS2({
|
|
|
25653
23636
|
enclosingNode,
|
|
25654
23637
|
followingNode
|
|
25655
23638
|
}) {
|
|
25656
|
-
if (
|
|
23639
|
+
if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) !== "TSMappedType") {
|
|
25657
23640
|
return false;
|
|
25658
23641
|
}
|
|
25659
|
-
if (followingNode
|
|
23642
|
+
if ((followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) === "TSTypeParameter" && followingNode.name) {
|
|
25660
23643
|
addLeadingComment(followingNode.name, comment);
|
|
25661
23644
|
return true;
|
|
25662
23645
|
}
|
|
25663
|
-
if (precedingNode
|
|
23646
|
+
if ((precedingNode === null || precedingNode === void 0 ? void 0 : precedingNode.type) === "TSTypeParameter" && precedingNode.constraint) {
|
|
25664
23647
|
addTrailingComment(precedingNode.constraint, comment);
|
|
25665
23648
|
return true;
|
|
25666
23649
|
}
|
|
@@ -26246,6 +24229,7 @@ var require_print_preprocess = __commonJS2({
|
|
|
26246
24229
|
case "json-stringify":
|
|
26247
24230
|
case "__js_expression":
|
|
26248
24231
|
case "__vue_expression":
|
|
24232
|
+
case "__vue_ts_expression":
|
|
26249
24233
|
return Object.assign(Object.assign({}, ast), {}, {
|
|
26250
24234
|
type: options.parser.startsWith("__") ? "JsExpressionRoot" : "JsonRoot",
|
|
26251
24235
|
node: ast,
|
|
@@ -28229,6 +26213,10 @@ var require_type_annotation = __commonJS2({
|
|
|
28229
26213
|
const leftDelimiter = node.type === "OptionalIndexedAccessType" && node.optional ? "?.[" : "[";
|
|
28230
26214
|
return [print("objectType"), leftDelimiter, print("indexType"), "]"];
|
|
28231
26215
|
}
|
|
26216
|
+
function printJSDocType(path, print, token) {
|
|
26217
|
+
const node = path.getValue();
|
|
26218
|
+
return [node.postfix ? "" : token, print("typeAnnotation"), node.postfix ? token : ""];
|
|
26219
|
+
}
|
|
28232
26220
|
module2.exports = {
|
|
28233
26221
|
printOpaqueType,
|
|
28234
26222
|
printTypeAlias,
|
|
@@ -28237,7 +26225,8 @@ var require_type_annotation = __commonJS2({
|
|
|
28237
26225
|
printFunctionType,
|
|
28238
26226
|
printTupleType,
|
|
28239
26227
|
printIndexedAccessType,
|
|
28240
|
-
shouldHugType
|
|
26228
|
+
shouldHugType,
|
|
26229
|
+
printJSDocType
|
|
28241
26230
|
};
|
|
28242
26231
|
}
|
|
28243
26232
|
});
|
|
@@ -28327,6 +26316,12 @@ var require_type_parameters = __commonJS2({
|
|
|
28327
26316
|
if (node.variance) {
|
|
28328
26317
|
parts.push(print("variance"));
|
|
28329
26318
|
}
|
|
26319
|
+
if (node.in) {
|
|
26320
|
+
parts.push("in ");
|
|
26321
|
+
}
|
|
26322
|
+
if (node.out) {
|
|
26323
|
+
parts.push("out ");
|
|
26324
|
+
}
|
|
28330
26325
|
parts.push(print("name"));
|
|
28331
26326
|
if (node.bound) {
|
|
28332
26327
|
parts.push(": ", print("bound"));
|
|
@@ -28346,7 +26341,7 @@ var require_type_parameters = __commonJS2({
|
|
|
28346
26341
|
};
|
|
28347
26342
|
}
|
|
28348
26343
|
});
|
|
28349
|
-
var
|
|
26344
|
+
var require_property = __commonJS2({
|
|
28350
26345
|
"src/language-js/print/property.js"(exports2, module2) {
|
|
28351
26346
|
"use strict";
|
|
28352
26347
|
var {
|
|
@@ -28464,7 +26459,7 @@ var require_function = __commonJS2({
|
|
|
28464
26459
|
} = require_function_parameters();
|
|
28465
26460
|
var {
|
|
28466
26461
|
printPropertyKey
|
|
28467
|
-
} =
|
|
26462
|
+
} = require_property();
|
|
28468
26463
|
var {
|
|
28469
26464
|
printFunctionTypeParameters
|
|
28470
26465
|
} = require_misc();
|
|
@@ -28822,7 +26817,7 @@ var require_class = __commonJS2({
|
|
|
28822
26817
|
} = require_misc();
|
|
28823
26818
|
var {
|
|
28824
26819
|
printPropertyKey
|
|
28825
|
-
} =
|
|
26820
|
+
} = require_property();
|
|
28826
26821
|
var {
|
|
28827
26822
|
printAssignment
|
|
28828
26823
|
} = require_assignment();
|
|
@@ -29474,7 +27469,7 @@ var require_flow = __commonJS2({
|
|
|
29474
27469
|
} = require_object();
|
|
29475
27470
|
var {
|
|
29476
27471
|
printPropertyKey
|
|
29477
|
-
} =
|
|
27472
|
+
} = require_property();
|
|
29478
27473
|
var {
|
|
29479
27474
|
printOptionalToken,
|
|
29480
27475
|
printTypeAnnotation,
|
|
@@ -30179,7 +28174,7 @@ var require_typescript = __commonJS2({
|
|
|
30179
28174
|
} = require_type_parameters();
|
|
30180
28175
|
var {
|
|
30181
28176
|
printPropertyKey
|
|
30182
|
-
} =
|
|
28177
|
+
} = require_property();
|
|
30183
28178
|
var {
|
|
30184
28179
|
printFunction,
|
|
30185
28180
|
printMethodInternal
|
|
@@ -30196,7 +28191,8 @@ var require_typescript = __commonJS2({
|
|
|
30196
28191
|
printUnionType,
|
|
30197
28192
|
printFunctionType,
|
|
30198
28193
|
printTupleType,
|
|
30199
|
-
printIndexedAccessType
|
|
28194
|
+
printIndexedAccessType,
|
|
28195
|
+
printJSDocType
|
|
30200
28196
|
} = require_type_annotation();
|
|
30201
28197
|
function printTypescript(path, options, print) {
|
|
30202
28198
|
const node = path.getValue();
|
|
@@ -30306,7 +28302,7 @@ var require_typescript = __commonJS2({
|
|
|
30306
28302
|
parts.push(print("parameter"));
|
|
30307
28303
|
return parts;
|
|
30308
28304
|
case "TSTypeQuery":
|
|
30309
|
-
return ["typeof ", print("exprName")];
|
|
28305
|
+
return ["typeof ", print("exprName"), print("typeParameters")];
|
|
30310
28306
|
case "TSIndexSignature": {
|
|
30311
28307
|
const parent = path.getParentNode();
|
|
30312
28308
|
const trailingComma = node.parameters.length > 1 ? ifBreak(shouldPrintComma(options) ? "," : "") : "";
|
|
@@ -30385,7 +28381,11 @@ var require_typescript = __commonJS2({
|
|
|
30385
28381
|
}
|
|
30386
28382
|
return parts;
|
|
30387
28383
|
case "TSEnumMember":
|
|
30388
|
-
|
|
28384
|
+
if (node.computed) {
|
|
28385
|
+
parts.push("[", print("id"), "]");
|
|
28386
|
+
} else {
|
|
28387
|
+
parts.push(print("id"));
|
|
28388
|
+
}
|
|
30389
28389
|
if (node.initializer) {
|
|
30390
28390
|
parts.push(" = ", print("initializer"));
|
|
30391
28391
|
}
|
|
@@ -30456,9 +28456,11 @@ var require_typescript = __commonJS2({
|
|
|
30456
28456
|
case "TSJSDocUnknownType":
|
|
30457
28457
|
return "?";
|
|
30458
28458
|
case "TSJSDocNullableType":
|
|
30459
|
-
return
|
|
28459
|
+
return printJSDocType(path, print, "?");
|
|
30460
28460
|
case "TSJSDocNonNullableType":
|
|
30461
|
-
return
|
|
28461
|
+
return printJSDocType(path, print, "!");
|
|
28462
|
+
case "TSInstantiationExpression":
|
|
28463
|
+
return [print("expression"), print("typeParameters")];
|
|
30462
28464
|
default:
|
|
30463
28465
|
throw new Error(`Unknown TypeScript node type: ${JSON.stringify(node.type)}.`);
|
|
30464
28466
|
}
|
|
@@ -30686,7 +28688,7 @@ var require_printer_estree = __commonJS2({
|
|
|
30686
28688
|
} = require_class();
|
|
30687
28689
|
var {
|
|
30688
28690
|
printProperty
|
|
30689
|
-
} =
|
|
28691
|
+
} = require_property();
|
|
30690
28692
|
var {
|
|
30691
28693
|
printFunction,
|
|
30692
28694
|
printArrowFunction,
|
|
@@ -30807,7 +28809,7 @@ var require_printer_estree = __commonJS2({
|
|
|
30807
28809
|
if (node.directive) {
|
|
30808
28810
|
return [printDirective(node.expression, options), semi];
|
|
30809
28811
|
}
|
|
30810
|
-
if (options.parser === "__vue_event_binding") {
|
|
28812
|
+
if (options.parser === "__vue_event_binding" || options.parser === "__vue_ts_event_binding") {
|
|
30811
28813
|
const parent = path.getParentNode();
|
|
30812
28814
|
if (parent.type === "Program" && parent.body.length === 1 && parent.body[0] === node) {
|
|
30813
28815
|
return [print("expression"), isVueEventBindingExpression(node.expression) ? ";" : ""];
|
|
@@ -31453,9 +29455,15 @@ var require_parsers = __commonJS2({
|
|
|
31453
29455
|
get __vue_expression() {
|
|
31454
29456
|
return require("./parser-babel.js").parsers.__vue_expression;
|
|
31455
29457
|
},
|
|
29458
|
+
get __vue_ts_expression() {
|
|
29459
|
+
return require("./parser-babel.js").parsers.__vue_ts_expression;
|
|
29460
|
+
},
|
|
31456
29461
|
get __vue_event_binding() {
|
|
31457
29462
|
return require("./parser-babel.js").parsers.__vue_event_binding;
|
|
31458
29463
|
},
|
|
29464
|
+
get __vue_ts_event_binding() {
|
|
29465
|
+
return require("./parser-babel.js").parsers.__vue_ts_event_binding;
|
|
29466
|
+
},
|
|
31459
29467
|
get flow() {
|
|
31460
29468
|
return require("./parser-flow.js").parsers.flow;
|
|
31461
29469
|
},
|
|
@@ -31500,7 +29508,7 @@ var require_JavaScript = __commonJS2({
|
|
|
31500
29508
|
codemirrorMimeType: "text/javascript",
|
|
31501
29509
|
color: "#f1e05a",
|
|
31502
29510
|
aliases: ["js", "node"],
|
|
31503
|
-
extensions: [".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".jsx", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"],
|
|
29511
|
+
extensions: [".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".javascript", ".jsb", ".jscad", ".jsfl", ".jslib", ".jsm", ".jspre", ".jss", ".jsx", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"],
|
|
31504
29512
|
filenames: ["Jakefile"],
|
|
31505
29513
|
interpreters: ["chakra", "d8", "gjs", "js", "node", "nodejs", "qjs", "rhino", "v8", "v8-shell"],
|
|
31506
29514
|
languageId: 183
|
|
@@ -31512,10 +29520,10 @@ var require_TypeScript = __commonJS2({
|
|
|
31512
29520
|
module2.exports = {
|
|
31513
29521
|
name: "TypeScript",
|
|
31514
29522
|
type: "programming",
|
|
31515
|
-
color: "#
|
|
29523
|
+
color: "#3178c6",
|
|
31516
29524
|
aliases: ["ts"],
|
|
31517
29525
|
interpreters: ["deno", "ts-node"],
|
|
31518
|
-
extensions: [".ts"],
|
|
29526
|
+
extensions: [".ts", ".cts", ".mts"],
|
|
31519
29527
|
tmScope: "source.ts",
|
|
31520
29528
|
aceMode: "typescript",
|
|
31521
29529
|
codemirrorMode: "javascript",
|
|
@@ -31529,6 +29537,7 @@ var require_TSX = __commonJS2({
|
|
|
31529
29537
|
module2.exports = {
|
|
31530
29538
|
name: "TSX",
|
|
31531
29539
|
type: "programming",
|
|
29540
|
+
color: "#3178c6",
|
|
31532
29541
|
group: "TypeScript",
|
|
31533
29542
|
extensions: [".tsx"],
|
|
31534
29543
|
tmScope: "source.tsx",
|
|
@@ -31544,12 +29553,14 @@ var require_JSON = __commonJS2({
|
|
|
31544
29553
|
module2.exports = {
|
|
31545
29554
|
name: "JSON",
|
|
31546
29555
|
type: "data",
|
|
29556
|
+
color: "#292929",
|
|
31547
29557
|
tmScope: "source.json",
|
|
31548
29558
|
aceMode: "json",
|
|
31549
29559
|
codemirrorMode: "javascript",
|
|
31550
29560
|
codemirrorMimeType: "application/json",
|
|
31551
|
-
|
|
31552
|
-
|
|
29561
|
+
aliases: ["geojson", "jsonl", "topojson"],
|
|
29562
|
+
extensions: [".json", ".4DForm", ".4DProject", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".JSON-tmLanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"],
|
|
29563
|
+
filenames: [".arcconfig", ".auto-changelog", ".c8rc", ".htmlhintrc", ".imgbotconfig", ".nycrc", ".tern-config", ".tern-project", ".watchmanconfig", "Pipfile.lock", "composer.lock", "mcmod.info"],
|
|
31553
29564
|
languageId: 174
|
|
31554
29565
|
};
|
|
31555
29566
|
}
|
|
@@ -31559,14 +29570,15 @@ var require_JSON_with_Comments = __commonJS2({
|
|
|
31559
29570
|
module2.exports = {
|
|
31560
29571
|
name: "JSON with Comments",
|
|
31561
29572
|
type: "data",
|
|
29573
|
+
color: "#292929",
|
|
31562
29574
|
group: "JSON",
|
|
31563
29575
|
tmScope: "source.js",
|
|
31564
29576
|
aceMode: "javascript",
|
|
31565
29577
|
codemirrorMode: "javascript",
|
|
31566
29578
|
codemirrorMimeType: "text/javascript",
|
|
31567
29579
|
aliases: ["jsonc"],
|
|
31568
|
-
extensions: [".jsonc", ".sublime-build", ".sublime-commands", ".sublime-completions", ".sublime-keymap", ".sublime-macro", ".sublime-menu", ".sublime-mousemap", ".sublime-project", ".sublime-settings", ".sublime-theme", ".sublime-workspace", ".sublime_metrics", ".sublime_session"],
|
|
31569
|
-
filenames: [".babelrc", ".eslintrc.json", ".jscsrc", ".jshintrc", ".jslintrc", "api-extractor.json", "devcontainer.json", "jsconfig.json", "language-configuration.json", "tsconfig.json", "tslint.json"],
|
|
29580
|
+
extensions: [".jsonc", ".code-snippets", ".sublime-build", ".sublime-commands", ".sublime-completions", ".sublime-keymap", ".sublime-macro", ".sublime-menu", ".sublime-mousemap", ".sublime-project", ".sublime-settings", ".sublime-theme", ".sublime-workspace", ".sublime_metrics", ".sublime_session"],
|
|
29581
|
+
filenames: [".babelrc", ".devcontainer.json", ".eslintrc.json", ".jscsrc", ".jshintrc", ".jslintrc", "api-extractor.json", "devcontainer.json", "jsconfig.json", "language-configuration.json", "tsconfig.json", "tslint.json"],
|
|
31570
29582
|
languageId: 423
|
|
31571
29583
|
};
|
|
31572
29584
|
}
|
|
@@ -31576,6 +29588,7 @@ var require_JSON5 = __commonJS2({
|
|
|
31576
29588
|
module2.exports = {
|
|
31577
29589
|
name: "JSON5",
|
|
31578
29590
|
type: "data",
|
|
29591
|
+
color: "#267CB9",
|
|
31579
29592
|
extensions: [".json5"],
|
|
31580
29593
|
tmScope: "source.js",
|
|
31581
29594
|
aceMode: "javascript",
|
|
@@ -31622,11 +29635,10 @@ var require_language_js = __commonJS2({
|
|
|
31622
29635
|
codemirrorMode: "jsx",
|
|
31623
29636
|
codemirrorMimeType: "text/jsx",
|
|
31624
29637
|
color: void 0
|
|
31625
|
-
})), createLanguage(require_TypeScript(), (
|
|
29638
|
+
})), createLanguage(require_TypeScript(), () => ({
|
|
31626
29639
|
since: "1.4.0",
|
|
31627
29640
|
parsers: ["typescript", "babel-ts"],
|
|
31628
|
-
vscodeLanguageIds: ["typescript"]
|
|
31629
|
-
extensions: [...data.extensions, ".mts", ".cts"]
|
|
29641
|
+
vscodeLanguageIds: ["typescript"]
|
|
31630
29642
|
})), createLanguage(require_TSX(), () => ({
|
|
31631
29643
|
since: "1.4.0",
|
|
31632
29644
|
parsers: ["typescript", "babel-ts"],
|
|
@@ -31636,7 +29648,7 @@ var require_language_js = __commonJS2({
|
|
|
31636
29648
|
since: "1.13.0",
|
|
31637
29649
|
parsers: ["json-stringify"],
|
|
31638
29650
|
vscodeLanguageIds: ["json"],
|
|
31639
|
-
extensions: [],
|
|
29651
|
+
extensions: [".importmap"],
|
|
31640
29652
|
filenames: ["package.json", "package-lock.json", "composer.json"]
|
|
31641
29653
|
})), createLanguage(require_JSON(), (data) => ({
|
|
31642
29654
|
since: "1.5.0",
|
|
@@ -31897,26 +29909,31 @@ var require_utils8 = __commonJS2({
|
|
|
31897
29909
|
return counter === -1 ? null : path.getParentNode(counter);
|
|
31898
29910
|
}
|
|
31899
29911
|
function getPropOfDeclNode(path) {
|
|
29912
|
+
var _declAncestorNode$pro;
|
|
31900
29913
|
const declAncestorNode = getAncestorNode(path, "css-decl");
|
|
31901
|
-
return declAncestorNode
|
|
29914
|
+
return declAncestorNode === null || declAncestorNode === void 0 ? void 0 : (_declAncestorNode$pro = declAncestorNode.prop) === null || _declAncestorNode$pro === void 0 ? void 0 : _declAncestorNode$pro.toLowerCase();
|
|
31902
29915
|
}
|
|
29916
|
+
var wideKeywords = /* @__PURE__ */ new Set(["initial", "inherit", "unset", "revert"]);
|
|
31903
29917
|
function isWideKeywords(value) {
|
|
31904
|
-
return
|
|
29918
|
+
return wideKeywords.has(value.toLowerCase());
|
|
31905
29919
|
}
|
|
31906
29920
|
function isKeyframeAtRuleKeywords(path, value) {
|
|
31907
29921
|
const atRuleAncestorNode = getAncestorNode(path, "css-atrule");
|
|
31908
|
-
return atRuleAncestorNode
|
|
29922
|
+
return (atRuleAncestorNode === null || atRuleAncestorNode === void 0 ? void 0 : atRuleAncestorNode.name) && atRuleAncestorNode.name.toLowerCase().endsWith("keyframes") && ["from", "to"].includes(value.toLowerCase());
|
|
31909
29923
|
}
|
|
31910
29924
|
function maybeToLowerCase(value) {
|
|
31911
29925
|
return value.includes("$") || value.includes("@") || value.includes("#") || value.startsWith("%") || value.startsWith("--") || value.startsWith(":--") || value.includes("(") && value.includes(")") ? value : value.toLowerCase();
|
|
31912
29926
|
}
|
|
31913
29927
|
function insideValueFunctionNode(path, functionName) {
|
|
29928
|
+
var _funcAncestorNode$val;
|
|
31914
29929
|
const funcAncestorNode = getAncestorNode(path, "value-func");
|
|
31915
|
-
return funcAncestorNode
|
|
29930
|
+
return (funcAncestorNode === null || funcAncestorNode === void 0 ? void 0 : (_funcAncestorNode$val = funcAncestorNode.value) === null || _funcAncestorNode$val === void 0 ? void 0 : _funcAncestorNode$val.toLowerCase()) === functionName;
|
|
31916
29931
|
}
|
|
31917
29932
|
function insideICSSRuleNode(path) {
|
|
29933
|
+
var _ruleAncestorNode$raw;
|
|
31918
29934
|
const ruleAncestorNode = getAncestorNode(path, "css-rule");
|
|
31919
|
-
|
|
29935
|
+
const selector = ruleAncestorNode === null || ruleAncestorNode === void 0 ? void 0 : (_ruleAncestorNode$raw = ruleAncestorNode.raws) === null || _ruleAncestorNode$raw === void 0 ? void 0 : _ruleAncestorNode$raw.selector;
|
|
29936
|
+
return selector && (selector.startsWith(":import") || selector.startsWith(":export"));
|
|
31920
29937
|
}
|
|
31921
29938
|
function insideAtRuleNode(path, atRuleNameOrAtRuleNames) {
|
|
31922
29939
|
const atRuleNames = Array.isArray(atRuleNameOrAtRuleNames) ? atRuleNameOrAtRuleNames : [atRuleNameOrAtRuleNames];
|
|
@@ -31926,26 +29943,24 @@ var require_utils8 = __commonJS2({
|
|
|
31926
29943
|
function insideURLFunctionInImportAtRuleNode(path) {
|
|
31927
29944
|
const node = path.getValue();
|
|
31928
29945
|
const atRuleAncestorNode = getAncestorNode(path, "css-atrule");
|
|
31929
|
-
return atRuleAncestorNode
|
|
29946
|
+
return (atRuleAncestorNode === null || atRuleAncestorNode === void 0 ? void 0 : atRuleAncestorNode.name) === "import" && node.groups[0].value === "url" && node.groups.length === 2;
|
|
31930
29947
|
}
|
|
31931
29948
|
function isURLFunctionNode(node) {
|
|
31932
29949
|
return node.type === "value-func" && node.value.toLowerCase() === "url";
|
|
31933
29950
|
}
|
|
31934
29951
|
function isLastNode(path, node) {
|
|
31935
|
-
|
|
31936
|
-
|
|
31937
|
-
return false;
|
|
31938
|
-
}
|
|
31939
|
-
const {
|
|
31940
|
-
nodes
|
|
31941
|
-
} = parentNode;
|
|
29952
|
+
var _path$getParentNode;
|
|
29953
|
+
const nodes = (_path$getParentNode = path.getParentNode()) === null || _path$getParentNode === void 0 ? void 0 : _path$getParentNode.nodes;
|
|
31942
29954
|
return nodes && nodes.indexOf(node) === nodes.length - 1;
|
|
31943
29955
|
}
|
|
31944
29956
|
function isDetachedRulesetDeclarationNode(node) {
|
|
31945
|
-
|
|
29957
|
+
const {
|
|
29958
|
+
selector
|
|
29959
|
+
} = node;
|
|
29960
|
+
if (!selector) {
|
|
31946
29961
|
return false;
|
|
31947
29962
|
}
|
|
31948
|
-
return typeof
|
|
29963
|
+
return typeof selector === "string" && /^@.+:.*$/.test(selector) || selector.value && /^@.+:.*$/.test(selector.value);
|
|
31949
29964
|
}
|
|
31950
29965
|
function isForKeywordNode(node) {
|
|
31951
29966
|
return node.type === "value-word" && ["from", "through", "end"].includes(node.value);
|
|
@@ -31984,7 +29999,8 @@ var require_utils8 = __commonJS2({
|
|
|
31984
29999
|
return node.type === "css-atrule" && ["if", "else", "for", "each", "while"].includes(node.name);
|
|
31985
30000
|
}
|
|
31986
30001
|
function isDetachedRulesetCallNode(node) {
|
|
31987
|
-
|
|
30002
|
+
var _node$raws;
|
|
30003
|
+
return ((_node$raws = node.raws) === null || _node$raws === void 0 ? void 0 : _node$raws.params) && /^\(\s*\)$/.test(node.raws.params);
|
|
31988
30004
|
}
|
|
31989
30005
|
function isTemplatePlaceholderNode(node) {
|
|
31990
30006
|
return node.name.startsWith("prettier-placeholder");
|
|
@@ -31993,24 +30009,30 @@ var require_utils8 = __commonJS2({
|
|
|
31993
30009
|
return node.prop.startsWith("@prettier-placeholder");
|
|
31994
30010
|
}
|
|
31995
30011
|
function isPostcssSimpleVarNode(currentNode, nextNode) {
|
|
31996
|
-
return currentNode.value === "$$" && currentNode.type === "value-func" && nextNode
|
|
30012
|
+
return currentNode.value === "$$" && currentNode.type === "value-func" && (nextNode === null || nextNode === void 0 ? void 0 : nextNode.type) === "value-word" && !nextNode.raws.before;
|
|
31997
30013
|
}
|
|
31998
30014
|
function hasComposesNode(node) {
|
|
31999
|
-
|
|
30015
|
+
var _node$value, _node$value$group;
|
|
30016
|
+
return ((_node$value = node.value) === null || _node$value === void 0 ? void 0 : _node$value.type) === "value-root" && ((_node$value$group = node.value.group) === null || _node$value$group === void 0 ? void 0 : _node$value$group.type) === "value-value" && node.prop.toLowerCase() === "composes";
|
|
32000
30017
|
}
|
|
32001
30018
|
function hasParensAroundNode(node) {
|
|
32002
|
-
|
|
30019
|
+
var _node$value2, _node$value2$group, _node$value2$group$gr;
|
|
30020
|
+
return ((_node$value2 = node.value) === null || _node$value2 === void 0 ? void 0 : (_node$value2$group = _node$value2.group) === null || _node$value2$group === void 0 ? void 0 : (_node$value2$group$gr = _node$value2$group.group) === null || _node$value2$group$gr === void 0 ? void 0 : _node$value2$group$gr.type) === "value-paren_group" && node.value.group.group.open !== null && node.value.group.group.close !== null;
|
|
32003
30021
|
}
|
|
32004
30022
|
function hasEmptyRawBefore(node) {
|
|
32005
|
-
|
|
30023
|
+
var _node$raws2;
|
|
30024
|
+
return ((_node$raws2 = node.raws) === null || _node$raws2 === void 0 ? void 0 : _node$raws2.before) === "";
|
|
32006
30025
|
}
|
|
32007
30026
|
function isKeyValuePairNode(node) {
|
|
32008
|
-
|
|
30027
|
+
var _node$groups, _node$groups$;
|
|
30028
|
+
return node.type === "value-comma_group" && ((_node$groups = node.groups) === null || _node$groups === void 0 ? void 0 : (_node$groups$ = _node$groups[1]) === null || _node$groups$ === void 0 ? void 0 : _node$groups$.type) === "value-colon";
|
|
32009
30029
|
}
|
|
32010
30030
|
function isKeyValuePairInParenGroupNode(node) {
|
|
32011
|
-
|
|
30031
|
+
var _node$groups2;
|
|
30032
|
+
return node.type === "value-paren_group" && ((_node$groups2 = node.groups) === null || _node$groups2 === void 0 ? void 0 : _node$groups2[0]) && isKeyValuePairNode(node.groups[0]);
|
|
32012
30033
|
}
|
|
32013
30034
|
function isSCSSMapItemNode(path) {
|
|
30035
|
+
var _declNode$prop;
|
|
32014
30036
|
const node = path.getValue();
|
|
32015
30037
|
if (node.groups.length === 0) {
|
|
32016
30038
|
return false;
|
|
@@ -32020,7 +30042,7 @@ var require_utils8 = __commonJS2({
|
|
|
32020
30042
|
return false;
|
|
32021
30043
|
}
|
|
32022
30044
|
const declNode = getAncestorNode(path, "css-decl");
|
|
32023
|
-
if (declNode && declNode
|
|
30045
|
+
if (declNode !== null && declNode !== void 0 && (_declNode$prop = declNode.prop) !== null && _declNode$prop !== void 0 && _declNode$prop.startsWith("$")) {
|
|
32024
30046
|
return true;
|
|
32025
30047
|
}
|
|
32026
30048
|
if (isKeyValuePairInParenGroupNode(parentParentNode)) {
|
|
@@ -32047,7 +30069,7 @@ var require_utils8 = __commonJS2({
|
|
|
32047
30069
|
return ["value-word", "value-atword"].includes(node.type);
|
|
32048
30070
|
}
|
|
32049
30071
|
function isColonNode(node) {
|
|
32050
|
-
return node
|
|
30072
|
+
return (node === null || node === void 0 ? void 0 : node.type) === "value-colon";
|
|
32051
30073
|
}
|
|
32052
30074
|
function isKeyInValuePairNode(node, parentNode) {
|
|
32053
30075
|
if (!isKeyValuePairNode(parentNode)) {
|
|
@@ -32075,23 +30097,25 @@ var require_utils8 = __commonJS2({
|
|
|
32075
30097
|
return /\/\//.test(text.split(/[\n\r]/).pop());
|
|
32076
30098
|
}
|
|
32077
30099
|
function isAtWordPlaceholderNode(node) {
|
|
32078
|
-
return node
|
|
30100
|
+
return (node === null || node === void 0 ? void 0 : node.type) === "value-atword" && node.value.startsWith("prettier-placeholder-");
|
|
32079
30101
|
}
|
|
32080
30102
|
function isConfigurationNode(node, parentNode) {
|
|
32081
|
-
|
|
30103
|
+
var _node$open, _node$close;
|
|
30104
|
+
if (((_node$open = node.open) === null || _node$open === void 0 ? void 0 : _node$open.value) !== "(" || ((_node$close = node.close) === null || _node$close === void 0 ? void 0 : _node$close.value) !== ")" || node.groups.some((group) => group.type !== "value-comma_group")) {
|
|
32082
30105
|
return false;
|
|
32083
30106
|
}
|
|
32084
30107
|
if (parentNode.type === "value-comma_group") {
|
|
32085
30108
|
const prevIdx = parentNode.groups.indexOf(node) - 1;
|
|
32086
30109
|
const maybeWithNode = parentNode.groups[prevIdx];
|
|
32087
|
-
if (maybeWithNode
|
|
30110
|
+
if ((maybeWithNode === null || maybeWithNode === void 0 ? void 0 : maybeWithNode.type) === "value-word" && maybeWithNode.value === "with") {
|
|
32088
30111
|
return true;
|
|
32089
30112
|
}
|
|
32090
30113
|
}
|
|
32091
30114
|
return false;
|
|
32092
30115
|
}
|
|
32093
30116
|
function isParenGroupNode(node) {
|
|
32094
|
-
|
|
30117
|
+
var _node$open2, _node$close2;
|
|
30118
|
+
return node.type === "value-paren_group" && ((_node$open2 = node.open) === null || _node$open2 === void 0 ? void 0 : _node$open2.value) === "(" && ((_node$close2 = node.close) === null || _node$close2 === void 0 ? void 0 : _node$close2.value) === ")";
|
|
32095
30119
|
}
|
|
32096
30120
|
module2.exports = {
|
|
32097
30121
|
getAncestorCounter,
|
|
@@ -32370,11 +30394,29 @@ var require_css_units_evaluate = __commonJS2({
|
|
|
32370
30394
|
lh: "lh",
|
|
32371
30395
|
rlh: "rlh",
|
|
32372
30396
|
vw: "vw",
|
|
30397
|
+
svw: "svw",
|
|
30398
|
+
lvw: "lvw",
|
|
30399
|
+
dvw: "dvw",
|
|
32373
30400
|
vh: "vh",
|
|
30401
|
+
svh: "svh",
|
|
30402
|
+
lvh: "lvh",
|
|
30403
|
+
dvh: "dvh",
|
|
32374
30404
|
vi: "vi",
|
|
30405
|
+
svi: "svi",
|
|
30406
|
+
lvi: "lvi",
|
|
30407
|
+
dvi: "dvi",
|
|
32375
30408
|
vb: "vb",
|
|
30409
|
+
svb: "svb",
|
|
30410
|
+
lvb: "lvb",
|
|
30411
|
+
dvb: "dvb",
|
|
32376
30412
|
vmin: "vmin",
|
|
30413
|
+
svmin: "svmin",
|
|
30414
|
+
lvmin: "lvmin",
|
|
30415
|
+
dvmin: "dvmin",
|
|
32377
30416
|
vmax: "vmax",
|
|
30417
|
+
svmax: "svmax",
|
|
30418
|
+
lvmax: "lvmax",
|
|
30419
|
+
dvmax: "dvmax",
|
|
32378
30420
|
cm: "cm",
|
|
32379
30421
|
mm: "mm",
|
|
32380
30422
|
q: "Q",
|
|
@@ -32845,8 +30887,11 @@ var require_printer_postcss = __commonJS2({
|
|
|
32845
30887
|
parts[1] = group(parts[1]);
|
|
32846
30888
|
return group(dedent(printed2));
|
|
32847
30889
|
}
|
|
32848
|
-
if (!isLast && child.type === "value-comma_group" &&
|
|
32849
|
-
|
|
30890
|
+
if (!isLast && child.type === "value-comma_group" && isNonEmptyArray(child.groups)) {
|
|
30891
|
+
const last = getLast(child.groups);
|
|
30892
|
+
if (last.source && isNextLineEmpty(options.originalText, last, locEnd)) {
|
|
30893
|
+
printed2.push(hardline);
|
|
30894
|
+
}
|
|
32850
30895
|
}
|
|
32851
30896
|
return printed2;
|
|
32852
30897
|
}, "groups"))]), ifBreak(!isLastItemComment && isSCSS(options.parser, options.originalText) && isSCSSMapItem && shouldPrintComma(options) ? "," : ""), softline, node.close ? print("close") : ""], {
|
|
@@ -32993,6 +31038,7 @@ var require_PostCSS = __commonJS2({
|
|
|
32993
31038
|
module2.exports = {
|
|
32994
31039
|
name: "PostCSS",
|
|
32995
31040
|
type: "markup",
|
|
31041
|
+
color: "#dc3a0c",
|
|
32996
31042
|
tmScope: "source.postcss",
|
|
32997
31043
|
group: "CSS",
|
|
32998
31044
|
extensions: [".pcss", ".postcss"],
|
|
@@ -33007,6 +31053,7 @@ var require_Less = __commonJS2({
|
|
|
33007
31053
|
name: "Less",
|
|
33008
31054
|
type: "markup",
|
|
33009
31055
|
color: "#1d365d",
|
|
31056
|
+
aliases: ["less-css"],
|
|
33010
31057
|
extensions: [".less"],
|
|
33011
31058
|
tmScope: "source.css.less",
|
|
33012
31059
|
aceMode: "less",
|
|
@@ -33102,14 +31149,18 @@ var require_clean3 = __commonJS2({
|
|
|
33102
31149
|
}
|
|
33103
31150
|
});
|
|
33104
31151
|
var require_html_void_elements = __commonJS2({
|
|
33105
|
-
"
|
|
33106
|
-
module2.exports =
|
|
31152
|
+
"vendors/html-void-elements.json"(exports2, module2) {
|
|
31153
|
+
module2.exports = {
|
|
31154
|
+
htmlVoidElements: ["area", "base", "basefont", "bgsound", "br", "col", "command", "embed", "frame", "hr", "image", "img", "input", "isindex", "keygen", "link", "menuitem", "meta", "nextid", "param", "source", "track", "wbr"]
|
|
31155
|
+
};
|
|
33107
31156
|
}
|
|
33108
31157
|
});
|
|
33109
31158
|
var require_utils9 = __commonJS2({
|
|
33110
31159
|
"src/language-handlebars/utils.js"(exports2, module2) {
|
|
33111
31160
|
"use strict";
|
|
33112
|
-
var
|
|
31161
|
+
var {
|
|
31162
|
+
htmlVoidElements
|
|
31163
|
+
} = require_html_void_elements();
|
|
33113
31164
|
var getLast = require_get_last();
|
|
33114
31165
|
function isLastNodeOfSiblings(path) {
|
|
33115
31166
|
const node = path.getValue();
|
|
@@ -33126,11 +31177,11 @@ var require_utils9 = __commonJS2({
|
|
|
33126
31177
|
return string.toUpperCase() === string;
|
|
33127
31178
|
}
|
|
33128
31179
|
function isGlimmerComponent(node) {
|
|
33129
|
-
return isNodeOfSomeType(node, ["ElementNode"]) && typeof node.tag === "string" && node.tag
|
|
31180
|
+
return isNodeOfSomeType(node, ["ElementNode"]) && typeof node.tag === "string" && !node.tag.startsWith(":") && (isUppercase(node.tag[0]) || node.tag.includes("."));
|
|
33130
31181
|
}
|
|
33131
31182
|
var voidTags = new Set(htmlVoidElements);
|
|
33132
31183
|
function isVoid(node) {
|
|
33133
|
-
return isGlimmerComponent(node) && node.children.every((node2) => isWhitespaceNode(node2))
|
|
31184
|
+
return voidTags.has(node.tag) || isGlimmerComponent(node) && node.children.every((node2) => isWhitespaceNode(node2));
|
|
33134
31185
|
}
|
|
33135
31186
|
function isWhitespaceNode(node) {
|
|
33136
31187
|
return isNodeOfSomeType(node, ["TextNode"]) && !/\S/.test(node.chars);
|
|
@@ -33151,9 +31202,10 @@ var require_utils9 = __commonJS2({
|
|
|
33151
31202
|
return isNodeOfSomeType(nextNode, types);
|
|
33152
31203
|
}
|
|
33153
31204
|
function getSiblingNode(path, offset) {
|
|
31205
|
+
var _path$getParentNode2, _ref7, _ref8, _parentNode$children;
|
|
33154
31206
|
const node = path.getValue();
|
|
33155
|
-
const parentNode = path.getParentNode(0)
|
|
33156
|
-
const children = parentNode.children
|
|
31207
|
+
const parentNode = (_path$getParentNode2 = path.getParentNode(0)) !== null && _path$getParentNode2 !== void 0 ? _path$getParentNode2 : {};
|
|
31208
|
+
const children = (_ref7 = (_ref8 = (_parentNode$children = parentNode.children) !== null && _parentNode$children !== void 0 ? _parentNode$children : parentNode.body) !== null && _ref8 !== void 0 ? _ref8 : parentNode.parts) !== null && _ref7 !== void 0 ? _ref7 : [];
|
|
33157
31209
|
const index = children.indexOf(node);
|
|
33158
31210
|
return index !== -1 && children[index + offset];
|
|
33159
31211
|
}
|
|
@@ -33629,12 +31681,12 @@ var require_printer_glimmer = __commonJS2({
|
|
|
33629
31681
|
return false;
|
|
33630
31682
|
}
|
|
33631
31683
|
function printSubExpressionPathAndParams(path, print2) {
|
|
33632
|
-
const
|
|
31684
|
+
const printed = printPath(path, print2);
|
|
33633
31685
|
const params = printParams(path, print2);
|
|
33634
31686
|
if (!params) {
|
|
33635
|
-
return
|
|
31687
|
+
return printed;
|
|
33636
31688
|
}
|
|
33637
|
-
return indent([
|
|
31689
|
+
return indent([printed, line, group(params)]);
|
|
33638
31690
|
}
|
|
33639
31691
|
function printPathAndParams(path, print2) {
|
|
33640
31692
|
const p = printPath(path, print2);
|
|
@@ -33809,17 +31861,24 @@ var require_printer_graphql = __commonJS2({
|
|
|
33809
31861
|
return ["fragment ", print("name"), isNonEmptyArray(node.variableDefinitions) ? group(["(", indent([softline, join([ifBreak("", ", "), softline], path.map(print, "variableDefinitions"))]), softline, ")"]) : "", " on ", print("typeCondition"), printDirectives(path, print, node), " ", print("selectionSet")];
|
|
33810
31862
|
}
|
|
33811
31863
|
case "SelectionSet": {
|
|
33812
|
-
return ["{", indent([hardline, join(hardline,
|
|
31864
|
+
return ["{", indent([hardline, join(hardline, printSequence(path, options, print, "selections"))]), hardline, "}"];
|
|
33813
31865
|
}
|
|
33814
31866
|
case "Field": {
|
|
33815
|
-
return group([node.alias ? [print("alias"), ": "] : "", print("name"), node.arguments.length > 0 ? group(["(", indent([softline, join([ifBreak("", ", "), softline],
|
|
31867
|
+
return group([node.alias ? [print("alias"), ": "] : "", print("name"), node.arguments.length > 0 ? group(["(", indent([softline, join([ifBreak("", ", "), softline], printSequence(path, options, print, "arguments"))]), softline, ")"]) : "", printDirectives(path, print, node), node.selectionSet ? " " : "", print("selectionSet")]);
|
|
33816
31868
|
}
|
|
33817
31869
|
case "Name": {
|
|
33818
31870
|
return node.value;
|
|
33819
31871
|
}
|
|
33820
31872
|
case "StringValue": {
|
|
33821
31873
|
if (node.block) {
|
|
33822
|
-
|
|
31874
|
+
const lines = node.value.replace(/"""/g, "\\$&").split("\n");
|
|
31875
|
+
if (lines.length === 1) {
|
|
31876
|
+
lines[0] = lines[0].trim();
|
|
31877
|
+
}
|
|
31878
|
+
if (lines.every((line2) => line2 === "")) {
|
|
31879
|
+
lines.length = 0;
|
|
31880
|
+
}
|
|
31881
|
+
return join(hardline, ['"""', ...lines, '"""']);
|
|
33823
31882
|
}
|
|
33824
31883
|
return ['"', node.value.replace(/["\\]/g, "\\$&").replace(/\n/g, "\\n"), '"'];
|
|
33825
31884
|
}
|
|
@@ -33848,7 +31907,7 @@ var require_printer_graphql = __commonJS2({
|
|
|
33848
31907
|
return [print("name"), ": ", print("value")];
|
|
33849
31908
|
}
|
|
33850
31909
|
case "Directive": {
|
|
33851
|
-
return ["@", print("name"), node.arguments.length > 0 ? group(["(", indent([softline, join([ifBreak("", ", "), softline],
|
|
31910
|
+
return ["@", print("name"), node.arguments.length > 0 ? group(["(", indent([softline, join([ifBreak("", ", "), softline], printSequence(path, options, print, "arguments"))]), softline, ")"]) : ""];
|
|
33852
31911
|
}
|
|
33853
31912
|
case "NamedType": {
|
|
33854
31913
|
return print("name");
|
|
@@ -33858,17 +31917,17 @@ var require_printer_graphql = __commonJS2({
|
|
|
33858
31917
|
}
|
|
33859
31918
|
case "ObjectTypeExtension":
|
|
33860
31919
|
case "ObjectTypeDefinition": {
|
|
33861
|
-
return [print("description"), node.description ? hardline : "", node.kind === "ObjectTypeExtension" ? "extend " : "", "type ", print("name"), node.interfaces.length > 0 ? [" implements ", ...printInterfaces(path, options, print)] : "", printDirectives(path, print, node), node.fields.length > 0 ? [" {", indent([hardline, join(hardline,
|
|
31920
|
+
return [print("description"), node.description ? hardline : "", node.kind === "ObjectTypeExtension" ? "extend " : "", "type ", print("name"), node.interfaces.length > 0 ? [" implements ", ...printInterfaces(path, options, print)] : "", printDirectives(path, print, node), node.fields.length > 0 ? [" {", indent([hardline, join(hardline, printSequence(path, options, print, "fields"))]), hardline, "}"] : ""];
|
|
33862
31921
|
}
|
|
33863
31922
|
case "FieldDefinition": {
|
|
33864
|
-
return [print("description"), node.description ? hardline : "", print("name"), node.arguments.length > 0 ? group(["(", indent([softline, join([ifBreak("", ", "), softline],
|
|
31923
|
+
return [print("description"), node.description ? hardline : "", print("name"), node.arguments.length > 0 ? group(["(", indent([softline, join([ifBreak("", ", "), softline], printSequence(path, options, print, "arguments"))]), softline, ")"]) : "", ": ", print("type"), printDirectives(path, print, node)];
|
|
33865
31924
|
}
|
|
33866
31925
|
case "DirectiveDefinition": {
|
|
33867
|
-
return [print("description"), node.description ? hardline : "", "directive ", "@", print("name"), node.arguments.length > 0 ? group(["(", indent([softline, join([ifBreak("", ", "), softline],
|
|
31926
|
+
return [print("description"), node.description ? hardline : "", "directive ", "@", print("name"), node.arguments.length > 0 ? group(["(", indent([softline, join([ifBreak("", ", "), softline], printSequence(path, options, print, "arguments"))]), softline, ")"]) : "", node.repeatable ? " repeatable" : "", " on ", join(" | ", path.map(print, "locations"))];
|
|
33868
31927
|
}
|
|
33869
31928
|
case "EnumTypeExtension":
|
|
33870
31929
|
case "EnumTypeDefinition": {
|
|
33871
|
-
return [print("description"), node.description ? hardline : "", node.kind === "EnumTypeExtension" ? "extend " : "", "enum ", print("name"), printDirectives(path, print, node), node.values.length > 0 ? [" {", indent([hardline, join(hardline,
|
|
31930
|
+
return [print("description"), node.description ? hardline : "", node.kind === "EnumTypeExtension" ? "extend " : "", "enum ", print("name"), printDirectives(path, print, node), node.values.length > 0 ? [" {", indent([hardline, join(hardline, printSequence(path, options, print, "values"))]), hardline, "}"] : ""];
|
|
33872
31931
|
}
|
|
33873
31932
|
case "EnumValueDefinition": {
|
|
33874
31933
|
return [print("description"), node.description ? hardline : "", print("name"), printDirectives(path, print, node)];
|
|
@@ -33878,17 +31937,20 @@ var require_printer_graphql = __commonJS2({
|
|
|
33878
31937
|
}
|
|
33879
31938
|
case "InputObjectTypeExtension":
|
|
33880
31939
|
case "InputObjectTypeDefinition": {
|
|
33881
|
-
return [print("description"), node.description ? hardline : "", node.kind === "InputObjectTypeExtension" ? "extend " : "", "input ", print("name"), printDirectives(path, print, node), node.fields.length > 0 ? [" {", indent([hardline, join(hardline,
|
|
31940
|
+
return [print("description"), node.description ? hardline : "", node.kind === "InputObjectTypeExtension" ? "extend " : "", "input ", print("name"), printDirectives(path, print, node), node.fields.length > 0 ? [" {", indent([hardline, join(hardline, printSequence(path, options, print, "fields"))]), hardline, "}"] : ""];
|
|
31941
|
+
}
|
|
31942
|
+
case "SchemaExtension": {
|
|
31943
|
+
return ["extend schema", printDirectives(path, print, node), ...node.operationTypes.length > 0 ? [" {", indent([hardline, join(hardline, printSequence(path, options, print, "operationTypes"))]), hardline, "}"] : []];
|
|
33882
31944
|
}
|
|
33883
31945
|
case "SchemaDefinition": {
|
|
33884
|
-
return [print("description"), node.description ? hardline : "", "schema", printDirectives(path, print, node), " {", node.operationTypes.length > 0 ? indent([hardline, join(hardline,
|
|
31946
|
+
return [print("description"), node.description ? hardline : "", "schema", printDirectives(path, print, node), " {", node.operationTypes.length > 0 ? indent([hardline, join(hardline, printSequence(path, options, print, "operationTypes"))]) : "", hardline, "}"];
|
|
33885
31947
|
}
|
|
33886
31948
|
case "OperationTypeDefinition": {
|
|
33887
31949
|
return [print("operation"), ": ", print("type")];
|
|
33888
31950
|
}
|
|
33889
31951
|
case "InterfaceTypeExtension":
|
|
33890
31952
|
case "InterfaceTypeDefinition": {
|
|
33891
|
-
return [print("description"), node.description ? hardline : "", node.kind === "InterfaceTypeExtension" ? "extend " : "", "interface ", print("name"), node.interfaces.length > 0 ? [" implements ", ...printInterfaces(path, options, print)] : "", printDirectives(path, print, node), node.fields.length > 0 ? [" {", indent([hardline, join(hardline,
|
|
31953
|
+
return [print("description"), node.description ? hardline : "", node.kind === "InterfaceTypeExtension" ? "extend " : "", "interface ", print("name"), node.interfaces.length > 0 ? [" implements ", ...printInterfaces(path, options, print)] : "", printDirectives(path, print, node), node.fields.length > 0 ? [" {", indent([hardline, join(hardline, printSequence(path, options, print, "fields"))]), hardline, "}"] : ""];
|
|
33892
31954
|
}
|
|
33893
31955
|
case "FragmentSpread": {
|
|
33894
31956
|
return ["...", print("name"), printDirectives(path, print, node)];
|
|
@@ -33924,15 +31986,14 @@ var require_printer_graphql = __commonJS2({
|
|
|
33924
31986
|
}
|
|
33925
31987
|
return [" ", group(indent([softline, printed]))];
|
|
33926
31988
|
}
|
|
33927
|
-
function printSequence(
|
|
33928
|
-
|
|
33929
|
-
return sequencePath.map((path, i) => {
|
|
31989
|
+
function printSequence(path, options, print, property) {
|
|
31990
|
+
return path.map((path2, index, sequence) => {
|
|
33930
31991
|
const printed = print();
|
|
33931
|
-
if (isNextLineEmpty(options.originalText,
|
|
31992
|
+
if (index < sequence.length - 1 && isNextLineEmpty(options.originalText, path2.getValue(), locEnd)) {
|
|
33932
31993
|
return [printed, hardline];
|
|
33933
31994
|
}
|
|
33934
31995
|
return printed;
|
|
33935
|
-
});
|
|
31996
|
+
}, property);
|
|
33936
31997
|
}
|
|
33937
31998
|
function canAttachComment(node) {
|
|
33938
31999
|
return node.kind && node.kind !== "Comment";
|
|
@@ -33964,12 +32025,16 @@ var require_printer_graphql = __commonJS2({
|
|
|
33964
32025
|
}
|
|
33965
32026
|
return parts;
|
|
33966
32027
|
}
|
|
33967
|
-
function clean() {
|
|
32028
|
+
function clean(node, newNode) {
|
|
32029
|
+
if (node.kind === "StringValue" && node.block && !node.value.includes("\n")) {
|
|
32030
|
+
newNode.value = newNode.value.trim();
|
|
32031
|
+
}
|
|
33968
32032
|
}
|
|
33969
32033
|
clean.ignoredProperties = /* @__PURE__ */ new Set(["loc", "comments"]);
|
|
33970
32034
|
function hasPrettierIgnore(path) {
|
|
32035
|
+
var _node$comments;
|
|
33971
32036
|
const node = path.getValue();
|
|
33972
|
-
return node
|
|
32037
|
+
return node === null || node === void 0 ? void 0 : (_node$comments = node.comments) === null || _node$comments === void 0 ? void 0 : _node$comments.some((comment) => comment.value.trim() === "prettier-ignore");
|
|
33973
32038
|
}
|
|
33974
32039
|
module2.exports = {
|
|
33975
32040
|
print: genericPrint,
|
|
@@ -34194,11 +32259,11 @@ var require_utils10 = __commonJS2({
|
|
|
34194
32259
|
}(ast, null, []);
|
|
34195
32260
|
}
|
|
34196
32261
|
function isAutolink(node) {
|
|
34197
|
-
if (
|
|
32262
|
+
if ((node === null || node === void 0 ? void 0 : node.type) !== "link" || node.children.length !== 1) {
|
|
34198
32263
|
return false;
|
|
34199
32264
|
}
|
|
34200
|
-
const child = node.children
|
|
34201
|
-
return
|
|
32265
|
+
const [child] = node.children;
|
|
32266
|
+
return locStart(node) === locStart(child) && locEnd(node) === locEnd(child);
|
|
34202
32267
|
}
|
|
34203
32268
|
module2.exports = {
|
|
34204
32269
|
mapAst,
|
|
@@ -34289,7 +32354,7 @@ var require_pragma4 = __commonJS2({
|
|
|
34289
32354
|
)[\\s\\S]*
|
|
34290
32355
|
.*-->`].join("|"), "m");
|
|
34291
32356
|
const matched = text.match(regex);
|
|
34292
|
-
return matched
|
|
32357
|
+
return (matched === null || matched === void 0 ? void 0 : matched.index) === 0;
|
|
34293
32358
|
}
|
|
34294
32359
|
module2.exports = {
|
|
34295
32360
|
startWithPragma,
|
|
@@ -34989,7 +33054,7 @@ var require_printer_markdown = __commonJS2({
|
|
|
34989
33054
|
match = comment.value.match(/^prettier-ignore(?:-(start|end))?$/);
|
|
34990
33055
|
}
|
|
34991
33056
|
}
|
|
34992
|
-
return match ? match[1]
|
|
33057
|
+
return match ? match[1] || "next" : false;
|
|
34993
33058
|
}
|
|
34994
33059
|
function shouldPrePrintHardline(node, data) {
|
|
34995
33060
|
const isFirstNode = data.parts.length === 0;
|
|
@@ -34998,13 +33063,14 @@ var require_printer_markdown = __commonJS2({
|
|
|
34998
33063
|
return !isFirstNode && !isInlineNode && !isInlineHTML;
|
|
34999
33064
|
}
|
|
35000
33065
|
function shouldPrePrintDoubleHardline(node, data) {
|
|
33066
|
+
var _data$prevNode, _data$prevNode2, _data$prevNode3;
|
|
35001
33067
|
const isSequence = (data.prevNode && data.prevNode.type) === node.type;
|
|
35002
33068
|
const isSiblingNode = isSequence && SIBLING_NODE_TYPES.has(node.type);
|
|
35003
33069
|
const isInTightListItem = data.parentNode.type === "listItem" && !data.parentNode.loose;
|
|
35004
|
-
const isPrevNodeLooseListItem =
|
|
33070
|
+
const isPrevNodeLooseListItem = ((_data$prevNode = data.prevNode) === null || _data$prevNode === void 0 ? void 0 : _data$prevNode.type) === "listItem" && data.prevNode.loose;
|
|
35005
33071
|
const isPrevNodePrettierIgnore = isPrettierIgnore(data.prevNode) === "next";
|
|
35006
|
-
const isBlockHtmlWithoutBlankLineBetweenPrevHtml = node.type === "html" && data.prevNode
|
|
35007
|
-
const isHtmlDirectAfterListItem = node.type === "html" && data.parentNode.type === "listItem" && data.prevNode
|
|
33072
|
+
const isBlockHtmlWithoutBlankLineBetweenPrevHtml = node.type === "html" && ((_data$prevNode2 = data.prevNode) === null || _data$prevNode2 === void 0 ? void 0 : _data$prevNode2.type) === "html" && data.prevNode.position.end.line + 1 === node.position.start.line;
|
|
33073
|
+
const isHtmlDirectAfterListItem = node.type === "html" && data.parentNode.type === "listItem" && ((_data$prevNode3 = data.prevNode) === null || _data$prevNode3 === void 0 ? void 0 : _data$prevNode3.type) === "paragraph" && data.prevNode.position.end.line + 1 === node.position.start.line;
|
|
35008
33074
|
return isPrevNodeLooseListItem || !(isSiblingNode || isInTightListItem || isPrevNodePrettierIgnore || isBlockHtmlWithoutBlankLineBetweenPrevHtml || isHtmlDirectAfterListItem);
|
|
35009
33075
|
}
|
|
35010
33076
|
function shouldPrePrintTripleHardline(node, data) {
|
|
@@ -35096,7 +33162,7 @@ var require_Markdown = __commonJS2({
|
|
|
35096
33162
|
codemirrorMode: "gfm",
|
|
35097
33163
|
codemirrorMimeType: "text/x-gfm",
|
|
35098
33164
|
wrap: true,
|
|
35099
|
-
extensions: [".md", ".markdown", ".mdown", ".mdwn", ".mdx", ".mkd", ".mkdn", ".mkdown", ".ronn", ".scd", ".workbook"],
|
|
33165
|
+
extensions: [".md", ".livemd", ".markdown", ".mdown", ".mdwn", ".mdx", ".mkd", ".mkdn", ".mkdown", ".ronn", ".scd", ".workbook"],
|
|
35100
33166
|
filenames: ["contents.lr"],
|
|
35101
33167
|
tmScope: "source.gfm",
|
|
35102
33168
|
languageId: 222
|
|
@@ -35141,7 +33207,7 @@ var require_clean5 = __commonJS2({
|
|
|
35141
33207
|
var {
|
|
35142
33208
|
isFrontMatterNode
|
|
35143
33209
|
} = require_util();
|
|
35144
|
-
var ignoredProperties = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan"
|
|
33210
|
+
var ignoredProperties = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan"]);
|
|
35145
33211
|
function clean(ast, newNode) {
|
|
35146
33212
|
if (ast.type === "text" || ast.type === "comment") {
|
|
35147
33213
|
return null;
|
|
@@ -35465,14 +33531,14 @@ var require_utils11 = __commonJS2({
|
|
|
35465
33531
|
if (type === "text/html") {
|
|
35466
33532
|
return "html";
|
|
35467
33533
|
}
|
|
35468
|
-
if (type && (type.endsWith("json") || type.endsWith("importmap"))) {
|
|
33534
|
+
if (type && (type.endsWith("json") || type.endsWith("importmap")) || type === "speculationrules") {
|
|
35469
33535
|
return "json";
|
|
35470
33536
|
}
|
|
35471
33537
|
if (type === "text/x-handlebars-template") {
|
|
35472
33538
|
return "glimmer";
|
|
35473
33539
|
}
|
|
35474
33540
|
}
|
|
35475
|
-
function inferStyleParser(node) {
|
|
33541
|
+
function inferStyleParser(node, options) {
|
|
35476
33542
|
const {
|
|
35477
33543
|
lang
|
|
35478
33544
|
} = node.attrMap;
|
|
@@ -35485,6 +33551,9 @@ var require_utils11 = __commonJS2({
|
|
|
35485
33551
|
if (lang === "less") {
|
|
35486
33552
|
return "less";
|
|
35487
33553
|
}
|
|
33554
|
+
if (lang === "stylus") {
|
|
33555
|
+
return inferParserByLanguage("stylus", options);
|
|
33556
|
+
}
|
|
35488
33557
|
}
|
|
35489
33558
|
function inferScriptParser(node, options) {
|
|
35490
33559
|
if (node.name === "script" && !node.attrMap.src) {
|
|
@@ -35494,7 +33563,7 @@ var require_utils11 = __commonJS2({
|
|
|
35494
33563
|
return _inferScriptParser(node);
|
|
35495
33564
|
}
|
|
35496
33565
|
if (node.name === "style") {
|
|
35497
|
-
return inferStyleParser(node);
|
|
33566
|
+
return inferStyleParser(node, options);
|
|
35498
33567
|
}
|
|
35499
33568
|
if (options && isVueNonHtmlBlock(node, options)) {
|
|
35500
33569
|
return _inferScriptParser(node) || !("src" in node.attrMap) && inferParserByLanguage(node.attrMap.lang, options);
|
|
@@ -35632,6 +33701,9 @@ var require_utils11 = __commonJS2({
|
|
|
35632
33701
|
function getTextValueParts(node, value = node.value) {
|
|
35633
33702
|
return node.parent.isWhitespaceSensitive ? node.parent.isIndentationSensitive ? replaceTextEndOfLine(value) : replaceTextEndOfLine(dedentString(htmlTrimPreserveIndentation(value)), hardline) : getDocParts(join(line, splitByHtmlWhitespace(value)));
|
|
35634
33703
|
}
|
|
33704
|
+
function isVueScriptTag(node, options) {
|
|
33705
|
+
return isVueSfcBlock(node, options) && node.name === "script";
|
|
33706
|
+
}
|
|
35635
33707
|
module2.exports = {
|
|
35636
33708
|
htmlTrim,
|
|
35637
33709
|
htmlTrimPreserveIndentation,
|
|
@@ -35651,8 +33723,10 @@ var require_utils11 = __commonJS2({
|
|
|
35651
33723
|
inferScriptParser,
|
|
35652
33724
|
isVueCustomBlock,
|
|
35653
33725
|
isVueNonHtmlBlock,
|
|
33726
|
+
isVueScriptTag,
|
|
35654
33727
|
isVueSlotAttribute,
|
|
35655
33728
|
isVueSfcBindingsAttribute,
|
|
33729
|
+
isVueSfcBlock,
|
|
35656
33730
|
isDanglingSpaceSensitiveNode,
|
|
35657
33731
|
isIndentationSensitiveNode,
|
|
35658
33732
|
isLeadingSpaceSensitiveNode,
|
|
@@ -36626,9 +34700,10 @@ var require_print_preprocess3 = __commonJS2({
|
|
|
36626
34700
|
isIndentationSensitiveNode,
|
|
36627
34701
|
isLeadingSpaceSensitiveNode,
|
|
36628
34702
|
isTrailingSpaceSensitiveNode,
|
|
36629
|
-
isWhitespaceSensitiveNode
|
|
34703
|
+
isWhitespaceSensitiveNode,
|
|
34704
|
+
isVueScriptTag
|
|
36630
34705
|
} = require_utils11();
|
|
36631
|
-
var PREPROCESS_PIPELINE = [removeIgnorableFirstLf, mergeIfConditionalStartEndCommentIntoElementOpeningTag, mergeCdataIntoText, extractInterpolation, extractWhitespaces, addCssDisplay, addIsSelfClosing, addHasHtmComponentClosingTag, addIsSpaceSensitive, mergeSimpleElementIntoText];
|
|
34706
|
+
var PREPROCESS_PIPELINE = [removeIgnorableFirstLf, mergeIfConditionalStartEndCommentIntoElementOpeningTag, mergeCdataIntoText, extractInterpolation, extractWhitespaces, addCssDisplay, addIsSelfClosing, addHasHtmComponentClosingTag, addIsSpaceSensitive, mergeSimpleElementIntoText, markTsScript];
|
|
36632
34707
|
function preprocess(ast, options) {
|
|
36633
34708
|
for (const fn of PREPROCESS_PIPELINE) {
|
|
36634
34709
|
fn(ast, options);
|
|
@@ -36862,6 +34937,20 @@ var require_print_preprocess3 = __commonJS2({
|
|
|
36862
34937
|
}
|
|
36863
34938
|
});
|
|
36864
34939
|
}
|
|
34940
|
+
function markTsScript(ast, options) {
|
|
34941
|
+
if (options.parser === "vue") {
|
|
34942
|
+
const vueScriptTag = ast.children.find((child) => isVueScriptTag(child, options));
|
|
34943
|
+
if (!vueScriptTag) {
|
|
34944
|
+
return;
|
|
34945
|
+
}
|
|
34946
|
+
const {
|
|
34947
|
+
lang
|
|
34948
|
+
} = vueScriptTag.attrMap;
|
|
34949
|
+
if (lang === "ts" || lang === "typescript") {
|
|
34950
|
+
options.__should_parse_vue_template_with_ts = true;
|
|
34951
|
+
}
|
|
34952
|
+
}
|
|
34953
|
+
}
|
|
36865
34954
|
module2.exports = preprocess;
|
|
36866
34955
|
}
|
|
36867
34956
|
});
|
|
@@ -36923,7 +35012,8 @@ var require_tag = __commonJS2({
|
|
|
36923
35012
|
getLastDescendant,
|
|
36924
35013
|
isPreLikeNode,
|
|
36925
35014
|
hasPrettierIgnore,
|
|
36926
|
-
shouldPreserveContent
|
|
35015
|
+
shouldPreserveContent,
|
|
35016
|
+
isVueSfcBlock
|
|
36927
35017
|
} = require_utils11();
|
|
36928
35018
|
function printClosingTag(node, options) {
|
|
36929
35019
|
return [node.isSelfClosing ? "" : printClosingTagStart(node, options), printClosingTagEnd(node, options)];
|
|
@@ -37016,7 +35106,8 @@ var require_tag = __commonJS2({
|
|
|
37016
35106
|
return hasPrettierIgnoreAttribute(attribute) ? replaceTextEndOfLine(options.originalText.slice(locStart(attribute), locEnd(attribute))) : print();
|
|
37017
35107
|
}, "attrs");
|
|
37018
35108
|
const forceNotToBreakAttrContent = node.type === "element" && node.fullName === "script" && node.attrs.length === 1 && node.attrs[0].fullName === "src" && node.children.length === 0;
|
|
37019
|
-
const
|
|
35109
|
+
const shouldPrintAttributePerLine = options.singleAttributePerLine && node.attrs.length > 1 && !isVueSfcBlock(node, options);
|
|
35110
|
+
const attributeLine = shouldPrintAttributePerLine ? hardline : line;
|
|
37020
35111
|
const parts = [indent([forceNotToBreakAttrContent ? " " : line, join(attributeLine, printedAttributes)])];
|
|
37021
35112
|
if (node.firstChild && needsToBorrowParentOpeningTagEndMarker(node.firstChild) || node.isSelfClosing && needsToBorrowLastChildClosingTagEndMarker(node.parent) || forceNotToBreakAttrContent) {
|
|
37022
35113
|
parts.push(node.isSelfClosing ? " " : "");
|
|
@@ -37504,8 +35595,9 @@ var require_embed4 = __commonJS2({
|
|
|
37504
35595
|
const jsExpressionBindingPatterns = ["^v-"];
|
|
37505
35596
|
if (isKeyMatched(vueEventBindingPatterns)) {
|
|
37506
35597
|
const value = getValue();
|
|
35598
|
+
const parser = isVueEventBindingExpression(value) ? "__js_expression" : options.__should_parse_vue_template_with_ts ? "__vue_ts_event_binding" : "__vue_event_binding";
|
|
37507
35599
|
return printMaybeHug(attributeTextToDoc(value, {
|
|
37508
|
-
parser
|
|
35600
|
+
parser
|
|
37509
35601
|
}));
|
|
37510
35602
|
}
|
|
37511
35603
|
if (isKeyMatched(vueExpressionBindingPatterns)) {
|
|
@@ -37599,7 +35691,7 @@ var require_embed4 = __commonJS2({
|
|
|
37599
35691
|
}
|
|
37600
35692
|
case "text": {
|
|
37601
35693
|
if (isScriptLikeTag(node.parent)) {
|
|
37602
|
-
const parser = inferScriptParser(node.parent);
|
|
35694
|
+
const parser = inferScriptParser(node.parent, options);
|
|
37603
35695
|
if (parser) {
|
|
37604
35696
|
const value = parser === "markdown" ? dedentString(node.value.replace(/^[^\S\n]*\n/, "")) : node.value;
|
|
37605
35697
|
const textToDocOptions = {
|
|
@@ -37629,7 +35721,7 @@ var require_embed4 = __commonJS2({
|
|
|
37629
35721
|
textToDocOptions.parser = "__ng_interpolation";
|
|
37630
35722
|
textToDocOptions.trailingComma = "none";
|
|
37631
35723
|
} else if (options.parser === "vue") {
|
|
37632
|
-
textToDocOptions.parser = "__vue_expression";
|
|
35724
|
+
textToDocOptions.parser = options.__should_parse_vue_template_with_ts ? "__vue_ts_expression" : "__vue_expression";
|
|
37633
35725
|
} else {
|
|
37634
35726
|
textToDocOptions.parser = "__js_expression";
|
|
37635
35727
|
}
|
|
@@ -38056,7 +36148,7 @@ var require_HTML = __commonJS2({
|
|
|
38056
36148
|
codemirrorMimeType: "text/html",
|
|
38057
36149
|
color: "#e34c26",
|
|
38058
36150
|
aliases: ["xhtml"],
|
|
38059
|
-
extensions: [".html", ".htm", ".html.hl", ".inc", ".xht", ".xhtml"],
|
|
36151
|
+
extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml"],
|
|
38060
36152
|
languageId: 146
|
|
38061
36153
|
};
|
|
38062
36154
|
}
|
|
@@ -38254,19 +36346,19 @@ var require_utils12 = __commonJS2({
|
|
|
38254
36346
|
return hasLeadingComments(node) || hasMiddleComments(node) || hasIndicatorComment(node) || hasTrailingComment(node) || hasEndComments(node);
|
|
38255
36347
|
}
|
|
38256
36348
|
function hasLeadingComments(node) {
|
|
38257
|
-
return node
|
|
36349
|
+
return isNonEmptyArray(node === null || node === void 0 ? void 0 : node.leadingComments);
|
|
38258
36350
|
}
|
|
38259
36351
|
function hasMiddleComments(node) {
|
|
38260
|
-
return node
|
|
36352
|
+
return isNonEmptyArray(node === null || node === void 0 ? void 0 : node.middleComments);
|
|
38261
36353
|
}
|
|
38262
36354
|
function hasIndicatorComment(node) {
|
|
38263
|
-
return node
|
|
36355
|
+
return node === null || node === void 0 ? void 0 : node.indicatorComment;
|
|
38264
36356
|
}
|
|
38265
36357
|
function hasTrailingComment(node) {
|
|
38266
|
-
return node
|
|
36358
|
+
return node === null || node === void 0 ? void 0 : node.trailingComment;
|
|
38267
36359
|
}
|
|
38268
36360
|
function hasEndComments(node) {
|
|
38269
|
-
return node
|
|
36361
|
+
return isNonEmptyArray(node === null || node === void 0 ? void 0 : node.endComments);
|
|
38270
36362
|
}
|
|
38271
36363
|
function splitWithSingleSpace(text) {
|
|
38272
36364
|
const parts = [];
|
|
@@ -38897,7 +36989,7 @@ var require_printer_yaml = __commonJS2({
|
|
|
38897
36989
|
case "sequence":
|
|
38898
36990
|
return join(hardline, path.map(print, "children"));
|
|
38899
36991
|
case "sequenceItem":
|
|
38900
|
-
return ["- ", alignWithSpaces(2,
|
|
36992
|
+
return ["- ", alignWithSpaces(2, node.content ? print("content") : "")];
|
|
38901
36993
|
case "mappingKey":
|
|
38902
36994
|
case "mappingValue":
|
|
38903
36995
|
return !node.content ? "" : print("content");
|
|
@@ -38989,7 +37081,7 @@ var require_YAML = __commonJS2({
|
|
|
38989
37081
|
tmScope: "source.yaml",
|
|
38990
37082
|
aliases: ["yml"],
|
|
38991
37083
|
extensions: [".yml", ".mir", ".reek", ".rviz", ".sublime-syntax", ".syntax", ".yaml", ".yaml-tmlanguage", ".yaml.sed", ".yml.mysql"],
|
|
38992
|
-
filenames: [".clang-format", ".clang-tidy", ".gemrc", "glide.lock", "yarn.lock"],
|
|
37084
|
+
filenames: [".clang-format", ".clang-tidy", ".gemrc", "CITATION.cff", "glide.lock", "yarn.lock"],
|
|
38993
37085
|
aceMode: "yaml",
|
|
38994
37086
|
codemirrorMode: "yaml",
|
|
38995
37087
|
codemirrorMimeType: "text/x-yaml",
|
|
@@ -39031,23 +37123,23 @@ var require_load_plugins = __commonJS2({
|
|
|
39031
37123
|
"use strict";
|
|
39032
37124
|
var fs = require("fs");
|
|
39033
37125
|
var path = require("path");
|
|
39034
|
-
var uniqBy = require_uniqBy();
|
|
39035
|
-
var partition = require_partition();
|
|
39036
37126
|
var fastGlob = require_out4();
|
|
37127
|
+
var partition = require_partition();
|
|
37128
|
+
var uniqByKey = require_uniq_by_key();
|
|
39037
37129
|
var internalPlugins = require_languages();
|
|
39038
37130
|
var {
|
|
39039
|
-
default:
|
|
39040
|
-
memClear
|
|
39041
|
-
} =
|
|
37131
|
+
default: mem2,
|
|
37132
|
+
memClear: memClear2
|
|
37133
|
+
} = (init_dist(), __toCommonJS(dist_exports));
|
|
39042
37134
|
var thirdParty = require("./third-party.js");
|
|
39043
37135
|
var resolve = require_resolve2();
|
|
39044
|
-
var memoizedLoad =
|
|
37136
|
+
var memoizedLoad = mem2(load, {
|
|
39045
37137
|
cacheKey: JSON.stringify
|
|
39046
37138
|
});
|
|
39047
|
-
var memoizedSearch =
|
|
37139
|
+
var memoizedSearch = mem2(findPluginsInNodeModules);
|
|
39048
37140
|
var clearCache = () => {
|
|
39049
|
-
|
|
39050
|
-
|
|
37141
|
+
memClear2(memoizedLoad);
|
|
37142
|
+
memClear2(memoizedSearch);
|
|
39051
37143
|
};
|
|
39052
37144
|
function load(plugins2, pluginSearchDirs) {
|
|
39053
37145
|
if (!plugins2) {
|
|
@@ -39092,7 +37184,7 @@ var require_load_plugins = __commonJS2({
|
|
|
39092
37184
|
})
|
|
39093
37185
|
}));
|
|
39094
37186
|
});
|
|
39095
|
-
const externalPlugins = [...
|
|
37187
|
+
const externalPlugins = [...uniqByKey([...externalManualLoadPluginInfos, ...externalAutoLoadPluginInfos], "requirePath").map((externalPluginInfo) => Object.assign({
|
|
39096
37188
|
name: externalPluginInfo.name
|
|
39097
37189
|
}, require(externalPluginInfo.requirePath))), ...externalPluginInstances];
|
|
39098
37190
|
return [...internalPlugins, ...externalPlugins];
|
|
@@ -39176,6 +37268,7 @@ module.exports = {
|
|
|
39176
37268
|
utils: {
|
|
39177
37269
|
arrayify: require_arrayify(),
|
|
39178
37270
|
getLast: require_get_last(),
|
|
37271
|
+
partition: require_partition(),
|
|
39179
37272
|
isNonEmptyArray: require_util().isNonEmptyArray
|
|
39180
37273
|
}
|
|
39181
37274
|
},
|