oxfmt 0.47.0 → 0.49.0
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/configuration_schema.json +68 -10
- package/dist/acorn-ay2Aj6GQ.js +4972 -0
- package/dist/angular-z1ZEe5V_.js +4004 -0
- package/dist/{apis-hnICGpKH.js → apis-By1xj7IP.js} +15 -4
- package/dist/babel-Cs312VeV.js +9885 -0
- package/dist/{bindings--Yo3ZB_Z.js → bindings-Cdg_nxGV.js} +26 -26
- package/dist/{chunk-DSjvVL_1-DvmJ8i3j.js → chunk-DSjvVL_1-B3jw0SMn.js} +1 -1
- package/dist/chunk-HkwdBwDg.js +37 -0
- package/dist/cli-worker.js +1 -1
- package/dist/cli.js +3 -3
- package/dist/{dist-DBVLDX4Z.js → dist-Bbs0xV9H.js} +22 -17
- package/dist/{estree-CvnLDdmw.js → estree-DZBnPYMx.js} +1914 -1911
- package/dist/flow-ChhAFZSt.js +52916 -0
- package/dist/glimmer-Cg8KQipT.js +7533 -0
- package/dist/graphql-DsP-ifm0.js +1944 -0
- package/dist/html-7pWx9LND.js +7139 -0
- package/dist/index.d.ts +60 -4
- package/dist/index.js +2 -2
- package/dist/{jiti-Bb1dT6Cw-DpVi6yB1.js → jiti-Bb1dT6Cw-DezGRPD7.js} +5 -7
- package/dist/markdown-CCrs3bBt.js +6880 -0
- package/dist/{meriyah-CIaAh_Jq.js → meriyah-TC7VDz8E.js} +4649 -4647
- package/dist/{migrate-prettier-mSf_N9fW.js → migrate-prettier-Bze9N_6F.js} +1 -1
- package/dist/plugin-CwlqDRt_.js +1870 -0
- package/dist/postcss-ZbUej7DN.js +6788 -0
- package/dist/{prettier-plugin-oxfmt-CLoiASgP.js → prettier-plugin-oxfmt-BjdgYnLg.js} +1 -0
- package/dist/prettier-s1WPCGVk.js +15601 -0
- package/dist/{resolve-pWjAK-4f-BnvQ49el.js → resolve-pWjAK-4f-BnquIxPb.js} +2 -2
- package/dist/{sorter-BZkvDMjt-CgLjPuXI.js → sorter-BZkvDMjt-y2u_e1ZW.js} +6 -6
- package/dist/{sorter-C3ZRVYzK.js → sorter-l2HyESZg.js} +2 -2
- package/dist/typescript-Cgpjcksz.js +22899 -0
- package/dist/{utils-D8dQkKEd-CoIwOuFZ.js → utils-D8dQkKEd-Dgy5UIHl.js} +1 -1
- package/dist/{v3-D-mr2VVh-DA8uo048.js → v3-D-mr2VVh-Bw8A9MXh.js} +4 -4
- package/dist/{v4-C-HWEQJm-olIGVWd7.js → v4-C-HWEQJm-B81QD_Ac.js} +4 -4
- package/dist/yaml-DLZBHI7f.js +5280 -0
- package/package.json +28 -20
- package/dist/acorn-K_XpABqm.js +0 -4968
- package/dist/angular-B2OHapHD.js +0 -4057
- package/dist/babel-DA0BK-9N.js +0 -9883
- package/dist/chunk-DrSxFLj_.js +0 -14
- package/dist/flow-BthqNux8.js +0 -52912
- package/dist/glimmer-0WQITj6v.js +0 -7541
- package/dist/graphql-CZVKp936.js +0 -1945
- package/dist/html-CC61hPUL.js +0 -7137
- package/dist/markdown-BkJWkmO_.js +0 -6876
- package/dist/postcss-C8WoCp9x.js +0 -6785
- package/dist/prettier-DpEoE-3g.js +0 -15596
- package/dist/typescript-Cg8onQ4r.js +0 -22936
- package/dist/yaml-CTxkSwZx.js +0 -5281
|
@@ -1,205 +1,11 @@
|
|
|
1
|
+
import { n as __esmMin } from "./chunk-HkwdBwDg.js";
|
|
1
2
|
//#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/estree.mjs
|
|
2
|
-
var Ba = Object.defineProperty;
|
|
3
|
-
var jn = (e, t) => {
|
|
4
|
-
for (var r in t) Ba(e, r, {
|
|
5
|
-
get: t[r],
|
|
6
|
-
enumerable: !0
|
|
7
|
-
});
|
|
8
|
-
};
|
|
9
|
-
var Ta = {};
|
|
10
|
-
jn(Ta, {
|
|
11
|
-
languages: () => CD,
|
|
12
|
-
options: () => Aa,
|
|
13
|
-
printers: () => dD
|
|
14
|
-
});
|
|
15
|
-
var Qs = [
|
|
16
|
-
{
|
|
17
|
-
name: "JavaScript",
|
|
18
|
-
type: "programming",
|
|
19
|
-
aceMode: "javascript",
|
|
20
|
-
extensions: [
|
|
21
|
-
".js",
|
|
22
|
-
"._js",
|
|
23
|
-
".bones",
|
|
24
|
-
".cjs",
|
|
25
|
-
".es",
|
|
26
|
-
".es6",
|
|
27
|
-
".gs",
|
|
28
|
-
".jake",
|
|
29
|
-
".javascript",
|
|
30
|
-
".jsb",
|
|
31
|
-
".jscad",
|
|
32
|
-
".jsfl",
|
|
33
|
-
".jslib",
|
|
34
|
-
".jsm",
|
|
35
|
-
".jspre",
|
|
36
|
-
".jss",
|
|
37
|
-
".mjs",
|
|
38
|
-
".njs",
|
|
39
|
-
".pac",
|
|
40
|
-
".sjs",
|
|
41
|
-
".ssjs",
|
|
42
|
-
".xsjs",
|
|
43
|
-
".xsjslib",
|
|
44
|
-
".start.frag",
|
|
45
|
-
".end.frag",
|
|
46
|
-
".wxs"
|
|
47
|
-
],
|
|
48
|
-
filenames: [
|
|
49
|
-
"Jakefile",
|
|
50
|
-
"start.frag",
|
|
51
|
-
"end.frag"
|
|
52
|
-
],
|
|
53
|
-
tmScope: "source.js",
|
|
54
|
-
aliases: ["js", "node"],
|
|
55
|
-
codemirrorMode: "javascript",
|
|
56
|
-
codemirrorMimeType: "text/javascript",
|
|
57
|
-
interpreters: [
|
|
58
|
-
"chakra",
|
|
59
|
-
"d8",
|
|
60
|
-
"gjs",
|
|
61
|
-
"js",
|
|
62
|
-
"node",
|
|
63
|
-
"nodejs",
|
|
64
|
-
"qjs",
|
|
65
|
-
"rhino",
|
|
66
|
-
"v8",
|
|
67
|
-
"v8-shell",
|
|
68
|
-
"zx"
|
|
69
|
-
],
|
|
70
|
-
parsers: [
|
|
71
|
-
"babel",
|
|
72
|
-
"acorn",
|
|
73
|
-
"espree",
|
|
74
|
-
"meriyah",
|
|
75
|
-
"babel-flow",
|
|
76
|
-
"babel-ts",
|
|
77
|
-
"flow",
|
|
78
|
-
"typescript"
|
|
79
|
-
],
|
|
80
|
-
vscodeLanguageIds: ["javascript", "mongo"],
|
|
81
|
-
linguistLanguageId: 183
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
name: "Flow",
|
|
85
|
-
type: "programming",
|
|
86
|
-
aceMode: "javascript",
|
|
87
|
-
extensions: [".js.flow"],
|
|
88
|
-
filenames: [],
|
|
89
|
-
tmScope: "source.js",
|
|
90
|
-
aliases: [],
|
|
91
|
-
codemirrorMode: "javascript",
|
|
92
|
-
codemirrorMimeType: "text/javascript",
|
|
93
|
-
interpreters: [
|
|
94
|
-
"chakra",
|
|
95
|
-
"d8",
|
|
96
|
-
"gjs",
|
|
97
|
-
"js",
|
|
98
|
-
"node",
|
|
99
|
-
"nodejs",
|
|
100
|
-
"qjs",
|
|
101
|
-
"rhino",
|
|
102
|
-
"v8",
|
|
103
|
-
"v8-shell"
|
|
104
|
-
],
|
|
105
|
-
parsers: ["flow", "babel-flow"],
|
|
106
|
-
vscodeLanguageIds: ["javascript"],
|
|
107
|
-
linguistLanguageId: 183
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
name: "JSX",
|
|
111
|
-
type: "programming",
|
|
112
|
-
aceMode: "javascript",
|
|
113
|
-
extensions: [".jsx"],
|
|
114
|
-
filenames: void 0,
|
|
115
|
-
tmScope: "source.js.jsx",
|
|
116
|
-
aliases: void 0,
|
|
117
|
-
codemirrorMode: "jsx",
|
|
118
|
-
codemirrorMimeType: "text/jsx",
|
|
119
|
-
interpreters: void 0,
|
|
120
|
-
parsers: [
|
|
121
|
-
"babel",
|
|
122
|
-
"babel-flow",
|
|
123
|
-
"babel-ts",
|
|
124
|
-
"flow",
|
|
125
|
-
"typescript",
|
|
126
|
-
"espree",
|
|
127
|
-
"meriyah"
|
|
128
|
-
],
|
|
129
|
-
vscodeLanguageIds: ["javascriptreact"],
|
|
130
|
-
group: "JavaScript",
|
|
131
|
-
linguistLanguageId: 183
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
name: "TypeScript",
|
|
135
|
-
type: "programming",
|
|
136
|
-
aceMode: "typescript",
|
|
137
|
-
extensions: [
|
|
138
|
-
".ts",
|
|
139
|
-
".cts",
|
|
140
|
-
".mts"
|
|
141
|
-
],
|
|
142
|
-
tmScope: "source.ts",
|
|
143
|
-
aliases: ["ts"],
|
|
144
|
-
codemirrorMode: "javascript",
|
|
145
|
-
codemirrorMimeType: "application/typescript",
|
|
146
|
-
interpreters: [
|
|
147
|
-
"bun",
|
|
148
|
-
"deno",
|
|
149
|
-
"ts-node",
|
|
150
|
-
"tsx"
|
|
151
|
-
],
|
|
152
|
-
parsers: ["typescript", "babel-ts"],
|
|
153
|
-
vscodeLanguageIds: ["typescript"],
|
|
154
|
-
linguistLanguageId: 378
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
name: "TSX",
|
|
158
|
-
type: "programming",
|
|
159
|
-
aceMode: "tsx",
|
|
160
|
-
extensions: [".tsx"],
|
|
161
|
-
tmScope: "source.tsx",
|
|
162
|
-
codemirrorMode: "jsx",
|
|
163
|
-
codemirrorMimeType: "text/typescript-jsx",
|
|
164
|
-
group: "TypeScript",
|
|
165
|
-
parsers: ["typescript", "babel-ts"],
|
|
166
|
-
vscodeLanguageIds: ["typescriptreact"],
|
|
167
|
-
linguistLanguageId: 94901924
|
|
168
|
-
}
|
|
169
|
-
];
|
|
170
|
-
var Hs = {};
|
|
171
|
-
jn(Hs, {
|
|
172
|
-
canAttachComment: () => Pi,
|
|
173
|
-
embed: () => Co,
|
|
174
|
-
features: () => DD,
|
|
175
|
-
getVisitorKeys: () => Mr,
|
|
176
|
-
handleComments: () => Ji,
|
|
177
|
-
hasPrettierIgnore: () => nr,
|
|
178
|
-
insertPragma: () => Lo,
|
|
179
|
-
isBlockComment: () => ce,
|
|
180
|
-
isGap: () => Gi,
|
|
181
|
-
massageAstNode: () => Bi,
|
|
182
|
-
print: () => Ys,
|
|
183
|
-
printComment: () => wo,
|
|
184
|
-
printPrettierIgnored: () => Ys,
|
|
185
|
-
willPrintOwnComments: () => Wi
|
|
186
|
-
});
|
|
187
|
-
var Wt = (e, t) => (r, n, ...s) => r | 1 && n == null ? void 0 : (t.call(n) ?? n[e]).apply(n, s);
|
|
188
|
-
var ba = String.prototype.replaceAll ?? function(e, t) {
|
|
189
|
-
return e.global ? this.replace(e, t) : this.split(e).join(t);
|
|
190
|
-
}, W = Wt("replaceAll", function() {
|
|
191
|
-
if (typeof this == "string") return ba;
|
|
192
|
-
});
|
|
193
3
|
function ka(e) {
|
|
194
4
|
return this[e < 0 ? this.length + e : e];
|
|
195
5
|
}
|
|
196
|
-
var N = Wt("at", function() {
|
|
197
|
-
if (Array.isArray(this) || typeof this == "string") return ka;
|
|
198
|
-
});
|
|
199
6
|
function La(e) {
|
|
200
7
|
return e !== null && typeof e == "object";
|
|
201
8
|
}
|
|
202
|
-
var Lr = La;
|
|
203
9
|
function* Oa(e, t) {
|
|
204
10
|
let { getVisitorKeys: r, filter: n = () => !0 } = t, s = (i) => Lr(i) && n(i);
|
|
205
11
|
for (let i of r(e)) {
|
|
@@ -219,15 +25,12 @@ function zs(e, { getVisitorKeys: t, predicate: r }) {
|
|
|
219
25
|
for (let n of wa(e, { getVisitorKeys: t })) if (r(n)) return !0;
|
|
220
26
|
return !1;
|
|
221
27
|
}
|
|
222
|
-
var Zs = () => /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\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?|[\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](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\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-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
223
28
|
function vn(e) {
|
|
224
29
|
return e === 12288 || e >= 65281 && e <= 65376 || e >= 65504 && e <= 65510;
|
|
225
30
|
}
|
|
226
31
|
function Rn(e) {
|
|
227
32
|
return e >= 4352 && e <= 4447 || e === 8986 || e === 8987 || e === 9001 || e === 9002 || e >= 9193 && e <= 9196 || e === 9200 || e === 9203 || e === 9725 || e === 9726 || e === 9748 || e === 9749 || e >= 9776 && e <= 9783 || e >= 9800 && e <= 9811 || e === 9855 || e >= 9866 && e <= 9871 || e === 9875 || e === 9889 || e === 9898 || e === 9899 || e === 9917 || e === 9918 || e === 9924 || e === 9925 || e === 9934 || e === 9940 || e === 9962 || e === 9970 || e === 9971 || e === 9973 || e === 9978 || e === 9981 || e === 9989 || e === 9994 || e === 9995 || e === 10024 || e === 10060 || e === 10062 || e >= 10067 && e <= 10069 || e === 10071 || e >= 10133 && e <= 10135 || e === 10160 || e === 10175 || e === 11035 || e === 11036 || e === 11088 || e === 11093 || e >= 11904 && e <= 11929 || e >= 11931 && e <= 12019 || e >= 12032 && e <= 12245 || e >= 12272 && e <= 12287 || e >= 12289 && e <= 12350 || e >= 12353 && e <= 12438 || e >= 12441 && e <= 12543 || e >= 12549 && e <= 12591 || e >= 12593 && e <= 12686 || e >= 12688 && e <= 12773 || e >= 12783 && e <= 12830 || e >= 12832 && e <= 12871 || e >= 12880 && e <= 42124 || e >= 42128 && e <= 42182 || e >= 43360 && e <= 43388 || e >= 44032 && e <= 55203 || e >= 63744 && e <= 64255 || e >= 65040 && e <= 65049 || e >= 65072 && e <= 65106 || e >= 65108 && e <= 65126 || e >= 65128 && e <= 65131 || e >= 94176 && e <= 94180 || e >= 94192 && e <= 94198 || e >= 94208 && e <= 101589 || e >= 101631 && e <= 101662 || e >= 101760 && e <= 101874 || e >= 110576 && e <= 110579 || e >= 110581 && e <= 110587 || e === 110589 || e === 110590 || e >= 110592 && e <= 110882 || e === 110898 || e >= 110928 && e <= 110930 || e === 110933 || e >= 110948 && e <= 110951 || e >= 110960 && e <= 111355 || e >= 119552 && e <= 119638 || e >= 119648 && e <= 119670 || e === 126980 || e === 127183 || e === 127374 || e >= 127377 && e <= 127386 || e >= 127488 && e <= 127490 || e >= 127504 && e <= 127547 || e >= 127552 && e <= 127560 || e === 127568 || e === 127569 || e >= 127584 && e <= 127589 || e >= 127744 && e <= 127776 || e >= 127789 && e <= 127797 || e >= 127799 && e <= 127868 || e >= 127870 && e <= 127891 || e >= 127904 && e <= 127946 || e >= 127951 && e <= 127955 || e >= 127968 && e <= 127984 || e === 127988 || e >= 127992 && e <= 128062 || e === 128064 || e >= 128066 && e <= 128252 || e >= 128255 && e <= 128317 || e >= 128331 && e <= 128334 || e >= 128336 && e <= 128359 || e === 128378 || e === 128405 || e === 128406 || e === 128420 || e >= 128507 && e <= 128591 || e >= 128640 && e <= 128709 || e === 128716 || e >= 128720 && e <= 128722 || e >= 128725 && e <= 128728 || e >= 128732 && e <= 128735 || e === 128747 || e === 128748 || e >= 128756 && e <= 128764 || e >= 128992 && e <= 129003 || e === 129008 || e >= 129292 && e <= 129338 || e >= 129340 && e <= 129349 || e >= 129351 && e <= 129535 || e >= 129648 && e <= 129660 || e >= 129664 && e <= 129674 || e >= 129678 && e <= 129734 || e === 129736 || e >= 129741 && e <= 129756 || e >= 129759 && e <= 129770 || e >= 129775 && e <= 129784 || e >= 131072 && e <= 196605 || e >= 196608 && e <= 262141;
|
|
228
33
|
}
|
|
229
|
-
var ei = "©®‼⁉™ℹ↔↕↖↗↘↙↩↪⌨⏏⏱⏲⏸⏹⏺▪▫▶◀◻◼☀☁☂☃☄☎☑☘☝☠☢☣☦☪☮☯☸☹☺♀♂♟♠♣♥♦♨♻♾⚒⚔⚕⚖⚗⚙⚛⚜⚠⚧⚰⚱⛈⛏⛑⛓⛩⛱⛷⛸⛹✂✈✉✌✍✏✒✔✖✝✡✳✴❄❇❣❤➡⤴⤵⬅⬆⬇";
|
|
230
|
-
var _a = /[^\x20-\x7F]/u, Ma = new Set(ei);
|
|
231
34
|
function Na(e) {
|
|
232
35
|
if (!e) return 0;
|
|
233
36
|
if (!_a.test(e)) return e.length;
|
|
@@ -239,7 +42,6 @@ function Na(e) {
|
|
|
239
42
|
}
|
|
240
43
|
return t;
|
|
241
44
|
}
|
|
242
|
-
var ot = Na;
|
|
243
45
|
function Or(e) {
|
|
244
46
|
return (t, r, n) => {
|
|
245
47
|
let s = !!n?.backwards;
|
|
@@ -255,10 +57,6 @@ function Or(e) {
|
|
|
255
57
|
return o === -1 || o === i ? o : !1;
|
|
256
58
|
};
|
|
257
59
|
}
|
|
258
|
-
Or(/\s/u);
|
|
259
|
-
var ze = Or(" "), ti = Or(",; "), ri = Or(/[^\n\r]/u);
|
|
260
|
-
var ni = (e) => e === `
|
|
261
|
-
` || e === "\r" || e === "\u2028" || e === "\u2029";
|
|
262
60
|
function ja(e, t, r) {
|
|
263
61
|
let n = !!r?.backwards;
|
|
264
62
|
if (t === !1) return !1;
|
|
@@ -274,12 +72,10 @@ function ja(e, t, r) {
|
|
|
274
72
|
}
|
|
275
73
|
return t;
|
|
276
74
|
}
|
|
277
|
-
var Ze = ja;
|
|
278
75
|
function va(e, t, r = {}) {
|
|
279
76
|
let n = ze(e, r.backwards ? t - 1 : t, r);
|
|
280
77
|
return n !== Ze(e, n, r);
|
|
281
78
|
}
|
|
282
|
-
var Z = va;
|
|
283
79
|
function Ra(e, t) {
|
|
284
80
|
if (t === !1) return !1;
|
|
285
81
|
if (e.charAt(t) === "/" && e.charAt(t + 1) === "*") {
|
|
@@ -287,35 +83,17 @@ function Ra(e, t) {
|
|
|
287
83
|
}
|
|
288
84
|
return t;
|
|
289
85
|
}
|
|
290
|
-
var qt = Ra;
|
|
291
86
|
function Ja(e, t) {
|
|
292
87
|
return t === !1 ? !1 : e.charAt(t) === "/" && e.charAt(t + 1) === "/" ? ri(e, t) : t;
|
|
293
88
|
}
|
|
294
|
-
var Ut = Ja;
|
|
295
89
|
function Ga(e, t) {
|
|
296
90
|
let r = null, n = t;
|
|
297
91
|
for (; n !== r;) r = n, n = ti(e, n), n = qt(e, n), n = ze(e, n);
|
|
298
92
|
return n = Ut(e, n), n = Ze(e, n), n !== !1 && Z(e, n);
|
|
299
93
|
}
|
|
300
|
-
var Yt = Ga;
|
|
301
94
|
function Wa(e) {
|
|
302
95
|
return Array.isArray(e) && e.length > 0;
|
|
303
96
|
}
|
|
304
|
-
var R = Wa;
|
|
305
|
-
var qa = () => {}, Le = qa;
|
|
306
|
-
var si = Object.freeze({
|
|
307
|
-
character: "'",
|
|
308
|
-
codePoint: 39
|
|
309
|
-
}), ii = Object.freeze({
|
|
310
|
-
character: "\"",
|
|
311
|
-
codePoint: 34
|
|
312
|
-
}), Ua = Object.freeze({
|
|
313
|
-
preferred: si,
|
|
314
|
-
alternate: ii
|
|
315
|
-
}), Ya = Object.freeze({
|
|
316
|
-
preferred: ii,
|
|
317
|
-
alternate: si
|
|
318
|
-
});
|
|
319
97
|
function Ha(e, t) {
|
|
320
98
|
let { preferred: r, alternate: n } = t === !0 || t === "'" ? Ua : Ya, { length: s } = e, i = 0, o = 0;
|
|
321
99
|
for (let u = 0; u < s; u++) {
|
|
@@ -324,20 +102,15 @@ function Ha(e, t) {
|
|
|
324
102
|
}
|
|
325
103
|
return (i > o ? n : r).character;
|
|
326
104
|
}
|
|
327
|
-
var wr = Ha;
|
|
328
|
-
var Xa = /\\(["'\\])|(["'])/gu;
|
|
329
105
|
function Va(e, t) {
|
|
330
106
|
let r = t === "\"" ? "'" : "\"";
|
|
331
107
|
return t + W(0, e, Xa, (s, i, o) => i ? i === r ? r : s : o === t ? "\\" + o : o) + t;
|
|
332
108
|
}
|
|
333
|
-
var oi = Va;
|
|
334
109
|
function $a(e, t) {
|
|
335
110
|
Le(/^(?<quote>["']).*\k<quote>$/su.test(e));
|
|
336
111
|
let r = e.slice(1, -1), n = t.parser === "json" || t.parser === "jsonc" || t.parser === "json5" && t.quoteProps === "preserve" && !t.singleQuote ? "\"" : t.__isInHtmlAttribute ? "'" : wr(r, t.singleQuote);
|
|
337
112
|
return e.charAt(0) === n ? e : oi(r, n);
|
|
338
113
|
}
|
|
339
|
-
var ut = $a;
|
|
340
|
-
var ui = (e) => Number.isInteger(e) && e >= 0;
|
|
341
114
|
function w(e) {
|
|
342
115
|
let t = e.range?.[0] ?? e.start, r = (e.declaration?.decorators ?? e.decorators)?.[0];
|
|
343
116
|
return r ? Math.min(w(r), t) : t;
|
|
@@ -356,7 +129,6 @@ function Ka(e, t) {
|
|
|
356
129
|
function ai(e, t) {
|
|
357
130
|
return bt(e, t) && Ka(e, t);
|
|
358
131
|
}
|
|
359
|
-
var Dr = null;
|
|
360
132
|
function fr(e) {
|
|
361
133
|
if (Dr !== null && typeof Dr.property) {
|
|
362
134
|
let t = Dr;
|
|
@@ -364,8 +136,6 @@ function fr(e) {
|
|
|
364
136
|
}
|
|
365
137
|
return Dr = fr.prototype = e ?? Object.create(null), new fr();
|
|
366
138
|
}
|
|
367
|
-
var Qa = 10;
|
|
368
|
-
for (let e = 0; e <= Qa; e++) fr();
|
|
369
139
|
function Gn(e) {
|
|
370
140
|
return fr(e);
|
|
371
141
|
}
|
|
@@ -378,689 +148,13 @@ function za(e, t = "type") {
|
|
|
378
148
|
}
|
|
379
149
|
return r;
|
|
380
150
|
}
|
|
381
|
-
var _r = za;
|
|
382
|
-
var a = [
|
|
383
|
-
[
|
|
384
|
-
"decorators",
|
|
385
|
-
"key",
|
|
386
|
-
"typeAnnotation",
|
|
387
|
-
"value"
|
|
388
|
-
],
|
|
389
|
-
[],
|
|
390
|
-
["elementType"],
|
|
391
|
-
["expression"],
|
|
392
|
-
["expression", "typeAnnotation"],
|
|
393
|
-
["left", "right"],
|
|
394
|
-
["argument"],
|
|
395
|
-
["directives", "body"],
|
|
396
|
-
["label"],
|
|
397
|
-
[
|
|
398
|
-
"callee",
|
|
399
|
-
"typeArguments",
|
|
400
|
-
"arguments"
|
|
401
|
-
],
|
|
402
|
-
["body"],
|
|
403
|
-
[
|
|
404
|
-
"decorators",
|
|
405
|
-
"id",
|
|
406
|
-
"typeParameters",
|
|
407
|
-
"superClass",
|
|
408
|
-
"superTypeArguments",
|
|
409
|
-
"mixins",
|
|
410
|
-
"implements",
|
|
411
|
-
"body",
|
|
412
|
-
"superTypeParameters"
|
|
413
|
-
],
|
|
414
|
-
["id", "typeParameters"],
|
|
415
|
-
[
|
|
416
|
-
"decorators",
|
|
417
|
-
"key",
|
|
418
|
-
"typeParameters",
|
|
419
|
-
"params",
|
|
420
|
-
"returnType",
|
|
421
|
-
"body"
|
|
422
|
-
],
|
|
423
|
-
[
|
|
424
|
-
"decorators",
|
|
425
|
-
"variance",
|
|
426
|
-
"key",
|
|
427
|
-
"typeAnnotation",
|
|
428
|
-
"value"
|
|
429
|
-
],
|
|
430
|
-
["name", "typeAnnotation"],
|
|
431
|
-
[
|
|
432
|
-
"test",
|
|
433
|
-
"consequent",
|
|
434
|
-
"alternate"
|
|
435
|
-
],
|
|
436
|
-
[
|
|
437
|
-
"checkType",
|
|
438
|
-
"extendsType",
|
|
439
|
-
"trueType",
|
|
440
|
-
"falseType"
|
|
441
|
-
],
|
|
442
|
-
["value"],
|
|
443
|
-
["id", "body"],
|
|
444
|
-
[
|
|
445
|
-
"declaration",
|
|
446
|
-
"specifiers",
|
|
447
|
-
"source",
|
|
448
|
-
"attributes"
|
|
449
|
-
],
|
|
450
|
-
["id"],
|
|
451
|
-
[
|
|
452
|
-
"id",
|
|
453
|
-
"typeParameters",
|
|
454
|
-
"extends",
|
|
455
|
-
"body"
|
|
456
|
-
],
|
|
457
|
-
["typeAnnotation"],
|
|
458
|
-
[
|
|
459
|
-
"id",
|
|
460
|
-
"typeParameters",
|
|
461
|
-
"right"
|
|
462
|
-
],
|
|
463
|
-
["body", "test"],
|
|
464
|
-
["members"],
|
|
465
|
-
["id", "init"],
|
|
466
|
-
["exported"],
|
|
467
|
-
[
|
|
468
|
-
"left",
|
|
469
|
-
"right",
|
|
470
|
-
"body"
|
|
471
|
-
],
|
|
472
|
-
[
|
|
473
|
-
"id",
|
|
474
|
-
"typeParameters",
|
|
475
|
-
"params",
|
|
476
|
-
"predicate",
|
|
477
|
-
"returnType",
|
|
478
|
-
"body"
|
|
479
|
-
],
|
|
480
|
-
[
|
|
481
|
-
"id",
|
|
482
|
-
"params",
|
|
483
|
-
"body",
|
|
484
|
-
"typeParameters",
|
|
485
|
-
"returnType"
|
|
486
|
-
],
|
|
487
|
-
["key", "value"],
|
|
488
|
-
["local"],
|
|
489
|
-
["objectType", "indexType"],
|
|
490
|
-
["typeParameter"],
|
|
491
|
-
["types"],
|
|
492
|
-
["node"],
|
|
493
|
-
["object", "property"],
|
|
494
|
-
["argument", "cases"],
|
|
495
|
-
[
|
|
496
|
-
"pattern",
|
|
497
|
-
"body",
|
|
498
|
-
"guard"
|
|
499
|
-
],
|
|
500
|
-
["literal"],
|
|
501
|
-
[
|
|
502
|
-
"decorators",
|
|
503
|
-
"key",
|
|
504
|
-
"value"
|
|
505
|
-
],
|
|
506
|
-
["expressions"],
|
|
507
|
-
["qualification", "id"],
|
|
508
|
-
[
|
|
509
|
-
"decorators",
|
|
510
|
-
"key",
|
|
511
|
-
"typeAnnotation"
|
|
512
|
-
],
|
|
513
|
-
[
|
|
514
|
-
"typeParameters",
|
|
515
|
-
"params",
|
|
516
|
-
"returnType"
|
|
517
|
-
],
|
|
518
|
-
["expression", "typeArguments"],
|
|
519
|
-
["params"],
|
|
520
|
-
["parameterName", "typeAnnotation"]
|
|
521
|
-
];
|
|
522
|
-
var Mr = _r({
|
|
523
|
-
AccessorProperty: a[0],
|
|
524
|
-
AnyTypeAnnotation: a[1],
|
|
525
|
-
ArgumentPlaceholder: a[1],
|
|
526
|
-
ArrayExpression: ["elements"],
|
|
527
|
-
ArrayPattern: [
|
|
528
|
-
"elements",
|
|
529
|
-
"typeAnnotation",
|
|
530
|
-
"decorators"
|
|
531
|
-
],
|
|
532
|
-
ArrayTypeAnnotation: a[2],
|
|
533
|
-
ArrowFunctionExpression: [
|
|
534
|
-
"typeParameters",
|
|
535
|
-
"params",
|
|
536
|
-
"predicate",
|
|
537
|
-
"returnType",
|
|
538
|
-
"body"
|
|
539
|
-
],
|
|
540
|
-
AsConstExpression: a[3],
|
|
541
|
-
AsExpression: a[4],
|
|
542
|
-
AssignmentExpression: a[5],
|
|
543
|
-
AssignmentPattern: [
|
|
544
|
-
"left",
|
|
545
|
-
"right",
|
|
546
|
-
"decorators",
|
|
547
|
-
"typeAnnotation"
|
|
548
|
-
],
|
|
549
|
-
AwaitExpression: a[6],
|
|
550
|
-
BigIntLiteral: a[1],
|
|
551
|
-
BigIntLiteralTypeAnnotation: a[1],
|
|
552
|
-
BigIntTypeAnnotation: a[1],
|
|
553
|
-
BinaryExpression: a[5],
|
|
554
|
-
BindExpression: ["object", "callee"],
|
|
555
|
-
BlockStatement: a[7],
|
|
556
|
-
BooleanLiteral: a[1],
|
|
557
|
-
BooleanLiteralTypeAnnotation: a[1],
|
|
558
|
-
BooleanTypeAnnotation: a[1],
|
|
559
|
-
BreakStatement: a[8],
|
|
560
|
-
CallExpression: a[9],
|
|
561
|
-
CatchClause: ["param", "body"],
|
|
562
|
-
ChainExpression: a[3],
|
|
563
|
-
ClassAccessorProperty: a[0],
|
|
564
|
-
ClassBody: a[10],
|
|
565
|
-
ClassDeclaration: a[11],
|
|
566
|
-
ClassExpression: a[11],
|
|
567
|
-
ClassImplements: a[12],
|
|
568
|
-
ClassMethod: a[13],
|
|
569
|
-
ClassPrivateMethod: a[13],
|
|
570
|
-
ClassPrivateProperty: a[14],
|
|
571
|
-
ClassProperty: a[14],
|
|
572
|
-
ComponentDeclaration: [
|
|
573
|
-
"id",
|
|
574
|
-
"params",
|
|
575
|
-
"body",
|
|
576
|
-
"typeParameters",
|
|
577
|
-
"rendersType"
|
|
578
|
-
],
|
|
579
|
-
ComponentParameter: ["name", "local"],
|
|
580
|
-
ComponentTypeAnnotation: [
|
|
581
|
-
"params",
|
|
582
|
-
"rest",
|
|
583
|
-
"typeParameters",
|
|
584
|
-
"rendersType"
|
|
585
|
-
],
|
|
586
|
-
ComponentTypeParameter: a[15],
|
|
587
|
-
ConditionalExpression: a[16],
|
|
588
|
-
ConditionalTypeAnnotation: a[17],
|
|
589
|
-
ContinueStatement: a[8],
|
|
590
|
-
DebuggerStatement: a[1],
|
|
591
|
-
DeclareClass: [
|
|
592
|
-
"id",
|
|
593
|
-
"typeParameters",
|
|
594
|
-
"extends",
|
|
595
|
-
"mixins",
|
|
596
|
-
"implements",
|
|
597
|
-
"body"
|
|
598
|
-
],
|
|
599
|
-
DeclareComponent: [
|
|
600
|
-
"id",
|
|
601
|
-
"params",
|
|
602
|
-
"rest",
|
|
603
|
-
"typeParameters",
|
|
604
|
-
"rendersType"
|
|
605
|
-
],
|
|
606
|
-
DeclaredPredicate: a[18],
|
|
607
|
-
DeclareEnum: a[19],
|
|
608
|
-
DeclareExportAllDeclaration: ["source", "attributes"],
|
|
609
|
-
DeclareExportDeclaration: a[20],
|
|
610
|
-
DeclareFunction: ["id", "predicate"],
|
|
611
|
-
DeclareHook: a[21],
|
|
612
|
-
DeclareInterface: a[22],
|
|
613
|
-
DeclareModule: a[19],
|
|
614
|
-
DeclareModuleExports: a[23],
|
|
615
|
-
DeclareNamespace: a[19],
|
|
616
|
-
DeclareOpaqueType: [
|
|
617
|
-
"id",
|
|
618
|
-
"typeParameters",
|
|
619
|
-
"supertype",
|
|
620
|
-
"lowerBound",
|
|
621
|
-
"upperBound"
|
|
622
|
-
],
|
|
623
|
-
DeclareTypeAlias: a[24],
|
|
624
|
-
DeclareVariable: a[21],
|
|
625
|
-
Decorator: a[3],
|
|
626
|
-
Directive: a[18],
|
|
627
|
-
DirectiveLiteral: a[1],
|
|
628
|
-
DoExpression: a[10],
|
|
629
|
-
DoWhileStatement: a[25],
|
|
630
|
-
EmptyStatement: a[1],
|
|
631
|
-
EmptyTypeAnnotation: a[1],
|
|
632
|
-
EnumBigIntBody: a[26],
|
|
633
|
-
EnumBigIntMember: a[27],
|
|
634
|
-
EnumBooleanBody: a[26],
|
|
635
|
-
EnumBooleanMember: a[27],
|
|
636
|
-
EnumDeclaration: a[19],
|
|
637
|
-
EnumDefaultedMember: a[21],
|
|
638
|
-
EnumNumberBody: a[26],
|
|
639
|
-
EnumNumberMember: a[27],
|
|
640
|
-
EnumStringBody: a[26],
|
|
641
|
-
EnumStringMember: a[27],
|
|
642
|
-
EnumSymbolBody: a[26],
|
|
643
|
-
ExistsTypeAnnotation: a[1],
|
|
644
|
-
ExperimentalRestProperty: a[6],
|
|
645
|
-
ExperimentalSpreadProperty: a[6],
|
|
646
|
-
ExportAllDeclaration: [
|
|
647
|
-
"source",
|
|
648
|
-
"attributes",
|
|
649
|
-
"exported"
|
|
650
|
-
],
|
|
651
|
-
ExportDefaultDeclaration: ["declaration"],
|
|
652
|
-
ExportDefaultSpecifier: a[28],
|
|
653
|
-
ExportNamedDeclaration: a[20],
|
|
654
|
-
ExportNamespaceSpecifier: a[28],
|
|
655
|
-
ExportSpecifier: ["local", "exported"],
|
|
656
|
-
ExpressionStatement: a[3],
|
|
657
|
-
File: ["program"],
|
|
658
|
-
ForInStatement: a[29],
|
|
659
|
-
ForOfStatement: a[29],
|
|
660
|
-
ForStatement: [
|
|
661
|
-
"init",
|
|
662
|
-
"test",
|
|
663
|
-
"update",
|
|
664
|
-
"body"
|
|
665
|
-
],
|
|
666
|
-
FunctionDeclaration: a[30],
|
|
667
|
-
FunctionExpression: a[30],
|
|
668
|
-
FunctionTypeAnnotation: [
|
|
669
|
-
"typeParameters",
|
|
670
|
-
"this",
|
|
671
|
-
"params",
|
|
672
|
-
"rest",
|
|
673
|
-
"returnType"
|
|
674
|
-
],
|
|
675
|
-
FunctionTypeParam: a[15],
|
|
676
|
-
GenericTypeAnnotation: a[12],
|
|
677
|
-
HookDeclaration: a[31],
|
|
678
|
-
HookTypeAnnotation: [
|
|
679
|
-
"params",
|
|
680
|
-
"returnType",
|
|
681
|
-
"rest",
|
|
682
|
-
"typeParameters"
|
|
683
|
-
],
|
|
684
|
-
Identifier: ["typeAnnotation", "decorators"],
|
|
685
|
-
IfStatement: a[16],
|
|
686
|
-
ImportAttribute: a[32],
|
|
687
|
-
ImportDeclaration: [
|
|
688
|
-
"specifiers",
|
|
689
|
-
"source",
|
|
690
|
-
"attributes"
|
|
691
|
-
],
|
|
692
|
-
ImportDefaultSpecifier: a[33],
|
|
693
|
-
ImportExpression: ["source", "options"],
|
|
694
|
-
ImportNamespaceSpecifier: a[33],
|
|
695
|
-
ImportSpecifier: ["imported", "local"],
|
|
696
|
-
IndexedAccessType: a[34],
|
|
697
|
-
InferredPredicate: a[1],
|
|
698
|
-
InferTypeAnnotation: a[35],
|
|
699
|
-
InterfaceDeclaration: a[22],
|
|
700
|
-
InterfaceExtends: a[12],
|
|
701
|
-
InterfaceTypeAnnotation: ["extends", "body"],
|
|
702
|
-
InterpreterDirective: a[1],
|
|
703
|
-
IntersectionTypeAnnotation: a[36],
|
|
704
|
-
JsExpressionRoot: a[37],
|
|
705
|
-
JsonRoot: a[37],
|
|
706
|
-
JSXAttribute: ["name", "value"],
|
|
707
|
-
JSXClosingElement: ["name"],
|
|
708
|
-
JSXClosingFragment: a[1],
|
|
709
|
-
JSXElement: [
|
|
710
|
-
"openingElement",
|
|
711
|
-
"children",
|
|
712
|
-
"closingElement"
|
|
713
|
-
],
|
|
714
|
-
JSXEmptyExpression: a[1],
|
|
715
|
-
JSXExpressionContainer: a[3],
|
|
716
|
-
JSXFragment: [
|
|
717
|
-
"openingFragment",
|
|
718
|
-
"children",
|
|
719
|
-
"closingFragment"
|
|
720
|
-
],
|
|
721
|
-
JSXIdentifier: a[1],
|
|
722
|
-
JSXMemberExpression: a[38],
|
|
723
|
-
JSXNamespacedName: ["namespace", "name"],
|
|
724
|
-
JSXOpeningElement: [
|
|
725
|
-
"name",
|
|
726
|
-
"typeArguments",
|
|
727
|
-
"attributes"
|
|
728
|
-
],
|
|
729
|
-
JSXOpeningFragment: a[1],
|
|
730
|
-
JSXSpreadAttribute: a[6],
|
|
731
|
-
JSXSpreadChild: a[3],
|
|
732
|
-
JSXText: a[1],
|
|
733
|
-
KeyofTypeAnnotation: a[6],
|
|
734
|
-
LabeledStatement: ["label", "body"],
|
|
735
|
-
Literal: a[1],
|
|
736
|
-
LogicalExpression: a[5],
|
|
737
|
-
MatchArrayPattern: ["elements", "rest"],
|
|
738
|
-
MatchAsPattern: ["pattern", "target"],
|
|
739
|
-
MatchBindingPattern: a[21],
|
|
740
|
-
MatchExpression: a[39],
|
|
741
|
-
MatchExpressionCase: a[40],
|
|
742
|
-
MatchIdentifierPattern: a[21],
|
|
743
|
-
MatchLiteralPattern: a[41],
|
|
744
|
-
MatchMemberPattern: ["base", "property"],
|
|
745
|
-
MatchObjectPattern: ["properties", "rest"],
|
|
746
|
-
MatchObjectPatternProperty: ["key", "pattern"],
|
|
747
|
-
MatchOrPattern: ["patterns"],
|
|
748
|
-
MatchRestPattern: a[6],
|
|
749
|
-
MatchStatement: a[39],
|
|
750
|
-
MatchStatementCase: a[40],
|
|
751
|
-
MatchUnaryPattern: a[6],
|
|
752
|
-
MatchWildcardPattern: a[1],
|
|
753
|
-
MemberExpression: a[38],
|
|
754
|
-
MetaProperty: ["meta", "property"],
|
|
755
|
-
MethodDefinition: a[42],
|
|
756
|
-
MixedTypeAnnotation: a[1],
|
|
757
|
-
ModuleExpression: a[10],
|
|
758
|
-
NeverTypeAnnotation: a[1],
|
|
759
|
-
NewExpression: a[9],
|
|
760
|
-
NGChainedExpression: a[43],
|
|
761
|
-
NGEmptyExpression: a[1],
|
|
762
|
-
NGMicrosyntax: a[10],
|
|
763
|
-
NGMicrosyntaxAs: ["key", "alias"],
|
|
764
|
-
NGMicrosyntaxExpression: ["expression", "alias"],
|
|
765
|
-
NGMicrosyntaxKey: a[1],
|
|
766
|
-
NGMicrosyntaxKeyedExpression: ["key", "expression"],
|
|
767
|
-
NGMicrosyntaxLet: a[32],
|
|
768
|
-
NGPipeExpression: [
|
|
769
|
-
"left",
|
|
770
|
-
"right",
|
|
771
|
-
"arguments"
|
|
772
|
-
],
|
|
773
|
-
NGRoot: a[37],
|
|
774
|
-
NullableTypeAnnotation: a[23],
|
|
775
|
-
NullLiteral: a[1],
|
|
776
|
-
NullLiteralTypeAnnotation: a[1],
|
|
777
|
-
NumberLiteralTypeAnnotation: a[1],
|
|
778
|
-
NumberTypeAnnotation: a[1],
|
|
779
|
-
NumericLiteral: a[1],
|
|
780
|
-
ObjectExpression: ["properties"],
|
|
781
|
-
ObjectMethod: a[13],
|
|
782
|
-
ObjectPattern: [
|
|
783
|
-
"decorators",
|
|
784
|
-
"properties",
|
|
785
|
-
"typeAnnotation"
|
|
786
|
-
],
|
|
787
|
-
ObjectProperty: a[42],
|
|
788
|
-
ObjectTypeAnnotation: [
|
|
789
|
-
"properties",
|
|
790
|
-
"indexers",
|
|
791
|
-
"callProperties",
|
|
792
|
-
"internalSlots"
|
|
793
|
-
],
|
|
794
|
-
ObjectTypeCallProperty: a[18],
|
|
795
|
-
ObjectTypeIndexer: [
|
|
796
|
-
"variance",
|
|
797
|
-
"id",
|
|
798
|
-
"key",
|
|
799
|
-
"value"
|
|
800
|
-
],
|
|
801
|
-
ObjectTypeInternalSlot: ["id", "value"],
|
|
802
|
-
ObjectTypeMappedTypeProperty: [
|
|
803
|
-
"keyTparam",
|
|
804
|
-
"propType",
|
|
805
|
-
"sourceType",
|
|
806
|
-
"variance"
|
|
807
|
-
],
|
|
808
|
-
ObjectTypeProperty: [
|
|
809
|
-
"key",
|
|
810
|
-
"value",
|
|
811
|
-
"variance"
|
|
812
|
-
],
|
|
813
|
-
ObjectTypeSpreadProperty: a[6],
|
|
814
|
-
OpaqueType: [
|
|
815
|
-
"id",
|
|
816
|
-
"typeParameters",
|
|
817
|
-
"supertype",
|
|
818
|
-
"impltype",
|
|
819
|
-
"lowerBound",
|
|
820
|
-
"upperBound"
|
|
821
|
-
],
|
|
822
|
-
OptionalCallExpression: a[9],
|
|
823
|
-
OptionalIndexedAccessType: a[34],
|
|
824
|
-
OptionalMemberExpression: a[38],
|
|
825
|
-
ParenthesizedExpression: a[3],
|
|
826
|
-
PipelineBareFunction: ["callee"],
|
|
827
|
-
PipelinePrimaryTopicReference: a[1],
|
|
828
|
-
PipelineTopicExpression: a[3],
|
|
829
|
-
Placeholder: a[1],
|
|
830
|
-
PrivateIdentifier: a[1],
|
|
831
|
-
PrivateName: a[21],
|
|
832
|
-
Program: a[7],
|
|
833
|
-
Property: a[32],
|
|
834
|
-
PropertyDefinition: a[14],
|
|
835
|
-
QualifiedTypeIdentifier: a[44],
|
|
836
|
-
QualifiedTypeofIdentifier: a[44],
|
|
837
|
-
RegExpLiteral: a[1],
|
|
838
|
-
RestElement: [
|
|
839
|
-
"argument",
|
|
840
|
-
"typeAnnotation",
|
|
841
|
-
"decorators"
|
|
842
|
-
],
|
|
843
|
-
ReturnStatement: a[6],
|
|
844
|
-
SatisfiesExpression: a[4],
|
|
845
|
-
SequenceExpression: a[43],
|
|
846
|
-
SpreadElement: a[6],
|
|
847
|
-
StaticBlock: a[10],
|
|
848
|
-
StringLiteral: a[1],
|
|
849
|
-
StringLiteralTypeAnnotation: a[1],
|
|
850
|
-
StringTypeAnnotation: a[1],
|
|
851
|
-
Super: a[1],
|
|
852
|
-
SwitchCase: ["test", "consequent"],
|
|
853
|
-
SwitchStatement: ["discriminant", "cases"],
|
|
854
|
-
SymbolTypeAnnotation: a[1],
|
|
855
|
-
TaggedTemplateExpression: [
|
|
856
|
-
"tag",
|
|
857
|
-
"typeArguments",
|
|
858
|
-
"quasi"
|
|
859
|
-
],
|
|
860
|
-
TemplateElement: a[1],
|
|
861
|
-
TemplateLiteral: ["quasis", "expressions"],
|
|
862
|
-
ThisExpression: a[1],
|
|
863
|
-
ThisTypeAnnotation: a[1],
|
|
864
|
-
ThrowStatement: a[6],
|
|
865
|
-
TopicReference: a[1],
|
|
866
|
-
TryStatement: [
|
|
867
|
-
"block",
|
|
868
|
-
"handler",
|
|
869
|
-
"finalizer"
|
|
870
|
-
],
|
|
871
|
-
TSAbstractAccessorProperty: a[45],
|
|
872
|
-
TSAbstractKeyword: a[1],
|
|
873
|
-
TSAbstractMethodDefinition: a[32],
|
|
874
|
-
TSAbstractPropertyDefinition: a[45],
|
|
875
|
-
TSAnyKeyword: a[1],
|
|
876
|
-
TSArrayType: a[2],
|
|
877
|
-
TSAsExpression: a[4],
|
|
878
|
-
TSAsyncKeyword: a[1],
|
|
879
|
-
TSBigIntKeyword: a[1],
|
|
880
|
-
TSBooleanKeyword: a[1],
|
|
881
|
-
TSCallSignatureDeclaration: a[46],
|
|
882
|
-
TSClassImplements: a[47],
|
|
883
|
-
TSConditionalType: a[17],
|
|
884
|
-
TSConstructorType: a[46],
|
|
885
|
-
TSConstructSignatureDeclaration: a[46],
|
|
886
|
-
TSDeclareFunction: a[31],
|
|
887
|
-
TSDeclareKeyword: a[1],
|
|
888
|
-
TSDeclareMethod: [
|
|
889
|
-
"decorators",
|
|
890
|
-
"key",
|
|
891
|
-
"typeParameters",
|
|
892
|
-
"params",
|
|
893
|
-
"returnType"
|
|
894
|
-
],
|
|
895
|
-
TSEmptyBodyFunctionExpression: [
|
|
896
|
-
"id",
|
|
897
|
-
"typeParameters",
|
|
898
|
-
"params",
|
|
899
|
-
"returnType"
|
|
900
|
-
],
|
|
901
|
-
TSEnumBody: a[26],
|
|
902
|
-
TSEnumDeclaration: a[19],
|
|
903
|
-
TSEnumMember: ["id", "initializer"],
|
|
904
|
-
TSExportAssignment: a[3],
|
|
905
|
-
TSExportKeyword: a[1],
|
|
906
|
-
TSExternalModuleReference: a[3],
|
|
907
|
-
TSFunctionType: a[46],
|
|
908
|
-
TSImportEqualsDeclaration: ["id", "moduleReference"],
|
|
909
|
-
TSImportType: [
|
|
910
|
-
"options",
|
|
911
|
-
"qualifier",
|
|
912
|
-
"typeArguments",
|
|
913
|
-
"source"
|
|
914
|
-
],
|
|
915
|
-
TSIndexedAccessType: a[34],
|
|
916
|
-
TSIndexSignature: ["parameters", "typeAnnotation"],
|
|
917
|
-
TSInferType: a[35],
|
|
918
|
-
TSInstantiationExpression: a[47],
|
|
919
|
-
TSInterfaceBody: a[10],
|
|
920
|
-
TSInterfaceDeclaration: a[22],
|
|
921
|
-
TSInterfaceHeritage: a[47],
|
|
922
|
-
TSIntersectionType: a[36],
|
|
923
|
-
TSIntrinsicKeyword: a[1],
|
|
924
|
-
TSJSDocAllType: a[1],
|
|
925
|
-
TSJSDocNonNullableType: a[23],
|
|
926
|
-
TSJSDocNullableType: a[23],
|
|
927
|
-
TSJSDocUnknownType: a[1],
|
|
928
|
-
TSLiteralType: a[41],
|
|
929
|
-
TSMappedType: [
|
|
930
|
-
"key",
|
|
931
|
-
"constraint",
|
|
932
|
-
"nameType",
|
|
933
|
-
"typeAnnotation"
|
|
934
|
-
],
|
|
935
|
-
TSMethodSignature: [
|
|
936
|
-
"key",
|
|
937
|
-
"typeParameters",
|
|
938
|
-
"params",
|
|
939
|
-
"returnType"
|
|
940
|
-
],
|
|
941
|
-
TSModuleBlock: a[10],
|
|
942
|
-
TSModuleDeclaration: a[19],
|
|
943
|
-
TSNamedTupleMember: ["label", "elementType"],
|
|
944
|
-
TSNamespaceExportDeclaration: a[21],
|
|
945
|
-
TSNeverKeyword: a[1],
|
|
946
|
-
TSNonNullExpression: a[3],
|
|
947
|
-
TSNullKeyword: a[1],
|
|
948
|
-
TSNumberKeyword: a[1],
|
|
949
|
-
TSObjectKeyword: a[1],
|
|
950
|
-
TSOptionalType: a[23],
|
|
951
|
-
TSParameterProperty: ["parameter", "decorators"],
|
|
952
|
-
TSParenthesizedType: a[23],
|
|
953
|
-
TSPrivateKeyword: a[1],
|
|
954
|
-
TSPropertySignature: ["key", "typeAnnotation"],
|
|
955
|
-
TSProtectedKeyword: a[1],
|
|
956
|
-
TSPublicKeyword: a[1],
|
|
957
|
-
TSQualifiedName: a[5],
|
|
958
|
-
TSReadonlyKeyword: a[1],
|
|
959
|
-
TSRestType: a[23],
|
|
960
|
-
TSSatisfiesExpression: a[4],
|
|
961
|
-
TSStaticKeyword: a[1],
|
|
962
|
-
TSStringKeyword: a[1],
|
|
963
|
-
TSSymbolKeyword: a[1],
|
|
964
|
-
TSTemplateLiteralType: ["quasis", "types"],
|
|
965
|
-
TSThisType: a[1],
|
|
966
|
-
TSTupleType: ["elementTypes"],
|
|
967
|
-
TSTypeAliasDeclaration: [
|
|
968
|
-
"id",
|
|
969
|
-
"typeParameters",
|
|
970
|
-
"typeAnnotation"
|
|
971
|
-
],
|
|
972
|
-
TSTypeAnnotation: a[23],
|
|
973
|
-
TSTypeAssertion: a[4],
|
|
974
|
-
TSTypeLiteral: a[26],
|
|
975
|
-
TSTypeOperator: a[23],
|
|
976
|
-
TSTypeParameter: [
|
|
977
|
-
"name",
|
|
978
|
-
"constraint",
|
|
979
|
-
"default"
|
|
980
|
-
],
|
|
981
|
-
TSTypeParameterDeclaration: a[48],
|
|
982
|
-
TSTypeParameterInstantiation: a[48],
|
|
983
|
-
TSTypePredicate: a[49],
|
|
984
|
-
TSTypeQuery: ["exprName", "typeArguments"],
|
|
985
|
-
TSTypeReference: ["typeName", "typeArguments"],
|
|
986
|
-
TSUndefinedKeyword: a[1],
|
|
987
|
-
TSUnionType: a[36],
|
|
988
|
-
TSUnknownKeyword: a[1],
|
|
989
|
-
TSVoidKeyword: a[1],
|
|
990
|
-
TupleTypeAnnotation: ["types", "elementTypes"],
|
|
991
|
-
TupleTypeLabeledElement: [
|
|
992
|
-
"label",
|
|
993
|
-
"elementType",
|
|
994
|
-
"variance"
|
|
995
|
-
],
|
|
996
|
-
TupleTypeSpreadElement: ["label", "typeAnnotation"],
|
|
997
|
-
TypeAlias: a[24],
|
|
998
|
-
TypeAnnotation: a[23],
|
|
999
|
-
TypeCastExpression: a[4],
|
|
1000
|
-
TypeofTypeAnnotation: ["argument", "typeArguments"],
|
|
1001
|
-
TypeOperator: a[23],
|
|
1002
|
-
TypeParameter: [
|
|
1003
|
-
"bound",
|
|
1004
|
-
"default",
|
|
1005
|
-
"variance"
|
|
1006
|
-
],
|
|
1007
|
-
TypeParameterDeclaration: a[48],
|
|
1008
|
-
TypeParameterInstantiation: a[48],
|
|
1009
|
-
TypePredicate: a[49],
|
|
1010
|
-
UnaryExpression: a[6],
|
|
1011
|
-
UndefinedTypeAnnotation: a[1],
|
|
1012
|
-
UnionTypeAnnotation: a[36],
|
|
1013
|
-
UnknownTypeAnnotation: a[1],
|
|
1014
|
-
UpdateExpression: a[6],
|
|
1015
|
-
V8IntrinsicIdentifier: a[1],
|
|
1016
|
-
VariableDeclaration: ["declarations"],
|
|
1017
|
-
VariableDeclarator: a[27],
|
|
1018
|
-
Variance: a[1],
|
|
1019
|
-
VoidPattern: a[1],
|
|
1020
|
-
VoidTypeAnnotation: a[1],
|
|
1021
|
-
WhileStatement: a[25],
|
|
1022
|
-
WithStatement: ["object", "body"],
|
|
1023
|
-
YieldExpression: a[6]
|
|
1024
|
-
});
|
|
1025
151
|
function ep(e) {
|
|
1026
152
|
let t = new Set(e);
|
|
1027
153
|
return (r) => t.has(r?.type);
|
|
1028
154
|
}
|
|
1029
|
-
var k = ep;
|
|
1030
155
|
function tp(e) {
|
|
1031
156
|
return e.extra?.raw ?? e.raw;
|
|
1032
157
|
}
|
|
1033
|
-
var pe = tp;
|
|
1034
|
-
var ce = k([
|
|
1035
|
-
"Block",
|
|
1036
|
-
"CommentBlock",
|
|
1037
|
-
"MultiLine"
|
|
1038
|
-
]);
|
|
1039
|
-
var Nr = k([
|
|
1040
|
-
"AnyTypeAnnotation",
|
|
1041
|
-
"ThisTypeAnnotation",
|
|
1042
|
-
"NumberTypeAnnotation",
|
|
1043
|
-
"VoidTypeAnnotation",
|
|
1044
|
-
"BooleanTypeAnnotation",
|
|
1045
|
-
"BigIntTypeAnnotation",
|
|
1046
|
-
"SymbolTypeAnnotation",
|
|
1047
|
-
"StringTypeAnnotation",
|
|
1048
|
-
"NeverTypeAnnotation",
|
|
1049
|
-
"UndefinedTypeAnnotation",
|
|
1050
|
-
"UnknownTypeAnnotation",
|
|
1051
|
-
"EmptyTypeAnnotation",
|
|
1052
|
-
"MixedTypeAnnotation"
|
|
1053
|
-
]);
|
|
1054
|
-
var At = k([
|
|
1055
|
-
"Line",
|
|
1056
|
-
"CommentLine",
|
|
1057
|
-
"SingleLine",
|
|
1058
|
-
"HashbangComment",
|
|
1059
|
-
"HTMLOpen",
|
|
1060
|
-
"HTMLClose",
|
|
1061
|
-
"Hashbang",
|
|
1062
|
-
"InterpreterDirective"
|
|
1063
|
-
]);
|
|
1064
158
|
function ip(e, t) {
|
|
1065
159
|
let r = t.split(".");
|
|
1066
160
|
for (let n = r.length - 1; n >= 0; n--) {
|
|
@@ -1080,15 +174,12 @@ function ip(e, t) {
|
|
|
1080
174
|
function op(e, t) {
|
|
1081
175
|
return t.some((r) => ip(e, r));
|
|
1082
176
|
}
|
|
1083
|
-
var Pt = op;
|
|
1084
177
|
function up({ type: e }) {
|
|
1085
178
|
return e.startsWith("TS") && e.endsWith("Keyword");
|
|
1086
179
|
}
|
|
1087
|
-
var jr = up;
|
|
1088
180
|
function ap({ node: e, parent: t }) {
|
|
1089
181
|
return e?.type !== "EmptyStatement" ? !1 : t.type === "IfStatement" ? t.consequent === e || t.alternate === e : t.type === "DoWhileStatement" || t.type === "ForInStatement" || t.type === "ForOfStatement" || t.type === "ForStatement" || t.type === "LabeledStatement" || t.type === "WithStatement" || t.type === "WhileStatement" ? t.body === e : !1;
|
|
1090
182
|
}
|
|
1091
|
-
var kt = ap;
|
|
1092
183
|
function Er(e, t) {
|
|
1093
184
|
return t(e) || zs(e, {
|
|
1094
185
|
getVisitorKeys: Mr,
|
|
@@ -1112,13 +203,6 @@ function Rr(e) {
|
|
|
1112
203
|
if (e.expression) return ["expression"];
|
|
1113
204
|
throw new Error("Unexpected node has no left side.");
|
|
1114
205
|
}
|
|
1115
|
-
var Di = k([
|
|
1116
|
-
"ExportDefaultDeclaration",
|
|
1117
|
-
"DeclareExportDeclaration",
|
|
1118
|
-
"ExportNamedDeclaration",
|
|
1119
|
-
"ExportAllDeclaration",
|
|
1120
|
-
"DeclareExportAllDeclaration"
|
|
1121
|
-
]), q = k(["ArrayExpression"]), se = k(["ObjectExpression"]);
|
|
1122
206
|
function fi(e) {
|
|
1123
207
|
return e.type === "LogicalExpression" && e.operator === "??";
|
|
1124
208
|
}
|
|
@@ -1137,26 +221,6 @@ function V(e) {
|
|
|
1137
221
|
function Xn(e) {
|
|
1138
222
|
return e.type === "RegExpLiteral" || e.type === "Literal" && !!e.regex;
|
|
1139
223
|
}
|
|
1140
|
-
var Jr = k([
|
|
1141
|
-
"Literal",
|
|
1142
|
-
"BooleanLiteral",
|
|
1143
|
-
"BigIntLiteral",
|
|
1144
|
-
"DirectiveLiteral",
|
|
1145
|
-
"NullLiteral",
|
|
1146
|
-
"NumericLiteral",
|
|
1147
|
-
"RegExpLiteral",
|
|
1148
|
-
"StringLiteral"
|
|
1149
|
-
]), pp = k([
|
|
1150
|
-
"Identifier",
|
|
1151
|
-
"ThisExpression",
|
|
1152
|
-
"Super",
|
|
1153
|
-
"PrivateName",
|
|
1154
|
-
"PrivateIdentifier"
|
|
1155
|
-
]), Je = k([
|
|
1156
|
-
"ObjectTypeAnnotation",
|
|
1157
|
-
"TSTypeLiteral",
|
|
1158
|
-
"TSMappedType"
|
|
1159
|
-
]), Ht = k(["FunctionExpression", "ArrowFunctionExpression"]);
|
|
1160
224
|
function cp(e) {
|
|
1161
225
|
return e.type === "FunctionExpression" || e.type === "ArrowFunctionExpression" && e.body.type === "BlockStatement";
|
|
1162
226
|
}
|
|
@@ -1168,7 +232,6 @@ function Wn(e) {
|
|
|
1168
232
|
"waitForAsync"
|
|
1169
233
|
].includes(e.callee.name);
|
|
1170
234
|
}
|
|
1171
|
-
var H = k(["JSXElement", "JSXFragment"]);
|
|
1172
235
|
function mt(e) {
|
|
1173
236
|
return e.method && e.kind === "init" || e.kind === "get" || e.kind === "set";
|
|
1174
237
|
}
|
|
@@ -1178,58 +241,15 @@ function Gr(e) {
|
|
|
1178
241
|
function Ei(e) {
|
|
1179
242
|
return (e.type === "TypeAnnotation" || e.type === "TSTypeAnnotation") && e.typeAnnotation.type === "FunctionTypeAnnotation" && !e.static && !bt(e, e.typeAnnotation);
|
|
1180
243
|
}
|
|
1181
|
-
var Te = k([
|
|
1182
|
-
"BinaryExpression",
|
|
1183
|
-
"LogicalExpression",
|
|
1184
|
-
"NGPipeExpression"
|
|
1185
|
-
]);
|
|
1186
244
|
function Tt(e) {
|
|
1187
245
|
return J(e) || e.type === "BindExpression" && !!e.object;
|
|
1188
246
|
}
|
|
1189
|
-
var lp = k([
|
|
1190
|
-
"TSThisType",
|
|
1191
|
-
"NullLiteralTypeAnnotation",
|
|
1192
|
-
"BooleanLiteralTypeAnnotation",
|
|
1193
|
-
"StringLiteralTypeAnnotation",
|
|
1194
|
-
"BigIntLiteralTypeAnnotation",
|
|
1195
|
-
"NumberLiteralTypeAnnotation",
|
|
1196
|
-
"TSLiteralType",
|
|
1197
|
-
"TSTemplateLiteralType"
|
|
1198
|
-
]);
|
|
1199
247
|
function Vt(e) {
|
|
1200
248
|
return jr(e) || Nr(e) || lp(e) || e.type === "GenericTypeAnnotation" && !e.typeParameters || e.type === "TSTypeReference" && !e.typeArguments;
|
|
1201
249
|
}
|
|
1202
250
|
function mp(e) {
|
|
1203
251
|
return e.type === "Identifier" && (e.name === "beforeEach" || e.name === "beforeAll" || e.name === "afterEach" || e.name === "afterAll");
|
|
1204
252
|
}
|
|
1205
|
-
var Dp = [
|
|
1206
|
-
"it",
|
|
1207
|
-
"it.only",
|
|
1208
|
-
"it.skip",
|
|
1209
|
-
"describe",
|
|
1210
|
-
"describe.only",
|
|
1211
|
-
"describe.skip",
|
|
1212
|
-
"test",
|
|
1213
|
-
"test.only",
|
|
1214
|
-
"test.skip",
|
|
1215
|
-
"test.fixme",
|
|
1216
|
-
"test.step",
|
|
1217
|
-
"test.describe",
|
|
1218
|
-
"test.describe.only",
|
|
1219
|
-
"test.describe.skip",
|
|
1220
|
-
"test.describe.fixme",
|
|
1221
|
-
"test.describe.parallel",
|
|
1222
|
-
"test.describe.parallel.only",
|
|
1223
|
-
"test.describe.serial",
|
|
1224
|
-
"test.describe.serial.only",
|
|
1225
|
-
"skip",
|
|
1226
|
-
"xit",
|
|
1227
|
-
"xdescribe",
|
|
1228
|
-
"xtest",
|
|
1229
|
-
"fit",
|
|
1230
|
-
"fdescribe",
|
|
1231
|
-
"ftest"
|
|
1232
|
-
];
|
|
1233
253
|
function fp(e) {
|
|
1234
254
|
return Pt(e, Dp);
|
|
1235
255
|
}
|
|
@@ -1242,7 +262,6 @@ function It(e, t) {
|
|
|
1242
262
|
} else if ((r.length === 2 || r.length === 3) && (r[0].type === "TemplateLiteral" || V(r[0])) && fp(e.callee)) return r[2] && !Ce(r[2]) ? !1 : (r.length === 2 ? Ht(r[1]) : cp(r[1]) && K(r[1]).length <= 1) || Wn(r[1]);
|
|
1243
263
|
return !1;
|
|
1244
264
|
}
|
|
1245
|
-
var Fi = (e) => (t) => (t?.type === "ChainExpression" && (t = t.expression), e(t)), M = Fi(k(["CallExpression", "OptionalCallExpression"])), J = Fi(k(["MemberExpression", "OptionalMemberExpression"]));
|
|
1246
265
|
function Vn(e, t = 5) {
|
|
1247
266
|
return di(e, t) <= t;
|
|
1248
267
|
}
|
|
@@ -1254,7 +273,6 @@ function di(e, t) {
|
|
|
1254
273
|
}
|
|
1255
274
|
return r;
|
|
1256
275
|
}
|
|
1257
|
-
var yp = .25;
|
|
1258
276
|
function Fr(e, t) {
|
|
1259
277
|
let { printWidth: r } = t;
|
|
1260
278
|
if (T(e)) return !1;
|
|
@@ -1293,12 +311,6 @@ function Ur(e) {
|
|
|
1293
311
|
let { node: t, parent: r, key: n } = e;
|
|
1294
312
|
return n === "callee" && M(t) && M(r) && r.arguments.length > 0 && t.arguments.length > r.arguments.length;
|
|
1295
313
|
}
|
|
1296
|
-
var Ep = new Set([
|
|
1297
|
-
"!",
|
|
1298
|
-
"-",
|
|
1299
|
-
"+",
|
|
1300
|
-
"~"
|
|
1301
|
-
]);
|
|
1302
314
|
function Re(e, t = 2) {
|
|
1303
315
|
if (t <= 0) return !1;
|
|
1304
316
|
if (e.type === "ChainExpression" || e.type === "TSNonNullExpression") return Re(e.expression, t);
|
|
@@ -1346,58 +358,9 @@ function ye(e, t) {
|
|
|
1346
358
|
default: return t(e);
|
|
1347
359
|
}
|
|
1348
360
|
}
|
|
1349
|
-
var li = {
|
|
1350
|
-
"==": !0,
|
|
1351
|
-
"!=": !0,
|
|
1352
|
-
"===": !0,
|
|
1353
|
-
"!==": !0
|
|
1354
|
-
}, vr = {
|
|
1355
|
-
"*": !0,
|
|
1356
|
-
"/": !0,
|
|
1357
|
-
"%": !0
|
|
1358
|
-
}, Yn = {
|
|
1359
|
-
">>": !0,
|
|
1360
|
-
">>>": !0,
|
|
1361
|
-
"<<": !0
|
|
1362
|
-
};
|
|
1363
361
|
function dr(e, t) {
|
|
1364
362
|
return !(yr(t) !== yr(e) || e === "**" || li[e] && li[t] || t === "%" && vr[e] || e === "%" && vr[t] || t !== e && vr[t] && vr[e] || Yn[e] && Yn[t]);
|
|
1365
363
|
}
|
|
1366
|
-
var Fp = new Map([
|
|
1367
|
-
["|>"],
|
|
1368
|
-
["??"],
|
|
1369
|
-
["||"],
|
|
1370
|
-
["&&"],
|
|
1371
|
-
["|"],
|
|
1372
|
-
["^"],
|
|
1373
|
-
["&"],
|
|
1374
|
-
[
|
|
1375
|
-
"==",
|
|
1376
|
-
"===",
|
|
1377
|
-
"!=",
|
|
1378
|
-
"!=="
|
|
1379
|
-
],
|
|
1380
|
-
[
|
|
1381
|
-
"<",
|
|
1382
|
-
">",
|
|
1383
|
-
"<=",
|
|
1384
|
-
">=",
|
|
1385
|
-
"in",
|
|
1386
|
-
"instanceof"
|
|
1387
|
-
],
|
|
1388
|
-
[
|
|
1389
|
-
">>",
|
|
1390
|
-
"<<",
|
|
1391
|
-
">>>"
|
|
1392
|
-
],
|
|
1393
|
-
["+", "-"],
|
|
1394
|
-
[
|
|
1395
|
-
"*",
|
|
1396
|
-
"/",
|
|
1397
|
-
"%"
|
|
1398
|
-
],
|
|
1399
|
-
["**"]
|
|
1400
|
-
].flatMap((e, t) => e.map((r) => [r, t])));
|
|
1401
364
|
function yr(e) {
|
|
1402
365
|
return Fp.get(e);
|
|
1403
366
|
}
|
|
@@ -1408,7 +371,6 @@ function Ti(e) {
|
|
|
1408
371
|
if (e.rest) return !0;
|
|
1409
372
|
return N(0, K(e), -1)?.type === "RestElement";
|
|
1410
373
|
}
|
|
1411
|
-
var qn = /* @__PURE__ */ new WeakMap();
|
|
1412
374
|
function K(e) {
|
|
1413
375
|
if (qn.has(e)) return qn.get(e);
|
|
1414
376
|
let t = [];
|
|
@@ -1418,7 +380,6 @@ function xi(e, t) {
|
|
|
1418
380
|
let { node: r } = e, n = 0, s = () => t(e, n++);
|
|
1419
381
|
r.this && e.call(s, "this"), e.each(s, "params"), r.rest && e.call(s, "rest");
|
|
1420
382
|
}
|
|
1421
|
-
var Un = /* @__PURE__ */ new WeakMap();
|
|
1422
383
|
function le(e) {
|
|
1423
384
|
if (Un.has(e)) return Un.get(e);
|
|
1424
385
|
if (e.type === "ChainExpression") return le(e.expression);
|
|
@@ -1451,18 +412,6 @@ function Lt(e) {
|
|
|
1451
412
|
function Ot(e) {
|
|
1452
413
|
return e?.prettierIgnore || T(e, x.PrettierIgnore);
|
|
1453
414
|
}
|
|
1454
|
-
var x = {
|
|
1455
|
-
Leading: 2,
|
|
1456
|
-
Trailing: 4,
|
|
1457
|
-
Dangling: 8,
|
|
1458
|
-
Block: 16,
|
|
1459
|
-
Line: 32,
|
|
1460
|
-
PrettierIgnore: 64,
|
|
1461
|
-
First: 128,
|
|
1462
|
-
Last: 256
|
|
1463
|
-
}, gi = (e, t) => {
|
|
1464
|
-
if (typeof e == "function" && (t = e, e = 0), e || t) return (r, n, s) => !(e & x.Leading && !r.leading || e & x.Trailing && !r.trailing || e & x.Dangling && (r.leading || r.trailing) || e & x.Block && !ce(r) || e & x.Line && !At(r) || e & x.First && n !== 0 || e & x.Last && n !== s.length - 1 || e & x.PrettierIgnore && !Lt(r) || t && !t(r));
|
|
1465
|
-
};
|
|
1466
415
|
function T(e, t, r) {
|
|
1467
416
|
if (!R(e?.comments)) return !1;
|
|
1468
417
|
let n = gi(t, r);
|
|
@@ -1473,40 +422,15 @@ function et(e, t, r) {
|
|
|
1473
422
|
let n = gi(t, r);
|
|
1474
423
|
return n ? e.comments.filter(n) : e.comments;
|
|
1475
424
|
}
|
|
1476
|
-
var oe = (e, { originalText: t }) => Yt(t, I(e));
|
|
1477
425
|
function Dt(e) {
|
|
1478
426
|
return M(e) || e.type === "NewExpression" || e.type === "ImportExpression";
|
|
1479
427
|
}
|
|
1480
428
|
function Oe(e) {
|
|
1481
429
|
return e && (e.type === "ObjectProperty" || e.type === "Property" && !mt(e));
|
|
1482
430
|
}
|
|
1483
|
-
var Ae = k([
|
|
1484
|
-
"TSAsExpression",
|
|
1485
|
-
"TSSatisfiesExpression",
|
|
1486
|
-
"AsExpression",
|
|
1487
|
-
"AsConstExpression",
|
|
1488
|
-
"SatisfiesExpression"
|
|
1489
|
-
]), Se = k(["TSUnionType", "UnionTypeAnnotation"]), xt = k(["TSIntersectionType", "IntersectionTypeAnnotation"]), Ue = k(["TSConditionalType", "ConditionalTypeAnnotation"]), hi = (e) => e?.type === "TSAsExpression" && e.typeAnnotation.type === "TSTypeReference" && e.typeAnnotation.typeName.type === "Identifier" && e.typeAnnotation.typeName.name === "const", Cr = k(["TSTypeAliasDeclaration", "TypeAlias"]);
|
|
1490
431
|
function Yr({ key: e, parent: t }) {
|
|
1491
432
|
return !(e === "types" && Se(t) || e === "types" && xt(t));
|
|
1492
433
|
}
|
|
1493
|
-
var dp = new Set([
|
|
1494
|
-
"range",
|
|
1495
|
-
"raw",
|
|
1496
|
-
"comments",
|
|
1497
|
-
"leadingComments",
|
|
1498
|
-
"trailingComments",
|
|
1499
|
-
"innerComments",
|
|
1500
|
-
"extra",
|
|
1501
|
-
"start",
|
|
1502
|
-
"end",
|
|
1503
|
-
"loc",
|
|
1504
|
-
"flags",
|
|
1505
|
-
"errors",
|
|
1506
|
-
"tokens"
|
|
1507
|
-
]), Kt = (e) => {
|
|
1508
|
-
for (let t of e.quasis) delete t.value;
|
|
1509
|
-
};
|
|
1510
434
|
function Si(e, t, r) {
|
|
1511
435
|
if (e.type === "Program" && delete t.sourceType, (e.type === "BigIntLiteral" || e.type === "Literal") && e.bigint && (t.bigint = e.bigint.toLowerCase()), e.type === "EmptyStatement" && !kt({
|
|
1512
436
|
node: e,
|
|
@@ -1532,21 +456,12 @@ function Si(e, t, r) {
|
|
|
1532
456
|
}
|
|
1533
457
|
e.type === "TaggedTemplateExpression" && (e.tag.type === "MemberExpression" || e.tag.type === "Identifier" && (e.tag.name === "gql" || e.tag.name === "graphql" || e.tag.name === "css" || e.tag.name === "md" || e.tag.name === "markdown" || e.tag.name === "html") || e.tag.type === "CallExpression") && Kt(t.quasi), e.type === "TemplateLiteral" && Kt(t), e.type === "ChainExpression" && e.expression.type === "TSNonNullExpression" && (t.type = "TSNonNullExpression", t.expression.type = "ChainExpression");
|
|
1534
458
|
}
|
|
1535
|
-
Si.ignoredProperties = dp;
|
|
1536
|
-
var Bi = Si;
|
|
1537
|
-
var Cp = k([
|
|
1538
|
-
"File",
|
|
1539
|
-
"TemplateElement",
|
|
1540
|
-
"TSEmptyBodyFunctionExpression",
|
|
1541
|
-
"ChainExpression"
|
|
1542
|
-
]), Ap = (e, [t]) => t?.type === "ComponentParameter" && t.shorthand && t.name === e && t.local !== t.name || t?.type === "MatchObjectPatternProperty" && t.shorthand && t.key === e && t.value !== t.key || t?.type === "ObjectProperty" && t.shorthand && t.key === e && t.value !== t.key || t?.type === "Property" && t.shorthand && t.key === e && !mt(t) && t.value !== t.key, Tp = (e, [t]) => !!(e.type === "FunctionExpression" && t.type === "MethodDefinition" && t.value === e && K(e).length === 0 && !e.returnType && !R(e.typeParameters) && e.body), bi = (e, [t]) => t?.typeAnnotation === e && hi(t), xp = (e, [t, ...r]) => bi(e, [t]) || t?.typeName === e && bi(t, r);
|
|
1543
459
|
function gp(e, t) {
|
|
1544
460
|
return Cp(e) || Ap(e, t) || Tp(e, t) ? !1 : e.type === "EmptyStatement" ? kt({
|
|
1545
461
|
node: e,
|
|
1546
462
|
parent: t[0]
|
|
1547
463
|
}) : !(xp(e, t) || e.type === "TSTypeAnnotation" && t[0].type === "TSPropertySignature");
|
|
1548
464
|
}
|
|
1549
|
-
var Pi = gp;
|
|
1550
465
|
function hp(e) {
|
|
1551
466
|
let t = e.type || e.kind || "(unknown type)", r = String(e.name || e.id && (typeof e.id == "object" ? e.id.name : e.id) || e.key && (typeof e.key == "object" ? e.key.name : e.key) || e.value && (typeof e.value == "object" ? "" : String(e.value)) || e.operator || "");
|
|
1552
467
|
return r.length > 20 && (r = r.slice(0, 19) + "…"), t + (r ? " " + r : "");
|
|
@@ -1568,24 +483,18 @@ function Sp(e, t) {
|
|
|
1568
483
|
for (; n !== r;) r = n, n = ze(e, n), n = qt(e, n), n = Ut(e, n), n = Ze(e, n);
|
|
1569
484
|
return n;
|
|
1570
485
|
}
|
|
1571
|
-
var at = Sp;
|
|
1572
486
|
function Bp(e, t) {
|
|
1573
487
|
let r = at(e, t);
|
|
1574
488
|
return r === !1 ? "" : e.charAt(r);
|
|
1575
489
|
}
|
|
1576
|
-
var _e = Bp;
|
|
1577
490
|
function bp(e, t, r) {
|
|
1578
491
|
for (let n = t; n < r; ++n) if (e.charAt(n) === `
|
|
1579
492
|
`) return !0;
|
|
1580
493
|
return !1;
|
|
1581
494
|
}
|
|
1582
|
-
var ue = bp;
|
|
1583
|
-
var Qn = /* @__PURE__ */ new WeakMap();
|
|
1584
495
|
function Pp(e) {
|
|
1585
496
|
return Qn.has(e) || Qn.set(e, ce(e) && e.value[0] === "*" && /@(?:type|satisfies)\b/u.test(e.value)), Qn.get(e);
|
|
1586
497
|
}
|
|
1587
|
-
var Hr = Pp;
|
|
1588
|
-
var Zn = (e, t) => At(e) || !ue(t, w(e), I(e));
|
|
1589
498
|
function kp(e) {
|
|
1590
499
|
return [
|
|
1591
500
|
ji,
|
|
@@ -1689,14 +598,6 @@ function Ii({ comment: e, precedingNode: t, enclosingNode: r, followingNode: n,
|
|
|
1689
598
|
let o = t && !ue(s, I(t), w(e));
|
|
1690
599
|
return (!t || !o) && (r?.type === "ConditionalExpression" || Ue(r)) && n ? i.experimentalTernaries && r.alternate === n && !(ce(e) && !ue(i.originalText, w(e), I(e))) ? (we(r, e), !0) : (te(n, e), !0) : !1;
|
|
1691
600
|
}
|
|
1692
|
-
var Mp = k([
|
|
1693
|
-
"ClassDeclaration",
|
|
1694
|
-
"ClassExpression",
|
|
1695
|
-
"DeclareClass",
|
|
1696
|
-
"DeclareInterface",
|
|
1697
|
-
"InterfaceDeclaration",
|
|
1698
|
-
"TSInterfaceDeclaration"
|
|
1699
|
-
]);
|
|
1700
601
|
function Li({ comment: e, precedingNode: t, enclosingNode: r, followingNode: n }) {
|
|
1701
602
|
if (Mp(r)) {
|
|
1702
603
|
if (R(r.decorators) && n?.type !== "Decorator") return $(N(0, r.decorators, -1), e), !0;
|
|
@@ -1712,29 +613,9 @@ function Li({ comment: e, precedingNode: t, enclosingNode: r, followingNode: n }
|
|
|
1712
613
|
}
|
|
1713
614
|
return !1;
|
|
1714
615
|
}
|
|
1715
|
-
var Np = k([
|
|
1716
|
-
"ClassMethod",
|
|
1717
|
-
"ClassProperty",
|
|
1718
|
-
"PropertyDefinition",
|
|
1719
|
-
"TSAbstractPropertyDefinition",
|
|
1720
|
-
"TSAbstractMethodDefinition",
|
|
1721
|
-
"TSDeclareMethod",
|
|
1722
|
-
"MethodDefinition",
|
|
1723
|
-
"ClassAccessorProperty",
|
|
1724
|
-
"AccessorProperty",
|
|
1725
|
-
"TSAbstractAccessorProperty",
|
|
1726
|
-
"TSParameterProperty"
|
|
1727
|
-
]);
|
|
1728
616
|
function Oi({ comment: e, precedingNode: t, enclosingNode: r, text: n }) {
|
|
1729
617
|
return r && t && _e(n, I(e)) === "(" && (r.type === "Property" || r.type === "TSDeclareMethod" || r.type === "TSAbstractMethodDefinition") && t.type === "Identifier" && r.key === t && _e(n, I(t)) !== ":" ? ($(t, e), !0) : t?.type === "Decorator" && Np(r) && (At(e) || e.placement === "ownLine") ? ($(t, e), !0) : !1;
|
|
1730
618
|
}
|
|
1731
|
-
var wi = k([
|
|
1732
|
-
"FunctionDeclaration",
|
|
1733
|
-
"FunctionExpression",
|
|
1734
|
-
"ClassMethod",
|
|
1735
|
-
"MethodDefinition",
|
|
1736
|
-
"ObjectMethod"
|
|
1737
|
-
]);
|
|
1738
619
|
function jp({ comment: e, precedingNode: t, enclosingNode: r, text: n }) {
|
|
1739
620
|
return _e(n, I(e)) !== "(" ? !1 : t && wi(r) ? ($(t, e), !0) : !1;
|
|
1740
621
|
}
|
|
@@ -1784,19 +665,6 @@ function Ni({ comment: e, precedingNode: t, enclosingNode: r, text: n }) {
|
|
|
1784
665
|
function Hp({ comment: e, enclosingNode: t }) {
|
|
1785
666
|
return t?.type === "AssignmentPattern" ? (te(t, e), !0) : !1;
|
|
1786
667
|
}
|
|
1787
|
-
var Xp = k([
|
|
1788
|
-
"VariableDeclarator",
|
|
1789
|
-
"AssignmentExpression",
|
|
1790
|
-
"TypeAlias",
|
|
1791
|
-
"TSTypeAliasDeclaration"
|
|
1792
|
-
]), Vp = k([
|
|
1793
|
-
"ObjectExpression",
|
|
1794
|
-
"ArrayExpression",
|
|
1795
|
-
"TemplateLiteral",
|
|
1796
|
-
"TaggedTemplateExpression",
|
|
1797
|
-
"ObjectTypeAnnotation",
|
|
1798
|
-
"TSTypeLiteral"
|
|
1799
|
-
]);
|
|
1800
668
|
function $p({ comment: e, enclosingNode: t, followingNode: r }) {
|
|
1801
669
|
return Xp(t) && r && (Vp(r) || ce(e)) ? (te(r, e), !0) : !1;
|
|
1802
670
|
}
|
|
@@ -1830,58 +698,15 @@ function ss({ enclosingNode: e, precedingNode: t, followingNode: r, comment: n,
|
|
|
1830
698
|
function rc({ comment: e, enclosingNode: t, followingNode: r, precedingNode: n }) {
|
|
1831
699
|
return t && r && n && t.type === "ArrowFunctionExpression" && t.returnType === n && (n.type === "TSTypeAnnotation" || n.type === "TypeAnnotation") ? (te(r, e), !0) : !1;
|
|
1832
700
|
}
|
|
1833
|
-
var Ri = k([
|
|
1834
|
-
"ArrowFunctionExpression",
|
|
1835
|
-
"FunctionExpression",
|
|
1836
|
-
"FunctionDeclaration",
|
|
1837
|
-
"ObjectMethod",
|
|
1838
|
-
"ClassMethod",
|
|
1839
|
-
"TSDeclareFunction",
|
|
1840
|
-
"TSCallSignatureDeclaration",
|
|
1841
|
-
"TSConstructSignatureDeclaration",
|
|
1842
|
-
"TSMethodSignature",
|
|
1843
|
-
"TSConstructorType",
|
|
1844
|
-
"TSFunctionType",
|
|
1845
|
-
"TSDeclareMethod"
|
|
1846
|
-
]), Ji = {
|
|
1847
|
-
endOfLine: Ip,
|
|
1848
|
-
ownLine: kp,
|
|
1849
|
-
remaining: Lp
|
|
1850
|
-
};
|
|
1851
701
|
function sc(e, { parser: t }) {
|
|
1852
702
|
if (t === "flow" || t === "hermes" || t === "babel-flow") return e = W(0, e, /[\s(]/gu, ""), e === "" || e === "/*" || e === "/*::";
|
|
1853
703
|
}
|
|
1854
|
-
var Gi = sc;
|
|
1855
|
-
var ic = k([
|
|
1856
|
-
"ClassDeclaration",
|
|
1857
|
-
"ClassExpression",
|
|
1858
|
-
"DeclareClass",
|
|
1859
|
-
"DeclareInterface",
|
|
1860
|
-
"InterfaceDeclaration",
|
|
1861
|
-
"TSInterfaceDeclaration"
|
|
1862
|
-
]);
|
|
1863
704
|
function oc(e) {
|
|
1864
705
|
let { key: t, parent: r } = e;
|
|
1865
706
|
if (t === "types" && Se(r) || t === "argument" && r.type === "JSXSpreadAttribute" || t === "expression" && r.type === "JSXSpreadChild" || t === "superClass" && (r.type === "ClassDeclaration" || r.type === "ClassExpression") || (t === "id" || t === "typeParameters") && ic(r) || t === "patterns" && r.type === "MatchOrPattern") return !0;
|
|
1866
707
|
let { node: n } = e;
|
|
1867
708
|
return Ot(n) ? !1 : Se(n) ? Yr(e) : !!H(n);
|
|
1868
709
|
}
|
|
1869
|
-
var Wi = oc;
|
|
1870
|
-
var Ye = "string", Be = "array", tt = "cursor", He = "indent", Xe = "align", rt = "trim", Fe = "group", Me = "fill", be = "if-break", Ve = "indent-if-break", $e = "line-suffix", Ge = "line-suffix-boundary", me = "line", Pe = "label", Ne = "break-parent", Xr = new Set([
|
|
1871
|
-
tt,
|
|
1872
|
-
He,
|
|
1873
|
-
Xe,
|
|
1874
|
-
rt,
|
|
1875
|
-
Fe,
|
|
1876
|
-
Me,
|
|
1877
|
-
be,
|
|
1878
|
-
Ve,
|
|
1879
|
-
$e,
|
|
1880
|
-
Ge,
|
|
1881
|
-
me,
|
|
1882
|
-
Pe,
|
|
1883
|
-
Ne
|
|
1884
|
-
]);
|
|
1885
710
|
function uc(e) {
|
|
1886
711
|
if (typeof e == "string") return Ye;
|
|
1887
712
|
if (Array.isArray(e)) return Be;
|
|
@@ -1889,8 +714,6 @@ function uc(e) {
|
|
|
1889
714
|
let { type: t } = e;
|
|
1890
715
|
if (Xr.has(t)) return t;
|
|
1891
716
|
}
|
|
1892
|
-
var We = uc;
|
|
1893
|
-
var ac = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
|
|
1894
717
|
function pc(e) {
|
|
1895
718
|
let t = e === null ? "null" : typeof e;
|
|
1896
719
|
if (t !== "string" && t !== "object") return `Unexpected doc '${t}',
|
|
@@ -1902,13 +725,6 @@ Expected it to be 'string' or 'object'.`;
|
|
|
1902
725
|
return `Unexpected doc.type '${e.type}'.
|
|
1903
726
|
Expected it to be ${n}.`;
|
|
1904
727
|
}
|
|
1905
|
-
var is = class extends Error {
|
|
1906
|
-
name = "InvalidDocError";
|
|
1907
|
-
constructor(t) {
|
|
1908
|
-
super(pc(t)), this.doc = t;
|
|
1909
|
-
}
|
|
1910
|
-
}, gt = is;
|
|
1911
|
-
var qi = {};
|
|
1912
728
|
function cc(e, t, r, n) {
|
|
1913
729
|
let s = [e];
|
|
1914
730
|
for (; s.length > 0;) {
|
|
@@ -1951,7 +767,6 @@ function cc(e, t, r, n) {
|
|
|
1951
767
|
}
|
|
1952
768
|
}
|
|
1953
769
|
}
|
|
1954
|
-
var Vr = cc;
|
|
1955
770
|
function ft(e, t) {
|
|
1956
771
|
if (typeof e == "string") return t(e);
|
|
1957
772
|
let r = /* @__PURE__ */ new Map();
|
|
@@ -2109,7 +924,6 @@ function Vi(e) {
|
|
|
2109
924
|
}
|
|
2110
925
|
}), t;
|
|
2111
926
|
}
|
|
2112
|
-
var de = Le, Kr = Le, $i = Le, Ki = Le;
|
|
2113
927
|
function m(e) {
|
|
2114
928
|
return de(e), {
|
|
2115
929
|
type: He,
|
|
@@ -2138,8 +952,6 @@ function zi(e, t, r) {
|
|
|
2138
952
|
}
|
|
2139
953
|
return n;
|
|
2140
954
|
}
|
|
2141
|
-
var ke = { type: Ne };
|
|
2142
|
-
var Tr = { type: tt };
|
|
2143
955
|
function zr(e) {
|
|
2144
956
|
return $i(e), {
|
|
2145
957
|
type: Me,
|
|
@@ -2190,39 +1002,15 @@ function pt(e, t) {
|
|
|
2190
1002
|
contents: t
|
|
2191
1003
|
} : t;
|
|
2192
1004
|
}
|
|
2193
|
-
var A = { type: me }, f = {
|
|
2194
|
-
type: me,
|
|
2195
|
-
soft: !0
|
|
2196
|
-
}, os = {
|
|
2197
|
-
type: me,
|
|
2198
|
-
hard: !0
|
|
2199
|
-
}, E = [os, ke], $r = [{
|
|
2200
|
-
type: me,
|
|
2201
|
-
hard: !0,
|
|
2202
|
-
literal: !0
|
|
2203
|
-
}, ke];
|
|
2204
1005
|
function us(e) {
|
|
2205
1006
|
return de(e), {
|
|
2206
1007
|
type: $e,
|
|
2207
1008
|
contents: e
|
|
2208
1009
|
};
|
|
2209
1010
|
}
|
|
2210
|
-
var je = { type: Ge };
|
|
2211
|
-
var Ec = "cr", Fc = "crlf";
|
|
2212
|
-
var dc = "\r", Cc = `\r
|
|
2213
|
-
`, Tc = `
|
|
2214
|
-
`;
|
|
2215
1011
|
function Zi(e) {
|
|
2216
1012
|
return e === Ec ? dc : e === Fc ? Cc : Tc;
|
|
2217
1013
|
}
|
|
2218
|
-
var xc = { type: 0 }, gc = { type: 1 }, as = {
|
|
2219
|
-
value: "",
|
|
2220
|
-
length: 0,
|
|
2221
|
-
queue: [],
|
|
2222
|
-
get root() {
|
|
2223
|
-
return as;
|
|
2224
|
-
}
|
|
2225
|
-
};
|
|
2226
1014
|
function eo(e, t, r) {
|
|
2227
1015
|
let n = t.type === 1 ? e.queue.slice(0, -1) : [...e.queue, t], s = "", i = 0, o = 0, u = 0;
|
|
2228
1016
|
for (let d of n) switch (d.type) {
|
|
@@ -2301,7 +1089,6 @@ function ps(e) {
|
|
|
2301
1089
|
count: t
|
|
2302
1090
|
};
|
|
2303
1091
|
}
|
|
2304
|
-
var ve = Symbol("MODE_BREAK"), ct = Symbol("MODE_FLAT"), cs = Symbol("DOC_FILL_PRINTED_LENGTH");
|
|
2305
1092
|
function Zr(e, t, r, n, s, i) {
|
|
2306
1093
|
if (r === Number.POSITIVE_INFINITY) return !0;
|
|
2307
1094
|
let o = t.length, u = !1, p = [e], c = "";
|
|
@@ -2602,13 +1389,11 @@ function Sc(e, t, r = 0) {
|
|
|
2602
1389
|
for (let s = r; s < e.length; ++s) e[s] === " " ? n = n + t - n % t : n++;
|
|
2603
1390
|
return n;
|
|
2604
1391
|
}
|
|
2605
|
-
var no = Sc;
|
|
2606
1392
|
function Bc(e, t) {
|
|
2607
1393
|
let r = e.lastIndexOf(`
|
|
2608
1394
|
`);
|
|
2609
1395
|
return r === -1 ? 0 : no(e.slice(r + 1).match(/^[\t ]*/u)[0], t);
|
|
2610
1396
|
}
|
|
2611
|
-
var so = Bc;
|
|
2612
1397
|
function en(e, t, r) {
|
|
2613
1398
|
let { node: n } = e;
|
|
2614
1399
|
if (n.type === "TemplateLiteral" && kc(e)) {
|
|
@@ -2714,11 +1499,6 @@ function kc({ node: e, parent: t }) {
|
|
|
2714
1499
|
let r = /^[fx]?(?:describe|it|test)$/u;
|
|
2715
1500
|
return t.type === "TaggedTemplateExpression" && t.quasi === e && t.tag.type === "MemberExpression" && t.tag.property.type === "Identifier" && t.tag.property.name === "each" && (t.tag.object.type === "Identifier" && r.test(t.tag.object.name) || t.tag.object.type === "MemberExpression" && t.tag.object.property.type === "Identifier" && (t.tag.object.property.name === "only" || t.tag.object.property.name === "skip") && t.tag.object.object.type === "Identifier" && r.test(t.tag.object.object.name));
|
|
2716
1501
|
}
|
|
2717
|
-
var fs = [
|
|
2718
|
-
(e, t) => e.type === "ObjectExpression" && t === "properties",
|
|
2719
|
-
(e, t) => e.type === "CallExpression" && e.callee.type === "Identifier" && e.callee.name === "Component" && t === "arguments",
|
|
2720
|
-
(e, t) => e.type === "Decorator" && t === "expression"
|
|
2721
|
-
];
|
|
2722
1502
|
function oo(e) {
|
|
2723
1503
|
let t = (n) => n.type === "TemplateLiteral", r = (n, s) => Oe(n) && !n.computed && n.key.type === "Identifier" && n.key.name === "styles" && s === "value";
|
|
2724
1504
|
return e.match(t, (n, s) => q(n) && s === "elements", r, ...fs) || e.match(t, r, ...fs);
|
|
@@ -2781,7 +1561,6 @@ function wc({ parent: e }) {
|
|
|
2781
1561
|
function _c({ parent: e, grandparent: t }) {
|
|
2782
1562
|
return t?.type === "JSXAttribute" && e.type === "JSXExpressionContainer" && t.name.type === "JSXIdentifier" && t.name.name === "css";
|
|
2783
1563
|
}
|
|
2784
|
-
var po = (e) => Oc(e) || wc(e) || _c(e) || oo(e);
|
|
2785
1564
|
async function co(e, t, r) {
|
|
2786
1565
|
let { node: n } = r, s = n.quasis.length, i = zt(r, t), o = [];
|
|
2787
1566
|
for (let u = 0; u < s; u++) {
|
|
@@ -2809,7 +1588,6 @@ function lo({ node: e, parent: t }) {
|
|
|
2809
1588
|
parent: t
|
|
2810
1589
|
}, "GraphQL") || t && (t.type === "TaggedTemplateExpression" && (t.tag.type === "MemberExpression" && t.tag.object.name === "graphql" && t.tag.property.name === "experimental" || t.tag.type === "Identifier" && (t.tag.name === "gql" || t.tag.name === "graphql")) || t.type === "CallExpression" && t.callee.type === "Identifier" && t.callee.name === "graphql");
|
|
2811
1590
|
}
|
|
2812
|
-
var Es = 0;
|
|
2813
1591
|
async function mo(e, t, r, n, s) {
|
|
2814
1592
|
let { node: i } = n, o = Es;
|
|
2815
1593
|
Es = Es + 1 >>> 0;
|
|
@@ -2848,7 +1626,6 @@ async function mo(e, t, r, n, s) {
|
|
|
2848
1626
|
function Do(e) {
|
|
2849
1627
|
return rn(e, "HTML") || e.match((t) => t.type === "TemplateLiteral", (t, r) => t.type === "TaggedTemplateExpression" && t.tag.type === "Identifier" && t.tag.name === "html" && r === "quasi");
|
|
2850
1628
|
}
|
|
2851
|
-
var fo = mo.bind(void 0, "html"), yo = mo.bind(void 0, "angular");
|
|
2852
1629
|
async function Eo(e, t, r) {
|
|
2853
1630
|
let { node: n } = r, s = W(0, n.quasis[0].value.raw, /((?:\\\\)*)\\`/gu, (p, c) => "\\".repeat(c.length / 2) + "`"), i = Nc(s), o = i !== "";
|
|
2854
1631
|
o && (s = W(0, s, new RegExp(`^${i}`, "gmu"), ""));
|
|
@@ -2870,31 +1647,6 @@ function Nc(e) {
|
|
|
2870
1647
|
function Fo({ node: e, parent: t }) {
|
|
2871
1648
|
return t?.type === "TaggedTemplateExpression" && e.quasis.length === 1 && t.tag.type === "Identifier" && (t.tag.name === "md" || t.tag.name === "markdown");
|
|
2872
1649
|
}
|
|
2873
|
-
var jc = [
|
|
2874
|
-
{
|
|
2875
|
-
test: po,
|
|
2876
|
-
print: ao
|
|
2877
|
-
},
|
|
2878
|
-
{
|
|
2879
|
-
test: lo,
|
|
2880
|
-
print: co
|
|
2881
|
-
},
|
|
2882
|
-
{
|
|
2883
|
-
test: Do,
|
|
2884
|
-
print: fo
|
|
2885
|
-
},
|
|
2886
|
-
{
|
|
2887
|
-
test: ys,
|
|
2888
|
-
print: yo
|
|
2889
|
-
},
|
|
2890
|
-
{
|
|
2891
|
-
test: Fo,
|
|
2892
|
-
print: Eo
|
|
2893
|
-
}
|
|
2894
|
-
].map(({ test: e, print: t }) => ({
|
|
2895
|
-
test: e,
|
|
2896
|
-
print: Rc(t)
|
|
2897
|
-
}));
|
|
2898
1650
|
function vc(e) {
|
|
2899
1651
|
let { node: t } = e;
|
|
2900
1652
|
if (t.type !== "TemplateLiteral" || Jc(t)) return;
|
|
@@ -2913,8 +1665,6 @@ function Rc(e) {
|
|
|
2913
1665
|
function Jc({ quasis: e }) {
|
|
2914
1666
|
return e.some(({ value: { cooked: t } }) => t === null);
|
|
2915
1667
|
}
|
|
2916
|
-
var Co = vc;
|
|
2917
|
-
var Gc = /\*\/$/, Wc = /^\/\*\*?/, go = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/, qc = /(^|\s+)\/\/([^\n\r]*)/g, Ao = /^(\r?\n)+/, Uc = /(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g, To = /(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g, Yc = /(\r?\n|^) *\* ?/g, ho = [];
|
|
2918
1668
|
function So(e) {
|
|
2919
1669
|
let t = e.match(go);
|
|
2920
1670
|
return t ? t[0].trimStart() : "";
|
|
@@ -2968,14 +1718,12 @@ function Po({ comments: e = "", pragmas: t = {} }) {
|
|
|
2968
1718
|
function xo(e, t) {
|
|
2969
1719
|
return [...ho, ...Array.isArray(t) ? t : [t]].map((r) => `@${e} ${r}`.trim());
|
|
2970
1720
|
}
|
|
2971
|
-
var ko = "format";
|
|
2972
1721
|
function Hc(e) {
|
|
2973
1722
|
if (!e.startsWith("#!")) return "";
|
|
2974
1723
|
let t = e.indexOf(`
|
|
2975
1724
|
`);
|
|
2976
1725
|
return t === -1 ? e : e.slice(0, t);
|
|
2977
1726
|
}
|
|
2978
|
-
var Io = Hc;
|
|
2979
1727
|
function Xc(e) {
|
|
2980
1728
|
let t = Io(e);
|
|
2981
1729
|
t && (e = e.slice(t.length + 1));
|
|
@@ -3008,11 +1756,9 @@ function Vc(e) {
|
|
|
3008
1756
|
`);
|
|
3009
1757
|
return t.length > 1 && t.every((r) => r.trimStart()[0] === "*");
|
|
3010
1758
|
}
|
|
3011
|
-
var Fs = /* @__PURE__ */ new WeakMap();
|
|
3012
1759
|
function $c(e) {
|
|
3013
1760
|
return Fs.has(e) || Fs.set(e, Vc(e)), Fs.get(e);
|
|
3014
1761
|
}
|
|
3015
|
-
var Oo = $c;
|
|
3016
1762
|
function wo(e, t) {
|
|
3017
1763
|
let r = e.node;
|
|
3018
1764
|
if (At(r)) return t.originalText.slice(w(r), I(r)).trimEnd();
|
|
@@ -3313,61 +2059,6 @@ function ds(e, t) {
|
|
|
3313
2059
|
}
|
|
3314
2060
|
return !1;
|
|
3315
2061
|
}
|
|
3316
|
-
var Qc = k([
|
|
3317
|
-
"BlockStatement",
|
|
3318
|
-
"BreakStatement",
|
|
3319
|
-
"ComponentDeclaration",
|
|
3320
|
-
"ClassBody",
|
|
3321
|
-
"ClassDeclaration",
|
|
3322
|
-
"ClassMethod",
|
|
3323
|
-
"ClassProperty",
|
|
3324
|
-
"PropertyDefinition",
|
|
3325
|
-
"ClassPrivateProperty",
|
|
3326
|
-
"ContinueStatement",
|
|
3327
|
-
"DebuggerStatement",
|
|
3328
|
-
"DeclareComponent",
|
|
3329
|
-
"DeclareClass",
|
|
3330
|
-
"DeclareExportAllDeclaration",
|
|
3331
|
-
"DeclareExportDeclaration",
|
|
3332
|
-
"DeclareFunction",
|
|
3333
|
-
"DeclareHook",
|
|
3334
|
-
"DeclareInterface",
|
|
3335
|
-
"DeclareModule",
|
|
3336
|
-
"DeclareModuleExports",
|
|
3337
|
-
"DeclareNamespace",
|
|
3338
|
-
"DeclareVariable",
|
|
3339
|
-
"DeclareEnum",
|
|
3340
|
-
"DoWhileStatement",
|
|
3341
|
-
"EnumDeclaration",
|
|
3342
|
-
"ExportAllDeclaration",
|
|
3343
|
-
"ExportDefaultDeclaration",
|
|
3344
|
-
"ExportNamedDeclaration",
|
|
3345
|
-
"ExpressionStatement",
|
|
3346
|
-
"ForInStatement",
|
|
3347
|
-
"ForOfStatement",
|
|
3348
|
-
"ForStatement",
|
|
3349
|
-
"FunctionDeclaration",
|
|
3350
|
-
"HookDeclaration",
|
|
3351
|
-
"IfStatement",
|
|
3352
|
-
"ImportDeclaration",
|
|
3353
|
-
"InterfaceDeclaration",
|
|
3354
|
-
"LabeledStatement",
|
|
3355
|
-
"MethodDefinition",
|
|
3356
|
-
"ReturnStatement",
|
|
3357
|
-
"SwitchStatement",
|
|
3358
|
-
"ThrowStatement",
|
|
3359
|
-
"TryStatement",
|
|
3360
|
-
"TSDeclareFunction",
|
|
3361
|
-
"TSEnumDeclaration",
|
|
3362
|
-
"TSImportEqualsDeclaration",
|
|
3363
|
-
"TSInterfaceDeclaration",
|
|
3364
|
-
"TSModuleDeclaration",
|
|
3365
|
-
"TSNamespaceExportDeclaration",
|
|
3366
|
-
"TypeAlias",
|
|
3367
|
-
"VariableDeclaration",
|
|
3368
|
-
"WhileStatement",
|
|
3369
|
-
"WithStatement"
|
|
3370
|
-
]);
|
|
3371
2062
|
function zc(e) {
|
|
3372
2063
|
let t = 0, { node: r } = e;
|
|
3373
2064
|
for (; r;) {
|
|
@@ -3418,15 +2109,12 @@ function Cs(e) {
|
|
|
3418
2109
|
function rl(e) {
|
|
3419
2110
|
return e.type === "ChainExpression" && (e = e.expression), Cs(e) || M(e) && !e.optional && Cs(e.callee);
|
|
3420
2111
|
}
|
|
3421
|
-
var ge = ds;
|
|
3422
2112
|
function nl(e, t) {
|
|
3423
2113
|
let r = t - 1;
|
|
3424
2114
|
r = ze(e, r, { backwards: !0 }), r = Ze(e, r, { backwards: !0 }), r = ze(e, r, { backwards: !0 });
|
|
3425
2115
|
let n = Ze(e, r, { backwards: !0 });
|
|
3426
2116
|
return r !== n;
|
|
3427
2117
|
}
|
|
3428
|
-
var Mo = nl;
|
|
3429
|
-
var sl = () => !0;
|
|
3430
2118
|
function As(e, t) {
|
|
3431
2119
|
let r = e.node;
|
|
3432
2120
|
return r.printed = !0, t.printer.printComment(e, t);
|
|
@@ -3498,9 +2186,6 @@ function De(e, t, r) {
|
|
|
3498
2186
|
s
|
|
3499
2187
|
]);
|
|
3500
2188
|
}
|
|
3501
|
-
var Et = class extends Error {
|
|
3502
|
-
name = "ArgExpansionBailout";
|
|
3503
|
-
};
|
|
3504
2189
|
function Ke(e, t, r, n, s) {
|
|
3505
2190
|
let i = e.node, o = K(i), u = s && i.typeParameters ? r("typeParameters") : "";
|
|
3506
2191
|
if (o.length === 0) return [
|
|
@@ -3593,28 +2278,10 @@ function X(e) {
|
|
|
3593
2278
|
function sn(e) {
|
|
3594
2279
|
return e.node.definite || e.match(void 0, (t, r) => r === "id" && t.type === "VariableDeclarator" && t.definite) ? "!" : "";
|
|
3595
2280
|
}
|
|
3596
|
-
var pl = k([
|
|
3597
|
-
"DeclareClass",
|
|
3598
|
-
"DeclareComponent",
|
|
3599
|
-
"DeclareFunction",
|
|
3600
|
-
"DeclareHook",
|
|
3601
|
-
"DeclareVariable",
|
|
3602
|
-
"DeclareExportDeclaration",
|
|
3603
|
-
"DeclareExportAllDeclaration",
|
|
3604
|
-
"DeclareOpaqueType",
|
|
3605
|
-
"DeclareTypeAlias",
|
|
3606
|
-
"DeclareEnum",
|
|
3607
|
-
"DeclareInterface"
|
|
3608
|
-
]);
|
|
3609
2281
|
function Q(e) {
|
|
3610
2282
|
let { node: t } = e;
|
|
3611
2283
|
return t.declare || pl(t) && e.parent.type !== "DeclareExportDeclaration" ? "declare " : "";
|
|
3612
2284
|
}
|
|
3613
|
-
var cl = k([
|
|
3614
|
-
"TSAbstractMethodDefinition",
|
|
3615
|
-
"TSAbstractPropertyDefinition",
|
|
3616
|
-
"TSAbstractAccessorProperty"
|
|
3617
|
-
]);
|
|
3618
2285
|
function Zt({ node: e }) {
|
|
3619
2286
|
return e.abstract || cl(e) ? "abstract " : "";
|
|
3620
2287
|
}
|
|
@@ -3624,12 +2291,9 @@ function Ft(e, t, r) {
|
|
|
3624
2291
|
function jt(e) {
|
|
3625
2292
|
return e.accessibility ? e.accessibility + " " : "";
|
|
3626
2293
|
}
|
|
3627
|
-
var ll = /^[\$A-Z_a-z\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0-\u08B4\u08B6-\u08BD\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\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\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\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\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\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][\$0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/, ml = (e) => ll.test(e), vo = ml;
|
|
3628
2294
|
function Dl(e) {
|
|
3629
2295
|
return e.length === 1 ? e : e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u, "$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u, "$1").replace(/^([+-])?\./u, "$10.").replace(/(\.\d+?)0+(?=e|$)/u, "$1").replace(/\.(?=e|$)/u, "");
|
|
3630
2296
|
}
|
|
3631
|
-
var dt = Dl;
|
|
3632
|
-
var fl = 0;
|
|
3633
2297
|
function on(e, t, r) {
|
|
3634
2298
|
let { node: n, parent: s, grandparent: i, key: o } = e, u = o !== "body" && (s.type === "IfStatement" || s.type === "WhileStatement" || s.type === "SwitchStatement" || s.type === "DoWhileStatement"), p = n.operator === "|>" && e.root.extra?.__isUsingHackPipeline, c = Ts(e, t, r, !1, u);
|
|
3635
2299
|
if (u) return c;
|
|
@@ -3699,7 +2363,6 @@ function Ts(e, t, r, n, s) {
|
|
|
3699
2363
|
function er(e) {
|
|
3700
2364
|
return e.type !== "LogicalExpression" ? !1 : !!(se(e.right) && e.right.properties.length > 0 || q(e.right) && e.right.elements.length > 0 || H(e.right));
|
|
3701
2365
|
}
|
|
3702
|
-
var Ro = (e) => e.type === "BinaryExpression" && e.operator === "|";
|
|
3703
2366
|
function yl(e, t) {
|
|
3704
2367
|
return (t.parser === "__vue_expression" || t.parser === "__vue_ts_expression") && Ro(e.node) && !e.hasAncestor((r) => !Ro(r) && r.type !== "JsExpressionRoot");
|
|
3705
2368
|
}
|
|
@@ -3733,17 +2396,6 @@ function un(e, t, r) {
|
|
|
3733
2396
|
P(")")
|
|
3734
2397
|
]), c] : [l(i ? m(F) : F), c];
|
|
3735
2398
|
}
|
|
3736
|
-
var Fl = k([
|
|
3737
|
-
"VoidTypeAnnotation",
|
|
3738
|
-
"TSVoidKeyword",
|
|
3739
|
-
"NullLiteralTypeAnnotation",
|
|
3740
|
-
"TSNullKeyword"
|
|
3741
|
-
]), dl = k([
|
|
3742
|
-
"ObjectTypeAnnotation",
|
|
3743
|
-
"TSTypeLiteral",
|
|
3744
|
-
"GenericTypeAnnotation",
|
|
3745
|
-
"TSTypeReference"
|
|
3746
|
-
]);
|
|
3747
2399
|
function xs(e) {
|
|
3748
2400
|
let { types: t } = e;
|
|
3749
2401
|
if (t.some((n) => T(n))) return !1;
|
|
@@ -3753,7 +2405,6 @@ function xs(e) {
|
|
|
3753
2405
|
function Jo(e) {
|
|
3754
2406
|
return Vt(e) || Je(e) ? !0 : Se(e) ? xs(e) : !1;
|
|
3755
2407
|
}
|
|
3756
|
-
var Cl = /* @__PURE__ */ new WeakSet();
|
|
3757
2408
|
function G(e, t, r = "typeAnnotation") {
|
|
3758
2409
|
let { node: { [r]: n } } = e;
|
|
3759
2410
|
if (!n) return "";
|
|
@@ -3764,7 +2415,6 @@ function G(e, t, r = "typeAnnotation") {
|
|
|
3764
2415
|
}
|
|
3765
2416
|
return s ? [" ", t(r)] : t(r);
|
|
3766
2417
|
}
|
|
3767
|
-
var Go = (e) => e.match((t) => t.type === "TSTypeAnnotation", (t, r) => (r === "returnType" || r === "typeAnnotation") && (t.type === "TSFunctionType" || t.type === "TSConstructorType")) ? "=>" : e.match((t) => t.type === "TSTypeAnnotation", (t, r) => r === "typeAnnotation" && (t.type === "TSJSDocNullableType" || t.type === "TSJSDocNonNullableType" || t.type === "TSTypePredicate")) || e.match((t) => t.type === "TypeAnnotation", (t, r) => r === "typeAnnotation" && t.type === "Identifier", (t, r) => r === "id" && t.type === "DeclareFunction") || e.match((t) => t.type === "TypeAnnotation", (t, r) => r === "typeAnnotation" && t.type === "Identifier", (t, r) => r === "id" && t.type === "DeclareHook") || e.match((t) => t.type === "TypeAnnotation", (t, r) => r === "bound" && t.type === "TypeParameter" && t.usesExtendsBound) ? "" : ":";
|
|
3768
2418
|
function an(e, t, r) {
|
|
3769
2419
|
let n = Go(e);
|
|
3770
2420
|
return n ? [
|
|
@@ -3998,14 +2648,12 @@ function Pl(e) {
|
|
|
3998
2648
|
let [t] = e.properties;
|
|
3999
2649
|
return Oe(t) ? !t.computed && (t.key.type === "Identifier" && t.key.name === "type" || V(t.key) && t.key.value === "type") && V(t.value) && t.value.value === "module" : !1;
|
|
4000
2650
|
}
|
|
4001
|
-
var hr = gl;
|
|
4002
2651
|
function Yo(e, t, r) {
|
|
4003
2652
|
return [r("object"), l(m([f, hs(e, t, r)]))];
|
|
4004
2653
|
}
|
|
4005
2654
|
function hs(e, t, r) {
|
|
4006
2655
|
return ["::", r("callee")];
|
|
4007
2656
|
}
|
|
4008
|
-
var kl = (e) => ((e.type === "ChainExpression" || e.type === "TSNonNullExpression") && (e = e.expression), M(e) && le(e).length > 0);
|
|
4009
2657
|
function Il(e) {
|
|
4010
2658
|
let { node: t, ancestors: r } = e;
|
|
4011
2659
|
for (let n of r) {
|
|
@@ -4137,7 +2785,6 @@ function Xo(e, t, r) {
|
|
|
4137
2785
|
let st;
|
|
4138
2786
|
return U || ee.length > 2 && ee.some((_) => !_.arguments.every((re) => Re(re))) || h.slice(0, -1).some(ne) || Ie() ? st = l(z) : st = [ne(g) || Y ? ke : "", nt([g, z])], pt({ memberChain: !0 }, st);
|
|
4139
2787
|
}
|
|
4140
|
-
var Vo = Xo;
|
|
4141
2788
|
function vt(e, t, r) {
|
|
4142
2789
|
let { node: n } = e, s = n.type === "NewExpression", i = X(e), o = le(n), u = n.type !== "TSImportType" && n.typeArguments ? r("typeArguments") : "", p = o.length === 1 && Wr(o[0], t.originalText);
|
|
4143
2790
|
if (p || Ol(e) || wl(e) || It(n, e.parent)) {
|
|
@@ -4169,12 +2816,6 @@ function $o(e, t) {
|
|
|
4169
2816
|
let { node: r } = e;
|
|
4170
2817
|
return r.type === "ImportExpression" ? `import${r.phase ? `.${r.phase}` : ""}` : r.type === "TSImportType" ? "import" : r.type === "TSExternalModuleReference" ? "require" : t("callee");
|
|
4171
2818
|
}
|
|
4172
|
-
var Ll = [
|
|
4173
|
-
"require",
|
|
4174
|
-
"require.resolve",
|
|
4175
|
-
"require.resolve.paths",
|
|
4176
|
-
"import.meta.resolve"
|
|
4177
|
-
];
|
|
4178
2819
|
function Ol(e) {
|
|
4179
2820
|
let { node: t } = e;
|
|
4180
2821
|
if (!(t.type === "ImportExpression" || t.type === "TSImportType" || t.type === "TSExternalModuleReference" || t.type === "CallExpression" && !t.optional && Pt(t.callee, Ll))) return !1;
|
|
@@ -4368,7 +3009,6 @@ function Qo(e) {
|
|
|
4368
3009
|
function ql(e) {
|
|
4369
3010
|
return Qo(e.checkType) || Qo(e.extendsType);
|
|
4370
3011
|
}
|
|
4371
|
-
var cn = /* @__PURE__ */ new WeakMap();
|
|
4372
3012
|
function nu(e) {
|
|
4373
3013
|
return /^(?:\d+|\d+\.\d+)$/u.test(e);
|
|
4374
3014
|
}
|
|
@@ -4401,7 +3041,6 @@ function ln(e, t, r) {
|
|
|
4401
3041
|
let { node: n } = e;
|
|
4402
3042
|
return n.shorthand ? r("value") : ht(e, t, r, Ct(e, t, r), ":", "value");
|
|
4403
3043
|
}
|
|
4404
|
-
var Yl = ({ node: e, key: t, parent: r }) => t === "value" && e.type === "FunctionExpression" && (r.type === "ObjectMethod" || r.type === "ClassMethod" || r.type === "ClassPrivateMethod" || r.type === "MethodDefinition" || r.type === "TSAbstractMethodDefinition" || r.type === "TSDeclareMethod" || r.type === "Property" && mt(r));
|
|
4405
3044
|
function mn(e, t, r, n) {
|
|
4406
3045
|
if (Yl(e)) return Dn(e, t, r);
|
|
4407
3046
|
let { node: s } = e, i = !1;
|
|
@@ -4507,7 +3146,6 @@ function au(e, t) {
|
|
|
4507
3146
|
}
|
|
4508
3147
|
return ge(e, t) ? !0 : Xt(r) ? e.call(() => au(e, t), ...Rr(r)) : !1;
|
|
4509
3148
|
}
|
|
4510
|
-
var bs = ({ node: e, parent: t }) => e.type === "ExpressionStatement" && t.type === "Program" && t.body.length === 1 && (Array.isArray(t.directives) && t.directives.length === 0 || !t.directives);
|
|
4511
3149
|
function Ps(e, t) {
|
|
4512
3150
|
return (t.parentParser === "markdown" || t.parentParser === "mdx") && bs(e) && H(e.node.expression);
|
|
4513
3151
|
}
|
|
@@ -4517,92 +3155,10 @@ function ks(e, t) {
|
|
|
4517
3155
|
function Is(e, t) {
|
|
4518
3156
|
return (t.parser === "__vue_event_binding" || t.parser === "__vue_ts_event_binding") && bs(e);
|
|
4519
3157
|
}
|
|
4520
|
-
var Ls = class extends Error {
|
|
4521
|
-
name = "UnexpectedNodeError";
|
|
4522
|
-
constructor(t, r, n = "type") {
|
|
4523
|
-
super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`), this.node = t;
|
|
4524
|
-
}
|
|
4525
|
-
}, Qe = Ls;
|
|
4526
3158
|
function Os(e) {
|
|
4527
3159
|
if (typeof e != "string") throw new TypeError("Expected a string");
|
|
4528
3160
|
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
4529
3161
|
}
|
|
4530
|
-
var ws = class {
|
|
4531
|
-
#e;
|
|
4532
|
-
constructor(t) {
|
|
4533
|
-
this.#e = new Set(t);
|
|
4534
|
-
}
|
|
4535
|
-
getLeadingWhitespaceCount(t) {
|
|
4536
|
-
let r = this.#e, n = 0;
|
|
4537
|
-
for (let s = 0; s < t.length && r.has(t.charAt(s)); s++) n++;
|
|
4538
|
-
return n;
|
|
4539
|
-
}
|
|
4540
|
-
getTrailingWhitespaceCount(t) {
|
|
4541
|
-
let r = this.#e, n = 0;
|
|
4542
|
-
for (let s = t.length - 1; s >= 0 && r.has(t.charAt(s)); s--) n++;
|
|
4543
|
-
return n;
|
|
4544
|
-
}
|
|
4545
|
-
getLeadingWhitespace(t) {
|
|
4546
|
-
let r = this.getLeadingWhitespaceCount(t);
|
|
4547
|
-
return t.slice(0, r);
|
|
4548
|
-
}
|
|
4549
|
-
getTrailingWhitespace(t) {
|
|
4550
|
-
let r = this.getTrailingWhitespaceCount(t);
|
|
4551
|
-
return t.slice(t.length - r);
|
|
4552
|
-
}
|
|
4553
|
-
hasLeadingWhitespace(t) {
|
|
4554
|
-
return this.#e.has(t.charAt(0));
|
|
4555
|
-
}
|
|
4556
|
-
hasTrailingWhitespace(t) {
|
|
4557
|
-
return this.#e.has(N(0, t, -1));
|
|
4558
|
-
}
|
|
4559
|
-
trimStart(t) {
|
|
4560
|
-
let r = this.getLeadingWhitespaceCount(t);
|
|
4561
|
-
return t.slice(r);
|
|
4562
|
-
}
|
|
4563
|
-
trimEnd(t) {
|
|
4564
|
-
let r = this.getTrailingWhitespaceCount(t);
|
|
4565
|
-
return t.slice(0, t.length - r);
|
|
4566
|
-
}
|
|
4567
|
-
trim(t) {
|
|
4568
|
-
return this.trimEnd(this.trimStart(t));
|
|
4569
|
-
}
|
|
4570
|
-
split(t, r = !1) {
|
|
4571
|
-
let n = `[${Os([...this.#e].join(""))}]+`, s = new RegExp(r ? `(${n})` : n, "u");
|
|
4572
|
-
return t.split(s);
|
|
4573
|
-
}
|
|
4574
|
-
hasWhitespaceCharacter(t) {
|
|
4575
|
-
let r = this.#e;
|
|
4576
|
-
return Array.prototype.some.call(t, (n) => r.has(n));
|
|
4577
|
-
}
|
|
4578
|
-
hasNonWhitespaceCharacter(t) {
|
|
4579
|
-
let r = this.#e;
|
|
4580
|
-
return Array.prototype.some.call(t, (n) => !r.has(n));
|
|
4581
|
-
}
|
|
4582
|
-
isWhitespaceOnly(t) {
|
|
4583
|
-
let r = this.#e;
|
|
4584
|
-
return Array.prototype.every.call(t, (n) => r.has(n));
|
|
4585
|
-
}
|
|
4586
|
-
#t(t) {
|
|
4587
|
-
let r = Number.POSITIVE_INFINITY;
|
|
4588
|
-
for (let n of t.split(`
|
|
4589
|
-
`)) {
|
|
4590
|
-
if (n.length === 0) continue;
|
|
4591
|
-
let s = this.getLeadingWhitespaceCount(n);
|
|
4592
|
-
if (s === 0) return 0;
|
|
4593
|
-
n.length !== s && s < r && (r = s);
|
|
4594
|
-
}
|
|
4595
|
-
return r === Number.POSITIVE_INFINITY ? 0 : r;
|
|
4596
|
-
}
|
|
4597
|
-
dedentString(t) {
|
|
4598
|
-
let r = this.#t(t);
|
|
4599
|
-
return r === 0 ? t : t.split(`
|
|
4600
|
-
`).map((n) => n.slice(r)).join(`
|
|
4601
|
-
`);
|
|
4602
|
-
}
|
|
4603
|
-
};
|
|
4604
|
-
var yn = new ws(`
|
|
4605
|
-
\r `), _s = (e) => e === "" || e === A || e === E || e === f;
|
|
4606
3162
|
function Vl(e, t, r) {
|
|
4607
3163
|
let { node: n } = e;
|
|
4608
3164
|
if (n.type === "JSXElement" && pm(n)) return [r("openingElement"), r("closingElement")];
|
|
@@ -4693,20 +3249,6 @@ function cu(e, t, r, n) {
|
|
|
4693
3249
|
function lu(e, t, r, n) {
|
|
4694
3250
|
return e ? E : t.length === 1 ? r.type === "JSXElement" && !r.closingElement || n?.type === "JSXElement" && !n.closingElement ? E : f : E;
|
|
4695
3251
|
}
|
|
4696
|
-
var Kl = k([
|
|
4697
|
-
"ArrayExpression",
|
|
4698
|
-
"JSXAttribute",
|
|
4699
|
-
"JSXElement",
|
|
4700
|
-
"JSXExpressionContainer",
|
|
4701
|
-
"JSXFragment",
|
|
4702
|
-
"ExpressionStatement",
|
|
4703
|
-
"NewExpression",
|
|
4704
|
-
"CallExpression",
|
|
4705
|
-
"OptionalCallExpression",
|
|
4706
|
-
"ConditionalExpression",
|
|
4707
|
-
"JsExpressionRoot",
|
|
4708
|
-
"MatchExpressionCase"
|
|
4709
|
-
]);
|
|
4710
3252
|
function Ql(e, t, r) {
|
|
4711
3253
|
let { parent: n } = e;
|
|
4712
3254
|
if (Kl(n)) return t;
|
|
@@ -4862,7 +3404,6 @@ function Du(e) {
|
|
|
4862
3404
|
function lm(e) {
|
|
4863
3405
|
return Ot(e.node) || Du(e);
|
|
4864
3406
|
}
|
|
4865
|
-
var nr = lm;
|
|
4866
3407
|
function yu(e, t, r) {
|
|
4867
3408
|
let { node: n } = e;
|
|
4868
3409
|
if (n.type.startsWith("NG")) switch (n.type) {
|
|
@@ -4905,11 +3446,6 @@ function mm(e) {
|
|
|
4905
3446
|
let { node: t } = e;
|
|
4906
3447
|
return e.parent.body[1].key.name === "of" && t.type === "NGMicrosyntaxKeyedExpression" && t.key.name === "track" && t.key.type === "NGMicrosyntaxKey";
|
|
4907
3448
|
}
|
|
4908
|
-
var Dm = k([
|
|
4909
|
-
"CallExpression",
|
|
4910
|
-
"OptionalCallExpression",
|
|
4911
|
-
"AssignmentExpression"
|
|
4912
|
-
]);
|
|
4913
3449
|
function fm({ node: e }) {
|
|
4914
3450
|
return Er(e, Dm);
|
|
4915
3451
|
}
|
|
@@ -4938,11 +3474,9 @@ function Cu(e) {
|
|
|
4938
3474
|
let t = e.declaration?.decorators;
|
|
4939
3475
|
return R(t) && bt(e, t[0]);
|
|
4940
3476
|
}
|
|
4941
|
-
var Ns = /* @__PURE__ */ new WeakMap();
|
|
4942
3477
|
function Au(e) {
|
|
4943
3478
|
return Ns.has(e) || Ns.set(e, e.type === "ConditionalExpression" && !ye(e, (t) => t.type === "ObjectExpression")), Ns.get(e);
|
|
4944
3479
|
}
|
|
4945
|
-
var ym = (e) => e.type === "SequenceExpression";
|
|
4946
3480
|
function Tu(e, t, r, n = {}) {
|
|
4947
3481
|
let s = [], i, o = [], u = !1, p = !n.expandLastArg && e.node.body.type === "ArrowFunctionExpression", c;
|
|
4948
3482
|
(function O() {
|
|
@@ -5028,14 +3562,6 @@ function Cm(e, t, r, { bodyDoc: n, bodyComments: s, functionBody: i, shouldPutBo
|
|
|
5028
3562
|
y
|
|
5029
3563
|
];
|
|
5030
3564
|
}
|
|
5031
|
-
var Am = Array.prototype.findLast ?? function(e) {
|
|
5032
|
-
for (let t = this.length - 1; t >= 0; t--) {
|
|
5033
|
-
let r = this[t];
|
|
5034
|
-
if (e(r, t, this)) return r;
|
|
5035
|
-
}
|
|
5036
|
-
}, xu = Wt("findLast", function() {
|
|
5037
|
-
if (Array.isArray(this)) return Am;
|
|
5038
|
-
});
|
|
5039
3565
|
function br(e, t, r, n) {
|
|
5040
3566
|
let { node: s } = e, i = [], o = xu(0, s[n], (u) => u.type !== "EmptyStatement");
|
|
5041
3567
|
return e.each(({ node: u }) => {
|
|
@@ -5065,7 +3591,6 @@ function gm(e) {
|
|
|
5065
3591
|
return t.has(r) || t.set(r, Symbol(e)), t.get(r);
|
|
5066
3592
|
};
|
|
5067
3593
|
}
|
|
5068
|
-
var gu = gm;
|
|
5069
3594
|
function Rt(e, t, r) {
|
|
5070
3595
|
let { node: n } = e, s = [], i = n.type === "ObjectTypeAnnotation", o = !Su(e), u = o ? A : E, p = T(n, x.Dangling), [c, y] = i && n.exact ? ["{|", "|}"] : "{}", D;
|
|
5071
3596
|
if (hm(e, ({ node: F, next: C, isLast: d }) => {
|
|
@@ -5147,19 +3672,6 @@ function he(e, t) {
|
|
|
5147
3672
|
next: e.next
|
|
5148
3673
|
}, t) ? ";" : P("", ";") : "";
|
|
5149
3674
|
}
|
|
5150
|
-
var hu = k([
|
|
5151
|
-
"ClassProperty",
|
|
5152
|
-
"PropertyDefinition",
|
|
5153
|
-
"ClassPrivateProperty",
|
|
5154
|
-
"ClassAccessorProperty",
|
|
5155
|
-
"AccessorProperty",
|
|
5156
|
-
"TSAbstractPropertyDefinition",
|
|
5157
|
-
"TSAbstractAccessorProperty"
|
|
5158
|
-
]), Bu = (e) => {
|
|
5159
|
-
if (e.computed || e.typeAnnotation) return !1;
|
|
5160
|
-
let { type: t, name: r } = e.key;
|
|
5161
|
-
return t === "Identifier" && (r === "static" || r === "get" || r === "set");
|
|
5162
|
-
};
|
|
5163
3675
|
function Sm({ node: e, next: t }, r) {
|
|
5164
3676
|
if (r.semi || !hu(e)) return !1;
|
|
5165
3677
|
if (!e.value && Bu(e)) return !0;
|
|
@@ -5185,7 +3697,6 @@ function Sm({ node: e, next: t }, r) {
|
|
|
5185
3697
|
}
|
|
5186
3698
|
return !1;
|
|
5187
3699
|
}
|
|
5188
|
-
var Bm = k(["TSPropertySignature"]);
|
|
5189
3700
|
function bu({ node: e, next: t }, r) {
|
|
5190
3701
|
if (r.semi || !Bm(e)) return !1;
|
|
5191
3702
|
if (Bu(e)) return !0;
|
|
@@ -5195,12 +3706,6 @@ function bu({ node: e, next: t }, r) {
|
|
|
5195
3706
|
}
|
|
5196
3707
|
return !1;
|
|
5197
3708
|
}
|
|
5198
|
-
var bm = gu("heritageGroup"), Pm = k([
|
|
5199
|
-
"TSInterfaceDeclaration",
|
|
5200
|
-
"DeclareInterface",
|
|
5201
|
-
"InterfaceDeclaration",
|
|
5202
|
-
"InterfaceTypeAnnotation"
|
|
5203
|
-
]);
|
|
5204
3709
|
function sr(e, t, r) {
|
|
5205
3710
|
let { node: n } = e, s = Pm(n), i = [
|
|
5206
3711
|
Q(e),
|
|
@@ -5246,7 +3751,6 @@ function Im(e) {
|
|
|
5246
3751
|
let r = t.extends?.[0] ?? t.mixins?.[0] ?? t.implements?.[0];
|
|
5247
3752
|
return r ? r.type === "InterfaceExtends" && r.id.type === "QualifiedTypeIdentifier" && !r.typeParameters || (r.type === "TSClassImplements" || r.type === "TSInterfaceHeritage") && J(r.expression) && !r.typeArguments : !1;
|
|
5248
3753
|
}
|
|
5249
|
-
var js = /* @__PURE__ */ new WeakMap();
|
|
5250
3754
|
function ku(e) {
|
|
5251
3755
|
let { node: t } = e;
|
|
5252
3756
|
return js.has(t) || js.set(t, Im(e)), js.get(t);
|
|
@@ -5289,17 +3793,9 @@ function dn(e, t, r) {
|
|
|
5289
3793
|
R(n.decorators) && s.push(Ms(e, t, r)), s.push(Q(e), jt(n)), n.static && s.push("static "), s.push(Zt(e)), n.override && s.push("override "), n.readonly && s.push("readonly "), n.variance && s.push(r("variance")), (n.type === "ClassAccessorProperty" || n.type === "AccessorProperty" || n.type === "TSAbstractAccessorProperty") && s.push("accessor "), s.push(Ct(e, t, r), X(e), sn(e), G(e, r));
|
|
5290
3794
|
return [ht(e, t, r, s, " =", n.type === "TSAbstractPropertyDefinition" || n.type === "TSAbstractAccessorProperty" ? void 0 : "value"), t.semi ? ";" : ""];
|
|
5291
3795
|
}
|
|
5292
|
-
var Om = k([
|
|
5293
|
-
"TSAsExpression",
|
|
5294
|
-
"TSTypeAssertion",
|
|
5295
|
-
"TSNonNullExpression",
|
|
5296
|
-
"TSInstantiationExpression",
|
|
5297
|
-
"TSSatisfiesExpression"
|
|
5298
|
-
]);
|
|
5299
3796
|
function Rs(e) {
|
|
5300
3797
|
return Om(e) ? Rs(e.expression) : e;
|
|
5301
3798
|
}
|
|
5302
|
-
var Iu = k(["FunctionExpression", "ArrowFunctionExpression"]);
|
|
5303
3799
|
function Lu(e) {
|
|
5304
3800
|
return e.type === "MemberExpression" || e.type === "OptionalMemberExpression" || e.type === "Identifier" && e.name !== "undefined";
|
|
5305
3801
|
}
|
|
@@ -5359,7 +3855,6 @@ function Cn(e) {
|
|
|
5359
3855
|
function _u({ pattern: e, flags: t }) {
|
|
5360
3856
|
return t = [...t].sort().join(""), `/${e}/${t}`;
|
|
5361
3857
|
}
|
|
5362
|
-
var Mm = "use strict";
|
|
5363
3858
|
function Mu(e, t) {
|
|
5364
3859
|
let r = e.slice(1, -1);
|
|
5365
3860
|
if (r === Mm || !(r.includes("\"") || r.includes("'"))) {
|
|
@@ -5380,21 +3875,6 @@ function Nm(e, t, r) {
|
|
|
5380
3875
|
}
|
|
5381
3876
|
return n;
|
|
5382
3877
|
}
|
|
5383
|
-
var Jt = Nm;
|
|
5384
|
-
var ju = k([
|
|
5385
|
-
"ImportDeclaration",
|
|
5386
|
-
"ExportDefaultDeclaration",
|
|
5387
|
-
"ExportNamedDeclaration",
|
|
5388
|
-
"ExportAllDeclaration",
|
|
5389
|
-
"DeclareExportDeclaration",
|
|
5390
|
-
"DeclareExportAllDeclaration"
|
|
5391
|
-
]), jm = k([
|
|
5392
|
-
"EnumBooleanBody",
|
|
5393
|
-
"EnumNumberBody",
|
|
5394
|
-
"EnumBigIntBody",
|
|
5395
|
-
"EnumStringBody",
|
|
5396
|
-
"EnumSymbolBody"
|
|
5397
|
-
]);
|
|
5398
3878
|
function ir(e, t, r) {
|
|
5399
3879
|
let { node: n, parent: s } = e, i = jm(n), o = n.type === "TSEnumBody" || i, u = ju(n), p = i && n.hasUnknownMembers, c = o ? "members" : u ? "attributes" : "properties", y = n[c], D = o || n.type === "ObjectPattern" && s.type !== "FunctionDeclaration" && s.type !== "FunctionExpression" && s.type !== "ArrowFunctionExpression" && s.type !== "ObjectMethod" && s.type !== "ClassMethod" && s.type !== "ClassPrivateMethod" && s.type !== "AssignmentPattern" && s.type !== "CatchClause" && n.properties.some((B) => B.value && (B.value.type === "ObjectPattern" || B.value.type === "ArrayPattern")) || n.type !== "ObjectPattern" && t.objectWrap === "preserve" && y.length > 0 && vm(n, y[0], t), F = [], C = e.map(({ node: B }) => {
|
|
5400
3880
|
let O = [...F, l(r())];
|
|
@@ -5457,7 +3937,6 @@ function vu(e, t, r) {
|
|
|
5457
3937
|
t.semi ? ";" : ""
|
|
5458
3938
|
];
|
|
5459
3939
|
}
|
|
5460
|
-
var Ru = (e) => e.type === "ExportDefaultDeclaration" || e.type === "DeclareExportDeclaration" && e.default;
|
|
5461
3940
|
function An(e, t, r) {
|
|
5462
3941
|
let { node: n } = e, s = [
|
|
5463
3942
|
Eu(e, t, r),
|
|
@@ -5467,19 +3946,6 @@ function An(e, t, r) {
|
|
|
5467
3946
|
], { declaration: i, exported: o } = n;
|
|
5468
3947
|
return T(n, x.Dangling) && (s.push(" ", v(e, t)), qr(n) && s.push(E)), i ? s.push(" ", r("declaration")) : (s.push(Gm(n)), n.type === "ExportAllDeclaration" || n.type === "DeclareExportAllDeclaration" ? (s.push(" *"), o && s.push(" as ", r("exported"))) : s.push(Gu(e, t, r)), s.push(Ju(e, t, r), qu(e, t, r))), s.push(Jm(n, t)), s;
|
|
5469
3948
|
}
|
|
5470
|
-
var Rm = k([
|
|
5471
|
-
"ClassDeclaration",
|
|
5472
|
-
"ComponentDeclaration",
|
|
5473
|
-
"FunctionDeclaration",
|
|
5474
|
-
"TSInterfaceDeclaration",
|
|
5475
|
-
"DeclareClass",
|
|
5476
|
-
"DeclareComponent",
|
|
5477
|
-
"DeclareFunction",
|
|
5478
|
-
"DeclareHook",
|
|
5479
|
-
"HookDeclaration",
|
|
5480
|
-
"TSDeclareFunction",
|
|
5481
|
-
"EnumDeclaration"
|
|
5482
|
-
]);
|
|
5483
3949
|
function Jm(e, t) {
|
|
5484
3950
|
return t.semi && (!e.declaration || Ru(e) && !Rm(e.declaration)) ? ";" : "";
|
|
5485
3951
|
}
|
|
@@ -5535,12 +4001,6 @@ function Wm(e, t) {
|
|
|
5535
4001
|
let r = Jt(t, I(e.source), e.attributes?.[0] ? w(e.attributes[0]) : I(e)).trimStart();
|
|
5536
4002
|
return r.startsWith("assert") ? "assert" : r.startsWith("with") || R(e.attributes) ? "with" : void 0;
|
|
5537
4003
|
}
|
|
5538
|
-
var qm = (e) => {
|
|
5539
|
-
let { attributes: t } = e;
|
|
5540
|
-
if (t.length !== 1) return !1;
|
|
5541
|
-
let [r] = t, { type: n, key: s, value: i } = r;
|
|
5542
|
-
return n === "ImportAttribute" && (s.type === "Identifier" && s.name === "type" || V(s) && s.value === "type") && V(i) && !T(r) && !T(s) && !T(i);
|
|
5543
|
-
};
|
|
5544
4004
|
function qu(e, t, r) {
|
|
5545
4005
|
let { node: n } = e;
|
|
5546
4006
|
if (!n.source) return "";
|
|
@@ -5601,15 +4061,6 @@ function Hm(e, t, r) {
|
|
|
5601
4061
|
];
|
|
5602
4062
|
return o.type === n.type && o[i] === n ? xe(2, u) : u;
|
|
5603
4063
|
}
|
|
5604
|
-
var Xm = new Map([
|
|
5605
|
-
["AssignmentExpression", "right"],
|
|
5606
|
-
["VariableDeclarator", "init"],
|
|
5607
|
-
["ReturnStatement", "argument"],
|
|
5608
|
-
["ThrowStatement", "argument"],
|
|
5609
|
-
["UnaryExpression", "argument"],
|
|
5610
|
-
["YieldExpression", "argument"],
|
|
5611
|
-
["AwaitExpression", "argument"]
|
|
5612
|
-
]);
|
|
5613
4064
|
function Vm(e) {
|
|
5614
4065
|
let { node: t } = e;
|
|
5615
4066
|
if (t.type !== "ConditionalExpression") return !1;
|
|
@@ -5669,15 +4120,6 @@ function Km(e, t, r, n) {
|
|
|
5669
4120
|
et(r)
|
|
5670
4121
|
].flat().some((i) => ce(i) && ue(n.originalText, w(i), I(i)));
|
|
5671
4122
|
}
|
|
5672
|
-
var Qm = new Map([
|
|
5673
|
-
["AssignmentExpression", "right"],
|
|
5674
|
-
["VariableDeclarator", "init"],
|
|
5675
|
-
["ReturnStatement", "argument"],
|
|
5676
|
-
["ThrowStatement", "argument"],
|
|
5677
|
-
["UnaryExpression", "argument"],
|
|
5678
|
-
["YieldExpression", "argument"],
|
|
5679
|
-
["AwaitExpression", "argument"]
|
|
5680
|
-
]);
|
|
5681
4123
|
function zm(e) {
|
|
5682
4124
|
let { node: t } = e;
|
|
5683
4125
|
if (t.type !== "ConditionalExpression") return !1;
|
|
@@ -5692,12 +4134,6 @@ function zm(e) {
|
|
|
5692
4134
|
}
|
|
5693
4135
|
return n === t ? !1 : r[Qm.get(r.type)] === n;
|
|
5694
4136
|
}
|
|
5695
|
-
var Ws = (e) => [
|
|
5696
|
-
P("("),
|
|
5697
|
-
m([f, e]),
|
|
5698
|
-
f,
|
|
5699
|
-
P(")")
|
|
5700
|
-
];
|
|
5701
4137
|
function ur(e, t, r, n) {
|
|
5702
4138
|
if (!t.experimentalTernaries) return Yu(e, t, r);
|
|
5703
4139
|
let { node: s } = e, i = s.type === "ConditionalExpression", o = Ue(s), u = i ? "consequent" : "trueType", p = i ? "alternate" : "falseType", c = i ? ["test"] : ["checkType", "extendsType"], y = s[u], D = s[p], F = c.map((mr) => s[mr]), { parent: C } = e, d = C.type === s.type, b = d && c.some((mr) => C[mr] === s), B = d && C[p] === s, O = y.type === s.type, h = D.type === s.type, g = h || B, S = t.tabWidth > 2 || t.useTabs, j, U, fe = 0;
|
|
@@ -6031,7 +4467,6 @@ function Hu(e, t, r, n) {
|
|
|
6031
4467
|
function Tn(e) {
|
|
6032
4468
|
return [e("elementType"), "[]"];
|
|
6033
4469
|
}
|
|
6034
|
-
var Zm = k(["SatisfiesExpression", "TSSatisfiesExpression"]);
|
|
6035
4470
|
function xn(e, t, r) {
|
|
6036
4471
|
let { parent: n, node: s, key: i } = e, u = s.type === "AsConstExpression" ? "const" : r("typeAnnotation"), p = [
|
|
6037
4472
|
r("expression"),
|
|
@@ -6333,12 +4768,6 @@ function oa(e, t, r) {
|
|
|
6333
4768
|
}
|
|
6334
4769
|
}
|
|
6335
4770
|
}
|
|
6336
|
-
var ua = k([
|
|
6337
|
-
"MatchWildcardPattern",
|
|
6338
|
-
"MatchLiteralPattern",
|
|
6339
|
-
"MatchUnaryPattern",
|
|
6340
|
-
"MatchIdentifierPattern"
|
|
6341
|
-
]);
|
|
6342
4771
|
function iD(e) {
|
|
6343
4772
|
let { patterns: t } = e;
|
|
6344
4773
|
if (t.some((n) => T(n))) return !1;
|
|
@@ -6841,20 +5270,6 @@ function cD(e, t, r, n) {
|
|
|
6841
5270
|
if (i !== void 0) return i;
|
|
6842
5271
|
}
|
|
6843
5272
|
}
|
|
6844
|
-
var lD = k([
|
|
6845
|
-
"ClassMethod",
|
|
6846
|
-
"ClassPrivateMethod",
|
|
6847
|
-
"ClassProperty",
|
|
6848
|
-
"ClassAccessorProperty",
|
|
6849
|
-
"AccessorProperty",
|
|
6850
|
-
"TSAbstractAccessorProperty",
|
|
6851
|
-
"PropertyDefinition",
|
|
6852
|
-
"TSAbstractPropertyDefinition",
|
|
6853
|
-
"ClassPrivateProperty",
|
|
6854
|
-
"MethodDefinition",
|
|
6855
|
-
"TSAbstractMethodDefinition",
|
|
6856
|
-
"TSDeclareMethod"
|
|
6857
|
-
]);
|
|
6858
5273
|
function mD(e, t, r, n) {
|
|
6859
5274
|
e.isRoot && t.__onHtmlBindingRoot?.(e.node, t);
|
|
6860
5275
|
let { node: s } = e, i = nr(e) ? t.originalText.slice(w(s), I(s)) : cD(e, t, r, n);
|
|
@@ -6874,155 +5289,6 @@ function mD(e, t, r, n) {
|
|
|
6874
5289
|
c ? ")" : ""
|
|
6875
5290
|
]);
|
|
6876
5291
|
}
|
|
6877
|
-
var Ys = mD;
|
|
6878
|
-
var DD = { experimental_avoidAstMutation: !0 };
|
|
6879
|
-
var ya = [
|
|
6880
|
-
{
|
|
6881
|
-
name: "JSON.stringify",
|
|
6882
|
-
type: "data",
|
|
6883
|
-
aceMode: "json",
|
|
6884
|
-
extensions: [".importmap"],
|
|
6885
|
-
filenames: [
|
|
6886
|
-
"package.json",
|
|
6887
|
-
"package-lock.json",
|
|
6888
|
-
"composer.json"
|
|
6889
|
-
],
|
|
6890
|
-
tmScope: "source.json",
|
|
6891
|
-
aliases: [
|
|
6892
|
-
"geojson",
|
|
6893
|
-
"jsonl",
|
|
6894
|
-
"sarif",
|
|
6895
|
-
"topojson"
|
|
6896
|
-
],
|
|
6897
|
-
codemirrorMode: "javascript",
|
|
6898
|
-
codemirrorMimeType: "application/json",
|
|
6899
|
-
parsers: ["json-stringify"],
|
|
6900
|
-
vscodeLanguageIds: ["json"],
|
|
6901
|
-
linguistLanguageId: 174
|
|
6902
|
-
},
|
|
6903
|
-
{
|
|
6904
|
-
name: "JSON",
|
|
6905
|
-
type: "data",
|
|
6906
|
-
aceMode: "json",
|
|
6907
|
-
extensions: [
|
|
6908
|
-
".json",
|
|
6909
|
-
".4DForm",
|
|
6910
|
-
".4DProject",
|
|
6911
|
-
".avsc",
|
|
6912
|
-
".geojson",
|
|
6913
|
-
".gltf",
|
|
6914
|
-
".har",
|
|
6915
|
-
".ice",
|
|
6916
|
-
".JSON-tmLanguage",
|
|
6917
|
-
".json.example",
|
|
6918
|
-
".mcmeta",
|
|
6919
|
-
".sarif",
|
|
6920
|
-
".tact",
|
|
6921
|
-
".tfstate",
|
|
6922
|
-
".tfstate.backup",
|
|
6923
|
-
".topojson",
|
|
6924
|
-
".webapp",
|
|
6925
|
-
".webmanifest",
|
|
6926
|
-
".yy",
|
|
6927
|
-
".yyp"
|
|
6928
|
-
],
|
|
6929
|
-
filenames: [
|
|
6930
|
-
".all-contributorsrc",
|
|
6931
|
-
".arcconfig",
|
|
6932
|
-
".auto-changelog",
|
|
6933
|
-
".c8rc",
|
|
6934
|
-
".htmlhintrc",
|
|
6935
|
-
".imgbotconfig",
|
|
6936
|
-
".nycrc",
|
|
6937
|
-
".tern-config",
|
|
6938
|
-
".tern-project",
|
|
6939
|
-
".watchmanconfig",
|
|
6940
|
-
".babelrc",
|
|
6941
|
-
".jscsrc",
|
|
6942
|
-
".jshintrc",
|
|
6943
|
-
".jslintrc",
|
|
6944
|
-
".swcrc"
|
|
6945
|
-
],
|
|
6946
|
-
tmScope: "source.json",
|
|
6947
|
-
aliases: [
|
|
6948
|
-
"geojson",
|
|
6949
|
-
"jsonl",
|
|
6950
|
-
"sarif",
|
|
6951
|
-
"topojson"
|
|
6952
|
-
],
|
|
6953
|
-
codemirrorMode: "javascript",
|
|
6954
|
-
codemirrorMimeType: "application/json",
|
|
6955
|
-
parsers: ["json"],
|
|
6956
|
-
vscodeLanguageIds: ["json"],
|
|
6957
|
-
linguistLanguageId: 174
|
|
6958
|
-
},
|
|
6959
|
-
{
|
|
6960
|
-
name: "JSON with Comments",
|
|
6961
|
-
type: "data",
|
|
6962
|
-
aceMode: "javascript",
|
|
6963
|
-
extensions: [
|
|
6964
|
-
".jsonc",
|
|
6965
|
-
".code-snippets",
|
|
6966
|
-
".code-workspace",
|
|
6967
|
-
".sublime-build",
|
|
6968
|
-
".sublime-color-scheme",
|
|
6969
|
-
".sublime-commands",
|
|
6970
|
-
".sublime-completions",
|
|
6971
|
-
".sublime-keymap",
|
|
6972
|
-
".sublime-macro",
|
|
6973
|
-
".sublime-menu",
|
|
6974
|
-
".sublime-mousemap",
|
|
6975
|
-
".sublime-project",
|
|
6976
|
-
".sublime-settings",
|
|
6977
|
-
".sublime-theme",
|
|
6978
|
-
".sublime-workspace",
|
|
6979
|
-
".sublime_metrics",
|
|
6980
|
-
".sublime_session"
|
|
6981
|
-
],
|
|
6982
|
-
filenames: [],
|
|
6983
|
-
tmScope: "source.json.comments",
|
|
6984
|
-
aliases: ["jsonc"],
|
|
6985
|
-
codemirrorMode: "javascript",
|
|
6986
|
-
codemirrorMimeType: "text/javascript",
|
|
6987
|
-
group: "JSON",
|
|
6988
|
-
parsers: ["jsonc"],
|
|
6989
|
-
vscodeLanguageIds: ["jsonc"],
|
|
6990
|
-
linguistLanguageId: 423
|
|
6991
|
-
},
|
|
6992
|
-
{
|
|
6993
|
-
name: "JSON5",
|
|
6994
|
-
type: "data",
|
|
6995
|
-
aceMode: "json5",
|
|
6996
|
-
extensions: [".json5"],
|
|
6997
|
-
tmScope: "source.js",
|
|
6998
|
-
codemirrorMode: "javascript",
|
|
6999
|
-
codemirrorMimeType: "application/json",
|
|
7000
|
-
parsers: ["json5"],
|
|
7001
|
-
vscodeLanguageIds: ["json5"],
|
|
7002
|
-
linguistLanguageId: 175
|
|
7003
|
-
}
|
|
7004
|
-
];
|
|
7005
|
-
var Xs = {};
|
|
7006
|
-
jn(Xs, {
|
|
7007
|
-
getVisitorKeys: () => Fa,
|
|
7008
|
-
massageAstNode: () => Ca,
|
|
7009
|
-
print: () => yD
|
|
7010
|
-
});
|
|
7011
|
-
var ar = [[]];
|
|
7012
|
-
var Fa = _r({
|
|
7013
|
-
JsonRoot: ["node"],
|
|
7014
|
-
ArrayExpression: ["elements"],
|
|
7015
|
-
ObjectExpression: ["properties"],
|
|
7016
|
-
ObjectProperty: ["key", "value"],
|
|
7017
|
-
UnaryExpression: ["argument"],
|
|
7018
|
-
NullLiteral: ar[0],
|
|
7019
|
-
BooleanLiteral: ar[0],
|
|
7020
|
-
StringLiteral: ar[0],
|
|
7021
|
-
NumericLiteral: ar[0],
|
|
7022
|
-
Identifier: ar[0],
|
|
7023
|
-
TemplateLiteral: ["quasis"],
|
|
7024
|
-
TemplateElement: ar[0]
|
|
7025
|
-
});
|
|
7026
5292
|
function yD(e, t, r) {
|
|
7027
5293
|
let { node: n } = e;
|
|
7028
5294
|
switch (n.type) {
|
|
@@ -7062,19 +5328,6 @@ function yD(e, t, r) {
|
|
|
7062
5328
|
function da(e) {
|
|
7063
5329
|
return e.key === "key" && e.parent.type === "ObjectProperty";
|
|
7064
5330
|
}
|
|
7065
|
-
var ED = new Set([
|
|
7066
|
-
"start",
|
|
7067
|
-
"end",
|
|
7068
|
-
"extra",
|
|
7069
|
-
"loc",
|
|
7070
|
-
"comments",
|
|
7071
|
-
"leadingComments",
|
|
7072
|
-
"trailingComments",
|
|
7073
|
-
"innerComments",
|
|
7074
|
-
"errors",
|
|
7075
|
-
"range",
|
|
7076
|
-
"tokens"
|
|
7077
|
-
]);
|
|
7078
5331
|
function Ca(e, t) {
|
|
7079
5332
|
let { type: r } = e;
|
|
7080
5333
|
if (r === "ObjectProperty") {
|
|
@@ -7098,169 +5351,1919 @@ function Ca(e, t) {
|
|
|
7098
5351
|
value: e.quasis[0].value.cooked
|
|
7099
5352
|
};
|
|
7100
5353
|
}
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
5354
|
+
var Ba, jn, Ta, Qs, Hs, Wt, ba, W, N, Lr, Zs, ei, _a, Ma, ot, ze, ti, ri, ni, Ze, Z, qt, Ut, Yt, R, qa, Le, si, ii, Ua, Ya, wr, Xa, oi, ut, ui, Dr, Qa, _r, a, Mr, k, pe, ce, Nr, At, Pt, jr, kt, Di, q, se, Jr, pp, Je, Ht, H, Te, lp, Dp, Fi, M, J, yp, Ep, li, vr, Yn, Fp, qn, Un, x, gi, oe, Ae, Se, xt, Ue, hi, Cr, dp, Kt, Bi, Cp, Ap, Tp, bi, xp, Pi, at, _e, ue, Qn, Hr, Zn, Mp, Np, wi, Xp, Vp, Ri, Ji, Gi, ic, Wi, Ye, Be, tt, He, Xe, rt, Fe, Me, be, Ve, $e, Ge, me, Pe, Ne, Xr, We, ac, is, gt, qi, Vr, de, Kr, $i, Ki, ke, Tr, A, f, os, E, $r, je, Ec, Fc, dc, Cc, Tc, xc, gc, as, ve, ct, cs, no, so, fs, po, Es, fo, yo, jc, Co, Gc, Wc, go, qc, Ao, Uc, To, Yc, ho, ko, Io, Fs, Oo, Qc, ge, Mo, sl, Et, pl, cl, ll, ml, vo, dt, fl, Ro, Fl, dl, Cl, Go, hr, kl, Vo, Ll, cn, Yl, bs, Ls, Qe, ws, yn, _s, Kl, nr, Dm, Ns, ym, Am, xu, gu, hu, Bu, Bm, bm, Pm, js, Om, Iu, Mm, Jt, ju, jm, Ru, Rm, qm, Xm, Qm, Ws, Zm, ua, lD, Ys, DD, ya, Xs, ar, Fa, ED, pr, St, Aa, dD, CD;
|
|
5355
|
+
//#endregion
|
|
5356
|
+
__esmMin((() => {
|
|
5357
|
+
Ba = Object.defineProperty;
|
|
5358
|
+
jn = (e, t) => {
|
|
5359
|
+
for (var r in t) Ba(e, r, {
|
|
5360
|
+
get: t[r],
|
|
5361
|
+
enumerable: !0
|
|
5362
|
+
});
|
|
5363
|
+
};
|
|
5364
|
+
Ta = {};
|
|
5365
|
+
jn(Ta, {
|
|
5366
|
+
languages: () => CD,
|
|
5367
|
+
options: () => Aa,
|
|
5368
|
+
printers: () => dD
|
|
5369
|
+
});
|
|
5370
|
+
Qs = [
|
|
5371
|
+
{
|
|
5372
|
+
name: "JavaScript",
|
|
5373
|
+
type: "programming",
|
|
5374
|
+
aceMode: "javascript",
|
|
5375
|
+
extensions: [
|
|
5376
|
+
".js",
|
|
5377
|
+
"._js",
|
|
5378
|
+
".bones",
|
|
5379
|
+
".cjs",
|
|
5380
|
+
".es",
|
|
5381
|
+
".es6",
|
|
5382
|
+
".gs",
|
|
5383
|
+
".jake",
|
|
5384
|
+
".javascript",
|
|
5385
|
+
".jsb",
|
|
5386
|
+
".jscad",
|
|
5387
|
+
".jsfl",
|
|
5388
|
+
".jslib",
|
|
5389
|
+
".jsm",
|
|
5390
|
+
".jspre",
|
|
5391
|
+
".jss",
|
|
5392
|
+
".mjs",
|
|
5393
|
+
".njs",
|
|
5394
|
+
".pac",
|
|
5395
|
+
".sjs",
|
|
5396
|
+
".ssjs",
|
|
5397
|
+
".xsjs",
|
|
5398
|
+
".xsjslib",
|
|
5399
|
+
".start.frag",
|
|
5400
|
+
".end.frag",
|
|
5401
|
+
".wxs"
|
|
5402
|
+
],
|
|
5403
|
+
filenames: [
|
|
5404
|
+
"Jakefile",
|
|
5405
|
+
"start.frag",
|
|
5406
|
+
"end.frag"
|
|
5407
|
+
],
|
|
5408
|
+
tmScope: "source.js",
|
|
5409
|
+
aliases: ["js", "node"],
|
|
5410
|
+
codemirrorMode: "javascript",
|
|
5411
|
+
codemirrorMimeType: "text/javascript",
|
|
5412
|
+
interpreters: [
|
|
5413
|
+
"chakra",
|
|
5414
|
+
"d8",
|
|
5415
|
+
"gjs",
|
|
5416
|
+
"js",
|
|
5417
|
+
"node",
|
|
5418
|
+
"nodejs",
|
|
5419
|
+
"qjs",
|
|
5420
|
+
"rhino",
|
|
5421
|
+
"v8",
|
|
5422
|
+
"v8-shell",
|
|
5423
|
+
"zx"
|
|
5424
|
+
],
|
|
5425
|
+
parsers: [
|
|
5426
|
+
"babel",
|
|
5427
|
+
"acorn",
|
|
5428
|
+
"espree",
|
|
5429
|
+
"meriyah",
|
|
5430
|
+
"babel-flow",
|
|
5431
|
+
"babel-ts",
|
|
5432
|
+
"flow",
|
|
5433
|
+
"typescript"
|
|
5434
|
+
],
|
|
5435
|
+
vscodeLanguageIds: ["javascript", "mongo"],
|
|
5436
|
+
linguistLanguageId: 183
|
|
5437
|
+
},
|
|
5438
|
+
{
|
|
5439
|
+
name: "Flow",
|
|
5440
|
+
type: "programming",
|
|
5441
|
+
aceMode: "javascript",
|
|
5442
|
+
extensions: [".js.flow"],
|
|
5443
|
+
filenames: [],
|
|
5444
|
+
tmScope: "source.js",
|
|
5445
|
+
aliases: [],
|
|
5446
|
+
codemirrorMode: "javascript",
|
|
5447
|
+
codemirrorMimeType: "text/javascript",
|
|
5448
|
+
interpreters: [
|
|
5449
|
+
"chakra",
|
|
5450
|
+
"d8",
|
|
5451
|
+
"gjs",
|
|
5452
|
+
"js",
|
|
5453
|
+
"node",
|
|
5454
|
+
"nodejs",
|
|
5455
|
+
"qjs",
|
|
5456
|
+
"rhino",
|
|
5457
|
+
"v8",
|
|
5458
|
+
"v8-shell"
|
|
5459
|
+
],
|
|
5460
|
+
parsers: ["flow", "babel-flow"],
|
|
5461
|
+
vscodeLanguageIds: ["javascript"],
|
|
5462
|
+
linguistLanguageId: 183
|
|
5463
|
+
},
|
|
5464
|
+
{
|
|
5465
|
+
name: "JSX",
|
|
5466
|
+
type: "programming",
|
|
5467
|
+
aceMode: "javascript",
|
|
5468
|
+
extensions: [".jsx"],
|
|
5469
|
+
filenames: void 0,
|
|
5470
|
+
tmScope: "source.js.jsx",
|
|
5471
|
+
aliases: void 0,
|
|
5472
|
+
codemirrorMode: "jsx",
|
|
5473
|
+
codemirrorMimeType: "text/jsx",
|
|
5474
|
+
interpreters: void 0,
|
|
5475
|
+
parsers: [
|
|
5476
|
+
"babel",
|
|
5477
|
+
"babel-flow",
|
|
5478
|
+
"babel-ts",
|
|
5479
|
+
"flow",
|
|
5480
|
+
"typescript",
|
|
5481
|
+
"espree",
|
|
5482
|
+
"meriyah"
|
|
5483
|
+
],
|
|
5484
|
+
vscodeLanguageIds: ["javascriptreact"],
|
|
5485
|
+
group: "JavaScript",
|
|
5486
|
+
linguistLanguageId: 183
|
|
5487
|
+
},
|
|
5488
|
+
{
|
|
5489
|
+
name: "TypeScript",
|
|
5490
|
+
type: "programming",
|
|
5491
|
+
aceMode: "typescript",
|
|
5492
|
+
extensions: [
|
|
5493
|
+
".ts",
|
|
5494
|
+
".cts",
|
|
5495
|
+
".mts"
|
|
5496
|
+
],
|
|
5497
|
+
tmScope: "source.ts",
|
|
5498
|
+
aliases: ["ts"],
|
|
5499
|
+
codemirrorMode: "javascript",
|
|
5500
|
+
codemirrorMimeType: "application/typescript",
|
|
5501
|
+
interpreters: [
|
|
5502
|
+
"bun",
|
|
5503
|
+
"deno",
|
|
5504
|
+
"ts-node",
|
|
5505
|
+
"tsx"
|
|
5506
|
+
],
|
|
5507
|
+
parsers: ["typescript", "babel-ts"],
|
|
5508
|
+
vscodeLanguageIds: ["typescript"],
|
|
5509
|
+
linguistLanguageId: 378
|
|
5510
|
+
},
|
|
5511
|
+
{
|
|
5512
|
+
name: "TSX",
|
|
5513
|
+
type: "programming",
|
|
5514
|
+
aceMode: "tsx",
|
|
5515
|
+
extensions: [".tsx"],
|
|
5516
|
+
tmScope: "source.tsx",
|
|
5517
|
+
codemirrorMode: "jsx",
|
|
5518
|
+
codemirrorMimeType: "text/typescript-jsx",
|
|
5519
|
+
group: "TypeScript",
|
|
5520
|
+
parsers: ["typescript", "babel-ts"],
|
|
5521
|
+
vscodeLanguageIds: ["typescriptreact"],
|
|
5522
|
+
linguistLanguageId: 94901924
|
|
5523
|
+
}
|
|
5524
|
+
];
|
|
5525
|
+
Hs = {};
|
|
5526
|
+
jn(Hs, {
|
|
5527
|
+
canAttachComment: () => Pi,
|
|
5528
|
+
embed: () => Co,
|
|
5529
|
+
features: () => DD,
|
|
5530
|
+
getVisitorKeys: () => Mr,
|
|
5531
|
+
handleComments: () => Ji,
|
|
5532
|
+
hasPrettierIgnore: () => nr,
|
|
5533
|
+
insertPragma: () => Lo,
|
|
5534
|
+
isBlockComment: () => ce,
|
|
5535
|
+
isGap: () => Gi,
|
|
5536
|
+
massageAstNode: () => Bi,
|
|
5537
|
+
print: () => Ys,
|
|
5538
|
+
printComment: () => wo,
|
|
5539
|
+
printPrettierIgnored: () => Ys,
|
|
5540
|
+
willPrintOwnComments: () => Wi
|
|
5541
|
+
});
|
|
5542
|
+
Wt = (e, t) => (r, n, ...s) => r | 1 && n == null ? void 0 : (t.call(n) ?? n[e]).apply(n, s);
|
|
5543
|
+
ba = String.prototype.replaceAll ?? function(e, t) {
|
|
5544
|
+
return e.global ? this.replace(e, t) : this.split(e).join(t);
|
|
5545
|
+
}, W = Wt("replaceAll", function() {
|
|
5546
|
+
if (typeof this == "string") return ba;
|
|
5547
|
+
});
|
|
5548
|
+
N = Wt("at", function() {
|
|
5549
|
+
if (Array.isArray(this) || typeof this == "string") return ka;
|
|
5550
|
+
});
|
|
5551
|
+
Lr = La;
|
|
5552
|
+
Zs = () => /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\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?|[\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](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\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-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
5553
|
+
ei = "©®‼⁉™ℹ↔↕↖↗↘↙↩↪⌨⏏⏱⏲⏸⏹⏺▪▫▶◀◻◼☀☁☂☃☄☎☑☘☝☠☢☣☦☪☮☯☸☹☺♀♂♟♠♣♥♦♨♻♾⚒⚔⚕⚖⚗⚙⚛⚜⚠⚧⚰⚱⛈⛏⛑⛓⛩⛱⛷⛸⛹✂✈✉✌✍✏✒✔✖✝✡✳✴❄❇❣❤➡⤴⤵⬅⬆⬇";
|
|
5554
|
+
_a = /[^\x20-\x7F]/u, Ma = new Set(ei);
|
|
5555
|
+
ot = Na;
|
|
5556
|
+
ze = Or(" "), ti = Or(",; "), ri = Or(/[^\n\r]/u);
|
|
5557
|
+
ni = (e) => e === `
|
|
5558
|
+
` || e === "\r" || e === "\u2028" || e === "\u2029";
|
|
5559
|
+
Ze = ja;
|
|
5560
|
+
Z = va;
|
|
5561
|
+
qt = Ra;
|
|
5562
|
+
Ut = Ja;
|
|
5563
|
+
Yt = Ga;
|
|
5564
|
+
R = Wa;
|
|
5565
|
+
qa = () => {}, Le = qa;
|
|
5566
|
+
si = Object.freeze({
|
|
5567
|
+
character: "'",
|
|
5568
|
+
codePoint: 39
|
|
5569
|
+
}), ii = Object.freeze({
|
|
5570
|
+
character: "\"",
|
|
5571
|
+
codePoint: 34
|
|
5572
|
+
}), Ua = Object.freeze({
|
|
5573
|
+
preferred: si,
|
|
5574
|
+
alternate: ii
|
|
5575
|
+
}), Ya = Object.freeze({
|
|
5576
|
+
preferred: ii,
|
|
5577
|
+
alternate: si
|
|
5578
|
+
});
|
|
5579
|
+
wr = Ha;
|
|
5580
|
+
Xa = /\\(["'\\])|(["'])/gu;
|
|
5581
|
+
oi = Va;
|
|
5582
|
+
ut = $a;
|
|
5583
|
+
ui = (e) => Number.isInteger(e) && e >= 0;
|
|
5584
|
+
Dr = null;
|
|
5585
|
+
Qa = 10;
|
|
5586
|
+
for (let e = 0; e <= Qa; e++) fr();
|
|
5587
|
+
_r = za;
|
|
5588
|
+
a = [
|
|
5589
|
+
[
|
|
5590
|
+
"decorators",
|
|
5591
|
+
"key",
|
|
5592
|
+
"typeAnnotation",
|
|
5593
|
+
"value"
|
|
5594
|
+
],
|
|
5595
|
+
[],
|
|
5596
|
+
["elementType"],
|
|
5597
|
+
["expression"],
|
|
5598
|
+
["expression", "typeAnnotation"],
|
|
5599
|
+
["left", "right"],
|
|
5600
|
+
["argument"],
|
|
5601
|
+
["directives", "body"],
|
|
5602
|
+
["label"],
|
|
5603
|
+
[
|
|
5604
|
+
"callee",
|
|
5605
|
+
"typeArguments",
|
|
5606
|
+
"arguments"
|
|
5607
|
+
],
|
|
5608
|
+
["body"],
|
|
5609
|
+
[
|
|
5610
|
+
"decorators",
|
|
5611
|
+
"id",
|
|
5612
|
+
"typeParameters",
|
|
5613
|
+
"superClass",
|
|
5614
|
+
"superTypeArguments",
|
|
5615
|
+
"mixins",
|
|
5616
|
+
"implements",
|
|
5617
|
+
"body",
|
|
5618
|
+
"superTypeParameters"
|
|
5619
|
+
],
|
|
5620
|
+
["id", "typeParameters"],
|
|
5621
|
+
[
|
|
5622
|
+
"decorators",
|
|
5623
|
+
"key",
|
|
5624
|
+
"typeParameters",
|
|
5625
|
+
"params",
|
|
5626
|
+
"returnType",
|
|
5627
|
+
"body"
|
|
5628
|
+
],
|
|
5629
|
+
[
|
|
5630
|
+
"decorators",
|
|
5631
|
+
"variance",
|
|
5632
|
+
"key",
|
|
5633
|
+
"typeAnnotation",
|
|
5634
|
+
"value"
|
|
5635
|
+
],
|
|
5636
|
+
["name", "typeAnnotation"],
|
|
5637
|
+
[
|
|
5638
|
+
"test",
|
|
5639
|
+
"consequent",
|
|
5640
|
+
"alternate"
|
|
5641
|
+
],
|
|
5642
|
+
[
|
|
5643
|
+
"checkType",
|
|
5644
|
+
"extendsType",
|
|
5645
|
+
"trueType",
|
|
5646
|
+
"falseType"
|
|
5647
|
+
],
|
|
5648
|
+
["value"],
|
|
5649
|
+
["id", "body"],
|
|
5650
|
+
[
|
|
5651
|
+
"declaration",
|
|
5652
|
+
"specifiers",
|
|
5653
|
+
"source",
|
|
5654
|
+
"attributes"
|
|
5655
|
+
],
|
|
5656
|
+
["id"],
|
|
5657
|
+
[
|
|
5658
|
+
"id",
|
|
5659
|
+
"typeParameters",
|
|
5660
|
+
"extends",
|
|
5661
|
+
"body"
|
|
5662
|
+
],
|
|
5663
|
+
["typeAnnotation"],
|
|
5664
|
+
[
|
|
5665
|
+
"id",
|
|
5666
|
+
"typeParameters",
|
|
5667
|
+
"right"
|
|
5668
|
+
],
|
|
5669
|
+
["body", "test"],
|
|
5670
|
+
["members"],
|
|
5671
|
+
["id", "init"],
|
|
5672
|
+
["exported"],
|
|
5673
|
+
[
|
|
5674
|
+
"left",
|
|
5675
|
+
"right",
|
|
5676
|
+
"body"
|
|
5677
|
+
],
|
|
5678
|
+
[
|
|
5679
|
+
"id",
|
|
5680
|
+
"typeParameters",
|
|
5681
|
+
"params",
|
|
5682
|
+
"predicate",
|
|
5683
|
+
"returnType",
|
|
5684
|
+
"body"
|
|
5685
|
+
],
|
|
5686
|
+
[
|
|
5687
|
+
"id",
|
|
5688
|
+
"params",
|
|
5689
|
+
"body",
|
|
5690
|
+
"typeParameters",
|
|
5691
|
+
"returnType"
|
|
5692
|
+
],
|
|
5693
|
+
["key", "value"],
|
|
5694
|
+
["local"],
|
|
5695
|
+
["objectType", "indexType"],
|
|
5696
|
+
["typeParameter"],
|
|
5697
|
+
["types"],
|
|
5698
|
+
["node"],
|
|
5699
|
+
["object", "property"],
|
|
5700
|
+
["argument", "cases"],
|
|
5701
|
+
[
|
|
5702
|
+
"pattern",
|
|
5703
|
+
"body",
|
|
5704
|
+
"guard"
|
|
5705
|
+
],
|
|
5706
|
+
["literal"],
|
|
5707
|
+
[
|
|
5708
|
+
"decorators",
|
|
5709
|
+
"key",
|
|
5710
|
+
"value"
|
|
5711
|
+
],
|
|
5712
|
+
["expressions"],
|
|
5713
|
+
["qualification", "id"],
|
|
5714
|
+
[
|
|
5715
|
+
"decorators",
|
|
5716
|
+
"key",
|
|
5717
|
+
"typeAnnotation"
|
|
5718
|
+
],
|
|
5719
|
+
[
|
|
5720
|
+
"typeParameters",
|
|
5721
|
+
"params",
|
|
5722
|
+
"returnType"
|
|
5723
|
+
],
|
|
5724
|
+
["expression", "typeArguments"],
|
|
5725
|
+
["params"],
|
|
5726
|
+
["parameterName", "typeAnnotation"]
|
|
5727
|
+
];
|
|
5728
|
+
Mr = _r({
|
|
5729
|
+
AccessorProperty: a[0],
|
|
5730
|
+
AnyTypeAnnotation: a[1],
|
|
5731
|
+
ArgumentPlaceholder: a[1],
|
|
5732
|
+
ArrayExpression: ["elements"],
|
|
5733
|
+
ArrayPattern: [
|
|
5734
|
+
"elements",
|
|
5735
|
+
"typeAnnotation",
|
|
5736
|
+
"decorators"
|
|
5737
|
+
],
|
|
5738
|
+
ArrayTypeAnnotation: a[2],
|
|
5739
|
+
ArrowFunctionExpression: [
|
|
5740
|
+
"typeParameters",
|
|
5741
|
+
"params",
|
|
5742
|
+
"predicate",
|
|
5743
|
+
"returnType",
|
|
5744
|
+
"body"
|
|
5745
|
+
],
|
|
5746
|
+
AsConstExpression: a[3],
|
|
5747
|
+
AsExpression: a[4],
|
|
5748
|
+
AssignmentExpression: a[5],
|
|
5749
|
+
AssignmentPattern: [
|
|
5750
|
+
"left",
|
|
5751
|
+
"right",
|
|
5752
|
+
"decorators",
|
|
5753
|
+
"typeAnnotation"
|
|
5754
|
+
],
|
|
5755
|
+
AwaitExpression: a[6],
|
|
5756
|
+
BigIntLiteral: a[1],
|
|
5757
|
+
BigIntLiteralTypeAnnotation: a[1],
|
|
5758
|
+
BigIntTypeAnnotation: a[1],
|
|
5759
|
+
BinaryExpression: a[5],
|
|
5760
|
+
BindExpression: ["object", "callee"],
|
|
5761
|
+
BlockStatement: a[7],
|
|
5762
|
+
BooleanLiteral: a[1],
|
|
5763
|
+
BooleanLiteralTypeAnnotation: a[1],
|
|
5764
|
+
BooleanTypeAnnotation: a[1],
|
|
5765
|
+
BreakStatement: a[8],
|
|
5766
|
+
CallExpression: a[9],
|
|
5767
|
+
CatchClause: ["param", "body"],
|
|
5768
|
+
ChainExpression: a[3],
|
|
5769
|
+
ClassAccessorProperty: a[0],
|
|
5770
|
+
ClassBody: a[10],
|
|
5771
|
+
ClassDeclaration: a[11],
|
|
5772
|
+
ClassExpression: a[11],
|
|
5773
|
+
ClassImplements: a[12],
|
|
5774
|
+
ClassMethod: a[13],
|
|
5775
|
+
ClassPrivateMethod: a[13],
|
|
5776
|
+
ClassPrivateProperty: a[14],
|
|
5777
|
+
ClassProperty: a[14],
|
|
5778
|
+
ComponentDeclaration: [
|
|
5779
|
+
"id",
|
|
5780
|
+
"params",
|
|
5781
|
+
"body",
|
|
5782
|
+
"typeParameters",
|
|
5783
|
+
"rendersType"
|
|
5784
|
+
],
|
|
5785
|
+
ComponentParameter: ["name", "local"],
|
|
5786
|
+
ComponentTypeAnnotation: [
|
|
5787
|
+
"params",
|
|
5788
|
+
"rest",
|
|
5789
|
+
"typeParameters",
|
|
5790
|
+
"rendersType"
|
|
5791
|
+
],
|
|
5792
|
+
ComponentTypeParameter: a[15],
|
|
5793
|
+
ConditionalExpression: a[16],
|
|
5794
|
+
ConditionalTypeAnnotation: a[17],
|
|
5795
|
+
ContinueStatement: a[8],
|
|
5796
|
+
DebuggerStatement: a[1],
|
|
5797
|
+
DeclareClass: [
|
|
5798
|
+
"id",
|
|
5799
|
+
"typeParameters",
|
|
5800
|
+
"extends",
|
|
5801
|
+
"mixins",
|
|
5802
|
+
"implements",
|
|
5803
|
+
"body"
|
|
5804
|
+
],
|
|
5805
|
+
DeclareComponent: [
|
|
5806
|
+
"id",
|
|
5807
|
+
"params",
|
|
5808
|
+
"rest",
|
|
5809
|
+
"typeParameters",
|
|
5810
|
+
"rendersType"
|
|
5811
|
+
],
|
|
5812
|
+
DeclaredPredicate: a[18],
|
|
5813
|
+
DeclareEnum: a[19],
|
|
5814
|
+
DeclareExportAllDeclaration: ["source", "attributes"],
|
|
5815
|
+
DeclareExportDeclaration: a[20],
|
|
5816
|
+
DeclareFunction: ["id", "predicate"],
|
|
5817
|
+
DeclareHook: a[21],
|
|
5818
|
+
DeclareInterface: a[22],
|
|
5819
|
+
DeclareModule: a[19],
|
|
5820
|
+
DeclareModuleExports: a[23],
|
|
5821
|
+
DeclareNamespace: a[19],
|
|
5822
|
+
DeclareOpaqueType: [
|
|
5823
|
+
"id",
|
|
5824
|
+
"typeParameters",
|
|
5825
|
+
"supertype",
|
|
5826
|
+
"lowerBound",
|
|
5827
|
+
"upperBound"
|
|
5828
|
+
],
|
|
5829
|
+
DeclareTypeAlias: a[24],
|
|
5830
|
+
DeclareVariable: a[21],
|
|
5831
|
+
Decorator: a[3],
|
|
5832
|
+
Directive: a[18],
|
|
5833
|
+
DirectiveLiteral: a[1],
|
|
5834
|
+
DoExpression: a[10],
|
|
5835
|
+
DoWhileStatement: a[25],
|
|
5836
|
+
EmptyStatement: a[1],
|
|
5837
|
+
EmptyTypeAnnotation: a[1],
|
|
5838
|
+
EnumBigIntBody: a[26],
|
|
5839
|
+
EnumBigIntMember: a[27],
|
|
5840
|
+
EnumBooleanBody: a[26],
|
|
5841
|
+
EnumBooleanMember: a[27],
|
|
5842
|
+
EnumDeclaration: a[19],
|
|
5843
|
+
EnumDefaultedMember: a[21],
|
|
5844
|
+
EnumNumberBody: a[26],
|
|
5845
|
+
EnumNumberMember: a[27],
|
|
5846
|
+
EnumStringBody: a[26],
|
|
5847
|
+
EnumStringMember: a[27],
|
|
5848
|
+
EnumSymbolBody: a[26],
|
|
5849
|
+
ExistsTypeAnnotation: a[1],
|
|
5850
|
+
ExperimentalRestProperty: a[6],
|
|
5851
|
+
ExperimentalSpreadProperty: a[6],
|
|
5852
|
+
ExportAllDeclaration: [
|
|
5853
|
+
"source",
|
|
5854
|
+
"attributes",
|
|
5855
|
+
"exported"
|
|
5856
|
+
],
|
|
5857
|
+
ExportDefaultDeclaration: ["declaration"],
|
|
5858
|
+
ExportDefaultSpecifier: a[28],
|
|
5859
|
+
ExportNamedDeclaration: a[20],
|
|
5860
|
+
ExportNamespaceSpecifier: a[28],
|
|
5861
|
+
ExportSpecifier: ["local", "exported"],
|
|
5862
|
+
ExpressionStatement: a[3],
|
|
5863
|
+
File: ["program"],
|
|
5864
|
+
ForInStatement: a[29],
|
|
5865
|
+
ForOfStatement: a[29],
|
|
5866
|
+
ForStatement: [
|
|
5867
|
+
"init",
|
|
5868
|
+
"test",
|
|
5869
|
+
"update",
|
|
5870
|
+
"body"
|
|
5871
|
+
],
|
|
5872
|
+
FunctionDeclaration: a[30],
|
|
5873
|
+
FunctionExpression: a[30],
|
|
5874
|
+
FunctionTypeAnnotation: [
|
|
5875
|
+
"typeParameters",
|
|
5876
|
+
"this",
|
|
5877
|
+
"params",
|
|
5878
|
+
"rest",
|
|
5879
|
+
"returnType"
|
|
5880
|
+
],
|
|
5881
|
+
FunctionTypeParam: a[15],
|
|
5882
|
+
GenericTypeAnnotation: a[12],
|
|
5883
|
+
HookDeclaration: a[31],
|
|
5884
|
+
HookTypeAnnotation: [
|
|
5885
|
+
"params",
|
|
5886
|
+
"returnType",
|
|
5887
|
+
"rest",
|
|
5888
|
+
"typeParameters"
|
|
5889
|
+
],
|
|
5890
|
+
Identifier: ["typeAnnotation", "decorators"],
|
|
5891
|
+
IfStatement: a[16],
|
|
5892
|
+
ImportAttribute: a[32],
|
|
5893
|
+
ImportDeclaration: [
|
|
5894
|
+
"specifiers",
|
|
5895
|
+
"source",
|
|
5896
|
+
"attributes"
|
|
5897
|
+
],
|
|
5898
|
+
ImportDefaultSpecifier: a[33],
|
|
5899
|
+
ImportExpression: ["source", "options"],
|
|
5900
|
+
ImportNamespaceSpecifier: a[33],
|
|
5901
|
+
ImportSpecifier: ["imported", "local"],
|
|
5902
|
+
IndexedAccessType: a[34],
|
|
5903
|
+
InferredPredicate: a[1],
|
|
5904
|
+
InferTypeAnnotation: a[35],
|
|
5905
|
+
InterfaceDeclaration: a[22],
|
|
5906
|
+
InterfaceExtends: a[12],
|
|
5907
|
+
InterfaceTypeAnnotation: ["extends", "body"],
|
|
5908
|
+
InterpreterDirective: a[1],
|
|
5909
|
+
IntersectionTypeAnnotation: a[36],
|
|
5910
|
+
JsExpressionRoot: a[37],
|
|
5911
|
+
JsonRoot: a[37],
|
|
5912
|
+
JSXAttribute: ["name", "value"],
|
|
5913
|
+
JSXClosingElement: ["name"],
|
|
5914
|
+
JSXClosingFragment: a[1],
|
|
5915
|
+
JSXElement: [
|
|
5916
|
+
"openingElement",
|
|
5917
|
+
"children",
|
|
5918
|
+
"closingElement"
|
|
5919
|
+
],
|
|
5920
|
+
JSXEmptyExpression: a[1],
|
|
5921
|
+
JSXExpressionContainer: a[3],
|
|
5922
|
+
JSXFragment: [
|
|
5923
|
+
"openingFragment",
|
|
5924
|
+
"children",
|
|
5925
|
+
"closingFragment"
|
|
5926
|
+
],
|
|
5927
|
+
JSXIdentifier: a[1],
|
|
5928
|
+
JSXMemberExpression: a[38],
|
|
5929
|
+
JSXNamespacedName: ["namespace", "name"],
|
|
5930
|
+
JSXOpeningElement: [
|
|
5931
|
+
"name",
|
|
5932
|
+
"typeArguments",
|
|
5933
|
+
"attributes"
|
|
5934
|
+
],
|
|
5935
|
+
JSXOpeningFragment: a[1],
|
|
5936
|
+
JSXSpreadAttribute: a[6],
|
|
5937
|
+
JSXSpreadChild: a[3],
|
|
5938
|
+
JSXText: a[1],
|
|
5939
|
+
KeyofTypeAnnotation: a[6],
|
|
5940
|
+
LabeledStatement: ["label", "body"],
|
|
5941
|
+
Literal: a[1],
|
|
5942
|
+
LogicalExpression: a[5],
|
|
5943
|
+
MatchArrayPattern: ["elements", "rest"],
|
|
5944
|
+
MatchAsPattern: ["pattern", "target"],
|
|
5945
|
+
MatchBindingPattern: a[21],
|
|
5946
|
+
MatchExpression: a[39],
|
|
5947
|
+
MatchExpressionCase: a[40],
|
|
5948
|
+
MatchIdentifierPattern: a[21],
|
|
5949
|
+
MatchLiteralPattern: a[41],
|
|
5950
|
+
MatchMemberPattern: ["base", "property"],
|
|
5951
|
+
MatchObjectPattern: ["properties", "rest"],
|
|
5952
|
+
MatchObjectPatternProperty: ["key", "pattern"],
|
|
5953
|
+
MatchOrPattern: ["patterns"],
|
|
5954
|
+
MatchRestPattern: a[6],
|
|
5955
|
+
MatchStatement: a[39],
|
|
5956
|
+
MatchStatementCase: a[40],
|
|
5957
|
+
MatchUnaryPattern: a[6],
|
|
5958
|
+
MatchWildcardPattern: a[1],
|
|
5959
|
+
MemberExpression: a[38],
|
|
5960
|
+
MetaProperty: ["meta", "property"],
|
|
5961
|
+
MethodDefinition: a[42],
|
|
5962
|
+
MixedTypeAnnotation: a[1],
|
|
5963
|
+
ModuleExpression: a[10],
|
|
5964
|
+
NeverTypeAnnotation: a[1],
|
|
5965
|
+
NewExpression: a[9],
|
|
5966
|
+
NGChainedExpression: a[43],
|
|
5967
|
+
NGEmptyExpression: a[1],
|
|
5968
|
+
NGMicrosyntax: a[10],
|
|
5969
|
+
NGMicrosyntaxAs: ["key", "alias"],
|
|
5970
|
+
NGMicrosyntaxExpression: ["expression", "alias"],
|
|
5971
|
+
NGMicrosyntaxKey: a[1],
|
|
5972
|
+
NGMicrosyntaxKeyedExpression: ["key", "expression"],
|
|
5973
|
+
NGMicrosyntaxLet: a[32],
|
|
5974
|
+
NGPipeExpression: [
|
|
5975
|
+
"left",
|
|
5976
|
+
"right",
|
|
5977
|
+
"arguments"
|
|
5978
|
+
],
|
|
5979
|
+
NGRoot: a[37],
|
|
5980
|
+
NullableTypeAnnotation: a[23],
|
|
5981
|
+
NullLiteral: a[1],
|
|
5982
|
+
NullLiteralTypeAnnotation: a[1],
|
|
5983
|
+
NumberLiteralTypeAnnotation: a[1],
|
|
5984
|
+
NumberTypeAnnotation: a[1],
|
|
5985
|
+
NumericLiteral: a[1],
|
|
5986
|
+
ObjectExpression: ["properties"],
|
|
5987
|
+
ObjectMethod: a[13],
|
|
5988
|
+
ObjectPattern: [
|
|
5989
|
+
"decorators",
|
|
5990
|
+
"properties",
|
|
5991
|
+
"typeAnnotation"
|
|
5992
|
+
],
|
|
5993
|
+
ObjectProperty: a[42],
|
|
5994
|
+
ObjectTypeAnnotation: [
|
|
5995
|
+
"properties",
|
|
5996
|
+
"indexers",
|
|
5997
|
+
"callProperties",
|
|
5998
|
+
"internalSlots"
|
|
5999
|
+
],
|
|
6000
|
+
ObjectTypeCallProperty: a[18],
|
|
6001
|
+
ObjectTypeIndexer: [
|
|
6002
|
+
"variance",
|
|
6003
|
+
"id",
|
|
6004
|
+
"key",
|
|
6005
|
+
"value"
|
|
6006
|
+
],
|
|
6007
|
+
ObjectTypeInternalSlot: ["id", "value"],
|
|
6008
|
+
ObjectTypeMappedTypeProperty: [
|
|
6009
|
+
"keyTparam",
|
|
6010
|
+
"propType",
|
|
6011
|
+
"sourceType",
|
|
6012
|
+
"variance"
|
|
6013
|
+
],
|
|
6014
|
+
ObjectTypeProperty: [
|
|
6015
|
+
"key",
|
|
6016
|
+
"value",
|
|
6017
|
+
"variance"
|
|
6018
|
+
],
|
|
6019
|
+
ObjectTypeSpreadProperty: a[6],
|
|
6020
|
+
OpaqueType: [
|
|
6021
|
+
"id",
|
|
6022
|
+
"typeParameters",
|
|
6023
|
+
"supertype",
|
|
6024
|
+
"impltype",
|
|
6025
|
+
"lowerBound",
|
|
6026
|
+
"upperBound"
|
|
6027
|
+
],
|
|
6028
|
+
OptionalCallExpression: a[9],
|
|
6029
|
+
OptionalIndexedAccessType: a[34],
|
|
6030
|
+
OptionalMemberExpression: a[38],
|
|
6031
|
+
ParenthesizedExpression: a[3],
|
|
6032
|
+
PipelineBareFunction: ["callee"],
|
|
6033
|
+
PipelinePrimaryTopicReference: a[1],
|
|
6034
|
+
PipelineTopicExpression: a[3],
|
|
6035
|
+
Placeholder: a[1],
|
|
6036
|
+
PrivateIdentifier: a[1],
|
|
6037
|
+
PrivateName: a[21],
|
|
6038
|
+
Program: a[7],
|
|
6039
|
+
Property: a[32],
|
|
6040
|
+
PropertyDefinition: a[14],
|
|
6041
|
+
QualifiedTypeIdentifier: a[44],
|
|
6042
|
+
QualifiedTypeofIdentifier: a[44],
|
|
6043
|
+
RegExpLiteral: a[1],
|
|
6044
|
+
RestElement: [
|
|
6045
|
+
"argument",
|
|
6046
|
+
"typeAnnotation",
|
|
6047
|
+
"decorators"
|
|
6048
|
+
],
|
|
6049
|
+
ReturnStatement: a[6],
|
|
6050
|
+
SatisfiesExpression: a[4],
|
|
6051
|
+
SequenceExpression: a[43],
|
|
6052
|
+
SpreadElement: a[6],
|
|
6053
|
+
StaticBlock: a[10],
|
|
6054
|
+
StringLiteral: a[1],
|
|
6055
|
+
StringLiteralTypeAnnotation: a[1],
|
|
6056
|
+
StringTypeAnnotation: a[1],
|
|
6057
|
+
Super: a[1],
|
|
6058
|
+
SwitchCase: ["test", "consequent"],
|
|
6059
|
+
SwitchStatement: ["discriminant", "cases"],
|
|
6060
|
+
SymbolTypeAnnotation: a[1],
|
|
6061
|
+
TaggedTemplateExpression: [
|
|
6062
|
+
"tag",
|
|
6063
|
+
"typeArguments",
|
|
6064
|
+
"quasi"
|
|
6065
|
+
],
|
|
6066
|
+
TemplateElement: a[1],
|
|
6067
|
+
TemplateLiteral: ["quasis", "expressions"],
|
|
6068
|
+
ThisExpression: a[1],
|
|
6069
|
+
ThisTypeAnnotation: a[1],
|
|
6070
|
+
ThrowStatement: a[6],
|
|
6071
|
+
TopicReference: a[1],
|
|
6072
|
+
TryStatement: [
|
|
6073
|
+
"block",
|
|
6074
|
+
"handler",
|
|
6075
|
+
"finalizer"
|
|
6076
|
+
],
|
|
6077
|
+
TSAbstractAccessorProperty: a[45],
|
|
6078
|
+
TSAbstractKeyword: a[1],
|
|
6079
|
+
TSAbstractMethodDefinition: a[32],
|
|
6080
|
+
TSAbstractPropertyDefinition: a[45],
|
|
6081
|
+
TSAnyKeyword: a[1],
|
|
6082
|
+
TSArrayType: a[2],
|
|
6083
|
+
TSAsExpression: a[4],
|
|
6084
|
+
TSAsyncKeyword: a[1],
|
|
6085
|
+
TSBigIntKeyword: a[1],
|
|
6086
|
+
TSBooleanKeyword: a[1],
|
|
6087
|
+
TSCallSignatureDeclaration: a[46],
|
|
6088
|
+
TSClassImplements: a[47],
|
|
6089
|
+
TSConditionalType: a[17],
|
|
6090
|
+
TSConstructorType: a[46],
|
|
6091
|
+
TSConstructSignatureDeclaration: a[46],
|
|
6092
|
+
TSDeclareFunction: a[31],
|
|
6093
|
+
TSDeclareKeyword: a[1],
|
|
6094
|
+
TSDeclareMethod: [
|
|
6095
|
+
"decorators",
|
|
6096
|
+
"key",
|
|
6097
|
+
"typeParameters",
|
|
6098
|
+
"params",
|
|
6099
|
+
"returnType"
|
|
6100
|
+
],
|
|
6101
|
+
TSEmptyBodyFunctionExpression: [
|
|
6102
|
+
"id",
|
|
6103
|
+
"typeParameters",
|
|
6104
|
+
"params",
|
|
6105
|
+
"returnType"
|
|
6106
|
+
],
|
|
6107
|
+
TSEnumBody: a[26],
|
|
6108
|
+
TSEnumDeclaration: a[19],
|
|
6109
|
+
TSEnumMember: ["id", "initializer"],
|
|
6110
|
+
TSExportAssignment: a[3],
|
|
6111
|
+
TSExportKeyword: a[1],
|
|
6112
|
+
TSExternalModuleReference: a[3],
|
|
6113
|
+
TSFunctionType: a[46],
|
|
6114
|
+
TSImportEqualsDeclaration: ["id", "moduleReference"],
|
|
6115
|
+
TSImportType: [
|
|
6116
|
+
"options",
|
|
6117
|
+
"qualifier",
|
|
6118
|
+
"typeArguments",
|
|
6119
|
+
"source"
|
|
6120
|
+
],
|
|
6121
|
+
TSIndexedAccessType: a[34],
|
|
6122
|
+
TSIndexSignature: ["parameters", "typeAnnotation"],
|
|
6123
|
+
TSInferType: a[35],
|
|
6124
|
+
TSInstantiationExpression: a[47],
|
|
6125
|
+
TSInterfaceBody: a[10],
|
|
6126
|
+
TSInterfaceDeclaration: a[22],
|
|
6127
|
+
TSInterfaceHeritage: a[47],
|
|
6128
|
+
TSIntersectionType: a[36],
|
|
6129
|
+
TSIntrinsicKeyword: a[1],
|
|
6130
|
+
TSJSDocAllType: a[1],
|
|
6131
|
+
TSJSDocNonNullableType: a[23],
|
|
6132
|
+
TSJSDocNullableType: a[23],
|
|
6133
|
+
TSJSDocUnknownType: a[1],
|
|
6134
|
+
TSLiteralType: a[41],
|
|
6135
|
+
TSMappedType: [
|
|
6136
|
+
"key",
|
|
6137
|
+
"constraint",
|
|
6138
|
+
"nameType",
|
|
6139
|
+
"typeAnnotation"
|
|
6140
|
+
],
|
|
6141
|
+
TSMethodSignature: [
|
|
6142
|
+
"key",
|
|
6143
|
+
"typeParameters",
|
|
6144
|
+
"params",
|
|
6145
|
+
"returnType"
|
|
6146
|
+
],
|
|
6147
|
+
TSModuleBlock: a[10],
|
|
6148
|
+
TSModuleDeclaration: a[19],
|
|
6149
|
+
TSNamedTupleMember: ["label", "elementType"],
|
|
6150
|
+
TSNamespaceExportDeclaration: a[21],
|
|
6151
|
+
TSNeverKeyword: a[1],
|
|
6152
|
+
TSNonNullExpression: a[3],
|
|
6153
|
+
TSNullKeyword: a[1],
|
|
6154
|
+
TSNumberKeyword: a[1],
|
|
6155
|
+
TSObjectKeyword: a[1],
|
|
6156
|
+
TSOptionalType: a[23],
|
|
6157
|
+
TSParameterProperty: ["parameter", "decorators"],
|
|
6158
|
+
TSParenthesizedType: a[23],
|
|
6159
|
+
TSPrivateKeyword: a[1],
|
|
6160
|
+
TSPropertySignature: ["key", "typeAnnotation"],
|
|
6161
|
+
TSProtectedKeyword: a[1],
|
|
6162
|
+
TSPublicKeyword: a[1],
|
|
6163
|
+
TSQualifiedName: a[5],
|
|
6164
|
+
TSReadonlyKeyword: a[1],
|
|
6165
|
+
TSRestType: a[23],
|
|
6166
|
+
TSSatisfiesExpression: a[4],
|
|
6167
|
+
TSStaticKeyword: a[1],
|
|
6168
|
+
TSStringKeyword: a[1],
|
|
6169
|
+
TSSymbolKeyword: a[1],
|
|
6170
|
+
TSTemplateLiteralType: ["quasis", "types"],
|
|
6171
|
+
TSThisType: a[1],
|
|
6172
|
+
TSTupleType: ["elementTypes"],
|
|
6173
|
+
TSTypeAliasDeclaration: [
|
|
6174
|
+
"id",
|
|
6175
|
+
"typeParameters",
|
|
6176
|
+
"typeAnnotation"
|
|
6177
|
+
],
|
|
6178
|
+
TSTypeAnnotation: a[23],
|
|
6179
|
+
TSTypeAssertion: a[4],
|
|
6180
|
+
TSTypeLiteral: a[26],
|
|
6181
|
+
TSTypeOperator: a[23],
|
|
6182
|
+
TSTypeParameter: [
|
|
6183
|
+
"name",
|
|
6184
|
+
"constraint",
|
|
6185
|
+
"default"
|
|
6186
|
+
],
|
|
6187
|
+
TSTypeParameterDeclaration: a[48],
|
|
6188
|
+
TSTypeParameterInstantiation: a[48],
|
|
6189
|
+
TSTypePredicate: a[49],
|
|
6190
|
+
TSTypeQuery: ["exprName", "typeArguments"],
|
|
6191
|
+
TSTypeReference: ["typeName", "typeArguments"],
|
|
6192
|
+
TSUndefinedKeyword: a[1],
|
|
6193
|
+
TSUnionType: a[36],
|
|
6194
|
+
TSUnknownKeyword: a[1],
|
|
6195
|
+
TSVoidKeyword: a[1],
|
|
6196
|
+
TupleTypeAnnotation: ["types", "elementTypes"],
|
|
6197
|
+
TupleTypeLabeledElement: [
|
|
6198
|
+
"label",
|
|
6199
|
+
"elementType",
|
|
6200
|
+
"variance"
|
|
6201
|
+
],
|
|
6202
|
+
TupleTypeSpreadElement: ["label", "typeAnnotation"],
|
|
6203
|
+
TypeAlias: a[24],
|
|
6204
|
+
TypeAnnotation: a[23],
|
|
6205
|
+
TypeCastExpression: a[4],
|
|
6206
|
+
TypeofTypeAnnotation: ["argument", "typeArguments"],
|
|
6207
|
+
TypeOperator: a[23],
|
|
6208
|
+
TypeParameter: [
|
|
6209
|
+
"bound",
|
|
6210
|
+
"default",
|
|
6211
|
+
"variance"
|
|
6212
|
+
],
|
|
6213
|
+
TypeParameterDeclaration: a[48],
|
|
6214
|
+
TypeParameterInstantiation: a[48],
|
|
6215
|
+
TypePredicate: a[49],
|
|
6216
|
+
UnaryExpression: a[6],
|
|
6217
|
+
UndefinedTypeAnnotation: a[1],
|
|
6218
|
+
UnionTypeAnnotation: a[36],
|
|
6219
|
+
UnknownTypeAnnotation: a[1],
|
|
6220
|
+
UpdateExpression: a[6],
|
|
6221
|
+
V8IntrinsicIdentifier: a[1],
|
|
6222
|
+
VariableDeclaration: ["declarations"],
|
|
6223
|
+
VariableDeclarator: a[27],
|
|
6224
|
+
Variance: a[1],
|
|
6225
|
+
VoidPattern: a[1],
|
|
6226
|
+
VoidTypeAnnotation: a[1],
|
|
6227
|
+
WhileStatement: a[25],
|
|
6228
|
+
WithStatement: ["object", "body"],
|
|
6229
|
+
YieldExpression: a[6]
|
|
6230
|
+
});
|
|
6231
|
+
k = ep;
|
|
6232
|
+
pe = tp;
|
|
6233
|
+
ce = k([
|
|
6234
|
+
"Block",
|
|
6235
|
+
"CommentBlock",
|
|
6236
|
+
"MultiLine"
|
|
6237
|
+
]);
|
|
6238
|
+
Nr = k([
|
|
6239
|
+
"AnyTypeAnnotation",
|
|
6240
|
+
"ThisTypeAnnotation",
|
|
6241
|
+
"NumberTypeAnnotation",
|
|
6242
|
+
"VoidTypeAnnotation",
|
|
6243
|
+
"BooleanTypeAnnotation",
|
|
6244
|
+
"BigIntTypeAnnotation",
|
|
6245
|
+
"SymbolTypeAnnotation",
|
|
6246
|
+
"StringTypeAnnotation",
|
|
6247
|
+
"NeverTypeAnnotation",
|
|
6248
|
+
"UndefinedTypeAnnotation",
|
|
6249
|
+
"UnknownTypeAnnotation",
|
|
6250
|
+
"EmptyTypeAnnotation",
|
|
6251
|
+
"MixedTypeAnnotation"
|
|
6252
|
+
]);
|
|
6253
|
+
At = k([
|
|
6254
|
+
"Line",
|
|
6255
|
+
"CommentLine",
|
|
6256
|
+
"SingleLine",
|
|
6257
|
+
"HashbangComment",
|
|
6258
|
+
"HTMLOpen",
|
|
6259
|
+
"HTMLClose",
|
|
6260
|
+
"Hashbang",
|
|
6261
|
+
"InterpreterDirective"
|
|
6262
|
+
]);
|
|
6263
|
+
Pt = op;
|
|
6264
|
+
jr = up;
|
|
6265
|
+
kt = ap;
|
|
6266
|
+
Di = k([
|
|
6267
|
+
"ExportDefaultDeclaration",
|
|
6268
|
+
"DeclareExportDeclaration",
|
|
6269
|
+
"ExportNamedDeclaration",
|
|
6270
|
+
"ExportAllDeclaration",
|
|
6271
|
+
"DeclareExportAllDeclaration"
|
|
6272
|
+
]), q = k(["ArrayExpression"]), se = k(["ObjectExpression"]);
|
|
6273
|
+
Jr = k([
|
|
6274
|
+
"Literal",
|
|
6275
|
+
"BooleanLiteral",
|
|
6276
|
+
"BigIntLiteral",
|
|
6277
|
+
"DirectiveLiteral",
|
|
6278
|
+
"NullLiteral",
|
|
6279
|
+
"NumericLiteral",
|
|
6280
|
+
"RegExpLiteral",
|
|
6281
|
+
"StringLiteral"
|
|
6282
|
+
]), pp = k([
|
|
6283
|
+
"Identifier",
|
|
6284
|
+
"ThisExpression",
|
|
6285
|
+
"Super",
|
|
6286
|
+
"PrivateName",
|
|
6287
|
+
"PrivateIdentifier"
|
|
6288
|
+
]), Je = k([
|
|
6289
|
+
"ObjectTypeAnnotation",
|
|
6290
|
+
"TSTypeLiteral",
|
|
6291
|
+
"TSMappedType"
|
|
6292
|
+
]), Ht = k(["FunctionExpression", "ArrowFunctionExpression"]);
|
|
6293
|
+
H = k(["JSXElement", "JSXFragment"]);
|
|
6294
|
+
Te = k([
|
|
6295
|
+
"BinaryExpression",
|
|
6296
|
+
"LogicalExpression",
|
|
6297
|
+
"NGPipeExpression"
|
|
6298
|
+
]);
|
|
6299
|
+
lp = k([
|
|
6300
|
+
"TSThisType",
|
|
6301
|
+
"NullLiteralTypeAnnotation",
|
|
6302
|
+
"BooleanLiteralTypeAnnotation",
|
|
6303
|
+
"StringLiteralTypeAnnotation",
|
|
6304
|
+
"BigIntLiteralTypeAnnotation",
|
|
6305
|
+
"NumberLiteralTypeAnnotation",
|
|
6306
|
+
"TSLiteralType",
|
|
6307
|
+
"TSTemplateLiteralType"
|
|
6308
|
+
]);
|
|
6309
|
+
Dp = [
|
|
6310
|
+
"it",
|
|
6311
|
+
"it.only",
|
|
6312
|
+
"it.skip",
|
|
6313
|
+
"describe",
|
|
6314
|
+
"describe.only",
|
|
6315
|
+
"describe.skip",
|
|
6316
|
+
"test",
|
|
6317
|
+
"test.only",
|
|
6318
|
+
"test.skip",
|
|
6319
|
+
"test.fixme",
|
|
6320
|
+
"test.step",
|
|
6321
|
+
"test.describe",
|
|
6322
|
+
"test.describe.only",
|
|
6323
|
+
"test.describe.skip",
|
|
6324
|
+
"test.describe.fixme",
|
|
6325
|
+
"test.describe.parallel",
|
|
6326
|
+
"test.describe.parallel.only",
|
|
6327
|
+
"test.describe.serial",
|
|
6328
|
+
"test.describe.serial.only",
|
|
6329
|
+
"skip",
|
|
6330
|
+
"xit",
|
|
6331
|
+
"xdescribe",
|
|
6332
|
+
"xtest",
|
|
6333
|
+
"fit",
|
|
6334
|
+
"fdescribe",
|
|
6335
|
+
"ftest"
|
|
6336
|
+
];
|
|
6337
|
+
Fi = (e) => (t) => (t?.type === "ChainExpression" && (t = t.expression), e(t)), M = Fi(k(["CallExpression", "OptionalCallExpression"])), J = Fi(k(["MemberExpression", "OptionalMemberExpression"]));
|
|
6338
|
+
yp = .25;
|
|
6339
|
+
Ep = new Set([
|
|
6340
|
+
"!",
|
|
6341
|
+
"-",
|
|
6342
|
+
"+",
|
|
6343
|
+
"~"
|
|
6344
|
+
]);
|
|
6345
|
+
li = {
|
|
6346
|
+
"==": !0,
|
|
6347
|
+
"!=": !0,
|
|
6348
|
+
"===": !0,
|
|
6349
|
+
"!==": !0
|
|
6350
|
+
}, vr = {
|
|
6351
|
+
"*": !0,
|
|
6352
|
+
"/": !0,
|
|
6353
|
+
"%": !0
|
|
6354
|
+
}, Yn = {
|
|
6355
|
+
">>": !0,
|
|
6356
|
+
">>>": !0,
|
|
6357
|
+
"<<": !0
|
|
6358
|
+
};
|
|
6359
|
+
Fp = new Map([
|
|
6360
|
+
["|>"],
|
|
6361
|
+
["??"],
|
|
6362
|
+
["||"],
|
|
6363
|
+
["&&"],
|
|
6364
|
+
["|"],
|
|
6365
|
+
["^"],
|
|
6366
|
+
["&"],
|
|
6367
|
+
[
|
|
6368
|
+
"==",
|
|
6369
|
+
"===",
|
|
6370
|
+
"!=",
|
|
6371
|
+
"!=="
|
|
6372
|
+
],
|
|
6373
|
+
[
|
|
6374
|
+
"<",
|
|
6375
|
+
">",
|
|
6376
|
+
"<=",
|
|
6377
|
+
">=",
|
|
6378
|
+
"in",
|
|
6379
|
+
"instanceof"
|
|
6380
|
+
],
|
|
6381
|
+
[
|
|
6382
|
+
">>",
|
|
6383
|
+
"<<",
|
|
6384
|
+
">>>"
|
|
6385
|
+
],
|
|
6386
|
+
["+", "-"],
|
|
6387
|
+
[
|
|
6388
|
+
"*",
|
|
6389
|
+
"/",
|
|
6390
|
+
"%"
|
|
6391
|
+
],
|
|
6392
|
+
["**"]
|
|
6393
|
+
].flatMap((e, t) => e.map((r) => [r, t])));
|
|
6394
|
+
qn = /* @__PURE__ */ new WeakMap();
|
|
6395
|
+
Un = /* @__PURE__ */ new WeakMap();
|
|
6396
|
+
x = {
|
|
6397
|
+
Leading: 2,
|
|
6398
|
+
Trailing: 4,
|
|
6399
|
+
Dangling: 8,
|
|
6400
|
+
Block: 16,
|
|
6401
|
+
Line: 32,
|
|
6402
|
+
PrettierIgnore: 64,
|
|
6403
|
+
First: 128,
|
|
6404
|
+
Last: 256
|
|
6405
|
+
}, gi = (e, t) => {
|
|
6406
|
+
if (typeof e == "function" && (t = e, e = 0), e || t) return (r, n, s) => !(e & x.Leading && !r.leading || e & x.Trailing && !r.trailing || e & x.Dangling && (r.leading || r.trailing) || e & x.Block && !ce(r) || e & x.Line && !At(r) || e & x.First && n !== 0 || e & x.Last && n !== s.length - 1 || e & x.PrettierIgnore && !Lt(r) || t && !t(r));
|
|
6407
|
+
};
|
|
6408
|
+
oe = (e, { originalText: t }) => Yt(t, I(e));
|
|
6409
|
+
Ae = k([
|
|
6410
|
+
"TSAsExpression",
|
|
6411
|
+
"TSSatisfiesExpression",
|
|
6412
|
+
"AsExpression",
|
|
6413
|
+
"AsConstExpression",
|
|
6414
|
+
"SatisfiesExpression"
|
|
6415
|
+
]), Se = k(["TSUnionType", "UnionTypeAnnotation"]), xt = k(["TSIntersectionType", "IntersectionTypeAnnotation"]), Ue = k(["TSConditionalType", "ConditionalTypeAnnotation"]), hi = (e) => e?.type === "TSAsExpression" && e.typeAnnotation.type === "TSTypeReference" && e.typeAnnotation.typeName.type === "Identifier" && e.typeAnnotation.typeName.name === "const", Cr = k(["TSTypeAliasDeclaration", "TypeAlias"]);
|
|
6416
|
+
dp = new Set([
|
|
6417
|
+
"range",
|
|
6418
|
+
"raw",
|
|
6419
|
+
"comments",
|
|
6420
|
+
"leadingComments",
|
|
6421
|
+
"trailingComments",
|
|
6422
|
+
"innerComments",
|
|
6423
|
+
"extra",
|
|
6424
|
+
"start",
|
|
6425
|
+
"end",
|
|
6426
|
+
"loc",
|
|
6427
|
+
"flags",
|
|
6428
|
+
"errors",
|
|
6429
|
+
"tokens"
|
|
6430
|
+
]), Kt = (e) => {
|
|
6431
|
+
for (let t of e.quasis) delete t.value;
|
|
6432
|
+
};
|
|
6433
|
+
Si.ignoredProperties = dp;
|
|
6434
|
+
Bi = Si;
|
|
6435
|
+
Cp = k([
|
|
6436
|
+
"File",
|
|
6437
|
+
"TemplateElement",
|
|
6438
|
+
"TSEmptyBodyFunctionExpression",
|
|
6439
|
+
"ChainExpression"
|
|
6440
|
+
]), Ap = (e, [t]) => t?.type === "ComponentParameter" && t.shorthand && t.name === e && t.local !== t.name || t?.type === "MatchObjectPatternProperty" && t.shorthand && t.key === e && t.value !== t.key || t?.type === "ObjectProperty" && t.shorthand && t.key === e && t.value !== t.key || t?.type === "Property" && t.shorthand && t.key === e && !mt(t) && t.value !== t.key, Tp = (e, [t]) => !!(e.type === "FunctionExpression" && t.type === "MethodDefinition" && t.value === e && K(e).length === 0 && !e.returnType && !R(e.typeParameters) && e.body), bi = (e, [t]) => t?.typeAnnotation === e && hi(t), xp = (e, [t, ...r]) => bi(e, [t]) || t?.typeName === e && bi(t, r);
|
|
6441
|
+
Pi = gp;
|
|
6442
|
+
at = Sp;
|
|
6443
|
+
_e = Bp;
|
|
6444
|
+
ue = bp;
|
|
6445
|
+
Qn = /* @__PURE__ */ new WeakMap();
|
|
6446
|
+
Hr = Pp;
|
|
6447
|
+
Zn = (e, t) => At(e) || !ue(t, w(e), I(e));
|
|
6448
|
+
Mp = k([
|
|
6449
|
+
"ClassDeclaration",
|
|
6450
|
+
"ClassExpression",
|
|
6451
|
+
"DeclareClass",
|
|
6452
|
+
"DeclareInterface",
|
|
6453
|
+
"InterfaceDeclaration",
|
|
6454
|
+
"TSInterfaceDeclaration"
|
|
6455
|
+
]);
|
|
6456
|
+
Np = k([
|
|
6457
|
+
"ClassMethod",
|
|
6458
|
+
"ClassProperty",
|
|
6459
|
+
"PropertyDefinition",
|
|
6460
|
+
"TSAbstractPropertyDefinition",
|
|
6461
|
+
"TSAbstractMethodDefinition",
|
|
6462
|
+
"TSDeclareMethod",
|
|
6463
|
+
"MethodDefinition",
|
|
6464
|
+
"ClassAccessorProperty",
|
|
6465
|
+
"AccessorProperty",
|
|
6466
|
+
"TSAbstractAccessorProperty",
|
|
6467
|
+
"TSParameterProperty"
|
|
6468
|
+
]);
|
|
6469
|
+
wi = k([
|
|
6470
|
+
"FunctionDeclaration",
|
|
6471
|
+
"FunctionExpression",
|
|
6472
|
+
"ClassMethod",
|
|
6473
|
+
"MethodDefinition",
|
|
6474
|
+
"ObjectMethod"
|
|
6475
|
+
]);
|
|
6476
|
+
Xp = k([
|
|
6477
|
+
"VariableDeclarator",
|
|
6478
|
+
"AssignmentExpression",
|
|
6479
|
+
"TypeAlias",
|
|
6480
|
+
"TSTypeAliasDeclaration"
|
|
6481
|
+
]), Vp = k([
|
|
6482
|
+
"ObjectExpression",
|
|
6483
|
+
"ArrayExpression",
|
|
6484
|
+
"TemplateLiteral",
|
|
6485
|
+
"TaggedTemplateExpression",
|
|
6486
|
+
"ObjectTypeAnnotation",
|
|
6487
|
+
"TSTypeLiteral"
|
|
6488
|
+
]);
|
|
6489
|
+
Ri = k([
|
|
6490
|
+
"ArrowFunctionExpression",
|
|
6491
|
+
"FunctionExpression",
|
|
6492
|
+
"FunctionDeclaration",
|
|
6493
|
+
"ObjectMethod",
|
|
6494
|
+
"ClassMethod",
|
|
6495
|
+
"TSDeclareFunction",
|
|
6496
|
+
"TSCallSignatureDeclaration",
|
|
6497
|
+
"TSConstructSignatureDeclaration",
|
|
6498
|
+
"TSMethodSignature",
|
|
6499
|
+
"TSConstructorType",
|
|
6500
|
+
"TSFunctionType",
|
|
6501
|
+
"TSDeclareMethod"
|
|
6502
|
+
]), Ji = {
|
|
6503
|
+
endOfLine: Ip,
|
|
6504
|
+
ownLine: kp,
|
|
6505
|
+
remaining: Lp
|
|
6506
|
+
};
|
|
6507
|
+
Gi = sc;
|
|
6508
|
+
ic = k([
|
|
6509
|
+
"ClassDeclaration",
|
|
6510
|
+
"ClassExpression",
|
|
6511
|
+
"DeclareClass",
|
|
6512
|
+
"DeclareInterface",
|
|
6513
|
+
"InterfaceDeclaration",
|
|
6514
|
+
"TSInterfaceDeclaration"
|
|
6515
|
+
]);
|
|
6516
|
+
Wi = oc;
|
|
6517
|
+
Ye = "string", Be = "array", tt = "cursor", He = "indent", Xe = "align", rt = "trim", Fe = "group", Me = "fill", be = "if-break", Ve = "indent-if-break", $e = "line-suffix", Ge = "line-suffix-boundary", me = "line", Pe = "label", Ne = "break-parent", Xr = new Set([
|
|
6518
|
+
tt,
|
|
6519
|
+
He,
|
|
6520
|
+
Xe,
|
|
6521
|
+
rt,
|
|
6522
|
+
Fe,
|
|
6523
|
+
Me,
|
|
6524
|
+
be,
|
|
6525
|
+
Ve,
|
|
6526
|
+
$e,
|
|
6527
|
+
Ge,
|
|
6528
|
+
me,
|
|
6529
|
+
Pe,
|
|
6530
|
+
Ne
|
|
6531
|
+
]);
|
|
6532
|
+
We = uc;
|
|
6533
|
+
ac = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
|
|
6534
|
+
is = class extends Error {
|
|
6535
|
+
name = "InvalidDocError";
|
|
6536
|
+
constructor(t) {
|
|
6537
|
+
super(pc(t)), this.doc = t;
|
|
6538
|
+
}
|
|
6539
|
+
}, gt = is;
|
|
6540
|
+
qi = {};
|
|
6541
|
+
Vr = cc;
|
|
6542
|
+
de = Le, Kr = Le, $i = Le, Ki = Le;
|
|
6543
|
+
ke = { type: Ne };
|
|
6544
|
+
Tr = { type: tt };
|
|
6545
|
+
A = { type: me }, f = {
|
|
6546
|
+
type: me,
|
|
6547
|
+
soft: !0
|
|
6548
|
+
}, os = {
|
|
6549
|
+
type: me,
|
|
6550
|
+
hard: !0
|
|
6551
|
+
}, E = [os, ke], $r = [{
|
|
6552
|
+
type: me,
|
|
6553
|
+
hard: !0,
|
|
6554
|
+
literal: !0
|
|
6555
|
+
}, ke];
|
|
6556
|
+
je = { type: Ge };
|
|
6557
|
+
Ec = "cr", Fc = "crlf";
|
|
6558
|
+
dc = "\r", Cc = `\r
|
|
6559
|
+
`, Tc = `
|
|
6560
|
+
`;
|
|
6561
|
+
xc = { type: 0 }, gc = { type: 1 }, as = {
|
|
6562
|
+
value: "",
|
|
6563
|
+
length: 0,
|
|
6564
|
+
queue: [],
|
|
6565
|
+
get root() {
|
|
6566
|
+
return as;
|
|
6567
|
+
}
|
|
6568
|
+
};
|
|
6569
|
+
ve = Symbol("MODE_BREAK"), ct = Symbol("MODE_FLAT"), cs = Symbol("DOC_FILL_PRINTED_LENGTH");
|
|
6570
|
+
no = Sc;
|
|
6571
|
+
so = Bc;
|
|
6572
|
+
fs = [
|
|
6573
|
+
(e, t) => e.type === "ObjectExpression" && t === "properties",
|
|
6574
|
+
(e, t) => e.type === "CallExpression" && e.callee.type === "Identifier" && e.callee.name === "Component" && t === "arguments",
|
|
6575
|
+
(e, t) => e.type === "Decorator" && t === "expression"
|
|
6576
|
+
];
|
|
6577
|
+
po = (e) => Oc(e) || wc(e) || _c(e) || oo(e);
|
|
6578
|
+
Es = 0;
|
|
6579
|
+
fo = mo.bind(void 0, "html"), yo = mo.bind(void 0, "angular");
|
|
6580
|
+
jc = [
|
|
6581
|
+
{
|
|
6582
|
+
test: po,
|
|
6583
|
+
print: ao
|
|
6584
|
+
},
|
|
6585
|
+
{
|
|
6586
|
+
test: lo,
|
|
6587
|
+
print: co
|
|
6588
|
+
},
|
|
6589
|
+
{
|
|
6590
|
+
test: Do,
|
|
6591
|
+
print: fo
|
|
6592
|
+
},
|
|
6593
|
+
{
|
|
6594
|
+
test: ys,
|
|
6595
|
+
print: yo
|
|
6596
|
+
},
|
|
6597
|
+
{
|
|
6598
|
+
test: Fo,
|
|
6599
|
+
print: Eo
|
|
6600
|
+
}
|
|
6601
|
+
].map(({ test: e, print: t }) => ({
|
|
6602
|
+
test: e,
|
|
6603
|
+
print: Rc(t)
|
|
6604
|
+
}));
|
|
6605
|
+
Co = vc;
|
|
6606
|
+
Gc = /\*\/$/, Wc = /^\/\*\*?/, go = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/, qc = /(^|\s+)\/\/([^\n\r]*)/g, Ao = /^(\r?\n)+/, Uc = /(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g, To = /(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g, Yc = /(\r?\n|^) *\* ?/g, ho = [];
|
|
6607
|
+
ko = "format";
|
|
6608
|
+
Io = Hc;
|
|
6609
|
+
Fs = /* @__PURE__ */ new WeakMap();
|
|
6610
|
+
Oo = $c;
|
|
6611
|
+
Qc = k([
|
|
6612
|
+
"BlockStatement",
|
|
6613
|
+
"BreakStatement",
|
|
6614
|
+
"ComponentDeclaration",
|
|
6615
|
+
"ClassBody",
|
|
6616
|
+
"ClassDeclaration",
|
|
6617
|
+
"ClassMethod",
|
|
6618
|
+
"ClassProperty",
|
|
6619
|
+
"PropertyDefinition",
|
|
6620
|
+
"ClassPrivateProperty",
|
|
6621
|
+
"ContinueStatement",
|
|
6622
|
+
"DebuggerStatement",
|
|
6623
|
+
"DeclareComponent",
|
|
6624
|
+
"DeclareClass",
|
|
6625
|
+
"DeclareExportAllDeclaration",
|
|
6626
|
+
"DeclareExportDeclaration",
|
|
6627
|
+
"DeclareFunction",
|
|
6628
|
+
"DeclareHook",
|
|
6629
|
+
"DeclareInterface",
|
|
6630
|
+
"DeclareModule",
|
|
6631
|
+
"DeclareModuleExports",
|
|
6632
|
+
"DeclareNamespace",
|
|
6633
|
+
"DeclareVariable",
|
|
6634
|
+
"DeclareEnum",
|
|
6635
|
+
"DoWhileStatement",
|
|
6636
|
+
"EnumDeclaration",
|
|
6637
|
+
"ExportAllDeclaration",
|
|
6638
|
+
"ExportDefaultDeclaration",
|
|
6639
|
+
"ExportNamedDeclaration",
|
|
6640
|
+
"ExpressionStatement",
|
|
6641
|
+
"ForInStatement",
|
|
6642
|
+
"ForOfStatement",
|
|
6643
|
+
"ForStatement",
|
|
6644
|
+
"FunctionDeclaration",
|
|
6645
|
+
"HookDeclaration",
|
|
6646
|
+
"IfStatement",
|
|
6647
|
+
"ImportDeclaration",
|
|
6648
|
+
"InterfaceDeclaration",
|
|
6649
|
+
"LabeledStatement",
|
|
6650
|
+
"MethodDefinition",
|
|
6651
|
+
"ReturnStatement",
|
|
6652
|
+
"SwitchStatement",
|
|
6653
|
+
"ThrowStatement",
|
|
6654
|
+
"TryStatement",
|
|
6655
|
+
"TSDeclareFunction",
|
|
6656
|
+
"TSEnumDeclaration",
|
|
6657
|
+
"TSImportEqualsDeclaration",
|
|
6658
|
+
"TSInterfaceDeclaration",
|
|
6659
|
+
"TSModuleDeclaration",
|
|
6660
|
+
"TSNamespaceExportDeclaration",
|
|
6661
|
+
"TypeAlias",
|
|
6662
|
+
"VariableDeclaration",
|
|
6663
|
+
"WhileStatement",
|
|
6664
|
+
"WithStatement"
|
|
6665
|
+
]);
|
|
6666
|
+
ge = ds;
|
|
6667
|
+
Mo = nl;
|
|
6668
|
+
sl = () => !0;
|
|
6669
|
+
Et = class extends Error {
|
|
6670
|
+
name = "ArgExpansionBailout";
|
|
6671
|
+
};
|
|
6672
|
+
pl = k([
|
|
6673
|
+
"DeclareClass",
|
|
6674
|
+
"DeclareComponent",
|
|
6675
|
+
"DeclareFunction",
|
|
6676
|
+
"DeclareHook",
|
|
6677
|
+
"DeclareVariable",
|
|
6678
|
+
"DeclareExportDeclaration",
|
|
6679
|
+
"DeclareExportAllDeclaration",
|
|
6680
|
+
"DeclareOpaqueType",
|
|
6681
|
+
"DeclareTypeAlias",
|
|
6682
|
+
"DeclareEnum",
|
|
6683
|
+
"DeclareInterface"
|
|
6684
|
+
]);
|
|
6685
|
+
cl = k([
|
|
6686
|
+
"TSAbstractMethodDefinition",
|
|
6687
|
+
"TSAbstractPropertyDefinition",
|
|
6688
|
+
"TSAbstractAccessorProperty"
|
|
6689
|
+
]);
|
|
6690
|
+
ll = /^[\$A-Z_a-z\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0-\u08B4\u08B6-\u08BD\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\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\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\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\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\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][\$0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/, ml = (e) => ll.test(e), vo = ml;
|
|
6691
|
+
dt = Dl;
|
|
6692
|
+
fl = 0;
|
|
6693
|
+
Ro = (e) => e.type === "BinaryExpression" && e.operator === "|";
|
|
6694
|
+
Fl = k([
|
|
6695
|
+
"VoidTypeAnnotation",
|
|
6696
|
+
"TSVoidKeyword",
|
|
6697
|
+
"NullLiteralTypeAnnotation",
|
|
6698
|
+
"TSNullKeyword"
|
|
6699
|
+
]), dl = k([
|
|
6700
|
+
"ObjectTypeAnnotation",
|
|
6701
|
+
"TSTypeLiteral",
|
|
6702
|
+
"GenericTypeAnnotation",
|
|
6703
|
+
"TSTypeReference"
|
|
6704
|
+
]);
|
|
6705
|
+
Cl = /* @__PURE__ */ new WeakSet();
|
|
6706
|
+
Go = (e) => e.match((t) => t.type === "TSTypeAnnotation", (t, r) => (r === "returnType" || r === "typeAnnotation") && (t.type === "TSFunctionType" || t.type === "TSConstructorType")) ? "=>" : e.match((t) => t.type === "TSTypeAnnotation", (t, r) => r === "typeAnnotation" && (t.type === "TSJSDocNullableType" || t.type === "TSJSDocNonNullableType" || t.type === "TSTypePredicate")) || e.match((t) => t.type === "TypeAnnotation", (t, r) => r === "typeAnnotation" && t.type === "Identifier", (t, r) => r === "id" && t.type === "DeclareFunction") || e.match((t) => t.type === "TypeAnnotation", (t, r) => r === "typeAnnotation" && t.type === "Identifier", (t, r) => r === "id" && t.type === "DeclareHook") || e.match((t) => t.type === "TypeAnnotation", (t, r) => r === "bound" && t.type === "TypeParameter" && t.usesExtendsBound) ? "" : ":";
|
|
6707
|
+
hr = gl;
|
|
6708
|
+
kl = (e) => ((e.type === "ChainExpression" || e.type === "TSNonNullExpression") && (e = e.expression), M(e) && le(e).length > 0);
|
|
6709
|
+
Vo = Xo;
|
|
6710
|
+
Ll = [
|
|
6711
|
+
"require",
|
|
6712
|
+
"require.resolve",
|
|
6713
|
+
"require.resolve.paths",
|
|
6714
|
+
"import.meta.resolve"
|
|
6715
|
+
];
|
|
6716
|
+
cn = /* @__PURE__ */ new WeakMap();
|
|
6717
|
+
Yl = ({ node: e, key: t, parent: r }) => t === "value" && e.type === "FunctionExpression" && (r.type === "ObjectMethod" || r.type === "ClassMethod" || r.type === "ClassPrivateMethod" || r.type === "MethodDefinition" || r.type === "TSAbstractMethodDefinition" || r.type === "TSDeclareMethod" || r.type === "Property" && mt(r));
|
|
6718
|
+
bs = ({ node: e, parent: t }) => e.type === "ExpressionStatement" && t.type === "Program" && t.body.length === 1 && (Array.isArray(t.directives) && t.directives.length === 0 || !t.directives);
|
|
6719
|
+
Ls = class extends Error {
|
|
6720
|
+
name = "UnexpectedNodeError";
|
|
6721
|
+
constructor(t, r, n = "type") {
|
|
6722
|
+
super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`), this.node = t;
|
|
6723
|
+
}
|
|
6724
|
+
}, Qe = Ls;
|
|
6725
|
+
ws = class {
|
|
6726
|
+
#e;
|
|
6727
|
+
constructor(t) {
|
|
6728
|
+
this.#e = new Set(t);
|
|
6729
|
+
}
|
|
6730
|
+
getLeadingWhitespaceCount(t) {
|
|
6731
|
+
let r = this.#e, n = 0;
|
|
6732
|
+
for (let s = 0; s < t.length && r.has(t.charAt(s)); s++) n++;
|
|
6733
|
+
return n;
|
|
6734
|
+
}
|
|
6735
|
+
getTrailingWhitespaceCount(t) {
|
|
6736
|
+
let r = this.#e, n = 0;
|
|
6737
|
+
for (let s = t.length - 1; s >= 0 && r.has(t.charAt(s)); s--) n++;
|
|
6738
|
+
return n;
|
|
6739
|
+
}
|
|
6740
|
+
getLeadingWhitespace(t) {
|
|
6741
|
+
let r = this.getLeadingWhitespaceCount(t);
|
|
6742
|
+
return t.slice(0, r);
|
|
6743
|
+
}
|
|
6744
|
+
getTrailingWhitespace(t) {
|
|
6745
|
+
let r = this.getTrailingWhitespaceCount(t);
|
|
6746
|
+
return t.slice(t.length - r);
|
|
6747
|
+
}
|
|
6748
|
+
hasLeadingWhitespace(t) {
|
|
6749
|
+
return this.#e.has(t.charAt(0));
|
|
6750
|
+
}
|
|
6751
|
+
hasTrailingWhitespace(t) {
|
|
6752
|
+
return this.#e.has(N(0, t, -1));
|
|
6753
|
+
}
|
|
6754
|
+
trimStart(t) {
|
|
6755
|
+
let r = this.getLeadingWhitespaceCount(t);
|
|
6756
|
+
return t.slice(r);
|
|
6757
|
+
}
|
|
6758
|
+
trimEnd(t) {
|
|
6759
|
+
let r = this.getTrailingWhitespaceCount(t);
|
|
6760
|
+
return t.slice(0, t.length - r);
|
|
6761
|
+
}
|
|
6762
|
+
trim(t) {
|
|
6763
|
+
return this.trimEnd(this.trimStart(t));
|
|
6764
|
+
}
|
|
6765
|
+
split(t, r = !1) {
|
|
6766
|
+
let n = `[${Os([...this.#e].join(""))}]+`, s = new RegExp(r ? `(${n})` : n, "u");
|
|
6767
|
+
return t.split(s);
|
|
6768
|
+
}
|
|
6769
|
+
hasWhitespaceCharacter(t) {
|
|
6770
|
+
let r = this.#e;
|
|
6771
|
+
return Array.prototype.some.call(t, (n) => r.has(n));
|
|
6772
|
+
}
|
|
6773
|
+
hasNonWhitespaceCharacter(t) {
|
|
6774
|
+
let r = this.#e;
|
|
6775
|
+
return Array.prototype.some.call(t, (n) => !r.has(n));
|
|
6776
|
+
}
|
|
6777
|
+
isWhitespaceOnly(t) {
|
|
6778
|
+
let r = this.#e;
|
|
6779
|
+
return Array.prototype.every.call(t, (n) => r.has(n));
|
|
6780
|
+
}
|
|
6781
|
+
#t(t) {
|
|
6782
|
+
let r = Number.POSITIVE_INFINITY;
|
|
6783
|
+
for (let n of t.split(`
|
|
6784
|
+
`)) {
|
|
6785
|
+
if (n.length === 0) continue;
|
|
6786
|
+
let s = this.getLeadingWhitespaceCount(n);
|
|
6787
|
+
if (s === 0) return 0;
|
|
6788
|
+
n.length !== s && s < r && (r = s);
|
|
7146
6789
|
}
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
6790
|
+
return r === Number.POSITIVE_INFINITY ? 0 : r;
|
|
6791
|
+
}
|
|
6792
|
+
dedentString(t) {
|
|
6793
|
+
let r = this.#t(t);
|
|
6794
|
+
return r === 0 ? t : t.split(`
|
|
6795
|
+
`).map((n) => n.slice(r)).join(`
|
|
6796
|
+
`);
|
|
6797
|
+
}
|
|
6798
|
+
};
|
|
6799
|
+
yn = new ws(`
|
|
6800
|
+
\r `), _s = (e) => e === "" || e === A || e === E || e === f;
|
|
6801
|
+
Kl = k([
|
|
6802
|
+
"ArrayExpression",
|
|
6803
|
+
"JSXAttribute",
|
|
6804
|
+
"JSXElement",
|
|
6805
|
+
"JSXExpressionContainer",
|
|
6806
|
+
"JSXFragment",
|
|
6807
|
+
"ExpressionStatement",
|
|
6808
|
+
"NewExpression",
|
|
6809
|
+
"CallExpression",
|
|
6810
|
+
"OptionalCallExpression",
|
|
6811
|
+
"ConditionalExpression",
|
|
6812
|
+
"JsExpressionRoot",
|
|
6813
|
+
"MatchExpressionCase"
|
|
6814
|
+
]);
|
|
6815
|
+
nr = lm;
|
|
6816
|
+
Dm = k([
|
|
6817
|
+
"CallExpression",
|
|
6818
|
+
"OptionalCallExpression",
|
|
6819
|
+
"AssignmentExpression"
|
|
6820
|
+
]);
|
|
6821
|
+
Ns = /* @__PURE__ */ new WeakMap();
|
|
6822
|
+
ym = (e) => e.type === "SequenceExpression";
|
|
6823
|
+
Am = Array.prototype.findLast ?? function(e) {
|
|
6824
|
+
for (let t = this.length - 1; t >= 0; t--) {
|
|
6825
|
+
let r = this[t];
|
|
6826
|
+
if (e(r, t, this)) return r;
|
|
6827
|
+
}
|
|
6828
|
+
}, xu = Wt("findLast", function() {
|
|
6829
|
+
if (Array.isArray(this)) return Am;
|
|
6830
|
+
});
|
|
6831
|
+
gu = gm;
|
|
6832
|
+
hu = k([
|
|
6833
|
+
"ClassProperty",
|
|
6834
|
+
"PropertyDefinition",
|
|
6835
|
+
"ClassPrivateProperty",
|
|
6836
|
+
"ClassAccessorProperty",
|
|
6837
|
+
"AccessorProperty",
|
|
6838
|
+
"TSAbstractPropertyDefinition",
|
|
6839
|
+
"TSAbstractAccessorProperty"
|
|
6840
|
+
]), Bu = (e) => {
|
|
6841
|
+
if (e.computed || e.typeAnnotation) return !1;
|
|
6842
|
+
let { type: t, name: r } = e.key;
|
|
6843
|
+
return t === "Identifier" && (r === "static" || r === "get" || r === "set");
|
|
6844
|
+
};
|
|
6845
|
+
Bm = k(["TSPropertySignature"]);
|
|
6846
|
+
bm = gu("heritageGroup"), Pm = k([
|
|
6847
|
+
"TSInterfaceDeclaration",
|
|
6848
|
+
"DeclareInterface",
|
|
6849
|
+
"InterfaceDeclaration",
|
|
6850
|
+
"InterfaceTypeAnnotation"
|
|
6851
|
+
]);
|
|
6852
|
+
js = /* @__PURE__ */ new WeakMap();
|
|
6853
|
+
Om = k([
|
|
6854
|
+
"TSAsExpression",
|
|
6855
|
+
"TSTypeAssertion",
|
|
6856
|
+
"TSNonNullExpression",
|
|
6857
|
+
"TSInstantiationExpression",
|
|
6858
|
+
"TSSatisfiesExpression"
|
|
6859
|
+
]);
|
|
6860
|
+
Iu = k(["FunctionExpression", "ArrowFunctionExpression"]);
|
|
6861
|
+
Mm = "use strict";
|
|
6862
|
+
Jt = Nm;
|
|
6863
|
+
ju = k([
|
|
6864
|
+
"ImportDeclaration",
|
|
6865
|
+
"ExportDefaultDeclaration",
|
|
6866
|
+
"ExportNamedDeclaration",
|
|
6867
|
+
"ExportAllDeclaration",
|
|
6868
|
+
"DeclareExportDeclaration",
|
|
6869
|
+
"DeclareExportAllDeclaration"
|
|
6870
|
+
]), jm = k([
|
|
6871
|
+
"EnumBooleanBody",
|
|
6872
|
+
"EnumNumberBody",
|
|
6873
|
+
"EnumBigIntBody",
|
|
6874
|
+
"EnumStringBody",
|
|
6875
|
+
"EnumSymbolBody"
|
|
6876
|
+
]);
|
|
6877
|
+
Ru = (e) => e.type === "ExportDefaultDeclaration" || e.type === "DeclareExportDeclaration" && e.default;
|
|
6878
|
+
Rm = k([
|
|
6879
|
+
"ClassDeclaration",
|
|
6880
|
+
"ComponentDeclaration",
|
|
6881
|
+
"FunctionDeclaration",
|
|
6882
|
+
"TSInterfaceDeclaration",
|
|
6883
|
+
"DeclareClass",
|
|
6884
|
+
"DeclareComponent",
|
|
6885
|
+
"DeclareFunction",
|
|
6886
|
+
"DeclareHook",
|
|
6887
|
+
"HookDeclaration",
|
|
6888
|
+
"TSDeclareFunction",
|
|
6889
|
+
"EnumDeclaration"
|
|
6890
|
+
]);
|
|
6891
|
+
qm = (e) => {
|
|
6892
|
+
let { attributes: t } = e;
|
|
6893
|
+
if (t.length !== 1) return !1;
|
|
6894
|
+
let [r] = t, { type: n, key: s, value: i } = r;
|
|
6895
|
+
return n === "ImportAttribute" && (s.type === "Identifier" && s.name === "type" || V(s) && s.value === "type") && V(i) && !T(r) && !T(s) && !T(i);
|
|
6896
|
+
};
|
|
6897
|
+
Xm = new Map([
|
|
6898
|
+
["AssignmentExpression", "right"],
|
|
6899
|
+
["VariableDeclarator", "init"],
|
|
6900
|
+
["ReturnStatement", "argument"],
|
|
6901
|
+
["ThrowStatement", "argument"],
|
|
6902
|
+
["UnaryExpression", "argument"],
|
|
6903
|
+
["YieldExpression", "argument"],
|
|
6904
|
+
["AwaitExpression", "argument"]
|
|
6905
|
+
]);
|
|
6906
|
+
Qm = new Map([
|
|
6907
|
+
["AssignmentExpression", "right"],
|
|
6908
|
+
["VariableDeclarator", "init"],
|
|
6909
|
+
["ReturnStatement", "argument"],
|
|
6910
|
+
["ThrowStatement", "argument"],
|
|
6911
|
+
["UnaryExpression", "argument"],
|
|
6912
|
+
["YieldExpression", "argument"],
|
|
6913
|
+
["AwaitExpression", "argument"]
|
|
6914
|
+
]);
|
|
6915
|
+
Ws = (e) => [
|
|
6916
|
+
P("("),
|
|
6917
|
+
m([f, e]),
|
|
6918
|
+
f,
|
|
6919
|
+
P(")")
|
|
6920
|
+
];
|
|
6921
|
+
Zm = k(["SatisfiesExpression", "TSSatisfiesExpression"]);
|
|
6922
|
+
ua = k([
|
|
6923
|
+
"MatchWildcardPattern",
|
|
6924
|
+
"MatchLiteralPattern",
|
|
6925
|
+
"MatchUnaryPattern",
|
|
6926
|
+
"MatchIdentifierPattern"
|
|
6927
|
+
]);
|
|
6928
|
+
lD = k([
|
|
6929
|
+
"ClassMethod",
|
|
6930
|
+
"ClassPrivateMethod",
|
|
6931
|
+
"ClassProperty",
|
|
6932
|
+
"ClassAccessorProperty",
|
|
6933
|
+
"AccessorProperty",
|
|
6934
|
+
"TSAbstractAccessorProperty",
|
|
6935
|
+
"PropertyDefinition",
|
|
6936
|
+
"TSAbstractPropertyDefinition",
|
|
6937
|
+
"ClassPrivateProperty",
|
|
6938
|
+
"MethodDefinition",
|
|
6939
|
+
"TSAbstractMethodDefinition",
|
|
6940
|
+
"TSDeclareMethod"
|
|
6941
|
+
]);
|
|
6942
|
+
Ys = mD;
|
|
6943
|
+
DD = { experimental_avoidAstMutation: !0 };
|
|
6944
|
+
ya = [
|
|
6945
|
+
{
|
|
6946
|
+
name: "JSON.stringify",
|
|
6947
|
+
type: "data",
|
|
6948
|
+
aceMode: "json",
|
|
6949
|
+
extensions: [".importmap"],
|
|
6950
|
+
filenames: [
|
|
6951
|
+
"package.json",
|
|
6952
|
+
"package-lock.json",
|
|
6953
|
+
"composer.json"
|
|
6954
|
+
],
|
|
6955
|
+
tmScope: "source.json",
|
|
6956
|
+
aliases: [
|
|
6957
|
+
"geojson",
|
|
6958
|
+
"jsonl",
|
|
6959
|
+
"sarif",
|
|
6960
|
+
"topojson"
|
|
6961
|
+
],
|
|
6962
|
+
codemirrorMode: "javascript",
|
|
6963
|
+
codemirrorMimeType: "application/json",
|
|
6964
|
+
parsers: ["json-stringify"],
|
|
6965
|
+
vscodeLanguageIds: ["json"],
|
|
6966
|
+
linguistLanguageId: 174
|
|
6967
|
+
},
|
|
6968
|
+
{
|
|
6969
|
+
name: "JSON",
|
|
6970
|
+
type: "data",
|
|
6971
|
+
aceMode: "json",
|
|
6972
|
+
extensions: [
|
|
6973
|
+
".json",
|
|
6974
|
+
".4DForm",
|
|
6975
|
+
".4DProject",
|
|
6976
|
+
".avsc",
|
|
6977
|
+
".geojson",
|
|
6978
|
+
".gltf",
|
|
6979
|
+
".har",
|
|
6980
|
+
".ice",
|
|
6981
|
+
".JSON-tmLanguage",
|
|
6982
|
+
".json.example",
|
|
6983
|
+
".mcmeta",
|
|
6984
|
+
".sarif",
|
|
6985
|
+
".tact",
|
|
6986
|
+
".tfstate",
|
|
6987
|
+
".tfstate.backup",
|
|
6988
|
+
".topojson",
|
|
6989
|
+
".webapp",
|
|
6990
|
+
".webmanifest",
|
|
6991
|
+
".yy",
|
|
6992
|
+
".yyp"
|
|
6993
|
+
],
|
|
6994
|
+
filenames: [
|
|
6995
|
+
".all-contributorsrc",
|
|
6996
|
+
".arcconfig",
|
|
6997
|
+
".auto-changelog",
|
|
6998
|
+
".c8rc",
|
|
6999
|
+
".htmlhintrc",
|
|
7000
|
+
".imgbotconfig",
|
|
7001
|
+
".nycrc",
|
|
7002
|
+
".tern-config",
|
|
7003
|
+
".tern-project",
|
|
7004
|
+
".watchmanconfig",
|
|
7005
|
+
".babelrc",
|
|
7006
|
+
".jscsrc",
|
|
7007
|
+
".jshintrc",
|
|
7008
|
+
".jslintrc",
|
|
7009
|
+
".swcrc"
|
|
7010
|
+
],
|
|
7011
|
+
tmScope: "source.json",
|
|
7012
|
+
aliases: [
|
|
7013
|
+
"geojson",
|
|
7014
|
+
"jsonl",
|
|
7015
|
+
"sarif",
|
|
7016
|
+
"topojson"
|
|
7017
|
+
],
|
|
7018
|
+
codemirrorMode: "javascript",
|
|
7019
|
+
codemirrorMimeType: "application/json",
|
|
7020
|
+
parsers: ["json"],
|
|
7021
|
+
vscodeLanguageIds: ["json"],
|
|
7022
|
+
linguistLanguageId: 174
|
|
7023
|
+
},
|
|
7024
|
+
{
|
|
7025
|
+
name: "JSON with Comments",
|
|
7026
|
+
type: "data",
|
|
7027
|
+
aceMode: "javascript",
|
|
7028
|
+
extensions: [
|
|
7029
|
+
".jsonc",
|
|
7030
|
+
".code-snippets",
|
|
7031
|
+
".code-workspace",
|
|
7032
|
+
".sublime-build",
|
|
7033
|
+
".sublime-color-scheme",
|
|
7034
|
+
".sublime-commands",
|
|
7035
|
+
".sublime-completions",
|
|
7036
|
+
".sublime-keymap",
|
|
7037
|
+
".sublime-macro",
|
|
7038
|
+
".sublime-menu",
|
|
7039
|
+
".sublime-mousemap",
|
|
7040
|
+
".sublime-project",
|
|
7041
|
+
".sublime-settings",
|
|
7042
|
+
".sublime-theme",
|
|
7043
|
+
".sublime-workspace",
|
|
7044
|
+
".sublime_metrics",
|
|
7045
|
+
".sublime_session"
|
|
7046
|
+
],
|
|
7047
|
+
filenames: [],
|
|
7048
|
+
tmScope: "source.json.comments",
|
|
7049
|
+
aliases: ["jsonc"],
|
|
7050
|
+
codemirrorMode: "javascript",
|
|
7051
|
+
codemirrorMimeType: "text/javascript",
|
|
7052
|
+
group: "JSON",
|
|
7053
|
+
parsers: ["jsonc"],
|
|
7054
|
+
vscodeLanguageIds: ["jsonc"],
|
|
7055
|
+
linguistLanguageId: 423
|
|
7056
|
+
},
|
|
7057
|
+
{
|
|
7058
|
+
name: "JSON5",
|
|
7059
|
+
type: "data",
|
|
7060
|
+
aceMode: "json5",
|
|
7061
|
+
extensions: [".json5"],
|
|
7062
|
+
tmScope: "source.js",
|
|
7063
|
+
codemirrorMode: "javascript",
|
|
7064
|
+
codemirrorMimeType: "application/json",
|
|
7065
|
+
parsers: ["json5"],
|
|
7066
|
+
vscodeLanguageIds: ["json5"],
|
|
7067
|
+
linguistLanguageId: 175
|
|
7068
|
+
}
|
|
7069
|
+
];
|
|
7070
|
+
Xs = {};
|
|
7071
|
+
jn(Xs, {
|
|
7072
|
+
getVisitorKeys: () => Fa,
|
|
7073
|
+
massageAstNode: () => Ca,
|
|
7074
|
+
print: () => yD
|
|
7075
|
+
});
|
|
7076
|
+
ar = [[]];
|
|
7077
|
+
Fa = _r({
|
|
7078
|
+
JsonRoot: ["node"],
|
|
7079
|
+
ArrayExpression: ["elements"],
|
|
7080
|
+
ObjectExpression: ["properties"],
|
|
7081
|
+
ObjectProperty: ["key", "value"],
|
|
7082
|
+
UnaryExpression: ["argument"],
|
|
7083
|
+
NullLiteral: ar[0],
|
|
7084
|
+
BooleanLiteral: ar[0],
|
|
7085
|
+
StringLiteral: ar[0],
|
|
7086
|
+
NumericLiteral: ar[0],
|
|
7087
|
+
Identifier: ar[0],
|
|
7088
|
+
TemplateLiteral: ["quasis"],
|
|
7089
|
+
TemplateElement: ar[0]
|
|
7090
|
+
});
|
|
7091
|
+
ED = new Set([
|
|
7092
|
+
"start",
|
|
7093
|
+
"end",
|
|
7094
|
+
"extra",
|
|
7095
|
+
"loc",
|
|
7096
|
+
"comments",
|
|
7097
|
+
"leadingComments",
|
|
7098
|
+
"trailingComments",
|
|
7099
|
+
"innerComments",
|
|
7100
|
+
"errors",
|
|
7101
|
+
"range",
|
|
7102
|
+
"tokens"
|
|
7103
|
+
]);
|
|
7104
|
+
Ca.ignoredProperties = ED;
|
|
7105
|
+
pr = {
|
|
7106
|
+
bracketSpacing: {
|
|
7107
|
+
category: "Common",
|
|
7108
|
+
type: "boolean",
|
|
7109
|
+
default: !0,
|
|
7110
|
+
description: "Print spaces between brackets.",
|
|
7111
|
+
oppositeDescription: "Do not print spaces between brackets."
|
|
7112
|
+
},
|
|
7113
|
+
objectWrap: {
|
|
7114
|
+
category: "Common",
|
|
7115
|
+
type: "choice",
|
|
7116
|
+
default: "preserve",
|
|
7117
|
+
description: "How to wrap object literals.",
|
|
7118
|
+
choices: [{
|
|
7234
7119
|
value: "preserve",
|
|
7235
|
-
description: "
|
|
7236
|
-
}
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
}
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
}
|
|
7265
|
-
|
|
7120
|
+
description: "Keep as multi-line, if there is a newline between the opening brace and first property."
|
|
7121
|
+
}, {
|
|
7122
|
+
value: "collapse",
|
|
7123
|
+
description: "Fit to a single line when possible."
|
|
7124
|
+
}]
|
|
7125
|
+
},
|
|
7126
|
+
singleQuote: {
|
|
7127
|
+
category: "Common",
|
|
7128
|
+
type: "boolean",
|
|
7129
|
+
default: !1,
|
|
7130
|
+
description: "Use single quotes instead of double quotes."
|
|
7131
|
+
},
|
|
7132
|
+
proseWrap: {
|
|
7133
|
+
category: "Common",
|
|
7134
|
+
type: "choice",
|
|
7135
|
+
default: "preserve",
|
|
7136
|
+
description: "How to wrap prose.",
|
|
7137
|
+
choices: [
|
|
7138
|
+
{
|
|
7139
|
+
value: "always",
|
|
7140
|
+
description: "Wrap prose if it exceeds the print width."
|
|
7141
|
+
},
|
|
7142
|
+
{
|
|
7143
|
+
value: "never",
|
|
7144
|
+
description: "Do not wrap prose."
|
|
7145
|
+
},
|
|
7146
|
+
{
|
|
7147
|
+
value: "preserve",
|
|
7148
|
+
description: "Wrap prose as-is."
|
|
7149
|
+
}
|
|
7150
|
+
]
|
|
7151
|
+
},
|
|
7152
|
+
bracketSameLine: {
|
|
7153
|
+
category: "Common",
|
|
7154
|
+
type: "boolean",
|
|
7155
|
+
default: !1,
|
|
7156
|
+
description: "Put > of opening tags on the last line instead of on a new line."
|
|
7157
|
+
},
|
|
7158
|
+
singleAttributePerLine: {
|
|
7159
|
+
category: "Common",
|
|
7160
|
+
type: "boolean",
|
|
7161
|
+
default: !1,
|
|
7162
|
+
description: "Enforce single attribute per line in HTML, Vue and JSX."
|
|
7163
|
+
}
|
|
7164
|
+
};
|
|
7165
|
+
St = "JavaScript", Aa = {
|
|
7166
|
+
arrowParens: {
|
|
7167
|
+
category: St,
|
|
7168
|
+
type: "choice",
|
|
7169
|
+
default: "always",
|
|
7170
|
+
description: "Include parentheses around a sole arrow function parameter.",
|
|
7171
|
+
choices: [{
|
|
7172
|
+
value: "always",
|
|
7173
|
+
description: "Always include parens. Example: `(x) => x`"
|
|
7174
|
+
}, {
|
|
7175
|
+
value: "avoid",
|
|
7176
|
+
description: "Omit parens when possible. Example: `x => x`"
|
|
7177
|
+
}]
|
|
7178
|
+
},
|
|
7179
|
+
bracketSameLine: pr.bracketSameLine,
|
|
7180
|
+
objectWrap: pr.objectWrap,
|
|
7181
|
+
bracketSpacing: pr.bracketSpacing,
|
|
7182
|
+
jsxBracketSameLine: {
|
|
7183
|
+
category: St,
|
|
7184
|
+
type: "boolean",
|
|
7185
|
+
description: "Put > on the last line instead of at a new line.",
|
|
7186
|
+
deprecated: "2.4.0"
|
|
7187
|
+
},
|
|
7188
|
+
semi: {
|
|
7189
|
+
category: St,
|
|
7190
|
+
type: "boolean",
|
|
7191
|
+
default: !0,
|
|
7192
|
+
description: "Print semicolons.",
|
|
7193
|
+
oppositeDescription: "Do not print semicolons, except at the beginning of lines which may need them."
|
|
7194
|
+
},
|
|
7195
|
+
experimentalOperatorPosition: {
|
|
7196
|
+
category: St,
|
|
7197
|
+
type: "choice",
|
|
7198
|
+
default: "end",
|
|
7199
|
+
description: "Where to print operators when binary expressions wrap lines.",
|
|
7200
|
+
choices: [{
|
|
7201
|
+
value: "start",
|
|
7202
|
+
description: "Print operators at the start of new lines."
|
|
7203
|
+
}, {
|
|
7204
|
+
value: "end",
|
|
7205
|
+
description: "Print operators at the end of previous lines."
|
|
7206
|
+
}]
|
|
7207
|
+
},
|
|
7208
|
+
experimentalTernaries: {
|
|
7209
|
+
category: St,
|
|
7210
|
+
type: "boolean",
|
|
7211
|
+
default: !1,
|
|
7212
|
+
description: "Use curious ternaries, with the question mark after the condition.",
|
|
7213
|
+
oppositeDescription: "Default behavior of ternaries; keep question marks on the same line as the consequent."
|
|
7214
|
+
},
|
|
7215
|
+
singleQuote: pr.singleQuote,
|
|
7216
|
+
jsxSingleQuote: {
|
|
7217
|
+
category: St,
|
|
7218
|
+
type: "boolean",
|
|
7219
|
+
default: !1,
|
|
7220
|
+
description: "Use single quotes in JSX."
|
|
7221
|
+
},
|
|
7222
|
+
quoteProps: {
|
|
7223
|
+
category: St,
|
|
7224
|
+
type: "choice",
|
|
7225
|
+
default: "as-needed",
|
|
7226
|
+
description: "Change when properties in objects are quoted.",
|
|
7227
|
+
choices: [
|
|
7228
|
+
{
|
|
7229
|
+
value: "as-needed",
|
|
7230
|
+
description: "Only add quotes around object properties where required."
|
|
7231
|
+
},
|
|
7232
|
+
{
|
|
7233
|
+
value: "consistent",
|
|
7234
|
+
description: "If at least one property in an object requires quotes, quote all properties."
|
|
7235
|
+
},
|
|
7236
|
+
{
|
|
7237
|
+
value: "preserve",
|
|
7238
|
+
description: "Respect the input use of quotes in object properties."
|
|
7239
|
+
}
|
|
7240
|
+
]
|
|
7241
|
+
},
|
|
7242
|
+
trailingComma: {
|
|
7243
|
+
category: St,
|
|
7244
|
+
type: "choice",
|
|
7245
|
+
default: "all",
|
|
7246
|
+
description: "Print trailing commas wherever possible when multi-line.",
|
|
7247
|
+
choices: [
|
|
7248
|
+
{
|
|
7249
|
+
value: "all",
|
|
7250
|
+
description: "Trailing commas wherever possible (including function arguments)."
|
|
7251
|
+
},
|
|
7252
|
+
{
|
|
7253
|
+
value: "es5",
|
|
7254
|
+
description: "Trailing commas where valid in ES5 (objects, arrays, etc.)"
|
|
7255
|
+
},
|
|
7256
|
+
{
|
|
7257
|
+
value: "none",
|
|
7258
|
+
description: "No trailing commas."
|
|
7259
|
+
}
|
|
7260
|
+
]
|
|
7261
|
+
},
|
|
7262
|
+
singleAttributePerLine: pr.singleAttributePerLine
|
|
7263
|
+
};
|
|
7264
|
+
dD = {
|
|
7265
|
+
estree: Hs,
|
|
7266
|
+
"estree-json": Xs
|
|
7267
|
+
}, CD = [...Qs, ...ya];
|
|
7268
|
+
}))();
|
|
7266
7269
|
export { Ta as default, CD as languages, Aa as options, dD as printers };
|