@voidzero-dev/vite-plus-core 0.1.22 → 0.1.23

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.
Files changed (93) hide show
  1. package/LICENSE +35 -24
  2. package/dist/pluginutils/filter/index.d.mts +194 -0
  3. package/dist/pluginutils/filter/index.mjs +2 -0
  4. package/dist/pluginutils/filter-B_mD-HGz.mjs +323 -0
  5. package/dist/pluginutils/index.d.mts +2 -0
  6. package/dist/pluginutils/index.mjs +2 -0
  7. package/dist/rolldown/cli.mjs +7 -7
  8. package/dist/rolldown/config.d.mts +1 -1
  9. package/dist/rolldown/config.mjs +3 -3
  10. package/dist/rolldown/experimental-index.d.mts +21 -4
  11. package/dist/rolldown/experimental-index.mjs +14 -9
  12. package/dist/rolldown/filter-index.d.mts +8 -9
  13. package/dist/rolldown/filter-index.mjs +2 -8
  14. package/dist/rolldown/get-log-filter.d.mts +3 -3
  15. package/dist/rolldown/index.d.mts +4 -4
  16. package/dist/rolldown/index.mjs +5 -5
  17. package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
  18. package/dist/rolldown/parallel-plugin.d.mts +1 -1
  19. package/dist/rolldown/parse-ast-index.d.mts +1 -1
  20. package/dist/rolldown/parse-ast-index.mjs +2 -2
  21. package/dist/rolldown/plugins-index.d.mts +3 -3
  22. package/dist/rolldown/plugins-index.mjs +2 -2
  23. package/dist/rolldown/shared/{binding-zH1vcmbM.d.mts → binding-BaCZTfMx.d.mts} +32 -3
  24. package/dist/rolldown/shared/{binding-ESkOU1xr.mjs → binding-CXquf8ay.mjs} +27 -26
  25. package/dist/rolldown/shared/{bindingify-input-options-wZdDRbfo.mjs → bindingify-input-options-D2ORek5s.mjs} +14 -14
  26. package/dist/rolldown/shared/{constructors-D6i2Tbyl.mjs → constructors-BiPdtLBB.mjs} +1 -1
  27. package/dist/rolldown/shared/{constructors-D0W3rNfA.d.mts → constructors-CbNaT434.d.mts} +2 -2
  28. package/dist/rolldown/shared/{define-config-5HJ1b9vG.d.mts → define-config-3BX_X2Am.d.mts} +70 -16
  29. package/dist/rolldown/shared/{error-BrnLyQ-g.mjs → error-BuvQYXuZ.mjs} +1 -1
  30. package/dist/rolldown/shared/{get-log-filter-semyr3Lj.d.mts → get-log-filter-BpNVNJ5-.d.mts} +1 -1
  31. package/dist/rolldown/shared/{load-config-BZFgt8GH.mjs → load-config-uvbpmLwO.mjs} +1 -1
  32. package/dist/rolldown/shared/{normalize-string-or-regex-dAjLOSbp.mjs → normalize-string-or-regex-CNPF6PU9.mjs} +2 -2
  33. package/dist/rolldown/shared/{parse-DFts7Hyl.mjs → parse-1VOPJ1Lj.mjs} +2 -2
  34. package/dist/rolldown/shared/{prompt-Bm9aMQjm.mjs → prompt-DV1XbtjC.mjs} +1 -1
  35. package/dist/rolldown/shared/{resolve-tsconfig-DCdBlPeK.mjs → resolve-tsconfig-CcfxWrib.mjs} +15 -4
  36. package/dist/rolldown/shared/{rolldown-Cs2eRf4R.mjs → rolldown-BZYLlfsv.mjs} +1 -1
  37. package/dist/rolldown/shared/{rolldown-build-CNhzgsn2.mjs → rolldown-build-CgMNHFY3.mjs} +54 -65
  38. package/dist/rolldown/shared/{transform-DgZ3paSD.d.mts → transform-7xCUVrpL.d.mts} +2 -2
  39. package/dist/rolldown/shared/{watch-De_8Tgeq.mjs → watch-BX_aH1Oh.mjs} +6 -6
  40. package/dist/rolldown/utils-index.d.mts +3 -3
  41. package/dist/rolldown/utils-index.mjs +5 -5
  42. package/dist/tsdown/{build-5FURNVr0-D2dbyiC6.js → build-5FURNVr0-CsM6vj3e.js} +1046 -17
  43. package/dist/tsdown/{detect-DN3DXXYt-8gmDjZqp.js → detect-DN3DXXYt-TsZBbdhI.js} +1 -1
  44. package/dist/tsdown/{dist-DTzJRoOQ.js → dist-wWM45aJq.js} +2185 -1087
  45. package/dist/tsdown/index-types.d.ts +7 -5
  46. package/dist/tsdown/index.js +3 -4
  47. package/dist/tsdown/{main-BNUO6D3N.js → main-Cq8Is40L.js} +288 -8
  48. package/dist/tsdown/npm_cjs_chunk_range.cjs +11 -11
  49. package/dist/tsdown/npm_cjs_chunk_semver.cjs +6 -6
  50. package/dist/tsdown/npm_entry_semver_functions_coerce.cjs +2 -2
  51. package/dist/tsdown/npm_entry_semver_functions_satisfies.cjs +1 -1
  52. package/dist/tsdown/npm_entry_semver_ranges_min-version.cjs +1 -1
  53. package/dist/tsdown/{resolver-DkvdaW3s-BeVUoOo-.js → resolver-DkvdaW3s-Dz1U-gxd.js} +1 -1
  54. package/dist/tsdown/run.js +3 -4
  55. package/dist/tsdown/{tsc-Dr9kCkDm.js → tsc-Dp9emiKb.js} +3 -3
  56. package/dist/tsdown/{tsc-context-CANQEB9U.js → tsc-context-DXovbMXp.js} +2 -2
  57. package/dist/vite/client/client.mjs +61 -27
  58. package/dist/vite/node/chunks/build.js +21 -21
  59. package/dist/vite/node/chunks/dist.js +1 -1
  60. package/dist/vite/node/chunks/dist2.js +136 -110
  61. package/dist/vite/node/chunks/lib.js +1 -1
  62. package/dist/vite/node/chunks/logger.js +36 -3
  63. package/dist/vite/node/chunks/node.js +288 -181
  64. package/dist/vite/node/chunks/postcss-import.js +11 -11
  65. package/dist/vite/node/cli.js +1 -2
  66. package/dist/vite/node/index.d.ts +29 -14
  67. package/dist/vite/node/module-runner.d.ts +1 -2
  68. package/dist/vite/node/module-runner.js +19 -18
  69. package/dist/vite/types/customEvent.d.ts +1 -1
  70. package/package.json +13 -19
  71. package/dist/pluginutils/filter/composable-filters.d.ts +0 -90
  72. package/dist/pluginutils/filter/composable-filters.js +0 -256
  73. package/dist/pluginutils/filter/filter-vite-plugins.d.ts +0 -28
  74. package/dist/pluginutils/filter/filter-vite-plugins.js +0 -75
  75. package/dist/pluginutils/filter/index.d.ts +0 -3
  76. package/dist/pluginutils/filter/index.js +0 -3
  77. package/dist/pluginutils/filter/simple-filters.d.ts +0 -71
  78. package/dist/pluginutils/filter/simple-filters.js +0 -70
  79. package/dist/pluginutils/index.d.ts +0 -1
  80. package/dist/pluginutils/index.js +0 -1
  81. package/dist/pluginutils/utils.d.ts +0 -2
  82. package/dist/pluginutils/utils.js +0 -17
  83. package/dist/tsdown/debug-CLlnG64L-BkAqwHVS.js +0 -16
  84. package/dist/tsdown/dist-Cv2Z0Bi_.js +0 -1012
  85. package/dist/tsdown/filename-DQnUJlio-D7-CzKqs.js +0 -29
  86. package/dist/tsdown/node-B3Gdtau1.js +0 -268
  87. package/dist/vite/node/chunks/chunk.js +0 -35
  88. /package/dist/rolldown/shared/{define-config-DJOr6Iwt.mjs → define-config-Demdg3_4.mjs} +0 -0
  89. /package/dist/rolldown/shared/{logging-C6h4g8dA.d.mts → logging-BSNejiLS.d.mts} +0 -0
  90. /package/dist/rolldown/shared/{logs-D80CXhvg.mjs → logs-aMKUxRpj.mjs} +0 -0
  91. /package/dist/rolldown/shared/{misc-DJYbNKZX.mjs → misc-CoQm4NHO.mjs} +0 -0
  92. /package/dist/tsdown/{chunk-N93fKeF6.js → chunk-DJK8HYOj.js} +0 -0
  93. /package/dist/tsdown/{dist-JaOach5K.js → dist-CZtGyfn3.js} +0 -0
