@batijs/cli 0.0.462 → 0.0.465
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/boilerplates/@batijs/auth0/files/$.env.js +5 -5
- package/dist/boilerplates/@batijs/auth0/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/authjs/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/authjs/files/global.d.ts +0 -2
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +8 -8
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/aws/files/cdk/bin/infrastructure.ts +3 -4
- package/dist/boilerplates/@batijs/aws/files/cdk/lib/vike-stack.ts +12 -12
- package/dist/boilerplates/@batijs/aws/files/tests/aws_handler.spec.ts +4 -3
- package/dist/boilerplates/@batijs/aws/types/cdk/lib/vike-stack.d.ts +1 -1
- package/dist/boilerplates/@batijs/biome/files/$biome.json.js +93 -0
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +6 -6
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/d1/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +0 -2
- package/dist/boilerplates/@batijs/d1/files/database/d1/helpers.ts +1 -0
- package/dist/boilerplates/@batijs/d1/files/global.d.ts +1 -3
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/drizzle/files/database/drizzle/db.ts +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/database/drizzle/queries/todos.ts +2 -1
- package/dist/boilerplates/@batijs/drizzle/files/drizzle.config.ts +1 -0
- package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/db.d.ts +1 -1
- package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/queries/todos.d.ts +1 -1
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/express/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/express/files/express-entry.ts +2 -2
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/fastify/files/fastify-entry.ts +4 -4
- package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/h3/files/h3-entry.ts +4 -3
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +9 -9
- package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/hono/files/entry_aws_lambda.ts +5 -5
- package/dist/boilerplates/@batijs/hono/files/hono-entry.node.ts +1 -1
- package/dist/boilerplates/@batijs/hono/files/hono-entry.ts +3 -3
- package/dist/boilerplates/@batijs/hono/types/entry_aws_lambda.d.ts +1 -1
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/mantine/files/components/Link.tsx +1 -1
- package/dist/boilerplates/@batijs/mantine/files/layouts/LayoutDefault.tsx +3 -3
- package/dist/boilerplates/@batijs/mantine/files/layouts/theme.ts +1 -1
- package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +3 -3
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/prisma/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/react/files/$package.json.js +9 -9
- package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/react/files/pages/+Head.tsx +12 -7
- package/dist/boilerplates/@batijs/react/files/pages/+config.ts +1 -1
- package/dist/boilerplates/@batijs/react/files/pages/star-wars/@id/+data.ts +1 -1
- package/dist/boilerplates/@batijs/react/files/pages/star-wars/index/+data.ts +1 -1
- package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +1 -1
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/react-sentry/files/pages/sentry/+Page.tsx +3 -2
- package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
- package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/sentry/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
- package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/shadcn-ui/files/lib/utils.ts +1 -1
- package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
- package/dist/boilerplates/@batijs/shared/files/package.json +2 -2
- package/dist/boilerplates/@batijs/shared/files/vite.config.ts +2 -1
- package/dist/boilerplates/@batijs/shared-db/files/server/db-middleware.ts +4 -3
- package/dist/boilerplates/@batijs/shared-db/types/server/db-middleware.d.ts +2 -2
- package/dist/boilerplates/@batijs/shared-no-db/files/database/todoItems.ts +1 -1
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/shared-server/files/server/create-todo-handler.ts +4 -3
- package/dist/boilerplates/@batijs/shared-server/files/server/vike-handler.ts +2 -1
- package/dist/boilerplates/@batijs/shared-server/types/server/create-todo-handler.d.ts +1 -1
- package/dist/boilerplates/@batijs/shared-todo/files/global.d.ts +3 -5
- package/dist/boilerplates/@batijs/shared-todo/files/pages/todo/+data.ts +3 -2
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/solid/files/pages/+Head.tsx +1 -5
- package/dist/boilerplates/@batijs/solid/files/pages/+config.ts +1 -1
- package/dist/boilerplates/@batijs/solid/files/pages/star-wars/@id/+data.ts +1 -1
- package/dist/boilerplates/@batijs/solid/files/pages/star-wars/index/+data.ts +1 -1
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/solid-sentry/files/pages/sentry/+Page.tsx +2 -3
- package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/sqlite/files/database/sqlite/db.ts +1 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/telefunc/files/global.d.ts +3 -5
- package/dist/boilerplates/@batijs/telefunc/files/pages/todo/TodoList.telefunc.ts +2 -2
- package/dist/boilerplates/@batijs/telefunc/files/server/telefunc-handler.ts +3 -3
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/trpc/files/server/trpc-handler.ts +4 -3
- package/dist/boilerplates/@batijs/trpc/files/trpc/server.ts +4 -4
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +1 -1
- package/dist/boilerplates/@batijs/trpc/types/trpc/server.d.ts +1 -1
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/ts-rest/files/server/ts-rest-handler.ts +8 -7
- package/dist/boilerplates/@batijs/ts-rest/types/server/ts-rest-handler.d.ts +1 -1
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
- package/dist/boilerplates/@batijs/vue/files/layouts/LayoutDefault.vue +1 -0
- package/dist/boilerplates/@batijs/vue/files/pages/+Head.vue +1 -1
- package/dist/boilerplates/@batijs/vue/files/pages/+config.ts +1 -1
- package/dist/boilerplates/@batijs/vue/files/pages/star-wars/@id/+data.ts +1 -1
- package/dist/boilerplates/@batijs/vue/files/pages/star-wars/index/+data.ts +1 -1
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/vue-sentry/files/sentry.browser.config.ts +3 -4
- package/dist/{chunk-EFIXXE6N.js → chunk-4TGDHMDE.js} +159734 -159712
- package/dist/index.js +5089 -5185
- package/dist/{jiti-EM3N2G3P-5LY37YR5.js → jiti-W5Y5D52V-VBLACVBV.js} +417 -417
- package/package.json +8 -8
- package/dist/boilerplates/@batijs/biome/files/biome.json +0 -29
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-IAWYWZSL.js";
|
|
11
11
|
import "./chunk-DHZ7AZKP.js";
|
|
12
12
|
|
|
13
|
-
// ../core/dist/jiti-
|
|
13
|
+
// ../core/dist/jiti-W5Y5D52V.js
|
|
14
14
|
import { createRequire as BATI_core_createRequire } from "module";
|
|
15
15
|
import { fileURLToPath as BATI_fileURLToPath } from "url";
|
|
16
16
|
import { dirname as BATI_dirname } from "path";
|
|
@@ -121,12 +121,12 @@ Defaulting to 2020, but this will stop working in the future.`)), A.ecmaVersion
|
|
|
121
121
|
return R.push(Z);
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
|
-
return D(A.onComment) && (A.onComment = /* @__PURE__ */ function(Z, fe) {
|
|
124
|
+
return D(A.onComment) && (A.onComment = /* @__PURE__ */ (function(Z, fe) {
|
|
125
125
|
return function(ge, Ce, Ke, tt, Je, mt) {
|
|
126
126
|
var dt = { type: ge ? "Block" : "Line", value: Ce, start: Ke, end: tt };
|
|
127
127
|
Z.locations && (dt.loc = new M(this, Je, mt)), Z.ranges && (dt.range = [Ke, tt]), fe.push(dt);
|
|
128
128
|
};
|
|
129
|
-
}(A, A.onComment)), A;
|
|
129
|
+
})(A, A.onComment)), A;
|
|
130
130
|
}
|
|
131
131
|
function de(s, A) {
|
|
132
132
|
return 2 | (s ? 4 : 0) | (A ? 8 : 0);
|
|
@@ -1302,10 +1302,10 @@ Defaulting to 2020, but this will stop working in the future.`)), A.ecmaVersion
|
|
|
1302
1302
|
}
|
|
1303
1303
|
this.options.ecmaVersion >= 15 && R && Z && this.raise(s.start, "Invalid regular expression flag");
|
|
1304
1304
|
}, Ye.validateRegExpPattern = function(s) {
|
|
1305
|
-
this.regexp_pattern(s), !s.switchN && this.options.ecmaVersion >= 9 && function(A) {
|
|
1305
|
+
this.regexp_pattern(s), !s.switchN && this.options.ecmaVersion >= 9 && (function(A) {
|
|
1306
1306
|
for (var I in A) return true;
|
|
1307
1307
|
return false;
|
|
1308
|
-
}(s.groupNames) && (s.switchN = true, this.regexp_pattern(s));
|
|
1308
|
+
})(s.groupNames) && (s.switchN = true, this.regexp_pattern(s));
|
|
1309
1309
|
}, Ye.regexp_pattern = function(s) {
|
|
1310
1310
|
s.pos = 0, s.lastIntValue = 0, s.lastStringValue = "", s.lastAssertionIsQuantifiable = false, s.numCapturingParens = 0, s.maxBackReference = 0, s.groupNames = /* @__PURE__ */ Object.create(null), s.backReferenceNames.length = 0, s.branchID = null, this.regexp_disjunction(s), s.pos !== s.source.length && (s.eat(41) && s.raise("Unmatched ')'"), (s.eat(93) || s.eat(125)) && s.raise("Lone quantifier brackets")), s.maxBackReference > s.numCapturingParens && s.raise("Invalid escape");
|
|
1311
1311
|
for (var A = 0, I = s.backReferenceNames; A < I.length; A += 1) {
|
|
@@ -1426,14 +1426,14 @@ Defaulting to 2020, but this will stop working in the future.`)), A.ecmaVersion
|
|
|
1426
1426
|
return false;
|
|
1427
1427
|
}, Ye.regexp_eatRegExpIdentifierStart = function(s) {
|
|
1428
1428
|
var A = s.pos, I = this.options.ecmaVersion >= 11, R = s.current(I);
|
|
1429
|
-
return s.advance(I), R === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(s, I) && (R = s.lastIntValue), function(Z) {
|
|
1429
|
+
return s.advance(I), R === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(s, I) && (R = s.lastIntValue), (function(Z) {
|
|
1430
1430
|
return g(Z, true) || Z === 36 || Z === 95;
|
|
1431
|
-
}(R) ? (s.lastIntValue = R, true) : (s.pos = A, false);
|
|
1431
|
+
})(R) ? (s.lastIntValue = R, true) : (s.pos = A, false);
|
|
1432
1432
|
}, Ye.regexp_eatRegExpIdentifierPart = function(s) {
|
|
1433
1433
|
var A = s.pos, I = this.options.ecmaVersion >= 11, R = s.current(I);
|
|
1434
|
-
return s.advance(I), R === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(s, I) && (R = s.lastIntValue), function(Z) {
|
|
1434
|
+
return s.advance(I), R === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(s, I) && (R = s.lastIntValue), (function(Z) {
|
|
1435
1435
|
return p(Z, true) || Z === 36 || Z === 95 || Z === 8204 || Z === 8205;
|
|
1436
|
-
}(R) ? (s.lastIntValue = R, true) : (s.pos = A, false);
|
|
1436
|
+
})(R) ? (s.lastIntValue = R, true) : (s.pos = A, false);
|
|
1437
1437
|
}, Ye.regexp_eatAtomEscape = function(s) {
|
|
1438
1438
|
return !!(this.regexp_eatBackReference(s) || this.regexp_eatCharacterClassEscape(s) || this.regexp_eatCharacterEscape(s) || s.switchN && this.regexp_eatKGroupName(s)) || (s.switchU && (s.current() === 99 && s.raise("Invalid unicode escape"), s.raise("Invalid escape")), false);
|
|
1439
1439
|
}, Ye.regexp_eatBackReference = function(s) {
|
|
@@ -1523,9 +1523,9 @@ Defaulting to 2020, but this will stop working in the future.`)), A.ecmaVersion
|
|
|
1523
1523
|
}
|
|
1524
1524
|
Ye.regexp_eatCharacterClassEscape = function(s) {
|
|
1525
1525
|
var A = s.current();
|
|
1526
|
-
if (/* @__PURE__ */ function(Z) {
|
|
1526
|
+
if (/* @__PURE__ */ (function(Z) {
|
|
1527
1527
|
return Z === 100 || Z === 68 || Z === 115 || Z === 83 || Z === 119 || Z === 87;
|
|
1528
|
-
}(A)) return s.lastIntValue = -1, s.advance(), 1;
|
|
1528
|
+
})(A)) return s.lastIntValue = -1, s.advance(), 1;
|
|
1529
1529
|
var I = false;
|
|
1530
1530
|
if (s.switchU && this.options.ecmaVersion >= 9 && ((I = A === 80) || A === 112)) {
|
|
1531
1531
|
var R;
|
|
@@ -1657,16 +1657,16 @@ Defaulting to 2020, but this will stop working in the future.`)), A.ecmaVersion
|
|
|
1657
1657
|
var A = s.pos;
|
|
1658
1658
|
if (s.eat(92)) return !(!this.regexp_eatCharacterEscape(s) && !this.regexp_eatClassSetReservedPunctuator(s)) || (s.eat(98) ? (s.lastIntValue = 8, true) : (s.pos = A, false));
|
|
1659
1659
|
var I = s.current();
|
|
1660
|
-
return !(I < 0 || I === s.lookahead() && function(R) {
|
|
1660
|
+
return !(I < 0 || I === s.lookahead() && (function(R) {
|
|
1661
1661
|
return R === 33 || R >= 35 && R <= 38 || R >= 42 && R <= 44 || R === 46 || R >= 58 && R <= 64 || R === 94 || R === 96 || R === 126;
|
|
1662
|
-
}(I)) && !function(R) {
|
|
1662
|
+
})(I)) && !(function(R) {
|
|
1663
1663
|
return R === 40 || R === 41 || R === 45 || R === 47 || R >= 91 && R <= 93 || R >= 123 && R <= 125;
|
|
1664
|
-
}(I) && (s.advance(), s.lastIntValue = I, true);
|
|
1664
|
+
})(I) && (s.advance(), s.lastIntValue = I, true);
|
|
1665
1665
|
}, Ye.regexp_eatClassSetReservedPunctuator = function(s) {
|
|
1666
1666
|
var A = s.current();
|
|
1667
|
-
return !!function(I) {
|
|
1667
|
+
return !!(function(I) {
|
|
1668
1668
|
return I === 33 || I === 35 || I === 37 || I === 38 || I === 44 || I === 45 || I >= 58 && I <= 62 || I === 64 || I === 96 || I === 126;
|
|
1669
|
-
}(A) && (s.lastIntValue = A, s.advance(), true);
|
|
1669
|
+
})(A) && (s.lastIntValue = A, s.advance(), true);
|
|
1670
1670
|
}, Ye.regexp_eatClassControlLetter = function(s) {
|
|
1671
1671
|
var A = s.current();
|
|
1672
1672
|
return !(!sn(A) && A !== 95) && (s.lastIntValue = A % 32, s.advance(), true);
|
|
@@ -2184,25 +2184,25 @@ Defaulting to 2020, but this will stop working in the future.`)), A.ecmaVersion
|
|
|
2184
2184
|
}
|
|
2185
2185
|
let jn = /* @__PURE__ */ new Map(), qn;
|
|
2186
2186
|
function En(s, A, I) {
|
|
2187
|
-
return jn.set(s, A), /* @__PURE__ */ function(R, Z) {
|
|
2187
|
+
return jn.set(s, A), /* @__PURE__ */ (function(R, Z) {
|
|
2188
2188
|
return fe;
|
|
2189
2189
|
function fe(...ge) {
|
|
2190
2190
|
let Ce = Error.stackTraceLimit;
|
|
2191
2191
|
Mn() && (Error.stackTraceLimit = 0);
|
|
2192
2192
|
let Ke = new R();
|
|
2193
2193
|
Mn() && (Error.stackTraceLimit = Ce);
|
|
2194
|
-
let tt = function(Je, mt, dt) {
|
|
2194
|
+
let tt = (function(Je, mt, dt) {
|
|
2195
2195
|
let Rt = jn.get(Je);
|
|
2196
2196
|
if (Et(Rt !== void 0, "expected `message` to be found"), typeof Rt == "function") return Et(Rt.length <= mt.length, `Code: ${Je}; The provided arguments length (${mt.length}) does not match the required ones (${Rt.length}).`), Reflect.apply(Rt, dt, mt);
|
|
2197
2197
|
let cn = /%[dfijoOs]/g, Mt = 0;
|
|
2198
2198
|
for (; cn.exec(Rt) !== null; ) Mt++;
|
|
2199
2199
|
return Et(Mt === mt.length, `Code: ${Je}; The provided arguments length (${mt.length}) does not match the required ones (${Mt}).`), mt.length === 0 ? Rt : (mt.unshift(Rt), Reflect.apply(Lt.format, null, mt));
|
|
2200
|
-
}(Z, ge, Ke);
|
|
2200
|
+
})(Z, ge, Ke);
|
|
2201
2201
|
return Object.defineProperties(Ke, { message: { value: tt, enumerable: false, writable: true, configurable: true }, toString: { value() {
|
|
2202
2202
|
return `${this.name} [${Z}]: ${this.message}`;
|
|
2203
2203
|
}, enumerable: false, writable: true, configurable: true } }), mi(Ke), Ke.code = Z, Ke;
|
|
2204
2204
|
}
|
|
2205
|
-
}(I, s);
|
|
2205
|
+
})(I, s);
|
|
2206
2206
|
}
|
|
2207
2207
|
function Mn() {
|
|
2208
2208
|
try {
|
|
@@ -2227,13 +2227,13 @@ Defaulting to 2020, but this will stop working in the future.`)), A.ecmaVersion
|
|
|
2227
2227
|
let Ce = Z.indexOf("object");
|
|
2228
2228
|
Ce !== -1 && (Z.slice(Ce, 1), fe.push("Object"));
|
|
2229
2229
|
}
|
|
2230
|
-
return Z.length > 0 && (R += `${Z.length > 1 ? "one of type" : "of type"} ${Kn(Z, "or")}`, (fe.length > 0 || ge.length > 0) && (R += " or ")), fe.length > 0 && (R += `an instance of ${Kn(fe, "or")}`, ge.length > 0 && (R += " or ")), ge.length > 0 && (ge.length > 1 ? R += `one of ${Kn(ge, "or")}` : (ge[0].toLowerCase() !== ge[0] && (R += "an "), R += `${ge[0]}`)), R += `. Received ${function(Ce) {
|
|
2230
|
+
return Z.length > 0 && (R += `${Z.length > 1 ? "one of type" : "of type"} ${Kn(Z, "or")}`, (fe.length > 0 || ge.length > 0) && (R += " or ")), fe.length > 0 && (R += `an instance of ${Kn(fe, "or")}`, ge.length > 0 && (R += " or ")), ge.length > 0 && (ge.length > 1 ? R += `one of ${Kn(ge, "or")}` : (ge[0].toLowerCase() !== ge[0] && (R += "an "), R += `${ge[0]}`)), R += `. Received ${(function(Ce) {
|
|
2231
2231
|
if (Ce == null) return String(Ce);
|
|
2232
2232
|
if (typeof Ce == "function" && Ce.name) return `function ${Ce.name}`;
|
|
2233
2233
|
if (typeof Ce == "object") return Ce.constructor && Ce.constructor.name ? `an instance of ${Ce.constructor.name}` : `${(0, Lt.inspect)(Ce, { depth: -1 })}`;
|
|
2234
2234
|
let Ke = (0, Lt.inspect)(Ce, { colors: false });
|
|
2235
2235
|
return Ke.length > 28 && (Ke = `${Ke.slice(0, 25)}...`), `type ${typeof Ce} (${Ke})`;
|
|
2236
|
-
}(I)}`, R;
|
|
2236
|
+
})(I)}`, R;
|
|
2237
2237
|
}, TypeError), Kt.ERR_INVALID_MODULE_SPECIFIER = En("ERR_INVALID_MODULE_SPECIFIER", (s, A, I = void 0) => `Invalid module "${s}" ${A}${I ? ` imported from ${I}` : ""}`, TypeError), Kt.ERR_INVALID_PACKAGE_CONFIG = En("ERR_INVALID_PACKAGE_CONFIG", (s, A, I) => `Invalid package config ${s}${A ? ` while importing ${A}` : ""}${I ? `. ${I}` : ""}`, Error), Kt.ERR_INVALID_PACKAGE_TARGET = En("ERR_INVALID_PACKAGE_TARGET", (s, A, I, R = false, Z = void 0) => {
|
|
2238
2238
|
let fe = typeof I == "string" && !R && I.length > 0 && !I.startsWith("./");
|
|
2239
2239
|
return A === "." ? (Et(R === false), `Invalid "exports" main target ${JSON.stringify(I)} defined in the package config ${s}package.json${Z ? ` imported from ${Z}` : ""}${fe ? '; targets must start with "./"' : ""}`) : `Invalid "${R ? "imports" : "exports"}" target ${JSON.stringify(I)} defined for '${A}' in the package config ${s}package.json${Z ? ` imported from ${Z}` : ""}${fe ? '; targets must start with "./"' : ""}`;
|
|
@@ -2241,10 +2241,10 @@ Defaulting to 2020, but this will stop working in the future.`)), A.ecmaVersion
|
|
|
2241
2241
|
let R = (0, Lt.inspect)(A);
|
|
2242
2242
|
return R.length > 128 && (R = `${R.slice(0, 128)}...`), `The ${s.includes(".") ? "property" : "argument"} '${s}' ${I}. Received ${R}`;
|
|
2243
2243
|
}, TypeError);
|
|
2244
|
-
let mi = function(s) {
|
|
2244
|
+
let mi = (function(s) {
|
|
2245
2245
|
let A = "__node_internal_" + s.name;
|
|
2246
2246
|
return Object.defineProperty(s, "name", { value: A }), s;
|
|
2247
|
-
}(function(s) {
|
|
2247
|
+
})(function(s) {
|
|
2248
2248
|
let A = Mn();
|
|
2249
2249
|
return A && (qn = Error.stackTraceLimit, Error.stackTraceLimit = Number.POSITIVE_INFINITY), Error.captureStackTrace(s), A && (Error.stackTraceLimit = qn), s;
|
|
2250
2250
|
}), un = {}.hasOwnProperty, { ERR_INVALID_PACKAGE_CONFIG: ri } = Kt, Gn = /* @__PURE__ */ new Map();
|
|
@@ -2286,11 +2286,11 @@ Defaulting to 2020, but this will stop working in the future.`)), A.ecmaVersion
|
|
|
2286
2286
|
}
|
|
2287
2287
|
let { ERR_UNKNOWN_FILE_EXTENSION: a } = Kt, m2 = {}.hasOwnProperty, _ = { __proto__: null, ".cjs": "commonjs", ".js": "module", ".json": "json", ".mjs": "module" }, k = { __proto__: null, "data:": function(s) {
|
|
2288
2288
|
let { 1: A } = /^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(s.pathname) || [null, null, null];
|
|
2289
|
-
return function(I) {
|
|
2289
|
+
return (function(I) {
|
|
2290
2290
|
return I && /\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(I) ? "module" : I === "application/json" ? "json" : null;
|
|
2291
|
-
}(A);
|
|
2291
|
+
})(A);
|
|
2292
2292
|
}, "file:": function(s, A, I) {
|
|
2293
|
-
let R = function(ge) {
|
|
2293
|
+
let R = (function(ge) {
|
|
2294
2294
|
let Ce = ge.pathname, Ke = Ce.length;
|
|
2295
2295
|
for (; Ke--; ) {
|
|
2296
2296
|
let tt = Ce.codePointAt(Ke);
|
|
@@ -2298,7 +2298,7 @@ Defaulting to 2020, but this will stop working in the future.`)), A.ecmaVersion
|
|
|
2298
2298
|
if (tt === 46) return Ce.codePointAt(Ke - 1) === 47 ? "" : Ce.slice(Ke);
|
|
2299
2299
|
}
|
|
2300
2300
|
return "";
|
|
2301
|
-
}(s);
|
|
2301
|
+
})(s);
|
|
2302
2302
|
if (R === ".js") {
|
|
2303
2303
|
let ge = n2(s);
|
|
2304
2304
|
return ge !== "none" ? ge : "commonjs";
|
|
@@ -2322,10 +2322,10 @@ Defaulting to 2020, but this will stop working in the future.`)), A.ecmaVersion
|
|
|
2322
2322
|
Nt.emitWarning(`Use of deprecated ${Ke ? "double slash" : "leading or trailing slash matching"} resolving "${s}" for module request "${A}" ${A === I ? "" : `matched to "${I}" `}in the "${Z ? "imports" : "exports"}" field module resolution of the package at ${Ce}${fe ? ` imported from ${(0, Be.fileURLToPath)(fe)}` : ""}.`, "DeprecationWarning", "DEP0166");
|
|
2323
2323
|
}
|
|
2324
2324
|
function x(s, A, I, R) {
|
|
2325
|
-
if (Nt.noDeprecation || function(Ke, tt) {
|
|
2325
|
+
if (Nt.noDeprecation || (function(Ke, tt) {
|
|
2326
2326
|
let Je = Ke.protocol;
|
|
2327
2327
|
return m2.call(k, Je) && k[Je](Ke, tt, true) || null;
|
|
2328
|
-
}(s, { parentURL: I.href }) !== "module") return;
|
|
2328
|
+
})(s, { parentURL: I.href }) !== "module") return;
|
|
2329
2329
|
let fe = (0, Be.fileURLToPath)(s.href), ge = (0, Be.fileURLToPath)(new Be.URL(".", A)), Ce = (0, Be.fileURLToPath)(I);
|
|
2330
2330
|
R ? jt.resolve(ge, R) !== fe && Nt.emitWarning(`Package ${ge} has a "main" field set to "${R}", excluding the full filename and extension to the resolved file at "${fe.slice(ge.length)}", imported from ${Ce}.
|
|
2331
2331
|
Automatic extension resolution of the "main" field is deprecated for ES modules.`, "DeprecationWarning", "DEP0151") : Nt.emitWarning(`No "main" or "exports" field defined in the package.json for ${ge} resolving the main entry point "${fe.slice(ge.length)}", imported from ${Ce}.
|
|
@@ -2385,10 +2385,10 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2385
2385
|
if (A === "") return tt;
|
|
2386
2386
|
if (zt.exec(A) !== null) {
|
|
2387
2387
|
let dt = fe ? I.replace("*", () => A) : I + A;
|
|
2388
|
-
Hn.exec(A) === null ? Ce || o2(fe ? ne.call(ni, s, () => A) : s, dt, I, R, ge, Z, false) : function(Rt, cn, Mt, rn, en) {
|
|
2388
|
+
Hn.exec(A) === null ? Ce || o2(fe ? ne.call(ni, s, () => A) : s, dt, I, R, ge, Z, false) : (function(Rt, cn, Mt, rn, en) {
|
|
2389
2389
|
let an = `request is not a valid match in pattern "${cn}" for the "${rn ? "imports" : "exports"}" resolution of ${(0, Be.fileURLToPath)(Mt)}`;
|
|
2390
2390
|
throw new be(Rt, an, en && (0, Be.fileURLToPath)(en));
|
|
2391
|
-
}(dt, I, R, ge, Z);
|
|
2391
|
+
})(dt, I, R, ge, Z);
|
|
2392
2392
|
}
|
|
2393
2393
|
return fe ? new Be.URL(ne.call(ni, tt.href, () => A)) : new Be.URL(A, tt);
|
|
2394
2394
|
}
|
|
@@ -2441,7 +2441,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2441
2441
|
}
|
|
2442
2442
|
function Vt(s, A, I, R, Z) {
|
|
2443
2443
|
let fe = I.exports;
|
|
2444
|
-
if (function(Je, mt, dt) {
|
|
2444
|
+
if ((function(Je, mt, dt) {
|
|
2445
2445
|
if (typeof Je == "string" || Array.isArray(Je)) return true;
|
|
2446
2446
|
if (typeof Je != "object" || Je === null) return false;
|
|
2447
2447
|
let Rt = Object.getOwnPropertyNames(Je), cn = false, Mt = 0, rn = -1;
|
|
@@ -2451,7 +2451,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2451
2451
|
else if (cn !== an) throw new Ue((0, Be.fileURLToPath)(mt), dt, `"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`);
|
|
2452
2452
|
}
|
|
2453
2453
|
return cn;
|
|
2454
|
-
}(fe, s, R) && (fe = { ".": fe }), Ut.call(fe, A) && !A.includes("*") && !A.endsWith("/")) {
|
|
2454
|
+
})(fe, s, R) && (fe = { ".": fe }), Ut.call(fe, A) && !A.includes("*") && !A.endsWith("/")) {
|
|
2455
2455
|
let Je = Tt(s, fe[A], "", A, R, false, false, false, Z);
|
|
2456
2456
|
if (Je == null) throw je(A, s, R);
|
|
2457
2457
|
return Je;
|
|
@@ -2500,19 +2500,19 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2500
2500
|
}
|
|
2501
2501
|
}
|
|
2502
2502
|
}
|
|
2503
|
-
throw function(fe, ge, Ce) {
|
|
2503
|
+
throw (function(fe, ge, Ce) {
|
|
2504
2504
|
return new ht(fe, ge && (0, Be.fileURLToPath)(new Be.URL(".", ge)), (0, Be.fileURLToPath)(Ce));
|
|
2505
|
-
}(s, R, A);
|
|
2505
|
+
})(s, R, A);
|
|
2506
2506
|
}
|
|
2507
2507
|
function Bn(s, A, I) {
|
|
2508
2508
|
if (Wt.builtinModules.includes(s)) return new Be.URL("node:" + s);
|
|
2509
|
-
let { packageName: R, packageSubpath: Z, isScoped: fe } = function(Je, mt) {
|
|
2509
|
+
let { packageName: R, packageSubpath: Z, isScoped: fe } = (function(Je, mt) {
|
|
2510
2510
|
let dt = Je.indexOf("/"), Rt = true, cn = false;
|
|
2511
2511
|
Je[0] === "@" && (cn = true, dt === -1 || Je.length === 0 ? Rt = false : dt = Je.indexOf("/", dt + 1));
|
|
2512
2512
|
let Mt = dt === -1 ? Je : Je.slice(0, dt);
|
|
2513
2513
|
if (si.exec(Mt) !== null && (Rt = false), !Rt) throw new be(Je, "is not a valid package name", (0, Be.fileURLToPath)(mt));
|
|
2514
2514
|
return { packageName: Mt, packageSubpath: "." + (dt === -1 ? "" : Je.slice(dt)), isScoped: cn };
|
|
2515
|
-
}(s, A), ge = X(A);
|
|
2515
|
+
})(s, A), ge = X(A);
|
|
2516
2516
|
if (ge.exists) {
|
|
2517
2517
|
let Je = (0, Be.pathToFileURL)(ge.pjsonPath);
|
|
2518
2518
|
if (ge.name === R && ge.exports !== void 0 && ge.exports !== null) return Vt(Je, Z, ge, A, I);
|
|
@@ -2531,11 +2531,11 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2531
2531
|
}
|
|
2532
2532
|
function Un(s, A, I, R) {
|
|
2533
2533
|
let Z = A.protocol, fe = Z === "data:" || Z === "http:" || Z === "https:", ge;
|
|
2534
|
-
if (function(Ce) {
|
|
2535
|
-
return Ce !== "" && (Ce[0] === "/" || function(Ke) {
|
|
2534
|
+
if ((function(Ce) {
|
|
2535
|
+
return Ce !== "" && (Ce[0] === "/" || (function(Ke) {
|
|
2536
2536
|
return Ke[0] === "." && (Ke.length === 1 || Ke[1] === "/" || Ke[1] === "." && (Ke.length === 2 || Ke[2] === "/"));
|
|
2537
|
-
}(Ce));
|
|
2538
|
-
}(s)) try {
|
|
2537
|
+
})(Ce));
|
|
2538
|
+
})(s)) try {
|
|
2539
2539
|
ge = new Be.URL(s, A);
|
|
2540
2540
|
} catch (Ce) {
|
|
2541
2541
|
let Ke = new ln(s, A);
|
|
@@ -2551,7 +2551,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2551
2551
|
}
|
|
2552
2552
|
ge = Bn(s, A, I);
|
|
2553
2553
|
}
|
|
2554
|
-
return Et(ge !== void 0, "expected to be defined"), ge.protocol !== "file:" ? ge : function(Ce, Ke) {
|
|
2554
|
+
return Et(ge !== void 0, "expected to be defined"), ge.protocol !== "file:" ? ge : (function(Ce, Ke) {
|
|
2555
2555
|
if (yi.exec(Ce.pathname) !== null) throw new be(Ce.pathname, 'must not include encoded "/" or "\\" characters', (0, Be.fileURLToPath)(Ke));
|
|
2556
2556
|
let tt;
|
|
2557
2557
|
try {
|
|
@@ -2574,7 +2574,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2574
2574
|
(Ce = (0, Be.pathToFileURL)(mt + (tt.endsWith(jt.sep) ? "/" : ""))).search = dt, Ce.hash = Rt;
|
|
2575
2575
|
}
|
|
2576
2576
|
return Ce;
|
|
2577
|
-
}(ge, A);
|
|
2577
|
+
})(ge, A);
|
|
2578
2578
|
}
|
|
2579
2579
|
function Pn(s) {
|
|
2580
2580
|
return typeof s != "string" || s.startsWith("file://") ? hn((0, Be.fileURLToPath)(s)) : hn(s);
|
|
@@ -2602,9 +2602,9 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2602
2602
|
} catch (ge) {
|
|
2603
2603
|
if (ge?.code !== "ENOENT") throw ge;
|
|
2604
2604
|
}
|
|
2605
|
-
let I = A.conditions ? new Set(A.conditions) : wt, R = (Array.isArray(A.url) ? A.url : [A.url]).filter(Boolean).map((ge) => new URL(function(Ce) {
|
|
2605
|
+
let I = A.conditions ? new Set(A.conditions) : wt, R = (Array.isArray(A.url) ? A.url : [A.url]).filter(Boolean).map((ge) => new URL((function(Ce) {
|
|
2606
2606
|
return typeof Ce != "string" && (Ce = Ce.toString()), /(node|data|http|https|file):/.test(Ce) ? Ce : vt.has(Ce) ? "node:" + Ce : "file://" + encodeURI(hn(Ce));
|
|
2607
|
-
}(ge.toString())));
|
|
2607
|
+
})(ge.toString())));
|
|
2608
2608
|
R.length === 0 && R.push(new URL(In(process.cwd())));
|
|
2609
2609
|
let Z = [...R];
|
|
2610
2610
|
for (let ge of R) ge.protocol === "file:" && Z.push(new URL("./", ge), new URL(fn(ge.pathname, "_index.js"), ge), new URL("node_modules", ge));
|
|
@@ -2640,9 +2640,9 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2640
2640
|
let Ti = /* @__PURE__ */ new Set(["/", "\\", void 0]), Li = Symbol.for("pathe:normalizedAlias"), sr = /[/\\]/;
|
|
2641
2641
|
function Fi(s) {
|
|
2642
2642
|
if (s[Li]) return s;
|
|
2643
|
-
let A = Object.fromEntries(Object.entries(s).sort(([I], [R]) => function(Z, fe) {
|
|
2643
|
+
let A = Object.fromEntries(Object.entries(s).sort(([I], [R]) => (function(Z, fe) {
|
|
2644
2644
|
return fe.split("/").length - Z.split("/").length;
|
|
2645
|
-
}(I, R)));
|
|
2645
|
+
})(I, R)));
|
|
2646
2646
|
for (let I in A) for (let R in A) R === I || I.startsWith(R) || A[I]?.startsWith(R) && Ti.has(A[I][R.length]) && (A[I] = A[R] + A[I].slice(R.length));
|
|
2647
2647
|
return Object.defineProperty(A, Li, { value: true, enumerable: false }), A;
|
|
2648
2648
|
}
|
|
@@ -2657,13 +2657,13 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2657
2657
|
}, ownKeys() {
|
|
2658
2658
|
let s = gi(true);
|
|
2659
2659
|
return Object.keys(s);
|
|
2660
|
-
} }), lr = typeof process < "u" && process.env && process.env.NODE_ENV || "", cr = [["APPVEYOR"], ["AWS_AMPLIFY", "AWS_APP_ID", { ci: true }], ["AZURE_PIPELINES", "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"], ["AZURE_STATIC", "INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"], ["APPCIRCLE", "AC_APPCIRCLE"], ["BAMBOO", "bamboo_planKey"], ["BITBUCKET", "BITBUCKET_COMMIT"], ["BITRISE", "BITRISE_IO"], ["BUDDY", "BUDDY_WORKSPACE_ID"], ["BUILDKITE"], ["CIRCLE", "CIRCLECI"], ["CIRRUS", "CIRRUS_CI"], ["CLOUDFLARE_PAGES", "CF_PAGES", { ci: true }], ["CLOUDFLARE_WORKERS", "WORKERS_CI", { ci: true }], ["CODEBUILD", "CODEBUILD_BUILD_ARN"], ["CODEFRESH", "CF_BUILD_ID"], ["DRONE"], ["DRONE", "DRONE_BUILD_EVENT"], ["DSARI"], ["GITHUB_ACTIONS"], ["GITLAB", "GITLAB_CI"], ["GITLAB", "CI_MERGE_REQUEST_ID"], ["GOCD", "GO_PIPELINE_LABEL"], ["LAYERCI"], ["HUDSON", "HUDSON_URL"], ["JENKINS", "JENKINS_URL"], ["MAGNUM"], ["NETLIFY"], ["NETLIFY", "NETLIFY_LOCAL", { ci: false }], ["NEVERCODE"], ["RENDER"], ["SAIL", "SAILCI"], ["SEMAPHORE"], ["SCREWDRIVER"], ["SHIPPABLE"], ["SOLANO", "TDDIUM"], ["STRIDER"], ["TEAMCITY", "TEAMCITY_VERSION"], ["TRAVIS"], ["VERCEL", "NOW_BUILDER"], ["VERCEL", "VERCEL", { ci: false }], ["VERCEL", "VERCEL_ENV", { ci: false }], ["APPCENTER", "APPCENTER_BUILD_ID"], ["CODESANDBOX", "CODESANDBOX_SSE", { ci: false }], ["CODESANDBOX", "CODESANDBOX_HOST", { ci: false }], ["STACKBLITZ"], ["STORMKIT"], ["CLEAVR"], ["ZEABUR"], ["CODESPHERE", "CODESPHERE_APP_ID", { ci: true }], ["RAILWAY", "RAILWAY_PROJECT_ID"], ["RAILWAY", "RAILWAY_SERVICE_ID"], ["DENO-DEPLOY", "DENO_DEPLOYMENT_ID"], ["FIREBASE_APP_HOSTING", "FIREBASE_APP_HOSTING", { ci: true }]], Mi = function() {
|
|
2660
|
+
} }), lr = typeof process < "u" && process.env && process.env.NODE_ENV || "", cr = [["APPVEYOR"], ["AWS_AMPLIFY", "AWS_APP_ID", { ci: true }], ["AZURE_PIPELINES", "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"], ["AZURE_STATIC", "INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"], ["APPCIRCLE", "AC_APPCIRCLE"], ["BAMBOO", "bamboo_planKey"], ["BITBUCKET", "BITBUCKET_COMMIT"], ["BITRISE", "BITRISE_IO"], ["BUDDY", "BUDDY_WORKSPACE_ID"], ["BUILDKITE"], ["CIRCLE", "CIRCLECI"], ["CIRRUS", "CIRRUS_CI"], ["CLOUDFLARE_PAGES", "CF_PAGES", { ci: true }], ["CLOUDFLARE_WORKERS", "WORKERS_CI", { ci: true }], ["CODEBUILD", "CODEBUILD_BUILD_ARN"], ["CODEFRESH", "CF_BUILD_ID"], ["DRONE"], ["DRONE", "DRONE_BUILD_EVENT"], ["DSARI"], ["GITHUB_ACTIONS"], ["GITLAB", "GITLAB_CI"], ["GITLAB", "CI_MERGE_REQUEST_ID"], ["GOCD", "GO_PIPELINE_LABEL"], ["LAYERCI"], ["HUDSON", "HUDSON_URL"], ["JENKINS", "JENKINS_URL"], ["MAGNUM"], ["NETLIFY"], ["NETLIFY", "NETLIFY_LOCAL", { ci: false }], ["NEVERCODE"], ["RENDER"], ["SAIL", "SAILCI"], ["SEMAPHORE"], ["SCREWDRIVER"], ["SHIPPABLE"], ["SOLANO", "TDDIUM"], ["STRIDER"], ["TEAMCITY", "TEAMCITY_VERSION"], ["TRAVIS"], ["VERCEL", "NOW_BUILDER"], ["VERCEL", "VERCEL", { ci: false }], ["VERCEL", "VERCEL_ENV", { ci: false }], ["APPCENTER", "APPCENTER_BUILD_ID"], ["CODESANDBOX", "CODESANDBOX_SSE", { ci: false }], ["CODESANDBOX", "CODESANDBOX_HOST", { ci: false }], ["STACKBLITZ"], ["STORMKIT"], ["CLEAVR"], ["ZEABUR"], ["CODESPHERE", "CODESPHERE_APP_ID", { ci: true }], ["RAILWAY", "RAILWAY_PROJECT_ID"], ["RAILWAY", "RAILWAY_SERVICE_ID"], ["DENO-DEPLOY", "DENO_DEPLOYMENT_ID"], ["FIREBASE_APP_HOSTING", "FIREBASE_APP_HOSTING", { ci: true }]], Mi = (function() {
|
|
2661
2661
|
if (globalThis.process?.env) for (let s of cr) {
|
|
2662
2662
|
let A = s[1] || s[0];
|
|
2663
2663
|
if (globalThis.process?.env[A]) return { name: s[0].toLowerCase(), ...s[2] };
|
|
2664
2664
|
}
|
|
2665
2665
|
return globalThis.process?.env?.SHELL === "/bin/jsh" && globalThis.process?.versions?.webcontainer ? { name: "stackblitz", ci: false } : { name: "", ci: false };
|
|
2666
|
-
}();
|
|
2666
|
+
})();
|
|
2667
2667
|
Mi.name;
|
|
2668
2668
|
function ai(s) {
|
|
2669
2669
|
return !!s && s !== "false";
|
|
@@ -2694,14 +2694,14 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2694
2694
|
}
|
|
2695
2695
|
}
|
|
2696
2696
|
function Ki(s, A = 8) {
|
|
2697
|
-
return (function() {
|
|
2697
|
+
return ((function() {
|
|
2698
2698
|
if (pi !== void 0) return pi;
|
|
2699
2699
|
try {
|
|
2700
2700
|
return pi = !!xi().getFips?.(), pi;
|
|
2701
2701
|
} catch {
|
|
2702
2702
|
return pi = false, pi;
|
|
2703
2703
|
}
|
|
2704
|
-
}() ? xi().createHash("sha256") : xi().createHash("md5")).update(s).digest("hex").slice(0, A);
|
|
2704
|
+
})() ? xi().createHash("sha256") : xi().createHash("md5")).update(s).digest("hex").slice(0, A);
|
|
2705
2705
|
}
|
|
2706
2706
|
let Gi = { true: ui("true"), false: Pi("false"), "[rebuild]": Pi("[rebuild]"), "[esm]": $i("[esm]"), "[cjs]": ui("[cjs]"), "[import]": $i("[import]"), "[require]": ui("[require]"), "[native]": vr("[native]"), "[transpile]": Pi("[transpile]"), "[fallback]": Vi("[fallback]"), "[unknown]": Vi("[unknown]"), "[hit]": ui("[hit]"), "[miss]": Pi("[miss]"), "[json]": ui("[json]"), "[data]": ui("[data]") };
|
|
2707
2707
|
function Tn(s, ...A) {
|
|
@@ -2710,7 +2710,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2710
2710
|
console.log(Tr(["[jiti]", ...A.map((R) => R in Gi ? Gi[R] : typeof R != "string" ? JSON.stringify(R) : R.replace(I, "."))].join(" ")));
|
|
2711
2711
|
}
|
|
2712
2712
|
function oi(s, A) {
|
|
2713
|
-
return s.opts.interopDefault ? function(I) {
|
|
2713
|
+
return s.opts.interopDefault ? (function(I) {
|
|
2714
2714
|
let R = typeof I;
|
|
2715
2715
|
if (I === null || R !== "object" && R !== "function") return I;
|
|
2716
2716
|
let Z = I.default, fe = typeof Z, ge = Z == null, Ce = fe === "object" || fe === "function";
|
|
@@ -2723,7 +2723,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2723
2723
|
return typeof mt == "function" && (mt = mt.bind(Z)), mt;
|
|
2724
2724
|
}
|
|
2725
2725
|
}, apply: (Ke, tt, Je) => typeof Ke == "function" ? Reflect.apply(Ke, tt, Je) : fe === "function" ? Reflect.apply(Z, tt, Je) : void 0 });
|
|
2726
|
-
}(A) : A;
|
|
2726
|
+
})(A) : A;
|
|
2727
2727
|
}
|
|
2728
2728
|
let pi;
|
|
2729
2729
|
function ei(s, A) {
|
|
@@ -2742,7 +2742,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2742
2742
|
function Ei(s, A, I) {
|
|
2743
2743
|
let R, Z;
|
|
2744
2744
|
if (s.isNativeRe.test(A)) return A;
|
|
2745
|
-
s.alias && (A = function(Ce, Ke) {
|
|
2745
|
+
s.alias && (A = (function(Ce, Ke) {
|
|
2746
2746
|
let tt = Nn(Ce);
|
|
2747
2747
|
Ke = Fi(Ke);
|
|
2748
2748
|
for (let [Je, mt] of Object.entries(Ke)) {
|
|
@@ -2751,7 +2751,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2751
2751
|
if (Ri(tt[dt.length])) return xn(mt, tt.slice(Je.length));
|
|
2752
2752
|
}
|
|
2753
2753
|
return tt;
|
|
2754
|
-
}(A, s.alias));
|
|
2754
|
+
})(A, s.alias));
|
|
2755
2755
|
let fe = I?.parentURL || s.url;
|
|
2756
2756
|
Wi(fe) && (fe = xn(fe, "_index.js"));
|
|
2757
2757
|
let ge = (I?.async ? [I?.conditions, ["node", "import"], ["node", "require"]] : [I?.conditions, ["node", "require"], ["node", "import"]]).filter(Boolean);
|
|
@@ -2817,20 +2817,20 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2817
2817
|
return Ni(s, ge, { id: A, filename: Z, ext: fe, cache: R, async: I.async });
|
|
2818
2818
|
}
|
|
2819
2819
|
function hi(s, A, I) {
|
|
2820
|
-
return I && s.nativeImport ? s.nativeImport(function(R) {
|
|
2820
|
+
return I && s.nativeImport ? s.nativeImport((function(R) {
|
|
2821
2821
|
return Bi && bt(R) ? In(R) : R;
|
|
2822
|
-
}(A)).then((R) => oi(s, R)) : oi(s, s.nativeRequire(A));
|
|
2822
|
+
})(A)).then((R) => oi(s, R)) : oi(s, s.nativeRequire(A));
|
|
2823
2823
|
}
|
|
2824
2824
|
let Ar = "9";
|
|
2825
2825
|
function _r(s, A, I) {
|
|
2826
2826
|
if (!s.opts.fsCache || !A.filename) return I();
|
|
2827
2827
|
let R = ` /* v${Ar}-${Ki(A.source, 16)} */
|
|
2828
|
-
`, Z = `${It(_t(A.filename))}-${function(Ke) {
|
|
2828
|
+
`, Z = `${It(_t(A.filename))}-${(function(Ke) {
|
|
2829
2829
|
let tt = Ke.split(sr).pop();
|
|
2830
2830
|
if (!tt) return;
|
|
2831
2831
|
let Je = tt.lastIndexOf(".");
|
|
2832
2832
|
return Je <= 0 ? tt : tt.slice(0, Je);
|
|
2833
|
-
}(A.filename)}` + (s.opts.sourceMaps ? "+map" : "") + (A.interopDefault ? ".i" : "") + `.${Ki(A.filename)}` + (A.async ? ".mjs" : ".cjs");
|
|
2833
|
+
})(A.filename)}` + (s.opts.sourceMaps ? "+map" : "") + (A.interopDefault ? ".i" : "") + `.${Ki(A.filename)}` + (A.async ? ".mjs" : ".cjs");
|
|
2834
2834
|
A.jsx && A.filename.endsWith("x") && (Z += "x");
|
|
2835
2835
|
let fe = s.opts.fsCache, ge = xn(fe, Z);
|
|
2836
2836
|
if (!s.opts.rebuildFsCache && (0, Zt.existsSync)(ge)) {
|
|
@@ -2842,7 +2842,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2842
2842
|
return Ce.includes("__JITI_ERROR__") || ((0, Zt.writeFileSync)(ge, Ce + R, "utf8"), Tn(s, "[cache]", "[store]", A.filename, "~>", ge)), Ce;
|
|
2843
2843
|
}
|
|
2844
2844
|
function xr(s) {
|
|
2845
|
-
if (s.opts.fsCache === true && (s.opts.fsCache = function(A) {
|
|
2845
|
+
if (s.opts.fsCache === true && (s.opts.fsCache = (function(A) {
|
|
2846
2846
|
let I = A.filename && ot(A.filename, "../node_modules");
|
|
2847
2847
|
if (I && (0, Zt.existsSync)(I)) return xn(I, ".cache/jiti");
|
|
2848
2848
|
let R = (0, ee.tmpdir)();
|
|
@@ -2851,14 +2851,14 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2851
2851
|
delete process.env.TMPDIR, R = (0, ee.tmpdir)(), process.env.TMPDIR = Z;
|
|
2852
2852
|
}
|
|
2853
2853
|
return xn(R, "jiti");
|
|
2854
|
-
}(s)), s.opts.fsCache) try {
|
|
2855
|
-
if ((0, Zt.mkdirSync)(s.opts.fsCache, { recursive: true }), !function(A) {
|
|
2854
|
+
})(s)), s.opts.fsCache) try {
|
|
2855
|
+
if ((0, Zt.mkdirSync)(s.opts.fsCache, { recursive: true }), !(function(A) {
|
|
2856
2856
|
try {
|
|
2857
2857
|
return (0, Zt.accessSync)(A, Zt.constants.W_OK), true;
|
|
2858
2858
|
} catch {
|
|
2859
2859
|
return false;
|
|
2860
2860
|
}
|
|
2861
|
-
}(s.opts.fsCache)) throw new Error("directory is not writable!");
|
|
2861
|
+
})(s.opts.fsCache)) throw new Error("directory is not writable!");
|
|
2862
2862
|
} catch (A) {
|
|
2863
2863
|
Tn(s, "Error creating cache directory at ", s.opts.fsCache, A), s.opts.fsCache = false;
|
|
2864
2864
|
}
|
|
@@ -2871,7 +2871,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2871
2871
|
return I.startsWith("#!") && (I = "// " + I), I;
|
|
2872
2872
|
}
|
|
2873
2873
|
function Ni(s, A, I = {}) {
|
|
2874
|
-
let R = I.id || (I.filename ? It(I.filename) : `_jitiEval.${I.ext || (I.async ? "mjs" : "js")}`), Z = I.filename || Ei(s, R, { async: I.async }), fe = I.ext || gt(Z), ge = I.cache || s.parentCache || {}, Ce = /\.[cm]?tsx?$/.test(fe), Ke = fe === ".mjs" || fe === ".js" && function(an) {
|
|
2874
|
+
let R = I.id || (I.filename ? It(I.filename) : `_jitiEval.${I.ext || (I.async ? "mjs" : "js")}`), Z = I.filename || Ei(s, R, { async: I.async }), fe = I.ext || gt(Z), ge = I.cache || s.parentCache || {}, Ce = /\.[cm]?tsx?$/.test(fe), Ke = fe === ".mjs" || fe === ".js" && (function(an) {
|
|
2875
2875
|
for (; an && an !== "." && an !== "/"; ) {
|
|
2876
2876
|
an = xn(an, "..");
|
|
2877
2877
|
try {
|
|
@@ -2884,7 +2884,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2884
2884
|
} catch {
|
|
2885
2885
|
}
|
|
2886
2886
|
}
|
|
2887
|
-
}(Z)?.type === "module", tt = fe === ".cjs", Je = I.forceTranspile ?? (!tt && !(Ke && I.async) && (Ce || Ke || s.isTransformRe.test(Z) || Ln(A))), mt = Yi.performance.now();
|
|
2887
|
+
})(Z)?.type === "module", tt = fe === ".cjs", Je = I.forceTranspile ?? (!tt && !(Ke && I.async) && (Ce || Ke || s.isTransformRe.test(Z) || Ln(A))), mt = Yi.performance.now();
|
|
2888
2888
|
if (Je) {
|
|
2889
2889
|
A = Di(s, { filename: Z, source: A, ts: Ce, async: I.async ?? false, jsx: s.opts.jsx });
|
|
2890
2890
|
let an = Math.round(1e3 * (Yi.performance.now() - mt)) / 1e3;
|
|
@@ -2901,17 +2901,17 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2901
2901
|
dt.filename = Z, s.parentModule && (dt.parent = s.parentModule, Array.isArray(s.parentModule.children) && !s.parentModule.children.includes(dt) && s.parentModule.children.push(dt));
|
|
2902
2902
|
let Rt = Xi(Z, s.opts, { parentModule: dt, parentCache: ge, nativeImport: s.nativeImport, onError: s.onError, createRequire: s.createRequire }, true), cn;
|
|
2903
2903
|
dt.require = Rt, dt.path = _t(Z), dt.paths = Wt.Module._nodeModulePaths(dt.path), ge[Z] = dt, s.opts.moduleCache && (s.nativeRequire.cache[Z] = dt);
|
|
2904
|
-
let Mt = function(an, li) {
|
|
2904
|
+
let Mt = (function(an, li) {
|
|
2905
2905
|
return `(${li?.async ? "async " : ""}function (exports, require, module, __filename, __dirname, jitiImport, jitiESMResolve) { ${an}
|
|
2906
2906
|
});`;
|
|
2907
|
-
}(A, { async: I.async });
|
|
2907
|
+
})(A, { async: I.async });
|
|
2908
2908
|
try {
|
|
2909
2909
|
cn = Pr().runInThisContext(Mt, { filename: Z, lineOffset: 0, displayErrors: false });
|
|
2910
2910
|
} catch (an) {
|
|
2911
|
-
an.name === "SyntaxError" && I.async && s.nativeImport ? (Tn(s, "[esm]", "[import]", "[fallback]", Z), cn = function(li, Oi) {
|
|
2911
|
+
an.name === "SyntaxError" && I.async && s.nativeImport ? (Tn(s, "[esm]", "[import]", "[fallback]", Z), cn = (function(li, Oi) {
|
|
2912
2912
|
let ki = `data:text/javascript;base64,${Buffer.from(`export default ${li}`).toString("base64")}`;
|
|
2913
2913
|
return (...ji) => Oi(ki).then((Ai) => Ai.default(...ji));
|
|
2914
|
-
}(Mt, s.nativeImport)) : (s.opts.moduleCache && delete s.nativeRequire.cache[Z], s.onError(an));
|
|
2914
|
+
})(Mt, s.nativeImport)) : (s.opts.moduleCache && delete s.nativeRequire.cache[Z], s.onError(an));
|
|
2915
2915
|
}
|
|
2916
2916
|
let rn;
|
|
2917
2917
|
try {
|
|
@@ -2931,12 +2931,12 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2931
2931
|
}
|
|
2932
2932
|
let Cr = (0, ee.platform)() === "win32";
|
|
2933
2933
|
function Xi(s, A = {}, I, R = false) {
|
|
2934
|
-
let Z = R ? A : function(Mt) {
|
|
2934
|
+
let Z = R ? A : (function(Mt) {
|
|
2935
2935
|
let rn = { fsCache: ei("JITI_FS_CACHE", ei("JITI_CACHE", true)), rebuildFsCache: ei("JITI_REBUILD_FS_CACHE", false), moduleCache: ei("JITI_MODULE_CACHE", ei("JITI_REQUIRE_CACHE", true)), debug: ei("JITI_DEBUG", false), sourceMaps: ei("JITI_SOURCE_MAPS", false), interopDefault: ei("JITI_INTEROP_DEFAULT", true), extensions: di("JITI_EXTENSIONS", [".js", ".mjs", ".cjs", ".ts", ".tsx", ".mts", ".cts", ".mtsx", ".ctsx"]), alias: di("JITI_ALIAS", {}), nativeModules: di("JITI_NATIVE_MODULES", []), transformModules: di("JITI_TRANSFORM_MODULES", []), tryNative: di("JITI_TRY_NATIVE", "Bun" in globalThis), jsx: ei("JITI_JSX", false) };
|
|
2936
2936
|
rn.jsx && rn.extensions.push(".jsx", ".tsx");
|
|
2937
2937
|
let en = {};
|
|
2938
2938
|
return Mt.cache !== void 0 && (en.fsCache = Mt.cache), Mt.requireCache !== void 0 && (en.moduleCache = Mt.requireCache), { ...rn, ...en, ...Mt };
|
|
2939
|
-
}(A), fe = Z.alias && Object.keys(Z.alias).length > 0 ? Fi(Z.alias || {}) : void 0, ge = ["typescript", "jiti", ...Z.nativeModules || []], Ce = new RegExp(`node_modules/(${ge.map((Mt) => bi(Mt)).join("|")})/`), Ke = [...Z.transformModules || []], tt = new RegExp(`node_modules/(${Ke.map((Mt) => bi(Mt)).join("|")})/`);
|
|
2939
|
+
})(A), fe = Z.alias && Object.keys(Z.alias).length > 0 ? Fi(Z.alias || {}) : void 0, ge = ["typescript", "jiti", ...Z.nativeModules || []], Ce = new RegExp(`node_modules/(${ge.map((Mt) => bi(Mt)).join("|")})/`), Ke = [...Z.transformModules || []], tt = new RegExp(`node_modules/(${Ke.map((Mt) => bi(Mt)).join("|")})/`);
|
|
2940
2940
|
s || (s = process.cwd()), !R && Wi(s) && (s = xn(s, "_index.js"));
|
|
2941
2941
|
let Je = In(s), mt = [...Z.extensions].filter((Mt) => Mt !== ".js"), dt = I.createRequire(Cr ? s.replace(/\//g, "\\") : s), Rt = { filename: s, url: Je, opts: Z, alias: fe, nativeModules: ge, transformModules: Ke, isNativeRe: Ce, isTransformRe: tt, additionalExts: mt, nativeRequire: dt, onError: I.onError, parentModule: I.parentModule, parentCache: I.parentCache, nativeImport: I.nativeImport, createRequire: I.createRequire };
|
|
2942
2942
|
return R || Tn(Rt, "[init]", ...[["version:", ar.rE], ["module-cache:", Z.moduleCache], ["fs-cache:", Z.fsCache], ["rebuild-fs-cache:", Z.rebuildFsCache], ["interop-defaults:", Z.interopDefault]].flat()), R || xr(Rt), Object.assign(function(Mt) {
|
|
@@ -2959,7 +2959,7 @@ var nr = o((Rr, tr) => {
|
|
|
2959
2959
|
"use strict";
|
|
2960
2960
|
(() => {
|
|
2961
2961
|
var Qn = { "./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js": function(ee, e, E) {
|
|
2962
|
-
ee.exports = function(r, l) {
|
|
2962
|
+
ee.exports = (function(r, l) {
|
|
2963
2963
|
"use strict";
|
|
2964
2964
|
let d = i("", -1, -1, "", null, false), t = [];
|
|
2965
2965
|
function i(S, b, C, N, F, K) {
|
|
@@ -3024,7 +3024,7 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
3024
3024
|
return new y(g(F), N);
|
|
3025
3025
|
}
|
|
3026
3026
|
return P;
|
|
3027
|
-
}(E("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.29/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"), E("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.12/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"));
|
|
3027
|
+
})(E("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.29/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"), E("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.12/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"));
|
|
3028
3028
|
}, "./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/caching.js": (ee, e, E) => {
|
|
3029
3029
|
"use strict";
|
|
3030
3030
|
function r() {
|
|
@@ -3052,7 +3052,7 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
3052
3052
|
function T(y, P) {
|
|
3053
3053
|
let S = new y(), b = new y(), C = new y();
|
|
3054
3054
|
return function* (N, F) {
|
|
3055
|
-
let K = yield* (0, l.isAsync)(), L = K ? b : S, w = yield* function* (D, W, q2, re, le) {
|
|
3055
|
+
let K = yield* (0, l.isAsync)(), L = K ? b : S, w = yield* (function* (D, W, q2, re, le) {
|
|
3056
3056
|
let ie = yield* g(W, re, le);
|
|
3057
3057
|
if (ie.valid) return ie;
|
|
3058
3058
|
if (D) {
|
|
@@ -3060,14 +3060,14 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
3060
3060
|
if (M.valid) return { valid: true, value: yield* (0, l.waitFor)(M.value.promise) };
|
|
3061
3061
|
}
|
|
3062
3062
|
return { valid: false, value: null };
|
|
3063
|
-
}(K, L, C, N, F);
|
|
3063
|
+
})(K, L, C, N, F);
|
|
3064
3064
|
if (w.valid) return w.value;
|
|
3065
3065
|
let O = new h(F), z = P(N, O), te, $;
|
|
3066
3066
|
return $ = (0, d.isIterableIterator)(z) ? yield* (0, l.onFirstPause)(z, () => {
|
|
3067
|
-
te = function(D, W, q2) {
|
|
3067
|
+
te = (function(D, W, q2) {
|
|
3068
3068
|
let re = new f();
|
|
3069
3069
|
return p(W, D, q2, re), re;
|
|
3070
|
-
}(O, C, N);
|
|
3070
|
+
})(O, C, N);
|
|
3071
3071
|
}) : z, p(L, O, N, $), te && (C.delete(N), te.release($)), $;
|
|
3072
3072
|
};
|
|
3073
3073
|
}
|
|
@@ -3097,13 +3097,13 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
3097
3097
|
this._active = true, this._never = false, this._forever = false, this._invalidate = false, this._configured = false, this._pairs = [], this._data = void 0, this._data = P;
|
|
3098
3098
|
}
|
|
3099
3099
|
simple() {
|
|
3100
|
-
return function(P) {
|
|
3100
|
+
return (function(P) {
|
|
3101
3101
|
function S(b) {
|
|
3102
3102
|
if (typeof b != "boolean") return P.using(() => u(b()));
|
|
3103
3103
|
b ? P.forever() : P.never();
|
|
3104
3104
|
}
|
|
3105
3105
|
return S.forever = () => P.forever(), S.never = () => P.never(), S.using = (b) => P.using(() => u(b())), S.invalidate = (b) => P.invalidate(() => u(b())), S;
|
|
3106
|
-
}(this);
|
|
3106
|
+
})(this);
|
|
3107
3107
|
}
|
|
3108
3108
|
mode() {
|
|
3109
3109
|
return this._never ? "never" : this._forever ? "forever" : this._invalidate ? "invalidate" : "valid";
|
|
@@ -3188,13 +3188,13 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
3188
3188
|
let Re, at, ut = false, pt = B();
|
|
3189
3189
|
if ((Fe === true || Fe === void 0) && typeof H.filename == "string") {
|
|
3190
3190
|
let rt = yield* (0, T.findPackageData)(H.filename);
|
|
3191
|
-
if (rt && function(Ve, Ne, ae, _e) {
|
|
3191
|
+
if (rt && (function(Ve, Ne, ae, _e) {
|
|
3192
3192
|
if (typeof ae == "boolean") return ae;
|
|
3193
3193
|
let $e = Ve.root;
|
|
3194
3194
|
if (ae === void 0) return Ne.directories.includes($e);
|
|
3195
3195
|
let st = ae;
|
|
3196
3196
|
return Array.isArray(st) || (st = [st]), st = st.map((et) => typeof et == "string" ? r().resolve(_e, et) : et), st.length === 1 && st[0] === $e ? Ne.directories.includes($e) : st.some((et) => (typeof et == "string" && (et = (0, t.default)(et, _e)), Ne.directories.some((oe) => ve(et, _e, oe, Ve))));
|
|
3197
|
-
}(H, rt, Pe, ke)) {
|
|
3197
|
+
})(H, rt, Pe, ke)) {
|
|
3198
3198
|
if ({ ignore: Re, config: at } = yield* (0, T.findRelativeConfig)(rt, H.envName, H.caller), Re && pt.files.add(Re.filepath), Re && ye(H, Re.ignore, null, Re.dirname) && (ut = true), at && !ut) {
|
|
3199
3199
|
let Ve = C(at), Ne = new i.ConfigPrinter(), ae = yield* L(Ve, H, void 0, Ne);
|
|
3200
3200
|
ae ? (Se = yield* Ne.output(), ie(pt, ae)) : ut = true;
|
|
@@ -3212,14 +3212,14 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
3212
3212
|
};
|
|
3213
3213
|
var d = E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/validation/options.js"), t = E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/pattern-to-regex.js"), i = E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/printer.js"), c = E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"), v = E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/config-error.js"), T = E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/index.js"), g = E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/caching.js"), p = E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/config-descriptors.js");
|
|
3214
3214
|
let h = l()("babel:config:config-chain"), u = e.buildPresetChainWalker = re({ root: (ce) => f(ce), env: (ce, H) => y(ce)(H), overrides: (ce, H) => P(ce)(H), overridesEnv: (ce, H, me) => S(ce)(H)(me), createLogger: () => () => {
|
|
3215
|
-
} }), f = (0, g.makeWeakCacheSync)((ce) => $(ce, ce.alias, p.createUncachedDescriptors)), y = (0, g.makeWeakCacheSync)((ce) => (0, g.makeStrongCacheSync)((H) => D(ce, ce.alias, p.createUncachedDescriptors, H))), P = (0, g.makeWeakCacheSync)((ce) => (0, g.makeStrongCacheSync)((H) => W(ce, ce.alias, p.createUncachedDescriptors, H))), S = (0, g.makeWeakCacheSync)((ce) => (0, g.makeStrongCacheSync)((H) => (0, g.makeStrongCacheSync)((me) => q2(ce, ce.alias, p.createUncachedDescriptors, H, me)))), b = (0, g.makeWeakCacheSync)((ce) => ({ filepath: ce.filepath, dirname: ce.dirname, options: (0, d.validate)("configfile", ce.options, ce.filepath) })), C = (0, g.makeWeakCacheSync)((ce) => ({ filepath: ce.filepath, dirname: ce.dirname, options: (0, d.validate)("babelrcfile", ce.options, ce.filepath) })), N = (0, g.makeWeakCacheSync)((ce) => ({ filepath: ce.filepath, dirname: ce.dirname, options: (0, d.validate)("extendsfile", ce.options, ce.filepath) })), F = re({ root: (ce) => $(ce, "base", p.createCachedDescriptors), env: (ce, H) => D(ce, "base", p.createCachedDescriptors, H), overrides: (ce, H) => W(ce, "base", p.createCachedDescriptors, H), overridesEnv: (ce, H, me) => q2(ce, "base", p.createCachedDescriptors, H, me), createLogger: (ce, H, me) => function(Se, pe, j) {
|
|
3215
|
+
} }), f = (0, g.makeWeakCacheSync)((ce) => $(ce, ce.alias, p.createUncachedDescriptors)), y = (0, g.makeWeakCacheSync)((ce) => (0, g.makeStrongCacheSync)((H) => D(ce, ce.alias, p.createUncachedDescriptors, H))), P = (0, g.makeWeakCacheSync)((ce) => (0, g.makeStrongCacheSync)((H) => W(ce, ce.alias, p.createUncachedDescriptors, H))), S = (0, g.makeWeakCacheSync)((ce) => (0, g.makeStrongCacheSync)((H) => (0, g.makeStrongCacheSync)((me) => q2(ce, ce.alias, p.createUncachedDescriptors, H, me)))), b = (0, g.makeWeakCacheSync)((ce) => ({ filepath: ce.filepath, dirname: ce.dirname, options: (0, d.validate)("configfile", ce.options, ce.filepath) })), C = (0, g.makeWeakCacheSync)((ce) => ({ filepath: ce.filepath, dirname: ce.dirname, options: (0, d.validate)("babelrcfile", ce.options, ce.filepath) })), N = (0, g.makeWeakCacheSync)((ce) => ({ filepath: ce.filepath, dirname: ce.dirname, options: (0, d.validate)("extendsfile", ce.options, ce.filepath) })), F = re({ root: (ce) => $(ce, "base", p.createCachedDescriptors), env: (ce, H) => D(ce, "base", p.createCachedDescriptors, H), overrides: (ce, H) => W(ce, "base", p.createCachedDescriptors, H), overridesEnv: (ce, H, me) => q2(ce, "base", p.createCachedDescriptors, H, me), createLogger: (ce, H, me) => (function(Se, pe, j) {
|
|
3216
3216
|
var Te;
|
|
3217
3217
|
return j ? j.configure(pe.showConfig, i.ChainFormatter.Programmatic, { callerName: (Te = pe.caller) == null ? void 0 : Te.name }) : () => {
|
|
3218
3218
|
};
|
|
3219
|
-
}(0, H, me) }), K = re({ root: (ce) => w(ce), env: (ce, H) => O(ce)(H), overrides: (ce, H) => z(ce)(H), overridesEnv: (ce, H, me) => te(ce)(H)(me), createLogger: (ce, H, me) => function(Se, pe, j) {
|
|
3219
|
+
})(0, H, me) }), K = re({ root: (ce) => w(ce), env: (ce, H) => O(ce)(H), overrides: (ce, H) => z(ce)(H), overridesEnv: (ce, H, me) => te(ce)(H)(me), createLogger: (ce, H, me) => (function(Se, pe, j) {
|
|
3220
3220
|
return j ? j.configure(pe.showConfig, i.ChainFormatter.Config, { filepath: Se }) : () => {
|
|
3221
3221
|
};
|
|
3222
|
-
}(ce.filepath, H, me) });
|
|
3222
|
+
})(ce.filepath, H, me) });
|
|
3223
3223
|
function* L(ce, H, me, Se) {
|
|
3224
3224
|
let pe = yield* K(ce, H, me, Se);
|
|
3225
3225
|
return pe?.files.add(ce.filepath), pe;
|
|
@@ -3392,7 +3392,7 @@ File already loaded following the config chain:
|
|
|
3392
3392
|
}
|
|
3393
3393
|
function* b(N, F, K, L, w) {
|
|
3394
3394
|
let O = yield* r().all(F.map((z, te) => C(z, K, { type: N, alias: `${L}$${te}`, ownPass: !!w })));
|
|
3395
|
-
return function(z) {
|
|
3395
|
+
return (function(z) {
|
|
3396
3396
|
let te = /* @__PURE__ */ new Map();
|
|
3397
3397
|
for (let $ of z) {
|
|
3398
3398
|
if (typeof $.value != "function") continue;
|
|
@@ -3404,7 +3404,7 @@ File already loaded following the config chain:
|
|
|
3404
3404
|
}
|
|
3405
3405
|
D.add($.name);
|
|
3406
3406
|
}
|
|
3407
|
-
}(O), O;
|
|
3407
|
+
})(O), O;
|
|
3408
3408
|
}
|
|
3409
3409
|
function* C(N, F, { type: K, alias: L, ownPass: w }) {
|
|
3410
3410
|
let O = (0, t.getItemDescriptor)(N);
|
|
@@ -3523,7 +3523,7 @@ File already loaded following the config chain:
|
|
|
3523
3523
|
if (typeof W == "function" && ({ options: W, cacheNeedsConfiguration: q2 } = yield* N(W, D)), !W || typeof W != "object" || Array.isArray(W)) throw new h.default("Configuration should be an exported JavaScript object.", $);
|
|
3524
3524
|
if (typeof W.then == "function") throw W.catch == null || W.catch(() => {
|
|
3525
3525
|
}), new h.default("You appear to be using an async configuration, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously return your config.", $);
|
|
3526
|
-
return q2 && function(re) {
|
|
3526
|
+
return q2 && (function(re) {
|
|
3527
3527
|
throw new h.default(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured
|
|
3528
3528
|
for various types of caching, using the first param of their handler functions:
|
|
3529
3529
|
|
|
@@ -3557,12 +3557,12 @@ module.exports = function(api) {
|
|
|
3557
3557
|
// Return the value that will be cached.
|
|
3558
3558
|
return { };
|
|
3559
3559
|
};`, re);
|
|
3560
|
-
}($), function(re, le) {
|
|
3560
|
+
})($), (function(re, le) {
|
|
3561
3561
|
let ie = K.get(re);
|
|
3562
3562
|
ie || K.set(re, ie = /* @__PURE__ */ new Map());
|
|
3563
3563
|
let M = ie.get(le);
|
|
3564
3564
|
return M || (M = { filepath: le, dirname: d().dirname(le), options: re }, ie.set(le, M)), M;
|
|
3565
|
-
}(W, $);
|
|
3565
|
+
})(W, $);
|
|
3566
3566
|
}
|
|
3567
3567
|
let K = /* @__PURE__ */ new WeakMap(), L = (0, c.makeWeakCacheSync)(($) => {
|
|
3568
3568
|
let D = $.options.babel;
|
|
@@ -3906,11 +3906,11 @@ to your top-level package.json.
|
|
|
3906
3906
|
function O($, D, W, q2) {
|
|
3907
3907
|
if (!t.supportsESM || !q2) return w($, D, W);
|
|
3908
3908
|
try {
|
|
3909
|
-
let re = function(le, ie, M) {
|
|
3909
|
+
let re = (function(le, ie, M) {
|
|
3910
3910
|
let B = (0, i().pathToFileURL)(l().join(M, "./babel-virtual-resolve-base.js")).href, G = F(le, ie), U = G.next();
|
|
3911
3911
|
for (; !U.done; ) U = G.next(L(U.value, B));
|
|
3912
3912
|
return { loader: "auto", filepath: (0, i().fileURLToPath)(U.value) };
|
|
3913
|
-
}($, D, W);
|
|
3913
|
+
})($, D, W);
|
|
3914
3914
|
if (!(0, v().existsSync)(re.filepath)) throw Object.assign(new Error(`Could not resolve "${D}" in file ${W}.`), { type: "MODULE_NOT_FOUND" });
|
|
3915
3915
|
return re;
|
|
3916
3916
|
} catch (re) {
|
|
@@ -3936,7 +3936,7 @@ to your top-level package.json.
|
|
|
3936
3936
|
"use strict";
|
|
3937
3937
|
Object.defineProperty(e, "__esModule", { value: true }), e.makeStaticFileCache = function(t) {
|
|
3938
3938
|
return (0, r.makeStrongCache)(function* (i, c) {
|
|
3939
|
-
return c.invalidate(() => function(T) {
|
|
3939
|
+
return c.invalidate(() => (function(T) {
|
|
3940
3940
|
if (!d().existsSync(T)) return null;
|
|
3941
3941
|
try {
|
|
3942
3942
|
return +d().statSync(T).mtime;
|
|
@@ -3944,7 +3944,7 @@ to your top-level package.json.
|
|
|
3944
3944
|
if (g.code !== "ENOENT" && g.code !== "ENOTDIR") throw g;
|
|
3945
3945
|
}
|
|
3946
3946
|
return null;
|
|
3947
|
-
}(i)) === null ? null : t(i, yield* l.readFile(i, "utf8"));
|
|
3947
|
+
})(i)) === null ? null : t(i, yield* l.readFile(i, "utf8"));
|
|
3948
3948
|
});
|
|
3949
3949
|
};
|
|
3950
3950
|
var r = E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/caching.js"), l = E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/gensync-utils/fs.js");
|
|
@@ -4234,7 +4234,7 @@ to your top-level package.json.
|
|
|
4234
4234
|
let y = false;
|
|
4235
4235
|
if (typeof f == "object" && f !== null && !Array.isArray(f)) {
|
|
4236
4236
|
var P = f;
|
|
4237
|
-
({ showIgnoredFiles: y } = P), f = function(w, O) {
|
|
4237
|
+
({ showIgnoredFiles: y } = P), f = (function(w, O) {
|
|
4238
4238
|
if (w == null) return {};
|
|
4239
4239
|
var z = {};
|
|
4240
4240
|
for (var te in w) if ({}.hasOwnProperty.call(w, te)) {
|
|
@@ -4242,7 +4242,7 @@ to your top-level package.json.
|
|
|
4242
4242
|
z[te] = w[te];
|
|
4243
4243
|
}
|
|
4244
4244
|
return z;
|
|
4245
|
-
}(P, p);
|
|
4245
|
+
})(P, p);
|
|
4246
4246
|
}
|
|
4247
4247
|
let S = yield* h(f);
|
|
4248
4248
|
if (!S) return null;
|
|
@@ -4255,7 +4255,7 @@ to your top-level package.json.
|
|
|
4255
4255
|
let p = ["showIgnoredFiles"];
|
|
4256
4256
|
function* h(f) {
|
|
4257
4257
|
if (f != null && (typeof f != "object" || Array.isArray(f))) throw new Error("Babel options must be an object, null, or undefined");
|
|
4258
|
-
let y = f ? (0, v.validate)("arguments", f) : {}, { envName: P = (0, c.getEnv)(), cwd: S = ".", root: b = ".", rootMode: C = "root", caller: N, cloneInputAst: F = true } = y, K = r().resolve(S), L = function($, D) {
|
|
4258
|
+
let y = f ? (0, v.validate)("arguments", f) : {}, { envName: P = (0, c.getEnv)(), cwd: S = ".", root: b = ".", rootMode: C = "root", caller: N, cloneInputAst: F = true } = y, K = r().resolve(S), L = (function($, D) {
|
|
4259
4259
|
switch (D) {
|
|
4260
4260
|
case "root":
|
|
4261
4261
|
return $;
|
|
@@ -4272,7 +4272,7 @@ One of the following config files must be in the directory tree: "${T.ROOT_CONFI
|
|
|
4272
4272
|
default:
|
|
4273
4273
|
throw new Error("Assertion failure - unknown rootMode value.");
|
|
4274
4274
|
}
|
|
4275
|
-
}(r().resolve(K, b), C), w = typeof y.filename == "string" ? r().resolve(S, y.filename) : void 0, O = { filename: w, cwd: K, root: L, envName: P, caller: N, showConfig: (yield* (0, T.resolveShowConfigPath)(K)) === w }, z = yield* (0, i.buildRootChain)(y, O);
|
|
4275
|
+
})(r().resolve(K, b), C), w = typeof y.filename == "string" ? r().resolve(S, y.filename) : void 0, O = { filename: w, cwd: K, root: L, envName: P, caller: N, showConfig: (yield* (0, T.resolveShowConfigPath)(K)) === w }, z = yield* (0, i.buildRootChain)(y, O);
|
|
4276
4276
|
if (!z) return null;
|
|
4277
4277
|
let te = { assumptions: {} };
|
|
4278
4278
|
return z.options.forEach(($) => {
|
|
@@ -4465,16 +4465,16 @@ ${yield* d.optionsAndDescriptors(v.content)}`;
|
|
|
4465
4465
|
return f;
|
|
4466
4466
|
}, e.assertIgnoreList = function(u, f) {
|
|
4467
4467
|
let y = v(u, f);
|
|
4468
|
-
return y?.forEach((P, S) => function(b, C) {
|
|
4468
|
+
return y?.forEach((P, S) => (function(b, C) {
|
|
4469
4469
|
if (typeof C != "string" && typeof C != "function" && !(C instanceof RegExp)) throw new Error(`${d(b)} must be an array of string/Function/RegExp values, or undefined`);
|
|
4470
4470
|
return C;
|
|
4471
|
-
}(t(u, S), P)), y;
|
|
4471
|
+
})(t(u, S), P)), y;
|
|
4472
4472
|
}, e.assertInputSourceMap = function(u, f) {
|
|
4473
4473
|
if (f !== void 0 && typeof f != "boolean" && (typeof f != "object" || !f)) throw new Error(`${d(u)} must be a boolean, object, or undefined`);
|
|
4474
4474
|
return f;
|
|
4475
4475
|
}, e.assertObject = c, e.assertPluginList = function(u, f) {
|
|
4476
4476
|
let y = v(u, f);
|
|
4477
|
-
return y && y.forEach((P, S) => function(b, C) {
|
|
4477
|
+
return y && y.forEach((P, S) => (function(b, C) {
|
|
4478
4478
|
if (Array.isArray(C)) {
|
|
4479
4479
|
if (C.length === 0) throw new Error(`${d(b)} must include an object`);
|
|
4480
4480
|
if (C.length > 3) throw new Error(`${d(b)} may only be a two-tuple or three-tuple`);
|
|
@@ -4488,7 +4488,7 @@ ${yield* d.optionsAndDescriptors(v.content)}`;
|
|
|
4488
4488
|
}
|
|
4489
4489
|
} else g(b, C);
|
|
4490
4490
|
return C;
|
|
4491
|
-
}(t(u, S), P)), y;
|
|
4491
|
+
})(t(u, S), P)), y;
|
|
4492
4492
|
}, e.assertRootMode = function(u, f) {
|
|
4493
4493
|
if (f !== void 0 && f !== "root" && f !== "upward" && f !== "upward-optional") throw new Error(`${d(u)} must be a "root", "upward", "upward-optional" or undefined`);
|
|
4494
4494
|
return f;
|
|
@@ -4610,9 +4610,9 @@ To be a valid ${f}, its name and options should be wrapped in a pair of brackets
|
|
|
4610
4610
|
}
|
|
4611
4611
|
function g(h, u) {
|
|
4612
4612
|
let f = T(h);
|
|
4613
|
-
return function(y) {
|
|
4613
|
+
return (function(y) {
|
|
4614
4614
|
if (hasOwnProperty.call(y, "sourceMap") && hasOwnProperty.call(y, "sourceMaps")) throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both");
|
|
4615
|
-
}(u), Object.keys(u).forEach((y) => {
|
|
4615
|
+
})(u), Object.keys(u).forEach((y) => {
|
|
4616
4616
|
let P = { type: "option", name: y, parent: h };
|
|
4617
4617
|
if (f === "preset" && c[y]) throw new Error(`${(0, l.msg)(P)} is not allowed in preset options`);
|
|
4618
4618
|
if (f !== "arguments" && t[y]) throw new Error(`${(0, l.msg)(P)} is only allowed in root programmatic options`);
|
|
@@ -4648,12 +4648,12 @@ To be a valid ${f}, its name and options should be wrapped in a pair of brackets
|
|
|
4648
4648
|
let l = { name: r.assertString, manipulateOptions: r.assertFunction, pre: r.assertFunction, post: r.assertFunction, inherits: r.assertFunction, visitor: function(d, t) {
|
|
4649
4649
|
let i = (0, r.assertObject)(d, t);
|
|
4650
4650
|
if (i && (Object.keys(i).forEach((c) => {
|
|
4651
|
-
c !== "_exploded" && c !== "_verified" && function(v, T) {
|
|
4651
|
+
c !== "_exploded" && c !== "_verified" && (function(v, T) {
|
|
4652
4652
|
if (T && typeof T == "object") Object.keys(T).forEach((g) => {
|
|
4653
4653
|
if (g !== "enter" && g !== "exit") throw new Error(`.visitor["${v}"] may only have .enter and/or .exit handlers.`);
|
|
4654
4654
|
});
|
|
4655
4655
|
else if (typeof T != "function") throw new Error(`.visitor["${v}"] must be a function`);
|
|
4656
|
-
}(c, i[c]);
|
|
4656
|
+
})(c, i[c]);
|
|
4657
4657
|
}), i.enter || i.exit)) throw new Error(`${(0, r.msg)(d)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`);
|
|
4658
4658
|
return i;
|
|
4659
4659
|
}, parserOverride: r.assertFunction, generatorOverride: r.assertFunction };
|
|
@@ -4686,14 +4686,14 @@ To be a valid ${f}, its name and options should be wrapped in a pair of brackets
|
|
|
4686
4686
|
}, e.injectVirtualStackFrame = function(g, p) {
|
|
4687
4687
|
if (!l) return;
|
|
4688
4688
|
let h = c.get(g);
|
|
4689
|
-
return h || c.set(g, h = []), h.push(/* @__PURE__ */ function(u) {
|
|
4689
|
+
return h || c.set(g, h = []), h.push(/* @__PURE__ */ (function(u) {
|
|
4690
4690
|
return /* @__PURE__ */ Object.create({ isNative: () => false, isConstructor: () => false, isToplevel: () => true, getFileName: () => u, getLineNumber: () => {
|
|
4691
4691
|
}, getColumnNumber: () => {
|
|
4692
4692
|
}, getFunctionName: () => {
|
|
4693
4693
|
}, getMethodName: () => {
|
|
4694
4694
|
}, getTypeName: () => {
|
|
4695
4695
|
}, toString: () => u });
|
|
4696
|
-
}(p)), g;
|
|
4696
|
+
})(p)), g;
|
|
4697
4697
|
};
|
|
4698
4698
|
let r = Function.call.bind(Error.prototype.toString), l = !!Error.captureStackTrace && ((E = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit")) == null ? void 0 : E.writable) === true, d = "startHiding - secret - don't use this - v1", t = "stopHiding - secret - don't use this - v1", i = /* @__PURE__ */ new WeakSet(), c = /* @__PURE__ */ new WeakMap();
|
|
4699
4699
|
function v() {
|
|
@@ -5193,7 +5193,7 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
5193
5193
|
}
|
|
5194
5194
|
T = h;
|
|
5195
5195
|
}
|
|
5196
|
-
return g ? function(p) {
|
|
5196
|
+
return g ? (function(p) {
|
|
5197
5197
|
let h = /* @__PURE__ */ Object.create(null);
|
|
5198
5198
|
for (let y = 0; y < p.length; y++) {
|
|
5199
5199
|
let P = p[y], S = c(P);
|
|
@@ -5205,7 +5205,7 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
5205
5205
|
for (let S of P) p[f++] = S;
|
|
5206
5206
|
}
|
|
5207
5207
|
return p;
|
|
5208
|
-
}(v.slice()) : v;
|
|
5208
|
+
})(v.slice()) : v;
|
|
5209
5209
|
}
|
|
5210
5210
|
function c(v) {
|
|
5211
5211
|
let T = v?._blockHoist;
|
|
@@ -5393,7 +5393,7 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
5393
5393
|
Object.defineProperty(e, "__esModule", { value: true }), e.run = function* (g, p, h) {
|
|
5394
5394
|
let u = yield* (0, i.default)(g.passes, (0, t.default)(g), p, h), f = u.opts;
|
|
5395
5395
|
try {
|
|
5396
|
-
yield* function* (C, N) {
|
|
5396
|
+
yield* (function* (C, N) {
|
|
5397
5397
|
let F = yield* (0, T.isAsync)();
|
|
5398
5398
|
for (let K of N) {
|
|
5399
5399
|
let L = [], w = [], O = [];
|
|
@@ -5406,7 +5406,7 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
5406
5406
|
(0, r().default)(C.ast, z, C.scope);
|
|
5407
5407
|
for (let [te, $] of L) te.post && (yield* (0, T.maybeAsync)(te.post, "You appear to be using an async plugin/preset, but Babel has been called synchronously").call($, C));
|
|
5408
5408
|
}
|
|
5409
|
-
}(u, g.passes);
|
|
5409
|
+
})(u, g.passes);
|
|
5410
5410
|
} catch (C) {
|
|
5411
5411
|
var y;
|
|
5412
5412
|
throw C.message = `${(y = f.filename) != null ? y : "unknown file"}: ${C.message}`, C.code || (C.code = "BABEL_TRANSFORM_ERROR"), C;
|
|
@@ -5636,14 +5636,14 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
5636
5636
|
Object.defineProperty(e, "__esModule", { value: true }), e.moduleResolve = et, e.resolve = function(oe, Ae) {
|
|
5637
5637
|
if (!Ae) throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");
|
|
5638
5638
|
try {
|
|
5639
|
-
return function(Ge, He = {}) {
|
|
5639
|
+
return (function(Ge, He = {}) {
|
|
5640
5640
|
let { parentURL: Ee } = He, Le, Ie, xe;
|
|
5641
|
-
if (r()(Ee !== void 0, "expected `parentURL` to be defined"), function(lt) {
|
|
5641
|
+
if (r()(Ee !== void 0, "expected `parentURL` to be defined"), (function(lt) {
|
|
5642
5642
|
if (lt !== void 0) {
|
|
5643
5643
|
if (typeof lt != "string" && (ct = lt, !(ct && typeof ct == "object" && "href" in ct && typeof ct.href == "string" && "protocol" in ct && typeof ct.protocol == "string" && ct.href && ct.protocol))) throw new f.ERR_INVALID_ARG_TYPE("parentURL", ["string", "URL"], lt);
|
|
5644
5644
|
var ct;
|
|
5645
5645
|
}
|
|
5646
|
-
}(Ee), Ee) try {
|
|
5646
|
+
})(Ee), Ee) try {
|
|
5647
5647
|
Le = new (t()).URL(Ee);
|
|
5648
5648
|
} catch {
|
|
5649
5649
|
}
|
|
@@ -5651,7 +5651,7 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
5651
5651
|
if (Ie = st(Ge) ? new (t()).URL(Ge, Le) : new (t()).URL(Ge), xe = Ie.protocol, xe === "data:") return { url: Ie.href, format: null };
|
|
5652
5652
|
} catch {
|
|
5653
5653
|
}
|
|
5654
|
-
let ze = function(lt, ct, Ye) {
|
|
5654
|
+
let ze = (function(lt, ct, Ye) {
|
|
5655
5655
|
if (Ye) {
|
|
5656
5656
|
let xt = Ye.protocol;
|
|
5657
5657
|
if (xt === "http:" || xt === "https:") {
|
|
@@ -5663,19 +5663,19 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
5663
5663
|
throw c().builtinModules.includes(lt) ? new G(lt, Ye, "remote imports cannot import from a local location.") : new G(lt, Ye, "only relative and absolute specifiers are supported.");
|
|
5664
5664
|
}
|
|
5665
5665
|
}
|
|
5666
|
-
}(Ge, Ie, Le);
|
|
5666
|
+
})(Ge, Ie, Le);
|
|
5667
5667
|
if (ze) return ze;
|
|
5668
5668
|
if (xe === void 0 && Ie && (xe = Ie.protocol), xe === "node:") return { url: Ge };
|
|
5669
5669
|
if (Ie && Ie.protocol === "node:") return { url: Ge };
|
|
5670
|
-
let it = function(lt) {
|
|
5670
|
+
let it = (function(lt) {
|
|
5671
5671
|
if (lt !== void 0 && lt !== ie) {
|
|
5672
5672
|
if (!Array.isArray(lt)) throw new le("conditions", lt, "expected an array");
|
|
5673
5673
|
return new Set(lt);
|
|
5674
5674
|
}
|
|
5675
5675
|
return M;
|
|
5676
|
-
}(He.conditions), Qe = et(Ge, new (t()).URL(Ee), it, false);
|
|
5676
|
+
})(He.conditions), Qe = et(Ge, new (t()).URL(Ee), it, false);
|
|
5677
5677
|
return { url: Qe.href, format: re(Qe, { parentURL: Ee }) };
|
|
5678
|
-
}(oe, { parentURL: Ae }).url;
|
|
5678
|
+
})(oe, { parentURL: Ae }).url;
|
|
5679
5679
|
} catch (Ge) {
|
|
5680
5680
|
let He = Ge;
|
|
5681
5681
|
if ((He.code === "ERR_UNSUPPORTED_DIR_IMPORT" || He.code === "ERR_MODULE_NOT_FOUND") && typeof He.url == "string") return He.url;
|
|
@@ -5688,25 +5688,25 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
5688
5688
|
}
|
|
5689
5689
|
let P = /* @__PURE__ */ new Map(), S;
|
|
5690
5690
|
function b(oe, Ae, Ge) {
|
|
5691
|
-
return P.set(oe, Ae), /* @__PURE__ */ function(He, Ee) {
|
|
5691
|
+
return P.set(oe, Ae), /* @__PURE__ */ (function(He, Ee) {
|
|
5692
5692
|
return Le;
|
|
5693
5693
|
function Le(...Ie) {
|
|
5694
5694
|
let xe = Error.stackTraceLimit;
|
|
5695
5695
|
C() && (Error.stackTraceLimit = 0);
|
|
5696
5696
|
let ze = new He();
|
|
5697
5697
|
C() && (Error.stackTraceLimit = xe);
|
|
5698
|
-
let it = function(Qe, lt, ct) {
|
|
5698
|
+
let it = (function(Qe, lt, ct) {
|
|
5699
5699
|
let Ye = P.get(Qe);
|
|
5700
5700
|
if (r()(Ye !== void 0, "expected `message` to be found"), typeof Ye == "function") return r()(Ye.length <= lt.length, `Code: ${Qe}; The provided arguments length (${lt.length}) does not match the required ones (${Ye.length}).`), Reflect.apply(Ye, ct, lt);
|
|
5701
5701
|
let xt = /%[dfijoOs]/g, St = 0;
|
|
5702
5702
|
for (; xt.exec(Ye) !== null; ) St++;
|
|
5703
5703
|
return r()(St === lt.length, `Code: ${Qe}; The provided arguments length (${lt.length}) does not match the required ones (${St}).`), lt.length === 0 ? Ye : (lt.unshift(Ye), Reflect.apply(T().format, null, lt));
|
|
5704
|
-
}(Ee, Ie, ze);
|
|
5704
|
+
})(Ee, Ie, ze);
|
|
5705
5705
|
return Object.defineProperties(ze, { message: { value: it, enumerable: false, writable: true, configurable: true }, toString: { value() {
|
|
5706
5706
|
return `${this.name} [${Ee}]: ${this.message}`;
|
|
5707
5707
|
}, enumerable: false, writable: true, configurable: true } }), N(ze), ze.code = Ee, ze;
|
|
5708
5708
|
}
|
|
5709
|
-
}(Ge, oe);
|
|
5709
|
+
})(Ge, oe);
|
|
5710
5710
|
}
|
|
5711
5711
|
function C() {
|
|
5712
5712
|
try {
|
|
@@ -5731,13 +5731,13 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
5731
5731
|
let xe = Ee.indexOf("object");
|
|
5732
5732
|
xe !== -1 && (Ee.slice(xe, 1), Le.push("Object"));
|
|
5733
5733
|
}
|
|
5734
|
-
return Ee.length > 0 && (He += `${Ee.length > 1 ? "one of type" : "of type"} ${y(Ee, "or")}`, (Le.length > 0 || Ie.length > 0) && (He += " or ")), Le.length > 0 && (He += `an instance of ${y(Le, "or")}`, Ie.length > 0 && (He += " or ")), Ie.length > 0 && (Ie.length > 1 ? He += `one of ${y(Ie, "or")}` : (Ie[0].toLowerCase() !== Ie[0] && (He += "an "), He += `${Ie[0]}`)), He += `. Received ${function(xe) {
|
|
5734
|
+
return Ee.length > 0 && (He += `${Ee.length > 1 ? "one of type" : "of type"} ${y(Ee, "or")}`, (Le.length > 0 || Ie.length > 0) && (He += " or ")), Le.length > 0 && (He += `an instance of ${y(Le, "or")}`, Ie.length > 0 && (He += " or ")), Ie.length > 0 && (Ie.length > 1 ? He += `one of ${y(Ie, "or")}` : (Ie[0].toLowerCase() !== Ie[0] && (He += "an "), He += `${Ie[0]}`)), He += `. Received ${(function(xe) {
|
|
5735
5735
|
if (xe == null) return String(xe);
|
|
5736
5736
|
if (typeof xe == "function" && xe.name) return `function ${xe.name}`;
|
|
5737
5737
|
if (typeof xe == "object") return xe.constructor && xe.constructor.name ? `an instance of ${xe.constructor.name}` : `${(0, T().inspect)(xe, { depth: -1 })}`;
|
|
5738
5738
|
let ze = (0, T().inspect)(xe, { colors: false });
|
|
5739
5739
|
return ze.length > 28 && (ze = `${ze.slice(0, 25)}...`), `type ${typeof xe} (${ze})`;
|
|
5740
|
-
}(Ge)}`, He;
|
|
5740
|
+
})(Ge)}`, He;
|
|
5741
5741
|
}, TypeError), f.ERR_INVALID_MODULE_SPECIFIER = b("ERR_INVALID_MODULE_SPECIFIER", (oe, Ae, Ge = void 0) => `Invalid module "${oe}" ${Ae}${Ge ? ` imported from ${Ge}` : ""}`, TypeError), f.ERR_INVALID_PACKAGE_CONFIG = b("ERR_INVALID_PACKAGE_CONFIG", (oe, Ae, Ge) => `Invalid package config ${oe}${Ae ? ` while importing ${Ae}` : ""}${Ge ? `. ${Ge}` : ""}`, Error), f.ERR_INVALID_PACKAGE_TARGET = b("ERR_INVALID_PACKAGE_TARGET", (oe, Ae, Ge, He = false, Ee = void 0) => {
|
|
5742
5742
|
let Le = typeof Ge == "string" && !He && Ge.length > 0 && !Ge.startsWith("./");
|
|
5743
5743
|
return Ae === "." ? (r()(He === false), `Invalid "exports" main target ${JSON.stringify(Ge)} defined in the package config ${oe}package.json${Ee ? ` imported from ${Ee}` : ""}${Le ? '; targets must start with "./"' : ""}`) : `Invalid "${He ? "imports" : "exports"}" target ${JSON.stringify(Ge)} defined for '${Ae}' in the package config ${oe}package.json${Ee ? ` imported from ${Ee}` : ""}${Le ? '; targets must start with "./"' : ""}`;
|
|
@@ -5745,10 +5745,10 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
5745
5745
|
let He = (0, T().inspect)(Ae);
|
|
5746
5746
|
return He.length > 128 && (He = `${He.slice(0, 128)}...`), `The ${oe.includes(".") ? "property" : "argument"} '${oe}' ${Ge}. Received ${He}`;
|
|
5747
5747
|
}, TypeError);
|
|
5748
|
-
let N = function(oe) {
|
|
5748
|
+
let N = (function(oe) {
|
|
5749
5749
|
let Ae = "__node_internal_" + oe.name;
|
|
5750
5750
|
return Object.defineProperty(oe, "name", { value: Ae }), oe;
|
|
5751
|
-
}(function(oe) {
|
|
5751
|
+
})(function(oe) {
|
|
5752
5752
|
let Ae = C();
|
|
5753
5753
|
return Ae && (S = Error.stackTraceLimit, Error.stackTraceLimit = Number.POSITIVE_INFINITY), Error.captureStackTrace(oe), Ae && (Error.stackTraceLimit = S), oe;
|
|
5754
5754
|
}), F = {}.hasOwnProperty, { ERR_INVALID_PACKAGE_CONFIG: K } = f, L = /* @__PURE__ */ new Map();
|
|
@@ -5790,11 +5790,11 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
5790
5790
|
}
|
|
5791
5791
|
let { ERR_UNKNOWN_FILE_EXTENSION: te } = f, $ = {}.hasOwnProperty, D = { __proto__: null, ".cjs": "commonjs", ".js": "module", ".json": "json", ".mjs": "module" }, W = { __proto__: null, "data:": function(oe) {
|
|
5792
5792
|
let { 1: Ae } = /^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(oe.pathname) || [null, null, null];
|
|
5793
|
-
return function(Ge) {
|
|
5793
|
+
return (function(Ge) {
|
|
5794
5794
|
return Ge && /\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(Ge) ? "module" : Ge === "application/json" ? "json" : null;
|
|
5795
|
-
}(Ae);
|
|
5795
|
+
})(Ae);
|
|
5796
5796
|
}, "file:": function(oe, Ae, Ge) {
|
|
5797
|
-
let He = function(Ie) {
|
|
5797
|
+
let He = (function(Ie) {
|
|
5798
5798
|
let xe = Ie.pathname, ze = xe.length;
|
|
5799
5799
|
for (; ze--; ) {
|
|
5800
5800
|
let it = xe.codePointAt(ze);
|
|
@@ -5802,7 +5802,7 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
5802
5802
|
if (it === 46) return xe.codePointAt(ze - 1) === 47 ? "" : xe.slice(ze);
|
|
5803
5803
|
}
|
|
5804
5804
|
return "";
|
|
5805
|
-
}(oe);
|
|
5805
|
+
})(oe);
|
|
5806
5806
|
if (He === ".js") {
|
|
5807
5807
|
let Ie = z(oe);
|
|
5808
5808
|
return Ie !== "none" ? Ie : "commonjs";
|
|
@@ -5890,10 +5890,10 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
5890
5890
|
if (Ae === "") return it;
|
|
5891
5891
|
if (me.exec(Ae) !== null) {
|
|
5892
5892
|
let ct = Le ? Ge.replace("*", () => Ae) : Ge + Ae;
|
|
5893
|
-
Se.exec(Ae) === null ? xe || Pe(Le ? B.call(j, oe, () => Ae) : oe, ct, Ge, He, Ie, Ee, false) : function(Ye, xt, St, Ft, Dt) {
|
|
5893
|
+
Se.exec(Ae) === null ? xe || Pe(Le ? B.call(j, oe, () => Ae) : oe, ct, Ge, He, Ie, Ee, false) : (function(Ye, xt, St, Ft, Dt) {
|
|
5894
5894
|
let Jt = `request is not a valid match in pattern "${xt}" for the "${Ft ? "imports" : "exports"}" resolution of ${(0, t().fileURLToPath)(St)}`;
|
|
5895
5895
|
throw new U(Ye, Jt, Dt && (0, t().fileURLToPath)(Dt));
|
|
5896
|
-
}(ct, Ge, He, Ie, Ee);
|
|
5896
|
+
})(ct, Ge, He, Ie, Ee);
|
|
5897
5897
|
}
|
|
5898
5898
|
return Le ? new (t()).URL(B.call(j, it.href, () => Ae)) : new (t()).URL(Ae, it);
|
|
5899
5899
|
}
|
|
@@ -5946,7 +5946,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
5946
5946
|
}
|
|
5947
5947
|
function Ne(oe, Ae, Ge, He, Ee) {
|
|
5948
5948
|
let Le = Ge.exports;
|
|
5949
|
-
if (function(Qe, lt, ct) {
|
|
5949
|
+
if ((function(Qe, lt, ct) {
|
|
5950
5950
|
if (typeof Qe == "string" || Array.isArray(Qe)) return true;
|
|
5951
5951
|
if (typeof Qe != "object" || Qe === null) return false;
|
|
5952
5952
|
let Ye = Object.getOwnPropertyNames(Qe), xt = false, St = 0, Ft = -1;
|
|
@@ -5956,7 +5956,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
5956
5956
|
else if (xt !== Jt) throw new Q((0, t().fileURLToPath)(lt), ct, `"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`);
|
|
5957
5957
|
}
|
|
5958
5958
|
return xt;
|
|
5959
|
-
}(Le, oe, He) && (Le = { ".": Le }), H.call(Le, Ae) && !Ae.includes("*") && !Ae.endsWith("/")) {
|
|
5959
|
+
})(Le, oe, He) && (Le = { ".": Le }), H.call(Le, Ae) && !Ae.includes("*") && !Ae.endsWith("/")) {
|
|
5960
5960
|
let Qe = rt(oe, Le[Ae], "", Ae, He, false, false, false, Ee);
|
|
5961
5961
|
if (Qe == null) throw at(Ae, oe, He);
|
|
5962
5962
|
return Qe;
|
|
@@ -6005,19 +6005,19 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
6005
6005
|
}
|
|
6006
6006
|
}
|
|
6007
6007
|
}
|
|
6008
|
-
throw function(Le, Ie, xe) {
|
|
6008
|
+
throw (function(Le, Ie, xe) {
|
|
6009
6009
|
return new ye(Le, Ie && (0, t().fileURLToPath)(new (t()).URL(".", Ie)), (0, t().fileURLToPath)(xe));
|
|
6010
|
-
}(oe, He, Ae);
|
|
6010
|
+
})(oe, He, Ae);
|
|
6011
6011
|
}
|
|
6012
6012
|
function $e(oe, Ae, Ge) {
|
|
6013
6013
|
if (c().builtinModules.includes(oe)) return new (t()).URL("node:" + oe);
|
|
6014
|
-
let { packageName: He, packageSubpath: Ee, isScoped: Le } = function(Qe, lt) {
|
|
6014
|
+
let { packageName: He, packageSubpath: Ee, isScoped: Le } = (function(Qe, lt) {
|
|
6015
6015
|
let ct = Qe.indexOf("/"), Ye = true, xt = false;
|
|
6016
6016
|
Qe[0] === "@" && (xt = true, ct === -1 || Qe.length === 0 ? Ye = false : ct = Qe.indexOf("/", ct + 1));
|
|
6017
6017
|
let St = ct === -1 ? Qe : Qe.slice(0, ct);
|
|
6018
6018
|
if (pe.exec(St) !== null && (Ye = false), !Ye) throw new U(Qe, "is not a valid package name", (0, t().fileURLToPath)(lt));
|
|
6019
6019
|
return { packageName: St, packageSubpath: "." + (ct === -1 ? "" : Qe.slice(ct)), isScoped: xt };
|
|
6020
|
-
}(oe, Ae), Ie = O(Ae);
|
|
6020
|
+
})(oe, Ae), Ie = O(Ae);
|
|
6021
6021
|
if (Ie.exists) {
|
|
6022
6022
|
let Qe = (0, t().pathToFileURL)(Ie.pjsonPath);
|
|
6023
6023
|
if (Ie.name === He && Ie.exports !== void 0 && Ie.exports !== null) return Ne(Qe, Ee, Ie, Ae, Ge);
|
|
@@ -6035,9 +6035,9 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
6035
6035
|
throw new se(He, (0, t().fileURLToPath)(Ae), false);
|
|
6036
6036
|
}
|
|
6037
6037
|
function st(oe) {
|
|
6038
|
-
return oe !== "" && (oe[0] === "/" || function(Ae) {
|
|
6038
|
+
return oe !== "" && (oe[0] === "/" || (function(Ae) {
|
|
6039
6039
|
return Ae[0] === "." && (Ae.length === 1 || Ae[1] === "/" || Ae[1] === "." && (Ae.length === 2 || Ae[2] === "/"));
|
|
6040
|
-
}(oe));
|
|
6040
|
+
})(oe));
|
|
6041
6041
|
}
|
|
6042
6042
|
function et(oe, Ae, Ge, He) {
|
|
6043
6043
|
let Ee = Ae.protocol, Le = Ee === "data:" || Ee === "http:" || Ee === "https:", Ie;
|
|
@@ -6057,7 +6057,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
6057
6057
|
}
|
|
6058
6058
|
Ie = $e(oe, Ae, Ge);
|
|
6059
6059
|
}
|
|
6060
|
-
return r()(Ie !== void 0, "expected to be defined"), Ie.protocol !== "file:" ? Ie : function(xe, ze, it) {
|
|
6060
|
+
return r()(Ie !== void 0, "expected to be defined"), Ie.protocol !== "file:" ? Ie : (function(xe, ze, it) {
|
|
6061
6061
|
if (Te.exec(xe.pathname) !== null) throw new U(xe.pathname, 'must not include encoded "/" or "\\" characters', (0, t().fileURLToPath)(ze));
|
|
6062
6062
|
let Qe;
|
|
6063
6063
|
try {
|
|
@@ -6080,7 +6080,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
6080
6080
|
(xe = (0, t().pathToFileURL)(ct + (Qe.endsWith(i().sep) ? "/" : ""))).search = Ye, xe.hash = xt;
|
|
6081
6081
|
}
|
|
6082
6082
|
return xe;
|
|
6083
|
-
}(Ie, Ae, He);
|
|
6083
|
+
})(Ie, Ae, He);
|
|
6084
6084
|
}
|
|
6085
6085
|
}, "./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/buffer.js": (ee, e) => {
|
|
6086
6086
|
"use strict";
|
|
@@ -6275,7 +6275,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
6275
6275
|
if (this.tokenChar(123), t.body.length === 0) this.tokenChar(125);
|
|
6276
6276
|
else {
|
|
6277
6277
|
this.newline();
|
|
6278
|
-
let i = function(v, T) {
|
|
6278
|
+
let i = (function(v, T) {
|
|
6279
6279
|
if (!v.tokenMap || T.start == null || T.end == null) return null;
|
|
6280
6280
|
let g = v.tokenMap.getIndexes(T);
|
|
6281
6281
|
if (!g) return null;
|
|
@@ -6287,7 +6287,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
6287
6287
|
let P = u === T.body.length ? T.end : T.body[u].start, S;
|
|
6288
6288
|
for (; p < g.length && v.tokenMap.matchesOriginal(S = v._tokens[g[p]], ";") && S.start < P; ) v.token(";", void 0, h++), p++;
|
|
6289
6289
|
};
|
|
6290
|
-
}(this, t);
|
|
6290
|
+
})(this, t);
|
|
6291
6291
|
i?.(-1);
|
|
6292
6292
|
let c = this.enterDelimited();
|
|
6293
6293
|
this.printJoin(t.body, true, true, i, true), c(), this.endsWith(10) || this.newline(), this.rightBrace(t);
|
|
@@ -7560,13 +7560,13 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
7560
7560
|
this.tokenContext &= l.TokenContext.forInOrInitHeadAccumulatePassThroughMask, this._maybePrintInnerComments(w), this._maybeAddAuxComment(), this.tokenMap && this._catchUpToCurrentToken(w), (this._endsWithWord || this._endsWithDiv && w.charCodeAt(0) === 47) && this._space(), this._append(w, false), this._endsWithWord = true, this._noLineTerminator = O;
|
|
7561
7561
|
}
|
|
7562
7562
|
number(w, O) {
|
|
7563
|
-
this.word(w), this._endsWithInteger = Number.isInteger(O) && !function(z) {
|
|
7563
|
+
this.word(w), this._endsWithInteger = Number.isInteger(O) && !(function(z) {
|
|
7564
7564
|
if (z.length > 2 && z.charCodeAt(0) === 48) {
|
|
7565
7565
|
let te = z.charCodeAt(1);
|
|
7566
7566
|
return te === 98 || te === 111 || te === 120;
|
|
7567
7567
|
}
|
|
7568
7568
|
return false;
|
|
7569
|
-
}(w) && !y.test(w) && !P.test(w) && w.charCodeAt(w.length - 1) !== 46;
|
|
7569
|
+
})(w) && !y.test(w) && !P.test(w) && w.charCodeAt(w.length - 1) !== 46;
|
|
7570
7570
|
}
|
|
7571
7571
|
token(w, O = false, z = 0) {
|
|
7572
7572
|
this.tokenContext &= l.TokenContext.forInOrInitHeadAccumulatePassThroughMask, this._maybePrintInnerComments(w, z), this._maybeAddAuxComment(), this.tokenMap && this._catchUpToCurrentToken(w, z);
|
|
@@ -7976,7 +7976,7 @@ ${" ".repeat(le)}`);
|
|
|
7976
7976
|
}
|
|
7977
7977
|
_getTokensIndexesOfNode(t) {
|
|
7978
7978
|
if (t.start == null || t.end == null) return [];
|
|
7979
|
-
let { first: i, last: c } = this._findTokensOfNode(t, 0, this._tokens.length - 1), v = i, T = function* (p) {
|
|
7979
|
+
let { first: i, last: c } = this._findTokensOfNode(t, 0, this._tokens.length - 1), v = i, T = (function* (p) {
|
|
7980
7980
|
if (p.type === "TemplateLiteral") {
|
|
7981
7981
|
yield p.quasis[0];
|
|
7982
7982
|
for (let u = 1; u < p.quasis.length; u++) yield p.expressions[u - 1], yield p.quasis[u];
|
|
@@ -7987,7 +7987,7 @@ ${" ".repeat(le)}`);
|
|
|
7987
7987
|
let f = p[u];
|
|
7988
7988
|
f && (Array.isArray(f) ? yield* f : yield f);
|
|
7989
7989
|
}
|
|
7990
|
-
}(t);
|
|
7990
|
+
})(t);
|
|
7991
7991
|
t.type !== "ExportNamedDeclaration" && t.type !== "ExportDefaultDeclaration" || !t.declaration || t.declaration.type !== "ClassDeclaration" || T.next();
|
|
7992
7992
|
let g = [];
|
|
7993
7993
|
for (let p of T) {
|
|
@@ -8043,7 +8043,7 @@ ${" ".repeat(le)}`);
|
|
|
8043
8043
|
p.type = "ClassDeclaration", p.id || (p.id = r.types.cloneNode(c));
|
|
8044
8044
|
let S;
|
|
8045
8045
|
P && (S = h.generateUidIdentifierBasedOnNode(p.superClass, "super"), p.superClass = S);
|
|
8046
|
-
let b = t(p), C = r.types.arrayExpression(T.filter((L) => !L.node.abstract && L.node.type !== "TSIndexSignature").map((L) => function(w, O, z, te) {
|
|
8046
|
+
let b = t(p), C = r.types.arrayExpression(T.filter((L) => !L.node.abstract && L.node.type !== "TSIndexSignature").map((L) => (function(w, O, z, te) {
|
|
8047
8047
|
let $ = te.isClassMethod();
|
|
8048
8048
|
if (te.isPrivate()) throw te.buildCodeFrameError(`Private ${$ ? "methods" : "fields"} in decorated classes are not supported yet.`);
|
|
8049
8049
|
if (te.node.type === "ClassAccessorProperty") throw te.buildCodeFrameError('Accessor properties are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');
|
|
@@ -8054,10 +8054,10 @@ ${" ".repeat(le)}`);
|
|
|
8054
8054
|
$ ? (te.ensureFunctionName != null || (te.ensureFunctionName = E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.ensureFunctionName), te.ensureFunctionName(false), q2.push(d("value", r.types.toExpression(te.node)))) : r.types.isClassProperty(D) && D.value ? q2.push((re = "value", le = r.template.statements.ast`return ${D.value}`, r.types.objectMethod("method", r.types.identifier(re), [], r.types.blockStatement(le)))) : q2.push(d("value", W.buildUndefinedNode()));
|
|
8055
8055
|
var re, le;
|
|
8056
8056
|
return te.remove(), r.types.objectExpression(q2);
|
|
8057
|
-
}(g, p.id, S, L))), N = r.template.expression.ast`
|
|
8058
|
-
${function(L) {
|
|
8057
|
+
})(g, p.id, S, L))), N = r.template.expression.ast`
|
|
8058
|
+
${(function(L) {
|
|
8059
8059
|
return L.addHelper("decorate");
|
|
8060
|
-
}(g)}(
|
|
8060
|
+
})(g)}(
|
|
8061
8061
|
${b || r.types.nullLiteral()},
|
|
8062
8062
|
function (${u}, ${P ? r.types.cloneNode(S) : null}) {
|
|
8063
8063
|
${p}
|
|
@@ -8088,7 +8088,7 @@ ${" ".repeat(le)}`);
|
|
|
8088
8088
|
Object.defineProperty(e, "__esModule", { value: true }), e.default = function({ assertVersion: H, assumption: me }, { loose: Se }, pe, j) {
|
|
8089
8089
|
var Te, De;
|
|
8090
8090
|
H(pe === "2023-11" || pe === "2023-05" || pe === "2023-01" ? "^7.21.0" : pe === "2021-12" ? "^7.16.0" : "^7.19.0");
|
|
8091
|
-
let Fe = /* @__PURE__ */ new WeakSet(), Pe = (Te = me("constantSuper")) != null ? Te : Se, ke = (De = me("ignoreFunctionLength")) != null ? De : Se, Oe = /* @__PURE__ */ function(Re, at) {
|
|
8091
|
+
let Fe = /* @__PURE__ */ new WeakSet(), Pe = (Te = me("constantSuper")) != null ? Te : Se, ke = (De = me("ignoreFunctionLength")) != null ? De : Se, Oe = /* @__PURE__ */ (function(Re, at) {
|
|
8092
8092
|
function ut(pt, qe, rt) {
|
|
8093
8093
|
switch (qe.type) {
|
|
8094
8094
|
case "StringLiteral":
|
|
@@ -8179,17 +8179,17 @@ ${" ".repeat(le)}`);
|
|
|
8179
8179
|
at(Ne, qe, ae);
|
|
8180
8180
|
}
|
|
8181
8181
|
} };
|
|
8182
|
-
}(ve, We);
|
|
8182
|
+
})(ve, We);
|
|
8183
8183
|
function We(Re, at, ut) {
|
|
8184
8184
|
var pt;
|
|
8185
8185
|
if (Fe.has(Re)) return;
|
|
8186
8186
|
let { node: qe } = Re;
|
|
8187
8187
|
ut != null || (ut = (pt = qe.id) == null ? void 0 : pt.name);
|
|
8188
|
-
let rt = function(Ve, Ne, ae, _e, $e, st, et) {
|
|
8188
|
+
let rt = (function(Ve, Ne, ae, _e, $e, st, et) {
|
|
8189
8189
|
var oe;
|
|
8190
|
-
let Ae = Ve.get("body.body"), Ge = Ve.node.decorators, He = false, Ee = false, Le = false, Ie = /* @__PURE__ */ function(ot) {
|
|
8190
|
+
let Ae = Ve.get("body.body"), Ge = Ve.node.decorators, He = false, Ee = false, Le = false, Ie = /* @__PURE__ */ (function(ot) {
|
|
8191
8191
|
let Ze;
|
|
8192
|
-
return () => (Ze || (Ze = function(bt) {
|
|
8192
|
+
return () => (Ze || (Ze = (function(bt) {
|
|
8193
8193
|
let gt = [], _t = /* @__PURE__ */ new Set();
|
|
8194
8194
|
return bt.traverse({ PrivateName(It) {
|
|
8195
8195
|
_t.add(It.node.id.name);
|
|
@@ -8200,8 +8200,8 @@ ${" ".repeat(le)}`);
|
|
|
8200
8200
|
while (_t.has(It));
|
|
8201
8201
|
return r.types.privateName(r.types.identifier(It));
|
|
8202
8202
|
};
|
|
8203
|
-
}(ot)), Ze());
|
|
8204
|
-
}(Ve), xe = [], ze = Ve.scope.parent, it = (ot, Ze, bt) => {
|
|
8203
|
+
})(ot)), Ze());
|
|
8204
|
+
})(Ve), xe = [], ze = Ve.scope.parent, it = (ot, Ze, bt) => {
|
|
8205
8205
|
let gt = ce(ze, Ze);
|
|
8206
8206
|
return bt.push(r.types.assignmentExpression("=", gt, ot)), r.types.cloneNode(gt);
|
|
8207
8207
|
}, Qe, lt, ct = (oe = Ve.node.id) == null ? void 0 : oe.name, Ye = typeof $e == "object" ? $e : void 0, xt = (ot) => {
|
|
@@ -8249,7 +8249,7 @@ ${" ".repeat(le)}`);
|
|
|
8249
8249
|
}
|
|
8250
8250
|
let on = Ee || Le || et !== "2023-11", pn, Dn, kt = false, gn = 0, _n = [], Wt = [];
|
|
8251
8251
|
if (Ge) {
|
|
8252
|
-
At = ce(ze, "initClass"), kt = Ve.isClassDeclaration(), { id: Qt, path: Ve } = function(Be, Et) {
|
|
8252
|
+
At = ce(ze, "initClass"), kt = Ve.isClassDeclaration(), { id: Qt, path: Ve } = (function(Be, Et) {
|
|
8253
8253
|
let Nt = Be.node.id, jt = Be.scope;
|
|
8254
8254
|
if (Be.type === "ClassDeclaration") {
|
|
8255
8255
|
let Yt = Nt.name, Lt = jt.generateUidIdentifierBasedOnNode(Nt), vt = r.types.identifier(Yt);
|
|
@@ -8261,7 +8261,7 @@ ${" ".repeat(le)}`);
|
|
|
8261
8261
|
let Lt = r.types.classExpression(typeof Et == "string" ? r.types.identifier(Et) : null, Be.node.superClass, Be.node.body), [vt] = Be.replaceWith(r.types.sequenceExpression([Lt, Yt]));
|
|
8262
8262
|
return { id: r.types.cloneNode(Yt), path: vt.get("expressions.0") };
|
|
8263
8263
|
}
|
|
8264
|
-
}(Ve, $e), Ve.node.decorators = null;
|
|
8264
|
+
})(Ve, $e), Ve.node.decorators = null;
|
|
8265
8265
|
let ot = Ge.some(Q), { hasSideEffects: Ze, usesFnContext: bt, decoratorsThis: gt } = bn(Ge), { haveThis: _t, decs: It } = W(Ge, gt, et);
|
|
8266
8266
|
if (gn = _t ? 1 : 0, _n = It, (bt || Ze && on || ot) && (pn = it(r.types.arrayExpression(_n), "classDecs", xe)), !He) for (let Be of Ve.get("body.body")) {
|
|
8267
8267
|
let { node: Et } = Be;
|
|
@@ -8336,7 +8336,7 @@ ${" ".repeat(le)}`);
|
|
|
8336
8336
|
break;
|
|
8337
8337
|
}
|
|
8338
8338
|
}
|
|
8339
|
-
Ze != null && (function(bt, gt) {
|
|
8339
|
+
Ze != null && ((function(bt, gt) {
|
|
8340
8340
|
let _t = gt.get("key"), It = u(_t);
|
|
8341
8341
|
if (It.isConstantExpression()) y(bt, gt);
|
|
8342
8342
|
else {
|
|
@@ -8346,15 +8346,15 @@ ${" ".repeat(le)}`);
|
|
|
8346
8346
|
jt.isSequenceExpression() ? jt.pushContainer("expressions", Nt) : It.replaceWith(ie([r.types.cloneNode(Et), ...Nt]));
|
|
8347
8347
|
} else y(bt, gt);
|
|
8348
8348
|
}
|
|
8349
|
-
}(Wt, Ze), Wt = []);
|
|
8349
|
+
})(Wt, Ze), Wt = []);
|
|
8350
8350
|
}
|
|
8351
8351
|
if (dn.length > 0) {
|
|
8352
8352
|
let ot = !!Ve.node.superClass;
|
|
8353
|
-
Dt ? ot ? function(Ze, bt, gt) {
|
|
8353
|
+
Dt ? ot ? (function(Ze, bt, gt) {
|
|
8354
8354
|
bt.traverse({ CallExpression: { exit(_t) {
|
|
8355
8355
|
if (!_t.get("callee").isSuper()) return;
|
|
8356
8356
|
let It = [_t.node, ...Ze.map((Be) => r.types.cloneNode(Be))];
|
|
8357
|
-
_t.isCompletionRecord() && It.push(r.types.thisExpression()), _t.replaceWith(function(Be, Et) {
|
|
8357
|
+
_t.isCompletionRecord() && It.push(r.types.thisExpression()), _t.replaceWith((function(Be, Et) {
|
|
8358
8358
|
if (Et) {
|
|
8359
8359
|
if (Be.length >= 2 && b(Be[1], Et)) {
|
|
8360
8360
|
let Nt = r.types.callExpression(r.types.cloneNode(Et), [Be[0]]);
|
|
@@ -8363,28 +8363,28 @@ ${" ".repeat(le)}`);
|
|
|
8363
8363
|
Be.length >= 2 && r.types.isThisExpression(Be[Be.length - 1]) && b(Be[Be.length - 2], Et) && Be.splice(Be.length - 1, 1);
|
|
8364
8364
|
}
|
|
8365
8365
|
return ie(Be);
|
|
8366
|
-
}(It, gt)), _t.skip();
|
|
8366
|
+
})(It, gt)), _t.skip();
|
|
8367
8367
|
} }, ClassMethod(_t) {
|
|
8368
8368
|
_t.node.kind === "constructor" && _t.skip();
|
|
8369
8369
|
} });
|
|
8370
|
-
}(dn, Dt, Qe) : function(Ze, bt) {
|
|
8370
|
+
})(dn, Dt, Qe) : (function(Ze, bt) {
|
|
8371
8371
|
bt.node.body.body.unshift(r.types.expressionStatement(ie(Ze)));
|
|
8372
|
-
}(dn, Dt) : Ve.node.body.body.unshift(C(dn, ot)), dn = [];
|
|
8372
|
+
})(dn, Dt) : Ve.node.body.body.unshift(C(dn, ot)), dn = [];
|
|
8373
8373
|
}
|
|
8374
8374
|
tn.length > 0 && (Ve.node.body.body.push(N(tn)), tn = []);
|
|
8375
|
-
let Fn = (fn = Ft, [...fn.filter((ot) => ot.isStatic && ot.kind >= K && ot.kind <= O), ...fn.filter((ot) => !ot.isStatic && ot.kind >= K && ot.kind <= O), ...fn.filter((ot) => ot.isStatic && ot.kind === F), ...fn.filter((ot) => !ot.isStatic && ot.kind === F)]), Rn = function(ot, Ze) {
|
|
8375
|
+
let Fn = (fn = Ft, [...fn.filter((ot) => ot.isStatic && ot.kind >= K && ot.kind <= O), ...fn.filter((ot) => !ot.isStatic && ot.kind >= K && ot.kind <= O), ...fn.filter((ot) => ot.isStatic && ot.kind === F), ...fn.filter((ot) => !ot.isStatic && ot.kind === F)]), Rn = (function(ot, Ze) {
|
|
8376
8376
|
return r.types.arrayExpression(ot.map((bt) => {
|
|
8377
8377
|
let gt = bt.kind;
|
|
8378
8378
|
return bt.isStatic && (gt += Ze === "2023-11" || Ze === "2023-05" ? te : z), bt.decoratorsHaveThis && (gt += $), r.types.arrayExpression([bt.decoratorsArray, r.types.numericLiteral(gt), bt.name, ...bt.privateMethods || []]);
|
|
8379
8379
|
}));
|
|
8380
|
-
}(et === "2023-11" ? Ft : Fn, et), Jn = function(ot) {
|
|
8380
|
+
})(et === "2023-11" ? Ft : Fn, et), Jn = (function(ot) {
|
|
8381
8381
|
let Ze = [];
|
|
8382
8382
|
for (let bt of ot) {
|
|
8383
8383
|
let { locals: gt } = bt;
|
|
8384
8384
|
Array.isArray(gt) ? Ze.push(...gt) : gt !== void 0 && Ze.push(gt);
|
|
8385
8385
|
}
|
|
8386
8386
|
return Ze;
|
|
8387
|
-
}(Fn);
|
|
8387
|
+
})(Fn);
|
|
8388
8388
|
var fn;
|
|
8389
8389
|
Qe && Jn.push(Qe), lt && Jn.push(lt);
|
|
8390
8390
|
let Zn = [], Nn = false, Vn = At && r.types.callExpression(r.types.cloneNode(At), []), $n = Ve, On = Ve.node, Wn = [];
|
|
@@ -8396,18 +8396,18 @@ ${" ".repeat(le)}`);
|
|
|
8396
8396
|
if (de(Ze, St)) {
|
|
8397
8397
|
let gt = it((bt = Ze.node, r.types.functionExpression(null, [], r.types.blockStatement(bt.body))), "staticBlock", Wn);
|
|
8398
8398
|
tn.push(r.types.callExpression(r.types.memberExpression(gt, r.types.identifier("call")), [r.types.thisExpression()]));
|
|
8399
|
-
} else tn.push(function(gt) {
|
|
8399
|
+
} else tn.push((function(gt) {
|
|
8400
8400
|
return r.types.callExpression(r.types.arrowFunctionExpression([], r.types.blockStatement(gt.body)), []);
|
|
8401
|
-
}(Ze.node));
|
|
8401
|
+
})(Ze.node));
|
|
8402
8402
|
Ze.remove();
|
|
8403
8403
|
} else {
|
|
8404
8404
|
var bt;
|
|
8405
8405
|
if ((Ze.isClassProperty() || Ze.isClassPrivateProperty()) && Ze.node.static) {
|
|
8406
8406
|
let gt = Ze.get("value");
|
|
8407
8407
|
if (de(gt, St)) {
|
|
8408
|
-
let _t = it(function(It) {
|
|
8408
|
+
let _t = it((function(It) {
|
|
8409
8409
|
return r.types.functionExpression(null, [], r.types.blockStatement([r.types.returnStatement(It)]));
|
|
8410
|
-
}(gt.node), "fieldValue", Wn);
|
|
8410
|
+
})(gt.node), "fieldValue", Wn);
|
|
8411
8411
|
gt.replaceWith(r.types.callExpression(r.types.memberExpression(_t, r.types.identifier("call")), [r.types.thisExpression()]));
|
|
8412
8412
|
}
|
|
8413
8413
|
tn.length > 0 && (P(tn, Ze), tn = []), Ze.node.static = false, ot.push(Ze.node), Ze.remove();
|
|
@@ -8446,19 +8446,19 @@ ${" ".repeat(le)}`);
|
|
|
8446
8446
|
Ze = bt;
|
|
8447
8447
|
break;
|
|
8448
8448
|
}
|
|
8449
|
-
Ze != null ? (function(bt) {
|
|
8449
|
+
Ze != null ? ((function(bt) {
|
|
8450
8450
|
let { node: gt } = bt;
|
|
8451
8451
|
gt.computed = true, r.types.isIdentifier(gt.key) && (gt.key = r.types.stringLiteral(gt.key.name));
|
|
8452
|
-
}(Ze), y(Wt, Ze)) : (On.body.body.unshift(r.types.classProperty(r.types.sequenceExpression([...Wt, r.types.stringLiteral("_")]), void 0, void 0, void 0, true, true)), yt.push(r.types.expressionStatement(r.types.unaryExpression("delete", r.types.memberExpression(r.types.thisExpression(), r.types.identifier("_")))))), Wt = [];
|
|
8452
|
+
})(Ze), y(Wt, Ze)) : (On.body.body.unshift(r.types.classProperty(r.types.sequenceExpression([...Wt, r.types.stringLiteral("_")]), void 0, void 0, void 0, true, true)), yt.push(r.types.expressionStatement(r.types.unaryExpression("delete", r.types.memberExpression(r.types.thisExpression(), r.types.identifier("_")))))), Wt = [];
|
|
8453
8453
|
}
|
|
8454
|
-
if (yt.push(r.types.expressionStatement(function(ot, Ze, bt, gt, _t, It, Be, Et, Nt, jt) {
|
|
8454
|
+
if (yt.push(r.types.expressionStatement((function(ot, Ze, bt, gt, _t, It, Be, Et, Nt, jt) {
|
|
8455
8455
|
let Yt, Lt, vt = [Be ? B(Nt, Be) : r.types.thisExpression(), gt, bt];
|
|
8456
8456
|
return jt !== "2023-11" && vt.splice(1, 2, bt, gt), jt === "2021-12" || jt === "2022-03" && !Nt.availableHelper("applyDecs2203R") ? (Yt = r.types.arrayPattern([...ot, ...Ze]), Lt = r.types.callExpression(Nt.addHelper(jt === "2021-12" ? "applyDecs" : "applyDecs2203"), vt), r.types.assignmentExpression("=", Yt, Lt)) : (jt === "2022-03" ? Lt = r.types.callExpression(Nt.addHelper("applyDecs2203R"), vt) : jt === "2023-01" ? (It && vt.push(U(It)), Lt = r.types.callExpression(Nt.addHelper("applyDecs2301"), vt)) : jt === "2023-05" && ((It || Et || _t.value !== 0) && vt.push(_t), It ? vt.push(U(It)) : Et && vt.push(r.types.unaryExpression("void", r.types.numericLiteral(0))), Et && vt.push(Et), Lt = r.types.callExpression(Nt.addHelper("applyDecs2305"), vt)), jt === "2023-11" && ((It || Et || _t.value !== 0) && vt.push(_t), It ? vt.push(U(It)) : Et && vt.push(r.types.unaryExpression("void", r.types.numericLiteral(0))), Et && vt.push(Et), Lt = r.types.callExpression(Nt.addHelper("applyDecs2311"), vt)), ot.length > 0 ? Ze.length > 0 ? Yt = r.types.objectPattern([r.types.objectProperty(r.types.identifier("e"), r.types.arrayPattern(ot)), r.types.objectProperty(r.types.identifier("c"), r.types.arrayPattern(Ze))]) : (Yt = r.types.arrayPattern(ot), Lt = r.types.memberExpression(Lt, r.types.identifier("e"), false, false)) : (Yt = r.types.arrayPattern(Ze), Lt = r.types.memberExpression(Lt, r.types.identifier("c"), false, false)), r.types.assignmentExpression("=", Yt, Lt));
|
|
8457
|
-
}(Jn, Zn, Rn, pn ?? r.types.arrayExpression(_n), r.types.numericLiteral(gn), Zt ? Dn : null, Ye, r.types.cloneNode(kn), Ne, et))), lt && yt.push(r.types.expressionStatement(r.types.callExpression(r.types.cloneNode(lt), [r.types.thisExpression()]))), Wn.length > 0 && yt.push(...Wn.map((ot) => r.types.expressionStatement(ot))), Ve.insertBefore(xe.map((ot) => r.types.expressionStatement(ot))), kt) if (ze.getBinding(Qt.name).constantViolations.length) {
|
|
8457
|
+
})(Jn, Zn, Rn, pn ?? r.types.arrayExpression(_n), r.types.numericLiteral(gn), Zt ? Dn : null, Ye, r.types.cloneNode(kn), Ne, et))), lt && yt.push(r.types.expressionStatement(r.types.callExpression(r.types.cloneNode(lt), [r.types.thisExpression()]))), Wn.length > 0 && yt.push(...Wn.map((ot) => r.types.expressionStatement(ot))), Ve.insertBefore(xe.map((ot) => r.types.expressionStatement(ot))), kt) if (ze.getBinding(Qt.name).constantViolations.length) {
|
|
8458
8458
|
let ot = ze.generateUidIdentifier("t" + Qt.name), Ze = Qt;
|
|
8459
8459
|
Ve.replaceWithMultiple([r.types.variableDeclaration("let", [r.types.variableDeclarator(r.types.cloneNode(Ze)), r.types.variableDeclarator(ot)]), r.types.blockStatement([r.types.variableDeclaration("let", [r.types.variableDeclarator(r.types.cloneNode(Qt))]), Ve.node, r.types.expressionStatement(r.types.assignmentExpression("=", r.types.cloneNode(ot), r.types.cloneNode(Qt)))]), r.types.expressionStatement(r.types.assignmentExpression("=", r.types.cloneNode(Ze), r.types.cloneNode(ot)))]);
|
|
8460
8460
|
} else Ve.insertBefore(r.types.variableDeclaration("let", [r.types.variableDeclarator(r.types.cloneNode(Qt))]));
|
|
8461
|
-
return Jt.size > 0 && function(ot, Ze) {
|
|
8461
|
+
return Jt.size > 0 && (function(ot, Ze) {
|
|
8462
8462
|
let bt = (0, t.privateNameVisitorFactory)({ PrivateName(_t, It) {
|
|
8463
8463
|
if (!It.privateNamesMap.has(_t.node.id.name)) return;
|
|
8464
8464
|
let Be = _t.parentPath, Et = Be.parentPath;
|
|
@@ -8466,8 +8466,8 @@ ${" ".repeat(le)}`);
|
|
|
8466
8466
|
} }), gt = /* @__PURE__ */ new Map();
|
|
8467
8467
|
for (let _t of Ze) gt.set(_t, null);
|
|
8468
8468
|
ot.traverse(bt, { privateNamesMap: gt });
|
|
8469
|
-
}(Ve, Jt), Ve.scope.crawl(), Ve;
|
|
8470
|
-
}(Re, at, Pe, ke, ut, Oe, pe);
|
|
8469
|
+
})(Ve, Jt), Ve.scope.crawl(), Ve;
|
|
8470
|
+
})(Re, at, Pe, ke, ut, Oe, pe);
|
|
8471
8471
|
rt ? Fe.add(rt) : Fe.add(Re);
|
|
8472
8472
|
}
|
|
8473
8473
|
return { name: "proposal-decorators", inherits: j, visitor: Object.assign({ ExportDefaultDeclaration(Re, at) {
|
|
@@ -9015,7 +9015,7 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
9015
9015
|
}
|
|
9016
9016
|
function te(U, Q, de, se) {
|
|
9017
9017
|
let ye = de.get(Q.node.key.id.name);
|
|
9018
|
-
if (!ye.initAdded) return !g(se) && (ye.getId || ye.setId) ? function(we, ve, ce, H) {
|
|
9018
|
+
if (!ye.initAdded) return !g(se) && (ye.getId || ye.setId) ? (function(we, ve, ce, H) {
|
|
9019
9019
|
let me = ce.get(ve.node.key.id.name), { id: Se, getId: pe, setId: j } = me;
|
|
9020
9020
|
if (ce.set(ve.node.key.id.name, Object.assign({}, me, { initAdded: true })), !H.availableHelper("classPrivateFieldInitSpec")) return B(r.template.statement.ast`
|
|
9021
9021
|
${Se}.set(${we}, {
|
|
@@ -9032,7 +9032,7 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
9032
9032
|
set: ${j ? j.name : ve.scope.buildUndefinedNode()}
|
|
9033
9033
|
},
|
|
9034
9034
|
)`, ve), ve.node);
|
|
9035
|
-
}(U, Q, de, se) : function(we, ve, ce, H) {
|
|
9035
|
+
})(U, Q, de, se) : (function(we, ve, ce, H) {
|
|
9036
9036
|
let me = ce.get(ve.node.key.id.name), { id: Se } = me;
|
|
9037
9037
|
if (!H.availableHelper("classPrivateMethodInitSpec")) return B(r.template.statement.ast`${Se}.add(${we})`, ve);
|
|
9038
9038
|
let pe = H.addHelper("classPrivateMethodInitSpec");
|
|
@@ -9040,7 +9040,7 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
9040
9040
|
${r.types.thisExpression()},
|
|
9041
9041
|
${r.types.cloneNode(Se)}
|
|
9042
9042
|
)`, ve);
|
|
9043
|
-
}(U, Q, de, se);
|
|
9043
|
+
})(U, Q, de, se);
|
|
9044
9044
|
}
|
|
9045
9045
|
function $(U, Q) {
|
|
9046
9046
|
let { key: de, computed: se } = Q.node, ye = Q.node.value || Q.scope.buildUndefinedNode();
|
|
@@ -9320,7 +9320,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
9320
9320
|
}, handle(D, W) {
|
|
9321
9321
|
let { node: q2, parent: re, parentPath: le, scope: ie } = D;
|
|
9322
9322
|
if (D.isOptionalMemberExpression()) {
|
|
9323
|
-
if (function(De) {
|
|
9323
|
+
if ((function(De) {
|
|
9324
9324
|
for (; De && !De.isProgram(); ) {
|
|
9325
9325
|
let { parentPath: Fe, container: Pe, listKey: ke } = De, Oe = Fe.node;
|
|
9326
9326
|
if (ke) {
|
|
@@ -9329,7 +9329,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
9329
9329
|
De = Fe;
|
|
9330
9330
|
}
|
|
9331
9331
|
return false;
|
|
9332
|
-
}(D)) return;
|
|
9332
|
+
})(D)) return;
|
|
9333
9333
|
let M = D.find(({ node: De, parent: Fe }) => P(Fe) ? Fe.optional || Fe.object !== De : !y(Fe) || De !== D.node && Fe.optional || Fe.callee !== De);
|
|
9334
9334
|
if (ie.path.isPattern()) return void M.replaceWith(g(i([], M.node), []));
|
|
9335
9335
|
let B = d(M), G = M.parentPath;
|
|
@@ -9653,7 +9653,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
9653
9653
|
});
|
|
9654
9654
|
`)({ EXPORTS: y.exportName, NAME: L, NAMESPACE: l.types.cloneNode(K) }));
|
|
9655
9655
|
if (P.reexportAll) {
|
|
9656
|
-
let L = function(w, O, z) {
|
|
9656
|
+
let L = (function(w, O, z) {
|
|
9657
9657
|
return (z ? l.template.statement`
|
|
9658
9658
|
Object.keys(NAMESPACE).forEach(function(key) {
|
|
9659
9659
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -9678,7 +9678,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
9678
9678
|
`)({ NAMESPACE: O, EXPORTS: w.exportName, VERIFY_NAME_LIST: w.exportNameListName ? l.template`
|
|
9679
9679
|
if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;
|
|
9680
9680
|
`({ EXPORTS_LIST: w.exportNameListName }) : null });
|
|
9681
|
-
}(y, l.types.cloneNode(K), S);
|
|
9681
|
+
})(y, l.types.cloneNode(K), S);
|
|
9682
9682
|
L.loc = P.reexportAll.loc, N.push(L);
|
|
9683
9683
|
}
|
|
9684
9684
|
return N;
|
|
@@ -9699,7 +9699,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
9699
9699
|
let W = (0, c.default)(y, P, { importInterop: F, initializeReexports: te, getWrapperPayload: L, esNamespaceOnly: O, filename: z });
|
|
9700
9700
|
b || (0, t.default)(y), (0, i.default)(y, W, w), C !== false && (y.node.directives.some((le) => le.value.value === "use strict") || y.unshiftContainer("directives", l.types.directive(l.types.directiveLiteral("use strict"))));
|
|
9701
9701
|
let q2 = [];
|
|
9702
|
-
(0, c.hasExports)(W) && !S && q2.push(function(le, ie = false) {
|
|
9702
|
+
(0, c.hasExports)(W) && !S && q2.push((function(le, ie = false) {
|
|
9703
9703
|
return (ie ? l.template.statement`
|
|
9704
9704
|
EXPORTS.__esModule = true;
|
|
9705
9705
|
` : l.template.statement`
|
|
@@ -9707,8 +9707,8 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
9707
9707
|
value: true,
|
|
9708
9708
|
});
|
|
9709
9709
|
`)({ EXPORTS: le.exportName });
|
|
9710
|
-
}(W, $));
|
|
9711
|
-
let re = function(le, ie) {
|
|
9710
|
+
})(W, $));
|
|
9711
|
+
let re = (function(le, ie) {
|
|
9712
9712
|
let M = /* @__PURE__ */ Object.create(null);
|
|
9713
9713
|
for (let U of ie.local.values()) for (let Q of U.names) M[Q] = true;
|
|
9714
9714
|
let B = false;
|
|
@@ -9720,8 +9720,8 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
9720
9720
|
if (!B || Object.keys(M).length === 0) return null;
|
|
9721
9721
|
let G = le.scope.generateUidIdentifier("exportNames");
|
|
9722
9722
|
return delete M.default, { name: G.name, statement: l.types.variableDeclaration("var", [l.types.variableDeclarator(G, l.types.valueToNode(M))]) };
|
|
9723
|
-
}(y, W);
|
|
9724
|
-
return re && (W.exportNameListName = re.name, q2.push(re.statement)), q2.push(...function(le, ie, M, B = false, G = false) {
|
|
9723
|
+
})(y, W);
|
|
9724
|
+
return re && (W.exportNameListName = re.name, q2.push(re.statement)), q2.push(...(function(le, ie, M, B = false, G = false) {
|
|
9725
9725
|
let U = [];
|
|
9726
9726
|
for (let [de, se] of ie.local) if (se.kind !== "import") {
|
|
9727
9727
|
if (se.kind === "hoisted") U.push([se.names[0], f(ie, se.names, l.types.identifier(de))]);
|
|
@@ -9746,7 +9746,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
9746
9746
|
ye.length > 0 && Q.push(f(ie, ye, le.scope.buildUndefinedNode()));
|
|
9747
9747
|
}
|
|
9748
9748
|
return Q;
|
|
9749
|
-
}(y, W, w, te, D)), { meta: W, headers: q2 };
|
|
9749
|
+
})(y, W, w, te, D)), { meta: W, headers: q2 };
|
|
9750
9750
|
}, Object.defineProperty(e, "rewriteThis", { enumerable: true, get: function() {
|
|
9751
9751
|
return t.default;
|
|
9752
9752
|
} }), e.wrapInterop = function(y, P, S) {
|
|
@@ -9824,8 +9824,8 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
9824
9824
|
N.isExportDefaultDeclaration() && (N.splitExportDeclaration != null || (N.splitExportDeclaration = E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration), N.splitExportDeclaration());
|
|
9825
9825
|
});
|
|
9826
9826
|
})(v);
|
|
9827
|
-
let { local: P, sources: S, hasExports: b } = function(C, { getWrapperPayload: N, initializeReexports: F }, K) {
|
|
9828
|
-
let L = function($, D, W) {
|
|
9827
|
+
let { local: P, sources: S, hasExports: b } = (function(C, { getWrapperPayload: N, initializeReexports: F }, K) {
|
|
9828
|
+
let L = (function($, D, W) {
|
|
9829
9829
|
let q2 = /* @__PURE__ */ new Map(), re = $.scope, le = $.get("body");
|
|
9830
9830
|
le.forEach((B) => {
|
|
9831
9831
|
let G;
|
|
@@ -9878,7 +9878,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
9878
9878
|
de.names.push(se);
|
|
9879
9879
|
});
|
|
9880
9880
|
}), ie;
|
|
9881
|
-
}(C, F, K), w = /* @__PURE__ */ new Map(), O = /* @__PURE__ */ new Map(), z = ($, D) => {
|
|
9881
|
+
})(C, F, K), w = /* @__PURE__ */ new Map(), O = /* @__PURE__ */ new Map(), z = ($, D) => {
|
|
9882
9882
|
let W = $.value, q2 = O.get(W);
|
|
9883
9883
|
return q2 ? w.get(W).push(D) : (q2 = { name: C.scope.generateUidIdentifier((0, r.basename)(W, (0, r.extname)(W))).name, interop: "none", loc: null, imports: /* @__PURE__ */ new Map(), importsNamespace: /* @__PURE__ */ new Set(), reexports: /* @__PURE__ */ new Map(), reexportNamespace: /* @__PURE__ */ new Set(), reexportAll: null, wrap: null, get lazy() {
|
|
9884
9884
|
return this.wrap === "lazy";
|
|
@@ -9934,7 +9934,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
9934
9934
|
}
|
|
9935
9935
|
if (N) for (let [$, D] of O) D.wrap = N($, D, w.get($));
|
|
9936
9936
|
return { hasExports: te, local: L, sources: O };
|
|
9937
|
-
}(v, { initializeReexports: p, getWrapperPayload: h }, y);
|
|
9937
|
+
})(v, { initializeReexports: p, getWrapperPayload: h }, y);
|
|
9938
9938
|
(function(C) {
|
|
9939
9939
|
C.get("body").forEach((N) => {
|
|
9940
9940
|
if (N.isImportDeclaration()) N.remove();
|
|
@@ -10055,7 +10055,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
10055
10055
|
v.add(c.node);
|
|
10056
10056
|
let u = c.node.name, f = p.get(u);
|
|
10057
10057
|
if (f) {
|
|
10058
|
-
if (function(S) {
|
|
10058
|
+
if ((function(S) {
|
|
10059
10059
|
do
|
|
10060
10060
|
switch (S.parent.type) {
|
|
10061
10061
|
case "TSTypeAnnotation":
|
|
@@ -10070,7 +10070,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
10070
10070
|
if (S.parentPath.isStatement() || S.parentPath.isExpression()) return false;
|
|
10071
10071
|
}
|
|
10072
10072
|
while (S = S.parentPath);
|
|
10073
|
-
}(c)) throw c.buildCodeFrameError(`Cannot transform the imported binding "${u}" since it's also used in a type annotation. Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`);
|
|
10073
|
+
})(c)) throw c.buildCodeFrameError(`Cannot transform the imported binding "${u}" since it's also used in a type annotation. Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`);
|
|
10074
10074
|
let y = c.scope.getBinding(u);
|
|
10075
10075
|
if (g.getBinding(u) !== y) return;
|
|
10076
10076
|
let P = T(f, c.node);
|
|
@@ -10548,7 +10548,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
10548
10548
|
}, "./node_modules/.pnpm/@babel+helper-validator-option@7.27.1/node_modules/@babel/helper-validator-option/lib/find-suggestion.js": (ee, e) => {
|
|
10549
10549
|
"use strict";
|
|
10550
10550
|
Object.defineProperty(e, "__esModule", { value: true }), e.findSuggestion = function(r, l) {
|
|
10551
|
-
let d = l.map((t) => function(i, c) {
|
|
10551
|
+
let d = l.map((t) => (function(i, c) {
|
|
10552
10552
|
let v, T, g = [], p = [], h = i.length, u = c.length;
|
|
10553
10553
|
if (!h) return u;
|
|
10554
10554
|
if (!u) return h;
|
|
@@ -10558,7 +10558,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
10558
10558
|
g = p;
|
|
10559
10559
|
}
|
|
10560
10560
|
return p[u];
|
|
10561
|
-
}(t, r));
|
|
10561
|
+
})(t, r));
|
|
10562
10562
|
return l[d.indexOf(E(...d))];
|
|
10563
10563
|
};
|
|
10564
10564
|
let { min: E } = Math;
|
|
@@ -10636,7 +10636,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
10636
10636
|
if (!p) throw Object.assign(new ReferenceError(`Unknown helper ${g}`), { code: "BABEL_HELPER_UNKNOWN", helper: g });
|
|
10637
10637
|
c[g] = { minVersion: p.minVersion, build(h, u, f, y) {
|
|
10638
10638
|
let P = p.ast();
|
|
10639
|
-
return function(S, b, C, N, F, K) {
|
|
10639
|
+
return (function(S, b, C, N, F, K) {
|
|
10640
10640
|
let { locals: L, dependencies: w, exportBindingAssignments: O, exportName: z } = b, te = new Set(N || []);
|
|
10641
10641
|
C && te.add(C);
|
|
10642
10642
|
for (let [$, D] of (Object.entries || ((W) => Object.keys(W).map((q2) => [q2, W[q2]])))(L)) {
|
|
@@ -10652,7 +10652,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
10652
10652
|
K?.(S, z, ($) => {
|
|
10653
10653
|
O.forEach((D) => i(S, D, $(i(S, D))));
|
|
10654
10654
|
});
|
|
10655
|
-
}(P, p.metadata, u, f, h, y), { nodes: P.body, globals: p.metadata.globals };
|
|
10655
|
+
})(P, p.metadata, u, f, h, y), { nodes: P.body, globals: p.metadata.globals };
|
|
10656
10656
|
}, getDependencies: () => Object.keys(p.metadata.dependencies) };
|
|
10657
10657
|
}
|
|
10658
10658
|
return c[g];
|
|
@@ -11166,9 +11166,9 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
11166
11166
|
finalizeComment(n2) {
|
|
11167
11167
|
var a;
|
|
11168
11168
|
let { comments: m2 } = n2;
|
|
11169
|
-
if (n2.leadingNode !== null || n2.trailingNode !== null) n2.leadingNode !== null && Qt(n2.leadingNode, m2), n2.trailingNode !== null && function(_, k) {
|
|
11169
|
+
if (n2.leadingNode !== null || n2.trailingNode !== null) n2.leadingNode !== null && Qt(n2.leadingNode, m2), n2.trailingNode !== null && (function(_, k) {
|
|
11170
11170
|
_.leadingComments === void 0 ? _.leadingComments = k : _.leadingComments.unshift(...k);
|
|
11171
|
-
}(n2.trailingNode, m2);
|
|
11171
|
+
})(n2.trailingNode, m2);
|
|
11172
11172
|
else {
|
|
11173
11173
|
let { containingNode: _, start: k } = n2;
|
|
11174
11174
|
if (this.input.charCodeAt(this.offsetToSourcePos(k) - 1) === 44) switch (_.type) {
|
|
@@ -12473,13 +12473,13 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
12473
12473
|
if (typeof _ == "string" || typeof _ == "boolean") return true;
|
|
12474
12474
|
}
|
|
12475
12475
|
} else if (m2 === "StringLiteral" || m2 === "BooleanLiteral") return true;
|
|
12476
|
-
return !(!Lt(X, n2) && !function(_, k) {
|
|
12476
|
+
return !(!Lt(X, n2) && !(function(_, k) {
|
|
12477
12477
|
if (_.type === "UnaryExpression") {
|
|
12478
12478
|
let { operator: J, argument: ne } = _;
|
|
12479
12479
|
if (J === "-" && Lt(ne, k)) return true;
|
|
12480
12480
|
}
|
|
12481
12481
|
return false;
|
|
12482
|
-
}(X, n2)) || m2 === "TemplateLiteral" && X.expressions.length === 0 || !!jt(X);
|
|
12482
|
+
})(X, n2)) || m2 === "TemplateLiteral" && X.expressions.length === 0 || !!jt(X);
|
|
12483
12483
|
}
|
|
12484
12484
|
function Lt(X, n2) {
|
|
12485
12485
|
return n2 ? X.type === "Literal" && (typeof X.value == "number" || "bigint" in X) : X.type === "NumericLiteral" || X.type === "BigIntLiteral";
|
|
@@ -13385,11 +13385,11 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
13385
13385
|
let k = m2.pop();
|
|
13386
13386
|
k.type === "ArrowFunctionExpression" && k.body.type !== "BlockStatement" ? (k.typeParameters || !k.returnType ? this.finishArrowValidation(k) : _.push(k), m2.push(k.body)) : k.type === "ConditionalExpression" && (m2.push(k.consequent), m2.push(k.alternate));
|
|
13387
13387
|
}
|
|
13388
|
-
return a ? (_.forEach((k) => this.finishArrowValidation(k)), [_, []]) : function(k, J) {
|
|
13388
|
+
return a ? (_.forEach((k) => this.finishArrowValidation(k)), [_, []]) : (function(k, J) {
|
|
13389
13389
|
let ne = [], he = [];
|
|
13390
13390
|
for (let be = 0; be < k.length; be++) (J(k[be], be, k) ? ne : he).push(k[be]);
|
|
13391
13391
|
return [ne, he];
|
|
13392
|
-
}(_, (k) => k.params.every((J) => this.isAssignable(J, true)));
|
|
13392
|
+
})(_, (k) => k.params.every((J) => this.isAssignable(J, true)));
|
|
13393
13393
|
}
|
|
13394
13394
|
finishArrowValidation(n2) {
|
|
13395
13395
|
var a;
|
|
@@ -13460,9 +13460,9 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
13460
13460
|
}
|
|
13461
13461
|
getTokenFromCode(n2) {
|
|
13462
13462
|
let a = this.input.charCodeAt(this.state.pos + 1);
|
|
13463
|
-
n2 === 123 && a === 124 ? this.finishOp(6, 2) : !this.state.inType || n2 !== 62 && n2 !== 60 ? this.state.inType && n2 === 63 ? a === 46 ? this.finishOp(18, 2) : this.finishOp(17, 1) : function(m2, _, k) {
|
|
13463
|
+
n2 === 123 && a === 124 ? this.finishOp(6, 2) : !this.state.inType || n2 !== 62 && n2 !== 60 ? this.state.inType && n2 === 63 ? a === 46 ? this.finishOp(18, 2) : this.finishOp(17, 1) : (function(m2, _, k) {
|
|
13464
13464
|
return m2 === 64 && _ === 64 && ke(k);
|
|
13465
|
-
}(n2, a, this.input.charCodeAt(this.state.pos + 2)) ? (this.state.pos += 2, this.readIterator()) : super.getTokenFromCode(n2) : this.finishOp(n2 === 62 ? 48 : 47, 1);
|
|
13465
|
+
})(n2, a, this.input.charCodeAt(this.state.pos + 2)) ? (this.state.pos += 2, this.readIterator()) : super.getTokenFromCode(n2) : this.finishOp(n2 === 62 ? 48 : 47, 1);
|
|
13466
13466
|
}
|
|
13467
13467
|
isAssignable(n2, a) {
|
|
13468
13468
|
return n2.type === "TypeCastExpression" ? this.isAssignable(n2.expression, a) : super.isAssignable(n2, a);
|
|
@@ -13958,10 +13958,10 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
13958
13958
|
return m2;
|
|
13959
13959
|
}
|
|
13960
13960
|
tsParseDelimitedList(n2, a, m2) {
|
|
13961
|
-
return function(_) {
|
|
13961
|
+
return (function(_) {
|
|
13962
13962
|
if (_ == null) throw new Error(`Unexpected ${_} value.`);
|
|
13963
13963
|
return _;
|
|
13964
|
-
}(this.tsParseDelimitedListWorker(n2, a, true, m2));
|
|
13964
|
+
})(this.tsParseDelimitedListWorker(n2, a, true, m2));
|
|
13965
13965
|
}
|
|
13966
13966
|
tsParseDelimitedListWorker(n2, a, m2, _) {
|
|
13967
13967
|
let k = [], J = -1;
|
|
@@ -14225,7 +14225,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
14225
14225
|
default: {
|
|
14226
14226
|
let { type: n2 } = this.state;
|
|
14227
14227
|
if (G(n2) || n2 === 88 || n2 === 84) {
|
|
14228
|
-
let a = n2 === 88 ? "TSVoidKeyword" : n2 === 84 ? "TSNullKeyword" : function(m2) {
|
|
14228
|
+
let a = n2 === 88 ? "TSVoidKeyword" : n2 === 84 ? "TSNullKeyword" : (function(m2) {
|
|
14229
14229
|
switch (m2) {
|
|
14230
14230
|
case "any":
|
|
14231
14231
|
return "TSAnyKeyword";
|
|
@@ -14250,7 +14250,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
14250
14250
|
default:
|
|
14251
14251
|
return;
|
|
14252
14252
|
}
|
|
14253
|
-
}(this.state.value);
|
|
14253
|
+
})(this.state.value);
|
|
14254
14254
|
if (a !== void 0 && this.lookaheadCharCode() !== 46) {
|
|
14255
14255
|
let m2 = this.startNode();
|
|
14256
14256
|
return this.next(), this.finishNode(m2, a);
|
|
@@ -16059,12 +16059,12 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
16059
16059
|
return n2 ? k && this.replaceToken(132) : this.checkReservedWord(a, m2, k, false), this.next(), a;
|
|
16060
16060
|
}
|
|
16061
16061
|
checkReservedWord(n2, a, m2, _) {
|
|
16062
|
-
if (!(n2.length > 10) && function(k) {
|
|
16062
|
+
if (!(n2.length > 10) && (function(k) {
|
|
16063
16063
|
return ae.has(k);
|
|
16064
|
-
}(n2)) {
|
|
16065
|
-
if (m2 && function(k) {
|
|
16064
|
+
})(n2)) {
|
|
16065
|
+
if (m2 && (function(k) {
|
|
16066
16066
|
return at.has(k);
|
|
16067
|
-
}(n2)) return void this.raise(S.UnexpectedKeyword, a, { keyword: n2 });
|
|
16067
|
+
})(n2)) return void this.raise(S.UnexpectedKeyword, a, { keyword: n2 });
|
|
16068
16068
|
if ((this.state.strict ? _ ? Ne : rt : qe)(n2, this.inModule)) this.raise(S.UnexpectedReservedWord, a, { reservedWord: n2 });
|
|
16069
16069
|
else if (n2 === "yield") {
|
|
16070
16070
|
if (this.prodParam.hasYield) return void this.raise(S.YieldBindingIdentifier, a);
|
|
@@ -16250,7 +16250,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
16250
16250
|
let jn = { kind: 1 }, qn = { kind: 2 }, En = /[\uD800-\uDFFF]/u, Mn = /in(?:stanceof)?/y;
|
|
16251
16251
|
class mi extends Kn {
|
|
16252
16252
|
parseTopLevel(n2, a) {
|
|
16253
|
-
return n2.program = this.parseProgram(a, 140, this.options.sourceType === "module" ? "module" : "script"), n2.comments = this.comments, 256 & this.optionFlags && (n2.tokens = function(m2, _, k) {
|
|
16253
|
+
return n2.program = this.parseProgram(a, 140, this.options.sourceType === "module" ? "module" : "script"), n2.comments = this.comments, 256 & this.optionFlags && (n2.tokens = (function(m2, _, k) {
|
|
16254
16254
|
for (let J = 0; J < m2.length; J++) {
|
|
16255
16255
|
let ne = m2[J], { type: he } = ne;
|
|
16256
16256
|
if (typeof he == "number") {
|
|
@@ -16268,7 +16268,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
16268
16268
|
}
|
|
16269
16269
|
}
|
|
16270
16270
|
return m2;
|
|
16271
|
-
}(this.tokens, this.input, this.startIndex)), this.finishNode(n2, "File");
|
|
16271
|
+
})(this.tokens, this.input, this.startIndex)), this.finishNode(n2, "File");
|
|
16272
16272
|
}
|
|
16273
16273
|
parseProgram(n2, a, m2) {
|
|
16274
16274
|
if (n2.sourceType = m2, n2.interpreter = this.parseInterpreterDirective(), this.parseBlockBody(n2, true, true, a), this.inModule) {
|
|
@@ -17082,7 +17082,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17082
17082
|
}
|
|
17083
17083
|
class un extends mi {
|
|
17084
17084
|
constructor(n2, a, m2) {
|
|
17085
|
-
super(n2 = function(k) {
|
|
17085
|
+
super(n2 = (function(k) {
|
|
17086
17086
|
let J = { sourceType: "script", sourceFilename: void 0, startIndex: 0, startColumn: 0, startLine: 1, allowAwaitOutsideFunction: false, allowReturnOutsideFunction: false, allowNewTargetOutsideFunction: false, allowImportExportEverywhere: false, allowSuperOutsideMethod: false, allowUndeclaredExports: false, allowYieldOutsideFunction: false, plugins: [], strictMode: null, ranges: false, tokens: false, createImportExpressions: false, createParenthesizedExpressions: false, errorRecovery: false, attachComment: true, annexB: true };
|
|
17087
17087
|
if (k == null) return J;
|
|
17088
17088
|
if (k.annexB != null && k.annexB !== false) throw new Error("The `annexB` option can only be set to `false`.");
|
|
@@ -17095,7 +17095,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17095
17095
|
if (k.allowNewTargetOutsideFunction != null) throw new Error("`sourceType: 'commonjs'` implies `allowNewTargetOutsideFunction: true`, please remove the `allowNewTargetOutsideFunction` option or use `sourceType: 'script'`.");
|
|
17096
17096
|
}
|
|
17097
17097
|
return J;
|
|
17098
|
-
}(n2), a), this.options = n2, this.initializeScopes(), this.plugins = m2, this.filename = n2.sourceFilename, this.startIndex = n2.startIndex;
|
|
17098
|
+
})(n2), a), this.options = n2, this.initializeScopes(), this.plugins = m2, this.filename = n2.sourceFilename, this.startIndex = n2.startIndex;
|
|
17099
17099
|
let _ = 0;
|
|
17100
17100
|
n2.allowAwaitOutsideFunction && (_ |= 1), n2.allowReturnOutsideFunction && (_ |= 2), n2.allowImportExportEverywhere && (_ |= 8), n2.allowSuperOutsideMethod && (_ |= 16), n2.allowUndeclaredExports && (_ |= 64), n2.allowNewTargetOutsideFunction && (_ |= 4), n2.allowYieldOutsideFunction && (_ |= 32), n2.ranges && (_ |= 128), n2.tokens && (_ |= 256), n2.createImportExpressions && (_ |= 512), n2.createParenthesizedExpressions && (_ |= 1024), n2.errorRecovery && (_ |= 2048), n2.attachComment && (_ |= 4096), n2.annexB && (_ |= 8192), this.optionFlags = _;
|
|
17101
17101
|
}
|
|
@@ -17108,11 +17108,11 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17108
17108
|
return this.nextToken(), n2.errors = null, this.parseTopLevel(n2, a), n2.errors = this.state.errors, n2.comments.length = this.state.commentsLen, n2;
|
|
17109
17109
|
}
|
|
17110
17110
|
}
|
|
17111
|
-
let ri = function(X) {
|
|
17111
|
+
let ri = (function(X) {
|
|
17112
17112
|
let n2 = {};
|
|
17113
17113
|
for (let a of Object.keys(X)) n2[a] = me(X[a]);
|
|
17114
17114
|
return n2;
|
|
17115
|
-
}(B);
|
|
17115
|
+
})(B);
|
|
17116
17116
|
function Gn(X, n2) {
|
|
17117
17117
|
let a = un, m2 = /* @__PURE__ */ new Map();
|
|
17118
17118
|
if (X != null && X.plugins) {
|
|
@@ -17167,7 +17167,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17167
17167
|
}
|
|
17168
17168
|
if (_.has("optionalChainingAssign") && _.get("optionalChainingAssign").version !== "2023-07") throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.");
|
|
17169
17169
|
if (_.has("discardBinding") && _.get("discardBinding").syntaxType !== "void") throw new Error("The 'discardBinding' plugin requires a 'syntaxType' option. Currently the only supported value is 'void'.");
|
|
17170
|
-
})(m2), a = function(_) {
|
|
17170
|
+
})(m2), a = (function(_) {
|
|
17171
17171
|
let k = [];
|
|
17172
17172
|
for (let he of Kt) _.has(he) && k.push(he);
|
|
17173
17173
|
let J = k.join("|"), ne = ti.get(J);
|
|
@@ -17177,7 +17177,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17177
17177
|
ti.set(J, ne);
|
|
17178
17178
|
}
|
|
17179
17179
|
return ne;
|
|
17180
|
-
}(m2);
|
|
17180
|
+
})(m2);
|
|
17181
17181
|
}
|
|
17182
17182
|
return new a(X, n2, m2);
|
|
17183
17183
|
}
|
|
@@ -17290,7 +17290,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17290
17290
|
C.identifier = b, C.path = S;
|
|
17291
17291
|
}
|
|
17292
17292
|
}, ClassExpression(f, y) {
|
|
17293
|
-
let P = v(f) || function(S) {
|
|
17293
|
+
let P = v(f) || (function(S) {
|
|
17294
17294
|
if (!T(S.node)) return;
|
|
17295
17295
|
let b = S.node.decorators || [];
|
|
17296
17296
|
S.node.decorators = null;
|
|
@@ -17298,14 +17298,14 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17298
17298
|
return b.map((N) => N.expression).reverse().reduce(function(N, F) {
|
|
17299
17299
|
return l({ CLASS_REF: r.types.cloneNode(C), DECORATOR: r.types.cloneNode(F), INNER: N }).expression;
|
|
17300
17300
|
}, S.node);
|
|
17301
|
-
}(f) || function(S, b) {
|
|
17301
|
+
})(f) || (function(S, b) {
|
|
17302
17302
|
if (g(S.node.body.body)) return p(S, b, S.node.body.body);
|
|
17303
|
-
}(f, y);
|
|
17303
|
+
})(f, y);
|
|
17304
17304
|
P && f.replaceWith(P);
|
|
17305
17305
|
}, ObjectExpression(f, y) {
|
|
17306
|
-
let P = v(f) || function(S, b) {
|
|
17306
|
+
let P = v(f) || (function(S, b) {
|
|
17307
17307
|
if (g(S.node.properties)) return p(S, b, S.node.properties.filter((C) => C.type !== "SpreadElement"));
|
|
17308
|
-
}(f, y);
|
|
17308
|
+
})(f, y);
|
|
17309
17309
|
P && f.replaceWith(P);
|
|
17310
17310
|
}, AssignmentExpression(f, y) {
|
|
17311
17311
|
c.has(f.node.right) && f.replaceWith(r.types.callExpression(y.addHelper("initializerDefineProperty"), [r.types.cloneNode(f.get("left.object").node), r.types.stringLiteral(f.get("left.property").node.name || f.get("left.property").node.value), r.types.cloneNode(f.get("right.arguments")[0].node), r.types.cloneNode(f.get("right.arguments")[1].node)]));
|
|
@@ -17554,22 +17554,22 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17554
17554
|
if (ye.isTSModuleBlock()) return false;
|
|
17555
17555
|
} while (se = se.parent);
|
|
17556
17556
|
return true;
|
|
17557
|
-
})(U.scope) && de.push(d.types.jsxAttribute(d.types.jsxIdentifier("__self"), d.types.jsxExpressionContainer(d.types.thisExpression()))), de.push(d.types.jsxAttribute(d.types.jsxIdentifier("__source"), d.types.jsxExpressionContainer(function(se, ye) {
|
|
17557
|
+
})(U.scope) && de.push(d.types.jsxAttribute(d.types.jsxIdentifier("__self"), d.types.jsxExpressionContainer(d.types.thisExpression()))), de.push(d.types.jsxAttribute(d.types.jsxIdentifier("__source"), d.types.jsxExpressionContainer((function(se, ye) {
|
|
17558
17558
|
let we = se.node.loc;
|
|
17559
17559
|
if (!we) return se.scope.buildUndefinedNode();
|
|
17560
17560
|
if (!ye.fileNameIdentifier) {
|
|
17561
17561
|
let { filename: ve = "" } = ye, ce = se.scope.generateUidIdentifier("_jsxFileName");
|
|
17562
17562
|
se.scope.getProgramParent().push({ id: ce, init: d.types.stringLiteral(ve) }), ye.fileNameIdentifier = ce;
|
|
17563
17563
|
}
|
|
17564
|
-
return function(ve, ce, H) {
|
|
17564
|
+
return (function(ve, ce, H) {
|
|
17565
17565
|
let me = ce != null ? d.types.numericLiteral(ce) : d.types.nullLiteral(), Se = H != null ? d.types.numericLiteral(H + 1) : d.types.nullLiteral();
|
|
17566
17566
|
return d.template.expression.ast`{
|
|
17567
17567
|
fileName: ${ve},
|
|
17568
17568
|
lineNumber: ${me},
|
|
17569
17569
|
columnNumber: ${Se},
|
|
17570
17570
|
}`;
|
|
17571
|
-
}(d.types.cloneNode(ye.fileNameIdentifier), we.start.line, we.start.column);
|
|
17572
|
-
}(U, Q)))), U.pushContainer("attributes", de);
|
|
17571
|
+
})(d.types.cloneNode(ye.fileNameIdentifier), we.start.line, we.start.column);
|
|
17572
|
+
})(U, Q)))), U.pushContainer("attributes", de);
|
|
17573
17573
|
} };
|
|
17574
17574
|
return { name: P, inherits: r.default, visitor: { JSXNamespacedName(U) {
|
|
17575
17575
|
if (F) throw U.buildCodeFrameError("Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set `throwIfNamespace: false` to bypass this warning.");
|
|
@@ -17595,9 +17595,9 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17595
17595
|
if (se !== "automatic") throw U.buildCodeFrameError('Runtime must be either "classic" or "automatic".');
|
|
17596
17596
|
{
|
|
17597
17597
|
if (H || me) throw U.buildCodeFrameError("pragma and pragmaFrag cannot be set when runtime is automatic.");
|
|
17598
|
-
let Se = (pe, j) => u(Q, pe, /* @__PURE__ */ function(Te, De, Fe, Pe) {
|
|
17598
|
+
let Se = (pe, j) => u(Q, pe, /* @__PURE__ */ (function(Te, De, Fe, Pe) {
|
|
17599
17599
|
return () => {
|
|
17600
|
-
let ke = function(Oe, We) {
|
|
17600
|
+
let ke = (function(Oe, We) {
|
|
17601
17601
|
switch (We) {
|
|
17602
17602
|
case "Fragment":
|
|
17603
17603
|
return `${Oe}/${S ? "jsx-dev-runtime" : "jsx-runtime"}`;
|
|
@@ -17609,7 +17609,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17609
17609
|
case "createElement":
|
|
17610
17610
|
return Oe;
|
|
17611
17611
|
}
|
|
17612
|
-
}(Pe, Fe);
|
|
17612
|
+
})(Pe, Fe);
|
|
17613
17613
|
if ((0, t.isModule)(De)) {
|
|
17614
17614
|
let Oe = h(Te, `imports/${Fe}`);
|
|
17615
17615
|
return Oe ? d.types.cloneNode(Oe) : (Oe = (0, t.addNamed)(De, Fe, ke, { importedInterop: "uncompiled", importPosition: "after" }), u(Te, `imports/${Fe}`, Oe), Oe);
|
|
@@ -17619,22 +17619,22 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17619
17619
|
return Oe ? Oe = d.types.cloneNode(Oe) : (Oe = (0, t.addNamespace)(De, ke, { importedInterop: "uncompiled" }), u(Te, `requires/${ke}`, Oe)), d.types.memberExpression(Oe, d.types.identifier(Fe));
|
|
17620
17620
|
}
|
|
17621
17621
|
};
|
|
17622
|
-
}(Q, U, j, ye));
|
|
17622
|
+
})(Q, U, j, ye));
|
|
17623
17623
|
Se("id/jsx", S ? "jsxDEV" : "jsx"), Se("id/jsxs", S ? "jsxDEV" : "jsxs"), Se("id/createElement", "createElement"), Se("id/fragment", "Fragment"), u(Q, "defaultPure", ye === c.importSource);
|
|
17624
17624
|
}
|
|
17625
17625
|
}
|
|
17626
17626
|
S && U.traverse(D, Q);
|
|
17627
17627
|
} }, JSXFragment: { exit(U, Q) {
|
|
17628
17628
|
let de;
|
|
17629
|
-
de = h(Q, "runtime") === "classic" ? function(se, ye) {
|
|
17629
|
+
de = h(Q, "runtime") === "classic" ? (function(se, ye) {
|
|
17630
17630
|
if (!(K && !K(se.node, ye))) return q2(ye, "createElement", [h(ye, "id/fragment")(), d.types.nullLiteral(), ...d.types.react.buildChildren(se.node)]);
|
|
17631
|
-
}(U, Q) : function(se, ye) {
|
|
17631
|
+
})(U, Q) : (function(se, ye) {
|
|
17632
17632
|
let we = [h(ye, "id/fragment")()], ve = d.types.react.buildChildren(se.node);
|
|
17633
17633
|
return we.push(d.types.objectExpression(ve.length > 0 ? [M(ve)] : [])), S && we.push(se.scope.buildUndefinedNode(), d.types.booleanLiteral(ve.length > 1)), q2(ye, ve.length > 1 ? "jsxs" : "jsx", we);
|
|
17634
|
-
}(U, Q), U.replaceWith(d.types.inherits(de, U.node));
|
|
17634
|
+
})(U, Q), U.replaceWith(d.types.inherits(de, U.node));
|
|
17635
17635
|
} }, JSXElement: { exit(U, Q) {
|
|
17636
17636
|
let de;
|
|
17637
|
-
de = h(Q, "runtime") === "classic" || function(se) {
|
|
17637
|
+
de = h(Q, "runtime") === "classic" || (function(se) {
|
|
17638
17638
|
let ye = se.get("openingElement"), we = ye.node.attributes, ve = false;
|
|
17639
17639
|
for (let ce = 0; ce < we.length; ce++) {
|
|
17640
17640
|
let H = we[ce];
|
|
@@ -17642,10 +17642,10 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17642
17642
|
d.types.isJSXSpreadAttribute(H) && (ve = true);
|
|
17643
17643
|
}
|
|
17644
17644
|
return false;
|
|
17645
|
-
}(U) ? function(se, ye) {
|
|
17645
|
+
})(U) ? (function(se, ye) {
|
|
17646
17646
|
let we = se.get("openingElement");
|
|
17647
17647
|
return q2(ye, "createElement", [B(we), G(ye, se, we.get("attributes")), ...d.types.react.buildChildren(se.node)]);
|
|
17648
|
-
}(U, Q) : function(se, ye) {
|
|
17648
|
+
})(U, Q) : (function(se, ye) {
|
|
17649
17649
|
let we = se.get("openingElement"), ve = [B(we)], ce = [], H = /* @__PURE__ */ Object.create(null);
|
|
17650
17650
|
for (let j of we.get("attributes")) if (j.isJSXAttribute() && d.types.isJSXIdentifier(j.node.name)) {
|
|
17651
17651
|
let { name: Te } = j.node.name;
|
|
@@ -17664,15 +17664,15 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17664
17664
|
}
|
|
17665
17665
|
} else ce.push(j);
|
|
17666
17666
|
let me = d.types.react.buildChildren(se.node), Se;
|
|
17667
|
-
if (Se = ce.length || me.length ? function(j, Te) {
|
|
17667
|
+
if (Se = ce.length || me.length ? (function(j, Te) {
|
|
17668
17668
|
let De = j.reduce(ie, []);
|
|
17669
17669
|
return Te?.length > 0 && De.push(M(Te)), d.types.objectExpression(De);
|
|
17670
|
-
}(ce, me) : d.types.objectExpression([]), ve.push(Se), S) {
|
|
17670
|
+
})(ce, me) : d.types.objectExpression([]), ve.push(Se), S) {
|
|
17671
17671
|
var pe;
|
|
17672
17672
|
ve.push((pe = H.key) != null ? pe : se.scope.buildUndefinedNode(), d.types.booleanLiteral(me.length > 1)), H.__source ? (ve.push(H.__source), H.__self && ve.push(H.__self)) : H.__self && ve.push(se.scope.buildUndefinedNode(), H.__self);
|
|
17673
17673
|
} else H.key !== void 0 && ve.push(H.key);
|
|
17674
17674
|
return q2(ye, me.length > 1 ? "jsxs" : "jsx", ve);
|
|
17675
|
-
}(U, Q), U.replaceWith(d.types.inherits(de, U.node));
|
|
17675
|
+
})(U, Q), U.replaceWith(d.types.inherits(de, U.node));
|
|
17676
17676
|
} }, JSXAttribute(U) {
|
|
17677
17677
|
d.types.isJSXElement(U.node.value) && (U.node.value = d.types.jsxExpressionContainer(U.node.value));
|
|
17678
17678
|
} } };
|
|
@@ -17789,21 +17789,21 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17789
17789
|
Object.defineProperty(e, "__esModule", { value: true }), e.default = function(P, S) {
|
|
17790
17790
|
let { node: b, parentPath: C } = P;
|
|
17791
17791
|
if (b.declare) return void P.remove();
|
|
17792
|
-
let N = b.id.name, { fill: F, data: K, isPure: L } = function(w, O, z) {
|
|
17792
|
+
let N = b.id.name, { fill: F, data: K, isPure: L } = (function(w, O, z) {
|
|
17793
17793
|
let { enumValues: te, data: $, isPure: D } = f(w, O), W = w.get("members"), q2 = [];
|
|
17794
17794
|
for (let re = 0; re < W.length; re++) {
|
|
17795
17795
|
let [le, ie] = te[re];
|
|
17796
17796
|
q2.push(O.inheritsComments(g(p(ie), { ENUM: O.cloneNode(z), NAME: le, VALUE: ie }), W[re].node));
|
|
17797
17797
|
}
|
|
17798
17798
|
return { fill: { ID: O.cloneNode(z), ASSIGNMENTS: q2 }, data: $, isPure: D };
|
|
17799
|
-
}(P, S, b.id);
|
|
17799
|
+
})(P, S, b.id);
|
|
17800
17800
|
switch (C.type) {
|
|
17801
17801
|
case "BlockStatement":
|
|
17802
17802
|
case "ExportNamedDeclaration":
|
|
17803
17803
|
case "Program": {
|
|
17804
|
-
let w = S.isProgram(P.parent), O = function $(D) {
|
|
17804
|
+
let w = S.isProgram(P.parent), O = (function $(D) {
|
|
17805
17805
|
return D.isExportDeclaration() ? $(D.parentPath) : !!D.getData(N) || (D.setData(N, true), false);
|
|
17806
|
-
}(C), z = S.objectExpression([]);
|
|
17806
|
+
})(C), z = S.objectExpression([]);
|
|
17807
17807
|
(O || w) && (z = S.logicalExpression("||", S.cloneNode(F.ID), z));
|
|
17808
17808
|
let te = c(Object.assign({}, F, { INIT: z }));
|
|
17809
17809
|
L && (0, d.default)(te), O ? (C.isExportDeclaration() ? C : P).replaceWith(S.expressionStatement(S.assignmentExpression("=", S.cloneNode(b.id), te))) : P.scope.registerDeclaration(P.replaceWith(S.variableDeclaration(w ? "var" : "let", [S.variableDeclarator(b.id, te)]))[0]), i.set(P.scope.getBindingIdentifier(N), K);
|
|
@@ -17873,7 +17873,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17873
17873
|
case "NumericLiteral":
|
|
17874
17874
|
return K.value;
|
|
17875
17875
|
case "UnaryExpression":
|
|
17876
|
-
return function(L) {
|
|
17876
|
+
return (function(L) {
|
|
17877
17877
|
let w = C(L.get("argument"));
|
|
17878
17878
|
if (w !== void 0) switch (L.node.operator) {
|
|
17879
17879
|
case "+":
|
|
@@ -17885,9 +17885,9 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17885
17885
|
default:
|
|
17886
17886
|
return;
|
|
17887
17887
|
}
|
|
17888
|
-
}(F);
|
|
17888
|
+
})(F);
|
|
17889
17889
|
case "BinaryExpression":
|
|
17890
|
-
return function(L) {
|
|
17890
|
+
return (function(L) {
|
|
17891
17891
|
let w = C(L.get("left"));
|
|
17892
17892
|
if (w === void 0) return;
|
|
17893
17893
|
let O = C(L.get("right"));
|
|
@@ -17919,7 +17919,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
17919
17919
|
default:
|
|
17920
17920
|
return;
|
|
17921
17921
|
}
|
|
17922
|
-
}(F);
|
|
17922
|
+
})(F);
|
|
17923
17923
|
case "ParenthesizedExpression":
|
|
17924
17924
|
return C(F.get("expression"));
|
|
17925
17925
|
case "TemplateLiteral": {
|
|
@@ -18320,7 +18320,7 @@ Please consider using \`${S}\`${b}, or add @babel/plugin-transform-modules-commo
|
|
|
18320
18320
|
} } };
|
|
18321
18321
|
}), p = r.declarePreset((h, u) => {
|
|
18322
18322
|
h.assertVersion(7);
|
|
18323
|
-
let { allExtensions: f, ignoreExtensions: y, allowNamespaces: P, disallowAmbiguousJSXLike: S, isTSX: b, jsxPragma: C, jsxPragmaFrag: N, onlyRemoveTypeImports: F, optimizeConstEnums: K, rewriteImportExtensions: L } = function(z = {}) {
|
|
18323
|
+
let { allExtensions: f, ignoreExtensions: y, allowNamespaces: P, disallowAmbiguousJSXLike: S, isTSX: b, jsxPragma: C, jsxPragmaFrag: N, onlyRemoveTypeImports: F, optimizeConstEnums: K, rewriteImportExtensions: L } = (function(z = {}) {
|
|
18324
18324
|
let { allowNamespaces: te = true, jsxPragma: $, onlyRemoveTypeImports: D } = z, W = "ignoreExtensions", q2 = "disallowAmbiguousJSXLike", re = "jsxPragmaFrag", le = "optimizeConstEnums", ie = "rewriteImportExtensions", M = "allExtensions", B = "isTSX", G = T.validateStringOption(re, z.jsxPragmaFrag, "React.Fragment");
|
|
18325
18325
|
var U = T.validateBooleanOption(M, z.allExtensions, false), Q = T.validateBooleanOption(B, z.isTSX, false);
|
|
18326
18326
|
Q && T.invariant(U, "isTSX:true requires allExtensions:true");
|
|
@@ -18328,7 +18328,7 @@ Please consider using \`${S}\`${b}, or add @babel/plugin-transform-modules-commo
|
|
|
18328
18328
|
se && T.invariant(U, "disallowAmbiguousJSXLike:true requires allExtensions:true");
|
|
18329
18329
|
let ye = { ignoreExtensions: de, allowNamespaces: te, disallowAmbiguousJSXLike: se, jsxPragma: $, jsxPragmaFrag: G, onlyRemoveTypeImports: D, optimizeConstEnums: T.validateBooleanOption(le, z.optimizeConstEnums, false), rewriteImportExtensions: T.validateBooleanOption(ie, z.rewriteImportExtensions, false) };
|
|
18330
18330
|
return ye.allExtensions = U, ye.isTSX = Q, ye;
|
|
18331
|
-
}(u), w = (z) => ({ allowDeclareFields: u.allowDeclareFields, allowNamespaces: P, disallowAmbiguousJSXLike: z, jsxPragma: C, jsxPragmaFrag: N, onlyRemoveTypeImports: F, optimizeConstEnums: K }), O = (z, te) => [[c.default, Object.assign({ isTSX: z }, w(te))]];
|
|
18331
|
+
})(u), w = (z) => ({ allowDeclareFields: u.allowDeclareFields, allowNamespaces: P, disallowAmbiguousJSXLike: z, jsxPragma: C, jsxPragmaFrag: N, onlyRemoveTypeImports: F, optimizeConstEnums: K }), O = (z, te) => [[c.default, Object.assign({ isTSX: z }, w(te))]];
|
|
18332
18332
|
return { plugins: L ? [g] : [], overrides: f || y ? [{ plugins: O(b, S) }] : [{ test: /\.ts$/, plugins: O(false, false) }, { test: /\.mts$/, sourceType: "module", plugins: O(false, true) }, { test: /\.cts$/, sourceType: "unambiguous", plugins: [[v.default, { allowTopLevelThis: true }], [c.default, w(true)]] }, { test: /\.tsx$/, plugins: O(true, false) }] };
|
|
18333
18333
|
});
|
|
18334
18334
|
e.default = p;
|
|
@@ -18421,21 +18421,21 @@ ${i}
|
|
|
18421
18421
|
}, "./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/literal.js": (ee, e, E) => {
|
|
18422
18422
|
"use strict";
|
|
18423
18423
|
Object.defineProperty(e, "__esModule", { value: true }), e.default = function(t, i, c) {
|
|
18424
|
-
let { metadata: v, names: T } = function(g, p, h) {
|
|
18424
|
+
let { metadata: v, names: T } = (function(g, p, h) {
|
|
18425
18425
|
let u = "BABEL_TPL$", f = p.join("");
|
|
18426
18426
|
do
|
|
18427
18427
|
u = "$$" + u;
|
|
18428
18428
|
while (f.includes(u));
|
|
18429
|
-
let { names: y, code: P } = function(b, C) {
|
|
18429
|
+
let { names: y, code: P } = (function(b, C) {
|
|
18430
18430
|
let N = [], F = b[0];
|
|
18431
18431
|
for (let K = 1; K < b.length; K++) {
|
|
18432
18432
|
let L = `${C}${K - 1}`;
|
|
18433
18433
|
N.push(L), F += L + b[K];
|
|
18434
18434
|
}
|
|
18435
18435
|
return { names: N, code: F };
|
|
18436
|
-
}(p, u);
|
|
18436
|
+
})(p, u);
|
|
18437
18437
|
return { metadata: (0, l.default)(g, g.code(P), { parser: h.parser, placeholderWhitelist: new Set(y.concat(h.placeholderWhitelist ? Array.from(h.placeholderWhitelist) : [])), placeholderPattern: h.placeholderPattern, preserveComments: h.preserveComments, syntacticPlaceholders: h.syntacticPlaceholders }), names: y };
|
|
18438
|
-
}(t, i, c);
|
|
18438
|
+
})(t, i, c);
|
|
18439
18439
|
return (g) => {
|
|
18440
18440
|
let p = {};
|
|
18441
18441
|
return g.forEach((h, u) => {
|
|
@@ -18460,7 +18460,7 @@ ${i}
|
|
|
18460
18460
|
throw new Error("Template replacements must be an array, object, null, or undefined");
|
|
18461
18461
|
}, e.validate = function(r) {
|
|
18462
18462
|
if (r != null && typeof r != "object") throw new Error("Unknown template options.");
|
|
18463
|
-
let l = r || {}, { placeholderWhitelist: d, placeholderPattern: t, preserveComments: i, syntacticPlaceholders: c } = l, v = function(T, g) {
|
|
18463
|
+
let l = r || {}, { placeholderWhitelist: d, placeholderPattern: t, preserveComments: i, syntacticPlaceholders: c } = l, v = (function(T, g) {
|
|
18464
18464
|
if (T == null) return {};
|
|
18465
18465
|
var p = {};
|
|
18466
18466
|
for (var h in T) if ({}.hasOwnProperty.call(T, h)) {
|
|
@@ -18468,7 +18468,7 @@ ${i}
|
|
|
18468
18468
|
p[h] = T[h];
|
|
18469
18469
|
}
|
|
18470
18470
|
return p;
|
|
18471
|
-
}(l, E);
|
|
18471
|
+
})(l, E);
|
|
18472
18472
|
if (d != null && !(d instanceof Set)) throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");
|
|
18473
18473
|
if (t != null && !(t instanceof RegExp) && t !== false) throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");
|
|
18474
18474
|
if (i != null && typeof i != "boolean") throw new Error("'.preserveComments' must be a boolean, null, or undefined");
|
|
@@ -18480,7 +18480,7 @@ ${i}
|
|
|
18480
18480
|
}, "./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/parse.js": (ee, e, E) => {
|
|
18481
18481
|
"use strict";
|
|
18482
18482
|
Object.defineProperty(e, "__esModule", { value: true }), e.default = function(b, C, N) {
|
|
18483
|
-
let { placeholderWhitelist: F, placeholderPattern: K, preserveComments: L, syntacticPlaceholders: w } = N, O = function(te, $, D) {
|
|
18483
|
+
let { placeholderWhitelist: F, placeholderPattern: K, preserveComments: L, syntacticPlaceholders: w } = N, O = (function(te, $, D) {
|
|
18484
18484
|
let W = ($.plugins || []).slice();
|
|
18485
18485
|
D !== false && W.push("placeholders"), $ = Object.assign({ allowAwaitOutsideFunction: true, allowReturnOutsideFunction: true, allowNewTargetOutsideFunction: true, allowSuperOutsideMethod: true, allowYieldOutsideFunction: true, sourceType: "module" }, $, { plugins: W });
|
|
18486
18486
|
try {
|
|
@@ -18490,7 +18490,7 @@ ${i}
|
|
|
18490
18490
|
throw re && (q2.message += `
|
|
18491
18491
|
` + (0, d.codeFrameColumns)(te, { start: re }), q2.code = "BABEL_TEMPLATE_PARSE_ERROR"), q2;
|
|
18492
18492
|
}
|
|
18493
|
-
}(C, N.parser, w);
|
|
18493
|
+
})(C, N.parser, w);
|
|
18494
18494
|
f(O, { preserveComments: L }), b.validate(O);
|
|
18495
18495
|
let z = { syntactic: { placeholders: [], placeholderNames: /* @__PURE__ */ new Set() }, legacy: { placeholders: [], placeholderNames: /* @__PURE__ */ new Set() }, placeholderWhitelist: F, placeholderPattern: K, syntacticPlaceholders: w };
|
|
18496
18496
|
return y(O, S, z), Object.assign({ ast: O }, z.syntactic.placeholders.length ? z.syntactic : z.legacy);
|
|
@@ -18517,7 +18517,7 @@ ${i}
|
|
|
18517
18517
|
let { node: w, key: O } = C[C.length - 1], z;
|
|
18518
18518
|
u(b) || p(b, { expectedNode: "StringLiteral" }) ? z = "string" : g(w) && O === "arguments" || t(w) && O === "arguments" || c(w) && O === "params" ? z = "param" : i(w) && !p(b) ? (z = "statement", C = C.slice(0, -1)) : z = h(b) && p(b) ? "statement" : "other";
|
|
18519
18519
|
let { placeholders: te, placeholderNames: $ } = L ? N.syntactic : N.legacy;
|
|
18520
|
-
te.push({ name: K, type: z, resolve: (D) => function(W, q2) {
|
|
18520
|
+
te.push({ name: K, type: z, resolve: (D) => (function(W, q2) {
|
|
18521
18521
|
let re = W;
|
|
18522
18522
|
for (let M = 0; M < q2.length - 1; M++) {
|
|
18523
18523
|
let { key: B, index: G } = q2[M];
|
|
@@ -18525,7 +18525,7 @@ ${i}
|
|
|
18525
18525
|
}
|
|
18526
18526
|
let { key: le, index: ie } = q2[q2.length - 1];
|
|
18527
18527
|
return { parent: re, key: le, index: ie };
|
|
18528
|
-
}(D, C), isDuplicate: $.has(K) }), $.add(K);
|
|
18528
|
+
})(D, C), isDuplicate: $.has(K) }), $.add(K);
|
|
18529
18529
|
}
|
|
18530
18530
|
}, "./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/populate.js": (ee, e, E) => {
|
|
18531
18531
|
"use strict";
|
|
@@ -18905,9 +18905,9 @@ ${i}
|
|
|
18905
18905
|
var Fe;
|
|
18906
18906
|
Te || (De = (Fe = De.ensureFunctionName(false)) != null ? Fe : De);
|
|
18907
18907
|
let { thisBinding: Pe, fnPath: ke } = we(De, Te, pe, j);
|
|
18908
|
-
if (ke.ensureBlock(), function(Oe, We) {
|
|
18908
|
+
if (ke.ensureBlock(), (function(Oe, We) {
|
|
18909
18909
|
Oe.node.type = We;
|
|
18910
|
-
}(ke, "FunctionExpression"), !Te) {
|
|
18910
|
+
})(ke, "FunctionExpression"), !Te) {
|
|
18911
18911
|
let Oe = Pe ? null : ke.scope.generateUidIdentifier("arrowCheckId");
|
|
18912
18912
|
return Oe && ke.parentPath.scope.push({ id: Oe, init: F([]) }), ke.get("body").unshiftContainer("body", h(g(this.hub.addHelper("newArrowCheck"), [$(), u(Oe ? Oe.name : Pe)]))), ke.replaceWith(g(b(ke.node, u("bind")), [Oe ? u(Oe.name) : $()])), ke.get("callee.object");
|
|
18913
18913
|
}
|
|
@@ -18935,10 +18935,10 @@ ${i}
|
|
|
18935
18935
|
if (Pe.hasBinding(De.name) && !Pe.hasGlobal(De.name)) return Pe.rename(De.name), this.node.id = De, Pe.getProgramParent().references[De.name] = true, this;
|
|
18936
18936
|
if (!re(this.node)) return null;
|
|
18937
18937
|
let Oe = Pe.generateUidIdentifier(De.name), We = [];
|
|
18938
|
-
for (let at = 0, ut = function(pt) {
|
|
18938
|
+
for (let at = 0, ut = (function(pt) {
|
|
18939
18939
|
let qe = pt.params.findIndex((rt) => le(rt) || ie(rt));
|
|
18940
18940
|
return qe === -1 ? pt.params.length : qe;
|
|
18941
|
-
}(this.node); at < ut; at++) We.push(Pe.generateUidIdentifier("x"));
|
|
18941
|
+
})(this.node); at < ut; at++) We.push(Pe.generateUidIdentifier("x"));
|
|
18942
18942
|
let Re = l.default.expression.ast`
|
|
18943
18943
|
(function (${Oe}) {
|
|
18944
18944
|
function ${De}(${We}) {
|
|
@@ -18993,21 +18993,21 @@ ${i}
|
|
|
18993
18993
|
if (!Te) throw pe.buildCodeFrameError("Unable to transform arrow inside class property");
|
|
18994
18994
|
pe.replaceWith(g(i([], D(pe.node)), [])), Pe = pe.get("callee"), pe = Pe.get("body");
|
|
18995
18995
|
}
|
|
18996
|
-
let { thisPaths: Oe, argumentsPaths: We, newTargetPaths: Re, superProps: at, superCalls: ut } = function(qe) {
|
|
18996
|
+
let { thisPaths: Oe, argumentsPaths: We, newTargetPaths: Re, superProps: at, superCalls: ut } = (function(qe) {
|
|
18997
18997
|
let rt = [], Ve = [], Ne = [], ae = [], _e = [];
|
|
18998
18998
|
return qe.traverse(me, { thisPaths: rt, argumentsPaths: Ve, newTargetPaths: Ne, superProps: ae, superCalls: _e }), { thisPaths: rt, argumentsPaths: Ve, newTargetPaths: Ne, superProps: ae, superCalls: _e };
|
|
18999
|
-
}(pe);
|
|
18999
|
+
})(pe);
|
|
19000
19000
|
if (ke && ut.length > 0) {
|
|
19001
19001
|
if (!Te) throw ut[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");
|
|
19002
19002
|
if (!De) throw ut[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");
|
|
19003
19003
|
let qe = [];
|
|
19004
19004
|
Pe.traverse(ye, { allSuperCalls: qe });
|
|
19005
|
-
let rt = function(Ve) {
|
|
19005
|
+
let rt = (function(Ve) {
|
|
19006
19006
|
return H(Ve, "supercall", () => {
|
|
19007
19007
|
let Ne = Ve.scope.generateUidIdentifier("args");
|
|
19008
19008
|
return i([K(Ne)], g(te(), [O(u(Ne.name))]));
|
|
19009
19009
|
});
|
|
19010
|
-
}(Pe);
|
|
19010
|
+
})(Pe);
|
|
19011
19011
|
qe.forEach((Ve) => {
|
|
19012
19012
|
let Ne = u(rt);
|
|
19013
19013
|
Ne.loc = Ve.node.callee.loc, Ve.get("callee").replaceWith(Ne);
|
|
@@ -19032,11 +19032,11 @@ ${i}
|
|
|
19032
19032
|
}
|
|
19033
19033
|
if (at.length > 0) {
|
|
19034
19034
|
if (!Te) throw at[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");
|
|
19035
|
-
at.reduce((qe, rt) => qe.concat(function(Ve) {
|
|
19035
|
+
at.reduce((qe, rt) => qe.concat((function(Ve) {
|
|
19036
19036
|
if (Ve.parentPath.isAssignmentExpression() && Ve.parentPath.node.operator !== "=") {
|
|
19037
|
-
let ae = Ve.parentPath, _e = ae.node.operator.slice(0, -1), $e = ae.node.right, st = function(et) {
|
|
19037
|
+
let ae = Ve.parentPath, _e = ae.node.operator.slice(0, -1), $e = ae.node.right, st = (function(et) {
|
|
19038
19038
|
return S.includes(et);
|
|
19039
|
-
}(_e);
|
|
19039
|
+
})(_e);
|
|
19040
19040
|
if (Ve.node.computed) {
|
|
19041
19041
|
let et = Ve.scope.generateDeclaredUidIdentifier("tmp"), oe = Ve.node.object, Ae = Ve.node.property;
|
|
19042
19042
|
ae.get("left").replaceWith(b(oe, c("=", et, Ae), true)), ae.get("right").replaceWith(Ne(st ? "=" : _e, b(oe, u(et.name), true), $e));
|
|
@@ -19054,8 +19054,8 @@ ${i}
|
|
|
19054
19054
|
function Ne(ae, _e, $e) {
|
|
19055
19055
|
return ae === "=" ? c("=", _e, $e) : v(ae, _e, $e);
|
|
19056
19056
|
}
|
|
19057
|
-
}(rt)), []).forEach((qe) => {
|
|
19058
|
-
let rt = qe.node.computed ? "" : qe.get("property").node.name, Ve = qe.parentPath, Ne = Ve.isAssignmentExpression({ left: qe.node }), ae = Ve.isCallExpression({ callee: qe.node }), _e = Ve.isTaggedTemplateExpression({ tag: qe.node }), $e = function(oe, Ae, Ge) {
|
|
19057
|
+
})(rt)), []).forEach((qe) => {
|
|
19058
|
+
let rt = qe.node.computed ? "" : qe.get("property").node.name, Ve = qe.parentPath, Ne = Ve.isAssignmentExpression({ left: qe.node }), ae = Ve.isCallExpression({ callee: qe.node }), _e = Ve.isTaggedTemplateExpression({ tag: qe.node }), $e = (function(oe, Ae, Ge) {
|
|
19059
19059
|
return H(oe, `superprop_${Ae ? "set" : "get"}:${Ge || ""}`, () => {
|
|
19060
19060
|
let Ee = [], Le;
|
|
19061
19061
|
if (Ge) Le = b(te(), u(Ge));
|
|
@@ -19069,7 +19069,7 @@ ${i}
|
|
|
19069
19069
|
}
|
|
19070
19070
|
return i(Ee, Le);
|
|
19071
19071
|
});
|
|
19072
|
-
}(Pe, Ne, rt), st = [];
|
|
19072
|
+
})(Pe, Ne, rt), st = [];
|
|
19073
19073
|
if (qe.node.computed && st.push(qe.get("property").node), Ne) {
|
|
19074
19074
|
let oe = Ve.node.right;
|
|
19075
19075
|
st.push(oe);
|
|
@@ -19079,12 +19079,12 @@ ${i}
|
|
|
19079
19079
|
});
|
|
19080
19080
|
}
|
|
19081
19081
|
let pt;
|
|
19082
|
-
return (Oe.length > 0 || !j) && (pt = function(qe, rt) {
|
|
19082
|
+
return (Oe.length > 0 || !j) && (pt = (function(qe, rt) {
|
|
19083
19083
|
return H(qe, "this", (Ve) => {
|
|
19084
19084
|
if (!rt || !ve(qe)) return $();
|
|
19085
19085
|
qe.traverse(ce, { supers: /* @__PURE__ */ new WeakSet(), thisBinding: Ve });
|
|
19086
19086
|
});
|
|
19087
|
-
}(Pe, ke), (j || ke && ve(Pe)) && (Oe.forEach((qe) => {
|
|
19087
|
+
})(Pe, ke), (j || ke && ve(Pe)) && (Oe.forEach((qe) => {
|
|
19088
19088
|
let rt = qe.isJSX() ? y(pt) : u(pt);
|
|
19089
19089
|
rt.loc = qe.node.loc, qe.replaceWith(rt);
|
|
19090
19090
|
}), j || (pt = null))), { thisBinding: pt, fnPath: pe };
|
|
@@ -19152,7 +19152,7 @@ ${i}
|
|
|
19152
19152
|
{
|
|
19153
19153
|
let u = { resolved: false };
|
|
19154
19154
|
h.set(p, u);
|
|
19155
|
-
let f = function(y, P) {
|
|
19155
|
+
let f = (function(y, P) {
|
|
19156
19156
|
if (P.confident) {
|
|
19157
19157
|
if (y.isSequenceExpression()) {
|
|
19158
19158
|
let b = y.get("expressions");
|
|
@@ -19311,13 +19311,13 @@ ${i}
|
|
|
19311
19311
|
}
|
|
19312
19312
|
if (y.isCallExpression()) {
|
|
19313
19313
|
let b = y.get("callee"), C, N;
|
|
19314
|
-
if (b.isIdentifier() && !y.scope.getBinding(b.node.name) && (d(b.node.name) || function(F) {
|
|
19314
|
+
if (b.isIdentifier() && !y.scope.getBinding(b.node.name) && (d(b.node.name) || (function(F) {
|
|
19315
19315
|
return r.includes(F);
|
|
19316
|
-
}(b.node.name)) && (N = global[b.node.name]), b.isMemberExpression()) {
|
|
19316
|
+
})(b.node.name)) && (N = global[b.node.name]), b.isMemberExpression()) {
|
|
19317
19317
|
let F = b.get("object"), K = b.get("property");
|
|
19318
|
-
if (F.isIdentifier() && K.isIdentifier() && d(F.node.name) && !function(L) {
|
|
19318
|
+
if (F.isIdentifier() && K.isIdentifier() && d(F.node.name) && !(function(L) {
|
|
19319
19319
|
return l.includes(L);
|
|
19320
|
-
}(K.node.name)) {
|
|
19320
|
+
})(K.node.name)) {
|
|
19321
19321
|
C = global[F.node.name];
|
|
19322
19322
|
let L = K.node.name;
|
|
19323
19323
|
hasOwnProperty.call(C, L) && (N = C[L]);
|
|
@@ -19334,7 +19334,7 @@ ${i}
|
|
|
19334
19334
|
}
|
|
19335
19335
|
t(y, P);
|
|
19336
19336
|
}
|
|
19337
|
-
}(T, g);
|
|
19337
|
+
})(T, g);
|
|
19338
19338
|
return g.confident && (u.resolved = true, u.value = f), f;
|
|
19339
19339
|
}
|
|
19340
19340
|
}
|
|
@@ -19463,7 +19463,7 @@ ${i}
|
|
|
19463
19463
|
if (b.isTryStatement()) N = p(b.get("block"), N, C), N = p(b.get("handler"), N, C);
|
|
19464
19464
|
else {
|
|
19465
19465
|
if (b.isCatchClause()) return p(b.get("body"), N, C);
|
|
19466
|
-
if (b.isSwitchStatement()) return function(F, K, L) {
|
|
19466
|
+
if (b.isSwitchStatement()) return (function(F, K, L) {
|
|
19467
19467
|
let w = [];
|
|
19468
19468
|
for (let O = 0; O < F.length; O++) {
|
|
19469
19469
|
let z = y(F[O], L), te = [], $ = [];
|
|
@@ -19471,13 +19471,13 @@ ${i}
|
|
|
19471
19471
|
te.length && (w = te), K.push(...$);
|
|
19472
19472
|
}
|
|
19473
19473
|
return K.push(...w), K;
|
|
19474
|
-
}(b.get("cases"), N, C);
|
|
19474
|
+
})(b.get("cases"), N, C);
|
|
19475
19475
|
if (b.isSwitchCase()) return f(b.get("consequent"), { canHaveBreak: true, shouldPopulateBreak: false, inCaseClause: true, shouldPreserveBreak: C.shouldPreserveBreak });
|
|
19476
|
-
b.isBreakStatement() ? N.push(/* @__PURE__ */ function(F) {
|
|
19476
|
+
b.isBreakStatement() ? N.push(/* @__PURE__ */ (function(F) {
|
|
19477
19477
|
return { type: g, path: F };
|
|
19478
|
-
}(b)) : N.push(/* @__PURE__ */ function(F) {
|
|
19478
|
+
})(b)) : N.push(/* @__PURE__ */ (function(F) {
|
|
19479
19479
|
return { type: T, path: F };
|
|
19480
|
-
}(b));
|
|
19480
|
+
})(b));
|
|
19481
19481
|
}
|
|
19482
19482
|
}
|
|
19483
19483
|
return N;
|
|
@@ -19640,7 +19640,7 @@ ${i}
|
|
|
19640
19640
|
Object.defineProperty(e, "__esModule", { value: true }), e.default = function(p) {
|
|
19641
19641
|
if (!this.isReferenced()) return;
|
|
19642
19642
|
let h = this.scope.getBinding(p.name);
|
|
19643
|
-
if (h) return h.identifier.typeAnnotation ? h.identifier.typeAnnotation : function(u, f, y) {
|
|
19643
|
+
if (h) return h.identifier.typeAnnotation ? h.identifier.typeAnnotation : (function(u, f, y) {
|
|
19644
19644
|
let P = [], S = [], b = v(u, f, S), C = g(u, f, y);
|
|
19645
19645
|
if (C) {
|
|
19646
19646
|
let N = v(u, C.ifStatement);
|
|
@@ -19651,7 +19651,7 @@ ${i}
|
|
|
19651
19651
|
for (let N of b) P.push(N.getTypeAnnotation());
|
|
19652
19652
|
}
|
|
19653
19653
|
if (P.length) return (0, l.createUnionType)(P);
|
|
19654
|
-
}(h, this, p.name);
|
|
19654
|
+
})(h, this, p.name);
|
|
19655
19655
|
if (p.name === "undefined") return c();
|
|
19656
19656
|
if (p.name === "NaN" || p.name === "Infinity") return i();
|
|
19657
19657
|
p.name;
|
|
@@ -19673,14 +19673,14 @@ ${i}
|
|
|
19673
19673
|
return typeof C == "string" ? t(C) : void 0;
|
|
19674
19674
|
}
|
|
19675
19675
|
function g(p, h, u) {
|
|
19676
|
-
let f = function(S, b, C) {
|
|
19676
|
+
let f = (function(S, b, C) {
|
|
19677
19677
|
let N;
|
|
19678
19678
|
for (; N = b.parentPath; ) {
|
|
19679
19679
|
if (N.isIfStatement() || N.isConditionalExpression()) return b.key === "test" ? void 0 : N;
|
|
19680
19680
|
if (N.isFunction() && N.parentPath.scope.getBinding(C) !== S) return;
|
|
19681
19681
|
b = N;
|
|
19682
19682
|
}
|
|
19683
|
-
}(p, h, u);
|
|
19683
|
+
})(p, h, u);
|
|
19684
19684
|
if (!f) return;
|
|
19685
19685
|
let y = [f.get("test")], P = [];
|
|
19686
19686
|
for (let S = 0; S < y.length; S++) {
|
|
@@ -19909,13 +19909,13 @@ ${i}
|
|
|
19909
19909
|
let y = Symbol();
|
|
19910
19910
|
function P(b, C, N) {
|
|
19911
19911
|
let F = { this: h(b), target: h(C) };
|
|
19912
|
-
if (F.target.node !== F.this.node) return function($, D, W) {
|
|
19912
|
+
if (F.target.node !== F.this.node) return (function($, D, W) {
|
|
19913
19913
|
let q2, re = W.get($.node);
|
|
19914
19914
|
if (re) {
|
|
19915
19915
|
if (q2 = re.get(D.node)) return q2 === y ? "unknown" : q2;
|
|
19916
19916
|
} else W.set($.node, re = /* @__PURE__ */ new Map());
|
|
19917
19917
|
re.set(D.node, y);
|
|
19918
|
-
let le = function(ie, M, B) {
|
|
19918
|
+
let le = (function(ie, M, B) {
|
|
19919
19919
|
if (!M.isFunctionDeclaration()) return P(ie, M, B) === "before" ? "before" : "unknown";
|
|
19920
19920
|
if (M.parentPath.isExportDeclaration()) return "unknown";
|
|
19921
19921
|
let G = M.scope.getBinding(M.node.id.name);
|
|
@@ -19929,9 +19929,9 @@ ${i}
|
|
|
19929
19929
|
Q = se;
|
|
19930
19930
|
}
|
|
19931
19931
|
return Q;
|
|
19932
|
-
}($, D, W);
|
|
19932
|
+
})($, D, W);
|
|
19933
19933
|
return re.set(D.node, le), le;
|
|
19934
|
-
}(b, F.target, N);
|
|
19934
|
+
})(b, F.target, N);
|
|
19935
19935
|
let K = { target: C.getAncestry(), this: b.getAncestry() };
|
|
19936
19936
|
if (K.target.includes(b)) return "after";
|
|
19937
19937
|
if (K.this.includes(C)) return "before";
|
|
@@ -20143,11 +20143,11 @@ ${i}
|
|
|
20143
20143
|
if (B.path.isPattern()) return T(M), ie.replaceWith(h(v([], M), [])), ie.get("callee.body").insertAfter(q2), [ie];
|
|
20144
20144
|
if (te(ie)) q2.unshift(M);
|
|
20145
20145
|
else if (P(M) && F(M.callee)) q2.unshift(M), q2.push(K());
|
|
20146
|
-
else if (function(G, U) {
|
|
20146
|
+
else if ((function(G, U) {
|
|
20147
20147
|
if (!y(G) || !C(G.left)) return false;
|
|
20148
20148
|
let Q = U.getBlockParent();
|
|
20149
20149
|
return Q.hasOwnBinding(G.left.name) && Q.getOwnBinding(G.left.name).constantViolations.length <= 1;
|
|
20150
|
-
}(M, B)) q2.unshift(M), q2.push(u(M.left));
|
|
20150
|
+
})(M, B)) q2.unshift(M), q2.push(u(M.left));
|
|
20151
20151
|
else if (B.isPure(M, true)) q2.push(M);
|
|
20152
20152
|
else {
|
|
20153
20153
|
re.isMethod({ computed: true, key: M }) && (B = B.parent);
|
|
@@ -20361,14 +20361,14 @@ ${i}
|
|
|
20361
20361
|
"use strict";
|
|
20362
20362
|
Object.defineProperty(e, "__esModule", { value: true }), e.default = void 0, e.default = class {
|
|
20363
20363
|
constructor({ identifier: E, scope: r, path: l, kind: d }) {
|
|
20364
|
-
this.identifier = void 0, this.scope = void 0, this.path = void 0, this.kind = void 0, this.constantViolations = [], this.constant = true, this.referencePaths = [], this.referenced = false, this.references = 0, this.identifier = E, this.scope = r, this.path = l, this.kind = d, d !== "var" && d !== "hoisted" || !function(t) {
|
|
20364
|
+
this.identifier = void 0, this.scope = void 0, this.path = void 0, this.kind = void 0, this.constantViolations = [], this.constant = true, this.referencePaths = [], this.referenced = false, this.references = 0, this.identifier = E, this.scope = r, this.path = l, this.kind = d, d !== "var" && d !== "hoisted" || !(function(t) {
|
|
20365
20365
|
let i = !t.isVariableDeclarator() || t.node.init;
|
|
20366
20366
|
for (let { parentPath: c, key: v } = t; c; { parentPath: c, key: v } = c) {
|
|
20367
20367
|
if (c.isFunctionParent()) return false;
|
|
20368
20368
|
if (v === "left" && c.isForXStatement() || i && v === "body" && c.isLoop()) return true;
|
|
20369
20369
|
}
|
|
20370
20370
|
return false;
|
|
20371
|
-
}(l) || this.reassign(l), this.clearValue();
|
|
20371
|
+
})(l) || this.reassign(l), this.clearValue();
|
|
20372
20372
|
}
|
|
20373
20373
|
deoptValue() {
|
|
20374
20374
|
this.clearValue(), this.hasDeoptedValue = true;
|
|
@@ -21044,13 +21044,13 @@ ${i}
|
|
|
21044
21044
|
delete L[w];
|
|
21045
21045
|
for (let te of O) L[te] = z;
|
|
21046
21046
|
}
|
|
21047
|
-
f(L), delete L.__esModule, function(w) {
|
|
21047
|
+
f(L), delete L.__esModule, (function(w) {
|
|
21048
21048
|
for (let O of Object.keys(w)) {
|
|
21049
21049
|
if (N(O)) continue;
|
|
21050
21050
|
let z = w[O];
|
|
21051
21051
|
typeof z == "function" && (w[O] = { enter: z });
|
|
21052
21052
|
}
|
|
21053
|
-
}(L), b(L);
|
|
21053
|
+
})(L), b(L);
|
|
21054
21054
|
for (let w of Object.keys(L)) {
|
|
21055
21055
|
if (N(w) || !p(w)) continue;
|
|
21056
21056
|
let O = L[w];
|
|
@@ -22842,18 +22842,18 @@ ${i}
|
|
|
22842
22842
|
return (i < 0 || Object.is(i, -0)) && (c = (0, l.unaryExpression)("-", c)), c;
|
|
22843
22843
|
}
|
|
22844
22844
|
if (typeof i == "bigint") return i < 0 ? (0, l.unaryExpression)("-", (0, l.bigIntLiteral)(-i)) : (0, l.bigIntLiteral)(i);
|
|
22845
|
-
if (function(c) {
|
|
22845
|
+
if ((function(c) {
|
|
22846
22846
|
return d(c) === "[object RegExp]";
|
|
22847
|
-
}(i)) {
|
|
22847
|
+
})(i)) {
|
|
22848
22848
|
let c = i.source, v = /\/([a-z]*)$/.exec(i.toString())[1];
|
|
22849
22849
|
return (0, l.regExpLiteral)(c, v);
|
|
22850
22850
|
}
|
|
22851
22851
|
if (Array.isArray(i)) return (0, l.arrayExpression)(i.map(t));
|
|
22852
|
-
if (function(c) {
|
|
22852
|
+
if ((function(c) {
|
|
22853
22853
|
if (typeof c != "object" || c === null || Object.prototype.toString.call(c) !== "[object Object]") return false;
|
|
22854
22854
|
let v = Object.getPrototypeOf(c);
|
|
22855
22855
|
return v === null || Object.getPrototypeOf(v) === null;
|
|
22856
|
-
}(i)) {
|
|
22856
|
+
})(i)) {
|
|
22857
22857
|
let c = [];
|
|
22858
22858
|
for (let v of Object.keys(i)) {
|
|
22859
22859
|
let T, g = false;
|
|
@@ -22869,17 +22869,17 @@ ${i}
|
|
|
22869
22869
|
Object.defineProperty(e, "__esModule", { value: true }), e.patternLikeCommon = e.importAttributes = e.functionTypeAnnotationCommon = e.functionDeclarationCommon = e.functionCommon = e.classMethodOrPropertyCommon = e.classMethodOrDeclareMethodCommon = void 0;
|
|
22870
22870
|
var r = E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/is.js"), l = E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isValidIdentifier.js"), d = E("./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js"), t = E("./node_modules/.pnpm/@babel+helper-string-parser@7.27.1/node_modules/@babel/helper-string-parser/lib/index.js"), i = E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/constants/index.js"), c = E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/utils.js");
|
|
22871
22871
|
let v = (0, c.defineAliasedType)("Standardized");
|
|
22872
|
-
v("ArrayExpression", { fields: { elements: { validate: (0, c.arrayOf)((0, c.assertNodeOrValueType)("null", "Expression", "SpreadElement")), default: process.env.BABEL_TYPES_8_BREAKING ? void 0 : [] } }, visitor: ["elements"], aliases: ["Expression"] }), v("AssignmentExpression", { fields: { operator: { validate: process.env.BABEL_TYPES_8_BREAKING ? Object.assign(function() {
|
|
22872
|
+
v("ArrayExpression", { fields: { elements: { validate: (0, c.arrayOf)((0, c.assertNodeOrValueType)("null", "Expression", "SpreadElement")), default: process.env.BABEL_TYPES_8_BREAKING ? void 0 : [] } }, visitor: ["elements"], aliases: ["Expression"] }), v("AssignmentExpression", { fields: { operator: { validate: process.env.BABEL_TYPES_8_BREAKING ? Object.assign((function() {
|
|
22873
22873
|
let P = (0, c.assertOneOf)(...i.ASSIGNMENT_OPERATORS), S = (0, c.assertOneOf)("=");
|
|
22874
22874
|
return function(b, C, N) {
|
|
22875
22875
|
((0, r.default)("Pattern", b.left) ? S : P)(b, C, N);
|
|
22876
22876
|
};
|
|
22877
|
-
}(), { oneOf: i.ASSIGNMENT_OPERATORS }) : (0, c.assertValueType)("string") }, left: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.assertNodeType)("Identifier", "MemberExpression", "OptionalMemberExpression", "ArrayPattern", "ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression") : (0, c.assertNodeType)("LVal", "OptionalMemberExpression") }, right: { validate: (0, c.assertNodeType)("Expression") } }, builder: ["operator", "left", "right"], visitor: ["left", "right"], aliases: ["Expression"] }), v("BinaryExpression", { builder: ["operator", "left", "right"], fields: { operator: { validate: (0, c.assertOneOf)(...i.BINARY_OPERATORS) }, left: { validate: function() {
|
|
22877
|
+
})(), { oneOf: i.ASSIGNMENT_OPERATORS }) : (0, c.assertValueType)("string") }, left: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.assertNodeType)("Identifier", "MemberExpression", "OptionalMemberExpression", "ArrayPattern", "ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression") : (0, c.assertNodeType)("LVal", "OptionalMemberExpression") }, right: { validate: (0, c.assertNodeType)("Expression") } }, builder: ["operator", "left", "right"], visitor: ["left", "right"], aliases: ["Expression"] }), v("BinaryExpression", { builder: ["operator", "left", "right"], fields: { operator: { validate: (0, c.assertOneOf)(...i.BINARY_OPERATORS) }, left: { validate: (function() {
|
|
22878
22878
|
let P = (0, c.assertNodeType)("Expression"), S = (0, c.assertNodeType)("Expression", "PrivateName");
|
|
22879
22879
|
return Object.assign(function(b, C, N) {
|
|
22880
22880
|
(b.operator === "in" ? S : P)(b, C, N);
|
|
22881
22881
|
}, { oneOfNodeTypes: ["Expression", "PrivateName"] });
|
|
22882
|
-
}() }, right: { validate: (0, c.assertNodeType)("Expression") } }, visitor: ["left", "right"], aliases: ["Binary", "Expression"] }), v("InterpreterDirective", { builder: ["value"], fields: { value: { validate: (0, c.assertValueType)("string") } } }), v("Directive", { visitor: ["value"], fields: { value: { validate: (0, c.assertNodeType)("DirectiveLiteral") } } }), v("DirectiveLiteral", { builder: ["value"], fields: { value: { validate: (0, c.assertValueType)("string") } } }), v("BlockStatement", { builder: ["body", "directives"], visitor: ["directives", "body"], fields: { directives: { validate: (0, c.arrayOfType)("Directive"), default: [] }, body: (0, c.validateArrayOfType)("Statement") }, aliases: ["Scopable", "BlockParent", "Block", "Statement"] }), v("BreakStatement", { visitor: ["label"], fields: { label: { validate: (0, c.assertNodeType)("Identifier"), optional: true } }, aliases: ["Statement", "Terminatorless", "CompletionStatement"] }), v("CallExpression", { visitor: ["callee", "typeParameters", "typeArguments", "arguments"], builder: ["callee", "arguments"], aliases: ["Expression"], fields: Object.assign({ callee: { validate: (0, c.assertNodeType)("Expression", "Super", "V8IntrinsicIdentifier") }, arguments: (0, c.validateArrayOfType)("Expression", "SpreadElement", "ArgumentPlaceholder"), typeArguments: { validate: (0, c.assertNodeType)("TypeParameterInstantiation"), optional: true } }, process.env.BABEL_TYPES_8_BREAKING ? {} : { optional: { validate: (0, c.assertValueType)("boolean"), optional: true }, typeParameters: { validate: (0, c.assertNodeType)("TSTypeParameterInstantiation"), optional: true } }) }), v("CatchClause", { visitor: ["param", "body"], fields: { param: { validate: (0, c.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern"), optional: true }, body: { validate: (0, c.assertNodeType)("BlockStatement") } }, aliases: ["Scopable", "BlockParent"] }), v("ConditionalExpression", { visitor: ["test", "consequent", "alternate"], fields: { test: { validate: (0, c.assertNodeType)("Expression") }, consequent: { validate: (0, c.assertNodeType)("Expression") }, alternate: { validate: (0, c.assertNodeType)("Expression") } }, aliases: ["Expression", "Conditional"] }), v("ContinueStatement", { visitor: ["label"], fields: { label: { validate: (0, c.assertNodeType)("Identifier"), optional: true } }, aliases: ["Statement", "Terminatorless", "CompletionStatement"] }), v("DebuggerStatement", { aliases: ["Statement"] }), v("DoWhileStatement", { builder: ["test", "body"], visitor: ["body", "test"], fields: { test: { validate: (0, c.assertNodeType)("Expression") }, body: { validate: (0, c.assertNodeType)("Statement") } }, aliases: ["Statement", "BlockParent", "Loop", "While", "Scopable"] }), v("EmptyStatement", { aliases: ["Statement"] }), v("ExpressionStatement", { visitor: ["expression"], fields: { expression: { validate: (0, c.assertNodeType)("Expression") } }, aliases: ["Statement", "ExpressionWrapper"] }), v("File", { builder: ["program", "comments", "tokens"], visitor: ["program"], fields: { program: { validate: (0, c.assertNodeType)("Program") }, comments: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.assertEach)((0, c.assertNodeType)("CommentBlock", "CommentLine")) : Object.assign(() => {
|
|
22882
|
+
})() }, right: { validate: (0, c.assertNodeType)("Expression") } }, visitor: ["left", "right"], aliases: ["Binary", "Expression"] }), v("InterpreterDirective", { builder: ["value"], fields: { value: { validate: (0, c.assertValueType)("string") } } }), v("Directive", { visitor: ["value"], fields: { value: { validate: (0, c.assertNodeType)("DirectiveLiteral") } } }), v("DirectiveLiteral", { builder: ["value"], fields: { value: { validate: (0, c.assertValueType)("string") } } }), v("BlockStatement", { builder: ["body", "directives"], visitor: ["directives", "body"], fields: { directives: { validate: (0, c.arrayOfType)("Directive"), default: [] }, body: (0, c.validateArrayOfType)("Statement") }, aliases: ["Scopable", "BlockParent", "Block", "Statement"] }), v("BreakStatement", { visitor: ["label"], fields: { label: { validate: (0, c.assertNodeType)("Identifier"), optional: true } }, aliases: ["Statement", "Terminatorless", "CompletionStatement"] }), v("CallExpression", { visitor: ["callee", "typeParameters", "typeArguments", "arguments"], builder: ["callee", "arguments"], aliases: ["Expression"], fields: Object.assign({ callee: { validate: (0, c.assertNodeType)("Expression", "Super", "V8IntrinsicIdentifier") }, arguments: (0, c.validateArrayOfType)("Expression", "SpreadElement", "ArgumentPlaceholder"), typeArguments: { validate: (0, c.assertNodeType)("TypeParameterInstantiation"), optional: true } }, process.env.BABEL_TYPES_8_BREAKING ? {} : { optional: { validate: (0, c.assertValueType)("boolean"), optional: true }, typeParameters: { validate: (0, c.assertNodeType)("TSTypeParameterInstantiation"), optional: true } }) }), v("CatchClause", { visitor: ["param", "body"], fields: { param: { validate: (0, c.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern"), optional: true }, body: { validate: (0, c.assertNodeType)("BlockStatement") } }, aliases: ["Scopable", "BlockParent"] }), v("ConditionalExpression", { visitor: ["test", "consequent", "alternate"], fields: { test: { validate: (0, c.assertNodeType)("Expression") }, consequent: { validate: (0, c.assertNodeType)("Expression") }, alternate: { validate: (0, c.assertNodeType)("Expression") } }, aliases: ["Expression", "Conditional"] }), v("ContinueStatement", { visitor: ["label"], fields: { label: { validate: (0, c.assertNodeType)("Identifier"), optional: true } }, aliases: ["Statement", "Terminatorless", "CompletionStatement"] }), v("DebuggerStatement", { aliases: ["Statement"] }), v("DoWhileStatement", { builder: ["test", "body"], visitor: ["body", "test"], fields: { test: { validate: (0, c.assertNodeType)("Expression") }, body: { validate: (0, c.assertNodeType)("Statement") } }, aliases: ["Statement", "BlockParent", "Loop", "While", "Scopable"] }), v("EmptyStatement", { aliases: ["Statement"] }), v("ExpressionStatement", { visitor: ["expression"], fields: { expression: { validate: (0, c.assertNodeType)("Expression") } }, aliases: ["Statement", "ExpressionWrapper"] }), v("File", { builder: ["program", "comments", "tokens"], visitor: ["program"], fields: { program: { validate: (0, c.assertNodeType)("Program") }, comments: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.assertEach)((0, c.assertNodeType)("CommentBlock", "CommentLine")) : Object.assign(() => {
|
|
22883
22883
|
}, { each: { oneOfNodeTypes: ["CommentBlock", "CommentLine"] } }), optional: true }, tokens: { validate: (0, c.assertEach)(Object.assign(() => {
|
|
22884
22884
|
}, { type: "any" })), optional: true } } }), v("ForInStatement", { visitor: ["left", "right", "body"], aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop", "ForXStatement"], fields: { left: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.assertNodeType)("VariableDeclaration", "Identifier", "MemberExpression", "ArrayPattern", "ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression") : (0, c.assertNodeType)("VariableDeclaration", "LVal") }, right: { validate: (0, c.assertNodeType)("Expression") }, body: { validate: (0, c.assertNodeType)("Statement") } } }), v("ForStatement", { visitor: ["init", "test", "update", "body"], aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop"], fields: { init: { validate: (0, c.assertNodeType)("VariableDeclaration", "Expression"), optional: true }, test: { validate: (0, c.assertNodeType)("Expression"), optional: true }, update: { validate: (0, c.assertNodeType)("Expression"), optional: true }, body: { validate: (0, c.assertNodeType)("Statement") } } });
|
|
22885
22885
|
let T = () => ({ params: (0, c.validateArrayOfType)("FunctionParameter"), generator: { default: false }, async: { default: false } });
|
|
@@ -22887,12 +22887,12 @@ ${i}
|
|
|
22887
22887
|
let g = () => ({ returnType: { validate: (0, c.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), optional: true }, typeParameters: { validate: (0, c.assertNodeType)("TypeParameterDeclaration", "TSTypeParameterDeclaration", "Noop"), optional: true } });
|
|
22888
22888
|
e.functionTypeAnnotationCommon = g;
|
|
22889
22889
|
let p = () => Object.assign({}, T(), { declare: { validate: (0, c.assertValueType)("boolean"), optional: true }, id: { validate: (0, c.assertNodeType)("Identifier"), optional: true } });
|
|
22890
|
-
e.functionDeclarationCommon = p, v("FunctionDeclaration", { builder: ["id", "params", "body", "generator", "async"], visitor: ["id", "typeParameters", "params", "predicate", "returnType", "body"], fields: Object.assign({}, p(), g(), { body: { validate: (0, c.assertNodeType)("BlockStatement") }, predicate: { validate: (0, c.assertNodeType)("DeclaredPredicate", "InferredPredicate"), optional: true } }), aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Statement", "Pureish", "Declaration"], validate: process.env.BABEL_TYPES_8_BREAKING ? function() {
|
|
22890
|
+
e.functionDeclarationCommon = p, v("FunctionDeclaration", { builder: ["id", "params", "body", "generator", "async"], visitor: ["id", "typeParameters", "params", "predicate", "returnType", "body"], fields: Object.assign({}, p(), g(), { body: { validate: (0, c.assertNodeType)("BlockStatement") }, predicate: { validate: (0, c.assertNodeType)("DeclaredPredicate", "InferredPredicate"), optional: true } }), aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Statement", "Pureish", "Declaration"], validate: process.env.BABEL_TYPES_8_BREAKING ? (function() {
|
|
22891
22891
|
let P = (0, c.assertNodeType)("Identifier");
|
|
22892
22892
|
return function(S, b, C) {
|
|
22893
22893
|
(0, r.default)("ExportDefaultDeclaration", S) || P(C, "id", C.id);
|
|
22894
22894
|
};
|
|
22895
|
-
}() : void 0 }), v("FunctionExpression", { inherits: "FunctionDeclaration", aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Expression", "Pureish"], fields: Object.assign({}, T(), g(), { id: { validate: (0, c.assertNodeType)("Identifier"), optional: true }, body: { validate: (0, c.assertNodeType)("BlockStatement") }, predicate: { validate: (0, c.assertNodeType)("DeclaredPredicate", "InferredPredicate"), optional: true } }) });
|
|
22895
|
+
})() : void 0 }), v("FunctionExpression", { inherits: "FunctionDeclaration", aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Expression", "Pureish"], fields: Object.assign({}, T(), g(), { id: { validate: (0, c.assertNodeType)("Identifier"), optional: true }, body: { validate: (0, c.assertNodeType)("BlockStatement") }, predicate: { validate: (0, c.assertNodeType)("DeclaredPredicate", "InferredPredicate"), optional: true } }) });
|
|
22896
22896
|
let h = () => ({ typeAnnotation: { validate: (0, c.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), optional: true }, optional: { validate: (0, c.assertValueType)("boolean"), optional: true }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true } });
|
|
22897
22897
|
e.patternLikeCommon = h, v("Identifier", { builder: ["name"], visitor: ["typeAnnotation", "decorators"], aliases: ["Expression", "FunctionParameter", "PatternLike", "LVal", "TSEntityName"], fields: Object.assign({}, h(), { name: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.chain)((0, c.assertValueType)("string"), Object.assign(function(P, S, b) {
|
|
22898
22898
|
if (!(0, l.default)(b, false)) throw new TypeError(`"${b}" is not a valid identifier name`);
|
|
@@ -22915,32 +22915,32 @@ ${i}
|
|
|
22915
22915
|
}, { type: "number" })) } }, aliases: ["Expression", "Pureish", "Literal", "Immutable"] }), v("NullLiteral", { aliases: ["Expression", "Pureish", "Literal", "Immutable"] }), v("BooleanLiteral", { builder: ["value"], fields: { value: { validate: (0, c.assertValueType)("boolean") } }, aliases: ["Expression", "Pureish", "Literal", "Immutable"] }), v("RegExpLiteral", { builder: ["pattern", "flags"], deprecatedAlias: "RegexLiteral", aliases: ["Expression", "Pureish", "Literal"], fields: { pattern: { validate: (0, c.assertValueType)("string") }, flags: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.chain)((0, c.assertValueType)("string"), Object.assign(function(P, S, b) {
|
|
22916
22916
|
let C = /[^gimsuy]/.exec(b);
|
|
22917
22917
|
if (C) throw new TypeError(`"${C[0]}" is not a valid RegExp flag`);
|
|
22918
|
-
}, { type: "string" })) : (0, c.assertValueType)("string"), default: "" } } }), v("LogicalExpression", { builder: ["operator", "left", "right"], visitor: ["left", "right"], aliases: ["Binary", "Expression"], fields: { operator: { validate: (0, c.assertOneOf)(...i.LOGICAL_OPERATORS) }, left: { validate: (0, c.assertNodeType)("Expression") }, right: { validate: (0, c.assertNodeType)("Expression") } } }), v("MemberExpression", { builder: ["object", "property", "computed", ...process.env.BABEL_TYPES_8_BREAKING ? [] : ["optional"]], visitor: ["object", "property"], aliases: ["Expression", "LVal", "PatternLike"], fields: Object.assign({ object: { validate: (0, c.assertNodeType)("Expression", "Super") }, property: { validate: function() {
|
|
22918
|
+
}, { type: "string" })) : (0, c.assertValueType)("string"), default: "" } } }), v("LogicalExpression", { builder: ["operator", "left", "right"], visitor: ["left", "right"], aliases: ["Binary", "Expression"], fields: { operator: { validate: (0, c.assertOneOf)(...i.LOGICAL_OPERATORS) }, left: { validate: (0, c.assertNodeType)("Expression") }, right: { validate: (0, c.assertNodeType)("Expression") } } }), v("MemberExpression", { builder: ["object", "property", "computed", ...process.env.BABEL_TYPES_8_BREAKING ? [] : ["optional"]], visitor: ["object", "property"], aliases: ["Expression", "LVal", "PatternLike"], fields: Object.assign({ object: { validate: (0, c.assertNodeType)("Expression", "Super") }, property: { validate: (function() {
|
|
22919
22919
|
let P = (0, c.assertNodeType)("Identifier", "PrivateName"), S = (0, c.assertNodeType)("Expression"), b = function(C, N, F) {
|
|
22920
22920
|
(C.computed ? S : P)(C, N, F);
|
|
22921
22921
|
};
|
|
22922
22922
|
return b.oneOfNodeTypes = ["Expression", "Identifier", "PrivateName"], b;
|
|
22923
|
-
}() }, computed: { default: false } }, process.env.BABEL_TYPES_8_BREAKING ? {} : { optional: { validate: (0, c.assertValueType)("boolean"), optional: true } }) }), v("NewExpression", { inherits: "CallExpression" }), v("Program", { visitor: ["directives", "body"], builder: ["body", "directives", "sourceType", "interpreter"], fields: { sourceType: { validate: (0, c.assertOneOf)("script", "module"), default: "script" }, interpreter: { validate: (0, c.assertNodeType)("InterpreterDirective"), default: null, optional: true }, directives: { validate: (0, c.arrayOfType)("Directive"), default: [] }, body: (0, c.validateArrayOfType)("Statement") }, aliases: ["Scopable", "BlockParent", "Block"] }), v("ObjectExpression", { visitor: ["properties"], aliases: ["Expression"], fields: { properties: (0, c.validateArrayOfType)("ObjectMethod", "ObjectProperty", "SpreadElement") } }), v("ObjectMethod", { builder: ["kind", "key", "params", "body", "computed", "generator", "async"], visitor: ["decorators", "key", "typeParameters", "params", "returnType", "body"], fields: Object.assign({}, T(), g(), { kind: Object.assign({ validate: (0, c.assertOneOf)("method", "get", "set") }, process.env.BABEL_TYPES_8_BREAKING ? {} : { default: "method" }), computed: { default: false }, key: { validate: function() {
|
|
22923
|
+
})() }, computed: { default: false } }, process.env.BABEL_TYPES_8_BREAKING ? {} : { optional: { validate: (0, c.assertValueType)("boolean"), optional: true } }) }), v("NewExpression", { inherits: "CallExpression" }), v("Program", { visitor: ["directives", "body"], builder: ["body", "directives", "sourceType", "interpreter"], fields: { sourceType: { validate: (0, c.assertOneOf)("script", "module"), default: "script" }, interpreter: { validate: (0, c.assertNodeType)("InterpreterDirective"), default: null, optional: true }, directives: { validate: (0, c.arrayOfType)("Directive"), default: [] }, body: (0, c.validateArrayOfType)("Statement") }, aliases: ["Scopable", "BlockParent", "Block"] }), v("ObjectExpression", { visitor: ["properties"], aliases: ["Expression"], fields: { properties: (0, c.validateArrayOfType)("ObjectMethod", "ObjectProperty", "SpreadElement") } }), v("ObjectMethod", { builder: ["kind", "key", "params", "body", "computed", "generator", "async"], visitor: ["decorators", "key", "typeParameters", "params", "returnType", "body"], fields: Object.assign({}, T(), g(), { kind: Object.assign({ validate: (0, c.assertOneOf)("method", "get", "set") }, process.env.BABEL_TYPES_8_BREAKING ? {} : { default: "method" }), computed: { default: false }, key: { validate: (function() {
|
|
22924
22924
|
let P = (0, c.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral"), S = (0, c.assertNodeType)("Expression"), b = function(C, N, F) {
|
|
22925
22925
|
(C.computed ? S : P)(C, N, F);
|
|
22926
22926
|
};
|
|
22927
22927
|
return b.oneOfNodeTypes = ["Expression", "Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral"], b;
|
|
22928
|
-
}() }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true }, body: { validate: (0, c.assertNodeType)("BlockStatement") } }), aliases: ["UserWhitespacable", "Function", "Scopable", "BlockParent", "FunctionParent", "Method", "ObjectMember"] }), v("ObjectProperty", { builder: ["key", "value", "computed", "shorthand", ...process.env.BABEL_TYPES_8_BREAKING ? [] : ["decorators"]], fields: { computed: { default: false }, key: { validate: function() {
|
|
22928
|
+
})() }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true }, body: { validate: (0, c.assertNodeType)("BlockStatement") } }), aliases: ["UserWhitespacable", "Function", "Scopable", "BlockParent", "FunctionParent", "Method", "ObjectMember"] }), v("ObjectProperty", { builder: ["key", "value", "computed", "shorthand", ...process.env.BABEL_TYPES_8_BREAKING ? [] : ["decorators"]], fields: { computed: { default: false }, key: { validate: (function() {
|
|
22929
22929
|
let P = (0, c.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "DecimalLiteral", "PrivateName"), S = (0, c.assertNodeType)("Expression");
|
|
22930
22930
|
return Object.assign(function(b, C, N) {
|
|
22931
22931
|
(b.computed ? S : P)(b, C, N);
|
|
22932
22932
|
}, { oneOfNodeTypes: ["Expression", "Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "DecimalLiteral", "PrivateName"] });
|
|
22933
|
-
}() }, value: { validate: (0, c.assertNodeType)("Expression", "PatternLike") }, shorthand: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.chain)((0, c.assertValueType)("boolean"), Object.assign(function(P, S, b) {
|
|
22933
|
+
})() }, value: { validate: (0, c.assertNodeType)("Expression", "PatternLike") }, shorthand: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.chain)((0, c.assertValueType)("boolean"), Object.assign(function(P, S, b) {
|
|
22934
22934
|
if (b) {
|
|
22935
22935
|
if (P.computed) throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");
|
|
22936
22936
|
if (!(0, r.default)("Identifier", P.key)) throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier");
|
|
22937
22937
|
}
|
|
22938
|
-
}, { type: "boolean" })) : (0, c.assertValueType)("boolean"), default: false }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true } }, visitor: ["decorators", "key", "value"], aliases: ["UserWhitespacable", "Property", "ObjectMember"], validate: process.env.BABEL_TYPES_8_BREAKING ? function() {
|
|
22938
|
+
}, { type: "boolean" })) : (0, c.assertValueType)("boolean"), default: false }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true } }, visitor: ["decorators", "key", "value"], aliases: ["UserWhitespacable", "Property", "ObjectMember"], validate: process.env.BABEL_TYPES_8_BREAKING ? (function() {
|
|
22939
22939
|
let P = (0, c.assertNodeType)("Identifier", "Pattern", "TSAsExpression", "TSSatisfiesExpression", "TSNonNullExpression", "TSTypeAssertion"), S = (0, c.assertNodeType)("Expression");
|
|
22940
22940
|
return function(b, C, N) {
|
|
22941
22941
|
((0, r.default)("ObjectPattern", b) ? P : S)(N, "value", N.value);
|
|
22942
22942
|
};
|
|
22943
|
-
}() : void 0 }), v("RestElement", { visitor: ["argument", "typeAnnotation"], builder: ["argument"], aliases: ["FunctionParameter", "PatternLike", "LVal"], deprecatedAlias: "RestProperty", fields: Object.assign({}, h(), { argument: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern", "MemberExpression", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression") : (0, c.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern", "MemberExpression", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression", "RestElement", "AssignmentPattern") } }), validate: process.env.BABEL_TYPES_8_BREAKING ? function(P, S) {
|
|
22943
|
+
})() : void 0 }), v("RestElement", { visitor: ["argument", "typeAnnotation"], builder: ["argument"], aliases: ["FunctionParameter", "PatternLike", "LVal"], deprecatedAlias: "RestProperty", fields: Object.assign({}, h(), { argument: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern", "MemberExpression", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression") : (0, c.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern", "MemberExpression", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression", "RestElement", "AssignmentPattern") } }), validate: process.env.BABEL_TYPES_8_BREAKING ? function(P, S) {
|
|
22944
22944
|
let b = /(\w+)\[(\d+)\]/.exec(S.toString());
|
|
22945
22945
|
if (!b) throw new Error("Internal Babel error: malformed key.");
|
|
22946
22946
|
let [, C, N] = b;
|
|
@@ -22954,28 +22954,28 @@ ${i}
|
|
|
22954
22954
|
if (w && L.length !== 1) throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${C.type}`);
|
|
22955
22955
|
for (let O of L) K === "const" || K === "let" || K === "var" ? w || O.init ? S(O, "id", O.id) : P(O, "id", O.id) : b(O, "id", O.id);
|
|
22956
22956
|
};
|
|
22957
|
-
})() : void 0 }), v("VariableDeclarator", { visitor: ["id", "init"], fields: { id: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern", "VoidPattern") : (0, c.assertNodeType)("LVal", "VoidPattern") }, definite: { optional: true, validate: (0, c.assertValueType)("boolean") }, init: { optional: true, validate: (0, c.assertNodeType)("Expression") } } }), v("WhileStatement", { visitor: ["test", "body"], aliases: ["Statement", "BlockParent", "Loop", "While", "Scopable"], fields: { test: { validate: (0, c.assertNodeType)("Expression") }, body: { validate: (0, c.assertNodeType)("Statement") } } }), v("WithStatement", { visitor: ["object", "body"], aliases: ["Statement"], fields: { object: { validate: (0, c.assertNodeType)("Expression") }, body: { validate: (0, c.assertNodeType)("Statement") } } }), v("AssignmentPattern", { visitor: ["left", "right", "decorators"], builder: ["left", "right"], aliases: ["FunctionParameter", "Pattern", "PatternLike", "LVal"], fields: Object.assign({}, h(), { left: { validate: (0, c.assertNodeType)("Identifier", "ObjectPattern", "ArrayPattern", "MemberExpression", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression") }, right: { validate: (0, c.assertNodeType)("Expression") }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true } }) }), v("ArrayPattern", { visitor: ["elements", "typeAnnotation"], builder: ["elements"], aliases: ["FunctionParameter", "Pattern", "PatternLike", "LVal"], fields: Object.assign({}, h(), { elements: { validate: (0, c.chain)((0, c.assertValueType)("array"), (0, c.assertEach)((0, c.assertNodeOrValueType)("null", "PatternLike"))) } }) }), v("ArrowFunctionExpression", { builder: ["params", "body", "async"], visitor: ["typeParameters", "params", "predicate", "returnType", "body"], aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Expression", "Pureish"], fields: Object.assign({}, T(), g(), { expression: { validate: (0, c.assertValueType)("boolean") }, body: { validate: (0, c.assertNodeType)("BlockStatement", "Expression") }, predicate: { validate: (0, c.assertNodeType)("DeclaredPredicate", "InferredPredicate"), optional: true } }) }), v("ClassBody", { visitor: ["body"], fields: { body: (0, c.validateArrayOfType)("ClassMethod", "ClassPrivateMethod", "ClassProperty", "ClassPrivateProperty", "ClassAccessorProperty", "TSDeclareMethod", "TSIndexSignature", "StaticBlock") } }), v("ClassExpression", { builder: ["id", "superClass", "body", "decorators"], visitor: ["decorators", "id", "typeParameters", "superClass", "superTypeParameters", "mixins", "implements", "body"], aliases: ["Scopable", "Class", "Expression"], fields: { id: { validate: (0, c.assertNodeType)("Identifier"), optional: true }, typeParameters: { validate: (0, c.assertNodeType)("TypeParameterDeclaration", "TSTypeParameterDeclaration", "Noop"), optional: true }, body: { validate: (0, c.assertNodeType)("ClassBody") }, superClass: { optional: true, validate: (0, c.assertNodeType)("Expression") }, superTypeParameters: { validate: (0, c.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), optional: true }, implements: { validate: (0, c.arrayOfType)("TSExpressionWithTypeArguments", "ClassImplements"), optional: true }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true }, mixins: { validate: (0, c.assertNodeType)("InterfaceExtends"), optional: true } } }), v("ClassDeclaration", { inherits: "ClassExpression", aliases: ["Scopable", "Class", "Statement", "Declaration"], fields: { id: { validate: (0, c.assertNodeType)("Identifier"), optional: true }, typeParameters: { validate: (0, c.assertNodeType)("TypeParameterDeclaration", "TSTypeParameterDeclaration", "Noop"), optional: true }, body: { validate: (0, c.assertNodeType)("ClassBody") }, superClass: { optional: true, validate: (0, c.assertNodeType)("Expression") }, superTypeParameters: { validate: (0, c.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), optional: true }, implements: { validate: (0, c.arrayOfType)("TSExpressionWithTypeArguments", "ClassImplements"), optional: true }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true }, mixins: { validate: (0, c.assertNodeType)("InterfaceExtends"), optional: true }, declare: { validate: (0, c.assertValueType)("boolean"), optional: true }, abstract: { validate: (0, c.assertValueType)("boolean"), optional: true } }, validate: process.env.BABEL_TYPES_8_BREAKING ? function() {
|
|
22957
|
+
})() : void 0 }), v("VariableDeclarator", { visitor: ["id", "init"], fields: { id: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern", "VoidPattern") : (0, c.assertNodeType)("LVal", "VoidPattern") }, definite: { optional: true, validate: (0, c.assertValueType)("boolean") }, init: { optional: true, validate: (0, c.assertNodeType)("Expression") } } }), v("WhileStatement", { visitor: ["test", "body"], aliases: ["Statement", "BlockParent", "Loop", "While", "Scopable"], fields: { test: { validate: (0, c.assertNodeType)("Expression") }, body: { validate: (0, c.assertNodeType)("Statement") } } }), v("WithStatement", { visitor: ["object", "body"], aliases: ["Statement"], fields: { object: { validate: (0, c.assertNodeType)("Expression") }, body: { validate: (0, c.assertNodeType)("Statement") } } }), v("AssignmentPattern", { visitor: ["left", "right", "decorators"], builder: ["left", "right"], aliases: ["FunctionParameter", "Pattern", "PatternLike", "LVal"], fields: Object.assign({}, h(), { left: { validate: (0, c.assertNodeType)("Identifier", "ObjectPattern", "ArrayPattern", "MemberExpression", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression") }, right: { validate: (0, c.assertNodeType)("Expression") }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true } }) }), v("ArrayPattern", { visitor: ["elements", "typeAnnotation"], builder: ["elements"], aliases: ["FunctionParameter", "Pattern", "PatternLike", "LVal"], fields: Object.assign({}, h(), { elements: { validate: (0, c.chain)((0, c.assertValueType)("array"), (0, c.assertEach)((0, c.assertNodeOrValueType)("null", "PatternLike"))) } }) }), v("ArrowFunctionExpression", { builder: ["params", "body", "async"], visitor: ["typeParameters", "params", "predicate", "returnType", "body"], aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Expression", "Pureish"], fields: Object.assign({}, T(), g(), { expression: { validate: (0, c.assertValueType)("boolean") }, body: { validate: (0, c.assertNodeType)("BlockStatement", "Expression") }, predicate: { validate: (0, c.assertNodeType)("DeclaredPredicate", "InferredPredicate"), optional: true } }) }), v("ClassBody", { visitor: ["body"], fields: { body: (0, c.validateArrayOfType)("ClassMethod", "ClassPrivateMethod", "ClassProperty", "ClassPrivateProperty", "ClassAccessorProperty", "TSDeclareMethod", "TSIndexSignature", "StaticBlock") } }), v("ClassExpression", { builder: ["id", "superClass", "body", "decorators"], visitor: ["decorators", "id", "typeParameters", "superClass", "superTypeParameters", "mixins", "implements", "body"], aliases: ["Scopable", "Class", "Expression"], fields: { id: { validate: (0, c.assertNodeType)("Identifier"), optional: true }, typeParameters: { validate: (0, c.assertNodeType)("TypeParameterDeclaration", "TSTypeParameterDeclaration", "Noop"), optional: true }, body: { validate: (0, c.assertNodeType)("ClassBody") }, superClass: { optional: true, validate: (0, c.assertNodeType)("Expression") }, superTypeParameters: { validate: (0, c.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), optional: true }, implements: { validate: (0, c.arrayOfType)("TSExpressionWithTypeArguments", "ClassImplements"), optional: true }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true }, mixins: { validate: (0, c.assertNodeType)("InterfaceExtends"), optional: true } } }), v("ClassDeclaration", { inherits: "ClassExpression", aliases: ["Scopable", "Class", "Statement", "Declaration"], fields: { id: { validate: (0, c.assertNodeType)("Identifier"), optional: true }, typeParameters: { validate: (0, c.assertNodeType)("TypeParameterDeclaration", "TSTypeParameterDeclaration", "Noop"), optional: true }, body: { validate: (0, c.assertNodeType)("ClassBody") }, superClass: { optional: true, validate: (0, c.assertNodeType)("Expression") }, superTypeParameters: { validate: (0, c.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), optional: true }, implements: { validate: (0, c.arrayOfType)("TSExpressionWithTypeArguments", "ClassImplements"), optional: true }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true }, mixins: { validate: (0, c.assertNodeType)("InterfaceExtends"), optional: true }, declare: { validate: (0, c.assertValueType)("boolean"), optional: true }, abstract: { validate: (0, c.assertValueType)("boolean"), optional: true } }, validate: process.env.BABEL_TYPES_8_BREAKING ? (function() {
|
|
22958
22958
|
let P = (0, c.assertNodeType)("Identifier");
|
|
22959
22959
|
return function(S, b, C) {
|
|
22960
22960
|
(0, r.default)("ExportDefaultDeclaration", S) || P(C, "id", C.id);
|
|
22961
22961
|
};
|
|
22962
|
-
}() : void 0 });
|
|
22962
|
+
})() : void 0 });
|
|
22963
22963
|
let u = e.importAttributes = { attributes: { optional: true, validate: (0, c.arrayOfType)("ImportAttribute") }, assertions: { deprecated: true, optional: true, validate: (0, c.arrayOfType)("ImportAttribute") } };
|
|
22964
22964
|
v("ExportAllDeclaration", { builder: ["source"], visitor: ["source", "attributes", "assertions"], aliases: ["Statement", "Declaration", "ImportOrExportDeclaration", "ExportDeclaration"], fields: Object.assign({ source: { validate: (0, c.assertNodeType)("StringLiteral") }, exportKind: (0, c.validateOptional)((0, c.assertOneOf)("type", "value")) }, u) }), v("ExportDefaultDeclaration", { visitor: ["declaration"], aliases: ["Statement", "Declaration", "ImportOrExportDeclaration", "ExportDeclaration"], fields: { declaration: (0, c.validateType)("TSDeclareFunction", "FunctionDeclaration", "ClassDeclaration", "Expression"), exportKind: (0, c.validateOptional)((0, c.assertOneOf)("value")) } }), v("ExportNamedDeclaration", { builder: ["declaration", "specifiers", "source"], visitor: ["declaration", "specifiers", "source", "attributes", "assertions"], aliases: ["Statement", "Declaration", "ImportOrExportDeclaration", "ExportDeclaration"], fields: Object.assign({ declaration: { optional: true, validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.chain)((0, c.assertNodeType)("Declaration"), Object.assign(function(P, S, b) {
|
|
22965
22965
|
if (b && P.specifiers.length) throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");
|
|
22966
22966
|
if (b && P.source) throw new TypeError("Cannot export a declaration from a source");
|
|
22967
|
-
}, { oneOfNodeTypes: ["Declaration"] })) : (0, c.assertNodeType)("Declaration") } }, u, { specifiers: { default: [], validate: (0, c.arrayOf)(function() {
|
|
22967
|
+
}, { oneOfNodeTypes: ["Declaration"] })) : (0, c.assertNodeType)("Declaration") } }, u, { specifiers: { default: [], validate: (0, c.arrayOf)((function() {
|
|
22968
22968
|
let P = (0, c.assertNodeType)("ExportSpecifier", "ExportDefaultSpecifier", "ExportNamespaceSpecifier"), S = (0, c.assertNodeType)("ExportSpecifier");
|
|
22969
22969
|
return process.env.BABEL_TYPES_8_BREAKING ? Object.assign(function(b, C, N) {
|
|
22970
22970
|
(b.source ? P : S)(b, C, N);
|
|
22971
22971
|
}, { oneOfNodeTypes: ["ExportSpecifier", "ExportDefaultSpecifier", "ExportNamespaceSpecifier"] }) : P;
|
|
22972
|
-
}()) }, source: { validate: (0, c.assertNodeType)("StringLiteral"), optional: true }, exportKind: (0, c.validateOptional)((0, c.assertOneOf)("type", "value")) }) }), v("ExportSpecifier", { visitor: ["local", "exported"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, c.assertNodeType)("Identifier") }, exported: { validate: (0, c.assertNodeType)("Identifier", "StringLiteral") }, exportKind: { validate: (0, c.assertOneOf)("type", "value"), optional: true } } }), v("ForOfStatement", { visitor: ["left", "right", "body"], builder: ["left", "right", "body", "await"], aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop", "ForXStatement"], fields: { left: { validate: function() {
|
|
22972
|
+
})()) }, source: { validate: (0, c.assertNodeType)("StringLiteral"), optional: true }, exportKind: (0, c.validateOptional)((0, c.assertOneOf)("type", "value")) }) }), v("ExportSpecifier", { visitor: ["local", "exported"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, c.assertNodeType)("Identifier") }, exported: { validate: (0, c.assertNodeType)("Identifier", "StringLiteral") }, exportKind: { validate: (0, c.assertOneOf)("type", "value"), optional: true } } }), v("ForOfStatement", { visitor: ["left", "right", "body"], builder: ["left", "right", "body", "await"], aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop", "ForXStatement"], fields: { left: { validate: (function() {
|
|
22973
22973
|
if (!process.env.BABEL_TYPES_8_BREAKING) return (0, c.assertNodeType)("VariableDeclaration", "LVal");
|
|
22974
22974
|
let P = (0, c.assertNodeType)("VariableDeclaration"), S = (0, c.assertNodeType)("Identifier", "MemberExpression", "ArrayPattern", "ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression");
|
|
22975
22975
|
return Object.assign(function(b, C, N) {
|
|
22976
22976
|
(0, r.default)("VariableDeclaration", N) ? P(b, C, N) : S(b, C, N);
|
|
22977
22977
|
}, { oneOfNodeTypes: ["VariableDeclaration", "Identifier", "MemberExpression", "ArrayPattern", "ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression"] });
|
|
22978
|
-
}() }, right: { validate: (0, c.assertNodeType)("Expression") }, body: { validate: (0, c.assertNodeType)("Statement") }, await: { default: false } } }), v("ImportDeclaration", { builder: ["specifiers", "source"], visitor: ["specifiers", "source", "attributes", "assertions"], aliases: ["Statement", "Declaration", "ImportOrExportDeclaration"], fields: Object.assign({}, u, { module: { optional: true, validate: (0, c.assertValueType)("boolean") }, phase: { default: null, validate: (0, c.assertOneOf)("source", "defer") }, specifiers: (0, c.validateArrayOfType)("ImportSpecifier", "ImportDefaultSpecifier", "ImportNamespaceSpecifier"), source: { validate: (0, c.assertNodeType)("StringLiteral") }, importKind: { validate: (0, c.assertOneOf)("type", "typeof", "value"), optional: true } }) }), v("ImportDefaultSpecifier", { visitor: ["local"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, c.assertNodeType)("Identifier") } } }), v("ImportNamespaceSpecifier", { visitor: ["local"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, c.assertNodeType)("Identifier") } } }), v("ImportSpecifier", { visitor: ["imported", "local"], builder: ["local", "imported"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, c.assertNodeType)("Identifier") }, imported: { validate: (0, c.assertNodeType)("Identifier", "StringLiteral") }, importKind: { validate: (0, c.assertOneOf)("type", "typeof", "value"), optional: true } } }), v("ImportExpression", { visitor: ["source", "options"], aliases: ["Expression"], fields: { phase: { default: null, validate: (0, c.assertOneOf)("source", "defer") }, source: { validate: (0, c.assertNodeType)("Expression") }, options: { validate: (0, c.assertNodeType)("Expression"), optional: true } } }), v("MetaProperty", { visitor: ["meta", "property"], aliases: ["Expression"], fields: { meta: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.chain)((0, c.assertNodeType)("Identifier"), Object.assign(function(P, S, b) {
|
|
22978
|
+
})() }, right: { validate: (0, c.assertNodeType)("Expression") }, body: { validate: (0, c.assertNodeType)("Statement") }, await: { default: false } } }), v("ImportDeclaration", { builder: ["specifiers", "source"], visitor: ["specifiers", "source", "attributes", "assertions"], aliases: ["Statement", "Declaration", "ImportOrExportDeclaration"], fields: Object.assign({}, u, { module: { optional: true, validate: (0, c.assertValueType)("boolean") }, phase: { default: null, validate: (0, c.assertOneOf)("source", "defer") }, specifiers: (0, c.validateArrayOfType)("ImportSpecifier", "ImportDefaultSpecifier", "ImportNamespaceSpecifier"), source: { validate: (0, c.assertNodeType)("StringLiteral") }, importKind: { validate: (0, c.assertOneOf)("type", "typeof", "value"), optional: true } }) }), v("ImportDefaultSpecifier", { visitor: ["local"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, c.assertNodeType)("Identifier") } } }), v("ImportNamespaceSpecifier", { visitor: ["local"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, c.assertNodeType)("Identifier") } } }), v("ImportSpecifier", { visitor: ["imported", "local"], builder: ["local", "imported"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, c.assertNodeType)("Identifier") }, imported: { validate: (0, c.assertNodeType)("Identifier", "StringLiteral") }, importKind: { validate: (0, c.assertOneOf)("type", "typeof", "value"), optional: true } } }), v("ImportExpression", { visitor: ["source", "options"], aliases: ["Expression"], fields: { phase: { default: null, validate: (0, c.assertOneOf)("source", "defer") }, source: { validate: (0, c.assertNodeType)("Expression") }, options: { validate: (0, c.assertNodeType)("Expression"), optional: true } } }), v("MetaProperty", { visitor: ["meta", "property"], aliases: ["Expression"], fields: { meta: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.chain)((0, c.assertNodeType)("Identifier"), Object.assign(function(P, S, b) {
|
|
22979
22979
|
let C;
|
|
22980
22980
|
switch (b.name) {
|
|
22981
22981
|
case "function":
|
|
@@ -22989,12 +22989,12 @@ ${i}
|
|
|
22989
22989
|
}
|
|
22990
22990
|
if (!(0, r.default)("Identifier", P.property, { name: C })) throw new TypeError("Unrecognised MetaProperty");
|
|
22991
22991
|
}, { oneOfNodeTypes: ["Identifier"] })) : (0, c.assertNodeType)("Identifier") }, property: { validate: (0, c.assertNodeType)("Identifier") } } });
|
|
22992
|
-
let f = () => ({ abstract: { validate: (0, c.assertValueType)("boolean"), optional: true }, accessibility: { validate: (0, c.assertOneOf)("public", "private", "protected"), optional: true }, static: { default: false }, override: { default: false }, computed: { default: false }, optional: { validate: (0, c.assertValueType)("boolean"), optional: true }, key: { validate: (0, c.chain)(function() {
|
|
22992
|
+
let f = () => ({ abstract: { validate: (0, c.assertValueType)("boolean"), optional: true }, accessibility: { validate: (0, c.assertOneOf)("public", "private", "protected"), optional: true }, static: { default: false }, override: { default: false }, computed: { default: false }, optional: { validate: (0, c.assertValueType)("boolean"), optional: true }, key: { validate: (0, c.chain)((function() {
|
|
22993
22993
|
let P = (0, c.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral"), S = (0, c.assertNodeType)("Expression");
|
|
22994
22994
|
return function(b, C, N) {
|
|
22995
22995
|
(b.computed ? S : P)(b, C, N);
|
|
22996
22996
|
};
|
|
22997
|
-
}(), (0, c.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "Expression")) } });
|
|
22997
|
+
})(), (0, c.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "Expression")) } });
|
|
22998
22998
|
e.classMethodOrPropertyCommon = f;
|
|
22999
22999
|
let y = () => Object.assign({}, T(), f(), { params: (0, c.validateArrayOfType)("FunctionParameter", "TSParameterProperty"), kind: { validate: (0, c.assertOneOf)("get", "set", "method", "constructor"), default: "method" }, access: { validate: (0, c.chain)((0, c.assertValueType)("string"), (0, c.assertOneOf)("public", "private", "protected")), optional: true }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true } });
|
|
23000
23000
|
e.classMethodOrDeclareMethodCommon = y, v("ClassMethod", { aliases: ["Function", "Scopable", "BlockParent", "FunctionParent", "Method"], builder: ["kind", "key", "params", "body", "computed", "static", "generator", "async"], visitor: ["decorators", "key", "typeParameters", "params", "returnType", "body"], fields: Object.assign({}, y(), g(), { body: { validate: (0, c.assertNodeType)("BlockStatement") } }) }), v("ObjectPattern", { visitor: ["decorators", "properties", "typeAnnotation"], builder: ["properties"], aliases: ["FunctionParameter", "Pattern", "PatternLike", "LVal"], fields: Object.assign({}, h(), { properties: (0, c.validateArrayOfType)("RestElement", "ObjectProperty") }) }), v("SpreadElement", { visitor: ["argument"], aliases: ["UnaryLike"], deprecatedAlias: "SpreadProperty", fields: { argument: { validate: (0, c.assertNodeType)("Expression") } } }), v("Super", { aliases: ["Expression"] }), v("TaggedTemplateExpression", { visitor: ["tag", "typeParameters", "quasi"], builder: ["tag", "quasi"], aliases: ["Expression"], fields: { tag: { validate: (0, c.assertNodeType)("Expression") }, quasi: { validate: (0, c.assertNodeType)("TemplateLiteral") }, typeParameters: { validate: (0, c.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), optional: true } } }), v("TemplateElement", { builder: ["value", "tail"], fields: { value: { validate: (0, c.chain)((0, c.assertShape)({ raw: { validate: (0, c.assertValueType)("string") }, cooked: { validate: (0, c.assertValueType)("string"), optional: true } }), function(P) {
|
|
@@ -23010,17 +23010,17 @@ ${i}
|
|
|
23010
23010
|
Expected ${b.length + 1} quasis but got ${P.quasis.length}`);
|
|
23011
23011
|
}) } } }), v("YieldExpression", { builder: ["argument", "delegate"], visitor: ["argument"], aliases: ["Expression", "Terminatorless"], fields: { delegate: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.chain)((0, c.assertValueType)("boolean"), Object.assign(function(P, S, b) {
|
|
23012
23012
|
if (b && !P.argument) throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument");
|
|
23013
|
-
}, { type: "boolean" })) : (0, c.assertValueType)("boolean"), default: false }, argument: { optional: true, validate: (0, c.assertNodeType)("Expression") } } }), v("AwaitExpression", { builder: ["argument"], visitor: ["argument"], aliases: ["Expression", "Terminatorless"], fields: { argument: { validate: (0, c.assertNodeType)("Expression") } } }), v("Import", { aliases: ["Expression"] }), v("BigIntLiteral", { builder: ["value"], fields: { value: { validate: (0, c.assertValueType)("string") } }, aliases: ["Expression", "Pureish", "Literal", "Immutable"] }), v("ExportNamespaceSpecifier", { visitor: ["exported"], aliases: ["ModuleSpecifier"], fields: { exported: { validate: (0, c.assertNodeType)("Identifier") } } }), v("OptionalMemberExpression", { builder: ["object", "property", "computed", "optional"], visitor: ["object", "property"], aliases: ["Expression"], fields: { object: { validate: (0, c.assertNodeType)("Expression") }, property: { validate: function() {
|
|
23013
|
+
}, { type: "boolean" })) : (0, c.assertValueType)("boolean"), default: false }, argument: { optional: true, validate: (0, c.assertNodeType)("Expression") } } }), v("AwaitExpression", { builder: ["argument"], visitor: ["argument"], aliases: ["Expression", "Terminatorless"], fields: { argument: { validate: (0, c.assertNodeType)("Expression") } } }), v("Import", { aliases: ["Expression"] }), v("BigIntLiteral", { builder: ["value"], fields: { value: { validate: (0, c.assertValueType)("string") } }, aliases: ["Expression", "Pureish", "Literal", "Immutable"] }), v("ExportNamespaceSpecifier", { visitor: ["exported"], aliases: ["ModuleSpecifier"], fields: { exported: { validate: (0, c.assertNodeType)("Identifier") } } }), v("OptionalMemberExpression", { builder: ["object", "property", "computed", "optional"], visitor: ["object", "property"], aliases: ["Expression"], fields: { object: { validate: (0, c.assertNodeType)("Expression") }, property: { validate: (function() {
|
|
23014
23014
|
let P = (0, c.assertNodeType)("Identifier"), S = (0, c.assertNodeType)("Expression");
|
|
23015
23015
|
return Object.assign(function(b, C, N) {
|
|
23016
23016
|
(b.computed ? S : P)(b, C, N);
|
|
23017
23017
|
}, { oneOfNodeTypes: ["Expression", "Identifier"] });
|
|
23018
|
-
}() }, computed: { default: false }, optional: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.chain)((0, c.assertValueType)("boolean"), (0, c.assertOptionalChainStart)()) : (0, c.assertValueType)("boolean") } } }), v("OptionalCallExpression", { visitor: ["callee", "typeParameters", "typeArguments", "arguments"], builder: ["callee", "arguments", "optional"], aliases: ["Expression"], fields: Object.assign({ callee: { validate: (0, c.assertNodeType)("Expression") }, arguments: (0, c.validateArrayOfType)("Expression", "SpreadElement", "ArgumentPlaceholder"), optional: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.chain)((0, c.assertValueType)("boolean"), (0, c.assertOptionalChainStart)()) : (0, c.assertValueType)("boolean") }, typeArguments: { validate: (0, c.assertNodeType)("TypeParameterInstantiation"), optional: true } }, { typeParameters: { validate: (0, c.assertNodeType)("TSTypeParameterInstantiation"), optional: true } }) }), v("ClassProperty", { visitor: ["decorators", "variance", "key", "typeAnnotation", "value"], builder: ["key", "value", "typeAnnotation", "decorators", "computed", "static"], aliases: ["Property"], fields: Object.assign({}, f(), { value: { validate: (0, c.assertNodeType)("Expression"), optional: true }, definite: { validate: (0, c.assertValueType)("boolean"), optional: true }, typeAnnotation: { validate: (0, c.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), optional: true }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true }, readonly: { validate: (0, c.assertValueType)("boolean"), optional: true }, declare: { validate: (0, c.assertValueType)("boolean"), optional: true }, variance: { validate: (0, c.assertNodeType)("Variance"), optional: true } }) }), v("ClassAccessorProperty", { visitor: ["decorators", "key", "typeAnnotation", "value"], builder: ["key", "value", "typeAnnotation", "decorators", "computed", "static"], aliases: ["Property", "Accessor"], fields: Object.assign({}, f(), { key: { validate: (0, c.chain)(function() {
|
|
23018
|
+
})() }, computed: { default: false }, optional: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.chain)((0, c.assertValueType)("boolean"), (0, c.assertOptionalChainStart)()) : (0, c.assertValueType)("boolean") } } }), v("OptionalCallExpression", { visitor: ["callee", "typeParameters", "typeArguments", "arguments"], builder: ["callee", "arguments", "optional"], aliases: ["Expression"], fields: Object.assign({ callee: { validate: (0, c.assertNodeType)("Expression") }, arguments: (0, c.validateArrayOfType)("Expression", "SpreadElement", "ArgumentPlaceholder"), optional: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, c.chain)((0, c.assertValueType)("boolean"), (0, c.assertOptionalChainStart)()) : (0, c.assertValueType)("boolean") }, typeArguments: { validate: (0, c.assertNodeType)("TypeParameterInstantiation"), optional: true } }, { typeParameters: { validate: (0, c.assertNodeType)("TSTypeParameterInstantiation"), optional: true } }) }), v("ClassProperty", { visitor: ["decorators", "variance", "key", "typeAnnotation", "value"], builder: ["key", "value", "typeAnnotation", "decorators", "computed", "static"], aliases: ["Property"], fields: Object.assign({}, f(), { value: { validate: (0, c.assertNodeType)("Expression"), optional: true }, definite: { validate: (0, c.assertValueType)("boolean"), optional: true }, typeAnnotation: { validate: (0, c.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), optional: true }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true }, readonly: { validate: (0, c.assertValueType)("boolean"), optional: true }, declare: { validate: (0, c.assertValueType)("boolean"), optional: true }, variance: { validate: (0, c.assertNodeType)("Variance"), optional: true } }) }), v("ClassAccessorProperty", { visitor: ["decorators", "key", "typeAnnotation", "value"], builder: ["key", "value", "typeAnnotation", "decorators", "computed", "static"], aliases: ["Property", "Accessor"], fields: Object.assign({}, f(), { key: { validate: (0, c.chain)((function() {
|
|
23019
23019
|
let P = (0, c.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "PrivateName"), S = (0, c.assertNodeType)("Expression");
|
|
23020
23020
|
return function(b, C, N) {
|
|
23021
23021
|
(b.computed ? S : P)(b, C, N);
|
|
23022
23022
|
};
|
|
23023
|
-
}(), (0, c.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "Expression", "PrivateName")) }, value: { validate: (0, c.assertNodeType)("Expression"), optional: true }, definite: { validate: (0, c.assertValueType)("boolean"), optional: true }, typeAnnotation: { validate: (0, c.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), optional: true }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true }, readonly: { validate: (0, c.assertValueType)("boolean"), optional: true }, declare: { validate: (0, c.assertValueType)("boolean"), optional: true }, variance: { validate: (0, c.assertNodeType)("Variance"), optional: true } }) }), v("ClassPrivateProperty", { visitor: ["decorators", "variance", "key", "typeAnnotation", "value"], builder: ["key", "value", "decorators", "static"], aliases: ["Property", "Private"], fields: { key: { validate: (0, c.assertNodeType)("PrivateName") }, value: { validate: (0, c.assertNodeType)("Expression"), optional: true }, typeAnnotation: { validate: (0, c.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), optional: true }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true }, static: { validate: (0, c.assertValueType)("boolean"), default: false }, readonly: { validate: (0, c.assertValueType)("boolean"), optional: true }, optional: { validate: (0, c.assertValueType)("boolean"), optional: true }, definite: { validate: (0, c.assertValueType)("boolean"), optional: true }, variance: { validate: (0, c.assertNodeType)("Variance"), optional: true } } }), v("ClassPrivateMethod", { builder: ["kind", "key", "params", "body", "static"], visitor: ["decorators", "key", "typeParameters", "params", "returnType", "body"], aliases: ["Function", "Scopable", "BlockParent", "FunctionParent", "Method", "Private"], fields: Object.assign({}, y(), g(), { kind: { validate: (0, c.assertOneOf)("get", "set", "method"), default: "method" }, key: { validate: (0, c.assertNodeType)("PrivateName") }, body: { validate: (0, c.assertNodeType)("BlockStatement") } }) }), v("PrivateName", { visitor: ["id"], aliases: ["Private"], fields: { id: { validate: (0, c.assertNodeType)("Identifier") } } }), v("StaticBlock", { visitor: ["body"], fields: { body: (0, c.validateArrayOfType)("Statement") }, aliases: ["Scopable", "BlockParent", "FunctionParent"] }), v("ImportAttribute", { visitor: ["key", "value"], fields: { key: { validate: (0, c.assertNodeType)("Identifier", "StringLiteral") }, value: { validate: (0, c.assertNodeType)("StringLiteral") } } });
|
|
23023
|
+
})(), (0, c.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "Expression", "PrivateName")) }, value: { validate: (0, c.assertNodeType)("Expression"), optional: true }, definite: { validate: (0, c.assertValueType)("boolean"), optional: true }, typeAnnotation: { validate: (0, c.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), optional: true }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true }, readonly: { validate: (0, c.assertValueType)("boolean"), optional: true }, declare: { validate: (0, c.assertValueType)("boolean"), optional: true }, variance: { validate: (0, c.assertNodeType)("Variance"), optional: true } }) }), v("ClassPrivateProperty", { visitor: ["decorators", "variance", "key", "typeAnnotation", "value"], builder: ["key", "value", "decorators", "static"], aliases: ["Property", "Private"], fields: { key: { validate: (0, c.assertNodeType)("PrivateName") }, value: { validate: (0, c.assertNodeType)("Expression"), optional: true }, typeAnnotation: { validate: (0, c.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), optional: true }, decorators: { validate: (0, c.arrayOfType)("Decorator"), optional: true }, static: { validate: (0, c.assertValueType)("boolean"), default: false }, readonly: { validate: (0, c.assertValueType)("boolean"), optional: true }, optional: { validate: (0, c.assertValueType)("boolean"), optional: true }, definite: { validate: (0, c.assertValueType)("boolean"), optional: true }, variance: { validate: (0, c.assertNodeType)("Variance"), optional: true } } }), v("ClassPrivateMethod", { builder: ["kind", "key", "params", "body", "static"], visitor: ["decorators", "key", "typeParameters", "params", "returnType", "body"], aliases: ["Function", "Scopable", "BlockParent", "FunctionParent", "Method", "Private"], fields: Object.assign({}, y(), g(), { kind: { validate: (0, c.assertOneOf)("get", "set", "method"), default: "method" }, key: { validate: (0, c.assertNodeType)("PrivateName") }, body: { validate: (0, c.assertNodeType)("BlockStatement") } }) }), v("PrivateName", { visitor: ["id"], aliases: ["Private"], fields: { id: { validate: (0, c.assertNodeType)("Identifier") } } }), v("StaticBlock", { visitor: ["body"], fields: { body: (0, c.validateArrayOfType)("Statement") }, aliases: ["Scopable", "BlockParent", "FunctionParent"] }), v("ImportAttribute", { visitor: ["key", "value"], fields: { key: { validate: (0, c.assertNodeType)("Identifier", "StringLiteral") }, value: { validate: (0, c.assertNodeType)("StringLiteral") } } });
|
|
23024
23024
|
}, "./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/deprecated-aliases.js": (ee, e) => {
|
|
23025
23025
|
"use strict";
|
|
23026
23026
|
Object.defineProperty(e, "__esModule", { value: true }), e.DEPRECATED_ALIASES = void 0, e.DEPRECATED_ALIASES = { ModuleDeclaration: "ImportOrExportDeclaration" };
|
|
@@ -23115,13 +23115,13 @@ Expected ${b.length + 1} quasis but got ${P.quasis.length}`);
|
|
|
23115
23115
|
t("TSUnionType", u), t("TSIntersectionType", u), t("TSConditionalType", { aliases: ["TSType"], visitor: ["checkType", "extendsType", "trueType", "falseType"], fields: { checkType: (0, r.validateType)("TSType"), extendsType: (0, r.validateType)("TSType"), trueType: (0, r.validateType)("TSType"), falseType: (0, r.validateType)("TSType") } }), t("TSInferType", { aliases: ["TSType"], visitor: ["typeParameter"], fields: { typeParameter: (0, r.validateType)("TSTypeParameter") } }), t("TSParenthesizedType", { aliases: ["TSType"], visitor: ["typeAnnotation"], fields: { typeAnnotation: (0, r.validateType)("TSType") } }), t("TSTypeOperator", { aliases: ["TSType"], visitor: ["typeAnnotation"], builder: ["typeAnnotation", "operator"], fields: { operator: { validate: (0, r.assertValueType)("string") }, typeAnnotation: (0, r.validateType)("TSType") } }), t("TSIndexedAccessType", { aliases: ["TSType"], visitor: ["objectType", "indexType"], fields: { objectType: (0, r.validateType)("TSType"), indexType: (0, r.validateType)("TSType") } }), t("TSMappedType", { aliases: ["TSType"], visitor: ["typeParameter", "nameType", "typeAnnotation"], builder: ["typeParameter", "typeAnnotation", "nameType"], fields: Object.assign({}, { typeParameter: (0, r.validateType)("TSTypeParameter") }, { readonly: (0, r.validateOptional)((0, r.assertOneOf)(true, false, "+", "-")), optional: (0, r.validateOptional)((0, r.assertOneOf)(true, false, "+", "-")), typeAnnotation: (0, r.validateOptionalType)("TSType"), nameType: (0, r.validateOptionalType)("TSType") }) }), t("TSTemplateLiteralType", { aliases: ["TSType", "TSBaseType"], visitor: ["quasis", "types"], fields: { quasis: (0, r.validateArrayOfType)("TemplateElement"), types: { validate: (0, r.chain)((0, r.assertValueType)("array"), (0, r.assertEach)((0, r.assertNodeType)("TSType")), function(y, P, S) {
|
|
23116
23116
|
if (y.quasis.length !== S.length + 1) throw new TypeError(`Number of ${y.type} quasis should be exactly one more than the number of types.
|
|
23117
23117
|
Expected ${S.length + 1} quasis but got ${y.quasis.length}`);
|
|
23118
|
-
}) } } }), t("TSLiteralType", { aliases: ["TSType", "TSBaseType"], visitor: ["literal"], fields: { literal: { validate: function() {
|
|
23118
|
+
}) } } }), t("TSLiteralType", { aliases: ["TSType", "TSBaseType"], visitor: ["literal"], fields: { literal: { validate: (function() {
|
|
23119
23119
|
let y = (0, r.assertNodeType)("NumericLiteral", "BigIntLiteral"), P = (0, r.assertOneOf)("-"), S = (0, r.assertNodeType)("NumericLiteral", "StringLiteral", "BooleanLiteral", "BigIntLiteral", "TemplateLiteral");
|
|
23120
23120
|
function b(C, N, F) {
|
|
23121
23121
|
(0, d.default)("UnaryExpression", F) ? (P(F, "operator", F.operator), y(F, "argument", F.argument)) : S(C, N, F);
|
|
23122
23122
|
}
|
|
23123
23123
|
return b.oneOfNodeTypes = ["NumericLiteral", "StringLiteral", "BooleanLiteral", "BigIntLiteral", "TemplateLiteral", "UnaryExpression"], b;
|
|
23124
|
-
}() } } }), t("TSExpressionWithTypeArguments", { aliases: ["TSType"], visitor: ["expression", "typeParameters"], fields: { expression: (0, r.validateType)("TSEntityName"), typeParameters: (0, r.validateOptionalType)("TSTypeParameterInstantiation") } }), t("TSInterfaceDeclaration", { aliases: ["Statement", "Declaration"], visitor: ["id", "typeParameters", "extends", "body"], fields: { declare: (0, r.validateOptional)(i), id: (0, r.validateType)("Identifier"), typeParameters: (0, r.validateOptionalType)("TSTypeParameterDeclaration"), extends: (0, r.validateOptional)((0, r.arrayOfType)("TSExpressionWithTypeArguments")), body: (0, r.validateType)("TSInterfaceBody") } }), t("TSInterfaceBody", { visitor: ["body"], fields: { body: (0, r.validateArrayOfType)("TSTypeElement") } }), t("TSTypeAliasDeclaration", { aliases: ["Statement", "Declaration"], visitor: ["id", "typeParameters", "typeAnnotation"], fields: { declare: (0, r.validateOptional)(i), id: (0, r.validateType)("Identifier"), typeParameters: (0, r.validateOptionalType)("TSTypeParameterDeclaration"), typeAnnotation: (0, r.validateType)("TSType") } }), t("TSInstantiationExpression", { aliases: ["Expression"], visitor: ["expression", "typeParameters"], fields: { expression: (0, r.validateType)("Expression"), typeParameters: (0, r.validateOptionalType)("TSTypeParameterInstantiation") } });
|
|
23124
|
+
})() } } }), t("TSExpressionWithTypeArguments", { aliases: ["TSType"], visitor: ["expression", "typeParameters"], fields: { expression: (0, r.validateType)("TSEntityName"), typeParameters: (0, r.validateOptionalType)("TSTypeParameterInstantiation") } }), t("TSInterfaceDeclaration", { aliases: ["Statement", "Declaration"], visitor: ["id", "typeParameters", "extends", "body"], fields: { declare: (0, r.validateOptional)(i), id: (0, r.validateType)("Identifier"), typeParameters: (0, r.validateOptionalType)("TSTypeParameterDeclaration"), extends: (0, r.validateOptional)((0, r.arrayOfType)("TSExpressionWithTypeArguments")), body: (0, r.validateType)("TSInterfaceBody") } }), t("TSInterfaceBody", { visitor: ["body"], fields: { body: (0, r.validateArrayOfType)("TSTypeElement") } }), t("TSTypeAliasDeclaration", { aliases: ["Statement", "Declaration"], visitor: ["id", "typeParameters", "typeAnnotation"], fields: { declare: (0, r.validateOptional)(i), id: (0, r.validateType)("Identifier"), typeParameters: (0, r.validateOptionalType)("TSTypeParameterDeclaration"), typeAnnotation: (0, r.validateType)("TSType") } }), t("TSInstantiationExpression", { aliases: ["Expression"], visitor: ["expression", "typeParameters"], fields: { expression: (0, r.validateType)("Expression"), typeParameters: (0, r.validateOptionalType)("TSTypeParameterInstantiation") } });
|
|
23125
23125
|
let f = { aliases: ["Expression", "LVal", "PatternLike"], visitor: ["expression", "typeAnnotation"], fields: { expression: (0, r.validateType)("Expression"), typeAnnotation: (0, r.validateType)("TSType") } };
|
|
23126
23126
|
t("TSAsExpression", f), t("TSSatisfiesExpression", f), t("TSTypeAssertion", { aliases: ["Expression", "LVal", "PatternLike"], visitor: ["typeAnnotation", "expression"], fields: { typeAnnotation: (0, r.validateType)("TSType"), expression: (0, r.validateType)("Expression") } }), t("TSEnumBody", { visitor: ["members"], fields: { members: (0, r.validateArrayOfType)("TSEnumMember") } }), t("TSEnumDeclaration", { aliases: ["Statement", "Declaration"], visitor: ["id", "members"], fields: { declare: (0, r.validateOptional)(i), const: (0, r.validateOptional)(i), id: (0, r.validateType)("Identifier"), members: (0, r.validateArrayOfType)("TSEnumMember"), initializer: (0, r.validateOptionalType)("Expression"), body: (0, r.validateOptionalType)("TSEnumBody") } }), t("TSEnumMember", { visitor: ["id", "initializer"], fields: { id: (0, r.validateType)("Identifier", "StringLiteral"), initializer: (0, r.validateOptionalType)("Expression") } }), t("TSModuleDeclaration", { aliases: ["Statement", "Declaration"], visitor: ["id", "body"], fields: Object.assign({ kind: { validate: (0, r.assertOneOf)("global", "module", "namespace") }, declare: (0, r.validateOptional)(i) }, { global: (0, r.validateOptional)(i) }, { id: (0, r.validateType)("Identifier", "StringLiteral"), body: (0, r.validateType)("TSModuleBlock", "TSModuleDeclaration") }) }), t("TSModuleBlock", { aliases: ["Scopable", "Block", "BlockParent", "FunctionParent"], visitor: ["body"], fields: { body: (0, r.validateArrayOfType)("Statement") } }), t("TSImportType", { aliases: ["TSType"], builder: ["argument", "qualifier", "typeParameters"], visitor: ["argument", "options", "qualifier", "typeParameters"], fields: { argument: (0, r.validateType)("StringLiteral"), qualifier: (0, r.validateOptionalType)("TSEntityName"), typeParameters: (0, r.validateOptionalType)("TSTypeParameterInstantiation"), options: { validate: (0, r.assertNodeType)("ObjectExpression"), optional: true } } }), t("TSImportEqualsDeclaration", { aliases: ["Statement", "Declaration"], visitor: ["id", "moduleReference"], fields: Object.assign({}, { isExport: (0, r.validate)(i) }, { id: (0, r.validateType)("Identifier"), moduleReference: (0, r.validateType)("TSEntityName", "TSExternalModuleReference"), importKind: { validate: (0, r.assertOneOf)("type", "value"), optional: true } }) }), t("TSExternalModuleReference", { visitor: ["expression"], fields: { expression: (0, r.validateType)("StringLiteral") } }), t("TSNonNullExpression", { aliases: ["Expression", "LVal", "PatternLike"], visitor: ["expression"], fields: { expression: (0, r.validateType)("Expression") } }), t("TSExportAssignment", { aliases: ["Statement"], visitor: ["expression"], fields: { expression: (0, r.validateType)("Expression") } }), t("TSNamespaceExportDeclaration", { aliases: ["Statement"], visitor: ["id"], fields: { id: (0, r.validateType)("Identifier") } }), t("TSTypeAnnotation", { visitor: ["typeAnnotation"], fields: { typeAnnotation: { validate: (0, r.assertNodeType)("TSType") } } }), t("TSTypeParameterInstantiation", { visitor: ["params"], fields: { params: (0, r.validateArrayOfType)("TSType") } }), t("TSTypeParameterDeclaration", { visitor: ["params"], fields: { params: (0, r.validateArrayOfType)("TSTypeParameter") } }), t("TSTypeParameter", { builder: ["constraint", "default", "name"], visitor: ["constraint", "default"], fields: { name: { validate: (0, r.assertValueType)("string") }, in: { validate: (0, r.assertValueType)("boolean"), optional: true }, out: { validate: (0, r.assertValueType)("boolean"), optional: true }, const: { validate: (0, r.assertValueType)("boolean"), optional: true }, constraint: { validate: (0, r.assertNodeType)("TSType"), optional: true }, default: { validate: (0, r.assertNodeType)("TSType"), optional: true } } });
|
|
23127
23127
|
}, "./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/utils.js": (ee, e, E) => {
|
|
@@ -23620,9 +23620,9 @@ ${W.join(`
|
|
|
23620
23620
|
if ("id" in d && d.id) return { name: d.id.name, originalNode: d.id };
|
|
23621
23621
|
let i, c = "";
|
|
23622
23622
|
if ((0, r.isObjectProperty)(t, { value: d }) ? i = l(t) : (0, r.isObjectMethod)(d) || (0, r.isClassMethod)(d) ? (i = l(d), d.kind === "get" ? c = "get " : d.kind === "set" && (c = "set ")) : (0, r.isVariableDeclarator)(t, { init: d }) ? i = t.id : (0, r.isAssignmentExpression)(t, { operator: "=", right: d }) && (i = t.left), !i) return null;
|
|
23623
|
-
let v = (0, r.isLiteral)(i) ? function(T) {
|
|
23623
|
+
let v = (0, r.isLiteral)(i) ? (function(T) {
|
|
23624
23624
|
return (0, r.isNullLiteral)(T) ? "null" : (0, r.isRegExpLiteral)(T) ? `/${T.pattern}/${T.flags}` : (0, r.isTemplateLiteral)(T) ? T.quasis.map((g) => g.value.raw).join("") : T.value !== void 0 ? String(T.value) : null;
|
|
23625
|
-
}(i) : (0, r.isIdentifier)(i) ? i.name : (0, r.isPrivateName)(i) ? i.id.name : null;
|
|
23625
|
+
})(i) : (0, r.isIdentifier)(i) ? i.name : (0, r.isPrivateName)(i) ? i.id.name : null;
|
|
23626
23626
|
return v == null ? null : { name: c + v, originalNode: i };
|
|
23627
23627
|
};
|
|
23628
23628
|
var r = E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js");
|
|
@@ -23691,7 +23691,7 @@ ${W.join(`
|
|
|
23691
23691
|
Object.defineProperty(e, "__esModule", { value: true }), e.default = function(r, l, d = "", t = r) {
|
|
23692
23692
|
if (E.has(t)) return;
|
|
23693
23693
|
E.add(t);
|
|
23694
|
-
let { internal: i, trace: c } = function(v, T) {
|
|
23694
|
+
let { internal: i, trace: c } = (function(v, T) {
|
|
23695
23695
|
let { stackTraceLimit: g, prepareStackTrace: p } = Error, h;
|
|
23696
23696
|
if (Error.stackTraceLimit = 1 + v + T, Error.prepareStackTrace = function(f, y) {
|
|
23697
23697
|
h = y;
|
|
@@ -23699,7 +23699,7 @@ ${W.join(`
|
|
|
23699
23699
|
let u = h.slice(1 + v, 1 + v + T);
|
|
23700
23700
|
return { internal: /[\\/]@babel[\\/]/.test(u[1].getFileName()), trace: u.map((f) => ` at ${f}`).join(`
|
|
23701
23701
|
`) };
|
|
23702
|
-
}(1, 2);
|
|
23702
|
+
})(1, 2);
|
|
23703
23703
|
i || console.warn(`${d}\`${r}\` has been deprecated, please migrate to \`${l}\`
|
|
23704
23704
|
${c}`);
|
|
23705
23705
|
};
|
|
@@ -25754,7 +25754,7 @@ ${c}`);
|
|
|
25754
25754
|
}
|
|
25755
25755
|
})(ee = E.nmd(ee), E("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.4/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"), E("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.29/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"));
|
|
25756
25756
|
}, "./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js": function(ee) {
|
|
25757
|
-
ee.exports = function() {
|
|
25757
|
+
ee.exports = (function() {
|
|
25758
25758
|
"use strict";
|
|
25759
25759
|
let e = /^[\w+.-]+:\/\//, E = /^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/, r = /^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;
|
|
25760
25760
|
function l(P) {
|
|
@@ -25852,7 +25852,7 @@ ${c}`);
|
|
|
25852
25852
|
}
|
|
25853
25853
|
}
|
|
25854
25854
|
return y;
|
|
25855
|
-
}();
|
|
25855
|
+
})();
|
|
25856
25856
|
}, "./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.4/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js": function(ee, e, E) {
|
|
25857
25857
|
(function(r) {
|
|
25858
25858
|
"use strict";
|
|
@@ -26376,7 +26376,7 @@ ${c}`);
|
|
|
26376
26376
|
};
|
|
26377
26377
|
return { visitor: { Program: function(v, T) {
|
|
26378
26378
|
var g = (0, r.extname)(T.file.opts.filename);
|
|
26379
|
-
g !== ".ts" && g !== ".tsx" || function() {
|
|
26379
|
+
g !== ".ts" && g !== ".tsx" || (function() {
|
|
26380
26380
|
var p = /* @__PURE__ */ Object.create(null);
|
|
26381
26381
|
v.node.body.filter(function(w) {
|
|
26382
26382
|
var O = w.type, z = w.declaration;
|
|
@@ -26439,7 +26439,7 @@ ${c}`);
|
|
|
26439
26439
|
if (u) throw f;
|
|
26440
26440
|
}
|
|
26441
26441
|
}
|
|
26442
|
-
}();
|
|
26442
|
+
})();
|
|
26443
26443
|
}, Function: function(v) {
|
|
26444
26444
|
var T = "";
|
|
26445
26445
|
v.node.id ? T = v.node.id.name : v.node.key && (T = v.node.key.name), (v.get("params") || []).slice().forEach(function(g) {
|
|
@@ -26449,12 +26449,12 @@ ${c}`);
|
|
|
26449
26449
|
var y, P = v.parentPath.parentPath, S = v.findParent(function(w) {
|
|
26450
26450
|
return w.type === "ClassDeclaration";
|
|
26451
26451
|
});
|
|
26452
|
-
if (S ? y = S.node.id.name : (P.insertAfter(null), y = function(w) {
|
|
26452
|
+
if (S ? y = S.node.id.name : (P.insertAfter(null), y = (function(w) {
|
|
26453
26453
|
var O = w.findParent(function(z) {
|
|
26454
26454
|
return z.node.type === "AssignmentExpression";
|
|
26455
26455
|
});
|
|
26456
26456
|
return O.node.right.type === "SequenceExpression" ? O.node.right.expressions[1].name : O.node.right.type === "ClassExpression" ? O.node.left.name : null;
|
|
26457
|
-
}(v)), T === "constructor") {
|
|
26457
|
+
})(v)), T === "constructor") {
|
|
26458
26458
|
var b = i(f, g)(y);
|
|
26459
26459
|
P.insertAfter(b);
|
|
26460
26460
|
} else {
|
|
@@ -26478,7 +26478,7 @@ ${c}`);
|
|
|
26478
26478
|
}
|
|
26479
26479
|
}
|
|
26480
26480
|
}), h) {
|
|
26481
|
-
var u = function(f) {
|
|
26481
|
+
var u = (function(f) {
|
|
26482
26482
|
switch (f.node.type) {
|
|
26483
26483
|
case "ObjectPattern":
|
|
26484
26484
|
return t.ObjectPattern(f.node.properties);
|
|
@@ -26489,7 +26489,7 @@ ${c}`);
|
|
|
26489
26489
|
default:
|
|
26490
26490
|
return t.Identifier(f.node.name);
|
|
26491
26491
|
}
|
|
26492
|
-
}(g);
|
|
26492
|
+
})(g);
|
|
26493
26493
|
g.replaceWith(u);
|
|
26494
26494
|
}
|
|
26495
26495
|
});
|
|
@@ -26499,9 +26499,9 @@ ${c}`);
|
|
|
26499
26499
|
"use strict";
|
|
26500
26500
|
var E;
|
|
26501
26501
|
function r(d, t) {
|
|
26502
|
-
(t = t || {}).hasComment && (d = function(i) {
|
|
26502
|
+
(t = t || {}).hasComment && (d = (function(i) {
|
|
26503
26503
|
return i.split(",").pop();
|
|
26504
|
-
}(d)), t.encoding === "base64" ? d = E(d) : t.encoding === "uri" && (d = decodeURIComponent(d)), (t.isJSON || t.encoding) && (d = JSON.parse(d)), this.sourcemap = d;
|
|
26504
|
+
})(d)), t.encoding === "base64" ? d = E(d) : t.encoding === "uri" && (d = decodeURIComponent(d)), (t.isJSON || t.encoding) && (d = JSON.parse(d)), this.sourcemap = d;
|
|
26505
26505
|
}
|
|
26506
26506
|
function l(d) {
|
|
26507
26507
|
return new r(d, { isJSON: true });
|
|
@@ -26557,7 +26557,7 @@ ${c}`);
|
|
|
26557
26557
|
return new r(d = d.replace(/^\/\*/g, "//").replace(/\*\/$/g, ""), { encoding: (t = e.commentRegex.exec(d)) && t[4] || "uri", hasComment: true });
|
|
26558
26558
|
}, e.fromMapFileComment = function(d, t) {
|
|
26559
26559
|
if (typeof t == "string") throw new Error("String directory paths are no longer supported with `fromMapFileComment`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");
|
|
26560
|
-
var i = function(c, v) {
|
|
26560
|
+
var i = (function(c, v) {
|
|
26561
26561
|
var T = e.mapFileCommentRegex.exec(c), g = T[1] || T[2];
|
|
26562
26562
|
try {
|
|
26563
26563
|
return (c = v(g)) != null && typeof c.catch == "function" ? c.catch(p) : c;
|
|
@@ -26568,7 +26568,7 @@ ${c}`);
|
|
|
26568
26568
|
throw new Error("An error occurred while trying to read the map file at " + g + `
|
|
26569
26569
|
` + h.stack);
|
|
26570
26570
|
}
|
|
26571
|
-
}(d, t);
|
|
26571
|
+
})(d, t);
|
|
26572
26572
|
return i != null && typeof i.then == "function" ? i.then(l) : l(i);
|
|
26573
26573
|
}, e.fromSource = function(d) {
|
|
26574
26574
|
var t = d.match(e.commentRegex);
|
|
@@ -26611,12 +26611,12 @@ ${c}`);
|
|
|
26611
26611
|
if (typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) return false;
|
|
26612
26612
|
let l;
|
|
26613
26613
|
return typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || typeof navigator < "u" && navigator.userAgent && (l = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(l[1], 10) >= 31 || typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
26614
|
-
}, e.storage = function() {
|
|
26614
|
+
}, e.storage = (function() {
|
|
26615
26615
|
try {
|
|
26616
26616
|
return localStorage;
|
|
26617
26617
|
} catch {
|
|
26618
26618
|
}
|
|
26619
|
-
}(), e.destroy = /* @__PURE__ */ (() => {
|
|
26619
|
+
})(), e.destroy = /* @__PURE__ */ (() => {
|
|
26620
26620
|
let l = false;
|
|
26621
26621
|
return () => {
|
|
26622
26622
|
l || (l = true, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));
|
|
@@ -26710,9 +26710,9 @@ ${c}`);
|
|
|
26710
26710
|
t[0] = g + t[0].split(`
|
|
26711
26711
|
`).join(`
|
|
26712
26712
|
` + g), t.push(T + "m+" + ee.exports.humanize(this.diff) + "\x1B[0m");
|
|
26713
|
-
} else t[0] = function() {
|
|
26713
|
+
} else t[0] = (function() {
|
|
26714
26714
|
return e.inspectOpts.hideDate ? "" : (/* @__PURE__ */ new Date()).toISOString() + " ";
|
|
26715
|
-
}() + i + " " + t[0];
|
|
26715
|
+
})() + i + " " + t[0];
|
|
26716
26716
|
}, e.save = function(t) {
|
|
26717
26717
|
t ? process.env.DEBUG = t : delete process.env.DEBUG;
|
|
26718
26718
|
}, e.load = function() {
|
|
@@ -26810,7 +26810,7 @@ ${c}`);
|
|
|
26810
26810
|
}
|
|
26811
26811
|
ee.exports = Object.assign(function(p) {
|
|
26812
26812
|
let h = p;
|
|
26813
|
-
return h = typeof p != "function" ? function({ name: u, arity: f, sync: y, async: P, errback: S }) {
|
|
26813
|
+
return h = typeof p != "function" ? (function({ name: u, arity: f, sync: y, async: P, errback: S }) {
|
|
26814
26814
|
if (r("string", "name", u, true), r("number", "arity", f, true), r("function", "sync", y), r("function", "async", P, true), r("function", "errback", S, true), P && S) throw l("Expected one of either opts.async or opts.errback, but got _both_.", "GENSYNC_OPTIONS_ERROR");
|
|
26815
26815
|
if (typeof u != "string") {
|
|
26816
26816
|
let b;
|
|
@@ -26823,11 +26823,11 @@ ${c}`);
|
|
|
26823
26823
|
F == null ? C(K) : N(F);
|
|
26824
26824
|
}) : C(y.apply(this, b));
|
|
26825
26825
|
} });
|
|
26826
|
-
}(p) : function(u) {
|
|
26826
|
+
})(p) : (function(u) {
|
|
26827
26827
|
return g(u.name, u.length, function(...f) {
|
|
26828
26828
|
return u.apply(this, f);
|
|
26829
26829
|
});
|
|
26830
|
-
}(p), Object.assign(h, /* @__PURE__ */ function(u) {
|
|
26830
|
+
})(p), Object.assign(h, /* @__PURE__ */ (function(u) {
|
|
26831
26831
|
return { sync: function(...y) {
|
|
26832
26832
|
return t(u.apply(this, y));
|
|
26833
26833
|
}, async: function(...y) {
|
|
@@ -26845,7 +26845,7 @@ ${c}`);
|
|
|
26845
26845
|
}
|
|
26846
26846
|
i(S, (b) => P(void 0, b), (b) => P(b));
|
|
26847
26847
|
} };
|
|
26848
|
-
}(h));
|
|
26848
|
+
})(h));
|
|
26849
26849
|
}, { all: d({ name: "all", arity: 1, sync: function(p) {
|
|
26850
26850
|
return Array.from(p[0]).map((h) => t(h));
|
|
26851
26851
|
}, async: function(p, h, u) {
|
|
@@ -27183,7 +27183,7 @@ ${c}`);
|
|
|
27183
27183
|
}, string() {
|
|
27184
27184
|
switch (b) {
|
|
27185
27185
|
case "\\":
|
|
27186
|
-
return F(), void (y += function() {
|
|
27186
|
+
return F(), void (y += (function() {
|
|
27187
27187
|
switch (N()) {
|
|
27188
27188
|
case "b":
|
|
27189
27189
|
return F(), "\b";
|
|
@@ -27202,11 +27202,11 @@ ${c}`);
|
|
|
27202
27202
|
if (F(), l.isDigit(N())) throw D(F());
|
|
27203
27203
|
return "\0";
|
|
27204
27204
|
case "x":
|
|
27205
|
-
return F(), function() {
|
|
27205
|
+
return F(), (function() {
|
|
27206
27206
|
let B = "", G = N();
|
|
27207
27207
|
if (!l.isHexDigit(G) || (B += F(), G = N(), !l.isHexDigit(G))) throw D(F());
|
|
27208
27208
|
return B += F(), String.fromCodePoint(parseInt(B, 16));
|
|
27209
|
-
}();
|
|
27209
|
+
})();
|
|
27210
27210
|
case "u":
|
|
27211
27211
|
return F(), O();
|
|
27212
27212
|
case `
|
|
@@ -27230,7 +27230,7 @@ ${c}`);
|
|
|
27230
27230
|
throw D(F());
|
|
27231
27231
|
}
|
|
27232
27232
|
return F();
|
|
27233
|
-
}());
|
|
27233
|
+
})());
|
|
27234
27234
|
case '"':
|
|
27235
27235
|
return P ? (F(), L("string", y)) : void (y += F());
|
|
27236
27236
|
case "'":
|
|
@@ -27437,7 +27437,7 @@ ${c}`);
|
|
|
27437
27437
|
case false:
|
|
27438
27438
|
return "false";
|
|
27439
27439
|
}
|
|
27440
|
-
return typeof j == "string" ? H(j) : typeof j == "number" ? String(j) : typeof j == "object" ? Array.isArray(j) ? function(Te) {
|
|
27440
|
+
return typeof j == "string" ? H(j) : typeof j == "number" ? String(j) : typeof j == "object" ? Array.isArray(j) ? (function(Te) {
|
|
27441
27441
|
if (Q.indexOf(Te) >= 0) throw TypeError("Converting circular structure to JSON5");
|
|
27442
27442
|
Q.push(Te);
|
|
27443
27443
|
let De = we;
|
|
@@ -27457,7 +27457,7 @@ ${c}`);
|
|
|
27457
27457
|
` + De + "]";
|
|
27458
27458
|
}
|
|
27459
27459
|
return Q.pop(), we = De, Fe;
|
|
27460
|
-
}(j) : function(Te) {
|
|
27460
|
+
})(j) : (function(Te) {
|
|
27461
27461
|
if (Q.indexOf(Te) >= 0) throw TypeError("Converting circular structure to JSON5");
|
|
27462
27462
|
Q.push(Te);
|
|
27463
27463
|
let De = we;
|
|
@@ -27483,7 +27483,7 @@ ${c}`);
|
|
|
27483
27483
|
}
|
|
27484
27484
|
}
|
|
27485
27485
|
return Q.pop(), we = De, Fe;
|
|
27486
|
-
}(j) : void 0;
|
|
27486
|
+
})(j) : void 0;
|
|
27487
27487
|
}
|
|
27488
27488
|
function H(Se) {
|
|
27489
27489
|
let pe = { "'": 0.1, '"': 0.2 }, j = { "'": "\\'", '"': '\\"', "\\": "\\\\", "\b": "\\b", "\f": "\\f", "\n": "\\n", "\r": "\\r", " ": "\\t", "\v": "\\v", "\0": "\\0", "\u2028": "\\u2028", "\u2029": "\\u2029" }, Te = "";
|
|
@@ -27538,7 +27538,7 @@ ${c}`);
|
|
|
27538
27538
|
ee.exports = function(c, v) {
|
|
27539
27539
|
v = v || {};
|
|
27540
27540
|
var T = typeof c;
|
|
27541
|
-
if (T === "string" && c.length > 0) return function(g) {
|
|
27541
|
+
if (T === "string" && c.length > 0) return (function(g) {
|
|
27542
27542
|
if (!((g = String(g)).length > 100)) {
|
|
27543
27543
|
var p = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(g);
|
|
27544
27544
|
if (p) {
|
|
@@ -27587,14 +27587,14 @@ ${c}`);
|
|
|
27587
27587
|
}
|
|
27588
27588
|
}
|
|
27589
27589
|
}
|
|
27590
|
-
}(c);
|
|
27591
|
-
if (T === "number" && isFinite(c)) return v.long ? function(g) {
|
|
27590
|
+
})(c);
|
|
27591
|
+
if (T === "number" && isFinite(c)) return v.long ? (function(g) {
|
|
27592
27592
|
var p = Math.abs(g);
|
|
27593
27593
|
return p >= l ? i(g, p, l, "day") : p >= r ? i(g, p, r, "hour") : p >= E ? i(g, p, E, "minute") : p >= e ? i(g, p, e, "second") : g + " ms";
|
|
27594
|
-
}(c) : function(g) {
|
|
27594
|
+
})(c) : (function(g) {
|
|
27595
27595
|
var p = Math.abs(g);
|
|
27596
27596
|
return p >= l ? Math.round(g / l) + "d" : p >= r ? Math.round(g / r) + "h" : p >= E ? Math.round(g / E) + "m" : p >= e ? Math.round(g / e) + "s" : g + "ms";
|
|
27597
|
-
}(c);
|
|
27597
|
+
})(c);
|
|
27598
27598
|
throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(c));
|
|
27599
27599
|
};
|
|
27600
27600
|
}, "./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js": (ee, e) => {
|
|
@@ -27913,31 +27913,31 @@ ${c}`);
|
|
|
27913
27913
|
var B = this.options.loose, G = B ? i[v.HYPHENRANGELOOSE] : i[v.HYPHENRANGE];
|
|
27914
27914
|
M = M.replace(G, q2), E("hyphen replace", M), M = M.replace(i[v.COMPARATORTRIM], "$1$2$3"), E("comparator trim", M, i[v.COMPARATORTRIM]), M = (M = (M = M.replace(i[v.TILDETRIM], "$1~")).replace(i[v.CARETTRIM], "$1^")).split(/\s+/).join(" ");
|
|
27915
27915
|
var U = B ? i[v.COMPARATORLOOSE] : i[v.COMPARATOR], Q = M.split(" ").map(function(de) {
|
|
27916
|
-
return function(se, ye) {
|
|
27917
|
-
return E("comp", se, ye), se = function(we, ve) {
|
|
27916
|
+
return (function(se, ye) {
|
|
27917
|
+
return E("comp", se, ye), se = (function(we, ve) {
|
|
27918
27918
|
return we.trim().split(/\s+/).map(function(ce) {
|
|
27919
|
-
return function(H, me) {
|
|
27919
|
+
return (function(H, me) {
|
|
27920
27920
|
E("caret", H, me);
|
|
27921
27921
|
var Se = me.loose ? i[v.CARETLOOSE] : i[v.CARET];
|
|
27922
27922
|
return H.replace(Se, function(pe, j, Te, De, Fe) {
|
|
27923
27923
|
var Pe;
|
|
27924
27924
|
return E("caret", H, pe, j, Te, De, Fe), W(j) ? Pe = "" : W(Te) ? Pe = ">=" + j + ".0.0 <" + (+j + 1) + ".0.0" : W(De) ? Pe = j === "0" ? ">=" + j + "." + Te + ".0 <" + j + "." + (+Te + 1) + ".0" : ">=" + j + "." + Te + ".0 <" + (+j + 1) + ".0.0" : Fe ? (E("replaceCaret pr", Fe), Pe = j === "0" ? Te === "0" ? ">=" + j + "." + Te + "." + De + "-" + Fe + " <" + j + "." + Te + "." + (+De + 1) : ">=" + j + "." + Te + "." + De + "-" + Fe + " <" + j + "." + (+Te + 1) + ".0" : ">=" + j + "." + Te + "." + De + "-" + Fe + " <" + (+j + 1) + ".0.0") : (E("no pr"), Pe = j === "0" ? Te === "0" ? ">=" + j + "." + Te + "." + De + " <" + j + "." + Te + "." + (+De + 1) : ">=" + j + "." + Te + "." + De + " <" + j + "." + (+Te + 1) + ".0" : ">=" + j + "." + Te + "." + De + " <" + (+j + 1) + ".0.0"), E("caret return", Pe), Pe;
|
|
27925
27925
|
});
|
|
27926
|
-
}(ce, ve);
|
|
27926
|
+
})(ce, ve);
|
|
27927
27927
|
}).join(" ");
|
|
27928
|
-
}(se, ye), E("caret", se), se = function(we, ve) {
|
|
27928
|
+
})(se, ye), E("caret", se), se = (function(we, ve) {
|
|
27929
27929
|
return we.trim().split(/\s+/).map(function(ce) {
|
|
27930
|
-
return function(H, me) {
|
|
27930
|
+
return (function(H, me) {
|
|
27931
27931
|
var Se = me.loose ? i[v.TILDELOOSE] : i[v.TILDE];
|
|
27932
27932
|
return H.replace(Se, function(pe, j, Te, De, Fe) {
|
|
27933
27933
|
var Pe;
|
|
27934
27934
|
return E("tilde", H, pe, j, Te, De, Fe), W(j) ? Pe = "" : W(Te) ? Pe = ">=" + j + ".0.0 <" + (+j + 1) + ".0.0" : W(De) ? Pe = ">=" + j + "." + Te + ".0 <" + j + "." + (+Te + 1) + ".0" : Fe ? (E("replaceTilde pr", Fe), Pe = ">=" + j + "." + Te + "." + De + "-" + Fe + " <" + j + "." + (+Te + 1) + ".0") : Pe = ">=" + j + "." + Te + "." + De + " <" + j + "." + (+Te + 1) + ".0", E("tilde return", Pe), Pe;
|
|
27935
27935
|
});
|
|
27936
|
-
}(ce, ve);
|
|
27936
|
+
})(ce, ve);
|
|
27937
27937
|
}).join(" ");
|
|
27938
|
-
}(se, ye), E("tildes", se), se = function(we, ve) {
|
|
27938
|
+
})(se, ye), E("tildes", se), se = (function(we, ve) {
|
|
27939
27939
|
return E("replaceXRanges", we, ve), we.split(/\s+/).map(function(ce) {
|
|
27940
|
-
return function(H, me) {
|
|
27940
|
+
return (function(H, me) {
|
|
27941
27941
|
H = H.trim();
|
|
27942
27942
|
var Se = me.loose ? i[v.XRANGELOOSE] : i[v.XRANGE];
|
|
27943
27943
|
return H.replace(Se, function(pe, j, Te, De, Fe, Pe) {
|
|
@@ -27945,12 +27945,12 @@ ${c}`);
|
|
|
27945
27945
|
var ke = W(Te), Oe = ke || W(De), We = Oe || W(Fe), Re = We;
|
|
27946
27946
|
return j === "=" && Re && (j = ""), Pe = me.includePrerelease ? "-0" : "", ke ? pe = j === ">" || j === "<" ? "<0.0.0-0" : "*" : j && Re ? (Oe && (De = 0), Fe = 0, j === ">" ? (j = ">=", Oe ? (Te = +Te + 1, De = 0, Fe = 0) : (De = +De + 1, Fe = 0)) : j === "<=" && (j = "<", Oe ? Te = +Te + 1 : De = +De + 1), pe = j + Te + "." + De + "." + Fe + Pe) : Oe ? pe = ">=" + Te + ".0.0" + Pe + " <" + (+Te + 1) + ".0.0" + Pe : We && (pe = ">=" + Te + "." + De + ".0" + Pe + " <" + Te + "." + (+De + 1) + ".0" + Pe), E("xRange return", pe), pe;
|
|
27947
27947
|
});
|
|
27948
|
-
}(ce, ve);
|
|
27948
|
+
})(ce, ve);
|
|
27949
27949
|
}).join(" ");
|
|
27950
|
-
}(se, ye), E("xrange", se), se = function(we, ve) {
|
|
27950
|
+
})(se, ye), E("xrange", se), se = (function(we, ve) {
|
|
27951
27951
|
return E("replaceStars", we, ve), we.trim().replace(i[v.STAR], "");
|
|
27952
|
-
}(se, ye), E("stars", se), se;
|
|
27953
|
-
}(de, this.options);
|
|
27952
|
+
})(se, ye), E("stars", se), se;
|
|
27953
|
+
})(de, this.options);
|
|
27954
27954
|
}, this).join(" ").split(/\s+/);
|
|
27955
27955
|
return this.options.loose && (Q = Q.filter(function(de) {
|
|
27956
27956
|
return !!de.match(U);
|
|
@@ -28387,12 +28387,12 @@ Defaulting to 2020, but this will stop working in the future.`)), x.ecmaVersion
|
|
|
28387
28387
|
return Y.push(ue);
|
|
28388
28388
|
};
|
|
28389
28389
|
}
|
|
28390
|
-
return pt(x.onComment) && (x.onComment = /* @__PURE__ */ function(ue, je) {
|
|
28390
|
+
return pt(x.onComment) && (x.onComment = /* @__PURE__ */ (function(ue, je) {
|
|
28391
28391
|
return function(Me, Xe, ft, Tt, Ot, Vt) {
|
|
28392
28392
|
var nn = { type: Me ? "Block" : "Line", value: Xe, start: ft, end: Tt };
|
|
28393
28393
|
ue.locations && (nn.loc = new _e(this, Ot, Vt)), ue.ranges && (nn.range = [ft, Tt]), je.push(nn);
|
|
28394
28394
|
};
|
|
28395
|
-
}(x, x.onComment)), x;
|
|
28395
|
+
})(x, x.onComment)), x;
|
|
28396
28396
|
}
|
|
28397
28397
|
function Ae(o2, x) {
|
|
28398
28398
|
return 2 | (o2 ? 4 : 0) | (x ? 8 : 0);
|
|
@@ -29568,10 +29568,10 @@ Defaulting to 2020, but this will stop working in the future.`)), x.ecmaVersion
|
|
|
29568
29568
|
}
|
|
29569
29569
|
this.options.ecmaVersion >= 15 && Y && ue && this.raise(o2.start, "Invalid regular expression flag");
|
|
29570
29570
|
}, yt.validateRegExpPattern = function(o2) {
|
|
29571
|
-
this.regexp_pattern(o2), !o2.switchN && this.options.ecmaVersion >= 9 && function(x) {
|
|
29571
|
+
this.regexp_pattern(o2), !o2.switchN && this.options.ecmaVersion >= 9 && (function(x) {
|
|
29572
29572
|
for (var V in x) return true;
|
|
29573
29573
|
return false;
|
|
29574
|
-
}(o2.groupNames) && (o2.switchN = true, this.regexp_pattern(o2));
|
|
29574
|
+
})(o2.groupNames) && (o2.switchN = true, this.regexp_pattern(o2));
|
|
29575
29575
|
}, yt.regexp_pattern = function(o2) {
|
|
29576
29576
|
o2.pos = 0, o2.lastIntValue = 0, o2.lastStringValue = "", o2.lastAssertionIsQuantifiable = false, o2.numCapturingParens = 0, o2.maxBackReference = 0, o2.groupNames = /* @__PURE__ */ Object.create(null), o2.backReferenceNames.length = 0, o2.branchID = null, this.regexp_disjunction(o2), o2.pos !== o2.source.length && (o2.eat(41) && o2.raise("Unmatched ')'"), (o2.eat(93) || o2.eat(125)) && o2.raise("Lone quantifier brackets")), o2.maxBackReference > o2.numCapturingParens && o2.raise("Invalid escape");
|
|
29577
29577
|
for (var x = 0, V = o2.backReferenceNames; x < V.length; x += 1) {
|
|
@@ -29692,14 +29692,14 @@ Defaulting to 2020, but this will stop working in the future.`)), x.ecmaVersion
|
|
|
29692
29692
|
return false;
|
|
29693
29693
|
}, yt.regexp_eatRegExpIdentifierStart = function(o2) {
|
|
29694
29694
|
var x = o2.pos, V = this.options.ecmaVersion >= 11, Y = o2.current(V);
|
|
29695
|
-
return o2.advance(V), Y === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(o2, V) && (Y = o2.lastIntValue), function(ue) {
|
|
29695
|
+
return o2.advance(V), Y === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(o2, V) && (Y = o2.lastIntValue), (function(ue) {
|
|
29696
29696
|
return ye(ue, true) || ue === 36 || ue === 95;
|
|
29697
|
-
}(Y) ? (o2.lastIntValue = Y, true) : (o2.pos = x, false);
|
|
29697
|
+
})(Y) ? (o2.lastIntValue = Y, true) : (o2.pos = x, false);
|
|
29698
29698
|
}, yt.regexp_eatRegExpIdentifierPart = function(o2) {
|
|
29699
29699
|
var x = o2.pos, V = this.options.ecmaVersion >= 11, Y = o2.current(V);
|
|
29700
|
-
return o2.advance(V), Y === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(o2, V) && (Y = o2.lastIntValue), function(ue) {
|
|
29700
|
+
return o2.advance(V), Y === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(o2, V) && (Y = o2.lastIntValue), (function(ue) {
|
|
29701
29701
|
return we(ue, true) || ue === 36 || ue === 95 || ue === 8204 || ue === 8205;
|
|
29702
|
-
}(Y) ? (o2.lastIntValue = Y, true) : (o2.pos = x, false);
|
|
29702
|
+
})(Y) ? (o2.lastIntValue = Y, true) : (o2.pos = x, false);
|
|
29703
29703
|
}, yt.regexp_eatAtomEscape = function(o2) {
|
|
29704
29704
|
return !!(this.regexp_eatBackReference(o2) || this.regexp_eatCharacterClassEscape(o2) || this.regexp_eatCharacterEscape(o2) || o2.switchN && this.regexp_eatKGroupName(o2)) || (o2.switchU && (o2.current() === 99 && o2.raise("Invalid unicode escape"), o2.raise("Invalid escape")), false);
|
|
29705
29705
|
}, yt.regexp_eatBackReference = function(o2) {
|
|
@@ -29789,9 +29789,9 @@ Defaulting to 2020, but this will stop working in the future.`)), x.ecmaVersion
|
|
|
29789
29789
|
}
|
|
29790
29790
|
yt.regexp_eatCharacterClassEscape = function(o2) {
|
|
29791
29791
|
var x = o2.current();
|
|
29792
|
-
if (/* @__PURE__ */ function(ue) {
|
|
29792
|
+
if (/* @__PURE__ */ (function(ue) {
|
|
29793
29793
|
return ue === 100 || ue === 68 || ue === 115 || ue === 83 || ue === 119 || ue === 87;
|
|
29794
|
-
}(x)) return o2.lastIntValue = -1, o2.advance(), 1;
|
|
29794
|
+
})(x)) return o2.lastIntValue = -1, o2.advance(), 1;
|
|
29795
29795
|
var V = false;
|
|
29796
29796
|
if (o2.switchU && this.options.ecmaVersion >= 9 && ((V = x === 80) || x === 112)) {
|
|
29797
29797
|
var Y;
|
|
@@ -29923,16 +29923,16 @@ Defaulting to 2020, but this will stop working in the future.`)), x.ecmaVersion
|
|
|
29923
29923
|
var x = o2.pos;
|
|
29924
29924
|
if (o2.eat(92)) return !(!this.regexp_eatCharacterEscape(o2) && !this.regexp_eatClassSetReservedPunctuator(o2)) || (o2.eat(98) ? (o2.lastIntValue = 8, true) : (o2.pos = x, false));
|
|
29925
29925
|
var V = o2.current();
|
|
29926
|
-
return !(V < 0 || V === o2.lookahead() && function(Y) {
|
|
29926
|
+
return !(V < 0 || V === o2.lookahead() && (function(Y) {
|
|
29927
29927
|
return Y === 33 || Y >= 35 && Y <= 38 || Y >= 42 && Y <= 44 || Y === 46 || Y >= 58 && Y <= 64 || Y === 94 || Y === 96 || Y === 126;
|
|
29928
|
-
}(V)) && !function(Y) {
|
|
29928
|
+
})(V)) && !(function(Y) {
|
|
29929
29929
|
return Y === 40 || Y === 41 || Y === 45 || Y === 47 || Y >= 91 && Y <= 93 || Y >= 123 && Y <= 125;
|
|
29930
|
-
}(V) && (o2.advance(), o2.lastIntValue = V, true);
|
|
29930
|
+
})(V) && (o2.advance(), o2.lastIntValue = V, true);
|
|
29931
29931
|
}, yt.regexp_eatClassSetReservedPunctuator = function(o2) {
|
|
29932
29932
|
var x = o2.current();
|
|
29933
|
-
return !!function(V) {
|
|
29933
|
+
return !!(function(V) {
|
|
29934
29934
|
return V === 33 || V === 35 || V === 37 || V === 38 || V === 44 || V === 45 || V >= 58 && V <= 62 || V === 64 || V === 96 || V === 126;
|
|
29935
|
-
}(x) && (o2.lastIntValue = x, o2.advance(), true);
|
|
29935
|
+
})(x) && (o2.lastIntValue = x, o2.advance(), true);
|
|
29936
29936
|
}, yt.regexp_eatClassControlLetter = function(o2) {
|
|
29937
29937
|
var x = o2.current();
|
|
29938
29938
|
return !(!Et(x) && x !== 95) && (o2.lastIntValue = x % 32, o2.advance(), true);
|
|
@@ -30351,25 +30351,25 @@ Defaulting to 2020, but this will stop working in the future.`)), x.ecmaVersion
|
|
|
30351
30351
|
}
|
|
30352
30352
|
let Gn = /* @__PURE__ */ new Map(), ti;
|
|
30353
30353
|
function X(o2, x, V) {
|
|
30354
|
-
return Gn.set(o2, x), /* @__PURE__ */ function(Y, ue) {
|
|
30354
|
+
return Gn.set(o2, x), /* @__PURE__ */ (function(Y, ue) {
|
|
30355
30355
|
return je;
|
|
30356
30356
|
function je(...Me) {
|
|
30357
30357
|
let Xe = Error.stackTraceLimit;
|
|
30358
30358
|
n2() && (Error.stackTraceLimit = 0);
|
|
30359
30359
|
let ft = new Y();
|
|
30360
30360
|
n2() && (Error.stackTraceLimit = Xe);
|
|
30361
|
-
let Tt = function(Ot, Vt, nn) {
|
|
30361
|
+
let Tt = (function(Ot, Vt, nn) {
|
|
30362
30362
|
let vn = Gn.get(Ot);
|
|
30363
30363
|
if (Kt(vn !== void 0, "expected `message` to be found"), typeof vn == "function") return Kt(vn.length <= Vt.length, `Code: ${Ot}; The provided arguments length (${Vt.length}) does not match the required ones (${vn.length}).`), Reflect.apply(vn, nn, Vt);
|
|
30364
30364
|
let Bn = /%[dfijoOs]/g, Un = 0;
|
|
30365
30365
|
for (; Bn.exec(vn) !== null; ) Un++;
|
|
30366
30366
|
return Kt(Un === Vt.length, `Code: ${Ot}; The provided arguments length (${Vt.length}) does not match the required ones (${Un}).`), Vt.length === 0 ? vn : (Vt.unshift(vn), Reflect.apply(jn.format, null, Vt));
|
|
30367
|
-
}(ue, Me, ft);
|
|
30367
|
+
})(ue, Me, ft);
|
|
30368
30368
|
return Object.defineProperties(ft, { message: { value: Tt, enumerable: false, writable: true, configurable: true }, toString: { value() {
|
|
30369
30369
|
return `${this.name} [${ue}]: ${this.message}`;
|
|
30370
30370
|
}, enumerable: false, writable: true, configurable: true } }), a(ft), ft.code = ue, ft;
|
|
30371
30371
|
}
|
|
30372
|
-
}(V, o2);
|
|
30372
|
+
})(V, o2);
|
|
30373
30373
|
}
|
|
30374
30374
|
function n2() {
|
|
30375
30375
|
try {
|
|
@@ -30394,13 +30394,13 @@ Defaulting to 2020, but this will stop working in the future.`)), x.ecmaVersion
|
|
|
30394
30394
|
let Xe = ue.indexOf("object");
|
|
30395
30395
|
Xe !== -1 && (ue.slice(Xe, 1), je.push("Object"));
|
|
30396
30396
|
}
|
|
30397
|
-
return ue.length > 0 && (Y += `${ue.length > 1 ? "one of type" : "of type"} ${ri(ue, "or")}`, (je.length > 0 || Me.length > 0) && (Y += " or ")), je.length > 0 && (Y += `an instance of ${ri(je, "or")}`, Me.length > 0 && (Y += " or ")), Me.length > 0 && (Me.length > 1 ? Y += `one of ${ri(Me, "or")}` : (Me[0].toLowerCase() !== Me[0] && (Y += "an "), Y += `${Me[0]}`)), Y += `. Received ${function(Xe) {
|
|
30397
|
+
return ue.length > 0 && (Y += `${ue.length > 1 ? "one of type" : "of type"} ${ri(ue, "or")}`, (je.length > 0 || Me.length > 0) && (Y += " or ")), je.length > 0 && (Y += `an instance of ${ri(je, "or")}`, Me.length > 0 && (Y += " or ")), Me.length > 0 && (Me.length > 1 ? Y += `one of ${ri(Me, "or")}` : (Me[0].toLowerCase() !== Me[0] && (Y += "an "), Y += `${Me[0]}`)), Y += `. Received ${(function(Xe) {
|
|
30398
30398
|
if (Xe == null) return String(Xe);
|
|
30399
30399
|
if (typeof Xe == "function" && Xe.name) return `function ${Xe.name}`;
|
|
30400
30400
|
if (typeof Xe == "object") return Xe.constructor && Xe.constructor.name ? `an instance of ${Xe.constructor.name}` : `${(0, jn.inspect)(Xe, { depth: -1 })}`;
|
|
30401
30401
|
let ft = (0, jn.inspect)(Xe, { colors: false });
|
|
30402
30402
|
return ft.length > 28 && (ft = `${ft.slice(0, 25)}...`), `type ${typeof Xe} (${ft})`;
|
|
30403
|
-
}(V)}`, Y;
|
|
30403
|
+
})(V)}`, Y;
|
|
30404
30404
|
}, TypeError), un.ERR_INVALID_MODULE_SPECIFIER = X("ERR_INVALID_MODULE_SPECIFIER", (o2, x, V = void 0) => `Invalid module "${o2}" ${x}${V ? ` imported from ${V}` : ""}`, TypeError), un.ERR_INVALID_PACKAGE_CONFIG = X("ERR_INVALID_PACKAGE_CONFIG", (o2, x, V) => `Invalid package config ${o2}${x ? ` while importing ${x}` : ""}${V ? `. ${V}` : ""}`, Error), un.ERR_INVALID_PACKAGE_TARGET = X("ERR_INVALID_PACKAGE_TARGET", (o2, x, V, Y = false, ue = void 0) => {
|
|
30405
30405
|
let je = typeof V == "string" && !Y && V.length > 0 && !V.startsWith("./");
|
|
30406
30406
|
return x === "." ? (Kt(Y === false), `Invalid "exports" main target ${JSON.stringify(V)} defined in the package config ${o2}package.json${ue ? ` imported from ${ue}` : ""}${je ? '; targets must start with "./"' : ""}`) : `Invalid "${Y ? "imports" : "exports"}" target ${JSON.stringify(V)} defined for '${x}' in the package config ${o2}package.json${ue ? ` imported from ${ue}` : ""}${je ? '; targets must start with "./"' : ""}`;
|
|
@@ -30408,10 +30408,10 @@ Defaulting to 2020, but this will stop working in the future.`)), x.ecmaVersion
|
|
|
30408
30408
|
let Y = (0, jn.inspect)(x);
|
|
30409
30409
|
return Y.length > 128 && (Y = `${Y.slice(0, 128)}...`), `The ${o2.includes(".") ? "property" : "argument"} '${o2}' ${V}. Received ${Y}`;
|
|
30410
30410
|
}, TypeError);
|
|
30411
|
-
let a = function(o2) {
|
|
30411
|
+
let a = (function(o2) {
|
|
30412
30412
|
let x = "__node_internal_" + o2.name;
|
|
30413
30413
|
return Object.defineProperty(o2, "name", { value: x }), o2;
|
|
30414
|
-
}(function(o2) {
|
|
30414
|
+
})(function(o2) {
|
|
30415
30415
|
let x = n2();
|
|
30416
30416
|
return x && (ti = Error.stackTraceLimit, Error.stackTraceLimit = Number.POSITIVE_INFINITY), Error.captureStackTrace(o2), x && (Error.stackTraceLimit = ti), o2;
|
|
30417
30417
|
}), { ERR_INVALID_PACKAGE_CONFIG: m2 } = un, { ERR_UNKNOWN_FILE_EXTENSION: _ } = un;
|
|
@@ -30500,10 +30500,10 @@ Defaulting to 2020, but this will stop working in the future.`)), x.ecmaVersion
|
|
|
30500
30500
|
}
|
|
30501
30501
|
} };
|
|
30502
30502
|
return { name: "transform-modules-commonjs", pre() {
|
|
30503
|
-
this.file.set("@babel/plugin-transform-modules-*", "commonjs"), Tt && function(wt, Ht) {
|
|
30503
|
+
this.file.set("@babel/plugin-transform-modules-*", "commonjs"), Tt && (function(wt, Ht) {
|
|
30504
30504
|
let Xt = wt.get(ni);
|
|
30505
30505
|
Xt || wt.set(ni, Xt = []), Xt.push(Ht);
|
|
30506
|
-
}(this.file, /* @__PURE__ */ ((wt) => ({ name: "babel-plugin-transform-modules-commonjs/lazy", version: "7.24.7", getWrapperPayload: (Ht, Xt) => (0, zt.isSideEffectImport)(Xt) || Xt.reexportAll ? null : wt === true ? Ht.includes(".") ? null : "lazy/function" : Array.isArray(wt) ? wt.includes(Ht) ? "lazy/function" : null : typeof wt == "function" ? wt(Ht) ? "lazy/function" : null : void 0, buildRequireWrapper(Ht, Xt, Cn, An) {
|
|
30506
|
+
})(this.file, /* @__PURE__ */ ((wt) => ({ name: "babel-plugin-transform-modules-commonjs/lazy", version: "7.24.7", getWrapperPayload: (Ht, Xt) => (0, zt.isSideEffectImport)(Xt) || Xt.reexportAll ? null : wt === true ? Ht.includes(".") ? null : "lazy/function" : Array.isArray(wt) ? wt.includes(Ht) ? "lazy/function" : null : typeof wt == "function" ? wt(Ht) ? "lazy/function" : null : void 0, buildRequireWrapper(Ht, Xt, Cn, An) {
|
|
30507
30507
|
if (Cn === "lazy/function") return !!An && ee.template.statement.ast`
|
|
30508
30508
|
function ${Ht}() {
|
|
30509
30509
|
const data = ${Xt};
|
|
@@ -30526,10 +30526,10 @@ Defaulting to 2020, but this will stop working in the future.`)), x.ecmaVersion
|
|
|
30526
30526
|
wt.scope.rename("exports"), wt.scope.rename("module"), wt.scope.rename("require"), wt.scope.rename("__filename"), wt.scope.rename("__dirname"), Ot || (process.env.BABEL_8_BREAKING ? (0, Hn.A)(wt, /* @__PURE__ */ new Set(["module", "exports"])) : (0, Hn.A)(wt, /* @__PURE__ */ new Set(["module", "exports"]), false), wt.traverse(In, { scope: wt.scope }));
|
|
30527
30527
|
let Xt = (0, zt.getModuleName)(this.file.opts, x);
|
|
30528
30528
|
Xt && (Xt = ee.types.stringLiteral(Xt));
|
|
30529
|
-
let Cn = function(zn) {
|
|
30529
|
+
let Cn = (function(zn) {
|
|
30530
30530
|
let wn = zn.get(ni);
|
|
30531
30531
|
return { getWrapperPayload: (...Yn) => yi(wn, (Ln) => Ln.getWrapperPayload?.(...Yn)), wrapReference: (...Yn) => yi(wn, (Ln) => Ln.wrapReference?.(...Yn)), buildRequireWrapper: (...Yn) => yi(wn, (Ln) => Ln.buildRequireWrapper?.(...Yn)) };
|
|
30532
|
-
}(this.file), { meta: An, headers: ci } = (0, zt.rewriteModuleStatementsAndPrepareHeader)(wt, { exportName: "exports", constantReexports: vn, enumerableModuleMeta: Bn, strict: je, strictMode: Me, allowTopLevelThis: ue, noInterop: Xe, importInterop: ft, wrapReference: Cn.wrapReference, getWrapperPayload: Cn.getWrapperPayload, esNamespaceOnly: typeof Ht.filename == "string" && /\.mjs$/.test(Ht.filename) ? Y : V, noIncompleteNsImportDetection: Un, filename: this.file.opts.filename });
|
|
30532
|
+
})(this.file), { meta: An, headers: ci } = (0, zt.rewriteModuleStatementsAndPrepareHeader)(wt, { exportName: "exports", constantReexports: vn, enumerableModuleMeta: Bn, strict: je, strictMode: Me, allowTopLevelThis: ue, noInterop: Xe, importInterop: ft, wrapReference: Cn.wrapReference, getWrapperPayload: Cn.getWrapperPayload, esNamespaceOnly: typeof Ht.filename == "string" && /\.mjs$/.test(Ht.filename) ? Y : V, noIncompleteNsImportDetection: Un, filename: this.file.opts.filename });
|
|
30533
30533
|
for (let [zn, wn] of An.source) {
|
|
30534
30534
|
let Yn = nn ? ee.types.awaitExpression(ee.types.callExpression(ee.types.identifier("jitiImport"), [ee.types.stringLiteral(zn)])) : ee.types.callExpression(ee.types.identifier("require"), [ee.types.stringLiteral(zn)]), Ln;
|
|
30535
30535
|
if ((0, zt.isSideEffectImport)(wn)) {
|