@openclaw/discord 2026.8.2 → 2026.8.34

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 (1758) hide show
  1. package/dist/.setup/account-inspect-BwQj24ht.mjs +45 -0
  2. package/dist/.setup/activities-api-BwQKkvff.mjs +746 -0
  3. package/dist/.setup/api-kTDbK4de.mjs +161 -0
  4. package/dist/.setup/approval-handler.runtime-BDfIYRq2.mjs +376 -0
  5. package/dist/.setup/audit-CKa5IoCq.mjs +25 -0
  6. package/dist/.setup/channel-CZSRIHJh.mjs +1022 -0
  7. package/dist/.setup/channel-actions.runtime-BN2Bo6so.mjs +322 -0
  8. package/dist/.setup/channel-type-CGDUPxwc.mjs +19 -0
  9. package/dist/.setup/channel.setup-Bur0l9L5.mjs +301 -0
  10. package/dist/.setup/components-CoCQebYz.mjs +1076 -0
  11. package/dist/.setup/conversation-binding-route-lGfxhTC8.mjs +43 -0
  12. package/dist/.setup/directory-config-DCfqBbC0.mjs +49 -0
  13. package/dist/.setup/directory-live-D12MauCI.mjs +164 -0
  14. package/dist/.setup/doctor-BFwyA5iJ.mjs +250 -0
  15. package/dist/.setup/handle-action.guild-admin-DlRmtY7d.mjs +313 -0
  16. package/dist/.setup/ingress-identity-BwX7d_Gh.mjs +60 -0
  17. package/dist/.setup/message-handler-csC1_h15.mjs +589 -0
  18. package/dist/.setup/message-handler.preflight-D6m727PE.mjs +1123 -0
  19. package/dist/.setup/message-handler.process-CDCvR5h9.mjs +1873 -0
  20. package/dist/.setup/message-text-D1pWUazL.mjs +571 -0
  21. package/dist/.setup/outbound-adapter-Chm8qvn4.mjs +533 -0
  22. package/dist/.setup/outbound-components-BBZ6nUHC.mjs +100 -0
  23. package/dist/.setup/outbound-session-route-0ulhwPFj.mjs +671 -0
  24. package/dist/.setup/owner-access-B7G6o_bq.mjs +108 -0
  25. package/dist/.setup/pluralkit-CqssqANl.mjs +43 -0
  26. package/dist/.setup/probe-C-h4at-8.mjs +180 -0
  27. package/dist/.setup/probe.runtime-Bo5mMeDP.mjs +2 -0
  28. package/dist/.setup/provider-Ba4-fuFV.mjs +10401 -0
  29. package/dist/.setup/provider-session.runtime-BpjJX34f.mjs +6 -0
  30. package/dist/.setup/provider.runtime-CKbLUNMq.mjs +2 -0
  31. package/dist/.setup/realtime-session.runtime-CNbzjoNe.mjs +1587 -0
  32. package/dist/.setup/resolve-allowlist-common-DSui4O22.mjs +34 -0
  33. package/dist/.setup/resolve-channels-BKEOjdaq.mjs +266 -0
  34. package/dist/.setup/resolve-users-4wQGN81h.mjs +121 -0
  35. package/dist/.setup/retry-BtpfSmcV.mjs +3626 -0
  36. package/dist/.setup/runtime-BYnanhCN.mjs +1762 -0
  37. package/dist/.setup/runtime-CF--tPzY.mjs +80 -0
  38. package/dist/.setup/security-audit-s5w50-Ly.mjs +146 -0
  39. package/dist/.setup/security-audit.runtime-DHtYenx9.mjs +2 -0
  40. package/dist/.setup/send-jx1xq6VI.mjs +1088 -0
  41. package/dist/.setup/send.components-C85HkVgh.mjs +525 -0
  42. package/dist/.setup/send.outbound-Cne1E1Ys.mjs +775 -0
  43. package/dist/.setup/send.shared-BljlFDUk.mjs +821 -0
  44. package/dist/.setup/sender-identity-DirkiBy8.mjs +43 -0
  45. package/dist/.setup/setup-plugin-api-CbpX72Q5.mjs +3 -0
  46. package/dist/.setup/shared-DZqXK-Da.mjs +215 -0
  47. package/dist/.setup/subagent-hooks-CIfMjUwr.mjs +49 -0
  48. package/dist/.setup/system-events-CLIJ2rLL.mjs +34 -0
  49. package/dist/.setup/target-resolver-8yRFu_yi.mjs +83 -0
  50. package/dist/.setup/targets-ueZDqOW4.mjs +3 -0
  51. package/dist/.setup/thread-bindings-W-yX7LUM.mjs +238 -0
  52. package/dist/.setup/thread-bindings.manager-DWsWOJ_n.mjs +762 -0
  53. package/dist/.setup/thread-bindings.session-updates-D04Avc2y.mjs +55 -0
  54. package/dist/.setup/thread-bindings.state-CIba-55B.mjs +288 -0
  55. package/dist/.setup/threading-BF7weZ9x.mjs +480 -0
  56. package/dist/.setup/transcripts-source-Cdn3N3o6.mjs +270 -0
  57. package/dist/.setup/typing--DRxDu9D.mjs +14 -0
  58. package/dist/.setup/voice-runtime-DeuqoHm9.mjs +2893 -0
  59. package/dist/account-inspect-api.js +1 -1
  60. package/dist/action-runtime-api.js +1 -1
  61. package/dist/activities-api.js +1 -1
  62. package/dist/api.js +19 -19
  63. package/dist/channel-config-api.js +1 -1
  64. package/dist/channel-plugin-api.js +1 -1
  65. package/dist/contract-api.js +1 -1
  66. package/dist/directory-contract-api.js +1 -1
  67. package/dist/doctor-contract-api.js +4 -4
  68. package/dist/index.js +1 -1
  69. package/dist/runtime-api.js +22 -22
  70. package/dist/runtime-setter-api.js +1 -1
  71. package/dist/secret-contract-api.js +1 -1
  72. package/dist/security-audit-contract-api.js +1 -1
  73. package/dist/security-contract-api.js +1 -1
  74. package/dist/session-key-api.js +1 -1
  75. package/dist/setup-entry.js +2 -1
  76. package/dist/setup-plugin-api.js +1 -1
  77. package/dist/subagent-hooks-api.js +1 -1
  78. package/dist/thread-binding-api.js +1 -1
  79. package/dist/transcripts-source-api.js +1 -1
  80. package/node_modules/@napi-rs/wasm-runtime/dist/emnapi-plugins.cjs +1468 -0
  81. package/node_modules/@napi-rs/wasm-runtime/dist/emnapi-plugins.js +1466 -0
  82. package/node_modules/@napi-rs/wasm-runtime/dist/fs-proxy.cjs +237 -0
  83. package/node_modules/@napi-rs/wasm-runtime/dist/fs.js +18185 -0
  84. package/node_modules/@napi-rs/wasm-runtime/fs-proxy.js +316 -0
  85. package/node_modules/@napi-rs/wasm-runtime/package.json +67 -0
  86. package/node_modules/@napi-rs/wasm-runtime/runtime.cjs +39 -0
  87. package/node_modules/@napi-rs/wasm-runtime/runtime.js +36 -0
  88. package/node_modules/@snazzah/davey-android-arm-eabi/README.md +3 -0
  89. package/node_modules/@snazzah/davey-android-arm-eabi/davey.android-arm-eabi.node +0 -0
  90. package/node_modules/@snazzah/davey-android-arm-eabi/package.json +40 -0
  91. package/node_modules/@snazzah/davey-android-arm64/README.md +3 -0
  92. package/node_modules/@snazzah/davey-android-arm64/davey.android-arm64.node +0 -0
  93. package/node_modules/@snazzah/davey-android-arm64/package.json +40 -0
  94. package/node_modules/@snazzah/davey-darwin-arm64/README.md +3 -0
  95. package/node_modules/@snazzah/davey-darwin-arm64/davey.darwin-arm64.node +0 -0
  96. package/node_modules/@snazzah/davey-darwin-arm64/package.json +40 -0
  97. package/node_modules/@snazzah/davey-darwin-x64/README.md +3 -0
  98. package/node_modules/@snazzah/davey-darwin-x64/davey.darwin-x64.node +0 -0
  99. package/node_modules/@snazzah/davey-darwin-x64/package.json +40 -0
  100. package/node_modules/@snazzah/davey-freebsd-x64/README.md +3 -0
  101. package/node_modules/@snazzah/davey-freebsd-x64/davey.freebsd-x64.node +0 -0
  102. package/node_modules/@snazzah/davey-freebsd-x64/package.json +40 -0
  103. package/node_modules/@snazzah/davey-linux-arm-gnueabihf/README.md +3 -0
  104. package/node_modules/@snazzah/davey-linux-arm-gnueabihf/davey.linux-arm-gnueabihf.node +0 -0
  105. package/node_modules/@snazzah/davey-linux-arm-gnueabihf/package.json +40 -0
  106. package/node_modules/@snazzah/davey-linux-arm64-gnu/README.md +3 -0
  107. package/node_modules/@snazzah/davey-linux-arm64-gnu/davey.linux-arm64-gnu.node +0 -0
  108. package/node_modules/@snazzah/davey-linux-arm64-gnu/package.json +43 -0
  109. package/node_modules/@snazzah/davey-linux-arm64-musl/README.md +3 -0
  110. package/node_modules/@snazzah/davey-linux-arm64-musl/davey.linux-arm64-musl.node +0 -0
  111. package/node_modules/@snazzah/davey-linux-arm64-musl/package.json +43 -0
  112. package/node_modules/@snazzah/davey-wasm32-wasi/README.md +3 -0
  113. package/node_modules/@snazzah/davey-wasm32-wasi/davey.wasi-browser.js +71 -0
  114. package/node_modules/@snazzah/davey-wasm32-wasi/davey.wasi.cjs +123 -0
  115. package/node_modules/@snazzah/davey-wasm32-wasi/davey.wasm32-wasi.wasm +0 -0
  116. package/node_modules/@snazzah/davey-wasm32-wasi/package.json +45 -0
  117. package/node_modules/@snazzah/davey-wasm32-wasi/wasi-worker-browser.mjs +32 -0
  118. package/node_modules/@snazzah/davey-wasm32-wasi/wasi-worker.mjs +63 -0
  119. package/node_modules/@snazzah/davey-win32-arm64-msvc/README.md +3 -0
  120. package/node_modules/@snazzah/davey-win32-arm64-msvc/davey.win32-arm64-msvc.node +0 -0
  121. package/node_modules/@snazzah/davey-win32-arm64-msvc/package.json +40 -0
  122. package/node_modules/@snazzah/davey-win32-ia32-msvc/README.md +3 -0
  123. package/node_modules/@snazzah/davey-win32-ia32-msvc/davey.win32-ia32-msvc.node +0 -0
  124. package/node_modules/@snazzah/davey-win32-ia32-msvc/package.json +40 -0
  125. package/node_modules/@snazzah/davey-win32-x64-msvc/README.md +3 -0
  126. package/node_modules/@snazzah/davey-win32-x64-msvc/davey.win32-x64-msvc.node +0 -0
  127. package/node_modules/@snazzah/davey-win32-x64-msvc/package.json +40 -0
  128. package/node_modules/@tybys/wasm-util/README.md +193 -0
  129. package/node_modules/@tybys/wasm-util/dist/tsdoc-metadata.json +11 -0
  130. package/node_modules/@tybys/wasm-util/dist/wasm-util.d.ts +423 -0
  131. package/node_modules/@tybys/wasm-util/dist/wasm-util.esm-bundler.js +2932 -0
  132. package/node_modules/@tybys/wasm-util/dist/wasm-util.esm.js +2932 -0
  133. package/node_modules/@tybys/wasm-util/dist/wasm-util.esm.min.js +1 -0
  134. package/node_modules/@tybys/wasm-util/dist/wasm-util.js +2954 -0
  135. package/node_modules/@tybys/wasm-util/dist/wasm-util.min.js +1 -0
  136. package/node_modules/@tybys/wasm-util/lib/cjs/asyncify.js +158 -0
  137. package/node_modules/@tybys/wasm-util/lib/cjs/index.js +13 -0
  138. package/node_modules/@tybys/wasm-util/lib/cjs/jspi.js +46 -0
  139. package/node_modules/@tybys/wasm-util/lib/cjs/load.js +97 -0
  140. package/node_modules/@tybys/wasm-util/lib/cjs/memory.js +35 -0
  141. package/node_modules/@tybys/wasm-util/lib/cjs/wasi/error.js +103 -0
  142. package/node_modules/@tybys/wasm-util/lib/cjs/wasi/fd.js +268 -0
  143. package/node_modules/@tybys/wasm-util/lib/cjs/wasi/fs.js +3 -0
  144. package/node_modules/@tybys/wasm-util/lib/cjs/wasi/index.js +192 -0
  145. package/node_modules/@tybys/wasm-util/lib/cjs/wasi/path.js +316 -0
  146. package/node_modules/@tybys/wasm-util/lib/cjs/wasi/preview1.js +1599 -0
  147. package/node_modules/@tybys/wasm-util/lib/cjs/wasi/rights.js +141 -0
  148. package/node_modules/@tybys/wasm-util/lib/cjs/wasi/types.js +220 -0
  149. package/node_modules/@tybys/wasm-util/lib/cjs/wasi/util.js +128 -0
  150. package/node_modules/@tybys/wasm-util/lib/cjs/webassembly.js +13 -0
  151. package/node_modules/@tybys/wasm-util/lib/mjs/asyncify.mjs +153 -0
  152. package/node_modules/@tybys/wasm-util/lib/mjs/index.mjs +9 -0
  153. package/node_modules/@tybys/wasm-util/lib/mjs/jspi.mjs +39 -0
  154. package/node_modules/@tybys/wasm-util/lib/mjs/load.mjs +89 -0
  155. package/node_modules/@tybys/wasm-util/lib/mjs/memory.mjs +28 -0
  156. package/node_modules/@tybys/wasm-util/lib/mjs/wasi/error.mjs +97 -0
  157. package/node_modules/@tybys/wasm-util/lib/mjs/wasi/fd.mjs +256 -0
  158. package/node_modules/@tybys/wasm-util/lib/mjs/wasi/index.mjs +186 -0
  159. package/node_modules/@tybys/wasm-util/lib/mjs/wasi/path.mjs +310 -0
  160. package/node_modules/@tybys/wasm-util/lib/mjs/wasi/preview1.mjs +1593 -0
  161. package/node_modules/@tybys/wasm-util/lib/mjs/wasi/rights.mjs +135 -0
  162. package/node_modules/@tybys/wasm-util/lib/mjs/wasi/types.mjs +216 -0
  163. package/node_modules/@tybys/wasm-util/lib/mjs/wasi/util.mjs +113 -0
  164. package/node_modules/@tybys/wasm-util/lib/mjs/webassembly.mjs +9 -0
  165. package/node_modules/@tybys/wasm-util/package.json +58 -0
  166. package/node_modules/undici/docs/docs/api/Client.md +4 -0
  167. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
  168. package/node_modules/undici/docs/docs/api/EventSource.md +4 -0
  169. package/node_modules/undici/docs/docs/api/Interceptors.md +7 -3
  170. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
  171. package/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
  172. package/node_modules/undici/lib/core/symbols.js +2 -0
  173. package/node_modules/undici/lib/dispatcher/agent.js +7 -2
  174. package/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
  175. package/node_modules/undici/lib/dispatcher/client-h1.js +12 -4
  176. package/node_modules/undici/lib/dispatcher/client-h2.js +43 -3
  177. package/node_modules/undici/lib/dispatcher/client.js +3 -2
  178. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
  179. package/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
  180. package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
  181. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +10 -3
  182. package/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -1
  183. package/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
  184. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
  185. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
  186. package/node_modules/undici/lib/handler/cache-handler.js +29 -5
  187. package/node_modules/undici/lib/handler/decorator-handler.js +7 -1
  188. package/node_modules/undici/lib/handler/deduplication-handler.js +12 -6
  189. package/node_modules/undici/lib/handler/redirect-handler.js +21 -4
  190. package/node_modules/undici/lib/handler/retry-handler.js +148 -30
  191. package/node_modules/undici/lib/interceptor/cache.js +65 -12
  192. package/node_modules/undici/lib/interceptor/decompress.js +115 -13
  193. package/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
  194. package/node_modules/undici/lib/interceptor/dns.js +7 -0
  195. package/node_modules/undici/lib/interceptor/dump.js +10 -23
  196. package/node_modules/undici/lib/mock/mock-agent.js +13 -1
  197. package/node_modules/undici/lib/mock/mock-utils.js +11 -10
  198. package/node_modules/undici/lib/util/cache.js +45 -3
  199. package/node_modules/undici/lib/web/cookies/parse.js +150 -147
  200. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
  201. package/node_modules/undici/lib/web/eventsource/eventsource.js +13 -3
  202. package/node_modules/undici/lib/web/fetch/index.js +6 -0
  203. package/node_modules/undici/lib/web/fetch/request.js +2 -3
  204. package/node_modules/undici/lib/web/fetch/util.js +6 -1
  205. package/node_modules/undici/lib/web/webidl/index.js +3 -3
  206. package/node_modules/undici/lib/web/websocket/connection.js +1 -1
  207. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  208. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
  209. package/node_modules/undici/package.json +3 -3
  210. package/node_modules/undici/types/client.d.ts +10 -0
  211. package/node_modules/undici/types/interceptors.d.ts +2 -0
  212. package/node_modules/undici/types/mock-agent.d.ts +11 -10
  213. package/node_modules/undici/types/socks5-proxy-agent.d.ts +2 -0
  214. package/node_modules/uuid/dist/uuid-bin.d.ts +1 -0
  215. package/package.json +5 -5
  216. package/dist/account-inspect-BY-ve3yH.js +0 -45
  217. package/dist/activities-api-CkKcHUB6.js +0 -746
  218. package/dist/api-BfmEP6wp.js +0 -161
  219. package/dist/approval-handler.runtime-DZM6Kt1Z.js +0 -370
  220. package/dist/audit-DIbQA4VT.js +0 -25
  221. package/dist/channel-CarzU3bg.js +0 -1018
  222. package/dist/channel-actions.runtime-B2wMqeVK.js +0 -322
  223. package/dist/channel-type-CVLZyGYS.js +0 -7
  224. package/dist/channel.setup-z_ewMVa9.js +0 -301
  225. package/dist/components-gvRA0oaI.js +0 -1076
  226. package/dist/conversation-binding-route-DPpBRpYI.js +0 -43
  227. package/dist/directory-config-AA8wQx0D.js +0 -49
  228. package/dist/directory-live-D_kFz_Fj.js +0 -164
  229. package/dist/doctor-QQTOkBfW.js +0 -250
  230. package/dist/handle-action.guild-admin-Cc88ZGon.js +0 -313
  231. package/dist/ingress-identity-BCzfPPYM.js +0 -60
  232. package/dist/message-handler-CAeEpqWo.js +0 -594
  233. package/dist/message-handler.preflight-CoKoE3dY.js +0 -1123
  234. package/dist/message-handler.process-cdIJ_fDT.js +0 -1867
  235. package/dist/message-text-C0K4-fkg.js +0 -571
  236. package/dist/outbound-adapter-Ch0At5Ra.js +0 -524
  237. package/dist/outbound-components-Bnt_7x7r.js +0 -100
  238. package/dist/outbound-session-route-CzzerX2K.js +0 -668
  239. package/dist/owner-access-yc1sX7Gx.js +0 -108
  240. package/dist/pluralkit-B3cUVI7i.js +0 -43
  241. package/dist/probe-3ovFAp3b.js +0 -180
  242. package/dist/probe.runtime-BckHn3cJ.js +0 -2
  243. package/dist/provider-CjI8BSzS.js +0 -10401
  244. package/dist/provider-session.runtime-DdKRMcE9.js +0 -6
  245. package/dist/provider.runtime-Bo1WbLLr.js +0 -2
  246. package/dist/realtime-session.runtime-37IC-p5K.js +0 -1335
  247. package/dist/resolve-allowlist-common-BJ5UZNNT.js +0 -34
  248. package/dist/resolve-channels-BexR2eUn.js +0 -266
  249. package/dist/resolve-users-BtXBCH5W.js +0 -121
  250. package/dist/retry-after-BrLjLUJi.js +0 -13
  251. package/dist/retry-t5RcEsPk.js +0 -3626
  252. package/dist/runtime-BNlDfLwS.js +0 -80
  253. package/dist/runtime-DydyfxST.js +0 -1749
  254. package/dist/security-audit-DKfK-iPY.js +0 -146
  255. package/dist/security-audit.runtime-sKZyKgpx.js +0 -2
  256. package/dist/send-mTKSBdmZ.js +0 -1060
  257. package/dist/send.components-nsPnc7kK.js +0 -525
  258. package/dist/send.outbound-CaOs9Zy1.js +0 -775
  259. package/dist/send.shared-BJHt0Vyf.js +0 -818
  260. package/dist/sender-identity-Dt0imZyY.js +0 -43
  261. package/dist/shared-BNesVA4P.js +0 -215
  262. package/dist/subagent-hooks-IeZVPLGj.js +0 -49
  263. package/dist/system-events-Be5EJI3b.js +0 -34
  264. package/dist/target-resolver-C0MnwEki.js +0 -83
  265. package/dist/targets-DQSye1Rv.js +0 -3
  266. package/dist/thread-bindings-wECUSIIG.js +0 -238
  267. package/dist/thread-bindings.manager-B-3UHCc1.js +0 -762
  268. package/dist/thread-bindings.session-updates-CC7HoQvt.js +0 -55
  269. package/dist/thread-bindings.state-D8OMdk4O.js +0 -288
  270. package/dist/threading-te5ADPQI.js +0 -480
  271. package/dist/transcripts-source-DkUhR7YK.js +0 -270
  272. package/dist/typing-DAwJF5VT.js +0 -14
  273. package/dist/voice-runtime-COyYYTDD.js +0 -2893
  274. /package/dist/{accounts-CwJQoLjM.js → .setup/accounts-CwJQoLjM.mjs} +0 -0
  275. /package/dist/{active-turn-thread-route-fmHl1HNd.js → .setup/active-turn-thread-route-fmHl1HNd.mjs} +0 -0
  276. /package/dist/{agent-components.runtime-CEPrf2SY.js → .setup/agent-components.runtime-CEPrf2SY.mjs} +0 -0
  277. /package/dist/{allow-list-C2JuH-R0.js → .setup/allow-list-C2JuH-R0.mjs} +0 -0
  278. /package/dist/{command-deploy-store-DFkBTViB.js → .setup/command-deploy-store-DFkBTViB.mjs} +0 -0
  279. /package/dist/{config-schema-B797-Spt.js → .setup/config-schema-B797-Spt.mjs} +0 -0
  280. /package/dist/{doctor-contract-Co5vRCZ6.js → .setup/doctor-contract-Co5vRCZ6.mjs} +0 -0
  281. /package/dist/{message-handler.history-CJOsN9w5.js → .setup/message-handler.history-CJOsN9w5.mjs} +0 -0
  282. /package/dist/{model-picker-preference-primitives-BHT1LkR_.js → .setup/model-picker-preference-primitives-BHT1LkR_.mjs} +0 -0
  283. /package/dist/{preflight-audio-DrnqFA8U.js → .setup/preflight-audio-DrnqFA8U.mjs} +0 -0
  284. /package/dist/{presence-cache-z1N8MbJ3.js → .setup/presence-cache-z1N8MbJ3.mjs} +0 -0
  285. /package/dist/{runtime-DgnVQ7zW.js → .setup/runtime-DgnVQ7zW.mjs} +0 -0
  286. /package/dist/{secret-config-contract-DFu9hfU8.js → .setup/secret-config-contract-DFu9hfU8.mjs} +0 -0
  287. /package/dist/{security-contract-DSHk7I2w.js → .setup/security-contract-DSHk7I2w.mjs} +0 -0
  288. /package/dist/{security-doctor-nGgPm65L.js → .setup/security-doctor-nGgPm65L.mjs} +0 -0
  289. /package/dist/{session-contract-BO5tlIdl.js → .setup/session-contract-BO5tlIdl.mjs} +0 -0
  290. /package/dist/{session-key-normalization-wJgsKPNF.js → .setup/session-key-normalization-wJgsKPNF.mjs} +0 -0
  291. /package/dist/{thread-binding-api-BDZJD4na.js → .setup/thread-binding-api-BDZJD4na.mjs} +0 -0
  292. /package/dist/{timeouts-D86uWLt_.js → .setup/timeouts-D86uWLt_.mjs} +0 -0
  293. /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey/README.md +0 -0
  294. /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey/browser.js +0 -0
  295. /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey/index.d.ts +0 -0
  296. /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey/index.js +0 -0
  297. /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey/package.json +0 -0
  298. /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey-linux-x64-gnu/README.md +0 -0
  299. /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey-linux-x64-gnu/davey.linux-x64-gnu.node +0 -0
  300. /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey-linux-x64-gnu/package.json +0 -0
  301. /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey-linux-x64-musl/README.md +0 -0
  302. /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey-linux-x64-musl/davey.linux-x64-musl.node +0 -0
  303. /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey-linux-x64-musl/package.json +0 -0
  304. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid/dist-node/types.js → @tybys/wasm-util/lib/mjs/wasi/fs.mjs} +0 -0
  305. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types/lodash.transform → @types/debug}/LICENSE +0 -0
  306. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/debug/README.md +0 -0
  307. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/debug/index.d.ts +0 -0
  308. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/debug/package.json +0 -0
  309. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types/uuid → @types/lodash}/LICENSE +0 -0
  310. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/README.md +0 -0
  311. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/add.d.ts +0 -0
  312. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/after.d.ts +0 -0
  313. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/ary.d.ts +0 -0
  314. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/assign.d.ts +0 -0
  315. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/assignIn.d.ts +0 -0
  316. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/assignInWith.d.ts +0 -0
  317. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/assignWith.d.ts +0 -0
  318. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/at.d.ts +0 -0
  319. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/attempt.d.ts +0 -0
  320. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/before.d.ts +0 -0
  321. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/bind.d.ts +0 -0
  322. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/bindAll.d.ts +0 -0
  323. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/bindKey.d.ts +0 -0
  324. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/camelCase.d.ts +0 -0
  325. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/capitalize.d.ts +0 -0
  326. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/castArray.d.ts +0 -0
  327. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/ceil.d.ts +0 -0
  328. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/chain.d.ts +0 -0
  329. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/chunk.d.ts +0 -0
  330. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/clamp.d.ts +0 -0
  331. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/clone.d.ts +0 -0
  332. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/cloneDeep.d.ts +0 -0
  333. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/cloneDeepWith.d.ts +0 -0
  334. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/cloneWith.d.ts +0 -0
  335. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/common/array.d.ts +0 -0
  336. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/common/collection.d.ts +0 -0
  337. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/common/common.d.ts +0 -0
  338. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/common/date.d.ts +0 -0
  339. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/common/function.d.ts +0 -0
  340. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/common/lang.d.ts +0 -0
  341. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/common/math.d.ts +0 -0
  342. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/common/number.d.ts +0 -0
  343. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/common/object.d.ts +0 -0
  344. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/common/seq.d.ts +0 -0
  345. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/common/string.d.ts +0 -0
  346. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/common/util.d.ts +0 -0
  347. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/compact.d.ts +0 -0
  348. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/concat.d.ts +0 -0
  349. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/cond.d.ts +0 -0
  350. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/conforms.d.ts +0 -0
  351. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/conformsTo.d.ts +0 -0
  352. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/constant.d.ts +0 -0
  353. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/countBy.d.ts +0 -0
  354. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/create.d.ts +0 -0
  355. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/curry.d.ts +0 -0
  356. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/curryRight.d.ts +0 -0
  357. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/debounce.d.ts +0 -0
  358. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/deburr.d.ts +0 -0
  359. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/defaultTo.d.ts +0 -0
  360. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/defaults.d.ts +0 -0
  361. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/defaultsDeep.d.ts +0 -0
  362. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/defer.d.ts +0 -0
  363. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/delay.d.ts +0 -0
  364. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/difference.d.ts +0 -0
  365. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/differenceBy.d.ts +0 -0
  366. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/differenceWith.d.ts +0 -0
  367. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/divide.d.ts +0 -0
  368. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/drop.d.ts +0 -0
  369. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/dropRight.d.ts +0 -0
  370. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/dropRightWhile.d.ts +0 -0
  371. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/dropWhile.d.ts +0 -0
  372. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/each.d.ts +0 -0
  373. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/eachRight.d.ts +0 -0
  374. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/endsWith.d.ts +0 -0
  375. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/entries.d.ts +0 -0
  376. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/entriesIn.d.ts +0 -0
  377. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/eq.d.ts +0 -0
  378. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/escape.d.ts +0 -0
  379. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/escapeRegExp.d.ts +0 -0
  380. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/every.d.ts +0 -0
  381. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/extend.d.ts +0 -0
  382. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/extendWith.d.ts +0 -0
  383. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fill.d.ts +0 -0
  384. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/filter.d.ts +0 -0
  385. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/find.d.ts +0 -0
  386. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/findIndex.d.ts +0 -0
  387. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/findKey.d.ts +0 -0
  388. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/findLast.d.ts +0 -0
  389. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/findLastIndex.d.ts +0 -0
  390. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/findLastKey.d.ts +0 -0
  391. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/first.d.ts +0 -0
  392. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/flatMap.d.ts +0 -0
  393. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/flatMapDeep.d.ts +0 -0
  394. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/flatMapDepth.d.ts +0 -0
  395. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/flatten.d.ts +0 -0
  396. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/flattenDeep.d.ts +0 -0
  397. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/flattenDepth.d.ts +0 -0
  398. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/flip.d.ts +0 -0
  399. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/floor.d.ts +0 -0
  400. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/flow.d.ts +0 -0
  401. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/flowRight.d.ts +0 -0
  402. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/forEach.d.ts +0 -0
  403. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/forEachRight.d.ts +0 -0
  404. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/forIn.d.ts +0 -0
  405. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/forInRight.d.ts +0 -0
  406. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/forOwn.d.ts +0 -0
  407. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/forOwnRight.d.ts +0 -0
  408. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/F.d.ts +0 -0
  409. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/T.d.ts +0 -0
  410. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/__.d.ts +0 -0
  411. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/add.d.ts +0 -0
  412. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/after.d.ts +0 -0
  413. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/all.d.ts +0 -0
  414. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/allPass.d.ts +0 -0
  415. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/always.d.ts +0 -0
  416. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/any.d.ts +0 -0
  417. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/anyPass.d.ts +0 -0
  418. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/apply.d.ts +0 -0
  419. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/ary.d.ts +0 -0
  420. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/assign.d.ts +0 -0
  421. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/assignAll.d.ts +0 -0
  422. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/assignAllWith.d.ts +0 -0
  423. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/assignIn.d.ts +0 -0
  424. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/assignInAll.d.ts +0 -0
  425. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/assignInAllWith.d.ts +0 -0
  426. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/assignInWith.d.ts +0 -0
  427. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/assignWith.d.ts +0 -0
  428. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/assoc.d.ts +0 -0
  429. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/assocPath.d.ts +0 -0
  430. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/at.d.ts +0 -0
  431. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/attempt.d.ts +0 -0
  432. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/before.d.ts +0 -0
  433. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/bind.d.ts +0 -0
  434. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/bindAll.d.ts +0 -0
  435. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/bindKey.d.ts +0 -0
  436. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/camelCase.d.ts +0 -0
  437. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/capitalize.d.ts +0 -0
  438. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/castArray.d.ts +0 -0
  439. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/ceil.d.ts +0 -0
  440. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/chunk.d.ts +0 -0
  441. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/clamp.d.ts +0 -0
  442. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/clone.d.ts +0 -0
  443. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/cloneDeep.d.ts +0 -0
  444. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/cloneDeepWith.d.ts +0 -0
  445. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/cloneWith.d.ts +0 -0
  446. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/compact.d.ts +0 -0
  447. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/complement.d.ts +0 -0
  448. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/compose.d.ts +0 -0
  449. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/concat.d.ts +0 -0
  450. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/cond.d.ts +0 -0
  451. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/conforms.d.ts +0 -0
  452. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/conformsTo.d.ts +0 -0
  453. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/constant.d.ts +0 -0
  454. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/contains.d.ts +0 -0
  455. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/convert.d.ts +0 -0
  456. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/countBy.d.ts +0 -0
  457. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/create.d.ts +0 -0
  458. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/curry.d.ts +0 -0
  459. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/curryN.d.ts +0 -0
  460. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/curryRight.d.ts +0 -0
  461. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/curryRightN.d.ts +0 -0
  462. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/debounce.d.ts +0 -0
  463. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/deburr.d.ts +0 -0
  464. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/defaultTo.d.ts +0 -0
  465. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/defaults.d.ts +0 -0
  466. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/defaultsAll.d.ts +0 -0
  467. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/defaultsDeep.d.ts +0 -0
  468. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/defaultsDeepAll.d.ts +0 -0
  469. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/defer.d.ts +0 -0
  470. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/delay.d.ts +0 -0
  471. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/difference.d.ts +0 -0
  472. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/differenceBy.d.ts +0 -0
  473. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/differenceWith.d.ts +0 -0
  474. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/dissoc.d.ts +0 -0
  475. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/dissocPath.d.ts +0 -0
  476. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/divide.d.ts +0 -0
  477. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/drop.d.ts +0 -0
  478. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/dropLast.d.ts +0 -0
  479. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/dropLastWhile.d.ts +0 -0
  480. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/dropRight.d.ts +0 -0
  481. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/dropRightWhile.d.ts +0 -0
  482. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/dropWhile.d.ts +0 -0
  483. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/each.d.ts +0 -0
  484. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/eachRight.d.ts +0 -0
  485. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/endsWith.d.ts +0 -0
  486. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/entries.d.ts +0 -0
  487. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/entriesIn.d.ts +0 -0
  488. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/eq.d.ts +0 -0
  489. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/equals.d.ts +0 -0
  490. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/escape.d.ts +0 -0
  491. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/escapeRegExp.d.ts +0 -0
  492. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/every.d.ts +0 -0
  493. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/extend.d.ts +0 -0
  494. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/extendAll.d.ts +0 -0
  495. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/extendAllWith.d.ts +0 -0
  496. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/extendWith.d.ts +0 -0
  497. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/fill.d.ts +0 -0
  498. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/filter.d.ts +0 -0
  499. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/find.d.ts +0 -0
  500. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/findFrom.d.ts +0 -0
  501. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/findIndex.d.ts +0 -0
  502. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/findIndexFrom.d.ts +0 -0
  503. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/findKey.d.ts +0 -0
  504. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/findLast.d.ts +0 -0
  505. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/findLastFrom.d.ts +0 -0
  506. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/findLastIndex.d.ts +0 -0
  507. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/findLastIndexFrom.d.ts +0 -0
  508. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/findLastKey.d.ts +0 -0
  509. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/first.d.ts +0 -0
  510. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/flatMap.d.ts +0 -0
  511. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/flatMapDeep.d.ts +0 -0
  512. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/flatMapDepth.d.ts +0 -0
  513. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/flatten.d.ts +0 -0
  514. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/flattenDeep.d.ts +0 -0
  515. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/flattenDepth.d.ts +0 -0
  516. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/flip.d.ts +0 -0
  517. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/floor.d.ts +0 -0
  518. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/flow.d.ts +0 -0
  519. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/flowRight.d.ts +0 -0
  520. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/forEach.d.ts +0 -0
  521. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/forEachRight.d.ts +0 -0
  522. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/forIn.d.ts +0 -0
  523. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/forInRight.d.ts +0 -0
  524. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/forOwn.d.ts +0 -0
  525. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/forOwnRight.d.ts +0 -0
  526. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/fromPairs.d.ts +0 -0
  527. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/functions.d.ts +0 -0
  528. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/functionsIn.d.ts +0 -0
  529. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/get.d.ts +0 -0
  530. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/getOr.d.ts +0 -0
  531. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/groupBy.d.ts +0 -0
  532. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/gt.d.ts +0 -0
  533. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/gte.d.ts +0 -0
  534. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/has.d.ts +0 -0
  535. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/hasIn.d.ts +0 -0
  536. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/head.d.ts +0 -0
  537. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/identical.d.ts +0 -0
  538. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/identity.d.ts +0 -0
  539. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/inRange.d.ts +0 -0
  540. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/includes.d.ts +0 -0
  541. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/includesFrom.d.ts +0 -0
  542. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/indexBy.d.ts +0 -0
  543. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/indexOf.d.ts +0 -0
  544. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/indexOfFrom.d.ts +0 -0
  545. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/init.d.ts +0 -0
  546. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/initial.d.ts +0 -0
  547. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/intersection.d.ts +0 -0
  548. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/intersectionBy.d.ts +0 -0
  549. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/intersectionWith.d.ts +0 -0
  550. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/invert.d.ts +0 -0
  551. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/invertBy.d.ts +0 -0
  552. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/invertObj.d.ts +0 -0
  553. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/invoke.d.ts +0 -0
  554. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/invokeArgs.d.ts +0 -0
  555. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/invokeArgsMap.d.ts +0 -0
  556. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/invokeMap.d.ts +0 -0
  557. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isArguments.d.ts +0 -0
  558. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isArray.d.ts +0 -0
  559. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isArrayBuffer.d.ts +0 -0
  560. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isArrayLike.d.ts +0 -0
  561. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isArrayLikeObject.d.ts +0 -0
  562. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isBoolean.d.ts +0 -0
  563. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isBuffer.d.ts +0 -0
  564. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isDate.d.ts +0 -0
  565. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isElement.d.ts +0 -0
  566. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isEmpty.d.ts +0 -0
  567. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isEqual.d.ts +0 -0
  568. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isEqualWith.d.ts +0 -0
  569. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isError.d.ts +0 -0
  570. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isFinite.d.ts +0 -0
  571. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isFunction.d.ts +0 -0
  572. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isInteger.d.ts +0 -0
  573. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isLength.d.ts +0 -0
  574. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isMap.d.ts +0 -0
  575. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isMatch.d.ts +0 -0
  576. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isMatchWith.d.ts +0 -0
  577. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isNaN.d.ts +0 -0
  578. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isNative.d.ts +0 -0
  579. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isNil.d.ts +0 -0
  580. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isNull.d.ts +0 -0
  581. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isNumber.d.ts +0 -0
  582. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isObject.d.ts +0 -0
  583. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isObjectLike.d.ts +0 -0
  584. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isPlainObject.d.ts +0 -0
  585. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isRegExp.d.ts +0 -0
  586. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isSafeInteger.d.ts +0 -0
  587. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isSet.d.ts +0 -0
  588. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isString.d.ts +0 -0
  589. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isSymbol.d.ts +0 -0
  590. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isTypedArray.d.ts +0 -0
  591. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isUndefined.d.ts +0 -0
  592. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isWeakMap.d.ts +0 -0
  593. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/isWeakSet.d.ts +0 -0
  594. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/iteratee.d.ts +0 -0
  595. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/join.d.ts +0 -0
  596. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/juxt.d.ts +0 -0
  597. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/kebabCase.d.ts +0 -0
  598. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/keyBy.d.ts +0 -0
  599. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/keys.d.ts +0 -0
  600. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/keysIn.d.ts +0 -0
  601. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/last.d.ts +0 -0
  602. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/lastIndexOf.d.ts +0 -0
  603. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/lastIndexOfFrom.d.ts +0 -0
  604. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/lowerCase.d.ts +0 -0
  605. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/lowerFirst.d.ts +0 -0
  606. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/lt.d.ts +0 -0
  607. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/lte.d.ts +0 -0
  608. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/map.d.ts +0 -0
  609. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/mapKeys.d.ts +0 -0
  610. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/mapValues.d.ts +0 -0
  611. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/matches.d.ts +0 -0
  612. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/matchesProperty.d.ts +0 -0
  613. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/max.d.ts +0 -0
  614. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/maxBy.d.ts +0 -0
  615. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/mean.d.ts +0 -0
  616. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/meanBy.d.ts +0 -0
  617. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/memoize.d.ts +0 -0
  618. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/merge.d.ts +0 -0
  619. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/mergeAll.d.ts +0 -0
  620. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/mergeAllWith.d.ts +0 -0
  621. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/mergeWith.d.ts +0 -0
  622. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/method.d.ts +0 -0
  623. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/methodOf.d.ts +0 -0
  624. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/min.d.ts +0 -0
  625. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/minBy.d.ts +0 -0
  626. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/multiply.d.ts +0 -0
  627. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/nAry.d.ts +0 -0
  628. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/negate.d.ts +0 -0
  629. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/noConflict.d.ts +0 -0
  630. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/noop.d.ts +0 -0
  631. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/now.d.ts +0 -0
  632. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/nth.d.ts +0 -0
  633. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/nthArg.d.ts +0 -0
  634. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/omit.d.ts +0 -0
  635. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/omitAll.d.ts +0 -0
  636. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/omitBy.d.ts +0 -0
  637. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/once.d.ts +0 -0
  638. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/orderBy.d.ts +0 -0
  639. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/over.d.ts +0 -0
  640. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/overArgs.d.ts +0 -0
  641. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/overEvery.d.ts +0 -0
  642. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/overSome.d.ts +0 -0
  643. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/pad.d.ts +0 -0
  644. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/padChars.d.ts +0 -0
  645. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/padCharsEnd.d.ts +0 -0
  646. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/padCharsStart.d.ts +0 -0
  647. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/padEnd.d.ts +0 -0
  648. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/padStart.d.ts +0 -0
  649. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/parseInt.d.ts +0 -0
  650. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/partial.d.ts +0 -0
  651. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/partialRight.d.ts +0 -0
  652. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/partition.d.ts +0 -0
  653. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/path.d.ts +0 -0
  654. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/pathEq.d.ts +0 -0
  655. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/pathOr.d.ts +0 -0
  656. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/paths.d.ts +0 -0
  657. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/pick.d.ts +0 -0
  658. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/pickAll.d.ts +0 -0
  659. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/pickBy.d.ts +0 -0
  660. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/pipe.d.ts +0 -0
  661. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/placeholder.d.ts +0 -0
  662. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/pluck.d.ts +0 -0
  663. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/prop.d.ts +0 -0
  664. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/propEq.d.ts +0 -0
  665. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/propOr.d.ts +0 -0
  666. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/property.d.ts +0 -0
  667. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/propertyOf.d.ts +0 -0
  668. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/props.d.ts +0 -0
  669. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/pull.d.ts +0 -0
  670. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/pullAll.d.ts +0 -0
  671. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/pullAllBy.d.ts +0 -0
  672. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/pullAllWith.d.ts +0 -0
  673. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/pullAt.d.ts +0 -0
  674. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/random.d.ts +0 -0
  675. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/range.d.ts +0 -0
  676. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/rangeRight.d.ts +0 -0
  677. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/rangeStep.d.ts +0 -0
  678. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/rangeStepRight.d.ts +0 -0
  679. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/rearg.d.ts +0 -0
  680. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/reduce.d.ts +0 -0
  681. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/reduceRight.d.ts +0 -0
  682. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/reject.d.ts +0 -0
  683. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/remove.d.ts +0 -0
  684. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/repeat.d.ts +0 -0
  685. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/replace.d.ts +0 -0
  686. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/rest.d.ts +0 -0
  687. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/restFrom.d.ts +0 -0
  688. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/result.d.ts +0 -0
  689. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/reverse.d.ts +0 -0
  690. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/round.d.ts +0 -0
  691. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/runInContext.d.ts +0 -0
  692. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/sample.d.ts +0 -0
  693. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/sampleSize.d.ts +0 -0
  694. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/set.d.ts +0 -0
  695. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/setWith.d.ts +0 -0
  696. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/shuffle.d.ts +0 -0
  697. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/size.d.ts +0 -0
  698. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/slice.d.ts +0 -0
  699. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/snakeCase.d.ts +0 -0
  700. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/some.d.ts +0 -0
  701. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/sortBy.d.ts +0 -0
  702. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/sortedIndex.d.ts +0 -0
  703. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/sortedIndexBy.d.ts +0 -0
  704. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/sortedIndexOf.d.ts +0 -0
  705. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/sortedLastIndex.d.ts +0 -0
  706. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/sortedLastIndexBy.d.ts +0 -0
  707. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/sortedLastIndexOf.d.ts +0 -0
  708. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/sortedUniq.d.ts +0 -0
  709. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/sortedUniqBy.d.ts +0 -0
  710. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/split.d.ts +0 -0
  711. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/spread.d.ts +0 -0
  712. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/spreadFrom.d.ts +0 -0
  713. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/startCase.d.ts +0 -0
  714. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/startsWith.d.ts +0 -0
  715. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/stubArray.d.ts +0 -0
  716. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/stubFalse.d.ts +0 -0
  717. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/stubObject.d.ts +0 -0
  718. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/stubString.d.ts +0 -0
  719. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/stubTrue.d.ts +0 -0
  720. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/subtract.d.ts +0 -0
  721. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/sum.d.ts +0 -0
  722. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/sumBy.d.ts +0 -0
  723. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/symmetricDifference.d.ts +0 -0
  724. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/symmetricDifferenceBy.d.ts +0 -0
  725. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/symmetricDifferenceWith.d.ts +0 -0
  726. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/tail.d.ts +0 -0
  727. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/take.d.ts +0 -0
  728. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/takeLast.d.ts +0 -0
  729. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/takeLastWhile.d.ts +0 -0
  730. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/takeRight.d.ts +0 -0
  731. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/takeRightWhile.d.ts +0 -0
  732. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/takeWhile.d.ts +0 -0
  733. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/tap.d.ts +0 -0
  734. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/template.d.ts +0 -0
  735. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/throttle.d.ts +0 -0
  736. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/thru.d.ts +0 -0
  737. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/times.d.ts +0 -0
  738. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/toArray.d.ts +0 -0
  739. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/toFinite.d.ts +0 -0
  740. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/toInteger.d.ts +0 -0
  741. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/toLength.d.ts +0 -0
  742. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/toLower.d.ts +0 -0
  743. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/toNumber.d.ts +0 -0
  744. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/toPairs.d.ts +0 -0
  745. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/toPairsIn.d.ts +0 -0
  746. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/toPath.d.ts +0 -0
  747. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/toPlainObject.d.ts +0 -0
  748. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/toSafeInteger.d.ts +0 -0
  749. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/toString.d.ts +0 -0
  750. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/toUpper.d.ts +0 -0
  751. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/transform.d.ts +0 -0
  752. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/trim.d.ts +0 -0
  753. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/trimChars.d.ts +0 -0
  754. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/trimCharsEnd.d.ts +0 -0
  755. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/trimCharsStart.d.ts +0 -0
  756. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/trimEnd.d.ts +0 -0
  757. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/trimStart.d.ts +0 -0
  758. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/truncate.d.ts +0 -0
  759. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/unapply.d.ts +0 -0
  760. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/unary.d.ts +0 -0
  761. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/unescape.d.ts +0 -0
  762. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/union.d.ts +0 -0
  763. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/unionBy.d.ts +0 -0
  764. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/unionWith.d.ts +0 -0
  765. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/uniq.d.ts +0 -0
  766. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/uniqBy.d.ts +0 -0
  767. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/uniqWith.d.ts +0 -0
  768. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/uniqueId.d.ts +0 -0
  769. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/unnest.d.ts +0 -0
  770. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/unset.d.ts +0 -0
  771. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/unzip.d.ts +0 -0
  772. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/unzipWith.d.ts +0 -0
  773. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/update.d.ts +0 -0
  774. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/updateWith.d.ts +0 -0
  775. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/upperCase.d.ts +0 -0
  776. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/upperFirst.d.ts +0 -0
  777. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/useWith.d.ts +0 -0
  778. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/values.d.ts +0 -0
  779. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/valuesIn.d.ts +0 -0
  780. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/where.d.ts +0 -0
  781. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/whereEq.d.ts +0 -0
  782. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/without.d.ts +0 -0
  783. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/words.d.ts +0 -0
  784. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/wrap.d.ts +0 -0
  785. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/xor.d.ts +0 -0
  786. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/xorBy.d.ts +0 -0
  787. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/xorWith.d.ts +0 -0
  788. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/zip.d.ts +0 -0
  789. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/zipAll.d.ts +0 -0
  790. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/zipObj.d.ts +0 -0
  791. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/zipObject.d.ts +0 -0
  792. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/zipObjectDeep.d.ts +0 -0
  793. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp/zipWith.d.ts +0 -0
  794. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fp.d.ts +0 -0
  795. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/fromPairs.d.ts +0 -0
  796. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/functions.d.ts +0 -0
  797. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/functionsIn.d.ts +0 -0
  798. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/get.d.ts +0 -0
  799. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/groupBy.d.ts +0 -0
  800. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/gt.d.ts +0 -0
  801. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/gte.d.ts +0 -0
  802. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/has.d.ts +0 -0
  803. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/hasIn.d.ts +0 -0
  804. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/head.d.ts +0 -0
  805. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/identity.d.ts +0 -0
  806. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/inRange.d.ts +0 -0
  807. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/includes.d.ts +0 -0
  808. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/index.d.ts +0 -0
  809. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/indexOf.d.ts +0 -0
  810. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/initial.d.ts +0 -0
  811. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/intersection.d.ts +0 -0
  812. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/intersectionBy.d.ts +0 -0
  813. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/intersectionWith.d.ts +0 -0
  814. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/invert.d.ts +0 -0
  815. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/invertBy.d.ts +0 -0
  816. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/invoke.d.ts +0 -0
  817. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/invokeMap.d.ts +0 -0
  818. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isArguments.d.ts +0 -0
  819. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isArray.d.ts +0 -0
  820. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isArrayBuffer.d.ts +0 -0
  821. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isArrayLike.d.ts +0 -0
  822. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isArrayLikeObject.d.ts +0 -0
  823. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isBoolean.d.ts +0 -0
  824. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isBuffer.d.ts +0 -0
  825. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isDate.d.ts +0 -0
  826. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isElement.d.ts +0 -0
  827. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isEmpty.d.ts +0 -0
  828. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isEqual.d.ts +0 -0
  829. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isEqualWith.d.ts +0 -0
  830. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isError.d.ts +0 -0
  831. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isFinite.d.ts +0 -0
  832. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isFunction.d.ts +0 -0
  833. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isInteger.d.ts +0 -0
  834. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isLength.d.ts +0 -0
  835. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isMap.d.ts +0 -0
  836. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isMatch.d.ts +0 -0
  837. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isMatchWith.d.ts +0 -0
  838. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isNaN.d.ts +0 -0
  839. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isNative.d.ts +0 -0
  840. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isNil.d.ts +0 -0
  841. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isNull.d.ts +0 -0
  842. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isNumber.d.ts +0 -0
  843. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isObject.d.ts +0 -0
  844. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isObjectLike.d.ts +0 -0
  845. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isPlainObject.d.ts +0 -0
  846. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isRegExp.d.ts +0 -0
  847. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isSafeInteger.d.ts +0 -0
  848. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isSet.d.ts +0 -0
  849. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isString.d.ts +0 -0
  850. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isSymbol.d.ts +0 -0
  851. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isTypedArray.d.ts +0 -0
  852. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isUndefined.d.ts +0 -0
  853. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isWeakMap.d.ts +0 -0
  854. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/isWeakSet.d.ts +0 -0
  855. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/iteratee.d.ts +0 -0
  856. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/join.d.ts +0 -0
  857. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/kebabCase.d.ts +0 -0
  858. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/keyBy.d.ts +0 -0
  859. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/keys.d.ts +0 -0
  860. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/keysIn.d.ts +0 -0
  861. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/last.d.ts +0 -0
  862. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/lastIndexOf.d.ts +0 -0
  863. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/lowerCase.d.ts +0 -0
  864. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/lowerFirst.d.ts +0 -0
  865. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/lt.d.ts +0 -0
  866. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/lte.d.ts +0 -0
  867. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/map.d.ts +0 -0
  868. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/mapKeys.d.ts +0 -0
  869. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/mapValues.d.ts +0 -0
  870. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/matches.d.ts +0 -0
  871. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/matchesProperty.d.ts +0 -0
  872. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/max.d.ts +0 -0
  873. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/maxBy.d.ts +0 -0
  874. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/mean.d.ts +0 -0
  875. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/meanBy.d.ts +0 -0
  876. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/memoize.d.ts +0 -0
  877. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/merge.d.ts +0 -0
  878. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/mergeWith.d.ts +0 -0
  879. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/method.d.ts +0 -0
  880. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/methodOf.d.ts +0 -0
  881. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/min.d.ts +0 -0
  882. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/minBy.d.ts +0 -0
  883. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/mixin.d.ts +0 -0
  884. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/multiply.d.ts +0 -0
  885. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/negate.d.ts +0 -0
  886. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/noConflict.d.ts +0 -0
  887. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/noop.d.ts +0 -0
  888. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/now.d.ts +0 -0
  889. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/nth.d.ts +0 -0
  890. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/nthArg.d.ts +0 -0
  891. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/omit.d.ts +0 -0
  892. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/omitBy.d.ts +0 -0
  893. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/once.d.ts +0 -0
  894. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/orderBy.d.ts +0 -0
  895. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/over.d.ts +0 -0
  896. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/overArgs.d.ts +0 -0
  897. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/overEvery.d.ts +0 -0
  898. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/overSome.d.ts +0 -0
  899. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/package.json +0 -0
  900. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/pad.d.ts +0 -0
  901. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/padEnd.d.ts +0 -0
  902. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/padStart.d.ts +0 -0
  903. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/parseInt.d.ts +0 -0
  904. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/partial.d.ts +0 -0
  905. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/partialRight.d.ts +0 -0
  906. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/partition.d.ts +0 -0
  907. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/pick.d.ts +0 -0
  908. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/pickBy.d.ts +0 -0
  909. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/property.d.ts +0 -0
  910. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/propertyOf.d.ts +0 -0
  911. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/pull.d.ts +0 -0
  912. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/pullAll.d.ts +0 -0
  913. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/pullAllBy.d.ts +0 -0
  914. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/pullAllWith.d.ts +0 -0
  915. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/pullAt.d.ts +0 -0
  916. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/random.d.ts +0 -0
  917. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/range.d.ts +0 -0
  918. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/rangeRight.d.ts +0 -0
  919. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/rearg.d.ts +0 -0
  920. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/reduce.d.ts +0 -0
  921. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/reduceRight.d.ts +0 -0
  922. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/reject.d.ts +0 -0
  923. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/remove.d.ts +0 -0
  924. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/repeat.d.ts +0 -0
  925. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/replace.d.ts +0 -0
  926. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/rest.d.ts +0 -0
  927. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/result.d.ts +0 -0
  928. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/reverse.d.ts +0 -0
  929. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/round.d.ts +0 -0
  930. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/runInContext.d.ts +0 -0
  931. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/sample.d.ts +0 -0
  932. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/sampleSize.d.ts +0 -0
  933. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/set.d.ts +0 -0
  934. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/setWith.d.ts +0 -0
  935. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/shuffle.d.ts +0 -0
  936. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/size.d.ts +0 -0
  937. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/slice.d.ts +0 -0
  938. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/snakeCase.d.ts +0 -0
  939. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/some.d.ts +0 -0
  940. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/sortBy.d.ts +0 -0
  941. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/sortedIndex.d.ts +0 -0
  942. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/sortedIndexBy.d.ts +0 -0
  943. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/sortedIndexOf.d.ts +0 -0
  944. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/sortedLastIndex.d.ts +0 -0
  945. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/sortedLastIndexBy.d.ts +0 -0
  946. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/sortedLastIndexOf.d.ts +0 -0
  947. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/sortedUniq.d.ts +0 -0
  948. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/sortedUniqBy.d.ts +0 -0
  949. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/split.d.ts +0 -0
  950. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/spread.d.ts +0 -0
  951. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/startCase.d.ts +0 -0
  952. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/startsWith.d.ts +0 -0
  953. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/stubArray.d.ts +0 -0
  954. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/stubFalse.d.ts +0 -0
  955. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/stubObject.d.ts +0 -0
  956. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/stubString.d.ts +0 -0
  957. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/stubTrue.d.ts +0 -0
  958. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/subtract.d.ts +0 -0
  959. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/sum.d.ts +0 -0
  960. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/sumBy.d.ts +0 -0
  961. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/tail.d.ts +0 -0
  962. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/take.d.ts +0 -0
  963. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/takeRight.d.ts +0 -0
  964. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/takeRightWhile.d.ts +0 -0
  965. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/takeWhile.d.ts +0 -0
  966. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/tap.d.ts +0 -0
  967. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/template.d.ts +0 -0
  968. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/throttle.d.ts +0 -0
  969. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/thru.d.ts +0 -0
  970. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/times.d.ts +0 -0
  971. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/toArray.d.ts +0 -0
  972. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/toFinite.d.ts +0 -0
  973. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/toInteger.d.ts +0 -0
  974. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/toLength.d.ts +0 -0
  975. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/toLower.d.ts +0 -0
  976. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/toNumber.d.ts +0 -0
  977. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/toPairs.d.ts +0 -0
  978. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/toPairsIn.d.ts +0 -0
  979. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/toPath.d.ts +0 -0
  980. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/toPlainObject.d.ts +0 -0
  981. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/toSafeInteger.d.ts +0 -0
  982. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/toString.d.ts +0 -0
  983. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/toUpper.d.ts +0 -0
  984. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/transform.d.ts +0 -0
  985. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/trim.d.ts +0 -0
  986. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/trimEnd.d.ts +0 -0
  987. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/trimStart.d.ts +0 -0
  988. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/truncate.d.ts +0 -0
  989. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/unary.d.ts +0 -0
  990. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/unescape.d.ts +0 -0
  991. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/union.d.ts +0 -0
  992. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/unionBy.d.ts +0 -0
  993. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/unionWith.d.ts +0 -0
  994. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/uniq.d.ts +0 -0
  995. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/uniqBy.d.ts +0 -0
  996. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/uniqWith.d.ts +0 -0
  997. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/uniqueId.d.ts +0 -0
  998. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/unset.d.ts +0 -0
  999. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/unzip.d.ts +0 -0
  1000. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/unzipWith.d.ts +0 -0
  1001. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/update.d.ts +0 -0
  1002. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/updateWith.d.ts +0 -0
  1003. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/upperCase.d.ts +0 -0
  1004. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/upperFirst.d.ts +0 -0
  1005. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/values.d.ts +0 -0
  1006. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/valuesIn.d.ts +0 -0
  1007. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/without.d.ts +0 -0
  1008. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/words.d.ts +0 -0
  1009. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/wrap.d.ts +0 -0
  1010. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/xor.d.ts +0 -0
  1011. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/xorBy.d.ts +0 -0
  1012. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/xorWith.d.ts +0 -0
  1013. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/zip.d.ts +0 -0
  1014. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/zipObject.d.ts +0 -0
  1015. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/zipObjectDeep.d.ts +0 -0
  1016. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash/zipWith.d.ts +0 -0
  1017. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types/lodash → @types/lodash.transform}/LICENSE +0 -0
  1018. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash.transform/README.md +0 -0
  1019. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash.transform/index.d.ts +0 -0
  1020. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/lodash.transform/package.json +0 -0
  1021. /package/node_modules/{@discordjs/voice/node_modules/@types/node → @types/mdast}/LICENSE +0 -0
  1022. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/mdast/README.md +0 -0
  1023. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/mdast/index.d.ts +0 -0
  1024. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/mdast/package.json +0 -0
  1025. /package/node_modules/{@discordjs/voice/node_modules/@types/ws → @types/ms}/LICENSE +0 -0
  1026. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/ms/README.md +0 -0
  1027. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/ms/index.d.ts +0 -0
  1028. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/ms/package.json +0 -0
  1029. /package/node_modules/{mdast-util-from-markdown/node_modules/@types/debug → @types/node}/LICENSE +0 -0
  1030. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/README.md +0 -0
  1031. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/assert/strict.d.ts +0 -0
  1032. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/assert.d.ts +0 -0
  1033. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/async_hooks.d.ts +0 -0
  1034. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/buffer.buffer.d.ts +0 -0
  1035. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/buffer.d.ts +0 -0
  1036. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/child_process.d.ts +0 -0
  1037. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/cluster.d.ts +0 -0
  1038. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/console.d.ts +0 -0
  1039. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/constants.d.ts +0 -0
  1040. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/crypto.d.ts +0 -0
  1041. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/dgram.d.ts +0 -0
  1042. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/diagnostics_channel.d.ts +0 -0
  1043. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/dns/promises.d.ts +0 -0
  1044. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/dns.d.ts +0 -0
  1045. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/domain.d.ts +0 -0
  1046. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/events.d.ts +0 -0
  1047. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/ffi.d.ts +0 -0
  1048. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/fs/promises.d.ts +0 -0
  1049. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/fs.d.ts +0 -0
  1050. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/globals.d.ts +0 -0
  1051. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/globals.typedarray.d.ts +0 -0
  1052. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/http.d.ts +0 -0
  1053. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/http2.d.ts +0 -0
  1054. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/https.d.ts +0 -0
  1055. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/index.d.ts +0 -0
  1056. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/inspector/promises.d.ts +0 -0
  1057. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/inspector.d.ts +0 -0
  1058. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/inspector.generated.d.ts +0 -0
  1059. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/module.d.ts +0 -0
  1060. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/net.d.ts +0 -0
  1061. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/os.d.ts +0 -0
  1062. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/package.json +0 -0
  1063. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/path/posix.d.ts +0 -0
  1064. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/path/win32.d.ts +0 -0
  1065. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/path.d.ts +0 -0
  1066. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/perf_hooks.d.ts +0 -0
  1067. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/process.d.ts +0 -0
  1068. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/punycode.d.ts +0 -0
  1069. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/querystring.d.ts +0 -0
  1070. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/quic.d.ts +0 -0
  1071. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/readline/promises.d.ts +0 -0
  1072. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/readline.d.ts +0 -0
  1073. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/repl.d.ts +0 -0
  1074. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/sea.d.ts +0 -0
  1075. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/sqlite.d.ts +0 -0
  1076. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/stream/consumers.d.ts +0 -0
  1077. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/stream/iter.d.ts +0 -0
  1078. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/stream/promises.d.ts +0 -0
  1079. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/stream/web.d.ts +0 -0
  1080. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/stream.d.ts +0 -0
  1081. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/string_decoder.d.ts +0 -0
  1082. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/test/reporters.d.ts +0 -0
  1083. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/test.d.ts +0 -0
  1084. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/timers/promises.d.ts +0 -0
  1085. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/timers.d.ts +0 -0
  1086. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/tls.d.ts +0 -0
  1087. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/trace_events.d.ts +0 -0
  1088. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/ts5.6/buffer.buffer.d.ts +0 -0
  1089. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/ts5.6/compatibility/float16array.d.ts +0 -0
  1090. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/ts5.6/globals.typedarray.d.ts +0 -0
  1091. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/ts5.6/index.d.ts +0 -0
  1092. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/ts5.7/compatibility/float16array.d.ts +0 -0
  1093. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/ts5.7/index.d.ts +0 -0
  1094. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/tty.d.ts +0 -0
  1095. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/url.d.ts +0 -0
  1096. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/util/types.d.ts +0 -0
  1097. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/util.d.ts +0 -0
  1098. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/v8.d.ts +0 -0
  1099. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/vm.d.ts +0 -0
  1100. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/wasi.d.ts +0 -0
  1101. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/abortcontroller.d.ts +0 -0
  1102. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/blob.d.ts +0 -0
  1103. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/console.d.ts +0 -0
  1104. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/crypto.d.ts +0 -0
  1105. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/domexception.d.ts +0 -0
  1106. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/encoding.d.ts +0 -0
  1107. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/events.d.ts +0 -0
  1108. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/fetch.d.ts +0 -0
  1109. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/importmeta.d.ts +0 -0
  1110. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/messaging.d.ts +0 -0
  1111. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/navigator.d.ts +0 -0
  1112. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/performance.d.ts +0 -0
  1113. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/storage.d.ts +0 -0
  1114. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/streams.d.ts +0 -0
  1115. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/timers.d.ts +0 -0
  1116. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/url.d.ts +0 -0
  1117. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/worker_threads.d.ts +0 -0
  1118. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/zlib/iter.d.ts +0 -0
  1119. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/zlib.d.ts +0 -0
  1120. /package/node_modules/{mdast-util-from-markdown/node_modules/@types/mdast → @types/unist}/LICENSE +0 -0
  1121. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/unist/README.md +0 -0
  1122. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/unist/index.d.ts +0 -0
  1123. /package/node_modules/{mdast-util-from-markdown/node_modules/@types → @types}/unist/package.json +0 -0
  1124. /package/node_modules/{mdast-util-from-markdown/node_modules/@types/ms → @types/uuid}/LICENSE +0 -0
  1125. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/uuid/README.md +0 -0
  1126. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/uuid/index.d.mts +0 -0
  1127. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/uuid/index.d.ts +0 -0
  1128. /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types → @types}/uuid/package.json +0 -0
  1129. /package/node_modules/{mdast-util-from-markdown/node_modules/@types/unist → @types/ws}/LICENSE +0 -0
  1130. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/ws/README.md +0 -0
  1131. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/ws/index.d.mts +0 -0
  1132. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/ws/index.d.ts +0 -0
  1133. /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/ws/package.json +0 -0
  1134. /package/node_modules/{@discord/embedded-app-sdk/node_modules/big-integer → big-integer}/BigInteger.d.ts +0 -0
  1135. /package/node_modules/{@discord/embedded-app-sdk/node_modules/big-integer → big-integer}/BigInteger.js +0 -0
  1136. /package/node_modules/{@discord/embedded-app-sdk/node_modules/big-integer → big-integer}/BigInteger.min.js +0 -0
  1137. /package/node_modules/{@discord/embedded-app-sdk/node_modules/big-integer → big-integer}/LICENSE +0 -0
  1138. /package/node_modules/{@discord/embedded-app-sdk/node_modules/big-integer → big-integer}/README.md +0 -0
  1139. /package/node_modules/{@discord/embedded-app-sdk/node_modules/big-integer → big-integer}/bower.json +0 -0
  1140. /package/node_modules/{@discord/embedded-app-sdk/node_modules/big-integer → big-integer}/package.json +0 -0
  1141. /package/node_modules/{@discord/embedded-app-sdk/node_modules/big-integer → big-integer}/tsconfig.json +0 -0
  1142. /package/node_modules/{mdast-util-from-markdown/node_modules/character-entities → character-entities}/index.d.ts +0 -0
  1143. /package/node_modules/{mdast-util-from-markdown/node_modules/character-entities → character-entities}/index.js +0 -0
  1144. /package/node_modules/{mdast-util-from-markdown/node_modules/character-entities → character-entities}/license +0 -0
  1145. /package/node_modules/{mdast-util-from-markdown/node_modules/character-entities → character-entities}/package.json +0 -0
  1146. /package/node_modules/{mdast-util-from-markdown/node_modules/character-entities → character-entities}/readme.md +0 -0
  1147. /package/node_modules/{mdast-util-from-markdown/node_modules/debug → debug}/LICENSE +0 -0
  1148. /package/node_modules/{mdast-util-from-markdown/node_modules/debug → debug}/README.md +0 -0
  1149. /package/node_modules/{mdast-util-from-markdown/node_modules/debug → debug}/package.json +0 -0
  1150. /package/node_modules/{mdast-util-from-markdown/node_modules/debug → debug}/src/browser.js +0 -0
  1151. /package/node_modules/{mdast-util-from-markdown/node_modules/debug → debug}/src/common.js +0 -0
  1152. /package/node_modules/{mdast-util-from-markdown/node_modules/debug → debug}/src/index.js +0 -0
  1153. /package/node_modules/{mdast-util-from-markdown/node_modules/debug → debug}/src/node.js +0 -0
  1154. /package/node_modules/{@discord/embedded-app-sdk/node_modules/decimal.js-light → decimal.js-light}/CHANGELOG.md +0 -0
  1155. /package/node_modules/{@discord/embedded-app-sdk/node_modules/decimal.js-light → decimal.js-light}/LICENCE.md +0 -0
  1156. /package/node_modules/{@discord/embedded-app-sdk/node_modules/decimal.js-light → decimal.js-light}/README.md +0 -0
  1157. /package/node_modules/{@discord/embedded-app-sdk/node_modules/decimal.js-light → decimal.js-light}/decimal.d.ts +0 -0
  1158. /package/node_modules/{@discord/embedded-app-sdk/node_modules/decimal.js-light → decimal.js-light}/decimal.js +0 -0
  1159. /package/node_modules/{@discord/embedded-app-sdk/node_modules/decimal.js-light → decimal.js-light}/decimal.min.js +0 -0
  1160. /package/node_modules/{@discord/embedded-app-sdk/node_modules/decimal.js-light → decimal.js-light}/decimal.mjs +0 -0
  1161. /package/node_modules/{@discord/embedded-app-sdk/node_modules/decimal.js-light → decimal.js-light}/doc/API.html +0 -0
  1162. /package/node_modules/{@discord/embedded-app-sdk/node_modules/decimal.js-light → decimal.js-light}/doc/decimal.js.map +0 -0
  1163. /package/node_modules/{@discord/embedded-app-sdk/node_modules/decimal.js-light → decimal.js-light}/package.json +0 -0
  1164. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.d.ts +0 -0
  1165. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.d.ts.map +0 -0
  1166. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.dom.d.ts +0 -0
  1167. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.dom.d.ts.map +0 -0
  1168. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.dom.js +0 -0
  1169. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/index.js +0 -0
  1170. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/license +0 -0
  1171. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/package.json +0 -0
  1172. /package/node_modules/{mdast-util-from-markdown/node_modules/decode-named-character-reference → decode-named-character-reference}/readme.md +0 -0
  1173. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/dist/index.js +0 -0
  1174. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/dist/index.min.js +0 -0
  1175. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/dist/index.mjs +0 -0
  1176. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/index.d.ts +0 -0
  1177. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/license +0 -0
  1178. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/lite/index.d.ts +0 -0
  1179. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/lite/index.js +0 -0
  1180. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/lite/index.min.js +0 -0
  1181. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/lite/index.mjs +0 -0
  1182. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/package.json +0 -0
  1183. /package/node_modules/{mdast-util-from-markdown/node_modules/dequal → dequal}/readme.md +0 -0
  1184. /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/lib/default.js +0 -0
  1185. /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/lib/development.d.ts +0 -0
  1186. /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/lib/development.js +0 -0
  1187. /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/license +0 -0
  1188. /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/package.json +0 -0
  1189. /package/node_modules/{mdast-util-from-markdown/node_modules/devlop → devlop}/readme.md +0 -0
  1190. /package/node_modules/{@discord/embedded-app-sdk/node_modules/eventemitter3 → eventemitter3}/LICENSE +0 -0
  1191. /package/node_modules/{@discord/embedded-app-sdk/node_modules/eventemitter3 → eventemitter3}/README.md +0 -0
  1192. /package/node_modules/{@discord/embedded-app-sdk/node_modules/eventemitter3 → eventemitter3}/dist/eventemitter3.esm.js +0 -0
  1193. /package/node_modules/{@discord/embedded-app-sdk/node_modules/eventemitter3 → eventemitter3}/dist/eventemitter3.esm.min.js +0 -0
  1194. /package/node_modules/{@discord/embedded-app-sdk/node_modules/eventemitter3 → eventemitter3}/dist/eventemitter3.esm.min.js.map +0 -0
  1195. /package/node_modules/{@discord/embedded-app-sdk/node_modules/eventemitter3 → eventemitter3}/dist/eventemitter3.umd.js +0 -0
  1196. /package/node_modules/{@discord/embedded-app-sdk/node_modules/eventemitter3 → eventemitter3}/dist/eventemitter3.umd.min.js +0 -0
  1197. /package/node_modules/{@discord/embedded-app-sdk/node_modules/eventemitter3 → eventemitter3}/dist/eventemitter3.umd.min.js.map +0 -0
  1198. /package/node_modules/{@discord/embedded-app-sdk/node_modules/eventemitter3 → eventemitter3}/index.d.ts +0 -0
  1199. /package/node_modules/{@discord/embedded-app-sdk/node_modules/eventemitter3 → eventemitter3}/index.js +0 -0
  1200. /package/node_modules/{@discord/embedded-app-sdk/node_modules/eventemitter3 → eventemitter3}/index.mjs +0 -0
  1201. /package/node_modules/{@discord/embedded-app-sdk/node_modules/eventemitter3 → eventemitter3}/package.json +0 -0
  1202. /package/node_modules/{@discord/embedded-app-sdk/node_modules/lodash.transform → lodash.transform}/LICENSE +0 -0
  1203. /package/node_modules/{@discord/embedded-app-sdk/node_modules/lodash.transform → lodash.transform}/README.md +0 -0
  1204. /package/node_modules/{@discord/embedded-app-sdk/node_modules/lodash.transform → lodash.transform}/index.js +0 -0
  1205. /package/node_modules/{@discord/embedded-app-sdk/node_modules/lodash.transform → lodash.transform}/package.json +0 -0
  1206. /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/index.d.ts +0 -0
  1207. /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/index.js +0 -0
  1208. /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/lib/index.d.ts +0 -0
  1209. /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/lib/index.js +0 -0
  1210. /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/license +0 -0
  1211. /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/package.json +0 -0
  1212. /package/node_modules/{mdast-util-from-markdown/node_modules/mdast-util-to-string → mdast-util-to-string}/readme.md +0 -0
  1213. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/index.d.ts +0 -0
  1214. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/index.d.ts.map +0 -0
  1215. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/index.js +0 -0
  1216. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/compile.d.ts +0 -0
  1217. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/compile.d.ts.map +0 -0
  1218. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/compile.js +0 -0
  1219. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/constructs.d.ts +0 -0
  1220. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/constructs.d.ts.map +0 -0
  1221. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/constructs.js +0 -0
  1222. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/create-tokenizer.d.ts +0 -0
  1223. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/create-tokenizer.d.ts.map +0 -0
  1224. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/create-tokenizer.js +0 -0
  1225. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/content.d.ts +0 -0
  1226. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/content.d.ts.map +0 -0
  1227. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/content.js +0 -0
  1228. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/document.d.ts +0 -0
  1229. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/document.d.ts.map +0 -0
  1230. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/document.js +0 -0
  1231. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/flow.d.ts +0 -0
  1232. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/flow.d.ts.map +0 -0
  1233. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/flow.js +0 -0
  1234. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/text.d.ts +0 -0
  1235. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/text.d.ts.map +0 -0
  1236. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/initialize/text.js +0 -0
  1237. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/parse.d.ts +0 -0
  1238. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/parse.d.ts.map +0 -0
  1239. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/parse.js +0 -0
  1240. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/postprocess.d.ts +0 -0
  1241. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/postprocess.d.ts.map +0 -0
  1242. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/postprocess.js +0 -0
  1243. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/preprocess.d.ts +0 -0
  1244. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/preprocess.d.ts.map +0 -0
  1245. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/lib/preprocess.js +0 -0
  1246. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/stream.d.ts +0 -0
  1247. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/stream.d.ts.map +0 -0
  1248. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/dev/stream.js +0 -0
  1249. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/index.d.ts +0 -0
  1250. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/index.d.ts.map +0 -0
  1251. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/index.js +0 -0
  1252. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/compile.d.ts +0 -0
  1253. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/compile.d.ts.map +0 -0
  1254. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/compile.js +0 -0
  1255. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/constructs.d.ts +0 -0
  1256. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/constructs.d.ts.map +0 -0
  1257. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/constructs.js +0 -0
  1258. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/create-tokenizer.d.ts +0 -0
  1259. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/create-tokenizer.d.ts.map +0 -0
  1260. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/create-tokenizer.js +0 -0
  1261. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/content.d.ts +0 -0
  1262. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/content.d.ts.map +0 -0
  1263. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/content.js +0 -0
  1264. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/document.d.ts +0 -0
  1265. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/document.d.ts.map +0 -0
  1266. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/document.js +0 -0
  1267. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/flow.d.ts +0 -0
  1268. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/flow.d.ts.map +0 -0
  1269. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/flow.js +0 -0
  1270. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/text.d.ts +0 -0
  1271. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/text.d.ts.map +0 -0
  1272. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/initialize/text.js +0 -0
  1273. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/parse.d.ts +0 -0
  1274. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/parse.d.ts.map +0 -0
  1275. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/parse.js +0 -0
  1276. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/postprocess.d.ts +0 -0
  1277. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/postprocess.d.ts.map +0 -0
  1278. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/postprocess.js +0 -0
  1279. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/preprocess.d.ts +0 -0
  1280. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/preprocess.d.ts.map +0 -0
  1281. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/lib/preprocess.js +0 -0
  1282. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/license +0 -0
  1283. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/package.json +0 -0
  1284. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/readme.md +0 -0
  1285. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/stream.d.ts +0 -0
  1286. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/stream.d.ts.map +0 -0
  1287. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark → micromark}/stream.js +0 -0
  1288. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/index.d.ts +0 -0
  1289. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/index.d.ts.map +0 -0
  1290. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/index.js +0 -0
  1291. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/attention.d.ts +0 -0
  1292. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/attention.d.ts.map +0 -0
  1293. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/attention.js +0 -0
  1294. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/autolink.d.ts +0 -0
  1295. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/autolink.d.ts.map +0 -0
  1296. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/autolink.js +0 -0
  1297. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/blank-line.d.ts +0 -0
  1298. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/blank-line.d.ts.map +0 -0
  1299. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/blank-line.js +0 -0
  1300. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/block-quote.d.ts +0 -0
  1301. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/block-quote.d.ts.map +0 -0
  1302. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/block-quote.js +0 -0
  1303. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-escape.d.ts +0 -0
  1304. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-escape.d.ts.map +0 -0
  1305. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-escape.js +0 -0
  1306. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-reference.d.ts +0 -0
  1307. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-reference.d.ts.map +0 -0
  1308. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/character-reference.js +0 -0
  1309. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-fenced.d.ts +0 -0
  1310. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-fenced.d.ts.map +0 -0
  1311. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-fenced.js +0 -0
  1312. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-indented.d.ts +0 -0
  1313. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-indented.d.ts.map +0 -0
  1314. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-indented.js +0 -0
  1315. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-text.d.ts +0 -0
  1316. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-text.d.ts.map +0 -0
  1317. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/code-text.js +0 -0
  1318. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/content.d.ts +0 -0
  1319. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/content.d.ts.map +0 -0
  1320. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/content.js +0 -0
  1321. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/definition.d.ts +0 -0
  1322. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/definition.d.ts.map +0 -0
  1323. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/definition.js +0 -0
  1324. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/hard-break-escape.d.ts +0 -0
  1325. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/hard-break-escape.d.ts.map +0 -0
  1326. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/hard-break-escape.js +0 -0
  1327. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/heading-atx.d.ts +0 -0
  1328. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/heading-atx.d.ts.map +0 -0
  1329. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/heading-atx.js +0 -0
  1330. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-flow.d.ts +0 -0
  1331. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-flow.d.ts.map +0 -0
  1332. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-flow.js +0 -0
  1333. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-text.d.ts +0 -0
  1334. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-text.d.ts.map +0 -0
  1335. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/html-text.js +0 -0
  1336. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-end.d.ts +0 -0
  1337. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-end.d.ts.map +0 -0
  1338. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-end.js +0 -0
  1339. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-image.d.ts +0 -0
  1340. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-image.d.ts.map +0 -0
  1341. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-image.js +0 -0
  1342. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-link.d.ts +0 -0
  1343. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-link.d.ts.map +0 -0
  1344. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/label-start-link.js +0 -0
  1345. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/line-ending.d.ts +0 -0
  1346. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/line-ending.d.ts.map +0 -0
  1347. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/line-ending.js +0 -0
  1348. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/list.d.ts +0 -0
  1349. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/list.d.ts.map +0 -0
  1350. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/list.js +0 -0
  1351. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/setext-underline.d.ts +0 -0
  1352. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/setext-underline.d.ts.map +0 -0
  1353. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/setext-underline.js +0 -0
  1354. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/thematic-break.d.ts +0 -0
  1355. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/thematic-break.d.ts.map +0 -0
  1356. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/dev/lib/thematic-break.js +0 -0
  1357. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/index.d.ts +0 -0
  1358. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/index.d.ts.map +0 -0
  1359. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/index.js +0 -0
  1360. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/attention.d.ts +0 -0
  1361. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/attention.d.ts.map +0 -0
  1362. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/attention.js +0 -0
  1363. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/autolink.d.ts +0 -0
  1364. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/autolink.d.ts.map +0 -0
  1365. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/autolink.js +0 -0
  1366. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/blank-line.d.ts +0 -0
  1367. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/blank-line.d.ts.map +0 -0
  1368. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/blank-line.js +0 -0
  1369. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/block-quote.d.ts +0 -0
  1370. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/block-quote.d.ts.map +0 -0
  1371. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/block-quote.js +0 -0
  1372. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-escape.d.ts +0 -0
  1373. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-escape.d.ts.map +0 -0
  1374. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-escape.js +0 -0
  1375. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-reference.d.ts +0 -0
  1376. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-reference.d.ts.map +0 -0
  1377. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-reference.js +0 -0
  1378. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-fenced.d.ts +0 -0
  1379. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-fenced.d.ts.map +0 -0
  1380. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-fenced.js +0 -0
  1381. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-indented.d.ts +0 -0
  1382. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-indented.d.ts.map +0 -0
  1383. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-indented.js +0 -0
  1384. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-text.d.ts +0 -0
  1385. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-text.d.ts.map +0 -0
  1386. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-text.js +0 -0
  1387. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/content.d.ts +0 -0
  1388. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/content.d.ts.map +0 -0
  1389. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/content.js +0 -0
  1390. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/definition.d.ts +0 -0
  1391. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/definition.d.ts.map +0 -0
  1392. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/definition.js +0 -0
  1393. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/hard-break-escape.d.ts +0 -0
  1394. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/hard-break-escape.d.ts.map +0 -0
  1395. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/hard-break-escape.js +0 -0
  1396. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/heading-atx.d.ts +0 -0
  1397. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/heading-atx.d.ts.map +0 -0
  1398. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/heading-atx.js +0 -0
  1399. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-flow.d.ts +0 -0
  1400. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-flow.d.ts.map +0 -0
  1401. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-flow.js +0 -0
  1402. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-text.d.ts +0 -0
  1403. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-text.d.ts.map +0 -0
  1404. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-text.js +0 -0
  1405. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-end.d.ts +0 -0
  1406. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-end.d.ts.map +0 -0
  1407. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-end.js +0 -0
  1408. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-image.d.ts +0 -0
  1409. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-image.d.ts.map +0 -0
  1410. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-image.js +0 -0
  1411. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-link.d.ts +0 -0
  1412. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-link.d.ts.map +0 -0
  1413. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-link.js +0 -0
  1414. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/line-ending.d.ts +0 -0
  1415. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/line-ending.d.ts.map +0 -0
  1416. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/line-ending.js +0 -0
  1417. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/list.d.ts +0 -0
  1418. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/list.d.ts.map +0 -0
  1419. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/list.js +0 -0
  1420. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/setext-underline.d.ts +0 -0
  1421. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/setext-underline.d.ts.map +0 -0
  1422. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/setext-underline.js +0 -0
  1423. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/thematic-break.d.ts +0 -0
  1424. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/thematic-break.d.ts.map +0 -0
  1425. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/thematic-break.js +0 -0
  1426. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/license +0 -0
  1427. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/package.json +0 -0
  1428. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-core-commonmark → micromark-core-commonmark}/readme.md +0 -0
  1429. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/dev/index.d.ts +0 -0
  1430. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/dev/index.d.ts.map +0 -0
  1431. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/dev/index.js +0 -0
  1432. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/index.d.ts +0 -0
  1433. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/index.d.ts.map +0 -0
  1434. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/index.js +0 -0
  1435. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/license +0 -0
  1436. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/package.json +0 -0
  1437. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-destination → micromark-factory-destination}/readme.md +0 -0
  1438. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/dev/index.d.ts +0 -0
  1439. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/dev/index.d.ts.map +0 -0
  1440. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/dev/index.js +0 -0
  1441. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/index.d.ts +0 -0
  1442. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/index.d.ts.map +0 -0
  1443. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/index.js +0 -0
  1444. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/license +0 -0
  1445. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/package.json +0 -0
  1446. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-label → micromark-factory-label}/readme.md +0 -0
  1447. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/dev/index.d.ts +0 -0
  1448. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/dev/index.d.ts.map +0 -0
  1449. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/dev/index.js +0 -0
  1450. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/index.d.ts +0 -0
  1451. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/index.d.ts.map +0 -0
  1452. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/index.js +0 -0
  1453. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/license +0 -0
  1454. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/package.json +0 -0
  1455. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-space → micromark-factory-space}/readme.md +0 -0
  1456. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/dev/index.d.ts +0 -0
  1457. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/dev/index.d.ts.map +0 -0
  1458. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/dev/index.js +0 -0
  1459. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/index.d.ts +0 -0
  1460. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/index.d.ts.map +0 -0
  1461. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/index.js +0 -0
  1462. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/license +0 -0
  1463. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/package.json +0 -0
  1464. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-title → micromark-factory-title}/readme.md +0 -0
  1465. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/dev/index.d.ts +0 -0
  1466. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/dev/index.d.ts.map +0 -0
  1467. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/dev/index.js +0 -0
  1468. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/index.d.ts +0 -0
  1469. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/index.d.ts.map +0 -0
  1470. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/index.js +0 -0
  1471. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/license +0 -0
  1472. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/package.json +0 -0
  1473. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-factory-whitespace → micromark-factory-whitespace}/readme.md +0 -0
  1474. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/dev/index.d.ts +0 -0
  1475. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/dev/index.d.ts.map +0 -0
  1476. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/dev/index.js +0 -0
  1477. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/index.d.ts +0 -0
  1478. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/index.d.ts.map +0 -0
  1479. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/index.js +0 -0
  1480. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/license +0 -0
  1481. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/package.json +0 -0
  1482. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-character → micromark-util-character}/readme.md +0 -0
  1483. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/dev/index.d.ts +0 -0
  1484. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/dev/index.d.ts.map +0 -0
  1485. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/dev/index.js +0 -0
  1486. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/index.d.ts +0 -0
  1487. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/index.d.ts.map +0 -0
  1488. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/index.js +0 -0
  1489. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/license +0 -0
  1490. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/package.json +0 -0
  1491. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-chunked → micromark-util-chunked}/readme.md +0 -0
  1492. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/dev/index.d.ts +0 -0
  1493. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/dev/index.d.ts.map +0 -0
  1494. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/dev/index.js +0 -0
  1495. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/index.d.ts +0 -0
  1496. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/index.d.ts.map +0 -0
  1497. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/index.js +0 -0
  1498. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/license +0 -0
  1499. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/package.json +0 -0
  1500. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-classify-character → micromark-util-classify-character}/readme.md +0 -0
  1501. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/index.d.ts +0 -0
  1502. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/index.d.ts.map +0 -0
  1503. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/index.js +0 -0
  1504. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/license +0 -0
  1505. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/package.json +0 -0
  1506. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/readme.md +0 -0
  1507. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/dev/index.d.ts +0 -0
  1508. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/dev/index.d.ts.map +0 -0
  1509. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/dev/index.js +0 -0
  1510. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/index.d.ts +0 -0
  1511. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/index.d.ts.map +0 -0
  1512. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/index.js +0 -0
  1513. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/license +0 -0
  1514. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/package.json +0 -0
  1515. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/readme.md +0 -0
  1516. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/dev/index.d.ts +0 -0
  1517. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/dev/index.d.ts.map +0 -0
  1518. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/dev/index.js +0 -0
  1519. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/index.d.ts +0 -0
  1520. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/index.d.ts.map +0 -0
  1521. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/index.js +0 -0
  1522. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/license +0 -0
  1523. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/package.json +0 -0
  1524. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-decode-string → micromark-util-decode-string}/readme.md +0 -0
  1525. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/index.d.ts +0 -0
  1526. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/index.d.ts.map +0 -0
  1527. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/index.js +0 -0
  1528. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/license +0 -0
  1529. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/package.json +0 -0
  1530. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-encode → micromark-util-encode}/readme.md +0 -0
  1531. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/index.d.ts +0 -0
  1532. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/index.d.ts.map +0 -0
  1533. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/index.js +0 -0
  1534. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/license +0 -0
  1535. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/package.json +0 -0
  1536. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/readme.md +0 -0
  1537. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/dev/index.d.ts +0 -0
  1538. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/dev/index.d.ts.map +0 -0
  1539. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/dev/index.js +0 -0
  1540. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/index.d.ts +0 -0
  1541. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/index.d.ts.map +0 -0
  1542. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/index.js +0 -0
  1543. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/license +0 -0
  1544. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/package.json +0 -0
  1545. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/readme.md +0 -0
  1546. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/index.d.ts +0 -0
  1547. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/index.d.ts.map +0 -0
  1548. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/index.js +0 -0
  1549. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/license +0 -0
  1550. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/package.json +0 -0
  1551. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/readme.md +0 -0
  1552. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/dev/index.d.ts +0 -0
  1553. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/dev/index.d.ts.map +0 -0
  1554. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/dev/index.js +0 -0
  1555. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/index.d.ts +0 -0
  1556. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/index.d.ts.map +0 -0
  1557. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/index.js +0 -0
  1558. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/license +0 -0
  1559. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/package.json +0 -0
  1560. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/readme.md +0 -0
  1561. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/index.d.ts +0 -0
  1562. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/index.d.ts.map +0 -0
  1563. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/index.js +0 -0
  1564. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/lib/splice-buffer.d.ts +0 -0
  1565. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/lib/splice-buffer.d.ts.map +0 -0
  1566. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/dev/lib/splice-buffer.js +0 -0
  1567. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/index.d.ts +0 -0
  1568. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/index.d.ts.map +0 -0
  1569. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/index.js +0 -0
  1570. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/lib/splice-buffer.d.ts +0 -0
  1571. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/lib/splice-buffer.d.ts.map +0 -0
  1572. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/lib/splice-buffer.js +0 -0
  1573. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/license +0 -0
  1574. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/package.json +0 -0
  1575. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/readme.md +0 -0
  1576. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/codes.d.ts +0 -0
  1577. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/codes.d.ts.map +0 -0
  1578. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/codes.js +0 -0
  1579. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/constants.d.ts +0 -0
  1580. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/constants.d.ts.map +0 -0
  1581. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/constants.js +0 -0
  1582. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/default.d.ts +0 -0
  1583. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/default.d.ts.map +0 -0
  1584. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/default.js +0 -0
  1585. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/types.d.ts +0 -0
  1586. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/types.d.ts.map +0 -0
  1587. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/types.js +0 -0
  1588. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/values.d.ts +0 -0
  1589. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/values.d.ts.map +0 -0
  1590. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/lib/values.js +0 -0
  1591. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/license +0 -0
  1592. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/package.json +0 -0
  1593. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-symbol → micromark-util-symbol}/readme.md +0 -0
  1594. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-types → micromark-util-types}/index.d.ts +0 -0
  1595. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-types → micromark-util-types}/index.js +0 -0
  1596. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-types → micromark-util-types}/license +0 -0
  1597. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-types → micromark-util-types}/package.json +0 -0
  1598. /package/node_modules/{mdast-util-from-markdown/node_modules/micromark-util-types → micromark-util-types}/readme.md +0 -0
  1599. /package/node_modules/{mdast-util-from-markdown/node_modules/ms → ms}/index.js +0 -0
  1600. /package/node_modules/{mdast-util-from-markdown/node_modules/ms → ms}/license.md +0 -0
  1601. /package/node_modules/{mdast-util-from-markdown/node_modules/ms → ms}/package.json +0 -0
  1602. /package/node_modules/{mdast-util-from-markdown/node_modules/ms → ms}/readme.md +0 -0
  1603. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/LICENSE +0 -0
  1604. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/README.md +0 -0
  1605. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/package.json +0 -0
  1606. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/core/FFmpeg.js +0 -0
  1607. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/core/VolumeTransformer.js +0 -0
  1608. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/core/WebmBase.js +0 -0
  1609. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/core/index.js +0 -0
  1610. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/index.js +0 -0
  1611. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/opus/OggDemuxer.js +0 -0
  1612. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/opus/Opus.js +0 -0
  1613. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/opus/WebmDemuxer.js +0 -0
  1614. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/opus/index.js +0 -0
  1615. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/util/loader.js +0 -0
  1616. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/vorbis/WebmDemuxer.js +0 -0
  1617. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/vorbis/index.js +0 -0
  1618. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/typings/index.d.ts +0 -0
  1619. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/typings/opus.d.ts +0 -0
  1620. /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/typings/vorbis.d.ts +0 -0
  1621. /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/CopyrightNotice.txt +0 -0
  1622. /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/LICENSE.txt +0 -0
  1623. /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/README.md +0 -0
  1624. /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/SECURITY.md +0 -0
  1625. /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/modules/index.d.ts +0 -0
  1626. /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/modules/index.js +0 -0
  1627. /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/modules/package.json +0 -0
  1628. /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/package.json +0 -0
  1629. /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/tslib.d.ts +0 -0
  1630. /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/tslib.es6.html +0 -0
  1631. /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/tslib.es6.js +0 -0
  1632. /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/tslib.es6.mjs +0 -0
  1633. /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/tslib.html +0 -0
  1634. /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/tslib.js +0 -0
  1635. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/LICENSE +0 -0
  1636. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/README.md +0 -0
  1637. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/agent.d.ts +0 -0
  1638. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/api.d.ts +0 -0
  1639. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/balanced-pool.d.ts +0 -0
  1640. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/cache-interceptor.d.ts +0 -0
  1641. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/cache.d.ts +0 -0
  1642. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/client-stats.d.ts +0 -0
  1643. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/client.d.ts +0 -0
  1644. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/connector.d.ts +0 -0
  1645. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/content-type.d.ts +0 -0
  1646. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/cookies.d.ts +0 -0
  1647. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/diagnostics-channel.d.ts +0 -0
  1648. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/dispatcher.d.ts +0 -0
  1649. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/dispatcher1-wrapper.d.ts +0 -0
  1650. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/env-http-proxy-agent.d.ts +0 -0
  1651. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/errors.d.ts +0 -0
  1652. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/eventsource.d.ts +0 -0
  1653. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/fetch.d.ts +0 -0
  1654. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/formdata.d.ts +0 -0
  1655. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/global-dispatcher.d.ts +0 -0
  1656. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/global-origin.d.ts +0 -0
  1657. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/h2c-client.d.ts +0 -0
  1658. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/handlers.d.ts +0 -0
  1659. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/header.d.ts +0 -0
  1660. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/index.d.ts +0 -0
  1661. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/interceptors.d.ts +0 -0
  1662. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/mock-agent.d.ts +0 -0
  1663. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/mock-call-history.d.ts +0 -0
  1664. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/mock-client.d.ts +0 -0
  1665. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/mock-errors.d.ts +0 -0
  1666. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/mock-interceptor.d.ts +0 -0
  1667. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/mock-pool.d.ts +0 -0
  1668. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/package.json +0 -0
  1669. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/patch.d.ts +0 -0
  1670. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/pool-stats.d.ts +0 -0
  1671. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/pool.d.ts +0 -0
  1672. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/proxy-agent.d.ts +0 -0
  1673. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/readable.d.ts +0 -0
  1674. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/retry-agent.d.ts +0 -0
  1675. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/retry-handler.d.ts +0 -0
  1676. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/round-robin-pool.d.ts +0 -0
  1677. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/snapshot-agent.d.ts +0 -0
  1678. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/socks5-proxy-agent.d.ts +0 -0
  1679. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/util.d.ts +0 -0
  1680. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/utility.d.ts +0 -0
  1681. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/webidl.d.ts +0 -0
  1682. /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/websocket.d.ts +0 -0
  1683. /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/index.d.ts +0 -0
  1684. /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/index.js +0 -0
  1685. /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/lib/index.d.ts +0 -0
  1686. /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/lib/index.js +0 -0
  1687. /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/license +0 -0
  1688. /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/package.json +0 -0
  1689. /package/node_modules/{mdast-util-from-markdown/node_modules/unist-util-stringify-position → unist-util-stringify-position}/readme.md +0 -0
  1690. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/LICENSE.md +0 -0
  1691. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/README.md +0 -0
  1692. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/index.d.ts +0 -0
  1693. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/index.js +0 -0
  1694. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/max.d.ts +0 -0
  1695. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/max.js +0 -0
  1696. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/md5.d.ts +0 -0
  1697. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/md5.js +0 -0
  1698. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/nil.d.ts +0 -0
  1699. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/nil.js +0 -0
  1700. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/parse.d.ts +0 -0
  1701. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/parse.js +0 -0
  1702. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/regex.d.ts +0 -0
  1703. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/regex.js +0 -0
  1704. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/rng.d.ts +0 -0
  1705. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/rng.js +0 -0
  1706. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/sha1.d.ts +0 -0
  1707. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/sha1.js +0 -0
  1708. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/stringify.d.ts +0 -0
  1709. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/stringify.js +0 -0
  1710. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/types.d.ts +0 -0
  1711. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid/dist/uuid-bin.d.ts → uuid/dist/types.js} +0 -0
  1712. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/uuid-bin.js +0 -0
  1713. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v1.d.ts +0 -0
  1714. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v1.js +0 -0
  1715. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v1ToV6.d.ts +0 -0
  1716. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v1ToV6.js +0 -0
  1717. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v3.d.ts +0 -0
  1718. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v3.js +0 -0
  1719. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v35.d.ts +0 -0
  1720. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v35.js +0 -0
  1721. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v4.d.ts +0 -0
  1722. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v4.js +0 -0
  1723. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v5.d.ts +0 -0
  1724. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v5.js +0 -0
  1725. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v6.d.ts +0 -0
  1726. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v6.js +0 -0
  1727. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v6ToV1.d.ts +0 -0
  1728. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v6ToV1.js +0 -0
  1729. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v7.d.ts +0 -0
  1730. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/v7.js +0 -0
  1731. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/validate.d.ts +0 -0
  1732. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/validate.js +0 -0
  1733. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/version.d.ts +0 -0
  1734. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist/version.js +0 -0
  1735. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/bin/uuid +0 -0
  1736. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/index.js +0 -0
  1737. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/max.js +0 -0
  1738. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/md5.js +0 -0
  1739. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/nil.js +0 -0
  1740. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/parse.js +0 -0
  1741. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/regex.js +0 -0
  1742. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/rng.js +0 -0
  1743. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/sha1.js +0 -0
  1744. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/stringify.js +0 -0
  1745. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid/dist → uuid/dist-node}/types.js +0 -0
  1746. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/uuid-bin.js +0 -0
  1747. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/v1.js +0 -0
  1748. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/v1ToV6.js +0 -0
  1749. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/v3.js +0 -0
  1750. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/v35.js +0 -0
  1751. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/v4.js +0 -0
  1752. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/v5.js +0 -0
  1753. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/v6.js +0 -0
  1754. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/v6ToV1.js +0 -0
  1755. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/v7.js +0 -0
  1756. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/validate.js +0 -0
  1757. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/dist-node/version.js +0 -0
  1758. /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid → uuid}/package.json +0 -0