@@ -1,20 +1,18 @@
1
- import { n as __exportAll$1, r as __toESM, t as __commonJSMin } from "./chunk-N93fKeF6.js";
2
- import { C as promiseWithResolvers, D as toArray, E as slash, S as pkgExists, T as resolveRegex, _ as yellow, a as createLogger, b as matchPattern, c as globalLogger, d as bold, f as dim, g as underline, h as red, i as LogLevels, l as prettyFormat, n as V, o as generateColor, p as green, r as version, s as getNameLabel, t as H, u as blue, v as debounce, w as resolveComma, x as noop, y as importWithError } from "./main-BNUO6D3N.js";
3
- import { t as createDebug } from "./node-B3Gdtau1.js";
4
- import { d as filename_js_to_dts, i as RE_JS, n as RE_DTS, o as RE_NODE_MODULES$1, t as RE_CSS } from "./filename-DQnUJlio-D7-CzKqs.js";
5
- import { n as ee } from "./dist-Cv2Z0Bi_.js";
1
+ import { n as __exportAll$1, r as __toESM, t as __commonJSMin } from "./chunk-DJK8HYOj.js";
2
+ import { C as noop, D as resolveRegex, E as resolveComma, O as slash, S as matchPattern, T as promiseWithResolvers, _ as red, a as version, b as debounce, c as generateColor, d as prettyFormat, f as blue, h as green, i as createDebug, k as toArray, l as getNameLabel, m as dim, n as V, o as LogLevels, p as bold, s as createLogger, t as H, u as globalLogger, v as underline, w as pkgExists, x as importWithError, y as yellow } from "./main-Cq8Is40L.js";
6
3
  import module$1, { builtinModules, createRequire, isBuiltin } from "node:module";
7
4
  import process$1, { env } from "node:process";
8
5
  import readline from "node:readline";
9
6
  import { formatWithOptions, inspect, isDeepStrictEqual, promisify } from "node:util";
10
7
  import path, { dirname, isAbsolute, join, parse, resolve } from "node:path";
11
- import { VERSION, build, watch } from "@voidzero-dev/vite-plus-core/rolldown";
8
+ import { RUNTIME_MODULE_ID, VERSION, build, watch } from "@voidzero-dev/vite-plus-core/rolldown";
12
9
  import { access, chmod, cp, mkdir, mkdtemp, readFile, readdir, rm, stat, writeFile } from "node:fs/promises";
13
- import { and, id, importerId, include } from "@voidzero-dev/vite-plus-core/rolldown/filter";
10
+ import { and, exactRegex, id, importerId, include } from "@voidzero-dev/vite-plus-core/rolldown/filter";
14
11
  import re, { existsSync, readFileSync, writeFileSync } from "node:fs";
15
12
  import * as nativeFs from "fs";
16
- import { readdir as readdir$1, readdirSync, realpath, realpathSync, stat as stat$1, statSync } from "fs";
17
- import { basename, dirname as dirname$1, isAbsolute as isAbsolute$1, normalize, posix, relative, resolve as resolve$1, sep } from "path";
13
+ import Ue, { readdir as readdir$1, readdirSync, realpath, realpathSync, stat as stat$1, statSync } from "fs";
14
+ import Ie from "os";
15
+ import Se, { basename, dirname as dirname$1, isAbsolute as isAbsolute$1, normalize, posix, relative, resolve as resolve$1, sep } from "path";
18
16
  import { fileURLToPath } from "url";
19
17
  import { createRequire as createRequire$1 } from "module";
20
18
  import { tmpdir } from "node:os";
@@ -23,7 +21,7 @@ import { AsyncLocalStorage } from "node:async_hooks";
23
21
  import { Buffer } from "node:buffer";
24
22
  import { brotliCompress, gzip } from "node:zlib";
25
23
  import { importGlobPlugin } from "@voidzero-dev/vite-plus-core/rolldown/experimental";
26
- //#region ../../node_modules/.pnpm/tsdown@0.22.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.0_@tsdown+exe@0.22.0_@type_d181d85b1bafdbf27821083f8481d00c/node_modules/tsdown/dist/fs-Dd6Htx2P.mjs
24
+ //#region ../../node_modules/.pnpm/tsdown@0.22.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.0_@tsdown+exe@0.22.0_@type_e80978d33a319eb1e0c97ec71b684e94/node_modules/tsdown/dist/fs-Dd6Htx2P.mjs
27
25
  function fsExists(path) {
28
26
  return access(path).then(() => true, () => false);
29
27
  }
@@ -66,7 +64,1038 @@ function stripExtname(filePath) {
66
64
  return filePath.slice(0, -ext.length);
67
65
  }
68
66
  //#endregion
