void 0.1.6 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (333) hide show
  1. package/AGENT_PROMPT.md +15 -0
  2. package/README.md +62 -123
  3. package/dist/auth-BdsJ0Aff.d.mts +43 -0
  4. package/dist/auth-cmd-Dx8oPKZC.mjs +43 -0
  5. package/dist/auth-migrations-BAtAck2g.mjs +117 -0
  6. package/dist/better-auth-shared-C9_GHSkR.d.mts +71 -0
  7. package/dist/better-auth-shared-CdYmQGry.mjs +163 -0
  8. package/dist/cache-W82I8ihI.mjs +47 -0
  9. package/dist/cancel-deploy-BOBTqqh0.mjs +59 -0
  10. package/dist/cf-access-Dee5cXxL.mjs +22 -0
  11. package/dist/chunk-DJd-R1mw.mjs +34 -0
  12. package/dist/cli/cli.d.mts +1 -0
  13. package/dist/cli/cli.mjs +1807 -0
  14. package/dist/client-snXOjrp1.mjs +565 -0
  15. package/dist/collect-CjeZgz5D.mjs +55 -0
  16. package/dist/config-BIa9HwVX.mjs +573 -0
  17. package/dist/config-BzM9Dy7T.mjs +37 -0
  18. package/dist/config-CvHtTM0q.mjs +30 -0
  19. package/dist/create-project-BIA15W7z.mjs +90 -0
  20. package/dist/db-DsRoMcfN.mjs +895 -0
  21. package/dist/defer-DcxEsVH1.mjs +49 -0
  22. package/dist/delete-DAP6yDc7.mjs +64 -0
  23. package/dist/deploy-BPKblFx6.mjs +2424 -0
  24. package/dist/discover-B7FkXBLB.mjs +40 -0
  25. package/dist/dist-DUyXJLkq.mjs +2667 -0
  26. package/dist/dist-Dayj3gCK.mjs +1287 -0
  27. package/dist/domain-BGofcQ6I.mjs +79 -0
  28. package/dist/dotenv-DwO4ti0Z.mjs +173 -0
  29. package/dist/drizzle-NnudE_UN.mjs +232 -0
  30. package/dist/env-CyG3tvU0.mjs +301 -0
  31. package/dist/env-helpers-Dr9Y7RnE.d.mts +52 -0
  32. package/dist/env-raw-BDL4TvdN.mjs +32 -0
  33. package/dist/env-types-DknSA4SO.mjs +64 -0
  34. package/dist/env-validation-DJKjR_8q.mjs +163 -0
  35. package/dist/fetch-error-BQ8sZ5Nd.mjs +266 -0
  36. package/dist/fetch-error-CVZ5CGA-.d.mts +20 -0
  37. package/dist/gen-U0Ktr4Zd.mjs +761 -0
  38. package/dist/handler-B0ds0OHJ.d.mts +269 -0
  39. package/dist/head-P-egrtFE.d.mts +45 -0
  40. package/dist/headers-DCXc7mDs.mjs +279 -0
  41. package/dist/index.d.mts +32 -0
  42. package/dist/index.mjs +4695 -0
  43. package/dist/init-C7wS5iGP.mjs +2625 -0
  44. package/dist/link-p2R6NbgN.mjs +49 -0
  45. package/dist/list-Bfel-QLc.mjs +113 -0
  46. package/dist/log-DXdqnmhF.mjs +26 -0
  47. package/dist/login-CkcXUiIu.mjs +72 -0
  48. package/dist/logs-DmkrRvx6.mjs +98 -0
  49. package/dist/magic-string.es-D6g9UnIy.mjs +1011 -0
  50. package/dist/mcp-CaQzfeUi.mjs +373 -0
  51. package/dist/node-DDfXj10V.mjs +54 -0
  52. package/dist/output-BwlcIYSR.mjs +139 -0
  53. package/dist/pages/client.d.mts +198 -0
  54. package/dist/pages/client.mjs +980 -0
  55. package/dist/pages/head-client.d.mts +15 -0
  56. package/dist/pages/head-client.mjs +90 -0
  57. package/dist/pages/head.d.mts +2 -0
  58. package/dist/pages/head.mjs +112 -0
  59. package/dist/pages/index.d.mts +38 -0
  60. package/dist/pages/index.mjs +76 -0
  61. package/dist/pages/islands-plugin.d.mts +50 -0
  62. package/dist/pages/islands-plugin.mjs +195 -0
  63. package/dist/pages/prefetch.d.mts +31 -0
  64. package/dist/pages/prefetch.mjs +90 -0
  65. package/dist/pages/protocol.d.mts +3 -0
  66. package/dist/pages/protocol.mjs +193 -0
  67. package/dist/pages/serialize.d.mts +10 -0
  68. package/dist/pages/serialize.mjs +14 -0
  69. package/dist/pathe.M-eThtNZ-D-kmWkCS.mjs +150 -0
  70. package/dist/plugin-inference-oZ6Ybu2_.mjs +2447 -0
  71. package/dist/prepare-BAtWufvm.mjs +99 -0
  72. package/dist/preset-D4I73kT4.mjs +221 -0
  73. package/dist/project-TqORyHn8.mjs +72 -0
  74. package/dist/project-cmd-B7lQp3F3.mjs +67 -0
  75. package/dist/project-slug-CKam8lF9.mjs +11 -0
  76. package/dist/project-tsconfig-DfkESbDL.mjs +63 -0
  77. package/dist/protocol-BWzXs2A2.d.mts +34 -0
  78. package/dist/providers-B3aMxWzP.mjs +67 -0
  79. package/dist/resolve-project-Br5BR03U.mjs +29 -0
  80. package/dist/rollback-gyC59l7U.mjs +92 -0
  81. package/dist/route-types-DReF1gUY.mjs +255 -0
  82. package/dist/routes-stub.d.mts +55 -0
  83. package/dist/routes-stub.mjs +1 -0
  84. package/dist/runner-6Ep3fNQu.mjs +123 -0
  85. package/dist/runner-pg-D0wWHYnr.mjs +57 -0
  86. package/dist/runtime/ai.d.mts +127 -0
  87. package/dist/runtime/ai.mjs +348 -0
  88. package/dist/runtime/auth-client-react.d.mts +8 -0
  89. package/dist/runtime/auth-client-react.mjs +6 -0
  90. package/dist/runtime/auth-client-solid.d.mts +8 -0
  91. package/dist/runtime/auth-client-solid.mjs +6 -0
  92. package/dist/runtime/auth-client-svelte.d.mts +8 -0
  93. package/dist/runtime/auth-client-svelte.mjs +6 -0
  94. package/dist/runtime/auth-client-vue.d.mts +8 -0
  95. package/dist/runtime/auth-client-vue.mjs +6 -0
  96. package/dist/runtime/auth-client.d.mts +8 -0
  97. package/dist/runtime/auth-client.mjs +6 -0
  98. package/dist/runtime/auth.d.mts +2 -0
  99. package/dist/runtime/auth.mjs +22 -0
  100. package/dist/runtime/better-auth-pg.d.mts +11 -0
  101. package/dist/runtime/better-auth-pg.mjs +51 -0
  102. package/dist/runtime/better-auth.d.mts +11 -0
  103. package/dist/runtime/better-auth.mjs +33 -0
  104. package/dist/runtime/client.d.mts +6 -0
  105. package/dist/runtime/client.mjs +5 -0
  106. package/dist/runtime/db-pg.d.mts +2 -0
  107. package/dist/runtime/db-pg.mjs +1 -0
  108. package/dist/runtime/db.d.mts +17 -0
  109. package/dist/runtime/db.mjs +30 -0
  110. package/dist/runtime/drizzle-arktype.d.mts +1 -0
  111. package/dist/runtime/drizzle-arktype.mjs +2 -0
  112. package/dist/runtime/drizzle-valibot.d.mts +1 -0
  113. package/dist/runtime/drizzle-valibot.mjs +2 -0
  114. package/dist/runtime/drizzle-zod.d.mts +1 -0
  115. package/dist/runtime/drizzle-zod.mjs +2 -0
  116. package/dist/runtime/env-helpers.d.mts +2 -0
  117. package/dist/runtime/env-helpers.mjs +173 -0
  118. package/dist/runtime/env-public-client.d.mts +22 -0
  119. package/dist/runtime/env-public-client.mjs +54 -0
  120. package/dist/runtime/env-public.d.mts +143 -0
  121. package/dist/runtime/env-public.mjs +366 -0
  122. package/dist/runtime/env.d.mts +13 -0
  123. package/dist/runtime/env.mjs +51 -0
  124. package/dist/runtime/fetch-stream.d.mts +51 -0
  125. package/dist/runtime/fetch-stream.mjs +81 -0
  126. package/dist/runtime/fetch.d.mts +59 -0
  127. package/dist/runtime/fetch.mjs +18 -0
  128. package/dist/runtime/handler.d.mts +3 -0
  129. package/dist/runtime/handler.mjs +85 -0
  130. package/dist/runtime/isr.d.mts +26 -0
  131. package/dist/runtime/isr.mjs +43 -0
  132. package/dist/runtime/kv.d.mts +48 -0
  133. package/dist/runtime/kv.mjs +106 -0
  134. package/dist/runtime/log.d.mts +24 -0
  135. package/dist/runtime/log.mjs +31 -0
  136. package/dist/runtime/migration-handler-pg.d.mts +6 -0
  137. package/dist/runtime/migration-handler-pg.mjs +85 -0
  138. package/dist/runtime/migration-handler.d.mts +19 -0
  139. package/dist/runtime/migration-handler.mjs +92 -0
  140. package/dist/runtime/queues.d.mts +7 -0
  141. package/dist/runtime/queues.mjs +8 -0
  142. package/dist/runtime/remote/binding-handler.d.mts +15 -0
  143. package/dist/runtime/remote/binding-handler.mjs +208 -0
  144. package/dist/runtime/remote/index.d.mts +8 -0
  145. package/dist/runtime/remote/index.mjs +461 -0
  146. package/dist/runtime/response.d.mts +14 -0
  147. package/dist/runtime/response.mjs +30 -0
  148. package/dist/runtime/sandbox.d.mts +17 -0
  149. package/dist/runtime/sandbox.mjs +19 -0
  150. package/dist/runtime/schema-d1.d.mts +1 -0
  151. package/dist/runtime/schema-d1.mjs +2 -0
  152. package/dist/runtime/schema-pg.d.mts +1 -0
  153. package/dist/runtime/schema-pg.mjs +2 -0
  154. package/dist/runtime/seed.d.mts +30 -0
  155. package/dist/runtime/seed.mjs +6 -0
  156. package/dist/runtime/storage.d.mts +7 -0
  157. package/dist/runtime/storage.mjs +14 -0
  158. package/dist/runtime/validator.d.mts +2 -0
  159. package/dist/runtime/validator.mjs +72 -0
  160. package/dist/runtime/ws-server.d.mts +26 -0
  161. package/dist/runtime/ws-server.mjs +296 -0
  162. package/dist/runtime/ws.d.mts +123 -0
  163. package/dist/runtime/ws.mjs +103 -0
  164. package/dist/scan-Ba4hFwlH.mjs +324 -0
  165. package/dist/scan-C6HMEIdW.mjs +318 -0
  166. package/dist/secret-CeRSukgM.mjs +109 -0
  167. package/dist/skills-ipldjlKE.mjs +62 -0
  168. package/dist/standard-schema-9CRjx-uR.d.mts +42 -0
  169. package/dist/subcommand-prompt-BKjuNAPb.mjs +349 -0
  170. package/dist/sveltekit.d.mts +20 -0
  171. package/dist/sveltekit.mjs +61 -0
  172. package/dist/types-mHOEwpW4.d.mts +57 -0
  173. package/dist/validate-CaMavMxu.mjs +146 -0
  174. package/dist/yarn-pnp-BFqMV_bl.mjs +196 -0
  175. package/getting-started-prompt.txt +26 -0
  176. package/package.json +322 -30
  177. package/schema.json +364 -0
  178. package/skills/migrate-vite-cloudflare-to-void/SKILL.md +175 -0
  179. package/skills/void/SKILL.md +75 -0
  180. package/skills/void/command/void.md +7 -0
  181. package/skills/void/docs/guide/ai.md +235 -0
  182. package/skills/void/docs/guide/app-types.md +103 -0
  183. package/skills/void/docs/guide/auth.md +257 -0
  184. package/skills/void/docs/guide/database/d1.md +106 -0
  185. package/skills/void/docs/guide/database/postgresql.md +106 -0
  186. package/skills/void/docs/guide/database.md +418 -0
  187. package/skills/void/docs/guide/deployment.md +98 -0
  188. package/skills/void/docs/guide/edge/headers.md +79 -0
  189. package/skills/void/docs/guide/edge/prerendering.md +83 -0
  190. package/skills/void/docs/guide/edge/redirects.md +116 -0
  191. package/skills/void/docs/guide/edge/revalidation.md +131 -0
  192. package/skills/void/docs/guide/edge/rewrites.md +354 -0
  193. package/skills/void/docs/guide/edge/static-assets.md +72 -0
  194. package/skills/void/docs/guide/env-vars.md +298 -0
  195. package/skills/void/docs/guide/index.md +80 -0
  196. package/skills/void/docs/guide/jobs.md +91 -0
  197. package/skills/void/docs/guide/kv.md +107 -0
  198. package/skills/void/docs/guide/pages-routing/actions-and-forms.md +419 -0
  199. package/skills/void/docs/guide/pages-routing/head.md +130 -0
  200. package/skills/void/docs/guide/pages-routing/islands.md +405 -0
  201. package/skills/void/docs/guide/pages-routing/layouts.md +362 -0
  202. package/skills/void/docs/guide/pages-routing/loaders.md +267 -0
  203. package/skills/void/docs/guide/pages-routing/markdown.md +625 -0
  204. package/skills/void/docs/guide/pages-routing/overview.md +236 -0
  205. package/skills/void/docs/guide/pages-routing/view-transitions.md +140 -0
  206. package/skills/void/docs/guide/queues.md +140 -0
  207. package/skills/void/docs/guide/quickstart.md +233 -0
  208. package/skills/void/docs/guide/remote-dev.md +67 -0
  209. package/skills/void/docs/guide/sandboxes.md +82 -0
  210. package/skills/void/docs/guide/server-routing.md +246 -0
  211. package/skills/void/docs/guide/ssg.md +74 -0
  212. package/skills/void/docs/guide/ssr.md +105 -0
  213. package/skills/void/docs/guide/storage.md +67 -0
  214. package/skills/void/docs/guide/type-safety.md +179 -0
  215. package/skills/void/docs/guide/typed-fetch.md +113 -0
  216. package/skills/void/docs/guide/websockets.md +190 -0
  217. package/skills/void/docs/index.md +48 -0
  218. package/skills/void/docs/integrations/agents.md +84 -0
  219. package/skills/void/docs/integrations/cloudflare.md +284 -0
  220. package/skills/void/docs/integrations/frameworks/analog.md +182 -0
  221. package/skills/void/docs/integrations/frameworks/astro.md +197 -0
  222. package/skills/void/docs/integrations/frameworks/nuxt.md +164 -0
  223. package/skills/void/docs/integrations/frameworks/overview.md +136 -0
  224. package/skills/void/docs/integrations/frameworks/react-router.md +137 -0
  225. package/skills/void/docs/integrations/frameworks/sveltekit.md +191 -0
  226. package/skills/void/docs/integrations/frameworks/tanstack-start.md +140 -0
  227. package/skills/void/docs/integrations/hono.md +97 -0
  228. package/skills/void/docs/integrations/nodejs-bun-deno.md +210 -0
  229. package/skills/void/docs/node_modules/@iconify/vue/README.md +408 -0
  230. package/skills/void/docs/node_modules/@iconify/vue/offline/readme.md +5 -0
  231. package/skills/void/docs/node_modules/@voidzero-dev/vitepress-theme/README.md +103 -0
  232. package/skills/void/docs/node_modules/oxc-minify/README.md +78 -0
  233. package/skills/void/docs/node_modules/reka-ui/README.md +80 -0
  234. package/skills/void/docs/node_modules/vitepress/README.md +28 -0
  235. package/skills/void/docs/node_modules/vitepress/template/api-examples.md +49 -0
  236. package/skills/void/docs/node_modules/vitepress/template/index.md +28 -0
  237. package/skills/void/docs/node_modules/vitepress/template/markdown-examples.md +85 -0
  238. package/skills/void/docs/node_modules/vitepress-plugin-group-icons/README.md +101 -0
  239. package/skills/void/docs/node_modules/void/AGENTS.md +204 -0
  240. package/skills/void/docs/node_modules/void/AGENT_PROMPT.md +15 -0
  241. package/skills/void/docs/node_modules/void/README.md +89 -0
  242. package/skills/void/docs/node_modules/void/node_modules/@clack/prompts/CHANGELOG.md +591 -0
  243. package/skills/void/docs/node_modules/void/node_modules/@clack/prompts/README.md +375 -0
  244. package/skills/void/docs/node_modules/void/node_modules/@cloudflare/sandbox/README.md +174 -0
  245. package/skills/void/docs/node_modules/void/node_modules/@cloudflare/vite-plugin/README.md +37 -0
  246. package/skills/void/docs/node_modules/void/node_modules/@cloudflare/workers-types/README.md +135 -0
  247. package/skills/void/docs/node_modules/void/node_modules/@electric-sql/pglite/README.md +189 -0
  248. package/skills/void/docs/node_modules/void/node_modules/@hono/oauth-providers/CHANGELOG.md +143 -0
  249. package/skills/void/docs/node_modules/void/node_modules/@hono/oauth-providers/README.md +1272 -0
  250. package/skills/void/docs/node_modules/void/node_modules/@napi-rs/keyring/README.md +19 -0
  251. package/skills/void/docs/node_modules/void/node_modules/@types/better-sqlite3/README.md +15 -0
  252. package/skills/void/docs/node_modules/void/node_modules/@types/node/README.md +15 -0
  253. package/skills/void/docs/node_modules/void/node_modules/@types/pg/README.md +15 -0
  254. package/skills/void/docs/node_modules/void/node_modules/@typescript/native-preview/README.md +22 -0
  255. package/skills/void/docs/node_modules/void/node_modules/@typescript/native-preview/vendor/vscode-jsonrpc/README.md +69 -0
  256. package/skills/void/docs/node_modules/void/node_modules/@void/md/README.md +152 -0
  257. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/@shikijs/engine-javascript/README.md +9 -0
  258. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/@shikijs/transformers/README.md +9 -0
  259. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/@types/node/README.md +15 -0
  260. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/gray-matter/CHANGELOG.md +24 -0
  261. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/gray-matter/README.md +565 -0
  262. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-exit/README.md +124 -0
  263. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-anchor/README.md +600 -0
  264. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-attrs/README.md +386 -0
  265. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-container/README.md +95 -0
  266. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-emoji/README.md +101 -0
  267. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/pathe/README.md +73 -0
  268. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/shiki/README.md +15 -0
  269. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/tinyglobby/README.md +25 -0
  270. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/tsdown/README.md +55 -0
  271. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite/LICENSE.md +2230 -0
  272. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite/README.md +20 -0
  273. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vue/README.md +58 -0
  274. package/skills/void/docs/node_modules/void/node_modules/arktype/README.md +165 -0
  275. package/skills/void/docs/node_modules/void/node_modules/better-auth/LICENSE.md +20 -0
  276. package/skills/void/docs/node_modules/void/node_modules/better-auth/README.md +32 -0
  277. package/skills/void/docs/node_modules/void/node_modules/better-sqlite3/README.md +99 -0
  278. package/skills/void/docs/node_modules/void/node_modules/blake3-jit/README.md +108 -0
  279. package/skills/void/docs/node_modules/void/node_modules/drizzle-arktype/README.md +51 -0
  280. package/skills/void/docs/node_modules/void/node_modules/drizzle-kit/README.md +79 -0
  281. package/skills/void/docs/node_modules/void/node_modules/drizzle-orm/README.md +44 -0
  282. package/skills/void/docs/node_modules/void/node_modules/drizzle-valibot/README.md +51 -0
  283. package/skills/void/docs/node_modules/void/node_modules/drizzle-zod/README.md +65 -0
  284. package/skills/void/docs/node_modules/void/node_modules/es-module-lexer/README.md +390 -0
  285. package/skills/void/docs/node_modules/void/node_modules/estree-walker/README.md +48 -0
  286. package/skills/void/docs/node_modules/void/node_modules/hono/README.md +85 -0
  287. package/skills/void/docs/node_modules/void/node_modules/ignore/README.md +452 -0
  288. package/skills/void/docs/node_modules/void/node_modules/jsonc-parser/CHANGELOG.md +76 -0
  289. package/{LICENSE → skills/void/docs/node_modules/void/node_modules/jsonc-parser/LICENSE.md} +21 -21
  290. package/skills/void/docs/node_modules/void/node_modules/jsonc-parser/README.md +364 -0
  291. package/skills/void/docs/node_modules/void/node_modules/jsonc-parser/SECURITY.md +41 -0
  292. package/skills/void/docs/node_modules/void/node_modules/magic-string/README.md +325 -0
  293. package/skills/void/docs/node_modules/void/node_modules/ofetch/README.md +398 -0
  294. package/skills/void/docs/node_modules/void/node_modules/pathe/README.md +73 -0
  295. package/skills/void/docs/node_modules/void/node_modules/pg/README.md +95 -0
  296. package/skills/void/docs/node_modules/void/node_modules/pglite-server/LICENSE.md +21 -0
  297. package/skills/void/docs/node_modules/void/node_modules/pglite-server/README.md +135 -0
  298. package/skills/void/docs/node_modules/void/node_modules/picocolors/README.md +21 -0
  299. package/skills/void/docs/node_modules/void/node_modules/tinyglobby/README.md +25 -0
  300. package/skills/void/docs/node_modules/void/node_modules/tsdown/README.md +55 -0
  301. package/skills/void/docs/node_modules/void/node_modules/valibot/LICENSE.md +9 -0
  302. package/skills/void/docs/node_modules/void/node_modules/valibot/README.md +94 -0
  303. package/skills/void/docs/node_modules/void/node_modules/vite/LICENSE.md +2230 -0
  304. package/skills/void/docs/node_modules/void/node_modules/vite/README.md +20 -0
  305. package/skills/void/docs/node_modules/void/node_modules/wrangler/README.md +63 -0
  306. package/skills/void/docs/node_modules/void/node_modules/zod/README.md +191 -0
  307. package/skills/void/docs/node_modules/void/skills/migrate-vite-cloudflare-to-void/SKILL.md +175 -0
  308. package/skills/void/docs/node_modules/void/skills/void/SKILL.md +75 -0
  309. package/skills/void/docs/node_modules/void/skills/void/command/void.md +7 -0
  310. package/skills/void/docs/reference/api.md +917 -0
  311. package/skills/void/docs/reference/cli.md +561 -0
  312. package/skills/void/docs/reference/config.md +408 -0
  313. package/skills/void/docs/reference/resource-inference.md +149 -0
  314. package/skills/void/docs/reference/structure.md +176 -0
  315. package/.npmignore +0 -29
  316. package/.travis.yml +0 -9
  317. package/favicon.ico +0 -0
  318. package/index.js +0 -14
  319. package/lib/Job.js +0 -150
  320. package/lib/Void.js +0 -99
  321. package/lib/scan.js +0 -19
  322. package/test/credentials.js +0 -20
  323. package/test/job.js +0 -64
  324. package/test/static/dir1/test6.html +0 -0
  325. package/test/static/dir2/test7.html +0 -0
  326. package/test/static/dir2/test8.html +0 -0
  327. package/test/static/dir2/test9.html +0 -0
  328. package/test/static/test1.html +0 -0
  329. package/test/static/test2.html +0 -0
  330. package/test/static/test3.html +0 -0
  331. package/test/void.js +0 -31
  332. /package/{test/static/dir1/test4.html → skills/void/docs/integrations/auth-providers.md} +0 -0
  333. /package/{test/static/dir1/test5.html → skills/void/docs/integrations/payment-processors.md} +0 -0