@@ -0,0 +1,2954 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.wasmUtil = {}));
5
+ })(this, (function (exports) { 'use strict';
6
+
7
+ const _WebAssembly = typeof WebAssembly !== 'undefined'
8
+ ? WebAssembly
9
+ : typeof WXWebAssembly !== 'undefined'
10
+ ? WXWebAssembly
11
+ : undefined;
12
+ if (!_WebAssembly) {
13
+ throw new Error('WebAssembly is not supported in this environment');
14
+ }
15
+
16
+ /* eslint-disable spaced-comment */
17
+
18
+ function validateObject(value, name) {
19
+ if (value === null || typeof value !== 'object') {
20
+ throw new TypeError(`${name} must be an object. Received ${value === null ? 'null' : typeof value}`);
21
+ }
22
+ }
23
+ function validateArray(value, name) {
24
+ if (!Array.isArray(value)) {
25
+ throw new TypeError(`${name} must be an array. Received ${value === null ? 'null' : typeof value}`);
26
+ }
27
+ }
28
+ function validateBoolean(value, name) {
29
+ if (typeof value !== 'boolean') {
30
+ throw new TypeError(`${name} must be a boolean. Received ${value === null ? 'null' : typeof value}`);
31
+ }
32
+ }
33
+ function validateString(value, name) {
34
+ if (typeof value !== 'string') {
35
+ throw new TypeError(`${name} must be a string. Received ${value === null ? 'null' : typeof value}`);
36
+ }
37
+ }
38
+ function validateFunction(value, name) {
39
+ if (typeof value !== 'function') {
40
+ throw new TypeError(`${name} must be a function. Received ${value === null ? 'null' : typeof value}`);
41
+ }
42
+ }
43
+ function validateUndefined(value, name) {
44
+ if (value !== undefined) {
45
+ throw new TypeError(`${name} must be undefined. Received ${value === null ? 'null' : typeof value}`);
46
+ }
47
+ }
48
+ function isPromiseLike(obj) {
49
+ return !!(obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function');
50
+ }
51
+ function wrapInstanceExports(exports, mapFn) {
52
+ const newExports = Object.create(null);
53
+ Object.keys(exports).forEach(name => {
54
+ const exportValue = exports[name];
55
+ Object.defineProperty(newExports, name, {
56
+ enumerable: true,
57
+ value: mapFn(exportValue, name)
58
+ });
59
+ });
60
+ return newExports;
61
+ }
62
+ function sleepBreakIf(delay, breakIf) {
63
+ const start = Date.now();
64
+ const end = start + delay;
65
+ let ret = false;
66
+ while (Date.now() < end) {
67
+ if (breakIf()) {
68
+ ret = true;
69
+ break;
70
+ }
71
+ }
72
+ return ret;
73
+ }
74
+ function unsharedSlice(view, start, end) {
75
+ return ((typeof SharedArrayBuffer === 'function' && view.buffer instanceof SharedArrayBuffer) || (Object.prototype.toString.call(view.buffer.constructor) === '[object SharedArrayBuffer]'))
76
+ ? view.slice(start, end)
77
+ : view.subarray(start, end);
78
+ }
79
+
80
+ const ignoreNames = [
81
+ 'asyncify_get_state',
82
+ 'asyncify_start_rewind',
83
+ 'asyncify_start_unwind',
84
+ 'asyncify_stop_rewind',
85
+ 'asyncify_stop_unwind'
86
+ ];
87
+ function tryAllocate(instance, wasm64, size, mallocName) {
88
+ if (typeof instance.exports[mallocName] !== 'function' || size <= 0) {
89
+ return {
90
+ wasm64,
91
+ dataPtr: 16,
92
+ start: wasm64 ? 32 : 24,
93
+ end: 1024
94
+ };
95
+ }
96
+ const malloc = instance.exports[mallocName];
97
+ const dataPtr = wasm64 ? Number(malloc(BigInt(16) + BigInt(size))) : malloc(8 + size);
98
+ if (dataPtr === 0) {
99
+ throw new Error('Allocate asyncify data failed');
100
+ }
101
+ return wasm64
102
+ ? { wasm64, dataPtr, start: dataPtr + 16, end: dataPtr + 16 + size }
103
+ : { wasm64, dataPtr, start: dataPtr + 8, end: dataPtr + 8 + size };
104
+ }
105
+ /** @public */
106
+ class Asyncify {
107
+ constructor() {
108
+ this.value = undefined;
109
+ this.exports = undefined;
110
+ this.dataPtr = 0;
111
+ }
112
+ init(memory, instance, options) {
113
+ var _a, _b;
114
+ if (this.exports) {
115
+ throw new Error('Asyncify has been initialized');
116
+ }
117
+ if (!(memory instanceof _WebAssembly.Memory)) {
118
+ throw new TypeError('Require WebAssembly.Memory object');
119
+ }
120
+ const exports = instance.exports;
121
+ for (let i = 0; i < ignoreNames.length; ++i) {
122
+ if (typeof exports[ignoreNames[i]] !== 'function') {
123
+ throw new TypeError('Invalid asyncify wasm');
124
+ }
125
+ }
126
+ let address;
127
+ const wasm64 = Boolean(options.wasm64);
128
+ if (!options.tryAllocate) {
129
+ address = {
130
+ wasm64,
131
+ dataPtr: 16,
132
+ start: wasm64 ? 32 : 24,
133
+ end: 1024
134
+ };
135
+ }
136
+ else {
137
+ if (options.tryAllocate === true) {
138
+ address = tryAllocate(instance, wasm64, 4096, 'malloc');
139
+ }
140
+ else {
141
+ address = tryAllocate(instance, wasm64, (_a = options.tryAllocate.size) !== null && _a !== void 0 ? _a : 4096, (_b = options.tryAllocate.name) !== null && _b !== void 0 ? _b : 'malloc');
142
+ }
143
+ }
144
+ this.dataPtr = address.dataPtr;
145
+ if (wasm64) {
146
+ new BigInt64Array(memory.buffer, this.dataPtr).set([BigInt(address.start), BigInt(address.end)]);
147
+ }
148
+ else {
149
+ new Int32Array(memory.buffer, this.dataPtr).set([address.start, address.end]);
150
+ }
151
+ this.exports = this.wrapExports(exports, options.wrapExports);
152
+ const asyncifiedInstance = Object.create(_WebAssembly.Instance.prototype);
153
+ Object.defineProperty(asyncifiedInstance, 'exports', { value: this.exports });
154
+ // Object.setPrototypeOf(instance, Instance.prototype)
155
+ return asyncifiedInstance;
156
+ }
157
+ assertState() {
158
+ if (this.exports.asyncify_get_state() !== 0 /* AsyncifyState.NONE */) {
159
+ throw new Error('Asyncify state error');
160
+ }
161
+ }
162
+ wrapImportFunction(f) {
163
+ // eslint-disable-next-line @typescript-eslint/no-this-alias
164
+ const _this = this;
165
+ return (function () {
166
+ // eslint-disable-next-line no-unreachable-loop
167
+ while (_this.exports.asyncify_get_state() === 2 /* AsyncifyState.REWINDING */) {
168
+ _this.exports.asyncify_stop_rewind();
169
+ return _this.value;
170
+ }
171
+ _this.assertState();
172
+ const v = f.apply(this, arguments);
173
+ if (!isPromiseLike(v))
174
+ return v;
175
+ _this.exports.asyncify_start_unwind(_this.dataPtr);
176
+ _this.value = v;
177
+ });
178
+ }
179
+ wrapImports(imports) {
180
+ const importObject = {};
181
+ Object.keys(imports).forEach(k => {
182
+ const mod = imports[k];
183
+ const newModule = {};
184
+ Object.keys(mod).forEach(name => {
185
+ const importValue = mod[name];
186
+ if (typeof importValue === 'function') {
187
+ newModule[name] = this.wrapImportFunction(importValue);
188
+ }
189
+ else {
190
+ newModule[name] = importValue;
191
+ }
192
+ });
193
+ importObject[k] = newModule;
194
+ });
195
+ return importObject;
196
+ }
197
+ wrapExportFunction(f) {
198
+ // eslint-disable-next-line @typescript-eslint/no-this-alias
199
+ const _this = this;
200
+ return (async function () {
201
+ _this.assertState();
202
+ let ret = f.apply(this, arguments);
203
+ while (_this.exports.asyncify_get_state() === 1 /* AsyncifyState.UNWINDING */) {
204
+ _this.exports.asyncify_stop_unwind();
205
+ _this.value = await _this.value;
206
+ _this.assertState();
207
+ _this.exports.asyncify_start_rewind(_this.dataPtr);
208
+ ret = f.call(this);
209
+ }
210
+ _this.assertState();
211
+ return ret;
212
+ });
213
+ }
214
+ wrapExports(exports, needWrap) {
215
+ return wrapInstanceExports(exports, (exportValue, name) => {
216
+ let ignore = ignoreNames.indexOf(name) !== -1 || typeof exportValue !== 'function';
217
+ if (Array.isArray(needWrap)) {
218
+ ignore = ignore || (needWrap.indexOf(name) === -1);
219
+ }
220
+ return ignore ? exportValue : this.wrapExportFunction(exportValue);
221
+ });
222
+ }
223
+ }
224
+
225
+ function validateImports(imports) {
226
+ if (imports && typeof imports !== 'object') {
227
+ throw new TypeError('imports must be an object or undefined');
228
+ }
229
+ }
230
+ function fetchWasm(urlOrBuffer, imports) {
231
+ if (typeof wx !== 'undefined' && typeof __wxConfig !== 'undefined') {
232
+ return _WebAssembly.instantiate(urlOrBuffer, imports);
233
+ }
234
+ return fetch(urlOrBuffer)
235
+ .then(response => response.arrayBuffer())
236
+ .then(buffer => _WebAssembly.instantiate(buffer, imports));
237
+ }
238
+ /** @public */
239
+ function load(wasmInput, imports) {
240
+ validateImports(imports);
241
+ imports = imports !== null && imports !== void 0 ? imports : {};
242
+ let source;
243
+ if (wasmInput instanceof ArrayBuffer || ArrayBuffer.isView(wasmInput)) {
244
+ return _WebAssembly.instantiate(wasmInput, imports);
245
+ }
246
+ if (wasmInput instanceof _WebAssembly.Module) {
247
+ return _WebAssembly.instantiate(wasmInput, imports).then((instance) => {
248
+ return { instance, module: wasmInput };
249
+ });
250
+ }
251
+ if (typeof wasmInput !== 'string' && !(wasmInput instanceof URL)) {
252
+ throw new TypeError('Invalid source');
253
+ }
254
+ if (typeof _WebAssembly.instantiateStreaming === 'function') {
255
+ let responsePromise;
256
+ try {
257
+ responsePromise = fetch(wasmInput);
258
+ source = _WebAssembly.instantiateStreaming(responsePromise, imports).catch(() => {
259
+ return fetchWasm(wasmInput, imports);
260
+ });
261
+ }
262
+ catch (_) {
263
+ source = fetchWasm(wasmInput, imports);
264
+ }
265
+ }
266
+ else {
267
+ source = fetchWasm(wasmInput, imports);
268
+ }
269
+ return source;
270
+ }
271
+ /** @public */
272
+ function asyncifyLoad(asyncify, urlOrBuffer, imports) {
273
+ validateImports(imports);
274
+ imports = imports !== null && imports !== void 0 ? imports : {};
275
+ const asyncifyHelper = new Asyncify();
276
+ imports = asyncifyHelper.wrapImports(imports);
277
+ return load(urlOrBuffer, imports).then(source => {
278
+ var _a;
279
+ const memory = source.instance.exports.memory || ((_a = imports.env) === null || _a === void 0 ? void 0 : _a.memory);
280
+ return { module: source.module, instance: asyncifyHelper.init(memory, source.instance, asyncify) };
281
+ });
282
+ }
283
+ /** @public */
284
+ function loadSync(wasmInput, imports) {
285
+ validateImports(imports);
286
+ imports = imports !== null && imports !== void 0 ? imports : {};
287
+ let module;
288
+ if ((wasmInput instanceof ArrayBuffer) || ArrayBuffer.isView(wasmInput)) {
289
+ module = new _WebAssembly.Module(wasmInput);
290
+ }
291
+ else if (wasmInput instanceof WebAssembly.Module) {
292
+ module = wasmInput;
293
+ }
294
+ else {
295
+ throw new TypeError('Invalid source');
296
+ }
297
+ const instance = new _WebAssembly.Instance(module, imports);
298
+ const source = { instance, module };
299
+ return source;
300
+ }
301
+ /** @public */
302
+ function asyncifyLoadSync(asyncify, buffer, imports) {
303
+ var _a;
304
+ validateImports(imports);
305
+ imports = imports !== null && imports !== void 0 ? imports : {};
306
+ const asyncifyHelper = new Asyncify();
307
+ imports = asyncifyHelper.wrapImports(imports);
308
+ const source = loadSync(buffer, imports);
309
+ const memory = source.instance.exports.memory || ((_a = imports.env) === null || _a === void 0 ? void 0 : _a.memory);
310
+ return { module: source.module, instance: asyncifyHelper.init(memory, source.instance, asyncify) };
311
+ }
312
+
313
+ const CHAR_DOT = 46; /* . */
314
+ const CHAR_FORWARD_SLASH = 47; /* / */
315
+ const CHAR_BACKWARD_SLASH = 92; /* \ */
316
+ const CHAR_COLON = 58; /* : */
317
+ const CHAR_UPPERCASE_A = 65; /* A */
318
+ const CHAR_UPPERCASE_Z = 90; /* Z */
319
+ const CHAR_LOWERCASE_A = 97; /* a */
320
+ const CHAR_LOWERCASE_Z = 122; /* z */
321
+ function isPathSeparatorWin(code) {
322
+ return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
323
+ }
324
+ function isWindowsDeviceRoot(code) {
325
+ return (code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z) ||
326
+ (code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z);
327
+ }
328
+ const _isWin32 = typeof process !== 'undefined' && process.platform === 'win32';
329
+ /**
330
+ * Windows variant of `resolve()`. Mirrors Node's `path.win32.resolve`
331
+ * semantics enough for the WASI shim's needs (drive-letter absolutes
332
+ * + UNC paths + per-drive cwd lookups via `process.env`/`process.cwd`).
333
+ *
334
+ * Why this is needed: on Windows, `FileDescriptor.realPath` is the
335
+ * host realpath returned by `fs.realpathSync(realPath, 'utf8')` — the
336
+ * backslash form `D:\…`. The POSIX-only `resolveImpl` below only
337
+ * treats `/` as a separator, reads `D` as non-`/`, decides realPath
338
+ * is "relative", and produces a garbage joined path. Downstream
339
+ * `fs.openSync(garbage)` then returns `EINVAL` and the WASI caller
340
+ * sees a permanent failure. This function gives us the correct
341
+ * Windows-style resolution without taking a Node-only `path` import
342
+ * (which would break browser bundles of this package).
343
+ *
344
+ * Cribbed from Node's `lib/path.js` `win32.resolve()` (MIT-licensed),
345
+ * trimmed to what WASI realpath resolution actually exercises.
346
+ */
347
+ function resolveWin32(args) {
348
+ let resolvedDevice = '';
349
+ let resolvedTail = '';
350
+ let resolvedAbsolute = false;
351
+ for (let i = args.length - 1; i >= -1; i--) {
352
+ let path;
353
+ if (i >= 0) {
354
+ path = args[i];
355
+ validateString(path, 'path');
356
+ if (path.length === 0)
357
+ continue;
358
+ }
359
+ else if (resolvedDevice.length === 0) {
360
+ path = (typeof process !== 'undefined' && typeof process.cwd === 'function')
361
+ ? process.cwd()
362
+ : '';
363
+ }
364
+ else {
365
+ // Look up per-drive cwd via the `=X:` env var convention; fall back
366
+ // to the global cwd if absent.
367
+ const envKey = `=${resolvedDevice}`;
368
+ const env = (typeof process !== 'undefined') ? process.env : undefined;
369
+ path = (env && typeof env[envKey] === 'string')
370
+ ? env[envKey]
371
+ : (typeof process !== 'undefined' && typeof process.cwd === 'function')
372
+ ? process.cwd()
373
+ : '';
374
+ if (path === undefined ||
375
+ (path.slice(0, 2).toLowerCase() !== resolvedDevice.toLowerCase() &&
376
+ path.charCodeAt(2) === CHAR_BACKWARD_SLASH)) {
377
+ path = `${resolvedDevice}\\`;
378
+ }
379
+ }
380
+ const len = path.length;
381
+ let rootEnd = 0;
382
+ let device = '';
383
+ let isAbsolute = false;
384
+ const code = path.charCodeAt(0);
385
+ if (len === 1) {
386
+ if (isPathSeparatorWin(code)) {
387
+ rootEnd = 1;
388
+ isAbsolute = true;
389
+ }
390
+ }
391
+ else if (isPathSeparatorWin(code)) {
392
+ isAbsolute = true;
393
+ if (isPathSeparatorWin(path.charCodeAt(1))) {
394
+ // UNC path: `\\server\share\…`
395
+ let j = 2;
396
+ let last = j;
397
+ while (j < len && !isPathSeparatorWin(path.charCodeAt(j)))
398
+ j++;
399
+ if (j < len && j !== last) {
400
+ const firstPart = path.slice(last, j);
401
+ last = j;
402
+ while (j < len && isPathSeparatorWin(path.charCodeAt(j)))
403
+ j++;
404
+ if (j < len && j !== last) {
405
+ last = j;
406
+ while (j < len && !isPathSeparatorWin(path.charCodeAt(j)))
407
+ j++;
408
+ if (j === len || j !== last) {
409
+ device = `\\\\${firstPart}\\${path.slice(last, j)}`;
410
+ rootEnd = j;
411
+ }
412
+ }
413
+ }
414
+ }
415
+ else {
416
+ rootEnd = 1;
417
+ }
418
+ }
419
+ else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {
420
+ device = path.slice(0, 2);
421
+ rootEnd = 2;
422
+ if (len > 2 && isPathSeparatorWin(path.charCodeAt(2))) {
423
+ isAbsolute = true;
424
+ rootEnd = 3;
425
+ }
426
+ }
427
+ if (device.length > 0) {
428
+ if (resolvedDevice.length > 0) {
429
+ if (device.toLowerCase() !== resolvedDevice.toLowerCase())
430
+ continue;
431
+ }
432
+ else {
433
+ resolvedDevice = device;
434
+ }
435
+ }
436
+ if (resolvedAbsolute) {
437
+ if (resolvedDevice.length > 0)
438
+ break;
439
+ }
440
+ else {
441
+ resolvedTail = `${path.slice(rootEnd)}\\${resolvedTail}`;
442
+ resolvedAbsolute = isAbsolute;
443
+ if (isAbsolute && resolvedDevice.length > 0)
444
+ break;
445
+ }
446
+ }
447
+ resolvedTail = normalizeString(resolvedTail, !resolvedAbsolute, '\\', isPathSeparatorWin);
448
+ return resolvedDevice + (resolvedAbsolute ? '\\' : '') + resolvedTail || '.';
449
+ }
450
+ function isPosixPathSeparator(code) {
451
+ return code === CHAR_FORWARD_SLASH;
452
+ }
453
+ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
454
+ let res = '';
455
+ let lastSegmentLength = 0;
456
+ let lastSlash = -1;
457
+ let dots = 0;
458
+ let code = 0;
459
+ for (let i = 0; i <= path.length; ++i) {
460
+ if (i < path.length) {
461
+ code = path.charCodeAt(i);
462
+ }
463
+ else if (isPathSeparator(code)) {
464
+ break;
465
+ }
466
+ else {
467
+ code = CHAR_FORWARD_SLASH;
468
+ }
469
+ if (isPathSeparator(code)) {
470
+ if (lastSlash === i - 1 || dots === 1) ;
471
+ else if (dots === 2) {
472
+ if (res.length < 2 || lastSegmentLength !== 2 ||
473
+ res.charCodeAt(res.length - 1) !== CHAR_DOT ||
474
+ res.charCodeAt(res.length - 2) !== CHAR_DOT) {
475
+ if (res.length > 2) {
476
+ const lastSlashIndex = res.indexOf(separator);
477
+ if (lastSlashIndex === -1) {
478
+ res = '';
479
+ lastSegmentLength = 0;
480
+ }
481
+ else {
482
+ res = res.slice(0, lastSlashIndex);
483
+ lastSegmentLength =
484
+ res.length - 1 - res.indexOf(separator);
485
+ }
486
+ lastSlash = i;
487
+ dots = 0;
488
+ continue;
489
+ }
490
+ else if (res.length !== 0) {
491
+ res = '';
492
+ lastSegmentLength = 0;
493
+ lastSlash = i;
494
+ dots = 0;
495
+ continue;
496
+ }
497
+ }
498
+ if (allowAboveRoot) {
499
+ res += res.length > 0 ? `${separator}..` : '..';
500
+ lastSegmentLength = 2;
501
+ }
502
+ }
503
+ else {
504
+ if (res.length > 0) {
505
+ res += `${separator}${path.slice(lastSlash + 1, i)}`;
506
+ }
507
+ else {
508
+ res = path.slice(lastSlash + 1, i);
509
+ }
510
+ lastSegmentLength = i - lastSlash - 1;
511
+ }
512
+ lastSlash = i;
513
+ dots = 0;
514
+ }
515
+ else if (code === CHAR_DOT && dots !== -1) {
516
+ ++dots;
517
+ }
518
+ else {
519
+ dots = -1;
520
+ }
521
+ }
522
+ return res;
523
+ }
524
+ function resolve(...args) {
525
+ // On Windows, host paths are `D:\…` style. The POSIX-only resolver
526
+ // below treats `D` as a non-`/` character and produces garbage; route
527
+ // to the Windows-aware variant. POSIX hosts (Linux/macOS/browser)
528
+ // run the original code path unchanged — `_isWin32` is constant-folded
529
+ // away on those targets.
530
+ if (_isWin32)
531
+ return resolveWin32(args);
532
+ let resolvedPath = '';
533
+ let resolvedAbsolute = false;
534
+ for (let i = args.length - 1; i >= -1 && !resolvedAbsolute; i--) {
535
+ const path = i >= 0 ? args[i] : '/';
536
+ validateString(path, 'path');
537
+ // Skip empty entries
538
+ if (path.length === 0) {
539
+ continue;
540
+ }
541
+ resolvedPath = `${path}/${resolvedPath}`;
542
+ resolvedAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;
543
+ }
544
+ // At this point the path should be resolved to a full absolute path, but
545
+ // handle relative paths to be safe (might happen when process.cwd() fails)
546
+ // Normalize the path
547
+ resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, '/', isPosixPathSeparator);
548
+ if (resolvedAbsolute) {
549
+ return `/${resolvedPath}`;
550
+ }
551
+ return resolvedPath.length > 0 ? resolvedPath : '.';
552
+ }
553
+
554
+ const FD_DATASYNC = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(0));
555
+ const FD_READ = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(1));
556
+ const FD_SEEK = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(2));
557
+ const FD_FDSTAT_SET_FLAGS = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(3));
558
+ const FD_SYNC = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(4));
559
+ const FD_TELL = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(5));
560
+ const FD_WRITE = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(6));
561
+ const FD_ADVISE = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(7));
562
+ const FD_ALLOCATE = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(8));
563
+ const PATH_CREATE_DIRECTORY = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(9));
564
+ const PATH_CREATE_FILE = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(10));
565
+ const PATH_LINK_SOURCE = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(11));
566
+ const PATH_LINK_TARGET = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(12));
567
+ const PATH_OPEN = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(13));
568
+ const FD_READDIR = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(14));
569
+ const PATH_READLINK = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(15));
570
+ const PATH_RENAME_SOURCE = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(16));
571
+ const PATH_RENAME_TARGET = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(17));
572
+ const PATH_FILESTAT_GET = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(18));
573
+ const PATH_FILESTAT_SET_SIZE = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(19));
574
+ const PATH_FILESTAT_SET_TIMES = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(20));
575
+ const FD_FILESTAT_GET = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(21));
576
+ const FD_FILESTAT_SET_SIZE = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(22));
577
+ const FD_FILESTAT_SET_TIMES = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(23));
578
+ const PATH_SYMLINK = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(24));
579
+ const PATH_REMOVE_DIRECTORY = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(25));
580
+ const PATH_UNLINK_FILE = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(26));
581
+ const POLL_FD_READWRITE = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(27));
582
+ const SOCK_SHUTDOWN = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(28));
583
+ const SOCK_ACCEPT = ( /*#__PURE__*/BigInt(1) << /*#__PURE__*/ BigInt(29));
584
+ const WasiRights = {
585
+ FD_DATASYNC,
586
+ FD_READ,
587
+ FD_SEEK,
588
+ FD_FDSTAT_SET_FLAGS,
589
+ FD_SYNC,
590
+ FD_TELL,
591
+ FD_WRITE,
592
+ FD_ADVISE,
593
+ FD_ALLOCATE,
594
+ PATH_CREATE_DIRECTORY,
595
+ PATH_CREATE_FILE,
596
+ PATH_LINK_SOURCE,
597
+ PATH_LINK_TARGET,
598
+ PATH_OPEN,
599
+ FD_READDIR,
600
+ PATH_READLINK,
601
+ PATH_RENAME_SOURCE,
602
+ PATH_RENAME_TARGET,
603
+ PATH_FILESTAT_GET,
604
+ PATH_FILESTAT_SET_SIZE,
605
+ PATH_FILESTAT_SET_TIMES,
606
+ FD_FILESTAT_GET,
607
+ FD_FILESTAT_SET_SIZE,
608
+ FD_FILESTAT_SET_TIMES,
609
+ PATH_SYMLINK,
610
+ PATH_REMOVE_DIRECTORY,
611
+ PATH_UNLINK_FILE,
612
+ POLL_FD_READWRITE,
613
+ SOCK_SHUTDOWN,
614
+ SOCK_ACCEPT
615
+ };
616
+
617
+ function strerror(errno) {
618
+ switch (errno) {
619
+ case 0 /* WasiErrno.ESUCCESS */: return 'Success';
620
+ case 1 /* WasiErrno.E2BIG */: return 'Argument list too long';
621
+ case 2 /* WasiErrno.EACCES */: return 'Permission denied';
622
+ case 3 /* WasiErrno.EADDRINUSE */: return 'Address in use';
623
+ case 4 /* WasiErrno.EADDRNOTAVAIL */: return 'Address not available';
624
+ case 5 /* WasiErrno.EAFNOSUPPORT */: return 'Address family not supported by protocol';
625
+ case 6 /* WasiErrno.EAGAIN */: return 'Resource temporarily unavailable';
626
+ case 7 /* WasiErrno.EALREADY */: return 'Operation already in progress';
627
+ case 8 /* WasiErrno.EBADF */: return 'Bad file descriptor';
628
+ case 9 /* WasiErrno.EBADMSG */: return 'Bad message';
629
+ case 10 /* WasiErrno.EBUSY */: return 'Resource busy';
630
+ case 11 /* WasiErrno.ECANCELED */: return 'Operation canceled';
631
+ case 12 /* WasiErrno.ECHILD */: return 'No child process';
632
+ case 13 /* WasiErrno.ECONNABORTED */: return 'Connection aborted';
633
+ case 14 /* WasiErrno.ECONNREFUSED */: return 'Connection refused';
634
+ case 15 /* WasiErrno.ECONNRESET */: return 'Connection reset by peer';
635
+ case 16 /* WasiErrno.EDEADLK */: return 'Resource deadlock would occur';
636
+ case 17 /* WasiErrno.EDESTADDRREQ */: return 'Destination address required';
637
+ case 18 /* WasiErrno.EDOM */: return 'Domain error';
638
+ case 19 /* WasiErrno.EDQUOT */: return 'Quota exceeded';
639
+ case 20 /* WasiErrno.EEXIST */: return 'File exists';
640
+ case 21 /* WasiErrno.EFAULT */: return 'Bad address';
641
+ case 22 /* WasiErrno.EFBIG */: return 'File too large';
642
+ case 23 /* WasiErrno.EHOSTUNREACH */: return 'Host is unreachable';
643
+ case 24 /* WasiErrno.EIDRM */: return 'Identifier removed';
644
+ case 25 /* WasiErrno.EILSEQ */: return 'Illegal byte sequence';
645
+ case 26 /* WasiErrno.EINPROGRESS */: return 'Operation in progress';
646
+ case 27 /* WasiErrno.EINTR */: return 'Interrupted system call';
647
+ case 28 /* WasiErrno.EINVAL */: return 'Invalid argument';
648
+ case 29 /* WasiErrno.EIO */: return 'I/O error';
649
+ case 30 /* WasiErrno.EISCONN */: return 'Socket is connected';
650
+ case 31 /* WasiErrno.EISDIR */: return 'Is a directory';
651
+ case 32 /* WasiErrno.ELOOP */: return 'Symbolic link loop';
652
+ case 33 /* WasiErrno.EMFILE */: return 'No file descriptors available';
653
+ case 34 /* WasiErrno.EMLINK */: return 'Too many links';
654
+ case 35 /* WasiErrno.EMSGSIZE */: return 'Message too large';
655
+ case 36 /* WasiErrno.EMULTIHOP */: return 'Multihop attempted';
656
+ case 37 /* WasiErrno.ENAMETOOLONG */: return 'Filename too long';
657
+ case 38 /* WasiErrno.ENETDOWN */: return 'Network is down';
658
+ case 39 /* WasiErrno.ENETRESET */: return 'Connection reset by network';
659
+ case 40 /* WasiErrno.ENETUNREACH */: return 'Network unreachable';
660
+ case 41 /* WasiErrno.ENFILE */: return 'Too many files open in system';
661
+ case 42 /* WasiErrno.ENOBUFS */: return 'No buffer space available';
662
+ case 43 /* WasiErrno.ENODEV */: return 'No such device';
663
+ case 44 /* WasiErrno.ENOENT */: return 'No such file or directory';
664
+ case 45 /* WasiErrno.ENOEXEC */: return 'Exec format error';
665
+ case 46 /* WasiErrno.ENOLCK */: return 'No locks available';
666
+ case 47 /* WasiErrno.ENOLINK */: return 'Link has been severed';
667
+ case 48 /* WasiErrno.ENOMEM */: return 'Out of memory';
668
+ case 49 /* WasiErrno.ENOMSG */: return 'No message of the desired type';
669
+ case 50 /* WasiErrno.ENOPROTOOPT */: return 'Protocol not available';
670
+ case 51 /* WasiErrno.ENOSPC */: return 'No space left on device';
671
+ case 52 /* WasiErrno.ENOSYS */: return 'Function not implemented';
672
+ case 53 /* WasiErrno.ENOTCONN */: return 'Socket not connected';
673
+ case 54 /* WasiErrno.ENOTDIR */: return 'Not a directory';
674
+ case 55 /* WasiErrno.ENOTEMPTY */: return 'Directory not empty';
675
+ case 56 /* WasiErrno.ENOTRECOVERABLE */: return 'State not recoverable';
676
+ case 57 /* WasiErrno.ENOTSOCK */: return 'Not a socket';
677
+ case 58 /* WasiErrno.ENOTSUP */: return 'Not supported';
678
+ case 59 /* WasiErrno.ENOTTY */: return 'Not a tty';
679
+ case 60 /* WasiErrno.ENXIO */: return 'No such device or address';
680
+ case 61 /* WasiErrno.EOVERFLOW */: return 'Value too large for data type';
681
+ case 62 /* WasiErrno.EOWNERDEAD */: return 'Previous owner died';
682
+ case 63 /* WasiErrno.EPERM */: return 'Operation not permitted';
683
+ case 64 /* WasiErrno.EPIPE */: return 'Broken pipe';
684
+ case 65 /* WasiErrno.EPROTO */: return 'Protocol error';
685
+ case 66 /* WasiErrno.EPROTONOSUPPORT */: return 'Protocol not supported';
686
+ case 67 /* WasiErrno.EPROTOTYPE */: return 'Protocol wrong type for socket';
687
+ case 68 /* WasiErrno.ERANGE */: return 'Result not representable';
688
+ case 69 /* WasiErrno.EROFS */: return 'Read-only file system';
689
+ case 70 /* WasiErrno.ESPIPE */: return 'Invalid seek';
690
+ case 71 /* WasiErrno.ESRCH */: return 'No such process';
691
+ case 72 /* WasiErrno.ESTALE */: return 'Stale file handle';
692
+ case 73 /* WasiErrno.ETIMEDOUT */: return 'Operation timed out';
693
+ case 74 /* WasiErrno.ETXTBSY */: return 'Text file busy';
694
+ case 75 /* WasiErrno.EXDEV */: return 'Cross-device link';
695
+ case 76 /* WasiErrno.ENOTCAPABLE */: return 'Capabilities insufficient';
696
+ default: return 'Unknown error';
697
+ }
698
+ }
699
+ class WasiError extends Error {
700
+ constructor(message, errno) {
701
+ super(message);
702
+ this.errno = errno;
703
+ }
704
+ getErrorMessage() {
705
+ return strerror(this.errno);
706
+ }
707
+ }
708
+ Object.defineProperty(WasiError.prototype, 'name', {
709
+ configurable: true,
710
+ writable: true,
711
+ value: 'WasiError'
712
+ });
713
+
714
+ const RIGHTS_ALL = WasiRights.FD_DATASYNC |
715
+ WasiRights.FD_READ |
716
+ WasiRights.FD_SEEK |
717
+ WasiRights.FD_FDSTAT_SET_FLAGS |
718
+ WasiRights.FD_SYNC |
719
+ WasiRights.FD_TELL |
720
+ WasiRights.FD_WRITE |
721
+ WasiRights.FD_ADVISE |
722
+ WasiRights.FD_ALLOCATE |
723
+ WasiRights.PATH_CREATE_DIRECTORY |
724
+ WasiRights.PATH_CREATE_FILE |
725
+ WasiRights.PATH_LINK_SOURCE |
726
+ WasiRights.PATH_LINK_TARGET |
727
+ WasiRights.PATH_OPEN |
728
+ WasiRights.FD_READDIR |
729
+ WasiRights.PATH_READLINK |
730
+ WasiRights.PATH_RENAME_SOURCE |
731
+ WasiRights.PATH_RENAME_TARGET |
732
+ WasiRights.PATH_FILESTAT_GET |
733
+ WasiRights.PATH_FILESTAT_SET_SIZE |
734
+ WasiRights.PATH_FILESTAT_SET_TIMES |
735
+ WasiRights.FD_FILESTAT_GET |
736
+ WasiRights.FD_FILESTAT_SET_TIMES |
737
+ WasiRights.FD_FILESTAT_SET_SIZE |
738
+ WasiRights.PATH_SYMLINK |
739
+ WasiRights.PATH_UNLINK_FILE |
740
+ WasiRights.PATH_REMOVE_DIRECTORY |
741
+ WasiRights.POLL_FD_READWRITE |
742
+ WasiRights.SOCK_SHUTDOWN |
743
+ WasiRights.SOCK_ACCEPT;
744
+ const BLOCK_DEVICE_BASE = RIGHTS_ALL;
745
+ const BLOCK_DEVICE_INHERITING = RIGHTS_ALL;
746
+ const CHARACTER_DEVICE_BASE = RIGHTS_ALL;
747
+ const CHARACTER_DEVICE_INHERITING = RIGHTS_ALL;
748
+ const REGULAR_FILE_BASE = WasiRights.FD_DATASYNC |
749
+ WasiRights.FD_READ |
750
+ WasiRights.FD_SEEK |
751
+ WasiRights.FD_FDSTAT_SET_FLAGS |
752
+ WasiRights.FD_SYNC |
753
+ WasiRights.FD_TELL |
754
+ WasiRights.FD_WRITE |
755
+ WasiRights.FD_ADVISE |
756
+ WasiRights.FD_ALLOCATE |
757
+ WasiRights.FD_FILESTAT_GET |
758
+ WasiRights.FD_FILESTAT_SET_SIZE |
759
+ WasiRights.FD_FILESTAT_SET_TIMES |
760
+ WasiRights.POLL_FD_READWRITE;
761
+ const REGULAR_FILE_INHERITING = /*#__PURE__*/ BigInt(0);
762
+ const DIRECTORY_BASE = WasiRights.FD_FDSTAT_SET_FLAGS |
763
+ WasiRights.FD_SYNC |
764
+ WasiRights.FD_ADVISE |
765
+ WasiRights.PATH_CREATE_DIRECTORY |
766
+ WasiRights.PATH_CREATE_FILE |
767
+ WasiRights.PATH_LINK_SOURCE |
768
+ WasiRights.PATH_LINK_TARGET |
769
+ WasiRights.PATH_OPEN |
770
+ WasiRights.FD_READDIR |
771
+ WasiRights.PATH_READLINK |
772
+ WasiRights.PATH_RENAME_SOURCE |
773
+ WasiRights.PATH_RENAME_TARGET |
774
+ WasiRights.PATH_FILESTAT_GET |
775
+ WasiRights.PATH_FILESTAT_SET_SIZE |
776
+ WasiRights.PATH_FILESTAT_SET_TIMES |
777
+ WasiRights.FD_FILESTAT_GET |
778
+ WasiRights.FD_FILESTAT_SET_TIMES |
779
+ WasiRights.PATH_SYMLINK |
780
+ WasiRights.PATH_UNLINK_FILE |
781
+ WasiRights.PATH_REMOVE_DIRECTORY |
782
+ WasiRights.POLL_FD_READWRITE;
783
+ const DIRECTORY_INHERITING = DIRECTORY_BASE | REGULAR_FILE_BASE;
784
+ const SOCKET_BASE = (WasiRights.FD_READ |
785
+ WasiRights.FD_FDSTAT_SET_FLAGS |
786
+ WasiRights.FD_WRITE |
787
+ WasiRights.FD_FILESTAT_GET |
788
+ WasiRights.POLL_FD_READWRITE |
789
+ WasiRights.SOCK_SHUTDOWN);
790
+ const SOCKET_INHERITING = RIGHTS_ALL;
791
+ const TTY_BASE = WasiRights.FD_READ |
792
+ WasiRights.FD_FDSTAT_SET_FLAGS |
793
+ WasiRights.FD_WRITE |
794
+ WasiRights.FD_FILESTAT_GET |
795
+ WasiRights.POLL_FD_READWRITE;
796
+ const TTY_INHERITING = /*#__PURE__*/ BigInt(0);
797
+ function getRights(stdio, fd, flags, type) {
798
+ const ret = {
799
+ base: BigInt(0),
800
+ inheriting: BigInt(0)
801
+ };
802
+ if (type === 0 /* WasiFileType.UNKNOWN */) {
803
+ throw new WasiError('Unknown file type', 28 /* WasiErrno.EINVAL */);
804
+ }
805
+ switch (type) {
806
+ case 4 /* WasiFileType.REGULAR_FILE */:
807
+ ret.base = REGULAR_FILE_BASE;
808
+ ret.inheriting = REGULAR_FILE_INHERITING;
809
+ break;
810
+ case 3 /* WasiFileType.DIRECTORY */:
811
+ ret.base = DIRECTORY_BASE;
812
+ ret.inheriting = DIRECTORY_INHERITING;
813
+ break;
814
+ case 6 /* WasiFileType.SOCKET_STREAM */:
815
+ case 5 /* WasiFileType.SOCKET_DGRAM */:
816
+ ret.base = SOCKET_BASE;
817
+ ret.inheriting = SOCKET_INHERITING;
818
+ break;
819
+ case 2 /* WasiFileType.CHARACTER_DEVICE */:
820
+ if (stdio.indexOf(fd) !== -1) {
821
+ ret.base = TTY_BASE;
822
+ ret.inheriting = TTY_INHERITING;
823
+ }
824
+ else {
825
+ ret.base = CHARACTER_DEVICE_BASE;
826
+ ret.inheriting = CHARACTER_DEVICE_INHERITING;
827
+ }
828
+ break;
829
+ case 1 /* WasiFileType.BLOCK_DEVICE */:
830
+ ret.base = BLOCK_DEVICE_BASE;
831
+ ret.inheriting = BLOCK_DEVICE_INHERITING;
832
+ break;
833
+ default:
834
+ ret.base = BigInt(0);
835
+ ret.inheriting = BigInt(0);
836
+ }
837
+ /* Disable read/write bits depending on access mode. */
838
+ const read_or_write_only = flags & (0 | 1 | 2);
839
+ if (read_or_write_only === 0) {
840
+ ret.base &= ~WasiRights.FD_WRITE;
841
+ }
842
+ else if (read_or_write_only === 1) {
843
+ ret.base &= ~WasiRights.FD_READ;
844
+ }
845
+ return ret;
846
+ }
847
+
848
+ function concatBuffer(buffers, size) {
849
+ let total = 0;
850
+ if (typeof size === 'number' && size >= 0) {
851
+ total = size;
852
+ }
853
+ else {
854
+ for (let i = 0; i < buffers.length; i++) {
855
+ const buffer = buffers[i];
856
+ total += buffer.length;
857
+ }
858
+ }
859
+ let pos = 0;
860
+ const ret = new Uint8Array(total);
861
+ for (let i = 0; i < buffers.length; i++) {
862
+ const buffer = buffers[i];
863
+ ret.set(buffer, pos);
864
+ pos += buffer.length;
865
+ }
866
+ return ret;
867
+ }
868
+ class FileDescriptor {
869
+ constructor(id, fd, path, realPath, type, rightsBase, rightsInheriting, preopen) {
870
+ this.id = id;
871
+ this.fd = fd;
872
+ this.path = path;
873
+ this.realPath = realPath;
874
+ this.type = type;
875
+ this.rightsBase = rightsBase;
876
+ this.rightsInheriting = rightsInheriting;
877
+ this.preopen = preopen;
878
+ this.pos = BigInt(0);
879
+ this.size = BigInt(0);
880
+ }
881
+ seek(offset, whence) {
882
+ if (whence === 0 /* WasiWhence.SET */) {
883
+ this.pos = BigInt(offset);
884
+ }
885
+ else if (whence === 1 /* WasiWhence.CUR */) {
886
+ this.pos += BigInt(offset);
887
+ }
888
+ else if (whence === 2 /* WasiWhence.END */) {
889
+ this.pos = BigInt(this.size) - BigInt(offset);
890
+ }
891
+ else {
892
+ throw new WasiError('Unknown whence', 29 /* WasiErrno.EIO */);
893
+ }
894
+ return this.pos;
895
+ }
896
+ }
897
+ class StandardOutput extends FileDescriptor {
898
+ constructor(log, id, fd, path, realPath, type, rightsBase, rightsInheriting, preopen) {
899
+ super(id, fd, path, realPath, type, rightsBase, rightsInheriting, preopen);
900
+ this._log = log;
901
+ this._buf = null;
902
+ }
903
+ write(buffer) {
904
+ const originalBuffer = buffer;
905
+ if (this._buf) {
906
+ buffer = concatBuffer([this._buf, buffer]);
907
+ this._buf = null;
908
+ }
909
+ if (buffer.indexOf(10) === -1) {
910
+ this._buf = buffer;
911
+ return originalBuffer.byteLength;
912
+ }
913
+ let written = 0;
914
+ let lastBegin = 0;
915
+ let index;
916
+ while ((index = buffer.indexOf(10, written)) !== -1) {
917
+ const str = new TextDecoder().decode(buffer.subarray(lastBegin, index));
918
+ this._log(str);
919
+ written += index - lastBegin + 1;
920
+ lastBegin = index + 1;
921
+ }
922
+ if (written < buffer.length) {
923
+ this._buf = buffer.slice(written);
924
+ }
925
+ return originalBuffer.byteLength;
926
+ }
927
+ }
928
+ function toFileType(stat) {
929
+ if (stat.isBlockDevice())
930
+ return 1 /* WasiFileType.BLOCK_DEVICE */;
931
+ if (stat.isCharacterDevice())
932
+ return 2 /* WasiFileType.CHARACTER_DEVICE */;
933
+ if (stat.isDirectory())
934
+ return 3 /* WasiFileType.DIRECTORY */;
935
+ if (stat.isSocket())
936
+ return 6 /* WasiFileType.SOCKET_STREAM */;
937
+ if (stat.isFile())
938
+ return 4 /* WasiFileType.REGULAR_FILE */;
939
+ if (stat.isSymbolicLink())
940
+ return 7 /* WasiFileType.SYMBOLIC_LINK */;
941
+ return 0 /* WasiFileType.UNKNOWN */;
942
+ }
943
+ function toFileStat(view, buf, stat) {
944
+ view.setBigUint64(buf, stat.dev, true);
945
+ view.setBigUint64(buf + 8, stat.ino, true);
946
+ view.setBigUint64(buf + 16, BigInt(toFileType(stat)), true);
947
+ view.setBigUint64(buf + 24, stat.nlink, true);
948
+ view.setBigUint64(buf + 32, stat.size, true);
949
+ view.setBigUint64(buf + 40, stat.atimeMs * BigInt(1000000), true);
950
+ view.setBigUint64(buf + 48, stat.mtimeMs * BigInt(1000000), true);
951
+ view.setBigUint64(buf + 56, stat.ctimeMs * BigInt(1000000), true);
952
+ }
953
+ class FileDescriptorTable {
954
+ constructor(options) {
955
+ this.used = 0;
956
+ this.size = options.size;
957
+ this.fds = Array(options.size);
958
+ this.stdio = [options.in, options.out, options.err];
959
+ this.print = options.print;
960
+ this.printErr = options.printErr;
961
+ this.insertStdio(options.in, 0, '<stdin>');
962
+ this.insertStdio(options.out, 1, '<stdout>');
963
+ this.insertStdio(options.err, 2, '<stderr>');
964
+ }
965
+ insertStdio(fd, expected, name) {
966
+ const type = 2 /* WasiFileType.CHARACTER_DEVICE */;
967
+ const { base, inheriting } = getRights(this.stdio, fd, 2 /* FileControlFlag.O_RDWR */, type);
968
+ const wrap = this.insert(fd, name, name, type, base, inheriting, 0);
969
+ if (wrap.id !== expected) {
970
+ throw new WasiError(`id: ${wrap.id} !== expected: ${expected}`, 8 /* WasiErrno.EBADF */);
971
+ }
972
+ return wrap;
973
+ }
974
+ insert(fd, mappedPath, realPath, type, rightsBase, rightsInheriting, preopen) {
975
+ var _a, _b;
976
+ let index = -1;
977
+ if (this.used >= this.size) {
978
+ const newSize = this.size * 2;
979
+ this.fds.length = newSize;
980
+ index = this.size;
981
+ this.size = newSize;
982
+ }
983
+ else {
984
+ for (let i = 0; i < this.size; ++i) {
985
+ if (this.fds[i] == null) {
986
+ index = i;
987
+ break;
988
+ }
989
+ }
990
+ }
991
+ let entry;
992
+ if (mappedPath === '<stdout>') {
993
+ entry = new StandardOutput((_a = this.print) !== null && _a !== void 0 ? _a : console.log, index, fd, mappedPath, realPath, type, rightsBase, rightsInheriting, preopen);
994
+ }
995
+ else if (mappedPath === '<stderr>') {
996
+ entry = new StandardOutput((_b = this.printErr) !== null && _b !== void 0 ? _b : console.error, index, fd, mappedPath, realPath, type, rightsBase, rightsInheriting, preopen);
997
+ }
998
+ else {
999
+ entry = new FileDescriptor(index, fd, mappedPath, realPath, type, rightsBase, rightsInheriting, preopen);
1000
+ }
1001
+ this.fds[index] = entry;
1002
+ this.used++;
1003
+ return entry;
1004
+ }
1005
+ get(id, base, inheriting) {
1006
+ if (id >= this.size) {
1007
+ throw new WasiError('Invalid fd', 8 /* WasiErrno.EBADF */);
1008
+ }
1009
+ const entry = this.fds[id];
1010
+ if (!entry || entry.id !== id) {
1011
+ throw new WasiError('Bad file descriptor', 8 /* WasiErrno.EBADF */);
1012
+ }
1013
+ /* Validate that the fd has the necessary rights. */
1014
+ if ((~entry.rightsBase & base) !== BigInt(0) || (~entry.rightsInheriting & inheriting) !== BigInt(0)) {
1015
+ throw new WasiError('Capabilities insufficient', 76 /* WasiErrno.ENOTCAPABLE */);
1016
+ }
1017
+ return entry;
1018
+ }
1019
+ remove(id) {
1020
+ if (id >= this.size) {
1021
+ throw new WasiError('Invalid fd', 8 /* WasiErrno.EBADF */);
1022
+ }
1023
+ const entry = this.fds[id];
1024
+ if (!entry || entry.id !== id) {
1025
+ throw new WasiError('Bad file descriptor', 8 /* WasiErrno.EBADF */);
1026
+ }
1027
+ this.fds[id] = undefined;
1028
+ this.used--;
1029
+ }
1030
+ }
1031
+ class SyncTable extends FileDescriptorTable {
1032
+ constructor(options) {
1033
+ super(options);
1034
+ this.fs = options.fs;
1035
+ }
1036
+ getFileTypeByFd(fd) {
1037
+ const stats = this.fs.fstatSync(fd, { bigint: true });
1038
+ return toFileType(stats);
1039
+ }
1040
+ insertPreopen(fd, mappedPath, realPath) {
1041
+ const type = this.getFileTypeByFd(fd);
1042
+ if (type !== 3 /* WasiFileType.DIRECTORY */) {
1043
+ throw new WasiError(`Preopen not dir: ["${mappedPath}", "${realPath}"]`, 54 /* WasiErrno.ENOTDIR */);
1044
+ }
1045
+ const result = getRights(this.stdio, fd, 0, type);
1046
+ return this.insert(fd, mappedPath, realPath, type, result.base, result.inheriting, 1);
1047
+ }
1048
+ renumber(dst, src) {
1049
+ if (dst === src)
1050
+ return;
1051
+ if (dst >= this.size || src >= this.size) {
1052
+ throw new WasiError('Invalid fd', 8 /* WasiErrno.EBADF */);
1053
+ }
1054
+ const dstEntry = this.fds[dst];
1055
+ const srcEntry = this.fds[src];
1056
+ if (!dstEntry || !srcEntry || dstEntry.id !== dst || srcEntry.id !== src) {
1057
+ throw new WasiError('Invalid fd', 8 /* WasiErrno.EBADF */);
1058
+ }
1059
+ this.fs.closeSync(dstEntry.fd);
1060
+ this.fds[dst] = this.fds[src];
1061
+ this.fds[dst].id = dst;
1062
+ this.fds[src] = undefined;
1063
+ this.used--;
1064
+ }
1065
+ }
1066
+ class AsyncTable extends FileDescriptorTable {
1067
+ // eslint-disable-next-line @typescript-eslint/no-useless-constructor
1068
+ constructor(options) {
1069
+ super(options);
1070
+ }
1071
+ async getFileTypeByFd(fd) {
1072
+ const stats = await fd.stat({ bigint: true });
1073
+ return toFileType(stats);
1074
+ }
1075
+ async insertPreopen(fd, mappedPath, realPath) {
1076
+ const type = await this.getFileTypeByFd(fd);
1077
+ if (type !== 3 /* WasiFileType.DIRECTORY */) {
1078
+ throw new WasiError(`Preopen not dir: ["${mappedPath}", "${realPath}"]`, 54 /* WasiErrno.ENOTDIR */);
1079
+ }
1080
+ const result = getRights(this.stdio, fd.fd, 0, type);
1081
+ return this.insert(fd, mappedPath, realPath, type, result.base, result.inheriting, 1);
1082
+ }
1083
+ async renumber(dst, src) {
1084
+ if (dst === src)
1085
+ return;
1086
+ if (dst >= this.size || src >= this.size) {
1087
+ throw new WasiError('Invalid fd', 8 /* WasiErrno.EBADF */);
1088
+ }
1089
+ const dstEntry = this.fds[dst];
1090
+ const srcEntry = this.fds[src];
1091
+ if (!dstEntry || !srcEntry || dstEntry.id !== dst || srcEntry.id !== src) {
1092
+ throw new WasiError('Invalid fd', 8 /* WasiErrno.EBADF */);
1093
+ }
1094
+ await dstEntry.fd.close();
1095
+ this.fds[dst] = this.fds[src];
1096
+ this.fds[dst].id = dst;
1097
+ this.fds[src] = undefined;
1098
+ this.used--;
1099
+ }
1100
+ }
1101
+
1102
+ /** @public */
1103
+ const WebAssemblyMemory = /*#__PURE__*/ (function () { return _WebAssembly.Memory; })();
1104
+ /** @public */
1105
+ class Memory extends WebAssemblyMemory {
1106
+ // eslint-disable-next-line @typescript-eslint/no-useless-constructor
1107
+ constructor(descriptor) {
1108
+ super(descriptor);
1109
+ }
1110
+ get HEAP8() { return new Int8Array(super.buffer); }
1111
+ get HEAPU8() { return new Uint8Array(super.buffer); }
1112
+ get HEAP16() { return new Int16Array(super.buffer); }
1113
+ get HEAPU16() { return new Uint16Array(super.buffer); }
1114
+ get HEAP32() { return new Int32Array(super.buffer); }
1115
+ get HEAPU32() { return new Uint32Array(super.buffer); }
1116
+ get HEAP64() { return new BigInt64Array(super.buffer); }
1117
+ get HEAPU64() { return new BigUint64Array(super.buffer); }
1118
+ get HEAPF32() { return new Float32Array(super.buffer); }
1119
+ get HEAPF64() { return new Float64Array(super.buffer); }
1120
+ get view() { return new DataView(super.buffer); }
1121
+ }
1122
+ /** @public */
1123
+ function extendMemory(memory) {
1124
+ if (Object.getPrototypeOf(memory) === _WebAssembly.Memory.prototype) {
1125
+ Object.setPrototypeOf(memory, Memory.prototype);
1126
+ }
1127
+ return memory;
1128
+ }
1129
+
1130
+ function checkWebAssemblyFunction() {
1131
+ const WebAssemblyFunction = _WebAssembly.Function;
1132
+ if (typeof WebAssemblyFunction !== 'function') {
1133
+ throw new Error('WebAssembly.Function is not supported in this environment.' +
1134
+ ' If you are using V8 based browser like Chrome, try to specify' +
1135
+ ' --js-flags="--wasm-staging --experimental-wasm-stack-switching"');
1136
+ }
1137
+ return WebAssemblyFunction;
1138
+ }
1139
+ /** @public */
1140
+ function wrapAsyncImport(f, parameterType, returnType) {
1141
+ const WebAssemblyFunction = checkWebAssemblyFunction();
1142
+ if (typeof f !== 'function') {
1143
+ throw new TypeError('Function required');
1144
+ }
1145
+ const parameters = parameterType.slice(0);
1146
+ parameters.unshift('externref');
1147
+ return new WebAssemblyFunction({ parameters, results: returnType }, f, { suspending: 'first' });
1148
+ }
1149
+ /** @public */
1150
+ function wrapAsyncExport(f) {
1151
+ const WebAssemblyFunction = checkWebAssemblyFunction();
1152
+ if (typeof f !== 'function') {
1153
+ throw new TypeError('Function required');
1154
+ }
1155
+ return new WebAssemblyFunction({ parameters: [...WebAssemblyFunction.type(f).parameters.slice(1)], results: ['externref'] }, f, { promising: 'first' });
1156
+ }
1157
+ /** @public */
1158
+ function wrapExports(exports, needWrap) {
1159
+ return wrapInstanceExports(exports, (exportValue, name) => {
1160
+ let ignore = typeof exportValue !== 'function';
1161
+ if (Array.isArray(needWrap)) {
1162
+ ignore = ignore || (needWrap.indexOf(name) === -1);
1163
+ }
1164
+ return ignore ? exportValue : wrapAsyncExport(exportValue);
1165
+ });
1166
+ }
1167
+
1168
+ // Linux fcntl flag bits ↔ Windows libuv flag bits. `pathOpen()` builds
1169
+ // `flagsRes` using Linux constants (O_CREAT=0x40, O_EXCL=0x80,
1170
+ // O_APPEND=0x400). Windows libuv expects different bits (O_CREAT=0x100,
1171
+ // O_EXCL=0x400, O_APPEND=0x8). Without translation,
1172
+ // `fs.openSync(path, 0x241 /* L:WRONLY|CREAT|TRUNC */)` is rejected
1173
+ // with EINVAL because Linux's 0x40 happens to mean O_TEMPORARY on
1174
+ // Windows — and O_TEMPORARY without O_CREAT is invalid.
1175
+ const _isWin32Flags = typeof process !== 'undefined' && process.platform === 'win32';
1176
+ function _toWinOpenFlags(f) {
1177
+ let r = f & 3; // RDONLY/WRONLY/RDWR — same on both
1178
+ if ((f & 0x40) !== 0)
1179
+ r |= 0x100; // O_CREAT: Linux 0x40 -> Windows 0x100
1180
+ if ((f & 0x80) !== 0)
1181
+ r |= 0x400; // O_EXCL: Linux 0x80 -> Windows 0x400
1182
+ if ((f & 0x200) !== 0)
1183
+ r |= 0x200; // O_TRUNC: same value on both
1184
+ if ((f & 0x400) !== 0)
1185
+ r |= 0x8; // O_APPEND: Linux 0x400 -> Windows 0x8
1186
+ return r;
1187
+ }
1188
+ function copyMemory(targets, src) {
1189
+ if (targets.length === 0 || src.length === 0)
1190
+ return 0;
1191
+ let copied = 0;
1192
+ let left = src.length - copied;
1193
+ for (let i = 0; i < targets.length; ++i) {
1194
+ const target = targets[i];
1195
+ if (left < target.length) {
1196
+ target.set(src.subarray(copied, copied + left), 0);
1197
+ copied += left;
1198
+ left = 0;
1199
+ return copied;
1200
+ }
1201
+ target.set(src.subarray(copied, copied + target.length), 0);
1202
+ copied += target.length;
1203
+ left -= target.length;
1204
+ }
1205
+ return copied;
1206
+ }
1207
+ const _memory = new WeakMap();
1208
+ const _wasi = new WeakMap();
1209
+ const _fs = new WeakMap();
1210
+ function ensureMemoryFor(memory, end) {
1211
+ let buffer = memory.buffer;
1212
+ if (end > buffer.byteLength) {
1213
+ memory.grow(0);
1214
+ buffer = memory.buffer;
1215
+ }
1216
+ return buffer;
1217
+ }
1218
+ function getMemory(wasi, end = 0) {
1219
+ const memory = _memory.get(wasi);
1220
+ ensureMemoryFor(memory, end);
1221
+ return memory;
1222
+ }
1223
+ function getFs(wasi) {
1224
+ const fs = _fs.get(wasi);
1225
+ if (!fs)
1226
+ throw new Error('filesystem is unavailable');
1227
+ return fs;
1228
+ }
1229
+ function handleError(err) {
1230
+ if (err instanceof WasiError) {
1231
+ {
1232
+ console.warn(err);
1233
+ }
1234
+ return err.errno;
1235
+ }
1236
+ switch (err.code) {
1237
+ case 'ENOENT': return 44 /* WasiErrno.ENOENT */;
1238
+ case 'EBADF': return 8 /* WasiErrno.EBADF */;
1239
+ case 'EINVAL': return 28 /* WasiErrno.EINVAL */;
1240
+ case 'EPERM': return 63 /* WasiErrno.EPERM */;
1241
+ case 'EPROTO': return 65 /* WasiErrno.EPROTO */;
1242
+ case 'EEXIST': return 20 /* WasiErrno.EEXIST */;
1243
+ case 'ENOTDIR': return 54 /* WasiErrno.ENOTDIR */;
1244
+ case 'EMFILE': return 33 /* WasiErrno.EMFILE */;
1245
+ case 'EACCES': return 2 /* WasiErrno.EACCES */;
1246
+ case 'EISDIR': return 31 /* WasiErrno.EISDIR */;
1247
+ case 'ENOTEMPTY': return 55 /* WasiErrno.ENOTEMPTY */;
1248
+ case 'ENOSYS': return 52 /* WasiErrno.ENOSYS */;
1249
+ }
1250
+ throw err;
1251
+ }
1252
+ function defineName(name, f) {
1253
+ Object.defineProperty(f, 'name', { value: name });
1254
+ return f;
1255
+ }
1256
+ function tryCall(f, wasi, args) {
1257
+ let r;
1258
+ try {
1259
+ r = f.apply(wasi, args);
1260
+ }
1261
+ catch (err) {
1262
+ return handleError(err);
1263
+ }
1264
+ if (isPromiseLike(r)) {
1265
+ return r.then(_ => _, handleError);
1266
+ }
1267
+ return r;
1268
+ }
1269
+ function syscallWrap(self, name, f) {
1270
+ let debug = false;
1271
+ const NODE_DEBUG_NATIVE = (() => {
1272
+ try {
1273
+ return "wasi";
1274
+ }
1275
+ catch (_) {
1276
+ return undefined;
1277
+ }
1278
+ })();
1279
+ if (typeof NODE_DEBUG_NATIVE === 'string' && NODE_DEBUG_NATIVE.split(',').includes('wasi')) {
1280
+ debug = true;
1281
+ }
1282
+ return debug
1283
+ ? defineName(name, function () {
1284
+ const args = Array.prototype.slice.call(arguments);
1285
+ let debugArgs = [`${name}(${Array.from({ length: arguments.length }).map(() => '%d').join(', ')})`];
1286
+ debugArgs = debugArgs.concat(args);
1287
+ console.debug.apply(console, debugArgs);
1288
+ return tryCall(f, self, args);
1289
+ })
1290
+ : defineName(name, function () {
1291
+ return tryCall(f, self, arguments);
1292
+ });
1293
+ }
1294
+ function resolvePathSync(fs, fileDescriptor, path, flags) {
1295
+ let resolvedPath = resolve(fileDescriptor.realPath, path);
1296
+ if ((flags & 1) === 1) {
1297
+ try {
1298
+ resolvedPath = fs.readlinkSync(resolvedPath);
1299
+ }
1300
+ catch (err) {
1301
+ if (err.code !== 'EINVAL' && err.code !== 'ENOENT') {
1302
+ throw err;
1303
+ }
1304
+ }
1305
+ }
1306
+ return resolvedPath;
1307
+ }
1308
+ async function resolvePathAsync(fs, fileDescriptor, path, flags) {
1309
+ let resolvedPath = resolve(fileDescriptor.realPath, path);
1310
+ if ((flags & 1) === 1) {
1311
+ try {
1312
+ resolvedPath = await fs.promises.readlink(resolvedPath);
1313
+ }
1314
+ catch (err) {
1315
+ if (err.code !== 'EINVAL' && err.code !== 'ENOENT') {
1316
+ throw err;
1317
+ }
1318
+ }
1319
+ }
1320
+ return resolvedPath;
1321
+ }
1322
+ // eslint-disable-next-line spaced-comment
1323
+ const encoder = /*#__PURE__*/ new TextEncoder();
1324
+ // eslint-disable-next-line spaced-comment
1325
+ const decoder = /*#__PURE__*/ new TextDecoder();
1326
+ const INT64_MAX = (BigInt(1) << BigInt(63)) - BigInt(1);
1327
+ function readStdin() {
1328
+ const value = window.prompt();
1329
+ if (value === null)
1330
+ return new Uint8Array();
1331
+ const buffer = new TextEncoder().encode(value + '\n');
1332
+ return buffer;
1333
+ }
1334
+ function validateFstFlagsOrReturn(flags) {
1335
+ return (Boolean((flags) & ~(1 /* WasiFstFlag.SET_ATIM */ | 2 /* WasiFstFlag.SET_ATIM_NOW */ |
1336
+ 4 /* WasiFstFlag.SET_MTIM */ | 8 /* WasiFstFlag.SET_MTIM_NOW */)) ||
1337
+ ((flags) & (1 /* WasiFstFlag.SET_ATIM */ | 2 /* WasiFstFlag.SET_ATIM_NOW */)) ===
1338
+ (1 /* WasiFstFlag.SET_ATIM */ | 2 /* WasiFstFlag.SET_ATIM_NOW */) ||
1339
+ ((flags) & (4 /* WasiFstFlag.SET_MTIM */ | 8 /* WasiFstFlag.SET_MTIM_NOW */)) ===
1340
+ (4 /* WasiFstFlag.SET_MTIM */ | 8 /* WasiFstFlag.SET_MTIM_NOW */));
1341
+ }
1342
+ class WASI$1 {
1343
+ constructor(args, env, fds, asyncFs, fs, asyncify) {
1344
+ this.args_get = syscallWrap(this, 'args_get', function (argv, argv_buf) {
1345
+ argv = Number(argv);
1346
+ argv_buf = Number(argv_buf);
1347
+ if (argv === 0 || argv_buf === 0) {
1348
+ return 28 /* WasiErrno.EINVAL */;
1349
+ }
1350
+ const wasi = _wasi.get(this);
1351
+ const args = wasi.args;
1352
+ const argsSize = encoder.encode(args.join('\0') + '\0').length;
1353
+ const { HEAPU8, view } = getMemory(this, Math.max(argv + args.length * 4, argv_buf + argsSize));
1354
+ for (let i = 0; i < args.length; ++i) {
1355
+ const arg = args[i];
1356
+ view.setInt32(argv, argv_buf, true);
1357
+ argv += 4;
1358
+ const data = encoder.encode(arg + '\0');
1359
+ HEAPU8.set(data, argv_buf);
1360
+ argv_buf += data.length;
1361
+ }
1362
+ return 0 /* WasiErrno.ESUCCESS */;
1363
+ });
1364
+ this.args_sizes_get = syscallWrap(this, 'args_sizes_get', function (argc, argv_buf_size) {
1365
+ argc = Number(argc);
1366
+ argv_buf_size = Number(argv_buf_size);
1367
+ if (argc === 0 || argv_buf_size === 0) {
1368
+ return 28 /* WasiErrno.EINVAL */;
1369
+ }
1370
+ const { view } = getMemory(this, Math.max(argc + 4, argv_buf_size + 4));
1371
+ const wasi = _wasi.get(this);
1372
+ const args = wasi.args;
1373
+ view.setUint32(argc, args.length, true);
1374
+ view.setUint32(argv_buf_size, encoder.encode(args.join('\0') + '\0').length, true);
1375
+ return 0 /* WasiErrno.ESUCCESS */;
1376
+ });
1377
+ this.environ_get = syscallWrap(this, 'environ_get', function (environ, environ_buf) {
1378
+ environ = Number(environ);
1379
+ environ_buf = Number(environ_buf);
1380
+ if (environ === 0 || environ_buf === 0) {
1381
+ return 28 /* WasiErrno.EINVAL */;
1382
+ }
1383
+ const wasi = _wasi.get(this);
1384
+ const env = wasi.env;
1385
+ const envSize = encoder.encode(env.join('\0') + '\0').length;
1386
+ const { HEAPU8, view } = getMemory(this, Math.max(environ + env.length * 4, environ_buf + envSize));
1387
+ for (let i = 0; i < env.length; ++i) {
1388
+ const pair = env[i];
1389
+ view.setInt32(environ, environ_buf, true);
1390
+ environ += 4;
1391
+ const data = encoder.encode(pair + '\0');
1392
+ HEAPU8.set(data, environ_buf);
1393
+ environ_buf += data.length;
1394
+ }
1395
+ return 0 /* WasiErrno.ESUCCESS */;
1396
+ });
1397
+ this.environ_sizes_get = syscallWrap(this, 'environ_sizes_get', function (len, buflen) {
1398
+ len = Number(len);
1399
+ buflen = Number(buflen);
1400
+ if (len === 0 || buflen === 0) {
1401
+ return 28 /* WasiErrno.EINVAL */;
1402
+ }
1403
+ const { view } = getMemory(this, Math.max(len + 4, buflen + 4));
1404
+ const wasi = _wasi.get(this);
1405
+ view.setUint32(len, wasi.env.length, true);
1406
+ view.setUint32(buflen, encoder.encode(wasi.env.join('\0') + '\0').length, true);
1407
+ return 0 /* WasiErrno.ESUCCESS */;
1408
+ });
1409
+ this.clock_res_get = syscallWrap(this, 'clock_res_get', function (id, resolution) {
1410
+ resolution = Number(resolution);
1411
+ if (resolution === 0) {
1412
+ return 28 /* WasiErrno.EINVAL */;
1413
+ }
1414
+ const { view } = getMemory(this, resolution + 8);
1415
+ switch (id) {
1416
+ case 0 /* WasiClockid.REALTIME */:
1417
+ view.setBigUint64(resolution, BigInt(1000000), true);
1418
+ return 0 /* WasiErrno.ESUCCESS */;
1419
+ case 1 /* WasiClockid.MONOTONIC */:
1420
+ case 2 /* WasiClockid.PROCESS_CPUTIME_ID */:
1421
+ case 3 /* WasiClockid.THREAD_CPUTIME_ID */:
1422
+ view.setBigUint64(resolution, BigInt(1000), true);
1423
+ return 0 /* WasiErrno.ESUCCESS */;
1424
+ default: return 28 /* WasiErrno.EINVAL */;
1425
+ }
1426
+ });
1427
+ this.clock_time_get = syscallWrap(this, 'clock_time_get', function (id, _percision, time) {
1428
+ time = Number(time);
1429
+ if (time === 0) {
1430
+ return 28 /* WasiErrno.EINVAL */;
1431
+ }
1432
+ const { view } = getMemory(this, time + 8);
1433
+ switch (id) {
1434
+ case 0 /* WasiClockid.REALTIME */:
1435
+ view.setBigUint64(time, BigInt(Date.now()) * BigInt(1000000), true);
1436
+ return 0 /* WasiErrno.ESUCCESS */;
1437
+ case 1 /* WasiClockid.MONOTONIC */:
1438
+ case 2 /* WasiClockid.PROCESS_CPUTIME_ID */:
1439
+ case 3 /* WasiClockid.THREAD_CPUTIME_ID */: {
1440
+ const t = performance.now() / 1000;
1441
+ const s = Math.trunc(t);
1442
+ const ms = Math.floor((t - s) * 1000);
1443
+ const result = BigInt(s) * BigInt(1000000000) + BigInt(ms) * BigInt(1000000);
1444
+ view.setBigUint64(time, result, true);
1445
+ return 0 /* WasiErrno.ESUCCESS */;
1446
+ }
1447
+ default: return 28 /* WasiErrno.EINVAL */;
1448
+ }
1449
+ });
1450
+ this.fd_advise = syscallWrap(this, 'fd_advise', function (_fd, _offset, _len, _advice) {
1451
+ return 52 /* WasiErrno.ENOSYS */;
1452
+ });
1453
+ this.fd_fdstat_get = syscallWrap(this, 'fd_fdstat_get', function (fd, fdstat) {
1454
+ fdstat = Number(fdstat);
1455
+ if (fdstat === 0) {
1456
+ return 28 /* WasiErrno.EINVAL */;
1457
+ }
1458
+ const wasi = _wasi.get(this);
1459
+ const fileDescriptor = wasi.fds.get(fd, BigInt(0), BigInt(0));
1460
+ const { view } = getMemory(this, fdstat + 24);
1461
+ view.setUint16(fdstat, fileDescriptor.type, true);
1462
+ view.setUint16(fdstat + 2, 0, true);
1463
+ view.setBigUint64(fdstat + 8, fileDescriptor.rightsBase, true);
1464
+ view.setBigUint64(fdstat + 16, fileDescriptor.rightsInheriting, true);
1465
+ return 0 /* WasiErrno.ESUCCESS */;
1466
+ });
1467
+ this.fd_fdstat_set_flags = syscallWrap(this, 'fd_fdstat_set_flags', function (_fd, _flags) {
1468
+ return 52 /* WasiErrno.ENOSYS */;
1469
+ });
1470
+ this.fd_fdstat_set_rights = syscallWrap(this, 'fd_fdstat_set_rights', function (fd, rightsBase, rightsInheriting) {
1471
+ const wasi = _wasi.get(this);
1472
+ const fileDescriptor = wasi.fds.get(fd, BigInt(0), BigInt(0));
1473
+ if ((rightsBase | fileDescriptor.rightsBase) > fileDescriptor.rightsBase) {
1474
+ return 76 /* WasiErrno.ENOTCAPABLE */;
1475
+ }
1476
+ if ((rightsInheriting | fileDescriptor.rightsInheriting) >
1477
+ fileDescriptor.rightsInheriting) {
1478
+ return 76 /* WasiErrno.ENOTCAPABLE */;
1479
+ }
1480
+ fileDescriptor.rightsBase = rightsBase;
1481
+ fileDescriptor.rightsInheriting = rightsInheriting;
1482
+ return 0 /* WasiErrno.ESUCCESS */;
1483
+ });
1484
+ this.fd_prestat_get = syscallWrap(this, 'fd_prestat_get', function (fd, prestat) {
1485
+ prestat = Number(prestat);
1486
+ if (prestat === 0) {
1487
+ return 28 /* WasiErrno.EINVAL */;
1488
+ }
1489
+ const wasi = _wasi.get(this);
1490
+ let fileDescriptor;
1491
+ try {
1492
+ fileDescriptor = wasi.fds.get(fd, BigInt(0), BigInt(0));
1493
+ }
1494
+ catch (err) {
1495
+ if (err instanceof WasiError)
1496
+ return err.errno;
1497
+ throw err;
1498
+ }
1499
+ if (fileDescriptor.preopen !== 1)
1500
+ return 28 /* WasiErrno.EINVAL */;
1501
+ const { view } = getMemory(this, prestat + 8);
1502
+ // preopen type is dir(0)
1503
+ view.setUint32(prestat, 0, true);
1504
+ view.setUint32(prestat + 4, encoder.encode(fileDescriptor.path).length, true);
1505
+ return 0 /* WasiErrno.ESUCCESS */;
1506
+ });
1507
+ this.fd_prestat_dir_name = syscallWrap(this, 'fd_prestat_dir_name', function (fd, path, path_len) {
1508
+ path = Number(path);
1509
+ path_len = Number(path_len);
1510
+ if (path === 0) {
1511
+ return 28 /* WasiErrno.EINVAL */;
1512
+ }
1513
+ const wasi = _wasi.get(this);
1514
+ const fileDescriptor = wasi.fds.get(fd, BigInt(0), BigInt(0));
1515
+ if (fileDescriptor.preopen !== 1)
1516
+ return 8 /* WasiErrno.EBADF */;
1517
+ const buffer = encoder.encode(fileDescriptor.path);
1518
+ const size = buffer.length;
1519
+ if (size > path_len)
1520
+ return 42 /* WasiErrno.ENOBUFS */;
1521
+ const { HEAPU8 } = getMemory(this, path + size);
1522
+ HEAPU8.set(buffer, path);
1523
+ return 0 /* WasiErrno.ESUCCESS */;
1524
+ });
1525
+ this.fd_seek = syscallWrap(this, 'fd_seek', function (fd, offset, whence, newOffset) {
1526
+ newOffset = Number(newOffset);
1527
+ if (newOffset === 0) {
1528
+ return 28 /* WasiErrno.EINVAL */;
1529
+ }
1530
+ if (fd === 0 || fd === 1 || fd === 2)
1531
+ return 0 /* WasiErrno.ESUCCESS */;
1532
+ const wasi = _wasi.get(this);
1533
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_SEEK, BigInt(0));
1534
+ const r = fileDescriptor.seek(offset, whence);
1535
+ const { view } = getMemory(this, newOffset + 8);
1536
+ view.setBigUint64(newOffset, r, true);
1537
+ return 0 /* WasiErrno.ESUCCESS */;
1538
+ });
1539
+ this.fd_tell = syscallWrap(this, 'fd_tell', function (fd, offset) {
1540
+ const wasi = _wasi.get(this);
1541
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_TELL, BigInt(0));
1542
+ const pos = BigInt(fileDescriptor.pos);
1543
+ const { view } = getMemory(this, Number(offset) + 8);
1544
+ view.setBigUint64(Number(offset), pos, true);
1545
+ return 0 /* WasiErrno.ESUCCESS */;
1546
+ });
1547
+ this.poll_oneoff = syscallWrap(this, 'poll_oneoff', function (in_ptr, out_ptr, nsubscriptions, nevents) {
1548
+ in_ptr = Number(in_ptr);
1549
+ out_ptr = Number(out_ptr);
1550
+ nevents = Number(nevents);
1551
+ nsubscriptions = Number(nsubscriptions);
1552
+ nsubscriptions = nsubscriptions >>> 0;
1553
+ if (in_ptr === 0 || out_ptr === 0 || nsubscriptions === 0 || nevents === 0) {
1554
+ return 28 /* WasiErrno.EINVAL */;
1555
+ }
1556
+ const { view } = getMemory(this, Math.max(in_ptr + nsubscriptions * 48, out_ptr + nsubscriptions * 32, nevents + 4));
1557
+ view.setUint32(nevents, 0, true);
1558
+ let i = 0;
1559
+ let timer_userdata = BigInt(0);
1560
+ let cur_timeout = BigInt(0);
1561
+ let has_timeout = 0;
1562
+ let min_timeout = BigInt(0);
1563
+ let sub;
1564
+ const subscriptions = Array(nsubscriptions);
1565
+ for (i = 0; i < nsubscriptions; i++) {
1566
+ sub = in_ptr + i * 48;
1567
+ const userdata = view.getBigUint64(sub, true);
1568
+ const type = view.getUint8(sub + 8);
1569
+ const clockIdOrFd = view.getUint32(sub + 16, true);
1570
+ const timeout = view.getBigUint64(sub + 24, true);
1571
+ const precision = view.getBigUint64(sub + 32, true);
1572
+ const flags = view.getUint16(sub + 40, true);
1573
+ subscriptions[i] = {
1574
+ userdata,
1575
+ type,
1576
+ u: {
1577
+ clock: {
1578
+ clock_id: clockIdOrFd,
1579
+ timeout,
1580
+ precision,
1581
+ flags
1582
+ },
1583
+ fd_readwrite: {
1584
+ fd: clockIdOrFd
1585
+ }
1586
+ }
1587
+ };
1588
+ }
1589
+ const fdevents = [];
1590
+ for (i = 0; i < nsubscriptions; i++) {
1591
+ sub = subscriptions[i];
1592
+ switch (sub.type) {
1593
+ case 0 /* WasiEventType.CLOCK */: {
1594
+ if (sub.u.clock.flags === 1 /* WasiSubclockflags.ABSTIME */) {
1595
+ /* Convert absolute time to relative delay. */
1596
+ const now = BigInt(Date.now()) * BigInt(1000000);
1597
+ cur_timeout = sub.u.clock.timeout - now;
1598
+ }
1599
+ else {
1600
+ cur_timeout = sub.u.clock.timeout;
1601
+ }
1602
+ if (has_timeout === 0 || cur_timeout < min_timeout) {
1603
+ min_timeout = cur_timeout;
1604
+ timer_userdata = sub.userdata;
1605
+ has_timeout = 1;
1606
+ }
1607
+ break;
1608
+ }
1609
+ case 1 /* WasiEventType.FD_READ */:
1610
+ case 2 /* WasiEventType.FD_WRITE */:
1611
+ fdevents.push(sub);
1612
+ break;
1613
+ default: return 28 /* WasiErrno.EINVAL */;
1614
+ }
1615
+ }
1616
+ if (fdevents.length > 0) {
1617
+ for (i = 0; i < fdevents.length; i++) {
1618
+ const fdevent = fdevents[i];
1619
+ const event = out_ptr + 32 * i;
1620
+ view.setBigUint64(event, fdevent.userdata, true);
1621
+ view.setUint32(event + 8, 52 /* WasiErrno.ENOSYS */, true);
1622
+ view.setUint32(event + 12, fdevent.type, true);
1623
+ view.setBigUint64(event + 16, BigInt(0), true);
1624
+ view.setUint16(event + 24, 0, true);
1625
+ view.setUint32(nevents, 1, true);
1626
+ }
1627
+ view.setUint32(nevents, fdevents.length, true);
1628
+ return 0 /* WasiErrno.ESUCCESS */;
1629
+ }
1630
+ if (has_timeout) {
1631
+ const delay = Number(min_timeout / BigInt(1000000));
1632
+ // if (isMainThread || typeof SharedArrayBuffer !== 'function') {
1633
+ sleepBreakIf(delay, () => false);
1634
+ // } else {
1635
+ // const buf = new SharedArrayBuffer(4)
1636
+ // const arr = new Int32Array(buf)
1637
+ // postMsg({
1638
+ // __tybys_wasm_util_wasi__: {
1639
+ // type: 'set-timeout',
1640
+ // payload: {
1641
+ // buffer: buf,
1642
+ // delay
1643
+ // }
1644
+ // }
1645
+ // })
1646
+ // Atomics.wait(arr, 0, 0)
1647
+ // }
1648
+ const event = out_ptr;
1649
+ view.setBigUint64(event, timer_userdata, true);
1650
+ view.setUint32(event + 8, 0 /* WasiErrno.ESUCCESS */, true);
1651
+ view.setUint32(event + 12, 0 /* WasiEventType.CLOCK */, true);
1652
+ view.setUint32(nevents, 1, true);
1653
+ }
1654
+ return 0 /* WasiErrno.ESUCCESS */;
1655
+ });
1656
+ this.proc_exit = syscallWrap(this, 'proc_exit', function (rval) {
1657
+ if ((typeof process === 'object') && (process !== null) && (typeof process.exit === 'function')) {
1658
+ process.exit(rval);
1659
+ }
1660
+ return 0 /* WasiErrno.ESUCCESS */;
1661
+ });
1662
+ this.proc_raise = syscallWrap(this, 'proc_raise', function (_sig) {
1663
+ return 52 /* WasiErrno.ENOSYS */;
1664
+ });
1665
+ this.sched_yield = syscallWrap(this, 'sched_yield', function () {
1666
+ return 0 /* WasiErrno.ESUCCESS */;
1667
+ });
1668
+ this.random_get = typeof crypto !== 'undefined' && typeof crypto.getRandomValues === 'function'
1669
+ ? syscallWrap(this, 'random_get', function (buf, buf_len) {
1670
+ buf = Number(buf);
1671
+ if (buf === 0) {
1672
+ return 28 /* WasiErrno.EINVAL */;
1673
+ }
1674
+ buf_len = Number(buf_len);
1675
+ const { HEAPU8, view } = getMemory(this, buf + buf_len);
1676
+ if ((typeof SharedArrayBuffer === 'function' && HEAPU8.buffer instanceof SharedArrayBuffer) ||
1677
+ (Object.prototype.toString.call(HEAPU8.buffer) === '[object SharedArrayBuffer]')) {
1678
+ for (let i = buf; i < buf + buf_len; ++i) {
1679
+ view.setUint8(i, Math.floor(Math.random() * 256));
1680
+ }
1681
+ return 0 /* WasiErrno.ESUCCESS */;
1682
+ }
1683
+ let pos;
1684
+ const stride = 65536;
1685
+ for (pos = 0; pos + stride < buf_len; pos += stride) {
1686
+ crypto.getRandomValues(HEAPU8.subarray(buf + pos, buf + pos + stride));
1687
+ }
1688
+ crypto.getRandomValues(HEAPU8.subarray(buf + pos, buf + buf_len));
1689
+ return 0 /* WasiErrno.ESUCCESS */;
1690
+ })
1691
+ : syscallWrap(this, 'random_get', function (buf, buf_len) {
1692
+ buf = Number(buf);
1693
+ if (buf === 0) {
1694
+ return 28 /* WasiErrno.EINVAL */;
1695
+ }
1696
+ buf_len = Number(buf_len);
1697
+ const { view } = getMemory(this, buf + buf_len);
1698
+ for (let i = buf; i < buf + buf_len; ++i) {
1699
+ view.setUint8(i, Math.floor(Math.random() * 256));
1700
+ }
1701
+ return 0 /* WasiErrno.ESUCCESS */;
1702
+ });
1703
+ this.sock_recv = syscallWrap(this, 'sock_recv', function () {
1704
+ return 58 /* WasiErrno.ENOTSUP */;
1705
+ });
1706
+ this.sock_send = syscallWrap(this, 'sock_send', function () {
1707
+ return 58 /* WasiErrno.ENOTSUP */;
1708
+ });
1709
+ this.sock_shutdown = syscallWrap(this, 'sock_shutdown', function () {
1710
+ return 58 /* WasiErrno.ENOTSUP */;
1711
+ });
1712
+ this.sock_accept = syscallWrap(this, 'sock_accept', function () {
1713
+ return 58 /* WasiErrno.ENOTSUP */;
1714
+ });
1715
+ _wasi.set(this, {
1716
+ fds,
1717
+ args,
1718
+ env
1719
+ });
1720
+ if (fs)
1721
+ _fs.set(this, fs);
1722
+ // eslint-disable-next-line @typescript-eslint/no-this-alias
1723
+ const _this = this;
1724
+ function defineImport(name, syncVersion, asyncVersion, parameterType, returnType) {
1725
+ if (asyncFs) {
1726
+ if (asyncify) {
1727
+ _this[name] = asyncify.wrapImportFunction(syscallWrap(_this, name, asyncVersion));
1728
+ }
1729
+ else {
1730
+ _this[name] = wrapAsyncImport(syscallWrap(_this, name, asyncVersion), parameterType, returnType);
1731
+ }
1732
+ }
1733
+ else {
1734
+ _this[name] = syscallWrap(_this, name, syncVersion);
1735
+ }
1736
+ }
1737
+ defineImport('fd_allocate', function fd_allocate(fd, offset, len) {
1738
+ const wasi = _wasi.get(this);
1739
+ const fs = getFs(this);
1740
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_ALLOCATE, BigInt(0));
1741
+ const stat = fs.fstatSync(fileDescriptor.fd, { bigint: true });
1742
+ if (stat.size < offset + len) {
1743
+ fs.ftruncateSync(fileDescriptor.fd, Number(offset + len));
1744
+ }
1745
+ return 0 /* WasiErrno.ESUCCESS */;
1746
+ }, async function fd_allocate(fd, offset, len) {
1747
+ const wasi = _wasi.get(this);
1748
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_ALLOCATE, BigInt(0));
1749
+ const h = fileDescriptor.fd;
1750
+ const stat = await h.stat({ bigint: true });
1751
+ if (stat.size < offset + len) {
1752
+ await h.truncate(Number(offset + len));
1753
+ }
1754
+ return 0 /* WasiErrno.ESUCCESS */;
1755
+ }, ['i32', 'i64', 'f64'], ['i32']);
1756
+ defineImport('fd_close', function fd_close(fd) {
1757
+ const wasi = _wasi.get(this);
1758
+ const fileDescriptor = wasi.fds.get(fd, BigInt(0), BigInt(0));
1759
+ const fs = getFs(this);
1760
+ fs.closeSync(fileDescriptor.fd);
1761
+ wasi.fds.remove(fd);
1762
+ return 0 /* WasiErrno.ESUCCESS */;
1763
+ }, async function fd_close(fd) {
1764
+ const wasi = _wasi.get(this);
1765
+ const fileDescriptor = wasi.fds.get(fd, BigInt(0), BigInt(0));
1766
+ await fileDescriptor.fd.close();
1767
+ wasi.fds.remove(fd);
1768
+ return 0 /* WasiErrno.ESUCCESS */;
1769
+ }, ['i32'], ['i32']);
1770
+ defineImport('fd_datasync', function fd_datasync(fd) {
1771
+ const wasi = _wasi.get(this);
1772
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_DATASYNC, BigInt(0));
1773
+ const fs = getFs(this);
1774
+ fs.fdatasyncSync(fileDescriptor.fd);
1775
+ return 0 /* WasiErrno.ESUCCESS */;
1776
+ }, async function fd_datasync(fd) {
1777
+ const wasi = _wasi.get(this);
1778
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_DATASYNC, BigInt(0));
1779
+ await fileDescriptor.fd.datasync();
1780
+ return 0 /* WasiErrno.ESUCCESS */;
1781
+ }, ['i32'], ['i32']);
1782
+ defineImport('fd_filestat_get', function fd_filestat_get(fd, buf) {
1783
+ buf = Number(buf);
1784
+ if (buf === 0)
1785
+ return 28 /* WasiErrno.EINVAL */;
1786
+ const wasi = _wasi.get(this);
1787
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_FILESTAT_GET, BigInt(0));
1788
+ const fs = getFs(this);
1789
+ const stat = fs.fstatSync(fileDescriptor.fd, { bigint: true });
1790
+ const { view } = getMemory(this, buf + 64);
1791
+ toFileStat(view, buf, stat);
1792
+ return 0 /* WasiErrno.ESUCCESS */;
1793
+ }, async function fd_filestat_get(fd, buf) {
1794
+ buf = Number(buf);
1795
+ if (buf === 0)
1796
+ return 28 /* WasiErrno.EINVAL */;
1797
+ const wasi = _wasi.get(this);
1798
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_FILESTAT_GET, BigInt(0));
1799
+ const h = fileDescriptor.fd;
1800
+ const stat = await h.stat({ bigint: true });
1801
+ const { view } = getMemory(this, buf + 64);
1802
+ toFileStat(view, buf, stat);
1803
+ return 0 /* WasiErrno.ESUCCESS */;
1804
+ }, ['i32', 'i32'], ['i32']);
1805
+ defineImport('fd_filestat_set_size', function fd_filestat_set_size(fd, size) {
1806
+ const wasi = _wasi.get(this);
1807
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_FILESTAT_SET_SIZE, BigInt(0));
1808
+ const fs = getFs(this);
1809
+ fs.ftruncateSync(fileDescriptor.fd, Number(size));
1810
+ return 0 /* WasiErrno.ESUCCESS */;
1811
+ }, async function fd_filestat_set_size(fd, size) {
1812
+ const wasi = _wasi.get(this);
1813
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_FILESTAT_SET_SIZE, BigInt(0));
1814
+ const h = fileDescriptor.fd;
1815
+ await h.truncate(Number(size));
1816
+ return 0 /* WasiErrno.ESUCCESS */;
1817
+ }, ['i32', 'i64'], ['i32']);
1818
+ function fdFilestatGetTimes(fd, atim, mtim, flags) {
1819
+ const wasi = _wasi.get(this);
1820
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_FILESTAT_SET_TIMES, BigInt(0));
1821
+ if ((flags & 2 /* WasiFstFlag.SET_ATIM_NOW */) === 2 /* WasiFstFlag.SET_ATIM_NOW */) {
1822
+ atim = BigInt(Date.now() * 1000000);
1823
+ }
1824
+ if ((flags & 8 /* WasiFstFlag.SET_MTIM_NOW */) === 8 /* WasiFstFlag.SET_MTIM_NOW */) {
1825
+ mtim = BigInt(Date.now() * 1000000);
1826
+ }
1827
+ return { fileDescriptor, atim, mtim };
1828
+ }
1829
+ defineImport('fd_filestat_set_times', function fd_filestat_set_times(fd, atim, mtim, flags) {
1830
+ if (validateFstFlagsOrReturn(flags)) {
1831
+ return 28 /* WasiErrno.EINVAL */;
1832
+ }
1833
+ const { fileDescriptor, atim: atimRes, mtim: mtimRes } = fdFilestatGetTimes.call(this, fd, atim, mtim, flags);
1834
+ const fs = getFs(this);
1835
+ fs.futimesSync(fileDescriptor.fd, Number(atimRes), Number(mtimRes));
1836
+ return 0 /* WasiErrno.ESUCCESS */;
1837
+ }, async function fd_filestat_set_times(fd, atim, mtim, flags) {
1838
+ if (validateFstFlagsOrReturn(flags)) {
1839
+ return 28 /* WasiErrno.EINVAL */;
1840
+ }
1841
+ const { fileDescriptor, atim: atimRes, mtim: mtimRes } = fdFilestatGetTimes.call(this, fd, atim, mtim, flags);
1842
+ const h = fileDescriptor.fd;
1843
+ await h.utimes(Number(atimRes), Number(mtimRes));
1844
+ return 0 /* WasiErrno.ESUCCESS */;
1845
+ }, ['i32', 'i64', 'i64', 'i32'], ['i32']);
1846
+ defineImport('fd_pread', function fd_pread(fd, iovs, iovslen, offset, size) {
1847
+ iovs = Number(iovs);
1848
+ size = Number(size);
1849
+ if ((iovs === 0 && iovslen) || size === 0 || offset > INT64_MAX) {
1850
+ return 28 /* WasiErrno.EINVAL */;
1851
+ }
1852
+ const { HEAPU8, view } = getMemory(this, Math.max(iovs + Number(iovslen) * 8, size + 4));
1853
+ const wasi = _wasi.get(this);
1854
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_READ | WasiRights.FD_SEEK, BigInt(0));
1855
+ if (!iovslen) {
1856
+ view.setUint32(size, 0, true);
1857
+ return 0 /* WasiErrno.ESUCCESS */;
1858
+ }
1859
+ let totalSize = 0;
1860
+ const ioVecs = Array.from({ length: Number(iovslen) }, (_, i) => {
1861
+ const offset = iovs + (i * 8);
1862
+ const buf = view.getInt32(offset, true);
1863
+ const bufLen = view.getUint32(offset + 4, true);
1864
+ totalSize += bufLen;
1865
+ return HEAPU8.subarray(buf, buf + bufLen);
1866
+ });
1867
+ let nread = 0;
1868
+ const buffer = (() => {
1869
+ try {
1870
+ return new Uint8Array(new SharedArrayBuffer(totalSize));
1871
+ }
1872
+ catch (_) {
1873
+ return new Uint8Array(totalSize);
1874
+ }
1875
+ })();
1876
+ buffer._isBuffer = true;
1877
+ const fs = getFs(this);
1878
+ const bytesRead = fs.readSync(fileDescriptor.fd, buffer, 0, buffer.length, Number(offset));
1879
+ nread = buffer ? copyMemory(ioVecs, buffer.subarray(0, bytesRead)) : 0;
1880
+ view.setUint32(size, nread, true);
1881
+ return 0 /* WasiErrno.ESUCCESS */;
1882
+ }, async function (fd, iovs, iovslen, offset, size) {
1883
+ iovs = Number(iovs);
1884
+ size = Number(size);
1885
+ if ((iovs === 0 && iovslen) || size === 0 || offset > INT64_MAX) {
1886
+ return 28 /* WasiErrno.EINVAL */;
1887
+ }
1888
+ const { HEAPU8, view } = getMemory(this, Math.max(iovs + Number(iovslen) * 8, size + 4));
1889
+ const wasi = _wasi.get(this);
1890
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_READ | WasiRights.FD_SEEK, BigInt(0));
1891
+ if (!iovslen) {
1892
+ view.setUint32(size, 0, true);
1893
+ return 0 /* WasiErrno.ESUCCESS */;
1894
+ }
1895
+ let totalSize = 0;
1896
+ const ioVecs = Array.from({ length: Number(iovslen) }, (_, i) => {
1897
+ const offset = iovs + (i * 8);
1898
+ const buf = view.getInt32(offset, true);
1899
+ const bufLen = view.getUint32(offset + 4, true);
1900
+ totalSize += bufLen;
1901
+ return HEAPU8.subarray(buf, buf + bufLen);
1902
+ });
1903
+ let nread = 0;
1904
+ const buffer = new Uint8Array(totalSize);
1905
+ buffer._isBuffer = true;
1906
+ const { bytesRead } = await fileDescriptor.fd.read(buffer, 0, buffer.length, Number(offset));
1907
+ nread = buffer ? copyMemory(ioVecs, buffer.subarray(0, bytesRead)) : 0;
1908
+ view.setUint32(size, nread, true);
1909
+ return 0 /* WasiErrno.ESUCCESS */;
1910
+ }, ['i32', 'i32', 'i32', 'i64', 'i32'], ['i32']);
1911
+ defineImport('fd_pwrite', function fd_pwrite(fd, iovs, iovslen, offset, size) {
1912
+ iovs = Number(iovs);
1913
+ size = Number(size);
1914
+ if ((iovs === 0 && iovslen) || size === 0 || offset > INT64_MAX) {
1915
+ return 28 /* WasiErrno.EINVAL */;
1916
+ }
1917
+ const { HEAPU8, view } = getMemory(this, Math.max(iovs + Number(iovslen) * 8, size + 4));
1918
+ const wasi = _wasi.get(this);
1919
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_WRITE | WasiRights.FD_SEEK, BigInt(0));
1920
+ if (!iovslen) {
1921
+ view.setUint32(size, 0, true);
1922
+ return 0 /* WasiErrno.ESUCCESS */;
1923
+ }
1924
+ const buffer = concatBuffer(Array.from({ length: Number(iovslen) }, (_, i) => {
1925
+ const offset = iovs + (i * 8);
1926
+ const buf = view.getInt32(offset, true);
1927
+ const bufLen = view.getUint32(offset + 4, true);
1928
+ return HEAPU8.subarray(buf, buf + bufLen);
1929
+ }));
1930
+ const fs = getFs(this);
1931
+ const nwritten = fs.writeSync(fileDescriptor.fd, buffer, 0, buffer.length, Number(offset));
1932
+ view.setUint32(size, nwritten, true);
1933
+ return 0 /* WasiErrno.ESUCCESS */;
1934
+ }, async function fd_pwrite(fd, iovs, iovslen, offset, size) {
1935
+ iovs = Number(iovs);
1936
+ size = Number(size);
1937
+ if ((iovs === 0 && iovslen) || size === 0 || offset > INT64_MAX) {
1938
+ return 28 /* WasiErrno.EINVAL */;
1939
+ }
1940
+ const { HEAPU8, view } = getMemory(this, Math.max(iovs + Number(iovslen) * 8, size + 4));
1941
+ const wasi = _wasi.get(this);
1942
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_WRITE | WasiRights.FD_SEEK, BigInt(0));
1943
+ if (!iovslen) {
1944
+ view.setUint32(size, 0, true);
1945
+ return 0 /* WasiErrno.ESUCCESS */;
1946
+ }
1947
+ const buffer = concatBuffer(Array.from({ length: Number(iovslen) }, (_, i) => {
1948
+ const offset = iovs + (i * 8);
1949
+ const buf = view.getInt32(offset, true);
1950
+ const bufLen = view.getUint32(offset + 4, true);
1951
+ return HEAPU8.subarray(buf, buf + bufLen);
1952
+ }));
1953
+ const { bytesWritten } = await fileDescriptor.fd.write(buffer, 0, buffer.length, Number(offset));
1954
+ view.setUint32(size, bytesWritten, true);
1955
+ return 0 /* WasiErrno.ESUCCESS */;
1956
+ }, ['i32', 'i32', 'i32', 'i64', 'i32'], ['i32']);
1957
+ defineImport('fd_read', function fd_read(fd, iovs, iovslen, size) {
1958
+ iovs = Number(iovs);
1959
+ size = Number(size);
1960
+ if ((iovs === 0 && iovslen) || size === 0) {
1961
+ return 28 /* WasiErrno.EINVAL */;
1962
+ }
1963
+ const { HEAPU8, view } = getMemory(this, Math.max(iovs + Number(iovslen) * 8, size + 4));
1964
+ const wasi = _wasi.get(this);
1965
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_READ, BigInt(0));
1966
+ if (!iovslen) {
1967
+ view.setUint32(size, 0, true);
1968
+ return 0 /* WasiErrno.ESUCCESS */;
1969
+ }
1970
+ let totalSize = 0;
1971
+ const ioVecs = Array.from({ length: Number(iovslen) }, (_, i) => {
1972
+ const offset = iovs + (i * 8);
1973
+ const buf = view.getInt32(offset, true);
1974
+ const bufLen = view.getUint32(offset + 4, true);
1975
+ totalSize += bufLen;
1976
+ return HEAPU8.subarray(buf, buf + bufLen);
1977
+ });
1978
+ let buffer;
1979
+ let nread = 0;
1980
+ if (fd === 0) {
1981
+ if (typeof window === 'undefined' || typeof window.prompt !== 'function') {
1982
+ return 58 /* WasiErrno.ENOTSUP */;
1983
+ }
1984
+ buffer = readStdin();
1985
+ nread = buffer ? copyMemory(ioVecs, buffer) : 0;
1986
+ }
1987
+ else {
1988
+ buffer = (() => {
1989
+ try {
1990
+ return new Uint8Array(new SharedArrayBuffer(totalSize));
1991
+ }
1992
+ catch (_) {
1993
+ return new Uint8Array(totalSize);
1994
+ }
1995
+ })();
1996
+ buffer._isBuffer = true;
1997
+ const fs = getFs(this);
1998
+ const bytesRead = fs.readSync(fileDescriptor.fd, buffer, 0, buffer.length, Number(fileDescriptor.pos));
1999
+ nread = buffer ? copyMemory(ioVecs, buffer.subarray(0, bytesRead)) : 0;
2000
+ fileDescriptor.pos += BigInt(nread);
2001
+ }
2002
+ view.setUint32(size, nread, true);
2003
+ return 0 /* WasiErrno.ESUCCESS */;
2004
+ }, async function fd_read(fd, iovs, iovslen, size) {
2005
+ iovs = Number(iovs);
2006
+ size = Number(size);
2007
+ if ((iovs === 0 && iovslen) || size === 0) {
2008
+ return 28 /* WasiErrno.EINVAL */;
2009
+ }
2010
+ const { HEAPU8, view } = getMemory(this, Math.max(iovs + Number(iovslen) * 8, size + 4));
2011
+ const wasi = _wasi.get(this);
2012
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_READ, BigInt(0));
2013
+ if (!iovslen) {
2014
+ view.setUint32(size, 0, true);
2015
+ return 0 /* WasiErrno.ESUCCESS */;
2016
+ }
2017
+ let totalSize = 0;
2018
+ const ioVecs = Array.from({ length: Number(iovslen) }, (_, i) => {
2019
+ const offset = iovs + (i * 8);
2020
+ const buf = view.getInt32(offset, true);
2021
+ const bufLen = view.getUint32(offset + 4, true);
2022
+ totalSize += bufLen;
2023
+ return HEAPU8.subarray(buf, buf + bufLen);
2024
+ });
2025
+ let buffer;
2026
+ let nread = 0;
2027
+ if (fd === 0) {
2028
+ if (typeof window === 'undefined' || typeof window.prompt !== 'function') {
2029
+ return 58 /* WasiErrno.ENOTSUP */;
2030
+ }
2031
+ buffer = readStdin();
2032
+ nread = buffer ? copyMemory(ioVecs, buffer) : 0;
2033
+ }
2034
+ else {
2035
+ buffer = new Uint8Array(totalSize);
2036
+ buffer._isBuffer = true;
2037
+ const { bytesRead } = await fileDescriptor.fd.read(buffer, 0, buffer.length, Number(fileDescriptor.pos));
2038
+ nread = buffer ? copyMemory(ioVecs, buffer.subarray(0, bytesRead)) : 0;
2039
+ fileDescriptor.pos += BigInt(nread);
2040
+ }
2041
+ view.setUint32(size, nread, true);
2042
+ return 0 /* WasiErrno.ESUCCESS */;
2043
+ }, ['i32', 'i32', 'i32', 'i32'], ['i32']);
2044
+ defineImport('fd_readdir', function fd_readdir(fd, buf, buf_len, cookie, bufused) {
2045
+ buf = Number(buf);
2046
+ buf_len = Number(buf_len);
2047
+ bufused = Number(bufused);
2048
+ if (buf === 0 || bufused === 0)
2049
+ return 0 /* WasiErrno.ESUCCESS */;
2050
+ const wasi = _wasi.get(this);
2051
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_READDIR, BigInt(0));
2052
+ const fs = getFs(this);
2053
+ const entries = fs.readdirSync(fileDescriptor.realPath, { withFileTypes: true });
2054
+ const { HEAPU8, view } = getMemory(this, Math.max(buf + buf_len, bufused + 4));
2055
+ let bufferUsed = 0;
2056
+ for (let i = Number(cookie); i < entries.length; i++) {
2057
+ const nameData = encoder.encode(entries[i].name);
2058
+ const entryInfo = fs.statSync(resolve(fileDescriptor.realPath, entries[i].name), { bigint: true });
2059
+ const entryData = new Uint8Array(24 + nameData.byteLength);
2060
+ const entryView = new DataView(entryData.buffer);
2061
+ entryView.setBigUint64(0, BigInt(i + 1), true);
2062
+ entryView.setBigUint64(8, BigInt(entryInfo.ino ? entryInfo.ino : 0), true);
2063
+ entryView.setUint32(16, nameData.byteLength, true);
2064
+ let type;
2065
+ if (entries[i].isFile()) {
2066
+ type = 4 /* WasiFileType.REGULAR_FILE */;
2067
+ }
2068
+ else if (entries[i].isDirectory()) {
2069
+ type = 3 /* WasiFileType.DIRECTORY */;
2070
+ }
2071
+ else if (entries[i].isSymbolicLink()) {
2072
+ type = 7 /* WasiFileType.SYMBOLIC_LINK */;
2073
+ }
2074
+ else if (entries[i].isCharacterDevice()) {
2075
+ type = 2 /* WasiFileType.CHARACTER_DEVICE */;
2076
+ }
2077
+ else if (entries[i].isBlockDevice()) {
2078
+ type = 1 /* WasiFileType.BLOCK_DEVICE */;
2079
+ }
2080
+ else if (entries[i].isSocket()) {
2081
+ type = 6 /* WasiFileType.SOCKET_STREAM */;
2082
+ }
2083
+ else {
2084
+ type = 0 /* WasiFileType.UNKNOWN */;
2085
+ }
2086
+ entryView.setUint8(20, type);
2087
+ entryData.set(nameData, 24);
2088
+ const data = entryData.slice(0, Math.min(entryData.length, buf_len - bufferUsed));
2089
+ HEAPU8.set(data, buf + bufferUsed);
2090
+ bufferUsed += data.byteLength;
2091
+ }
2092
+ view.setUint32(bufused, bufferUsed, true);
2093
+ return 0 /* WasiErrno.ESUCCESS */;
2094
+ }, async function fd_readdir(fd, buf, buf_len, cookie, bufused) {
2095
+ buf = Number(buf);
2096
+ buf_len = Number(buf_len);
2097
+ bufused = Number(bufused);
2098
+ if (buf === 0 || bufused === 0)
2099
+ return 0 /* WasiErrno.ESUCCESS */;
2100
+ const wasi = _wasi.get(this);
2101
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_READDIR, BigInt(0));
2102
+ const fs = getFs(this);
2103
+ const entries = await fs.promises.readdir(fileDescriptor.realPath, { withFileTypes: true });
2104
+ const { HEAPU8, view } = getMemory(this, Math.max(buf + buf_len, bufused + 4));
2105
+ let bufferUsed = 0;
2106
+ for (let i = Number(cookie); i < entries.length; i++) {
2107
+ const nameData = encoder.encode(entries[i].name);
2108
+ const entryInfo = await fs.promises.stat(resolve(fileDescriptor.realPath, entries[i].name), { bigint: true });
2109
+ const entryData = new Uint8Array(24 + nameData.byteLength);
2110
+ const entryView = new DataView(entryData.buffer);
2111
+ entryView.setBigUint64(0, BigInt(i + 1), true);
2112
+ entryView.setBigUint64(8, BigInt(entryInfo.ino ? entryInfo.ino : 0), true);
2113
+ entryView.setUint32(16, nameData.byteLength, true);
2114
+ let type;
2115
+ if (entries[i].isFile()) {
2116
+ type = 4 /* WasiFileType.REGULAR_FILE */;
2117
+ }
2118
+ else if (entries[i].isDirectory()) {
2119
+ type = 3 /* WasiFileType.DIRECTORY */;
2120
+ }
2121
+ else if (entries[i].isSymbolicLink()) {
2122
+ type = 7 /* WasiFileType.SYMBOLIC_LINK */;
2123
+ }
2124
+ else if (entries[i].isCharacterDevice()) {
2125
+ type = 2 /* WasiFileType.CHARACTER_DEVICE */;
2126
+ }
2127
+ else if (entries[i].isBlockDevice()) {
2128
+ type = 1 /* WasiFileType.BLOCK_DEVICE */;
2129
+ }
2130
+ else if (entries[i].isSocket()) {
2131
+ type = 6 /* WasiFileType.SOCKET_STREAM */;
2132
+ }
2133
+ else {
2134
+ type = 0 /* WasiFileType.UNKNOWN */;
2135
+ }
2136
+ entryView.setUint8(20, type);
2137
+ entryData.set(nameData, 24);
2138
+ const data = entryData.slice(0, Math.min(entryData.length, buf_len - bufferUsed));
2139
+ HEAPU8.set(data, buf + bufferUsed);
2140
+ bufferUsed += data.byteLength;
2141
+ }
2142
+ view.setUint32(bufused, bufferUsed, true);
2143
+ return 0 /* WasiErrno.ESUCCESS */;
2144
+ }, ['i32', 'i32', 'i32', 'i64', 'i32'], ['i32']);
2145
+ defineImport('fd_renumber', function fd_renumber(from, to) {
2146
+ const wasi = _wasi.get(this);
2147
+ wasi.fds.renumber(to, from);
2148
+ return 0 /* WasiErrno.ESUCCESS */;
2149
+ }, async function fd_renumber(from, to) {
2150
+ const wasi = _wasi.get(this);
2151
+ await wasi.fds.renumber(to, from);
2152
+ return 0 /* WasiErrno.ESUCCESS */;
2153
+ }, ['i32', 'i32'], ['i32']);
2154
+ defineImport('fd_sync', function fd_sync(fd) {
2155
+ const wasi = _wasi.get(this);
2156
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_SYNC, BigInt(0));
2157
+ const fs = getFs(this);
2158
+ fs.fsyncSync(fileDescriptor.fd);
2159
+ return 0 /* WasiErrno.ESUCCESS */;
2160
+ }, async function fd_sync(fd) {
2161
+ const wasi = _wasi.get(this);
2162
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_SYNC, BigInt(0));
2163
+ await fileDescriptor.fd.sync();
2164
+ return 0 /* WasiErrno.ESUCCESS */;
2165
+ }, ['i32'], ['i32']);
2166
+ defineImport('fd_write', function fd_write(fd, iovs, iovslen, size) {
2167
+ iovs = Number(iovs);
2168
+ size = Number(size);
2169
+ if ((iovs === 0 && iovslen) || size === 0) {
2170
+ return 28 /* WasiErrno.EINVAL */;
2171
+ }
2172
+ const { HEAPU8, view } = getMemory(this, Math.max(iovs + Number(iovslen) * 8, size + 4));
2173
+ const wasi = _wasi.get(this);
2174
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_WRITE, BigInt(0));
2175
+ if (!iovslen) {
2176
+ view.setUint32(size, 0, true);
2177
+ return 0 /* WasiErrno.ESUCCESS */;
2178
+ }
2179
+ const buffer = concatBuffer(Array.from({ length: Number(iovslen) }, (_, i) => {
2180
+ const offset = iovs + (i * 8);
2181
+ const buf = view.getInt32(offset, true);
2182
+ const bufLen = view.getUint32(offset + 4, true);
2183
+ return HEAPU8.subarray(buf, buf + bufLen);
2184
+ }));
2185
+ let nwritten;
2186
+ if (fd === 1 || fd === 2) {
2187
+ nwritten = fileDescriptor.write(buffer);
2188
+ }
2189
+ else {
2190
+ const fs = getFs(this);
2191
+ nwritten = fs.writeSync(fileDescriptor.fd, buffer, 0, buffer.length, Number(fileDescriptor.pos));
2192
+ fileDescriptor.pos += BigInt(nwritten);
2193
+ }
2194
+ view.setUint32(size, nwritten, true);
2195
+ return 0 /* WasiErrno.ESUCCESS */;
2196
+ }, async function fd_write(fd, iovs, iovslen, size) {
2197
+ iovs = Number(iovs);
2198
+ size = Number(size);
2199
+ if ((iovs === 0 && iovslen) || size === 0) {
2200
+ return 28 /* WasiErrno.EINVAL */;
2201
+ }
2202
+ const { HEAPU8, view } = getMemory(this, Math.max(iovs + Number(iovslen) * 8, size + 4));
2203
+ const wasi = _wasi.get(this);
2204
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.FD_WRITE, BigInt(0));
2205
+ if (!iovslen) {
2206
+ view.setUint32(size, 0, true);
2207
+ return 0 /* WasiErrno.ESUCCESS */;
2208
+ }
2209
+ const buffer = concatBuffer(Array.from({ length: Number(iovslen) }, (_, i) => {
2210
+ const offset = iovs + (i * 8);
2211
+ const buf = view.getInt32(offset, true);
2212
+ const bufLen = view.getUint32(offset + 4, true);
2213
+ return HEAPU8.subarray(buf, buf + bufLen);
2214
+ }));
2215
+ let nwritten;
2216
+ if (fd === 1 || fd === 2) {
2217
+ nwritten = fileDescriptor.write(buffer);
2218
+ }
2219
+ else {
2220
+ nwritten = await (await (fileDescriptor.fd.write(buffer, 0, buffer.length, Number(fileDescriptor.pos)))).bytesWritten;
2221
+ fileDescriptor.pos += BigInt(nwritten);
2222
+ }
2223
+ view.setUint32(size, nwritten, true);
2224
+ return 0 /* WasiErrno.ESUCCESS */;
2225
+ }, ['i32', 'i32', 'i32', 'i32'], ['i32']);
2226
+ defineImport('path_create_directory', function path_create_directory(fd, path, path_len) {
2227
+ path = Number(path);
2228
+ path_len = Number(path_len);
2229
+ if (path === 0) {
2230
+ return 28 /* WasiErrno.EINVAL */;
2231
+ }
2232
+ const { HEAPU8 } = getMemory(this, path + path_len);
2233
+ const wasi = _wasi.get(this);
2234
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.PATH_CREATE_DIRECTORY, BigInt(0));
2235
+ let pathString = decoder.decode(unsharedSlice(HEAPU8, path, path + path_len));
2236
+ pathString = resolve(fileDescriptor.realPath, pathString);
2237
+ const fs = getFs(this);
2238
+ fs.mkdirSync(pathString);
2239
+ return 0 /* WasiErrno.ESUCCESS */;
2240
+ }, async function path_create_directory(fd, path, path_len) {
2241
+ path = Number(path);
2242
+ path_len = Number(path_len);
2243
+ if (path === 0) {
2244
+ return 28 /* WasiErrno.EINVAL */;
2245
+ }
2246
+ const { HEAPU8 } = getMemory(this, path + path_len);
2247
+ const wasi = _wasi.get(this);
2248
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.PATH_CREATE_DIRECTORY, BigInt(0));
2249
+ let pathString = decoder.decode(unsharedSlice(HEAPU8, path, path + path_len));
2250
+ pathString = resolve(fileDescriptor.realPath, pathString);
2251
+ const fs = getFs(this);
2252
+ await fs.promises.mkdir(pathString);
2253
+ return 0 /* WasiErrno.ESUCCESS */;
2254
+ }, ['i32', 'i32', 'i32'], ['i32']);
2255
+ defineImport('path_filestat_get', function path_filestat_get(fd, flags, path, path_len, filestat) {
2256
+ path = Number(path);
2257
+ path_len = Number(path_len);
2258
+ filestat = Number(filestat);
2259
+ if (path === 0 || filestat === 0) {
2260
+ return 28 /* WasiErrno.EINVAL */;
2261
+ }
2262
+ const { HEAPU8, view } = getMemory(this, Math.max(path + path_len, filestat + 64));
2263
+ const wasi = _wasi.get(this);
2264
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.PATH_FILESTAT_GET, BigInt(0));
2265
+ let pathString = decoder.decode(unsharedSlice(HEAPU8, path, path + path_len));
2266
+ const fs = getFs(this);
2267
+ pathString = resolve(fileDescriptor.realPath, pathString);
2268
+ let stat;
2269
+ if ((flags & 1) === 1) {
2270
+ stat = fs.statSync(pathString, { bigint: true });
2271
+ }
2272
+ else {
2273
+ stat = fs.lstatSync(pathString, { bigint: true });
2274
+ }
2275
+ toFileStat(view, filestat, stat);
2276
+ return 0 /* WasiErrno.ESUCCESS */;
2277
+ }, async function path_filestat_get(fd, flags, path, path_len, filestat) {
2278
+ path = Number(path);
2279
+ path_len = Number(path_len);
2280
+ filestat = Number(filestat);
2281
+ if (path === 0 || filestat === 0) {
2282
+ return 28 /* WasiErrno.EINVAL */;
2283
+ }
2284
+ const { HEAPU8, view } = getMemory(this, Math.max(path + path_len, filestat + 64));
2285
+ const wasi = _wasi.get(this);
2286
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.PATH_FILESTAT_GET, BigInt(0));
2287
+ let pathString = decoder.decode(unsharedSlice(HEAPU8, path, path + path_len));
2288
+ const fs = getFs(this);
2289
+ pathString = resolve(fileDescriptor.realPath, pathString);
2290
+ let stat;
2291
+ if ((flags & 1) === 1) {
2292
+ stat = await fs.promises.stat(pathString, { bigint: true });
2293
+ }
2294
+ else {
2295
+ stat = await fs.promises.lstat(pathString, { bigint: true });
2296
+ }
2297
+ toFileStat(view, filestat, stat);
2298
+ return 0 /* WasiErrno.ESUCCESS */;
2299
+ }, ['i32', 'i32', 'i32', 'i32', 'i32'], ['i32']);
2300
+ defineImport('path_filestat_set_times', function path_filestat_set_times(fd, flags, path, path_len, atim, mtim, fst_flags) {
2301
+ path = Number(path);
2302
+ path_len = Number(path_len);
2303
+ if (path === 0)
2304
+ return 28 /* WasiErrno.EINVAL */;
2305
+ const { HEAPU8 } = getMemory(this, path + path_len);
2306
+ const wasi = _wasi.get(this);
2307
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.PATH_FILESTAT_SET_TIMES, BigInt(0));
2308
+ if (validateFstFlagsOrReturn(fst_flags)) {
2309
+ return 28 /* WasiErrno.EINVAL */;
2310
+ }
2311
+ const fs = getFs(this);
2312
+ const resolvedPath = resolvePathSync(fs, fileDescriptor, decoder.decode(unsharedSlice(HEAPU8, path, path + path_len)), flags);
2313
+ if ((fst_flags & 2 /* WasiFstFlag.SET_ATIM_NOW */) === 2 /* WasiFstFlag.SET_ATIM_NOW */) {
2314
+ atim = BigInt(Date.now() * 1000000);
2315
+ }
2316
+ if ((fst_flags & 8 /* WasiFstFlag.SET_MTIM_NOW */) === 8 /* WasiFstFlag.SET_MTIM_NOW */) {
2317
+ mtim = BigInt(Date.now() * 1000000);
2318
+ }
2319
+ fs.utimesSync(resolvedPath, Number(atim), Number(mtim));
2320
+ return 0 /* WasiErrno.ESUCCESS */;
2321
+ }, async function path_filestat_set_times(fd, flags, path, path_len, atim, mtim, fst_flags) {
2322
+ path = Number(path);
2323
+ path_len = Number(path_len);
2324
+ if (path === 0)
2325
+ return 28 /* WasiErrno.EINVAL */;
2326
+ const { HEAPU8 } = getMemory(this, path + path_len);
2327
+ const wasi = _wasi.get(this);
2328
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.PATH_FILESTAT_SET_TIMES, BigInt(0));
2329
+ if (validateFstFlagsOrReturn(fst_flags)) {
2330
+ return 28 /* WasiErrno.EINVAL */;
2331
+ }
2332
+ const fs = getFs(this);
2333
+ const resolvedPath = await resolvePathAsync(fs, fileDescriptor, decoder.decode(unsharedSlice(HEAPU8, path, path + path_len)), flags);
2334
+ if ((fst_flags & 2 /* WasiFstFlag.SET_ATIM_NOW */) === 2 /* WasiFstFlag.SET_ATIM_NOW */) {
2335
+ atim = BigInt(Date.now() * 1000000);
2336
+ }
2337
+ if ((fst_flags & 8 /* WasiFstFlag.SET_MTIM_NOW */) === 8 /* WasiFstFlag.SET_MTIM_NOW */) {
2338
+ mtim = BigInt(Date.now() * 1000000);
2339
+ }
2340
+ await fs.promises.utimes(resolvedPath, Number(atim), Number(mtim));
2341
+ return 0 /* WasiErrno.ESUCCESS */;
2342
+ }, ['i32', 'i32', 'i32', 'i32', 'i64', 'i64', 'i32'], ['i32']);
2343
+ defineImport('path_link', function path_link(old_fd, old_flags, old_path, old_path_len, new_fd, new_path, new_path_len) {
2344
+ old_path = Number(old_path);
2345
+ old_path_len = Number(old_path_len);
2346
+ new_path = Number(new_path);
2347
+ new_path_len = Number(new_path_len);
2348
+ if (old_path === 0 || new_path === 0) {
2349
+ return 28 /* WasiErrno.EINVAL */;
2350
+ }
2351
+ const wasi = _wasi.get(this);
2352
+ let oldWrap;
2353
+ let newWrap;
2354
+ if (old_fd === new_fd) {
2355
+ oldWrap = newWrap = wasi.fds.get(old_fd, WasiRights.PATH_LINK_SOURCE | WasiRights.PATH_LINK_TARGET, BigInt(0));
2356
+ }
2357
+ else {
2358
+ oldWrap = wasi.fds.get(old_fd, WasiRights.PATH_LINK_SOURCE, BigInt(0));
2359
+ newWrap = wasi.fds.get(new_fd, WasiRights.PATH_LINK_TARGET, BigInt(0));
2360
+ }
2361
+ const { HEAPU8 } = getMemory(this, Math.max(old_path + old_path_len, new_path + new_path_len));
2362
+ const fs = getFs(this);
2363
+ const resolvedOldPath = resolvePathSync(fs, oldWrap, decoder.decode(unsharedSlice(HEAPU8, old_path, old_path + old_path_len)), old_flags);
2364
+ const resolvedNewPath = resolve(newWrap.realPath, decoder.decode(unsharedSlice(HEAPU8, new_path, new_path + new_path_len)));
2365
+ fs.linkSync(resolvedOldPath, resolvedNewPath);
2366
+ return 0 /* WasiErrno.ESUCCESS */;
2367
+ }, async function path_link(old_fd, old_flags, old_path, old_path_len, new_fd, new_path, new_path_len) {
2368
+ old_path = Number(old_path);
2369
+ old_path_len = Number(old_path_len);
2370
+ new_path = Number(new_path);
2371
+ new_path_len = Number(new_path_len);
2372
+ if (old_path === 0 || new_path === 0) {
2373
+ return 28 /* WasiErrno.EINVAL */;
2374
+ }
2375
+ const wasi = _wasi.get(this);
2376
+ let oldWrap;
2377
+ let newWrap;
2378
+ if (old_fd === new_fd) {
2379
+ oldWrap = newWrap = wasi.fds.get(old_fd, WasiRights.PATH_LINK_SOURCE | WasiRights.PATH_LINK_TARGET, BigInt(0));
2380
+ }
2381
+ else {
2382
+ oldWrap = wasi.fds.get(old_fd, WasiRights.PATH_LINK_SOURCE, BigInt(0));
2383
+ newWrap = wasi.fds.get(new_fd, WasiRights.PATH_LINK_TARGET, BigInt(0));
2384
+ }
2385
+ const { HEAPU8 } = getMemory(this, Math.max(old_path + old_path_len, new_path + new_path_len));
2386
+ const fs = getFs(this);
2387
+ const resolvedOldPath = await resolvePathAsync(fs, oldWrap, decoder.decode(unsharedSlice(HEAPU8, old_path, old_path + old_path_len)), old_flags);
2388
+ const resolvedNewPath = resolve(newWrap.realPath, decoder.decode(unsharedSlice(HEAPU8, new_path, new_path + new_path_len)));
2389
+ await fs.promises.link(resolvedOldPath, resolvedNewPath);
2390
+ return 0 /* WasiErrno.ESUCCESS */;
2391
+ }, ['i32', 'i32', 'i32', 'i32', 'i32', 'i32', 'i32'], ['i32']);
2392
+ function pathOpen(o_flags, fs_rights_base, fs_rights_inheriting, fs_flags) {
2393
+ const read = (fs_rights_base & (WasiRights.FD_READ |
2394
+ WasiRights.FD_READDIR)) !== BigInt(0);
2395
+ const write = (fs_rights_base & (WasiRights.FD_DATASYNC |
2396
+ WasiRights.FD_WRITE |
2397
+ WasiRights.FD_ALLOCATE |
2398
+ WasiRights.FD_FILESTAT_SET_SIZE)) !== BigInt(0);
2399
+ let flags = write ? read ? 2 /* FileControlFlag.O_RDWR */ : 1 /* FileControlFlag.O_WRONLY */ : 0 /* FileControlFlag.O_RDONLY */;
2400
+ let needed_base = WasiRights.PATH_OPEN;
2401
+ let needed_inheriting = fs_rights_base | fs_rights_inheriting;
2402
+ if ((o_flags & 1 /* WasiFileControlFlag.O_CREAT */) !== 0) {
2403
+ flags |= 64 /* FileControlFlag.O_CREAT */;
2404
+ needed_base |= WasiRights.PATH_CREATE_FILE;
2405
+ }
2406
+ if ((o_flags & 2 /* WasiFileControlFlag.O_DIRECTORY */) !== 0) {
2407
+ flags |= 65536 /* FileControlFlag.O_DIRECTORY */;
2408
+ }
2409
+ if ((o_flags & 4 /* WasiFileControlFlag.O_EXCL */) !== 0) {
2410
+ flags |= 128 /* FileControlFlag.O_EXCL */;
2411
+ }
2412
+ if ((o_flags & 8 /* WasiFileControlFlag.O_TRUNC */) !== 0) {
2413
+ flags |= 512 /* FileControlFlag.O_TRUNC */;
2414
+ needed_base |= WasiRights.PATH_FILESTAT_SET_SIZE;
2415
+ }
2416
+ if ((fs_flags & 1 /* WasiFdFlag.APPEND */) !== 0) {
2417
+ flags |= 1024 /* FileControlFlag.O_APPEND */;
2418
+ }
2419
+ if ((fs_flags & 2 /* WasiFdFlag.DSYNC */) !== 0) {
2420
+ // flags |= FileControlFlag.O_DSYNC;
2421
+ needed_inheriting |= WasiRights.FD_DATASYNC;
2422
+ }
2423
+ if ((fs_flags & 4 /* WasiFdFlag.NONBLOCK */) !== 0) {
2424
+ flags |= 2048 /* FileControlFlag.O_NONBLOCK */;
2425
+ }
2426
+ if ((fs_flags & 8 /* WasiFdFlag.RSYNC */) !== 0) {
2427
+ flags |= 1052672 /* FileControlFlag.O_SYNC */;
2428
+ needed_inheriting |= WasiRights.FD_SYNC;
2429
+ }
2430
+ if ((fs_flags & 16 /* WasiFdFlag.SYNC */) !== 0) {
2431
+ flags |= 1052672 /* FileControlFlag.O_SYNC */;
2432
+ needed_inheriting |= WasiRights.FD_SYNC;
2433
+ }
2434
+ if (write && (flags & (1024 /* FileControlFlag.O_APPEND */ | 512 /* FileControlFlag.O_TRUNC */)) === 0) {
2435
+ needed_inheriting |= WasiRights.FD_SEEK;
2436
+ }
2437
+ return { flags, needed_base, needed_inheriting };
2438
+ }
2439
+ defineImport('path_open', function path_open(dirfd, dirflags, path, path_len, o_flags, fs_rights_base, fs_rights_inheriting, fs_flags, fd) {
2440
+ path = Number(path);
2441
+ fd = Number(fd);
2442
+ if (path === 0 || fd === 0) {
2443
+ return 28 /* WasiErrno.EINVAL */;
2444
+ }
2445
+ path_len = Number(path_len);
2446
+ fs_rights_base = BigInt(fs_rights_base);
2447
+ fs_rights_inheriting = BigInt(fs_rights_inheriting);
2448
+ const { flags: flagsRes, needed_base: neededBase, needed_inheriting: neededInheriting } = pathOpen(o_flags, fs_rights_base, fs_rights_inheriting, fs_flags);
2449
+ const wasi = _wasi.get(this);
2450
+ const fileDescriptor = wasi.fds.get(dirfd, neededBase, neededInheriting);
2451
+ const memory = getMemory(this, Math.max(path + path_len, fd + 4));
2452
+ const HEAPU8 = memory.HEAPU8;
2453
+ const pathString = decoder.decode(unsharedSlice(HEAPU8, path, path + path_len));
2454
+ const fs = getFs(this);
2455
+ const resolved_path = resolvePathSync(fs, fileDescriptor, pathString, dirflags);
2456
+ const r = fs.openSync(resolved_path, _isWin32Flags ? _toWinOpenFlags(flagsRes) : flagsRes, 0o666);
2457
+ const filetype = wasi.fds.getFileTypeByFd(r);
2458
+ if ((filetype !== 3 /* WasiFileType.DIRECTORY */) &&
2459
+ ((o_flags & 2 /* WasiFileControlFlag.O_DIRECTORY */) !== 0 ||
2460
+ (resolved_path.endsWith('/')))) {
2461
+ return 54 /* WasiErrno.ENOTDIR */;
2462
+ }
2463
+ const { base: max_base, inheriting: max_inheriting } = getRights(wasi.fds.stdio, r, flagsRes, filetype);
2464
+ const wrap = wasi.fds.insert(r, resolved_path, resolved_path, filetype, fs_rights_base & max_base, fs_rights_inheriting & max_inheriting, 0);
2465
+ const stat = fs.fstatSync(r, { bigint: true });
2466
+ if (stat.isFile()) {
2467
+ wrap.size = stat.size;
2468
+ if ((flagsRes & 1024 /* FileControlFlag.O_APPEND */) !== 0) {
2469
+ wrap.pos = stat.size;
2470
+ }
2471
+ }
2472
+ const view = memory.view;
2473
+ view.setInt32(fd, wrap.id, true);
2474
+ return 0 /* WasiErrno.ESUCCESS */;
2475
+ }, async function path_open(dirfd, dirflags, path, path_len, o_flags, fs_rights_base, fs_rights_inheriting, fs_flags, fd) {
2476
+ path = Number(path);
2477
+ fd = Number(fd);
2478
+ if (path === 0 || fd === 0) {
2479
+ return 28 /* WasiErrno.EINVAL */;
2480
+ }
2481
+ path_len = Number(path_len);
2482
+ fs_rights_base = BigInt(fs_rights_base);
2483
+ fs_rights_inheriting = BigInt(fs_rights_inheriting);
2484
+ const { flags: flagsRes, needed_base: neededBase, needed_inheriting: neededInheriting } = pathOpen(o_flags, fs_rights_base, fs_rights_inheriting, fs_flags);
2485
+ const wasi = _wasi.get(this);
2486
+ const fileDescriptor = wasi.fds.get(dirfd, neededBase, neededInheriting);
2487
+ const memory = getMemory(this, Math.max(path + path_len, fd + 4));
2488
+ const HEAPU8 = memory.HEAPU8;
2489
+ const pathString = decoder.decode(unsharedSlice(HEAPU8, path, path + path_len));
2490
+ const fs = getFs(this);
2491
+ const resolved_path = await resolvePathAsync(fs, fileDescriptor, pathString, dirflags);
2492
+ const r = await fs.promises.open(resolved_path, _isWin32Flags ? _toWinOpenFlags(flagsRes) : flagsRes, 0o666);
2493
+ const filetype = await wasi.fds.getFileTypeByFd(r);
2494
+ if ((o_flags & 2 /* WasiFileControlFlag.O_DIRECTORY */) !== 0 && filetype !== 3 /* WasiFileType.DIRECTORY */) {
2495
+ return 54 /* WasiErrno.ENOTDIR */;
2496
+ }
2497
+ const { base: max_base, inheriting: max_inheriting } = getRights(wasi.fds.stdio, r.fd, flagsRes, filetype);
2498
+ const wrap = wasi.fds.insert(r, resolved_path, resolved_path, filetype, fs_rights_base & max_base, fs_rights_inheriting & max_inheriting, 0);
2499
+ const stat = await r.stat({ bigint: true });
2500
+ if (stat.isFile()) {
2501
+ wrap.size = stat.size;
2502
+ if ((flagsRes & 1024 /* FileControlFlag.O_APPEND */) !== 0) {
2503
+ wrap.pos = stat.size;
2504
+ }
2505
+ }
2506
+ const view = memory.view;
2507
+ view.setInt32(fd, wrap.id, true);
2508
+ return 0 /* WasiErrno.ESUCCESS */;
2509
+ }, ['i32', 'i32', 'i32', 'i32', 'i32', 'i64', 'i64', 'i32', 'i32'], ['i32']);
2510
+ defineImport('path_readlink', function path_readlink(fd, path, path_len, buf, buf_len, bufused) {
2511
+ path = Number(path);
2512
+ path_len = Number(path_len);
2513
+ buf = Number(buf);
2514
+ buf_len = Number(buf_len);
2515
+ bufused = Number(bufused);
2516
+ if (path === 0 || buf === 0 || bufused === 0) {
2517
+ return 28 /* WasiErrno.EINVAL */;
2518
+ }
2519
+ const { HEAPU8, view } = getMemory(this, Math.max(path + path_len, buf + buf_len, bufused + 4));
2520
+ const wasi = _wasi.get(this);
2521
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.PATH_READLINK, BigInt(0));
2522
+ let pathString = decoder.decode(unsharedSlice(HEAPU8, path, path + path_len));
2523
+ pathString = resolve(fileDescriptor.realPath, pathString);
2524
+ const fs = getFs(this);
2525
+ const link = fs.readlinkSync(pathString);
2526
+ const linkData = encoder.encode(link);
2527
+ const len = Math.min(linkData.length, buf_len);
2528
+ if (len >= buf_len)
2529
+ return 42 /* WasiErrno.ENOBUFS */;
2530
+ HEAPU8.set(linkData.subarray(0, len), buf);
2531
+ HEAPU8[buf + len] = 0;
2532
+ view.setUint32(bufused, len, true);
2533
+ return 0 /* WasiErrno.ESUCCESS */;
2534
+ }, async function path_readlink(fd, path, path_len, buf, buf_len, bufused) {
2535
+ path = Number(path);
2536
+ path_len = Number(path_len);
2537
+ buf = Number(buf);
2538
+ buf_len = Number(buf_len);
2539
+ bufused = Number(bufused);
2540
+ if (path === 0 || buf === 0 || bufused === 0) {
2541
+ return 28 /* WasiErrno.EINVAL */;
2542
+ }
2543
+ const { HEAPU8, view } = getMemory(this, Math.max(path + path_len, buf + buf_len, bufused + 4));
2544
+ const wasi = _wasi.get(this);
2545
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.PATH_READLINK, BigInt(0));
2546
+ let pathString = decoder.decode(unsharedSlice(HEAPU8, path, path + path_len));
2547
+ pathString = resolve(fileDescriptor.realPath, pathString);
2548
+ const fs = getFs(this);
2549
+ const link = await fs.promises.readlink(pathString);
2550
+ const linkData = encoder.encode(link);
2551
+ const len = Math.min(linkData.length, buf_len);
2552
+ if (len >= buf_len)
2553
+ return 42 /* WasiErrno.ENOBUFS */;
2554
+ HEAPU8.set(linkData.subarray(0, len), buf);
2555
+ HEAPU8[buf + len] = 0;
2556
+ view.setUint32(bufused, len, true);
2557
+ return 0 /* WasiErrno.ESUCCESS */;
2558
+ }, ['i32', 'i32', 'i32', 'i32', 'i32', 'i32'], ['i32']);
2559
+ defineImport('path_remove_directory', function path_remove_directory(fd, path, path_len) {
2560
+ path = Number(path);
2561
+ path_len = Number(path_len);
2562
+ if (path === 0) {
2563
+ return 28 /* WasiErrno.EINVAL */;
2564
+ }
2565
+ const { HEAPU8 } = getMemory(this, path + path_len);
2566
+ const wasi = _wasi.get(this);
2567
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.PATH_REMOVE_DIRECTORY, BigInt(0));
2568
+ let pathString = decoder.decode(unsharedSlice(HEAPU8, path, path + path_len));
2569
+ pathString = resolve(fileDescriptor.realPath, pathString);
2570
+ const fs = getFs(this);
2571
+ fs.rmdirSync(pathString);
2572
+ return 0 /* WasiErrno.ESUCCESS */;
2573
+ }, async function path_remove_directory(fd, path, path_len) {
2574
+ path = Number(path);
2575
+ path_len = Number(path_len);
2576
+ if (path === 0) {
2577
+ return 28 /* WasiErrno.EINVAL */;
2578
+ }
2579
+ const { HEAPU8 } = getMemory(this, path + path_len);
2580
+ const wasi = _wasi.get(this);
2581
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.PATH_REMOVE_DIRECTORY, BigInt(0));
2582
+ let pathString = decoder.decode(unsharedSlice(HEAPU8, path, path + path_len));
2583
+ pathString = resolve(fileDescriptor.realPath, pathString);
2584
+ const fs = getFs(this);
2585
+ await fs.promises.rmdir(pathString);
2586
+ return 0 /* WasiErrno.ESUCCESS */;
2587
+ }, ['i32', 'i32', 'i32'], ['i32']);
2588
+ defineImport('path_rename', function path_rename(old_fd, old_path, old_path_len, new_fd, new_path, new_path_len) {
2589
+ old_path = Number(old_path);
2590
+ old_path_len = Number(old_path_len);
2591
+ new_path = Number(new_path);
2592
+ new_path_len = Number(new_path_len);
2593
+ if (old_path === 0 || new_path === 0) {
2594
+ return 28 /* WasiErrno.EINVAL */;
2595
+ }
2596
+ const wasi = _wasi.get(this);
2597
+ let oldWrap;
2598
+ let newWrap;
2599
+ if (old_fd === new_fd) {
2600
+ oldWrap = newWrap = wasi.fds.get(old_fd, WasiRights.PATH_RENAME_SOURCE | WasiRights.PATH_RENAME_TARGET, BigInt(0));
2601
+ }
2602
+ else {
2603
+ oldWrap = wasi.fds.get(old_fd, WasiRights.PATH_RENAME_SOURCE, BigInt(0));
2604
+ newWrap = wasi.fds.get(new_fd, WasiRights.PATH_RENAME_TARGET, BigInt(0));
2605
+ }
2606
+ const { HEAPU8 } = getMemory(this, Math.max(old_path + old_path_len, new_path + new_path_len));
2607
+ const resolvedOldPath = resolve(oldWrap.realPath, decoder.decode(unsharedSlice(HEAPU8, old_path, old_path + old_path_len)));
2608
+ const resolvedNewPath = resolve(newWrap.realPath, decoder.decode(unsharedSlice(HEAPU8, new_path, new_path + new_path_len)));
2609
+ const fs = getFs(this);
2610
+ fs.renameSync(resolvedOldPath, resolvedNewPath);
2611
+ return 0 /* WasiErrno.ESUCCESS */;
2612
+ }, async function path_rename(old_fd, old_path, old_path_len, new_fd, new_path, new_path_len) {
2613
+ old_path = Number(old_path);
2614
+ old_path_len = Number(old_path_len);
2615
+ new_path = Number(new_path);
2616
+ new_path_len = Number(new_path_len);
2617
+ if (old_path === 0 || new_path === 0) {
2618
+ return 28 /* WasiErrno.EINVAL */;
2619
+ }
2620
+ const wasi = _wasi.get(this);
2621
+ let oldWrap;
2622
+ let newWrap;
2623
+ if (old_fd === new_fd) {
2624
+ oldWrap = newWrap = wasi.fds.get(old_fd, WasiRights.PATH_RENAME_SOURCE | WasiRights.PATH_RENAME_TARGET, BigInt(0));
2625
+ }
2626
+ else {
2627
+ oldWrap = wasi.fds.get(old_fd, WasiRights.PATH_RENAME_SOURCE, BigInt(0));
2628
+ newWrap = wasi.fds.get(new_fd, WasiRights.PATH_RENAME_TARGET, BigInt(0));
2629
+ }
2630
+ const { HEAPU8 } = getMemory(this, Math.max(old_path + old_path_len, new_path + new_path_len));
2631
+ const resolvedOldPath = resolve(oldWrap.realPath, decoder.decode(unsharedSlice(HEAPU8, old_path, old_path + old_path_len)));
2632
+ const resolvedNewPath = resolve(newWrap.realPath, decoder.decode(unsharedSlice(HEAPU8, new_path, new_path + new_path_len)));
2633
+ const fs = getFs(this);
2634
+ await fs.promises.rename(resolvedOldPath, resolvedNewPath);
2635
+ return 0 /* WasiErrno.ESUCCESS */;
2636
+ }, ['i32', 'i32', 'i32', 'i32', 'i32', 'i32'], ['i32']);
2637
+ defineImport('path_symlink', function path_symlink(old_path, old_path_len, fd, new_path, new_path_len) {
2638
+ old_path = Number(old_path);
2639
+ old_path_len = Number(old_path_len);
2640
+ new_path = Number(new_path);
2641
+ new_path_len = Number(new_path_len);
2642
+ if (old_path === 0 || new_path === 0) {
2643
+ return 28 /* WasiErrno.EINVAL */;
2644
+ }
2645
+ const { HEAPU8 } = getMemory(this, Math.max(old_path + old_path_len, new_path + new_path_len));
2646
+ const wasi = _wasi.get(this);
2647
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.PATH_SYMLINK, BigInt(0));
2648
+ const oldPath = decoder.decode(unsharedSlice(HEAPU8, old_path, old_path + old_path_len));
2649
+ if (oldPath.length > 0 && oldPath[0] === '/') {
2650
+ return 63 /* WasiErrno.EPERM */;
2651
+ }
2652
+ let newPath = decoder.decode(unsharedSlice(HEAPU8, new_path, new_path + new_path_len));
2653
+ newPath = resolve(fileDescriptor.realPath, newPath);
2654
+ const fs = getFs(this);
2655
+ fs.symlinkSync(oldPath, newPath);
2656
+ return 0 /* WasiErrno.ESUCCESS */;
2657
+ }, async function path_symlink(old_path, old_path_len, fd, new_path, new_path_len) {
2658
+ old_path = Number(old_path);
2659
+ old_path_len = Number(old_path_len);
2660
+ new_path = Number(new_path);
2661
+ new_path_len = Number(new_path_len);
2662
+ if (old_path === 0 || new_path === 0) {
2663
+ return 28 /* WasiErrno.EINVAL */;
2664
+ }
2665
+ const { HEAPU8 } = getMemory(this, Math.max(old_path + old_path_len, new_path + new_path_len));
2666
+ const wasi = _wasi.get(this);
2667
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.PATH_SYMLINK, BigInt(0));
2668
+ const oldPath = decoder.decode(unsharedSlice(HEAPU8, old_path, old_path + old_path_len));
2669
+ let newPath = decoder.decode(unsharedSlice(HEAPU8, new_path, new_path + new_path_len));
2670
+ newPath = resolve(fileDescriptor.realPath, newPath);
2671
+ const fs = getFs(this);
2672
+ await fs.promises.symlink(oldPath, newPath);
2673
+ return 0 /* WasiErrno.ESUCCESS */;
2674
+ }, ['i32', 'i32', 'i32', 'i32', 'i32'], ['i32']);
2675
+ defineImport('path_unlink_file', function path_unlink_file(fd, path, path_len) {
2676
+ path = Number(path);
2677
+ path_len = Number(path_len);
2678
+ if (path === 0) {
2679
+ return 28 /* WasiErrno.EINVAL */;
2680
+ }
2681
+ const { HEAPU8 } = getMemory(this, path + path_len);
2682
+ const wasi = _wasi.get(this);
2683
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.PATH_UNLINK_FILE, BigInt(0));
2684
+ let pathString = decoder.decode(unsharedSlice(HEAPU8, path, path + path_len));
2685
+ pathString = resolve(fileDescriptor.realPath, pathString);
2686
+ const fs = getFs(this);
2687
+ fs.unlinkSync(pathString);
2688
+ return 0 /* WasiErrno.ESUCCESS */;
2689
+ }, async function path_unlink_file(fd, path, path_len) {
2690
+ path = Number(path);
2691
+ path_len = Number(path_len);
2692
+ if (path === 0) {
2693
+ return 28 /* WasiErrno.EINVAL */;
2694
+ }
2695
+ const { HEAPU8 } = getMemory(this, path + path_len);
2696
+ const wasi = _wasi.get(this);
2697
+ const fileDescriptor = wasi.fds.get(fd, WasiRights.PATH_UNLINK_FILE, BigInt(0));
2698
+ let pathString = decoder.decode(unsharedSlice(HEAPU8, path, path + path_len));
2699
+ pathString = resolve(fileDescriptor.realPath, pathString);
2700
+ const fs = getFs(this);
2701
+ await fs.promises.unlink(pathString);
2702
+ return 0 /* WasiErrno.ESUCCESS */;
2703
+ }, ['i32', 'i32', 'i32'], ['i32']);
2704
+ this._setMemory = function setMemory(m) {
2705
+ if (!(m instanceof _WebAssembly.Memory)) {
2706
+ throw new TypeError('"instance.exports.memory" property must be a WebAssembly.Memory');
2707
+ }
2708
+ _memory.set(_this, extendMemory(m));
2709
+ };
2710
+ }
2711
+ static createSync(args, env, preopens, stdio, fs, print, printErr) {
2712
+ const fds = new SyncTable({
2713
+ size: 3,
2714
+ in: stdio[0],
2715
+ out: stdio[1],
2716
+ err: stdio[2],
2717
+ fs,
2718
+ print,
2719
+ printErr
2720
+ });
2721
+ const _this = new WASI$1(args, env, fds, false, fs);
2722
+ if (preopens.length > 0) {
2723
+ for (let i = 0; i < preopens.length; ++i) {
2724
+ const realPath = fs.realpathSync(preopens[i].realPath, 'utf8');
2725
+ const fd = fs.openSync(realPath, 'r', 0o666);
2726
+ fds.insertPreopen(fd, preopens[i].mappedPath, realPath);
2727
+ }
2728
+ }
2729
+ return _this;
2730
+ }
2731
+ static async createAsync(args, env, preopens, stdio, fs, print, printErr, asyncify) {
2732
+ const fds = new AsyncTable({
2733
+ size: 3,
2734
+ in: stdio[0],
2735
+ out: stdio[1],
2736
+ err: stdio[2],
2737
+ print,
2738
+ printErr
2739
+ });
2740
+ const _this = new WASI$1(args, env, fds, true, fs, asyncify);
2741
+ if (preopens.length > 0) {
2742
+ for (let i = 0; i < preopens.length; ++i) {
2743
+ const entry = preopens[i];
2744
+ const realPath = await fs.promises.realpath(entry.realPath);
2745
+ const fd = await fs.promises.open(realPath, 'r', 0o666);
2746
+ await fds.insertPreopen(fd, entry.mappedPath, realPath);
2747
+ }
2748
+ }
2749
+ return _this;
2750
+ }
2751
+ }
2752
+
2753
+ // eslint-disable-next-line spaced-comment
2754
+ const kEmptyObject = /*#__PURE__*/ Object.freeze(/*#__PURE__*/ Object.create(null));
2755
+ const kExitCode = Symbol('kExitCode');
2756
+ const kSetMemory = Symbol('kSetMemory');
2757
+ const kStarted = Symbol('kStarted');
2758
+ const kInstance = Symbol('kInstance');
2759
+ const kBindingName = Symbol('kBindingName');
2760
+ function validateOptions(options) {
2761
+ var _a;
2762
+ validateObject(options, 'options');
2763
+ let _WASI;
2764
+ if (options.version !== undefined) {
2765
+ validateString(options.version, 'options.version');
2766
+ switch (options.version) {
2767
+ case 'unstable':
2768
+ _WASI = WASI$1;
2769
+ this[kBindingName] = 'wasi_unstable';
2770
+ break;
2771
+ case 'preview1':
2772
+ _WASI = WASI$1;
2773
+ this[kBindingName] = 'wasi_snapshot_preview1';
2774
+ break;
2775
+ default:
2776
+ throw new TypeError(`unsupported WASI version "${options.version}"`);
2777
+ }
2778
+ }
2779
+ else {
2780
+ _WASI = WASI$1;
2781
+ this[kBindingName] = 'wasi_snapshot_preview1';
2782
+ }
2783
+ if (options.args !== undefined) {
2784
+ validateArray(options.args, 'options.args');
2785
+ }
2786
+ const args = ((_a = options.args) !== null && _a !== void 0 ? _a : []).map(String);
2787
+ const env = [];
2788
+ if (options.env !== undefined) {
2789
+ validateObject(options.env, 'options.env');
2790
+ Object.entries(options.env).forEach(({ 0: key, 1: value }) => {
2791
+ if (value !== undefined) {
2792
+ env.push(`${key}=${value}`);
2793
+ }
2794
+ });
2795
+ }
2796
+ const preopens = [];
2797
+ if (options.preopens !== undefined) {
2798
+ validateObject(options.preopens, 'options.preopens');
2799
+ Object.entries(options.preopens).forEach(({ 0: key, 1: value }) => preopens.push({ mappedPath: String(key), realPath: String(value) }));
2800
+ }
2801
+ if (preopens.length > 0) {
2802
+ if (options.fs === undefined) {
2803
+ throw new Error('filesystem is disabled, can not preopen directory');
2804
+ }
2805
+ try {
2806
+ validateObject(options.fs, 'options.fs');
2807
+ }
2808
+ catch (_) {
2809
+ throw new TypeError('Node.js fs like implementation is not provided');
2810
+ }
2811
+ }
2812
+ // if (options.filesystem !== undefined) {
2813
+ // validateObject(options.filesystem, 'options.filesystem')
2814
+ // validateString(options.filesystem.type, 'options.filesystem.type')
2815
+ // if (options.filesystem.type !== 'memfs' && options.filesystem.type !== 'file-system-access-api') {
2816
+ // throw new Error(`Filesystem type ${(options.filesystem as any).type as string} is not supported, only "memfs" and "file-system-access-api" is supported currently`)
2817
+ // }
2818
+ // try {
2819
+ // validateObject(options.filesystem.fs, 'options.filesystem.fs')
2820
+ // } catch (_) {
2821
+ // throw new Error('Node.js fs like implementation is not provided')
2822
+ // }
2823
+ // }
2824
+ if (options.print !== undefined)
2825
+ validateFunction(options.print, 'options.print');
2826
+ if (options.printErr !== undefined)
2827
+ validateFunction(options.printErr, 'options.printErr');
2828
+ if (options.returnOnExit !== undefined) {
2829
+ validateBoolean(options.returnOnExit, 'options.returnOnExit');
2830
+ }
2831
+ // const { stdin = 0, stdout = 1, stderr = 2 } = options
2832
+ // validateInt32(stdin, 'options.stdin', 0)
2833
+ // validateInt32(stdout, 'options.stdout', 0)
2834
+ // validateInt32(stderr, 'options.stderr', 0)
2835
+ // const stdio = [stdin, stdout, stderr] as const
2836
+ const stdio = [0, 1, 2];
2837
+ return {
2838
+ args,
2839
+ env,
2840
+ preopens,
2841
+ stdio,
2842
+ _WASI
2843
+ };
2844
+ }
2845
+ function initWASI(setMemory, wrap) {
2846
+ this[kSetMemory] = setMemory;
2847
+ this.wasiImport = wrap;
2848
+ this[kStarted] = false;
2849
+ this[kExitCode] = 0;
2850
+ this[kInstance] = undefined;
2851
+ }
2852
+ /** @public */
2853
+ class WASI {
2854
+ constructor(options = kEmptyObject) {
2855
+ const { args, env, preopens, stdio, _WASI } = validateOptions.call(this, options);
2856
+ const wrap = _WASI.createSync(args, env, preopens, stdio, options.fs, options.print, options.printErr);
2857
+ const setMemory = wrap._setMemory;
2858
+ delete wrap._setMemory;
2859
+ initWASI.call(this, setMemory, wrap);
2860
+ if (options.returnOnExit) {
2861
+ wrap.proc_exit = wasiReturnOnProcExit.bind(this);
2862
+ }
2863
+ }
2864
+ finalizeBindings(instance, _a) {
2865
+ var _b;
2866
+ var { memory = (_b = instance === null || instance === void 0 ? void 0 : instance.exports) === null || _b === void 0 ? void 0 : _b.memory } = _a === void 0 ? {} : _a;
2867
+ if (this[kStarted]) {
2868
+ throw new Error('WASI instance has already started');
2869
+ }
2870
+ validateObject(instance, 'instance');
2871
+ validateObject(instance.exports, 'instance.exports');
2872
+ this[kSetMemory](memory);
2873
+ this[kInstance] = instance;
2874
+ this[kStarted] = true;
2875
+ }
2876
+ // Must not export _initialize, must export _start
2877
+ start(instance) {
2878
+ this.finalizeBindings(instance);
2879
+ const { _start, _initialize } = this[kInstance].exports;
2880
+ validateFunction(_start, 'instance.exports._start');
2881
+ validateUndefined(_initialize, 'instance.exports._initialize');
2882
+ let ret;
2883
+ try {
2884
+ ret = _start();
2885
+ }
2886
+ catch (err) {
2887
+ if (err !== kExitCode) {
2888
+ throw err;
2889
+ }
2890
+ }
2891
+ if (ret instanceof Promise) {
2892
+ return ret.then(() => this[kExitCode], (err) => {
2893
+ if (err !== kExitCode) {
2894
+ throw err;
2895
+ }
2896
+ return this[kExitCode];
2897
+ });
2898
+ }
2899
+ return this[kExitCode];
2900
+ }
2901
+ // Must not export _start, may optionally export _initialize
2902
+ initialize(instance) {
2903
+ this.finalizeBindings(instance);
2904
+ const { _start, _initialize } = this[kInstance].exports;
2905
+ validateUndefined(_start, 'instance.exports._start');
2906
+ if (_initialize !== undefined) {
2907
+ validateFunction(_initialize, 'instance.exports._initialize');
2908
+ return _initialize();
2909
+ }
2910
+ }
2911
+ getImportObject() {
2912
+ return { [this[kBindingName]]: this.wasiImport };
2913
+ }
2914
+ }
2915
+ function wasiReturnOnProcExit(rval) {
2916
+ this[kExitCode] = rval;
2917
+ // eslint-disable-next-line @typescript-eslint/no-throw-literal
2918
+ throw kExitCode;
2919
+ }
2920
+ /** @public */
2921
+ async function createAsyncWASI(options = kEmptyObject) {
2922
+ const _this = Object.create(WASI.prototype);
2923
+ const { args, env, preopens, stdio, _WASI } = validateOptions.call(_this, options);
2924
+ if (options.asyncify !== undefined) {
2925
+ validateObject(options.asyncify, 'options.asyncify');
2926
+ validateFunction(options.asyncify.wrapImportFunction, 'options.asyncify.wrapImportFunction');
2927
+ }
2928
+ const wrap = await _WASI.createAsync(args, env, preopens, stdio, options.fs, options.print, options.printErr, options.asyncify);
2929
+ const setMemory = wrap._setMemory;
2930
+ delete wrap._setMemory;
2931
+ initWASI.call(_this, setMemory, wrap);
2932
+ if (options.returnOnExit) {
2933
+ wrap.proc_exit = wasiReturnOnProcExit.bind(_this);
2934
+ }
2935
+ return _this;
2936
+ }
2937
+
2938
+ exports.Asyncify = Asyncify;
2939
+ exports.Memory = Memory;
2940
+ exports.WASI = WASI;
2941
+ exports.WebAssemblyMemory = WebAssemblyMemory;
2942
+ exports.asyncifyLoad = asyncifyLoad;
2943
+ exports.asyncifyLoadSync = asyncifyLoadSync;
2944
+ exports.createAsyncWASI = createAsyncWASI;
2945
+ exports.extendMemory = extendMemory;
2946
+ exports.load = load;
2947
+ exports.loadSync = loadSync;
2948
+ exports.wrapAsyncExport = wrapAsyncExport;
2949
+ exports.wrapAsyncImport = wrapAsyncImport;
2950
+ exports.wrapExports = wrapExports;
2951
+
2952
+ Object.defineProperty(exports, '__esModule', { value: true });
2953
+
2954
+ }));