@batijs/cli 0.0.476 → 0.0.478

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/boilerplates/@batijs/auth0/files/$.env.js +6 -5
  2. package/dist/boilerplates/@batijs/auth0/files/$README.md.js +3 -3
  3. package/dist/boilerplates/@batijs/auth0/files/$wrangler.toml.js +32 -0
  4. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +7 -6
  5. package/dist/boilerplates/@batijs/authjs/files/server/authjs-handler.ts +42 -35
  6. package/dist/boilerplates/@batijs/authjs/types/server/authjs-handler.d.ts +8 -3
  7. package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
  8. package/dist/boilerplates/@batijs/aws/files/$package.json.js +10 -10
  9. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  10. package/dist/boilerplates/@batijs/biome/files/$package.json.js +4 -4
  11. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +17 -26
  12. package/dist/boilerplates/@batijs/cloudflare/files/wrangler.toml +2 -3
  13. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +5 -5
  14. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
  15. package/dist/boilerplates/@batijs/d1/files/$README.md.js +4 -4
  16. package/dist/boilerplates/@batijs/d1/files/$package.json.js +8 -8
  17. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
  18. package/dist/boilerplates/@batijs/d1/files/database/d1/helpers.ts +3 -11
  19. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +7 -7
  20. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
  21. package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +3 -3
  22. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +8 -8
  23. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +8 -8
  24. package/dist/boilerplates/@batijs/eslint/types/eslint.config.d.ts +1 -1
  25. package/dist/boilerplates/@batijs/express/files/$package.json.js +16 -29
  26. package/dist/boilerplates/@batijs/express/files/server/entry.ts +45 -0
  27. package/dist/boilerplates/@batijs/express/types/server/entry.d.ts +3 -0
  28. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +18 -32
  29. package/dist/boilerplates/@batijs/fastify/files/server/entry.ts +52 -0
  30. package/dist/boilerplates/@batijs/fastify/types/server/entry.d.ts +4 -0
  31. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  32. package/dist/boilerplates/@batijs/h3/files/$package.json.js +21 -32
  33. package/dist/boilerplates/@batijs/h3/files/server/entry.ts +45 -0
  34. package/dist/boilerplates/@batijs/{express/types/express-entry.d.ts → h3/types/server/entry.d.ts} +1 -1
  35. package/dist/boilerplates/@batijs/hono/files/$package.json.js +23 -40
  36. package/dist/boilerplates/@batijs/hono/files/entry_aws_lambda.ts +2 -9
  37. package/dist/boilerplates/@batijs/hono/files/server/entry.ts +53 -0
  38. package/dist/boilerplates/@batijs/hono/types/server/entry.d.ts +4 -0
  39. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  40. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +12 -12
  41. package/dist/boilerplates/@batijs/photon/files/$README.md.js +29 -0
  42. package/dist/boilerplates/@batijs/photon/files/$package.json.js +109 -0
  43. package/dist/boilerplates/@batijs/photon/files/+photon.ts +7 -0
  44. package/dist/boilerplates/@batijs/photon/types/+photon.d.ts +4 -0
  45. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +3 -3
  46. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +4 -4
  47. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  48. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
  49. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +6 -6
  50. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  51. package/dist/boilerplates/@batijs/react/files/$package.json.js +16 -15
  52. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  53. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  54. package/dist/boilerplates/@batijs/react/files/pages/+config.ts +6 -1
  55. package/dist/boilerplates/@batijs/react/types/pages/+config.d.ts +63 -2
  56. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +10 -10
  57. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  58. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
  59. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +6 -6
  60. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  61. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
  62. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  63. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +7 -7
  64. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  65. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  66. package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
  67. package/dist/boilerplates/@batijs/shared/files/package.json +3 -3
  68. package/dist/boilerplates/@batijs/shared/files/vite.config.ts +1 -20
  69. package/dist/boilerplates/@batijs/shared-db/files/server/db-middleware.ts +21 -15
  70. package/dist/boilerplates/@batijs/shared-db/types/server/db-middleware.d.ts +2 -2
  71. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +8 -14
  72. package/dist/boilerplates/@batijs/shared-server/files/server/create-todo-handler.ts +33 -34
  73. package/dist/boilerplates/@batijs/shared-server/types/server/create-todo-handler.d.ts +3 -4
  74. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  75. package/dist/boilerplates/@batijs/solid/files/$package.json.js +11 -10
  76. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  77. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  78. package/dist/boilerplates/@batijs/solid/files/pages/+config.ts +6 -1
  79. package/dist/boilerplates/@batijs/solid/types/pages/+config.d.ts +70 -2
  80. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +7 -7
  81. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  82. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +4 -3
  83. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +7 -7
  84. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +9 -9
  85. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -5
  86. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +9 -9
  87. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  88. package/dist/boilerplates/@batijs/telefunc/files/server/telefunc-handler.ts +34 -27
  89. package/dist/boilerplates/@batijs/telefunc/types/server/telefunc-handler.d.ts +2 -2
  90. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +9 -9
  91. package/dist/boilerplates/@batijs/trpc/files/server/trpc-handler.ts +26 -18
  92. package/dist/boilerplates/@batijs/trpc/types/server/trpc-handler.d.ts +6 -1
  93. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +1 -1
  94. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +6 -6
  95. package/dist/boilerplates/@batijs/ts-rest/files/server/ts-rest-handler.ts +21 -14
  96. package/dist/boilerplates/@batijs/ts-rest/types/server/ts-rest-handler.d.ts +2 -2
  97. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +8 -9
  98. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +3 -3
  99. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  100. package/dist/boilerplates/@batijs/vue/files/$package.json.js +15 -14
  101. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  102. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  103. package/dist/boilerplates/@batijs/vue/files/pages/+config.ts +6 -1
  104. package/dist/boilerplates/@batijs/vue/types/pages/+config.d.ts +1 -2
  105. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +8 -8
  106. package/dist/boilerplates/boilerplates.json +20 -0
  107. package/dist/{chunk-2SZ4N3E5.js → chunk-LRTYGOU6.js} +83539 -83181
  108. package/dist/index.js +720 -659
  109. package/dist/jiti-ZW3ADF2F-7XIEJQMO.js +2982 -0
  110. package/dist/src-5HGZFBZ3-KQZBBJSW.js +468 -0
  111. package/package.json +10 -10
  112. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +0 -19
  113. package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +0 -34
  114. package/dist/boilerplates/@batijs/express/files/express-entry.ts +0 -102
  115. package/dist/boilerplates/@batijs/fastify/files/fastify-entry.ts +0 -140
  116. package/dist/boilerplates/@batijs/fastify/types/fastify-entry.d.ts +0 -3
  117. package/dist/boilerplates/@batijs/h3/files/h3-entry.ts +0 -144
  118. package/dist/boilerplates/@batijs/h3/types/h3-entry.d.ts +0 -4
  119. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +0 -36
  120. package/dist/boilerplates/@batijs/hono/files/hono-entry.node.ts +0 -31
  121. package/dist/boilerplates/@batijs/hono/files/hono-entry.ts +0 -74
  122. package/dist/boilerplates/@batijs/hono/types/hono-entry.d.ts +0 -6
  123. package/dist/boilerplates/@batijs/hono/types/hono-entry.node.d.ts +0 -1
  124. package/dist/boilerplates/@batijs/shared-server/files/server/vike-handler.ts +0 -20
  125. package/dist/boilerplates/@batijs/shared-server/types/server/vike-handler.d.ts +0 -2
  126. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +0 -19
  127. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +0 -27
  128. package/dist/jiti-W5Y5D52V-VBLACVBV.js +0 -30587
  129. package/dist/src-UAKFXUB2-DFO2P37K.js +0 -417
