@rstest/core 0.0.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 +21 -0
- package/README.md +11 -0
- package/bin/rstest.js +20 -0
- package/dist/285.js +98 -0
- package/dist/353.js +488 -0
- package/dist/355.js +96 -0
- package/dist/629.js +80 -0
- package/dist/64.js +1735 -0
- package/dist/72.js +1309 -0
- package/dist/773.js +1709 -0
- package/dist/813.js +137 -0
- package/dist/973.js +482 -0
- package/dist/992.js +485 -0
- package/dist/cli.js +3685 -0
- package/dist/node.js +0 -0
- package/dist/public.js +4 -0
- package/dist/worker.js +5727 -0
- package/dist/worker.js.LICENSE.txt +28 -0
- package/dist-types/cli.d.ts +3 -0
- package/dist-types/node.d.ts +368 -0
- package/dist-types/public.d.ts +850 -0
- package/dist-types/worker.d.ts +646 -0
- package/globals.d.ts +13 -0
- package/importMeta.d.ts +3 -0
- package/package.json +85 -0
package/dist/72.js
ADDED
|
@@ -0,0 +1,1309 @@
|
|
|
1
|
+
export const __webpack_ids__ = [
|
|
2
|
+
"72"
|
|
3
|
+
];
|
|
4
|
+
export const __webpack_modules__ = {
|
|
5
|
+
"../../node_modules/.pnpm/js-tokens@4.0.0/node_modules/js-tokens/index.js": function(__unused_webpack_module, exports) {
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports["default"] = /((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;
|
|
10
|
+
exports.matchToToken = function(match) {
|
|
11
|
+
var token = {
|
|
12
|
+
type: "invalid",
|
|
13
|
+
value: match[0],
|
|
14
|
+
closed: void 0
|
|
15
|
+
};
|
|
16
|
+
if (match[1]) token.type = "string", token.closed = !!(match[3] || match[4]);
|
|
17
|
+
else if (match[5]) token.type = "comment";
|
|
18
|
+
else if (match[6]) token.type = "comment", token.closed = !!match[7];
|
|
19
|
+
else if (match[8]) token.type = "regex";
|
|
20
|
+
else if (match[9]) token.type = "number";
|
|
21
|
+
else if (match[10]) token.type = "name";
|
|
22
|
+
else if (match[11]) token.type = "punctuator";
|
|
23
|
+
else if (match[12]) token.type = "whitespace";
|
|
24
|
+
return token;
|
|
25
|
+
};
|
|
26
|
+
},
|
|
27
|
+
"../../node_modules/.pnpm/@babel+code-frame@7.27.1/node_modules/@babel/code-frame/lib/index.js": function(__unused_webpack_module, exports, __webpack_require__) {
|
|
28
|
+
var picocolors = __webpack_require__("../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js");
|
|
29
|
+
var jsTokens = __webpack_require__("../../node_modules/.pnpm/js-tokens@4.0.0/node_modules/js-tokens/index.js");
|
|
30
|
+
var helperValidatorIdentifier = __webpack_require__("../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js");
|
|
31
|
+
function isColorSupported() {
|
|
32
|
+
return "object" == typeof process && ("0" === process.env.FORCE_COLOR || "false" === process.env.FORCE_COLOR) ? false : picocolors.isColorSupported;
|
|
33
|
+
}
|
|
34
|
+
const compose = (f, g)=>(v)=>f(g(v));
|
|
35
|
+
function buildDefs(colors) {
|
|
36
|
+
return {
|
|
37
|
+
keyword: colors.cyan,
|
|
38
|
+
capitalized: colors.yellow,
|
|
39
|
+
jsxIdentifier: colors.yellow,
|
|
40
|
+
punctuator: colors.yellow,
|
|
41
|
+
number: colors.magenta,
|
|
42
|
+
string: colors.green,
|
|
43
|
+
regex: colors.magenta,
|
|
44
|
+
comment: colors.gray,
|
|
45
|
+
invalid: compose(compose(colors.white, colors.bgRed), colors.bold),
|
|
46
|
+
gutter: colors.gray,
|
|
47
|
+
marker: compose(colors.red, colors.bold),
|
|
48
|
+
message: compose(colors.red, colors.bold),
|
|
49
|
+
reset: colors.reset
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
const defsOn = buildDefs(picocolors.createColors(true));
|
|
53
|
+
const defsOff = buildDefs(picocolors.createColors(false));
|
|
54
|
+
function getDefs(enabled) {
|
|
55
|
+
return enabled ? defsOn : defsOff;
|
|
56
|
+
}
|
|
57
|
+
const sometimesKeywords = new Set([
|
|
58
|
+
"as",
|
|
59
|
+
"async",
|
|
60
|
+
"from",
|
|
61
|
+
"get",
|
|
62
|
+
"of",
|
|
63
|
+
"set"
|
|
64
|
+
]);
|
|
65
|
+
const NEWLINE$1 = /\r\n|[\n\r\u2028\u2029]/;
|
|
66
|
+
const BRACKET = /^[()[\]{}]$/;
|
|
67
|
+
let tokenize;
|
|
68
|
+
{
|
|
69
|
+
const JSX_TAG = /^[a-z][\w-]*$/i;
|
|
70
|
+
const getTokenType = function(token, offset, text) {
|
|
71
|
+
if ("name" === token.type) {
|
|
72
|
+
if (helperValidatorIdentifier.isKeyword(token.value) || helperValidatorIdentifier.isStrictReservedWord(token.value, true) || sometimesKeywords.has(token.value)) return "keyword";
|
|
73
|
+
if (JSX_TAG.test(token.value) && ("<" === text[offset - 1] || "</" === text.slice(offset - 2, offset))) return "jsxIdentifier";
|
|
74
|
+
if (token.value[0] !== token.value[0].toLowerCase()) return "capitalized";
|
|
75
|
+
}
|
|
76
|
+
if ("punctuator" === token.type && BRACKET.test(token.value)) return "bracket";
|
|
77
|
+
if ("invalid" === token.type && ("@" === token.value || "#" === token.value)) return "punctuator";
|
|
78
|
+
return token.type;
|
|
79
|
+
};
|
|
80
|
+
tokenize = function*(text) {
|
|
81
|
+
let match;
|
|
82
|
+
while(match = jsTokens.default.exec(text)){
|
|
83
|
+
const token = jsTokens.matchToToken(match);
|
|
84
|
+
yield {
|
|
85
|
+
type: getTokenType(token, match.index, text),
|
|
86
|
+
value: token.value
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
function highlight(text) {
|
|
92
|
+
if ("" === text) return "";
|
|
93
|
+
const defs = getDefs(true);
|
|
94
|
+
let highlighted = "";
|
|
95
|
+
for (const { type, value } of tokenize(text))if (type in defs) highlighted += value.split(NEWLINE$1).map((str)=>defs[type](str)).join("\n");
|
|
96
|
+
else highlighted += value;
|
|
97
|
+
return highlighted;
|
|
98
|
+
}
|
|
99
|
+
const NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
|
|
100
|
+
function getMarkerLines(loc, source, opts) {
|
|
101
|
+
const startLoc = Object.assign({
|
|
102
|
+
column: 0,
|
|
103
|
+
line: -1
|
|
104
|
+
}, loc.start);
|
|
105
|
+
const endLoc = Object.assign({}, startLoc, loc.end);
|
|
106
|
+
const { linesAbove = 2, linesBelow = 3 } = opts || {};
|
|
107
|
+
const startLine = startLoc.line;
|
|
108
|
+
const startColumn = startLoc.column;
|
|
109
|
+
const endLine = endLoc.line;
|
|
110
|
+
const endColumn = endLoc.column;
|
|
111
|
+
let start = Math.max(startLine - (linesAbove + 1), 0);
|
|
112
|
+
let end = Math.min(source.length, endLine + linesBelow);
|
|
113
|
+
if (-1 === startLine) start = 0;
|
|
114
|
+
if (-1 === endLine) end = source.length;
|
|
115
|
+
const lineDiff = endLine - startLine;
|
|
116
|
+
const markerLines = {};
|
|
117
|
+
if (lineDiff) for(let i = 0; i <= lineDiff; i++){
|
|
118
|
+
const lineNumber = i + startLine;
|
|
119
|
+
if (startColumn) if (0 === i) {
|
|
120
|
+
const sourceLength = source[lineNumber - 1].length;
|
|
121
|
+
markerLines[lineNumber] = [
|
|
122
|
+
startColumn,
|
|
123
|
+
sourceLength - startColumn + 1
|
|
124
|
+
];
|
|
125
|
+
} else if (i === lineDiff) markerLines[lineNumber] = [
|
|
126
|
+
0,
|
|
127
|
+
endColumn
|
|
128
|
+
];
|
|
129
|
+
else {
|
|
130
|
+
const sourceLength = source[lineNumber - i].length;
|
|
131
|
+
markerLines[lineNumber] = [
|
|
132
|
+
0,
|
|
133
|
+
sourceLength
|
|
134
|
+
];
|
|
135
|
+
}
|
|
136
|
+
else markerLines[lineNumber] = true;
|
|
137
|
+
}
|
|
138
|
+
else if (startColumn === endColumn) if (startColumn) markerLines[startLine] = [
|
|
139
|
+
startColumn,
|
|
140
|
+
0
|
|
141
|
+
];
|
|
142
|
+
else markerLines[startLine] = true;
|
|
143
|
+
else markerLines[startLine] = [
|
|
144
|
+
startColumn,
|
|
145
|
+
endColumn - startColumn
|
|
146
|
+
];
|
|
147
|
+
return {
|
|
148
|
+
start,
|
|
149
|
+
end,
|
|
150
|
+
markerLines
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
function codeFrameColumns(rawLines, loc, opts = {}) {
|
|
154
|
+
const shouldHighlight = opts.forceColor || isColorSupported() && opts.highlightCode;
|
|
155
|
+
const defs = getDefs(shouldHighlight);
|
|
156
|
+
const lines = rawLines.split(NEWLINE);
|
|
157
|
+
const { start, end, markerLines } = getMarkerLines(loc, lines, opts);
|
|
158
|
+
const hasColumns = loc.start && "number" == typeof loc.start.column;
|
|
159
|
+
const numberMaxWidth = String(end).length;
|
|
160
|
+
const highlightedLines = shouldHighlight ? highlight(rawLines) : rawLines;
|
|
161
|
+
let frame = highlightedLines.split(NEWLINE, end).slice(start, end).map((line, index)=>{
|
|
162
|
+
const number = start + 1 + index;
|
|
163
|
+
const paddedNumber = ` ${number}`.slice(-numberMaxWidth);
|
|
164
|
+
const gutter = ` ${paddedNumber} |`;
|
|
165
|
+
const hasMarker = markerLines[number];
|
|
166
|
+
const lastMarkerLine = !markerLines[number + 1];
|
|
167
|
+
if (!hasMarker) return ` ${defs.gutter(gutter)}${line.length > 0 ? ` ${line}` : ""}`;
|
|
168
|
+
{
|
|
169
|
+
let markerLine = "";
|
|
170
|
+
if (Array.isArray(hasMarker)) {
|
|
171
|
+
const markerSpacing = line.slice(0, Math.max(hasMarker[0] - 1, 0)).replace(/[^\t]/g, " ");
|
|
172
|
+
const numberOfMarkers = hasMarker[1] || 1;
|
|
173
|
+
markerLine = [
|
|
174
|
+
"\n ",
|
|
175
|
+
defs.gutter(gutter.replace(/\d/g, " ")),
|
|
176
|
+
" ",
|
|
177
|
+
markerSpacing,
|
|
178
|
+
defs.marker("^").repeat(numberOfMarkers)
|
|
179
|
+
].join("");
|
|
180
|
+
if (lastMarkerLine && opts.message) markerLine += " " + defs.message(opts.message);
|
|
181
|
+
}
|
|
182
|
+
return [
|
|
183
|
+
defs.marker(">"),
|
|
184
|
+
defs.gutter(gutter),
|
|
185
|
+
line.length > 0 ? ` ${line}` : "",
|
|
186
|
+
markerLine
|
|
187
|
+
].join("");
|
|
188
|
+
}
|
|
189
|
+
}).join("\n");
|
|
190
|
+
if (opts.message && !hasColumns) frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message}\n${frame}`;
|
|
191
|
+
if (shouldHighlight) return defs.reset(frame);
|
|
192
|
+
return frame;
|
|
193
|
+
}
|
|
194
|
+
exports.codeFrameColumns = codeFrameColumns;
|
|
195
|
+
},
|
|
196
|
+
"../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js": function(__unused_webpack_module, exports) {
|
|
197
|
+
Object.defineProperty(exports, "__esModule", {
|
|
198
|
+
value: true
|
|
199
|
+
});
|
|
200
|
+
exports.isIdentifierChar = isIdentifierChar;
|
|
201
|
+
exports.isIdentifierName = isIdentifierName;
|
|
202
|
+
exports.isIdentifierStart = isIdentifierStart;
|
|
203
|
+
let nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c8a\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7cd\ua7d0\ua7d1\ua7d3\ua7d5-\ua7dc\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc";
|
|
204
|
+
let nonASCIIidentifierChars = "\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0897-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0cf3\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ece\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\u30fb\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f\uff65";
|
|
205
|
+
const nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
|
|
206
|
+
const nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
|
|
207
|
+
nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
|
|
208
|
+
const astralIdentifierStartCodes = [
|
|
209
|
+
0,
|
|
210
|
+
11,
|
|
211
|
+
2,
|
|
212
|
+
25,
|
|
213
|
+
2,
|
|
214
|
+
18,
|
|
215
|
+
2,
|
|
216
|
+
1,
|
|
217
|
+
2,
|
|
218
|
+
14,
|
|
219
|
+
3,
|
|
220
|
+
13,
|
|
221
|
+
35,
|
|
222
|
+
122,
|
|
223
|
+
70,
|
|
224
|
+
52,
|
|
225
|
+
268,
|
|
226
|
+
28,
|
|
227
|
+
4,
|
|
228
|
+
48,
|
|
229
|
+
48,
|
|
230
|
+
31,
|
|
231
|
+
14,
|
|
232
|
+
29,
|
|
233
|
+
6,
|
|
234
|
+
37,
|
|
235
|
+
11,
|
|
236
|
+
29,
|
|
237
|
+
3,
|
|
238
|
+
35,
|
|
239
|
+
5,
|
|
240
|
+
7,
|
|
241
|
+
2,
|
|
242
|
+
4,
|
|
243
|
+
43,
|
|
244
|
+
157,
|
|
245
|
+
19,
|
|
246
|
+
35,
|
|
247
|
+
5,
|
|
248
|
+
35,
|
|
249
|
+
5,
|
|
250
|
+
39,
|
|
251
|
+
9,
|
|
252
|
+
51,
|
|
253
|
+
13,
|
|
254
|
+
10,
|
|
255
|
+
2,
|
|
256
|
+
14,
|
|
257
|
+
2,
|
|
258
|
+
6,
|
|
259
|
+
2,
|
|
260
|
+
1,
|
|
261
|
+
2,
|
|
262
|
+
10,
|
|
263
|
+
2,
|
|
264
|
+
14,
|
|
265
|
+
2,
|
|
266
|
+
6,
|
|
267
|
+
2,
|
|
268
|
+
1,
|
|
269
|
+
4,
|
|
270
|
+
51,
|
|
271
|
+
13,
|
|
272
|
+
310,
|
|
273
|
+
10,
|
|
274
|
+
21,
|
|
275
|
+
11,
|
|
276
|
+
7,
|
|
277
|
+
25,
|
|
278
|
+
5,
|
|
279
|
+
2,
|
|
280
|
+
41,
|
|
281
|
+
2,
|
|
282
|
+
8,
|
|
283
|
+
70,
|
|
284
|
+
5,
|
|
285
|
+
3,
|
|
286
|
+
0,
|
|
287
|
+
2,
|
|
288
|
+
43,
|
|
289
|
+
2,
|
|
290
|
+
1,
|
|
291
|
+
4,
|
|
292
|
+
0,
|
|
293
|
+
3,
|
|
294
|
+
22,
|
|
295
|
+
11,
|
|
296
|
+
22,
|
|
297
|
+
10,
|
|
298
|
+
30,
|
|
299
|
+
66,
|
|
300
|
+
18,
|
|
301
|
+
2,
|
|
302
|
+
1,
|
|
303
|
+
11,
|
|
304
|
+
21,
|
|
305
|
+
11,
|
|
306
|
+
25,
|
|
307
|
+
71,
|
|
308
|
+
55,
|
|
309
|
+
7,
|
|
310
|
+
1,
|
|
311
|
+
65,
|
|
312
|
+
0,
|
|
313
|
+
16,
|
|
314
|
+
3,
|
|
315
|
+
2,
|
|
316
|
+
2,
|
|
317
|
+
2,
|
|
318
|
+
28,
|
|
319
|
+
43,
|
|
320
|
+
28,
|
|
321
|
+
4,
|
|
322
|
+
28,
|
|
323
|
+
36,
|
|
324
|
+
7,
|
|
325
|
+
2,
|
|
326
|
+
27,
|
|
327
|
+
28,
|
|
328
|
+
53,
|
|
329
|
+
11,
|
|
330
|
+
21,
|
|
331
|
+
11,
|
|
332
|
+
18,
|
|
333
|
+
14,
|
|
334
|
+
17,
|
|
335
|
+
111,
|
|
336
|
+
72,
|
|
337
|
+
56,
|
|
338
|
+
50,
|
|
339
|
+
14,
|
|
340
|
+
50,
|
|
341
|
+
14,
|
|
342
|
+
35,
|
|
343
|
+
39,
|
|
344
|
+
27,
|
|
345
|
+
10,
|
|
346
|
+
22,
|
|
347
|
+
251,
|
|
348
|
+
41,
|
|
349
|
+
7,
|
|
350
|
+
1,
|
|
351
|
+
17,
|
|
352
|
+
2,
|
|
353
|
+
60,
|
|
354
|
+
28,
|
|
355
|
+
11,
|
|
356
|
+
0,
|
|
357
|
+
9,
|
|
358
|
+
21,
|
|
359
|
+
43,
|
|
360
|
+
17,
|
|
361
|
+
47,
|
|
362
|
+
20,
|
|
363
|
+
28,
|
|
364
|
+
22,
|
|
365
|
+
13,
|
|
366
|
+
52,
|
|
367
|
+
58,
|
|
368
|
+
1,
|
|
369
|
+
3,
|
|
370
|
+
0,
|
|
371
|
+
14,
|
|
372
|
+
44,
|
|
373
|
+
33,
|
|
374
|
+
24,
|
|
375
|
+
27,
|
|
376
|
+
35,
|
|
377
|
+
30,
|
|
378
|
+
0,
|
|
379
|
+
3,
|
|
380
|
+
0,
|
|
381
|
+
9,
|
|
382
|
+
34,
|
|
383
|
+
4,
|
|
384
|
+
0,
|
|
385
|
+
13,
|
|
386
|
+
47,
|
|
387
|
+
15,
|
|
388
|
+
3,
|
|
389
|
+
22,
|
|
390
|
+
0,
|
|
391
|
+
2,
|
|
392
|
+
0,
|
|
393
|
+
36,
|
|
394
|
+
17,
|
|
395
|
+
2,
|
|
396
|
+
24,
|
|
397
|
+
20,
|
|
398
|
+
1,
|
|
399
|
+
64,
|
|
400
|
+
6,
|
|
401
|
+
2,
|
|
402
|
+
0,
|
|
403
|
+
2,
|
|
404
|
+
3,
|
|
405
|
+
2,
|
|
406
|
+
14,
|
|
407
|
+
2,
|
|
408
|
+
9,
|
|
409
|
+
8,
|
|
410
|
+
46,
|
|
411
|
+
39,
|
|
412
|
+
7,
|
|
413
|
+
3,
|
|
414
|
+
1,
|
|
415
|
+
3,
|
|
416
|
+
21,
|
|
417
|
+
2,
|
|
418
|
+
6,
|
|
419
|
+
2,
|
|
420
|
+
1,
|
|
421
|
+
2,
|
|
422
|
+
4,
|
|
423
|
+
4,
|
|
424
|
+
0,
|
|
425
|
+
19,
|
|
426
|
+
0,
|
|
427
|
+
13,
|
|
428
|
+
4,
|
|
429
|
+
31,
|
|
430
|
+
9,
|
|
431
|
+
2,
|
|
432
|
+
0,
|
|
433
|
+
3,
|
|
434
|
+
0,
|
|
435
|
+
2,
|
|
436
|
+
37,
|
|
437
|
+
2,
|
|
438
|
+
0,
|
|
439
|
+
26,
|
|
440
|
+
0,
|
|
441
|
+
2,
|
|
442
|
+
0,
|
|
443
|
+
45,
|
|
444
|
+
52,
|
|
445
|
+
19,
|
|
446
|
+
3,
|
|
447
|
+
21,
|
|
448
|
+
2,
|
|
449
|
+
31,
|
|
450
|
+
47,
|
|
451
|
+
21,
|
|
452
|
+
1,
|
|
453
|
+
2,
|
|
454
|
+
0,
|
|
455
|
+
185,
|
|
456
|
+
46,
|
|
457
|
+
42,
|
|
458
|
+
3,
|
|
459
|
+
37,
|
|
460
|
+
47,
|
|
461
|
+
21,
|
|
462
|
+
0,
|
|
463
|
+
60,
|
|
464
|
+
42,
|
|
465
|
+
14,
|
|
466
|
+
0,
|
|
467
|
+
72,
|
|
468
|
+
26,
|
|
469
|
+
38,
|
|
470
|
+
6,
|
|
471
|
+
186,
|
|
472
|
+
43,
|
|
473
|
+
117,
|
|
474
|
+
63,
|
|
475
|
+
32,
|
|
476
|
+
7,
|
|
477
|
+
3,
|
|
478
|
+
0,
|
|
479
|
+
3,
|
|
480
|
+
7,
|
|
481
|
+
2,
|
|
482
|
+
1,
|
|
483
|
+
2,
|
|
484
|
+
23,
|
|
485
|
+
16,
|
|
486
|
+
0,
|
|
487
|
+
2,
|
|
488
|
+
0,
|
|
489
|
+
95,
|
|
490
|
+
7,
|
|
491
|
+
3,
|
|
492
|
+
38,
|
|
493
|
+
17,
|
|
494
|
+
0,
|
|
495
|
+
2,
|
|
496
|
+
0,
|
|
497
|
+
29,
|
|
498
|
+
0,
|
|
499
|
+
11,
|
|
500
|
+
39,
|
|
501
|
+
8,
|
|
502
|
+
0,
|
|
503
|
+
22,
|
|
504
|
+
0,
|
|
505
|
+
12,
|
|
506
|
+
45,
|
|
507
|
+
20,
|
|
508
|
+
0,
|
|
509
|
+
19,
|
|
510
|
+
72,
|
|
511
|
+
200,
|
|
512
|
+
32,
|
|
513
|
+
32,
|
|
514
|
+
8,
|
|
515
|
+
2,
|
|
516
|
+
36,
|
|
517
|
+
18,
|
|
518
|
+
0,
|
|
519
|
+
50,
|
|
520
|
+
29,
|
|
521
|
+
113,
|
|
522
|
+
6,
|
|
523
|
+
2,
|
|
524
|
+
1,
|
|
525
|
+
2,
|
|
526
|
+
37,
|
|
527
|
+
22,
|
|
528
|
+
0,
|
|
529
|
+
26,
|
|
530
|
+
5,
|
|
531
|
+
2,
|
|
532
|
+
1,
|
|
533
|
+
2,
|
|
534
|
+
31,
|
|
535
|
+
15,
|
|
536
|
+
0,
|
|
537
|
+
328,
|
|
538
|
+
18,
|
|
539
|
+
16,
|
|
540
|
+
0,
|
|
541
|
+
2,
|
|
542
|
+
12,
|
|
543
|
+
2,
|
|
544
|
+
33,
|
|
545
|
+
125,
|
|
546
|
+
0,
|
|
547
|
+
80,
|
|
548
|
+
921,
|
|
549
|
+
103,
|
|
550
|
+
110,
|
|
551
|
+
18,
|
|
552
|
+
195,
|
|
553
|
+
2637,
|
|
554
|
+
96,
|
|
555
|
+
16,
|
|
556
|
+
1071,
|
|
557
|
+
18,
|
|
558
|
+
5,
|
|
559
|
+
26,
|
|
560
|
+
3994,
|
|
561
|
+
6,
|
|
562
|
+
582,
|
|
563
|
+
6842,
|
|
564
|
+
29,
|
|
565
|
+
1763,
|
|
566
|
+
568,
|
|
567
|
+
8,
|
|
568
|
+
30,
|
|
569
|
+
18,
|
|
570
|
+
78,
|
|
571
|
+
18,
|
|
572
|
+
29,
|
|
573
|
+
19,
|
|
574
|
+
47,
|
|
575
|
+
17,
|
|
576
|
+
3,
|
|
577
|
+
32,
|
|
578
|
+
20,
|
|
579
|
+
6,
|
|
580
|
+
18,
|
|
581
|
+
433,
|
|
582
|
+
44,
|
|
583
|
+
212,
|
|
584
|
+
63,
|
|
585
|
+
129,
|
|
586
|
+
74,
|
|
587
|
+
6,
|
|
588
|
+
0,
|
|
589
|
+
67,
|
|
590
|
+
12,
|
|
591
|
+
65,
|
|
592
|
+
1,
|
|
593
|
+
2,
|
|
594
|
+
0,
|
|
595
|
+
29,
|
|
596
|
+
6135,
|
|
597
|
+
9,
|
|
598
|
+
1237,
|
|
599
|
+
42,
|
|
600
|
+
9,
|
|
601
|
+
8936,
|
|
602
|
+
3,
|
|
603
|
+
2,
|
|
604
|
+
6,
|
|
605
|
+
2,
|
|
606
|
+
1,
|
|
607
|
+
2,
|
|
608
|
+
290,
|
|
609
|
+
16,
|
|
610
|
+
0,
|
|
611
|
+
30,
|
|
612
|
+
2,
|
|
613
|
+
3,
|
|
614
|
+
0,
|
|
615
|
+
15,
|
|
616
|
+
3,
|
|
617
|
+
9,
|
|
618
|
+
395,
|
|
619
|
+
2309,
|
|
620
|
+
106,
|
|
621
|
+
6,
|
|
622
|
+
12,
|
|
623
|
+
4,
|
|
624
|
+
8,
|
|
625
|
+
8,
|
|
626
|
+
9,
|
|
627
|
+
5991,
|
|
628
|
+
84,
|
|
629
|
+
2,
|
|
630
|
+
70,
|
|
631
|
+
2,
|
|
632
|
+
1,
|
|
633
|
+
3,
|
|
634
|
+
0,
|
|
635
|
+
3,
|
|
636
|
+
1,
|
|
637
|
+
3,
|
|
638
|
+
3,
|
|
639
|
+
2,
|
|
640
|
+
11,
|
|
641
|
+
2,
|
|
642
|
+
0,
|
|
643
|
+
2,
|
|
644
|
+
6,
|
|
645
|
+
2,
|
|
646
|
+
64,
|
|
647
|
+
2,
|
|
648
|
+
3,
|
|
649
|
+
3,
|
|
650
|
+
7,
|
|
651
|
+
2,
|
|
652
|
+
6,
|
|
653
|
+
2,
|
|
654
|
+
27,
|
|
655
|
+
2,
|
|
656
|
+
3,
|
|
657
|
+
2,
|
|
658
|
+
4,
|
|
659
|
+
2,
|
|
660
|
+
0,
|
|
661
|
+
4,
|
|
662
|
+
6,
|
|
663
|
+
2,
|
|
664
|
+
339,
|
|
665
|
+
3,
|
|
666
|
+
24,
|
|
667
|
+
2,
|
|
668
|
+
24,
|
|
669
|
+
2,
|
|
670
|
+
30,
|
|
671
|
+
2,
|
|
672
|
+
24,
|
|
673
|
+
2,
|
|
674
|
+
30,
|
|
675
|
+
2,
|
|
676
|
+
24,
|
|
677
|
+
2,
|
|
678
|
+
30,
|
|
679
|
+
2,
|
|
680
|
+
24,
|
|
681
|
+
2,
|
|
682
|
+
30,
|
|
683
|
+
2,
|
|
684
|
+
24,
|
|
685
|
+
2,
|
|
686
|
+
7,
|
|
687
|
+
1845,
|
|
688
|
+
30,
|
|
689
|
+
7,
|
|
690
|
+
5,
|
|
691
|
+
262,
|
|
692
|
+
61,
|
|
693
|
+
147,
|
|
694
|
+
44,
|
|
695
|
+
11,
|
|
696
|
+
6,
|
|
697
|
+
17,
|
|
698
|
+
0,
|
|
699
|
+
322,
|
|
700
|
+
29,
|
|
701
|
+
19,
|
|
702
|
+
43,
|
|
703
|
+
485,
|
|
704
|
+
27,
|
|
705
|
+
229,
|
|
706
|
+
29,
|
|
707
|
+
3,
|
|
708
|
+
0,
|
|
709
|
+
496,
|
|
710
|
+
6,
|
|
711
|
+
2,
|
|
712
|
+
3,
|
|
713
|
+
2,
|
|
714
|
+
1,
|
|
715
|
+
2,
|
|
716
|
+
14,
|
|
717
|
+
2,
|
|
718
|
+
196,
|
|
719
|
+
60,
|
|
720
|
+
67,
|
|
721
|
+
8,
|
|
722
|
+
0,
|
|
723
|
+
1205,
|
|
724
|
+
3,
|
|
725
|
+
2,
|
|
726
|
+
26,
|
|
727
|
+
2,
|
|
728
|
+
1,
|
|
729
|
+
2,
|
|
730
|
+
0,
|
|
731
|
+
3,
|
|
732
|
+
0,
|
|
733
|
+
2,
|
|
734
|
+
9,
|
|
735
|
+
2,
|
|
736
|
+
3,
|
|
737
|
+
2,
|
|
738
|
+
0,
|
|
739
|
+
2,
|
|
740
|
+
0,
|
|
741
|
+
7,
|
|
742
|
+
0,
|
|
743
|
+
5,
|
|
744
|
+
0,
|
|
745
|
+
2,
|
|
746
|
+
0,
|
|
747
|
+
2,
|
|
748
|
+
0,
|
|
749
|
+
2,
|
|
750
|
+
2,
|
|
751
|
+
2,
|
|
752
|
+
1,
|
|
753
|
+
2,
|
|
754
|
+
0,
|
|
755
|
+
3,
|
|
756
|
+
0,
|
|
757
|
+
2,
|
|
758
|
+
0,
|
|
759
|
+
2,
|
|
760
|
+
0,
|
|
761
|
+
2,
|
|
762
|
+
0,
|
|
763
|
+
2,
|
|
764
|
+
0,
|
|
765
|
+
2,
|
|
766
|
+
1,
|
|
767
|
+
2,
|
|
768
|
+
0,
|
|
769
|
+
3,
|
|
770
|
+
3,
|
|
771
|
+
2,
|
|
772
|
+
6,
|
|
773
|
+
2,
|
|
774
|
+
3,
|
|
775
|
+
2,
|
|
776
|
+
3,
|
|
777
|
+
2,
|
|
778
|
+
0,
|
|
779
|
+
2,
|
|
780
|
+
9,
|
|
781
|
+
2,
|
|
782
|
+
16,
|
|
783
|
+
6,
|
|
784
|
+
2,
|
|
785
|
+
2,
|
|
786
|
+
4,
|
|
787
|
+
2,
|
|
788
|
+
16,
|
|
789
|
+
4421,
|
|
790
|
+
42719,
|
|
791
|
+
33,
|
|
792
|
+
4153,
|
|
793
|
+
7,
|
|
794
|
+
221,
|
|
795
|
+
3,
|
|
796
|
+
5761,
|
|
797
|
+
15,
|
|
798
|
+
7472,
|
|
799
|
+
16,
|
|
800
|
+
621,
|
|
801
|
+
2467,
|
|
802
|
+
541,
|
|
803
|
+
1507,
|
|
804
|
+
4938,
|
|
805
|
+
6,
|
|
806
|
+
4191
|
|
807
|
+
];
|
|
808
|
+
const astralIdentifierCodes = [
|
|
809
|
+
509,
|
|
810
|
+
0,
|
|
811
|
+
227,
|
|
812
|
+
0,
|
|
813
|
+
150,
|
|
814
|
+
4,
|
|
815
|
+
294,
|
|
816
|
+
9,
|
|
817
|
+
1368,
|
|
818
|
+
2,
|
|
819
|
+
2,
|
|
820
|
+
1,
|
|
821
|
+
6,
|
|
822
|
+
3,
|
|
823
|
+
41,
|
|
824
|
+
2,
|
|
825
|
+
5,
|
|
826
|
+
0,
|
|
827
|
+
166,
|
|
828
|
+
1,
|
|
829
|
+
574,
|
|
830
|
+
3,
|
|
831
|
+
9,
|
|
832
|
+
9,
|
|
833
|
+
7,
|
|
834
|
+
9,
|
|
835
|
+
32,
|
|
836
|
+
4,
|
|
837
|
+
318,
|
|
838
|
+
1,
|
|
839
|
+
80,
|
|
840
|
+
3,
|
|
841
|
+
71,
|
|
842
|
+
10,
|
|
843
|
+
50,
|
|
844
|
+
3,
|
|
845
|
+
123,
|
|
846
|
+
2,
|
|
847
|
+
54,
|
|
848
|
+
14,
|
|
849
|
+
32,
|
|
850
|
+
10,
|
|
851
|
+
3,
|
|
852
|
+
1,
|
|
853
|
+
11,
|
|
854
|
+
3,
|
|
855
|
+
46,
|
|
856
|
+
10,
|
|
857
|
+
8,
|
|
858
|
+
0,
|
|
859
|
+
46,
|
|
860
|
+
9,
|
|
861
|
+
7,
|
|
862
|
+
2,
|
|
863
|
+
37,
|
|
864
|
+
13,
|
|
865
|
+
2,
|
|
866
|
+
9,
|
|
867
|
+
6,
|
|
868
|
+
1,
|
|
869
|
+
45,
|
|
870
|
+
0,
|
|
871
|
+
13,
|
|
872
|
+
2,
|
|
873
|
+
49,
|
|
874
|
+
13,
|
|
875
|
+
9,
|
|
876
|
+
3,
|
|
877
|
+
2,
|
|
878
|
+
11,
|
|
879
|
+
83,
|
|
880
|
+
11,
|
|
881
|
+
7,
|
|
882
|
+
0,
|
|
883
|
+
3,
|
|
884
|
+
0,
|
|
885
|
+
158,
|
|
886
|
+
11,
|
|
887
|
+
6,
|
|
888
|
+
9,
|
|
889
|
+
7,
|
|
890
|
+
3,
|
|
891
|
+
56,
|
|
892
|
+
1,
|
|
893
|
+
2,
|
|
894
|
+
6,
|
|
895
|
+
3,
|
|
896
|
+
1,
|
|
897
|
+
3,
|
|
898
|
+
2,
|
|
899
|
+
10,
|
|
900
|
+
0,
|
|
901
|
+
11,
|
|
902
|
+
1,
|
|
903
|
+
3,
|
|
904
|
+
6,
|
|
905
|
+
4,
|
|
906
|
+
4,
|
|
907
|
+
68,
|
|
908
|
+
8,
|
|
909
|
+
2,
|
|
910
|
+
0,
|
|
911
|
+
3,
|
|
912
|
+
0,
|
|
913
|
+
2,
|
|
914
|
+
3,
|
|
915
|
+
2,
|
|
916
|
+
4,
|
|
917
|
+
2,
|
|
918
|
+
0,
|
|
919
|
+
15,
|
|
920
|
+
1,
|
|
921
|
+
83,
|
|
922
|
+
17,
|
|
923
|
+
10,
|
|
924
|
+
9,
|
|
925
|
+
5,
|
|
926
|
+
0,
|
|
927
|
+
82,
|
|
928
|
+
19,
|
|
929
|
+
13,
|
|
930
|
+
9,
|
|
931
|
+
214,
|
|
932
|
+
6,
|
|
933
|
+
3,
|
|
934
|
+
8,
|
|
935
|
+
28,
|
|
936
|
+
1,
|
|
937
|
+
83,
|
|
938
|
+
16,
|
|
939
|
+
16,
|
|
940
|
+
9,
|
|
941
|
+
82,
|
|
942
|
+
12,
|
|
943
|
+
9,
|
|
944
|
+
9,
|
|
945
|
+
7,
|
|
946
|
+
19,
|
|
947
|
+
58,
|
|
948
|
+
14,
|
|
949
|
+
5,
|
|
950
|
+
9,
|
|
951
|
+
243,
|
|
952
|
+
14,
|
|
953
|
+
166,
|
|
954
|
+
9,
|
|
955
|
+
71,
|
|
956
|
+
5,
|
|
957
|
+
2,
|
|
958
|
+
1,
|
|
959
|
+
3,
|
|
960
|
+
3,
|
|
961
|
+
2,
|
|
962
|
+
0,
|
|
963
|
+
2,
|
|
964
|
+
1,
|
|
965
|
+
13,
|
|
966
|
+
9,
|
|
967
|
+
120,
|
|
968
|
+
6,
|
|
969
|
+
3,
|
|
970
|
+
6,
|
|
971
|
+
4,
|
|
972
|
+
0,
|
|
973
|
+
29,
|
|
974
|
+
9,
|
|
975
|
+
41,
|
|
976
|
+
6,
|
|
977
|
+
2,
|
|
978
|
+
3,
|
|
979
|
+
9,
|
|
980
|
+
0,
|
|
981
|
+
10,
|
|
982
|
+
10,
|
|
983
|
+
47,
|
|
984
|
+
15,
|
|
985
|
+
343,
|
|
986
|
+
9,
|
|
987
|
+
54,
|
|
988
|
+
7,
|
|
989
|
+
2,
|
|
990
|
+
7,
|
|
991
|
+
17,
|
|
992
|
+
9,
|
|
993
|
+
57,
|
|
994
|
+
21,
|
|
995
|
+
2,
|
|
996
|
+
13,
|
|
997
|
+
123,
|
|
998
|
+
5,
|
|
999
|
+
4,
|
|
1000
|
+
0,
|
|
1001
|
+
2,
|
|
1002
|
+
1,
|
|
1003
|
+
2,
|
|
1004
|
+
6,
|
|
1005
|
+
2,
|
|
1006
|
+
0,
|
|
1007
|
+
9,
|
|
1008
|
+
9,
|
|
1009
|
+
49,
|
|
1010
|
+
4,
|
|
1011
|
+
2,
|
|
1012
|
+
1,
|
|
1013
|
+
2,
|
|
1014
|
+
4,
|
|
1015
|
+
9,
|
|
1016
|
+
9,
|
|
1017
|
+
330,
|
|
1018
|
+
3,
|
|
1019
|
+
10,
|
|
1020
|
+
1,
|
|
1021
|
+
2,
|
|
1022
|
+
0,
|
|
1023
|
+
49,
|
|
1024
|
+
6,
|
|
1025
|
+
4,
|
|
1026
|
+
4,
|
|
1027
|
+
14,
|
|
1028
|
+
10,
|
|
1029
|
+
5350,
|
|
1030
|
+
0,
|
|
1031
|
+
7,
|
|
1032
|
+
14,
|
|
1033
|
+
11465,
|
|
1034
|
+
27,
|
|
1035
|
+
2343,
|
|
1036
|
+
9,
|
|
1037
|
+
87,
|
|
1038
|
+
9,
|
|
1039
|
+
39,
|
|
1040
|
+
4,
|
|
1041
|
+
60,
|
|
1042
|
+
6,
|
|
1043
|
+
26,
|
|
1044
|
+
9,
|
|
1045
|
+
535,
|
|
1046
|
+
9,
|
|
1047
|
+
470,
|
|
1048
|
+
0,
|
|
1049
|
+
2,
|
|
1050
|
+
54,
|
|
1051
|
+
8,
|
|
1052
|
+
3,
|
|
1053
|
+
82,
|
|
1054
|
+
0,
|
|
1055
|
+
12,
|
|
1056
|
+
1,
|
|
1057
|
+
19628,
|
|
1058
|
+
1,
|
|
1059
|
+
4178,
|
|
1060
|
+
9,
|
|
1061
|
+
519,
|
|
1062
|
+
45,
|
|
1063
|
+
3,
|
|
1064
|
+
22,
|
|
1065
|
+
543,
|
|
1066
|
+
4,
|
|
1067
|
+
4,
|
|
1068
|
+
5,
|
|
1069
|
+
9,
|
|
1070
|
+
7,
|
|
1071
|
+
3,
|
|
1072
|
+
6,
|
|
1073
|
+
31,
|
|
1074
|
+
3,
|
|
1075
|
+
149,
|
|
1076
|
+
2,
|
|
1077
|
+
1418,
|
|
1078
|
+
49,
|
|
1079
|
+
513,
|
|
1080
|
+
54,
|
|
1081
|
+
5,
|
|
1082
|
+
49,
|
|
1083
|
+
9,
|
|
1084
|
+
0,
|
|
1085
|
+
15,
|
|
1086
|
+
0,
|
|
1087
|
+
23,
|
|
1088
|
+
4,
|
|
1089
|
+
2,
|
|
1090
|
+
14,
|
|
1091
|
+
1361,
|
|
1092
|
+
6,
|
|
1093
|
+
2,
|
|
1094
|
+
16,
|
|
1095
|
+
3,
|
|
1096
|
+
6,
|
|
1097
|
+
2,
|
|
1098
|
+
1,
|
|
1099
|
+
2,
|
|
1100
|
+
4,
|
|
1101
|
+
101,
|
|
1102
|
+
0,
|
|
1103
|
+
161,
|
|
1104
|
+
6,
|
|
1105
|
+
10,
|
|
1106
|
+
9,
|
|
1107
|
+
357,
|
|
1108
|
+
0,
|
|
1109
|
+
62,
|
|
1110
|
+
13,
|
|
1111
|
+
499,
|
|
1112
|
+
13,
|
|
1113
|
+
245,
|
|
1114
|
+
1,
|
|
1115
|
+
2,
|
|
1116
|
+
9,
|
|
1117
|
+
726,
|
|
1118
|
+
6,
|
|
1119
|
+
110,
|
|
1120
|
+
6,
|
|
1121
|
+
6,
|
|
1122
|
+
9,
|
|
1123
|
+
4759,
|
|
1124
|
+
9,
|
|
1125
|
+
787719,
|
|
1126
|
+
239
|
|
1127
|
+
];
|
|
1128
|
+
function isInAstralSet(code, set) {
|
|
1129
|
+
let pos = 0x10000;
|
|
1130
|
+
for(let i = 0, length = set.length; i < length; i += 2){
|
|
1131
|
+
pos += set[i];
|
|
1132
|
+
if (pos > code) break;
|
|
1133
|
+
pos += set[i + 1];
|
|
1134
|
+
if (pos >= code) return true;
|
|
1135
|
+
}
|
|
1136
|
+
return false;
|
|
1137
|
+
}
|
|
1138
|
+
function isIdentifierStart(code) {
|
|
1139
|
+
if (code < 65) return 36 === code;
|
|
1140
|
+
if (code <= 90) return true;
|
|
1141
|
+
if (code < 97) return 95 === code;
|
|
1142
|
+
if (code <= 122) return true;
|
|
1143
|
+
if (code <= 0xffff) return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code));
|
|
1144
|
+
return isInAstralSet(code, astralIdentifierStartCodes);
|
|
1145
|
+
}
|
|
1146
|
+
function isIdentifierChar(code) {
|
|
1147
|
+
if (code < 48) return 36 === code;
|
|
1148
|
+
if (code < 58) return true;
|
|
1149
|
+
if (code < 65) return false;
|
|
1150
|
+
if (code <= 90) return true;
|
|
1151
|
+
if (code < 97) return 95 === code;
|
|
1152
|
+
if (code <= 122) return true;
|
|
1153
|
+
if (code <= 0xffff) return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code));
|
|
1154
|
+
return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes);
|
|
1155
|
+
}
|
|
1156
|
+
function isIdentifierName(name) {
|
|
1157
|
+
let isFirst = true;
|
|
1158
|
+
for(let i = 0; i < name.length; i++){
|
|
1159
|
+
let cp = name.charCodeAt(i);
|
|
1160
|
+
if ((0xfc00 & cp) === 0xd800 && i + 1 < name.length) {
|
|
1161
|
+
const trail = name.charCodeAt(++i);
|
|
1162
|
+
if ((0xfc00 & trail) === 0xdc00) cp = 0x10000 + ((0x3ff & cp) << 10) + (0x3ff & trail);
|
|
1163
|
+
}
|
|
1164
|
+
if (isFirst) {
|
|
1165
|
+
isFirst = false;
|
|
1166
|
+
if (!isIdentifierStart(cp)) return false;
|
|
1167
|
+
} else if (!isIdentifierChar(cp)) return false;
|
|
1168
|
+
}
|
|
1169
|
+
return !isFirst;
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
"../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js": function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1173
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1174
|
+
value: true
|
|
1175
|
+
});
|
|
1176
|
+
Object.defineProperty(exports, "isIdentifierChar", {
|
|
1177
|
+
enumerable: true,
|
|
1178
|
+
get: function() {
|
|
1179
|
+
return _identifier.isIdentifierChar;
|
|
1180
|
+
}
|
|
1181
|
+
});
|
|
1182
|
+
Object.defineProperty(exports, "isIdentifierName", {
|
|
1183
|
+
enumerable: true,
|
|
1184
|
+
get: function() {
|
|
1185
|
+
return _identifier.isIdentifierName;
|
|
1186
|
+
}
|
|
1187
|
+
});
|
|
1188
|
+
Object.defineProperty(exports, "isIdentifierStart", {
|
|
1189
|
+
enumerable: true,
|
|
1190
|
+
get: function() {
|
|
1191
|
+
return _identifier.isIdentifierStart;
|
|
1192
|
+
}
|
|
1193
|
+
});
|
|
1194
|
+
Object.defineProperty(exports, "isKeyword", {
|
|
1195
|
+
enumerable: true,
|
|
1196
|
+
get: function() {
|
|
1197
|
+
return _keyword.isKeyword;
|
|
1198
|
+
}
|
|
1199
|
+
});
|
|
1200
|
+
Object.defineProperty(exports, "isReservedWord", {
|
|
1201
|
+
enumerable: true,
|
|
1202
|
+
get: function() {
|
|
1203
|
+
return _keyword.isReservedWord;
|
|
1204
|
+
}
|
|
1205
|
+
});
|
|
1206
|
+
Object.defineProperty(exports, "isStrictBindOnlyReservedWord", {
|
|
1207
|
+
enumerable: true,
|
|
1208
|
+
get: function() {
|
|
1209
|
+
return _keyword.isStrictBindOnlyReservedWord;
|
|
1210
|
+
}
|
|
1211
|
+
});
|
|
1212
|
+
Object.defineProperty(exports, "isStrictBindReservedWord", {
|
|
1213
|
+
enumerable: true,
|
|
1214
|
+
get: function() {
|
|
1215
|
+
return _keyword.isStrictBindReservedWord;
|
|
1216
|
+
}
|
|
1217
|
+
});
|
|
1218
|
+
Object.defineProperty(exports, "isStrictReservedWord", {
|
|
1219
|
+
enumerable: true,
|
|
1220
|
+
get: function() {
|
|
1221
|
+
return _keyword.isStrictReservedWord;
|
|
1222
|
+
}
|
|
1223
|
+
});
|
|
1224
|
+
var _identifier = __webpack_require__("../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js");
|
|
1225
|
+
var _keyword = __webpack_require__("../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js");
|
|
1226
|
+
},
|
|
1227
|
+
"../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js": function(__unused_webpack_module, exports) {
|
|
1228
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1229
|
+
value: true
|
|
1230
|
+
});
|
|
1231
|
+
exports.isKeyword = isKeyword;
|
|
1232
|
+
exports.isReservedWord = isReservedWord;
|
|
1233
|
+
exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord;
|
|
1234
|
+
exports.isStrictBindReservedWord = isStrictBindReservedWord;
|
|
1235
|
+
exports.isStrictReservedWord = isStrictReservedWord;
|
|
1236
|
+
const reservedWords = {
|
|
1237
|
+
keyword: [
|
|
1238
|
+
"break",
|
|
1239
|
+
"case",
|
|
1240
|
+
"catch",
|
|
1241
|
+
"continue",
|
|
1242
|
+
"debugger",
|
|
1243
|
+
"default",
|
|
1244
|
+
"do",
|
|
1245
|
+
"else",
|
|
1246
|
+
"finally",
|
|
1247
|
+
"for",
|
|
1248
|
+
"function",
|
|
1249
|
+
"if",
|
|
1250
|
+
"return",
|
|
1251
|
+
"switch",
|
|
1252
|
+
"throw",
|
|
1253
|
+
"try",
|
|
1254
|
+
"var",
|
|
1255
|
+
"const",
|
|
1256
|
+
"while",
|
|
1257
|
+
"with",
|
|
1258
|
+
"new",
|
|
1259
|
+
"this",
|
|
1260
|
+
"super",
|
|
1261
|
+
"class",
|
|
1262
|
+
"extends",
|
|
1263
|
+
"export",
|
|
1264
|
+
"import",
|
|
1265
|
+
"null",
|
|
1266
|
+
"true",
|
|
1267
|
+
"false",
|
|
1268
|
+
"in",
|
|
1269
|
+
"instanceof",
|
|
1270
|
+
"typeof",
|
|
1271
|
+
"void",
|
|
1272
|
+
"delete"
|
|
1273
|
+
],
|
|
1274
|
+
strict: [
|
|
1275
|
+
"implements",
|
|
1276
|
+
"interface",
|
|
1277
|
+
"let",
|
|
1278
|
+
"package",
|
|
1279
|
+
"private",
|
|
1280
|
+
"protected",
|
|
1281
|
+
"public",
|
|
1282
|
+
"static",
|
|
1283
|
+
"yield"
|
|
1284
|
+
],
|
|
1285
|
+
strictBind: [
|
|
1286
|
+
"eval",
|
|
1287
|
+
"arguments"
|
|
1288
|
+
]
|
|
1289
|
+
};
|
|
1290
|
+
const keywords = new Set(reservedWords.keyword);
|
|
1291
|
+
const reservedWordsStrictSet = new Set(reservedWords.strict);
|
|
1292
|
+
const reservedWordsStrictBindSet = new Set(reservedWords.strictBind);
|
|
1293
|
+
function isReservedWord(word, inModule) {
|
|
1294
|
+
return inModule && "await" === word || "enum" === word;
|
|
1295
|
+
}
|
|
1296
|
+
function isStrictReservedWord(word, inModule) {
|
|
1297
|
+
return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);
|
|
1298
|
+
}
|
|
1299
|
+
function isStrictBindOnlyReservedWord(word) {
|
|
1300
|
+
return reservedWordsStrictBindSet.has(word);
|
|
1301
|
+
}
|
|
1302
|
+
function isStrictBindReservedWord(word, inModule) {
|
|
1303
|
+
return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word);
|
|
1304
|
+
}
|
|
1305
|
+
function isKeyword(word) {
|
|
1306
|
+
return keywords.has(word);
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
};
|