69
- //#region ../../node_modules/.pnpm/tsdown@0.22.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.0_@tsdown+exe@0.22.0_@type_d181d85b1bafdbf27821083f8481d00c/node_modules/tsdown/dist/format-CajNSstg.mjs
67
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.25.1_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_93c1f8e38767dc05c2802c79a6f0fd5e/node_modules/rolldown-plugin-dts/dist/filename-DQnUJlio.mjs
68
+ const RE_JS = /\.([cm]?)jsx?$/;
69
+ const RE_TS = /\.([cm]?)tsx?$/;
70
+ const RE_DTS = /\.d\.([cm]?)ts$/;
71
+ const RE_DTS_MAP = /\.d\.([cm]?)ts\.map$/;
72
+ const RE_NODE_MODULES$1 = /[\\/]node_modules[\\/]/;
73
+ const RE_CSS = /\.(?:css|scss|sass|less|styl|stylus)$/;
74
+ const RE_VUE = /\.vue$/;
75
+ const RE_JSON = /\.json$/;
76
+ const RE_ROLLDOWN_RUNTIME = exactRegex(RUNTIME_MODULE_ID);
77
+ function filename_js_to_dts(id) {
78
+ return id.replace(RE_JS, ".d.$1ts");
79
+ }
80
+ function filename_to_dts(id) {
81
+ return id.replace(RE_VUE, ".vue.ts").replace(RE_TS, ".d.$1ts").replace(RE_JS, ".d.$1ts").replace(RE_JSON, ".json.d.ts");
82
+ }
83
+ function filename_dts_to(id, ext) {
84
+ return id.replace(RE_DTS, `.$1${ext}`);
85
+ }
86
+ function resolveTemplateFn(fn, chunk) {
87
+ return typeof fn === "function" ? fn(chunk) : fn;
88
+ }
89
+ function replaceTemplateName(template, name) {
90
+ return template.replaceAll("[name]", name);
91
+ }
92
+ //#endregion
93
+ //#region ../../node_modules/.pnpm/resolve-pkg-maps@1.0.0/node_modules/resolve-pkg-maps/dist/index.mjs
94
+ const A = (r) => r !== null && typeof r == "object", a = (r, t) => Object.assign(/* @__PURE__ */ new Error(`[${r}]: ${t}`), { code: r }), _$1 = "ERR_INVALID_PACKAGE_CONFIG", E = "ERR_INVALID_PACKAGE_TARGET", I$1 = "ERR_PACKAGE_PATH_NOT_EXPORTED", R$1 = /^\d+$/, O = /^(\.{1,2}|node_modules)$/i, w = /\/|\\/;
95
+ var h = ((r) => (r.Export = "exports", r.Import = "imports", r))(h || {});
96
+ const f = (r, t, e, o, c) => {
97
+ if (t == null) return [];
98
+ if (typeof t == "string") {
99
+ const [n, ...i] = t.split(w);
100
+ if (n === ".." || i.some((l) => O.test(l))) throw a(E, `Invalid "${r}" target "${t}" defined in the package config`);
101
+ return [c ? t.replace(/\*/g, c) : t];
102
+ }
103
+ if (Array.isArray(t)) return t.flatMap((n) => f(r, n, e, o, c));
104
+ if (A(t)) {
105
+ for (const n of Object.keys(t)) {
106
+ if (R$1.test(n)) throw a(_$1, "Cannot contain numeric property keys");
107
+ if (n === "default" || o.includes(n)) return f(r, t[n], e, o, c);
108
+ }
109
+ return [];
110
+ }
111
+ throw a(E, `Invalid "${r}" target "${t}"`);
112
+ }, s = "*", m = (r, t) => {
113
+ const e = r.indexOf(s), o = t.indexOf(s);
114
+ return e === o ? t.length > r.length : o > e;
115
+ };
116
+ function d(r, t) {
117
+ if (!t.includes(s) && r.hasOwnProperty(t)) return [t];
118
+ let e, o;
119
+ for (const c of Object.keys(r)) if (c.includes(s)) {
120
+ const [n, i, l] = c.split(s);
121
+ if (l === void 0 && t.startsWith(n) && t.endsWith(i)) {
122
+ const g = t.slice(n.length, -i.length || void 0);
123
+ g && (!e || m(e, c)) && (e = c, o = g);
124
+ }
125
+ }
126
+ return [e, o];
127
+ }
128
+ const p = (r) => Object.keys(r).reduce((t, e) => {
129
+ const o = e === "" || e[0] !== ".";
130
+ if (t === void 0 || t === o) return o;
131
+ throw a(_$1, "\"exports\" cannot contain some keys starting with \".\" and some not");
132
+ }, void 0), u = /^\w+:/, v = (r, t, e) => {
133
+ if (!r) throw new Error("\"exports\" is required");
134
+ t = t === "" ? "." : `./${t}`, (typeof r == "string" || Array.isArray(r) || A(r) && p(r)) && (r = { ".": r });
135
+ const [o, c] = d(r, t), n = f(h.Export, r[o], t, e, c);
136
+ if (n.length === 0) throw a(I$1, t === "." ? "No \"exports\" main defined" : `Package subpath '${t}' is not defined by "exports"`);
137
+ for (const i of n) if (!i.startsWith("./") && !u.test(i)) throw a(E, `Invalid "exports" target "${i}" defined in the package config`);
138
+ return n;
139
+ };
140
+ //#endregion
141
+ //#region ../../node_modules/.pnpm/get-tsconfig@5.0.0-beta.5/node_modules/get-tsconfig/dist/index.mjs
142
+ var Le = Object.defineProperty;
143
+ var i = (e, n) => Le(e, "name", {
144
+ value: n,
145
+ configurable: !0
146
+ });
147
+ function x(e) {
148
+ return e.startsWith("\\\\?\\") ? e : e.replace(/\\/g, "/");
149
+ }
150
+ i(x, "slash");
151
+ const _e = i((e, n) => {
152
+ const s = `readFileSync:${n}`;
153
+ let t = e?.get(s);
154
+ return t === void 0 && (t = re.readFileSync(n, "utf8"), e?.set(s, t)), t;
155
+ }, "readFile"), F = i((e, n) => {
156
+ const s = `tryStat:${n}`;
157
+ let t = e?.get(s);
158
+ if (t === void 0) {
159
+ try {
160
+ t = re.statSync(n);
161
+ } catch {
162
+ t = null;
163
+ }
164
+ e?.set(s, t);
165
+ }
166
+ return t ?? void 0;
167
+ }, "tryStat"), R = i((e, n, s) => {
168
+ for (;;) {
169
+ const t = path.posix.join(e, n);
170
+ if (F(s, t)) return t;
171
+ const o = path.dirname(e);
172
+ if (o === e) return;
173
+ e = o;
174
+ }
175
+ }, "findUp");
176
+ function Ne(e, n = !1) {
177
+ const s = e.length;
178
+ let t = 0, o = "", r = 0, l = 16, g = 0, m = 0, k = 0, w = 0, u = 0;
179
+ function A(f, y) {
180
+ let j = 0, v = 0;
181
+ for (; j < f;) {
182
+ let d = e.charCodeAt(t);
183
+ if (d >= 48 && d <= 57) v = v * 16 + d - 48;
184
+ else if (d >= 65 && d <= 70) v = v * 16 + d - 65 + 10;
185
+ else if (d >= 97 && d <= 102) v = v * 16 + d - 97 + 10;
186
+ else break;
187
+ t++, j++;
188
+ }
189
+ return j < f && (v = -1), v;
190
+ }
191
+ i(A, "scanHexDigits");
192
+ function O(f) {
193
+ t = f, o = "", r = 0, l = 16, u = 0;
194
+ }
195
+ i(O, "setPosition");
196
+ function h() {
197
+ let f = t;
198
+ if (e.charCodeAt(t) === 48) t++;
199
+ else for (t++; t < e.length && S(e.charCodeAt(t));) t++;
200
+ if (t < e.length && e.charCodeAt(t) === 46) if (t++, t < e.length && S(e.charCodeAt(t))) for (t++; t < e.length && S(e.charCodeAt(t));) t++;
201
+ else return u = 3, e.substring(f, t);
202
+ let y = t;
203
+ if (t < e.length && (e.charCodeAt(t) === 69 || e.charCodeAt(t) === 101)) if (t++, (t < e.length && e.charCodeAt(t) === 43 || e.charCodeAt(t) === 45) && t++, t < e.length && S(e.charCodeAt(t))) {
204
+ for (t++; t < e.length && S(e.charCodeAt(t));) t++;
205
+ y = t;
206
+ } else u = 3;
207
+ return e.substring(f, y);
208
+ }
209
+ i(h, "scanNumber");
210
+ function D() {
211
+ let f = "", y = t;
212
+ for (;;) {
213
+ if (t >= s) {
214
+ f += e.substring(y, t), u = 2;
215
+ break;
216
+ }
217
+ const j = e.charCodeAt(t);
218
+ if (j === 34) {
219
+ f += e.substring(y, t), t++;
220
+ break;
221
+ }
222
+ if (j === 92) {
223
+ if (f += e.substring(y, t), t++, t >= s) {
224
+ u = 2;
225
+ break;
226
+ }
227
+ switch (e.charCodeAt(t++)) {
228
+ case 34:
229
+ f += "\"";
230
+ break;
231
+ case 92:
232
+ f += "\\";
233
+ break;
234
+ case 47:
235
+ f += "/";
236
+ break;
237
+ case 98:
238
+ f += "\b";
239
+ break;
240
+ case 102:
241
+ f += "\f";
242
+ break;
243
+ case 110:
244
+ f += `
245
+ `;
246
+ break;
247
+ case 114:
248
+ f += "\r";
249
+ break;
250
+ case 116:
251
+ f += " ";
252
+ break;
253
+ case 117:
254
+ const d = A(4);
255
+ d >= 0 ? f += String.fromCharCode(d) : u = 4;
256
+ break;
257
+ default: u = 5;
258
+ }
259
+ y = t;
260
+ continue;
261
+ }
262
+ if (j >= 0 && j <= 31) if (P(j)) {
263
+ f += e.substring(y, t), u = 2;
264
+ break;
265
+ } else u = 6;
266
+ t++;
267
+ }
268
+ return f;
269
+ }
270
+ i(D, "scanString");
271
+ function c() {
272
+ if (o = "", u = 0, r = t, m = g, w = k, t >= s) return r = s, l = 17;
273
+ let f = e.charCodeAt(t);
274
+ if (X(f)) {
275
+ do
276
+ t++, o += String.fromCharCode(f), f = e.charCodeAt(t);
277
+ while (X(f));
278
+ return l = 15;
279
+ }
280
+ if (P(f)) return t++, o += String.fromCharCode(f), f === 13 && e.charCodeAt(t) === 10 && (t++, o += `
281
+ `), g++, k = t, l = 14;
282
+ switch (f) {
283
+ case 123: return t++, l = 1;
284
+ case 125: return t++, l = 2;
285
+ case 91: return t++, l = 3;
286
+ case 93: return t++, l = 4;
287
+ case 58: return t++, l = 6;
288
+ case 44: return t++, l = 5;
289
+ case 34: return t++, o = D(), l = 10;
290
+ case 47:
291
+ const y = t - 1;
292
+ if (e.charCodeAt(t + 1) === 47) {
293
+ for (t += 2; t < s && !P(e.charCodeAt(t));) t++;
294
+ return o = e.substring(y, t), l = 12;
295
+ }
296
+ if (e.charCodeAt(t + 1) === 42) {
297
+ t += 2;
298
+ const j = s - 1;
299
+ let v = !1;
300
+ for (; t < j;) {
301
+ const d = e.charCodeAt(t);
302
+ if (d === 42 && e.charCodeAt(t + 1) === 47) {
303
+ t += 2, v = !0;
304
+ break;
305
+ }
306
+ t++, P(d) && (d === 13 && e.charCodeAt(t) === 10 && t++, g++, k = t);
307
+ }
308
+ return v || (t++, u = 1), o = e.substring(y, t), l = 13;
309
+ }
310
+ return o += String.fromCharCode(f), t++, l = 16;
311
+ case 45: if (o += String.fromCharCode(f), t++, t === s || !S(e.charCodeAt(t))) return l = 16;
312
+ case 48:
313
+ case 49:
314
+ case 50:
315
+ case 51:
316
+ case 52:
317
+ case 53:
318
+ case 54:
319
+ case 55:
320
+ case 56:
321
+ case 57: return o += h(), l = 11;
322
+ default:
323
+ for (; t < s && p(f);) t++, f = e.charCodeAt(t);
324
+ if (r !== t) {
325
+ switch (o = e.substring(r, t), o) {
326
+ case "true": return l = 8;
327
+ case "false": return l = 9;
328
+ case "null": return l = 7;
329
+ }
330
+ return l = 16;
331
+ }
332
+ return o += String.fromCharCode(f), t++, l = 16;
333
+ }
334
+ }
335
+ i(c, "scanNext");
336
+ function p(f) {
337
+ if (X(f) || P(f)) return !1;
338
+ switch (f) {
339
+ case 125:
340
+ case 93:
341
+ case 123:
342
+ case 91:
343
+ case 34:
344
+ case 58:
345
+ case 44:
346
+ case 47: return !1;
347
+ }
348
+ return !0;
349
+ }
350
+ i(p, "isUnknownContentCharacter");
351
+ function b() {
352
+ let f;
353
+ do
354
+ f = c();
355
+ while (f >= 12 && f <= 15);
356
+ return f;
357
+ }
358
+ return i(b, "scanNextNonTrivia"), {
359
+ setPosition: O,
360
+ getPosition: i(() => t, "getPosition"),
361
+ scan: n ? b : c,
362
+ getToken: i(() => l, "getToken"),
363
+ getTokenValue: i(() => o, "getTokenValue"),
364
+ getTokenOffset: i(() => r, "getTokenOffset"),
365
+ getTokenLength: i(() => t - r, "getTokenLength"),
366
+ getTokenStartLine: i(() => m, "getTokenStartLine"),
367
+ getTokenStartCharacter: i(() => r - w, "getTokenStartCharacter"),
368
+ getTokenError: i(() => u, "getTokenError")
369
+ };
370
+ }
371
+ i(Ne, "createScanner");
372
+ function X(e) {
373
+ return e === 32 || e === 9;
374
+ }
375
+ i(X, "isWhiteSpace");
376
+ function P(e) {
377
+ return e === 10 || e === 13;
378
+ }
379
+ i(P, "isLineBreak");
380
+ function S(e) {
381
+ return e >= 48 && e <= 57;
382
+ }
383
+ i(S, "isDigit");
384
+ var ce;
385
+ (function(e) {
386
+ e[e.lineFeed = 10] = "lineFeed", e[e.carriageReturn = 13] = "carriageReturn", e[e.space = 32] = "space", e[e._0 = 48] = "_0", e[e._1 = 49] = "_1", e[e._2 = 50] = "_2", e[e._3 = 51] = "_3", e[e._4 = 52] = "_4", e[e._5 = 53] = "_5", e[e._6 = 54] = "_6", e[e._7 = 55] = "_7", e[e._8 = 56] = "_8", e[e._9 = 57] = "_9", e[e.a = 97] = "a", e[e.b = 98] = "b", e[e.c = 99] = "c", e[e.d = 100] = "d", e[e.e = 101] = "e", e[e.f = 102] = "f", e[e.g = 103] = "g", e[e.h = 104] = "h", e[e.i = 105] = "i", e[e.j = 106] = "j", e[e.k = 107] = "k", e[e.l = 108] = "l", e[e.m = 109] = "m", e[e.n = 110] = "n", e[e.o = 111] = "o", e[e.p = 112] = "p", e[e.q = 113] = "q", e[e.r = 114] = "r", e[e.s = 115] = "s", e[e.t = 116] = "t", e[e.u = 117] = "u", e[e.v = 118] = "v", e[e.w = 119] = "w", e[e.x = 120] = "x", e[e.y = 121] = "y", e[e.z = 122] = "z", e[e.A = 65] = "A", e[e.B = 66] = "B", e[e.C = 67] = "C", e[e.D = 68] = "D", e[e.E = 69] = "E", e[e.F = 70] = "F", e[e.G = 71] = "G", e[e.H = 72] = "H", e[e.I = 73] = "I", e[e.J = 74] = "J", e[e.K = 75] = "K", e[e.L = 76] = "L", e[e.M = 77] = "M", e[e.N = 78] = "N", e[e.O = 79] = "O", e[e.P = 80] = "P", e[e.Q = 81] = "Q", e[e.R = 82] = "R", e[e.S = 83] = "S", e[e.T = 84] = "T", e[e.U = 85] = "U", e[e.V = 86] = "V", e[e.W = 87] = "W", e[e.X = 88] = "X", e[e.Y = 89] = "Y", e[e.Z = 90] = "Z", e[e.asterisk = 42] = "asterisk", e[e.backslash = 92] = "backslash", e[e.closeBrace = 125] = "closeBrace", e[e.closeBracket = 93] = "closeBracket", e[e.colon = 58] = "colon", e[e.comma = 44] = "comma", e[e.dot = 46] = "dot", e[e.doubleQuote = 34] = "doubleQuote", e[e.minus = 45] = "minus", e[e.openBrace = 123] = "openBrace", e[e.openBracket = 91] = "openBracket", e[e.plus = 43] = "plus", e[e.slash = 47] = "slash", e[e.formFeed = 12] = "formFeed", e[e.tab = 9] = "tab";
387
+ })(ce || (ce = {})), new Array(20).fill(0).map((e, n) => " ".repeat(n));
388
+ const _ = 200;
389
+ new Array(_).fill(0).map((e, n) => `
390
+ ` + " ".repeat(n)), new Array(_).fill(0).map((e, n) => "\r" + " ".repeat(n)), new Array(_).fill(0).map((e, n) => `\r
391
+ ` + " ".repeat(n)), new Array(_).fill(0).map((e, n) => `
392
+ ` + " ".repeat(n)), new Array(_).fill(0).map((e, n) => "\r" + " ".repeat(n)), new Array(_).fill(0).map((e, n) => `\r
393
+ ` + " ".repeat(n));
394
+ var W;
395
+ (function(e) {
396
+ e.DEFAULT = { allowTrailingComma: !1 };
397
+ })(W || (W = {}));
398
+ function Re(e, n = [], s = W.DEFAULT) {
399
+ let t = null, o = [];
400
+ const r = [];
401
+ function l(m) {
402
+ Array.isArray(o) ? o.push(m) : t !== null && (o[t] = m);
403
+ }
404
+ return i(l, "onValue"), Pe(e, {
405
+ onObjectBegin: i(() => {
406
+ const m = {};
407
+ l(m), r.push(o), o = m, t = null;
408
+ }, "onObjectBegin"),
409
+ onObjectProperty: i((m) => {
410
+ t = m;
411
+ }, "onObjectProperty"),
412
+ onObjectEnd: i(() => {
413
+ o = r.pop();
414
+ }, "onObjectEnd"),
415
+ onArrayBegin: i(() => {
416
+ const m = [];
417
+ l(m), r.push(o), o = m, t = null;
418
+ }, "onArrayBegin"),
419
+ onArrayEnd: i(() => {
420
+ o = r.pop();
421
+ }, "onArrayEnd"),
422
+ onLiteralValue: l,
423
+ onError: i((m, k, w) => {
424
+ n.push({
425
+ error: m,
426
+ offset: k,
427
+ length: w
428
+ });
429
+ }, "onError")
430
+ }, s), o[0];
431
+ }
432
+ i(Re, "parse$1");
433
+ function Pe(e, n, s = W.DEFAULT) {
434
+ const t = Ne(e, !1), o = [];
435
+ let r = 0;
436
+ function l(T) {
437
+ return T ? () => r === 0 && T(t.getTokenOffset(), t.getTokenLength(), t.getTokenStartLine(), t.getTokenStartCharacter()) : () => !0;
438
+ }
439
+ i(l, "toNoArgVisit");
440
+ function g(T) {
441
+ return T ? (E) => r === 0 && T(E, t.getTokenOffset(), t.getTokenLength(), t.getTokenStartLine(), t.getTokenStartCharacter()) : () => !0;
442
+ }
443
+ i(g, "toOneArgVisit");
444
+ function m(T) {
445
+ return T ? (E) => r === 0 && T(E, t.getTokenOffset(), t.getTokenLength(), t.getTokenStartLine(), t.getTokenStartCharacter(), () => o.slice()) : () => !0;
446
+ }
447
+ i(m, "toOneArgVisitWithPath");
448
+ function k(T) {
449
+ return T ? () => {
450
+ r > 0 ? r++ : T(t.getTokenOffset(), t.getTokenLength(), t.getTokenStartLine(), t.getTokenStartCharacter(), () => o.slice()) === !1 && (r = 1);
451
+ } : () => !0;
452
+ }
453
+ i(k, "toBeginVisit");
454
+ function w(T) {
455
+ return T ? () => {
456
+ r > 0 && r--, r === 0 && T(t.getTokenOffset(), t.getTokenLength(), t.getTokenStartLine(), t.getTokenStartCharacter());
457
+ } : () => !0;
458
+ }
459
+ i(w, "toEndVisit");
460
+ const u = k(n.onObjectBegin), A = m(n.onObjectProperty), O = w(n.onObjectEnd), h = k(n.onArrayBegin), D = w(n.onArrayEnd), c = m(n.onLiteralValue), p = g(n.onSeparator), b = l(n.onComment), f = g(n.onError), y = s && s.disallowComments, j = s && s.allowTrailingComma;
461
+ function v() {
462
+ for (;;) {
463
+ const T = t.scan();
464
+ switch (t.getTokenError()) {
465
+ case 4:
466
+ d(14);
467
+ break;
468
+ case 5:
469
+ d(15);
470
+ break;
471
+ case 3:
472
+ d(13);
473
+ break;
474
+ case 1:
475
+ y || d(11);
476
+ break;
477
+ case 2:
478
+ d(12);
479
+ break;
480
+ case 6:
481
+ d(16);
482
+ break;
483
+ }
484
+ switch (T) {
485
+ case 12:
486
+ case 13:
487
+ y ? d(10) : b();
488
+ break;
489
+ case 16:
490
+ d(1);
491
+ break;
492
+ case 15:
493
+ case 14: break;
494
+ default: return T;
495
+ }
496
+ }
497
+ }
498
+ i(v, "scanNext");
499
+ function d(T, E = [], ie = []) {
500
+ if (f(T), E.length + ie.length > 0) {
501
+ let V = t.getToken();
502
+ for (; V !== 17;) {
503
+ if (E.indexOf(V) !== -1) {
504
+ v();
505
+ break;
506
+ } else if (ie.indexOf(V) !== -1) break;
507
+ V = v();
508
+ }
509
+ }
510
+ }
511
+ i(d, "handleError");
512
+ function L(T) {
513
+ const E = t.getTokenValue();
514
+ return T ? c(E) : (A(E), o.push(E)), v(), !0;
515
+ }
516
+ i(L, "parseString");
517
+ function B() {
518
+ switch (t.getToken()) {
519
+ case 11:
520
+ const T = t.getTokenValue();
521
+ let E = Number(T);
522
+ isNaN(E) && (d(2), E = 0), c(E);
523
+ break;
524
+ case 7:
525
+ c(null);
526
+ break;
527
+ case 8:
528
+ c(!0);
529
+ break;
530
+ case 9:
531
+ c(!1);
532
+ break;
533
+ default: return !1;
534
+ }
535
+ return v(), !0;
536
+ }
537
+ i(B, "parseLiteral");
538
+ function $() {
539
+ return t.getToken() !== 10 ? (d(3, [], [2, 5]), !1) : (L(!1), t.getToken() === 6 ? (p(":"), v(), H() || d(4, [], [2, 5])) : d(5, [], [2, 5]), o.pop(), !0);
540
+ }
541
+ i($, "parseProperty");
542
+ function N() {
543
+ u(), v();
544
+ let T = !1;
545
+ for (; t.getToken() !== 2 && t.getToken() !== 17;) {
546
+ if (t.getToken() === 5) {
547
+ if (T || d(4, [], []), p(","), v(), t.getToken() === 2 && j) break;
548
+ } else T && d(6, [], []);
549
+ $() || d(4, [], [2, 5]), T = !0;
550
+ }
551
+ return O(), t.getToken() !== 2 ? d(7, [2], []) : v(), !0;
552
+ }
553
+ i(N, "parseObject");
554
+ function $e() {
555
+ h(), v();
556
+ let T = !0, E = !1;
557
+ for (; t.getToken() !== 4 && t.getToken() !== 17;) {
558
+ if (t.getToken() === 5) {
559
+ if (E || d(4, [], []), p(","), v(), t.getToken() === 4 && j) break;
560
+ } else E && d(6, [], []);
561
+ T ? (o.push(0), T = !1) : o[o.length - 1]++, H() || d(4, [], [4, 5]), E = !0;
562
+ }
563
+ return D(), T || o.pop(), t.getToken() !== 4 ? d(8, [4], []) : v(), !0;
564
+ }
565
+ i($e, "parseArray");
566
+ function H() {
567
+ switch (t.getToken()) {
568
+ case 3: return $e();
569
+ case 1: return N();
570
+ case 10: return L(!0);
571
+ default: return B();
572
+ }
573
+ }
574
+ return i(H, "parseValue"), v(), t.getToken() === 17 ? s.allowEmptyContent ? !0 : (d(4, [], []), !1) : H() ? (t.getToken() !== 17 && d(9, [], []), !0) : (d(4, [], []), !1);
575
+ }
576
+ i(Pe, "visit");
577
+ var fe;
578
+ (function(e) {
579
+ e[e.None = 0] = "None", e[e.UnexpectedEndOfComment = 1] = "UnexpectedEndOfComment", e[e.UnexpectedEndOfString = 2] = "UnexpectedEndOfString", e[e.UnexpectedEndOfNumber = 3] = "UnexpectedEndOfNumber", e[e.InvalidUnicode = 4] = "InvalidUnicode", e[e.InvalidEscapeCharacter = 5] = "InvalidEscapeCharacter", e[e.InvalidCharacter = 6] = "InvalidCharacter";
580
+ })(fe || (fe = {}));
581
+ var ue;
582
+ (function(e) {
583
+ e[e.OpenBraceToken = 1] = "OpenBraceToken", e[e.CloseBraceToken = 2] = "CloseBraceToken", e[e.OpenBracketToken = 3] = "OpenBracketToken", e[e.CloseBracketToken = 4] = "CloseBracketToken", e[e.CommaToken = 5] = "CommaToken", e[e.ColonToken = 6] = "ColonToken", e[e.NullKeyword = 7] = "NullKeyword", e[e.TrueKeyword = 8] = "TrueKeyword", e[e.FalseKeyword = 9] = "FalseKeyword", e[e.StringLiteral = 10] = "StringLiteral", e[e.NumericLiteral = 11] = "NumericLiteral", e[e.LineCommentTrivia = 12] = "LineCommentTrivia", e[e.BlockCommentTrivia = 13] = "BlockCommentTrivia", e[e.LineBreakTrivia = 14] = "LineBreakTrivia", e[e.Trivia = 15] = "Trivia", e[e.Unknown = 16] = "Unknown", e[e.EOF = 17] = "EOF";
584
+ })(ue || (ue = {}));
585
+ const Ve = Re;
586
+ var ae;
587
+ (function(e) {
588
+ e[e.InvalidSymbol = 1] = "InvalidSymbol", e[e.InvalidNumberFormat = 2] = "InvalidNumberFormat", e[e.PropertyNameExpected = 3] = "PropertyNameExpected", e[e.ValueExpected = 4] = "ValueExpected", e[e.ColonExpected = 5] = "ColonExpected", e[e.CommaExpected = 6] = "CommaExpected", e[e.CloseBraceExpected = 7] = "CloseBraceExpected", e[e.CloseBracketExpected = 8] = "CloseBracketExpected", e[e.EndOfFileExpected = 9] = "EndOfFileExpected", e[e.InvalidCommentToken = 10] = "InvalidCommentToken", e[e.UnexpectedEndOfComment = 11] = "UnexpectedEndOfComment", e[e.UnexpectedEndOfString = 12] = "UnexpectedEndOfString", e[e.UnexpectedEndOfNumber = 13] = "UnexpectedEndOfNumber", e[e.InvalidUnicode = 14] = "InvalidUnicode", e[e.InvalidEscapeCharacter = 15] = "InvalidEscapeCharacter", e[e.InvalidCharacter = 16] = "InvalidCharacter";
589
+ })(ae || (ae = {}));
590
+ const Y = i((e, n) => Ve(_e(n, e)), "readJsonc"), pe = i(() => {
591
+ const { findPnpApi: e } = module$1;
592
+ return e && e(process.cwd());
593
+ }, "getPnpApi"), We = "detectTypeScriptVersion:", Me = i((e, n) => {
594
+ const s = `${We}${e}`, t = n?.get(s);
595
+ if (t !== void 0) return t ?? void 0;
596
+ let o;
597
+ const r = pe();
598
+ if (r) try {
599
+ o = r.resolveRequest("typescript/package.json", e) ?? void 0;
600
+ } catch {}
601
+ o ??= R(path.resolve(e), path.join("node_modules", "typescript", "package.json"), n);
602
+ let l;
603
+ if (o) try {
604
+ const g = Y(o, n);
605
+ typeof g?.version == "string" && (l = g.version);
606
+ } catch {}
607
+ return n?.set(s, l ?? null), l;
608
+ }, "detectTypeScriptVersion"), I = "package.json", M = "tsconfig.json", Je = i((e, n, s) => {
609
+ const t = module$1.createRequire(path.join(s, "tsconfig.json"));
610
+ if (e !== n) try {
611
+ return t.resolve(e);
612
+ } catch {}
613
+ try {
614
+ return t.resolve(n);
615
+ } catch {}
616
+ try {
617
+ return t.resolve(`${n}/${I}`);
618
+ } catch {}
619
+ }, "resolvePackageEntryWithNode"), Z = i((e, n, s, t) => {
620
+ const o = `resolveFromPackageJsonPath:${e}:${n}:${s}`;
621
+ if (t?.has(o)) return t.get(o) || !1;
622
+ const r = Y(e, t);
623
+ if (!r) return;
624
+ let l = n || M;
625
+ if (!s && r.exports) try {
626
+ const [g] = v(r.exports, n, ["require", "types"]);
627
+ l = g;
628
+ } catch {
629
+ return t?.set(o, ""), !1;
630
+ }
631
+ else !n && r.tsconfig && (l = r.tsconfig);
632
+ return l = path.join(e, "..", l), t?.set(o, l), l;
633
+ }, "resolveFromPackageJsonPath"), ze = i((e, n, s) => {
634
+ const t = `resolveExtendsPath:${e}:${n}`;
635
+ if (s?.has(t)) return s.get(t) || void 0;
636
+ const o = Ge(e, n, s);
637
+ return s?.set(t, o || ""), o;
638
+ }, "resolveExtendsPath"), Ge = i((e, n, s) => {
639
+ let t = e;
640
+ if (e === ".." && (t = path.join(t, M)), e[0] === "." && (t = path.resolve(n, t)), path.isAbsolute(t)) {
641
+ const c = F(s, t);
642
+ if (c) {
643
+ if (c.isFile()) return t;
644
+ } else if (!t.endsWith(".json")) {
645
+ const p = `${t}.json`;
646
+ if (F(s, p)) return p;
647
+ }
648
+ return;
649
+ }
650
+ const [o, ...r] = e.split("/"), l = o[0] === "@" ? `${o}/${r.shift()}` : o, g = r.join("/"), m = pe();
651
+ if (m) {
652
+ const { resolveRequest: c } = m;
653
+ try {
654
+ if (l === e) {
655
+ const p = c(path.join(l, I), n);
656
+ if (p) {
657
+ const b = Z(p, g, !1, s);
658
+ if (b && F(s, b)) return b;
659
+ }
660
+ } else {
661
+ let p;
662
+ try {
663
+ p = c(e, n, { extensions: [".json"] });
664
+ } catch {
665
+ p = c(path.join(e, M), n);
666
+ }
667
+ if (p) return p;
668
+ }
669
+ } catch {}
670
+ }
671
+ const k = Je(e, l, n);
672
+ let w;
673
+ if (k) {
674
+ if (path.basename(k) !== I && k.endsWith(".json")) return k;
675
+ w = path.basename(k) === I ? k : R(path.dirname(k), I, s);
676
+ }
677
+ const u = w && path.dirname(w) || R(path.resolve(n), path.join("node_modules", l), s);
678
+ if (!u || !F(s, u)?.isDirectory()) return;
679
+ const A = path.join(u, I);
680
+ if (F(s, A)) {
681
+ const c = Z(A, g, !1, s);
682
+ if (c === !1) return;
683
+ if (c && F(s, c)?.isFile()) return c;
684
+ }
685
+ const O = path.join(u, g), h = O.endsWith(".json");
686
+ if (!h) {
687
+ const c = `${O}.json`;
688
+ if (F(s, c)) return c;
689
+ }
690
+ const D = F(s, O);
691
+ if (D) {
692
+ if (D.isDirectory()) {
693
+ const c = path.join(O, I);
694
+ if (F(s, c)) {
695
+ const b = Z(c, "", !0, s);
696
+ if (b && F(s, b)) return b;
697
+ }
698
+ const p = path.join(O, M);
699
+ if (F(s, p)) return p;
700
+ } else if (h) return O;
701
+ }
702
+ }, "resolveExtendsPathUncached"), q = Symbol("implicitBaseUrl"), U = "${configDir}", K = /^\.{1,2}(\/.*)?$/, J = i((e) => {
703
+ const n = x(e);
704
+ return K.test(n) ? n : `./${n}`;
705
+ }, "normalizeRelativePath"), Qe = i((e) => {
706
+ const n = { ...e };
707
+ if (n.strict) for (const t of [
708
+ "noImplicitAny",
709
+ "noImplicitThis",
710
+ "strictNullChecks",
711
+ "strictFunctionTypes",
712
+ "strictBindCallApply",
713
+ "strictPropertyInitialization",
714
+ "strictBuiltinIteratorReturn",
715
+ "alwaysStrict",
716
+ "useUnknownInCatchVariables"
717
+ ]) n[t] === void 0 && (n[t] = !0);
718
+ if (n.composite && (n.declaration ??= !0, n.incremental ??= !0), n.target) {
719
+ let s = n.target.toLowerCase();
720
+ s === "es2015" && (s = "es6"), n.target = s, s === "esnext" && (n.module ??= "es6", n.useDefineForClassFields ??= !0), (s === "es6" || s === "es2016" || s === "es2017" || s === "es2018" || s === "es2019" || s === "es2020" || s === "es2021" || s === "es2022" || s === "es2023" || s === "es2024" || s === "es2025") && (n.module ??= "es6"), (s === "es2022" || s === "es2023" || s === "es2024" || s === "es2025") && (n.useDefineForClassFields ??= !0);
721
+ }
722
+ if (n.module) {
723
+ let s = n.module.toLowerCase();
724
+ if (s === "es2015" && (s = "es6"), n.module = s, (s === "es6" || s === "es2020" || s === "es2022" || s === "esnext" || s === "none" || s === "system" || s === "umd" || s === "amd") && (n.moduleResolution ??= "classic"), s === "system" && (n.allowSyntheticDefaultImports ??= !0), (s === "node16" || s === "node18" || s === "node20" || s === "nodenext" || s === "preserve") && (n.esModuleInterop ??= !0, n.allowSyntheticDefaultImports ??= !0), (s === "node16" || s === "node18" || s === "node20" || s === "nodenext") && (n.moduleDetection ??= "force"), (s === "node16" || s === "node18") && (n.target ??= "es2022", n.moduleResolution ??= "node16"), s === "node20" && (n.target ??= "es2023", n.moduleResolution ??= "node16", n.resolveJsonModule ??= !0), s === "nodenext" && (n.target ??= "esnext", n.moduleResolution ??= "nodenext", n.resolveJsonModule ??= !0), s === "node16" || s === "node18" || s === "node20" || s === "nodenext") {
725
+ const t = n.target;
726
+ (t === "es3" || t === "es2022" || t === "es2023" || t === "es2024" || t === "esnext") && (n.useDefineForClassFields ??= !0);
727
+ }
728
+ s === "preserve" && (n.moduleResolution ??= "bundler");
729
+ }
730
+ if (n.moduleResolution) {
731
+ let s = n.moduleResolution.toLowerCase();
732
+ s === "node" && (s = "node10"), n.moduleResolution = s, (s === "node16" || s === "nodenext" || s === "bundler") && (n.resolvePackageJsonExports ??= !0, n.resolvePackageJsonImports ??= !0), s === "bundler" && (n.allowSyntheticDefaultImports ??= !0, n.resolveJsonModule ??= !0);
733
+ }
734
+ for (const s of [
735
+ "jsx",
736
+ "moduleDetection",
737
+ "importsNotUsedAsValues",
738
+ "newLine"
739
+ ]) n[s] && (n[s] = n[s].toLowerCase());
740
+ return n.esModuleInterop && (n.allowSyntheticDefaultImports ??= !0), n.verbatimModuleSyntax && (n.isolatedModules ??= !0, n.preserveConstEnums ??= !0), n.isolatedModules && (n.preserveConstEnums ??= !0), n.rewriteRelativeImportExtensions && (n.allowImportingTsExtensions ??= !0), n.lib && (n.lib = n.lib.map((s) => s.toLowerCase())), n.checkJs && (n.allowJs ??= !0), n;
741
+ }, "normalizeCompilerOptions"), He = i((e, n) => {
742
+ !n.has("target") && !Xe(e.module) && (e.target = "es3");
743
+ }, "applyV4Defaults"), Xe = i((e) => e === "node16" || e === "node18" || e === "node20" || e === "nodenext", "moduleDictatesTarget$1"), Ye = i((e, n) => {
744
+ !n.has("target") && !Ze(e.module) && (e.target = "es5");
745
+ }, "applyV5Defaults"), Ze = i((e) => e === "node16" || e === "node18" || e === "node20" || e === "nodenext", "moduleDictatesTarget"), qe = i((e, n) => {
746
+ n.has("strict") || (e.strict = !0), n.has("target") || (e.target = "es2025"), n.has("module") || (e.module = "es2022"), n.has("moduleResolution") || (e.moduleResolution = "bundler"), n.has("rootDir") || (e.rootDir = "."), n.has("types") || (e.types = []), n.has("noUncheckedSideEffectImports") || (e.noUncheckedSideEffectImports = !0), n.has("libReplacement") || (e.libReplacement = !1);
747
+ }, "applyV6Defaults"), Ke = [
748
+ [4, He],
749
+ [5, Ye],
750
+ [6, qe]
751
+ ], Ce = i((e) => {
752
+ const n = /^v?(\d+)/.exec(e);
753
+ return n ? Number(n[1]) : void 0;
754
+ }, "parseMajor"), et = i((e, n) => {
755
+ const s = Ce(n);
756
+ if (s === void 0) return;
757
+ const t = new Set(Object.keys(e));
758
+ for (const [o, r] of Ke) o <= s && r(e, t);
759
+ }, "applyVersionDefaults"), C = i((e, n) => J(path.relative(e, n)), "pathRelative"), me = [
760
+ "files",
761
+ "include",
762
+ "exclude"
763
+ ], ge = i((e, n, s) => {
764
+ const t = path.join(n, s);
765
+ return x(path.relative(e, t)) || "./";
766
+ }, "resolveAndRelativize"), tt = i((e, n, s) => {
767
+ const t = path.relative(e, n);
768
+ if (!t) return s;
769
+ return x(`${t}/${s.startsWith("./") ? s.slice(2) : s}`);
770
+ }, "prefixPattern"), de = ["outDir", "declarationDir"], z = i((e, n) => {
771
+ if (e.startsWith(U)) return x(path.join(n, e.slice(12)));
772
+ }, "interpolateConfigDir"), nt = [
773
+ "outDir",
774
+ "declarationDir",
775
+ "outFile",
776
+ "rootDir",
777
+ "baseUrl",
778
+ "tsBuildInfoFile"
779
+ ], ke = i((e, n = {}) => {
780
+ if (e.length === 0) throw new Error("Chain must not be empty");
781
+ const { typescriptVersion: s } = n, t = new Map(e.map((u) => [u.path, u])), o = /* @__PURE__ */ new Map(), r = i((u) => {
782
+ const A = o.get(u);
783
+ if (A) return A;
784
+ const O = t.get(u);
785
+ if (!O) throw new Error(`Config not found in chain: ${u}`);
786
+ const h = O.config, D = path.dirname(u);
787
+ let c = {
788
+ ...h,
789
+ ...h.compilerOptions && { compilerOptions: { ...h.compilerOptions } },
790
+ ...h.watchOptions && { watchOptions: { ...h.watchOptions } }
791
+ };
792
+ if (delete c.extends, c.compilerOptions?.paths && !c.compilerOptions.baseUrl && (c.compilerOptions[q] = D), h.extends) {
793
+ const p = Array.isArray(h.extends) ? h.extends : [h.extends];
794
+ for (const b of p.toReversed()) {
795
+ const f = r(b), y = path.dirname(b), { references: j, ...v } = f;
796
+ if (v.compilerOptions) {
797
+ const L = { ...v.compilerOptions };
798
+ for (const B of [
799
+ "baseUrl",
800
+ "outDir",
801
+ "declarationDir",
802
+ "rootDir"
803
+ ]) {
804
+ const $ = L[B];
805
+ $ && !$.startsWith(U) && (L[B] = ge(D, y, $));
806
+ }
807
+ for (const B of ["rootDirs", "typeRoots"]) {
808
+ const $ = L[B];
809
+ $ && (L[B] = $.map((N) => N.startsWith(U) ? N : ge(D, y, N)));
810
+ }
811
+ v.compilerOptions = L;
812
+ }
813
+ for (const L of me) {
814
+ const B = v[L];
815
+ B && (v[L] = B.map(($) => $.startsWith(U) ? $ : tt(D, y, $)));
816
+ }
817
+ const d = {
818
+ ...v,
819
+ ...c,
820
+ compilerOptions: {
821
+ ...v.compilerOptions,
822
+ ...c.compilerOptions
823
+ }
824
+ };
825
+ v.watchOptions && (d.watchOptions = {
826
+ ...v.watchOptions,
827
+ ...c.watchOptions
828
+ }), c = d;
829
+ }
830
+ }
831
+ if (c.compilerOptions) {
832
+ const { compilerOptions: p } = c;
833
+ for (const f of ["baseUrl", "rootDir"]) {
834
+ const y = p[f];
835
+ if (y && !y.startsWith(U)) p[f] = C(D, path.resolve(D, y));
836
+ }
837
+ for (const f of de) {
838
+ let y = p[f];
839
+ y && (Array.isArray(c.exclude) || (c.exclude = de.map((j) => p[j]).filter(Boolean)), y.startsWith(U) || (y = J(y)), p[f] = y);
840
+ }
841
+ } else c.compilerOptions = {};
842
+ if (c.include && (c.include = c.include.map(x)), c.files && (c.files = c.files.map((p) => p.startsWith(U) ? p : J(p))), c.watchOptions) {
843
+ const { watchOptions: p } = c;
844
+ for (const b of ["excludeDirectories", "excludeFiles"]) p[b] && (p[b] = p[b].map((f) => x(path.resolve(D, f))));
845
+ for (const b of [
846
+ "watchFile",
847
+ "watchDirectory",
848
+ "fallbackPolling"
849
+ ]) if (p[b]) {
850
+ const f = p;
851
+ f[b] = p[b].toLowerCase();
852
+ }
853
+ }
854
+ return o.set(u, c), c;
855
+ }, "resolveEntry"), l = e[0], g = r(l.path), m = path.dirname(l.path), k = {
856
+ ...g,
857
+ compilerOptions: g.compilerOptions ? { ...g.compilerOptions } : {}
858
+ }, { compilerOptions: w } = k;
859
+ if (w) {
860
+ for (const u of nt) {
861
+ const A = w[u];
862
+ if (A) {
863
+ const O = z(A, m);
864
+ w[u] = O ? C(m, O) : A;
865
+ }
866
+ }
867
+ for (const u of ["rootDirs", "typeRoots"]) {
868
+ const A = w[u];
869
+ A && (w[u] = A.map((O) => {
870
+ const h = z(O, m);
871
+ return h ? C(m, h) : J(O);
872
+ }));
873
+ }
874
+ if (w.paths) {
875
+ const u = {};
876
+ for (const [A, O] of Object.entries(w.paths)) u[A] = O.map((h) => z(h, m) ?? h);
877
+ w.paths = u;
878
+ }
879
+ s && et(w, s), k.compilerOptions = Qe(w);
880
+ }
881
+ for (const u of me) {
882
+ const A = k[u];
883
+ A && (k[u] = A.map((O) => z(O, m) ?? O));
884
+ }
885
+ return {
886
+ path: l.path,
887
+ config: k,
888
+ sources: e.map((u) => u.path)
889
+ };
890
+ }, "resolveExtendsChain"), we = i((e, n = {}) => {
891
+ const { cache: s = /* @__PURE__ */ new Map() } = n, t = path.resolve(e), o = [], r = /* @__PURE__ */ new Set(), l = i((g, m) => {
892
+ const k = x(g);
893
+ if (r.has(k)) return;
894
+ r.add(k);
895
+ let w;
896
+ try {
897
+ w = Y(g, s) || {};
898
+ } catch {
899
+ throw new Error(`Cannot resolve tsconfig at path: ${g}`);
900
+ }
901
+ if (typeof w != "object") throw new SyntaxError(`Failed to parse tsconfig at: ${g}`);
902
+ const u = path.dirname(g);
903
+ if (w.extends) {
904
+ const A = Array.isArray(w.extends), h = (A ? w.extends : [w.extends]).map((c) => {
905
+ const p = ze(c, u, s);
906
+ if (!p) throw new Error(`File '${c}' not found.`);
907
+ const b = x(p);
908
+ if (m.has(b) || b === k) throw new Error(`Circularity detected while resolving configuration: ${b}`);
909
+ return b;
910
+ });
911
+ w.extends = A ? h : h[0], o.push({
912
+ path: k,
913
+ config: w
914
+ });
915
+ const D = new Set(m);
916
+ D.add(k);
917
+ for (const c of [...h].reverse()) l(c, D);
918
+ } else o.push({
919
+ path: k,
920
+ config: w
921
+ });
922
+ }, "collect");
923
+ return l(t, /* @__PURE__ */ new Set()), o;
924
+ }, "getExtendsChain"), ee = i((e, n = {}) => {
925
+ const { cache: s = /* @__PURE__ */ new Map(), typescriptVersion: t = "auto" } = n, o = we(e, { cache: s });
926
+ let r;
927
+ return t === "auto" ? r = Me(path.dirname(o[0].path), s) : t !== !1 && (r = t), ke(o, { typescriptVersion: r });
928
+ }, "readTsconfig");
929
+ var st = Object.defineProperty, G = i((e, n) => st(e, "name", {
930
+ value: n,
931
+ configurable: !0
932
+ }), "s");
933
+ const ve = G((e) => {
934
+ let n = "";
935
+ for (let s = 0; s < e.length; s += 1) {
936
+ const t = e[s], o = t.toUpperCase();
937
+ n += t === o ? t.toLowerCase() : o;
938
+ }
939
+ return n;
940
+ }, "invertCase"), te = /* @__PURE__ */ new Map(), be = G((e, n) => {
941
+ const s = Se.join(e, `.is-fs-case-sensitive-test-${process.pid}`);
942
+ try {
943
+ return n.writeFileSync(s, ""), !n.existsSync(ve(s));
944
+ } finally {
945
+ try {
946
+ n.unlinkSync(s);
947
+ } catch {}
948
+ }
949
+ }, "checkDirectoryCaseWithWrite"), ot = G((e, n, s) => {
950
+ try {
951
+ return be(e, s);
952
+ } catch (t) {
953
+ if (n === void 0) return be(Ie.tmpdir(), s);
954
+ throw t;
955
+ }
956
+ }, "checkDirectoryCaseWithFallback"), it = G((e, n = Ue, s = !0) => {
957
+ const t = e ?? process.cwd();
958
+ if (s && te.has(t)) return te.get(t);
959
+ let o;
960
+ const r = ve(t);
961
+ return r !== t && n.existsSync(t) ? o = !n.existsSync(r) : o = ot(t, e, n), s && te.set(t, o), o;
962
+ }, "isFsCaseSensitive"), { join: ye } = path.posix, ne = {
963
+ ts: [
964
+ ".ts",
965
+ ".tsx",
966
+ ".d.ts"
967
+ ],
968
+ cts: [".cts", ".d.cts"],
969
+ mts: [".mts", ".d.mts"]
970
+ }, rt = i((e) => {
971
+ const n = [...ne.ts], s = [...ne.cts], t = [...ne.mts];
972
+ return e?.allowJs && (n.push(".js", ".jsx"), s.push(".cjs"), t.push(".mjs")), [
973
+ ...n,
974
+ ...s,
975
+ ...t
976
+ ];
977
+ }, "getSupportedExtensions"), lt = i((e) => {
978
+ const n = [];
979
+ if (!e) return n;
980
+ const { outDir: s, declarationDir: t } = e;
981
+ return s && n.push(s), t && n.push(t), n;
982
+ }, "getDefaultExcludeSpec"), Te = i((e) => e.replaceAll(/[.*+?^${}()|[\]\\]/g, String.raw`\$&`), "escapeForRegexp"), se = `(?!(${[
983
+ "node_modules",
984
+ "bower_components",
985
+ "jspm_packages"
986
+ ].join("|")})(/|$))`, ft = /(?:^|\/)[^.*?]+$/, he = "**/*", Q = "[^/]", oe = "[^./]", Oe = process.platform === "win32", ut = i(({ config: e, path: n }, s) => {
987
+ if ("extends" in e) throw new Error("tsconfig#extends must be resolved. Use getTsconfig or readTsconfig to resolve it.");
988
+ if (!path.isAbsolute(n)) throw new Error("The tsconfig path must be absolute");
989
+ Oe && (n = x(n));
990
+ const t = path.dirname(n), { files: o, include: r, exclude: l, compilerOptions: g } = e, m = i((c) => path.isAbsolute(c) ? c : ye(t, c), "resolvePattern"), k = o ? new Set(o.map(m)) : void 0, w = rt(g), u = s ? "" : "i", O = (l || lt(g)).map((c) => {
991
+ const b = Te(m(c)).replaceAll(String.raw`\*\*/`, "(.+/)?").replaceAll(String.raw`\*`, `${Q}*`).replaceAll(String.raw`\?`, Q);
992
+ return new RegExp(`^${b}($|/)`, u);
993
+ }), h = o || r ? r : [he];
994
+ return {
995
+ filesSet: k,
996
+ extensions: w,
997
+ excludePatterns: O,
998
+ includePatterns: h ? h.map((c) => {
999
+ let p = m(c);
1000
+ ft.test(p) && (p = ye(p, he));
1001
+ const b = Te(p).replaceAll(String.raw`/\*\*`, `(/${se}${oe}${Q}*)*?`).replaceAll(/(\/)?\\\*/g, (f, y) => {
1002
+ const j = String.raw`(${oe}|(\.(?!min\.js$))?)*`;
1003
+ return y ? `/${se}${oe}${j}` : j;
1004
+ }).replaceAll(/(\/)?\\\?/g, (f, y) => {
1005
+ const j = Q;
1006
+ return y ? `/${se}${j}` : j;
1007
+ });
1008
+ return new RegExp(`^${b}$`, u);
1009
+ }) : void 0
1010
+ };
1011
+ }, "compilePatterns"), Ae = /* @__PURE__ */ new WeakMap(), je = i((e, n) => {
1012
+ if (!path.isAbsolute(n)) return !1;
1013
+ Oe && (n = x(n));
1014
+ let s = Ae.get(e);
1015
+ s || (s = ut(e, it()), Ae.set(e, s));
1016
+ const { filesSet: t, extensions: o, excludePatterns: r, includePatterns: l } = s;
1017
+ return t?.has(n) ? !0 : !o.some((g) => n.endsWith(g)) || r.some((g) => g.test(n)) ? !1 : !!(l && l.some((g) => g.test(n)));
1018
+ }, "isFileIncluded"), De = i((e, n, s, t) => {
1019
+ const o = path.resolve(e);
1020
+ let r = x(e);
1021
+ for (;;) {
1022
+ const l = R(r, n, s);
1023
+ if (!l) return;
1024
+ const m = ee(path.resolve(l), {
1025
+ cache: s,
1026
+ typescriptVersion: t
1027
+ });
1028
+ if (je(m, o)) return m;
1029
+ const k = path.dirname(l), w = path.dirname(k);
1030
+ if (w === k) return;
1031
+ r = w;
1032
+ }
1033
+ }, "findConfigApplicable"), Ee = i((e = process.cwd(), n = {}) => {
1034
+ const { configName: s = "tsconfig.json", cache: t = /* @__PURE__ */ new Map(), includes: o = !1 } = n;
1035
+ if (!o) {
1036
+ const r = path.resolve(e);
1037
+ return path.basename(r) === s && F(t, r)?.isFile() ? x(r) : R(x(e), s, t);
1038
+ }
1039
+ return De(e, s, t, !1)?.path;
1040
+ }, "findTsconfig"), at = i((e = process.cwd(), n = {}) => {
1041
+ const { configName: s = "tsconfig.json", cache: t = /* @__PURE__ */ new Map(), includes: o = !1, typescriptVersion: r = "auto" } = n;
1042
+ if (!o) {
1043
+ const l = Ee(e, {
1044
+ configName: s,
1045
+ cache: t
1046
+ });
1047
+ return l ? ee(l, {
1048
+ cache: t,
1049
+ typescriptVersion: r
1050
+ }) : void 0;
1051
+ }
1052
+ return De(e, s, t, r);
1053
+ }, "getTsconfig"), pt = /\*/g, xe = i((e, n) => {
1054
+ const s = e.match(pt);
1055
+ if (s && s.length > 1) throw new Error(n);
1056
+ }, "assertStarCount"), mt = i((e) => {
1057
+ if (e.includes("*")) {
1058
+ const [n, s] = e.split("*");
1059
+ return {
1060
+ prefix: n,
1061
+ suffix: s
1062
+ };
1063
+ }
1064
+ return e;
1065
+ }, "parsePattern"), gt = i(({ prefix: e, suffix: n }, s) => s.startsWith(e) && s.endsWith(n), "isPatternMatch"), dt = i((e, n, s) => Object.entries(e).map(([t, o]) => (xe(t, `Pattern '${t}' can have at most one '*' character.`), {
1066
+ pattern: mt(t),
1067
+ substitutions: o.map((r) => {
1068
+ if (xe(r, `Substitution '${r}' in pattern '${t}' can have at most one '*' character.`), !n && !K.test(r) && !path.isAbsolute(r)) throw new Error("Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?");
1069
+ return path.resolve(s, r);
1070
+ })
1071
+ })), "parsePaths"), kt = i((e) => {
1072
+ const { compilerOptions: n } = e.config;
1073
+ if (!n) return null;
1074
+ const { baseUrl: s, paths: t } = n;
1075
+ if (!s && !t) return null;
1076
+ const o = q in n && n[q], r = path.resolve(path.dirname(e.path), s || o || "."), l = t ? dt(t, s, r) : [], g = /* @__PURE__ */ new Map(), m = [];
1077
+ for (const k of l) typeof k.pattern == "string" ? g.set(k.pattern, k.substitutions) : m.push(k);
1078
+ return {
1079
+ exactEntries: g,
1080
+ patternEntries: m,
1081
+ resolvedBaseUrl: r,
1082
+ baseUrl: s
1083
+ };
1084
+ }, "compilePaths"), Fe = /* @__PURE__ */ new WeakMap();
1085
+ i((e, n) => {
1086
+ let s = Fe.get(e);
1087
+ if (s === void 0 && (s = kt(e), Fe.set(e, s)), !s) return [];
1088
+ if (K.test(n)) return [];
1089
+ const { exactEntries: t, patternEntries: o, resolvedBaseUrl: r, baseUrl: l } = s, g = t.get(n);
1090
+ if (g) return g.map(x);
1091
+ let m, k = -1;
1092
+ for (const u of o) gt(u.pattern, n) && u.pattern.prefix.length > k && (k = u.pattern.prefix.length, m = u);
1093
+ if (!m) return l ? [x(path.join(r, n))] : [];
1094
+ const w = n.slice(m.pattern.prefix.length, n.length - m.pattern.suffix.length);
1095
+ return m.substitutions.map((u) => x(u.replace("*", w)));
1096
+ }, "resolvePathAlias");
1097
+ //#endregion
1098
+ //#region ../../node_modules/.pnpm/tsdown@0.22.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.0_@tsdown+exe@0.22.0_@type_e80978d33a319eb1e0c97ec71b684e94/node_modules/tsdown/dist/format-CajNSstg.mjs
70
1099
  const shimFile = path.resolve(import.meta.dirname, "..", "esm-shims.js");
