@powerlines/plugin-env 0.15.13 → 0.15.14

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 (267) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +4 -0
  2. package/dist/_virtual/rolldown_runtime.mjs +33 -0
  3. package/dist/babel/plugin.cjs +16 -16
  4. package/dist/babel/plugin.d.mts +2 -2
  5. package/dist/babel/plugin.mjs +7 -7
  6. package/dist/components/docs.cjs +8 -8
  7. package/dist/components/docs.mjs +5 -5
  8. package/dist/components/env.cjs +38 -39
  9. package/dist/components/env.d.mts +2 -2
  10. package/dist/components/env.mjs +11 -11
  11. package/dist/helpers/automd-generator.cjs +4 -4
  12. package/dist/helpers/automd-generator.d.mts +1 -1
  13. package/dist/helpers/automd-generator.mjs +3 -3
  14. package/dist/helpers/load.cjs +12 -13
  15. package/dist/helpers/load.d.mts +2 -2
  16. package/dist/helpers/load.mjs +10 -10
  17. package/dist/helpers/persistence.cjs +23 -23
  18. package/dist/helpers/persistence.d.mts +1 -1
  19. package/dist/helpers/persistence.mjs +7 -7
  20. package/dist/helpers/reflect.cjs +9 -9
  21. package/dist/helpers/reflect.mjs +5 -5
  22. package/dist/helpers/source-file-env.cjs +1 -1
  23. package/dist/helpers/source-file-env.mjs +1 -1
  24. package/dist/index.cjs +28 -26
  25. package/dist/index.d.mts +1 -1
  26. package/dist/index.mjs +25 -25
  27. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/parse-type-definition.cjs +31 -0
  28. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/parse-type-definition.mjs +31 -0
  29. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/to-array.cjs +8 -0
  30. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/to-array.mjs +7 -0
  31. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.cjs +6 -0
  32. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs +5 -0
  33. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/index.cjs +3 -0
  34. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/index.mjs +5 -0
  35. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.cjs +6 -0
  36. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs +6 -0
  37. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-collection.cjs +1 -0
  38. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-collection.mjs +3 -0
  39. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-object.cjs +13 -0
  40. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs +13 -0
  41. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.cjs +13 -0
  42. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs +13 -0
  43. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-string.cjs +12 -0
  44. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs +11 -0
  45. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/type-detect.cjs +11 -0
  46. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs +12 -0
  47. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/is-parent-path.cjs +10 -0
  48. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/is-parent-path.mjs +10 -0
  49. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/is-type.cjs +13 -0
  50. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/is-type.mjs +13 -0
  51. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.cjs +49 -0
  52. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.mjs +49 -0
  53. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/regex.cjs +9 -0
  54. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/regex.mjs +5 -0
  55. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/slash.cjs +8 -0
  56. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/slash.mjs +7 -0
  57. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.cjs +346 -0
  58. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs +346 -0
  59. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.cjs +786 -0
  60. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.mjs +786 -0
  61. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/jsonc.cjs +3 -0
  62. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/jsonc.mjs +3 -0
  63. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.cjs +23 -0
  64. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs +22 -0
  65. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.cjs +405 -0
  66. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs +404 -0
  67. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.cjs +657 -0
  68. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.mjs +657 -0
  69. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.cjs +1054 -0
  70. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.mjs +1054 -0
  71. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs +43 -0
  72. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs +42 -0
  73. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +46 -0
  74. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs +45 -0
  75. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.cjs +288 -0
  76. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.mjs +285 -0
  77. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.cjs +71 -0
  78. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.mjs +68 -0
  79. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +1013 -0
  80. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +1007 -0
  81. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +23 -0
  82. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +13 -0
  83. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +2698 -0
  84. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +2685 -0
  85. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs +4457 -0
  86. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs +4454 -0
  87. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +29 -0
  88. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +29 -0
  89. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +181 -0
  90. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +176 -0
  91. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +22 -0
  92. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +17 -0
  93. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs +3967 -0
  94. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs +3962 -0
  95. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +11768 -0
  96. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +11763 -0
  97. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +25 -0
  98. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs +20 -0
  99. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +20 -0
  100. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +17 -0
  101. package/dist/node_modules/.pnpm/nypm@0.6.2/node_modules/nypm/dist/shared/nypm.CLjaS_sz.cjs +174 -0
  102. package/dist/node_modules/.pnpm/nypm@0.6.2/node_modules/nypm/dist/shared/nypm.CLjaS_sz.mjs +172 -0
  103. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs +13 -0
  104. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs +12 -0
  105. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.cjs +3 -0
  106. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.mjs +3 -0
  107. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs +145 -0
  108. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs +138 -0
  109. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +127 -0
  110. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +125 -0
  111. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +138 -0
  112. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +136 -0
  113. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +629 -0
  114. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +627 -0
  115. package/dist/{plugin-alloy → packages/plugin-alloy}/src/types/components.d.mts +1 -1
  116. package/dist/{plugin-alloy → packages/plugin-alloy}/src/typescript/components/typescript-file.d.mts +1 -1
  117. package/dist/{plugin-alloy → packages/plugin-alloy}/src/typescript/components/typescript-interface.d.mts +1 -1
  118. package/dist/{powerlines → packages/powerlines}/src/types/build.d.mts +6 -6
  119. package/dist/{powerlines → packages/powerlines}/src/types/config.d.mts +1 -2
  120. package/dist/{powerlines → packages/powerlines}/src/types/tsconfig.d.mts +1 -1
  121. package/dist/types/plugin.cjs +19 -18
  122. package/dist/types/plugin.d.mts +6 -6
  123. package/dist/types/plugin.mjs +4 -4
  124. package/dist/types/runtime.cjs +3 -2
  125. package/dist/types/runtime.d.mts +1 -1
  126. package/dist/types/runtime.mjs +1 -1
  127. package/package.json +10 -10
  128. package/dist/deepkit/schemas/reflection.cjs +0 -5368
  129. package/dist/deepkit/schemas/reflection.mjs +0 -5365
  130. package/dist/deepkit/schemas/reflection2.cjs +0 -4112
  131. package/dist/deepkit/schemas/reflection2.mjs +0 -4110
  132. package/dist/deepkit/src/capnp.cjs +0 -1692
  133. package/dist/deepkit/src/capnp.mjs +0 -1690
  134. package/dist/deepkit/src/esbuild-plugin.cjs +0 -99
  135. package/dist/deepkit/src/esbuild-plugin.mjs +0 -98
  136. package/dist/deepkit/src/reflect-type.cjs +0 -40
  137. package/dist/deepkit/src/reflect-type.mjs +0 -38
  138. package/dist/deepkit/src/resolve-reflections.cjs +0 -23
  139. package/dist/deepkit/src/resolve-reflections.mjs +0 -22
  140. package/dist/deepkit/src/transformer.cjs +0 -92
  141. package/dist/deepkit/src/transformer.mjs +0 -89
  142. package/dist/deepkit/src/transpile.cjs +0 -39
  143. package/dist/deepkit/src/transpile.mjs +0 -37
  144. package/dist/deepkit/src/types.cjs +0 -22
  145. package/dist/deepkit/src/types.mjs +0 -21
  146. package/dist/deepkit/src/utilities.cjs +0 -182
  147. package/dist/deepkit/src/utilities.mjs +0 -181
  148. package/dist/plugin-alloy/src/core/components/output.cjs +0 -45
  149. package/dist/plugin-alloy/src/core/components/output.mjs +0 -44
  150. package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +0 -22
  151. package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +0 -21
  152. package/dist/plugin-alloy/src/core/components/source-file.cjs +0 -64
  153. package/dist/plugin-alloy/src/core/components/source-file.mjs +0 -62
  154. package/dist/plugin-alloy/src/core/contexts/context.cjs +0 -136
  155. package/dist/plugin-alloy/src/core/contexts/context.mjs +0 -128
  156. package/dist/plugin-alloy/src/core/contexts/index.cjs +0 -2
  157. package/dist/plugin-alloy/src/core/contexts/index.mjs +0 -4
  158. package/dist/plugin-alloy/src/core/contexts/reflection.cjs +0 -110
  159. package/dist/plugin-alloy/src/core/contexts/reflection.mjs +0 -101
  160. package/dist/plugin-alloy/src/helpers/refkey.cjs +0 -23
  161. package/dist/plugin-alloy/src/helpers/refkey.mjs +0 -22
  162. package/dist/plugin-alloy/src/index.cjs +0 -106
  163. package/dist/plugin-alloy/src/index.mjs +0 -104
  164. package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +0 -115
  165. package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +0 -114
  166. package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +0 -39
  167. package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +0 -38
  168. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +0 -72
  169. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +0 -71
  170. package/dist/plugin-alloy/src/types/components.cjs +0 -22
  171. package/dist/plugin-alloy/src/types/components.mjs +0 -21
  172. package/dist/plugin-alloy/src/types/plugin.cjs +0 -55
  173. package/dist/plugin-alloy/src/types/plugin.mjs +0 -52
  174. package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +0 -57
  175. package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +0 -56
  176. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +0 -126
  177. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +0 -124
  178. package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +0 -442
  179. package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +0 -433
  180. package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +0 -212
  181. package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +0 -209
  182. package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +0 -68
  183. package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +0 -67
  184. package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +0 -124
  185. package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +0 -123
  186. package/dist/plugin-automd/src/index.cjs +0 -127
  187. package/dist/plugin-automd/src/index.mjs +0 -124
  188. package/dist/plugin-automd/src/types/plugin.cjs +0 -47
  189. package/dist/plugin-automd/src/types/plugin.mjs +0 -47
  190. package/dist/plugin-automd/src/types/toc.cjs +0 -26
  191. package/dist/plugin-automd/src/types/toc.mjs +0 -25
  192. package/dist/plugin-babel/src/helpers/ast-utils.cjs +0 -74
  193. package/dist/plugin-babel/src/helpers/ast-utils.mjs +0 -70
  194. package/dist/plugin-babel/src/helpers/create-plugin.cjs +0 -71
  195. package/dist/plugin-babel/src/helpers/create-plugin.mjs +0 -69
  196. package/dist/plugin-babel/src/helpers/filters.cjs +0 -158
  197. package/dist/plugin-babel/src/helpers/filters.mjs +0 -154
  198. package/dist/plugin-babel/src/helpers/index.cjs +0 -5
  199. package/dist/plugin-babel/src/helpers/index.mjs +0 -7
  200. package/dist/plugin-babel/src/helpers/module-helpers.cjs +0 -200
  201. package/dist/plugin-babel/src/helpers/module-helpers.mjs +0 -192
  202. package/dist/plugin-babel/src/helpers/options.cjs +0 -74
  203. package/dist/plugin-babel/src/helpers/options.mjs +0 -71
  204. package/dist/plugin-babel/src/index.cjs +0 -131
  205. package/dist/plugin-babel/src/index.mjs +0 -129
  206. package/dist/plugin-babel/src/types/plugin.cjs +0 -42
  207. package/dist/plugin-babel/src/types/plugin.mjs +0 -39
  208. package/dist/powerlines/src/internal/helpers/hooks.cjs +0 -137
  209. package/dist/powerlines/src/internal/helpers/hooks.mjs +0 -135
  210. package/dist/powerlines/src/lib/build/esbuild.cjs +0 -161
  211. package/dist/powerlines/src/lib/build/esbuild.mjs +0 -159
  212. package/dist/powerlines/src/lib/entry.cjs +0 -203
  213. package/dist/powerlines/src/lib/entry.mjs +0 -201
  214. package/dist/powerlines/src/lib/logger.cjs +0 -108
  215. package/dist/powerlines/src/lib/logger.mjs +0 -106
  216. package/dist/powerlines/src/lib/utilities/bundle.cjs +0 -67
  217. package/dist/powerlines/src/lib/utilities/bundle.mjs +0 -66
  218. package/dist/powerlines/src/lib/utilities/resolve.cjs +0 -49
  219. package/dist/powerlines/src/lib/utilities/resolve.mjs +0 -48
  220. package/dist/powerlines/src/plugin-utils/paths.cjs +0 -46
  221. package/dist/powerlines/src/plugin-utils/paths.mjs +0 -45
  222. package/dist/powerlines/src/types/api.cjs +0 -62
  223. package/dist/powerlines/src/types/api.mjs +0 -62
  224. package/dist/powerlines/src/types/babel.cjs +0 -156
  225. package/dist/powerlines/src/types/babel.mjs +0 -147
  226. package/dist/powerlines/src/types/build.cjs +0 -127
  227. package/dist/powerlines/src/types/build.mjs +0 -121
  228. package/dist/powerlines/src/types/commands.cjs +0 -16
  229. package/dist/powerlines/src/types/commands.mjs +0 -15
  230. package/dist/powerlines/src/types/config.cjs +0 -413
  231. package/dist/powerlines/src/types/config.mjs +0 -391
  232. package/dist/powerlines/src/types/context.cjs +0 -381
  233. package/dist/powerlines/src/types/context.mjs +0 -364
  234. package/dist/powerlines/src/types/fs.cjs +0 -78
  235. package/dist/powerlines/src/types/fs.mjs +0 -75
  236. package/dist/powerlines/src/types/hooks.cjs +0 -71
  237. package/dist/powerlines/src/types/hooks.mjs +0 -68
  238. package/dist/powerlines/src/types/index.cjs +0 -11
  239. package/dist/powerlines/src/types/index.mjs +0 -13
  240. package/dist/powerlines/src/types/plugin.cjs +0 -184
  241. package/dist/powerlines/src/types/plugin.mjs +0 -178
  242. package/dist/powerlines/src/types/resolved.cjs +0 -153
  243. package/dist/powerlines/src/types/resolved.mjs +0 -148
  244. package/dist/powerlines/src/types/unplugin.cjs +0 -47
  245. package/dist/powerlines/src/types/unplugin.mjs +0 -46
  246. /package/dist/{deepkit → packages/deepkit}/schemas/reflection.d.mts +0 -0
  247. /package/dist/{deepkit → packages/deepkit}/src/types.d.mts +0 -0
  248. /package/dist/{plugin-alloy → packages/plugin-alloy}/src/core/components/source-file.d.mts +0 -0
  249. /package/dist/{plugin-alloy → packages/plugin-alloy}/src/types/index.d.mts +0 -0
  250. /package/dist/{plugin-alloy → packages/plugin-alloy}/src/types/plugin.d.mts +0 -0
  251. /package/dist/{plugin-alloy → packages/plugin-alloy}/src/typescript/components/builtin-file.d.mts +0 -0
  252. /package/dist/{plugin-alloy → packages/plugin-alloy}/src/typescript/components/tsdoc.d.mts +0 -0
  253. /package/dist/{plugin-automd → packages/plugin-automd}/src/types/plugin.d.mts +0 -0
  254. /package/dist/{plugin-automd → packages/plugin-automd}/src/types/toc.d.mts +0 -0
  255. /package/dist/{plugin-babel → packages/plugin-babel}/src/types/index.d.mts +0 -0
  256. /package/dist/{plugin-babel → packages/plugin-babel}/src/types/plugin.d.mts +0 -0
  257. /package/dist/{powerlines → packages/powerlines}/src/internal/helpers/hooks.d.mts +0 -0
  258. /package/dist/{powerlines → packages/powerlines}/src/types/api.d.mts +0 -0
  259. /package/dist/{powerlines → packages/powerlines}/src/types/babel.d.mts +0 -0
  260. /package/dist/{powerlines → packages/powerlines}/src/types/commands.d.mts +0 -0
  261. /package/dist/{powerlines → packages/powerlines}/src/types/context.d.mts +0 -0
  262. /package/dist/{powerlines → packages/powerlines}/src/types/fs.d.mts +0 -0
  263. /package/dist/{powerlines → packages/powerlines}/src/types/hooks.d.mts +0 -0
  264. /package/dist/{powerlines → packages/powerlines}/src/types/index.d.mts +0 -0
  265. /package/dist/{powerlines → packages/powerlines}/src/types/plugin.d.mts +0 -0
  266. /package/dist/{powerlines → packages/powerlines}/src/types/resolved.d.mts +0 -0
  267. /package/dist/{powerlines → packages/powerlines}/src/types/unplugin.d.mts +0 -0