@@ -0,0 +1,2982 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as createRequire_BATI_CLI } from 'module';
3
+ const require = createRequire_BATI_CLI(import.meta.url);
4
+
5
+ import {
6
+ m,
7
+ n,
8
+ o,
9
+ q
10
+ } from "./chunk-IAWYWZSL.js";
11
+ import "./chunk-DHZ7AZKP.js";
12
+
13
+ // ../core/dist/jiti-ZW3ADF2F.js
14
+ import { createRequire as BATI_core_createRequire } from "module";
15
+ import { fileURLToPath as BATI_fileURLToPath } from "url";
16
+ import { dirname as BATI_dirname } from "path";
17
+ import { createRequire as Fi } from "module";
18
+ var require2 = BATI_core_createRequire(import.meta.url);
19
+ var __filename = BATI_fileURLToPath(import.meta.url);
20
+ var __dirname = BATI_dirname(__filename);
21
+ var Bi = o((Or, ji) => {
22
+ "use strict";
23
+ (() => {
24
+ var Y = { "./node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist lazy recursive": function(T) {
25
+ function A(j) {
26
+ return Promise.resolve().then(function() {
27
+ var bt = new Error("Cannot find module '" + j + "'");
28
+ throw bt.code = "MODULE_NOT_FOUND", bt;
29
+ });
30
+ }
31
+ A.keys = () => [], A.resolve = A, A.id = "./node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist lazy recursive", T.exports = A;
32
+ } }, nt = {};
33
+ function H(T) {
34
+ var A = nt[T];
35
+ if (A !== void 0) return A.exports;
36
+ var j = nt[T] = { exports: {} };
37
+ return Y[T](j, j.exports, H), j.exports;
38
+ }
39
+ H.n = (T) => {
40
+ var A = T && T.__esModule ? () => T.default : () => T;
41
+ return H.d(A, { a: A }), A;
42
+ }, H.d = (T, A) => {
43
+ for (var j in A) H.o(A, j) && !H.o(T, j) && Object.defineProperty(T, j, { enumerable: true, get: A[j] });
44
+ }, H.o = (T, A) => Object.prototype.hasOwnProperty.call(T, A);
45
+ var Se = {};
46
+ (() => {
47
+ "use strict";
48
+ H.d(Se, { default: () => Mi });
49
+ let T = m("os");
50
+ var A = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], j = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191], bt = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC", Ht = { 3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile", 5: "class enum extends super const export import", 6: "enum", strict: "implements interface let package private protected public static yield", strictBind: "eval arguments" }, Kt = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", qi = { 5: Kt, "5module": Kt + " export import", 6: Kt + " const class extends export import super" }, Wi = /^in(stanceof)?$/, Gi = new RegExp("[" + bt + "]"), Hi = new RegExp("[" + bt + "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65]");
51
+ function zt(t, e) {
52
+ for (var i = 65536, s = 0; s < e.length; s += 2) {
53
+ if ((i += e[s]) > t) return false;
54
+ if ((i += e[s + 1]) >= t) return true;
55
+ }
56
+ return false;
57
+ }
58
+ function K(t, e) {
59
+ return t < 65 ? t === 36 : t < 91 || (t < 97 ? t === 95 : t < 123 || (t <= 65535 ? t >= 170 && Gi.test(String.fromCharCode(t)) : e !== false && zt(t, j)));
60
+ }
61
+ function X(t, e) {
62
+ return t < 48 ? t === 36 : t < 58 || !(t < 65) && (t < 91 || (t < 97 ? t === 95 : t < 123 || (t <= 65535 ? t >= 170 && Hi.test(String.fromCharCode(t)) : e !== false && (zt(t, j) || zt(t, A)))));
63
+ }
64
+ var S = function(t, e) {
65
+ e === void 0 && (e = {}), this.label = t, this.keyword = e.keyword, this.beforeExpr = !!e.beforeExpr, this.startsExpr = !!e.startsExpr, this.isLoop = !!e.isLoop, this.isAssign = !!e.isAssign, this.prefix = !!e.prefix, this.postfix = !!e.postfix, this.binop = e.binop || null, this.updateContext = null;
66
+ };
67
+ function F(t, e) {
68
+ return new S(t, { beforeExpr: true, binop: e });
69
+ }
70
+ var $ = { beforeExpr: true }, U = { startsExpr: true }, Jt = {};
71
+ function b(t, e) {
72
+ return e === void 0 && (e = {}), e.keyword = t, Jt[t] = new S(t, e);
73
+ }
74
+ var n2 = { num: new S("num", U), regexp: new S("regexp", U), string: new S("string", U), name: new S("name", U), privateId: new S("privateId", U), eof: new S("eof"), bracketL: new S("[", { beforeExpr: true, startsExpr: true }), bracketR: new S("]"), braceL: new S("{", { beforeExpr: true, startsExpr: true }), braceR: new S("}"), parenL: new S("(", { beforeExpr: true, startsExpr: true }), parenR: new S(")"), comma: new S(",", $), semi: new S(";", $), colon: new S(":", $), dot: new S("."), question: new S("?", $), questionDot: new S("?."), arrow: new S("=>", $), template: new S("template"), invalidTemplate: new S("invalidTemplate"), ellipsis: new S("...", $), backQuote: new S("`", U), dollarBraceL: new S("${", { beforeExpr: true, startsExpr: true }), eq: new S("=", { beforeExpr: true, isAssign: true }), assign: new S("_=", { beforeExpr: true, isAssign: true }), incDec: new S("++/--", { prefix: true, postfix: true, startsExpr: true }), prefix: new S("!/~", { beforeExpr: true, prefix: true, startsExpr: true }), logicalOR: F("||", 1), logicalAND: F("&&", 2), bitwiseOR: F("|", 3), bitwiseXOR: F("^", 4), bitwiseAND: F("&", 5), equality: F("==/!=/===/!==", 6), relational: F("</>/<=/>=", 7), bitShift: F("<</>>/>>>", 8), plusMin: new S("+/-", { beforeExpr: true, binop: 9, prefix: true, startsExpr: true }), modulo: F("%", 10), star: F("*", 10), slash: F("/", 10), starstar: new S("**", { beforeExpr: true }), coalesce: F("??", 1), _break: b("break"), _case: b("case", $), _catch: b("catch"), _continue: b("continue"), _debugger: b("debugger"), _default: b("default", $), _do: b("do", { isLoop: true, beforeExpr: true }), _else: b("else", $), _finally: b("finally"), _for: b("for", { isLoop: true }), _function: b("function", U), _if: b("if"), _return: b("return", $), _switch: b("switch"), _throw: b("throw", $), _try: b("try"), _var: b("var"), _const: b("const"), _while: b("while", { isLoop: true }), _with: b("with"), _new: b("new", { beforeExpr: true, startsExpr: true }), _this: b("this", U), _super: b("super", U), _class: b("class", U), _extends: b("extends", $), _export: b("export"), _import: b("import", U), _null: b("null", U), _true: b("true", U), _false: b("false", U), _in: b("in", { beforeExpr: true, binop: 7 }), _instanceof: b("instanceof", { beforeExpr: true, binop: 7 }), _typeof: b("typeof", { beforeExpr: true, prefix: true, startsExpr: true }), _void: b("void", { beforeExpr: true, prefix: true, startsExpr: true }), _delete: b("delete", { beforeExpr: true, prefix: true, startsExpr: true }) }, M = /\r\n?|\n|\u2028|\u2029/, Ki = new RegExp(M.source, "g");
75
+ function ut(t) {
76
+ return t === 10 || t === 13 || t === 8232 || t === 8233;
77
+ }
78
+ function Ce(t, e, i) {
79
+ i === void 0 && (i = t.length);
80
+ for (var s = e; s < i; s++) {
81
+ var r = t.charCodeAt(s);
82
+ if (ut(r)) return s < i - 1 && r === 13 && t.charCodeAt(s + 1) === 10 ? s + 2 : s + 1;
83
+ }
84
+ return -1;
85
+ }
86
+ var Ie = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, L = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ke = Object.prototype, zi = ke.hasOwnProperty, Ji = ke.toString, ft = Object.hasOwn || function(t, e) {
87
+ return zi.call(t, e);
88
+ }, we = Array.isArray || function(t) {
89
+ return Ji.call(t) === "[object Array]";
90
+ }, Re = /* @__PURE__ */ Object.create(null);
91
+ function tt(t) {
92
+ return Re[t] || (Re[t] = new RegExp("^(?:" + t.replace(/ /g, "|") + ")$"));
93
+ }
94
+ function Q(t) {
95
+ return t <= 65535 ? String.fromCharCode(t) : (t -= 65536, String.fromCharCode(55296 + (t >> 10), 56320 + (1023 & t)));
96
+ }
97
+ var Yi = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, St = function(t, e) {
98
+ this.line = t, this.column = e;
99
+ };
100
+ St.prototype.offset = function(t) {
101
+ return new St(this.line, this.column + t);
102
+ };
103
+ var Pt = function(t, e, i) {
104
+ this.start = e, this.end = i, t.sourceFile !== null && (this.source = t.sourceFile);
105
+ };
106
+ function Ae(t, e) {
107
+ for (var i = 1, s = 0; ; ) {
108
+ var r = Ce(t, s, e);
109
+ if (r < 0) return new St(i, e - s);
110
+ ++i, s = r;
111
+ }
112
+ }
113
+ var Yt = { ecmaVersion: null, sourceType: "script", onInsertedSemicolon: null, onTrailingComma: null, allowReserved: null, allowReturnOutsideFunction: false, allowImportExportEverywhere: false, allowAwaitOutsideFunction: null, allowSuperOutsideMethod: null, allowHashBang: false, checkPrivateFields: true, locations: false, onToken: null, onComment: null, ranges: false, program: null, sourceFile: null, directSourceFile: null, preserveParens: false }, Te = false;
114
+ function Qi(t) {
115
+ var e = {};
116
+ for (var i in Yt) e[i] = t && ft(t, i) ? t[i] : Yt[i];
117
+ if (e.ecmaVersion === "latest" ? e.ecmaVersion = 1e8 : e.ecmaVersion == null ? (!Te && typeof console == "object" && console.warn && (Te = true, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
118
+ Defaulting to 2020, but this will stop working in the future.`)), e.ecmaVersion = 11) : e.ecmaVersion >= 2015 && (e.ecmaVersion -= 2009), e.allowReserved == null && (e.allowReserved = e.ecmaVersion < 5), t && t.allowHashBang != null || (e.allowHashBang = e.ecmaVersion >= 14), we(e.onToken)) {
119
+ var s = e.onToken;
120
+ e.onToken = function(r) {
121
+ return s.push(r);
122
+ };
123
+ }
124
+ return we(e.onComment) && (e.onComment = /* @__PURE__ */ (function(r, a) {
125
+ return function(o2, h, c, l, p, f) {
126
+ var u = { type: o2 ? "Block" : "Line", value: h, start: c, end: l };
127
+ r.locations && (u.loc = new Pt(this, p, f)), r.ranges && (u.range = [c, l]), a.push(u);
128
+ };
129
+ })(e, e.onComment)), e;
130
+ }
131
+ var Zi = 256, Pe = 259;
132
+ function Qt(t, e) {
133
+ return 2 | (t ? 4 : 0) | (e ? 8 : 0);
134
+ }
135
+ var N = function(t, e, i) {
136
+ this.options = t = Qi(t), this.sourceFile = t.sourceFile, this.keywords = tt(qi[t.ecmaVersion >= 6 ? 6 : t.sourceType === "module" ? "5module" : 5]);
137
+ var s = "";
138
+ t.allowReserved !== true && (s = Ht[t.ecmaVersion >= 6 ? 6 : t.ecmaVersion === 5 ? 5 : 3], t.sourceType === "module" && (s += " await")), this.reservedWords = tt(s);
139
+ var r = (s ? s + " " : "") + Ht.strict;
140
+ this.reservedWordsStrict = tt(r), this.reservedWordsStrictBind = tt(r + " " + Ht.strictBind), this.input = String(e), this.containsEsc = false, i ? (this.pos = i, this.lineStart = this.input.lastIndexOf(`
141
+ `, i - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(M).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = n2.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = true, this.inModule = t.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = false, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && t.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(1), this.regexpState = null, this.privateNameStack = [];
142
+ }, z = { inFunction: { configurable: true }, inGenerator: { configurable: true }, inAsync: { configurable: true }, canAwait: { configurable: true }, allowSuper: { configurable: true }, allowDirectSuper: { configurable: true }, treatFunctionsAsVar: { configurable: true }, allowNewDotTarget: { configurable: true }, inClassStaticBlock: { configurable: true } };
143
+ N.prototype.parse = function() {
144
+ var t = this.options.program || this.startNode();
145
+ return this.nextToken(), this.parseTopLevel(t);
146
+ }, z.inFunction.get = function() {
147
+ return (2 & this.currentVarScope().flags) > 0;
148
+ }, z.inGenerator.get = function() {
149
+ return (8 & this.currentVarScope().flags) > 0;
150
+ }, z.inAsync.get = function() {
151
+ return (4 & this.currentVarScope().flags) > 0;
152
+ }, z.canAwait.get = function() {
153
+ for (var t = this.scopeStack.length - 1; t >= 0; t--) {
154
+ var e = this.scopeStack[t].flags;
155
+ if (768 & e) return false;
156
+ if (2 & e) return (4 & e) > 0;
157
+ }
158
+ return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
159
+ }, z.allowSuper.get = function() {
160
+ return (64 & this.currentThisScope().flags) > 0 || this.options.allowSuperOutsideMethod;
161
+ }, z.allowDirectSuper.get = function() {
162
+ return (128 & this.currentThisScope().flags) > 0;
163
+ }, z.treatFunctionsAsVar.get = function() {
164
+ return this.treatFunctionsAsVarInScope(this.currentScope());
165
+ }, z.allowNewDotTarget.get = function() {
166
+ for (var t = this.scopeStack.length - 1; t >= 0; t--) {
167
+ var e = this.scopeStack[t].flags;
168
+ if (768 & e || 2 & e && !(16 & e)) return true;
169
+ }
170
+ return false;
171
+ }, z.inClassStaticBlock.get = function() {
172
+ return (this.currentVarScope().flags & Zi) > 0;
173
+ }, N.extend = function() {
174
+ for (var t = [], e = arguments.length; e--; ) t[e] = arguments[e];
175
+ for (var i = this, s = 0; s < t.length; s++) i = t[s](i);
176
+ return i;
177
+ }, N.parse = function(t, e) {
178
+ return new this(e, t).parse();
179
+ }, N.parseExpressionAt = function(t, e, i) {
180
+ var s = new this(i, t, e);
181
+ return s.nextToken(), s.parseExpression();
182
+ }, N.tokenizer = function(t, e) {
183
+ return new this(e, t);
184
+ }, Object.defineProperties(N.prototype, z);
185
+ var O = N.prototype, Xi = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
186
+ O.strictDirective = function(t) {
187
+ if (this.options.ecmaVersion < 5) return false;
188
+ for (; ; ) {
189
+ L.lastIndex = t, t += L.exec(this.input)[0].length;
190
+ var e = Xi.exec(this.input.slice(t));
191
+ if (!e) return false;
192
+ if ((e[1] || e[2]) === "use strict") {
193
+ L.lastIndex = t + e[0].length;
194
+ var i = L.exec(this.input), s = i.index + i[0].length, r = this.input.charAt(s);
195
+ return r === ";" || r === "}" || M.test(i[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(r) || r === "!" && this.input.charAt(s + 1) === "=");
196
+ }
197
+ t += e[0].length, L.lastIndex = t, t += L.exec(this.input)[0].length, this.input[t] === ";" && t++;
198
+ }
199
+ }, O.eat = function(t) {
200
+ return this.type === t && (this.next(), true);
201
+ }, O.isContextual = function(t) {
202
+ return this.type === n2.name && this.value === t && !this.containsEsc;
203
+ }, O.eatContextual = function(t) {
204
+ return !!this.isContextual(t) && (this.next(), true);
205
+ }, O.expectContextual = function(t) {
206
+ this.eatContextual(t) || this.unexpected();
207
+ }, O.canInsertSemicolon = function() {
208
+ return this.type === n2.eof || this.type === n2.braceR || M.test(this.input.slice(this.lastTokEnd, this.start));
209
+ }, O.insertSemicolon = function() {
210
+ if (this.canInsertSemicolon()) return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), true;
211
+ }, O.semicolon = function() {
212
+ this.eat(n2.semi) || this.insertSemicolon() || this.unexpected();
213
+ }, O.afterTrailingComma = function(t, e) {
214
+ if (this.type === t) return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), e || this.next(), true;
215
+ }, O.expect = function(t) {
216
+ this.eat(t) || this.unexpected();
217
+ }, O.unexpected = function(t) {
218
+ this.raise(t ?? this.start, "Unexpected token");
219
+ };
220
+ var Nt = function() {
221
+ this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
222
+ };
223
+ O.checkPatternErrors = function(t, e) {
224
+ if (t) {
225
+ t.trailingComma > -1 && this.raiseRecoverable(t.trailingComma, "Comma is not permitted after the rest element");
226
+ var i = e ? t.parenthesizedAssign : t.parenthesizedBind;
227
+ i > -1 && this.raiseRecoverable(i, e ? "Assigning to rvalue" : "Parenthesized pattern");
228
+ }
229
+ }, O.checkExpressionErrors = function(t, e) {
230
+ if (!t) return false;
231
+ var i = t.shorthandAssign, s = t.doubleProto;
232
+ if (!e) return i >= 0 || s >= 0;
233
+ i >= 0 && this.raise(i, "Shorthand property assignments are valid only in destructuring patterns"), s >= 0 && this.raiseRecoverable(s, "Redefinition of __proto__ property");
234
+ }, O.checkYieldAwaitInDefaultParams = function() {
235
+ this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default value"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value");
236
+ }, O.isSimpleAssignTarget = function(t) {
237
+ return t.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(t.expression) : t.type === "Identifier" || t.type === "MemberExpression";
238
+ };
239
+ var m2 = N.prototype;
240
+ m2.parseTopLevel = function(t) {
241
+ var e = /* @__PURE__ */ Object.create(null);
242
+ for (t.body || (t.body = []); this.type !== n2.eof; ) {
243
+ var i = this.parseStatement(null, true, e);
244
+ t.body.push(i);
245
+ }
246
+ if (this.inModule) for (var s = 0, r = Object.keys(this.undefinedExports); s < r.length; s += 1) {
247
+ var a = r[s];
248
+ this.raiseRecoverable(this.undefinedExports[a].start, "Export '" + a + "' is not defined");
249
+ }
250
+ return this.adaptDirectivePrologue(t.body), this.next(), t.sourceType = this.options.sourceType, this.finishNode(t, "Program");
251
+ };
252
+ var Zt = { kind: "loop" }, ts = { kind: "switch" };
253
+ m2.isLet = function(t) {
254
+ if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return false;
255
+ L.lastIndex = this.pos;
256
+ var e = L.exec(this.input), i = this.pos + e[0].length, s = this.input.charCodeAt(i);
257
+ if (s === 91 || s === 92) return true;
258
+ if (t) return false;
259
+ if (s === 123 || s > 55295 && s < 56320) return true;
260
+ if (K(s, true)) {
261
+ for (var r = i + 1; X(s = this.input.charCodeAt(r), true); ) ++r;
262
+ if (s === 92 || s > 55295 && s < 56320) return true;
263
+ var a = this.input.slice(i, r);
264
+ if (!Wi.test(a)) return true;
265
+ }
266
+ return false;
267
+ }, m2.isAsyncFunction = function() {
268
+ if (this.options.ecmaVersion < 8 || !this.isContextual("async")) return false;
269
+ L.lastIndex = this.pos;
270
+ var t, e = L.exec(this.input), i = this.pos + e[0].length;
271
+ return !(M.test(this.input.slice(this.pos, i)) || this.input.slice(i, i + 8) !== "function" || i + 8 !== this.input.length && (X(t = this.input.charCodeAt(i + 8)) || t > 55295 && t < 56320));
272
+ }, m2.isUsingKeyword = function(t, e) {
273
+ if (this.options.ecmaVersion < 17 || !this.isContextual(t ? "await" : "using")) return false;
274
+ L.lastIndex = this.pos;
275
+ var i = L.exec(this.input), s = this.pos + i[0].length;
276
+ if (M.test(this.input.slice(this.pos, s))) return false;
277
+ if (t) {
278
+ var r, a = s + 5;
279
+ if (this.input.slice(s, a) !== "using" || a === this.input.length || X(r = this.input.charCodeAt(a)) || r > 55295 && r < 56320) return false;
280
+ L.lastIndex = a;
281
+ var o2 = L.exec(this.input);
282
+ if (o2 && M.test(this.input.slice(a, a + o2[0].length))) return false;
283
+ }
284
+ if (e) {
285
+ var h, c = s + 2;
286
+ if (!(this.input.slice(s, c) !== "of" || c !== this.input.length && (X(h = this.input.charCodeAt(c)) || h > 55295 && h < 56320))) return false;
287
+ }
288
+ var l = this.input.charCodeAt(s);
289
+ return K(l, true) || l === 92;
290
+ }, m2.isAwaitUsing = function(t) {
291
+ return this.isUsingKeyword(true, t);
292
+ }, m2.isUsing = function(t) {
293
+ return this.isUsingKeyword(false, t);
294
+ }, m2.parseStatement = function(t, e, i) {
295
+ var s, r = this.type, a = this.startNode();
296
+ switch (this.isLet(t) && (r = n2._var, s = "let"), r) {
297
+ case n2._break:
298
+ case n2._continue:
299
+ return this.parseBreakContinueStatement(a, r.keyword);
300
+ case n2._debugger:
301
+ return this.parseDebuggerStatement(a);
302
+ case n2._do:
303
+ return this.parseDoStatement(a);
304
+ case n2._for:
305
+ return this.parseForStatement(a);
306
+ case n2._function:
307
+ return t && (this.strict || t !== "if" && t !== "label") && this.options.ecmaVersion >= 6 && this.unexpected(), this.parseFunctionStatement(a, false, !t);
308
+ case n2._class:
309
+ return t && this.unexpected(), this.parseClass(a, true);
310
+ case n2._if:
311
+ return this.parseIfStatement(a);
312
+ case n2._return:
313
+ return this.parseReturnStatement(a);
314
+ case n2._switch:
315
+ return this.parseSwitchStatement(a);
316
+ case n2._throw:
317
+ return this.parseThrowStatement(a);
318
+ case n2._try:
319
+ return this.parseTryStatement(a);
320
+ case n2._const:
321
+ case n2._var:
322
+ return s = s || this.value, t && s !== "var" && this.unexpected(), this.parseVarStatement(a, s);
323
+ case n2._while:
324
+ return this.parseWhileStatement(a);
325
+ case n2._with:
326
+ return this.parseWithStatement(a);
327
+ case n2.braceL:
328
+ return this.parseBlock(true, a);
329
+ case n2.semi:
330
+ return this.parseEmptyStatement(a);
331
+ case n2._export:
332
+ case n2._import:
333
+ if (this.options.ecmaVersion > 10 && r === n2._import) {
334
+ L.lastIndex = this.pos;
335
+ var o2 = L.exec(this.input), h = this.pos + o2[0].length, c = this.input.charCodeAt(h);
336
+ if (c === 40 || c === 46) return this.parseExpressionStatement(a, this.parseExpression());
337
+ }
338
+ return this.options.allowImportExportEverywhere || (e || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), r === n2._import ? this.parseImport(a) : this.parseExport(a, i);
339
+ default:
340
+ if (this.isAsyncFunction()) return t && this.unexpected(), this.next(), this.parseFunctionStatement(a, true, !t);
341
+ var l = this.isAwaitUsing(false) ? "await using" : this.isUsing(false) ? "using" : null;
342
+ if (l) return e && this.options.sourceType === "script" && this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`"), l === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(a, false, l), this.semicolon(), this.finishNode(a, "VariableDeclaration");
343
+ var p = this.value, f = this.parseExpression();
344
+ return r === n2.name && f.type === "Identifier" && this.eat(n2.colon) ? this.parseLabeledStatement(a, p, f, t) : this.parseExpressionStatement(a, f);
345
+ }
346
+ }, m2.parseBreakContinueStatement = function(t, e) {
347
+ var i = e === "break";
348
+ this.next(), this.eat(n2.semi) || this.insertSemicolon() ? t.label = null : this.type !== n2.name ? this.unexpected() : (t.label = this.parseIdent(), this.semicolon());
349
+ for (var s = 0; s < this.labels.length; ++s) {
350
+ var r = this.labels[s];
351
+ if ((t.label == null || r.name === t.label.name) && (r.kind != null && (i || r.kind === "loop") || t.label && i)) break;
352
+ }
353
+ return s === this.labels.length && this.raise(t.start, "Unsyntactic " + e), this.finishNode(t, i ? "BreakStatement" : "ContinueStatement");
354
+ }, m2.parseDebuggerStatement = function(t) {
355
+ return this.next(), this.semicolon(), this.finishNode(t, "DebuggerStatement");
356
+ }, m2.parseDoStatement = function(t) {
357
+ return this.next(), this.labels.push(Zt), t.body = this.parseStatement("do"), this.labels.pop(), this.expect(n2._while), t.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(n2.semi) : this.semicolon(), this.finishNode(t, "DoWhileStatement");
358
+ }, m2.parseForStatement = function(t) {
359
+ this.next();
360
+ var e = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
361
+ if (this.labels.push(Zt), this.enterScope(0), this.expect(n2.parenL), this.type === n2.semi) return e > -1 && this.unexpected(e), this.parseFor(t, null);
362
+ var i = this.isLet();
363
+ if (this.type === n2._var || this.type === n2._const || i) {
364
+ var s = this.startNode(), r = i ? "let" : this.value;
365
+ return this.next(), this.parseVar(s, true, r), this.finishNode(s, "VariableDeclaration"), this.parseForAfterInit(t, s, e);
366
+ }
367
+ var a = this.isContextual("let"), o2 = false, h = this.isUsing(true) ? "using" : this.isAwaitUsing(true) ? "await using" : null;
368
+ if (h) {
369
+ var c = this.startNode();
370
+ return this.next(), h === "await using" && this.next(), this.parseVar(c, true, h), this.finishNode(c, "VariableDeclaration"), this.parseForAfterInit(t, c, e);
371
+ }
372
+ var l = this.containsEsc, p = new Nt(), f = this.start, u = e > -1 ? this.parseExprSubscripts(p, "await") : this.parseExpression(true, p);
373
+ return this.type === n2._in || (o2 = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (e > -1 ? (this.type === n2._in && this.unexpected(e), t.await = true) : o2 && this.options.ecmaVersion >= 8 && (u.start !== f || l || u.type !== "Identifier" || u.name !== "async" ? this.options.ecmaVersion >= 9 && (t.await = false) : this.unexpected()), a && o2 && this.raise(u.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(u, false, p), this.checkLValPattern(u), this.parseForIn(t, u)) : (this.checkExpressionErrors(p, true), e > -1 && this.unexpected(e), this.parseFor(t, u));
374
+ }, m2.parseForAfterInit = function(t, e, i) {
375
+ return (this.type === n2._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && e.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === n2._in ? i > -1 && this.unexpected(i) : t.await = i > -1), this.parseForIn(t, e)) : (i > -1 && this.unexpected(i), this.parseFor(t, e));
376
+ }, m2.parseFunctionStatement = function(t, e, i) {
377
+ return this.next(), this.parseFunction(t, Ct | (i ? 0 : Xt), false, e);
378
+ }, m2.parseIfStatement = function(t) {
379
+ return this.next(), t.test = this.parseParenExpression(), t.consequent = this.parseStatement("if"), t.alternate = this.eat(n2._else) ? this.parseStatement("if") : null, this.finishNode(t, "IfStatement");
380
+ }, m2.parseReturnStatement = function(t) {
381
+ return this.inFunction || this.options.allowReturnOutsideFunction || this.raise(this.start, "'return' outside of function"), this.next(), this.eat(n2.semi) || this.insertSemicolon() ? t.argument = null : (t.argument = this.parseExpression(), this.semicolon()), this.finishNode(t, "ReturnStatement");
382
+ }, m2.parseSwitchStatement = function(t) {
383
+ var e;
384
+ this.next(), t.discriminant = this.parseParenExpression(), t.cases = [], this.expect(n2.braceL), this.labels.push(ts), this.enterScope(0);
385
+ for (var i = false; this.type !== n2.braceR; ) if (this.type === n2._case || this.type === n2._default) {
386
+ var s = this.type === n2._case;
387
+ e && this.finishNode(e, "SwitchCase"), t.cases.push(e = this.startNode()), e.consequent = [], this.next(), s ? e.test = this.parseExpression() : (i && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), i = true, e.test = null), this.expect(n2.colon);
388
+ } else e || this.unexpected(), e.consequent.push(this.parseStatement(null));
389
+ return this.exitScope(), e && this.finishNode(e, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(t, "SwitchStatement");
390
+ }, m2.parseThrowStatement = function(t) {
391
+ return this.next(), M.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), t.argument = this.parseExpression(), this.semicolon(), this.finishNode(t, "ThrowStatement");
392
+ };
393
+ var es = [];
394
+ m2.parseCatchClauseParam = function() {
395
+ var t = this.parseBindingAtom(), e = t.type === "Identifier";
396
+ return this.enterScope(e ? 32 : 0), this.checkLValPattern(t, e ? 4 : 2), this.expect(n2.parenR), t;
397
+ }, m2.parseTryStatement = function(t) {
398
+ if (this.next(), t.block = this.parseBlock(), t.handler = null, this.type === n2._catch) {
399
+ var e = this.startNode();
400
+ this.next(), this.eat(n2.parenL) ? e.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), e.param = null, this.enterScope(0)), e.body = this.parseBlock(false), this.exitScope(), t.handler = this.finishNode(e, "CatchClause");
401
+ }
402
+ return t.finalizer = this.eat(n2._finally) ? this.parseBlock() : null, t.handler || t.finalizer || this.raise(t.start, "Missing catch or finally clause"), this.finishNode(t, "TryStatement");
403
+ }, m2.parseVarStatement = function(t, e, i) {
404
+ return this.next(), this.parseVar(t, false, e, i), this.semicolon(), this.finishNode(t, "VariableDeclaration");
405
+ }, m2.parseWhileStatement = function(t) {
406
+ return this.next(), t.test = this.parseParenExpression(), this.labels.push(Zt), t.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(t, "WhileStatement");
407
+ }, m2.parseWithStatement = function(t) {
408
+ return this.strict && this.raise(this.start, "'with' in strict mode"), this.next(), t.object = this.parseParenExpression(), t.body = this.parseStatement("with"), this.finishNode(t, "WithStatement");
409
+ }, m2.parseEmptyStatement = function(t) {
410
+ return this.next(), this.finishNode(t, "EmptyStatement");
411
+ }, m2.parseLabeledStatement = function(t, e, i, s) {
412
+ for (var r = 0, a = this.labels; r < a.length; r += 1) a[r].name === e && this.raise(i.start, "Label '" + e + "' is already declared");
413
+ for (var o2 = this.type.isLoop ? "loop" : this.type === n2._switch ? "switch" : null, h = this.labels.length - 1; h >= 0; h--) {
414
+ var c = this.labels[h];
415
+ if (c.statementStart !== t.start) break;
416
+ c.statementStart = this.start, c.kind = o2;
417
+ }
418
+ return this.labels.push({ name: e, kind: o2, statementStart: this.start }), t.body = this.parseStatement(s ? s.indexOf("label") === -1 ? s + "label" : s : "label"), this.labels.pop(), t.label = i, this.finishNode(t, "LabeledStatement");
419
+ }, m2.parseExpressionStatement = function(t, e) {
420
+ return t.expression = e, this.semicolon(), this.finishNode(t, "ExpressionStatement");
421
+ }, m2.parseBlock = function(t, e, i) {
422
+ for (t === void 0 && (t = true), e === void 0 && (e = this.startNode()), e.body = [], this.expect(n2.braceL), t && this.enterScope(0); this.type !== n2.braceR; ) {
423
+ var s = this.parseStatement(null);
424
+ e.body.push(s);
425
+ }
426
+ return i && (this.strict = false), this.next(), t && this.exitScope(), this.finishNode(e, "BlockStatement");
427
+ }, m2.parseFor = function(t, e) {
428
+ return t.init = e, this.expect(n2.semi), t.test = this.type === n2.semi ? null : this.parseExpression(), this.expect(n2.semi), t.update = this.type === n2.parenR ? null : this.parseExpression(), this.expect(n2.parenR), t.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(t, "ForStatement");
429
+ }, m2.parseForIn = function(t, e) {
430
+ var i = this.type === n2._in;
431
+ return this.next(), e.type === "VariableDeclaration" && e.declarations[0].init != null && (!i || this.options.ecmaVersion < 8 || this.strict || e.kind !== "var" || e.declarations[0].id.type !== "Identifier") && this.raise(e.start, (i ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"), t.left = e, t.right = i ? this.parseExpression() : this.parseMaybeAssign(), this.expect(n2.parenR), t.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(t, i ? "ForInStatement" : "ForOfStatement");
432
+ }, m2.parseVar = function(t, e, i, s) {
433
+ for (t.declarations = [], t.kind = i; ; ) {
434
+ var r = this.startNode();
435
+ if (this.parseVarId(r, i), this.eat(n2.eq) ? r.init = this.parseMaybeAssign(e) : s || i !== "const" || this.type === n2._in || this.options.ecmaVersion >= 6 && this.isContextual("of") ? s || i !== "using" && i !== "await using" || !(this.options.ecmaVersion >= 17) || this.type === n2._in || this.isContextual("of") ? s || r.id.type === "Identifier" || e && (this.type === n2._in || this.isContextual("of")) ? r.init = null : this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : this.raise(this.lastTokEnd, "Missing initializer in " + i + " declaration") : this.unexpected(), t.declarations.push(this.finishNode(r, "VariableDeclarator")), !this.eat(n2.comma)) break;
436
+ }
437
+ return t;
438
+ }, m2.parseVarId = function(t, e) {
439
+ t.id = e === "using" || e === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(t.id, e === "var" ? 1 : 2, false);
440
+ };
441
+ var Ct = 1, Xt = 2;
442
+ function is(t, e) {
443
+ var i = e.key.name, s = t[i], r = "true";
444
+ return e.type !== "MethodDefinition" || e.kind !== "get" && e.kind !== "set" || (r = (e.static ? "s" : "i") + e.kind), s === "iget" && r === "iset" || s === "iset" && r === "iget" || s === "sget" && r === "sset" || s === "sset" && r === "sget" ? (t[i] = "true", false) : !!s || (t[i] = r, false);
445
+ }
446
+ function Lt(t, e) {
447
+ var i = t.computed, s = t.key;
448
+ return !i && (s.type === "Identifier" && s.name === e || s.type === "Literal" && s.value === e);
449
+ }
450
+ m2.parseFunction = function(t, e, i, s, r) {
451
+ this.initFunction(t), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !s) && (this.type === n2.star && e & Xt && this.unexpected(), t.generator = this.eat(n2.star)), this.options.ecmaVersion >= 8 && (t.async = !!s), e & Ct && (t.id = 4 & e && this.type !== n2.name ? null : this.parseIdent(), !t.id || e & Xt || this.checkLValSimple(t.id, this.strict || t.generator || t.async ? this.treatFunctionsAsVar ? 1 : 2 : 3));
452
+ var a = this.yieldPos, o2 = this.awaitPos, h = this.awaitIdentPos;
453
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Qt(t.async, t.generator)), e & Ct || (t.id = this.type === n2.name ? this.parseIdent() : null), this.parseFunctionParams(t), this.parseFunctionBody(t, i, false, r), this.yieldPos = a, this.awaitPos = o2, this.awaitIdentPos = h, this.finishNode(t, e & Ct ? "FunctionDeclaration" : "FunctionExpression");
454
+ }, m2.parseFunctionParams = function(t) {
455
+ this.expect(n2.parenL), t.params = this.parseBindingList(n2.parenR, false, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
456
+ }, m2.parseClass = function(t, e) {
457
+ this.next();
458
+ var i = this.strict;
459
+ this.strict = true, this.parseClassId(t, e), this.parseClassSuper(t);
460
+ var s = this.enterClassBody(), r = this.startNode(), a = false;
461
+ for (r.body = [], this.expect(n2.braceL); this.type !== n2.braceR; ) {
462
+ var o2 = this.parseClassElement(t.superClass !== null);
463
+ o2 && (r.body.push(o2), o2.type === "MethodDefinition" && o2.kind === "constructor" ? (a && this.raiseRecoverable(o2.start, "Duplicate constructor in the same class"), a = true) : o2.key && o2.key.type === "PrivateIdentifier" && is(s, o2) && this.raiseRecoverable(o2.key.start, "Identifier '#" + o2.key.name + "' has already been declared"));
464
+ }
465
+ return this.strict = i, this.next(), t.body = this.finishNode(r, "ClassBody"), this.exitClassBody(), this.finishNode(t, e ? "ClassDeclaration" : "ClassExpression");
466
+ }, m2.parseClassElement = function(t) {
467
+ if (this.eat(n2.semi)) return null;
468
+ var e = this.options.ecmaVersion, i = this.startNode(), s = "", r = false, a = false, o2 = "method", h = false;
469
+ if (this.eatContextual("static")) {
470
+ if (e >= 13 && this.eat(n2.braceL)) return this.parseClassStaticBlock(i), i;
471
+ this.isClassElementNameStart() || this.type === n2.star ? h = true : s = "static";
472
+ }
473
+ if (i.static = h, !s && e >= 8 && this.eatContextual("async") && (!this.isClassElementNameStart() && this.type !== n2.star || this.canInsertSemicolon() ? s = "async" : a = true), !s && (e >= 9 || !a) && this.eat(n2.star) && (r = true), !s && !a && !r) {
474
+ var c = this.value;
475
+ (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? o2 = c : s = c);
476
+ }
477
+ if (s ? (i.computed = false, i.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), i.key.name = s, this.finishNode(i.key, "Identifier")) : this.parseClassElementName(i), e < 13 || this.type === n2.parenL || o2 !== "method" || r || a) {
478
+ var l = !i.static && Lt(i, "constructor"), p = l && t;
479
+ l && o2 !== "method" && this.raise(i.key.start, "Constructor can't have get/set modifier"), i.kind = l ? "constructor" : o2, this.parseClassMethod(i, r, a, p);
480
+ } else this.parseClassField(i);
481
+ return i;
482
+ }, m2.isClassElementNameStart = function() {
483
+ return this.type === n2.name || this.type === n2.privateId || this.type === n2.num || this.type === n2.string || this.type === n2.bracketL || this.type.keyword;
484
+ }, m2.parseClassElementName = function(t) {
485
+ this.type === n2.privateId ? (this.value === "constructor" && this.raise(this.start, "Classes can't have an element named '#constructor'"), t.computed = false, t.key = this.parsePrivateIdent()) : this.parsePropertyName(t);
486
+ }, m2.parseClassMethod = function(t, e, i, s) {
487
+ var r = t.key;
488
+ t.kind === "constructor" ? (e && this.raise(r.start, "Constructor can't be a generator"), i && this.raise(r.start, "Constructor can't be an async method")) : t.static && Lt(t, "prototype") && this.raise(r.start, "Classes may not have a static property named prototype");
489
+ var a = t.value = this.parseMethod(e, i, s);
490
+ return t.kind === "get" && a.params.length !== 0 && this.raiseRecoverable(a.start, "getter should have no params"), t.kind === "set" && a.params.length !== 1 && this.raiseRecoverable(a.start, "setter should have exactly one param"), t.kind === "set" && a.params[0].type === "RestElement" && this.raiseRecoverable(a.params[0].start, "Setter cannot use rest params"), this.finishNode(t, "MethodDefinition");
491
+ }, m2.parseClassField = function(t) {
492
+ return Lt(t, "constructor") ? this.raise(t.key.start, "Classes can't have a field named 'constructor'") : t.static && Lt(t, "prototype") && this.raise(t.key.start, "Classes can't have a static field named 'prototype'"), this.eat(n2.eq) ? (this.enterScope(576), t.value = this.parseMaybeAssign(), this.exitScope()) : t.value = null, this.semicolon(), this.finishNode(t, "PropertyDefinition");
493
+ }, m2.parseClassStaticBlock = function(t) {
494
+ t.body = [];
495
+ var e = this.labels;
496
+ for (this.labels = [], this.enterScope(320); this.type !== n2.braceR; ) {
497
+ var i = this.parseStatement(null);
498
+ t.body.push(i);
499
+ }
500
+ return this.next(), this.exitScope(), this.labels = e, this.finishNode(t, "StaticBlock");
501
+ }, m2.parseClassId = function(t, e) {
502
+ this.type === n2.name ? (t.id = this.parseIdent(), e && this.checkLValSimple(t.id, 2, false)) : (e === true && this.unexpected(), t.id = null);
503
+ }, m2.parseClassSuper = function(t) {
504
+ t.superClass = this.eat(n2._extends) ? this.parseExprSubscripts(null, false) : null;
505
+ }, m2.enterClassBody = function() {
506
+ var t = { declared: /* @__PURE__ */ Object.create(null), used: [] };
507
+ return this.privateNameStack.push(t), t.declared;
508
+ }, m2.exitClassBody = function() {
509
+ var t = this.privateNameStack.pop(), e = t.declared, i = t.used;
510
+ if (this.options.checkPrivateFields) for (var s = this.privateNameStack.length, r = s === 0 ? null : this.privateNameStack[s - 1], a = 0; a < i.length; ++a) {
511
+ var o2 = i[a];
512
+ ft(e, o2.name) || (r ? r.used.push(o2) : this.raiseRecoverable(o2.start, "Private field '#" + o2.name + "' must be declared in an enclosing class"));
513
+ }
514
+ }, m2.parseExportAllDeclaration = function(t, e) {
515
+ return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (t.exported = this.parseModuleExportName(), this.checkExport(e, t.exported, this.lastTokStart)) : t.exported = null), this.expectContextual("from"), this.type !== n2.string && this.unexpected(), t.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (t.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(t, "ExportAllDeclaration");
516
+ }, m2.parseExport = function(t, e) {
517
+ if (this.next(), this.eat(n2.star)) return this.parseExportAllDeclaration(t, e);
518
+ if (this.eat(n2._default)) return this.checkExport(e, "default", this.lastTokStart), t.declaration = this.parseExportDefaultDeclaration(), this.finishNode(t, "ExportDefaultDeclaration");
519
+ if (this.shouldParseExportStatement()) t.declaration = this.parseExportDeclaration(t), t.declaration.type === "VariableDeclaration" ? this.checkVariableExport(e, t.declaration.declarations) : this.checkExport(e, t.declaration.id, t.declaration.id.start), t.specifiers = [], t.source = null, this.options.ecmaVersion >= 16 && (t.attributes = []);
520
+ else {
521
+ if (t.declaration = null, t.specifiers = this.parseExportSpecifiers(e), this.eatContextual("from")) this.type !== n2.string && this.unexpected(), t.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (t.attributes = this.parseWithClause());
522
+ else {
523
+ for (var i = 0, s = t.specifiers; i < s.length; i += 1) {
524
+ var r = s[i];
525
+ this.checkUnreserved(r.local), this.checkLocalExport(r.local), r.local.type === "Literal" && this.raise(r.local.start, "A string literal cannot be used as an exported binding without `from`.");
526
+ }
527
+ t.source = null, this.options.ecmaVersion >= 16 && (t.attributes = []);
528
+ }
529
+ this.semicolon();
530
+ }
531
+ return this.finishNode(t, "ExportNamedDeclaration");
532
+ }, m2.parseExportDeclaration = function(t) {
533
+ return this.parseStatement(null);
534
+ }, m2.parseExportDefaultDeclaration = function() {
535
+ var t;
536
+ if (this.type === n2._function || (t = this.isAsyncFunction())) {
537
+ var e = this.startNode();
538
+ return this.next(), t && this.next(), this.parseFunction(e, 4 | Ct, false, t);
539
+ }
540
+ if (this.type === n2._class) {
541
+ var i = this.startNode();
542
+ return this.parseClass(i, "nullableID");
543
+ }
544
+ var s = this.parseMaybeAssign();
545
+ return this.semicolon(), s;
546
+ }, m2.checkExport = function(t, e, i) {
547
+ t && (typeof e != "string" && (e = e.type === "Identifier" ? e.name : e.value), ft(t, e) && this.raiseRecoverable(i, "Duplicate export '" + e + "'"), t[e] = true);
548
+ }, m2.checkPatternExport = function(t, e) {
549
+ var i = e.type;
550
+ if (i === "Identifier") this.checkExport(t, e, e.start);
551
+ else if (i === "ObjectPattern") for (var s = 0, r = e.properties; s < r.length; s += 1) {
552
+ var a = r[s];
553
+ this.checkPatternExport(t, a);
554
+ }
555
+ else if (i === "ArrayPattern") for (var o2 = 0, h = e.elements; o2 < h.length; o2 += 1) {
556
+ var c = h[o2];
557
+ c && this.checkPatternExport(t, c);
558
+ }
559
+ else i === "Property" ? this.checkPatternExport(t, e.value) : i === "AssignmentPattern" ? this.checkPatternExport(t, e.left) : i === "RestElement" && this.checkPatternExport(t, e.argument);
560
+ }, m2.checkVariableExport = function(t, e) {
561
+ if (t) for (var i = 0, s = e; i < s.length; i += 1) {
562
+ var r = s[i];
563
+ this.checkPatternExport(t, r.id);
564
+ }
565
+ }, m2.shouldParseExportStatement = function() {
566
+ return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
567
+ }, m2.parseExportSpecifier = function(t) {
568
+ var e = this.startNode();
569
+ return e.local = this.parseModuleExportName(), e.exported = this.eatContextual("as") ? this.parseModuleExportName() : e.local, this.checkExport(t, e.exported, e.exported.start), this.finishNode(e, "ExportSpecifier");
570
+ }, m2.parseExportSpecifiers = function(t) {
571
+ var e = [], i = true;
572
+ for (this.expect(n2.braceL); !this.eat(n2.braceR); ) {
573
+ if (i) i = false;
574
+ else if (this.expect(n2.comma), this.afterTrailingComma(n2.braceR)) break;
575
+ e.push(this.parseExportSpecifier(t));
576
+ }
577
+ return e;
578
+ }, m2.parseImport = function(t) {
579
+ return this.next(), this.type === n2.string ? (t.specifiers = es, t.source = this.parseExprAtom()) : (t.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), t.source = this.type === n2.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (t.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(t, "ImportDeclaration");
580
+ }, m2.parseImportSpecifier = function() {
581
+ var t = this.startNode();
582
+ return t.imported = this.parseModuleExportName(), this.eatContextual("as") ? t.local = this.parseIdent() : (this.checkUnreserved(t.imported), t.local = t.imported), this.checkLValSimple(t.local, 2), this.finishNode(t, "ImportSpecifier");
583
+ }, m2.parseImportDefaultSpecifier = function() {
584
+ var t = this.startNode();
585
+ return t.local = this.parseIdent(), this.checkLValSimple(t.local, 2), this.finishNode(t, "ImportDefaultSpecifier");
586
+ }, m2.parseImportNamespaceSpecifier = function() {
587
+ var t = this.startNode();
588
+ return this.next(), this.expectContextual("as"), t.local = this.parseIdent(), this.checkLValSimple(t.local, 2), this.finishNode(t, "ImportNamespaceSpecifier");
589
+ }, m2.parseImportSpecifiers = function() {
590
+ var t = [], e = true;
591
+ if (this.type === n2.name && (t.push(this.parseImportDefaultSpecifier()), !this.eat(n2.comma))) return t;
592
+ if (this.type === n2.star) return t.push(this.parseImportNamespaceSpecifier()), t;
593
+ for (this.expect(n2.braceL); !this.eat(n2.braceR); ) {
594
+ if (e) e = false;
595
+ else if (this.expect(n2.comma), this.afterTrailingComma(n2.braceR)) break;
596
+ t.push(this.parseImportSpecifier());
597
+ }
598
+ return t;
599
+ }, m2.parseWithClause = function() {
600
+ var t = [];
601
+ if (!this.eat(n2._with)) return t;
602
+ this.expect(n2.braceL);
603
+ for (var e = {}, i = true; !this.eat(n2.braceR); ) {
604
+ if (i) i = false;
605
+ else if (this.expect(n2.comma), this.afterTrailingComma(n2.braceR)) break;
606
+ var s = this.parseImportAttribute(), r = s.key.type === "Identifier" ? s.key.name : s.key.value;
607
+ ft(e, r) && this.raiseRecoverable(s.key.start, "Duplicate attribute key '" + r + "'"), e[r] = true, t.push(s);
608
+ }
609
+ return t;
610
+ }, m2.parseImportAttribute = function() {
611
+ var t = this.startNode();
612
+ return t.key = this.type === n2.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never"), this.expect(n2.colon), this.type !== n2.string && this.unexpected(), t.value = this.parseExprAtom(), this.finishNode(t, "ImportAttribute");
613
+ }, m2.parseModuleExportName = function() {
614
+ if (this.options.ecmaVersion >= 13 && this.type === n2.string) {
615
+ var t = this.parseLiteral(this.value);
616
+ return Yi.test(t.value) && this.raise(t.start, "An export name cannot include a lone surrogate."), t;
617
+ }
618
+ return this.parseIdent(true);
619
+ }, m2.adaptDirectivePrologue = function(t) {
620
+ for (var e = 0; e < t.length && this.isDirectiveCandidate(t[e]); ++e) t[e].directive = t[e].expression.raw.slice(1, -1);
621
+ }, m2.isDirectiveCandidate = function(t) {
622
+ return this.options.ecmaVersion >= 5 && t.type === "ExpressionStatement" && t.expression.type === "Literal" && typeof t.expression.value == "string" && (this.input[t.start] === '"' || this.input[t.start] === "'");
623
+ };
624
+ var q2 = N.prototype;
625
+ q2.toAssignable = function(t, e, i) {
626
+ if (this.options.ecmaVersion >= 6 && t) switch (t.type) {
627
+ case "Identifier":
628
+ this.inAsync && t.name === "await" && this.raise(t.start, "Cannot use 'await' as identifier inside an async function");
629
+ break;
630
+ case "ObjectPattern":
631
+ case "ArrayPattern":
632
+ case "AssignmentPattern":
633
+ case "RestElement":
634
+ break;
635
+ case "ObjectExpression":
636
+ t.type = "ObjectPattern", i && this.checkPatternErrors(i, true);
637
+ for (var s = 0, r = t.properties; s < r.length; s += 1) {
638
+ var a = r[s];
639
+ this.toAssignable(a, e), a.type !== "RestElement" || a.argument.type !== "ArrayPattern" && a.argument.type !== "ObjectPattern" || this.raise(a.argument.start, "Unexpected token");
640
+ }
641
+ break;
642
+ case "Property":
643
+ t.kind !== "init" && this.raise(t.key.start, "Object pattern can't contain getter or setter"), this.toAssignable(t.value, e);
644
+ break;
645
+ case "ArrayExpression":
646
+ t.type = "ArrayPattern", i && this.checkPatternErrors(i, true), this.toAssignableList(t.elements, e);
647
+ break;
648
+ case "SpreadElement":
649
+ t.type = "RestElement", this.toAssignable(t.argument, e), t.argument.type === "AssignmentPattern" && this.raise(t.argument.start, "Rest elements cannot have a default value");
650
+ break;
651
+ case "AssignmentExpression":
652
+ t.operator !== "=" && this.raise(t.left.end, "Only '=' operator can be used for specifying default value."), t.type = "AssignmentPattern", delete t.operator, this.toAssignable(t.left, e);
653
+ break;
654
+ case "ParenthesizedExpression":
655
+ this.toAssignable(t.expression, e, i);
656
+ break;
657
+ case "ChainExpression":
658
+ this.raiseRecoverable(t.start, "Optional chaining cannot appear in left-hand side");
659
+ break;
660
+ case "MemberExpression":
661
+ if (!e) break;
662
+ default:
663
+ this.raise(t.start, "Assigning to rvalue");
664
+ }
665
+ else i && this.checkPatternErrors(i, true);
666
+ return t;
667
+ }, q2.toAssignableList = function(t, e) {
668
+ for (var i = t.length, s = 0; s < i; s++) {
669
+ var r = t[s];
670
+ r && this.toAssignable(r, e);
671
+ }
672
+ if (i) {
673
+ var a = t[i - 1];
674
+ this.options.ecmaVersion === 6 && e && a && a.type === "RestElement" && a.argument.type !== "Identifier" && this.unexpected(a.argument.start);
675
+ }
676
+ return t;
677
+ }, q2.parseSpread = function(t) {
678
+ var e = this.startNode();
679
+ return this.next(), e.argument = this.parseMaybeAssign(false, t), this.finishNode(e, "SpreadElement");
680
+ }, q2.parseRestBinding = function() {
681
+ var t = this.startNode();
682
+ return this.next(), this.options.ecmaVersion === 6 && this.type !== n2.name && this.unexpected(), t.argument = this.parseBindingAtom(), this.finishNode(t, "RestElement");
683
+ }, q2.parseBindingAtom = function() {
684
+ if (this.options.ecmaVersion >= 6) switch (this.type) {
685
+ case n2.bracketL:
686
+ var t = this.startNode();
687
+ return this.next(), t.elements = this.parseBindingList(n2.bracketR, true, true), this.finishNode(t, "ArrayPattern");
688
+ case n2.braceL:
689
+ return this.parseObj(true);
690
+ }
691
+ return this.parseIdent();
692
+ }, q2.parseBindingList = function(t, e, i, s) {
693
+ for (var r = [], a = true; !this.eat(t); ) if (a ? a = false : this.expect(n2.comma), e && this.type === n2.comma) r.push(null);
694
+ else {
695
+ if (i && this.afterTrailingComma(t)) break;
696
+ if (this.type === n2.ellipsis) {
697
+ var o2 = this.parseRestBinding();
698
+ this.parseBindingListItem(o2), r.push(o2), this.type === n2.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.expect(t);
699
+ break;
700
+ }
701
+ r.push(this.parseAssignableListItem(s));
702
+ }
703
+ return r;
704
+ }, q2.parseAssignableListItem = function(t) {
705
+ var e = this.parseMaybeDefault(this.start, this.startLoc);
706
+ return this.parseBindingListItem(e), e;
707
+ }, q2.parseBindingListItem = function(t) {
708
+ return t;
709
+ }, q2.parseMaybeDefault = function(t, e, i) {
710
+ if (i = i || this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(n2.eq)) return i;
711
+ var s = this.startNodeAt(t, e);
712
+ return s.left = i, s.right = this.parseMaybeAssign(), this.finishNode(s, "AssignmentPattern");
713
+ }, q2.checkLValSimple = function(t, e, i) {
714
+ e === void 0 && (e = 0);
715
+ var s = e !== 0;
716
+ switch (t.type) {
717
+ case "Identifier":
718
+ this.strict && this.reservedWordsStrictBind.test(t.name) && this.raiseRecoverable(t.start, (s ? "Binding " : "Assigning to ") + t.name + " in strict mode"), s && (e === 2 && t.name === "let" && this.raiseRecoverable(t.start, "let is disallowed as a lexically bound name"), i && (ft(i, t.name) && this.raiseRecoverable(t.start, "Argument name clash"), i[t.name] = true), e !== 5 && this.declareName(t.name, e, t.start));
719
+ break;
720
+ case "ChainExpression":
721
+ this.raiseRecoverable(t.start, "Optional chaining cannot appear in left-hand side");
722
+ break;
723
+ case "MemberExpression":
724
+ s && this.raiseRecoverable(t.start, "Binding member expression");
725
+ break;
726
+ case "ParenthesizedExpression":
727
+ return s && this.raiseRecoverable(t.start, "Binding parenthesized expression"), this.checkLValSimple(t.expression, e, i);
728
+ default:
729
+ this.raise(t.start, (s ? "Binding" : "Assigning to") + " rvalue");
730
+ }
731
+ }, q2.checkLValPattern = function(t, e, i) {
732
+ switch (e === void 0 && (e = 0), t.type) {
733
+ case "ObjectPattern":
734
+ for (var s = 0, r = t.properties; s < r.length; s += 1) {
735
+ var a = r[s];
736
+ this.checkLValInnerPattern(a, e, i);
737
+ }
738
+ break;
739
+ case "ArrayPattern":
740
+ for (var o2 = 0, h = t.elements; o2 < h.length; o2 += 1) {
741
+ var c = h[o2];
742
+ c && this.checkLValInnerPattern(c, e, i);
743
+ }
744
+ break;
745
+ default:
746
+ this.checkLValSimple(t, e, i);
747
+ }
748
+ }, q2.checkLValInnerPattern = function(t, e, i) {
749
+ switch (e === void 0 && (e = 0), t.type) {
750
+ case "Property":
751
+ this.checkLValInnerPattern(t.value, e, i);
752
+ break;
753
+ case "AssignmentPattern":
754
+ this.checkLValPattern(t.left, e, i);
755
+ break;
756
+ case "RestElement":
757
+ this.checkLValPattern(t.argument, e, i);
758
+ break;
759
+ default:
760
+ this.checkLValPattern(t, e, i);
761
+ }
762
+ };
763
+ var G = function(t, e, i, s, r) {
764
+ this.token = t, this.isExpr = !!e, this.preserveSpace = !!i, this.override = s, this.generator = !!r;
765
+ }, R = { b_stat: new G("{", false), b_expr: new G("{", true), b_tmpl: new G("${", false), p_stat: new G("(", false), p_expr: new G("(", true), q_tmpl: new G("`", true, true, function(t) {
766
+ return t.tryReadTemplateToken();
767
+ }), f_stat: new G("function", false), f_expr: new G("function", true), f_expr_gen: new G("function", true, false, null, true), f_gen: new G("function", false, false, null, true) }, dt = N.prototype;
768
+ dt.initialContext = function() {
769
+ return [R.b_stat];
770
+ }, dt.curContext = function() {
771
+ return this.context[this.context.length - 1];
772
+ }, dt.braceIsBlock = function(t) {
773
+ var e = this.curContext();
774
+ return e === R.f_expr || e === R.f_stat || (t !== n2.colon || e !== R.b_stat && e !== R.b_expr ? t === n2._return || t === n2.name && this.exprAllowed ? M.test(this.input.slice(this.lastTokEnd, this.start)) : t === n2._else || t === n2.semi || t === n2.eof || t === n2.parenR || t === n2.arrow || (t === n2.braceL ? e === R.b_stat : t !== n2._var && t !== n2._const && t !== n2.name && !this.exprAllowed) : !e.isExpr);
775
+ }, dt.inGeneratorContext = function() {
776
+ for (var t = this.context.length - 1; t >= 1; t--) {
777
+ var e = this.context[t];
778
+ if (e.token === "function") return e.generator;
779
+ }
780
+ return false;
781
+ }, dt.updateContext = function(t) {
782
+ var e, i = this.type;
783
+ i.keyword && t === n2.dot ? this.exprAllowed = false : (e = i.updateContext) ? e.call(this, t) : this.exprAllowed = i.beforeExpr;
784
+ }, dt.overrideContext = function(t) {
785
+ this.curContext() !== t && (this.context[this.context.length - 1] = t);
786
+ }, n2.parenR.updateContext = n2.braceR.updateContext = function() {
787
+ if (this.context.length !== 1) {
788
+ var t = this.context.pop();
789
+ t === R.b_stat && this.curContext().token === "function" && (t = this.context.pop()), this.exprAllowed = !t.isExpr;
790
+ } else this.exprAllowed = true;
791
+ }, n2.braceL.updateContext = function(t) {
792
+ this.context.push(this.braceIsBlock(t) ? R.b_stat : R.b_expr), this.exprAllowed = true;
793
+ }, n2.dollarBraceL.updateContext = function() {
794
+ this.context.push(R.b_tmpl), this.exprAllowed = true;
795
+ }, n2.parenL.updateContext = function(t) {
796
+ var e = t === n2._if || t === n2._for || t === n2._with || t === n2._while;
797
+ this.context.push(e ? R.p_stat : R.p_expr), this.exprAllowed = true;
798
+ }, n2.incDec.updateContext = function() {
799
+ }, n2._function.updateContext = n2._class.updateContext = function(t) {
800
+ !t.beforeExpr || t === n2._else || t === n2.semi && this.curContext() !== R.p_stat || t === n2._return && M.test(this.input.slice(this.lastTokEnd, this.start)) || (t === n2.colon || t === n2.braceL) && this.curContext() === R.b_stat ? this.context.push(R.f_stat) : this.context.push(R.f_expr), this.exprAllowed = false;
801
+ }, n2.colon.updateContext = function() {
802
+ this.curContext().token === "function" && this.context.pop(), this.exprAllowed = true;
803
+ }, n2.backQuote.updateContext = function() {
804
+ this.curContext() === R.q_tmpl ? this.context.pop() : this.context.push(R.q_tmpl), this.exprAllowed = false;
805
+ }, n2.star.updateContext = function(t) {
806
+ if (t === n2._function) {
807
+ var e = this.context.length - 1;
808
+ this.context[e] === R.f_expr ? this.context[e] = R.f_expr_gen : this.context[e] = R.f_gen;
809
+ }
810
+ this.exprAllowed = true;
811
+ }, n2.name.updateContext = function(t) {
812
+ var e = false;
813
+ this.options.ecmaVersion >= 6 && t !== n2.dot && (this.value === "of" && !this.exprAllowed || this.value === "yield" && this.inGeneratorContext()) && (e = true), this.exprAllowed = e;
814
+ };
815
+ var x = N.prototype;
816
+ function Ne(t) {
817
+ return t.type === "Identifier" || t.type === "ParenthesizedExpression" && Ne(t.expression);
818
+ }
819
+ function te(t) {
820
+ return t.type === "MemberExpression" && t.property.type === "PrivateIdentifier" || t.type === "ChainExpression" && te(t.expression) || t.type === "ParenthesizedExpression" && te(t.expression);
821
+ }
822
+ x.checkPropClash = function(t, e, i) {
823
+ if (!(this.options.ecmaVersion >= 9 && t.type === "SpreadElement" || this.options.ecmaVersion >= 6 && (t.computed || t.method || t.shorthand))) {
824
+ var s, r = t.key;
825
+ switch (r.type) {
826
+ case "Identifier":
827
+ s = r.name;
828
+ break;
829
+ case "Literal":
830
+ s = String(r.value);
831
+ break;
832
+ default:
833
+ return;
834
+ }
835
+ var a = t.kind;
836
+ if (this.options.ecmaVersion >= 6) s === "__proto__" && a === "init" && (e.proto && (i ? i.doubleProto < 0 && (i.doubleProto = r.start) : this.raiseRecoverable(r.start, "Redefinition of __proto__ property")), e.proto = true);
837
+ else {
838
+ var o2 = e[s = "$" + s];
839
+ o2 ? (a === "init" ? this.strict && o2.init || o2.get || o2.set : o2.init || o2[a]) && this.raiseRecoverable(r.start, "Redefinition of property") : o2 = e[s] = { init: false, get: false, set: false }, o2[a] = true;
840
+ }
841
+ }
842
+ }, x.parseExpression = function(t, e) {
843
+ var i = this.start, s = this.startLoc, r = this.parseMaybeAssign(t, e);
844
+ if (this.type === n2.comma) {
845
+ var a = this.startNodeAt(i, s);
846
+ for (a.expressions = [r]; this.eat(n2.comma); ) a.expressions.push(this.parseMaybeAssign(t, e));
847
+ return this.finishNode(a, "SequenceExpression");
848
+ }
849
+ return r;
850
+ }, x.parseMaybeAssign = function(t, e, i) {
851
+ if (this.isContextual("yield")) {
852
+ if (this.inGenerator) return this.parseYield(t);
853
+ this.exprAllowed = false;
854
+ }
855
+ var s = false, r = -1, a = -1, o2 = -1;
856
+ e ? (r = e.parenthesizedAssign, a = e.trailingComma, o2 = e.doubleProto, e.parenthesizedAssign = e.trailingComma = -1) : (e = new Nt(), s = true);
857
+ var h = this.start, c = this.startLoc;
858
+ this.type !== n2.parenL && this.type !== n2.name || (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = t === "await");
859
+ var l = this.parseMaybeConditional(t, e);
860
+ if (i && (l = i.call(this, l, h, c)), this.type.isAssign) {
861
+ var p = this.startNodeAt(h, c);
862
+ return p.operator = this.value, this.type === n2.eq && (l = this.toAssignable(l, false, e)), s || (e.parenthesizedAssign = e.trailingComma = e.doubleProto = -1), e.shorthandAssign >= l.start && (e.shorthandAssign = -1), this.type === n2.eq ? this.checkLValPattern(l) : this.checkLValSimple(l), p.left = l, this.next(), p.right = this.parseMaybeAssign(t), o2 > -1 && (e.doubleProto = o2), this.finishNode(p, "AssignmentExpression");
863
+ }
864
+ return s && this.checkExpressionErrors(e, true), r > -1 && (e.parenthesizedAssign = r), a > -1 && (e.trailingComma = a), l;
865
+ }, x.parseMaybeConditional = function(t, e) {
866
+ var i = this.start, s = this.startLoc, r = this.parseExprOps(t, e);
867
+ if (this.checkExpressionErrors(e)) return r;
868
+ if (this.eat(n2.question)) {
869
+ var a = this.startNodeAt(i, s);
870
+ return a.test = r, a.consequent = this.parseMaybeAssign(), this.expect(n2.colon), a.alternate = this.parseMaybeAssign(t), this.finishNode(a, "ConditionalExpression");
871
+ }
872
+ return r;
873
+ }, x.parseExprOps = function(t, e) {
874
+ var i = this.start, s = this.startLoc, r = this.parseMaybeUnary(e, false, false, t);
875
+ return this.checkExpressionErrors(e) || r.start === i && r.type === "ArrowFunctionExpression" ? r : this.parseExprOp(r, i, s, -1, t);
876
+ }, x.parseExprOp = function(t, e, i, s, r) {
877
+ var a = this.type.binop;
878
+ if (a != null && (!r || this.type !== n2._in) && a > s) {
879
+ var o2 = this.type === n2.logicalOR || this.type === n2.logicalAND, h = this.type === n2.coalesce;
880
+ h && (a = n2.logicalAND.binop);
881
+ var c = this.value;
882
+ this.next();
883
+ var l = this.start, p = this.startLoc, f = this.parseExprOp(this.parseMaybeUnary(null, false, false, r), l, p, a, r), u = this.buildBinary(e, i, t, f, c, o2 || h);
884
+ return (o2 && this.type === n2.coalesce || h && (this.type === n2.logicalOR || this.type === n2.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(u, e, i, s, r);
885
+ }
886
+ return t;
887
+ }, x.buildBinary = function(t, e, i, s, r, a) {
888
+ s.type === "PrivateIdentifier" && this.raise(s.start, "Private identifier can only be left side of binary expression");
889
+ var o2 = this.startNodeAt(t, e);
890
+ return o2.left = i, o2.operator = r, o2.right = s, this.finishNode(o2, a ? "LogicalExpression" : "BinaryExpression");
891
+ }, x.parseMaybeUnary = function(t, e, i, s) {
892
+ var r, a = this.start, o2 = this.startLoc;
893
+ if (this.isContextual("await") && this.canAwait) r = this.parseAwait(s), e = true;
894
+ else if (this.type.prefix) {
895
+ var h = this.startNode(), c = this.type === n2.incDec;
896
+ h.operator = this.value, h.prefix = true, this.next(), h.argument = this.parseMaybeUnary(null, true, c, s), this.checkExpressionErrors(t, true), c ? this.checkLValSimple(h.argument) : this.strict && h.operator === "delete" && Ne(h.argument) ? this.raiseRecoverable(h.start, "Deleting local variable in strict mode") : h.operator === "delete" && te(h.argument) ? this.raiseRecoverable(h.start, "Private fields can not be deleted") : e = true, r = this.finishNode(h, c ? "UpdateExpression" : "UnaryExpression");
897
+ } else if (e || this.type !== n2.privateId) {
898
+ if (r = this.parseExprSubscripts(t, s), this.checkExpressionErrors(t)) return r;
899
+ for (; this.type.postfix && !this.canInsertSemicolon(); ) {
900
+ var l = this.startNodeAt(a, o2);
901
+ l.operator = this.value, l.prefix = false, l.argument = r, this.checkLValSimple(r), this.next(), r = this.finishNode(l, "UpdateExpression");
902
+ }
903
+ } else (s || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), r = this.parsePrivateIdent(), this.type !== n2._in && this.unexpected();
904
+ return i || !this.eat(n2.starstar) ? r : e ? void this.unexpected(this.lastTokStart) : this.buildBinary(a, o2, r, this.parseMaybeUnary(null, false, false, s), "**", false);
905
+ }, x.parseExprSubscripts = function(t, e) {
906
+ var i = this.start, s = this.startLoc, r = this.parseExprAtom(t, e);
907
+ if (r.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")") return r;
908
+ var a = this.parseSubscripts(r, i, s, false, e);
909
+ return t && a.type === "MemberExpression" && (t.parenthesizedAssign >= a.start && (t.parenthesizedAssign = -1), t.parenthesizedBind >= a.start && (t.parenthesizedBind = -1), t.trailingComma >= a.start && (t.trailingComma = -1)), a;
910
+ }, x.parseSubscripts = function(t, e, i, s, r) {
911
+ for (var a = this.options.ecmaVersion >= 8 && t.type === "Identifier" && t.name === "async" && this.lastTokEnd === t.end && !this.canInsertSemicolon() && t.end - t.start === 5 && this.potentialArrowAt === t.start, o2 = false; ; ) {
912
+ var h = this.parseSubscript(t, e, i, s, a, o2, r);
913
+ if (h.optional && (o2 = true), h === t || h.type === "ArrowFunctionExpression") {
914
+ if (o2) {
915
+ var c = this.startNodeAt(e, i);
916
+ c.expression = h, h = this.finishNode(c, "ChainExpression");
917
+ }
918
+ return h;
919
+ }
920
+ t = h;
921
+ }
922
+ }, x.shouldParseAsyncArrow = function() {
923
+ return !this.canInsertSemicolon() && this.eat(n2.arrow);
924
+ }, x.parseSubscriptAsyncArrow = function(t, e, i, s) {
925
+ return this.parseArrowExpression(this.startNodeAt(t, e), i, true, s);
926
+ }, x.parseSubscript = function(t, e, i, s, r, a, o2) {
927
+ var h = this.options.ecmaVersion >= 11, c = h && this.eat(n2.questionDot);
928
+ s && c && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
929
+ var l = this.eat(n2.bracketL);
930
+ if (l || c && this.type !== n2.parenL && this.type !== n2.backQuote || this.eat(n2.dot)) {
931
+ var p = this.startNodeAt(e, i);
932
+ p.object = t, l ? (p.property = this.parseExpression(), this.expect(n2.bracketR)) : this.type === n2.privateId && t.type !== "Super" ? p.property = this.parsePrivateIdent() : p.property = this.parseIdent(this.options.allowReserved !== "never"), p.computed = !!l, h && (p.optional = c), t = this.finishNode(p, "MemberExpression");
933
+ } else if (!s && this.eat(n2.parenL)) {
934
+ var f = new Nt(), u = this.yieldPos, v = this.awaitPos, w = this.awaitIdentPos;
935
+ this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
936
+ var y = this.parseExprList(n2.parenR, this.options.ecmaVersion >= 8, false, f);
937
+ if (r && !c && this.shouldParseAsyncArrow()) return this.checkPatternErrors(f, false), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = u, this.awaitPos = v, this.awaitIdentPos = w, this.parseSubscriptAsyncArrow(e, i, y, o2);
938
+ this.checkExpressionErrors(f, true), this.yieldPos = u || this.yieldPos, this.awaitPos = v || this.awaitPos, this.awaitIdentPos = w || this.awaitIdentPos;
939
+ var I = this.startNodeAt(e, i);
940
+ I.callee = t, I.arguments = y, h && (I.optional = c), t = this.finishNode(I, "CallExpression");
941
+ } else if (this.type === n2.backQuote) {
942
+ (c || a) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
943
+ var C = this.startNodeAt(e, i);
944
+ C.tag = t, C.quasi = this.parseTemplate({ isTagged: true }), t = this.finishNode(C, "TaggedTemplateExpression");
945
+ }
946
+ return t;
947
+ }, x.parseExprAtom = function(t, e, i) {
948
+ this.type === n2.slash && this.readRegexp();
949
+ var s, r = this.potentialArrowAt === this.start;
950
+ switch (this.type) {
951
+ case n2._super:
952
+ return this.allowSuper || this.raise(this.start, "'super' keyword outside a method"), s = this.startNode(), this.next(), this.type !== n2.parenL || this.allowDirectSuper || this.raise(s.start, "super() call outside constructor of a subclass"), this.type !== n2.dot && this.type !== n2.bracketL && this.type !== n2.parenL && this.unexpected(), this.finishNode(s, "Super");
953
+ case n2._this:
954
+ return s = this.startNode(), this.next(), this.finishNode(s, "ThisExpression");
955
+ case n2.name:
956
+ var a = this.start, o2 = this.startLoc, h = this.containsEsc, c = this.parseIdent(false);
957
+ if (this.options.ecmaVersion >= 8 && !h && c.name === "async" && !this.canInsertSemicolon() && this.eat(n2._function)) return this.overrideContext(R.f_expr), this.parseFunction(this.startNodeAt(a, o2), 0, false, true, e);
958
+ if (r && !this.canInsertSemicolon()) {
959
+ if (this.eat(n2.arrow)) return this.parseArrowExpression(this.startNodeAt(a, o2), [c], false, e);
960
+ if (this.options.ecmaVersion >= 8 && c.name === "async" && this.type === n2.name && !h && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc)) return c = this.parseIdent(false), !this.canInsertSemicolon() && this.eat(n2.arrow) || this.unexpected(), this.parseArrowExpression(this.startNodeAt(a, o2), [c], true, e);
961
+ }
962
+ return c;
963
+ case n2.regexp:
964
+ var l = this.value;
965
+ return (s = this.parseLiteral(l.value)).regex = { pattern: l.pattern, flags: l.flags }, s;
966
+ case n2.num:
967
+ case n2.string:
968
+ return this.parseLiteral(this.value);
969
+ case n2._null:
970
+ case n2._true:
971
+ case n2._false:
972
+ return (s = this.startNode()).value = this.type === n2._null ? null : this.type === n2._true, s.raw = this.type.keyword, this.next(), this.finishNode(s, "Literal");
973
+ case n2.parenL:
974
+ var p = this.start, f = this.parseParenAndDistinguishExpression(r, e);
975
+ return t && (t.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(f) && (t.parenthesizedAssign = p), t.parenthesizedBind < 0 && (t.parenthesizedBind = p)), f;
976
+ case n2.bracketL:
977
+ return s = this.startNode(), this.next(), s.elements = this.parseExprList(n2.bracketR, true, true, t), this.finishNode(s, "ArrayExpression");
978
+ case n2.braceL:
979
+ return this.overrideContext(R.b_expr), this.parseObj(false, t);
980
+ case n2._function:
981
+ return s = this.startNode(), this.next(), this.parseFunction(s, 0);
982
+ case n2._class:
983
+ return this.parseClass(this.startNode(), false);
984
+ case n2._new:
985
+ return this.parseNew();
986
+ case n2.backQuote:
987
+ return this.parseTemplate();
988
+ case n2._import:
989
+ return this.options.ecmaVersion >= 11 ? this.parseExprImport(i) : this.unexpected();
990
+ default:
991
+ return this.parseExprAtomDefault();
992
+ }
993
+ }, x.parseExprAtomDefault = function() {
994
+ this.unexpected();
995
+ }, x.parseExprImport = function(t) {
996
+ var e = this.startNode();
997
+ if (this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword import"), this.next(), this.type === n2.parenL && !t) return this.parseDynamicImport(e);
998
+ if (this.type === n2.dot) {
999
+ var i = this.startNodeAt(e.start, e.loc && e.loc.start);
1000
+ return i.name = "import", e.meta = this.finishNode(i, "Identifier"), this.parseImportMeta(e);
1001
+ }
1002
+ this.unexpected();
1003
+ }, x.parseDynamicImport = function(t) {
1004
+ if (this.next(), t.source = this.parseMaybeAssign(), this.options.ecmaVersion >= 16) this.eat(n2.parenR) ? t.options = null : (this.expect(n2.comma), this.afterTrailingComma(n2.parenR) ? t.options = null : (t.options = this.parseMaybeAssign(), this.eat(n2.parenR) || (this.expect(n2.comma), this.afterTrailingComma(n2.parenR) || this.unexpected())));
1005
+ else if (!this.eat(n2.parenR)) {
1006
+ var e = this.start;
1007
+ this.eat(n2.comma) && this.eat(n2.parenR) ? this.raiseRecoverable(e, "Trailing comma is not allowed in import()") : this.unexpected(e);
1008
+ }
1009
+ return this.finishNode(t, "ImportExpression");
1010
+ }, x.parseImportMeta = function(t) {
1011
+ this.next();
1012
+ var e = this.containsEsc;
1013
+ return t.property = this.parseIdent(true), t.property.name !== "meta" && this.raiseRecoverable(t.property.start, "The only valid meta property for import is 'import.meta'"), e && this.raiseRecoverable(t.start, "'import.meta' must not contain escaped characters"), this.options.sourceType === "module" || this.options.allowImportExportEverywhere || this.raiseRecoverable(t.start, "Cannot use 'import.meta' outside a module"), this.finishNode(t, "MetaProperty");
1014
+ }, x.parseLiteral = function(t) {
1015
+ var e = this.startNode();
1016
+ return e.value = t, e.raw = this.input.slice(this.start, this.end), e.raw.charCodeAt(e.raw.length - 1) === 110 && (e.bigint = e.value != null ? e.value.toString() : e.raw.slice(0, -1).replace(/_/g, "")), this.next(), this.finishNode(e, "Literal");
1017
+ }, x.parseParenExpression = function() {
1018
+ this.expect(n2.parenL);
1019
+ var t = this.parseExpression();
1020
+ return this.expect(n2.parenR), t;
1021
+ }, x.shouldParseArrow = function(t) {
1022
+ return !this.canInsertSemicolon();
1023
+ }, x.parseParenAndDistinguishExpression = function(t, e) {
1024
+ var i, s = this.start, r = this.startLoc, a = this.options.ecmaVersion >= 8;
1025
+ if (this.options.ecmaVersion >= 6) {
1026
+ this.next();
1027
+ var o2, h = this.start, c = this.startLoc, l = [], p = true, f = false, u = new Nt(), v = this.yieldPos, w = this.awaitPos;
1028
+ for (this.yieldPos = 0, this.awaitPos = 0; this.type !== n2.parenR; ) {
1029
+ if (p ? p = false : this.expect(n2.comma), a && this.afterTrailingComma(n2.parenR, true)) {
1030
+ f = true;
1031
+ break;
1032
+ }
1033
+ if (this.type === n2.ellipsis) {
1034
+ o2 = this.start, l.push(this.parseParenItem(this.parseRestBinding())), this.type === n2.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element");
1035
+ break;
1036
+ }
1037
+ l.push(this.parseMaybeAssign(false, u, this.parseParenItem));
1038
+ }
1039
+ var y = this.lastTokEnd, I = this.lastTokEndLoc;
1040
+ if (this.expect(n2.parenR), t && this.shouldParseArrow(l) && this.eat(n2.arrow)) return this.checkPatternErrors(u, false), this.checkYieldAwaitInDefaultParams(), this.yieldPos = v, this.awaitPos = w, this.parseParenArrowList(s, r, l, e);
1041
+ l.length && !f || this.unexpected(this.lastTokStart), o2 && this.unexpected(o2), this.checkExpressionErrors(u, true), this.yieldPos = v || this.yieldPos, this.awaitPos = w || this.awaitPos, l.length > 1 ? ((i = this.startNodeAt(h, c)).expressions = l, this.finishNodeAt(i, "SequenceExpression", y, I)) : i = l[0];
1042
+ } else i = this.parseParenExpression();
1043
+ if (this.options.preserveParens) {
1044
+ var C = this.startNodeAt(s, r);
1045
+ return C.expression = i, this.finishNode(C, "ParenthesizedExpression");
1046
+ }
1047
+ return i;
1048
+ }, x.parseParenItem = function(t) {
1049
+ return t;
1050
+ }, x.parseParenArrowList = function(t, e, i, s) {
1051
+ return this.parseArrowExpression(this.startNodeAt(t, e), i, false, s);
1052
+ };
1053
+ var ss = [];
1054
+ x.parseNew = function() {
1055
+ this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
1056
+ var t = this.startNode();
1057
+ if (this.next(), this.options.ecmaVersion >= 6 && this.type === n2.dot) {
1058
+ var e = this.startNodeAt(t.start, t.loc && t.loc.start);
1059
+ e.name = "new", t.meta = this.finishNode(e, "Identifier"), this.next();
1060
+ var i = this.containsEsc;
1061
+ return t.property = this.parseIdent(true), t.property.name !== "target" && this.raiseRecoverable(t.property.start, "The only valid meta property for new is 'new.target'"), i && this.raiseRecoverable(t.start, "'new.target' must not contain escaped characters"), this.allowNewDotTarget || this.raiseRecoverable(t.start, "'new.target' can only be used in functions and class static block"), this.finishNode(t, "MetaProperty");
1062
+ }
1063
+ var s = this.start, r = this.startLoc;
1064
+ return t.callee = this.parseSubscripts(this.parseExprAtom(null, false, true), s, r, true, false), this.eat(n2.parenL) ? t.arguments = this.parseExprList(n2.parenR, this.options.ecmaVersion >= 8, false) : t.arguments = ss, this.finishNode(t, "NewExpression");
1065
+ }, x.parseTemplateElement = function(t) {
1066
+ var e = t.isTagged, i = this.startNode();
1067
+ return this.type === n2.invalidTemplate ? (e || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), i.value = { raw: this.value.replace(/\r\n?/g, `
1068
+ `), cooked: null }) : i.value = { raw: this.input.slice(this.start, this.end).replace(/\r\n?/g, `
1069
+ `), cooked: this.value }, this.next(), i.tail = this.type === n2.backQuote, this.finishNode(i, "TemplateElement");
1070
+ }, x.parseTemplate = function(t) {
1071
+ t === void 0 && (t = {});
1072
+ var e = t.isTagged;
1073
+ e === void 0 && (e = false);
1074
+ var i = this.startNode();
1075
+ this.next(), i.expressions = [];
1076
+ var s = this.parseTemplateElement({ isTagged: e });
1077
+ for (i.quasis = [s]; !s.tail; ) this.type === n2.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(n2.dollarBraceL), i.expressions.push(this.parseExpression()), this.expect(n2.braceR), i.quasis.push(s = this.parseTemplateElement({ isTagged: e }));
1078
+ return this.next(), this.finishNode(i, "TemplateLiteral");
1079
+ }, x.isAsyncProp = function(t) {
1080
+ return !t.computed && t.key.type === "Identifier" && t.key.name === "async" && (this.type === n2.name || this.type === n2.num || this.type === n2.string || this.type === n2.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === n2.star) && !M.test(this.input.slice(this.lastTokEnd, this.start));
1081
+ }, x.parseObj = function(t, e) {
1082
+ var i = this.startNode(), s = true, r = {};
1083
+ for (i.properties = [], this.next(); !this.eat(n2.braceR); ) {
1084
+ if (s) s = false;
1085
+ else if (this.expect(n2.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(n2.braceR)) break;
1086
+ var a = this.parseProperty(t, e);
1087
+ t || this.checkPropClash(a, r, e), i.properties.push(a);
1088
+ }
1089
+ return this.finishNode(i, t ? "ObjectPattern" : "ObjectExpression");
1090
+ }, x.parseProperty = function(t, e) {
1091
+ var i, s, r, a, o2 = this.startNode();
1092
+ if (this.options.ecmaVersion >= 9 && this.eat(n2.ellipsis)) return t ? (o2.argument = this.parseIdent(false), this.type === n2.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(o2, "RestElement")) : (o2.argument = this.parseMaybeAssign(false, e), this.type === n2.comma && e && e.trailingComma < 0 && (e.trailingComma = this.start), this.finishNode(o2, "SpreadElement"));
1093
+ this.options.ecmaVersion >= 6 && (o2.method = false, o2.shorthand = false, (t || e) && (r = this.start, a = this.startLoc), t || (i = this.eat(n2.star)));
1094
+ var h = this.containsEsc;
1095
+ return this.parsePropertyName(o2), !t && !h && this.options.ecmaVersion >= 8 && !i && this.isAsyncProp(o2) ? (s = true, i = this.options.ecmaVersion >= 9 && this.eat(n2.star), this.parsePropertyName(o2)) : s = false, this.parsePropertyValue(o2, t, i, s, r, a, e, h), this.finishNode(o2, "Property");
1096
+ }, x.parseGetterSetter = function(t) {
1097
+ var e = t.key.name;
1098
+ this.parsePropertyName(t), t.value = this.parseMethod(false), t.kind = e;
1099
+ var i = t.kind === "get" ? 0 : 1;
1100
+ if (t.value.params.length !== i) {
1101
+ var s = t.value.start;
1102
+ t.kind === "get" ? this.raiseRecoverable(s, "getter should have no params") : this.raiseRecoverable(s, "setter should have exactly one param");
1103
+ } else t.kind === "set" && t.value.params[0].type === "RestElement" && this.raiseRecoverable(t.value.params[0].start, "Setter cannot use rest params");
1104
+ }, x.parsePropertyValue = function(t, e, i, s, r, a, o2, h) {
1105
+ (i || s) && this.type === n2.colon && this.unexpected(), this.eat(n2.colon) ? (t.value = e ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(false, o2), t.kind = "init") : this.options.ecmaVersion >= 6 && this.type === n2.parenL ? (e && this.unexpected(), t.method = true, t.value = this.parseMethod(i, s), t.kind = "init") : e || h || !(this.options.ecmaVersion >= 5) || t.computed || t.key.type !== "Identifier" || t.key.name !== "get" && t.key.name !== "set" || this.type === n2.comma || this.type === n2.braceR || this.type === n2.eq ? this.options.ecmaVersion >= 6 && !t.computed && t.key.type === "Identifier" ? ((i || s) && this.unexpected(), this.checkUnreserved(t.key), t.key.name !== "await" || this.awaitIdentPos || (this.awaitIdentPos = r), e ? t.value = this.parseMaybeDefault(r, a, this.copyNode(t.key)) : this.type === n2.eq && o2 ? (o2.shorthandAssign < 0 && (o2.shorthandAssign = this.start), t.value = this.parseMaybeDefault(r, a, this.copyNode(t.key))) : t.value = this.copyNode(t.key), t.kind = "init", t.shorthand = true) : this.unexpected() : ((i || s) && this.unexpected(), this.parseGetterSetter(t));
1106
+ }, x.parsePropertyName = function(t) {
1107
+ if (this.options.ecmaVersion >= 6) {
1108
+ if (this.eat(n2.bracketL)) return t.computed = true, t.key = this.parseMaybeAssign(), this.expect(n2.bracketR), t.key;
1109
+ t.computed = false;
1110
+ }
1111
+ return t.key = this.type === n2.num || this.type === n2.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never");
1112
+ }, x.initFunction = function(t) {
1113
+ t.id = null, this.options.ecmaVersion >= 6 && (t.generator = t.expression = false), this.options.ecmaVersion >= 8 && (t.async = false);
1114
+ }, x.parseMethod = function(t, e, i) {
1115
+ var s = this.startNode(), r = this.yieldPos, a = this.awaitPos, o2 = this.awaitIdentPos;
1116
+ return this.initFunction(s), this.options.ecmaVersion >= 6 && (s.generator = t), this.options.ecmaVersion >= 8 && (s.async = !!e), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(64 | Qt(e, s.generator) | (i ? 128 : 0)), this.expect(n2.parenL), s.params = this.parseBindingList(n2.parenR, false, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(s, false, true, false), this.yieldPos = r, this.awaitPos = a, this.awaitIdentPos = o2, this.finishNode(s, "FunctionExpression");
1117
+ }, x.parseArrowExpression = function(t, e, i, s) {
1118
+ var r = this.yieldPos, a = this.awaitPos, o2 = this.awaitIdentPos;
1119
+ return this.enterScope(16 | Qt(i, false)), this.initFunction(t), this.options.ecmaVersion >= 8 && (t.async = !!i), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, t.params = this.toAssignableList(e, true), this.parseFunctionBody(t, true, false, s), this.yieldPos = r, this.awaitPos = a, this.awaitIdentPos = o2, this.finishNode(t, "ArrowFunctionExpression");
1120
+ }, x.parseFunctionBody = function(t, e, i, s) {
1121
+ var r = e && this.type !== n2.braceL, a = this.strict, o2 = false;
1122
+ if (r) t.body = this.parseMaybeAssign(s), t.expression = true, this.checkParams(t, false);
1123
+ else {
1124
+ var h = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(t.params);
1125
+ a && !h || (o2 = this.strictDirective(this.end)) && h && this.raiseRecoverable(t.start, "Illegal 'use strict' directive in function with non-simple parameter list");
1126
+ var c = this.labels;
1127
+ this.labels = [], o2 && (this.strict = true), this.checkParams(t, !a && !o2 && !e && !i && this.isSimpleParamList(t.params)), this.strict && t.id && this.checkLValSimple(t.id, 5), t.body = this.parseBlock(false, void 0, o2 && !a), t.expression = false, this.adaptDirectivePrologue(t.body.body), this.labels = c;
1128
+ }
1129
+ this.exitScope();
1130
+ }, x.isSimpleParamList = function(t) {
1131
+ for (var e = 0, i = t; e < i.length; e += 1) if (i[e].type !== "Identifier") return false;
1132
+ return true;
1133
+ }, x.checkParams = function(t, e) {
1134
+ for (var i = /* @__PURE__ */ Object.create(null), s = 0, r = t.params; s < r.length; s += 1) {
1135
+ var a = r[s];
1136
+ this.checkLValInnerPattern(a, 1, e ? null : i);
1137
+ }
1138
+ }, x.parseExprList = function(t, e, i, s) {
1139
+ for (var r = [], a = true; !this.eat(t); ) {
1140
+ if (a) a = false;
1141
+ else if (this.expect(n2.comma), e && this.afterTrailingComma(t)) break;
1142
+ var o2 = void 0;
1143
+ i && this.type === n2.comma ? o2 = null : this.type === n2.ellipsis ? (o2 = this.parseSpread(s), s && this.type === n2.comma && s.trailingComma < 0 && (s.trailingComma = this.start)) : o2 = this.parseMaybeAssign(false, s), r.push(o2);
1144
+ }
1145
+ return r;
1146
+ }, x.checkUnreserved = function(t) {
1147
+ var e = t.start, i = t.end, s = t.name;
1148
+ this.inGenerator && s === "yield" && this.raiseRecoverable(e, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && s === "await" && this.raiseRecoverable(e, "Cannot use 'await' as identifier inside an async function"), this.currentThisScope().flags & Pe || s !== "arguments" || this.raiseRecoverable(e, "Cannot use 'arguments' in class field initializer"), !this.inClassStaticBlock || s !== "arguments" && s !== "await" || this.raise(e, "Cannot use " + s + " in class static initialization block"), this.keywords.test(s) && this.raise(e, "Unexpected keyword '" + s + "'"), this.options.ecmaVersion < 6 && this.input.slice(e, i).indexOf("\\") !== -1 || (this.strict ? this.reservedWordsStrict : this.reservedWords).test(s) && (this.inAsync || s !== "await" || this.raiseRecoverable(e, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(e, "The keyword '" + s + "' is reserved"));
1149
+ }, x.parseIdent = function(t) {
1150
+ var e = this.parseIdentNode();
1151
+ return this.next(!!t), this.finishNode(e, "Identifier"), t || (this.checkUnreserved(e), e.name !== "await" || this.awaitIdentPos || (this.awaitIdentPos = e.start)), e;
1152
+ }, x.parseIdentNode = function() {
1153
+ var t = this.startNode();
1154
+ return this.type === n2.name ? t.name = this.value : this.type.keyword ? (t.name = this.type.keyword, t.name !== "class" && t.name !== "function" || this.lastTokEnd === this.lastTokStart + 1 && this.input.charCodeAt(this.lastTokStart) === 46 || this.context.pop(), this.type = n2.name) : this.unexpected(), t;
1155
+ }, x.parsePrivateIdent = function() {
1156
+ var t = this.startNode();
1157
+ return this.type === n2.privateId ? t.name = this.value : this.unexpected(), this.next(), this.finishNode(t, "PrivateIdentifier"), this.options.checkPrivateFields && (this.privateNameStack.length === 0 ? this.raise(t.start, "Private field '#" + t.name + "' must be declared in an enclosing class") : this.privateNameStack[this.privateNameStack.length - 1].used.push(t)), t;
1158
+ }, x.parseYield = function(t) {
1159
+ this.yieldPos || (this.yieldPos = this.start);
1160
+ var e = this.startNode();
1161
+ return this.next(), this.type === n2.semi || this.canInsertSemicolon() || this.type !== n2.star && !this.type.startsExpr ? (e.delegate = false, e.argument = null) : (e.delegate = this.eat(n2.star), e.argument = this.parseMaybeAssign(t)), this.finishNode(e, "YieldExpression");
1162
+ }, x.parseAwait = function(t) {
1163
+ this.awaitPos || (this.awaitPos = this.start);
1164
+ var e = this.startNode();
1165
+ return this.next(), e.argument = this.parseMaybeUnary(null, true, false, t), this.finishNode(e, "AwaitExpression");
1166
+ };
1167
+ var Ot = N.prototype;
1168
+ Ot.raise = function(t, e) {
1169
+ var i = Ae(this.input, t);
1170
+ e += " (" + i.line + ":" + i.column + ")", this.sourceFile && (e += " in " + this.sourceFile);
1171
+ var s = new SyntaxError(e);
1172
+ throw s.pos = t, s.loc = i, s.raisedAt = this.pos, s;
1173
+ }, Ot.raiseRecoverable = Ot.raise, Ot.curPosition = function() {
1174
+ if (this.options.locations) return new St(this.curLine, this.pos - this.lineStart);
1175
+ };
1176
+ var et = N.prototype, rs = function(t) {
1177
+ this.flags = t, this.var = [], this.lexical = [], this.functions = [];
1178
+ };
1179
+ et.enterScope = function(t) {
1180
+ this.scopeStack.push(new rs(t));
1181
+ }, et.exitScope = function() {
1182
+ this.scopeStack.pop();
1183
+ }, et.treatFunctionsAsVarInScope = function(t) {
1184
+ return 2 & t.flags || !this.inModule && 1 & t.flags;
1185
+ }, et.declareName = function(t, e, i) {
1186
+ var s = false;
1187
+ if (e === 2) {
1188
+ var r = this.currentScope();
1189
+ s = r.lexical.indexOf(t) > -1 || r.functions.indexOf(t) > -1 || r.var.indexOf(t) > -1, r.lexical.push(t), this.inModule && 1 & r.flags && delete this.undefinedExports[t];
1190
+ } else if (e === 4) this.currentScope().lexical.push(t);
1191
+ else if (e === 3) {
1192
+ var a = this.currentScope();
1193
+ s = this.treatFunctionsAsVar ? a.lexical.indexOf(t) > -1 : a.lexical.indexOf(t) > -1 || a.var.indexOf(t) > -1, a.functions.push(t);
1194
+ } else for (var o2 = this.scopeStack.length - 1; o2 >= 0; --o2) {
1195
+ var h = this.scopeStack[o2];
1196
+ if (h.lexical.indexOf(t) > -1 && !(32 & h.flags && h.lexical[0] === t) || !this.treatFunctionsAsVarInScope(h) && h.functions.indexOf(t) > -1) {
1197
+ s = true;
1198
+ break;
1199
+ }
1200
+ if (h.var.push(t), this.inModule && 1 & h.flags && delete this.undefinedExports[t], h.flags & Pe) break;
1201
+ }
1202
+ s && this.raiseRecoverable(i, "Identifier '" + t + "' has already been declared");
1203
+ }, et.checkLocalExport = function(t) {
1204
+ this.scopeStack[0].lexical.indexOf(t.name) === -1 && this.scopeStack[0].var.indexOf(t.name) === -1 && (this.undefinedExports[t.name] = t);
1205
+ }, et.currentScope = function() {
1206
+ return this.scopeStack[this.scopeStack.length - 1];
1207
+ }, et.currentVarScope = function() {
1208
+ for (var t = this.scopeStack.length - 1; ; t--) {
1209
+ var e = this.scopeStack[t];
1210
+ if (771 & e.flags) return e;
1211
+ }
1212
+ }, et.currentThisScope = function() {
1213
+ for (var t = this.scopeStack.length - 1; ; t--) {
1214
+ var e = this.scopeStack[t];
1215
+ if (771 & e.flags && !(16 & e.flags)) return e;
1216
+ }
1217
+ };
1218
+ var Dt = function(t, e, i) {
1219
+ this.type = "", this.start = e, this.end = 0, t.options.locations && (this.loc = new Pt(t, i)), t.options.directSourceFile && (this.sourceFile = t.options.directSourceFile), t.options.ranges && (this.range = [e, 0]);
1220
+ }, It = N.prototype;
1221
+ function Le(t, e, i, s) {
1222
+ return t.type = e, t.end = i, this.options.locations && (t.loc.end = s), this.options.ranges && (t.range[1] = i), t;
1223
+ }
1224
+ It.startNode = function() {
1225
+ return new Dt(this, this.start, this.startLoc);
1226
+ }, It.startNodeAt = function(t, e) {
1227
+ return new Dt(this, t, e);
1228
+ }, It.finishNode = function(t, e) {
1229
+ return Le.call(this, t, e, this.lastTokEnd, this.lastTokEndLoc);
1230
+ }, It.finishNodeAt = function(t, e, i, s) {
1231
+ return Le.call(this, t, e, i, s);
1232
+ }, It.copyNode = function(t) {
1233
+ var e = new Dt(this, t.start, this.startLoc);
1234
+ for (var i in t) e[i] = t[i];
1235
+ return e;
1236
+ };
1237
+ var Oe = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", ee = Oe + " Extended_Pictographic", ie = ee + " EBase EComp EMod EPres ExtPict", ns = { 9: Oe, 10: ee, 11: ee, 12: ie, 13: ie, 14: ie }, as = { 9: "", 10: "", 11: "", 12: "", 13: "", 14: "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji" }, De = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", Ve = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", Ue = Ve + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", Me = Ue + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", je = Me + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Be = je + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", os = { 9: Ve, 10: Ue, 11: Me, 12: je, 13: Be, 14: Be + " Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz" }, Fe = {};
1238
+ function hs(t) {
1239
+ var e = Fe[t] = { binary: tt(ns[t] + " " + De), binaryOfStrings: tt(as[t]), nonBinary: { General_Category: tt(De), Script: tt(os[t]) } };
1240
+ e.nonBinary.Script_Extensions = e.nonBinary.Script, e.nonBinary.gc = e.nonBinary.General_Category, e.nonBinary.sc = e.nonBinary.Script, e.nonBinary.scx = e.nonBinary.Script_Extensions;
1241
+ }
1242
+ for (var se = 0, $e = [9, 10, 11, 12, 13, 14]; se < $e.length; se += 1) hs($e[se]);
1243
+ var d = N.prototype, Vt = function(t, e) {
1244
+ this.parent = t, this.base = e || this;
1245
+ };
1246
+ Vt.prototype.separatedFrom = function(t) {
1247
+ for (var e = this; e; e = e.parent) for (var i = t; i; i = i.parent) if (e.base === i.base && e !== i) return true;
1248
+ return false;
1249
+ }, Vt.prototype.sibling = function() {
1250
+ return new Vt(this.parent, this.base);
1251
+ };
1252
+ var J = function(t) {
1253
+ this.parser = t, this.validFlags = "gim" + (t.options.ecmaVersion >= 6 ? "uy" : "") + (t.options.ecmaVersion >= 9 ? "s" : "") + (t.options.ecmaVersion >= 13 ? "d" : "") + (t.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = Fe[t.options.ecmaVersion >= 14 ? 14 : t.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = false, this.switchV = false, this.switchN = false, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = false, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
1254
+ };
1255
+ function cs(t) {
1256
+ return t === 105 || t === 109 || t === 115;
1257
+ }
1258
+ function qe(t) {
1259
+ return t === 36 || t >= 40 && t <= 43 || t === 46 || t === 63 || t >= 91 && t <= 94 || t >= 123 && t <= 125;
1260
+ }
1261
+ function We(t) {
1262
+ return t >= 65 && t <= 90 || t >= 97 && t <= 122;
1263
+ }
1264
+ J.prototype.reset = function(t, e, i) {
1265
+ var s = i.indexOf("v") !== -1, r = i.indexOf("u") !== -1;
1266
+ this.start = 0 | t, this.source = e + "", this.flags = i, s && this.parser.options.ecmaVersion >= 15 ? (this.switchU = true, this.switchV = true, this.switchN = true) : (this.switchU = r && this.parser.options.ecmaVersion >= 6, this.switchV = false, this.switchN = r && this.parser.options.ecmaVersion >= 9);
1267
+ }, J.prototype.raise = function(t) {
1268
+ this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + t);
1269
+ }, J.prototype.at = function(t, e) {
1270
+ e === void 0 && (e = false);
1271
+ var i = this.source, s = i.length;
1272
+ if (t >= s) return -1;
1273
+ var r = i.charCodeAt(t);
1274
+ if (!e && !this.switchU || r <= 55295 || r >= 57344 || t + 1 >= s) return r;
1275
+ var a = i.charCodeAt(t + 1);
1276
+ return a >= 56320 && a <= 57343 ? (r << 10) + a - 56613888 : r;
1277
+ }, J.prototype.nextIndex = function(t, e) {
1278
+ e === void 0 && (e = false);
1279
+ var i = this.source, s = i.length;
1280
+ if (t >= s) return s;
1281
+ var r, a = i.charCodeAt(t);
1282
+ return !e && !this.switchU || a <= 55295 || a >= 57344 || t + 1 >= s || (r = i.charCodeAt(t + 1)) < 56320 || r > 57343 ? t + 1 : t + 2;
1283
+ }, J.prototype.current = function(t) {
1284
+ return t === void 0 && (t = false), this.at(this.pos, t);
1285
+ }, J.prototype.lookahead = function(t) {
1286
+ return t === void 0 && (t = false), this.at(this.nextIndex(this.pos, t), t);
1287
+ }, J.prototype.advance = function(t) {
1288
+ t === void 0 && (t = false), this.pos = this.nextIndex(this.pos, t);
1289
+ }, J.prototype.eat = function(t, e) {
1290
+ return e === void 0 && (e = false), this.current(e) === t && (this.advance(e), true);
1291
+ }, J.prototype.eatChars = function(t, e) {
1292
+ e === void 0 && (e = false);
1293
+ for (var i = this.pos, s = 0, r = t; s < r.length; s += 1) {
1294
+ var a = r[s], o2 = this.at(i, e);
1295
+ if (o2 === -1 || o2 !== a) return false;
1296
+ i = this.nextIndex(i, e);
1297
+ }
1298
+ return this.pos = i, true;
1299
+ }, d.validateRegExpFlags = function(t) {
1300
+ for (var e = t.validFlags, i = t.flags, s = false, r = false, a = 0; a < i.length; a++) {
1301
+ var o2 = i.charAt(a);
1302
+ e.indexOf(o2) === -1 && this.raise(t.start, "Invalid regular expression flag"), i.indexOf(o2, a + 1) > -1 && this.raise(t.start, "Duplicate regular expression flag"), o2 === "u" && (s = true), o2 === "v" && (r = true);
1303
+ }
1304
+ this.options.ecmaVersion >= 15 && s && r && this.raise(t.start, "Invalid regular expression flag");
1305
+ }, d.validateRegExpPattern = function(t) {
1306
+ this.regexp_pattern(t), !t.switchN && this.options.ecmaVersion >= 9 && (function(e) {
1307
+ for (var i in e) return true;
1308
+ return false;
1309
+ })(t.groupNames) && (t.switchN = true, this.regexp_pattern(t));
1310
+ }, d.regexp_pattern = function(t) {
1311
+ t.pos = 0, t.lastIntValue = 0, t.lastStringValue = "", t.lastAssertionIsQuantifiable = false, t.numCapturingParens = 0, t.maxBackReference = 0, t.groupNames = /* @__PURE__ */ Object.create(null), t.backReferenceNames.length = 0, t.branchID = null, this.regexp_disjunction(t), t.pos !== t.source.length && (t.eat(41) && t.raise("Unmatched ')'"), (t.eat(93) || t.eat(125)) && t.raise("Lone quantifier brackets")), t.maxBackReference > t.numCapturingParens && t.raise("Invalid escape");
1312
+ for (var e = 0, i = t.backReferenceNames; e < i.length; e += 1) {
1313
+ var s = i[e];
1314
+ t.groupNames[s] || t.raise("Invalid named capture referenced");
1315
+ }
1316
+ }, d.regexp_disjunction = function(t) {
1317
+ var e = this.options.ecmaVersion >= 16;
1318
+ for (e && (t.branchID = new Vt(t.branchID, null)), this.regexp_alternative(t); t.eat(124); ) e && (t.branchID = t.branchID.sibling()), this.regexp_alternative(t);
1319
+ e && (t.branchID = t.branchID.parent), this.regexp_eatQuantifier(t, true) && t.raise("Nothing to repeat"), t.eat(123) && t.raise("Lone quantifier brackets");
1320
+ }, d.regexp_alternative = function(t) {
1321
+ for (; t.pos < t.source.length && this.regexp_eatTerm(t); ) ;
1322
+ }, d.regexp_eatTerm = function(t) {
1323
+ return this.regexp_eatAssertion(t) ? (t.lastAssertionIsQuantifiable && this.regexp_eatQuantifier(t) && t.switchU && t.raise("Invalid quantifier"), true) : !!(t.switchU ? this.regexp_eatAtom(t) : this.regexp_eatExtendedAtom(t)) && (this.regexp_eatQuantifier(t), true);
1324
+ }, d.regexp_eatAssertion = function(t) {
1325
+ var e = t.pos;
1326
+ if (t.lastAssertionIsQuantifiable = false, t.eat(94) || t.eat(36)) return true;
1327
+ if (t.eat(92)) {
1328
+ if (t.eat(66) || t.eat(98)) return true;
1329
+ t.pos = e;
1330
+ }
1331
+ if (t.eat(40) && t.eat(63)) {
1332
+ var i = false;
1333
+ if (this.options.ecmaVersion >= 9 && (i = t.eat(60)), t.eat(61) || t.eat(33)) return this.regexp_disjunction(t), t.eat(41) || t.raise("Unterminated group"), t.lastAssertionIsQuantifiable = !i, true;
1334
+ }
1335
+ return t.pos = e, false;
1336
+ }, d.regexp_eatQuantifier = function(t, e) {
1337
+ return e === void 0 && (e = false), !!this.regexp_eatQuantifierPrefix(t, e) && (t.eat(63), true);
1338
+ }, d.regexp_eatQuantifierPrefix = function(t, e) {
1339
+ return t.eat(42) || t.eat(43) || t.eat(63) || this.regexp_eatBracedQuantifier(t, e);
1340
+ }, d.regexp_eatBracedQuantifier = function(t, e) {
1341
+ var i = t.pos;
1342
+ if (t.eat(123)) {
1343
+ var s = 0, r = -1;
1344
+ if (this.regexp_eatDecimalDigits(t) && (s = t.lastIntValue, t.eat(44) && this.regexp_eatDecimalDigits(t) && (r = t.lastIntValue), t.eat(125))) return r !== -1 && r < s && !e && t.raise("numbers out of order in {} quantifier"), true;
1345
+ t.switchU && !e && t.raise("Incomplete quantifier"), t.pos = i;
1346
+ }
1347
+ return false;
1348
+ }, d.regexp_eatAtom = function(t) {
1349
+ return this.regexp_eatPatternCharacters(t) || t.eat(46) || this.regexp_eatReverseSolidusAtomEscape(t) || this.regexp_eatCharacterClass(t) || this.regexp_eatUncapturingGroup(t) || this.regexp_eatCapturingGroup(t);
1350
+ }, d.regexp_eatReverseSolidusAtomEscape = function(t) {
1351
+ var e = t.pos;
1352
+ if (t.eat(92)) {
1353
+ if (this.regexp_eatAtomEscape(t)) return true;
1354
+ t.pos = e;
1355
+ }
1356
+ return false;
1357
+ }, d.regexp_eatUncapturingGroup = function(t) {
1358
+ var e = t.pos;
1359
+ if (t.eat(40)) {
1360
+ if (t.eat(63)) {
1361
+ if (this.options.ecmaVersion >= 16) {
1362
+ var i = this.regexp_eatModifiers(t), s = t.eat(45);
1363
+ if (i || s) {
1364
+ for (var r = 0; r < i.length; r++) {
1365
+ var a = i.charAt(r);
1366
+ i.indexOf(a, r + 1) > -1 && t.raise("Duplicate regular expression modifiers");
1367
+ }
1368
+ if (s) {
1369
+ var o2 = this.regexp_eatModifiers(t);
1370
+ i || o2 || t.current() !== 58 || t.raise("Invalid regular expression modifiers");
1371
+ for (var h = 0; h < o2.length; h++) {
1372
+ var c = o2.charAt(h);
1373
+ (o2.indexOf(c, h + 1) > -1 || i.indexOf(c) > -1) && t.raise("Duplicate regular expression modifiers");
1374
+ }
1375
+ }
1376
+ }
1377
+ }
1378
+ if (t.eat(58)) {
1379
+ if (this.regexp_disjunction(t), t.eat(41)) return true;
1380
+ t.raise("Unterminated group");
1381
+ }
1382
+ }
1383
+ t.pos = e;
1384
+ }
1385
+ return false;
1386
+ }, d.regexp_eatCapturingGroup = function(t) {
1387
+ if (t.eat(40)) {
1388
+ if (this.options.ecmaVersion >= 9 ? this.regexp_groupSpecifier(t) : t.current() === 63 && t.raise("Invalid group"), this.regexp_disjunction(t), t.eat(41)) return t.numCapturingParens += 1, true;
1389
+ t.raise("Unterminated group");
1390
+ }
1391
+ return false;
1392
+ }, d.regexp_eatModifiers = function(t) {
1393
+ for (var e = "", i = 0; (i = t.current()) !== -1 && cs(i); ) e += Q(i), t.advance();
1394
+ return e;
1395
+ }, d.regexp_eatExtendedAtom = function(t) {
1396
+ return t.eat(46) || this.regexp_eatReverseSolidusAtomEscape(t) || this.regexp_eatCharacterClass(t) || this.regexp_eatUncapturingGroup(t) || this.regexp_eatCapturingGroup(t) || this.regexp_eatInvalidBracedQuantifier(t) || this.regexp_eatExtendedPatternCharacter(t);
1397
+ }, d.regexp_eatInvalidBracedQuantifier = function(t) {
1398
+ return this.regexp_eatBracedQuantifier(t, true) && t.raise("Nothing to repeat"), false;
1399
+ }, d.regexp_eatSyntaxCharacter = function(t) {
1400
+ var e = t.current();
1401
+ return !!qe(e) && (t.lastIntValue = e, t.advance(), true);
1402
+ }, d.regexp_eatPatternCharacters = function(t) {
1403
+ for (var e = t.pos, i = 0; (i = t.current()) !== -1 && !qe(i); ) t.advance();
1404
+ return t.pos !== e;
1405
+ }, d.regexp_eatExtendedPatternCharacter = function(t) {
1406
+ var e = t.current();
1407
+ return !(e === -1 || e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e === 91 || e === 94 || e === 124) && (t.advance(), true);
1408
+ }, d.regexp_groupSpecifier = function(t) {
1409
+ if (t.eat(63)) {
1410
+ this.regexp_eatGroupName(t) || t.raise("Invalid group");
1411
+ var e = this.options.ecmaVersion >= 16, i = t.groupNames[t.lastStringValue];
1412
+ if (i) if (e) for (var s = 0, r = i; s < r.length; s += 1) r[s].separatedFrom(t.branchID) || t.raise("Duplicate capture group name");
1413
+ else t.raise("Duplicate capture group name");
1414
+ e ? (i || (t.groupNames[t.lastStringValue] = [])).push(t.branchID) : t.groupNames[t.lastStringValue] = true;
1415
+ }
1416
+ }, d.regexp_eatGroupName = function(t) {
1417
+ if (t.lastStringValue = "", t.eat(60)) {
1418
+ if (this.regexp_eatRegExpIdentifierName(t) && t.eat(62)) return true;
1419
+ t.raise("Invalid capture group name");
1420
+ }
1421
+ return false;
1422
+ }, d.regexp_eatRegExpIdentifierName = function(t) {
1423
+ if (t.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(t)) {
1424
+ for (t.lastStringValue += Q(t.lastIntValue); this.regexp_eatRegExpIdentifierPart(t); ) t.lastStringValue += Q(t.lastIntValue);
1425
+ return true;
1426
+ }
1427
+ return false;
1428
+ }, d.regexp_eatRegExpIdentifierStart = function(t) {
1429
+ var e = t.pos, i = this.options.ecmaVersion >= 11, s = t.current(i);
1430
+ return t.advance(i), s === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, i) && (s = t.lastIntValue), (function(r) {
1431
+ return K(r, true) || r === 36 || r === 95;
1432
+ })(s) ? (t.lastIntValue = s, true) : (t.pos = e, false);
1433
+ }, d.regexp_eatRegExpIdentifierPart = function(t) {
1434
+ var e = t.pos, i = this.options.ecmaVersion >= 11, s = t.current(i);
1435
+ return t.advance(i), s === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, i) && (s = t.lastIntValue), (function(r) {
1436
+ return X(r, true) || r === 36 || r === 95 || r === 8204 || r === 8205;
1437
+ })(s) ? (t.lastIntValue = s, true) : (t.pos = e, false);
1438
+ }, d.regexp_eatAtomEscape = function(t) {
1439
+ return !!(this.regexp_eatBackReference(t) || this.regexp_eatCharacterClassEscape(t) || this.regexp_eatCharacterEscape(t) || t.switchN && this.regexp_eatKGroupName(t)) || (t.switchU && (t.current() === 99 && t.raise("Invalid unicode escape"), t.raise("Invalid escape")), false);
1440
+ }, d.regexp_eatBackReference = function(t) {
1441
+ var e = t.pos;
1442
+ if (this.regexp_eatDecimalEscape(t)) {
1443
+ var i = t.lastIntValue;
1444
+ if (t.switchU) return i > t.maxBackReference && (t.maxBackReference = i), true;
1445
+ if (i <= t.numCapturingParens) return true;
1446
+ t.pos = e;
1447
+ }
1448
+ return false;
1449
+ }, d.regexp_eatKGroupName = function(t) {
1450
+ if (t.eat(107)) {
1451
+ if (this.regexp_eatGroupName(t)) return t.backReferenceNames.push(t.lastStringValue), true;
1452
+ t.raise("Invalid named reference");
1453
+ }
1454
+ return false;
1455
+ }, d.regexp_eatCharacterEscape = function(t) {
1456
+ return this.regexp_eatControlEscape(t) || this.regexp_eatCControlLetter(t) || this.regexp_eatZero(t) || this.regexp_eatHexEscapeSequence(t) || this.regexp_eatRegExpUnicodeEscapeSequence(t, false) || !t.switchU && this.regexp_eatLegacyOctalEscapeSequence(t) || this.regexp_eatIdentityEscape(t);
1457
+ }, d.regexp_eatCControlLetter = function(t) {
1458
+ var e = t.pos;
1459
+ if (t.eat(99)) {
1460
+ if (this.regexp_eatControlLetter(t)) return true;
1461
+ t.pos = e;
1462
+ }
1463
+ return false;
1464
+ }, d.regexp_eatZero = function(t) {
1465
+ return t.current() === 48 && !Ut(t.lookahead()) && (t.lastIntValue = 0, t.advance(), true);
1466
+ }, d.regexp_eatControlEscape = function(t) {
1467
+ var e = t.current();
1468
+ return e === 116 ? (t.lastIntValue = 9, t.advance(), true) : e === 110 ? (t.lastIntValue = 10, t.advance(), true) : e === 118 ? (t.lastIntValue = 11, t.advance(), true) : e === 102 ? (t.lastIntValue = 12, t.advance(), true) : e === 114 && (t.lastIntValue = 13, t.advance(), true);
1469
+ }, d.regexp_eatControlLetter = function(t) {
1470
+ var e = t.current();
1471
+ return !!We(e) && (t.lastIntValue = e % 32, t.advance(), true);
1472
+ }, d.regexp_eatRegExpUnicodeEscapeSequence = function(t, e) {
1473
+ e === void 0 && (e = false);
1474
+ var i, s = t.pos, r = e || t.switchU;
1475
+ if (t.eat(117)) {
1476
+ if (this.regexp_eatFixedHexDigits(t, 4)) {
1477
+ var a = t.lastIntValue;
1478
+ if (r && a >= 55296 && a <= 56319) {
1479
+ var o2 = t.pos;
1480
+ if (t.eat(92) && t.eat(117) && this.regexp_eatFixedHexDigits(t, 4)) {
1481
+ var h = t.lastIntValue;
1482
+ if (h >= 56320 && h <= 57343) return t.lastIntValue = 1024 * (a - 55296) + (h - 56320) + 65536, true;
1483
+ }
1484
+ t.pos = o2, t.lastIntValue = a;
1485
+ }
1486
+ return true;
1487
+ }
1488
+ if (r && t.eat(123) && this.regexp_eatHexDigits(t) && t.eat(125) && (i = t.lastIntValue) >= 0 && i <= 1114111) return true;
1489
+ r && t.raise("Invalid unicode escape"), t.pos = s;
1490
+ }
1491
+ return false;
1492
+ }, d.regexp_eatIdentityEscape = function(t) {
1493
+ if (t.switchU) return !!this.regexp_eatSyntaxCharacter(t) || !!t.eat(47) && (t.lastIntValue = 47, true);
1494
+ var e = t.current();
1495
+ return !(e === 99 || t.switchN && e === 107) && (t.lastIntValue = e, t.advance(), true);
1496
+ }, d.regexp_eatDecimalEscape = function(t) {
1497
+ t.lastIntValue = 0;
1498
+ var e = t.current();
1499
+ if (e >= 49 && e <= 57) {
1500
+ do
1501
+ t.lastIntValue = 10 * t.lastIntValue + (e - 48), t.advance();
1502
+ while ((e = t.current()) >= 48 && e <= 57);
1503
+ return true;
1504
+ }
1505
+ return false;
1506
+ };
1507
+ function Ge(t) {
1508
+ return We(t) || t === 95;
1509
+ }
1510
+ function ps(t) {
1511
+ return Ge(t) || Ut(t);
1512
+ }
1513
+ function Ut(t) {
1514
+ return t >= 48 && t <= 57;
1515
+ }
1516
+ function He(t) {
1517
+ return t >= 48 && t <= 57 || t >= 65 && t <= 70 || t >= 97 && t <= 102;
1518
+ }
1519
+ function Ke(t) {
1520
+ return t >= 65 && t <= 70 ? t - 65 + 10 : t >= 97 && t <= 102 ? t - 97 + 10 : t - 48;
1521
+ }
1522
+ function ze(t) {
1523
+ return t >= 48 && t <= 55;
1524
+ }
1525
+ d.regexp_eatCharacterClassEscape = function(t) {
1526
+ var e = t.current();
1527
+ if (/* @__PURE__ */ (function(r) {
1528
+ return r === 100 || r === 68 || r === 115 || r === 83 || r === 119 || r === 87;
1529
+ })(e)) return t.lastIntValue = -1, t.advance(), 1;
1530
+ var i = false;
1531
+ if (t.switchU && this.options.ecmaVersion >= 9 && ((i = e === 80) || e === 112)) {
1532
+ var s;
1533
+ if (t.lastIntValue = -1, t.advance(), t.eat(123) && (s = this.regexp_eatUnicodePropertyValueExpression(t)) && t.eat(125)) return i && s === 2 && t.raise("Invalid property name"), s;
1534
+ t.raise("Invalid property name");
1535
+ }
1536
+ return 0;
1537
+ }, d.regexp_eatUnicodePropertyValueExpression = function(t) {
1538
+ var e = t.pos;
1539
+ if (this.regexp_eatUnicodePropertyName(t) && t.eat(61)) {
1540
+ var i = t.lastStringValue;
1541
+ if (this.regexp_eatUnicodePropertyValue(t)) {
1542
+ var s = t.lastStringValue;
1543
+ return this.regexp_validateUnicodePropertyNameAndValue(t, i, s), 1;
1544
+ }
1545
+ }
1546
+ if (t.pos = e, this.regexp_eatLoneUnicodePropertyNameOrValue(t)) {
1547
+ var r = t.lastStringValue;
1548
+ return this.regexp_validateUnicodePropertyNameOrValue(t, r);
1549
+ }
1550
+ return 0;
1551
+ }, d.regexp_validateUnicodePropertyNameAndValue = function(t, e, i) {
1552
+ ft(t.unicodeProperties.nonBinary, e) || t.raise("Invalid property name"), t.unicodeProperties.nonBinary[e].test(i) || t.raise("Invalid property value");
1553
+ }, d.regexp_validateUnicodePropertyNameOrValue = function(t, e) {
1554
+ return t.unicodeProperties.binary.test(e) ? 1 : t.switchV && t.unicodeProperties.binaryOfStrings.test(e) ? 2 : void t.raise("Invalid property name");
1555
+ }, d.regexp_eatUnicodePropertyName = function(t) {
1556
+ var e = 0;
1557
+ for (t.lastStringValue = ""; Ge(e = t.current()); ) t.lastStringValue += Q(e), t.advance();
1558
+ return t.lastStringValue !== "";
1559
+ }, d.regexp_eatUnicodePropertyValue = function(t) {
1560
+ var e = 0;
1561
+ for (t.lastStringValue = ""; ps(e = t.current()); ) t.lastStringValue += Q(e), t.advance();
1562
+ return t.lastStringValue !== "";
1563
+ }, d.regexp_eatLoneUnicodePropertyNameOrValue = function(t) {
1564
+ return this.regexp_eatUnicodePropertyValue(t);
1565
+ }, d.regexp_eatCharacterClass = function(t) {
1566
+ if (t.eat(91)) {
1567
+ var e = t.eat(94), i = this.regexp_classContents(t);
1568
+ return t.eat(93) || t.raise("Unterminated character class"), e && i === 2 && t.raise("Negated character class may contain strings"), true;
1569
+ }
1570
+ return false;
1571
+ }, d.regexp_classContents = function(t) {
1572
+ return t.current() === 93 ? 1 : t.switchV ? this.regexp_classSetExpression(t) : (this.regexp_nonEmptyClassRanges(t), 1);
1573
+ }, d.regexp_nonEmptyClassRanges = function(t) {
1574
+ for (; this.regexp_eatClassAtom(t); ) {
1575
+ var e = t.lastIntValue;
1576
+ if (t.eat(45) && this.regexp_eatClassAtom(t)) {
1577
+ var i = t.lastIntValue;
1578
+ !t.switchU || e !== -1 && i !== -1 || t.raise("Invalid character class"), e !== -1 && i !== -1 && e > i && t.raise("Range out of order in character class");
1579
+ }
1580
+ }
1581
+ }, d.regexp_eatClassAtom = function(t) {
1582
+ var e = t.pos;
1583
+ if (t.eat(92)) {
1584
+ if (this.regexp_eatClassEscape(t)) return true;
1585
+ if (t.switchU) {
1586
+ var i = t.current();
1587
+ (i === 99 || ze(i)) && t.raise("Invalid class escape"), t.raise("Invalid escape");
1588
+ }
1589
+ t.pos = e;
1590
+ }
1591
+ var s = t.current();
1592
+ return s !== 93 && (t.lastIntValue = s, t.advance(), true);
1593
+ }, d.regexp_eatClassEscape = function(t) {
1594
+ var e = t.pos;
1595
+ if (t.eat(98)) return t.lastIntValue = 8, true;
1596
+ if (t.switchU && t.eat(45)) return t.lastIntValue = 45, true;
1597
+ if (!t.switchU && t.eat(99)) {
1598
+ if (this.regexp_eatClassControlLetter(t)) return true;
1599
+ t.pos = e;
1600
+ }
1601
+ return this.regexp_eatCharacterClassEscape(t) || this.regexp_eatCharacterEscape(t);
1602
+ }, d.regexp_classSetExpression = function(t) {
1603
+ var e, i = 1;
1604
+ if (!this.regexp_eatClassSetRange(t)) if (e = this.regexp_eatClassSetOperand(t)) {
1605
+ e === 2 && (i = 2);
1606
+ for (var s = t.pos; t.eatChars([38, 38]); ) t.current() !== 38 && (e = this.regexp_eatClassSetOperand(t)) ? e !== 2 && (i = 1) : t.raise("Invalid character in character class");
1607
+ if (s !== t.pos) return i;
1608
+ for (; t.eatChars([45, 45]); ) this.regexp_eatClassSetOperand(t) || t.raise("Invalid character in character class");
1609
+ if (s !== t.pos) return i;
1610
+ } else t.raise("Invalid character in character class");
1611
+ for (; ; ) if (!this.regexp_eatClassSetRange(t)) {
1612
+ if (!(e = this.regexp_eatClassSetOperand(t))) return i;
1613
+ e === 2 && (i = 2);
1614
+ }
1615
+ }, d.regexp_eatClassSetRange = function(t) {
1616
+ var e = t.pos;
1617
+ if (this.regexp_eatClassSetCharacter(t)) {
1618
+ var i = t.lastIntValue;
1619
+ if (t.eat(45) && this.regexp_eatClassSetCharacter(t)) {
1620
+ var s = t.lastIntValue;
1621
+ return i !== -1 && s !== -1 && i > s && t.raise("Range out of order in character class"), true;
1622
+ }
1623
+ t.pos = e;
1624
+ }
1625
+ return false;
1626
+ }, d.regexp_eatClassSetOperand = function(t) {
1627
+ return this.regexp_eatClassSetCharacter(t) ? 1 : this.regexp_eatClassStringDisjunction(t) || this.regexp_eatNestedClass(t);
1628
+ }, d.regexp_eatNestedClass = function(t) {
1629
+ var e = t.pos;
1630
+ if (t.eat(91)) {
1631
+ var i = t.eat(94), s = this.regexp_classContents(t);
1632
+ if (t.eat(93)) return i && s === 2 && t.raise("Negated character class may contain strings"), s;
1633
+ t.pos = e;
1634
+ }
1635
+ if (t.eat(92)) {
1636
+ var r = this.regexp_eatCharacterClassEscape(t);
1637
+ if (r) return r;
1638
+ t.pos = e;
1639
+ }
1640
+ return null;
1641
+ }, d.regexp_eatClassStringDisjunction = function(t) {
1642
+ var e = t.pos;
1643
+ if (t.eatChars([92, 113])) {
1644
+ if (t.eat(123)) {
1645
+ var i = this.regexp_classStringDisjunctionContents(t);
1646
+ if (t.eat(125)) return i;
1647
+ } else t.raise("Invalid escape");
1648
+ t.pos = e;
1649
+ }
1650
+ return null;
1651
+ }, d.regexp_classStringDisjunctionContents = function(t) {
1652
+ for (var e = this.regexp_classString(t); t.eat(124); ) this.regexp_classString(t) === 2 && (e = 2);
1653
+ return e;
1654
+ }, d.regexp_classString = function(t) {
1655
+ for (var e = 0; this.regexp_eatClassSetCharacter(t); ) e++;
1656
+ return e === 1 ? 1 : 2;
1657
+ }, d.regexp_eatClassSetCharacter = function(t) {
1658
+ var e = t.pos;
1659
+ if (t.eat(92)) return !(!this.regexp_eatCharacterEscape(t) && !this.regexp_eatClassSetReservedPunctuator(t)) || (t.eat(98) ? (t.lastIntValue = 8, true) : (t.pos = e, false));
1660
+ var i = t.current();
1661
+ return !(i < 0 || i === t.lookahead() && (function(s) {
1662
+ return s === 33 || s >= 35 && s <= 38 || s >= 42 && s <= 44 || s === 46 || s >= 58 && s <= 64 || s === 94 || s === 96 || s === 126;
1663
+ })(i)) && !(function(s) {
1664
+ return s === 40 || s === 41 || s === 45 || s === 47 || s >= 91 && s <= 93 || s >= 123 && s <= 125;
1665
+ })(i) && (t.advance(), t.lastIntValue = i, true);
1666
+ }, d.regexp_eatClassSetReservedPunctuator = function(t) {
1667
+ var e = t.current();
1668
+ return !!(function(i) {
1669
+ return i === 33 || i === 35 || i === 37 || i === 38 || i === 44 || i === 45 || i >= 58 && i <= 62 || i === 64 || i === 96 || i === 126;
1670
+ })(e) && (t.lastIntValue = e, t.advance(), true);
1671
+ }, d.regexp_eatClassControlLetter = function(t) {
1672
+ var e = t.current();
1673
+ return !(!Ut(e) && e !== 95) && (t.lastIntValue = e % 32, t.advance(), true);
1674
+ }, d.regexp_eatHexEscapeSequence = function(t) {
1675
+ var e = t.pos;
1676
+ if (t.eat(120)) {
1677
+ if (this.regexp_eatFixedHexDigits(t, 2)) return true;
1678
+ t.switchU && t.raise("Invalid escape"), t.pos = e;
1679
+ }
1680
+ return false;
1681
+ }, d.regexp_eatDecimalDigits = function(t) {
1682
+ var e = t.pos, i = 0;
1683
+ for (t.lastIntValue = 0; Ut(i = t.current()); ) t.lastIntValue = 10 * t.lastIntValue + (i - 48), t.advance();
1684
+ return t.pos !== e;
1685
+ }, d.regexp_eatHexDigits = function(t) {
1686
+ var e = t.pos, i = 0;
1687
+ for (t.lastIntValue = 0; He(i = t.current()); ) t.lastIntValue = 16 * t.lastIntValue + Ke(i), t.advance();
1688
+ return t.pos !== e;
1689
+ }, d.regexp_eatLegacyOctalEscapeSequence = function(t) {
1690
+ if (this.regexp_eatOctalDigit(t)) {
1691
+ var e = t.lastIntValue;
1692
+ if (this.regexp_eatOctalDigit(t)) {
1693
+ var i = t.lastIntValue;
1694
+ e <= 3 && this.regexp_eatOctalDigit(t) ? t.lastIntValue = 64 * e + 8 * i + t.lastIntValue : t.lastIntValue = 8 * e + i;
1695
+ } else t.lastIntValue = e;
1696
+ return true;
1697
+ }
1698
+ return false;
1699
+ }, d.regexp_eatOctalDigit = function(t) {
1700
+ var e = t.current();
1701
+ return ze(e) ? (t.lastIntValue = e - 48, t.advance(), true) : (t.lastIntValue = 0, false);
1702
+ }, d.regexp_eatFixedHexDigits = function(t, e) {
1703
+ var i = t.pos;
1704
+ t.lastIntValue = 0;
1705
+ for (var s = 0; s < e; ++s) {
1706
+ var r = t.current();
1707
+ if (!He(r)) return t.pos = i, false;
1708
+ t.lastIntValue = 16 * t.lastIntValue + Ke(r), t.advance();
1709
+ }
1710
+ return true;
1711
+ };
1712
+ var re = function(t) {
1713
+ this.type = t.type, this.value = t.value, this.start = t.start, this.end = t.end, t.options.locations && (this.loc = new Pt(t, t.startLoc, t.endLoc)), t.options.ranges && (this.range = [t.start, t.end]);
1714
+ }, E = N.prototype;
1715
+ function Je(t) {
1716
+ return typeof BigInt != "function" ? null : BigInt(t.replace(/_/g, ""));
1717
+ }
1718
+ E.next = function(t) {
1719
+ !t && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new re(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
1720
+ }, E.getToken = function() {
1721
+ return this.next(), new re(this);
1722
+ }, typeof Symbol < "u" && (E[Symbol.iterator] = function() {
1723
+ var t = this;
1724
+ return { next: function() {
1725
+ var e = t.getToken();
1726
+ return { done: e.type === n2.eof, value: e };
1727
+ } };
1728
+ }), E.nextToken = function() {
1729
+ var t = this.curContext();
1730
+ return t && t.preserveSpace || this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length ? this.finishToken(n2.eof) : t.override ? t.override(this) : void this.readToken(this.fullCharCodeAtPos());
1731
+ }, E.readToken = function(t) {
1732
+ return K(t, this.options.ecmaVersion >= 6) || t === 92 ? this.readWord() : this.getTokenFromCode(t);
1733
+ }, E.fullCharCodeAtPos = function() {
1734
+ var t = this.input.charCodeAt(this.pos);
1735
+ if (t <= 55295 || t >= 56320) return t;
1736
+ var e = this.input.charCodeAt(this.pos + 1);
1737
+ return e <= 56319 || e >= 57344 ? t : (t << 10) + e - 56613888;
1738
+ }, E.skipBlockComment = function() {
1739
+ var t = this.options.onComment && this.curPosition(), e = this.pos, i = this.input.indexOf("*/", this.pos += 2);
1740
+ if (i === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = i + 2, this.options.locations) for (var s = void 0, r = e; (s = Ce(this.input, r, this.pos)) > -1; ) ++this.curLine, r = this.lineStart = s;
1741
+ this.options.onComment && this.options.onComment(true, this.input.slice(e + 2, i), e, this.pos, t, this.curPosition());
1742
+ }, E.skipLineComment = function(t) {
1743
+ for (var e = this.pos, i = this.options.onComment && this.curPosition(), s = this.input.charCodeAt(this.pos += t); this.pos < this.input.length && !ut(s); ) s = this.input.charCodeAt(++this.pos);
1744
+ this.options.onComment && this.options.onComment(false, this.input.slice(e + t, this.pos), e, this.pos, i, this.curPosition());
1745
+ }, E.skipSpace = function() {
1746
+ t: for (; this.pos < this.input.length; ) {
1747
+ var t = this.input.charCodeAt(this.pos);
1748
+ switch (t) {
1749
+ case 32:
1750
+ case 160:
1751
+ ++this.pos;
1752
+ break;
1753
+ case 13:
1754
+ this.input.charCodeAt(this.pos + 1) === 10 && ++this.pos;
1755
+ case 10:
1756
+ case 8232:
1757
+ case 8233:
1758
+ ++this.pos, this.options.locations && (++this.curLine, this.lineStart = this.pos);
1759
+ break;
1760
+ case 47:
1761
+ switch (this.input.charCodeAt(this.pos + 1)) {
1762
+ case 42:
1763
+ this.skipBlockComment();
1764
+ break;
1765
+ case 47:
1766
+ this.skipLineComment(2);
1767
+ break;
1768
+ default:
1769
+ break t;
1770
+ }
1771
+ break;
1772
+ default:
1773
+ if (!(t > 8 && t < 14 || t >= 5760 && Ie.test(String.fromCharCode(t)))) break t;
1774
+ ++this.pos;
1775
+ }
1776
+ }
1777
+ }, E.finishToken = function(t, e) {
1778
+ this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
1779
+ var i = this.type;
1780
+ this.type = t, this.value = e, this.updateContext(i);
1781
+ }, E.readToken_dot = function() {
1782
+ var t = this.input.charCodeAt(this.pos + 1);
1783
+ if (t >= 48 && t <= 57) return this.readNumber(true);
1784
+ var e = this.input.charCodeAt(this.pos + 2);
1785
+ return this.options.ecmaVersion >= 6 && t === 46 && e === 46 ? (this.pos += 3, this.finishToken(n2.ellipsis)) : (++this.pos, this.finishToken(n2.dot));
1786
+ }, E.readToken_slash = function() {
1787
+ var t = this.input.charCodeAt(this.pos + 1);
1788
+ return this.exprAllowed ? (++this.pos, this.readRegexp()) : t === 61 ? this.finishOp(n2.assign, 2) : this.finishOp(n2.slash, 1);
1789
+ }, E.readToken_mult_modulo_exp = function(t) {
1790
+ var e = this.input.charCodeAt(this.pos + 1), i = 1, s = t === 42 ? n2.star : n2.modulo;
1791
+ return this.options.ecmaVersion >= 7 && t === 42 && e === 42 && (++i, s = n2.starstar, e = this.input.charCodeAt(this.pos + 2)), e === 61 ? this.finishOp(n2.assign, i + 1) : this.finishOp(s, i);
1792
+ }, E.readToken_pipe_amp = function(t) {
1793
+ var e = this.input.charCodeAt(this.pos + 1);
1794
+ return e === t ? this.options.ecmaVersion >= 12 && this.input.charCodeAt(this.pos + 2) === 61 ? this.finishOp(n2.assign, 3) : this.finishOp(t === 124 ? n2.logicalOR : n2.logicalAND, 2) : e === 61 ? this.finishOp(n2.assign, 2) : this.finishOp(t === 124 ? n2.bitwiseOR : n2.bitwiseAND, 1);
1795
+ }, E.readToken_caret = function() {
1796
+ return this.input.charCodeAt(this.pos + 1) === 61 ? this.finishOp(n2.assign, 2) : this.finishOp(n2.bitwiseXOR, 1);
1797
+ }, E.readToken_plus_min = function(t) {
1798
+ var e = this.input.charCodeAt(this.pos + 1);
1799
+ return e === t ? e !== 45 || this.inModule || this.input.charCodeAt(this.pos + 2) !== 62 || this.lastTokEnd !== 0 && !M.test(this.input.slice(this.lastTokEnd, this.pos)) ? this.finishOp(n2.incDec, 2) : (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : e === 61 ? this.finishOp(n2.assign, 2) : this.finishOp(n2.plusMin, 1);
1800
+ }, E.readToken_lt_gt = function(t) {
1801
+ var e = this.input.charCodeAt(this.pos + 1), i = 1;
1802
+ return e === t ? (i = t === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2, this.input.charCodeAt(this.pos + i) === 61 ? this.finishOp(n2.assign, i + 1) : this.finishOp(n2.bitShift, i)) : e !== 33 || t !== 60 || this.inModule || this.input.charCodeAt(this.pos + 2) !== 45 || this.input.charCodeAt(this.pos + 3) !== 45 ? (e === 61 && (i = 2), this.finishOp(n2.relational, i)) : (this.skipLineComment(4), this.skipSpace(), this.nextToken());
1803
+ }, E.readToken_eq_excl = function(t) {
1804
+ var e = this.input.charCodeAt(this.pos + 1);
1805
+ return e === 61 ? this.finishOp(n2.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2) : t === 61 && e === 62 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(n2.arrow)) : this.finishOp(t === 61 ? n2.eq : n2.prefix, 1);
1806
+ }, E.readToken_question = function() {
1807
+ var t = this.options.ecmaVersion;
1808
+ if (t >= 11) {
1809
+ var e = this.input.charCodeAt(this.pos + 1);
1810
+ if (e === 46) {
1811
+ var i = this.input.charCodeAt(this.pos + 2);
1812
+ if (i < 48 || i > 57) return this.finishOp(n2.questionDot, 2);
1813
+ }
1814
+ if (e === 63) return t >= 12 && this.input.charCodeAt(this.pos + 2) === 61 ? this.finishOp(n2.assign, 3) : this.finishOp(n2.coalesce, 2);
1815
+ }
1816
+ return this.finishOp(n2.question, 1);
1817
+ }, E.readToken_numberSign = function() {
1818
+ var t = 35;
1819
+ if (this.options.ecmaVersion >= 13 && (++this.pos, K(t = this.fullCharCodeAtPos(), true) || t === 92)) return this.finishToken(n2.privateId, this.readWord1());
1820
+ this.raise(this.pos, "Unexpected character '" + Q(t) + "'");
1821
+ }, E.getTokenFromCode = function(t) {
1822
+ switch (t) {
1823
+ case 46:
1824
+ return this.readToken_dot();
1825
+ case 40:
1826
+ return ++this.pos, this.finishToken(n2.parenL);
1827
+ case 41:
1828
+ return ++this.pos, this.finishToken(n2.parenR);
1829
+ case 59:
1830
+ return ++this.pos, this.finishToken(n2.semi);
1831
+ case 44:
1832
+ return ++this.pos, this.finishToken(n2.comma);
1833
+ case 91:
1834
+ return ++this.pos, this.finishToken(n2.bracketL);
1835
+ case 93:
1836
+ return ++this.pos, this.finishToken(n2.bracketR);
1837
+ case 123:
1838
+ return ++this.pos, this.finishToken(n2.braceL);
1839
+ case 125:
1840
+ return ++this.pos, this.finishToken(n2.braceR);
1841
+ case 58:
1842
+ return ++this.pos, this.finishToken(n2.colon);
1843
+ case 96:
1844
+ if (this.options.ecmaVersion < 6) break;
1845
+ return ++this.pos, this.finishToken(n2.backQuote);
1846
+ case 48:
1847
+ var e = this.input.charCodeAt(this.pos + 1);
1848
+ if (e === 120 || e === 88) return this.readRadixNumber(16);
1849
+ if (this.options.ecmaVersion >= 6) {
1850
+ if (e === 111 || e === 79) return this.readRadixNumber(8);
1851
+ if (e === 98 || e === 66) return this.readRadixNumber(2);
1852
+ }
1853
+ case 49:
1854
+ case 50:
1855
+ case 51:
1856
+ case 52:
1857
+ case 53:
1858
+ case 54:
1859
+ case 55:
1860
+ case 56:
1861
+ case 57:
1862
+ return this.readNumber(false);
1863
+ case 34:
1864
+ case 39:
1865
+ return this.readString(t);
1866
+ case 47:
1867
+ return this.readToken_slash();
1868
+ case 37:
1869
+ case 42:
1870
+ return this.readToken_mult_modulo_exp(t);
1871
+ case 124:
1872
+ case 38:
1873
+ return this.readToken_pipe_amp(t);
1874
+ case 94:
1875
+ return this.readToken_caret();
1876
+ case 43:
1877
+ case 45:
1878
+ return this.readToken_plus_min(t);
1879
+ case 60:
1880
+ case 62:
1881
+ return this.readToken_lt_gt(t);
1882
+ case 61:
1883
+ case 33:
1884
+ return this.readToken_eq_excl(t);
1885
+ case 63:
1886
+ return this.readToken_question();
1887
+ case 126:
1888
+ return this.finishOp(n2.prefix, 1);
1889
+ case 35:
1890
+ return this.readToken_numberSign();
1891
+ }
1892
+ this.raise(this.pos, "Unexpected character '" + Q(t) + "'");
1893
+ }, E.finishOp = function(t, e) {
1894
+ var i = this.input.slice(this.pos, this.pos + e);
1895
+ return this.pos += e, this.finishToken(t, i);
1896
+ }, E.readRegexp = function() {
1897
+ for (var t, e, i = this.pos; ; ) {
1898
+ this.pos >= this.input.length && this.raise(i, "Unterminated regular expression");
1899
+ var s = this.input.charAt(this.pos);
1900
+ if (M.test(s) && this.raise(i, "Unterminated regular expression"), t) t = false;
1901
+ else {
1902
+ if (s === "[") e = true;
1903
+ else if (s === "]" && e) e = false;
1904
+ else if (s === "/" && !e) break;
1905
+ t = s === "\\";
1906
+ }
1907
+ ++this.pos;
1908
+ }
1909
+ var r = this.input.slice(i, this.pos);
1910
+ ++this.pos;
1911
+ var a = this.pos, o2 = this.readWord1();
1912
+ this.containsEsc && this.unexpected(a);
1913
+ var h = this.regexpState || (this.regexpState = new J(this));
1914
+ h.reset(i, r, o2), this.validateRegExpFlags(h), this.validateRegExpPattern(h);
1915
+ var c = null;
1916
+ try {
1917
+ c = new RegExp(r, o2);
1918
+ } catch {
1919
+ }
1920
+ return this.finishToken(n2.regexp, { pattern: r, flags: o2, value: c });
1921
+ }, E.readInt = function(t, e, i) {
1922
+ for (var s = this.options.ecmaVersion >= 12 && e === void 0, r = i && this.input.charCodeAt(this.pos) === 48, a = this.pos, o2 = 0, h = 0, c = 0, l = e ?? 1 / 0; c < l; ++c, ++this.pos) {
1923
+ var p = this.input.charCodeAt(this.pos), f = void 0;
1924
+ if (s && p === 95) r && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), h === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), c === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), h = p;
1925
+ else {
1926
+ if ((f = p >= 97 ? p - 97 + 10 : p >= 65 ? p - 65 + 10 : p >= 48 && p <= 57 ? p - 48 : 1 / 0) >= t) break;
1927
+ h = p, o2 = o2 * t + f;
1928
+ }
1929
+ }
1930
+ return s && h === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === a || e != null && this.pos - a !== e ? null : o2;
1931
+ }, E.readRadixNumber = function(t) {
1932
+ var e = this.pos;
1933
+ this.pos += 2;
1934
+ var i = this.readInt(t);
1935
+ return i == null && this.raise(this.start + 2, "Expected number in radix " + t), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (i = Je(this.input.slice(e, this.pos)), ++this.pos) : K(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(n2.num, i);
1936
+ }, E.readNumber = function(t) {
1937
+ var e = this.pos;
1938
+ t || this.readInt(10, void 0, true) !== null || this.raise(e, "Invalid number");
1939
+ var i = this.pos - e >= 2 && this.input.charCodeAt(e) === 48;
1940
+ i && this.strict && this.raise(e, "Invalid number");
1941
+ var s = this.input.charCodeAt(this.pos);
1942
+ if (!i && !t && this.options.ecmaVersion >= 11 && s === 110) {
1943
+ var r = Je(this.input.slice(e, this.pos));
1944
+ return ++this.pos, K(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(n2.num, r);
1945
+ }
1946
+ i && /[89]/.test(this.input.slice(e, this.pos)) && (i = false), s !== 46 || i || (++this.pos, this.readInt(10), s = this.input.charCodeAt(this.pos)), s !== 69 && s !== 101 || i || ((s = this.input.charCodeAt(++this.pos)) !== 43 && s !== 45 || ++this.pos, this.readInt(10) === null && this.raise(e, "Invalid number")), K(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
1947
+ var a, o2 = (a = this.input.slice(e, this.pos), i ? parseInt(a, 8) : parseFloat(a.replace(/_/g, "")));
1948
+ return this.finishToken(n2.num, o2);
1949
+ }, E.readCodePoint = function() {
1950
+ var t;
1951
+ if (this.input.charCodeAt(this.pos) === 123) {
1952
+ this.options.ecmaVersion < 6 && this.unexpected();
1953
+ var e = ++this.pos;
1954
+ t = this.readHexChar(this.input.indexOf("}", this.pos) - this.pos), ++this.pos, t > 1114111 && this.invalidStringToken(e, "Code point out of bounds");
1955
+ } else t = this.readHexChar(4);
1956
+ return t;
1957
+ }, E.readString = function(t) {
1958
+ for (var e = "", i = ++this.pos; ; ) {
1959
+ this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
1960
+ var s = this.input.charCodeAt(this.pos);
1961
+ if (s === t) break;
1962
+ s === 92 ? (e += this.input.slice(i, this.pos), e += this.readEscapedChar(false), i = this.pos) : s === 8232 || s === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (ut(s) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
1963
+ }
1964
+ return e += this.input.slice(i, this.pos++), this.finishToken(n2.string, e);
1965
+ };
1966
+ var Ye = {};
1967
+ E.tryReadTemplateToken = function() {
1968
+ this.inTemplateElement = true;
1969
+ try {
1970
+ this.readTmplToken();
1971
+ } catch (t) {
1972
+ if (t !== Ye) throw t;
1973
+ this.readInvalidTemplateToken();
1974
+ }
1975
+ this.inTemplateElement = false;
1976
+ }, E.invalidStringToken = function(t, e) {
1977
+ if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw Ye;
1978
+ this.raise(t, e);
1979
+ }, E.readTmplToken = function() {
1980
+ for (var t = "", e = this.pos; ; ) {
1981
+ this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
1982
+ var i = this.input.charCodeAt(this.pos);
1983
+ if (i === 96 || i === 36 && this.input.charCodeAt(this.pos + 1) === 123) return this.pos !== this.start || this.type !== n2.template && this.type !== n2.invalidTemplate ? (t += this.input.slice(e, this.pos), this.finishToken(n2.template, t)) : i === 36 ? (this.pos += 2, this.finishToken(n2.dollarBraceL)) : (++this.pos, this.finishToken(n2.backQuote));
1984
+ if (i === 92) t += this.input.slice(e, this.pos), t += this.readEscapedChar(true), e = this.pos;
1985
+ else if (ut(i)) {
1986
+ switch (t += this.input.slice(e, this.pos), ++this.pos, i) {
1987
+ case 13:
1988
+ this.input.charCodeAt(this.pos) === 10 && ++this.pos;
1989
+ case 10:
1990
+ t += `
1991
+ `;
1992
+ break;
1993
+ default:
1994
+ t += String.fromCharCode(i);
1995
+ }
1996
+ this.options.locations && (++this.curLine, this.lineStart = this.pos), e = this.pos;
1997
+ } else ++this.pos;
1998
+ }
1999
+ }, E.readInvalidTemplateToken = function() {
2000
+ for (; this.pos < this.input.length; this.pos++) switch (this.input[this.pos]) {
2001
+ case "\\":
2002
+ ++this.pos;
2003
+ break;
2004
+ case "$":
2005
+ if (this.input[this.pos + 1] !== "{") break;
2006
+ case "`":
2007
+ return this.finishToken(n2.invalidTemplate, this.input.slice(this.start, this.pos));
2008
+ case "\r":
2009
+ this.input[this.pos + 1] === `
2010
+ ` && ++this.pos;
2011
+ case `
2012
+ `:
2013
+ case "\u2028":
2014
+ case "\u2029":
2015
+ ++this.curLine, this.lineStart = this.pos + 1;
2016
+ }
2017
+ this.raise(this.start, "Unterminated template");
2018
+ }, E.readEscapedChar = function(t) {
2019
+ var e = this.input.charCodeAt(++this.pos);
2020
+ switch (++this.pos, e) {
2021
+ case 110:
2022
+ return `
2023
+ `;
2024
+ case 114:
2025
+ return "\r";
2026
+ case 120:
2027
+ return String.fromCharCode(this.readHexChar(2));
2028
+ case 117:
2029
+ return Q(this.readCodePoint());
2030
+ case 116:
2031
+ return " ";
2032
+ case 98:
2033
+ return "\b";
2034
+ case 118:
2035
+ return "\v";
2036
+ case 102:
2037
+ return "\f";
2038
+ case 13:
2039
+ this.input.charCodeAt(this.pos) === 10 && ++this.pos;
2040
+ case 10:
2041
+ return this.options.locations && (this.lineStart = this.pos, ++this.curLine), "";
2042
+ case 56:
2043
+ case 57:
2044
+ if (this.strict && this.invalidStringToken(this.pos - 1, "Invalid escape sequence"), t) {
2045
+ var i = this.pos - 1;
2046
+ this.invalidStringToken(i, "Invalid escape sequence in template string");
2047
+ }
2048
+ default:
2049
+ if (e >= 48 && e <= 55) {
2050
+ var s = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], r = parseInt(s, 8);
2051
+ return r > 255 && (s = s.slice(0, -1), r = parseInt(s, 8)), this.pos += s.length - 1, e = this.input.charCodeAt(this.pos), s === "0" && e !== 56 && e !== 57 || !this.strict && !t || this.invalidStringToken(this.pos - 1 - s.length, t ? "Octal literal in template string" : "Octal literal in strict mode"), String.fromCharCode(r);
2052
+ }
2053
+ return ut(e) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(e);
2054
+ }
2055
+ }, E.readHexChar = function(t) {
2056
+ var e = this.pos, i = this.readInt(16, t);
2057
+ return i === null && this.invalidStringToken(e, "Bad character escape sequence"), i;
2058
+ }, E.readWord1 = function() {
2059
+ this.containsEsc = false;
2060
+ for (var t = "", e = true, i = this.pos, s = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) {
2061
+ var r = this.fullCharCodeAtPos();
2062
+ if (X(r, s)) this.pos += r <= 65535 ? 1 : 2;
2063
+ else {
2064
+ if (r !== 92) break;
2065
+ this.containsEsc = true, t += this.input.slice(i, this.pos);
2066
+ var a = this.pos;
2067
+ this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
2068
+ var o2 = this.readCodePoint();
2069
+ (e ? K : X)(o2, s) || this.invalidStringToken(a, "Invalid Unicode escape"), t += Q(o2), i = this.pos;
2070
+ }
2071
+ e = false;
2072
+ }
2073
+ return t + this.input.slice(i, this.pos);
2074
+ }, E.readWord = function() {
2075
+ var t = this.readWord1(), e = n2.name;
2076
+ return this.keywords.test(t) && (e = Jt[t]), this.finishToken(e, t);
2077
+ }, N.acorn = { Parser: N, version: "8.15.0", defaultOptions: Yt, Position: St, SourceLocation: Pt, getLineInfo: Ae, Node: Dt, TokenType: S, tokTypes: n2, keywordTypes: Jt, TokContext: G, tokContexts: R, isIdentifierChar: X, isIdentifierStart: K, Token: re, isNewLine: ut, lineBreak: M, lineBreakG: Ki, nonASCIIwhitespace: Ie };
2078
+ let mt = m("module"), D = m("fs");
2079
+ String.fromCharCode;
2080
+ let ls = /\/$|\/\?|\/#/, us = /^\.?\//;
2081
+ function fs(t = "", e) {
2082
+ return e ? ls.test(t) : t.endsWith("/");
2083
+ }
2084
+ function ds(t = "", e) {
2085
+ if (!e) return t.endsWith("/") ? t : t + "/";
2086
+ if (fs(t, true)) return t || "/";
2087
+ let i = t, s = "", r = t.indexOf("#");
2088
+ if (r !== -1 && (i = t.slice(0, r), s = t.slice(r), !i)) return s;
2089
+ let [a, ...o2] = i.split("?");
2090
+ return a + "/" + (o2.length > 0 ? `?${o2.join("?")}` : "") + s;
2091
+ }
2092
+ function ms(t) {
2093
+ return t && t !== "/";
2094
+ }
2095
+ function Qe(t, ...e) {
2096
+ let i = t || "";
2097
+ for (let s of e.filter((r) => ms(r))) if (i) {
2098
+ let r = s.replace(us, "");
2099
+ i = ds(i) + r;
2100
+ } else i = s;
2101
+ return i;
2102
+ }
2103
+ Symbol.for("ufo:protocolRelative");
2104
+ let gs = /^[A-Za-z]:\//;
2105
+ function gt(t = "") {
2106
+ return t && t.replace(/\\/g, "/").replace(gs, (e) => e.toUpperCase());
2107
+ }
2108
+ let xs = /^[/\\]{2}/, vs = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, Ze = /^[A-Za-z]:$/, ys = /.(\.[^./]+|\.)$/, _s = function(t) {
2109
+ if (t.length === 0) return ".";
2110
+ let e = (t = gt(t)).match(xs), i = at(t), s = t[t.length - 1] === "/";
2111
+ return (t = Xe(t, !i)).length === 0 ? i ? "/" : s ? "./" : "." : (s && (t += "/"), Ze.test(t) && (t += "/"), e ? i ? `//${t}` : `//./${t}` : i && !at(t) ? `/${t}` : t);
2112
+ }, it = function(...t) {
2113
+ let e = "";
2114
+ for (let i of t) if (i) if (e.length > 0) {
2115
+ let s = e[e.length - 1] === "/", r = i[0] === "/";
2116
+ e += s && r ? i.slice(1) : s || r ? i : `/${i}`;
2117
+ } else e += i;
2118
+ return _s(e);
2119
+ };
2120
+ function Es() {
2121
+ return typeof process < "u" && typeof process.cwd == "function" ? process.cwd().replace(/\\/g, "/") : "/";
2122
+ }
2123
+ let bs = function(...t) {
2124
+ let e = "", i = false;
2125
+ for (let s = (t = t.map((r) => gt(r))).length - 1; s >= -1 && !i; s--) {
2126
+ let r = s >= 0 ? t[s] : Es();
2127
+ r && r.length !== 0 && (e = `${r}/${e}`, i = at(r));
2128
+ }
2129
+ return e = Xe(e, !i), i && !at(e) ? `/${e}` : e.length > 0 ? e : ".";
2130
+ };
2131
+ function Xe(t, e) {
2132
+ let i = "", s = 0, r = -1, a = 0, o2 = null;
2133
+ for (let h = 0; h <= t.length; ++h) {
2134
+ if (h < t.length) o2 = t[h];
2135
+ else {
2136
+ if (o2 === "/") break;
2137
+ o2 = "/";
2138
+ }
2139
+ if (o2 === "/") {
2140
+ if (!(r === h - 1 || a === 1)) if (a === 2) {
2141
+ if (i.length < 2 || s !== 2 || i[i.length - 1] !== "." || i[i.length - 2] !== ".") {
2142
+ if (i.length > 2) {
2143
+ let c = i.lastIndexOf("/");
2144
+ c === -1 ? (i = "", s = 0) : (i = i.slice(0, c), s = i.length - 1 - i.lastIndexOf("/")), r = h, a = 0;
2145
+ continue;
2146
+ }
2147
+ if (i.length > 0) {
2148
+ i = "", s = 0, r = h, a = 0;
2149
+ continue;
2150
+ }
2151
+ }
2152
+ e && (i += i.length > 0 ? "/.." : "..", s = 2);
2153
+ } else i.length > 0 ? i += `/${t.slice(r + 1, h)}` : i = t.slice(r + 1, h), s = h - r - 1;
2154
+ r = h, a = 0;
2155
+ } else o2 === "." && a !== -1 ? ++a : a = -1;
2156
+ }
2157
+ return i;
2158
+ }
2159
+ let at = function(t) {
2160
+ return vs.test(t);
2161
+ }, ti = function(t) {
2162
+ if (t === "..") return "";
2163
+ let e = ys.exec(gt(t));
2164
+ return e && e[1] || "";
2165
+ }, Mt = function(t) {
2166
+ let e = gt(t).replace(/\/$/, "").split("/").slice(0, -1);
2167
+ return e.length === 1 && Ze.test(e[0]) && (e[0] += "/"), e.join("/") || (at(t) ? "/" : ".");
2168
+ }, ei = function(t, e) {
2169
+ let i = gt(t).split("/"), s = "";
2170
+ for (let r = i.length - 1; r >= 0; r--) {
2171
+ let a = i[r];
2172
+ if (a) {
2173
+ s = a;
2174
+ break;
2175
+ }
2176
+ }
2177
+ return e && s.endsWith(e) ? s.slice(0, -e.length) : s;
2178
+ }, g = m("url"), st = m("assert"), ot = m("process"), ne = m("path"), Ss = m("v8"), jt = m("util"), ii = new Set(mt.builtinModules);
2179
+ function ae(t) {
2180
+ return t.replace(/\\/g, "/");
2181
+ }
2182
+ let Cs = {}.hasOwnProperty, Is = /^([A-Z][a-z\d]*)+$/, ks = /* @__PURE__ */ new Set(["string", "function", "number", "object", "Function", "Object", "boolean", "bigint", "symbol"]), V = {};
2183
+ function oe(t, e = "and") {
2184
+ return t.length < 3 ? t.join(` ${e} `) : `${t.slice(0, -1).join(", ")}, ${e} ${t[t.length - 1]}`;
2185
+ }
2186
+ let si = /* @__PURE__ */ new Map(), ri;
2187
+ function W(t, e, i) {
2188
+ return si.set(t, e), /* @__PURE__ */ (function(s, r) {
2189
+ return a;
2190
+ function a(...o2) {
2191
+ let h = Error.stackTraceLimit;
2192
+ he() && (Error.stackTraceLimit = 0);
2193
+ let c = new s();
2194
+ he() && (Error.stackTraceLimit = h);
2195
+ let l = (function(p, f, u) {
2196
+ let v = si.get(p);
2197
+ if (st(v !== void 0, "expected `message` to be found"), typeof v == "function") return st(v.length <= f.length, `Code: ${p}; The provided arguments length (${f.length}) does not match the required ones (${v.length}).`), Reflect.apply(v, u, f);
2198
+ let w = /%[dfijoOs]/g, y = 0;
2199
+ for (; w.exec(v) !== null; ) y++;
2200
+ return st(y === f.length, `Code: ${p}; The provided arguments length (${f.length}) does not match the required ones (${y}).`), f.length === 0 ? v : (f.unshift(v), Reflect.apply(jt.format, null, f));
2201
+ })(r, o2, c);
2202
+ return Object.defineProperties(c, { message: { value: l, enumerable: false, writable: true, configurable: true }, toString: { value() {
2203
+ return `${this.name} [${r}]: ${this.message}`;
2204
+ }, enumerable: false, writable: true, configurable: true } }), ws(c), c.code = r, c;
2205
+ }
2206
+ })(i, t);
2207
+ }
2208
+ function he() {
2209
+ try {
2210
+ if (Ss.startupSnapshot.isBuildingSnapshot()) return false;
2211
+ } catch {
2212
+ }
2213
+ let t = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit");
2214
+ return t === void 0 ? Object.isExtensible(Error) : Cs.call(t, "writable") && t.writable !== void 0 ? t.writable : t.set !== void 0;
2215
+ }
2216
+ V.ERR_INVALID_ARG_TYPE = W("ERR_INVALID_ARG_TYPE", (t, e, i) => {
2217
+ st(typeof t == "string", "'name' must be a string"), Array.isArray(e) || (e = [e]);
2218
+ let s = "The ";
2219
+ if (t.endsWith(" argument")) s += `${t} `;
2220
+ else {
2221
+ let h = t.includes(".") ? "property" : "argument";
2222
+ s += `"${t}" ${h} `;
2223
+ }
2224
+ s += "must be ";
2225
+ let r = [], a = [], o2 = [];
2226
+ for (let h of e) st(typeof h == "string", "All expected entries have to be of type string"), ks.has(h) ? r.push(h.toLowerCase()) : Is.exec(h) === null ? (st(h !== "object", 'The value "object" should be written as "Object"'), o2.push(h)) : a.push(h);
2227
+ if (a.length > 0) {
2228
+ let h = r.indexOf("object");
2229
+ h !== -1 && (r.slice(h, 1), a.push("Object"));
2230
+ }
2231
+ return r.length > 0 && (s += `${r.length > 1 ? "one of type" : "of type"} ${oe(r, "or")}`, (a.length > 0 || o2.length > 0) && (s += " or ")), a.length > 0 && (s += `an instance of ${oe(a, "or")}`, o2.length > 0 && (s += " or ")), o2.length > 0 && (o2.length > 1 ? s += `one of ${oe(o2, "or")}` : (o2[0].toLowerCase() !== o2[0] && (s += "an "), s += `${o2[0]}`)), s += `. Received ${(function(h) {
2232
+ if (h == null) return String(h);
2233
+ if (typeof h == "function" && h.name) return `function ${h.name}`;
2234
+ if (typeof h == "object") return h.constructor && h.constructor.name ? `an instance of ${h.constructor.name}` : `${(0, jt.inspect)(h, { depth: -1 })}`;
2235
+ let c = (0, jt.inspect)(h, { colors: false });
2236
+ return c.length > 28 && (c = `${c.slice(0, 25)}...`), `type ${typeof h} (${c})`;
2237
+ })(i)}`, s;
2238
+ }, TypeError), V.ERR_INVALID_MODULE_SPECIFIER = W("ERR_INVALID_MODULE_SPECIFIER", (t, e, i = void 0) => `Invalid module "${t}" ${e}${i ? ` imported from ${i}` : ""}`, TypeError), V.ERR_INVALID_PACKAGE_CONFIG = W("ERR_INVALID_PACKAGE_CONFIG", (t, e, i) => `Invalid package config ${t}${e ? ` while importing ${e}` : ""}${i ? `. ${i}` : ""}`, Error), V.ERR_INVALID_PACKAGE_TARGET = W("ERR_INVALID_PACKAGE_TARGET", (t, e, i, s = false, r = void 0) => {
2239
+ let a = typeof i == "string" && !s && i.length > 0 && !i.startsWith("./");
2240
+ return e === "." ? (st(s === false), `Invalid "exports" main target ${JSON.stringify(i)} defined in the package config ${t}package.json${r ? ` imported from ${r}` : ""}${a ? '; targets must start with "./"' : ""}`) : `Invalid "${s ? "imports" : "exports"}" target ${JSON.stringify(i)} defined for '${e}' in the package config ${t}package.json${r ? ` imported from ${r}` : ""}${a ? '; targets must start with "./"' : ""}`;
2241
+ }, Error), V.ERR_MODULE_NOT_FOUND = W("ERR_MODULE_NOT_FOUND", (t, e, i = false) => `Cannot find ${i ? "module" : "package"} '${t}' imported from ${e}`, Error), V.ERR_NETWORK_IMPORT_DISALLOWED = W("ERR_NETWORK_IMPORT_DISALLOWED", "import of '%s' by %s is not supported: %s", Error), V.ERR_PACKAGE_IMPORT_NOT_DEFINED = W("ERR_PACKAGE_IMPORT_NOT_DEFINED", (t, e, i) => `Package import specifier "${t}" is not defined${e ? ` in package ${e}package.json` : ""} imported from ${i}`, TypeError), V.ERR_PACKAGE_PATH_NOT_EXPORTED = W("ERR_PACKAGE_PATH_NOT_EXPORTED", (t, e, i = void 0) => e === "." ? `No "exports" main defined in ${t}package.json${i ? ` imported from ${i}` : ""}` : `Package subpath '${e}' is not defined by "exports" in ${t}package.json${i ? ` imported from ${i}` : ""}`, Error), V.ERR_UNSUPPORTED_DIR_IMPORT = W("ERR_UNSUPPORTED_DIR_IMPORT", "Directory import '%s' is not supported resolving ES modules imported from %s", Error), V.ERR_UNSUPPORTED_RESOLVE_REQUEST = W("ERR_UNSUPPORTED_RESOLVE_REQUEST", 'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.', TypeError), V.ERR_UNKNOWN_FILE_EXTENSION = W("ERR_UNKNOWN_FILE_EXTENSION", (t, e) => `Unknown file extension "${t}" for ${e}`, TypeError), V.ERR_INVALID_ARG_VALUE = W("ERR_INVALID_ARG_VALUE", (t, e, i = "is invalid") => {
2242
+ let s = (0, jt.inspect)(e);
2243
+ return s.length > 128 && (s = `${s.slice(0, 128)}...`), `The ${t.includes(".") ? "property" : "argument"} '${t}' ${i}. Received ${s}`;
2244
+ }, TypeError);
2245
+ let ws = (function(t) {
2246
+ let e = "__node_internal_" + t.name;
2247
+ return Object.defineProperty(t, "name", { value: e }), t;
2248
+ })(function(t) {
2249
+ let e = he();
2250
+ return e && (ri = Error.stackTraceLimit, Error.stackTraceLimit = Number.POSITIVE_INFINITY), Error.captureStackTrace(t), e && (Error.stackTraceLimit = ri), t;
2251
+ }), kt = {}.hasOwnProperty, { ERR_INVALID_PACKAGE_CONFIG: Rs } = V, ni = /* @__PURE__ */ new Map();
2252
+ function ai(t, { base: e, specifier: i }) {
2253
+ let s = ni.get(t);
2254
+ if (s) return s;
2255
+ let r;
2256
+ try {
2257
+ r = D.readFileSync(ne.toNamespacedPath(t), "utf8");
2258
+ } catch (o2) {
2259
+ let h = o2;
2260
+ if (h.code !== "ENOENT") throw h;
2261
+ }
2262
+ let a = { exists: false, pjsonPath: t, main: void 0, name: void 0, type: "none", exports: void 0, imports: void 0 };
2263
+ if (r !== void 0) {
2264
+ let o2;
2265
+ try {
2266
+ o2 = JSON.parse(r);
2267
+ } catch (h) {
2268
+ let c = h, l = new Rs(t, (e ? `"${i}" from ` : "") + (0, g.fileURLToPath)(e || i), c.message);
2269
+ throw l.cause = c, l;
2270
+ }
2271
+ a.exists = true, kt.call(o2, "name") && typeof o2.name == "string" && (a.name = o2.name), kt.call(o2, "main") && typeof o2.main == "string" && (a.main = o2.main), kt.call(o2, "exports") && (a.exports = o2.exports), kt.call(o2, "imports") && (a.imports = o2.imports), !kt.call(o2, "type") || o2.type !== "commonjs" && o2.type !== "module" || (a.type = o2.type);
2272
+ }
2273
+ return ni.set(t, a), a;
2274
+ }
2275
+ function ce(t) {
2276
+ let e = new URL("package.json", t);
2277
+ for (; !e.pathname.endsWith("node_modules/package.json"); ) {
2278
+ let i = ai((0, g.fileURLToPath)(e), { specifier: t });
2279
+ if (i.exists) return i;
2280
+ let s = e;
2281
+ if (e = new URL("../package.json", e), e.pathname === s.pathname) break;
2282
+ }
2283
+ return { pjsonPath: (0, g.fileURLToPath)(e), exists: false, type: "none" };
2284
+ }
2285
+ function oi(t) {
2286
+ return ce(t).type;
2287
+ }
2288
+ let { ERR_UNKNOWN_FILE_EXTENSION: As } = V, Ts = {}.hasOwnProperty, Ps = { __proto__: null, ".cjs": "commonjs", ".js": "module", ".json": "json", ".mjs": "module" }, hi = { __proto__: null, "data:": function(t) {
2289
+ let { 1: e } = /^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(t.pathname) || [null, null, null];
2290
+ return (function(i) {
2291
+ return i && /\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(i) ? "module" : i === "application/json" ? "json" : null;
2292
+ })(e);
2293
+ }, "file:": function(t, e, i) {
2294
+ let s = (function(o2) {
2295
+ let h = o2.pathname, c = h.length;
2296
+ for (; c--; ) {
2297
+ let l = h.codePointAt(c);
2298
+ if (l === 47) return "";
2299
+ if (l === 46) return h.codePointAt(c - 1) === 47 ? "" : h.slice(c);
2300
+ }
2301
+ return "";
2302
+ })(t);
2303
+ if (s === ".js") {
2304
+ let o2 = oi(t);
2305
+ return o2 !== "none" ? o2 : "commonjs";
2306
+ }
2307
+ if (s === "") {
2308
+ let o2 = oi(t);
2309
+ return o2 === "none" || o2 === "commonjs" ? "commonjs" : "module";
2310
+ }
2311
+ let r = Ps[s];
2312
+ if (r) return r;
2313
+ if (i) return;
2314
+ let a = (0, g.fileURLToPath)(t);
2315
+ throw new As(s, a);
2316
+ }, "http:": ci, "https:": ci, "node:": () => "builtin" };
2317
+ function ci() {
2318
+ }
2319
+ let Bt = RegExp.prototype[Symbol.replace], { ERR_INVALID_MODULE_SPECIFIER: Ft, ERR_INVALID_PACKAGE_CONFIG: pi, ERR_INVALID_PACKAGE_TARGET: Ns, ERR_MODULE_NOT_FOUND: pe, ERR_PACKAGE_IMPORT_NOT_DEFINED: Ls, ERR_PACKAGE_PATH_NOT_EXPORTED: Os, ERR_UNSUPPORTED_DIR_IMPORT: Ds, ERR_UNSUPPORTED_RESOLVE_REQUEST: li } = V, ui = {}.hasOwnProperty, fi = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i, di = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i, Vs = /^\.|%|\\/, $t = /\*/g, Us = /%2f|%5c/i, mi = /* @__PURE__ */ new Set(), Ms = /[/\\]{2}/;
2320
+ function gi(t, e, i, s, r, a, o2) {
2321
+ if (ot.noDeprecation) return;
2322
+ let h = (0, g.fileURLToPath)(s), c = Ms.exec(o2 ? t : e) !== null;
2323
+ ot.emitWarning(`Use of deprecated ${c ? "double slash" : "leading or trailing slash matching"} resolving "${t}" for module request "${e}" ${e === i ? "" : `matched to "${i}" `}in the "${r ? "imports" : "exports"}" field module resolution of the package at ${h}${a ? ` imported from ${(0, g.fileURLToPath)(a)}` : ""}.`, "DeprecationWarning", "DEP0166");
2324
+ }
2325
+ function xi(t, e, i, s) {
2326
+ if (ot.noDeprecation || (function(c, l) {
2327
+ let p = c.protocol;
2328
+ return Ts.call(hi, p) && hi[p](c, l, true) || null;
2329
+ })(t, { parentURL: i.href }) !== "module") return;
2330
+ let a = (0, g.fileURLToPath)(t.href), o2 = (0, g.fileURLToPath)(new g.URL(".", e)), h = (0, g.fileURLToPath)(i);
2331
+ s ? ne.resolve(o2, s) !== a && ot.emitWarning(`Package ${o2} has a "main" field set to "${s}", excluding the full filename and extension to the resolved file at "${a.slice(o2.length)}", imported from ${h}.
2332
+ Automatic extension resolution of the "main" field is deprecated for ES modules.`, "DeprecationWarning", "DEP0151") : ot.emitWarning(`No "main" or "exports" field defined in the package.json for ${o2} resolving the main entry point "${a.slice(o2.length)}", imported from ${h}.
2333
+ Default "index" lookups for the main are deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
2334
+ }
2335
+ function vi(t) {
2336
+ try {
2337
+ return (0, D.statSync)(t);
2338
+ } catch {
2339
+ }
2340
+ }
2341
+ function le(t) {
2342
+ let e = (0, D.statSync)(t, { throwIfNoEntry: false }), i = e ? e.isFile() : void 0;
2343
+ return i != null && i;
2344
+ }
2345
+ function js(t, e, i) {
2346
+ let s;
2347
+ if (e.main !== void 0) {
2348
+ if (s = new g.URL(e.main, t), le(s)) return s;
2349
+ let o2 = [`./${e.main}.js`, `./${e.main}.json`, `./${e.main}.node`, `./${e.main}/index.js`, `./${e.main}/index.json`, `./${e.main}/index.node`], h = -1;
2350
+ for (; ++h < o2.length && (s = new g.URL(o2[h], t), !le(s)); ) s = void 0;
2351
+ if (s) return xi(s, t, i, e.main), s;
2352
+ }
2353
+ let r = ["./index.js", "./index.json", "./index.node"], a = -1;
2354
+ for (; ++a < r.length && (s = new g.URL(r[a], t), !le(s)); ) s = void 0;
2355
+ if (s) return xi(s, t, i, e.main), s;
2356
+ throw new pe((0, g.fileURLToPath)(new g.URL(".", t)), (0, g.fileURLToPath)(i));
2357
+ }
2358
+ function ue(t, e, i) {
2359
+ return new Os((0, g.fileURLToPath)(new g.URL(".", e)), t, i && (0, g.fileURLToPath)(i));
2360
+ }
2361
+ function wt(t, e, i, s, r) {
2362
+ return e = typeof e == "object" && e !== null ? JSON.stringify(e, null, "") : `${e}`, new Ns((0, g.fileURLToPath)(new g.URL(".", i)), t, e, s, r && (0, g.fileURLToPath)(r));
2363
+ }
2364
+ function Bs(t, e, i, s, r, a, o2, h, c) {
2365
+ if (e !== "" && !a && t[t.length - 1] !== "/") throw wt(i, t, s, o2, r);
2366
+ if (!t.startsWith("./")) {
2367
+ if (o2 && !t.startsWith("../") && !t.startsWith("/")) {
2368
+ let u = false;
2369
+ try {
2370
+ new g.URL(t), u = true;
2371
+ } catch {
2372
+ }
2373
+ if (!u) return Ei(a ? Bt.call($t, t, () => e) : t + e, s, c);
2374
+ }
2375
+ throw wt(i, t, s, o2, r);
2376
+ }
2377
+ if (fi.exec(t.slice(2)) !== null) {
2378
+ if (di.exec(t.slice(2)) !== null) throw wt(i, t, s, o2, r);
2379
+ if (!h) {
2380
+ let u = a ? i.replace("*", () => e) : i + e;
2381
+ gi(a ? Bt.call($t, t, () => e) : t, u, i, s, o2, r, true);
2382
+ }
2383
+ }
2384
+ let l = new g.URL(t, s), p = l.pathname, f = new g.URL(".", s).pathname;
2385
+ if (!p.startsWith(f)) throw wt(i, t, s, o2, r);
2386
+ if (e === "") return l;
2387
+ if (fi.exec(e) !== null) {
2388
+ let u = a ? i.replace("*", () => e) : i + e;
2389
+ di.exec(e) === null ? h || gi(a ? Bt.call($t, t, () => e) : t, u, i, s, o2, r, false) : (function(v, w, y, I, C) {
2390
+ let k = `request is not a valid match in pattern "${w}" for the "${I ? "imports" : "exports"}" resolution of ${(0, g.fileURLToPath)(y)}`;
2391
+ throw new Ft(v, k, C && (0, g.fileURLToPath)(C));
2392
+ })(u, i, s, o2, r);
2393
+ }
2394
+ return a ? new g.URL(Bt.call($t, l.href, () => e)) : new g.URL(e, l);
2395
+ }
2396
+ function Fs(t) {
2397
+ let e = Number(t);
2398
+ return `${e}` === t && e >= 0 && e < 4294967295;
2399
+ }
2400
+ function xt(t, e, i, s, r, a, o2, h, c) {
2401
+ if (typeof e == "string") return Bs(e, i, s, t, r, a, o2, h, c);
2402
+ if (Array.isArray(e)) {
2403
+ let l = e;
2404
+ if (l.length === 0) return null;
2405
+ let p, f = -1;
2406
+ for (; ++f < l.length; ) {
2407
+ let u = l[f], v;
2408
+ try {
2409
+ v = xt(t, u, i, s, r, a, o2, h, c);
2410
+ } catch (w) {
2411
+ if (p = w, w.code === "ERR_INVALID_PACKAGE_TARGET") continue;
2412
+ throw w;
2413
+ }
2414
+ if (v !== void 0) {
2415
+ if (v !== null) return v;
2416
+ p = null;
2417
+ }
2418
+ }
2419
+ if (p == null) return null;
2420
+ throw p;
2421
+ }
2422
+ if (typeof e == "object" && e !== null) {
2423
+ let l = Object.getOwnPropertyNames(e), p = -1;
2424
+ for (; ++p < l.length; ) if (Fs(l[p])) throw new pi((0, g.fileURLToPath)(t), r, '"exports" cannot contain numeric property keys.');
2425
+ for (p = -1; ++p < l.length; ) {
2426
+ let f = l[p];
2427
+ if (f === "default" || c && c.has(f)) {
2428
+ let u = xt(t, e[f], i, s, r, a, o2, h, c);
2429
+ if (u === void 0) continue;
2430
+ return u;
2431
+ }
2432
+ }
2433
+ return null;
2434
+ }
2435
+ if (e === null) return null;
2436
+ throw wt(s, e, t, o2, r);
2437
+ }
2438
+ function $s(t, e, i) {
2439
+ if (ot.noDeprecation) return;
2440
+ let s = (0, g.fileURLToPath)(e);
2441
+ mi.has(s + "|" + t) || (mi.add(s + "|" + t), ot.emitWarning(`Use of deprecated trailing slash pattern mapping "${t}" in the "exports" field module resolution of the package at ${s}${i ? ` imported from ${(0, g.fileURLToPath)(i)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, "DeprecationWarning", "DEP0155"));
2442
+ }
2443
+ function yi(t, e, i, s, r) {
2444
+ let a = i.exports;
2445
+ if ((function(p, f, u) {
2446
+ if (typeof p == "string" || Array.isArray(p)) return true;
2447
+ if (typeof p != "object" || p === null) return false;
2448
+ let v = Object.getOwnPropertyNames(p), w = false, y = 0, I = -1;
2449
+ for (; ++I < v.length; ) {
2450
+ let C = v[I], k = C === "" || C[0] !== ".";
2451
+ if (y++ === 0) w = k;
2452
+ else if (w !== k) throw new pi((0, g.fileURLToPath)(f), u, `"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.`);
2453
+ }
2454
+ return w;
2455
+ })(a, t, s) && (a = { ".": a }), ui.call(a, e) && !e.includes("*") && !e.endsWith("/")) {
2456
+ let p = xt(t, a[e], "", e, s, false, false, false, r);
2457
+ if (p == null) throw ue(e, t, s);
2458
+ return p;
2459
+ }
2460
+ let o2 = "", h = "", c = Object.getOwnPropertyNames(a), l = -1;
2461
+ for (; ++l < c.length; ) {
2462
+ let p = c[l], f = p.indexOf("*");
2463
+ if (f !== -1 && e.startsWith(p.slice(0, f))) {
2464
+ e.endsWith("/") && $s(e, t, s);
2465
+ let u = p.slice(f + 1);
2466
+ e.length >= p.length && e.endsWith(u) && _i(o2, p) === 1 && p.lastIndexOf("*") === f && (o2 = p, h = e.slice(f, e.length - u.length));
2467
+ }
2468
+ }
2469
+ if (o2) {
2470
+ let p = xt(t, a[o2], h, o2, s, true, false, e.endsWith("/"), r);
2471
+ if (p == null) throw ue(e, t, s);
2472
+ return p;
2473
+ }
2474
+ throw ue(e, t, s);
2475
+ }
2476
+ function _i(t, e) {
2477
+ let i = t.indexOf("*"), s = e.indexOf("*"), r = i === -1 ? t.length : i + 1, a = s === -1 ? e.length : s + 1;
2478
+ return r > a ? -1 : a > r || i === -1 ? 1 : s === -1 || t.length > e.length ? -1 : e.length > t.length ? 1 : 0;
2479
+ }
2480
+ function qs(t, e, i) {
2481
+ if (t === "#" || t.startsWith("#/") || t.endsWith("/")) throw new Ft(t, "is not a valid internal imports specifier name", (0, g.fileURLToPath)(e));
2482
+ let s, r = ce(e);
2483
+ if (r.exists) {
2484
+ s = (0, g.pathToFileURL)(r.pjsonPath);
2485
+ let a = r.imports;
2486
+ if (a) if (ui.call(a, t) && !t.includes("*")) {
2487
+ let o2 = xt(s, a[t], "", t, e, false, true, false, i);
2488
+ if (o2 != null) return o2;
2489
+ } else {
2490
+ let o2 = "", h = "", c = Object.getOwnPropertyNames(a), l = -1;
2491
+ for (; ++l < c.length; ) {
2492
+ let p = c[l], f = p.indexOf("*");
2493
+ if (f !== -1 && t.startsWith(p.slice(0, -1))) {
2494
+ let u = p.slice(f + 1);
2495
+ t.length >= p.length && t.endsWith(u) && _i(o2, p) === 1 && p.lastIndexOf("*") === f && (o2 = p, h = t.slice(f, t.length - u.length));
2496
+ }
2497
+ }
2498
+ if (o2) {
2499
+ let p = xt(s, a[o2], h, o2, e, true, true, false, i);
2500
+ if (p != null) return p;
2501
+ }
2502
+ }
2503
+ }
2504
+ throw (function(a, o2, h) {
2505
+ return new Ls(a, o2 && (0, g.fileURLToPath)(new g.URL(".", o2)), (0, g.fileURLToPath)(h));
2506
+ })(t, s, e);
2507
+ }
2508
+ function Ei(t, e, i) {
2509
+ if (mt.builtinModules.includes(t)) return new g.URL("node:" + t);
2510
+ let { packageName: s, packageSubpath: r, isScoped: a } = (function(p, f) {
2511
+ let u = p.indexOf("/"), v = true, w = false;
2512
+ p[0] === "@" && (w = true, u === -1 || p.length === 0 ? v = false : u = p.indexOf("/", u + 1));
2513
+ let y = u === -1 ? p : p.slice(0, u);
2514
+ if (Vs.exec(y) !== null && (v = false), !v) throw new Ft(p, "is not a valid package name", (0, g.fileURLToPath)(f));
2515
+ return { packageName: y, packageSubpath: "." + (u === -1 ? "" : p.slice(u)), isScoped: w };
2516
+ })(t, e), o2 = ce(e);
2517
+ if (o2.exists) {
2518
+ let p = (0, g.pathToFileURL)(o2.pjsonPath);
2519
+ if (o2.name === s && o2.exports !== void 0 && o2.exports !== null) return yi(p, r, o2, e, i);
2520
+ }
2521
+ let h, c = new g.URL("./node_modules/" + s + "/package.json", e), l = (0, g.fileURLToPath)(c);
2522
+ do {
2523
+ let p = vi(l.slice(0, -13));
2524
+ if (!p || !p.isDirectory()) {
2525
+ h = l, c = new g.URL((a ? "../../../../node_modules/" : "../../../node_modules/") + s + "/package.json", c), l = (0, g.fileURLToPath)(c);
2526
+ continue;
2527
+ }
2528
+ let f = ai(l, { base: e, specifier: t });
2529
+ return f.exports !== void 0 && f.exports !== null ? yi(c, r, f, e, i) : r === "." ? js(c, f, e) : new g.URL(r, c);
2530
+ } while (l.length !== h.length);
2531
+ throw new pe(s, (0, g.fileURLToPath)(e), false);
2532
+ }
2533
+ function Ws(t, e, i, s) {
2534
+ let r = e.protocol, a = r === "data:" || r === "http:" || r === "https:", o2;
2535
+ if ((function(h) {
2536
+ return h !== "" && (h[0] === "/" || (function(c) {
2537
+ return c[0] === "." && (c.length === 1 || c[1] === "/" || c[1] === "." && (c.length === 2 || c[2] === "/"));
2538
+ })(h));
2539
+ })(t)) try {
2540
+ o2 = new g.URL(t, e);
2541
+ } catch (h) {
2542
+ let c = new li(t, e);
2543
+ throw c.cause = h, c;
2544
+ }
2545
+ else if (r === "file:" && t[0] === "#") o2 = qs(t, e, i);
2546
+ else try {
2547
+ o2 = new g.URL(t);
2548
+ } catch (h) {
2549
+ if (a && !mt.builtinModules.includes(t)) {
2550
+ let c = new li(t, e);
2551
+ throw c.cause = h, c;
2552
+ }
2553
+ o2 = Ei(t, e, i);
2554
+ }
2555
+ return st(o2 !== void 0, "expected to be defined"), o2.protocol !== "file:" ? o2 : (function(h, c) {
2556
+ if (Us.exec(h.pathname) !== null) throw new Ft(h.pathname, 'must not include encoded "/" or "\\" characters', (0, g.fileURLToPath)(c));
2557
+ let l;
2558
+ try {
2559
+ l = (0, g.fileURLToPath)(h);
2560
+ } catch (f) {
2561
+ let u = f;
2562
+ throw Object.defineProperty(u, "input", { value: String(h) }), Object.defineProperty(u, "module", { value: String(c) }), u;
2563
+ }
2564
+ let p = vi(l.endsWith("/") ? l.slice(-1) : l);
2565
+ if (p && p.isDirectory()) {
2566
+ let f = new Ds(l, (0, g.fileURLToPath)(c));
2567
+ throw f.url = String(h), f;
2568
+ }
2569
+ if (!p || !p.isFile()) {
2570
+ let f = new pe(l || h.pathname, c && (0, g.fileURLToPath)(c), true);
2571
+ throw f.url = String(h), f;
2572
+ }
2573
+ {
2574
+ let f = (0, D.realpathSync)(l), { search: u, hash: v } = h;
2575
+ (h = (0, g.pathToFileURL)(f + (l.endsWith(ne.sep) ? "/" : ""))).search = u, h.hash = v;
2576
+ }
2577
+ return h;
2578
+ })(o2, e);
2579
+ }
2580
+ function Rt(t) {
2581
+ return typeof t != "string" || t.startsWith("file://") ? ae((0, g.fileURLToPath)(t)) : ae(t);
2582
+ }
2583
+ function vt(t) {
2584
+ return (0, g.pathToFileURL)(Rt(t)).toString();
2585
+ }
2586
+ let Gs = /* @__PURE__ */ new Set(["node", "import"]), Hs = [".mjs", ".cjs", ".js", ".json"], Ks = /* @__PURE__ */ new Set(["ERR_MODULE_NOT_FOUND", "ERR_UNSUPPORTED_DIR_IMPORT", "MODULE_NOT_FOUND", "ERR_PACKAGE_PATH_NOT_EXPORTED"]);
2587
+ function bi(t, e, i) {
2588
+ try {
2589
+ return Ws(t, e, i);
2590
+ } catch (s) {
2591
+ if (!Ks.has(s?.code)) throw s;
2592
+ }
2593
+ }
2594
+ function zs(t, e = {}) {
2595
+ if (typeof t != "string") {
2596
+ if (!(t instanceof URL)) throw new TypeError("input must be a `string` or `URL`");
2597
+ t = Rt(t);
2598
+ }
2599
+ if (/(?:node|data|http|https):/.test(t)) return t;
2600
+ if (ii.has(t)) return "node:" + t;
2601
+ if (t.startsWith("file://") && (t = Rt(t)), at(t)) try {
2602
+ if ((0, D.statSync)(t).isFile()) return vt(t);
2603
+ } catch (o2) {
2604
+ if (o2?.code !== "ENOENT") throw o2;
2605
+ }
2606
+ let i = e.conditions ? new Set(e.conditions) : Gs, s = (Array.isArray(e.url) ? e.url : [e.url]).filter(Boolean).map((o2) => new URL((function(h) {
2607
+ return typeof h != "string" && (h = h.toString()), /(?:node|data|http|https|file):/.test(h) ? h : ii.has(h) ? "node:" + h : "file://" + encodeURI(ae(h));
2608
+ })(o2.toString())));
2609
+ s.length === 0 && s.push(new URL(vt(process.cwd())));
2610
+ let r = [...s];
2611
+ for (let o2 of s) o2.protocol === "file:" && r.push(new URL("./", o2), new URL(Qe(o2.pathname, "_index.js"), o2), new URL("node_modules", o2));
2612
+ let a;
2613
+ for (let o2 of r) {
2614
+ if (a = bi(t, o2, i), a) break;
2615
+ for (let h of ["", "/index"]) {
2616
+ for (let c of e.extensions || Hs) if (a = bi(Qe(t, h) + c, o2, i), a) break;
2617
+ if (a) break;
2618
+ }
2619
+ if (a) break;
2620
+ }
2621
+ if (!a) {
2622
+ let o2 = new Error(`Cannot find module ${t} imported from ${r.join(", ")}`);
2623
+ throw o2.code = "ERR_MODULE_NOT_FOUND", o2;
2624
+ }
2625
+ return vt(a);
2626
+ }
2627
+ function Js(t, e) {
2628
+ return zs(t, e);
2629
+ }
2630
+ function Ys(t, e) {
2631
+ return Rt(Js(t, e));
2632
+ }
2633
+ let Qs = /(?:[\s;]|^)(?:import[\s\w*,{}]*from|import\s*["'*{]|export\b\s*(?:[*{]|default|class|type|function|const|var|let|async function)|import\.meta\b)/m, Zs = /\/\*.+?\*\/|\/\/.*(?=[nr])/g;
2634
+ function Xs(t, e = {}) {
2635
+ return e.stripComments && (t = t.replace(Zs, "")), Qs.test(t);
2636
+ }
2637
+ function Si(t) {
2638
+ if (typeof t != "string") throw new TypeError("Expected a string");
2639
+ return t.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
2640
+ }
2641
+ let tr = /* @__PURE__ */ new Set(["/", "\\", void 0]), Ci = Symbol.for("pathe:normalizedAlias"), er = /[/\\]/;
2642
+ function Ii(t) {
2643
+ if (t[Ci]) return t;
2644
+ let e = Object.fromEntries(Object.entries(t).sort(([i], [s]) => (function(r, a) {
2645
+ return a.split("/").length - r.split("/").length;
2646
+ })(i, s)));
2647
+ for (let i in e) for (let s in e) s === i || i.startsWith(s) || e[i]?.startsWith(s) && tr.has(e[i][s.length]) && (e[i] = e[s] + e[i].slice(s.length));
2648
+ return Object.defineProperty(e, Ci, { value: true, enumerable: false }), e;
2649
+ }
2650
+ function ki(t = "/") {
2651
+ let e = t[t.length - 1];
2652
+ return e === "/" || e === "\\";
2653
+ }
2654
+ var ir = { rE: "2.6.1" };
2655
+ let sr = m("crypto");
2656
+ var fe = H.n(sr);
2657
+ let qt = /* @__PURE__ */ Object.create(null), At = (t) => globalThis.process?.env || globalThis.Deno?.env.toObject() || globalThis.__env__ || (t ? qt : globalThis), rt = new Proxy(qt, { get: (t, e) => At()[e] ?? qt[e], has: (t, e) => e in At() || e in qt, set: (t, e, i) => (At(true)[e] = i, true), deleteProperty(t, e) {
2658
+ return e ? (delete At(true)[e], true) : false;
2659
+ }, ownKeys() {
2660
+ let t = At(true);
2661
+ return Object.keys(t);
2662
+ } }), rr = typeof process < "u" && process.env && process.env.NODE_ENV || "", nr = [["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 }]], wi = (function() {
2663
+ if (globalThis.process?.env) for (let t of nr) {
2664
+ let e = t[1] || t[0];
2665
+ if (globalThis.process?.env[e]) return { name: t[0].toLowerCase(), ...t[2] };
2666
+ }
2667
+ return globalThis.process?.env?.SHELL === "/bin/jsh" && globalThis.process?.versions?.webcontainer ? { name: "stackblitz", ci: false } : { name: "", ci: false };
2668
+ })();
2669
+ wi.name;
2670
+ function ht(t) {
2671
+ return !!t && t !== "false";
2672
+ }
2673
+ let de = globalThis.process?.platform || "", Nr = ht(rt.CI) || wi.ci !== false, ar = ht(globalThis.process?.stdout && globalThis.process?.stdout.isTTY), Lr = (ht(rt.DEBUG), rr === "test" || ht(rt.TEST)), Ri = (ht(rt.MINIMAL), /^win/i.test(de)), or = (/^linux/i.test(de), /^darwin/i.test(de), !ht(rt.NO_COLOR) && (ht(rt.FORCE_COLOR) || (ar || Ri) && rt.TERM), (globalThis.process?.versions?.node || "").replace(/^v/, "") || null), hr = (Number(or?.split(".")[0]), globalThis.process || /* @__PURE__ */ Object.create(null)), Ai = { versions: {} }, cr = (new Proxy(hr, { get: (t, e) => e === "env" ? rt : e in t ? t[e] : e in Ai ? Ai[e] : void 0 }), globalThis.process?.release?.name === "node"), pr = !!globalThis.Bun || !!globalThis.process?.versions?.bun, lr = !!globalThis.Deno, ur = !!globalThis.fastly, fr = [[!!globalThis.Netlify, "netlify"], [!!globalThis.EdgeRuntime, "edge-light"], [globalThis.navigator?.userAgent === "Cloudflare-Workers", "workerd"], [ur, "fastly"], [lr, "deno"], [pr, "bun"], [cr, "node"]];
2674
+ (function() {
2675
+ let t = fr.find((e) => e[0]);
2676
+ t && t[1];
2677
+ })();
2678
+ let dr = m("tty"), mr = dr?.WriteStream?.prototype?.hasColors?.() ?? false, _ = (t, e) => {
2679
+ if (!mr) return (r) => r;
2680
+ let i = `\x1B[${t}m`, s = `\x1B[${e}m`;
2681
+ return (r) => {
2682
+ let a = r + "", o2 = a.indexOf(s);
2683
+ if (o2 === -1) return i + a + s;
2684
+ let h = i, c = 0, l = (e === 22 ? s : "") + i;
2685
+ for (; o2 !== -1; ) h += a.slice(c, o2) + l, c = o2 + s.length, o2 = a.indexOf(s, c);
2686
+ return h += a.slice(c) + s, h;
2687
+ };
2688
+ }, Ti = (_(0, 0), _(1, 22), _(2, 22), _(3, 23), _(4, 24), _(53, 55), _(7, 27), _(8, 28), _(9, 29), _(30, 39), _(31, 39)), yt = _(32, 39), Wt = _(33, 39), Pi = _(34, 39), gr = (_(35, 39), _(36, 39)), xr = (_(37, 39), _(90, 39));
2689
+ _(40, 49), _(41, 49), _(42, 49), _(43, 49), _(44, 49), _(45, 49), _(46, 49), _(47, 49), _(100, 49), _(91, 39), _(92, 39), _(93, 39), _(94, 39), _(95, 39), _(96, 39), _(97, 39), _(101, 49), _(102, 49), _(103, 49), _(104, 49), _(105, 49), _(106, 49), _(107, 49);
2690
+ function Ni(t) {
2691
+ if (typeof t != "string" || t.startsWith("file://")) return false;
2692
+ try {
2693
+ return (0, D.lstatSync)(t).isDirectory();
2694
+ } catch {
2695
+ return false;
2696
+ }
2697
+ }
2698
+ function Li(t, e = 8) {
2699
+ return ((function() {
2700
+ if (_t !== void 0) return _t;
2701
+ try {
2702
+ return _t = !!fe().getFips?.(), _t;
2703
+ } catch {
2704
+ return _t = false, _t;
2705
+ }
2706
+ })() ? fe().createHash("sha256") : fe().createHash("md5")).update(t).digest("hex").slice(0, e);
2707
+ }
2708
+ let Oi = { true: yt("true"), false: Wt("false"), "[rebuild]": Wt("[rebuild]"), "[esm]": Pi("[esm]"), "[cjs]": yt("[cjs]"), "[import]": Pi("[import]"), "[require]": yt("[require]"), "[native]": gr("[native]"), "[transpile]": Wt("[transpile]"), "[fallback]": Ti("[fallback]"), "[unknown]": Ti("[unknown]"), "[hit]": yt("[hit]"), "[miss]": Wt("[miss]"), "[json]": yt("[json]"), "[data]": yt("[data]") };
2709
+ function P(t, ...e) {
2710
+ if (!t.opts.debug) return;
2711
+ let i = process.cwd();
2712
+ console.log(xr(["[jiti]", ...e.map((s) => s in Oi ? Oi[s] : typeof s != "string" ? JSON.stringify(s) : s.replace(i, "."))].join(" ")));
2713
+ }
2714
+ function ct(t, e) {
2715
+ return t.opts.interopDefault ? (function(i) {
2716
+ let s = typeof i;
2717
+ if (i === null || s !== "object" && s !== "function") return i;
2718
+ let r = i.default, a = typeof r, o2 = r == null, h = a === "object" || a === "function";
2719
+ return o2 && i instanceof Promise ? i : new Proxy(i, { get(c, l, p) {
2720
+ if (l === "__esModule") return true;
2721
+ if (l === "default") return o2 ? i : typeof r?.default == "function" && i.__esModule ? r.default : r;
2722
+ if (Reflect.has(c, l)) return Reflect.get(c, l, p);
2723
+ if (h && !(r instanceof Promise)) {
2724
+ let f = Reflect.get(r, l, p);
2725
+ return typeof f == "function" && (f = f.bind(r)), f;
2726
+ }
2727
+ }, apply: (c, l, p) => typeof c == "function" ? Reflect.apply(c, l, p) : a === "function" ? Reflect.apply(r, l, p) : void 0 });
2728
+ })(e) : e;
2729
+ }
2730
+ let _t;
2731
+ function Z(t, e) {
2732
+ return !!Et(t, e);
2733
+ }
2734
+ function Et(t, e) {
2735
+ let i = process.env[t];
2736
+ if (!(t in process.env)) return e;
2737
+ try {
2738
+ return JSON.parse(i);
2739
+ } catch {
2740
+ return e;
2741
+ }
2742
+ }
2743
+ let Di = /\.(c|m)?j(sx?)$/, Vi = /\.(c|m)?t(sx?)$/;
2744
+ function Tt(t, e, i) {
2745
+ let s, r;
2746
+ if (t.isNativeRe.test(e)) return e;
2747
+ t.alias && (e = (function(h, c) {
2748
+ let l = gt(h);
2749
+ c = Ii(c);
2750
+ for (let [p, f] of Object.entries(c)) {
2751
+ if (!l.startsWith(p)) continue;
2752
+ let u = ki(p) ? p.slice(0, -1) : p;
2753
+ if (ki(l[u.length])) return it(f, l.slice(p.length));
2754
+ }
2755
+ return l;
2756
+ })(e, t.alias));
2757
+ let a = i?.parentURL || t.url;
2758
+ Ni(a) && (a = it(a, "_index.js"));
2759
+ let o2 = (i?.async ? [i?.conditions, ["node", "import"], ["node", "require"]] : [i?.conditions, ["node", "require"], ["node", "import"]]).filter(Boolean);
2760
+ for (let h of o2) {
2761
+ try {
2762
+ s = Ys(e, { url: a, conditions: h, extensions: t.opts.extensions });
2763
+ } catch (c) {
2764
+ r = c;
2765
+ }
2766
+ if (s) return s;
2767
+ }
2768
+ try {
2769
+ return t.nativeRequire.resolve(e, { paths: i.paths });
2770
+ } catch (h) {
2771
+ r = h;
2772
+ }
2773
+ for (let h of t.additionalExts) if (s = me(t, e + h, a, i) || me(t, e + "/index" + h, a, i), s || (Vi.test(t.filename) || Vi.test(t.parentModule?.filename || "") || Di.test(e)) && (s = me(t, e.replace(Di, ".$1t$2"), a, i), s)) return s;
2774
+ if (!i?.try) throw r;
2775
+ }
2776
+ function me(t, e, i, s) {
2777
+ try {
2778
+ return t.nativeRequire.resolve(e, { ...s, paths: [Mt(Rt(i)), ...s?.paths || []] });
2779
+ } catch {
2780
+ }
2781
+ }
2782
+ let Ui = m("perf_hooks"), vr = m("vm");
2783
+ var yr = H.n(vr);
2784
+ function ge(t, e, i) {
2785
+ let s = t.parentCache || {};
2786
+ if (e.startsWith("node:")) return pt(t, e, i.async);
2787
+ if (e.startsWith("file:")) e = (0, g.fileURLToPath)(e);
2788
+ else if (e.startsWith("data:")) {
2789
+ if (!i.async) throw new Error("`data:` URLs are only supported in ESM context. Use `import` or `jiti.import` instead.");
2790
+ return P(t, "[native]", "[data]", "[import]", e), pt(t, e, true);
2791
+ }
2792
+ if (mt.builtinModules.includes(e) || e === ".pnp.js") return pt(t, e, i.async);
2793
+ if (t.opts.tryNative && !t.opts.transformOptions) try {
2794
+ if (!(e = Tt(t, e, i)) && i.try) return;
2795
+ if (P(t, "[try-native]", i.async && t.nativeImport ? "[import]" : "[require]", e), i.async && t.nativeImport) return t.nativeImport(e).then((h) => (t.opts.moduleCache === false && delete t.nativeRequire.cache[e], ct(t, h)));
2796
+ {
2797
+ let h = t.nativeRequire(e);
2798
+ return t.opts.moduleCache === false && delete t.nativeRequire.cache[e], ct(t, h);
2799
+ }
2800
+ } catch (h) {
2801
+ P(t, `[try-native] Using fallback for ${e} because of an error:`, h);
2802
+ }
2803
+ let r = Tt(t, e, i);
2804
+ if (!r && i.try) return;
2805
+ let a = ti(r);
2806
+ if (a === ".json") {
2807
+ P(t, "[json]", r);
2808
+ let h = t.nativeRequire(r);
2809
+ return h && !("default" in h) && Object.defineProperty(h, "default", { value: h, enumerable: false }), h;
2810
+ }
2811
+ if (a && !t.opts.extensions.includes(a)) return P(t, "[native]", "[unknown]", i.async ? "[import]" : "[require]", r), pt(t, r, i.async);
2812
+ if (t.isNativeRe.test(r)) return P(t, "[native]", i.async ? "[import]" : "[require]", r), pt(t, r, i.async);
2813
+ if (s[r]) return ct(t, s[r]?.exports);
2814
+ if (t.opts.moduleCache) {
2815
+ let h = t.nativeRequire.cache[r];
2816
+ if (h?.loaded) return ct(t, h.exports);
2817
+ }
2818
+ let o2 = (0, D.readFileSync)(r, "utf8");
2819
+ return ve(t, o2, { id: e, filename: r, ext: a, cache: s, async: i.async });
2820
+ }
2821
+ function pt(t, e, i) {
2822
+ return i && t.nativeImport ? t.nativeImport((function(s) {
2823
+ return Ri && at(s) ? vt(s) : s;
2824
+ })(e)).then((s) => ct(t, s)) : ct(t, t.nativeRequire(e));
2825
+ }
2826
+ let _r = "9";
2827
+ function Er(t, e, i) {
2828
+ if (!t.opts.fsCache || !e.filename) return i();
2829
+ let s = ` /* v${_r}-${Li(e.source, 16)} */
2830
+ `, r = `${ei(Mt(e.filename))}-${(function(c) {
2831
+ let l = c.split(er).pop();
2832
+ if (!l) return;
2833
+ let p = l.lastIndexOf(".");
2834
+ return p <= 0 ? l : l.slice(0, p);
2835
+ })(e.filename)}` + (t.opts.sourceMaps ? "+map" : "") + (e.interopDefault ? ".i" : "") + `.${Li(e.filename)}` + (e.async ? ".mjs" : ".cjs");
2836
+ e.jsx && e.filename.endsWith("x") && (r += "x");
2837
+ let a = t.opts.fsCache, o2 = it(a, r);
2838
+ if (!t.opts.rebuildFsCache && (0, D.existsSync)(o2)) {
2839
+ let c = (0, D.readFileSync)(o2, "utf8");
2840
+ if (c.endsWith(s)) return P(t, "[cache]", "[hit]", e.filename, "~>", o2), c;
2841
+ }
2842
+ P(t, "[cache]", "[miss]", e.filename);
2843
+ let h = i();
2844
+ return h.includes("__JITI_ERROR__") || ((0, D.writeFileSync)(o2, h + s, "utf8"), P(t, "[cache]", "[store]", e.filename, "~>", o2)), h;
2845
+ }
2846
+ function br(t) {
2847
+ if (t.opts.fsCache === true && (t.opts.fsCache = (function(e) {
2848
+ let i = e.filename && bs(e.filename, "../node_modules");
2849
+ if (i && (0, D.existsSync)(i)) return it(i, ".cache/jiti");
2850
+ let s = (0, T.tmpdir)();
2851
+ if (process.env.TMPDIR && s === process.cwd() && !process.env.JITI_RESPECT_TMPDIR_ENV) {
2852
+ let r = process.env.TMPDIR;
2853
+ delete process.env.TMPDIR, s = (0, T.tmpdir)(), process.env.TMPDIR = r;
2854
+ }
2855
+ return it(s, "jiti");
2856
+ })(t)), t.opts.fsCache) try {
2857
+ if ((0, D.mkdirSync)(t.opts.fsCache, { recursive: true }), !(function(e) {
2858
+ try {
2859
+ return (0, D.accessSync)(e, D.constants.W_OK), true;
2860
+ } catch {
2861
+ return false;
2862
+ }
2863
+ })(t.opts.fsCache)) throw new Error("directory is not writable!");
2864
+ } catch (e) {
2865
+ P(t, "Error creating cache directory at ", t.opts.fsCache, e), t.opts.fsCache = false;
2866
+ }
2867
+ }
2868
+ function xe(t, e) {
2869
+ let i = Er(t, e, () => {
2870
+ let s = t.opts.transform({ ...t.opts.transformOptions, babel: { ...t.opts.sourceMaps ? { sourceFileName: e.filename, sourceMaps: "inline" } : {}, ...t.opts.transformOptions?.babel }, interopDefault: t.opts.interopDefault, ...e });
2871
+ return s.error && t.opts.debug && P(t, s.error), s.code;
2872
+ });
2873
+ return i.startsWith("#!") && (i = "// " + i), i;
2874
+ }
2875
+ function ve(t, e, i = {}) {
2876
+ let s = i.id || (i.filename ? ei(i.filename) : `_jitiEval.${i.ext || (i.async ? "mjs" : "js")}`), r = i.filename || Tt(t, s, { async: i.async }), a = i.ext || ti(r), o2 = i.cache || t.parentCache || {}, h = /\.[cm]?tsx?$/.test(a), c = a === ".mjs" || a === ".js" && (function(k) {
2877
+ for (; k && k !== "." && k !== "/"; ) {
2878
+ k = it(k, "..");
2879
+ try {
2880
+ let lt = (0, D.readFileSync)(it(k, "package.json"), "utf8");
2881
+ try {
2882
+ return JSON.parse(lt);
2883
+ } catch {
2884
+ }
2885
+ break;
2886
+ } catch {
2887
+ }
2888
+ }
2889
+ })(r)?.type === "module", l = a === ".cjs", p = i.forceTranspile ?? (!l && !(c && i.async) && (h || c || t.isTransformRe.test(r) || Xs(e))), f = Ui.performance.now();
2890
+ if (p) {
2891
+ e = xe(t, { filename: r, source: e, ts: h, async: i.async ?? false, jsx: t.opts.jsx });
2892
+ let k = Math.round(1e3 * (Ui.performance.now() - f)) / 1e3;
2893
+ P(t, "[transpile]", i.async ? "[esm]" : "[cjs]", r, `(${k}ms)`);
2894
+ } else {
2895
+ if (P(t, "[native]", i.async ? "[import]" : "[require]", r), i.async) return Promise.resolve(pt(t, r, i.async)).catch((k) => (P(t, "Native import error:", k), P(t, "[fallback]", r), ve(t, e, { ...i, forceTranspile: true })));
2896
+ try {
2897
+ return pt(t, r, i.async);
2898
+ } catch (k) {
2899
+ P(t, "Native require error:", k), P(t, "[fallback]", r), e = xe(t, { filename: r, source: e, ts: h, async: i.async ?? false, jsx: t.opts.jsx });
2900
+ }
2901
+ }
2902
+ let u = new mt.Module(r);
2903
+ u.filename = r, t.parentModule && (u.parent = t.parentModule, Array.isArray(t.parentModule.children) && !t.parentModule.children.includes(u) && t.parentModule.children.push(u));
2904
+ let v = Mi(r, t.opts, { parentModule: u, parentCache: o2, nativeImport: t.nativeImport, onError: t.onError, createRequire: t.createRequire }, true), w;
2905
+ u.require = v, u.path = Mt(r), u.paths = mt.Module._nodeModulePaths(u.path), o2[r] = u, t.opts.moduleCache && (t.nativeRequire.cache[r] = u);
2906
+ let y = (function(k, lt) {
2907
+ return `(${lt?.async ? "async " : ""}function (exports, require, module, __filename, __dirname, jitiImport, jitiESMResolve) { ${k}
2908
+ });`;
2909
+ })(e, { async: i.async });
2910
+ try {
2911
+ w = yr().runInThisContext(y, { filename: r, lineOffset: 0, displayErrors: false });
2912
+ } catch (k) {
2913
+ k.name === "SyntaxError" && i.async && t.nativeImport ? (P(t, "[esm]", "[import]", "[fallback]", r), w = (function(lt, ye) {
2914
+ let _e = `data:text/javascript;base64,${Buffer.from(`export default ${lt}`).toString("base64")}`;
2915
+ return (...Ee) => ye(_e).then((Gt) => Gt.default(...Ee));
2916
+ })(y, t.nativeImport)) : (t.opts.moduleCache && delete t.nativeRequire.cache[r], t.onError(k));
2917
+ }
2918
+ let I;
2919
+ try {
2920
+ I = w(u.exports, u.require, u, u.filename, Mt(u.filename), v.import, v.esmResolve);
2921
+ } catch (k) {
2922
+ t.opts.moduleCache && delete t.nativeRequire.cache[r], t.onError(k);
2923
+ }
2924
+ function C() {
2925
+ if (u.exports && u.exports.__JITI_ERROR__) {
2926
+ let { filename: k, line: lt, column: ye, code: _e, message: Ee } = u.exports.__JITI_ERROR__, Gt = new Error(`${_e}: ${Ee}
2927
+ ${`${k}:${lt}:${ye}`}`);
2928
+ Error.captureStackTrace(Gt, ge), t.onError(Gt);
2929
+ }
2930
+ return u.loaded = true, ct(t, u.exports);
2931
+ }
2932
+ return i.async ? Promise.resolve(I).then(C) : C();
2933
+ }
2934
+ let Sr = (0, T.platform)() === "win32";
2935
+ function Mi(t, e = {}, i, s = false) {
2936
+ let r = s ? e : (function(y) {
2937
+ let I = { fsCache: Z("JITI_FS_CACHE", Z("JITI_CACHE", true)), rebuildFsCache: Z("JITI_REBUILD_FS_CACHE", false), moduleCache: Z("JITI_MODULE_CACHE", Z("JITI_REQUIRE_CACHE", true)), debug: Z("JITI_DEBUG", false), sourceMaps: Z("JITI_SOURCE_MAPS", false), interopDefault: Z("JITI_INTEROP_DEFAULT", true), extensions: Et("JITI_EXTENSIONS", [".js", ".mjs", ".cjs", ".ts", ".tsx", ".mts", ".cts", ".mtsx", ".ctsx"]), alias: Et("JITI_ALIAS", {}), nativeModules: Et("JITI_NATIVE_MODULES", []), transformModules: Et("JITI_TRANSFORM_MODULES", []), tryNative: Et("JITI_TRY_NATIVE", "Bun" in globalThis), jsx: Z("JITI_JSX", false) };
2938
+ I.jsx && I.extensions.push(".jsx", ".tsx");
2939
+ let C = {};
2940
+ return y.cache !== void 0 && (C.fsCache = y.cache), y.requireCache !== void 0 && (C.moduleCache = y.requireCache), { ...I, ...C, ...y };
2941
+ })(e), a = r.alias && Object.keys(r.alias).length > 0 ? Ii(r.alias || {}) : void 0, o2 = ["typescript", "jiti", ...r.nativeModules || []], h = new RegExp(`node_modules/(${o2.map((y) => Si(y)).join("|")})/`), c = [...r.transformModules || []], l = new RegExp(`node_modules/(${c.map((y) => Si(y)).join("|")})/`);
2942
+ t || (t = process.cwd()), !s && Ni(t) && (t = it(t, "_index.js"));
2943
+ let p = vt(t), f = [...r.extensions].filter((y) => y !== ".js"), u = i.createRequire(Sr ? t.replace(/\//g, "\\") : t), v = { filename: t, url: p, opts: r, alias: a, nativeModules: o2, transformModules: c, isNativeRe: h, isTransformRe: l, additionalExts: f, nativeRequire: u, onError: i.onError, parentModule: i.parentModule, parentCache: i.parentCache, nativeImport: i.nativeImport, createRequire: i.createRequire };
2944
+ return s || P(v, "[init]", ...[["version:", ir.rE], ["module-cache:", r.moduleCache], ["fs-cache:", r.fsCache], ["rebuild-fs-cache:", r.rebuildFsCache], ["interop-defaults:", r.interopDefault]].flat()), s || br(v), Object.assign(function(y) {
2945
+ return ge(v, y, { async: false });
2946
+ }, { cache: r.moduleCache ? u.cache : /* @__PURE__ */ Object.create(null), extensions: u.extensions, main: u.main, options: r, resolve: Object.assign(function(y) {
2947
+ return Tt(v, y, { async: false });
2948
+ }, { paths: u.resolve.paths }), transform: (y) => xe(v, y), evalModule: (y, I) => ve(v, y, I), async import(y, I) {
2949
+ let C = await ge(v, y, { ...I, async: true });
2950
+ return I?.default ? C?.default ?? C : C;
2951
+ }, esmResolve(y, I) {
2952
+ typeof I == "string" && (I = { parentURL: I });
2953
+ let C = Tt(v, y, { parentURL: p, ...I, async: true });
2954
+ return !C || typeof C != "string" || C.startsWith("file://") ? C : vt(C);
2955
+ } });
2956
+ }
2957
+ })(), ji.exports = Se.default;
2958
+ })();
2959
+ });
2960
+ function wr(Y) {
2961
+ throw Y;
2962
+ }
2963
+ function Ar(...Y) {
2964
+ return be || (be = Fi(import.meta.url)("../dist/babel.cjs")), be(...Y);
2965
+ }
2966
+ function Tr(Y, nt = {}) {
2967
+ return nt.transform || (nt = { ...nt, transform: Ar }), (0, $i.default)(Y, nt, { onError: wr, nativeImport: Rr, createRequire: Fi });
2968
+ }
2969
+ var $i;
2970
+ var Rr;
2971
+ var be;
2972
+ var Vr;
2973
+ var Pr = n(() => {
2974
+ $i = q(Bi(), 1);
2975
+ Rr = (Y) => import(Y);
2976
+ Vr = Tr;
2977
+ });
2978
+ Pr();
2979
+ export {
2980
+ Tr as createJiti,
2981
+ Vr as default
2982
+ };