@@ -0,0 +1,2447 @@
1
+ import { a as join } from "./pathe.M-eThtNZ-D-kmWkCS.mjs";
2
+ import { n as globSync } from "./dist-DUyXJLkq.mjs";
3
+ import { existsSync, readFileSync } from "node:fs";
4
+ import { parseSync } from "vite";
5
+ //#region ../../node_modules/.pnpm/es-module-lexer@2.1.0/node_modules/es-module-lexer/dist/lexer.asm.js
6
+ let e, a, r, i = 2 << 19;
7
+ const s = 1 === new Uint8Array(new Uint16Array([1]).buffer)[0] ? function(e, a) {
8
+ const r = e.length;
9
+ let i = 0;
10
+ for (; i < r;) a[i] = e.charCodeAt(i++);
11
+ } : function(e, a) {
12
+ const r = e.length;
13
+ let i = 0;
14
+ for (; i < r;) {
15
+ const r = e.charCodeAt(i);
16
+ a[i++] = (255 & r) << 8 | r >>> 8;
17
+ }
18
+ }, f = "xportmportlassforetaourceeferromsyncunctionvoyiedelecontininstantybreareturdebuggeawaithrwhileifcatcfinallels";
19
+ let t, c, n;
20
+ function parse(k, u = "@") {
21
+ t = k, c = u;
22
+ const l = 2 * t.length + (2 << 18);
23
+ if (l > i || !e) {
24
+ for (; l > i;) i *= 2;
25
+ a = new ArrayBuffer(i), s(f, new Uint16Array(a, 16, 109)), e = function(e, a, r) {
26
+ var i = new e.Int8Array(r), s = new e.Int16Array(r), f = new e.Int32Array(r), t = new e.Uint8Array(r);
27
+ new e.Uint16Array(r);
28
+ var n = 1040;
29
+ function b() {
30
+ var e = 0, a = 0, r = 0, t = 0, c = 0, b = 0, l = 0, d = 0, C = 0, g = 0;
31
+ g = n;
32
+ n = n + 10240 | 0;
33
+ i[808] = 1;
34
+ i[807] = 0;
35
+ s[401] = 0;
36
+ s[402] = 0;
37
+ f[70] = f[2];
38
+ i[809] = 0;
39
+ f[68] = 0;
40
+ i[806] = 0;
41
+ f[71] = g + 2048;
42
+ f[72] = g;
43
+ i[810] = 0;
44
+ e = (f[3] | 0) + -2 | 0;
45
+ f[73] = e;
46
+ a = e + (f[66] << 1) | 0;
47
+ f[74] = a;
48
+ e: while (1) {
49
+ r = e + 2 | 0;
50
+ f[73] = r;
51
+ if (e >>> 0 >= a >>> 0) {
52
+ t = 18;
53
+ break;
54
+ }
55
+ a: do
56
+ switch (s[r >> 1] | 0) {
57
+ case 9:
58
+ case 10:
59
+ case 11:
60
+ case 12:
61
+ case 13:
62
+ case 32: break;
63
+ case 101:
64
+ if ((((s[402] | 0) == 0 ? J(r) | 0 : 0) ? (I(e + 4 | 0, 16, 10) | 0) == 0 : 0) ? (k(), (i[808] | 0) == 0) : 0) {
65
+ t = 9;
66
+ break e;
67
+ } else t = 17;
68
+ break;
69
+ case 105:
70
+ if (J(r) | 0 ? (I(e + 4 | 0, 26, 10) | 0) == 0 : 0) {
71
+ u();
72
+ t = 17;
73
+ } else t = 17;
74
+ break;
75
+ case 59:
76
+ t = 17;
77
+ break;
78
+ case 47: switch (s[e + 4 >> 1] | 0) {
79
+ case 47:
80
+ P();
81
+ break a;
82
+ case 42:
83
+ m(1);
84
+ break a;
85
+ default:
86
+ t = 16;
87
+ break e;
88
+ }
89
+ default:
90
+ t = 16;
91
+ break e;
92
+ }
93
+ while (0);
94
+ if ((t | 0) == 17) {
95
+ t = 0;
96
+ f[70] = f[73];
97
+ }
98
+ e = f[73] | 0;
99
+ a = f[74] | 0;
100
+ }
101
+ if ((t | 0) == 9) {
102
+ e = f[73] | 0;
103
+ f[70] = e;
104
+ t = 19;
105
+ } else if ((t | 0) == 16) {
106
+ i[808] = 0;
107
+ f[73] = e;
108
+ t = 19;
109
+ } else if ((t | 0) == 18) if (!(i[806] | 0)) {
110
+ e = r;
111
+ t = 19;
112
+ } else e = 0;
113
+ do
114
+ if ((t | 0) == 19) {
115
+ e: while (1) {
116
+ a = e + 2 | 0;
117
+ f[73] = a;
118
+ if (e >>> 0 >= (f[74] | 0) >>> 0) {
119
+ t = 102;
120
+ break;
121
+ }
122
+ a: do
123
+ switch (s[a >> 1] | 0) {
124
+ case 9:
125
+ case 10:
126
+ case 11:
127
+ case 12:
128
+ case 13:
129
+ case 32: break;
130
+ case 101:
131
+ if (((s[402] | 0) == 0 ? J(a) | 0 : 0) ? (I(e + 4 | 0, 16, 10) | 0) == 0 : 0) {
132
+ k();
133
+ t = 101;
134
+ } else t = 101;
135
+ break;
136
+ case 105:
137
+ if (J(a) | 0 ? (I(e + 4 | 0, 26, 10) | 0) == 0 : 0) {
138
+ u();
139
+ t = 101;
140
+ } else t = 101;
141
+ break;
142
+ case 99:
143
+ if ((J(a) | 0 ? (I(e + 4 | 0, 36, 8) | 0) == 0 : 0) ? X(s[e + 12 >> 1] | 0) | 0 : 0) {
144
+ i[810] = 1;
145
+ t = 101;
146
+ } else t = 101;
147
+ break;
148
+ case 40:
149
+ r = f[71] | 0;
150
+ e = s[402] | 0;
151
+ t = e & 65535;
152
+ f[r + (t << 3) >> 2] = 1;
153
+ a = f[70] | 0;
154
+ s[402] = e + 1 << 16 >> 16;
155
+ f[r + (t << 3) + 4 >> 2] = a;
156
+ t = 101;
157
+ break;
158
+ case 91:
159
+ r = f[71] | 0;
160
+ e = s[402] | 0;
161
+ t = e & 65535;
162
+ f[r + (t << 3) >> 2] = 8;
163
+ a = f[70] | 0;
164
+ s[402] = e + 1 << 16 >> 16;
165
+ f[r + (t << 3) + 4 >> 2] = a;
166
+ t = 101;
167
+ break;
168
+ case 93:
169
+ e = s[402] | 0;
170
+ if (!(e << 16 >> 16)) {
171
+ t = 37;
172
+ break e;
173
+ }
174
+ s[402] = e + -1 << 16 >> 16;
175
+ t = 101;
176
+ break;
177
+ case 44:
178
+ t = s[401] | 0;
179
+ a = t & 65535;
180
+ if (((t << 16 >> 16 != 0 ? (c = s[402] | 0, c << 16 >> 16 != 0) : 0) ? (f[(f[71] | 0) + ((c & 65535) + -1 << 3) >> 2] | 0) == 5 : 0) ? (b = f[(f[72] | 0) + (a + -1 << 2) >> 2] | 0, d = b + 4 | 0, (f[d >> 2] | 0) == 0) : 0) {
181
+ f[d >> 2] = (f[70] | 0) + 2;
182
+ f[73] = e + 4;
183
+ w(1) | 0;
184
+ t = f[73] | 0;
185
+ f[b + 16 >> 2] = t;
186
+ f[73] = t + -2;
187
+ t = 101;
188
+ } else t = 101;
189
+ break;
190
+ case 41:
191
+ a = s[402] | 0;
192
+ if (!(a << 16 >> 16)) {
193
+ t = 45;
194
+ break e;
195
+ }
196
+ r = a + -1 << 16 >> 16;
197
+ s[402] = r;
198
+ t = s[401] | 0;
199
+ a = t & 65535;
200
+ if (t << 16 >> 16 != 0 ? (f[(f[71] | 0) + ((r & 65535) << 3) >> 2] | 0) == 5 : 0) {
201
+ a = f[(f[72] | 0) + (a + -1 << 2) >> 2] | 0;
202
+ r = a + 4 | 0;
203
+ if (!(f[r >> 2] | 0)) f[r >> 2] = (f[70] | 0) + 2;
204
+ f[a + 12 >> 2] = e + 4;
205
+ s[401] = t + -1 << 16 >> 16;
206
+ t = 101;
207
+ } else t = 101;
208
+ break;
209
+ case 123:
210
+ t = f[70] | 0;
211
+ r = f[63] | 0;
212
+ e = t;
213
+ do
214
+ if ((s[t >> 1] | 0) == 41 & (r | 0) != 0 ? (f[r + 4 >> 2] | 0) == (t | 0) : 0) {
215
+ a = f[64] | 0;
216
+ f[63] = a;
217
+ if (!a) {
218
+ f[59] = 0;
219
+ break;
220
+ } else {
221
+ f[a + 36 >> 2] = 0;
222
+ break;
223
+ }
224
+ }
225
+ while (0);
226
+ r = f[71] | 0;
227
+ a = s[402] | 0;
228
+ t = a & 65535;
229
+ f[r + (t << 3) >> 2] = (i[810] | 0) == 0 ? 2 : 6;
230
+ s[402] = a + 1 << 16 >> 16;
231
+ f[r + (t << 3) + 4 >> 2] = e;
232
+ i[810] = 0;
233
+ t = 101;
234
+ break;
235
+ case 125:
236
+ e = s[402] | 0;
237
+ if (!(e << 16 >> 16)) {
238
+ t = 58;
239
+ break e;
240
+ }
241
+ r = f[71] | 0;
242
+ t = e + -1 << 16 >> 16;
243
+ s[402] = t;
244
+ if ((f[r + ((t & 65535) << 3) >> 2] | 0) == 4) {
245
+ h();
246
+ t = 101;
247
+ } else t = 101;
248
+ break;
249
+ case 39:
250
+ v(39);
251
+ t = 101;
252
+ break;
253
+ case 34:
254
+ v(34);
255
+ t = 101;
256
+ break;
257
+ case 47: switch (s[e + 4 >> 1] | 0) {
258
+ case 47:
259
+ P();
260
+ break a;
261
+ case 42:
262
+ m(1);
263
+ break a;
264
+ default:
265
+ e = f[70] | 0;
266
+ a = s[e >> 1] | 0;
267
+ r: do
268
+ if (!(x(a) | 0)) if (a << 16 >> 16 == 41) {
269
+ r = s[402] | 0;
270
+ if (!(D(f[(f[71] | 0) + ((r & 65535) << 3) + 4 >> 2] | 0) | 0)) t = 74;
271
+ } else t = 73;
272
+ else switch (a << 16 >> 16) {
273
+ case 46: if (((s[e + -2 >> 1] | 0) + -48 & 65535) < 10) {
274
+ t = 73;
275
+ break r;
276
+ } else break r;
277
+ case 43: if ((s[e + -2 >> 1] | 0) == 43) {
278
+ t = 73;
279
+ break r;
280
+ } else break r;
281
+ case 45: if ((s[e + -2 >> 1] | 0) == 45) {
282
+ t = 73;
283
+ break r;
284
+ } else break r;
285
+ default: break r;
286
+ }
287
+ while (0);
288
+ if ((t | 0) == 73) {
289
+ r = s[402] | 0;
290
+ t = 74;
291
+ }
292
+ r: do
293
+ if ((t | 0) == 74) {
294
+ t = 0;
295
+ if (r << 16 >> 16 != 0 ? (l = f[71] | 0, C = (r & 65535) + -1 | 0, a << 16 >> 16 == 102 ? (f[l + (C << 3) >> 2] | 0) == 1 : 0) : 0) {
296
+ if (((s[e + -2 >> 1] | 0) == 111 ? A(e + -4 | 0) | 0 : 0) ? T(f[l + (C << 3) + 4 >> 2] | 0, 44, 3) | 0 : 0) break;
297
+ } else t = 79;
298
+ if ((t | 0) == 79 ? a << 16 >> 16 == 125 : 0) {
299
+ t = f[71] | 0;
300
+ r = r & 65535;
301
+ if (y(f[t + (r << 3) + 4 >> 2] | 0) | 0) break;
302
+ if ((f[t + (r << 3) >> 2] | 0) == 6) break;
303
+ }
304
+ if (!(o(e) | 0)) {
305
+ switch (a << 16 >> 16) {
306
+ case 0: break r;
307
+ case 47:
308
+ if (i[809] | 0) break r;
309
+ break;
310
+ default:
311
+ }
312
+ t = f[65] | 0;
313
+ if ((t | 0 ? e >>> 0 >= (f[t >> 2] | 0) >>> 0 : 0) ? e >>> 0 <= (f[t + 4 >> 2] | 0) >>> 0 : 0) {
314
+ p();
315
+ i[809] = 0;
316
+ t = 101;
317
+ break a;
318
+ }
319
+ r = f[3] | 0;
320
+ do {
321
+ if (e >>> 0 <= r >>> 0) break;
322
+ e = e + -2 | 0;
323
+ f[70] = e;
324
+ a = s[e >> 1] | 0;
325
+ } while (!(E(a) | 0));
326
+ if (F(a) | 0) {
327
+ do {
328
+ if (e >>> 0 <= r >>> 0) break;
329
+ e = e + -2 | 0;
330
+ f[70] = e;
331
+ } while (F(s[e >> 1] | 0) | 0);
332
+ if (j(e) | 0) {
333
+ p();
334
+ i[809] = 0;
335
+ t = 101;
336
+ break a;
337
+ }
338
+ }
339
+ i[809] = 1;
340
+ t = 101;
341
+ break a;
342
+ }
343
+ }
344
+ while (0);
345
+ p();
346
+ i[809] = 0;
347
+ t = 101;
348
+ break a;
349
+ }
350
+ case 96:
351
+ r = f[71] | 0;
352
+ a = s[402] | 0;
353
+ t = a & 65535;
354
+ f[r + (t << 3) + 4 >> 2] = f[70];
355
+ s[402] = a + 1 << 16 >> 16;
356
+ f[r + (t << 3) >> 2] = 3;
357
+ h();
358
+ t = 101;
359
+ break;
360
+ default: t = 101;
361
+ }
362
+ while (0);
363
+ if ((t | 0) == 101) {
364
+ t = 0;
365
+ f[70] = f[73];
366
+ }
367
+ e = f[73] | 0;
368
+ }
369
+ if ((t | 0) == 37) {
370
+ W();
371
+ e = 0;
372
+ break;
373
+ } else if ((t | 0) == 45) {
374
+ W();
375
+ e = 0;
376
+ break;
377
+ } else if ((t | 0) == 58) {
378
+ W();
379
+ e = 0;
380
+ break;
381
+ } else if ((t | 0) == 102) {
382
+ e = (i[806] | 0) == 0 ? (s[401] | s[402]) << 16 >> 16 == 0 : 0;
383
+ break;
384
+ }
385
+ }
386
+ while (0);
387
+ n = g;
388
+ return e | 0;
389
+ }
390
+ function k() {
391
+ var e = 0, a = 0, r = 0, t = 0, c = 0, n = 0, b = 0, k = 0, u = 0, o = 0, h = 0, d = 0, A = 0, g = 0;
392
+ k = f[73] | 0;
393
+ u = f[65] | 0;
394
+ g = k + 12 | 0;
395
+ f[73] = g;
396
+ r = w(1) | 0;
397
+ e = f[73] | 0;
398
+ if (!((e | 0) == (g | 0) ? !(U(r) | 0) : 0)) A = 3;
399
+ e: do
400
+ if ((A | 0) == 3) {
401
+ a: do
402
+ switch (r << 16 >> 16) {
403
+ case 123:
404
+ f[73] = e + 2;
405
+ e = w(1) | 0;
406
+ a = f[73] | 0;
407
+ while (1) {
408
+ if (Y(e) | 0) {
409
+ v(e);
410
+ e = (f[73] | 0) + 2 | 0;
411
+ f[73] = e;
412
+ } else {
413
+ q(e) | 0;
414
+ e = f[73] | 0;
415
+ }
416
+ w(1) | 0;
417
+ e = C(a, e) | 0;
418
+ if (e << 16 >> 16 == 44) {
419
+ f[73] = (f[73] | 0) + 2;
420
+ e = w(1) | 0;
421
+ }
422
+ if (e << 16 >> 16 == 125) {
423
+ A = 15;
424
+ break;
425
+ }
426
+ g = a;
427
+ a = f[73] | 0;
428
+ if ((a | 0) == (g | 0)) {
429
+ A = 12;
430
+ break;
431
+ }
432
+ if (a >>> 0 > (f[74] | 0) >>> 0) {
433
+ A = 14;
434
+ break;
435
+ }
436
+ }
437
+ if ((A | 0) == 12) {
438
+ W();
439
+ break e;
440
+ } else if ((A | 0) == 14) {
441
+ W();
442
+ break e;
443
+ } else if ((A | 0) == 15) {
444
+ i[807] = 1;
445
+ f[73] = (f[73] | 0) + 2;
446
+ break a;
447
+ }
448
+ break;
449
+ case 42:
450
+ f[73] = e + 2;
451
+ w(1) | 0;
452
+ g = f[73] | 0;
453
+ C(g, g) | 0;
454
+ break;
455
+ default:
456
+ i[808] = 0;
457
+ switch (r << 16 >> 16) {
458
+ case 100:
459
+ k = e + 14 | 0;
460
+ f[73] = k;
461
+ switch ((w(1) | 0) << 16 >> 16) {
462
+ case 97:
463
+ a = f[73] | 0;
464
+ if ((I(a + 2 | 0, 80, 8) | 0) == 0 ? (c = a + 10 | 0, F(s[c >> 1] | 0) | 0) : 0) {
465
+ f[73] = c;
466
+ w(0) | 0;
467
+ A = 22;
468
+ }
469
+ break;
470
+ case 102:
471
+ A = 22;
472
+ break;
473
+ case 99:
474
+ a = f[73] | 0;
475
+ if (((I(a + 2 | 0, 36, 8) | 0) == 0 ? (t = a + 10 | 0, g = s[t >> 1] | 0, X(g) | 0 | g << 16 >> 16 == 123) : 0) ? (f[73] = t, n = w(1) | 0, n << 16 >> 16 != 123) : 0) {
476
+ d = n;
477
+ A = 31;
478
+ }
479
+ break;
480
+ default:
481
+ }
482
+ r: do
483
+ if ((A | 0) == 22 ? (b = f[73] | 0, (I(b + 2 | 0, 88, 14) | 0) == 0) : 0) {
484
+ r = b + 16 | 0;
485
+ a = s[r >> 1] | 0;
486
+ if (!(X(a) | 0)) switch (a << 16 >> 16) {
487
+ case 40:
488
+ case 42: break;
489
+ default: break r;
490
+ }
491
+ f[73] = r;
492
+ a = w(1) | 0;
493
+ if (a << 16 >> 16 == 42) {
494
+ f[73] = (f[73] | 0) + 2;
495
+ a = w(1) | 0;
496
+ }
497
+ if (a << 16 >> 16 != 40) {
498
+ d = a;
499
+ A = 31;
500
+ }
501
+ }
502
+ while (0);
503
+ if ((A | 0) == 31 ? (o = f[73] | 0, q(d) | 0, h = f[73] | 0, h >>> 0 > o >>> 0) : 0) {
504
+ $(e, k, o, h);
505
+ f[73] = (f[73] | 0) + -2;
506
+ break e;
507
+ }
508
+ $(e, k, 0, 0);
509
+ f[73] = e + 12;
510
+ break e;
511
+ case 97:
512
+ f[73] = e + 10;
513
+ w(0) | 0;
514
+ e = f[73] | 0;
515
+ A = 35;
516
+ break;
517
+ case 102:
518
+ A = 35;
519
+ break;
520
+ case 99:
521
+ if ((I(e + 2 | 0, 36, 8) | 0) == 0 ? (a = e + 10 | 0, E(s[a >> 1] | 0) | 0) : 0) {
522
+ f[73] = a;
523
+ g = w(1) | 0;
524
+ A = f[73] | 0;
525
+ q(g) | 0;
526
+ g = f[73] | 0;
527
+ $(A, g, A, g);
528
+ f[73] = (f[73] | 0) + -2;
529
+ break e;
530
+ }
531
+ e = e + 4 | 0;
532
+ f[73] = e;
533
+ break;
534
+ case 108:
535
+ case 118: break;
536
+ default: break e;
537
+ }
538
+ if ((A | 0) == 35) {
539
+ f[73] = e + 16;
540
+ e = w(1) | 0;
541
+ if (e << 16 >> 16 == 42) {
542
+ f[73] = (f[73] | 0) + 2;
543
+ e = w(1) | 0;
544
+ }
545
+ A = f[73] | 0;
546
+ q(e) | 0;
547
+ g = f[73] | 0;
548
+ $(A, g, A, g);
549
+ f[73] = (f[73] | 0) + -2;
550
+ break e;
551
+ }
552
+ f[73] = e + 6;
553
+ i[808] = 0;
554
+ r = w(1) | 0;
555
+ e = f[73] | 0;
556
+ r = (q(r) | 32) << 16 >> 16 == 123;
557
+ t = f[73] | 0;
558
+ if (r) {
559
+ f[73] = t + 2;
560
+ g = w(1) | 0;
561
+ e = f[73] | 0;
562
+ q(g) | 0;
563
+ }
564
+ r: while (1) {
565
+ a = f[73] | 0;
566
+ if ((a | 0) == (e | 0)) break;
567
+ $(e, a, e, a);
568
+ a = w(1) | 0;
569
+ if (r) switch (a << 16 >> 16) {
570
+ case 93:
571
+ case 125: break e;
572
+ default:
573
+ }
574
+ e = f[73] | 0;
575
+ if (a << 16 >> 16 != 44) {
576
+ A = 51;
577
+ break;
578
+ }
579
+ f[73] = e + 2;
580
+ a = w(1) | 0;
581
+ e = f[73] | 0;
582
+ switch (a << 16 >> 16) {
583
+ case 91:
584
+ case 123:
585
+ A = 51;
586
+ break r;
587
+ default:
588
+ }
589
+ q(a) | 0;
590
+ }
591
+ if ((A | 0) == 51) f[73] = e + -2;
592
+ if (!r) break e;
593
+ f[73] = t + -2;
594
+ break e;
595
+ }
596
+ while (0);
597
+ g = (w(1) | 0) << 16 >> 16 == 102;
598
+ e = f[73] | 0;
599
+ if (g ? (I(e + 2 | 0, 74, 6) | 0) == 0 : 0) {
600
+ f[73] = e + 8;
601
+ l(k, w(1) | 0, 0);
602
+ e = (u | 0) == 0 ? 240 : u + 16 | 0;
603
+ while (1) {
604
+ e = f[e >> 2] | 0;
605
+ if (!e) break e;
606
+ f[e + 12 >> 2] = 0;
607
+ f[e + 8 >> 2] = 0;
608
+ e = e + 16 | 0;
609
+ }
610
+ }
611
+ f[73] = e + -2;
612
+ }
613
+ while (0);
614
+ }
615
+ function u() {
616
+ var e = 0, a = 0, r = 0, t = 0, c = 0, n = 0, b = 0;
617
+ b = f[73] | 0;
618
+ c = b + 12 | 0;
619
+ f[73] = c;
620
+ e = w(1) | 0;
621
+ t = f[73] | 0;
622
+ e: do
623
+ if (e << 16 >> 16 != 46) {
624
+ if (!(e << 16 >> 16 == 115 & t >>> 0 > c >>> 0)) {
625
+ if (!(e << 16 >> 16 == 100 & t >>> 0 > (b + 10 | 0) >>> 0)) {
626
+ t = 0;
627
+ n = 28;
628
+ break;
629
+ }
630
+ if (I(t + 2 | 0, 66, 8) | 0) {
631
+ a = t;
632
+ e = 100;
633
+ t = 0;
634
+ n = 59;
635
+ break;
636
+ }
637
+ e = t + 10 | 0;
638
+ if (!(X(s[e >> 1] | 0) | 0)) {
639
+ a = t;
640
+ e = 100;
641
+ t = 0;
642
+ n = 59;
643
+ break;
644
+ }
645
+ f[73] = e;
646
+ e = w(1) | 0;
647
+ if (e << 16 >> 16 == 42) {
648
+ e = 42;
649
+ t = 2;
650
+ n = 61;
651
+ break;
652
+ }
653
+ f[73] = t;
654
+ t = 0;
655
+ n = 28;
656
+ break;
657
+ }
658
+ if ((I(t + 2 | 0, 56, 10) | 0) == 0 ? (r = t + 12 | 0, X(s[r >> 1] | 0) | 0) : 0) {
659
+ f[73] = r;
660
+ e = w(1) | 0;
661
+ a = f[73] | 0;
662
+ if ((a | 0) != (r | 0)) {
663
+ if (e << 16 >> 16 != 102) {
664
+ t = 1;
665
+ n = 28;
666
+ break;
667
+ }
668
+ if (I(a + 2 | 0, 74, 6) | 0) {
669
+ e = 102;
670
+ t = 1;
671
+ n = 59;
672
+ break;
673
+ }
674
+ if (!(E(s[a + 8 >> 1] | 0) | 0)) {
675
+ e = 102;
676
+ t = 1;
677
+ n = 59;
678
+ break;
679
+ }
680
+ }
681
+ f[73] = t;
682
+ t = 0;
683
+ n = 28;
684
+ } else {
685
+ a = t;
686
+ e = 115;
687
+ t = 0;
688
+ n = 59;
689
+ }
690
+ } else {
691
+ f[73] = t + 2;
692
+ switch ((w(1) | 0) << 16 >> 16) {
693
+ case 109:
694
+ e = f[73] | 0;
695
+ if (I(e + 2 | 0, 50, 6) | 0) break e;
696
+ a = f[70] | 0;
697
+ if (!(G(a) | 0) ? (s[a >> 1] | 0) == 46 : 0) break e;
698
+ d(b, b, e + 8 | 0, 2);
699
+ break e;
700
+ case 115:
701
+ e = f[73] | 0;
702
+ if (I(e + 2 | 0, 56, 10) | 0) break e;
703
+ a = f[70] | 0;
704
+ if (!(G(a) | 0) ? (s[a >> 1] | 0) == 46 : 0) break e;
705
+ f[73] = e + 12;
706
+ e = w(1) | 0;
707
+ t = 1;
708
+ n = 28;
709
+ break e;
710
+ case 100:
711
+ e = f[73] | 0;
712
+ if (I(e + 2 | 0, 66, 8) | 0) break e;
713
+ a = f[70] | 0;
714
+ if (!(G(a) | 0) ? (s[a >> 1] | 0) == 46 : 0) break e;
715
+ f[73] = e + 10;
716
+ e = w(1) | 0;
717
+ t = 2;
718
+ n = 28;
719
+ break e;
720
+ default: break e;
721
+ }
722
+ }
723
+ while (0);
724
+ e: do
725
+ if ((n | 0) == 28) {
726
+ if (e << 16 >> 16 == 40) {
727
+ r = f[71] | 0;
728
+ a = s[402] | 0;
729
+ c = a & 65535;
730
+ f[r + (c << 3) >> 2] = 5;
731
+ e = f[73] | 0;
732
+ s[402] = a + 1 << 16 >> 16;
733
+ f[r + (c << 3) + 4 >> 2] = e;
734
+ if ((s[f[70] >> 1] | 0) == 46) break;
735
+ f[73] = e + 2;
736
+ a = w(1) | 0;
737
+ d(b, f[73] | 0, 0, e);
738
+ if (!t) e = f[63] | 0;
739
+ else {
740
+ e = f[63] | 0;
741
+ f[e + 28 >> 2] = (t | 0) == 1 ? 5 : 7;
742
+ }
743
+ c = f[72] | 0;
744
+ b = s[401] | 0;
745
+ s[401] = b + 1 << 16 >> 16;
746
+ f[c + ((b & 65535) << 2) >> 2] = e;
747
+ switch (a << 16 >> 16) {
748
+ case 39:
749
+ v(39);
750
+ break;
751
+ case 34:
752
+ v(34);
753
+ break;
754
+ default:
755
+ f[73] = (f[73] | 0) + -2;
756
+ break e;
757
+ }
758
+ e = (f[73] | 0) + 2 | 0;
759
+ f[73] = e;
760
+ switch ((w(1) | 0) << 16 >> 16) {
761
+ case 44:
762
+ f[73] = (f[73] | 0) + 2;
763
+ w(1) | 0;
764
+ c = f[63] | 0;
765
+ f[c + 4 >> 2] = e;
766
+ b = f[73] | 0;
767
+ f[c + 16 >> 2] = b;
768
+ i[c + 24 >> 0] = 1;
769
+ f[73] = b + -2;
770
+ break e;
771
+ case 41:
772
+ s[402] = (s[402] | 0) + -1 << 16 >> 16;
773
+ b = f[63] | 0;
774
+ f[b + 4 >> 2] = e;
775
+ f[b + 12 >> 2] = (f[73] | 0) + 2;
776
+ i[b + 24 >> 0] = 1;
777
+ s[401] = (s[401] | 0) + -1 << 16 >> 16;
778
+ break e;
779
+ default:
780
+ f[73] = (f[73] | 0) + -2;
781
+ break e;
782
+ }
783
+ }
784
+ if (!((t | 0) == 0 & e << 16 >> 16 == 123)) {
785
+ switch (e << 16 >> 16) {
786
+ case 42:
787
+ case 39:
788
+ case 34:
789
+ n = 61;
790
+ break e;
791
+ default:
792
+ }
793
+ a = f[73] | 0;
794
+ n = 59;
795
+ break;
796
+ }
797
+ e = f[73] | 0;
798
+ if (s[402] | 0) {
799
+ f[73] = e + -2;
800
+ break;
801
+ }
802
+ while (1) {
803
+ if (e >>> 0 >= (f[74] | 0) >>> 0) break;
804
+ e = w(1) | 0;
805
+ if (!(Y(e) | 0)) {
806
+ if (e << 16 >> 16 == 125) {
807
+ n = 49;
808
+ break;
809
+ }
810
+ } else v(e);
811
+ e = (f[73] | 0) + 2 | 0;
812
+ f[73] = e;
813
+ }
814
+ if ((n | 0) == 49) f[73] = (f[73] | 0) + 2;
815
+ c = (w(1) | 0) << 16 >> 16 == 102;
816
+ e = f[73] | 0;
817
+ if (c ? I(e + 2 | 0, 74, 6) | 0 : 0) {
818
+ W();
819
+ break;
820
+ }
821
+ f[73] = e + 8;
822
+ e = w(1) | 0;
823
+ if (Y(e) | 0) {
824
+ l(b, e, 0);
825
+ break;
826
+ } else {
827
+ W();
828
+ break;
829
+ }
830
+ }
831
+ while (0);
832
+ if ((n | 0) == 59) if ((a | 0) == (c | 0)) f[73] = b + 10;
833
+ else n = 61;
834
+ do
835
+ if ((n | 0) == 61) {
836
+ if (!((e << 16 >> 16 == 42 | (t | 0) != 2) & (s[402] | 0) == 0)) {
837
+ f[73] = (f[73] | 0) + -2;
838
+ break;
839
+ }
840
+ e = f[74] | 0;
841
+ a = f[73] | 0;
842
+ while (1) {
843
+ if (a >>> 0 >= e >>> 0) {
844
+ n = 68;
845
+ break;
846
+ }
847
+ r = s[a >> 1] | 0;
848
+ if (Y(r) | 0) {
849
+ n = 66;
850
+ break;
851
+ }
852
+ n = a + 2 | 0;
853
+ f[73] = n;
854
+ a = n;
855
+ }
856
+ if ((n | 0) == 66) {
857
+ l(b, r, t);
858
+ break;
859
+ } else if ((n | 0) == 68) {
860
+ W();
861
+ break;
862
+ }
863
+ }
864
+ while (0);
865
+ }
866
+ function l(e, a, r) {
867
+ e = e | 0;
868
+ a = a | 0;
869
+ r = r | 0;
870
+ var i = 0, t = 0, c = 0, n = 0, b = 0;
871
+ i = (f[73] | 0) + 2 | 0;
872
+ switch (a << 16 >> 16) {
873
+ case 39:
874
+ v(39);
875
+ t = 5;
876
+ break;
877
+ case 34:
878
+ v(34);
879
+ t = 5;
880
+ break;
881
+ default: W();
882
+ }
883
+ do
884
+ if ((t | 0) == 5) {
885
+ d(e, i, f[73] | 0, 1);
886
+ if ((r | 0) > 0) f[(f[63] | 0) + 28 >> 2] = (r | 0) == 1 ? 4 : 6;
887
+ f[73] = (f[73] | 0) + 2;
888
+ n = (w(0) | 0) << 16 >> 16 == 119;
889
+ c = f[73] | 0;
890
+ if (((n ? (s[c + 2 >> 1] | 0) == 105 : 0) ? (s[c + 4 >> 1] | 0) == 116 : 0) ? (s[c + 6 >> 1] | 0) == 104 : 0) {
891
+ f[73] = c + 8;
892
+ if ((w(1) | 0) << 16 >> 16 != 123) {
893
+ f[73] = c;
894
+ break;
895
+ }
896
+ n = f[73] | 0;
897
+ i = n;
898
+ t = 0;
899
+ e: while (1) {
900
+ f[73] = i + 2;
901
+ i = w(1) | 0;
902
+ do
903
+ if (i << 16 >> 16 != 39) {
904
+ a = f[73] | 0;
905
+ if (i << 16 >> 16 == 34) {
906
+ v(34);
907
+ e = (f[73] | 0) + 2 | 0;
908
+ f[73] = e;
909
+ i = w(1) | 0;
910
+ break;
911
+ } else {
912
+ i = q(i) | 0;
913
+ e = f[73] | 0;
914
+ break;
915
+ }
916
+ } else {
917
+ a = f[73] | 0;
918
+ v(39);
919
+ e = (f[73] | 0) + 2 | 0;
920
+ f[73] = e;
921
+ i = w(1) | 0;
922
+ }
923
+ while (0);
924
+ if (i << 16 >> 16 != 58) {
925
+ t = 21;
926
+ break;
927
+ }
928
+ f[73] = (f[73] | 0) + 2;
929
+ switch ((w(1) | 0) << 16 >> 16) {
930
+ case 39:
931
+ i = f[73] | 0;
932
+ v(39);
933
+ break;
934
+ case 34:
935
+ i = f[73] | 0;
936
+ v(34);
937
+ break;
938
+ default:
939
+ t = 25;
940
+ break e;
941
+ }
942
+ b = (f[73] | 0) + 2 | 0;
943
+ r = f[67] | 0;
944
+ f[67] = r + 20;
945
+ f[r >> 2] = a;
946
+ f[r + 4 >> 2] = e;
947
+ f[r + 8 >> 2] = i;
948
+ f[r + 12 >> 2] = b;
949
+ f[r + 16 >> 2] = 0;
950
+ f[((t | 0) == 0 ? (f[63] | 0) + 32 | 0 : t + 16 | 0) >> 2] = r;
951
+ f[73] = (f[73] | 0) + 2;
952
+ switch ((w(1) | 0) << 16 >> 16) {
953
+ case 125:
954
+ t = 29;
955
+ break e;
956
+ case 44: break;
957
+ default:
958
+ t = 27;
959
+ break e;
960
+ }
961
+ i = (f[73] | 0) + 2 | 0;
962
+ f[73] = i;
963
+ t = r;
964
+ }
965
+ if ((t | 0) == 21) {
966
+ f[73] = c;
967
+ break;
968
+ } else if ((t | 0) == 25) {
969
+ f[73] = c;
970
+ break;
971
+ } else if ((t | 0) == 27) {
972
+ f[73] = c;
973
+ break;
974
+ } else if ((t | 0) == 29) {
975
+ b = f[63] | 0;
976
+ f[b + 16 >> 2] = n;
977
+ f[b + 12 >> 2] = (f[73] | 0) + 2;
978
+ break;
979
+ }
980
+ }
981
+ f[73] = c + -2;
982
+ }
983
+ while (0);
984
+ }
985
+ function o(e) {
986
+ e = e | 0;
987
+ e: do
988
+ switch (s[e >> 1] | 0) {
989
+ case 100: switch (s[e + -2 >> 1] | 0) {
990
+ case 105:
991
+ e = T(e + -4 | 0, 102, 2) | 0;
992
+ break e;
993
+ case 108:
994
+ e = T(e + -4 | 0, 106, 3) | 0;
995
+ break e;
996
+ default:
997
+ e = 0;
998
+ break e;
999
+ }
1000
+ case 101: switch (s[e + -2 >> 1] | 0) {
1001
+ case 115: switch (s[e + -4 >> 1] | 0) {
1002
+ case 108:
1003
+ e = B(e + -6 | 0, 101) | 0;
1004
+ break e;
1005
+ case 97:
1006
+ e = B(e + -6 | 0, 99) | 0;
1007
+ break e;
1008
+ default:
1009
+ e = 0;
1010
+ break e;
1011
+ }
1012
+ case 116:
1013
+ e = T(e + -4 | 0, 112, 4) | 0;
1014
+ break e;
1015
+ case 117:
1016
+ e = T(e + -4 | 0, 120, 6) | 0;
1017
+ break e;
1018
+ default:
1019
+ e = 0;
1020
+ break e;
1021
+ }
1022
+ case 102:
1023
+ if ((s[e + -2 >> 1] | 0) == 111 ? (s[e + -4 >> 1] | 0) == 101 : 0) switch (s[e + -6 >> 1] | 0) {
1024
+ case 99:
1025
+ e = T(e + -8 | 0, 132, 6) | 0;
1026
+ break e;
1027
+ case 112:
1028
+ e = T(e + -8 | 0, 144, 2) | 0;
1029
+ break e;
1030
+ default:
1031
+ e = 0;
1032
+ break e;
1033
+ }
1034
+ else e = 0;
1035
+ break;
1036
+ case 107:
1037
+ e = T(e + -2 | 0, 148, 4) | 0;
1038
+ break;
1039
+ case 110:
1040
+ e = e + -2 | 0;
1041
+ if (B(e, 105) | 0) e = 1;
1042
+ else e = T(e, 156, 5) | 0;
1043
+ break;
1044
+ case 111:
1045
+ e = B(e + -2 | 0, 100) | 0;
1046
+ break;
1047
+ case 114:
1048
+ e = T(e + -2 | 0, 166, 7) | 0;
1049
+ break;
1050
+ case 116:
1051
+ e = T(e + -2 | 0, 180, 4) | 0;
1052
+ break;
1053
+ case 119: switch (s[e + -2 >> 1] | 0) {
1054
+ case 101:
1055
+ e = B(e + -4 | 0, 110) | 0;
1056
+ break e;
1057
+ case 111:
1058
+ e = T(e + -4 | 0, 188, 3) | 0;
1059
+ break e;
1060
+ default:
1061
+ e = 0;
1062
+ break e;
1063
+ }
1064
+ default: e = 0;
1065
+ }
1066
+ while (0);
1067
+ return e | 0;
1068
+ }
1069
+ function h() {
1070
+ var e = 0, a = 0, r = 0, i = 0;
1071
+ a = f[74] | 0;
1072
+ r = f[73] | 0;
1073
+ e: while (1) {
1074
+ e = r + 2 | 0;
1075
+ if (r >>> 0 >= a >>> 0) {
1076
+ a = 10;
1077
+ break;
1078
+ }
1079
+ switch (s[e >> 1] | 0) {
1080
+ case 96:
1081
+ a = 7;
1082
+ break e;
1083
+ case 36:
1084
+ if ((s[r + 4 >> 1] | 0) == 123) {
1085
+ a = 6;
1086
+ break e;
1087
+ }
1088
+ break;
1089
+ case 92:
1090
+ e = r + 4 | 0;
1091
+ break;
1092
+ default:
1093
+ }
1094
+ r = e;
1095
+ }
1096
+ if ((a | 0) == 6) {
1097
+ e = r + 4 | 0;
1098
+ f[73] = e;
1099
+ a = f[71] | 0;
1100
+ i = s[402] | 0;
1101
+ r = i & 65535;
1102
+ f[a + (r << 3) >> 2] = 4;
1103
+ s[402] = i + 1 << 16 >> 16;
1104
+ f[a + (r << 3) + 4 >> 2] = e;
1105
+ } else if ((a | 0) == 7) {
1106
+ f[73] = e;
1107
+ r = f[71] | 0;
1108
+ i = (s[402] | 0) + -1 << 16 >> 16;
1109
+ s[402] = i;
1110
+ if ((f[r + ((i & 65535) << 3) >> 2] | 0) != 3) W();
1111
+ } else if ((a | 0) == 10) {
1112
+ f[73] = e;
1113
+ W();
1114
+ }
1115
+ }
1116
+ function w(e) {
1117
+ e = e | 0;
1118
+ var a = 0, r = 0, i = 0;
1119
+ r = f[73] | 0;
1120
+ e: do {
1121
+ a = s[r >> 1] | 0;
1122
+ a: do
1123
+ if (a << 16 >> 16 != 47) if (e) if (X(a) | 0) break;
1124
+ else break e;
1125
+ else if (F(a) | 0) break;
1126
+ else break e;
1127
+ else switch (s[r + 2 >> 1] | 0) {
1128
+ case 47:
1129
+ P();
1130
+ break a;
1131
+ case 42:
1132
+ m(e);
1133
+ break a;
1134
+ default:
1135
+ a = 47;
1136
+ break e;
1137
+ }
1138
+ while (0);
1139
+ i = f[73] | 0;
1140
+ r = i + 2 | 0;
1141
+ f[73] = r;
1142
+ } while (i >>> 0 < (f[74] | 0) >>> 0);
1143
+ return a | 0;
1144
+ }
1145
+ function d(e, a, r, s) {
1146
+ e = e | 0;
1147
+ a = a | 0;
1148
+ r = r | 0;
1149
+ s = s | 0;
1150
+ var t = 0, c = 0;
1151
+ c = f[67] | 0;
1152
+ f[67] = c + 40;
1153
+ t = f[63] | 0;
1154
+ f[((t | 0) == 0 ? 236 : t + 36 | 0) >> 2] = c;
1155
+ f[64] = t;
1156
+ f[63] = c;
1157
+ f[c + 8 >> 2] = e;
1158
+ if (2 == (s | 0)) {
1159
+ e = 3;
1160
+ t = r;
1161
+ } else {
1162
+ t = 1 == (s | 0);
1163
+ e = t ? 1 : 2;
1164
+ t = t ? r + 2 | 0 : 0;
1165
+ }
1166
+ f[c + 12 >> 2] = t;
1167
+ f[c + 28 >> 2] = e;
1168
+ f[c >> 2] = a;
1169
+ f[c + 4 >> 2] = r;
1170
+ f[c + 16 >> 2] = 0;
1171
+ f[c + 20 >> 2] = s;
1172
+ a = 1 == (s | 0);
1173
+ i[c + 24 >> 0] = a & 1;
1174
+ f[c + 32 >> 2] = 0;
1175
+ f[c + 36 >> 2] = 0;
1176
+ if (a | 2 == (s | 0)) i[807] = 1;
1177
+ }
1178
+ function v(e) {
1179
+ e = e | 0;
1180
+ var a = 0, r = 0, i = 0, t = 0;
1181
+ t = f[74] | 0;
1182
+ a = f[73] | 0;
1183
+ while (1) {
1184
+ i = a + 2 | 0;
1185
+ if (a >>> 0 >= t >>> 0) {
1186
+ a = 9;
1187
+ break;
1188
+ }
1189
+ r = s[i >> 1] | 0;
1190
+ if (r << 16 >> 16 == e << 16 >> 16) {
1191
+ a = 10;
1192
+ break;
1193
+ }
1194
+ if (r << 16 >> 16 == 92) {
1195
+ r = a + 4 | 0;
1196
+ if ((s[r >> 1] | 0) == 13) {
1197
+ a = a + 6 | 0;
1198
+ a = (s[a >> 1] | 0) == 10 ? a : r;
1199
+ } else a = r;
1200
+ } else if (ie(r) | 0) {
1201
+ a = 9;
1202
+ break;
1203
+ } else a = i;
1204
+ }
1205
+ if ((a | 0) == 9) {
1206
+ f[73] = i;
1207
+ W();
1208
+ } else if ((a | 0) == 10) f[73] = i;
1209
+ }
1210
+ function A(e) {
1211
+ e = e | 0;
1212
+ var a = 0, r = 0;
1213
+ a = s[e >> 1] | 0;
1214
+ if (X(a) | 0) r = 3;
1215
+ else switch (a << 16 >> 16) {
1216
+ case 41:
1217
+ case 125:
1218
+ case 93:
1219
+ r = 3;
1220
+ break;
1221
+ default: e = 0;
1222
+ }
1223
+ e: do
1224
+ if ((r | 0) == 3) {
1225
+ r = f[3] | 0;
1226
+ while (1) {
1227
+ if (e >>> 0 <= r >>> 0) break;
1228
+ e = e + -2 | 0;
1229
+ if (!(X(a) | 0)) break;
1230
+ a = s[e >> 1] | 0;
1231
+ }
1232
+ switch (a << 16 >> 16) {
1233
+ case 41:
1234
+ case 125:
1235
+ case 93:
1236
+ e = 1;
1237
+ break e;
1238
+ default:
1239
+ }
1240
+ e = (U(a) | 0) ^ 1;
1241
+ }
1242
+ while (0);
1243
+ return e | 0;
1244
+ }
1245
+ function C(e, a) {
1246
+ e = e | 0;
1247
+ a = a | 0;
1248
+ var r = 0, i = 0, t = 0, c = 0;
1249
+ r = f[73] | 0;
1250
+ i = s[r >> 1] | 0;
1251
+ c = (e | 0) == (a | 0);
1252
+ t = c ? 0 : e;
1253
+ c = c ? 0 : a;
1254
+ if (i << 16 >> 16 == 97) {
1255
+ f[73] = r + 4;
1256
+ r = w(1) | 0;
1257
+ e = f[73] | 0;
1258
+ if (Y(r) | 0) {
1259
+ v(r);
1260
+ a = (f[73] | 0) + 2 | 0;
1261
+ f[73] = a;
1262
+ } else {
1263
+ q(r) | 0;
1264
+ a = f[73] | 0;
1265
+ }
1266
+ i = w(1) | 0;
1267
+ r = f[73] | 0;
1268
+ }
1269
+ if ((r | 0) != (e | 0)) $(e, a, t, c);
1270
+ return i | 0;
1271
+ }
1272
+ function g() {
1273
+ var e = 0, a = 0, r = 0;
1274
+ r = f[74] | 0;
1275
+ a = f[73] | 0;
1276
+ e: while (1) {
1277
+ e = a + 2 | 0;
1278
+ if (a >>> 0 >= r >>> 0) {
1279
+ a = 6;
1280
+ break;
1281
+ }
1282
+ switch (s[e >> 1] | 0) {
1283
+ case 13:
1284
+ case 10:
1285
+ a = 6;
1286
+ break e;
1287
+ case 93:
1288
+ a = 7;
1289
+ break e;
1290
+ case 92:
1291
+ e = a + 4 | 0;
1292
+ break;
1293
+ default:
1294
+ }
1295
+ a = e;
1296
+ }
1297
+ if ((a | 0) == 6) {
1298
+ f[73] = e;
1299
+ W();
1300
+ e = 0;
1301
+ } else if ((a | 0) == 7) {
1302
+ f[73] = e;
1303
+ e = 93;
1304
+ }
1305
+ return e | 0;
1306
+ }
1307
+ function p() {
1308
+ var e = 0, a = 0, r = 0;
1309
+ e: while (1) {
1310
+ e = f[73] | 0;
1311
+ a = e + 2 | 0;
1312
+ f[73] = a;
1313
+ if (e >>> 0 >= (f[74] | 0) >>> 0) {
1314
+ r = 7;
1315
+ break;
1316
+ }
1317
+ switch (s[a >> 1] | 0) {
1318
+ case 13:
1319
+ case 10:
1320
+ r = 7;
1321
+ break e;
1322
+ case 47: break e;
1323
+ case 91:
1324
+ g() | 0;
1325
+ break;
1326
+ case 92:
1327
+ f[73] = e + 4;
1328
+ break;
1329
+ default:
1330
+ }
1331
+ }
1332
+ if ((r | 0) == 7) W();
1333
+ }
1334
+ function y(e) {
1335
+ e = e | 0;
1336
+ switch (s[e >> 1] | 0) {
1337
+ case 62:
1338
+ e = (s[e + -2 >> 1] | 0) == 61;
1339
+ break;
1340
+ case 41:
1341
+ case 59:
1342
+ e = 1;
1343
+ break;
1344
+ case 104:
1345
+ e = T(e + -2 | 0, 208, 4) | 0;
1346
+ break;
1347
+ case 121:
1348
+ e = T(e + -2 | 0, 216, 6) | 0;
1349
+ break;
1350
+ case 101:
1351
+ e = T(e + -2 | 0, 228, 3) | 0;
1352
+ break;
1353
+ default: e = 0;
1354
+ }
1355
+ return e | 0;
1356
+ }
1357
+ function m(e) {
1358
+ e = e | 0;
1359
+ var a = 0, r = 0, i = 0, t = 0, c = 0;
1360
+ t = (f[73] | 0) + 2 | 0;
1361
+ f[73] = t;
1362
+ r = f[74] | 0;
1363
+ while (1) {
1364
+ a = t + 2 | 0;
1365
+ if (t >>> 0 >= r >>> 0) break;
1366
+ i = s[a >> 1] | 0;
1367
+ if (!e ? ie(i) | 0 : 0) break;
1368
+ if (i << 16 >> 16 == 42 ? (s[t + 4 >> 1] | 0) == 47 : 0) {
1369
+ c = 8;
1370
+ break;
1371
+ }
1372
+ t = a;
1373
+ }
1374
+ if ((c | 0) == 8) {
1375
+ f[73] = a;
1376
+ a = t + 4 | 0;
1377
+ }
1378
+ f[73] = a;
1379
+ }
1380
+ function I(e, a, r) {
1381
+ e = e | 0;
1382
+ a = a | 0;
1383
+ r = r | 0;
1384
+ var s = 0, f = 0;
1385
+ e: do
1386
+ if (!r) e = 0;
1387
+ else {
1388
+ while (1) {
1389
+ s = i[e >> 0] | 0;
1390
+ f = i[a >> 0] | 0;
1391
+ if (s << 24 >> 24 != f << 24 >> 24) break;
1392
+ r = r + -1 | 0;
1393
+ if (!r) {
1394
+ e = 0;
1395
+ break e;
1396
+ } else {
1397
+ e = e + 1 | 0;
1398
+ a = a + 1 | 0;
1399
+ }
1400
+ }
1401
+ e = (s & 255) - (f & 255) | 0;
1402
+ }
1403
+ while (0);
1404
+ return e | 0;
1405
+ }
1406
+ function U(e) {
1407
+ e = e | 0;
1408
+ e: do
1409
+ switch (e << 16 >> 16) {
1410
+ case 38:
1411
+ case 37:
1412
+ case 33:
1413
+ e = 1;
1414
+ break;
1415
+ default: if ((e & -8) << 16 >> 16 == 40 | (e + -58 & 65535) < 6) e = 1;
1416
+ else {
1417
+ switch (e << 16 >> 16) {
1418
+ case 91:
1419
+ case 93:
1420
+ case 94:
1421
+ e = 1;
1422
+ break e;
1423
+ default:
1424
+ }
1425
+ e = (e + -123 & 65535) < 4;
1426
+ }
1427
+ }
1428
+ while (0);
1429
+ return e | 0;
1430
+ }
1431
+ function x(e) {
1432
+ e = e | 0;
1433
+ e: do
1434
+ switch (e << 16 >> 16) {
1435
+ case 38:
1436
+ case 37:
1437
+ case 33: break;
1438
+ default: if (!((e + -58 & 65535) < 6 | (e + -40 & 65535) < 7 & e << 16 >> 16 != 41)) {
1439
+ switch (e << 16 >> 16) {
1440
+ case 91:
1441
+ case 94: break e;
1442
+ default:
1443
+ }
1444
+ return e << 16 >> 16 != 125 & (e + -123 & 65535) < 4 | 0;
1445
+ }
1446
+ }
1447
+ while (0);
1448
+ return 1;
1449
+ }
1450
+ function S(e) {
1451
+ e = e | 0;
1452
+ var a = 0;
1453
+ a = s[e >> 1] | 0;
1454
+ e: do
1455
+ if ((a + -9 & 65535) >= 5) {
1456
+ switch (a << 16 >> 16) {
1457
+ case 160:
1458
+ case 32:
1459
+ a = 1;
1460
+ break e;
1461
+ default:
1462
+ }
1463
+ if (U(a) | 0) return a << 16 >> 16 != 46 | (G(e) | 0) | 0;
1464
+ else a = 0;
1465
+ } else a = 1;
1466
+ while (0);
1467
+ return a | 0;
1468
+ }
1469
+ function O(e) {
1470
+ e = e | 0;
1471
+ var a = 0, r = 0, i = 0, t = 0;
1472
+ r = n;
1473
+ n = n + 16 | 0;
1474
+ i = r;
1475
+ f[i >> 2] = 0;
1476
+ f[66] = e;
1477
+ a = f[3] | 0;
1478
+ t = a + (e << 1) | 0;
1479
+ e = t + 2 | 0;
1480
+ s[t >> 1] = 0;
1481
+ f[i >> 2] = e;
1482
+ f[67] = e;
1483
+ f[59] = 0;
1484
+ f[63] = 0;
1485
+ f[61] = 0;
1486
+ f[60] = 0;
1487
+ f[65] = 0;
1488
+ f[62] = 0;
1489
+ n = r;
1490
+ return a | 0;
1491
+ }
1492
+ function $(e, a, r, s) {
1493
+ e = e | 0;
1494
+ a = a | 0;
1495
+ r = r | 0;
1496
+ s = s | 0;
1497
+ var t = 0, c = 0;
1498
+ t = f[67] | 0;
1499
+ f[67] = t + 20;
1500
+ c = f[65] | 0;
1501
+ f[((c | 0) == 0 ? 240 : c + 16 | 0) >> 2] = t;
1502
+ f[65] = t;
1503
+ f[t >> 2] = e;
1504
+ f[t + 4 >> 2] = a;
1505
+ f[t + 8 >> 2] = r;
1506
+ f[t + 12 >> 2] = s;
1507
+ f[t + 16 >> 2] = 0;
1508
+ i[807] = 1;
1509
+ }
1510
+ function T(e, a, r) {
1511
+ e = e | 0;
1512
+ a = a | 0;
1513
+ r = r | 0;
1514
+ var i = 0, s = 0;
1515
+ i = e + (0 - r << 1) | 0;
1516
+ s = i + 2 | 0;
1517
+ e = f[3] | 0;
1518
+ if (s >>> 0 >= e >>> 0 ? (I(s, a, r << 1) | 0) == 0 : 0) if ((s | 0) == (e | 0)) e = 1;
1519
+ else e = S(i) | 0;
1520
+ else e = 0;
1521
+ return e | 0;
1522
+ }
1523
+ function j(e) {
1524
+ e = e | 0;
1525
+ switch (s[e >> 1] | 0) {
1526
+ case 107:
1527
+ e = T(e + -2 | 0, 148, 4) | 0;
1528
+ break;
1529
+ case 101:
1530
+ if ((s[e + -2 >> 1] | 0) == 117) e = T(e + -4 | 0, 120, 6) | 0;
1531
+ else e = 0;
1532
+ break;
1533
+ default: e = 0;
1534
+ }
1535
+ return e | 0;
1536
+ }
1537
+ function B(e, a) {
1538
+ e = e | 0;
1539
+ a = a | 0;
1540
+ var r = 0;
1541
+ r = f[3] | 0;
1542
+ if (r >>> 0 <= e >>> 0 ? (s[e >> 1] | 0) == a << 16 >> 16 : 0) if ((r | 0) == (e | 0)) r = 1;
1543
+ else r = E(s[e + -2 >> 1] | 0) | 0;
1544
+ else r = 0;
1545
+ return r | 0;
1546
+ }
1547
+ function E(e) {
1548
+ e = e | 0;
1549
+ e: do
1550
+ if ((e + -9 & 65535) < 5) e = 1;
1551
+ else {
1552
+ switch (e << 16 >> 16) {
1553
+ case 32:
1554
+ case 160:
1555
+ e = 1;
1556
+ break e;
1557
+ default:
1558
+ }
1559
+ e = e << 16 >> 16 != 46 & (U(e) | 0);
1560
+ }
1561
+ while (0);
1562
+ return e | 0;
1563
+ }
1564
+ function P() {
1565
+ var e = 0, a = 0, r = 0;
1566
+ e = f[74] | 0;
1567
+ r = f[73] | 0;
1568
+ e: while (1) {
1569
+ a = r + 2 | 0;
1570
+ if (r >>> 0 >= e >>> 0) break;
1571
+ switch (s[a >> 1] | 0) {
1572
+ case 13:
1573
+ case 10: break e;
1574
+ default: r = a;
1575
+ }
1576
+ }
1577
+ f[73] = a;
1578
+ }
1579
+ function q(e) {
1580
+ e = e | 0;
1581
+ while (1) {
1582
+ if (X(e) | 0) break;
1583
+ if (U(e) | 0) break;
1584
+ e = (f[73] | 0) + 2 | 0;
1585
+ f[73] = e;
1586
+ e = s[e >> 1] | 0;
1587
+ if (!(e << 16 >> 16)) {
1588
+ e = 0;
1589
+ break;
1590
+ }
1591
+ }
1592
+ return e | 0;
1593
+ }
1594
+ function z() {
1595
+ var e = 0;
1596
+ e = f[(f[61] | 0) + 20 >> 2] | 0;
1597
+ switch (e | 0) {
1598
+ case 1:
1599
+ e = -1;
1600
+ break;
1601
+ case 2:
1602
+ e = -2;
1603
+ break;
1604
+ default: e = e - (f[3] | 0) >> 1;
1605
+ }
1606
+ return e | 0;
1607
+ }
1608
+ function D(e) {
1609
+ e = e | 0;
1610
+ if (!(T(e, 194, 5) | 0) ? !(T(e, 44, 3) | 0) : 0) e = T(e, 204, 2) | 0;
1611
+ else e = 1;
1612
+ return e | 0;
1613
+ }
1614
+ function F(e) {
1615
+ e = e | 0;
1616
+ switch (e << 16 >> 16) {
1617
+ case 160:
1618
+ case 32:
1619
+ case 12:
1620
+ case 11:
1621
+ case 9:
1622
+ e = 1;
1623
+ break;
1624
+ default: e = 0;
1625
+ }
1626
+ return e | 0;
1627
+ }
1628
+ function G(e) {
1629
+ e = e | 0;
1630
+ if ((s[e >> 1] | 0) == 46 ? (s[e + -2 >> 1] | 0) == 46 : 0) e = (s[e + -4 >> 1] | 0) == 46;
1631
+ else e = 0;
1632
+ return e | 0;
1633
+ }
1634
+ function H() {
1635
+ var e = 0;
1636
+ e = f[69] | 0;
1637
+ e = f[((e | 0) == 0 ? (f[61] | 0) + 32 | 0 : e + 16 | 0) >> 2] | 0;
1638
+ f[69] = e;
1639
+ return (e | 0) != 0 | 0;
1640
+ }
1641
+ function J(e) {
1642
+ e = e | 0;
1643
+ if ((f[3] | 0) == (e | 0)) e = 1;
1644
+ else e = S(e + -2 | 0) | 0;
1645
+ return e | 0;
1646
+ }
1647
+ function K() {
1648
+ var e = 0;
1649
+ e = f[(f[62] | 0) + 12 >> 2] | 0;
1650
+ if (!e) e = -1;
1651
+ else e = e - (f[3] | 0) >> 1;
1652
+ return e | 0;
1653
+ }
1654
+ function L() {
1655
+ var e = 0;
1656
+ e = f[(f[61] | 0) + 12 >> 2] | 0;
1657
+ if (!e) e = -1;
1658
+ else e = e - (f[3] | 0) >> 1;
1659
+ return e | 0;
1660
+ }
1661
+ function M() {
1662
+ var e = 0;
1663
+ e = f[(f[62] | 0) + 8 >> 2] | 0;
1664
+ if (!e) e = -1;
1665
+ else e = e - (f[3] | 0) >> 1;
1666
+ return e | 0;
1667
+ }
1668
+ function N() {
1669
+ var e = 0;
1670
+ e = f[(f[61] | 0) + 16 >> 2] | 0;
1671
+ if (!e) e = -1;
1672
+ else e = e - (f[3] | 0) >> 1;
1673
+ return e | 0;
1674
+ }
1675
+ function Q() {
1676
+ var e = 0;
1677
+ e = f[(f[61] | 0) + 4 >> 2] | 0;
1678
+ if (!e) e = -1;
1679
+ else e = e - (f[3] | 0) >> 1;
1680
+ return e | 0;
1681
+ }
1682
+ function R() {
1683
+ var e = 0;
1684
+ e = f[61] | 0;
1685
+ e = f[((e | 0) == 0 ? 236 : e + 36 | 0) >> 2] | 0;
1686
+ f[61] = e;
1687
+ return (e | 0) != 0 | 0;
1688
+ }
1689
+ function V() {
1690
+ var e = 0;
1691
+ e = f[62] | 0;
1692
+ e = f[((e | 0) == 0 ? 240 : e + 16 | 0) >> 2] | 0;
1693
+ f[62] = e;
1694
+ return (e | 0) != 0 | 0;
1695
+ }
1696
+ function W() {
1697
+ i[806] = 1;
1698
+ f[68] = (f[73] | 0) - (f[3] | 0) >> 1;
1699
+ f[73] = (f[74] | 0) + 2;
1700
+ }
1701
+ function X(e) {
1702
+ e = e | 0;
1703
+ return (e | 128) << 16 >> 16 == 160 | (e + -9 & 65535) < 5 | 0;
1704
+ }
1705
+ function Y(e) {
1706
+ e = e | 0;
1707
+ return e << 16 >> 16 == 39 | e << 16 >> 16 == 34 | 0;
1708
+ }
1709
+ function Z() {
1710
+ return (f[(f[69] | 0) + 12 >> 2] | 0) - (f[3] | 0) >> 1 | 0;
1711
+ }
1712
+ function _() {
1713
+ return (f[(f[69] | 0) + 8 >> 2] | 0) - (f[3] | 0) >> 1 | 0;
1714
+ }
1715
+ function ee() {
1716
+ return (f[(f[69] | 0) + 4 >> 2] | 0) - (f[3] | 0) >> 1 | 0;
1717
+ }
1718
+ function ae() {
1719
+ return (f[(f[61] | 0) + 8 >> 2] | 0) - (f[3] | 0) >> 1 | 0;
1720
+ }
1721
+ function re() {
1722
+ return (f[(f[62] | 0) + 4 >> 2] | 0) - (f[3] | 0) >> 1 | 0;
1723
+ }
1724
+ function ie(e) {
1725
+ e = e | 0;
1726
+ return e << 16 >> 16 == 13 | e << 16 >> 16 == 10 | 0;
1727
+ }
1728
+ function se() {
1729
+ return (f[f[69] >> 2] | 0) - (f[3] | 0) >> 1 | 0;
1730
+ }
1731
+ function fe() {
1732
+ return (f[f[61] >> 2] | 0) - (f[3] | 0) >> 1 | 0;
1733
+ }
1734
+ function te() {
1735
+ return (f[f[62] >> 2] | 0) - (f[3] | 0) >> 1 | 0;
1736
+ }
1737
+ function ce() {
1738
+ return t[(f[61] | 0) + 24 >> 0] | 0;
1739
+ }
1740
+ function ne(e) {
1741
+ e = e | 0;
1742
+ f[3] = e;
1743
+ }
1744
+ function be() {
1745
+ return f[(f[61] | 0) + 28 >> 2] | 0;
1746
+ }
1747
+ function ke() {
1748
+ return (i[807] | 0) != 0 | 0;
1749
+ }
1750
+ function ue() {
1751
+ return (i[808] | 0) != 0 | 0;
1752
+ }
1753
+ function le() {
1754
+ f[69] = 0;
1755
+ }
1756
+ function oe() {
1757
+ return f[68] | 0;
1758
+ }
1759
+ function he(e) {
1760
+ e = e | 0;
1761
+ n = e + 992 + 15 & -16;
1762
+ return 992;
1763
+ }
1764
+ return {
1765
+ su: he,
1766
+ ai: N,
1767
+ ake: ee,
1768
+ aks: se,
1769
+ ave: Z,
1770
+ avs: _,
1771
+ e: oe,
1772
+ ee: re,
1773
+ ele: K,
1774
+ els: M,
1775
+ es: te,
1776
+ f: ue,
1777
+ id: z,
1778
+ ie: Q,
1779
+ ip: ce,
1780
+ is: fe,
1781
+ it: be,
1782
+ ms: ke,
1783
+ p: b,
1784
+ ra: H,
1785
+ re: V,
1786
+ ri: R,
1787
+ rsa: le,
1788
+ sa: O,
1789
+ se: L,
1790
+ ses: ne,
1791
+ ss: ae
1792
+ };
1793
+ }("undefined" != typeof globalThis ? globalThis : self, {}, a), r = e.su(i - (2 << 17));
1794
+ }
1795
+ const h = t.length + 1;
1796
+ e.ses(r), e.sa(h - 1), s(t, new Uint16Array(a, r, h)), e.p() || (n = e.e(), o());
1797
+ const w = [], d = [];
1798
+ for (; e.ri();) {
1799
+ const a = e.is(), r = e.ie(), i = e.ai(), s = e.id(), f = e.ss(), c = e.se(), n = e.it();
1800
+ let k;
1801
+ e.ip() && (k = b(-1 === s ? a : a + 1, t.charCodeAt(-1 === s ? a - 1 : a)));
1802
+ const u = [];
1803
+ for (e.rsa(); e.ra();) {
1804
+ const a = e.aks(), r = e.ake(), i = e.avs(), s = e.ave(), f = v(a, r), t = v(i, s);
1805
+ u.push([f, t]);
1806
+ }
1807
+ w.push({
1808
+ t: n,
1809
+ n: k,
1810
+ s: a,
1811
+ e: r,
1812
+ ss: f,
1813
+ se: c,
1814
+ d: s,
1815
+ a: i,
1816
+ at: u.length > 0 ? u : null
1817
+ });
1818
+ }
1819
+ for (; e.re();) {
1820
+ const a = e.es(), r = e.ee(), i = e.els(), s = e.ele(), f = v(a, r), t = i < 0 ? void 0 : v(i, s);
1821
+ d.push({
1822
+ s: a,
1823
+ e: r,
1824
+ ls: i,
1825
+ le: s,
1826
+ n: f,
1827
+ ln: t
1828
+ });
1829
+ }
1830
+ return [
1831
+ w,
1832
+ d,
1833
+ !!e.f(),
1834
+ !!e.ms()
1835
+ ];
1836
+ function v(e, a) {
1837
+ const r = t.charCodeAt(e);
1838
+ return 34 === r || 39 === r ? b(e + 1, r) : t.slice(e, a);
1839
+ }
1840
+ }
1841
+ function b(e, a) {
1842
+ n = e;
1843
+ let r = "", i = n;
1844
+ for (;;) {
1845
+ n >= t.length && o();
1846
+ const e = t.charCodeAt(n);
1847
+ if (e === a) break;
1848
+ 92 === e ? (r += t.slice(i, n), r += k(), i = n) : (8232 === e || 8233 === e || l(e) && o(), ++n);
1849
+ }
1850
+ return r += t.slice(i, n++), r;
1851
+ }
1852
+ function k() {
1853
+ let e = t.charCodeAt(++n);
1854
+ switch (++n, e) {
1855
+ case 110: return "\n";
1856
+ case 114: return "\r";
1857
+ case 120: return String.fromCharCode(u(2));
1858
+ case 117: return function() {
1859
+ const e = t.charCodeAt(n);
1860
+ let a;
1861
+ 123 === e ? (++n, a = u(t.indexOf("}", n) - n), ++n, a > 1114111 && o()) : a = u(4);
1862
+ return a <= 65535 ? String.fromCharCode(a) : (a -= 65536, String.fromCharCode(55296 + (a >> 10), 56320 + (1023 & a)));
1863
+ }();
1864
+ case 116: return " ";
1865
+ case 98: return "\b";
1866
+ case 118: return "\v";
1867
+ case 102: return "\f";
1868
+ case 13: 10 === t.charCodeAt(n) && ++n;
1869
+ case 10: return "";
1870
+ case 56:
1871
+ case 57: o();
1872
+ default:
1873
+ if (e >= 48 && e <= 55) {
1874
+ let a = t.substr(n - 1, 3).match(/^[0-7]+/)[0], r = parseInt(a, 8);
1875
+ return r > 255 && (a = a.slice(0, -1), r = parseInt(a, 8)), n += a.length - 1, e = t.charCodeAt(n), "0" === a && 56 !== e && 57 !== e || o(), String.fromCharCode(r);
1876
+ }
1877
+ return l(e) ? "" : String.fromCharCode(e);
1878
+ }
1879
+ }
1880
+ function u(e) {
1881
+ const a = n;
1882
+ let r = 0, i = 0;
1883
+ for (let a = 0; a < e; ++a, ++n) {
1884
+ let e, s = t.charCodeAt(n);
1885
+ if (95 !== s) {
1886
+ if (s >= 97) e = s - 97 + 10;
1887
+ else if (s >= 65) e = s - 65 + 10;
1888
+ else {
1889
+ if (!(s >= 48 && s <= 57)) break;
1890
+ e = s - 48;
1891
+ }
1892
+ if (e >= 16) break;
1893
+ i = s, r = 16 * r + e;
1894
+ } else 95 !== i && 0 !== a || o(), i = s;
1895
+ }
1896
+ return 95 !== i && n - a === e || o(), r;
1897
+ }
1898
+ function l(e) {
1899
+ return 13 === e || 10 === e;
1900
+ }
1901
+ function o() {
1902
+ throw Object.assign(Error(`Parse error ${c}:${t.slice(0, n).split("\n").length}:${n - t.lastIndexOf("\n", n - 1)}`), { idx: n });
1903
+ }
1904
+ //#endregion
1905
+ //#region ../../node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker/src/walker.js
1906
+ /**
1907
+ * @typedef { import('estree').Node} Node
1908
+ * @typedef {{
1909
+ * skip: () => void;
1910
+ * remove: () => void;
1911
+ * replace: (node: Node) => void;
1912
+ * }} WalkerContext
1913
+ */
1914
+ var WalkerBase = class {
1915
+ constructor() {
1916
+ /** @type {boolean} */
1917
+ this.should_skip = false;
1918
+ /** @type {boolean} */
1919
+ this.should_remove = false;
1920
+ /** @type {Node | null} */
1921
+ this.replacement = null;
1922
+ /** @type {WalkerContext} */
1923
+ this.context = {
1924
+ skip: () => this.should_skip = true,
1925
+ remove: () => this.should_remove = true,
1926
+ replace: (node) => this.replacement = node
1927
+ };
1928
+ }
1929
+ /**
1930
+ * @template {Node} Parent
1931
+ * @param {Parent | null | undefined} parent
1932
+ * @param {keyof Parent | null | undefined} prop
1933
+ * @param {number | null | undefined} index
1934
+ * @param {Node} node
1935
+ */
1936
+ replace(parent, prop, index, node) {
1937
+ if (parent && prop) if (index != null)
1938
+ /** @type {Array<Node>} */ parent[prop][index] = node;
1939
+ else
1940
+ /** @type {Node} */ parent[prop] = node;
1941
+ }
1942
+ /**
1943
+ * @template {Node} Parent
1944
+ * @param {Parent | null | undefined} parent
1945
+ * @param {keyof Parent | null | undefined} prop
1946
+ * @param {number | null | undefined} index
1947
+ */
1948
+ remove(parent, prop, index) {
1949
+ if (parent && prop) if (index !== null && index !== void 0)
1950
+ /** @type {Array<Node>} */ parent[prop].splice(index, 1);
1951
+ else delete parent[prop];
1952
+ }
1953
+ };
1954
+ //#endregion
1955
+ //#region ../../node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker/src/sync.js
1956
+ /**
1957
+ * @typedef { import('estree').Node} Node
1958
+ * @typedef { import('./walker.js').WalkerContext} WalkerContext
1959
+ * @typedef {(
1960
+ * this: WalkerContext,
1961
+ * node: Node,
1962
+ * parent: Node | null,
1963
+ * key: string | number | symbol | null | undefined,
1964
+ * index: number | null | undefined
1965
+ * ) => void} SyncHandler
1966
+ */
1967
+ var SyncWalker = class extends WalkerBase {
1968
+ /**
1969
+ *
1970
+ * @param {SyncHandler} [enter]
1971
+ * @param {SyncHandler} [leave]
1972
+ */
1973
+ constructor(enter, leave) {
1974
+ super();
1975
+ /** @type {boolean} */
1976
+ this.should_skip = false;
1977
+ /** @type {boolean} */
1978
+ this.should_remove = false;
1979
+ /** @type {Node | null} */
1980
+ this.replacement = null;
1981
+ /** @type {WalkerContext} */
1982
+ this.context = {
1983
+ skip: () => this.should_skip = true,
1984
+ remove: () => this.should_remove = true,
1985
+ replace: (node) => this.replacement = node
1986
+ };
1987
+ /** @type {SyncHandler | undefined} */
1988
+ this.enter = enter;
1989
+ /** @type {SyncHandler | undefined} */
1990
+ this.leave = leave;
1991
+ }
1992
+ /**
1993
+ * @template {Node} Parent
1994
+ * @param {Node} node
1995
+ * @param {Parent | null} parent
1996
+ * @param {keyof Parent} [prop]
1997
+ * @param {number | null} [index]
1998
+ * @returns {Node | null}
1999
+ */
2000
+ visit(node, parent, prop, index) {
2001
+ if (node) {
2002
+ if (this.enter) {
2003
+ const _should_skip = this.should_skip;
2004
+ const _should_remove = this.should_remove;
2005
+ const _replacement = this.replacement;
2006
+ this.should_skip = false;
2007
+ this.should_remove = false;
2008
+ this.replacement = null;
2009
+ this.enter.call(this.context, node, parent, prop, index);
2010
+ if (this.replacement) {
2011
+ node = this.replacement;
2012
+ this.replace(parent, prop, index, node);
2013
+ }
2014
+ if (this.should_remove) this.remove(parent, prop, index);
2015
+ const skipped = this.should_skip;
2016
+ const removed = this.should_remove;
2017
+ this.should_skip = _should_skip;
2018
+ this.should_remove = _should_remove;
2019
+ this.replacement = _replacement;
2020
+ if (skipped) return node;
2021
+ if (removed) return null;
2022
+ }
2023
+ /** @type {keyof Node} */
2024
+ let key;
2025
+ for (key in node) {
2026
+ /** @type {unknown} */
2027
+ const value = node[key];
2028
+ if (value && typeof value === "object") {
2029
+ if (Array.isArray(value)) {
2030
+ const nodes = value;
2031
+ for (let i = 0; i < nodes.length; i += 1) {
2032
+ const item = nodes[i];
2033
+ if (isNode(item)) {
2034
+ if (!this.visit(item, node, key, i)) i--;
2035
+ }
2036
+ }
2037
+ } else if (isNode(value)) this.visit(value, node, key, null);
2038
+ }
2039
+ }
2040
+ if (this.leave) {
2041
+ const _replacement = this.replacement;
2042
+ const _should_remove = this.should_remove;
2043
+ this.replacement = null;
2044
+ this.should_remove = false;
2045
+ this.leave.call(this.context, node, parent, prop, index);
2046
+ if (this.replacement) {
2047
+ node = this.replacement;
2048
+ this.replace(parent, prop, index, node);
2049
+ }
2050
+ if (this.should_remove) this.remove(parent, prop, index);
2051
+ const removed = this.should_remove;
2052
+ this.replacement = _replacement;
2053
+ this.should_remove = _should_remove;
2054
+ if (removed) return null;
2055
+ }
2056
+ }
2057
+ return node;
2058
+ }
2059
+ };
2060
+ /**
2061
+ * Ducktype a node.
2062
+ *
2063
+ * @param {unknown} value
2064
+ * @returns {value is Node}
2065
+ */
2066
+ function isNode(value) {
2067
+ return value !== null && typeof value === "object" && "type" in value && typeof value.type === "string";
2068
+ }
2069
+ //#endregion
2070
+ //#region ../../node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker/src/index.js
2071
+ /**
2072
+ * @typedef {import('estree').Node} Node
2073
+ * @typedef {import('./sync.js').SyncHandler} SyncHandler
2074
+ * @typedef {import('./async.js').AsyncHandler} AsyncHandler
2075
+ */
2076
+ /**
2077
+ * @param {Node} ast
2078
+ * @param {{
2079
+ * enter?: SyncHandler
2080
+ * leave?: SyncHandler
2081
+ * }} walker
2082
+ * @returns {Node | null}
2083
+ */
2084
+ function walk(ast, { enter, leave }) {
2085
+ return new SyncWalker(enter, leave).visit(ast, null);
2086
+ }
2087
+ //#endregion
2088
+ //#region src/shared/ast.ts
2089
+ function isIdentifier(node) {
2090
+ return node?.type === "Identifier" && typeof node.name === "string";
2091
+ }
2092
+ function isLiteral(node) {
2093
+ return node?.type === "Literal";
2094
+ }
2095
+ function isMemberExpression(node) {
2096
+ return node?.type === "MemberExpression";
2097
+ }
2098
+ function isCallExpression(node) {
2099
+ return node?.type === "CallExpression";
2100
+ }
2101
+ function isObjectExpression(node) {
2102
+ return node?.type === "ObjectExpression";
2103
+ }
2104
+ //#endregion
2105
+ //#region src/inference/walk.ts
2106
+ const ENV_BINDING_RE = /\benv\s*\.\s*(DB|KV|STORAGE|QUEUE_\w+|AI|SANDBOX)\b/;
2107
+ /**
2108
+ * Infer which Cloudflare bindings a source file uses.
2109
+ *
2110
+ * Uses a tiered approach for performance:
2111
+ * Tier 1: es-module-lexer to extract import sources (fast, asm.js, no init)
2112
+ * Tier 2: Regex check for env.DB/KV/STORAGE patterns
2113
+ * Tier 3: Full AST walk only when regex matches (to confirm member expressions)
2114
+ */
2115
+ function inferBindingsFromSource(code, filename) {
2116
+ const result = {
2117
+ needsD1: false,
2118
+ needsKV: false,
2119
+ needsR2: false,
2120
+ needsAuth: false,
2121
+ needsQueues: false,
2122
+ needsAI: false,
2123
+ needsSandbox: false
2124
+ };
2125
+ try {
2126
+ const [imports] = parse(code);
2127
+ for (const imp of imports) {
2128
+ const source = imp.n;
2129
+ if (!source) continue;
2130
+ switch (source) {
2131
+ case "void/db":
2132
+ result.needsD1 = true;
2133
+ break;
2134
+ case "void/kv":
2135
+ result.needsKV = true;
2136
+ break;
2137
+ case "void/storage":
2138
+ result.needsR2 = true;
2139
+ break;
2140
+ case "void/auth":
2141
+ result.needsAuth = true;
2142
+ break;
2143
+ case "void/queue":
2144
+ result.needsQueues = true;
2145
+ break;
2146
+ case "void/ai":
2147
+ result.needsAI = true;
2148
+ break;
2149
+ case "void/sandbox":
2150
+ result.needsSandbox = true;
2151
+ break;
2152
+ case "void/client": {
2153
+ const stmt = code.slice(imp.ss, imp.se + 1);
2154
+ if (/\bauth\b/.test(stmt)) result.needsAuth = true;
2155
+ break;
2156
+ }
2157
+ }
2158
+ }
2159
+ } catch {
2160
+ if (/\bfrom\s+["']void\/db["']/.test(code)) result.needsD1 = true;
2161
+ if (/\bfrom\s+["']void\/kv["']/.test(code)) result.needsKV = true;
2162
+ if (/\bfrom\s+["']void\/storage["']/.test(code)) result.needsR2 = true;
2163
+ if (/\bfrom\s+["']void\/auth["']/.test(code)) result.needsAuth = true;
2164
+ if (/\bfrom\s+["']void\/queue["']/.test(code)) result.needsQueues = true;
2165
+ if (/\bfrom\s+["']void\/ai["']/.test(code)) result.needsAI = true;
2166
+ if (/\bfrom\s+["']void\/sandbox["']/.test(code)) result.needsSandbox = true;
2167
+ if (/\bfrom\s+["']void\/client["']/.test(code) && /\bauth\b/.test(code)) result.needsAuth = true;
2168
+ }
2169
+ if (result.needsD1 && result.needsKV && result.needsR2 && result.needsAI && result.needsSandbox) return result;
2170
+ if (!ENV_BINDING_RE.test(code)) return result;
2171
+ let parsed;
2172
+ try {
2173
+ parsed = parseSync(filename, code);
2174
+ } catch {
2175
+ return result;
2176
+ }
2177
+ const program = parsed.program;
2178
+ walk(program, { enter(node) {
2179
+ const current = node;
2180
+ if (!isMemberExpression(current)) return;
2181
+ if (current.computed) return;
2182
+ const property = current.property;
2183
+ if (!isIdentifier(property)) return;
2184
+ const obj = current.object;
2185
+ const isViaContextEnv = isMemberExpression(obj) && isIdentifier(obj.property) && obj.property.name === "env";
2186
+ const isDirectEnv = isIdentifier(obj) && obj.name === "env";
2187
+ if (!isViaContextEnv && !isDirectEnv) return;
2188
+ switch (property.name) {
2189
+ case "DB":
2190
+ result.needsD1 = true;
2191
+ break;
2192
+ case "KV":
2193
+ result.needsKV = true;
2194
+ break;
2195
+ case "STORAGE":
2196
+ result.needsR2 = true;
2197
+ break;
2198
+ case "AI":
2199
+ result.needsAI = true;
2200
+ break;
2201
+ case "SANDBOX":
2202
+ result.needsSandbox = true;
2203
+ break;
2204
+ default:
2205
+ if (property.name.startsWith("QUEUE_")) result.needsQueues = true;
2206
+ break;
2207
+ }
2208
+ } });
2209
+ return result;
2210
+ }
2211
+ /**
2212
+ * Merge multiple InferredBindings into a single result (union).
2213
+ */
2214
+ function mergeBindings(bindings) {
2215
+ return {
2216
+ needsD1: bindings.some((b) => b.needsD1),
2217
+ needsKV: bindings.some((b) => b.needsKV),
2218
+ needsR2: bindings.some((b) => b.needsR2),
2219
+ needsAuth: bindings.some((b) => b.needsAuth),
2220
+ needsQueues: bindings.some((b) => b.needsQueues),
2221
+ needsAI: bindings.some((b) => b.needsAI),
2222
+ needsSandbox: bindings.some((b) => b.needsSandbox)
2223
+ };
2224
+ }
2225
+ //#endregion
2226
+ //#region src/ssr/entry.ts
2227
+ const SSR_SERVER_ENTRY_RELATIVE_PATHS = ["src/main.ssr.ts", "src/main.ssr.tsx"];
2228
+ const SSR_CLIENT_ENTRY_RELATIVE_PATHS = ["src/main.client.ts", "src/main.client.tsx"];
2229
+ function resolveSingleEntry(root, entries, label) {
2230
+ const matches = entries.map((relativePath) => ({
2231
+ relativePath,
2232
+ absolutePath: join(root, relativePath)
2233
+ })).filter((entry) => existsSync(entry.absolutePath));
2234
+ if (matches.length === 0) return null;
2235
+ if (matches.length > 1) {
2236
+ const names = matches.map((entry) => entry.relativePath).join(", ");
2237
+ throw new Error(`ssr: Multiple ${label} entry files found: ${names}. Keep only one.`);
2238
+ }
2239
+ return matches[0];
2240
+ }
2241
+ function getSsrServerEntryPath(root) {
2242
+ return resolveSingleEntry(root, SSR_SERVER_ENTRY_RELATIVE_PATHS, "SSR")?.absolutePath ?? null;
2243
+ }
2244
+ function hasSsrEntry(root) {
2245
+ return getSsrServerEntryPath(root) !== null;
2246
+ }
2247
+ function validateServerRenderExport(entry) {
2248
+ const { absolutePath, relativePath } = entry;
2249
+ const source = readFileSync(absolutePath, "utf-8");
2250
+ if (/\bexport\s+(?:async\s+)?function\s+render\b/.test(source) || /\bexport\s+const\s+render\b/.test(source) || /\bexport\s+default\s+(?:defineRender\b|(?:async\s+)?function\b)/.test(source)) return;
2251
+ let parsed;
2252
+ try {
2253
+ parsed = parseSync(relativePath, source);
2254
+ } catch (err) {
2255
+ throw new Error(`ssr: Invalid entry '${relativePath}'. Could not parse source: '${err instanceof Error ? err.message : String(err)}'.`);
2256
+ }
2257
+ if (!(parsed.program.body ?? []).some((node) => {
2258
+ if (node.type === "ExportDefaultDeclaration") {
2259
+ const declaration = node.declaration;
2260
+ if (declaration?.type === "FunctionDeclaration" || declaration?.type === "FunctionExpression" || declaration?.type === "ArrowFunctionExpression") return true;
2261
+ if (declaration?.type === "CallExpression") {
2262
+ const call = declaration;
2263
+ return isIdentifier(call.callee) && call.callee.name === "defineRender";
2264
+ }
2265
+ return false;
2266
+ }
2267
+ if (node.type !== "ExportNamedDeclaration") return false;
2268
+ const declaration = node.declaration;
2269
+ if (declaration?.type === "FunctionDeclaration") {
2270
+ const fn = declaration;
2271
+ return isIdentifier(fn.id) && fn.id.name === "render";
2272
+ }
2273
+ if (declaration?.type === "VariableDeclaration") return (declaration.declarations ?? []).some((decl) => isIdentifier(decl.id) && decl.id.name === "render");
2274
+ return (node.specifiers ?? []).some((specifier) => {
2275
+ const exported = specifier.exported;
2276
+ return isIdentifier(exported) && exported.name === "render";
2277
+ });
2278
+ })) throw new Error(`ssr: Invalid entry '${relativePath}'. Export \`render(c, assetTags)\` or \`export default defineRender(...)\`.`);
2279
+ }
2280
+ /**
2281
+ * Validate SSR mode entry conventions.
2282
+ * Returns null when SSR mode is not used.
2283
+ */
2284
+ function validateSsrEntries(root) {
2285
+ const server = resolveSingleEntry(root, SSR_SERVER_ENTRY_RELATIVE_PATHS, "SSR");
2286
+ const client = resolveSingleEntry(root, SSR_CLIENT_ENTRY_RELATIVE_PATHS, "SSR client");
2287
+ if (!server && !client) return null;
2288
+ if (server && !client) throw new Error(`ssr: Missing client entry. Add one of: ${SSR_CLIENT_ENTRY_RELATIVE_PATHS.join(", ")}.`);
2289
+ if (!server && client) throw new Error(`ssr: Missing server entry. Add one of: ${SSR_SERVER_ENTRY_RELATIVE_PATHS.join(", ")}.`);
2290
+ validateServerRenderExport(server);
2291
+ return {
2292
+ server,
2293
+ client
2294
+ };
2295
+ }
2296
+ function validateSsrEntry(root) {
2297
+ return validateSsrEntries(root)?.server.absolutePath ?? null;
2298
+ }
2299
+ //#endregion
2300
+ //#region src/plugin-inference.ts
2301
+ const SOURCE_GLOB = "**/*.{ts,tsx,mts,js,jsx,mjs,astro}";
2302
+ /** Directories to scan for binding inference in framework mode. */
2303
+ const FRAMEWORK_SCAN_DIRS = [
2304
+ "src",
2305
+ "app",
2306
+ "pages",
2307
+ "routes",
2308
+ "server",
2309
+ "crons",
2310
+ "queues"
2311
+ ];
2312
+ /**
2313
+ * Map from npm package name to framework identifier.
2314
+ * Only packages that unambiguously indicate framework mode are listed.
2315
+ * For example, `react-router` alone is a client-side router — only
2316
+ * `@react-router/dev` signals the framework (Vite plugin) mode.
2317
+ */
2318
+ const FRAMEWORK_PACKAGES = {
2319
+ "@tanstack/react-start": {
2320
+ name: "tanstack-start",
2321
+ class: "a"
2322
+ },
2323
+ "@react-router/dev": {
2324
+ name: "react-router",
2325
+ class: "a"
2326
+ },
2327
+ vinext: {
2328
+ name: "vinext-pages",
2329
+ class: "a"
2330
+ },
2331
+ "@sveltejs/kit": {
2332
+ name: "sveltekit",
2333
+ class: "b"
2334
+ },
2335
+ nuxt: {
2336
+ name: "nuxt",
2337
+ class: "c"
2338
+ },
2339
+ "@analogjs/platform": {
2340
+ name: "analog",
2341
+ class: "c"
2342
+ },
2343
+ astro: {
2344
+ name: "astro",
2345
+ class: "c"
2346
+ }
2347
+ };
2348
+ /**
2349
+ * Detect a meta-framework by checking package.json dependencies.
2350
+ * Returns the detected framework with class info, or `undefined`.
2351
+ */
2352
+ function detectFramework(root) {
2353
+ let pkg;
2354
+ try {
2355
+ pkg = JSON.parse(readFileSync(join(root, "package.json"), "utf-8"));
2356
+ } catch {
2357
+ return;
2358
+ }
2359
+ const deps = {
2360
+ ...pkg.dependencies,
2361
+ ...pkg.devDependencies
2362
+ };
2363
+ for (const [pkgName, framework] of Object.entries(FRAMEWORK_PACKAGES)) if (pkgName in deps) {
2364
+ if (framework.name === "vinext-pages" && existsSync(join(root, "app"))) return {
2365
+ name: "vinext-app",
2366
+ class: "a"
2367
+ };
2368
+ return framework;
2369
+ }
2370
+ }
2371
+ function extractAstroFrontmatter(code) {
2372
+ return code.match(/^\uFEFF?---\r?\n([\s\S]*?)\r?\n---(?:\r?\n|$)/)?.[1] ?? "";
2373
+ }
2374
+ function inferBindingsFromFile(file, code) {
2375
+ const filename = file.split("/").pop() ?? "unknown.ts";
2376
+ if (!filename.endsWith(".astro")) return inferBindingsFromSource(code, filename);
2377
+ return inferBindingsFromSource(extractAstroFrontmatter(code), filename.replace(/\.astro$/, ".ts"));
2378
+ }
2379
+ /**
2380
+ * Synchronously infer which Cloudflare bindings the project needs
2381
+ * by scanning route/middleware files and optional src/main.ssr.ts with oxc-parser.
2382
+ *
2383
+ * This runs once when voidPlugin() is called (before plugins initialize),
2384
+ * so results are available to configure the Cloudflare plugin.
2385
+ *
2386
+ * @param scanDirs - Override the default scan directories (e.g., for framework mode)
2387
+ */
2388
+ function inferProjectBindings(root, options, scanDirs) {
2389
+ if (options?.bindings) return {
2390
+ needsD1: Boolean(options.bindings.db),
2391
+ needsKV: Boolean(options.bindings.kv),
2392
+ needsR2: Boolean(options.bindings.storage),
2393
+ needsAuth: false,
2394
+ needsQueues: false,
2395
+ needsAI: Boolean(options.bindings.ai),
2396
+ needsSandbox: false
2397
+ };
2398
+ const dirs = scanDirs ?? [
2399
+ "routes",
2400
+ "middleware",
2401
+ "queues",
2402
+ "pages",
2403
+ "crons"
2404
+ ];
2405
+ const allBindings = [];
2406
+ for (const dir of dirs) {
2407
+ const dirPath = join(root, dir);
2408
+ let files;
2409
+ try {
2410
+ files = globSync(SOURCE_GLOB, {
2411
+ cwd: dirPath,
2412
+ absolute: true
2413
+ });
2414
+ } catch {
2415
+ continue;
2416
+ }
2417
+ for (const file of files) {
2418
+ const code = readFileSync(file, "utf-8");
2419
+ allBindings.push(inferBindingsFromFile(file, code));
2420
+ }
2421
+ }
2422
+ const ssrEntry = getSsrServerEntryPath(root);
2423
+ if (ssrEntry) {
2424
+ const code = readFileSync(ssrEntry, "utf-8");
2425
+ const filename = ssrEntry.split("/").pop() ?? "main.ssr.ts";
2426
+ allBindings.push(inferBindingsFromSource(code, filename));
2427
+ }
2428
+ if (!new Set(dirs).has("src")) {
2429
+ const srcPath = join(root, "src");
2430
+ let srcFiles;
2431
+ try {
2432
+ srcFiles = globSync(SOURCE_GLOB, {
2433
+ cwd: srcPath,
2434
+ absolute: true
2435
+ });
2436
+ } catch {
2437
+ srcFiles = [];
2438
+ }
2439
+ for (const file of srcFiles) {
2440
+ const code = readFileSync(file, "utf-8");
2441
+ allBindings.push(inferBindingsFromFile(file, code));
2442
+ }
2443
+ }
2444
+ return mergeBindings(allBindings);
2445
+ }
2446
+ //#endregion
2447
+ export { SSR_SERVER_ENTRY_RELATIVE_PATHS as a, validateSsrEntry as c, isIdentifier as d, isLiteral as f, walk as h, SSR_CLIENT_ENTRY_RELATIVE_PATHS as i, inferBindingsFromSource as l, isObjectExpression as m, detectFramework as n, hasSsrEntry as o, isMemberExpression as p, inferProjectBindings as r, validateSsrEntries as s, FRAMEWORK_SCAN_DIRS as t, isCallExpression as u };