@@ -0,0 +1,4454 @@
1
+ import { __commonJSMin, __require } from "../../../../../../_virtual/rolldown_runtime.mjs";
2
+
3
+ //#region ../../node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs
4
+ var require_jiti = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5
+ (() => {
6
+ var e = { "./node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist lazy recursive": function(e$1) {
7
+ function webpackEmptyAsyncContext(e$2) {
8
+ return Promise.resolve().then(function() {
9
+ var t$1 = /* @__PURE__ */ new Error("Cannot find module '" + e$2 + "'");
10
+ throw t$1.code = "MODULE_NOT_FOUND", t$1;
11
+ });
12
+ }
13
+ webpackEmptyAsyncContext.keys = () => [], webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext, webpackEmptyAsyncContext.id = "./node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist lazy recursive", e$1.exports = webpackEmptyAsyncContext;
14
+ } }, t = {};
15
+ function __webpack_require__(i$1) {
16
+ var s = t[i$1];
17
+ if (void 0 !== s) return s.exports;
18
+ var r = t[i$1] = { exports: {} };
19
+ return e[i$1](r, r.exports, __webpack_require__), r.exports;
20
+ }
21
+ __webpack_require__.n = (e$1) => {
22
+ var t$1 = e$1 && e$1.__esModule ? () => e$1.default : () => e$1;
23
+ return __webpack_require__.d(t$1, { a: t$1 }), t$1;
24
+ }, __webpack_require__.d = (e$1, t$1) => {
25
+ for (var i$1 in t$1) __webpack_require__.o(t$1, i$1) && !__webpack_require__.o(e$1, i$1) && Object.defineProperty(e$1, i$1, {
26
+ enumerable: !0,
27
+ get: t$1[i$1]
28
+ });
29
+ }, __webpack_require__.o = (e$1, t$1) => Object.prototype.hasOwnProperty.call(e$1, t$1);
30
+ var i = {};
31
+ (() => {
32
+ "use strict";
33
+ __webpack_require__.d(i, { default: () => createJiti });
34
+ const e$1 = __require("node:os");
35
+ var t$1 = [
36
+ 509,
37
+ 0,
38
+ 227,
39
+ 0,
40
+ 150,
41
+ 4,
42
+ 294,
43
+ 9,
44
+ 1368,
45
+ 2,
46
+ 2,
47
+ 1,
48
+ 6,
49
+ 3,
50
+ 41,
51
+ 2,
52
+ 5,
53
+ 0,
54
+ 166,
55
+ 1,
56
+ 574,
57
+ 3,
58
+ 9,
59
+ 9,
60
+ 7,
61
+ 9,
62
+ 32,
63
+ 4,
64
+ 318,
65
+ 1,
66
+ 80,
67
+ 3,
68
+ 71,
69
+ 10,
70
+ 50,
71
+ 3,
72
+ 123,
73
+ 2,
74
+ 54,
75
+ 14,
76
+ 32,
77
+ 10,
78
+ 3,
79
+ 1,
80
+ 11,
81
+ 3,
82
+ 46,
83
+ 10,
84
+ 8,
85
+ 0,
86
+ 46,
87
+ 9,
88
+ 7,
89
+ 2,
90
+ 37,
91
+ 13,
92
+ 2,
93
+ 9,
94
+ 6,
95
+ 1,
96
+ 45,
97
+ 0,
98
+ 13,
99
+ 2,
100
+ 49,
101
+ 13,
102
+ 9,
103
+ 3,
104
+ 2,
105
+ 11,
106
+ 83,
107
+ 11,
108
+ 7,
109
+ 0,
110
+ 3,
111
+ 0,
112
+ 158,
113
+ 11,
114
+ 6,
115
+ 9,
116
+ 7,
117
+ 3,
118
+ 56,
119
+ 1,
120
+ 2,
121
+ 6,
122
+ 3,
123
+ 1,
124
+ 3,
125
+ 2,
126
+ 10,
127
+ 0,
128
+ 11,
129
+ 1,
130
+ 3,
131
+ 6,
132
+ 4,
133
+ 4,
134
+ 68,
135
+ 8,
136
+ 2,
137
+ 0,
138
+ 3,
139
+ 0,
140
+ 2,
141
+ 3,
142
+ 2,
143
+ 4,
144
+ 2,
145
+ 0,
146
+ 15,
147
+ 1,
148
+ 83,
149
+ 17,
150
+ 10,
151
+ 9,
152
+ 5,
153
+ 0,
154
+ 82,
155
+ 19,
156
+ 13,
157
+ 9,
158
+ 214,
159
+ 6,
160
+ 3,
161
+ 8,
162
+ 28,
163
+ 1,
164
+ 83,
165
+ 16,
166
+ 16,
167
+ 9,
168
+ 82,
169
+ 12,
170
+ 9,
171
+ 9,
172
+ 7,
173
+ 19,
174
+ 58,
175
+ 14,
176
+ 5,
177
+ 9,
178
+ 243,
179
+ 14,
180
+ 166,
181
+ 9,
182
+ 71,
183
+ 5,
184
+ 2,
185
+ 1,
186
+ 3,
187
+ 3,
188
+ 2,
189
+ 0,
190
+ 2,
191
+ 1,
192
+ 13,
193
+ 9,
194
+ 120,
195
+ 6,
196
+ 3,
197
+ 6,
198
+ 4,
199
+ 0,
200
+ 29,
201
+ 9,
202
+ 41,
203
+ 6,
204
+ 2,
205
+ 3,
206
+ 9,
207
+ 0,
208
+ 10,
209
+ 10,
210
+ 47,
211
+ 15,
212
+ 343,
213
+ 9,
214
+ 54,
215
+ 7,
216
+ 2,
217
+ 7,
218
+ 17,
219
+ 9,
220
+ 57,
221
+ 21,
222
+ 2,
223
+ 13,
224
+ 123,
225
+ 5,
226
+ 4,
227
+ 0,
228
+ 2,
229
+ 1,
230
+ 2,
231
+ 6,
232
+ 2,
233
+ 0,
234
+ 9,
235
+ 9,
236
+ 49,
237
+ 4,
238
+ 2,
239
+ 1,
240
+ 2,
241
+ 4,
242
+ 9,
243
+ 9,
244
+ 330,
245
+ 3,
246
+ 10,
247
+ 1,
248
+ 2,
249
+ 0,
250
+ 49,
251
+ 6,
252
+ 4,
253
+ 4,
254
+ 14,
255
+ 10,
256
+ 5350,
257
+ 0,
258
+ 7,
259
+ 14,
260
+ 11465,
261
+ 27,
262
+ 2343,
263
+ 9,
264
+ 87,
265
+ 9,
266
+ 39,
267
+ 4,
268
+ 60,
269
+ 6,
270
+ 26,
271
+ 9,
272
+ 535,
273
+ 9,
274
+ 470,
275
+ 0,
276
+ 2,
277
+ 54,
278
+ 8,
279
+ 3,
280
+ 82,
281
+ 0,
282
+ 12,
283
+ 1,
284
+ 19628,
285
+ 1,
286
+ 4178,
287
+ 9,
288
+ 519,
289
+ 45,
290
+ 3,
291
+ 22,
292
+ 543,
293
+ 4,
294
+ 4,
295
+ 5,
296
+ 9,
297
+ 7,
298
+ 3,
299
+ 6,
300
+ 31,
301
+ 3,
302
+ 149,
303
+ 2,
304
+ 1418,
305
+ 49,
306
+ 513,
307
+ 54,
308
+ 5,
309
+ 49,
310
+ 9,
311
+ 0,
312
+ 15,
313
+ 0,
314
+ 23,
315
+ 4,
316
+ 2,
317
+ 14,
318
+ 1361,
319
+ 6,
320
+ 2,
321
+ 16,
322
+ 3,
323
+ 6,
324
+ 2,
325
+ 1,
326
+ 2,
327
+ 4,
328
+ 101,
329
+ 0,
330
+ 161,
331
+ 6,
332
+ 10,
333
+ 9,
334
+ 357,
335
+ 0,
336
+ 62,
337
+ 13,
338
+ 499,
339
+ 13,
340
+ 245,
341
+ 1,
342
+ 2,
343
+ 9,
344
+ 726,
345
+ 6,
346
+ 110,
347
+ 6,
348
+ 6,
349
+ 9,
350
+ 4759,
351
+ 9,
352
+ 787719,
353
+ 239
354
+ ], s = [
355
+ 0,
356
+ 11,
357
+ 2,
358
+ 25,
359
+ 2,
360
+ 18,
361
+ 2,
362
+ 1,
363
+ 2,
364
+ 14,
365
+ 3,
366
+ 13,
367
+ 35,
368
+ 122,
369
+ 70,
370
+ 52,
371
+ 268,
372
+ 28,
373
+ 4,
374
+ 48,
375
+ 48,
376
+ 31,
377
+ 14,
378
+ 29,
379
+ 6,
380
+ 37,
381
+ 11,
382
+ 29,
383
+ 3,
384
+ 35,
385
+ 5,
386
+ 7,
387
+ 2,
388
+ 4,
389
+ 43,
390
+ 157,
391
+ 19,
392
+ 35,
393
+ 5,
394
+ 35,
395
+ 5,
396
+ 39,
397
+ 9,
398
+ 51,
399
+ 13,
400
+ 10,
401
+ 2,
402
+ 14,
403
+ 2,
404
+ 6,
405
+ 2,
406
+ 1,
407
+ 2,
408
+ 10,
409
+ 2,
410
+ 14,
411
+ 2,
412
+ 6,
413
+ 2,
414
+ 1,
415
+ 4,
416
+ 51,
417
+ 13,
418
+ 310,
419
+ 10,
420
+ 21,
421
+ 11,
422
+ 7,
423
+ 25,
424
+ 5,
425
+ 2,
426
+ 41,
427
+ 2,
428
+ 8,
429
+ 70,
430
+ 5,
431
+ 3,
432
+ 0,
433
+ 2,
434
+ 43,
435
+ 2,
436
+ 1,
437
+ 4,
438
+ 0,
439
+ 3,
440
+ 22,
441
+ 11,
442
+ 22,
443
+ 10,
444
+ 30,
445
+ 66,
446
+ 18,
447
+ 2,
448
+ 1,
449
+ 11,
450
+ 21,
451
+ 11,
452
+ 25,
453
+ 71,
454
+ 55,
455
+ 7,
456
+ 1,
457
+ 65,
458
+ 0,
459
+ 16,
460
+ 3,
461
+ 2,
462
+ 2,
463
+ 2,
464
+ 28,
465
+ 43,
466
+ 28,
467
+ 4,
468
+ 28,
469
+ 36,
470
+ 7,
471
+ 2,
472
+ 27,
473
+ 28,
474
+ 53,
475
+ 11,
476
+ 21,
477
+ 11,
478
+ 18,
479
+ 14,
480
+ 17,
481
+ 111,
482
+ 72,
483
+ 56,
484
+ 50,
485
+ 14,
486
+ 50,
487
+ 14,
488
+ 35,
489
+ 39,
490
+ 27,
491
+ 10,
492
+ 22,
493
+ 251,
494
+ 41,
495
+ 7,
496
+ 1,
497
+ 17,
498
+ 2,
499
+ 60,
500
+ 28,
501
+ 11,
502
+ 0,
503
+ 9,
504
+ 21,
505
+ 43,
506
+ 17,
507
+ 47,
508
+ 20,
509
+ 28,
510
+ 22,
511
+ 13,
512
+ 52,
513
+ 58,
514
+ 1,
515
+ 3,
516
+ 0,
517
+ 14,
518
+ 44,
519
+ 33,
520
+ 24,
521
+ 27,
522
+ 35,
523
+ 30,
524
+ 0,
525
+ 3,
526
+ 0,
527
+ 9,
528
+ 34,
529
+ 4,
530
+ 0,
531
+ 13,
532
+ 47,
533
+ 15,
534
+ 3,
535
+ 22,
536
+ 0,
537
+ 2,
538
+ 0,
539
+ 36,
540
+ 17,
541
+ 2,
542
+ 24,
543
+ 20,
544
+ 1,
545
+ 64,
546
+ 6,
547
+ 2,
548
+ 0,
549
+ 2,
550
+ 3,
551
+ 2,
552
+ 14,
553
+ 2,
554
+ 9,
555
+ 8,
556
+ 46,
557
+ 39,
558
+ 7,
559
+ 3,
560
+ 1,
561
+ 3,
562
+ 21,
563
+ 2,
564
+ 6,
565
+ 2,
566
+ 1,
567
+ 2,
568
+ 4,
569
+ 4,
570
+ 0,
571
+ 19,
572
+ 0,
573
+ 13,
574
+ 4,
575
+ 31,
576
+ 9,
577
+ 2,
578
+ 0,
579
+ 3,
580
+ 0,
581
+ 2,
582
+ 37,
583
+ 2,
584
+ 0,
585
+ 26,
586
+ 0,
587
+ 2,
588
+ 0,
589
+ 45,
590
+ 52,
591
+ 19,
592
+ 3,
593
+ 21,
594
+ 2,
595
+ 31,
596
+ 47,
597
+ 21,
598
+ 1,
599
+ 2,
600
+ 0,
601
+ 185,
602
+ 46,
603
+ 42,
604
+ 3,
605
+ 37,
606
+ 47,
607
+ 21,
608
+ 0,
609
+ 60,
610
+ 42,
611
+ 14,
612
+ 0,
613
+ 72,
614
+ 26,
615
+ 38,
616
+ 6,
617
+ 186,
618
+ 43,
619
+ 117,
620
+ 63,
621
+ 32,
622
+ 7,
623
+ 3,
624
+ 0,
625
+ 3,
626
+ 7,
627
+ 2,
628
+ 1,
629
+ 2,
630
+ 23,
631
+ 16,
632
+ 0,
633
+ 2,
634
+ 0,
635
+ 95,
636
+ 7,
637
+ 3,
638
+ 38,
639
+ 17,
640
+ 0,
641
+ 2,
642
+ 0,
643
+ 29,
644
+ 0,
645
+ 11,
646
+ 39,
647
+ 8,
648
+ 0,
649
+ 22,
650
+ 0,
651
+ 12,
652
+ 45,
653
+ 20,
654
+ 0,
655
+ 19,
656
+ 72,
657
+ 200,
658
+ 32,
659
+ 32,
660
+ 8,
661
+ 2,
662
+ 36,
663
+ 18,
664
+ 0,
665
+ 50,
666
+ 29,
667
+ 113,
668
+ 6,
669
+ 2,
670
+ 1,
671
+ 2,
672
+ 37,
673
+ 22,
674
+ 0,
675
+ 26,
676
+ 5,
677
+ 2,
678
+ 1,
679
+ 2,
680
+ 31,
681
+ 15,
682
+ 0,
683
+ 328,
684
+ 18,
685
+ 16,
686
+ 0,
687
+ 2,
688
+ 12,
689
+ 2,
690
+ 33,
691
+ 125,
692
+ 0,
693
+ 80,
694
+ 921,
695
+ 103,
696
+ 110,
697
+ 18,
698
+ 195,
699
+ 2637,
700
+ 96,
701
+ 16,
702
+ 1071,
703
+ 18,
704
+ 5,
705
+ 26,
706
+ 3994,
707
+ 6,
708
+ 582,
709
+ 6842,
710
+ 29,
711
+ 1763,
712
+ 568,
713
+ 8,
714
+ 30,
715
+ 18,
716
+ 78,
717
+ 18,
718
+ 29,
719
+ 19,
720
+ 47,
721
+ 17,
722
+ 3,
723
+ 32,
724
+ 20,
725
+ 6,
726
+ 18,
727
+ 433,
728
+ 44,
729
+ 212,
730
+ 63,
731
+ 129,
732
+ 74,
733
+ 6,
734
+ 0,
735
+ 67,
736
+ 12,
737
+ 65,
738
+ 1,
739
+ 2,
740
+ 0,
741
+ 29,
742
+ 6135,
743
+ 9,
744
+ 1237,
745
+ 42,
746
+ 9,
747
+ 8936,
748
+ 3,
749
+ 2,
750
+ 6,
751
+ 2,
752
+ 1,
753
+ 2,
754
+ 290,
755
+ 16,
756
+ 0,
757
+ 30,
758
+ 2,
759
+ 3,
760
+ 0,
761
+ 15,
762
+ 3,
763
+ 9,
764
+ 395,
765
+ 2309,
766
+ 106,
767
+ 6,
768
+ 12,
769
+ 4,
770
+ 8,
771
+ 8,
772
+ 9,
773
+ 5991,
774
+ 84,
775
+ 2,
776
+ 70,
777
+ 2,
778
+ 1,
779
+ 3,
780
+ 0,
781
+ 3,
782
+ 1,
783
+ 3,
784
+ 3,
785
+ 2,
786
+ 11,
787
+ 2,
788
+ 0,
789
+ 2,
790
+ 6,
791
+ 2,
792
+ 64,
793
+ 2,
794
+ 3,
795
+ 3,
796
+ 7,
797
+ 2,
798
+ 6,
799
+ 2,
800
+ 27,
801
+ 2,
802
+ 3,
803
+ 2,
804
+ 4,
805
+ 2,
806
+ 0,
807
+ 4,
808
+ 6,
809
+ 2,
810
+ 339,
811
+ 3,
812
+ 24,
813
+ 2,
814
+ 24,
815
+ 2,
816
+ 30,
817
+ 2,
818
+ 24,
819
+ 2,
820
+ 30,
821
+ 2,
822
+ 24,
823
+ 2,
824
+ 30,
825
+ 2,
826
+ 24,
827
+ 2,
828
+ 30,
829
+ 2,
830
+ 24,
831
+ 2,
832
+ 7,
833
+ 1845,
834
+ 30,
835
+ 7,
836
+ 5,
837
+ 262,
838
+ 61,
839
+ 147,
840
+ 44,
841
+ 11,
842
+ 6,
843
+ 17,
844
+ 0,
845
+ 322,
846
+ 29,
847
+ 19,
848
+ 43,
849
+ 485,
850
+ 27,
851
+ 229,
852
+ 29,
853
+ 3,
854
+ 0,
855
+ 496,
856
+ 6,
857
+ 2,
858
+ 3,
859
+ 2,
860
+ 1,
861
+ 2,
862
+ 14,
863
+ 2,
864
+ 196,
865
+ 60,
866
+ 67,
867
+ 8,
868
+ 0,
869
+ 1205,
870
+ 3,
871
+ 2,
872
+ 26,
873
+ 2,
874
+ 1,
875
+ 2,
876
+ 0,
877
+ 3,
878
+ 0,
879
+ 2,
880
+ 9,
881
+ 2,
882
+ 3,
883
+ 2,
884
+ 0,
885
+ 2,
886
+ 0,
887
+ 7,
888
+ 0,
889
+ 5,
890
+ 0,
891
+ 2,
892
+ 0,
893
+ 2,
894
+ 0,
895
+ 2,
896
+ 2,
897
+ 2,
898
+ 1,
899
+ 2,
900
+ 0,
901
+ 3,
902
+ 0,
903
+ 2,
904
+ 0,
905
+ 2,
906
+ 0,
907
+ 2,
908
+ 0,
909
+ 2,
910
+ 0,
911
+ 2,
912
+ 1,
913
+ 2,
914
+ 0,
915
+ 3,
916
+ 3,
917
+ 2,
918
+ 6,
919
+ 2,
920
+ 3,
921
+ 2,
922
+ 3,
923
+ 2,
924
+ 0,
925
+ 2,
926
+ 9,
927
+ 2,
928
+ 16,
929
+ 6,
930
+ 2,
931
+ 2,
932
+ 4,
933
+ 2,
934
+ 16,
935
+ 4421,
936
+ 42719,
937
+ 33,
938
+ 4153,
939
+ 7,
940
+ 221,
941
+ 3,
942
+ 5761,
943
+ 15,
944
+ 7472,
945
+ 16,
946
+ 621,
947
+ 2467,
948
+ 541,
949
+ 1507,
950
+ 4938,
951
+ 6,
952
+ 4191
953
+ ], r = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", n = {
954
+ 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",
955
+ 5: "class enum extends super const export import",
956
+ 6: "enum",
957
+ strict: "implements interface let package private protected public static yield",
958
+ strictBind: "eval arguments"
959
+ }, a = "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", o = {
960
+ 5: a,
961
+ "5module": a + " export import",
962
+ 6: a + " const class extends export import super"
963
+ }, h = /^in(stanceof)?$/, c = /* @__PURE__ */ new RegExp("[" + r + "]"), p = /* @__PURE__ */ new RegExp("[" + r + "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");
964
+ function isInAstralSet(e$2, t$2) {
965
+ for (var i$1 = 65536, s$1 = 0; s$1 < t$2.length; s$1 += 2) {
966
+ if ((i$1 += t$2[s$1]) > e$2) return !1;
967
+ if ((i$1 += t$2[s$1 + 1]) >= e$2) return !0;
968
+ }
969
+ return !1;
970
+ }
971
+ function isIdentifierStart(e$2, t$2) {
972
+ return e$2 < 65 ? 36 === e$2 : e$2 < 91 || (e$2 < 97 ? 95 === e$2 : e$2 < 123 || (e$2 <= 65535 ? e$2 >= 170 && c.test(String.fromCharCode(e$2)) : !1 !== t$2 && isInAstralSet(e$2, s)));
973
+ }
974
+ function isIdentifierChar(e$2, i$1) {
975
+ return e$2 < 48 ? 36 === e$2 : e$2 < 58 || !(e$2 < 65) && (e$2 < 91 || (e$2 < 97 ? 95 === e$2 : e$2 < 123 || (e$2 <= 65535 ? e$2 >= 170 && p.test(String.fromCharCode(e$2)) : !1 !== i$1 && (isInAstralSet(e$2, s) || isInAstralSet(e$2, t$1)))));
976
+ }
977
+ var acorn_TokenType = function(e$2, t$2) {
978
+ void 0 === t$2 && (t$2 = {}), this.label = e$2, this.keyword = t$2.keyword, this.beforeExpr = !!t$2.beforeExpr, this.startsExpr = !!t$2.startsExpr, this.isLoop = !!t$2.isLoop, this.isAssign = !!t$2.isAssign, this.prefix = !!t$2.prefix, this.postfix = !!t$2.postfix, this.binop = t$2.binop || null, this.updateContext = null;
979
+ };
980
+ function binop(e$2, t$2) {
981
+ return new acorn_TokenType(e$2, {
982
+ beforeExpr: !0,
983
+ binop: t$2
984
+ });
985
+ }
986
+ var l = { beforeExpr: !0 }, u = { startsExpr: !0 }, d = {};
987
+ function kw(e$2, t$2) {
988
+ return void 0 === t$2 && (t$2 = {}), t$2.keyword = e$2, d[e$2] = new acorn_TokenType(e$2, t$2);
989
+ }
990
+ var f = {
991
+ num: new acorn_TokenType("num", u),
992
+ regexp: new acorn_TokenType("regexp", u),
993
+ string: new acorn_TokenType("string", u),
994
+ name: new acorn_TokenType("name", u),
995
+ privateId: new acorn_TokenType("privateId", u),
996
+ eof: new acorn_TokenType("eof"),
997
+ bracketL: new acorn_TokenType("[", {
998
+ beforeExpr: !0,
999
+ startsExpr: !0
1000
+ }),
1001
+ bracketR: new acorn_TokenType("]"),
1002
+ braceL: new acorn_TokenType("{", {
1003
+ beforeExpr: !0,
1004
+ startsExpr: !0
1005
+ }),
1006
+ braceR: new acorn_TokenType("}"),
1007
+ parenL: new acorn_TokenType("(", {
1008
+ beforeExpr: !0,
1009
+ startsExpr: !0
1010
+ }),
1011
+ parenR: new acorn_TokenType(")"),
1012
+ comma: new acorn_TokenType(",", l),
1013
+ semi: new acorn_TokenType(";", l),
1014
+ colon: new acorn_TokenType(":", l),
1015
+ dot: new acorn_TokenType("."),
1016
+ question: new acorn_TokenType("?", l),
1017
+ questionDot: new acorn_TokenType("?."),
1018
+ arrow: new acorn_TokenType("=>", l),
1019
+ template: new acorn_TokenType("template"),
1020
+ invalidTemplate: new acorn_TokenType("invalidTemplate"),
1021
+ ellipsis: new acorn_TokenType("...", l),
1022
+ backQuote: new acorn_TokenType("`", u),
1023
+ dollarBraceL: new acorn_TokenType("${", {
1024
+ beforeExpr: !0,
1025
+ startsExpr: !0
1026
+ }),
1027
+ eq: new acorn_TokenType("=", {
1028
+ beforeExpr: !0,
1029
+ isAssign: !0
1030
+ }),
1031
+ assign: new acorn_TokenType("_=", {
1032
+ beforeExpr: !0,
1033
+ isAssign: !0
1034
+ }),
1035
+ incDec: new acorn_TokenType("++/--", {
1036
+ prefix: !0,
1037
+ postfix: !0,
1038
+ startsExpr: !0
1039
+ }),
1040
+ prefix: new acorn_TokenType("!/~", {
1041
+ beforeExpr: !0,
1042
+ prefix: !0,
1043
+ startsExpr: !0
1044
+ }),
1045
+ logicalOR: binop("||", 1),
1046
+ logicalAND: binop("&&", 2),
1047
+ bitwiseOR: binop("|", 3),
1048
+ bitwiseXOR: binop("^", 4),
1049
+ bitwiseAND: binop("&", 5),
1050
+ equality: binop("==/!=/===/!==", 6),
1051
+ relational: binop("</>/<=/>=", 7),
1052
+ bitShift: binop("<</>>/>>>", 8),
1053
+ plusMin: new acorn_TokenType("+/-", {
1054
+ beforeExpr: !0,
1055
+ binop: 9,
1056
+ prefix: !0,
1057
+ startsExpr: !0
1058
+ }),
1059
+ modulo: binop("%", 10),
1060
+ star: binop("*", 10),
1061
+ slash: binop("/", 10),
1062
+ starstar: new acorn_TokenType("**", { beforeExpr: !0 }),
1063
+ coalesce: binop("??", 1),
1064
+ _break: kw("break"),
1065
+ _case: kw("case", l),
1066
+ _catch: kw("catch"),
1067
+ _continue: kw("continue"),
1068
+ _debugger: kw("debugger"),
1069
+ _default: kw("default", l),
1070
+ _do: kw("do", {
1071
+ isLoop: !0,
1072
+ beforeExpr: !0
1073
+ }),
1074
+ _else: kw("else", l),
1075
+ _finally: kw("finally"),
1076
+ _for: kw("for", { isLoop: !0 }),
1077
+ _function: kw("function", u),
1078
+ _if: kw("if"),
1079
+ _return: kw("return", l),
1080
+ _switch: kw("switch"),
1081
+ _throw: kw("throw", l),
1082
+ _try: kw("try"),
1083
+ _var: kw("var"),
1084
+ _const: kw("const"),
1085
+ _while: kw("while", { isLoop: !0 }),
1086
+ _with: kw("with"),
1087
+ _new: kw("new", {
1088
+ beforeExpr: !0,
1089
+ startsExpr: !0
1090
+ }),
1091
+ _this: kw("this", u),
1092
+ _super: kw("super", u),
1093
+ _class: kw("class", u),
1094
+ _extends: kw("extends", l),
1095
+ _export: kw("export"),
1096
+ _import: kw("import", u),
1097
+ _null: kw("null", u),
1098
+ _true: kw("true", u),
1099
+ _false: kw("false", u),
1100
+ _in: kw("in", {
1101
+ beforeExpr: !0,
1102
+ binop: 7
1103
+ }),
1104
+ _instanceof: kw("instanceof", {
1105
+ beforeExpr: !0,
1106
+ binop: 7
1107
+ }),
1108
+ _typeof: kw("typeof", {
1109
+ beforeExpr: !0,
1110
+ prefix: !0,
1111
+ startsExpr: !0
1112
+ }),
1113
+ _void: kw("void", {
1114
+ beforeExpr: !0,
1115
+ prefix: !0,
1116
+ startsExpr: !0
1117
+ }),
1118
+ _delete: kw("delete", {
1119
+ beforeExpr: !0,
1120
+ prefix: !0,
1121
+ startsExpr: !0
1122
+ })
1123
+ }, m = /\r\n?|\n|\u2028|\u2029/, g = new RegExp(m.source, "g");
1124
+ function isNewLine(e$2) {
1125
+ return 10 === e$2 || 13 === e$2 || 8232 === e$2 || 8233 === e$2;
1126
+ }
1127
+ function nextLineBreak(e$2, t$2, i$1) {
1128
+ void 0 === i$1 && (i$1 = e$2.length);
1129
+ for (var s$1 = t$2; s$1 < i$1; s$1++) {
1130
+ var r$1 = e$2.charCodeAt(s$1);
1131
+ if (isNewLine(r$1)) return s$1 < i$1 - 1 && 13 === r$1 && 10 === e$2.charCodeAt(s$1 + 1) ? s$1 + 2 : s$1 + 1;
1132
+ }
1133
+ return -1;
1134
+ }
1135
+ var x = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, v = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, y = Object.prototype, _ = y.hasOwnProperty, E = y.toString, b = Object.hasOwn || function(e$2, t$2) {
1136
+ return _.call(e$2, t$2);
1137
+ }, S = Array.isArray || function(e$2) {
1138
+ return "[object Array]" === E.call(e$2);
1139
+ }, k = Object.create(null);
1140
+ function wordsRegexp(e$2) {
1141
+ return k[e$2] || (k[e$2] = /* @__PURE__ */ new RegExp("^(?:" + e$2.replace(/ /g, "|") + ")$"));
1142
+ }
1143
+ function codePointToString(e$2) {
1144
+ return e$2 <= 65535 ? String.fromCharCode(e$2) : (e$2 -= 65536, String.fromCharCode(55296 + (e$2 >> 10), 56320 + (1023 & e$2)));
1145
+ }
1146
+ var w = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, acorn_Position = function(e$2, t$2) {
1147
+ this.line = e$2, this.column = t$2;
1148
+ };
1149
+ acorn_Position.prototype.offset = function(e$2) {
1150
+ return new acorn_Position(this.line, this.column + e$2);
1151
+ };
1152
+ var acorn_SourceLocation = function(e$2, t$2, i$1) {
1153
+ this.start = t$2, this.end = i$1, null !== e$2.sourceFile && (this.source = e$2.sourceFile);
1154
+ };
1155
+ function getLineInfo(e$2, t$2) {
1156
+ for (var i$1 = 1, s$1 = 0;;) {
1157
+ var r$1 = nextLineBreak(e$2, s$1, t$2);
1158
+ if (r$1 < 0) return new acorn_Position(i$1, t$2 - s$1);
1159
+ ++i$1, s$1 = r$1;
1160
+ }
1161
+ }
1162
+ var I = {
1163
+ ecmaVersion: null,
1164
+ sourceType: "script",
1165
+ onInsertedSemicolon: null,
1166
+ onTrailingComma: null,
1167
+ allowReserved: null,
1168
+ allowReturnOutsideFunction: !1,
1169
+ allowImportExportEverywhere: !1,
1170
+ allowAwaitOutsideFunction: null,
1171
+ allowSuperOutsideMethod: null,
1172
+ allowHashBang: !1,
1173
+ checkPrivateFields: !0,
1174
+ locations: !1,
1175
+ onToken: null,
1176
+ onComment: null,
1177
+ ranges: !1,
1178
+ program: null,
1179
+ sourceFile: null,
1180
+ directSourceFile: null,
1181
+ preserveParens: !1
1182
+ }, C = !1;
1183
+ function getOptions(e$2) {
1184
+ var t$2 = {};
1185
+ for (var i$1 in I) t$2[i$1] = e$2 && b(e$2, i$1) ? e$2[i$1] : I[i$1];
1186
+ if ("latest" === t$2.ecmaVersion ? t$2.ecmaVersion = 1e8 : null == t$2.ecmaVersion ? (!C && "object" == typeof console && console.warn && (C = !0, console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")), t$2.ecmaVersion = 11) : t$2.ecmaVersion >= 2015 && (t$2.ecmaVersion -= 2009), t$2.allowReserved ??= t$2.ecmaVersion < 5, e$2 && null != e$2.allowHashBang || (t$2.allowHashBang = t$2.ecmaVersion >= 14), S(t$2.onToken)) {
1187
+ var s$1 = t$2.onToken;
1188
+ t$2.onToken = function(e$3) {
1189
+ return s$1.push(e$3);
1190
+ };
1191
+ }
1192
+ return S(t$2.onComment) && (t$2.onComment = function(e$3, t$3) {
1193
+ return function(i$2, s$2, r$1, n$1, a$1, o$1) {
1194
+ var h$1 = {
1195
+ type: i$2 ? "Block" : "Line",
1196
+ value: s$2,
1197
+ start: r$1,
1198
+ end: n$1
1199
+ };
1200
+ e$3.locations && (h$1.loc = new acorn_SourceLocation(this, a$1, o$1)), e$3.ranges && (h$1.range = [r$1, n$1]), t$3.push(h$1);
1201
+ };
1202
+ }(t$2, t$2.onComment)), t$2;
1203
+ }
1204
+ var R = 256, P = 259;
1205
+ function functionFlags(e$2, t$2) {
1206
+ return 2 | (e$2 ? 4 : 0) | (t$2 ? 8 : 0);
1207
+ }
1208
+ var acorn_Parser = function(e$2, t$2, i$1) {
1209
+ this.options = e$2 = getOptions(e$2), this.sourceFile = e$2.sourceFile, this.keywords = wordsRegexp(o[e$2.ecmaVersion >= 6 ? 6 : "module" === e$2.sourceType ? "5module" : 5]);
1210
+ var s$1 = "";
1211
+ !0 !== e$2.allowReserved && (s$1 = n[e$2.ecmaVersion >= 6 ? 6 : 5 === e$2.ecmaVersion ? 5 : 3], "module" === e$2.sourceType && (s$1 += " await")), this.reservedWords = wordsRegexp(s$1);
1212
+ var r$1 = (s$1 ? s$1 + " " : "") + n.strict;
1213
+ this.reservedWordsStrict = wordsRegexp(r$1), this.reservedWordsStrictBind = wordsRegexp(r$1 + " " + n.strictBind), this.input = String(t$2), this.containsEsc = !1, i$1 ? (this.pos = i$1, this.lineStart = this.input.lastIndexOf("\n", i$1 - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(m).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = f.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 = !0, this.inModule = "module" === e$2.sourceType, this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = Object.create(null), 0 === this.pos && e$2.allowHashBang && "#!" === this.input.slice(0, 2) && this.skipLineComment(2), this.scopeStack = [], this.enterScope(1), this.regexpState = null, this.privateNameStack = [];
1214
+ }, T = {
1215
+ inFunction: { configurable: !0 },
1216
+ inGenerator: { configurable: !0 },
1217
+ inAsync: { configurable: !0 },
1218
+ canAwait: { configurable: !0 },
1219
+ allowSuper: { configurable: !0 },
1220
+ allowDirectSuper: { configurable: !0 },
1221
+ treatFunctionsAsVar: { configurable: !0 },
1222
+ allowNewDotTarget: { configurable: !0 },
1223
+ inClassStaticBlock: { configurable: !0 }
1224
+ };
1225
+ acorn_Parser.prototype.parse = function() {
1226
+ var e$2 = this.options.program || this.startNode();
1227
+ return this.nextToken(), this.parseTopLevel(e$2);
1228
+ }, T.inFunction.get = function() {
1229
+ return (2 & this.currentVarScope().flags) > 0;
1230
+ }, T.inGenerator.get = function() {
1231
+ return (8 & this.currentVarScope().flags) > 0;
1232
+ }, T.inAsync.get = function() {
1233
+ return (4 & this.currentVarScope().flags) > 0;
1234
+ }, T.canAwait.get = function() {
1235
+ for (var e$2 = this.scopeStack.length - 1; e$2 >= 0; e$2--) {
1236
+ var t$2 = this.scopeStack[e$2].flags;
1237
+ if (768 & t$2) return !1;
1238
+ if (2 & t$2) return (4 & t$2) > 0;
1239
+ }
1240
+ return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
1241
+ }, T.allowSuper.get = function() {
1242
+ return (64 & this.currentThisScope().flags) > 0 || this.options.allowSuperOutsideMethod;
1243
+ }, T.allowDirectSuper.get = function() {
1244
+ return (128 & this.currentThisScope().flags) > 0;
1245
+ }, T.treatFunctionsAsVar.get = function() {
1246
+ return this.treatFunctionsAsVarInScope(this.currentScope());
1247
+ }, T.allowNewDotTarget.get = function() {
1248
+ for (var e$2 = this.scopeStack.length - 1; e$2 >= 0; e$2--) {
1249
+ var t$2 = this.scopeStack[e$2].flags;
1250
+ if (768 & t$2 || 2 & t$2 && !(16 & t$2)) return !0;
1251
+ }
1252
+ return !1;
1253
+ }, T.inClassStaticBlock.get = function() {
1254
+ return (this.currentVarScope().flags & R) > 0;
1255
+ }, acorn_Parser.extend = function() {
1256
+ for (var e$2 = [], t$2 = arguments.length; t$2--;) e$2[t$2] = arguments[t$2];
1257
+ for (var i$1 = this, s$1 = 0; s$1 < e$2.length; s$1++) i$1 = e$2[s$1](i$1);
1258
+ return i$1;
1259
+ }, acorn_Parser.parse = function(e$2, t$2) {
1260
+ return new this(t$2, e$2).parse();
1261
+ }, acorn_Parser.parseExpressionAt = function(e$2, t$2, i$1) {
1262
+ var s$1 = new this(i$1, e$2, t$2);
1263
+ return s$1.nextToken(), s$1.parseExpression();
1264
+ }, acorn_Parser.tokenizer = function(e$2, t$2) {
1265
+ return new this(t$2, e$2);
1266
+ }, Object.defineProperties(acorn_Parser.prototype, T);
1267
+ var A = acorn_Parser.prototype, N = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
1268
+ A.strictDirective = function(e$2) {
1269
+ if (this.options.ecmaVersion < 5) return !1;
1270
+ for (;;) {
1271
+ v.lastIndex = e$2, e$2 += v.exec(this.input)[0].length;
1272
+ var t$2 = N.exec(this.input.slice(e$2));
1273
+ if (!t$2) return !1;
1274
+ if ("use strict" === (t$2[1] || t$2[2])) {
1275
+ v.lastIndex = e$2 + t$2[0].length;
1276
+ var i$1 = v.exec(this.input), s$1 = i$1.index + i$1[0].length, r$1 = this.input.charAt(s$1);
1277
+ return ";" === r$1 || "}" === r$1 || m.test(i$1[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(r$1) || "!" === r$1 && "=" === this.input.charAt(s$1 + 1));
1278
+ }
1279
+ e$2 += t$2[0].length, v.lastIndex = e$2, e$2 += v.exec(this.input)[0].length, ";" === this.input[e$2] && e$2++;
1280
+ }
1281
+ }, A.eat = function(e$2) {
1282
+ return this.type === e$2 && (this.next(), !0);
1283
+ }, A.isContextual = function(e$2) {
1284
+ return this.type === f.name && this.value === e$2 && !this.containsEsc;
1285
+ }, A.eatContextual = function(e$2) {
1286
+ return !!this.isContextual(e$2) && (this.next(), !0);
1287
+ }, A.expectContextual = function(e$2) {
1288
+ this.eatContextual(e$2) || this.unexpected();
1289
+ }, A.canInsertSemicolon = function() {
1290
+ return this.type === f.eof || this.type === f.braceR || m.test(this.input.slice(this.lastTokEnd, this.start));
1291
+ }, A.insertSemicolon = function() {
1292
+ if (this.canInsertSemicolon()) return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), !0;
1293
+ }, A.semicolon = function() {
1294
+ this.eat(f.semi) || this.insertSemicolon() || this.unexpected();
1295
+ }, A.afterTrailingComma = function(e$2, t$2) {
1296
+ if (this.type === e$2) return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), t$2 || this.next(), !0;
1297
+ }, A.expect = function(e$2) {
1298
+ this.eat(e$2) || this.unexpected();
1299
+ }, A.unexpected = function(e$2) {
1300
+ this.raise(null != e$2 ? e$2 : this.start, "Unexpected token");
1301
+ };
1302
+ var acorn_DestructuringErrors = function() {
1303
+ this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
1304
+ };
1305
+ A.checkPatternErrors = function(e$2, t$2) {
1306
+ if (e$2) {
1307
+ e$2.trailingComma > -1 && this.raiseRecoverable(e$2.trailingComma, "Comma is not permitted after the rest element");
1308
+ var i$1 = t$2 ? e$2.parenthesizedAssign : e$2.parenthesizedBind;
1309
+ i$1 > -1 && this.raiseRecoverable(i$1, t$2 ? "Assigning to rvalue" : "Parenthesized pattern");
1310
+ }
1311
+ }, A.checkExpressionErrors = function(e$2, t$2) {
1312
+ if (!e$2) return !1;
1313
+ var i$1 = e$2.shorthandAssign, s$1 = e$2.doubleProto;
1314
+ if (!t$2) return i$1 >= 0 || s$1 >= 0;
1315
+ i$1 >= 0 && this.raise(i$1, "Shorthand property assignments are valid only in destructuring patterns"), s$1 >= 0 && this.raiseRecoverable(s$1, "Redefinition of __proto__ property");
1316
+ }, A.checkYieldAwaitInDefaultParams = function() {
1317
+ 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");
1318
+ }, A.isSimpleAssignTarget = function(e$2) {
1319
+ return "ParenthesizedExpression" === e$2.type ? this.isSimpleAssignTarget(e$2.expression) : "Identifier" === e$2.type || "MemberExpression" === e$2.type;
1320
+ };
1321
+ var L = acorn_Parser.prototype;
1322
+ L.parseTopLevel = function(e$2) {
1323
+ var t$2 = Object.create(null);
1324
+ for (e$2.body || (e$2.body = []); this.type !== f.eof;) {
1325
+ var i$1 = this.parseStatement(null, !0, t$2);
1326
+ e$2.body.push(i$1);
1327
+ }
1328
+ if (this.inModule) for (var s$1 = 0, r$1 = Object.keys(this.undefinedExports); s$1 < r$1.length; s$1 += 1) {
1329
+ var n$1 = r$1[s$1];
1330
+ this.raiseRecoverable(this.undefinedExports[n$1].start, "Export '" + n$1 + "' is not defined");
1331
+ }
1332
+ return this.adaptDirectivePrologue(e$2.body), this.next(), e$2.sourceType = this.options.sourceType, this.finishNode(e$2, "Program");
1333
+ };
1334
+ var O = { kind: "loop" }, D = { kind: "switch" };
1335
+ L.isLet = function(e$2) {
1336
+ if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return !1;
1337
+ v.lastIndex = this.pos;
1338
+ var t$2 = v.exec(this.input), i$1 = this.pos + t$2[0].length, s$1 = this.input.charCodeAt(i$1);
1339
+ if (91 === s$1 || 92 === s$1) return !0;
1340
+ if (e$2) return !1;
1341
+ if (123 === s$1 || s$1 > 55295 && s$1 < 56320) return !0;
1342
+ if (isIdentifierStart(s$1, !0)) {
1343
+ for (var r$1 = i$1 + 1; isIdentifierChar(s$1 = this.input.charCodeAt(r$1), !0);) ++r$1;
1344
+ if (92 === s$1 || s$1 > 55295 && s$1 < 56320) return !0;
1345
+ var n$1 = this.input.slice(i$1, r$1);
1346
+ if (!h.test(n$1)) return !0;
1347
+ }
1348
+ return !1;
1349
+ }, L.isAsyncFunction = function() {
1350
+ if (this.options.ecmaVersion < 8 || !this.isContextual("async")) return !1;
1351
+ v.lastIndex = this.pos;
1352
+ var e$2, t$2 = v.exec(this.input), i$1 = this.pos + t$2[0].length;
1353
+ return !(m.test(this.input.slice(this.pos, i$1)) || "function" !== this.input.slice(i$1, i$1 + 8) || i$1 + 8 !== this.input.length && (isIdentifierChar(e$2 = this.input.charCodeAt(i$1 + 8)) || e$2 > 55295 && e$2 < 56320));
1354
+ }, L.isUsingKeyword = function(e$2, t$2) {
1355
+ if (this.options.ecmaVersion < 17 || !this.isContextual(e$2 ? "await" : "using")) return !1;
1356
+ v.lastIndex = this.pos;
1357
+ var i$1 = v.exec(this.input), s$1 = this.pos + i$1[0].length;
1358
+ if (m.test(this.input.slice(this.pos, s$1))) return !1;
1359
+ if (e$2) {
1360
+ var r$1, n$1 = s$1 + 5;
1361
+ if ("using" !== this.input.slice(s$1, n$1) || n$1 === this.input.length || isIdentifierChar(r$1 = this.input.charCodeAt(n$1)) || r$1 > 55295 && r$1 < 56320) return !1;
1362
+ v.lastIndex = n$1;
1363
+ var a$1 = v.exec(this.input);
1364
+ if (a$1 && m.test(this.input.slice(n$1, n$1 + a$1[0].length))) return !1;
1365
+ }
1366
+ if (t$2) {
1367
+ var o$1, h$1 = s$1 + 2;
1368
+ if (!("of" !== this.input.slice(s$1, h$1) || h$1 !== this.input.length && (isIdentifierChar(o$1 = this.input.charCodeAt(h$1)) || o$1 > 55295 && o$1 < 56320))) return !1;
1369
+ }
1370
+ var c$1 = this.input.charCodeAt(s$1);
1371
+ return isIdentifierStart(c$1, !0) || 92 === c$1;
1372
+ }, L.isAwaitUsing = function(e$2) {
1373
+ return this.isUsingKeyword(!0, e$2);
1374
+ }, L.isUsing = function(e$2) {
1375
+ return this.isUsingKeyword(!1, e$2);
1376
+ }, L.parseStatement = function(e$2, t$2, i$1) {
1377
+ var s$1, r$1 = this.type, n$1 = this.startNode();
1378
+ switch (this.isLet(e$2) && (r$1 = f._var, s$1 = "let"), r$1) {
1379
+ case f._break:
1380
+ case f._continue: return this.parseBreakContinueStatement(n$1, r$1.keyword);
1381
+ case f._debugger: return this.parseDebuggerStatement(n$1);
1382
+ case f._do: return this.parseDoStatement(n$1);
1383
+ case f._for: return this.parseForStatement(n$1);
1384
+ case f._function: return e$2 && (this.strict || "if" !== e$2 && "label" !== e$2) && this.options.ecmaVersion >= 6 && this.unexpected(), this.parseFunctionStatement(n$1, !1, !e$2);
1385
+ case f._class: return e$2 && this.unexpected(), this.parseClass(n$1, !0);
1386
+ case f._if: return this.parseIfStatement(n$1);
1387
+ case f._return: return this.parseReturnStatement(n$1);
1388
+ case f._switch: return this.parseSwitchStatement(n$1);
1389
+ case f._throw: return this.parseThrowStatement(n$1);
1390
+ case f._try: return this.parseTryStatement(n$1);
1391
+ case f._const:
1392
+ case f._var: return s$1 = s$1 || this.value, e$2 && "var" !== s$1 && this.unexpected(), this.parseVarStatement(n$1, s$1);
1393
+ case f._while: return this.parseWhileStatement(n$1);
1394
+ case f._with: return this.parseWithStatement(n$1);
1395
+ case f.braceL: return this.parseBlock(!0, n$1);
1396
+ case f.semi: return this.parseEmptyStatement(n$1);
1397
+ case f._export:
1398
+ case f._import:
1399
+ if (this.options.ecmaVersion > 10 && r$1 === f._import) {
1400
+ v.lastIndex = this.pos;
1401
+ var a$1 = v.exec(this.input), o$1 = this.pos + a$1[0].length, h$1 = this.input.charCodeAt(o$1);
1402
+ if (40 === h$1 || 46 === h$1) return this.parseExpressionStatement(n$1, this.parseExpression());
1403
+ }
1404
+ return this.options.allowImportExportEverywhere || (t$2 || 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$1 === f._import ? this.parseImport(n$1) : this.parseExport(n$1, i$1);
1405
+ default:
1406
+ if (this.isAsyncFunction()) return e$2 && this.unexpected(), this.next(), this.parseFunctionStatement(n$1, !0, !e$2);
1407
+ var c$1 = this.isAwaitUsing(!1) ? "await using" : this.isUsing(!1) ? "using" : null;
1408
+ if (c$1) return t$2 && "script" === this.options.sourceType && this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`"), "await using" === c$1 && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(n$1, !1, c$1), this.semicolon(), this.finishNode(n$1, "VariableDeclaration");
1409
+ var p$1 = this.value, l$1 = this.parseExpression();
1410
+ return r$1 === f.name && "Identifier" === l$1.type && this.eat(f.colon) ? this.parseLabeledStatement(n$1, p$1, l$1, e$2) : this.parseExpressionStatement(n$1, l$1);
1411
+ }
1412
+ }, L.parseBreakContinueStatement = function(e$2, t$2) {
1413
+ var i$1 = "break" === t$2;
1414
+ this.next(), this.eat(f.semi) || this.insertSemicolon() ? e$2.label = null : this.type !== f.name ? this.unexpected() : (e$2.label = this.parseIdent(), this.semicolon());
1415
+ for (var s$1 = 0; s$1 < this.labels.length; ++s$1) {
1416
+ var r$1 = this.labels[s$1];
1417
+ if (null == e$2.label || r$1.name === e$2.label.name) {
1418
+ if (null != r$1.kind && (i$1 || "loop" === r$1.kind)) break;
1419
+ if (e$2.label && i$1) break;
1420
+ }
1421
+ }
1422
+ return s$1 === this.labels.length && this.raise(e$2.start, "Unsyntactic " + t$2), this.finishNode(e$2, i$1 ? "BreakStatement" : "ContinueStatement");
1423
+ }, L.parseDebuggerStatement = function(e$2) {
1424
+ return this.next(), this.semicolon(), this.finishNode(e$2, "DebuggerStatement");
1425
+ }, L.parseDoStatement = function(e$2) {
1426
+ return this.next(), this.labels.push(O), e$2.body = this.parseStatement("do"), this.labels.pop(), this.expect(f._while), e$2.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(f.semi) : this.semicolon(), this.finishNode(e$2, "DoWhileStatement");
1427
+ }, L.parseForStatement = function(e$2) {
1428
+ this.next();
1429
+ var t$2 = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
1430
+ if (this.labels.push(O), this.enterScope(0), this.expect(f.parenL), this.type === f.semi) return t$2 > -1 && this.unexpected(t$2), this.parseFor(e$2, null);
1431
+ var i$1 = this.isLet();
1432
+ if (this.type === f._var || this.type === f._const || i$1) {
1433
+ var s$1 = this.startNode(), r$1 = i$1 ? "let" : this.value;
1434
+ return this.next(), this.parseVar(s$1, !0, r$1), this.finishNode(s$1, "VariableDeclaration"), this.parseForAfterInit(e$2, s$1, t$2);
1435
+ }
1436
+ var n$1 = this.isContextual("let"), a$1 = !1, o$1 = this.isUsing(!0) ? "using" : this.isAwaitUsing(!0) ? "await using" : null;
1437
+ if (o$1) {
1438
+ var h$1 = this.startNode();
1439
+ return this.next(), "await using" === o$1 && this.next(), this.parseVar(h$1, !0, o$1), this.finishNode(h$1, "VariableDeclaration"), this.parseForAfterInit(e$2, h$1, t$2);
1440
+ }
1441
+ var c$1 = this.containsEsc, p$1 = new acorn_DestructuringErrors(), l$1 = this.start, u$1 = t$2 > -1 ? this.parseExprSubscripts(p$1, "await") : this.parseExpression(!0, p$1);
1442
+ return this.type === f._in || (a$1 = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t$2 > -1 ? (this.type === f._in && this.unexpected(t$2), e$2.await = !0) : a$1 && this.options.ecmaVersion >= 8 && (u$1.start !== l$1 || c$1 || "Identifier" !== u$1.type || "async" !== u$1.name ? this.options.ecmaVersion >= 9 && (e$2.await = !1) : this.unexpected()), n$1 && a$1 && this.raise(u$1.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(u$1, !1, p$1), this.checkLValPattern(u$1), this.parseForIn(e$2, u$1)) : (this.checkExpressionErrors(p$1, !0), t$2 > -1 && this.unexpected(t$2), this.parseFor(e$2, u$1));
1443
+ }, L.parseForAfterInit = function(e$2, t$2, i$1) {
1444
+ return (this.type === f._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && 1 === t$2.declarations.length ? (this.options.ecmaVersion >= 9 && (this.type === f._in ? i$1 > -1 && this.unexpected(i$1) : e$2.await = i$1 > -1), this.parseForIn(e$2, t$2)) : (i$1 > -1 && this.unexpected(i$1), this.parseFor(e$2, t$2));
1445
+ }, L.parseFunctionStatement = function(e$2, t$2, i$1) {
1446
+ return this.next(), this.parseFunction(e$2, U | (i$1 ? 0 : M), !1, t$2);
1447
+ }, L.parseIfStatement = function(e$2) {
1448
+ return this.next(), e$2.test = this.parseParenExpression(), e$2.consequent = this.parseStatement("if"), e$2.alternate = this.eat(f._else) ? this.parseStatement("if") : null, this.finishNode(e$2, "IfStatement");
1449
+ }, L.parseReturnStatement = function(e$2) {
1450
+ return this.inFunction || this.options.allowReturnOutsideFunction || this.raise(this.start, "'return' outside of function"), this.next(), this.eat(f.semi) || this.insertSemicolon() ? e$2.argument = null : (e$2.argument = this.parseExpression(), this.semicolon()), this.finishNode(e$2, "ReturnStatement");
1451
+ }, L.parseSwitchStatement = function(e$2) {
1452
+ var t$2;
1453
+ this.next(), e$2.discriminant = this.parseParenExpression(), e$2.cases = [], this.expect(f.braceL), this.labels.push(D), this.enterScope(0);
1454
+ for (var i$1 = !1; this.type !== f.braceR;) if (this.type === f._case || this.type === f._default) {
1455
+ var s$1 = this.type === f._case;
1456
+ t$2 && this.finishNode(t$2, "SwitchCase"), e$2.cases.push(t$2 = this.startNode()), t$2.consequent = [], this.next(), s$1 ? t$2.test = this.parseExpression() : (i$1 && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), i$1 = !0, t$2.test = null), this.expect(f.colon);
1457
+ } else t$2 || this.unexpected(), t$2.consequent.push(this.parseStatement(null));
1458
+ return this.exitScope(), t$2 && this.finishNode(t$2, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(e$2, "SwitchStatement");
1459
+ }, L.parseThrowStatement = function(e$2) {
1460
+ return this.next(), m.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), e$2.argument = this.parseExpression(), this.semicolon(), this.finishNode(e$2, "ThrowStatement");
1461
+ };
1462
+ var V = [];
1463
+ L.parseCatchClauseParam = function() {
1464
+ var e$2 = this.parseBindingAtom(), t$2 = "Identifier" === e$2.type;
1465
+ return this.enterScope(t$2 ? 32 : 0), this.checkLValPattern(e$2, t$2 ? 4 : 2), this.expect(f.parenR), e$2;
1466
+ }, L.parseTryStatement = function(e$2) {
1467
+ if (this.next(), e$2.block = this.parseBlock(), e$2.handler = null, this.type === f._catch) {
1468
+ var t$2 = this.startNode();
1469
+ this.next(), this.eat(f.parenL) ? t$2.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), t$2.param = null, this.enterScope(0)), t$2.body = this.parseBlock(!1), this.exitScope(), e$2.handler = this.finishNode(t$2, "CatchClause");
1470
+ }
1471
+ return e$2.finalizer = this.eat(f._finally) ? this.parseBlock() : null, e$2.handler || e$2.finalizer || this.raise(e$2.start, "Missing catch or finally clause"), this.finishNode(e$2, "TryStatement");
1472
+ }, L.parseVarStatement = function(e$2, t$2, i$1) {
1473
+ return this.next(), this.parseVar(e$2, !1, t$2, i$1), this.semicolon(), this.finishNode(e$2, "VariableDeclaration");
1474
+ }, L.parseWhileStatement = function(e$2) {
1475
+ return this.next(), e$2.test = this.parseParenExpression(), this.labels.push(O), e$2.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e$2, "WhileStatement");
1476
+ }, L.parseWithStatement = function(e$2) {
1477
+ return this.strict && this.raise(this.start, "'with' in strict mode"), this.next(), e$2.object = this.parseParenExpression(), e$2.body = this.parseStatement("with"), this.finishNode(e$2, "WithStatement");
1478
+ }, L.parseEmptyStatement = function(e$2) {
1479
+ return this.next(), this.finishNode(e$2, "EmptyStatement");
1480
+ }, L.parseLabeledStatement = function(e$2, t$2, i$1, s$1) {
1481
+ for (var r$1 = 0, n$1 = this.labels; r$1 < n$1.length; r$1 += 1) n$1[r$1].name === t$2 && this.raise(i$1.start, "Label '" + t$2 + "' is already declared");
1482
+ for (var a$1 = this.type.isLoop ? "loop" : this.type === f._switch ? "switch" : null, o$1 = this.labels.length - 1; o$1 >= 0; o$1--) {
1483
+ var h$1 = this.labels[o$1];
1484
+ if (h$1.statementStart !== e$2.start) break;
1485
+ h$1.statementStart = this.start, h$1.kind = a$1;
1486
+ }
1487
+ return this.labels.push({
1488
+ name: t$2,
1489
+ kind: a$1,
1490
+ statementStart: this.start
1491
+ }), e$2.body = this.parseStatement(s$1 ? -1 === s$1.indexOf("label") ? s$1 + "label" : s$1 : "label"), this.labels.pop(), e$2.label = i$1, this.finishNode(e$2, "LabeledStatement");
1492
+ }, L.parseExpressionStatement = function(e$2, t$2) {
1493
+ return e$2.expression = t$2, this.semicolon(), this.finishNode(e$2, "ExpressionStatement");
1494
+ }, L.parseBlock = function(e$2, t$2, i$1) {
1495
+ for (void 0 === e$2 && (e$2 = !0), void 0 === t$2 && (t$2 = this.startNode()), t$2.body = [], this.expect(f.braceL), e$2 && this.enterScope(0); this.type !== f.braceR;) {
1496
+ var s$1 = this.parseStatement(null);
1497
+ t$2.body.push(s$1);
1498
+ }
1499
+ return i$1 && (this.strict = !1), this.next(), e$2 && this.exitScope(), this.finishNode(t$2, "BlockStatement");
1500
+ }, L.parseFor = function(e$2, t$2) {
1501
+ return e$2.init = t$2, this.expect(f.semi), e$2.test = this.type === f.semi ? null : this.parseExpression(), this.expect(f.semi), e$2.update = this.type === f.parenR ? null : this.parseExpression(), this.expect(f.parenR), e$2.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e$2, "ForStatement");
1502
+ }, L.parseForIn = function(e$2, t$2) {
1503
+ var i$1 = this.type === f._in;
1504
+ return this.next(), "VariableDeclaration" === t$2.type && null != t$2.declarations[0].init && (!i$1 || this.options.ecmaVersion < 8 || this.strict || "var" !== t$2.kind || "Identifier" !== t$2.declarations[0].id.type) && this.raise(t$2.start, (i$1 ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"), e$2.left = t$2, e$2.right = i$1 ? this.parseExpression() : this.parseMaybeAssign(), this.expect(f.parenR), e$2.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e$2, i$1 ? "ForInStatement" : "ForOfStatement");
1505
+ }, L.parseVar = function(e$2, t$2, i$1, s$1) {
1506
+ for (e$2.declarations = [], e$2.kind = i$1;;) {
1507
+ var r$1 = this.startNode();
1508
+ if (this.parseVarId(r$1, i$1), this.eat(f.eq) ? r$1.init = this.parseMaybeAssign(t$2) : s$1 || "const" !== i$1 || this.type === f._in || this.options.ecmaVersion >= 6 && this.isContextual("of") ? s$1 || "using" !== i$1 && "await using" !== i$1 || !(this.options.ecmaVersion >= 17) || this.type === f._in || this.isContextual("of") ? s$1 || "Identifier" === r$1.id.type || t$2 && (this.type === f._in || this.isContextual("of")) ? r$1.init = null : this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : this.raise(this.lastTokEnd, "Missing initializer in " + i$1 + " declaration") : this.unexpected(), e$2.declarations.push(this.finishNode(r$1, "VariableDeclarator")), !this.eat(f.comma)) break;
1509
+ }
1510
+ return e$2;
1511
+ }, L.parseVarId = function(e$2, t$2) {
1512
+ e$2.id = "using" === t$2 || "await using" === t$2 ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e$2.id, "var" === t$2 ? 1 : 2, !1);
1513
+ };
1514
+ var U = 1, M = 2;
1515
+ function isPrivateNameConflicted(e$2, t$2) {
1516
+ var i$1 = t$2.key.name, s$1 = e$2[i$1], r$1 = "true";
1517
+ return "MethodDefinition" !== t$2.type || "get" !== t$2.kind && "set" !== t$2.kind || (r$1 = (t$2.static ? "s" : "i") + t$2.kind), "iget" === s$1 && "iset" === r$1 || "iset" === s$1 && "iget" === r$1 || "sget" === s$1 && "sset" === r$1 || "sset" === s$1 && "sget" === r$1 ? (e$2[i$1] = "true", !1) : !!s$1 || (e$2[i$1] = r$1, !1);
1518
+ }
1519
+ function checkKeyName(e$2, t$2) {
1520
+ var i$1 = e$2.computed, s$1 = e$2.key;
1521
+ return !i$1 && ("Identifier" === s$1.type && s$1.name === t$2 || "Literal" === s$1.type && s$1.value === t$2);
1522
+ }
1523
+ L.parseFunction = function(e$2, t$2, i$1, s$1, r$1) {
1524
+ this.initFunction(e$2), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !s$1) && (this.type === f.star && t$2 & M && this.unexpected(), e$2.generator = this.eat(f.star)), this.options.ecmaVersion >= 8 && (e$2.async = !!s$1), t$2 & U && (e$2.id = 4 & t$2 && this.type !== f.name ? null : this.parseIdent(), !e$2.id || t$2 & M || this.checkLValSimple(e$2.id, this.strict || e$2.generator || e$2.async ? this.treatFunctionsAsVar ? 1 : 2 : 3));
1525
+ var n$1 = this.yieldPos, a$1 = this.awaitPos, o$1 = this.awaitIdentPos;
1526
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(functionFlags(e$2.async, e$2.generator)), t$2 & U || (e$2.id = this.type === f.name ? this.parseIdent() : null), this.parseFunctionParams(e$2), this.parseFunctionBody(e$2, i$1, !1, r$1), this.yieldPos = n$1, this.awaitPos = a$1, this.awaitIdentPos = o$1, this.finishNode(e$2, t$2 & U ? "FunctionDeclaration" : "FunctionExpression");
1527
+ }, L.parseFunctionParams = function(e$2) {
1528
+ this.expect(f.parenL), e$2.params = this.parseBindingList(f.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
1529
+ }, L.parseClass = function(e$2, t$2) {
1530
+ this.next();
1531
+ var i$1 = this.strict;
1532
+ this.strict = !0, this.parseClassId(e$2, t$2), this.parseClassSuper(e$2);
1533
+ var s$1 = this.enterClassBody(), r$1 = this.startNode(), n$1 = !1;
1534
+ for (r$1.body = [], this.expect(f.braceL); this.type !== f.braceR;) {
1535
+ var a$1 = this.parseClassElement(null !== e$2.superClass);
1536
+ a$1 && (r$1.body.push(a$1), "MethodDefinition" === a$1.type && "constructor" === a$1.kind ? (n$1 && this.raiseRecoverable(a$1.start, "Duplicate constructor in the same class"), n$1 = !0) : a$1.key && "PrivateIdentifier" === a$1.key.type && isPrivateNameConflicted(s$1, a$1) && this.raiseRecoverable(a$1.key.start, "Identifier '#" + a$1.key.name + "' has already been declared"));
1537
+ }
1538
+ return this.strict = i$1, this.next(), e$2.body = this.finishNode(r$1, "ClassBody"), this.exitClassBody(), this.finishNode(e$2, t$2 ? "ClassDeclaration" : "ClassExpression");
1539
+ }, L.parseClassElement = function(e$2) {
1540
+ if (this.eat(f.semi)) return null;
1541
+ var t$2 = this.options.ecmaVersion, i$1 = this.startNode(), s$1 = "", r$1 = !1, n$1 = !1, a$1 = "method", o$1 = !1;
1542
+ if (this.eatContextual("static")) {
1543
+ if (t$2 >= 13 && this.eat(f.braceL)) return this.parseClassStaticBlock(i$1), i$1;
1544
+ this.isClassElementNameStart() || this.type === f.star ? o$1 = !0 : s$1 = "static";
1545
+ }
1546
+ if (i$1.static = o$1, !s$1 && t$2 >= 8 && this.eatContextual("async") && (!this.isClassElementNameStart() && this.type !== f.star || this.canInsertSemicolon() ? s$1 = "async" : n$1 = !0), !s$1 && (t$2 >= 9 || !n$1) && this.eat(f.star) && (r$1 = !0), !s$1 && !n$1 && !r$1) {
1547
+ var h$1 = this.value;
1548
+ (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? a$1 = h$1 : s$1 = h$1);
1549
+ }
1550
+ if (s$1 ? (i$1.computed = !1, i$1.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), i$1.key.name = s$1, this.finishNode(i$1.key, "Identifier")) : this.parseClassElementName(i$1), t$2 < 13 || this.type === f.parenL || "method" !== a$1 || r$1 || n$1) {
1551
+ var c$1 = !i$1.static && checkKeyName(i$1, "constructor"), p$1 = c$1 && e$2;
1552
+ c$1 && "method" !== a$1 && this.raise(i$1.key.start, "Constructor can't have get/set modifier"), i$1.kind = c$1 ? "constructor" : a$1, this.parseClassMethod(i$1, r$1, n$1, p$1);
1553
+ } else this.parseClassField(i$1);
1554
+ return i$1;
1555
+ }, L.isClassElementNameStart = function() {
1556
+ return this.type === f.name || this.type === f.privateId || this.type === f.num || this.type === f.string || this.type === f.bracketL || this.type.keyword;
1557
+ }, L.parseClassElementName = function(e$2) {
1558
+ this.type === f.privateId ? ("constructor" === this.value && this.raise(this.start, "Classes can't have an element named '#constructor'"), e$2.computed = !1, e$2.key = this.parsePrivateIdent()) : this.parsePropertyName(e$2);
1559
+ }, L.parseClassMethod = function(e$2, t$2, i$1, s$1) {
1560
+ var r$1 = e$2.key;
1561
+ "constructor" === e$2.kind ? (t$2 && this.raise(r$1.start, "Constructor can't be a generator"), i$1 && this.raise(r$1.start, "Constructor can't be an async method")) : e$2.static && checkKeyName(e$2, "prototype") && this.raise(r$1.start, "Classes may not have a static property named prototype");
1562
+ var n$1 = e$2.value = this.parseMethod(t$2, i$1, s$1);
1563
+ return "get" === e$2.kind && 0 !== n$1.params.length && this.raiseRecoverable(n$1.start, "getter should have no params"), "set" === e$2.kind && 1 !== n$1.params.length && this.raiseRecoverable(n$1.start, "setter should have exactly one param"), "set" === e$2.kind && "RestElement" === n$1.params[0].type && this.raiseRecoverable(n$1.params[0].start, "Setter cannot use rest params"), this.finishNode(e$2, "MethodDefinition");
1564
+ }, L.parseClassField = function(e$2) {
1565
+ return checkKeyName(e$2, "constructor") ? this.raise(e$2.key.start, "Classes can't have a field named 'constructor'") : e$2.static && checkKeyName(e$2, "prototype") && this.raise(e$2.key.start, "Classes can't have a static field named 'prototype'"), this.eat(f.eq) ? (this.enterScope(576), e$2.value = this.parseMaybeAssign(), this.exitScope()) : e$2.value = null, this.semicolon(), this.finishNode(e$2, "PropertyDefinition");
1566
+ }, L.parseClassStaticBlock = function(e$2) {
1567
+ e$2.body = [];
1568
+ var t$2 = this.labels;
1569
+ for (this.labels = [], this.enterScope(320); this.type !== f.braceR;) {
1570
+ var i$1 = this.parseStatement(null);
1571
+ e$2.body.push(i$1);
1572
+ }
1573
+ return this.next(), this.exitScope(), this.labels = t$2, this.finishNode(e$2, "StaticBlock");
1574
+ }, L.parseClassId = function(e$2, t$2) {
1575
+ this.type === f.name ? (e$2.id = this.parseIdent(), t$2 && this.checkLValSimple(e$2.id, 2, !1)) : (!0 === t$2 && this.unexpected(), e$2.id = null);
1576
+ }, L.parseClassSuper = function(e$2) {
1577
+ e$2.superClass = this.eat(f._extends) ? this.parseExprSubscripts(null, !1) : null;
1578
+ }, L.enterClassBody = function() {
1579
+ var e$2 = {
1580
+ declared: Object.create(null),
1581
+ used: []
1582
+ };
1583
+ return this.privateNameStack.push(e$2), e$2.declared;
1584
+ }, L.exitClassBody = function() {
1585
+ var e$2 = this.privateNameStack.pop(), t$2 = e$2.declared, i$1 = e$2.used;
1586
+ if (this.options.checkPrivateFields) for (var s$1 = this.privateNameStack.length, r$1 = 0 === s$1 ? null : this.privateNameStack[s$1 - 1], n$1 = 0; n$1 < i$1.length; ++n$1) {
1587
+ var a$1 = i$1[n$1];
1588
+ b(t$2, a$1.name) || (r$1 ? r$1.used.push(a$1) : this.raiseRecoverable(a$1.start, "Private field '#" + a$1.name + "' must be declared in an enclosing class"));
1589
+ }
1590
+ }, L.parseExportAllDeclaration = function(e$2, t$2) {
1591
+ return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (e$2.exported = this.parseModuleExportName(), this.checkExport(t$2, e$2.exported, this.lastTokStart)) : e$2.exported = null), this.expectContextual("from"), this.type !== f.string && this.unexpected(), e$2.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e$2.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e$2, "ExportAllDeclaration");
1592
+ }, L.parseExport = function(e$2, t$2) {
1593
+ if (this.next(), this.eat(f.star)) return this.parseExportAllDeclaration(e$2, t$2);
1594
+ if (this.eat(f._default)) return this.checkExport(t$2, "default", this.lastTokStart), e$2.declaration = this.parseExportDefaultDeclaration(), this.finishNode(e$2, "ExportDefaultDeclaration");
1595
+ if (this.shouldParseExportStatement()) e$2.declaration = this.parseExportDeclaration(e$2), "VariableDeclaration" === e$2.declaration.type ? this.checkVariableExport(t$2, e$2.declaration.declarations) : this.checkExport(t$2, e$2.declaration.id, e$2.declaration.id.start), e$2.specifiers = [], e$2.source = null, this.options.ecmaVersion >= 16 && (e$2.attributes = []);
1596
+ else {
1597
+ if (e$2.declaration = null, e$2.specifiers = this.parseExportSpecifiers(t$2), this.eatContextual("from")) this.type !== f.string && this.unexpected(), e$2.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e$2.attributes = this.parseWithClause());
1598
+ else {
1599
+ for (var i$1 = 0, s$1 = e$2.specifiers; i$1 < s$1.length; i$1 += 1) {
1600
+ var r$1 = s$1[i$1];
1601
+ this.checkUnreserved(r$1.local), this.checkLocalExport(r$1.local), "Literal" === r$1.local.type && this.raise(r$1.local.start, "A string literal cannot be used as an exported binding without `from`.");
1602
+ }
1603
+ e$2.source = null, this.options.ecmaVersion >= 16 && (e$2.attributes = []);
1604
+ }
1605
+ this.semicolon();
1606
+ }
1607
+ return this.finishNode(e$2, "ExportNamedDeclaration");
1608
+ }, L.parseExportDeclaration = function(e$2) {
1609
+ return this.parseStatement(null);
1610
+ }, L.parseExportDefaultDeclaration = function() {
1611
+ var e$2;
1612
+ if (this.type === f._function || (e$2 = this.isAsyncFunction())) {
1613
+ var t$2 = this.startNode();
1614
+ return this.next(), e$2 && this.next(), this.parseFunction(t$2, 4 | U, !1, e$2);
1615
+ }
1616
+ if (this.type === f._class) {
1617
+ var i$1 = this.startNode();
1618
+ return this.parseClass(i$1, "nullableID");
1619
+ }
1620
+ var s$1 = this.parseMaybeAssign();
1621
+ return this.semicolon(), s$1;
1622
+ }, L.checkExport = function(e$2, t$2, i$1) {
1623
+ e$2 && ("string" != typeof t$2 && (t$2 = "Identifier" === t$2.type ? t$2.name : t$2.value), b(e$2, t$2) && this.raiseRecoverable(i$1, "Duplicate export '" + t$2 + "'"), e$2[t$2] = !0);
1624
+ }, L.checkPatternExport = function(e$2, t$2) {
1625
+ var i$1 = t$2.type;
1626
+ if ("Identifier" === i$1) this.checkExport(e$2, t$2, t$2.start);
1627
+ else if ("ObjectPattern" === i$1) for (var s$1 = 0, r$1 = t$2.properties; s$1 < r$1.length; s$1 += 1) {
1628
+ var n$1 = r$1[s$1];
1629
+ this.checkPatternExport(e$2, n$1);
1630
+ }
1631
+ else if ("ArrayPattern" === i$1) for (var a$1 = 0, o$1 = t$2.elements; a$1 < o$1.length; a$1 += 1) {
1632
+ var h$1 = o$1[a$1];
1633
+ h$1 && this.checkPatternExport(e$2, h$1);
1634
+ }
1635
+ else "Property" === i$1 ? this.checkPatternExport(e$2, t$2.value) : "AssignmentPattern" === i$1 ? this.checkPatternExport(e$2, t$2.left) : "RestElement" === i$1 && this.checkPatternExport(e$2, t$2.argument);
1636
+ }, L.checkVariableExport = function(e$2, t$2) {
1637
+ if (e$2) for (var i$1 = 0, s$1 = t$2; i$1 < s$1.length; i$1 += 1) {
1638
+ var r$1 = s$1[i$1];
1639
+ this.checkPatternExport(e$2, r$1.id);
1640
+ }
1641
+ }, L.shouldParseExportStatement = function() {
1642
+ return "var" === this.type.keyword || "const" === this.type.keyword || "class" === this.type.keyword || "function" === this.type.keyword || this.isLet() || this.isAsyncFunction();
1643
+ }, L.parseExportSpecifier = function(e$2) {
1644
+ var t$2 = this.startNode();
1645
+ return t$2.local = this.parseModuleExportName(), t$2.exported = this.eatContextual("as") ? this.parseModuleExportName() : t$2.local, this.checkExport(e$2, t$2.exported, t$2.exported.start), this.finishNode(t$2, "ExportSpecifier");
1646
+ }, L.parseExportSpecifiers = function(e$2) {
1647
+ var t$2 = [], i$1 = !0;
1648
+ for (this.expect(f.braceL); !this.eat(f.braceR);) {
1649
+ if (i$1) i$1 = !1;
1650
+ else if (this.expect(f.comma), this.afterTrailingComma(f.braceR)) break;
1651
+ t$2.push(this.parseExportSpecifier(e$2));
1652
+ }
1653
+ return t$2;
1654
+ }, L.parseImport = function(e$2) {
1655
+ return this.next(), this.type === f.string ? (e$2.specifiers = V, e$2.source = this.parseExprAtom()) : (e$2.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e$2.source = this.type === f.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e$2.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e$2, "ImportDeclaration");
1656
+ }, L.parseImportSpecifier = function() {
1657
+ var e$2 = this.startNode();
1658
+ return e$2.imported = this.parseModuleExportName(), this.eatContextual("as") ? e$2.local = this.parseIdent() : (this.checkUnreserved(e$2.imported), e$2.local = e$2.imported), this.checkLValSimple(e$2.local, 2), this.finishNode(e$2, "ImportSpecifier");
1659
+ }, L.parseImportDefaultSpecifier = function() {
1660
+ var e$2 = this.startNode();
1661
+ return e$2.local = this.parseIdent(), this.checkLValSimple(e$2.local, 2), this.finishNode(e$2, "ImportDefaultSpecifier");
1662
+ }, L.parseImportNamespaceSpecifier = function() {
1663
+ var e$2 = this.startNode();
1664
+ return this.next(), this.expectContextual("as"), e$2.local = this.parseIdent(), this.checkLValSimple(e$2.local, 2), this.finishNode(e$2, "ImportNamespaceSpecifier");
1665
+ }, L.parseImportSpecifiers = function() {
1666
+ var e$2 = [], t$2 = !0;
1667
+ if (this.type === f.name && (e$2.push(this.parseImportDefaultSpecifier()), !this.eat(f.comma))) return e$2;
1668
+ if (this.type === f.star) return e$2.push(this.parseImportNamespaceSpecifier()), e$2;
1669
+ for (this.expect(f.braceL); !this.eat(f.braceR);) {
1670
+ if (t$2) t$2 = !1;
1671
+ else if (this.expect(f.comma), this.afterTrailingComma(f.braceR)) break;
1672
+ e$2.push(this.parseImportSpecifier());
1673
+ }
1674
+ return e$2;
1675
+ }, L.parseWithClause = function() {
1676
+ var e$2 = [];
1677
+ if (!this.eat(f._with)) return e$2;
1678
+ this.expect(f.braceL);
1679
+ for (var t$2 = {}, i$1 = !0; !this.eat(f.braceR);) {
1680
+ if (i$1) i$1 = !1;
1681
+ else if (this.expect(f.comma), this.afterTrailingComma(f.braceR)) break;
1682
+ var s$1 = this.parseImportAttribute(), r$1 = "Identifier" === s$1.key.type ? s$1.key.name : s$1.key.value;
1683
+ b(t$2, r$1) && this.raiseRecoverable(s$1.key.start, "Duplicate attribute key '" + r$1 + "'"), t$2[r$1] = !0, e$2.push(s$1);
1684
+ }
1685
+ return e$2;
1686
+ }, L.parseImportAttribute = function() {
1687
+ var e$2 = this.startNode();
1688
+ return e$2.key = this.type === f.string ? this.parseExprAtom() : this.parseIdent("never" !== this.options.allowReserved), this.expect(f.colon), this.type !== f.string && this.unexpected(), e$2.value = this.parseExprAtom(), this.finishNode(e$2, "ImportAttribute");
1689
+ }, L.parseModuleExportName = function() {
1690
+ if (this.options.ecmaVersion >= 13 && this.type === f.string) {
1691
+ var e$2 = this.parseLiteral(this.value);
1692
+ return w.test(e$2.value) && this.raise(e$2.start, "An export name cannot include a lone surrogate."), e$2;
1693
+ }
1694
+ return this.parseIdent(!0);
1695
+ }, L.adaptDirectivePrologue = function(e$2) {
1696
+ for (var t$2 = 0; t$2 < e$2.length && this.isDirectiveCandidate(e$2[t$2]); ++t$2) e$2[t$2].directive = e$2[t$2].expression.raw.slice(1, -1);
1697
+ }, L.isDirectiveCandidate = function(e$2) {
1698
+ return this.options.ecmaVersion >= 5 && "ExpressionStatement" === e$2.type && "Literal" === e$2.expression.type && "string" == typeof e$2.expression.value && ("\"" === this.input[e$2.start] || "'" === this.input[e$2.start]);
1699
+ };
1700
+ var j = acorn_Parser.prototype;
1701
+ j.toAssignable = function(e$2, t$2, i$1) {
1702
+ if (this.options.ecmaVersion >= 6 && e$2) switch (e$2.type) {
1703
+ case "Identifier":
1704
+ this.inAsync && "await" === e$2.name && this.raise(e$2.start, "Cannot use 'await' as identifier inside an async function");
1705
+ break;
1706
+ case "ObjectPattern":
1707
+ case "ArrayPattern":
1708
+ case "AssignmentPattern":
1709
+ case "RestElement": break;
1710
+ case "ObjectExpression":
1711
+ e$2.type = "ObjectPattern", i$1 && this.checkPatternErrors(i$1, !0);
1712
+ for (var s$1 = 0, r$1 = e$2.properties; s$1 < r$1.length; s$1 += 1) {
1713
+ var n$1 = r$1[s$1];
1714
+ this.toAssignable(n$1, t$2), "RestElement" !== n$1.type || "ArrayPattern" !== n$1.argument.type && "ObjectPattern" !== n$1.argument.type || this.raise(n$1.argument.start, "Unexpected token");
1715
+ }
1716
+ break;
1717
+ case "Property":
1718
+ "init" !== e$2.kind && this.raise(e$2.key.start, "Object pattern can't contain getter or setter"), this.toAssignable(e$2.value, t$2);
1719
+ break;
1720
+ case "ArrayExpression":
1721
+ e$2.type = "ArrayPattern", i$1 && this.checkPatternErrors(i$1, !0), this.toAssignableList(e$2.elements, t$2);
1722
+ break;
1723
+ case "SpreadElement":
1724
+ e$2.type = "RestElement", this.toAssignable(e$2.argument, t$2), "AssignmentPattern" === e$2.argument.type && this.raise(e$2.argument.start, "Rest elements cannot have a default value");
1725
+ break;
1726
+ case "AssignmentExpression":
1727
+ "=" !== e$2.operator && this.raise(e$2.left.end, "Only '=' operator can be used for specifying default value."), e$2.type = "AssignmentPattern", delete e$2.operator, this.toAssignable(e$2.left, t$2);
1728
+ break;
1729
+ case "ParenthesizedExpression":
1730
+ this.toAssignable(e$2.expression, t$2, i$1);
1731
+ break;
1732
+ case "ChainExpression":
1733
+ this.raiseRecoverable(e$2.start, "Optional chaining cannot appear in left-hand side");
1734
+ break;
1735
+ case "MemberExpression": if (!t$2) break;
1736
+ default: this.raise(e$2.start, "Assigning to rvalue");
1737
+ }
1738
+ else i$1 && this.checkPatternErrors(i$1, !0);
1739
+ return e$2;
1740
+ }, j.toAssignableList = function(e$2, t$2) {
1741
+ for (var i$1 = e$2.length, s$1 = 0; s$1 < i$1; s$1++) {
1742
+ var r$1 = e$2[s$1];
1743
+ r$1 && this.toAssignable(r$1, t$2);
1744
+ }
1745
+ if (i$1) {
1746
+ var n$1 = e$2[i$1 - 1];
1747
+ 6 === this.options.ecmaVersion && t$2 && n$1 && "RestElement" === n$1.type && "Identifier" !== n$1.argument.type && this.unexpected(n$1.argument.start);
1748
+ }
1749
+ return e$2;
1750
+ }, j.parseSpread = function(e$2) {
1751
+ var t$2 = this.startNode();
1752
+ return this.next(), t$2.argument = this.parseMaybeAssign(!1, e$2), this.finishNode(t$2, "SpreadElement");
1753
+ }, j.parseRestBinding = function() {
1754
+ var e$2 = this.startNode();
1755
+ return this.next(), 6 === this.options.ecmaVersion && this.type !== f.name && this.unexpected(), e$2.argument = this.parseBindingAtom(), this.finishNode(e$2, "RestElement");
1756
+ }, j.parseBindingAtom = function() {
1757
+ if (this.options.ecmaVersion >= 6) switch (this.type) {
1758
+ case f.bracketL:
1759
+ var e$2 = this.startNode();
1760
+ return this.next(), e$2.elements = this.parseBindingList(f.bracketR, !0, !0), this.finishNode(e$2, "ArrayPattern");
1761
+ case f.braceL: return this.parseObj(!0);
1762
+ }
1763
+ return this.parseIdent();
1764
+ }, j.parseBindingList = function(e$2, t$2, i$1, s$1) {
1765
+ for (var r$1 = [], n$1 = !0; !this.eat(e$2);) if (n$1 ? n$1 = !1 : this.expect(f.comma), t$2 && this.type === f.comma) r$1.push(null);
1766
+ else {
1767
+ if (i$1 && this.afterTrailingComma(e$2)) break;
1768
+ if (this.type === f.ellipsis) {
1769
+ var a$1 = this.parseRestBinding();
1770
+ this.parseBindingListItem(a$1), r$1.push(a$1), this.type === f.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.expect(e$2);
1771
+ break;
1772
+ }
1773
+ r$1.push(this.parseAssignableListItem(s$1));
1774
+ }
1775
+ return r$1;
1776
+ }, j.parseAssignableListItem = function(e$2) {
1777
+ var t$2 = this.parseMaybeDefault(this.start, this.startLoc);
1778
+ return this.parseBindingListItem(t$2), t$2;
1779
+ }, j.parseBindingListItem = function(e$2) {
1780
+ return e$2;
1781
+ }, j.parseMaybeDefault = function(e$2, t$2, i$1) {
1782
+ if (i$1 = i$1 || this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(f.eq)) return i$1;
1783
+ var s$1 = this.startNodeAt(e$2, t$2);
1784
+ return s$1.left = i$1, s$1.right = this.parseMaybeAssign(), this.finishNode(s$1, "AssignmentPattern");
1785
+ }, j.checkLValSimple = function(e$2, t$2, i$1) {
1786
+ void 0 === t$2 && (t$2 = 0);
1787
+ var s$1 = 0 !== t$2;
1788
+ switch (e$2.type) {
1789
+ case "Identifier":
1790
+ this.strict && this.reservedWordsStrictBind.test(e$2.name) && this.raiseRecoverable(e$2.start, (s$1 ? "Binding " : "Assigning to ") + e$2.name + " in strict mode"), s$1 && (2 === t$2 && "let" === e$2.name && this.raiseRecoverable(e$2.start, "let is disallowed as a lexically bound name"), i$1 && (b(i$1, e$2.name) && this.raiseRecoverable(e$2.start, "Argument name clash"), i$1[e$2.name] = !0), 5 !== t$2 && this.declareName(e$2.name, t$2, e$2.start));
1791
+ break;
1792
+ case "ChainExpression":
1793
+ this.raiseRecoverable(e$2.start, "Optional chaining cannot appear in left-hand side");
1794
+ break;
1795
+ case "MemberExpression":
1796
+ s$1 && this.raiseRecoverable(e$2.start, "Binding member expression");
1797
+ break;
1798
+ case "ParenthesizedExpression": return s$1 && this.raiseRecoverable(e$2.start, "Binding parenthesized expression"), this.checkLValSimple(e$2.expression, t$2, i$1);
1799
+ default: this.raise(e$2.start, (s$1 ? "Binding" : "Assigning to") + " rvalue");
1800
+ }
1801
+ }, j.checkLValPattern = function(e$2, t$2, i$1) {
1802
+ switch (void 0 === t$2 && (t$2 = 0), e$2.type) {
1803
+ case "ObjectPattern":
1804
+ for (var s$1 = 0, r$1 = e$2.properties; s$1 < r$1.length; s$1 += 1) {
1805
+ var n$1 = r$1[s$1];
1806
+ this.checkLValInnerPattern(n$1, t$2, i$1);
1807
+ }
1808
+ break;
1809
+ case "ArrayPattern":
1810
+ for (var a$1 = 0, o$1 = e$2.elements; a$1 < o$1.length; a$1 += 1) {
1811
+ var h$1 = o$1[a$1];
1812
+ h$1 && this.checkLValInnerPattern(h$1, t$2, i$1);
1813
+ }
1814
+ break;
1815
+ default: this.checkLValSimple(e$2, t$2, i$1);
1816
+ }
1817
+ }, j.checkLValInnerPattern = function(e$2, t$2, i$1) {
1818
+ switch (void 0 === t$2 && (t$2 = 0), e$2.type) {
1819
+ case "Property":
1820
+ this.checkLValInnerPattern(e$2.value, t$2, i$1);
1821
+ break;
1822
+ case "AssignmentPattern":
1823
+ this.checkLValPattern(e$2.left, t$2, i$1);
1824
+ break;
1825
+ case "RestElement":
1826
+ this.checkLValPattern(e$2.argument, t$2, i$1);
1827
+ break;
1828
+ default: this.checkLValPattern(e$2, t$2, i$1);
1829
+ }
1830
+ };
1831
+ var acorn_TokContext = function(e$2, t$2, i$1, s$1, r$1) {
1832
+ this.token = e$2, this.isExpr = !!t$2, this.preserveSpace = !!i$1, this.override = s$1, this.generator = !!r$1;
1833
+ }, F = {
1834
+ b_stat: new acorn_TokContext("{", !1),
1835
+ b_expr: new acorn_TokContext("{", !0),
1836
+ b_tmpl: new acorn_TokContext("${", !1),
1837
+ p_stat: new acorn_TokContext("(", !1),
1838
+ p_expr: new acorn_TokContext("(", !0),
1839
+ q_tmpl: new acorn_TokContext("`", !0, !0, function(e$2) {
1840
+ return e$2.tryReadTemplateToken();
1841
+ }),
1842
+ f_stat: new acorn_TokContext("function", !1),
1843
+ f_expr: new acorn_TokContext("function", !0),
1844
+ f_expr_gen: new acorn_TokContext("function", !0, !1, null, !0),
1845
+ f_gen: new acorn_TokContext("function", !1, !1, null, !0)
1846
+ }, B = acorn_Parser.prototype;
1847
+ B.initialContext = function() {
1848
+ return [F.b_stat];
1849
+ }, B.curContext = function() {
1850
+ return this.context[this.context.length - 1];
1851
+ }, B.braceIsBlock = function(e$2) {
1852
+ var t$2 = this.curContext();
1853
+ return t$2 === F.f_expr || t$2 === F.f_stat || (e$2 !== f.colon || t$2 !== F.b_stat && t$2 !== F.b_expr ? e$2 === f._return || e$2 === f.name && this.exprAllowed ? m.test(this.input.slice(this.lastTokEnd, this.start)) : e$2 === f._else || e$2 === f.semi || e$2 === f.eof || e$2 === f.parenR || e$2 === f.arrow || (e$2 === f.braceL ? t$2 === F.b_stat : e$2 !== f._var && e$2 !== f._const && e$2 !== f.name && !this.exprAllowed) : !t$2.isExpr);
1854
+ }, B.inGeneratorContext = function() {
1855
+ for (var e$2 = this.context.length - 1; e$2 >= 1; e$2--) {
1856
+ var t$2 = this.context[e$2];
1857
+ if ("function" === t$2.token) return t$2.generator;
1858
+ }
1859
+ return !1;
1860
+ }, B.updateContext = function(e$2) {
1861
+ var t$2, i$1 = this.type;
1862
+ i$1.keyword && e$2 === f.dot ? this.exprAllowed = !1 : (t$2 = i$1.updateContext) ? t$2.call(this, e$2) : this.exprAllowed = i$1.beforeExpr;
1863
+ }, B.overrideContext = function(e$2) {
1864
+ this.curContext() !== e$2 && (this.context[this.context.length - 1] = e$2);
1865
+ }, f.parenR.updateContext = f.braceR.updateContext = function() {
1866
+ if (1 !== this.context.length) {
1867
+ var e$2 = this.context.pop();
1868
+ e$2 === F.b_stat && "function" === this.curContext().token && (e$2 = this.context.pop()), this.exprAllowed = !e$2.isExpr;
1869
+ } else this.exprAllowed = !0;
1870
+ }, f.braceL.updateContext = function(e$2) {
1871
+ this.context.push(this.braceIsBlock(e$2) ? F.b_stat : F.b_expr), this.exprAllowed = !0;
1872
+ }, f.dollarBraceL.updateContext = function() {
1873
+ this.context.push(F.b_tmpl), this.exprAllowed = !0;
1874
+ }, f.parenL.updateContext = function(e$2) {
1875
+ var t$2 = e$2 === f._if || e$2 === f._for || e$2 === f._with || e$2 === f._while;
1876
+ this.context.push(t$2 ? F.p_stat : F.p_expr), this.exprAllowed = !0;
1877
+ }, f.incDec.updateContext = function() {}, f._function.updateContext = f._class.updateContext = function(e$2) {
1878
+ !e$2.beforeExpr || e$2 === f._else || e$2 === f.semi && this.curContext() !== F.p_stat || e$2 === f._return && m.test(this.input.slice(this.lastTokEnd, this.start)) || (e$2 === f.colon || e$2 === f.braceL) && this.curContext() === F.b_stat ? this.context.push(F.f_stat) : this.context.push(F.f_expr), this.exprAllowed = !1;
1879
+ }, f.colon.updateContext = function() {
1880
+ "function" === this.curContext().token && this.context.pop(), this.exprAllowed = !0;
1881
+ }, f.backQuote.updateContext = function() {
1882
+ this.curContext() === F.q_tmpl ? this.context.pop() : this.context.push(F.q_tmpl), this.exprAllowed = !1;
1883
+ }, f.star.updateContext = function(e$2) {
1884
+ if (e$2 === f._function) {
1885
+ var t$2 = this.context.length - 1;
1886
+ this.context[t$2] === F.f_expr ? this.context[t$2] = F.f_expr_gen : this.context[t$2] = F.f_gen;
1887
+ }
1888
+ this.exprAllowed = !0;
1889
+ }, f.name.updateContext = function(e$2) {
1890
+ var t$2 = !1;
1891
+ this.options.ecmaVersion >= 6 && e$2 !== f.dot && ("of" === this.value && !this.exprAllowed || "yield" === this.value && this.inGeneratorContext()) && (t$2 = !0), this.exprAllowed = t$2;
1892
+ };
1893
+ var $ = acorn_Parser.prototype;
1894
+ function isLocalVariableAccess(e$2) {
1895
+ return "Identifier" === e$2.type || "ParenthesizedExpression" === e$2.type && isLocalVariableAccess(e$2.expression);
1896
+ }
1897
+ function isPrivateFieldAccess(e$2) {
1898
+ return "MemberExpression" === e$2.type && "PrivateIdentifier" === e$2.property.type || "ChainExpression" === e$2.type && isPrivateFieldAccess(e$2.expression) || "ParenthesizedExpression" === e$2.type && isPrivateFieldAccess(e$2.expression);
1899
+ }
1900
+ $.checkPropClash = function(e$2, t$2, i$1) {
1901
+ if (!(this.options.ecmaVersion >= 9 && "SpreadElement" === e$2.type || this.options.ecmaVersion >= 6 && (e$2.computed || e$2.method || e$2.shorthand))) {
1902
+ var s$1, r$1 = e$2.key;
1903
+ switch (r$1.type) {
1904
+ case "Identifier":
1905
+ s$1 = r$1.name;
1906
+ break;
1907
+ case "Literal":
1908
+ s$1 = String(r$1.value);
1909
+ break;
1910
+ default: return;
1911
+ }
1912
+ var n$1 = e$2.kind;
1913
+ if (this.options.ecmaVersion >= 6) "__proto__" === s$1 && "init" === n$1 && (t$2.proto && (i$1 ? i$1.doubleProto < 0 && (i$1.doubleProto = r$1.start) : this.raiseRecoverable(r$1.start, "Redefinition of __proto__ property")), t$2.proto = !0);
1914
+ else {
1915
+ var a$1 = t$2[s$1 = "$" + s$1];
1916
+ if (a$1) ("init" === n$1 ? this.strict && a$1.init || a$1.get || a$1.set : a$1.init || a$1[n$1]) && this.raiseRecoverable(r$1.start, "Redefinition of property");
1917
+ else a$1 = t$2[s$1] = {
1918
+ init: !1,
1919
+ get: !1,
1920
+ set: !1
1921
+ };
1922
+ a$1[n$1] = !0;
1923
+ }
1924
+ }
1925
+ }, $.parseExpression = function(e$2, t$2) {
1926
+ var i$1 = this.start, s$1 = this.startLoc, r$1 = this.parseMaybeAssign(e$2, t$2);
1927
+ if (this.type === f.comma) {
1928
+ var n$1 = this.startNodeAt(i$1, s$1);
1929
+ for (n$1.expressions = [r$1]; this.eat(f.comma);) n$1.expressions.push(this.parseMaybeAssign(e$2, t$2));
1930
+ return this.finishNode(n$1, "SequenceExpression");
1931
+ }
1932
+ return r$1;
1933
+ }, $.parseMaybeAssign = function(e$2, t$2, i$1) {
1934
+ if (this.isContextual("yield")) {
1935
+ if (this.inGenerator) return this.parseYield(e$2);
1936
+ this.exprAllowed = !1;
1937
+ }
1938
+ var s$1 = !1, r$1 = -1, n$1 = -1, a$1 = -1;
1939
+ t$2 ? (r$1 = t$2.parenthesizedAssign, n$1 = t$2.trailingComma, a$1 = t$2.doubleProto, t$2.parenthesizedAssign = t$2.trailingComma = -1) : (t$2 = new acorn_DestructuringErrors(), s$1 = !0);
1940
+ var o$1 = this.start, h$1 = this.startLoc;
1941
+ this.type !== f.parenL && this.type !== f.name || (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = "await" === e$2);
1942
+ var c$1 = this.parseMaybeConditional(e$2, t$2);
1943
+ if (i$1 && (c$1 = i$1.call(this, c$1, o$1, h$1)), this.type.isAssign) {
1944
+ var p$1 = this.startNodeAt(o$1, h$1);
1945
+ return p$1.operator = this.value, this.type === f.eq && (c$1 = this.toAssignable(c$1, !1, t$2)), s$1 || (t$2.parenthesizedAssign = t$2.trailingComma = t$2.doubleProto = -1), t$2.shorthandAssign >= c$1.start && (t$2.shorthandAssign = -1), this.type === f.eq ? this.checkLValPattern(c$1) : this.checkLValSimple(c$1), p$1.left = c$1, this.next(), p$1.right = this.parseMaybeAssign(e$2), a$1 > -1 && (t$2.doubleProto = a$1), this.finishNode(p$1, "AssignmentExpression");
1946
+ }
1947
+ return s$1 && this.checkExpressionErrors(t$2, !0), r$1 > -1 && (t$2.parenthesizedAssign = r$1), n$1 > -1 && (t$2.trailingComma = n$1), c$1;
1948
+ }, $.parseMaybeConditional = function(e$2, t$2) {
1949
+ var i$1 = this.start, s$1 = this.startLoc, r$1 = this.parseExprOps(e$2, t$2);
1950
+ if (this.checkExpressionErrors(t$2)) return r$1;
1951
+ if (this.eat(f.question)) {
1952
+ var n$1 = this.startNodeAt(i$1, s$1);
1953
+ return n$1.test = r$1, n$1.consequent = this.parseMaybeAssign(), this.expect(f.colon), n$1.alternate = this.parseMaybeAssign(e$2), this.finishNode(n$1, "ConditionalExpression");
1954
+ }
1955
+ return r$1;
1956
+ }, $.parseExprOps = function(e$2, t$2) {
1957
+ var i$1 = this.start, s$1 = this.startLoc, r$1 = this.parseMaybeUnary(t$2, !1, !1, e$2);
1958
+ return this.checkExpressionErrors(t$2) || r$1.start === i$1 && "ArrowFunctionExpression" === r$1.type ? r$1 : this.parseExprOp(r$1, i$1, s$1, -1, e$2);
1959
+ }, $.parseExprOp = function(e$2, t$2, i$1, s$1, r$1) {
1960
+ var n$1 = this.type.binop;
1961
+ if (null != n$1 && (!r$1 || this.type !== f._in) && n$1 > s$1) {
1962
+ var a$1 = this.type === f.logicalOR || this.type === f.logicalAND, o$1 = this.type === f.coalesce;
1963
+ o$1 && (n$1 = f.logicalAND.binop);
1964
+ var h$1 = this.value;
1965
+ this.next();
1966
+ var c$1 = this.start, p$1 = this.startLoc, l$1 = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, r$1), c$1, p$1, n$1, r$1), u$1 = this.buildBinary(t$2, i$1, e$2, l$1, h$1, a$1 || o$1);
1967
+ return (a$1 && this.type === f.coalesce || o$1 && (this.type === f.logicalOR || this.type === f.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(u$1, t$2, i$1, s$1, r$1);
1968
+ }
1969
+ return e$2;
1970
+ }, $.buildBinary = function(e$2, t$2, i$1, s$1, r$1, n$1) {
1971
+ "PrivateIdentifier" === s$1.type && this.raise(s$1.start, "Private identifier can only be left side of binary expression");
1972
+ var a$1 = this.startNodeAt(e$2, t$2);
1973
+ return a$1.left = i$1, a$1.operator = r$1, a$1.right = s$1, this.finishNode(a$1, n$1 ? "LogicalExpression" : "BinaryExpression");
1974
+ }, $.parseMaybeUnary = function(e$2, t$2, i$1, s$1) {
1975
+ var r$1, n$1 = this.start, a$1 = this.startLoc;
1976
+ if (this.isContextual("await") && this.canAwait) r$1 = this.parseAwait(s$1), t$2 = !0;
1977
+ else if (this.type.prefix) {
1978
+ var o$1 = this.startNode(), h$1 = this.type === f.incDec;
1979
+ o$1.operator = this.value, o$1.prefix = !0, this.next(), o$1.argument = this.parseMaybeUnary(null, !0, h$1, s$1), this.checkExpressionErrors(e$2, !0), h$1 ? this.checkLValSimple(o$1.argument) : this.strict && "delete" === o$1.operator && isLocalVariableAccess(o$1.argument) ? this.raiseRecoverable(o$1.start, "Deleting local variable in strict mode") : "delete" === o$1.operator && isPrivateFieldAccess(o$1.argument) ? this.raiseRecoverable(o$1.start, "Private fields can not be deleted") : t$2 = !0, r$1 = this.finishNode(o$1, h$1 ? "UpdateExpression" : "UnaryExpression");
1980
+ } else if (t$2 || this.type !== f.privateId) {
1981
+ if (r$1 = this.parseExprSubscripts(e$2, s$1), this.checkExpressionErrors(e$2)) return r$1;
1982
+ for (; this.type.postfix && !this.canInsertSemicolon();) {
1983
+ var c$1 = this.startNodeAt(n$1, a$1);
1984
+ c$1.operator = this.value, c$1.prefix = !1, c$1.argument = r$1, this.checkLValSimple(r$1), this.next(), r$1 = this.finishNode(c$1, "UpdateExpression");
1985
+ }
1986
+ } else (s$1 || 0 === this.privateNameStack.length) && this.options.checkPrivateFields && this.unexpected(), r$1 = this.parsePrivateIdent(), this.type !== f._in && this.unexpected();
1987
+ return i$1 || !this.eat(f.starstar) ? r$1 : t$2 ? void this.unexpected(this.lastTokStart) : this.buildBinary(n$1, a$1, r$1, this.parseMaybeUnary(null, !1, !1, s$1), "**", !1);
1988
+ }, $.parseExprSubscripts = function(e$2, t$2) {
1989
+ var i$1 = this.start, s$1 = this.startLoc, r$1 = this.parseExprAtom(e$2, t$2);
1990
+ if ("ArrowFunctionExpression" === r$1.type && ")" !== this.input.slice(this.lastTokStart, this.lastTokEnd)) return r$1;
1991
+ var n$1 = this.parseSubscripts(r$1, i$1, s$1, !1, t$2);
1992
+ return e$2 && "MemberExpression" === n$1.type && (e$2.parenthesizedAssign >= n$1.start && (e$2.parenthesizedAssign = -1), e$2.parenthesizedBind >= n$1.start && (e$2.parenthesizedBind = -1), e$2.trailingComma >= n$1.start && (e$2.trailingComma = -1)), n$1;
1993
+ }, $.parseSubscripts = function(e$2, t$2, i$1, s$1, r$1) {
1994
+ for (var n$1 = this.options.ecmaVersion >= 8 && "Identifier" === e$2.type && "async" === e$2.name && this.lastTokEnd === e$2.end && !this.canInsertSemicolon() && e$2.end - e$2.start === 5 && this.potentialArrowAt === e$2.start, a$1 = !1;;) {
1995
+ var o$1 = this.parseSubscript(e$2, t$2, i$1, s$1, n$1, a$1, r$1);
1996
+ if (o$1.optional && (a$1 = !0), o$1 === e$2 || "ArrowFunctionExpression" === o$1.type) {
1997
+ if (a$1) {
1998
+ var h$1 = this.startNodeAt(t$2, i$1);
1999
+ h$1.expression = o$1, o$1 = this.finishNode(h$1, "ChainExpression");
2000
+ }
2001
+ return o$1;
2002
+ }
2003
+ e$2 = o$1;
2004
+ }
2005
+ }, $.shouldParseAsyncArrow = function() {
2006
+ return !this.canInsertSemicolon() && this.eat(f.arrow);
2007
+ }, $.parseSubscriptAsyncArrow = function(e$2, t$2, i$1, s$1) {
2008
+ return this.parseArrowExpression(this.startNodeAt(e$2, t$2), i$1, !0, s$1);
2009
+ }, $.parseSubscript = function(e$2, t$2, i$1, s$1, r$1, n$1, a$1) {
2010
+ var o$1 = this.options.ecmaVersion >= 11, h$1 = o$1 && this.eat(f.questionDot);
2011
+ s$1 && h$1 && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
2012
+ var c$1 = this.eat(f.bracketL);
2013
+ if (c$1 || h$1 && this.type !== f.parenL && this.type !== f.backQuote || this.eat(f.dot)) {
2014
+ var p$1 = this.startNodeAt(t$2, i$1);
2015
+ p$1.object = e$2, c$1 ? (p$1.property = this.parseExpression(), this.expect(f.bracketR)) : this.type === f.privateId && "Super" !== e$2.type ? p$1.property = this.parsePrivateIdent() : p$1.property = this.parseIdent("never" !== this.options.allowReserved), p$1.computed = !!c$1, o$1 && (p$1.optional = h$1), e$2 = this.finishNode(p$1, "MemberExpression");
2016
+ } else if (!s$1 && this.eat(f.parenL)) {
2017
+ var l$1 = new acorn_DestructuringErrors(), u$1 = this.yieldPos, d$1 = this.awaitPos, m$1 = this.awaitIdentPos;
2018
+ this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
2019
+ var g$1 = this.parseExprList(f.parenR, this.options.ecmaVersion >= 8, !1, l$1);
2020
+ if (r$1 && !h$1 && this.shouldParseAsyncArrow()) return this.checkPatternErrors(l$1, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = u$1, this.awaitPos = d$1, this.awaitIdentPos = m$1, this.parseSubscriptAsyncArrow(t$2, i$1, g$1, a$1);
2021
+ this.checkExpressionErrors(l$1, !0), this.yieldPos = u$1 || this.yieldPos, this.awaitPos = d$1 || this.awaitPos, this.awaitIdentPos = m$1 || this.awaitIdentPos;
2022
+ var x$1 = this.startNodeAt(t$2, i$1);
2023
+ x$1.callee = e$2, x$1.arguments = g$1, o$1 && (x$1.optional = h$1), e$2 = this.finishNode(x$1, "CallExpression");
2024
+ } else if (this.type === f.backQuote) {
2025
+ (h$1 || n$1) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
2026
+ var v$1 = this.startNodeAt(t$2, i$1);
2027
+ v$1.tag = e$2, v$1.quasi = this.parseTemplate({ isTagged: !0 }), e$2 = this.finishNode(v$1, "TaggedTemplateExpression");
2028
+ }
2029
+ return e$2;
2030
+ }, $.parseExprAtom = function(e$2, t$2, i$1) {
2031
+ this.type === f.slash && this.readRegexp();
2032
+ var s$1, r$1 = this.potentialArrowAt === this.start;
2033
+ switch (this.type) {
2034
+ case f._super: return this.allowSuper || this.raise(this.start, "'super' keyword outside a method"), s$1 = this.startNode(), this.next(), this.type !== f.parenL || this.allowDirectSuper || this.raise(s$1.start, "super() call outside constructor of a subclass"), this.type !== f.dot && this.type !== f.bracketL && this.type !== f.parenL && this.unexpected(), this.finishNode(s$1, "Super");
2035
+ case f._this: return s$1 = this.startNode(), this.next(), this.finishNode(s$1, "ThisExpression");
2036
+ case f.name:
2037
+ var n$1 = this.start, a$1 = this.startLoc, o$1 = this.containsEsc, h$1 = this.parseIdent(!1);
2038
+ if (this.options.ecmaVersion >= 8 && !o$1 && "async" === h$1.name && !this.canInsertSemicolon() && this.eat(f._function)) return this.overrideContext(F.f_expr), this.parseFunction(this.startNodeAt(n$1, a$1), 0, !1, !0, t$2);
2039
+ if (r$1 && !this.canInsertSemicolon()) {
2040
+ if (this.eat(f.arrow)) return this.parseArrowExpression(this.startNodeAt(n$1, a$1), [h$1], !1, t$2);
2041
+ if (this.options.ecmaVersion >= 8 && "async" === h$1.name && this.type === f.name && !o$1 && (!this.potentialArrowInForAwait || "of" !== this.value || this.containsEsc)) return h$1 = this.parseIdent(!1), !this.canInsertSemicolon() && this.eat(f.arrow) || this.unexpected(), this.parseArrowExpression(this.startNodeAt(n$1, a$1), [h$1], !0, t$2);
2042
+ }
2043
+ return h$1;
2044
+ case f.regexp:
2045
+ var c$1 = this.value;
2046
+ return (s$1 = this.parseLiteral(c$1.value)).regex = {
2047
+ pattern: c$1.pattern,
2048
+ flags: c$1.flags
2049
+ }, s$1;
2050
+ case f.num:
2051
+ case f.string: return this.parseLiteral(this.value);
2052
+ case f._null:
2053
+ case f._true:
2054
+ case f._false: return (s$1 = this.startNode()).value = this.type === f._null ? null : this.type === f._true, s$1.raw = this.type.keyword, this.next(), this.finishNode(s$1, "Literal");
2055
+ case f.parenL:
2056
+ var p$1 = this.start, l$1 = this.parseParenAndDistinguishExpression(r$1, t$2);
2057
+ return e$2 && (e$2.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(l$1) && (e$2.parenthesizedAssign = p$1), e$2.parenthesizedBind < 0 && (e$2.parenthesizedBind = p$1)), l$1;
2058
+ case f.bracketL: return s$1 = this.startNode(), this.next(), s$1.elements = this.parseExprList(f.bracketR, !0, !0, e$2), this.finishNode(s$1, "ArrayExpression");
2059
+ case f.braceL: return this.overrideContext(F.b_expr), this.parseObj(!1, e$2);
2060
+ case f._function: return s$1 = this.startNode(), this.next(), this.parseFunction(s$1, 0);
2061
+ case f._class: return this.parseClass(this.startNode(), !1);
2062
+ case f._new: return this.parseNew();
2063
+ case f.backQuote: return this.parseTemplate();
2064
+ case f._import: return this.options.ecmaVersion >= 11 ? this.parseExprImport(i$1) : this.unexpected();
2065
+ default: return this.parseExprAtomDefault();
2066
+ }
2067
+ }, $.parseExprAtomDefault = function() {
2068
+ this.unexpected();
2069
+ }, $.parseExprImport = function(e$2) {
2070
+ var t$2 = this.startNode();
2071
+ if (this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword import"), this.next(), this.type === f.parenL && !e$2) return this.parseDynamicImport(t$2);
2072
+ if (this.type === f.dot) {
2073
+ var i$1 = this.startNodeAt(t$2.start, t$2.loc && t$2.loc.start);
2074
+ return i$1.name = "import", t$2.meta = this.finishNode(i$1, "Identifier"), this.parseImportMeta(t$2);
2075
+ }
2076
+ this.unexpected();
2077
+ }, $.parseDynamicImport = function(e$2) {
2078
+ if (this.next(), e$2.source = this.parseMaybeAssign(), this.options.ecmaVersion >= 16) this.eat(f.parenR) ? e$2.options = null : (this.expect(f.comma), this.afterTrailingComma(f.parenR) ? e$2.options = null : (e$2.options = this.parseMaybeAssign(), this.eat(f.parenR) || (this.expect(f.comma), this.afterTrailingComma(f.parenR) || this.unexpected())));
2079
+ else if (!this.eat(f.parenR)) {
2080
+ var t$2 = this.start;
2081
+ this.eat(f.comma) && this.eat(f.parenR) ? this.raiseRecoverable(t$2, "Trailing comma is not allowed in import()") : this.unexpected(t$2);
2082
+ }
2083
+ return this.finishNode(e$2, "ImportExpression");
2084
+ }, $.parseImportMeta = function(e$2) {
2085
+ this.next();
2086
+ var t$2 = this.containsEsc;
2087
+ return e$2.property = this.parseIdent(!0), "meta" !== e$2.property.name && this.raiseRecoverable(e$2.property.start, "The only valid meta property for import is 'import.meta'"), t$2 && this.raiseRecoverable(e$2.start, "'import.meta' must not contain escaped characters"), "module" === this.options.sourceType || this.options.allowImportExportEverywhere || this.raiseRecoverable(e$2.start, "Cannot use 'import.meta' outside a module"), this.finishNode(e$2, "MetaProperty");
2088
+ }, $.parseLiteral = function(e$2) {
2089
+ var t$2 = this.startNode();
2090
+ return t$2.value = e$2, t$2.raw = this.input.slice(this.start, this.end), 110 === t$2.raw.charCodeAt(t$2.raw.length - 1) && (t$2.bigint = null != t$2.value ? t$2.value.toString() : t$2.raw.slice(0, -1).replace(/_/g, "")), this.next(), this.finishNode(t$2, "Literal");
2091
+ }, $.parseParenExpression = function() {
2092
+ this.expect(f.parenL);
2093
+ var e$2 = this.parseExpression();
2094
+ return this.expect(f.parenR), e$2;
2095
+ }, $.shouldParseArrow = function(e$2) {
2096
+ return !this.canInsertSemicolon();
2097
+ }, $.parseParenAndDistinguishExpression = function(e$2, t$2) {
2098
+ var i$1, s$1 = this.start, r$1 = this.startLoc, n$1 = this.options.ecmaVersion >= 8;
2099
+ if (this.options.ecmaVersion >= 6) {
2100
+ this.next();
2101
+ var a$1, o$1 = this.start, h$1 = this.startLoc, c$1 = [], p$1 = !0, l$1 = !1, u$1 = new acorn_DestructuringErrors(), d$1 = this.yieldPos, m$1 = this.awaitPos;
2102
+ for (this.yieldPos = 0, this.awaitPos = 0; this.type !== f.parenR;) {
2103
+ if (p$1 ? p$1 = !1 : this.expect(f.comma), n$1 && this.afterTrailingComma(f.parenR, !0)) {
2104
+ l$1 = !0;
2105
+ break;
2106
+ }
2107
+ if (this.type === f.ellipsis) {
2108
+ a$1 = this.start, c$1.push(this.parseParenItem(this.parseRestBinding())), this.type === f.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element");
2109
+ break;
2110
+ }
2111
+ c$1.push(this.parseMaybeAssign(!1, u$1, this.parseParenItem));
2112
+ }
2113
+ var g$1 = this.lastTokEnd, x$1 = this.lastTokEndLoc;
2114
+ if (this.expect(f.parenR), e$2 && this.shouldParseArrow(c$1) && this.eat(f.arrow)) return this.checkPatternErrors(u$1, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = d$1, this.awaitPos = m$1, this.parseParenArrowList(s$1, r$1, c$1, t$2);
2115
+ c$1.length && !l$1 || this.unexpected(this.lastTokStart), a$1 && this.unexpected(a$1), this.checkExpressionErrors(u$1, !0), this.yieldPos = d$1 || this.yieldPos, this.awaitPos = m$1 || this.awaitPos, c$1.length > 1 ? ((i$1 = this.startNodeAt(o$1, h$1)).expressions = c$1, this.finishNodeAt(i$1, "SequenceExpression", g$1, x$1)) : i$1 = c$1[0];
2116
+ } else i$1 = this.parseParenExpression();
2117
+ if (this.options.preserveParens) {
2118
+ var v$1 = this.startNodeAt(s$1, r$1);
2119
+ return v$1.expression = i$1, this.finishNode(v$1, "ParenthesizedExpression");
2120
+ }
2121
+ return i$1;
2122
+ }, $.parseParenItem = function(e$2) {
2123
+ return e$2;
2124
+ }, $.parseParenArrowList = function(e$2, t$2, i$1, s$1) {
2125
+ return this.parseArrowExpression(this.startNodeAt(e$2, t$2), i$1, !1, s$1);
2126
+ };
2127
+ var q = [];
2128
+ $.parseNew = function() {
2129
+ this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
2130
+ var e$2 = this.startNode();
2131
+ if (this.next(), this.options.ecmaVersion >= 6 && this.type === f.dot) {
2132
+ var t$2 = this.startNodeAt(e$2.start, e$2.loc && e$2.loc.start);
2133
+ t$2.name = "new", e$2.meta = this.finishNode(t$2, "Identifier"), this.next();
2134
+ var i$1 = this.containsEsc;
2135
+ return e$2.property = this.parseIdent(!0), "target" !== e$2.property.name && this.raiseRecoverable(e$2.property.start, "The only valid meta property for new is 'new.target'"), i$1 && this.raiseRecoverable(e$2.start, "'new.target' must not contain escaped characters"), this.allowNewDotTarget || this.raiseRecoverable(e$2.start, "'new.target' can only be used in functions and class static block"), this.finishNode(e$2, "MetaProperty");
2136
+ }
2137
+ var s$1 = this.start, r$1 = this.startLoc;
2138
+ return e$2.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), s$1, r$1, !0, !1), this.eat(f.parenL) ? e$2.arguments = this.parseExprList(f.parenR, this.options.ecmaVersion >= 8, !1) : e$2.arguments = q, this.finishNode(e$2, "NewExpression");
2139
+ }, $.parseTemplateElement = function(e$2) {
2140
+ var t$2 = e$2.isTagged, i$1 = this.startNode();
2141
+ return this.type === f.invalidTemplate ? (t$2 || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), i$1.value = {
2142
+ raw: this.value.replace(/\r\n?/g, "\n"),
2143
+ cooked: null
2144
+ }) : i$1.value = {
2145
+ raw: this.input.slice(this.start, this.end).replace(/\r\n?/g, "\n"),
2146
+ cooked: this.value
2147
+ }, this.next(), i$1.tail = this.type === f.backQuote, this.finishNode(i$1, "TemplateElement");
2148
+ }, $.parseTemplate = function(e$2) {
2149
+ void 0 === e$2 && (e$2 = {});
2150
+ var t$2 = e$2.isTagged;
2151
+ void 0 === t$2 && (t$2 = !1);
2152
+ var i$1 = this.startNode();
2153
+ this.next(), i$1.expressions = [];
2154
+ var s$1 = this.parseTemplateElement({ isTagged: t$2 });
2155
+ for (i$1.quasis = [s$1]; !s$1.tail;) this.type === f.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(f.dollarBraceL), i$1.expressions.push(this.parseExpression()), this.expect(f.braceR), i$1.quasis.push(s$1 = this.parseTemplateElement({ isTagged: t$2 }));
2156
+ return this.next(), this.finishNode(i$1, "TemplateLiteral");
2157
+ }, $.isAsyncProp = function(e$2) {
2158
+ return !e$2.computed && "Identifier" === e$2.key.type && "async" === e$2.key.name && (this.type === f.name || this.type === f.num || this.type === f.string || this.type === f.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === f.star) && !m.test(this.input.slice(this.lastTokEnd, this.start));
2159
+ }, $.parseObj = function(e$2, t$2) {
2160
+ var i$1 = this.startNode(), s$1 = !0, r$1 = {};
2161
+ for (i$1.properties = [], this.next(); !this.eat(f.braceR);) {
2162
+ if (s$1) s$1 = !1;
2163
+ else if (this.expect(f.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(f.braceR)) break;
2164
+ var n$1 = this.parseProperty(e$2, t$2);
2165
+ e$2 || this.checkPropClash(n$1, r$1, t$2), i$1.properties.push(n$1);
2166
+ }
2167
+ return this.finishNode(i$1, e$2 ? "ObjectPattern" : "ObjectExpression");
2168
+ }, $.parseProperty = function(e$2, t$2) {
2169
+ var i$1, s$1, r$1, n$1, a$1 = this.startNode();
2170
+ if (this.options.ecmaVersion >= 9 && this.eat(f.ellipsis)) return e$2 ? (a$1.argument = this.parseIdent(!1), this.type === f.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(a$1, "RestElement")) : (a$1.argument = this.parseMaybeAssign(!1, t$2), this.type === f.comma && t$2 && t$2.trailingComma < 0 && (t$2.trailingComma = this.start), this.finishNode(a$1, "SpreadElement"));
2171
+ this.options.ecmaVersion >= 6 && (a$1.method = !1, a$1.shorthand = !1, (e$2 || t$2) && (r$1 = this.start, n$1 = this.startLoc), e$2 || (i$1 = this.eat(f.star)));
2172
+ var o$1 = this.containsEsc;
2173
+ return this.parsePropertyName(a$1), !e$2 && !o$1 && this.options.ecmaVersion >= 8 && !i$1 && this.isAsyncProp(a$1) ? (s$1 = !0, i$1 = this.options.ecmaVersion >= 9 && this.eat(f.star), this.parsePropertyName(a$1)) : s$1 = !1, this.parsePropertyValue(a$1, e$2, i$1, s$1, r$1, n$1, t$2, o$1), this.finishNode(a$1, "Property");
2174
+ }, $.parseGetterSetter = function(e$2) {
2175
+ var t$2 = e$2.key.name;
2176
+ this.parsePropertyName(e$2), e$2.value = this.parseMethod(!1), e$2.kind = t$2;
2177
+ var i$1 = "get" === e$2.kind ? 0 : 1;
2178
+ if (e$2.value.params.length !== i$1) {
2179
+ var s$1 = e$2.value.start;
2180
+ "get" === e$2.kind ? this.raiseRecoverable(s$1, "getter should have no params") : this.raiseRecoverable(s$1, "setter should have exactly one param");
2181
+ } else "set" === e$2.kind && "RestElement" === e$2.value.params[0].type && this.raiseRecoverable(e$2.value.params[0].start, "Setter cannot use rest params");
2182
+ }, $.parsePropertyValue = function(e$2, t$2, i$1, s$1, r$1, n$1, a$1, o$1) {
2183
+ (i$1 || s$1) && this.type === f.colon && this.unexpected(), this.eat(f.colon) ? (e$2.value = t$2 ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, a$1), e$2.kind = "init") : this.options.ecmaVersion >= 6 && this.type === f.parenL ? (t$2 && this.unexpected(), e$2.method = !0, e$2.value = this.parseMethod(i$1, s$1), e$2.kind = "init") : t$2 || o$1 || !(this.options.ecmaVersion >= 5) || e$2.computed || "Identifier" !== e$2.key.type || "get" !== e$2.key.name && "set" !== e$2.key.name || this.type === f.comma || this.type === f.braceR || this.type === f.eq ? this.options.ecmaVersion >= 6 && !e$2.computed && "Identifier" === e$2.key.type ? ((i$1 || s$1) && this.unexpected(), this.checkUnreserved(e$2.key), "await" !== e$2.key.name || this.awaitIdentPos || (this.awaitIdentPos = r$1), t$2 ? e$2.value = this.parseMaybeDefault(r$1, n$1, this.copyNode(e$2.key)) : this.type === f.eq && a$1 ? (a$1.shorthandAssign < 0 && (a$1.shorthandAssign = this.start), e$2.value = this.parseMaybeDefault(r$1, n$1, this.copyNode(e$2.key))) : e$2.value = this.copyNode(e$2.key), e$2.kind = "init", e$2.shorthand = !0) : this.unexpected() : ((i$1 || s$1) && this.unexpected(), this.parseGetterSetter(e$2));
2184
+ }, $.parsePropertyName = function(e$2) {
2185
+ if (this.options.ecmaVersion >= 6) {
2186
+ if (this.eat(f.bracketL)) return e$2.computed = !0, e$2.key = this.parseMaybeAssign(), this.expect(f.bracketR), e$2.key;
2187
+ e$2.computed = !1;
2188
+ }
2189
+ return e$2.key = this.type === f.num || this.type === f.string ? this.parseExprAtom() : this.parseIdent("never" !== this.options.allowReserved);
2190
+ }, $.initFunction = function(e$2) {
2191
+ e$2.id = null, this.options.ecmaVersion >= 6 && (e$2.generator = e$2.expression = !1), this.options.ecmaVersion >= 8 && (e$2.async = !1);
2192
+ }, $.parseMethod = function(e$2, t$2, i$1) {
2193
+ var s$1 = this.startNode(), r$1 = this.yieldPos, n$1 = this.awaitPos, a$1 = this.awaitIdentPos;
2194
+ return this.initFunction(s$1), this.options.ecmaVersion >= 6 && (s$1.generator = e$2), this.options.ecmaVersion >= 8 && (s$1.async = !!t$2), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(64 | functionFlags(t$2, s$1.generator) | (i$1 ? 128 : 0)), this.expect(f.parenL), s$1.params = this.parseBindingList(f.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(s$1, !1, !0, !1), this.yieldPos = r$1, this.awaitPos = n$1, this.awaitIdentPos = a$1, this.finishNode(s$1, "FunctionExpression");
2195
+ }, $.parseArrowExpression = function(e$2, t$2, i$1, s$1) {
2196
+ var r$1 = this.yieldPos, n$1 = this.awaitPos, a$1 = this.awaitIdentPos;
2197
+ return this.enterScope(16 | functionFlags(i$1, !1)), this.initFunction(e$2), this.options.ecmaVersion >= 8 && (e$2.async = !!i$1), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e$2.params = this.toAssignableList(t$2, !0), this.parseFunctionBody(e$2, !0, !1, s$1), this.yieldPos = r$1, this.awaitPos = n$1, this.awaitIdentPos = a$1, this.finishNode(e$2, "ArrowFunctionExpression");
2198
+ }, $.parseFunctionBody = function(e$2, t$2, i$1, s$1) {
2199
+ var r$1 = t$2 && this.type !== f.braceL, n$1 = this.strict, a$1 = !1;
2200
+ if (r$1) e$2.body = this.parseMaybeAssign(s$1), e$2.expression = !0, this.checkParams(e$2, !1);
2201
+ else {
2202
+ var o$1 = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e$2.params);
2203
+ n$1 && !o$1 || (a$1 = this.strictDirective(this.end)) && o$1 && this.raiseRecoverable(e$2.start, "Illegal 'use strict' directive in function with non-simple parameter list");
2204
+ var h$1 = this.labels;
2205
+ this.labels = [], a$1 && (this.strict = !0), this.checkParams(e$2, !n$1 && !a$1 && !t$2 && !i$1 && this.isSimpleParamList(e$2.params)), this.strict && e$2.id && this.checkLValSimple(e$2.id, 5), e$2.body = this.parseBlock(!1, void 0, a$1 && !n$1), e$2.expression = !1, this.adaptDirectivePrologue(e$2.body.body), this.labels = h$1;
2206
+ }
2207
+ this.exitScope();
2208
+ }, $.isSimpleParamList = function(e$2) {
2209
+ for (var t$2 = 0, i$1 = e$2; t$2 < i$1.length; t$2 += 1) if ("Identifier" !== i$1[t$2].type) return !1;
2210
+ return !0;
2211
+ }, $.checkParams = function(e$2, t$2) {
2212
+ for (var i$1 = Object.create(null), s$1 = 0, r$1 = e$2.params; s$1 < r$1.length; s$1 += 1) {
2213
+ var n$1 = r$1[s$1];
2214
+ this.checkLValInnerPattern(n$1, 1, t$2 ? null : i$1);
2215
+ }
2216
+ }, $.parseExprList = function(e$2, t$2, i$1, s$1) {
2217
+ for (var r$1 = [], n$1 = !0; !this.eat(e$2);) {
2218
+ if (n$1) n$1 = !1;
2219
+ else if (this.expect(f.comma), t$2 && this.afterTrailingComma(e$2)) break;
2220
+ var a$1 = void 0;
2221
+ i$1 && this.type === f.comma ? a$1 = null : this.type === f.ellipsis ? (a$1 = this.parseSpread(s$1), s$1 && this.type === f.comma && s$1.trailingComma < 0 && (s$1.trailingComma = this.start)) : a$1 = this.parseMaybeAssign(!1, s$1), r$1.push(a$1);
2222
+ }
2223
+ return r$1;
2224
+ }, $.checkUnreserved = function(e$2) {
2225
+ var t$2 = e$2.start, i$1 = e$2.end, s$1 = e$2.name;
2226
+ (this.inGenerator && "yield" === s$1 && this.raiseRecoverable(t$2, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && "await" === s$1 && this.raiseRecoverable(t$2, "Cannot use 'await' as identifier inside an async function"), this.currentThisScope().flags & P || "arguments" !== s$1 || this.raiseRecoverable(t$2, "Cannot use 'arguments' in class field initializer"), !this.inClassStaticBlock || "arguments" !== s$1 && "await" !== s$1 || this.raise(t$2, "Cannot use " + s$1 + " in class static initialization block"), this.keywords.test(s$1) && this.raise(t$2, "Unexpected keyword '" + s$1 + "'"), this.options.ecmaVersion < 6 && -1 !== this.input.slice(t$2, i$1).indexOf("\\")) || (this.strict ? this.reservedWordsStrict : this.reservedWords).test(s$1) && (this.inAsync || "await" !== s$1 || this.raiseRecoverable(t$2, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t$2, "The keyword '" + s$1 + "' is reserved"));
2227
+ }, $.parseIdent = function(e$2) {
2228
+ var t$2 = this.parseIdentNode();
2229
+ return this.next(!!e$2), this.finishNode(t$2, "Identifier"), e$2 || (this.checkUnreserved(t$2), "await" !== t$2.name || this.awaitIdentPos || (this.awaitIdentPos = t$2.start)), t$2;
2230
+ }, $.parseIdentNode = function() {
2231
+ var e$2 = this.startNode();
2232
+ return this.type === f.name ? e$2.name = this.value : this.type.keyword ? (e$2.name = this.type.keyword, "class" !== e$2.name && "function" !== e$2.name || this.lastTokEnd === this.lastTokStart + 1 && 46 === this.input.charCodeAt(this.lastTokStart) || this.context.pop(), this.type = f.name) : this.unexpected(), e$2;
2233
+ }, $.parsePrivateIdent = function() {
2234
+ var e$2 = this.startNode();
2235
+ return this.type === f.privateId ? e$2.name = this.value : this.unexpected(), this.next(), this.finishNode(e$2, "PrivateIdentifier"), this.options.checkPrivateFields && (0 === this.privateNameStack.length ? this.raise(e$2.start, "Private field '#" + e$2.name + "' must be declared in an enclosing class") : this.privateNameStack[this.privateNameStack.length - 1].used.push(e$2)), e$2;
2236
+ }, $.parseYield = function(e$2) {
2237
+ this.yieldPos || (this.yieldPos = this.start);
2238
+ var t$2 = this.startNode();
2239
+ return this.next(), this.type === f.semi || this.canInsertSemicolon() || this.type !== f.star && !this.type.startsExpr ? (t$2.delegate = !1, t$2.argument = null) : (t$2.delegate = this.eat(f.star), t$2.argument = this.parseMaybeAssign(e$2)), this.finishNode(t$2, "YieldExpression");
2240
+ }, $.parseAwait = function(e$2) {
2241
+ this.awaitPos || (this.awaitPos = this.start);
2242
+ var t$2 = this.startNode();
2243
+ return this.next(), t$2.argument = this.parseMaybeUnary(null, !0, !1, e$2), this.finishNode(t$2, "AwaitExpression");
2244
+ };
2245
+ var W = acorn_Parser.prototype;
2246
+ W.raise = function(e$2, t$2) {
2247
+ var i$1 = getLineInfo(this.input, e$2);
2248
+ t$2 += " (" + i$1.line + ":" + i$1.column + ")", this.sourceFile && (t$2 += " in " + this.sourceFile);
2249
+ var s$1 = new SyntaxError(t$2);
2250
+ throw s$1.pos = e$2, s$1.loc = i$1, s$1.raisedAt = this.pos, s$1;
2251
+ }, W.raiseRecoverable = W.raise, W.curPosition = function() {
2252
+ if (this.options.locations) return new acorn_Position(this.curLine, this.pos - this.lineStart);
2253
+ };
2254
+ var G = acorn_Parser.prototype, acorn_Scope = function(e$2) {
2255
+ this.flags = e$2, this.var = [], this.lexical = [], this.functions = [];
2256
+ };
2257
+ G.enterScope = function(e$2) {
2258
+ this.scopeStack.push(new acorn_Scope(e$2));
2259
+ }, G.exitScope = function() {
2260
+ this.scopeStack.pop();
2261
+ }, G.treatFunctionsAsVarInScope = function(e$2) {
2262
+ return 2 & e$2.flags || !this.inModule && 1 & e$2.flags;
2263
+ }, G.declareName = function(e$2, t$2, i$1) {
2264
+ var s$1 = !1;
2265
+ if (2 === t$2) {
2266
+ var r$1 = this.currentScope();
2267
+ s$1 = r$1.lexical.indexOf(e$2) > -1 || r$1.functions.indexOf(e$2) > -1 || r$1.var.indexOf(e$2) > -1, r$1.lexical.push(e$2), this.inModule && 1 & r$1.flags && delete this.undefinedExports[e$2];
2268
+ } else if (4 === t$2) this.currentScope().lexical.push(e$2);
2269
+ else if (3 === t$2) {
2270
+ var n$1 = this.currentScope();
2271
+ s$1 = this.treatFunctionsAsVar ? n$1.lexical.indexOf(e$2) > -1 : n$1.lexical.indexOf(e$2) > -1 || n$1.var.indexOf(e$2) > -1, n$1.functions.push(e$2);
2272
+ } else for (var a$1 = this.scopeStack.length - 1; a$1 >= 0; --a$1) {
2273
+ var o$1 = this.scopeStack[a$1];
2274
+ if (o$1.lexical.indexOf(e$2) > -1 && !(32 & o$1.flags && o$1.lexical[0] === e$2) || !this.treatFunctionsAsVarInScope(o$1) && o$1.functions.indexOf(e$2) > -1) {
2275
+ s$1 = !0;
2276
+ break;
2277
+ }
2278
+ if (o$1.var.push(e$2), this.inModule && 1 & o$1.flags && delete this.undefinedExports[e$2], o$1.flags & P) break;
2279
+ }
2280
+ s$1 && this.raiseRecoverable(i$1, "Identifier '" + e$2 + "' has already been declared");
2281
+ }, G.checkLocalExport = function(e$2) {
2282
+ -1 === this.scopeStack[0].lexical.indexOf(e$2.name) && -1 === this.scopeStack[0].var.indexOf(e$2.name) && (this.undefinedExports[e$2.name] = e$2);
2283
+ }, G.currentScope = function() {
2284
+ return this.scopeStack[this.scopeStack.length - 1];
2285
+ }, G.currentVarScope = function() {
2286
+ for (var e$2 = this.scopeStack.length - 1;; e$2--) {
2287
+ var t$2 = this.scopeStack[e$2];
2288
+ if (771 & t$2.flags) return t$2;
2289
+ }
2290
+ }, G.currentThisScope = function() {
2291
+ for (var e$2 = this.scopeStack.length - 1;; e$2--) {
2292
+ var t$2 = this.scopeStack[e$2];
2293
+ if (771 & t$2.flags && !(16 & t$2.flags)) return t$2;
2294
+ }
2295
+ };
2296
+ var acorn_Node = function(e$2, t$2, i$1) {
2297
+ this.type = "", this.start = t$2, this.end = 0, e$2.options.locations && (this.loc = new acorn_SourceLocation(e$2, i$1)), e$2.options.directSourceFile && (this.sourceFile = e$2.options.directSourceFile), e$2.options.ranges && (this.range = [t$2, 0]);
2298
+ }, H = acorn_Parser.prototype;
2299
+ function finishNodeAt(e$2, t$2, i$1, s$1) {
2300
+ return e$2.type = t$2, e$2.end = i$1, this.options.locations && (e$2.loc.end = s$1), this.options.ranges && (e$2.range[1] = i$1), e$2;
2301
+ }
2302
+ H.startNode = function() {
2303
+ return new acorn_Node(this, this.start, this.startLoc);
2304
+ }, H.startNodeAt = function(e$2, t$2) {
2305
+ return new acorn_Node(this, e$2, t$2);
2306
+ }, H.finishNode = function(e$2, t$2) {
2307
+ return finishNodeAt.call(this, e$2, t$2, this.lastTokEnd, this.lastTokEndLoc);
2308
+ }, H.finishNodeAt = function(e$2, t$2, i$1, s$1) {
2309
+ return finishNodeAt.call(this, e$2, t$2, i$1, s$1);
2310
+ }, H.copyNode = function(e$2) {
2311
+ var t$2 = new acorn_Node(this, e$2.start, this.startLoc);
2312
+ for (var i$1 in e$2) t$2[i$1] = e$2[i$1];
2313
+ return t$2;
2314
+ };
2315
+ var K = "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", z = K + " Extended_Pictographic", J = z + " EBase EComp EMod EPres ExtPict", Y = {
2316
+ 9: K,
2317
+ 10: z,
2318
+ 11: z,
2319
+ 12: J,
2320
+ 13: J,
2321
+ 14: J
2322
+ }, Q = {
2323
+ 9: "",
2324
+ 10: "",
2325
+ 11: "",
2326
+ 12: "",
2327
+ 13: "",
2328
+ 14: "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"
2329
+ }, Z = "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", X = "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", ee = X + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", te = ee + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", ie = te + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", se = ie + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", re = {
2330
+ 9: X,
2331
+ 10: ee,
2332
+ 11: te,
2333
+ 12: ie,
2334
+ 13: se,
2335
+ 14: se + " 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"
2336
+ }, ne = {};
2337
+ function buildUnicodeData(e$2) {
2338
+ var t$2 = ne[e$2] = {
2339
+ binary: wordsRegexp(Y[e$2] + " " + Z),
2340
+ binaryOfStrings: wordsRegexp(Q[e$2]),
2341
+ nonBinary: {
2342
+ General_Category: wordsRegexp(Z),
2343
+ Script: wordsRegexp(re[e$2])
2344
+ }
2345
+ };
2346
+ t$2.nonBinary.Script_Extensions = t$2.nonBinary.Script, t$2.nonBinary.gc = t$2.nonBinary.General_Category, t$2.nonBinary.sc = t$2.nonBinary.Script, t$2.nonBinary.scx = t$2.nonBinary.Script_Extensions;
2347
+ }
2348
+ for (var ae = 0, oe = [
2349
+ 9,
2350
+ 10,
2351
+ 11,
2352
+ 12,
2353
+ 13,
2354
+ 14
2355
+ ]; ae < oe.length; ae += 1) buildUnicodeData(oe[ae]);
2356
+ var he = acorn_Parser.prototype, acorn_BranchID = function(e$2, t$2) {
2357
+ this.parent = e$2, this.base = t$2 || this;
2358
+ };
2359
+ acorn_BranchID.prototype.separatedFrom = function(e$2) {
2360
+ for (var t$2 = this; t$2; t$2 = t$2.parent) for (var i$1 = e$2; i$1; i$1 = i$1.parent) if (t$2.base === i$1.base && t$2 !== i$1) return !0;
2361
+ return !1;
2362
+ }, acorn_BranchID.prototype.sibling = function() {
2363
+ return new acorn_BranchID(this.parent, this.base);
2364
+ };
2365
+ var acorn_RegExpValidationState = function(e$2) {
2366
+ this.parser = e$2, this.validFlags = "gim" + (e$2.options.ecmaVersion >= 6 ? "uy" : "") + (e$2.options.ecmaVersion >= 9 ? "s" : "") + (e$2.options.ecmaVersion >= 13 ? "d" : "") + (e$2.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = ne[e$2.options.ecmaVersion >= 14 ? 14 : e$2.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = Object.create(null), this.backReferenceNames = [], this.branchID = null;
2367
+ };
2368
+ function isRegularExpressionModifier(e$2) {
2369
+ return 105 === e$2 || 109 === e$2 || 115 === e$2;
2370
+ }
2371
+ function isSyntaxCharacter(e$2) {
2372
+ return 36 === e$2 || e$2 >= 40 && e$2 <= 43 || 46 === e$2 || 63 === e$2 || e$2 >= 91 && e$2 <= 94 || e$2 >= 123 && e$2 <= 125;
2373
+ }
2374
+ function isControlLetter(e$2) {
2375
+ return e$2 >= 65 && e$2 <= 90 || e$2 >= 97 && e$2 <= 122;
2376
+ }
2377
+ acorn_RegExpValidationState.prototype.reset = function(e$2, t$2, i$1) {
2378
+ var s$1 = -1 !== i$1.indexOf("v"), r$1 = -1 !== i$1.indexOf("u");
2379
+ this.start = 0 | e$2, this.source = t$2 + "", this.flags = i$1, s$1 && this.parser.options.ecmaVersion >= 15 ? (this.switchU = !0, this.switchV = !0, this.switchN = !0) : (this.switchU = r$1 && this.parser.options.ecmaVersion >= 6, this.switchV = !1, this.switchN = r$1 && this.parser.options.ecmaVersion >= 9);
2380
+ }, acorn_RegExpValidationState.prototype.raise = function(e$2) {
2381
+ this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + e$2);
2382
+ }, acorn_RegExpValidationState.prototype.at = function(e$2, t$2) {
2383
+ void 0 === t$2 && (t$2 = !1);
2384
+ var i$1 = this.source, s$1 = i$1.length;
2385
+ if (e$2 >= s$1) return -1;
2386
+ var r$1 = i$1.charCodeAt(e$2);
2387
+ if (!t$2 && !this.switchU || r$1 <= 55295 || r$1 >= 57344 || e$2 + 1 >= s$1) return r$1;
2388
+ var n$1 = i$1.charCodeAt(e$2 + 1);
2389
+ return n$1 >= 56320 && n$1 <= 57343 ? (r$1 << 10) + n$1 - 56613888 : r$1;
2390
+ }, acorn_RegExpValidationState.prototype.nextIndex = function(e$2, t$2) {
2391
+ void 0 === t$2 && (t$2 = !1);
2392
+ var i$1 = this.source, s$1 = i$1.length;
2393
+ if (e$2 >= s$1) return s$1;
2394
+ var r$1, n$1 = i$1.charCodeAt(e$2);
2395
+ return !t$2 && !this.switchU || n$1 <= 55295 || n$1 >= 57344 || e$2 + 1 >= s$1 || (r$1 = i$1.charCodeAt(e$2 + 1)) < 56320 || r$1 > 57343 ? e$2 + 1 : e$2 + 2;
2396
+ }, acorn_RegExpValidationState.prototype.current = function(e$2) {
2397
+ return void 0 === e$2 && (e$2 = !1), this.at(this.pos, e$2);
2398
+ }, acorn_RegExpValidationState.prototype.lookahead = function(e$2) {
2399
+ return void 0 === e$2 && (e$2 = !1), this.at(this.nextIndex(this.pos, e$2), e$2);
2400
+ }, acorn_RegExpValidationState.prototype.advance = function(e$2) {
2401
+ void 0 === e$2 && (e$2 = !1), this.pos = this.nextIndex(this.pos, e$2);
2402
+ }, acorn_RegExpValidationState.prototype.eat = function(e$2, t$2) {
2403
+ return void 0 === t$2 && (t$2 = !1), this.current(t$2) === e$2 && (this.advance(t$2), !0);
2404
+ }, acorn_RegExpValidationState.prototype.eatChars = function(e$2, t$2) {
2405
+ void 0 === t$2 && (t$2 = !1);
2406
+ for (var i$1 = this.pos, s$1 = 0, r$1 = e$2; s$1 < r$1.length; s$1 += 1) {
2407
+ var n$1 = r$1[s$1], a$1 = this.at(i$1, t$2);
2408
+ if (-1 === a$1 || a$1 !== n$1) return !1;
2409
+ i$1 = this.nextIndex(i$1, t$2);
2410
+ }
2411
+ return this.pos = i$1, !0;
2412
+ }, he.validateRegExpFlags = function(e$2) {
2413
+ for (var t$2 = e$2.validFlags, i$1 = e$2.flags, s$1 = !1, r$1 = !1, n$1 = 0; n$1 < i$1.length; n$1++) {
2414
+ var a$1 = i$1.charAt(n$1);
2415
+ -1 === t$2.indexOf(a$1) && this.raise(e$2.start, "Invalid regular expression flag"), i$1.indexOf(a$1, n$1 + 1) > -1 && this.raise(e$2.start, "Duplicate regular expression flag"), "u" === a$1 && (s$1 = !0), "v" === a$1 && (r$1 = !0);
2416
+ }
2417
+ this.options.ecmaVersion >= 15 && s$1 && r$1 && this.raise(e$2.start, "Invalid regular expression flag");
2418
+ }, he.validateRegExpPattern = function(e$2) {
2419
+ this.regexp_pattern(e$2), !e$2.switchN && this.options.ecmaVersion >= 9 && function(e$3) {
2420
+ for (var t$2 in e$3) return !0;
2421
+ return !1;
2422
+ }(e$2.groupNames) && (e$2.switchN = !0, this.regexp_pattern(e$2));
2423
+ }, he.regexp_pattern = function(e$2) {
2424
+ e$2.pos = 0, e$2.lastIntValue = 0, e$2.lastStringValue = "", e$2.lastAssertionIsQuantifiable = !1, e$2.numCapturingParens = 0, e$2.maxBackReference = 0, e$2.groupNames = Object.create(null), e$2.backReferenceNames.length = 0, e$2.branchID = null, this.regexp_disjunction(e$2), e$2.pos !== e$2.source.length && (e$2.eat(41) && e$2.raise("Unmatched ')'"), (e$2.eat(93) || e$2.eat(125)) && e$2.raise("Lone quantifier brackets")), e$2.maxBackReference > e$2.numCapturingParens && e$2.raise("Invalid escape");
2425
+ for (var t$2 = 0, i$1 = e$2.backReferenceNames; t$2 < i$1.length; t$2 += 1) {
2426
+ var s$1 = i$1[t$2];
2427
+ e$2.groupNames[s$1] || e$2.raise("Invalid named capture referenced");
2428
+ }
2429
+ }, he.regexp_disjunction = function(e$2) {
2430
+ var t$2 = this.options.ecmaVersion >= 16;
2431
+ for (t$2 && (e$2.branchID = new acorn_BranchID(e$2.branchID, null)), this.regexp_alternative(e$2); e$2.eat(124);) t$2 && (e$2.branchID = e$2.branchID.sibling()), this.regexp_alternative(e$2);
2432
+ t$2 && (e$2.branchID = e$2.branchID.parent), this.regexp_eatQuantifier(e$2, !0) && e$2.raise("Nothing to repeat"), e$2.eat(123) && e$2.raise("Lone quantifier brackets");
2433
+ }, he.regexp_alternative = function(e$2) {
2434
+ for (; e$2.pos < e$2.source.length && this.regexp_eatTerm(e$2););
2435
+ }, he.regexp_eatTerm = function(e$2) {
2436
+ return this.regexp_eatAssertion(e$2) ? (e$2.lastAssertionIsQuantifiable && this.regexp_eatQuantifier(e$2) && e$2.switchU && e$2.raise("Invalid quantifier"), !0) : !!(e$2.switchU ? this.regexp_eatAtom(e$2) : this.regexp_eatExtendedAtom(e$2)) && (this.regexp_eatQuantifier(e$2), !0);
2437
+ }, he.regexp_eatAssertion = function(e$2) {
2438
+ var t$2 = e$2.pos;
2439
+ if (e$2.lastAssertionIsQuantifiable = !1, e$2.eat(94) || e$2.eat(36)) return !0;
2440
+ if (e$2.eat(92)) {
2441
+ if (e$2.eat(66) || e$2.eat(98)) return !0;
2442
+ e$2.pos = t$2;
2443
+ }
2444
+ if (e$2.eat(40) && e$2.eat(63)) {
2445
+ var i$1 = !1;
2446
+ if (this.options.ecmaVersion >= 9 && (i$1 = e$2.eat(60)), e$2.eat(61) || e$2.eat(33)) return this.regexp_disjunction(e$2), e$2.eat(41) || e$2.raise("Unterminated group"), e$2.lastAssertionIsQuantifiable = !i$1, !0;
2447
+ }
2448
+ return e$2.pos = t$2, !1;
2449
+ }, he.regexp_eatQuantifier = function(e$2, t$2) {
2450
+ return void 0 === t$2 && (t$2 = !1), !!this.regexp_eatQuantifierPrefix(e$2, t$2) && (e$2.eat(63), !0);
2451
+ }, he.regexp_eatQuantifierPrefix = function(e$2, t$2) {
2452
+ return e$2.eat(42) || e$2.eat(43) || e$2.eat(63) || this.regexp_eatBracedQuantifier(e$2, t$2);
2453
+ }, he.regexp_eatBracedQuantifier = function(e$2, t$2) {
2454
+ var i$1 = e$2.pos;
2455
+ if (e$2.eat(123)) {
2456
+ var s$1 = 0, r$1 = -1;
2457
+ if (this.regexp_eatDecimalDigits(e$2) && (s$1 = e$2.lastIntValue, e$2.eat(44) && this.regexp_eatDecimalDigits(e$2) && (r$1 = e$2.lastIntValue), e$2.eat(125))) return -1 !== r$1 && r$1 < s$1 && !t$2 && e$2.raise("numbers out of order in {} quantifier"), !0;
2458
+ e$2.switchU && !t$2 && e$2.raise("Incomplete quantifier"), e$2.pos = i$1;
2459
+ }
2460
+ return !1;
2461
+ }, he.regexp_eatAtom = function(e$2) {
2462
+ return this.regexp_eatPatternCharacters(e$2) || e$2.eat(46) || this.regexp_eatReverseSolidusAtomEscape(e$2) || this.regexp_eatCharacterClass(e$2) || this.regexp_eatUncapturingGroup(e$2) || this.regexp_eatCapturingGroup(e$2);
2463
+ }, he.regexp_eatReverseSolidusAtomEscape = function(e$2) {
2464
+ var t$2 = e$2.pos;
2465
+ if (e$2.eat(92)) {
2466
+ if (this.regexp_eatAtomEscape(e$2)) return !0;
2467
+ e$2.pos = t$2;
2468
+ }
2469
+ return !1;
2470
+ }, he.regexp_eatUncapturingGroup = function(e$2) {
2471
+ var t$2 = e$2.pos;
2472
+ if (e$2.eat(40)) {
2473
+ if (e$2.eat(63)) {
2474
+ if (this.options.ecmaVersion >= 16) {
2475
+ var i$1 = this.regexp_eatModifiers(e$2), s$1 = e$2.eat(45);
2476
+ if (i$1 || s$1) {
2477
+ for (var r$1 = 0; r$1 < i$1.length; r$1++) {
2478
+ var n$1 = i$1.charAt(r$1);
2479
+ i$1.indexOf(n$1, r$1 + 1) > -1 && e$2.raise("Duplicate regular expression modifiers");
2480
+ }
2481
+ if (s$1) {
2482
+ var a$1 = this.regexp_eatModifiers(e$2);
2483
+ i$1 || a$1 || 58 !== e$2.current() || e$2.raise("Invalid regular expression modifiers");
2484
+ for (var o$1 = 0; o$1 < a$1.length; o$1++) {
2485
+ var h$1 = a$1.charAt(o$1);
2486
+ (a$1.indexOf(h$1, o$1 + 1) > -1 || i$1.indexOf(h$1) > -1) && e$2.raise("Duplicate regular expression modifiers");
2487
+ }
2488
+ }
2489
+ }
2490
+ }
2491
+ if (e$2.eat(58)) {
2492
+ if (this.regexp_disjunction(e$2), e$2.eat(41)) return !0;
2493
+ e$2.raise("Unterminated group");
2494
+ }
2495
+ }
2496
+ e$2.pos = t$2;
2497
+ }
2498
+ return !1;
2499
+ }, he.regexp_eatCapturingGroup = function(e$2) {
2500
+ if (e$2.eat(40)) {
2501
+ if (this.options.ecmaVersion >= 9 ? this.regexp_groupSpecifier(e$2) : 63 === e$2.current() && e$2.raise("Invalid group"), this.regexp_disjunction(e$2), e$2.eat(41)) return e$2.numCapturingParens += 1, !0;
2502
+ e$2.raise("Unterminated group");
2503
+ }
2504
+ return !1;
2505
+ }, he.regexp_eatModifiers = function(e$2) {
2506
+ for (var t$2 = "", i$1 = 0; -1 !== (i$1 = e$2.current()) && isRegularExpressionModifier(i$1);) t$2 += codePointToString(i$1), e$2.advance();
2507
+ return t$2;
2508
+ }, he.regexp_eatExtendedAtom = function(e$2) {
2509
+ return e$2.eat(46) || this.regexp_eatReverseSolidusAtomEscape(e$2) || this.regexp_eatCharacterClass(e$2) || this.regexp_eatUncapturingGroup(e$2) || this.regexp_eatCapturingGroup(e$2) || this.regexp_eatInvalidBracedQuantifier(e$2) || this.regexp_eatExtendedPatternCharacter(e$2);
2510
+ }, he.regexp_eatInvalidBracedQuantifier = function(e$2) {
2511
+ return this.regexp_eatBracedQuantifier(e$2, !0) && e$2.raise("Nothing to repeat"), !1;
2512
+ }, he.regexp_eatSyntaxCharacter = function(e$2) {
2513
+ var t$2 = e$2.current();
2514
+ return !!isSyntaxCharacter(t$2) && (e$2.lastIntValue = t$2, e$2.advance(), !0);
2515
+ }, he.regexp_eatPatternCharacters = function(e$2) {
2516
+ for (var t$2 = e$2.pos, i$1 = 0; -1 !== (i$1 = e$2.current()) && !isSyntaxCharacter(i$1);) e$2.advance();
2517
+ return e$2.pos !== t$2;
2518
+ }, he.regexp_eatExtendedPatternCharacter = function(e$2) {
2519
+ var t$2 = e$2.current();
2520
+ return !(-1 === t$2 || 36 === t$2 || t$2 >= 40 && t$2 <= 43 || 46 === t$2 || 63 === t$2 || 91 === t$2 || 94 === t$2 || 124 === t$2) && (e$2.advance(), !0);
2521
+ }, he.regexp_groupSpecifier = function(e$2) {
2522
+ if (e$2.eat(63)) {
2523
+ this.regexp_eatGroupName(e$2) || e$2.raise("Invalid group");
2524
+ var t$2 = this.options.ecmaVersion >= 16, i$1 = e$2.groupNames[e$2.lastStringValue];
2525
+ if (i$1) if (t$2) for (var s$1 = 0, r$1 = i$1; s$1 < r$1.length; s$1 += 1) r$1[s$1].separatedFrom(e$2.branchID) || e$2.raise("Duplicate capture group name");
2526
+ else e$2.raise("Duplicate capture group name");
2527
+ t$2 ? (i$1 || (e$2.groupNames[e$2.lastStringValue] = [])).push(e$2.branchID) : e$2.groupNames[e$2.lastStringValue] = !0;
2528
+ }
2529
+ }, he.regexp_eatGroupName = function(e$2) {
2530
+ if (e$2.lastStringValue = "", e$2.eat(60)) {
2531
+ if (this.regexp_eatRegExpIdentifierName(e$2) && e$2.eat(62)) return !0;
2532
+ e$2.raise("Invalid capture group name");
2533
+ }
2534
+ return !1;
2535
+ }, he.regexp_eatRegExpIdentifierName = function(e$2) {
2536
+ if (e$2.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(e$2)) {
2537
+ for (e$2.lastStringValue += codePointToString(e$2.lastIntValue); this.regexp_eatRegExpIdentifierPart(e$2);) e$2.lastStringValue += codePointToString(e$2.lastIntValue);
2538
+ return !0;
2539
+ }
2540
+ return !1;
2541
+ }, he.regexp_eatRegExpIdentifierStart = function(e$2) {
2542
+ var t$2 = e$2.pos, i$1 = this.options.ecmaVersion >= 11, s$1 = e$2.current(i$1);
2543
+ return e$2.advance(i$1), 92 === s$1 && this.regexp_eatRegExpUnicodeEscapeSequence(e$2, i$1) && (s$1 = e$2.lastIntValue), function(e$3) {
2544
+ return isIdentifierStart(e$3, !0) || 36 === e$3 || 95 === e$3;
2545
+ }(s$1) ? (e$2.lastIntValue = s$1, !0) : (e$2.pos = t$2, !1);
2546
+ }, he.regexp_eatRegExpIdentifierPart = function(e$2) {
2547
+ var t$2 = e$2.pos, i$1 = this.options.ecmaVersion >= 11, s$1 = e$2.current(i$1);
2548
+ return e$2.advance(i$1), 92 === s$1 && this.regexp_eatRegExpUnicodeEscapeSequence(e$2, i$1) && (s$1 = e$2.lastIntValue), function(e$3) {
2549
+ return isIdentifierChar(e$3, !0) || 36 === e$3 || 95 === e$3 || 8204 === e$3 || 8205 === e$3;
2550
+ }(s$1) ? (e$2.lastIntValue = s$1, !0) : (e$2.pos = t$2, !1);
2551
+ }, he.regexp_eatAtomEscape = function(e$2) {
2552
+ return !!(this.regexp_eatBackReference(e$2) || this.regexp_eatCharacterClassEscape(e$2) || this.regexp_eatCharacterEscape(e$2) || e$2.switchN && this.regexp_eatKGroupName(e$2)) || (e$2.switchU && (99 === e$2.current() && e$2.raise("Invalid unicode escape"), e$2.raise("Invalid escape")), !1);
2553
+ }, he.regexp_eatBackReference = function(e$2) {
2554
+ var t$2 = e$2.pos;
2555
+ if (this.regexp_eatDecimalEscape(e$2)) {
2556
+ var i$1 = e$2.lastIntValue;
2557
+ if (e$2.switchU) return i$1 > e$2.maxBackReference && (e$2.maxBackReference = i$1), !0;
2558
+ if (i$1 <= e$2.numCapturingParens) return !0;
2559
+ e$2.pos = t$2;
2560
+ }
2561
+ return !1;
2562
+ }, he.regexp_eatKGroupName = function(e$2) {
2563
+ if (e$2.eat(107)) {
2564
+ if (this.regexp_eatGroupName(e$2)) return e$2.backReferenceNames.push(e$2.lastStringValue), !0;
2565
+ e$2.raise("Invalid named reference");
2566
+ }
2567
+ return !1;
2568
+ }, he.regexp_eatCharacterEscape = function(e$2) {
2569
+ return this.regexp_eatControlEscape(e$2) || this.regexp_eatCControlLetter(e$2) || this.regexp_eatZero(e$2) || this.regexp_eatHexEscapeSequence(e$2) || this.regexp_eatRegExpUnicodeEscapeSequence(e$2, !1) || !e$2.switchU && this.regexp_eatLegacyOctalEscapeSequence(e$2) || this.regexp_eatIdentityEscape(e$2);
2570
+ }, he.regexp_eatCControlLetter = function(e$2) {
2571
+ var t$2 = e$2.pos;
2572
+ if (e$2.eat(99)) {
2573
+ if (this.regexp_eatControlLetter(e$2)) return !0;
2574
+ e$2.pos = t$2;
2575
+ }
2576
+ return !1;
2577
+ }, he.regexp_eatZero = function(e$2) {
2578
+ return 48 === e$2.current() && !isDecimalDigit(e$2.lookahead()) && (e$2.lastIntValue = 0, e$2.advance(), !0);
2579
+ }, he.regexp_eatControlEscape = function(e$2) {
2580
+ var t$2 = e$2.current();
2581
+ return 116 === t$2 ? (e$2.lastIntValue = 9, e$2.advance(), !0) : 110 === t$2 ? (e$2.lastIntValue = 10, e$2.advance(), !0) : 118 === t$2 ? (e$2.lastIntValue = 11, e$2.advance(), !0) : 102 === t$2 ? (e$2.lastIntValue = 12, e$2.advance(), !0) : 114 === t$2 && (e$2.lastIntValue = 13, e$2.advance(), !0);
2582
+ }, he.regexp_eatControlLetter = function(e$2) {
2583
+ var t$2 = e$2.current();
2584
+ return !!isControlLetter(t$2) && (e$2.lastIntValue = t$2 % 32, e$2.advance(), !0);
2585
+ }, he.regexp_eatRegExpUnicodeEscapeSequence = function(e$2, t$2) {
2586
+ void 0 === t$2 && (t$2 = !1);
2587
+ var i$1, s$1 = e$2.pos, r$1 = t$2 || e$2.switchU;
2588
+ if (e$2.eat(117)) {
2589
+ if (this.regexp_eatFixedHexDigits(e$2, 4)) {
2590
+ var n$1 = e$2.lastIntValue;
2591
+ if (r$1 && n$1 >= 55296 && n$1 <= 56319) {
2592
+ var a$1 = e$2.pos;
2593
+ if (e$2.eat(92) && e$2.eat(117) && this.regexp_eatFixedHexDigits(e$2, 4)) {
2594
+ var o$1 = e$2.lastIntValue;
2595
+ if (o$1 >= 56320 && o$1 <= 57343) return e$2.lastIntValue = 1024 * (n$1 - 55296) + (o$1 - 56320) + 65536, !0;
2596
+ }
2597
+ e$2.pos = a$1, e$2.lastIntValue = n$1;
2598
+ }
2599
+ return !0;
2600
+ }
2601
+ if (r$1 && e$2.eat(123) && this.regexp_eatHexDigits(e$2) && e$2.eat(125) && (i$1 = e$2.lastIntValue) >= 0 && i$1 <= 1114111) return !0;
2602
+ r$1 && e$2.raise("Invalid unicode escape"), e$2.pos = s$1;
2603
+ }
2604
+ return !1;
2605
+ }, he.regexp_eatIdentityEscape = function(e$2) {
2606
+ if (e$2.switchU) return !!this.regexp_eatSyntaxCharacter(e$2) || !!e$2.eat(47) && (e$2.lastIntValue = 47, !0);
2607
+ var t$2 = e$2.current();
2608
+ return !(99 === t$2 || e$2.switchN && 107 === t$2) && (e$2.lastIntValue = t$2, e$2.advance(), !0);
2609
+ }, he.regexp_eatDecimalEscape = function(e$2) {
2610
+ e$2.lastIntValue = 0;
2611
+ var t$2 = e$2.current();
2612
+ if (t$2 >= 49 && t$2 <= 57) {
2613
+ do
2614
+ e$2.lastIntValue = 10 * e$2.lastIntValue + (t$2 - 48), e$2.advance();
2615
+ while ((t$2 = e$2.current()) >= 48 && t$2 <= 57);
2616
+ return !0;
2617
+ }
2618
+ return !1;
2619
+ };
2620
+ function isUnicodePropertyNameCharacter(e$2) {
2621
+ return isControlLetter(e$2) || 95 === e$2;
2622
+ }
2623
+ function isUnicodePropertyValueCharacter(e$2) {
2624
+ return isUnicodePropertyNameCharacter(e$2) || isDecimalDigit(e$2);
2625
+ }
2626
+ function isDecimalDigit(e$2) {
2627
+ return e$2 >= 48 && e$2 <= 57;
2628
+ }
2629
+ function isHexDigit(e$2) {
2630
+ return e$2 >= 48 && e$2 <= 57 || e$2 >= 65 && e$2 <= 70 || e$2 >= 97 && e$2 <= 102;
2631
+ }
2632
+ function hexToInt(e$2) {
2633
+ return e$2 >= 65 && e$2 <= 70 ? e$2 - 65 + 10 : e$2 >= 97 && e$2 <= 102 ? e$2 - 97 + 10 : e$2 - 48;
2634
+ }
2635
+ function isOctalDigit(e$2) {
2636
+ return e$2 >= 48 && e$2 <= 55;
2637
+ }
2638
+ he.regexp_eatCharacterClassEscape = function(e$2) {
2639
+ var t$2 = e$2.current();
2640
+ if (function(e$3) {
2641
+ return 100 === e$3 || 68 === e$3 || 115 === e$3 || 83 === e$3 || 119 === e$3 || 87 === e$3;
2642
+ }(t$2)) return e$2.lastIntValue = -1, e$2.advance(), 1;
2643
+ var i$1 = !1;
2644
+ if (e$2.switchU && this.options.ecmaVersion >= 9 && ((i$1 = 80 === t$2) || 112 === t$2)) {
2645
+ var s$1;
2646
+ if (e$2.lastIntValue = -1, e$2.advance(), e$2.eat(123) && (s$1 = this.regexp_eatUnicodePropertyValueExpression(e$2)) && e$2.eat(125)) return i$1 && 2 === s$1 && e$2.raise("Invalid property name"), s$1;
2647
+ e$2.raise("Invalid property name");
2648
+ }
2649
+ return 0;
2650
+ }, he.regexp_eatUnicodePropertyValueExpression = function(e$2) {
2651
+ var t$2 = e$2.pos;
2652
+ if (this.regexp_eatUnicodePropertyName(e$2) && e$2.eat(61)) {
2653
+ var i$1 = e$2.lastStringValue;
2654
+ if (this.regexp_eatUnicodePropertyValue(e$2)) {
2655
+ var s$1 = e$2.lastStringValue;
2656
+ return this.regexp_validateUnicodePropertyNameAndValue(e$2, i$1, s$1), 1;
2657
+ }
2658
+ }
2659
+ if (e$2.pos = t$2, this.regexp_eatLoneUnicodePropertyNameOrValue(e$2)) {
2660
+ var r$1 = e$2.lastStringValue;
2661
+ return this.regexp_validateUnicodePropertyNameOrValue(e$2, r$1);
2662
+ }
2663
+ return 0;
2664
+ }, he.regexp_validateUnicodePropertyNameAndValue = function(e$2, t$2, i$1) {
2665
+ b(e$2.unicodeProperties.nonBinary, t$2) || e$2.raise("Invalid property name"), e$2.unicodeProperties.nonBinary[t$2].test(i$1) || e$2.raise("Invalid property value");
2666
+ }, he.regexp_validateUnicodePropertyNameOrValue = function(e$2, t$2) {
2667
+ return e$2.unicodeProperties.binary.test(t$2) ? 1 : e$2.switchV && e$2.unicodeProperties.binaryOfStrings.test(t$2) ? 2 : void e$2.raise("Invalid property name");
2668
+ }, he.regexp_eatUnicodePropertyName = function(e$2) {
2669
+ var t$2 = 0;
2670
+ for (e$2.lastStringValue = ""; isUnicodePropertyNameCharacter(t$2 = e$2.current());) e$2.lastStringValue += codePointToString(t$2), e$2.advance();
2671
+ return "" !== e$2.lastStringValue;
2672
+ }, he.regexp_eatUnicodePropertyValue = function(e$2) {
2673
+ var t$2 = 0;
2674
+ for (e$2.lastStringValue = ""; isUnicodePropertyValueCharacter(t$2 = e$2.current());) e$2.lastStringValue += codePointToString(t$2), e$2.advance();
2675
+ return "" !== e$2.lastStringValue;
2676
+ }, he.regexp_eatLoneUnicodePropertyNameOrValue = function(e$2) {
2677
+ return this.regexp_eatUnicodePropertyValue(e$2);
2678
+ }, he.regexp_eatCharacterClass = function(e$2) {
2679
+ if (e$2.eat(91)) {
2680
+ var t$2 = e$2.eat(94), i$1 = this.regexp_classContents(e$2);
2681
+ return e$2.eat(93) || e$2.raise("Unterminated character class"), t$2 && 2 === i$1 && e$2.raise("Negated character class may contain strings"), !0;
2682
+ }
2683
+ return !1;
2684
+ }, he.regexp_classContents = function(e$2) {
2685
+ return 93 === e$2.current() ? 1 : e$2.switchV ? this.regexp_classSetExpression(e$2) : (this.regexp_nonEmptyClassRanges(e$2), 1);
2686
+ }, he.regexp_nonEmptyClassRanges = function(e$2) {
2687
+ for (; this.regexp_eatClassAtom(e$2);) {
2688
+ var t$2 = e$2.lastIntValue;
2689
+ if (e$2.eat(45) && this.regexp_eatClassAtom(e$2)) {
2690
+ var i$1 = e$2.lastIntValue;
2691
+ !e$2.switchU || -1 !== t$2 && -1 !== i$1 || e$2.raise("Invalid character class"), -1 !== t$2 && -1 !== i$1 && t$2 > i$1 && e$2.raise("Range out of order in character class");
2692
+ }
2693
+ }
2694
+ }, he.regexp_eatClassAtom = function(e$2) {
2695
+ var t$2 = e$2.pos;
2696
+ if (e$2.eat(92)) {
2697
+ if (this.regexp_eatClassEscape(e$2)) return !0;
2698
+ if (e$2.switchU) {
2699
+ var i$1 = e$2.current();
2700
+ (99 === i$1 || isOctalDigit(i$1)) && e$2.raise("Invalid class escape"), e$2.raise("Invalid escape");
2701
+ }
2702
+ e$2.pos = t$2;
2703
+ }
2704
+ var s$1 = e$2.current();
2705
+ return 93 !== s$1 && (e$2.lastIntValue = s$1, e$2.advance(), !0);
2706
+ }, he.regexp_eatClassEscape = function(e$2) {
2707
+ var t$2 = e$2.pos;
2708
+ if (e$2.eat(98)) return e$2.lastIntValue = 8, !0;
2709
+ if (e$2.switchU && e$2.eat(45)) return e$2.lastIntValue = 45, !0;
2710
+ if (!e$2.switchU && e$2.eat(99)) {
2711
+ if (this.regexp_eatClassControlLetter(e$2)) return !0;
2712
+ e$2.pos = t$2;
2713
+ }
2714
+ return this.regexp_eatCharacterClassEscape(e$2) || this.regexp_eatCharacterEscape(e$2);
2715
+ }, he.regexp_classSetExpression = function(e$2) {
2716
+ var t$2, i$1 = 1;
2717
+ if (this.regexp_eatClassSetRange(e$2));
2718
+ else if (t$2 = this.regexp_eatClassSetOperand(e$2)) {
2719
+ 2 === t$2 && (i$1 = 2);
2720
+ for (var s$1 = e$2.pos; e$2.eatChars([38, 38]);) 38 !== e$2.current() && (t$2 = this.regexp_eatClassSetOperand(e$2)) ? 2 !== t$2 && (i$1 = 1) : e$2.raise("Invalid character in character class");
2721
+ if (s$1 !== e$2.pos) return i$1;
2722
+ for (; e$2.eatChars([45, 45]);) this.regexp_eatClassSetOperand(e$2) || e$2.raise("Invalid character in character class");
2723
+ if (s$1 !== e$2.pos) return i$1;
2724
+ } else e$2.raise("Invalid character in character class");
2725
+ for (;;) if (!this.regexp_eatClassSetRange(e$2)) {
2726
+ if (!(t$2 = this.regexp_eatClassSetOperand(e$2))) return i$1;
2727
+ 2 === t$2 && (i$1 = 2);
2728
+ }
2729
+ }, he.regexp_eatClassSetRange = function(e$2) {
2730
+ var t$2 = e$2.pos;
2731
+ if (this.regexp_eatClassSetCharacter(e$2)) {
2732
+ var i$1 = e$2.lastIntValue;
2733
+ if (e$2.eat(45) && this.regexp_eatClassSetCharacter(e$2)) {
2734
+ var s$1 = e$2.lastIntValue;
2735
+ return -1 !== i$1 && -1 !== s$1 && i$1 > s$1 && e$2.raise("Range out of order in character class"), !0;
2736
+ }
2737
+ e$2.pos = t$2;
2738
+ }
2739
+ return !1;
2740
+ }, he.regexp_eatClassSetOperand = function(e$2) {
2741
+ return this.regexp_eatClassSetCharacter(e$2) ? 1 : this.regexp_eatClassStringDisjunction(e$2) || this.regexp_eatNestedClass(e$2);
2742
+ }, he.regexp_eatNestedClass = function(e$2) {
2743
+ var t$2 = e$2.pos;
2744
+ if (e$2.eat(91)) {
2745
+ var i$1 = e$2.eat(94), s$1 = this.regexp_classContents(e$2);
2746
+ if (e$2.eat(93)) return i$1 && 2 === s$1 && e$2.raise("Negated character class may contain strings"), s$1;
2747
+ e$2.pos = t$2;
2748
+ }
2749
+ if (e$2.eat(92)) {
2750
+ var r$1 = this.regexp_eatCharacterClassEscape(e$2);
2751
+ if (r$1) return r$1;
2752
+ e$2.pos = t$2;
2753
+ }
2754
+ return null;
2755
+ }, he.regexp_eatClassStringDisjunction = function(e$2) {
2756
+ var t$2 = e$2.pos;
2757
+ if (e$2.eatChars([92, 113])) {
2758
+ if (e$2.eat(123)) {
2759
+ var i$1 = this.regexp_classStringDisjunctionContents(e$2);
2760
+ if (e$2.eat(125)) return i$1;
2761
+ } else e$2.raise("Invalid escape");
2762
+ e$2.pos = t$2;
2763
+ }
2764
+ return null;
2765
+ }, he.regexp_classStringDisjunctionContents = function(e$2) {
2766
+ for (var t$2 = this.regexp_classString(e$2); e$2.eat(124);) 2 === this.regexp_classString(e$2) && (t$2 = 2);
2767
+ return t$2;
2768
+ }, he.regexp_classString = function(e$2) {
2769
+ for (var t$2 = 0; this.regexp_eatClassSetCharacter(e$2);) t$2++;
2770
+ return 1 === t$2 ? 1 : 2;
2771
+ }, he.regexp_eatClassSetCharacter = function(e$2) {
2772
+ var t$2 = e$2.pos;
2773
+ if (e$2.eat(92)) return !(!this.regexp_eatCharacterEscape(e$2) && !this.regexp_eatClassSetReservedPunctuator(e$2)) || (e$2.eat(98) ? (e$2.lastIntValue = 8, !0) : (e$2.pos = t$2, !1));
2774
+ var i$1 = e$2.current();
2775
+ return !(i$1 < 0 || i$1 === e$2.lookahead() && function(e$3) {
2776
+ return 33 === e$3 || e$3 >= 35 && e$3 <= 38 || e$3 >= 42 && e$3 <= 44 || 46 === e$3 || e$3 >= 58 && e$3 <= 64 || 94 === e$3 || 96 === e$3 || 126 === e$3;
2777
+ }(i$1)) && !function(e$3) {
2778
+ return 40 === e$3 || 41 === e$3 || 45 === e$3 || 47 === e$3 || e$3 >= 91 && e$3 <= 93 || e$3 >= 123 && e$3 <= 125;
2779
+ }(i$1) && (e$2.advance(), e$2.lastIntValue = i$1, !0);
2780
+ }, he.regexp_eatClassSetReservedPunctuator = function(e$2) {
2781
+ var t$2 = e$2.current();
2782
+ return !!function(e$3) {
2783
+ return 33 === e$3 || 35 === e$3 || 37 === e$3 || 38 === e$3 || 44 === e$3 || 45 === e$3 || e$3 >= 58 && e$3 <= 62 || 64 === e$3 || 96 === e$3 || 126 === e$3;
2784
+ }(t$2) && (e$2.lastIntValue = t$2, e$2.advance(), !0);
2785
+ }, he.regexp_eatClassControlLetter = function(e$2) {
2786
+ var t$2 = e$2.current();
2787
+ return !(!isDecimalDigit(t$2) && 95 !== t$2) && (e$2.lastIntValue = t$2 % 32, e$2.advance(), !0);
2788
+ }, he.regexp_eatHexEscapeSequence = function(e$2) {
2789
+ var t$2 = e$2.pos;
2790
+ if (e$2.eat(120)) {
2791
+ if (this.regexp_eatFixedHexDigits(e$2, 2)) return !0;
2792
+ e$2.switchU && e$2.raise("Invalid escape"), e$2.pos = t$2;
2793
+ }
2794
+ return !1;
2795
+ }, he.regexp_eatDecimalDigits = function(e$2) {
2796
+ var t$2 = e$2.pos, i$1 = 0;
2797
+ for (e$2.lastIntValue = 0; isDecimalDigit(i$1 = e$2.current());) e$2.lastIntValue = 10 * e$2.lastIntValue + (i$1 - 48), e$2.advance();
2798
+ return e$2.pos !== t$2;
2799
+ }, he.regexp_eatHexDigits = function(e$2) {
2800
+ var t$2 = e$2.pos, i$1 = 0;
2801
+ for (e$2.lastIntValue = 0; isHexDigit(i$1 = e$2.current());) e$2.lastIntValue = 16 * e$2.lastIntValue + hexToInt(i$1), e$2.advance();
2802
+ return e$2.pos !== t$2;
2803
+ }, he.regexp_eatLegacyOctalEscapeSequence = function(e$2) {
2804
+ if (this.regexp_eatOctalDigit(e$2)) {
2805
+ var t$2 = e$2.lastIntValue;
2806
+ if (this.regexp_eatOctalDigit(e$2)) {
2807
+ var i$1 = e$2.lastIntValue;
2808
+ t$2 <= 3 && this.regexp_eatOctalDigit(e$2) ? e$2.lastIntValue = 64 * t$2 + 8 * i$1 + e$2.lastIntValue : e$2.lastIntValue = 8 * t$2 + i$1;
2809
+ } else e$2.lastIntValue = t$2;
2810
+ return !0;
2811
+ }
2812
+ return !1;
2813
+ }, he.regexp_eatOctalDigit = function(e$2) {
2814
+ var t$2 = e$2.current();
2815
+ return isOctalDigit(t$2) ? (e$2.lastIntValue = t$2 - 48, e$2.advance(), !0) : (e$2.lastIntValue = 0, !1);
2816
+ }, he.regexp_eatFixedHexDigits = function(e$2, t$2) {
2817
+ var i$1 = e$2.pos;
2818
+ e$2.lastIntValue = 0;
2819
+ for (var s$1 = 0; s$1 < t$2; ++s$1) {
2820
+ var r$1 = e$2.current();
2821
+ if (!isHexDigit(r$1)) return e$2.pos = i$1, !1;
2822
+ e$2.lastIntValue = 16 * e$2.lastIntValue + hexToInt(r$1), e$2.advance();
2823
+ }
2824
+ return !0;
2825
+ };
2826
+ var acorn_Token = function(e$2) {
2827
+ this.type = e$2.type, this.value = e$2.value, this.start = e$2.start, this.end = e$2.end, e$2.options.locations && (this.loc = new acorn_SourceLocation(e$2, e$2.startLoc, e$2.endLoc)), e$2.options.ranges && (this.range = [e$2.start, e$2.end]);
2828
+ }, ce = acorn_Parser.prototype;
2829
+ function stringToBigInt(e$2) {
2830
+ return "function" != typeof BigInt ? null : BigInt(e$2.replace(/_/g, ""));
2831
+ }
2832
+ ce.next = function(e$2) {
2833
+ !e$2 && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new acorn_Token(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2834
+ }, ce.getToken = function() {
2835
+ return this.next(), new acorn_Token(this);
2836
+ }, "undefined" != typeof Symbol && (ce[Symbol.iterator] = function() {
2837
+ var e$2 = this;
2838
+ return { next: function() {
2839
+ var t$2 = e$2.getToken();
2840
+ return {
2841
+ done: t$2.type === f.eof,
2842
+ value: t$2
2843
+ };
2844
+ } };
2845
+ }), ce.nextToken = function() {
2846
+ var e$2 = this.curContext();
2847
+ return e$2 && e$2.preserveSpace || this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length ? this.finishToken(f.eof) : e$2.override ? e$2.override(this) : void this.readToken(this.fullCharCodeAtPos());
2848
+ }, ce.readToken = function(e$2) {
2849
+ return isIdentifierStart(e$2, this.options.ecmaVersion >= 6) || 92 === e$2 ? this.readWord() : this.getTokenFromCode(e$2);
2850
+ }, ce.fullCharCodeAtPos = function() {
2851
+ var e$2 = this.input.charCodeAt(this.pos);
2852
+ if (e$2 <= 55295 || e$2 >= 56320) return e$2;
2853
+ var t$2 = this.input.charCodeAt(this.pos + 1);
2854
+ return t$2 <= 56319 || t$2 >= 57344 ? e$2 : (e$2 << 10) + t$2 - 56613888;
2855
+ }, ce.skipBlockComment = function() {
2856
+ var e$2 = this.options.onComment && this.curPosition(), t$2 = this.pos, i$1 = this.input.indexOf("*/", this.pos += 2);
2857
+ if (-1 === i$1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = i$1 + 2, this.options.locations) for (var s$1 = void 0, r$1 = t$2; (s$1 = nextLineBreak(this.input, r$1, this.pos)) > -1;) ++this.curLine, r$1 = this.lineStart = s$1;
2858
+ this.options.onComment && this.options.onComment(!0, this.input.slice(t$2 + 2, i$1), t$2, this.pos, e$2, this.curPosition());
2859
+ }, ce.skipLineComment = function(e$2) {
2860
+ for (var t$2 = this.pos, i$1 = this.options.onComment && this.curPosition(), s$1 = this.input.charCodeAt(this.pos += e$2); this.pos < this.input.length && !isNewLine(s$1);) s$1 = this.input.charCodeAt(++this.pos);
2861
+ this.options.onComment && this.options.onComment(!1, this.input.slice(t$2 + e$2, this.pos), t$2, this.pos, i$1, this.curPosition());
2862
+ }, ce.skipSpace = function() {
2863
+ e: for (; this.pos < this.input.length;) {
2864
+ var e$2 = this.input.charCodeAt(this.pos);
2865
+ switch (e$2) {
2866
+ case 32:
2867
+ case 160:
2868
+ ++this.pos;
2869
+ break;
2870
+ case 13: 10 === this.input.charCodeAt(this.pos + 1) && ++this.pos;
2871
+ case 10:
2872
+ case 8232:
2873
+ case 8233:
2874
+ ++this.pos, this.options.locations && (++this.curLine, this.lineStart = this.pos);
2875
+ break;
2876
+ case 47:
2877
+ switch (this.input.charCodeAt(this.pos + 1)) {
2878
+ case 42:
2879
+ this.skipBlockComment();
2880
+ break;
2881
+ case 47:
2882
+ this.skipLineComment(2);
2883
+ break;
2884
+ default: break e;
2885
+ }
2886
+ break;
2887
+ default:
2888
+ if (!(e$2 > 8 && e$2 < 14 || e$2 >= 5760 && x.test(String.fromCharCode(e$2)))) break e;
2889
+ ++this.pos;
2890
+ }
2891
+ }
2892
+ }, ce.finishToken = function(e$2, t$2) {
2893
+ this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
2894
+ var i$1 = this.type;
2895
+ this.type = e$2, this.value = t$2, this.updateContext(i$1);
2896
+ }, ce.readToken_dot = function() {
2897
+ var e$2 = this.input.charCodeAt(this.pos + 1);
2898
+ if (e$2 >= 48 && e$2 <= 57) return this.readNumber(!0);
2899
+ var t$2 = this.input.charCodeAt(this.pos + 2);
2900
+ return this.options.ecmaVersion >= 6 && 46 === e$2 && 46 === t$2 ? (this.pos += 3, this.finishToken(f.ellipsis)) : (++this.pos, this.finishToken(f.dot));
2901
+ }, ce.readToken_slash = function() {
2902
+ var e$2 = this.input.charCodeAt(this.pos + 1);
2903
+ return this.exprAllowed ? (++this.pos, this.readRegexp()) : 61 === e$2 ? this.finishOp(f.assign, 2) : this.finishOp(f.slash, 1);
2904
+ }, ce.readToken_mult_modulo_exp = function(e$2) {
2905
+ var t$2 = this.input.charCodeAt(this.pos + 1), i$1 = 1, s$1 = 42 === e$2 ? f.star : f.modulo;
2906
+ return this.options.ecmaVersion >= 7 && 42 === e$2 && 42 === t$2 && (++i$1, s$1 = f.starstar, t$2 = this.input.charCodeAt(this.pos + 2)), 61 === t$2 ? this.finishOp(f.assign, i$1 + 1) : this.finishOp(s$1, i$1);
2907
+ }, ce.readToken_pipe_amp = function(e$2) {
2908
+ var t$2 = this.input.charCodeAt(this.pos + 1);
2909
+ if (t$2 === e$2) {
2910
+ if (this.options.ecmaVersion >= 12) {
2911
+ if (61 === this.input.charCodeAt(this.pos + 2)) return this.finishOp(f.assign, 3);
2912
+ }
2913
+ return this.finishOp(124 === e$2 ? f.logicalOR : f.logicalAND, 2);
2914
+ }
2915
+ return 61 === t$2 ? this.finishOp(f.assign, 2) : this.finishOp(124 === e$2 ? f.bitwiseOR : f.bitwiseAND, 1);
2916
+ }, ce.readToken_caret = function() {
2917
+ return 61 === this.input.charCodeAt(this.pos + 1) ? this.finishOp(f.assign, 2) : this.finishOp(f.bitwiseXOR, 1);
2918
+ }, ce.readToken_plus_min = function(e$2) {
2919
+ var t$2 = this.input.charCodeAt(this.pos + 1);
2920
+ return t$2 === e$2 ? 45 !== t$2 || this.inModule || 62 !== this.input.charCodeAt(this.pos + 2) || 0 !== this.lastTokEnd && !m.test(this.input.slice(this.lastTokEnd, this.pos)) ? this.finishOp(f.incDec, 2) : (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : 61 === t$2 ? this.finishOp(f.assign, 2) : this.finishOp(f.plusMin, 1);
2921
+ }, ce.readToken_lt_gt = function(e$2) {
2922
+ var t$2 = this.input.charCodeAt(this.pos + 1), i$1 = 1;
2923
+ return t$2 === e$2 ? (i$1 = 62 === e$2 && 62 === this.input.charCodeAt(this.pos + 2) ? 3 : 2, 61 === this.input.charCodeAt(this.pos + i$1) ? this.finishOp(f.assign, i$1 + 1) : this.finishOp(f.bitShift, i$1)) : 33 !== t$2 || 60 !== e$2 || this.inModule || 45 !== this.input.charCodeAt(this.pos + 2) || 45 !== this.input.charCodeAt(this.pos + 3) ? (61 === t$2 && (i$1 = 2), this.finishOp(f.relational, i$1)) : (this.skipLineComment(4), this.skipSpace(), this.nextToken());
2924
+ }, ce.readToken_eq_excl = function(e$2) {
2925
+ var t$2 = this.input.charCodeAt(this.pos + 1);
2926
+ return 61 === t$2 ? this.finishOp(f.equality, 61 === this.input.charCodeAt(this.pos + 2) ? 3 : 2) : 61 === e$2 && 62 === t$2 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(f.arrow)) : this.finishOp(61 === e$2 ? f.eq : f.prefix, 1);
2927
+ }, ce.readToken_question = function() {
2928
+ var e$2 = this.options.ecmaVersion;
2929
+ if (e$2 >= 11) {
2930
+ var t$2 = this.input.charCodeAt(this.pos + 1);
2931
+ if (46 === t$2) {
2932
+ var i$1 = this.input.charCodeAt(this.pos + 2);
2933
+ if (i$1 < 48 || i$1 > 57) return this.finishOp(f.questionDot, 2);
2934
+ }
2935
+ if (63 === t$2) {
2936
+ if (e$2 >= 12) {
2937
+ if (61 === this.input.charCodeAt(this.pos + 2)) return this.finishOp(f.assign, 3);
2938
+ }
2939
+ return this.finishOp(f.coalesce, 2);
2940
+ }
2941
+ }
2942
+ return this.finishOp(f.question, 1);
2943
+ }, ce.readToken_numberSign = function() {
2944
+ var e$2 = 35;
2945
+ if (this.options.ecmaVersion >= 13 && (++this.pos, isIdentifierStart(e$2 = this.fullCharCodeAtPos(), !0) || 92 === e$2)) return this.finishToken(f.privateId, this.readWord1());
2946
+ this.raise(this.pos, "Unexpected character '" + codePointToString(e$2) + "'");
2947
+ }, ce.getTokenFromCode = function(e$2) {
2948
+ switch (e$2) {
2949
+ case 46: return this.readToken_dot();
2950
+ case 40: return ++this.pos, this.finishToken(f.parenL);
2951
+ case 41: return ++this.pos, this.finishToken(f.parenR);
2952
+ case 59: return ++this.pos, this.finishToken(f.semi);
2953
+ case 44: return ++this.pos, this.finishToken(f.comma);
2954
+ case 91: return ++this.pos, this.finishToken(f.bracketL);
2955
+ case 93: return ++this.pos, this.finishToken(f.bracketR);
2956
+ case 123: return ++this.pos, this.finishToken(f.braceL);
2957
+ case 125: return ++this.pos, this.finishToken(f.braceR);
2958
+ case 58: return ++this.pos, this.finishToken(f.colon);
2959
+ case 96:
2960
+ if (this.options.ecmaVersion < 6) break;
2961
+ return ++this.pos, this.finishToken(f.backQuote);
2962
+ case 48:
2963
+ var t$2 = this.input.charCodeAt(this.pos + 1);
2964
+ if (120 === t$2 || 88 === t$2) return this.readRadixNumber(16);
2965
+ if (this.options.ecmaVersion >= 6) {
2966
+ if (111 === t$2 || 79 === t$2) return this.readRadixNumber(8);
2967
+ if (98 === t$2 || 66 === t$2) return this.readRadixNumber(2);
2968
+ }
2969
+ case 49:
2970
+ case 50:
2971
+ case 51:
2972
+ case 52:
2973
+ case 53:
2974
+ case 54:
2975
+ case 55:
2976
+ case 56:
2977
+ case 57: return this.readNumber(!1);
2978
+ case 34:
2979
+ case 39: return this.readString(e$2);
2980
+ case 47: return this.readToken_slash();
2981
+ case 37:
2982
+ case 42: return this.readToken_mult_modulo_exp(e$2);
2983
+ case 124:
2984
+ case 38: return this.readToken_pipe_amp(e$2);
2985
+ case 94: return this.readToken_caret();
2986
+ case 43:
2987
+ case 45: return this.readToken_plus_min(e$2);
2988
+ case 60:
2989
+ case 62: return this.readToken_lt_gt(e$2);
2990
+ case 61:
2991
+ case 33: return this.readToken_eq_excl(e$2);
2992
+ case 63: return this.readToken_question();
2993
+ case 126: return this.finishOp(f.prefix, 1);
2994
+ case 35: return this.readToken_numberSign();
2995
+ }
2996
+ this.raise(this.pos, "Unexpected character '" + codePointToString(e$2) + "'");
2997
+ }, ce.finishOp = function(e$2, t$2) {
2998
+ var i$1 = this.input.slice(this.pos, this.pos + t$2);
2999
+ return this.pos += t$2, this.finishToken(e$2, i$1);
3000
+ }, ce.readRegexp = function() {
3001
+ for (var e$2, t$2, i$1 = this.pos;;) {
3002
+ this.pos >= this.input.length && this.raise(i$1, "Unterminated regular expression");
3003
+ var s$1 = this.input.charAt(this.pos);
3004
+ if (m.test(s$1) && this.raise(i$1, "Unterminated regular expression"), e$2) e$2 = !1;
3005
+ else {
3006
+ if ("[" === s$1) t$2 = !0;
3007
+ else if ("]" === s$1 && t$2) t$2 = !1;
3008
+ else if ("/" === s$1 && !t$2) break;
3009
+ e$2 = "\\" === s$1;
3010
+ }
3011
+ ++this.pos;
3012
+ }
3013
+ var r$1 = this.input.slice(i$1, this.pos);
3014
+ ++this.pos;
3015
+ var n$1 = this.pos, a$1 = this.readWord1();
3016
+ this.containsEsc && this.unexpected(n$1);
3017
+ var o$1 = this.regexpState || (this.regexpState = new acorn_RegExpValidationState(this));
3018
+ o$1.reset(i$1, r$1, a$1), this.validateRegExpFlags(o$1), this.validateRegExpPattern(o$1);
3019
+ var h$1 = null;
3020
+ try {
3021
+ h$1 = new RegExp(r$1, a$1);
3022
+ } catch (e$3) {}
3023
+ return this.finishToken(f.regexp, {
3024
+ pattern: r$1,
3025
+ flags: a$1,
3026
+ value: h$1
3027
+ });
3028
+ }, ce.readInt = function(e$2, t$2, i$1) {
3029
+ for (var s$1 = this.options.ecmaVersion >= 12 && void 0 === t$2, r$1 = i$1 && 48 === this.input.charCodeAt(this.pos), n$1 = this.pos, a$1 = 0, o$1 = 0, h$1 = 0, c$1 = null == t$2 ? Infinity : t$2; h$1 < c$1; ++h$1, ++this.pos) {
3030
+ var p$1 = this.input.charCodeAt(this.pos), l$1 = void 0;
3031
+ if (s$1 && 95 === p$1) r$1 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), 95 === o$1 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), 0 === h$1 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), o$1 = p$1;
3032
+ else {
3033
+ if ((l$1 = p$1 >= 97 ? p$1 - 97 + 10 : p$1 >= 65 ? p$1 - 65 + 10 : p$1 >= 48 && p$1 <= 57 ? p$1 - 48 : Infinity) >= e$2) break;
3034
+ o$1 = p$1, a$1 = a$1 * e$2 + l$1;
3035
+ }
3036
+ }
3037
+ return s$1 && 95 === o$1 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === n$1 || null != t$2 && this.pos - n$1 !== t$2 ? null : a$1;
3038
+ }, ce.readRadixNumber = function(e$2) {
3039
+ var t$2 = this.pos;
3040
+ this.pos += 2;
3041
+ var i$1 = this.readInt(e$2);
3042
+ return i$1 ?? this.raise(this.start + 2, "Expected number in radix " + e$2), this.options.ecmaVersion >= 11 && 110 === this.input.charCodeAt(this.pos) ? (i$1 = stringToBigInt(this.input.slice(t$2, this.pos)), ++this.pos) : isIdentifierStart(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(f.num, i$1);
3043
+ }, ce.readNumber = function(e$2) {
3044
+ var t$2 = this.pos;
3045
+ e$2 || null !== this.readInt(10, void 0, !0) || this.raise(t$2, "Invalid number");
3046
+ var i$1 = this.pos - t$2 >= 2 && 48 === this.input.charCodeAt(t$2);
3047
+ i$1 && this.strict && this.raise(t$2, "Invalid number");
3048
+ var s$1 = this.input.charCodeAt(this.pos);
3049
+ if (!i$1 && !e$2 && this.options.ecmaVersion >= 11 && 110 === s$1) {
3050
+ var r$1 = stringToBigInt(this.input.slice(t$2, this.pos));
3051
+ return ++this.pos, isIdentifierStart(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(f.num, r$1);
3052
+ }
3053
+ i$1 && /[89]/.test(this.input.slice(t$2, this.pos)) && (i$1 = !1), 46 !== s$1 || i$1 || (++this.pos, this.readInt(10), s$1 = this.input.charCodeAt(this.pos)), 69 !== s$1 && 101 !== s$1 || i$1 || (43 !== (s$1 = this.input.charCodeAt(++this.pos)) && 45 !== s$1 || ++this.pos, null === this.readInt(10) && this.raise(t$2, "Invalid number")), isIdentifierStart(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
3054
+ var n$1, a$1 = (n$1 = this.input.slice(t$2, this.pos), i$1 ? parseInt(n$1, 8) : parseFloat(n$1.replace(/_/g, "")));
3055
+ return this.finishToken(f.num, a$1);
3056
+ }, ce.readCodePoint = function() {
3057
+ var e$2;
3058
+ if (123 === this.input.charCodeAt(this.pos)) {
3059
+ this.options.ecmaVersion < 6 && this.unexpected();
3060
+ var t$2 = ++this.pos;
3061
+ e$2 = this.readHexChar(this.input.indexOf("}", this.pos) - this.pos), ++this.pos, e$2 > 1114111 && this.invalidStringToken(t$2, "Code point out of bounds");
3062
+ } else e$2 = this.readHexChar(4);
3063
+ return e$2;
3064
+ }, ce.readString = function(e$2) {
3065
+ for (var t$2 = "", i$1 = ++this.pos;;) {
3066
+ this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
3067
+ var s$1 = this.input.charCodeAt(this.pos);
3068
+ if (s$1 === e$2) break;
3069
+ 92 === s$1 ? (t$2 += this.input.slice(i$1, this.pos), t$2 += this.readEscapedChar(!1), i$1 = this.pos) : 8232 === s$1 || 8233 === s$1 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (isNewLine(s$1) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
3070
+ }
3071
+ return t$2 += this.input.slice(i$1, this.pos++), this.finishToken(f.string, t$2);
3072
+ };
3073
+ var pe = {};
3074
+ ce.tryReadTemplateToken = function() {
3075
+ this.inTemplateElement = !0;
3076
+ try {
3077
+ this.readTmplToken();
3078
+ } catch (e$2) {
3079
+ if (e$2 !== pe) throw e$2;
3080
+ this.readInvalidTemplateToken();
3081
+ }
3082
+ this.inTemplateElement = !1;
3083
+ }, ce.invalidStringToken = function(e$2, t$2) {
3084
+ if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw pe;
3085
+ this.raise(e$2, t$2);
3086
+ }, ce.readTmplToken = function() {
3087
+ for (var e$2 = "", t$2 = this.pos;;) {
3088
+ this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
3089
+ var i$1 = this.input.charCodeAt(this.pos);
3090
+ if (96 === i$1 || 36 === i$1 && 123 === this.input.charCodeAt(this.pos + 1)) return this.pos !== this.start || this.type !== f.template && this.type !== f.invalidTemplate ? (e$2 += this.input.slice(t$2, this.pos), this.finishToken(f.template, e$2)) : 36 === i$1 ? (this.pos += 2, this.finishToken(f.dollarBraceL)) : (++this.pos, this.finishToken(f.backQuote));
3091
+ if (92 === i$1) e$2 += this.input.slice(t$2, this.pos), e$2 += this.readEscapedChar(!0), t$2 = this.pos;
3092
+ else if (isNewLine(i$1)) {
3093
+ switch (e$2 += this.input.slice(t$2, this.pos), ++this.pos, i$1) {
3094
+ case 13: 10 === this.input.charCodeAt(this.pos) && ++this.pos;
3095
+ case 10:
3096
+ e$2 += "\n";
3097
+ break;
3098
+ default: e$2 += String.fromCharCode(i$1);
3099
+ }
3100
+ this.options.locations && (++this.curLine, this.lineStart = this.pos), t$2 = this.pos;
3101
+ } else ++this.pos;
3102
+ }
3103
+ }, ce.readInvalidTemplateToken = function() {
3104
+ for (; this.pos < this.input.length; this.pos++) switch (this.input[this.pos]) {
3105
+ case "\\":
3106
+ ++this.pos;
3107
+ break;
3108
+ case "$": if ("{" !== this.input[this.pos + 1]) break;
3109
+ case "`": return this.finishToken(f.invalidTemplate, this.input.slice(this.start, this.pos));
3110
+ case "\r": "\n" === this.input[this.pos + 1] && ++this.pos;
3111
+ case "\n":
3112
+ case "\u2028":
3113
+ case "\u2029": ++this.curLine, this.lineStart = this.pos + 1;
3114
+ }
3115
+ this.raise(this.start, "Unterminated template");
3116
+ }, ce.readEscapedChar = function(e$2) {
3117
+ var t$2 = this.input.charCodeAt(++this.pos);
3118
+ switch (++this.pos, t$2) {
3119
+ case 110: return "\n";
3120
+ case 114: return "\r";
3121
+ case 120: return String.fromCharCode(this.readHexChar(2));
3122
+ case 117: return codePointToString(this.readCodePoint());
3123
+ case 116: return " ";
3124
+ case 98: return "\b";
3125
+ case 118: return "\v";
3126
+ case 102: return "\f";
3127
+ case 13: 10 === this.input.charCodeAt(this.pos) && ++this.pos;
3128
+ case 10: return this.options.locations && (this.lineStart = this.pos, ++this.curLine), "";
3129
+ case 56:
3130
+ case 57: if (this.strict && this.invalidStringToken(this.pos - 1, "Invalid escape sequence"), e$2) {
3131
+ var i$1 = this.pos - 1;
3132
+ this.invalidStringToken(i$1, "Invalid escape sequence in template string");
3133
+ }
3134
+ default:
3135
+ if (t$2 >= 48 && t$2 <= 55) {
3136
+ var s$1 = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], r$1 = parseInt(s$1, 8);
3137
+ return r$1 > 255 && (s$1 = s$1.slice(0, -1), r$1 = parseInt(s$1, 8)), this.pos += s$1.length - 1, t$2 = this.input.charCodeAt(this.pos), "0" === s$1 && 56 !== t$2 && 57 !== t$2 || !this.strict && !e$2 || this.invalidStringToken(this.pos - 1 - s$1.length, e$2 ? "Octal literal in template string" : "Octal literal in strict mode"), String.fromCharCode(r$1);
3138
+ }
3139
+ return isNewLine(t$2) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t$2);
3140
+ }
3141
+ }, ce.readHexChar = function(e$2) {
3142
+ var t$2 = this.pos, i$1 = this.readInt(16, e$2);
3143
+ return null === i$1 && this.invalidStringToken(t$2, "Bad character escape sequence"), i$1;
3144
+ }, ce.readWord1 = function() {
3145
+ this.containsEsc = !1;
3146
+ for (var e$2 = "", t$2 = !0, i$1 = this.pos, s$1 = this.options.ecmaVersion >= 6; this.pos < this.input.length;) {
3147
+ var r$1 = this.fullCharCodeAtPos();
3148
+ if (isIdentifierChar(r$1, s$1)) this.pos += r$1 <= 65535 ? 1 : 2;
3149
+ else {
3150
+ if (92 !== r$1) break;
3151
+ this.containsEsc = !0, e$2 += this.input.slice(i$1, this.pos);
3152
+ var n$1 = this.pos;
3153
+ 117 !== this.input.charCodeAt(++this.pos) && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
3154
+ var a$1 = this.readCodePoint();
3155
+ (t$2 ? isIdentifierStart : isIdentifierChar)(a$1, s$1) || this.invalidStringToken(n$1, "Invalid Unicode escape"), e$2 += codePointToString(a$1), i$1 = this.pos;
3156
+ }
3157
+ t$2 = !1;
3158
+ }
3159
+ return e$2 + this.input.slice(i$1, this.pos);
3160
+ }, ce.readWord = function() {
3161
+ var e$2 = this.readWord1(), t$2 = f.name;
3162
+ return this.keywords.test(e$2) && (t$2 = d[e$2]), this.finishToken(t$2, e$2);
3163
+ };
3164
+ acorn_Parser.acorn = {
3165
+ Parser: acorn_Parser,
3166
+ version: "8.15.0",
3167
+ defaultOptions: I,
3168
+ Position: acorn_Position,
3169
+ SourceLocation: acorn_SourceLocation,
3170
+ getLineInfo,
3171
+ Node: acorn_Node,
3172
+ TokenType: acorn_TokenType,
3173
+ tokTypes: f,
3174
+ keywordTypes: d,
3175
+ TokContext: acorn_TokContext,
3176
+ tokContexts: F,
3177
+ isIdentifierChar,
3178
+ isIdentifierStart,
3179
+ Token: acorn_Token,
3180
+ isNewLine,
3181
+ lineBreak: m,
3182
+ lineBreakG: g,
3183
+ nonASCIIwhitespace: x
3184
+ };
3185
+ const le = __require("node:module"), ue = __require("node:fs");
3186
+ String.fromCharCode;
3187
+ const de = /\/$|\/\?|\/#/, fe = /^\.?\//;
3188
+ function hasTrailingSlash(e$2 = "", t$2) {
3189
+ return t$2 ? de.test(e$2) : e$2.endsWith("/");
3190
+ }
3191
+ function withTrailingSlash(e$2 = "", t$2) {
3192
+ if (!t$2) return e$2.endsWith("/") ? e$2 : e$2 + "/";
3193
+ if (hasTrailingSlash(e$2, !0)) return e$2 || "/";
3194
+ let i$1 = e$2, s$1 = "";
3195
+ const r$1 = e$2.indexOf("#");
3196
+ if (-1 !== r$1 && (i$1 = e$2.slice(0, r$1), s$1 = e$2.slice(r$1), !i$1)) return s$1;
3197
+ const [n$1, ...a$1] = i$1.split("?");
3198
+ return n$1 + "/" + (a$1.length > 0 ? `?${a$1.join("?")}` : "") + s$1;
3199
+ }
3200
+ function isNonEmptyURL(e$2) {
3201
+ return e$2 && "/" !== e$2;
3202
+ }
3203
+ function dist_joinURL(e$2, ...t$2) {
3204
+ let i$1 = e$2 || "";
3205
+ for (const e$3 of t$2.filter((e$4) => isNonEmptyURL(e$4))) if (i$1) {
3206
+ const t$3 = e$3.replace(fe, "");
3207
+ i$1 = withTrailingSlash(i$1) + t$3;
3208
+ } else i$1 = e$3;
3209
+ return i$1;
3210
+ }
3211
+ const me = /^[A-Za-z]:\//;
3212
+ function pathe_M_eThtNZ_normalizeWindowsPath(e$2 = "") {
3213
+ return e$2 ? e$2.replace(/\\/g, "/").replace(me, (e$3) => e$3.toUpperCase()) : e$2;
3214
+ }
3215
+ const ge = /^[/\\]{2}/, xe = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, ve = /^[A-Za-z]:$/, ye = /.(\.[^./]+|\.)$/, pathe_M_eThtNZ_normalize = function(e$2) {
3216
+ if (0 === e$2.length) return ".";
3217
+ const t$2 = (e$2 = pathe_M_eThtNZ_normalizeWindowsPath(e$2)).match(ge), i$1 = isAbsolute(e$2), s$1 = "/" === e$2[e$2.length - 1];
3218
+ return 0 === (e$2 = normalizeString(e$2, !i$1)).length ? i$1 ? "/" : s$1 ? "./" : "." : (s$1 && (e$2 += "/"), ve.test(e$2) && (e$2 += "/"), t$2 ? i$1 ? `//${e$2}` : `//./${e$2}` : i$1 && !isAbsolute(e$2) ? `/${e$2}` : e$2);
3219
+ }, pathe_M_eThtNZ_join = function(...e$2) {
3220
+ let t$2 = "";
3221
+ for (const i$1 of e$2) if (i$1) if (t$2.length > 0) {
3222
+ const e$3 = "/" === t$2[t$2.length - 1], s$1 = "/" === i$1[0];
3223
+ t$2 += e$3 && s$1 ? i$1.slice(1) : e$3 || s$1 ? i$1 : `/${i$1}`;
3224
+ } else t$2 += i$1;
3225
+ return pathe_M_eThtNZ_normalize(t$2);
3226
+ };
3227
+ function pathe_M_eThtNZ_cwd() {
3228
+ return "undefined" != typeof process && "function" == typeof process.cwd ? process.cwd().replace(/\\/g, "/") : "/";
3229
+ }
3230
+ const pathe_M_eThtNZ_resolve = function(...e$2) {
3231
+ let t$2 = "", i$1 = !1;
3232
+ for (let s$1 = (e$2 = e$2.map((e$3) => pathe_M_eThtNZ_normalizeWindowsPath(e$3))).length - 1; s$1 >= -1 && !i$1; s$1--) {
3233
+ const r$1 = s$1 >= 0 ? e$2[s$1] : pathe_M_eThtNZ_cwd();
3234
+ r$1 && 0 !== r$1.length && (t$2 = `${r$1}/${t$2}`, i$1 = isAbsolute(r$1));
3235
+ }
3236
+ return t$2 = normalizeString(t$2, !i$1), i$1 && !isAbsolute(t$2) ? `/${t$2}` : t$2.length > 0 ? t$2 : ".";
3237
+ };
3238
+ function normalizeString(e$2, t$2) {
3239
+ let i$1 = "", s$1 = 0, r$1 = -1, n$1 = 0, a$1 = null;
3240
+ for (let o$1 = 0; o$1 <= e$2.length; ++o$1) {
3241
+ if (o$1 < e$2.length) a$1 = e$2[o$1];
3242
+ else {
3243
+ if ("/" === a$1) break;
3244
+ a$1 = "/";
3245
+ }
3246
+ if ("/" === a$1) {
3247
+ if (r$1 === o$1 - 1 || 1 === n$1);
3248
+ else if (2 === n$1) {
3249
+ if (i$1.length < 2 || 2 !== s$1 || "." !== i$1[i$1.length - 1] || "." !== i$1[i$1.length - 2]) {
3250
+ if (i$1.length > 2) {
3251
+ const e$3 = i$1.lastIndexOf("/");
3252
+ -1 === e$3 ? (i$1 = "", s$1 = 0) : (i$1 = i$1.slice(0, e$3), s$1 = i$1.length - 1 - i$1.lastIndexOf("/")), r$1 = o$1, n$1 = 0;
3253
+ continue;
3254
+ }
3255
+ if (i$1.length > 0) {
3256
+ i$1 = "", s$1 = 0, r$1 = o$1, n$1 = 0;
3257
+ continue;
3258
+ }
3259
+ }
3260
+ t$2 && (i$1 += i$1.length > 0 ? "/.." : "..", s$1 = 2);
3261
+ } else i$1.length > 0 ? i$1 += `/${e$2.slice(r$1 + 1, o$1)}` : i$1 = e$2.slice(r$1 + 1, o$1), s$1 = o$1 - r$1 - 1;
3262
+ r$1 = o$1, n$1 = 0;
3263
+ } else "." === a$1 && -1 !== n$1 ? ++n$1 : n$1 = -1;
3264
+ }
3265
+ return i$1;
3266
+ }
3267
+ const isAbsolute = function(e$2) {
3268
+ return xe.test(e$2);
3269
+ }, extname = function(e$2) {
3270
+ if (".." === e$2) return "";
3271
+ const t$2 = ye.exec(pathe_M_eThtNZ_normalizeWindowsPath(e$2));
3272
+ return t$2 && t$2[1] || "";
3273
+ }, pathe_M_eThtNZ_dirname = function(e$2) {
3274
+ const t$2 = pathe_M_eThtNZ_normalizeWindowsPath(e$2).replace(/\/$/, "").split("/").slice(0, -1);
3275
+ return 1 === t$2.length && ve.test(t$2[0]) && (t$2[0] += "/"), t$2.join("/") || (isAbsolute(e$2) ? "/" : ".");
3276
+ }, basename = function(e$2, t$2) {
3277
+ const i$1 = pathe_M_eThtNZ_normalizeWindowsPath(e$2).split("/");
3278
+ let s$1 = "";
3279
+ for (let e$3 = i$1.length - 1; e$3 >= 0; e$3--) {
3280
+ const t$3 = i$1[e$3];
3281
+ if (t$3) {
3282
+ s$1 = t$3;
3283
+ break;
3284
+ }
3285
+ }
3286
+ return t$2 && s$1.endsWith(t$2) ? s$1.slice(0, -t$2.length) : s$1;
3287
+ }, _e = __require("node:url"), Ee = __require("node:assert"), be = __require("node:process"), Se = __require("node:path"), ke = __require("node:v8"), we = __require("node:util"), Ie = new Set(le.builtinModules);
3288
+ function normalizeSlash(e$2) {
3289
+ return e$2.replace(/\\/g, "/");
3290
+ }
3291
+ const Ce = {}.hasOwnProperty, Re = /^([A-Z][a-z\d]*)+$/, Pe = new Set([
3292
+ "string",
3293
+ "function",
3294
+ "number",
3295
+ "object",
3296
+ "Function",
3297
+ "Object",
3298
+ "boolean",
3299
+ "bigint",
3300
+ "symbol"
3301
+ ]), Te = {};
3302
+ function formatList(e$2, t$2 = "and") {
3303
+ return e$2.length < 3 ? e$2.join(` ${t$2} `) : `${e$2.slice(0, -1).join(", ")}, ${t$2} ${e$2[e$2.length - 1]}`;
3304
+ }
3305
+ const Ae = /* @__PURE__ */ new Map();
3306
+ let Ne;
3307
+ function createError(e$2, t$2, i$1) {
3308
+ return Ae.set(e$2, t$2), function(e$3, t$3) {
3309
+ return NodeError;
3310
+ function NodeError(...i$2) {
3311
+ const s$1 = Error.stackTraceLimit;
3312
+ isErrorStackTraceLimitWritable() && (Error.stackTraceLimit = 0);
3313
+ const r$1 = new e$3();
3314
+ isErrorStackTraceLimitWritable() && (Error.stackTraceLimit = s$1);
3315
+ const n$1 = function(e$4, t$4, i$3) {
3316
+ const s$2 = Ae.get(e$4);
3317
+ if (Ee(void 0 !== s$2, "expected `message` to be found"), "function" == typeof s$2) return Ee(s$2.length <= t$4.length, `Code: ${e$4}; The provided arguments length (${t$4.length}) does not match the required ones (${s$2.length}).`), Reflect.apply(s$2, i$3, t$4);
3318
+ const r$2 = /%[dfijoOs]/g;
3319
+ let n$2 = 0;
3320
+ for (; null !== r$2.exec(s$2);) n$2++;
3321
+ return Ee(n$2 === t$4.length, `Code: ${e$4}; The provided arguments length (${t$4.length}) does not match the required ones (${n$2}).`), 0 === t$4.length ? s$2 : (t$4.unshift(s$2), Reflect.apply(we.format, null, t$4));
3322
+ }(t$3, i$2, r$1);
3323
+ return Object.defineProperties(r$1, {
3324
+ message: {
3325
+ value: n$1,
3326
+ enumerable: !1,
3327
+ writable: !0,
3328
+ configurable: !0
3329
+ },
3330
+ toString: {
3331
+ value() {
3332
+ return `${this.name} [${t$3}]: ${this.message}`;
3333
+ },
3334
+ enumerable: !1,
3335
+ writable: !0,
3336
+ configurable: !0
3337
+ }
3338
+ }), Le(r$1), r$1.code = t$3, r$1;
3339
+ }
3340
+ }(i$1, e$2);
3341
+ }
3342
+ function isErrorStackTraceLimitWritable() {
3343
+ try {
3344
+ if (ke.startupSnapshot.isBuildingSnapshot()) return !1;
3345
+ } catch {}
3346
+ const e$2 = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit");
3347
+ return void 0 === e$2 ? Object.isExtensible(Error) : Ce.call(e$2, "writable") && void 0 !== e$2.writable ? e$2.writable : void 0 !== e$2.set;
3348
+ }
3349
+ Te.ERR_INVALID_ARG_TYPE = createError("ERR_INVALID_ARG_TYPE", (e$2, t$2, i$1) => {
3350
+ Ee("string" == typeof e$2, "'name' must be a string"), Array.isArray(t$2) || (t$2 = [t$2]);
3351
+ let s$1 = "The ";
3352
+ if (e$2.endsWith(" argument")) s$1 += `${e$2} `;
3353
+ else {
3354
+ const t$3 = e$2.includes(".") ? "property" : "argument";
3355
+ s$1 += `"${e$2}" ${t$3} `;
3356
+ }
3357
+ s$1 += "must be ";
3358
+ const r$1 = [], n$1 = [], a$1 = [];
3359
+ for (const e$3 of t$2) Ee("string" == typeof e$3, "All expected entries have to be of type string"), Pe.has(e$3) ? r$1.push(e$3.toLowerCase()) : null === Re.exec(e$3) ? (Ee("object" !== e$3, "The value \"object\" should be written as \"Object\""), a$1.push(e$3)) : n$1.push(e$3);
3360
+ if (n$1.length > 0) {
3361
+ const e$3 = r$1.indexOf("object");
3362
+ -1 !== e$3 && (r$1.slice(e$3, 1), n$1.push("Object"));
3363
+ }
3364
+ return r$1.length > 0 && (s$1 += `${r$1.length > 1 ? "one of type" : "of type"} ${formatList(r$1, "or")}`, (n$1.length > 0 || a$1.length > 0) && (s$1 += " or ")), n$1.length > 0 && (s$1 += `an instance of ${formatList(n$1, "or")}`, a$1.length > 0 && (s$1 += " or ")), a$1.length > 0 && (a$1.length > 1 ? s$1 += `one of ${formatList(a$1, "or")}` : (a$1[0].toLowerCase() !== a$1[0] && (s$1 += "an "), s$1 += `${a$1[0]}`)), s$1 += `. Received ${function(e$3) {
3365
+ if (null == e$3) return String(e$3);
3366
+ if ("function" == typeof e$3 && e$3.name) return `function ${e$3.name}`;
3367
+ if ("object" == typeof e$3) return e$3.constructor && e$3.constructor.name ? `an instance of ${e$3.constructor.name}` : `${(0, we.inspect)(e$3, { depth: -1 })}`;
3368
+ let t$3 = (0, we.inspect)(e$3, { colors: !1 });
3369
+ t$3.length > 28 && (t$3 = `${t$3.slice(0, 25)}...`);
3370
+ return `type ${typeof e$3} (${t$3})`;
3371
+ }(i$1)}`, s$1;
3372
+ }, TypeError), Te.ERR_INVALID_MODULE_SPECIFIER = createError("ERR_INVALID_MODULE_SPECIFIER", (e$2, t$2, i$1 = void 0) => `Invalid module "${e$2}" ${t$2}${i$1 ? ` imported from ${i$1}` : ""}`, TypeError), Te.ERR_INVALID_PACKAGE_CONFIG = createError("ERR_INVALID_PACKAGE_CONFIG", (e$2, t$2, i$1) => `Invalid package config ${e$2}${t$2 ? ` while importing ${t$2}` : ""}${i$1 ? `. ${i$1}` : ""}`, Error), Te.ERR_INVALID_PACKAGE_TARGET = createError("ERR_INVALID_PACKAGE_TARGET", (e$2, t$2, i$1, s$1 = !1, r$1 = void 0) => {
3373
+ const n$1 = "string" == typeof i$1 && !s$1 && i$1.length > 0 && !i$1.startsWith("./");
3374
+ return "." === t$2 ? (Ee(!1 === s$1), `Invalid "exports" main target ${JSON.stringify(i$1)} defined in the package config ${e$2}package.json${r$1 ? ` imported from ${r$1}` : ""}${n$1 ? "; targets must start with \"./\"" : ""}`) : `Invalid "${s$1 ? "imports" : "exports"}" target ${JSON.stringify(i$1)} defined for '${t$2}' in the package config ${e$2}package.json${r$1 ? ` imported from ${r$1}` : ""}${n$1 ? "; targets must start with \"./\"" : ""}`;
3375
+ }, Error), Te.ERR_MODULE_NOT_FOUND = createError("ERR_MODULE_NOT_FOUND", (e$2, t$2, i$1 = !1) => `Cannot find ${i$1 ? "module" : "package"} '${e$2}' imported from ${t$2}`, Error), Te.ERR_NETWORK_IMPORT_DISALLOWED = createError("ERR_NETWORK_IMPORT_DISALLOWED", "import of '%s' by %s is not supported: %s", Error), Te.ERR_PACKAGE_IMPORT_NOT_DEFINED = createError("ERR_PACKAGE_IMPORT_NOT_DEFINED", (e$2, t$2, i$1) => `Package import specifier "${e$2}" is not defined${t$2 ? ` in package ${t$2}package.json` : ""} imported from ${i$1}`, TypeError), Te.ERR_PACKAGE_PATH_NOT_EXPORTED = createError("ERR_PACKAGE_PATH_NOT_EXPORTED", (e$2, t$2, i$1 = void 0) => "." === t$2 ? `No "exports" main defined in ${e$2}package.json${i$1 ? ` imported from ${i$1}` : ""}` : `Package subpath '${t$2}' is not defined by "exports" in ${e$2}package.json${i$1 ? ` imported from ${i$1}` : ""}`, Error), Te.ERR_UNSUPPORTED_DIR_IMPORT = createError("ERR_UNSUPPORTED_DIR_IMPORT", "Directory import '%s' is not supported resolving ES modules imported from %s", Error), Te.ERR_UNSUPPORTED_RESOLVE_REQUEST = createError("ERR_UNSUPPORTED_RESOLVE_REQUEST", "Failed to resolve module specifier \"%s\" from \"%s\": Invalid relative URL or base scheme is not hierarchical.", TypeError), Te.ERR_UNKNOWN_FILE_EXTENSION = createError("ERR_UNKNOWN_FILE_EXTENSION", (e$2, t$2) => `Unknown file extension "${e$2}" for ${t$2}`, TypeError), Te.ERR_INVALID_ARG_VALUE = createError("ERR_INVALID_ARG_VALUE", (e$2, t$2, i$1 = "is invalid") => {
3376
+ let s$1 = (0, we.inspect)(t$2);
3377
+ s$1.length > 128 && (s$1 = `${s$1.slice(0, 128)}...`);
3378
+ return `The ${e$2.includes(".") ? "property" : "argument"} '${e$2}' ${i$1}. Received ${s$1}`;
3379
+ }, TypeError);
3380
+ const Le = function(e$2) {
3381
+ const t$2 = "__node_internal_" + e$2.name;
3382
+ return Object.defineProperty(e$2, "name", { value: t$2 }), e$2;
3383
+ }(function(e$2) {
3384
+ const t$2 = isErrorStackTraceLimitWritable();
3385
+ return t$2 && (Ne = Error.stackTraceLimit, Error.stackTraceLimit = Number.POSITIVE_INFINITY), Error.captureStackTrace(e$2), t$2 && (Error.stackTraceLimit = Ne), e$2;
3386
+ });
3387
+ const Oe = {}.hasOwnProperty, { ERR_INVALID_PACKAGE_CONFIG: De } = Te, Ve = /* @__PURE__ */ new Map();
3388
+ function read(e$2, { base: t$2, specifier: i$1 }) {
3389
+ const s$1 = Ve.get(e$2);
3390
+ if (s$1) return s$1;
3391
+ let r$1;
3392
+ try {
3393
+ r$1 = ue.readFileSync(Se.toNamespacedPath(e$2), "utf8");
3394
+ } catch (e$3) {
3395
+ const t$3 = e$3;
3396
+ if ("ENOENT" !== t$3.code) throw t$3;
3397
+ }
3398
+ const n$1 = {
3399
+ exists: !1,
3400
+ pjsonPath: e$2,
3401
+ main: void 0,
3402
+ name: void 0,
3403
+ type: "none",
3404
+ exports: void 0,
3405
+ imports: void 0
3406
+ };
3407
+ if (void 0 !== r$1) {
3408
+ let s$2;
3409
+ try {
3410
+ s$2 = JSON.parse(r$1);
3411
+ } catch (s$3) {
3412
+ const r$2 = s$3, n$2 = new De(e$2, (t$2 ? `"${i$1}" from ` : "") + (0, _e.fileURLToPath)(t$2 || i$1), r$2.message);
3413
+ throw n$2.cause = r$2, n$2;
3414
+ }
3415
+ n$1.exists = !0, Oe.call(s$2, "name") && "string" == typeof s$2.name && (n$1.name = s$2.name), Oe.call(s$2, "main") && "string" == typeof s$2.main && (n$1.main = s$2.main), Oe.call(s$2, "exports") && (n$1.exports = s$2.exports), Oe.call(s$2, "imports") && (n$1.imports = s$2.imports), !Oe.call(s$2, "type") || "commonjs" !== s$2.type && "module" !== s$2.type || (n$1.type = s$2.type);
3416
+ }
3417
+ return Ve.set(e$2, n$1), n$1;
3418
+ }
3419
+ function getPackageScopeConfig(e$2) {
3420
+ let t$2 = new URL("package.json", e$2);
3421
+ for (;;) {
3422
+ if (t$2.pathname.endsWith("node_modules/package.json")) break;
3423
+ const i$1 = read((0, _e.fileURLToPath)(t$2), { specifier: e$2 });
3424
+ if (i$1.exists) return i$1;
3425
+ const s$1 = t$2;
3426
+ if (t$2 = new URL("../package.json", t$2), t$2.pathname === s$1.pathname) break;
3427
+ }
3428
+ return {
3429
+ pjsonPath: (0, _e.fileURLToPath)(t$2),
3430
+ exists: !1,
3431
+ type: "none"
3432
+ };
3433
+ }
3434
+ function getPackageType(e$2) {
3435
+ return getPackageScopeConfig(e$2).type;
3436
+ }
3437
+ const { ERR_UNKNOWN_FILE_EXTENSION: Ue } = Te, Me = {}.hasOwnProperty, je = {
3438
+ __proto__: null,
3439
+ ".cjs": "commonjs",
3440
+ ".js": "module",
3441
+ ".json": "json",
3442
+ ".mjs": "module"
3443
+ };
3444
+ const Fe = {
3445
+ __proto__: null,
3446
+ "data:": function(e$2) {
3447
+ const { 1: t$2 } = /^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e$2.pathname) || [
3448
+ null,
3449
+ null,
3450
+ null
3451
+ ];
3452
+ return function(e$3) {
3453
+ return e$3 && /\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e$3) ? "module" : "application/json" === e$3 ? "json" : null;
3454
+ }(t$2);
3455
+ },
3456
+ "file:": function(e$2, t$2, i$1) {
3457
+ const s$1 = function(e$3) {
3458
+ const t$3 = e$3.pathname;
3459
+ let i$2 = t$3.length;
3460
+ for (; i$2--;) {
3461
+ const e$4 = t$3.codePointAt(i$2);
3462
+ if (47 === e$4) return "";
3463
+ if (46 === e$4) return 47 === t$3.codePointAt(i$2 - 1) ? "" : t$3.slice(i$2);
3464
+ }
3465
+ return "";
3466
+ }(e$2);
3467
+ if (".js" === s$1) {
3468
+ const t$3 = getPackageType(e$2);
3469
+ return "none" !== t$3 ? t$3 : "commonjs";
3470
+ }
3471
+ if ("" === s$1) {
3472
+ const t$3 = getPackageType(e$2);
3473
+ return "none" === t$3 || "commonjs" === t$3 ? "commonjs" : "module";
3474
+ }
3475
+ const r$1 = je[s$1];
3476
+ if (r$1) return r$1;
3477
+ if (i$1) return;
3478
+ throw new Ue(s$1, (0, _e.fileURLToPath)(e$2));
3479
+ },
3480
+ "http:": getHttpProtocolModuleFormat,
3481
+ "https:": getHttpProtocolModuleFormat,
3482
+ "node:": () => "builtin"
3483
+ };
3484
+ function getHttpProtocolModuleFormat() {}
3485
+ const Be = RegExp.prototype[Symbol.replace], { ERR_INVALID_MODULE_SPECIFIER: $e, ERR_INVALID_PACKAGE_CONFIG: qe, ERR_INVALID_PACKAGE_TARGET: We, ERR_MODULE_NOT_FOUND: Ge, ERR_PACKAGE_IMPORT_NOT_DEFINED: He, ERR_PACKAGE_PATH_NOT_EXPORTED: Ke, ERR_UNSUPPORTED_DIR_IMPORT: ze, ERR_UNSUPPORTED_RESOLVE_REQUEST: Je } = Te, Ye = {}.hasOwnProperty, Qe = /(^|\\|\/)((\.|%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, Ze = /(^|\\|\/)((\.|%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, Xe = /^\.|%|\\/, et = /\*/g, tt = /%2f|%5c/i, it = /* @__PURE__ */ new Set(), st = /[/\\]{2}/;
3486
+ function emitInvalidSegmentDeprecation(e$2, t$2, i$1, s$1, r$1, n$1, a$1) {
3487
+ if (be.noDeprecation) return;
3488
+ const o$1 = (0, _e.fileURLToPath)(s$1), h$1 = null !== st.exec(a$1 ? e$2 : t$2);
3489
+ be.emitWarning(`Use of deprecated ${h$1 ? "double slash" : "leading or trailing slash matching"} resolving "${e$2}" for module request "${t$2}" ${t$2 === i$1 ? "" : `matched to "${i$1}" `}in the "${r$1 ? "imports" : "exports"}" field module resolution of the package at ${o$1}${n$1 ? ` imported from ${(0, _e.fileURLToPath)(n$1)}` : ""}.`, "DeprecationWarning", "DEP0166");
3490
+ }
3491
+ function emitLegacyIndexDeprecation(e$2, t$2, i$1, s$1) {
3492
+ if (be.noDeprecation) return;
3493
+ if ("module" !== function(e$3, t$3) {
3494
+ const i$2 = e$3.protocol;
3495
+ return Me.call(Fe, i$2) && Fe[i$2](e$3, t$3, !0) || null;
3496
+ }(e$2, { parentURL: i$1.href })) return;
3497
+ const n$1 = (0, _e.fileURLToPath)(e$2.href), a$1 = (0, _e.fileURLToPath)(new _e.URL(".", t$2)), o$1 = (0, _e.fileURLToPath)(i$1);
3498
+ s$1 ? Se.resolve(a$1, s$1) !== n$1 && be.emitWarning(`Package ${a$1} has a "main" field set to "${s$1}", excluding the full filename and extension to the resolved file at "${n$1.slice(a$1.length)}", imported from ${o$1}.\n Automatic extension resolution of the "main" field is deprecated for ES modules.`, "DeprecationWarning", "DEP0151") : be.emitWarning(`No "main" or "exports" field defined in the package.json for ${a$1} resolving the main entry point "${n$1.slice(a$1.length)}", imported from ${o$1}.\nDefault "index" lookups for the main are deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
3499
+ }
3500
+ function tryStatSync(e$2) {
3501
+ try {
3502
+ return (0, ue.statSync)(e$2);
3503
+ } catch {}
3504
+ }
3505
+ function fileExists(e$2) {
3506
+ const t$2 = (0, ue.statSync)(e$2, { throwIfNoEntry: !1 }), i$1 = t$2 ? t$2.isFile() : void 0;
3507
+ return null != i$1 && i$1;
3508
+ }
3509
+ function legacyMainResolve(e$2, t$2, i$1) {
3510
+ let s$1;
3511
+ if (void 0 !== t$2.main) {
3512
+ if (s$1 = new _e.URL(t$2.main, e$2), fileExists(s$1)) return s$1;
3513
+ const r$2 = [
3514
+ `./${t$2.main}.js`,
3515
+ `./${t$2.main}.json`,
3516
+ `./${t$2.main}.node`,
3517
+ `./${t$2.main}/index.js`,
3518
+ `./${t$2.main}/index.json`,
3519
+ `./${t$2.main}/index.node`
3520
+ ];
3521
+ let n$2 = -1;
3522
+ for (; ++n$2 < r$2.length && (s$1 = new _e.URL(r$2[n$2], e$2), !fileExists(s$1));) s$1 = void 0;
3523
+ if (s$1) return emitLegacyIndexDeprecation(s$1, e$2, i$1, t$2.main), s$1;
3524
+ }
3525
+ const r$1 = [
3526
+ "./index.js",
3527
+ "./index.json",
3528
+ "./index.node"
3529
+ ];
3530
+ let n$1 = -1;
3531
+ for (; ++n$1 < r$1.length && (s$1 = new _e.URL(r$1[n$1], e$2), !fileExists(s$1));) s$1 = void 0;
3532
+ if (s$1) return emitLegacyIndexDeprecation(s$1, e$2, i$1, t$2.main), s$1;
3533
+ throw new Ge((0, _e.fileURLToPath)(new _e.URL(".", e$2)), (0, _e.fileURLToPath)(i$1));
3534
+ }
3535
+ function exportsNotFound(e$2, t$2, i$1) {
3536
+ return new Ke((0, _e.fileURLToPath)(new _e.URL(".", t$2)), e$2, i$1 && (0, _e.fileURLToPath)(i$1));
3537
+ }
3538
+ function invalidPackageTarget(e$2, t$2, i$1, s$1, r$1) {
3539
+ return t$2 = "object" == typeof t$2 && null !== t$2 ? JSON.stringify(t$2, null, "") : `${t$2}`, new We((0, _e.fileURLToPath)(new _e.URL(".", i$1)), e$2, t$2, s$1, r$1 && (0, _e.fileURLToPath)(r$1));
3540
+ }
3541
+ function resolvePackageTargetString(e$2, t$2, i$1, s$1, r$1, n$1, a$1, o$1, h$1) {
3542
+ if ("" !== t$2 && !n$1 && "/" !== e$2[e$2.length - 1]) throw invalidPackageTarget(i$1, e$2, s$1, a$1, r$1);
3543
+ if (!e$2.startsWith("./")) {
3544
+ if (a$1 && !e$2.startsWith("../") && !e$2.startsWith("/")) {
3545
+ let i$2 = !1;
3546
+ try {
3547
+ new _e.URL(e$2), i$2 = !0;
3548
+ } catch {}
3549
+ if (!i$2) return packageResolve(n$1 ? Be.call(et, e$2, () => t$2) : e$2 + t$2, s$1, h$1);
3550
+ }
3551
+ throw invalidPackageTarget(i$1, e$2, s$1, a$1, r$1);
3552
+ }
3553
+ if (null !== Qe.exec(e$2.slice(2))) {
3554
+ if (null !== Ze.exec(e$2.slice(2))) throw invalidPackageTarget(i$1, e$2, s$1, a$1, r$1);
3555
+ if (!o$1) {
3556
+ const o$2 = n$1 ? i$1.replace("*", () => t$2) : i$1 + t$2;
3557
+ emitInvalidSegmentDeprecation(n$1 ? Be.call(et, e$2, () => t$2) : e$2, o$2, i$1, s$1, a$1, r$1, !0);
3558
+ }
3559
+ }
3560
+ const c$1 = new _e.URL(e$2, s$1), p$1 = c$1.pathname, l$1 = new _e.URL(".", s$1).pathname;
3561
+ if (!p$1.startsWith(l$1)) throw invalidPackageTarget(i$1, e$2, s$1, a$1, r$1);
3562
+ if ("" === t$2) return c$1;
3563
+ if (null !== Qe.exec(t$2)) {
3564
+ const h$2 = n$1 ? i$1.replace("*", () => t$2) : i$1 + t$2;
3565
+ if (null === Ze.exec(t$2)) {
3566
+ if (!o$1) emitInvalidSegmentDeprecation(n$1 ? Be.call(et, e$2, () => t$2) : e$2, h$2, i$1, s$1, a$1, r$1, !1);
3567
+ } else (function(e$3, t$3, i$2, s$2, r$2) {
3568
+ throw new $e(e$3, `request is not a valid match in pattern "${t$3}" for the "${s$2 ? "imports" : "exports"}" resolution of ${(0, _e.fileURLToPath)(i$2)}`, r$2 && (0, _e.fileURLToPath)(r$2));
3569
+ })(h$2, i$1, s$1, a$1, r$1);
3570
+ }
3571
+ return n$1 ? new _e.URL(Be.call(et, c$1.href, () => t$2)) : new _e.URL(t$2, c$1);
3572
+ }
3573
+ function isArrayIndex(e$2) {
3574
+ const t$2 = Number(e$2);
3575
+ return `${t$2}` === e$2 && t$2 >= 0 && t$2 < 4294967295;
3576
+ }
3577
+ function resolvePackageTarget(e$2, t$2, i$1, s$1, r$1, n$1, a$1, o$1, h$1) {
3578
+ if ("string" == typeof t$2) return resolvePackageTargetString(t$2, i$1, s$1, e$2, r$1, n$1, a$1, o$1, h$1);
3579
+ if (Array.isArray(t$2)) {
3580
+ const c$1 = t$2;
3581
+ if (0 === c$1.length) return null;
3582
+ let p$1, l$1 = -1;
3583
+ for (; ++l$1 < c$1.length;) {
3584
+ const t$3 = c$1[l$1];
3585
+ let u$1;
3586
+ try {
3587
+ u$1 = resolvePackageTarget(e$2, t$3, i$1, s$1, r$1, n$1, a$1, o$1, h$1);
3588
+ } catch (e$3) {
3589
+ if (p$1 = e$3, "ERR_INVALID_PACKAGE_TARGET" === e$3.code) continue;
3590
+ throw e$3;
3591
+ }
3592
+ if (void 0 !== u$1) {
3593
+ if (null !== u$1) return u$1;
3594
+ p$1 = null;
3595
+ }
3596
+ }
3597
+ if (null == p$1) return null;
3598
+ throw p$1;
3599
+ }
3600
+ if ("object" == typeof t$2 && null !== t$2) {
3601
+ const c$1 = Object.getOwnPropertyNames(t$2);
3602
+ let p$1 = -1;
3603
+ for (; ++p$1 < c$1.length;) if (isArrayIndex(c$1[p$1])) throw new qe((0, _e.fileURLToPath)(e$2), r$1, "\"exports\" cannot contain numeric property keys.");
3604
+ for (p$1 = -1; ++p$1 < c$1.length;) {
3605
+ const l$1 = c$1[p$1];
3606
+ if ("default" === l$1 || h$1 && h$1.has(l$1)) {
3607
+ const c$2 = resolvePackageTarget(e$2, t$2[l$1], i$1, s$1, r$1, n$1, a$1, o$1, h$1);
3608
+ if (void 0 === c$2) continue;
3609
+ return c$2;
3610
+ }
3611
+ }
3612
+ return null;
3613
+ }
3614
+ if (null === t$2) return null;
3615
+ throw invalidPackageTarget(s$1, t$2, e$2, a$1, r$1);
3616
+ }
3617
+ function emitTrailingSlashPatternDeprecation(e$2, t$2, i$1) {
3618
+ if (be.noDeprecation) return;
3619
+ const s$1 = (0, _e.fileURLToPath)(t$2);
3620
+ it.has(s$1 + "|" + e$2) || (it.add(s$1 + "|" + e$2), be.emitWarning(`Use of deprecated trailing slash pattern mapping "${e$2}" in the "exports" field module resolution of the package at ${s$1}${i$1 ? ` imported from ${(0, _e.fileURLToPath)(i$1)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, "DeprecationWarning", "DEP0155"));
3621
+ }
3622
+ function packageExportsResolve(e$2, t$2, i$1, s$1, r$1) {
3623
+ let n$1 = i$1.exports;
3624
+ if (function(e$3, t$3, i$2) {
3625
+ if ("string" == typeof e$3 || Array.isArray(e$3)) return !0;
3626
+ if ("object" != typeof e$3 || null === e$3) return !1;
3627
+ const s$2 = Object.getOwnPropertyNames(e$3);
3628
+ let r$2 = !1, n$2 = 0, a$2 = -1;
3629
+ for (; ++a$2 < s$2.length;) {
3630
+ const e$4 = s$2[a$2], o$2 = "" === e$4 || "." !== e$4[0];
3631
+ if (0 === n$2++) r$2 = o$2;
3632
+ else if (r$2 !== o$2) throw new qe((0, _e.fileURLToPath)(t$3), i$2, "\"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.");
3633
+ }
3634
+ return r$2;
3635
+ }(n$1, e$2, s$1) && (n$1 = { ".": n$1 }), Ye.call(n$1, t$2) && !t$2.includes("*") && !t$2.endsWith("/")) {
3636
+ const i$2 = resolvePackageTarget(e$2, n$1[t$2], "", t$2, s$1, !1, !1, !1, r$1);
3637
+ if (null == i$2) throw exportsNotFound(t$2, e$2, s$1);
3638
+ return i$2;
3639
+ }
3640
+ let a$1 = "", o$1 = "";
3641
+ const h$1 = Object.getOwnPropertyNames(n$1);
3642
+ let c$1 = -1;
3643
+ for (; ++c$1 < h$1.length;) {
3644
+ const i$2 = h$1[c$1], r$2 = i$2.indexOf("*");
3645
+ if (-1 !== r$2 && t$2.startsWith(i$2.slice(0, r$2))) {
3646
+ t$2.endsWith("/") && emitTrailingSlashPatternDeprecation(t$2, e$2, s$1);
3647
+ const n$2 = i$2.slice(r$2 + 1);
3648
+ t$2.length >= i$2.length && t$2.endsWith(n$2) && 1 === patternKeyCompare(a$1, i$2) && i$2.lastIndexOf("*") === r$2 && (a$1 = i$2, o$1 = t$2.slice(r$2, t$2.length - n$2.length));
3649
+ }
3650
+ }
3651
+ if (a$1) {
3652
+ const i$2 = resolvePackageTarget(e$2, n$1[a$1], o$1, a$1, s$1, !0, !1, t$2.endsWith("/"), r$1);
3653
+ if (null == i$2) throw exportsNotFound(t$2, e$2, s$1);
3654
+ return i$2;
3655
+ }
3656
+ throw exportsNotFound(t$2, e$2, s$1);
3657
+ }
3658
+ function patternKeyCompare(e$2, t$2) {
3659
+ const i$1 = e$2.indexOf("*"), s$1 = t$2.indexOf("*"), r$1 = -1 === i$1 ? e$2.length : i$1 + 1, n$1 = -1 === s$1 ? t$2.length : s$1 + 1;
3660
+ return r$1 > n$1 ? -1 : n$1 > r$1 || -1 === i$1 ? 1 : -1 === s$1 || e$2.length > t$2.length ? -1 : t$2.length > e$2.length ? 1 : 0;
3661
+ }
3662
+ function packageImportsResolve(e$2, t$2, i$1) {
3663
+ if ("#" === e$2 || e$2.startsWith("#/") || e$2.endsWith("/")) throw new $e(e$2, "is not a valid internal imports specifier name", (0, _e.fileURLToPath)(t$2));
3664
+ let s$1;
3665
+ const r$1 = getPackageScopeConfig(t$2);
3666
+ if (r$1.exists) {
3667
+ s$1 = (0, _e.pathToFileURL)(r$1.pjsonPath);
3668
+ const n$1 = r$1.imports;
3669
+ if (n$1) if (Ye.call(n$1, e$2) && !e$2.includes("*")) {
3670
+ const r$2 = resolvePackageTarget(s$1, n$1[e$2], "", e$2, t$2, !1, !0, !1, i$1);
3671
+ if (null != r$2) return r$2;
3672
+ } else {
3673
+ let r$2 = "", a$1 = "";
3674
+ const o$1 = Object.getOwnPropertyNames(n$1);
3675
+ let h$1 = -1;
3676
+ for (; ++h$1 < o$1.length;) {
3677
+ const t$3 = o$1[h$1], i$2 = t$3.indexOf("*");
3678
+ if (-1 !== i$2 && e$2.startsWith(t$3.slice(0, -1))) {
3679
+ const s$2 = t$3.slice(i$2 + 1);
3680
+ e$2.length >= t$3.length && e$2.endsWith(s$2) && 1 === patternKeyCompare(r$2, t$3) && t$3.lastIndexOf("*") === i$2 && (r$2 = t$3, a$1 = e$2.slice(i$2, e$2.length - s$2.length));
3681
+ }
3682
+ }
3683
+ if (r$2) {
3684
+ const e$3 = resolvePackageTarget(s$1, n$1[r$2], a$1, r$2, t$2, !0, !0, !1, i$1);
3685
+ if (null != e$3) return e$3;
3686
+ }
3687
+ }
3688
+ }
3689
+ throw function(e$3, t$3, i$2) {
3690
+ return new He(e$3, t$3 && (0, _e.fileURLToPath)(new _e.URL(".", t$3)), (0, _e.fileURLToPath)(i$2));
3691
+ }(e$2, s$1, t$2);
3692
+ }
3693
+ function packageResolve(e$2, t$2, i$1) {
3694
+ if (le.builtinModules.includes(e$2)) return new _e.URL("node:" + e$2);
3695
+ const { packageName: s$1, packageSubpath: r$1, isScoped: n$1 } = function(e$3, t$3) {
3696
+ let i$2 = e$3.indexOf("/"), s$2 = !0, r$2 = !1;
3697
+ "@" === e$3[0] && (r$2 = !0, -1 === i$2 || 0 === e$3.length ? s$2 = !1 : i$2 = e$3.indexOf("/", i$2 + 1));
3698
+ const n$2 = -1 === i$2 ? e$3 : e$3.slice(0, i$2);
3699
+ if (null !== Xe.exec(n$2) && (s$2 = !1), !s$2) throw new $e(e$3, "is not a valid package name", (0, _e.fileURLToPath)(t$3));
3700
+ return {
3701
+ packageName: n$2,
3702
+ packageSubpath: "." + (-1 === i$2 ? "" : e$3.slice(i$2)),
3703
+ isScoped: r$2
3704
+ };
3705
+ }(e$2, t$2), a$1 = getPackageScopeConfig(t$2);
3706
+ if (a$1.exists) {
3707
+ const e$3 = (0, _e.pathToFileURL)(a$1.pjsonPath);
3708
+ if (a$1.name === s$1 && void 0 !== a$1.exports && null !== a$1.exports) return packageExportsResolve(e$3, r$1, a$1, t$2, i$1);
3709
+ }
3710
+ let o$1, h$1 = new _e.URL("./node_modules/" + s$1 + "/package.json", t$2), c$1 = (0, _e.fileURLToPath)(h$1);
3711
+ do {
3712
+ const a$2 = tryStatSync(c$1.slice(0, -13));
3713
+ if (!a$2 || !a$2.isDirectory()) {
3714
+ o$1 = c$1, h$1 = new _e.URL((n$1 ? "../../../../node_modules/" : "../../../node_modules/") + s$1 + "/package.json", h$1), c$1 = (0, _e.fileURLToPath)(h$1);
3715
+ continue;
3716
+ }
3717
+ const p$1 = read(c$1, {
3718
+ base: t$2,
3719
+ specifier: e$2
3720
+ });
3721
+ return void 0 !== p$1.exports && null !== p$1.exports ? packageExportsResolve(h$1, r$1, p$1, t$2, i$1) : "." === r$1 ? legacyMainResolve(h$1, p$1, t$2) : new _e.URL(r$1, h$1);
3722
+ } while (c$1.length !== o$1.length);
3723
+ throw new Ge(s$1, (0, _e.fileURLToPath)(t$2), !1);
3724
+ }
3725
+ function moduleResolve(e$2, t$2, i$1, s$1) {
3726
+ const r$1 = t$2.protocol, n$1 = "data:" === r$1 || "http:" === r$1 || "https:" === r$1;
3727
+ let a$1;
3728
+ if (function(e$3) {
3729
+ return "" !== e$3 && ("/" === e$3[0] || function(e$4) {
3730
+ if ("." === e$4[0]) {
3731
+ if (1 === e$4.length || "/" === e$4[1]) return !0;
3732
+ if ("." === e$4[1] && (2 === e$4.length || "/" === e$4[2])) return !0;
3733
+ }
3734
+ return !1;
3735
+ }(e$3));
3736
+ }(e$2)) try {
3737
+ a$1 = new _e.URL(e$2, t$2);
3738
+ } catch (i$2) {
3739
+ const s$2 = new Je(e$2, t$2);
3740
+ throw s$2.cause = i$2, s$2;
3741
+ }
3742
+ else if ("file:" === r$1 && "#" === e$2[0]) a$1 = packageImportsResolve(e$2, t$2, i$1);
3743
+ else try {
3744
+ a$1 = new _e.URL(e$2);
3745
+ } catch (s$2) {
3746
+ if (n$1 && !le.builtinModules.includes(e$2)) {
3747
+ const i$2 = new Je(e$2, t$2);
3748
+ throw i$2.cause = s$2, i$2;
3749
+ }
3750
+ a$1 = packageResolve(e$2, t$2, i$1);
3751
+ }
3752
+ return Ee(void 0 !== a$1, "expected to be defined"), "file:" !== a$1.protocol ? a$1 : function(e$3, t$3) {
3753
+ if (null !== tt.exec(e$3.pathname)) throw new $e(e$3.pathname, "must not include encoded \"/\" or \"\\\" characters", (0, _e.fileURLToPath)(t$3));
3754
+ let i$2;
3755
+ try {
3756
+ i$2 = (0, _e.fileURLToPath)(e$3);
3757
+ } catch (i$3) {
3758
+ const s$3 = i$3;
3759
+ throw Object.defineProperty(s$3, "input", { value: String(e$3) }), Object.defineProperty(s$3, "module", { value: String(t$3) }), s$3;
3760
+ }
3761
+ const s$2 = tryStatSync(i$2.endsWith("/") ? i$2.slice(-1) : i$2);
3762
+ if (s$2 && s$2.isDirectory()) {
3763
+ const s$3 = new ze(i$2, (0, _e.fileURLToPath)(t$3));
3764
+ throw s$3.url = String(e$3), s$3;
3765
+ }
3766
+ if (!s$2 || !s$2.isFile()) {
3767
+ const s$3 = new Ge(i$2 || e$3.pathname, t$3 && (0, _e.fileURLToPath)(t$3), !0);
3768
+ throw s$3.url = String(e$3), s$3;
3769
+ }
3770
+ {
3771
+ const t$4 = (0, ue.realpathSync)(i$2), { search: s$3, hash: r$2 } = e$3;
3772
+ (e$3 = (0, _e.pathToFileURL)(t$4 + (i$2.endsWith(Se.sep) ? "/" : ""))).search = s$3, e$3.hash = r$2;
3773
+ }
3774
+ return e$3;
3775
+ }(a$1, t$2);
3776
+ }
3777
+ function fileURLToPath(e$2) {
3778
+ return "string" != typeof e$2 || e$2.startsWith("file://") ? normalizeSlash((0, _e.fileURLToPath)(e$2)) : normalizeSlash(e$2);
3779
+ }
3780
+ function pathToFileURL(e$2) {
3781
+ return (0, _e.pathToFileURL)(fileURLToPath(e$2)).toString();
3782
+ }
3783
+ const rt = new Set(["node", "import"]), nt = [
3784
+ ".mjs",
3785
+ ".cjs",
3786
+ ".js",
3787
+ ".json"
3788
+ ], at = new Set([
3789
+ "ERR_MODULE_NOT_FOUND",
3790
+ "ERR_UNSUPPORTED_DIR_IMPORT",
3791
+ "MODULE_NOT_FOUND",
3792
+ "ERR_PACKAGE_PATH_NOT_EXPORTED"
3793
+ ]);
3794
+ function _tryModuleResolve(e$2, t$2, i$1) {
3795
+ try {
3796
+ return moduleResolve(e$2, t$2, i$1);
3797
+ } catch (e$3) {
3798
+ if (!at.has(e$3?.code)) throw e$3;
3799
+ }
3800
+ }
3801
+ function _resolve(e$2, t$2 = {}) {
3802
+ if ("string" != typeof e$2) {
3803
+ if (!(e$2 instanceof URL)) throw new TypeError("input must be a `string` or `URL`");
3804
+ e$2 = fileURLToPath(e$2);
3805
+ }
3806
+ if (/(?:node|data|http|https):/.test(e$2)) return e$2;
3807
+ if (Ie.has(e$2)) return "node:" + e$2;
3808
+ if (e$2.startsWith("file://") && (e$2 = fileURLToPath(e$2)), isAbsolute(e$2)) try {
3809
+ if ((0, ue.statSync)(e$2).isFile()) return pathToFileURL(e$2);
3810
+ } catch (e$3) {
3811
+ if ("ENOENT" !== e$3?.code) throw e$3;
3812
+ }
3813
+ const i$1 = t$2.conditions ? new Set(t$2.conditions) : rt, s$1 = (Array.isArray(t$2.url) ? t$2.url : [t$2.url]).filter(Boolean).map((e$3) => new URL(function(e$4) {
3814
+ return "string" != typeof e$4 && (e$4 = e$4.toString()), /(?:node|data|http|https|file):/.test(e$4) ? e$4 : Ie.has(e$4) ? "node:" + e$4 : "file://" + encodeURI(normalizeSlash(e$4));
3815
+ }(e$3.toString())));
3816
+ 0 === s$1.length && s$1.push(new URL(pathToFileURL(process.cwd())));
3817
+ const r$1 = [...s$1];
3818
+ for (const e$3 of s$1) "file:" === e$3.protocol && r$1.push(new URL("./", e$3), new URL(dist_joinURL(e$3.pathname, "_index.js"), e$3), new URL("node_modules", e$3));
3819
+ let n$1;
3820
+ for (const s$2 of r$1) {
3821
+ if (n$1 = _tryModuleResolve(e$2, s$2, i$1), n$1) break;
3822
+ for (const r$2 of ["", "/index"]) {
3823
+ for (const a$1 of t$2.extensions || nt) if (n$1 = _tryModuleResolve(dist_joinURL(e$2, r$2) + a$1, s$2, i$1), n$1) break;
3824
+ if (n$1) break;
3825
+ }
3826
+ if (n$1) break;
3827
+ }
3828
+ if (!n$1) {
3829
+ const t$3 = /* @__PURE__ */ new Error(`Cannot find module ${e$2} imported from ${r$1.join(", ")}`);
3830
+ throw t$3.code = "ERR_MODULE_NOT_FOUND", t$3;
3831
+ }
3832
+ return pathToFileURL(n$1);
3833
+ }
3834
+ function resolveSync(e$2, t$2) {
3835
+ return _resolve(e$2, t$2);
3836
+ }
3837
+ function resolvePathSync(e$2, t$2) {
3838
+ return fileURLToPath(resolveSync(e$2, t$2));
3839
+ }
3840
+ const ot = /(?:[\s;]|^)(?:import[\s\w*,{}]*from|import\s*["'*{]|export\b\s*(?:[*{]|default|class|type|function|const|var|let|async function)|import\.meta\b)/m, ht = /\/\*.+?\*\/|\/\/.*(?=[nr])/g;
3841
+ function hasESMSyntax(e$2, t$2 = {}) {
3842
+ return t$2.stripComments && (e$2 = e$2.replace(ht, "")), ot.test(e$2);
3843
+ }
3844
+ function escapeStringRegexp(e$2) {
3845
+ if ("string" != typeof e$2) throw new TypeError("Expected a string");
3846
+ return e$2.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
3847
+ }
3848
+ const ct = new Set([
3849
+ "/",
3850
+ "\\",
3851
+ void 0
3852
+ ]), pt = Symbol.for("pathe:normalizedAlias"), lt = /[/\\]/;
3853
+ function normalizeAliases(e$2) {
3854
+ if (e$2[pt]) return e$2;
3855
+ const t$2 = Object.fromEntries(Object.entries(e$2).sort(([e$3], [t$3]) => function(e$4, t$4) {
3856
+ return t$4.split("/").length - e$4.split("/").length;
3857
+ }(e$3, t$3)));
3858
+ for (const e$3 in t$2) for (const i$1 in t$2) i$1 === e$3 || e$3.startsWith(i$1) || t$2[e$3]?.startsWith(i$1) && ct.has(t$2[e$3][i$1.length]) && (t$2[e$3] = t$2[i$1] + t$2[e$3].slice(i$1.length));
3859
+ return Object.defineProperty(t$2, pt, {
3860
+ value: !0,
3861
+ enumerable: !1
3862
+ }), t$2;
3863
+ }
3864
+ function utils_hasTrailingSlash(e$2 = "/") {
3865
+ const t$2 = e$2[e$2.length - 1];
3866
+ return "/" === t$2 || "\\" === t$2;
3867
+ }
3868
+ var ut = { rE: "2.6.1" };
3869
+ const dt = __require("node:crypto");
3870
+ var ft = __webpack_require__.n(dt);
3871
+ const mt = Object.create(null), dist_i = (e$2) => globalThis.process?.env || globalThis.Deno?.env.toObject() || globalThis.__env__ || (e$2 ? mt : globalThis), gt = new Proxy(mt, {
3872
+ get: (e$2, t$2) => dist_i()[t$2] ?? mt[t$2],
3873
+ has: (e$2, t$2) => t$2 in dist_i() || t$2 in mt,
3874
+ set: (e$2, t$2, i$1) => (dist_i(!0)[t$2] = i$1, !0),
3875
+ deleteProperty(e$2, t$2) {
3876
+ if (!t$2) return !1;
3877
+ return delete dist_i(!0)[t$2], !0;
3878
+ },
3879
+ ownKeys() {
3880
+ const e$2 = dist_i(!0);
3881
+ return Object.keys(e$2);
3882
+ }
3883
+ }), xt = typeof process < "u" && process.env && process.env.NODE_ENV || "", vt = [
3884
+ ["APPVEYOR"],
3885
+ [
3886
+ "AWS_AMPLIFY",
3887
+ "AWS_APP_ID",
3888
+ { ci: !0 }
3889
+ ],
3890
+ ["AZURE_PIPELINES", "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],
3891
+ ["AZURE_STATIC", "INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"],
3892
+ ["APPCIRCLE", "AC_APPCIRCLE"],
3893
+ ["BAMBOO", "bamboo_planKey"],
3894
+ ["BITBUCKET", "BITBUCKET_COMMIT"],
3895
+ ["BITRISE", "BITRISE_IO"],
3896
+ ["BUDDY", "BUDDY_WORKSPACE_ID"],
3897
+ ["BUILDKITE"],
3898
+ ["CIRCLE", "CIRCLECI"],
3899
+ ["CIRRUS", "CIRRUS_CI"],
3900
+ [
3901
+ "CLOUDFLARE_PAGES",
3902
+ "CF_PAGES",
3903
+ { ci: !0 }
3904
+ ],
3905
+ [
3906
+ "CLOUDFLARE_WORKERS",
3907
+ "WORKERS_CI",
3908
+ { ci: !0 }
3909
+ ],
3910
+ ["CODEBUILD", "CODEBUILD_BUILD_ARN"],
3911
+ ["CODEFRESH", "CF_BUILD_ID"],
3912
+ ["DRONE"],
3913
+ ["DRONE", "DRONE_BUILD_EVENT"],
3914
+ ["DSARI"],
3915
+ ["GITHUB_ACTIONS"],
3916
+ ["GITLAB", "GITLAB_CI"],
3917
+ ["GITLAB", "CI_MERGE_REQUEST_ID"],
3918
+ ["GOCD", "GO_PIPELINE_LABEL"],
3919
+ ["LAYERCI"],
3920
+ ["HUDSON", "HUDSON_URL"],
3921
+ ["JENKINS", "JENKINS_URL"],
3922
+ ["MAGNUM"],
3923
+ ["NETLIFY"],
3924
+ [
3925
+ "NETLIFY",
3926
+ "NETLIFY_LOCAL",
3927
+ { ci: !1 }
3928
+ ],
3929
+ ["NEVERCODE"],
3930
+ ["RENDER"],
3931
+ ["SAIL", "SAILCI"],
3932
+ ["SEMAPHORE"],
3933
+ ["SCREWDRIVER"],
3934
+ ["SHIPPABLE"],
3935
+ ["SOLANO", "TDDIUM"],
3936
+ ["STRIDER"],
3937
+ ["TEAMCITY", "TEAMCITY_VERSION"],
3938
+ ["TRAVIS"],
3939
+ ["VERCEL", "NOW_BUILDER"],
3940
+ [
3941
+ "VERCEL",
3942
+ "VERCEL",
3943
+ { ci: !1 }
3944
+ ],
3945
+ [
3946
+ "VERCEL",
3947
+ "VERCEL_ENV",
3948
+ { ci: !1 }
3949
+ ],
3950
+ ["APPCENTER", "APPCENTER_BUILD_ID"],
3951
+ [
3952
+ "CODESANDBOX",
3953
+ "CODESANDBOX_SSE",
3954
+ { ci: !1 }
3955
+ ],
3956
+ [
3957
+ "CODESANDBOX",
3958
+ "CODESANDBOX_HOST",
3959
+ { ci: !1 }
3960
+ ],
3961
+ ["STACKBLITZ"],
3962
+ ["STORMKIT"],
3963
+ ["CLEAVR"],
3964
+ ["ZEABUR"],
3965
+ [
3966
+ "CODESPHERE",
3967
+ "CODESPHERE_APP_ID",
3968
+ { ci: !0 }
3969
+ ],
3970
+ ["RAILWAY", "RAILWAY_PROJECT_ID"],
3971
+ ["RAILWAY", "RAILWAY_SERVICE_ID"],
3972
+ ["DENO-DEPLOY", "DENO_DEPLOYMENT_ID"],
3973
+ [
3974
+ "FIREBASE_APP_HOSTING",
3975
+ "FIREBASE_APP_HOSTING",
3976
+ { ci: !0 }
3977
+ ]
3978
+ ];
3979
+ const yt = function() {
3980
+ if (globalThis.process?.env) for (const e$2 of vt) {
3981
+ const t$2 = e$2[1] || e$2[0];
3982
+ if (globalThis.process?.env[t$2]) return {
3983
+ name: e$2[0].toLowerCase(),
3984
+ ...e$2[2]
3985
+ };
3986
+ }
3987
+ return "/bin/jsh" === globalThis.process?.env?.SHELL && globalThis.process?.versions?.webcontainer ? {
3988
+ name: "stackblitz",
3989
+ ci: !1
3990
+ } : {
3991
+ name: "",
3992
+ ci: !1
3993
+ };
3994
+ }();
3995
+ yt.name;
3996
+ function std_env_dist_n(e$2) {
3997
+ return !!e$2 && "false" !== e$2;
3998
+ }
3999
+ const _t = globalThis.process?.platform || "";
4000
+ std_env_dist_n(gt.CI) || yt.ci;
4001
+ const bt = std_env_dist_n(globalThis.process?.stdout && globalThis.process?.stdout.isTTY);
4002
+ std_env_dist_n(gt.DEBUG), "test" === xt || std_env_dist_n(gt.TEST);
4003
+ const kt = (std_env_dist_n(gt.MINIMAL), /^win/i.test(_t)), wt = (/^linux/i.test(_t), /^darwin/i.test(_t), !std_env_dist_n(gt.NO_COLOR) && (std_env_dist_n(gt.FORCE_COLOR) || (bt || kt) && gt.TERM), (globalThis.process?.versions?.node || "").replace(/^v/, "") || null), It = (Number(wt?.split(".")[0]), globalThis.process || Object.create(null)), Ct = { versions: {} }, Rt = (new Proxy(It, { get: (e$2, t$2) => "env" === t$2 ? gt : t$2 in e$2 ? e$2[t$2] : t$2 in Ct ? Ct[t$2] : void 0 }), "node" === globalThis.process?.release?.name), Pt = !!globalThis.Bun || !!globalThis.process?.versions?.bun, Tt = !!globalThis.Deno, At = !!globalThis.fastly, Nt = [
4004
+ [!!globalThis.Netlify, "netlify"],
4005
+ [!!globalThis.EdgeRuntime, "edge-light"],
4006
+ ["Cloudflare-Workers" === globalThis.navigator?.userAgent, "workerd"],
4007
+ [At, "fastly"],
4008
+ [Tt, "deno"],
4009
+ [Pt, "bun"],
4010
+ [Rt, "node"]
4011
+ ];
4012
+ (function() {
4013
+ const e$2 = Nt.find((e$3) => e$3[0]);
4014
+ if (e$2) e$2[1];
4015
+ })();
4016
+ const Ot = __require("node:tty")?.WriteStream?.prototype?.hasColors?.() ?? !1, base_format = (e$2, t$2) => {
4017
+ if (!Ot) return (e$3) => e$3;
4018
+ const i$1 = `[${e$2}m`, s$1 = `[${t$2}m`;
4019
+ return (e$3) => {
4020
+ const r$1 = e$3 + "";
4021
+ let n$1 = r$1.indexOf(s$1);
4022
+ if (-1 === n$1) return i$1 + r$1 + s$1;
4023
+ let a$1 = i$1, o$1 = 0;
4024
+ const h$1 = (22 === t$2 ? s$1 : "") + i$1;
4025
+ for (; -1 !== n$1;) a$1 += r$1.slice(o$1, n$1) + h$1, o$1 = n$1 + s$1.length, n$1 = r$1.indexOf(s$1, o$1);
4026
+ return a$1 += r$1.slice(o$1) + s$1, a$1;
4027
+ };
4028
+ }, Dt = (base_format(0, 0), base_format(1, 22), base_format(2, 22), base_format(3, 23), base_format(4, 24), base_format(53, 55), base_format(7, 27), base_format(8, 28), base_format(9, 29), base_format(30, 39), base_format(31, 39)), Vt = base_format(32, 39), Ut = base_format(33, 39), Mt = base_format(34, 39), jt = (base_format(35, 39), base_format(36, 39)), Ft = (base_format(37, 39), base_format(90, 39));
4029
+ base_format(40, 49), base_format(41, 49), base_format(42, 49), base_format(43, 49), base_format(44, 49), base_format(45, 49), base_format(46, 49), base_format(47, 49), base_format(100, 49), base_format(91, 39), base_format(92, 39), base_format(93, 39), base_format(94, 39), base_format(95, 39), base_format(96, 39), base_format(97, 39), base_format(101, 49), base_format(102, 49), base_format(103, 49), base_format(104, 49), base_format(105, 49), base_format(106, 49), base_format(107, 49);
4030
+ function isDir(e$2) {
4031
+ if ("string" != typeof e$2 || e$2.startsWith("file://")) return !1;
4032
+ try {
4033
+ return (0, ue.lstatSync)(e$2).isDirectory();
4034
+ } catch {
4035
+ return !1;
4036
+ }
4037
+ }
4038
+ function utils_hash(e$2, t$2 = 8) {
4039
+ return (function() {
4040
+ if (void 0 !== $t) return $t;
4041
+ try {
4042
+ return $t = !!ft().getFips?.(), $t;
4043
+ } catch {
4044
+ return $t = !1, $t;
4045
+ }
4046
+ }() ? ft().createHash("sha256") : ft().createHash("md5")).update(e$2).digest("hex").slice(0, t$2);
4047
+ }
4048
+ const Bt = {
4049
+ true: Vt("true"),
4050
+ false: Ut("false"),
4051
+ "[rebuild]": Ut("[rebuild]"),
4052
+ "[esm]": Mt("[esm]"),
4053
+ "[cjs]": Vt("[cjs]"),
4054
+ "[import]": Mt("[import]"),
4055
+ "[require]": Vt("[require]"),
4056
+ "[native]": jt("[native]"),
4057
+ "[transpile]": Ut("[transpile]"),
4058
+ "[fallback]": Dt("[fallback]"),
4059
+ "[unknown]": Dt("[unknown]"),
4060
+ "[hit]": Vt("[hit]"),
4061
+ "[miss]": Ut("[miss]"),
4062
+ "[json]": Vt("[json]"),
4063
+ "[data]": Vt("[data]")
4064
+ };
4065
+ function debug(e$2, ...t$2) {
4066
+ if (!e$2.opts.debug) return;
4067
+ const i$1 = process.cwd();
4068
+ console.log(Ft(["[jiti]", ...t$2.map((e$3) => e$3 in Bt ? Bt[e$3] : "string" != typeof e$3 ? JSON.stringify(e$3) : e$3.replace(i$1, "."))].join(" ")));
4069
+ }
4070
+ function jitiInteropDefault(e$2, t$2) {
4071
+ return e$2.opts.interopDefault ? function(e$3) {
4072
+ const t$3 = typeof e$3;
4073
+ if (null === e$3 || "object" !== t$3 && "function" !== t$3) return e$3;
4074
+ const i$1 = e$3.default, s$1 = typeof i$1, r$1 = null == i$1, n$1 = "object" === s$1 || "function" === s$1;
4075
+ if (r$1 && e$3 instanceof Promise) return e$3;
4076
+ return new Proxy(e$3, {
4077
+ get(t$4, s$2, a$1) {
4078
+ if ("__esModule" === s$2) return !0;
4079
+ if ("default" === s$2) return r$1 ? e$3 : "function" == typeof i$1?.default && e$3.__esModule ? i$1.default : i$1;
4080
+ if (Reflect.has(t$4, s$2)) return Reflect.get(t$4, s$2, a$1);
4081
+ if (n$1 && !(i$1 instanceof Promise)) {
4082
+ let e$4 = Reflect.get(i$1, s$2, a$1);
4083
+ return "function" == typeof e$4 && (e$4 = e$4.bind(i$1)), e$4;
4084
+ }
4085
+ },
4086
+ apply: (e$4, t$4, r$2) => "function" == typeof e$4 ? Reflect.apply(e$4, t$4, r$2) : "function" === s$1 ? Reflect.apply(i$1, t$4, r$2) : void 0
4087
+ });
4088
+ }(t$2) : t$2;
4089
+ }
4090
+ let $t;
4091
+ function _booleanEnv(e$2, t$2) {
4092
+ const i$1 = _jsonEnv(e$2, t$2);
4093
+ return Boolean(i$1);
4094
+ }
4095
+ function _jsonEnv(e$2, t$2) {
4096
+ const i$1 = process.env[e$2];
4097
+ if (!(e$2 in process.env)) return t$2;
4098
+ try {
4099
+ return JSON.parse(i$1);
4100
+ } catch {
4101
+ return t$2;
4102
+ }
4103
+ }
4104
+ const qt = /\.(c|m)?j(sx?)$/, Wt = /\.(c|m)?t(sx?)$/;
4105
+ function jitiResolve(e$2, t$2, i$1) {
4106
+ let s$1, r$1;
4107
+ if (e$2.isNativeRe.test(t$2)) return t$2;
4108
+ e$2.alias && (t$2 = function(e$3, t$3) {
4109
+ const i$2 = pathe_M_eThtNZ_normalizeWindowsPath(e$3);
4110
+ t$3 = normalizeAliases(t$3);
4111
+ for (const [e$4, s$2] of Object.entries(t$3)) {
4112
+ if (!i$2.startsWith(e$4)) continue;
4113
+ if (utils_hasTrailingSlash(i$2[(utils_hasTrailingSlash(e$4) ? e$4.slice(0, -1) : e$4).length])) return pathe_M_eThtNZ_join(s$2, i$2.slice(e$4.length));
4114
+ }
4115
+ return i$2;
4116
+ }(t$2, e$2.alias));
4117
+ let n$1 = i$1?.parentURL || e$2.url;
4118
+ isDir(n$1) && (n$1 = pathe_M_eThtNZ_join(n$1, "_index.js"));
4119
+ const a$1 = (i$1?.async ? [
4120
+ i$1?.conditions,
4121
+ ["node", "import"],
4122
+ ["node", "require"]
4123
+ ] : [
4124
+ i$1?.conditions,
4125
+ ["node", "require"],
4126
+ ["node", "import"]
4127
+ ]).filter(Boolean);
4128
+ for (const i$2 of a$1) {
4129
+ try {
4130
+ s$1 = resolvePathSync(t$2, {
4131
+ url: n$1,
4132
+ conditions: i$2,
4133
+ extensions: e$2.opts.extensions
4134
+ });
4135
+ } catch (e$3) {
4136
+ r$1 = e$3;
4137
+ }
4138
+ if (s$1) return s$1;
4139
+ }
4140
+ try {
4141
+ return e$2.nativeRequire.resolve(t$2, { paths: i$1.paths });
4142
+ } catch (e$3) {
4143
+ r$1 = e$3;
4144
+ }
4145
+ for (const r$2 of e$2.additionalExts) {
4146
+ if (s$1 = tryNativeRequireResolve(e$2, t$2 + r$2, n$1, i$1) || tryNativeRequireResolve(e$2, t$2 + "/index" + r$2, n$1, i$1), s$1) return s$1;
4147
+ if ((Wt.test(e$2.filename) || Wt.test(e$2.parentModule?.filename || "") || qt.test(t$2)) && (s$1 = tryNativeRequireResolve(e$2, t$2.replace(qt, ".$1t$2"), n$1, i$1), s$1)) return s$1;
4148
+ }
4149
+ if (!i$1?.try) throw r$1;
4150
+ }
4151
+ function tryNativeRequireResolve(e$2, t$2, i$1, s$1) {
4152
+ try {
4153
+ return e$2.nativeRequire.resolve(t$2, {
4154
+ ...s$1,
4155
+ paths: [pathe_M_eThtNZ_dirname(fileURLToPath(i$1)), ...s$1?.paths || []]
4156
+ });
4157
+ } catch {}
4158
+ }
4159
+ const Gt = __require("node:perf_hooks"), Ht = __require("node:vm");
4160
+ var Kt = __webpack_require__.n(Ht);
4161
+ function jitiRequire(e$2, t$2, i$1) {
4162
+ const s$1 = e$2.parentCache || {};
4163
+ if (t$2.startsWith("node:")) return nativeImportOrRequire(e$2, t$2, i$1.async);
4164
+ if (t$2.startsWith("file:")) t$2 = (0, _e.fileURLToPath)(t$2);
4165
+ else if (t$2.startsWith("data:")) {
4166
+ if (!i$1.async) throw new Error("`data:` URLs are only supported in ESM context. Use `import` or `jiti.import` instead.");
4167
+ return debug(e$2, "[native]", "[data]", "[import]", t$2), nativeImportOrRequire(e$2, t$2, !0);
4168
+ }
4169
+ if (le.builtinModules.includes(t$2) || ".pnp.js" === t$2) return nativeImportOrRequire(e$2, t$2, i$1.async);
4170
+ if (e$2.opts.tryNative && !e$2.opts.transformOptions) try {
4171
+ if (!(t$2 = jitiResolve(e$2, t$2, i$1)) && i$1.try) return;
4172
+ if (debug(e$2, "[try-native]", i$1.async && e$2.nativeImport ? "[import]" : "[require]", t$2), i$1.async && e$2.nativeImport) return e$2.nativeImport(t$2).then((i$2) => (!1 === e$2.opts.moduleCache && delete e$2.nativeRequire.cache[t$2], jitiInteropDefault(e$2, i$2)));
4173
+ {
4174
+ const i$2 = e$2.nativeRequire(t$2);
4175
+ return !1 === e$2.opts.moduleCache && delete e$2.nativeRequire.cache[t$2], jitiInteropDefault(e$2, i$2);
4176
+ }
4177
+ } catch (i$2) {
4178
+ debug(e$2, `[try-native] Using fallback for ${t$2} because of an error:`, i$2);
4179
+ }
4180
+ const r$1 = jitiResolve(e$2, t$2, i$1);
4181
+ if (!r$1 && i$1.try) return;
4182
+ const n$1 = extname(r$1);
4183
+ if (".json" === n$1) {
4184
+ debug(e$2, "[json]", r$1);
4185
+ const t$3 = e$2.nativeRequire(r$1);
4186
+ return t$3 && !("default" in t$3) && Object.defineProperty(t$3, "default", {
4187
+ value: t$3,
4188
+ enumerable: !1
4189
+ }), t$3;
4190
+ }
4191
+ if (n$1 && !e$2.opts.extensions.includes(n$1)) return debug(e$2, "[native]", "[unknown]", i$1.async ? "[import]" : "[require]", r$1), nativeImportOrRequire(e$2, r$1, i$1.async);
4192
+ if (e$2.isNativeRe.test(r$1)) return debug(e$2, "[native]", i$1.async ? "[import]" : "[require]", r$1), nativeImportOrRequire(e$2, r$1, i$1.async);
4193
+ if (s$1[r$1]) return jitiInteropDefault(e$2, s$1[r$1]?.exports);
4194
+ if (e$2.opts.moduleCache) {
4195
+ const t$3 = e$2.nativeRequire.cache[r$1];
4196
+ if (t$3?.loaded) return jitiInteropDefault(e$2, t$3.exports);
4197
+ }
4198
+ return eval_evalModule(e$2, (0, ue.readFileSync)(r$1, "utf8"), {
4199
+ id: t$2,
4200
+ filename: r$1,
4201
+ ext: n$1,
4202
+ cache: s$1,
4203
+ async: i$1.async
4204
+ });
4205
+ }
4206
+ function nativeImportOrRequire(e$2, t$2, i$1) {
4207
+ return i$1 && e$2.nativeImport ? e$2.nativeImport(function(e$3) {
4208
+ return kt && isAbsolute(e$3) ? pathToFileURL(e$3) : e$3;
4209
+ }(t$2)).then((t$3) => jitiInteropDefault(e$2, t$3)) : jitiInteropDefault(e$2, e$2.nativeRequire(t$2));
4210
+ }
4211
+ const zt = "9";
4212
+ function getCache(e$2, t$2, i$1) {
4213
+ if (!e$2.opts.fsCache || !t$2.filename) return i$1();
4214
+ const s$1 = ` /* v${zt}-${utils_hash(t$2.source, 16)} */\n`;
4215
+ let r$1 = `${basename(pathe_M_eThtNZ_dirname(t$2.filename))}-${function(e$3) {
4216
+ const t$3 = e$3.split(lt).pop();
4217
+ if (!t$3) return;
4218
+ const i$2 = t$3.lastIndexOf(".");
4219
+ return i$2 <= 0 ? t$3 : t$3.slice(0, i$2);
4220
+ }(t$2.filename)}` + (e$2.opts.sourceMaps ? "+map" : "") + (t$2.interopDefault ? ".i" : "") + `.${utils_hash(t$2.filename)}` + (t$2.async ? ".mjs" : ".cjs");
4221
+ t$2.jsx && t$2.filename.endsWith("x") && (r$1 += "x");
4222
+ const n$1 = e$2.opts.fsCache, a$1 = pathe_M_eThtNZ_join(n$1, r$1);
4223
+ if (!e$2.opts.rebuildFsCache && (0, ue.existsSync)(a$1)) {
4224
+ const i$2 = (0, ue.readFileSync)(a$1, "utf8");
4225
+ if (i$2.endsWith(s$1)) return debug(e$2, "[cache]", "[hit]", t$2.filename, "~>", a$1), i$2;
4226
+ }
4227
+ debug(e$2, "[cache]", "[miss]", t$2.filename);
4228
+ const o$1 = i$1();
4229
+ return o$1.includes("__JITI_ERROR__") || ((0, ue.writeFileSync)(a$1, o$1 + s$1, "utf8"), debug(e$2, "[cache]", "[store]", t$2.filename, "~>", a$1)), o$1;
4230
+ }
4231
+ function prepareCacheDir(t$2) {
4232
+ if (!0 === t$2.opts.fsCache && (t$2.opts.fsCache = function(t$3) {
4233
+ const i$1 = t$3.filename && pathe_M_eThtNZ_resolve(t$3.filename, "../node_modules");
4234
+ if (i$1 && (0, ue.existsSync)(i$1)) return pathe_M_eThtNZ_join(i$1, ".cache/jiti");
4235
+ let s$1 = (0, e$1.tmpdir)();
4236
+ if (process.env.TMPDIR && s$1 === process.cwd() && !process.env.JITI_RESPECT_TMPDIR_ENV) {
4237
+ const t$4 = process.env.TMPDIR;
4238
+ delete process.env.TMPDIR, s$1 = (0, e$1.tmpdir)(), process.env.TMPDIR = t$4;
4239
+ }
4240
+ return pathe_M_eThtNZ_join(s$1, "jiti");
4241
+ }(t$2)), t$2.opts.fsCache) try {
4242
+ if ((0, ue.mkdirSync)(t$2.opts.fsCache, { recursive: !0 }), !function(e$2) {
4243
+ try {
4244
+ return (0, ue.accessSync)(e$2, ue.constants.W_OK), !0;
4245
+ } catch {
4246
+ return !1;
4247
+ }
4248
+ }(t$2.opts.fsCache)) throw new Error("directory is not writable!");
4249
+ } catch (e$2) {
4250
+ debug(t$2, "Error creating cache directory at ", t$2.opts.fsCache, e$2), t$2.opts.fsCache = !1;
4251
+ }
4252
+ }
4253
+ function transform(e$2, t$2) {
4254
+ let i$1 = getCache(e$2, t$2, () => {
4255
+ const i$2 = e$2.opts.transform({
4256
+ ...e$2.opts.transformOptions,
4257
+ babel: {
4258
+ ...e$2.opts.sourceMaps ? {
4259
+ sourceFileName: t$2.filename,
4260
+ sourceMaps: "inline"
4261
+ } : {},
4262
+ ...e$2.opts.transformOptions?.babel
4263
+ },
4264
+ interopDefault: e$2.opts.interopDefault,
4265
+ ...t$2
4266
+ });
4267
+ return i$2.error && e$2.opts.debug && debug(e$2, i$2.error), i$2.code;
4268
+ });
4269
+ return i$1.startsWith("#!") && (i$1 = "// " + i$1), i$1;
4270
+ }
4271
+ function eval_evalModule(e$2, t$2, i$1 = {}) {
4272
+ const s$1 = i$1.id || (i$1.filename ? basename(i$1.filename) : `_jitiEval.${i$1.ext || (i$1.async ? "mjs" : "js")}`), r$1 = i$1.filename || jitiResolve(e$2, s$1, { async: i$1.async }), n$1 = i$1.ext || extname(r$1), a$1 = i$1.cache || e$2.parentCache || {}, o$1 = /\.[cm]?tsx?$/.test(n$1), h$1 = ".mjs" === n$1 || ".js" === n$1 && "module" === function(e$3) {
4273
+ for (; e$3 && "." !== e$3 && "/" !== e$3;) {
4274
+ e$3 = pathe_M_eThtNZ_join(e$3, "..");
4275
+ try {
4276
+ const t$3 = (0, ue.readFileSync)(pathe_M_eThtNZ_join(e$3, "package.json"), "utf8");
4277
+ try {
4278
+ return JSON.parse(t$3);
4279
+ } catch {}
4280
+ break;
4281
+ } catch {}
4282
+ }
4283
+ }(r$1)?.type, c$1 = ".cjs" === n$1, p$1 = i$1.forceTranspile ?? (!c$1 && !(h$1 && i$1.async) && (o$1 || h$1 || e$2.isTransformRe.test(r$1) || hasESMSyntax(t$2))), l$1 = Gt.performance.now();
4284
+ if (p$1) {
4285
+ t$2 = transform(e$2, {
4286
+ filename: r$1,
4287
+ source: t$2,
4288
+ ts: o$1,
4289
+ async: i$1.async ?? !1,
4290
+ jsx: e$2.opts.jsx
4291
+ });
4292
+ const s$2 = Math.round(1e3 * (Gt.performance.now() - l$1)) / 1e3;
4293
+ debug(e$2, "[transpile]", i$1.async ? "[esm]" : "[cjs]", r$1, `(${s$2}ms)`);
4294
+ } else {
4295
+ if (debug(e$2, "[native]", i$1.async ? "[import]" : "[require]", r$1), i$1.async) return Promise.resolve(nativeImportOrRequire(e$2, r$1, i$1.async)).catch((s$2) => (debug(e$2, "Native import error:", s$2), debug(e$2, "[fallback]", r$1), eval_evalModule(e$2, t$2, {
4296
+ ...i$1,
4297
+ forceTranspile: !0
4298
+ })));
4299
+ try {
4300
+ return nativeImportOrRequire(e$2, r$1, i$1.async);
4301
+ } catch (s$2) {
4302
+ debug(e$2, "Native require error:", s$2), debug(e$2, "[fallback]", r$1), t$2 = transform(e$2, {
4303
+ filename: r$1,
4304
+ source: t$2,
4305
+ ts: o$1,
4306
+ async: i$1.async ?? !1,
4307
+ jsx: e$2.opts.jsx
4308
+ });
4309
+ }
4310
+ }
4311
+ const u$1 = new le.Module(r$1);
4312
+ u$1.filename = r$1, e$2.parentModule && (u$1.parent = e$2.parentModule, Array.isArray(e$2.parentModule.children) && !e$2.parentModule.children.includes(u$1) && e$2.parentModule.children.push(u$1));
4313
+ const d$1 = createJiti(r$1, e$2.opts, {
4314
+ parentModule: u$1,
4315
+ parentCache: a$1,
4316
+ nativeImport: e$2.nativeImport,
4317
+ onError: e$2.onError,
4318
+ createRequire: e$2.createRequire
4319
+ }, !0);
4320
+ let f$1;
4321
+ u$1.require = d$1, u$1.path = pathe_M_eThtNZ_dirname(r$1), u$1.paths = le.Module._nodeModulePaths(u$1.path), a$1[r$1] = u$1, e$2.opts.moduleCache && (e$2.nativeRequire.cache[r$1] = u$1);
4322
+ const m$1 = function(e$3, t$3) {
4323
+ return `(${t$3?.async ? "async " : ""}function (exports, require, module, __filename, __dirname, jitiImport, jitiESMResolve) { ${e$3}\n});`;
4324
+ }(t$2, { async: i$1.async });
4325
+ try {
4326
+ f$1 = Kt().runInThisContext(m$1, {
4327
+ filename: r$1,
4328
+ lineOffset: 0,
4329
+ displayErrors: !1
4330
+ });
4331
+ } catch (t$3) {
4332
+ "SyntaxError" === t$3.name && i$1.async && e$2.nativeImport ? (debug(e$2, "[esm]", "[import]", "[fallback]", r$1), f$1 = function(e$3, t$4) {
4333
+ const i$2 = `data:text/javascript;base64,${Buffer.from(`export default ${e$3}`).toString("base64")}`;
4334
+ return (...e$4) => t$4(i$2).then((t$5) => t$5.default(...e$4));
4335
+ }(m$1, e$2.nativeImport)) : (e$2.opts.moduleCache && delete e$2.nativeRequire.cache[r$1], e$2.onError(t$3));
4336
+ }
4337
+ let g$1;
4338
+ try {
4339
+ g$1 = f$1(u$1.exports, u$1.require, u$1, u$1.filename, pathe_M_eThtNZ_dirname(u$1.filename), d$1.import, d$1.esmResolve);
4340
+ } catch (t$3) {
4341
+ e$2.opts.moduleCache && delete e$2.nativeRequire.cache[r$1], e$2.onError(t$3);
4342
+ }
4343
+ function next() {
4344
+ if (u$1.exports && u$1.exports.__JITI_ERROR__) {
4345
+ const { filename: t$3, line: i$2, column: s$2, code: r$2, message: n$2 } = u$1.exports.__JITI_ERROR__, a$2 = /* @__PURE__ */ new Error(`${r$2}: ${n$2} \n ${`${t$3}:${i$2}:${s$2}`}`);
4346
+ Error.captureStackTrace(a$2, jitiRequire), e$2.onError(a$2);
4347
+ }
4348
+ u$1.loaded = !0;
4349
+ return jitiInteropDefault(e$2, u$1.exports);
4350
+ }
4351
+ return i$1.async ? Promise.resolve(g$1).then(next) : next();
4352
+ }
4353
+ const Jt = "win32" === (0, e$1.platform)();
4354
+ function createJiti(e$2, t$2 = {}, i$1, s$1 = !1) {
4355
+ const r$1 = s$1 ? t$2 : function(e$3) {
4356
+ const t$3 = {
4357
+ fsCache: _booleanEnv("JITI_FS_CACHE", _booleanEnv("JITI_CACHE", !0)),
4358
+ rebuildFsCache: _booleanEnv("JITI_REBUILD_FS_CACHE", !1),
4359
+ moduleCache: _booleanEnv("JITI_MODULE_CACHE", _booleanEnv("JITI_REQUIRE_CACHE", !0)),
4360
+ debug: _booleanEnv("JITI_DEBUG", !1),
4361
+ sourceMaps: _booleanEnv("JITI_SOURCE_MAPS", !1),
4362
+ interopDefault: _booleanEnv("JITI_INTEROP_DEFAULT", !0),
4363
+ extensions: _jsonEnv("JITI_EXTENSIONS", [
4364
+ ".js",
4365
+ ".mjs",
4366
+ ".cjs",
4367
+ ".ts",
4368
+ ".tsx",
4369
+ ".mts",
4370
+ ".cts",
4371
+ ".mtsx",
4372
+ ".ctsx"
4373
+ ]),
4374
+ alias: _jsonEnv("JITI_ALIAS", {}),
4375
+ nativeModules: _jsonEnv("JITI_NATIVE_MODULES", []),
4376
+ transformModules: _jsonEnv("JITI_TRANSFORM_MODULES", []),
4377
+ tryNative: _jsonEnv("JITI_TRY_NATIVE", "Bun" in globalThis),
4378
+ jsx: _booleanEnv("JITI_JSX", !1)
4379
+ };
4380
+ t$3.jsx && t$3.extensions.push(".jsx", ".tsx");
4381
+ const i$2 = {};
4382
+ return void 0 !== e$3.cache && (i$2.fsCache = e$3.cache), void 0 !== e$3.requireCache && (i$2.moduleCache = e$3.requireCache), {
4383
+ ...t$3,
4384
+ ...i$2,
4385
+ ...e$3
4386
+ };
4387
+ }(t$2), n$1 = r$1.alias && Object.keys(r$1.alias).length > 0 ? normalizeAliases(r$1.alias || {}) : void 0, a$1 = [
4388
+ "typescript",
4389
+ "jiti",
4390
+ ...r$1.nativeModules || []
4391
+ ], o$1 = /* @__PURE__ */ new RegExp(`node_modules/(${a$1.map((e$3) => escapeStringRegexp(e$3)).join("|")})/`), h$1 = [...r$1.transformModules || []], c$1 = /* @__PURE__ */ new RegExp(`node_modules/(${h$1.map((e$3) => escapeStringRegexp(e$3)).join("|")})/`);
4392
+ e$2 || (e$2 = process.cwd()), !s$1 && isDir(e$2) && (e$2 = pathe_M_eThtNZ_join(e$2, "_index.js"));
4393
+ const p$1 = pathToFileURL(e$2), l$1 = [...r$1.extensions].filter((e$3) => ".js" !== e$3), u$1 = i$1.createRequire(Jt ? e$2.replace(/\//g, "\\") : e$2), d$1 = {
4394
+ filename: e$2,
4395
+ url: p$1,
4396
+ opts: r$1,
4397
+ alias: n$1,
4398
+ nativeModules: a$1,
4399
+ transformModules: h$1,
4400
+ isNativeRe: o$1,
4401
+ isTransformRe: c$1,
4402
+ additionalExts: l$1,
4403
+ nativeRequire: u$1,
4404
+ onError: i$1.onError,
4405
+ parentModule: i$1.parentModule,
4406
+ parentCache: i$1.parentCache,
4407
+ nativeImport: i$1.nativeImport,
4408
+ createRequire: i$1.createRequire
4409
+ };
4410
+ s$1 || debug(d$1, "[init]", ...[
4411
+ ["version:", ut.rE],
4412
+ ["module-cache:", r$1.moduleCache],
4413
+ ["fs-cache:", r$1.fsCache],
4414
+ ["rebuild-fs-cache:", r$1.rebuildFsCache],
4415
+ ["interop-defaults:", r$1.interopDefault]
4416
+ ].flat()), s$1 || prepareCacheDir(d$1);
4417
+ return Object.assign(function(e$3) {
4418
+ return jitiRequire(d$1, e$3, { async: !1 });
4419
+ }, {
4420
+ cache: r$1.moduleCache ? u$1.cache : Object.create(null),
4421
+ extensions: u$1.extensions,
4422
+ main: u$1.main,
4423
+ options: r$1,
4424
+ resolve: Object.assign(function(e$3) {
4425
+ return jitiResolve(d$1, e$3, { async: !1 });
4426
+ }, { paths: u$1.resolve.paths }),
4427
+ transform: (e$3) => transform(d$1, e$3),
4428
+ evalModule: (e$3, t$3) => eval_evalModule(d$1, e$3, t$3),
4429
+ async import(e$3, t$3) {
4430
+ const i$2 = await jitiRequire(d$1, e$3, {
4431
+ ...t$3,
4432
+ async: !0
4433
+ });
4434
+ return t$3?.default ? i$2?.default ?? i$2 : i$2;
4435
+ },
4436
+ esmResolve(e$3, t$3) {
4437
+ "string" == typeof t$3 && (t$3 = { parentURL: t$3 });
4438
+ const i$2 = jitiResolve(d$1, e$3, {
4439
+ parentURL: p$1,
4440
+ ...t$3,
4441
+ async: !0
4442
+ });
4443
+ return !i$2 || "string" != typeof i$2 || i$2.startsWith("file://") ? i$2 : pathToFileURL(i$2);
4444
+ }
4445
+ });
4446
+ }
4447
+ })(), module.exports = i.default;
4448
+ })();
4449
+ }));
4450
+
4451
+ //#endregion
4452
+ export default require_jiti();
4453
+
4454
+ export { require_jiti };