71
1100
  function getShimsInject(format, platform) {
72
1101
  if (format === "es" && platform === "node") return {
@@ -3354,7 +4383,7 @@ function createConfigCoreLoader(options) {
3354
4383
  };
3355
4384
  }
3356
4385
  //#endregion
3357
- //#region ../../node_modules/.pnpm/tsdown@0.22.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.0_@tsdown+exe@0.22.0_@type_d181d85b1bafdbf27821083f8481d00c/node_modules/tsdown/dist/options-DUthngzZ.mjs
4386
+ //#region ../../node_modules/.pnpm/tsdown@0.22.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.0_@tsdown+exe@0.22.0_@type_e80978d33a319eb1e0c97ec71b684e94/node_modules/tsdown/dist/options-DUthngzZ.mjs
3358
4387
  const __cjs_require$1 = createRequire(import.meta.url);
3359
4388
  const picomatch = __cjs_require$1("./npm_entry_picomatch.cjs");
3360
4389
  const satisfies$1 = __cjs_require$1("./npm_entry_semver_functions_satisfies.cjs");
@@ -4221,7 +5250,7 @@ function filterConfig(filter, configCwd, name) {
4221
5250
  return toArray(filter).some((value) => name && name === value || cwd === value);
4222
5251
  }
4223
5252
  //#endregion
4224
- //#region ../../node_modules/.pnpm/tsdown@0.22.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.0_@tsdown+exe@0.22.0_@type_d181d85b1bafdbf27821083f8481d00c/node_modules/tsdown/dist/watch-B659_4oi.mjs
5253
+ //#region ../../node_modules/.pnpm/tsdown@0.22.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.0_@tsdown+exe@0.22.0_@type_e80978d33a319eb1e0c97ec71b684e94/node_modules/tsdown/dist/watch-B659_4oi.mjs
4225
5254
  async function copy(options) {
4226
5255
  if (!options.copy) return;
4227
5256
  const resolved = await resolveCopyEntries(options);
@@ -4601,7 +5630,7 @@ var Hookable = class {
4601
5630
  }
4602
5631
  };
4603
5632
  //#endregion
4604
- //#region ../../node_modules/.pnpm/tsdown@0.22.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.0_@tsdown+exe@0.22.0_@type_d181d85b1bafdbf27821083f8481d00c/node_modules/tsdown/dist/build-5FURNVr0.mjs
5633
+ //#region ../../node_modules/.pnpm/tsdown@0.22.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.0_@tsdown+exe@0.22.0_@type_e80978d33a319eb1e0c97ec71b684e94/node_modules/tsdown/dist/build-5FURNVr0.mjs
4605
5634
  var build_5FURNVr0_exports = /* @__PURE__ */ __exportAll$1({
4606
5635
  n: () => buildWithConfigs,
4607
5636
  r: () => build_exports,
@@ -4915,7 +5944,7 @@ async function bundleDone(bundleByPkg, bundle) {
4915
5944
  async function packTarball(packageJsonPath) {
4916
5945
  const pkgDir = path.dirname(packageJsonPath);
4917
5946
  const destination = await mkdtemp(path.join(tmpdir(), "tsdown-pack-"));
4918
- const { detect } = await import("./detect-DN3DXXYt-8gmDjZqp.js");
5947
+ const { detect } = await import("./detect-DN3DXXYt-TsZBbdhI.js");
4919
5948
  try {
4920
5949
  const detected = await detect({ cwd: pkgDir });
4921
5950
  debug$1("Detected package manager: %o", detected);
@@ -5055,7 +6084,7 @@ async function resolveInputOptions(config, format, configDeps, bundle, cjsDts, i
5055
6084
  if (nodeProtocol) plugins.push(NodeProtocolPlugin(nodeProtocol));
5056
6085
  if (config.pkg || config.deps.skipNodeModulesBundle) plugins.push(DepsPlugin(config, bundle));
5057
6086
  if (dts) {
5058
- const { dts: dtsPlugin } = await import("./dist-DTzJRoOQ.js");
6087
+ const { dts: dtsPlugin } = await import("./dist-wWM45aJq.js");
5059
6088
  const { cjsReexport: _, ...dtsPluginOptions } = dts;
5060
6089
  const options = {
5061
6090
  tsconfig,
@@ -5407,4 +6436,4 @@ async function buildSingle(config, configDeps, isDualFormat, clean, restart, don
5407
6436
  }
5408
6437
  }
5409
6438
  //#endregion
5410
- export { resolveUserConfig as a, mergeConfig as i, buildWithConfigs as n, build_5FURNVr0_exports as r, build$1 as t };
6439
+ export { filename_dts_to as _, resolveUserConfig as a, replaceTemplateName as b, RE_CSS as c, RE_JS as d, RE_JSON as f, RE_VUE as g, RE_TS as h, mergeConfig as i, RE_DTS as l, RE_ROLLDOWN_RUNTIME as m, buildWithConfigs as n, at as o, RE_NODE_MODULES$1 as p, build_5FURNVr0_exports as r, ee as s, build$1 as t, RE_DTS_MAP as u, filename_js_to_dts as v, resolveTemplateFn as x, filename_to_dts as y };