@openclaw/discord 2026.7.2-beta.5 → 2026.7.33

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 (3103) hide show
  1. package/README.md +1 -1
  2. package/dist/.setup/account-inspect-5xopt4s3.mjs +83 -0
  3. package/dist/.setup/accounts-CetktX10.mjs +225 -0
  4. package/dist/.setup/allow-list-aF0WK_xB.mjs +358 -0
  5. package/dist/.setup/api-B9klHRld.mjs +139 -0
  6. package/dist/.setup/approval-handler.runtime-C2x27lJb.mjs +447 -0
  7. package/dist/.setup/audit-CJpXzUB2.mjs +25 -0
  8. package/dist/.setup/channel-B-0bM2vY.mjs +792 -0
  9. package/dist/.setup/channel-actions-CBcIRuMd.mjs +206 -0
  10. package/dist/.setup/channel-actions.runtime-DiAtC0pu.mjs +261 -0
  11. package/dist/.setup/channel.setup-CjWc8bH8.mjs +323 -0
  12. package/dist/.setup/components-BIqVqL7H.mjs +1001 -0
  13. package/dist/.setup/config-api-JiPdJeb0.mjs +2 -0
  14. package/dist/.setup/config-schema-BYYSZVWb.mjs +409 -0
  15. package/dist/.setup/conversation-identity-SMTT0aIh.mjs +273 -0
  16. package/dist/.setup/directory-config-BYKhHWCH.mjs +49 -0
  17. package/dist/.setup/directory-live-C4oZfzY_.mjs +159 -0
  18. package/dist/.setup/doctor-DE2EmaEP.mjs +244 -0
  19. package/dist/.setup/doctor-contract-C-FVX5b-.mjs +476 -0
  20. package/dist/.setup/handle-action.guild-admin-ByHAjaFU.mjs +312 -0
  21. package/dist/.setup/inbound-event-delivery-BFiEAErb.mjs +62 -0
  22. package/dist/.setup/legacy-state-migrations-api-Btgw8Z-D.mjs +135 -0
  23. package/dist/.setup/legacy-state-migrations-api-BtukxVpb.mjs +2 -0
  24. package/dist/.setup/manager.runtime-CSLNIAh-.mjs +3269 -0
  25. package/dist/.setup/message-handler-DBUOrisx.mjs +534 -0
  26. package/dist/.setup/message-handler.preflight-CfUCRAXh.mjs +1119 -0
  27. package/dist/.setup/message-handler.process-CFYB-wNl.mjs +1651 -0
  28. package/dist/.setup/message-utils-C_2A56eM.mjs +556 -0
  29. package/dist/.setup/outbound-adapter-Y8YHg0Dl.mjs +496 -0
  30. package/dist/.setup/pluralkit-DgdbPiIr.mjs +24 -0
  31. package/dist/.setup/preflight-audio-CAbvZMVJ.mjs +69 -0
  32. package/dist/.setup/preview-streaming-DXT8oJdo.mjs +8 -0
  33. package/dist/.setup/probe-OjgJ4sIJ.mjs +143 -0
  34. package/dist/.setup/probe.runtime-DSYP3iJ1.mjs +2 -0
  35. package/dist/.setup/provider-jQ_M-zQG.mjs +10382 -0
  36. package/dist/.setup/provider-session.runtime-B5adcJTs.mjs +6 -0
  37. package/dist/.setup/provider.runtime-DYzpCDyT.mjs +2 -0
  38. package/dist/.setup/resolve-allowlist-common-DwZCgJkD.mjs +34 -0
  39. package/dist/.setup/resolve-channels-DNoy0AEi.mjs +265 -0
  40. package/dist/.setup/resolve-users-6fyjg6Ab.mjs +121 -0
  41. package/dist/.setup/retry-after-BHoAVgTb.mjs +26 -0
  42. package/dist/.setup/runtime-u8Vu4pcr.mjs +1532 -0
  43. package/dist/.setup/secret-config-contract-BDNrRWvd.mjs +120 -0
  44. package/dist/.setup/security-audit-DOphAm-m.mjs +117 -0
  45. package/dist/.setup/security-audit.runtime-DjrNKxS6.mjs +2 -0
  46. package/dist/.setup/security-doctor-uUo8hTD5.mjs +18 -0
  47. package/dist/.setup/send-CWTlYYol.mjs +937 -0
  48. package/dist/.setup/send.components-DEKlx--m.mjs +529 -0
  49. package/dist/.setup/send.outbound-C9AU-oWi.mjs +474 -0
  50. package/dist/.setup/send.receipt-BWF_jBih.mjs +3291 -0
  51. package/dist/.setup/send.shared-_6GIKg0j.mjs +867 -0
  52. package/dist/.setup/sender-identity-DOR79Lwd.mjs +43 -0
  53. package/dist/.setup/setup-plugin-api-HD5L_yCq.mjs +3 -0
  54. package/dist/.setup/shared-Dnr-D7oC.mjs +164 -0
  55. package/dist/.setup/subagent-hooks-C-cJLyBL.mjs +120 -0
  56. package/dist/.setup/system-events-opXGj9b1.mjs +34 -0
  57. package/dist/.setup/target-resolver-Dpyl0ZFd.mjs +83 -0
  58. package/dist/.setup/targets-CyQ4PE0h.mjs +3 -0
  59. package/dist/.setup/thread-bindings-BtE4ymzY.mjs +255 -0
  60. package/dist/.setup/thread-bindings.discord-api-CEZ8mHzi.mjs +246 -0
  61. package/dist/.setup/thread-bindings.manager-BYCcNtCV.mjs +534 -0
  62. package/dist/.setup/thread-bindings.session-updates-BbGx6cft.mjs +55 -0
  63. package/dist/.setup/thread-bindings.state-Zrb1Dpt8.mjs +353 -0
  64. package/dist/.setup/timeouts-CgL53eVy.mjs +106 -0
  65. package/dist/.setup/transcripts-source-27okISHQ.mjs +123 -0
  66. package/dist/.setup/typing-BIilxjkD.mjs +14 -0
  67. package/dist/account-inspect-api.js +1 -1
  68. package/dist/action-runtime-api.js +1 -1
  69. package/dist/api.js +19 -28
  70. package/dist/channel-config-api.js +1 -1
  71. package/dist/channel-plugin-api.js +1 -1
  72. package/dist/configured-state.js +6 -0
  73. package/dist/contract-api.js +1 -1
  74. package/dist/directory-contract-api.js +1 -1
  75. package/dist/doctor-contract-api.js +1 -1
  76. package/dist/index.js +1 -3
  77. package/dist/legacy-state-migrations-api.js +1 -137
  78. package/dist/runtime-api.actions.js +2 -2
  79. package/dist/runtime-api.js +26 -26
  80. package/dist/runtime-api.lookup.js +6 -6
  81. package/dist/runtime-api.monitor.js +8 -8
  82. package/dist/runtime-api.send.js +5 -6
  83. package/dist/runtime-api.threads.js +6 -6
  84. package/dist/runtime-setter-api.js +1 -1
  85. package/dist/secret-contract-api.js +1 -1
  86. package/dist/security-audit-contract-api.js +1 -1
  87. package/dist/security-contract-api.js +1 -1
  88. package/dist/session-binding-contract-api.js +1 -1
  89. package/dist/session-key-api.js +1 -1
  90. package/dist/setup-entry.js +3 -2
  91. package/dist/setup-plugin-api.js +1 -1
  92. package/dist/subagent-hooks-api.js +1 -10
  93. package/dist/thread-binding-api.js +3 -1
  94. package/dist/timeouts.js +2 -0
  95. package/dist/transcripts-source-api.js +1 -1
  96. package/node_modules/@types/node/README.md +1 -1
  97. package/node_modules/@types/node/fs/promises.d.ts +6 -16
  98. package/node_modules/@types/node/package.json +2 -2
  99. package/node_modules/discord-api-types/CHANGELOG.md +0 -9
  100. package/node_modules/discord-api-types/package.json +4 -4
  101. package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts +1 -4
  102. package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map +1 -1
  103. package/node_modules/discord-api-types/payloads/v10/channel.d.ts +1 -5
  104. package/node_modules/discord-api-types/payloads/v10/channel.d.ts.map +1 -1
  105. package/node_modules/discord-api-types/payloads/v10/channel.js +0 -4
  106. package/node_modules/discord-api-types/payloads/v10/channel.js.map +1 -1
  107. package/node_modules/discord-api-types/payloads/v10/message.d.ts +2 -9
  108. package/node_modules/discord-api-types/payloads/v10/message.d.ts.map +1 -1
  109. package/node_modules/discord-api-types/payloads/v10/message.js.map +1 -1
  110. package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts +1 -4
  111. package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map +1 -1
  112. package/node_modules/discord-api-types/payloads/v9/channel.d.ts +1 -5
  113. package/node_modules/discord-api-types/payloads/v9/channel.d.ts.map +1 -1
  114. package/node_modules/discord-api-types/payloads/v9/channel.js +0 -4
  115. package/node_modules/discord-api-types/payloads/v9/channel.js.map +1 -1
  116. package/node_modules/discord-api-types/payloads/v9/message.d.ts +2 -9
  117. package/node_modules/discord-api-types/payloads/v9/message.d.ts.map +1 -1
  118. package/node_modules/discord-api-types/payloads/v9/message.js.map +1 -1
  119. package/node_modules/discord-api-types/rest/v10/channel.d.ts +8 -39
  120. package/node_modules/discord-api-types/rest/v10/channel.d.ts.map +1 -1
  121. package/node_modules/discord-api-types/rest/v10/channel.js.map +1 -1
  122. package/node_modules/discord-api-types/rest/v10/webhook.d.ts +3 -3
  123. package/node_modules/discord-api-types/rest/v9/channel.d.ts +8 -39
  124. package/node_modules/discord-api-types/rest/v9/channel.d.ts.map +1 -1
  125. package/node_modules/discord-api-types/rest/v9/channel.js.map +1 -1
  126. package/node_modules/discord-api-types/rest/v9/webhook.d.ts +3 -3
  127. package/node_modules/typebox/build/compile/validator.d.mts +4 -1
  128. package/node_modules/typebox/build/guard/guard.d.mts +1 -1
  129. package/node_modules/typebox/build/guard/guard.mjs +2 -5
  130. package/node_modules/typebox/build/guard/string.mjs +4 -16
  131. package/node_modules/typebox/build/schema/engine/_functions.mjs +15 -34
  132. package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -5
  133. package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -8
  134. package/node_modules/typebox/build/typebox.d.mts +1 -1
  135. package/node_modules/typebox/build/typebox.mjs +1 -1
  136. package/node_modules/typebox/package.json +1 -1
  137. package/node_modules/typebox/readme.md +32 -29
  138. package/node_modules/undici/README.md +5 -0
  139. package/node_modules/undici/docs/docs/api/Client.md +29 -8
  140. package/node_modules/undici/docs/docs/api/Dispatcher.md +6 -0
  141. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
  142. package/node_modules/undici/docs/docs/api/EventSource.md +4 -0
  143. package/node_modules/undici/docs/docs/api/Interceptors.md +66 -3
  144. package/node_modules/undici/docs/docs/api/MockAgent.md +27 -0
  145. package/node_modules/undici/docs/docs/api/MockPool.md +28 -1
  146. package/node_modules/undici/docs/docs/api/ProxyAgent.md +13 -6
  147. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
  148. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +1 -1
  149. package/node_modules/undici/docs/docs/index.md +5 -0
  150. package/node_modules/undici/lib/api/readable.js +37 -43
  151. package/node_modules/undici/lib/cache/memory-cache-store.js +56 -11
  152. package/node_modules/undici/lib/cache/sqlite-cache-store.js +7 -1
  153. package/node_modules/undici/lib/core/connect.js +16 -2
  154. package/node_modules/undici/lib/core/request.js +13 -2
  155. package/node_modules/undici/lib/core/symbols.js +3 -0
  156. package/node_modules/undici/lib/core/util.js +27 -1
  157. package/node_modules/undici/lib/dispatcher/agent.js +10 -5
  158. package/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
  159. package/node_modules/undici/lib/dispatcher/client-h1.js +51 -9
  160. package/node_modules/undici/lib/dispatcher/client-h2.js +446 -148
  161. package/node_modules/undici/lib/dispatcher/client.js +76 -30
  162. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
  163. package/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
  164. package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
  165. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +37 -8
  166. package/node_modules/undici/lib/dispatcher/proxy-agent.js +49 -6
  167. package/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
  168. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
  169. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +106 -22
  170. package/node_modules/undici/lib/global.js +36 -16
  171. package/node_modules/undici/lib/handler/cache-handler.js +297 -65
  172. package/node_modules/undici/lib/handler/cache-revalidation-handler.js +13 -3
  173. package/node_modules/undici/lib/handler/decorator-handler.js +7 -1
  174. package/node_modules/undici/lib/handler/deduplication-handler.js +12 -6
  175. package/node_modules/undici/lib/handler/redirect-handler.js +25 -5
  176. package/node_modules/undici/lib/handler/retry-handler.js +186 -37
  177. package/node_modules/undici/lib/interceptor/cache.js +221 -58
  178. package/node_modules/undici/lib/interceptor/decompress.js +124 -15
  179. package/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
  180. package/node_modules/undici/lib/interceptor/dns.js +7 -0
  181. package/node_modules/undici/lib/interceptor/dump.js +10 -23
  182. package/node_modules/undici/lib/mock/mock-agent.js +13 -1
  183. package/node_modules/undici/lib/mock/mock-interceptor.js +25 -7
  184. package/node_modules/undici/lib/mock/mock-utils.js +246 -27
  185. package/node_modules/undici/lib/util/cache.js +415 -71
  186. package/node_modules/undici/lib/util/date.js +23 -6
  187. package/node_modules/undici/lib/web/cookies/parse.js +150 -146
  188. package/node_modules/undici/lib/web/cookies/util.js +79 -9
  189. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
  190. package/node_modules/undici/lib/web/eventsource/eventsource.js +13 -3
  191. package/node_modules/undici/lib/web/eventsource/util.js +1 -1
  192. package/node_modules/undici/lib/web/fetch/body.js +2 -1
  193. package/node_modules/undici/lib/web/fetch/index.js +6 -0
  194. package/node_modules/undici/lib/web/fetch/request.js +2 -3
  195. package/node_modules/undici/lib/web/fetch/response.js +1 -3
  196. package/node_modules/undici/lib/web/fetch/util.js +10 -2
  197. package/node_modules/undici/lib/web/webidl/index.js +3 -3
  198. package/node_modules/undici/lib/web/websocket/connection.js +1 -1
  199. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  200. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
  201. package/node_modules/undici/lib/web/websocket/websocket.js +22 -0
  202. package/node_modules/undici/package.json +4 -4
  203. package/node_modules/undici/types/client.d.ts +52 -2
  204. package/node_modules/undici/types/dispatcher.d.ts +3 -3
  205. package/node_modules/undici/types/handlers.d.ts +2 -0
  206. package/node_modules/undici/types/interceptors.d.ts +2 -0
  207. package/node_modules/undici/types/mock-agent.d.ts +11 -10
  208. package/node_modules/undici/types/mock-interceptor.d.ts +5 -1
  209. package/node_modules/undici/types/proxy-agent.d.ts +7 -0
  210. package/node_modules/undici/types/socks5-proxy-agent.d.ts +2 -0
  211. package/node_modules/ws/lib/permessage-deflate.js +3 -1
  212. package/node_modules/ws/package.json +1 -1
  213. package/openclaw.plugin.json +860 -656
  214. package/package.json +18 -57
  215. package/dist/account-inspect-SXiCBCgP.js +0 -83
  216. package/dist/accounts-DJTf1LtA.js +0 -219
  217. package/dist/activities-api-CHnz7E7t.js +0 -786
  218. package/dist/activities-api.js +0 -2
  219. package/dist/allow-list-DzKrtfah.js +0 -386
  220. package/dist/api-C43z8vUm.js +0 -155
  221. package/dist/approval-handler.runtime-86UuBchU.js +0 -446
  222. package/dist/approval-message-safety-yjFtfJcK.js +0 -140
  223. package/dist/assets/embedded-app-sdk.mjs +0 -1
  224. package/dist/audit-BF8hmDKp.js +0 -24
  225. package/dist/channel-DnOg9aoT.js +0 -1019
  226. package/dist/channel-actions-BweII8kV.js +0 -208
  227. package/dist/channel-actions.runtime-Dsv063Re.js +0 -289
  228. package/dist/channel.setup-Cpv7n0I8.js +0 -339
  229. package/dist/chunk-CMVEczdm.js +0 -3153
  230. package/dist/command-deploy-store-DFkBTViB.js +0 -12
  231. package/dist/config-schema-D-YrV-5E.js +0 -665
  232. package/dist/directory-config-677F_rhf.js +0 -49
  233. package/dist/directory-live-BQk4bBOC.js +0 -161
  234. package/dist/doctor-DIcs6IDL.js +0 -245
  235. package/dist/doctor-contract-CCFMIDk9.js +0 -416
  236. package/dist/handle-action.guild-admin-D14y2JtA.js +0 -312
  237. package/dist/inbound-event-delivery-CEPlt2uz.js +0 -60
  238. package/dist/manager.runtime-asX6a4R4.js +0 -3655
  239. package/dist/message-handler-CxjL-a-8.js +0 -524
  240. package/dist/message-handler.history-CJOsN9w5.js +0 -28
  241. package/dist/message-handler.preflight-D-5zBjwh.js +0 -1155
  242. package/dist/message-handler.process-W9QxWA1g.js +0 -1809
  243. package/dist/message-utils-DSxXsDcG.js +0 -565
  244. package/dist/model-picker-preference-primitives-D25pnCOu.js +0 -37
  245. package/dist/outbound-adapter-kse7KV--.js +0 -428
  246. package/dist/outbound-components-DNgLQwXl.js +0 -99
  247. package/dist/outbound-session-route-DJUzy5WA.js +0 -1145
  248. package/dist/pluralkit-DbN-Z7BG.js +0 -43
  249. package/dist/preflight-audio-BjnQZ5yS.js +0 -72
  250. package/dist/probe-BYRdyuw1.js +0 -156
  251. package/dist/probe.runtime-uyKOQSBB.js +0 -2
  252. package/dist/provider-Ca5Gua1B.js +0 -11116
  253. package/dist/provider-session.runtime-IEheobg4.js +0 -6
  254. package/dist/provider.runtime-Bn8horYu.js +0 -2
  255. package/dist/resolve-allowlist-common-BU6_eGKg.js +0 -34
  256. package/dist/resolve-channels-ByNsOMJj.js +0 -265
  257. package/dist/resolve-users-CgWAonw-.js +0 -120
  258. package/dist/retry-after-DdLPmPoa.js +0 -12
  259. package/dist/runtime-BZm4_qXV.js +0 -1707
  260. package/dist/runtime-api.monitor-BKYTUIuf.js +0 -5
  261. package/dist/runtime-h03Wce1c.js +0 -83
  262. package/dist/secret-config-contract-B1akrlyY.js +0 -121
  263. package/dist/security-audit-jGnJF__m.js +0 -147
  264. package/dist/security-audit.runtime-CPN0xFYz.js +0 -2
  265. package/dist/security-doctor-nGgPm65L.js +0 -5
  266. package/dist/send-C_PfNVFH.js +0 -858
  267. package/dist/send.components-BrfbRJNq.js +0 -540
  268. package/dist/send.outbound-1t1CryCK.js +0 -749
  269. package/dist/send.reactions-gesJG-Yp.js +0 -85
  270. package/dist/send.receipt-CuwRrpFz.js +0 -48
  271. package/dist/send.shared-BRGI9T9F.js +0 -865
  272. package/dist/sender-identity-mG_zsdox.js +0 -43
  273. package/dist/shared--6-q1Zhl.js +0 -186
  274. package/dist/subagent-hooks-Dx9hr5Qy.js +0 -120
  275. package/dist/subagent-progress-BZREb7jm.js +0 -664
  276. package/dist/system-events-tVfIe6Xm.js +0 -34
  277. package/dist/target-resolver-_m_TsenB.js +0 -82
  278. package/dist/targets-DqNz_mmW.js +0 -3
  279. package/dist/thread-binding-api-BDZJD4na.js +0 -4
  280. package/dist/thread-bindings-u_7pNz5d.js +0 -237
  281. package/dist/thread-bindings.discord-api-DOCKdVgx.js +0 -246
  282. package/dist/thread-bindings.manager-BB-OD9-d.js +0 -534
  283. package/dist/thread-bindings.session-updates-DAIlp7Px.js +0 -54
  284. package/dist/thread-bindings.state-Cgi5uRn-.js +0 -301
  285. package/dist/timeouts-B9cy6RvQ.js +0 -90
  286. package/dist/transcripts-source-BW2VfPX0.js +0 -123
  287. package/dist/typing-eAhz8LT2.js +0 -14
  288. package/node_modules/@discord/embedded-app-sdk/LICENSE.md +0 -9
  289. package/node_modules/@discord/embedded-app-sdk/README.md +0 -74
  290. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/LICENSE +0 -21
  291. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/README.md +0 -208
  292. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.cjs +0 -33
  293. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.d.cts +0 -4
  294. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.d.ts +0 -4
  295. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.js +0 -4
  296. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/package.json +0 -118
  297. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/index.ts +0 -4
  298. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/ZodError.ts +0 -330
  299. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  300. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  301. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  302. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  303. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  304. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  305. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  306. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  307. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  308. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/errors.ts +0 -13
  309. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/external.ts +0 -6
  310. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  311. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  312. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  313. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  314. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  315. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/util.ts +0 -224
  316. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/index.ts +0 -4
  317. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/locales/en.ts +0 -124
  318. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/standard-schema.ts +0 -113
  319. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  320. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  321. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  322. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  323. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  324. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  325. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  326. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  327. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  328. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  329. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  330. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
  331. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  332. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  333. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  334. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  335. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  336. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  337. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  338. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  339. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  340. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  341. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/function.test.ts +0 -257
  342. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  343. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  344. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  345. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  346. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  347. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  348. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  349. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  350. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  351. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
  352. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  353. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  354. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  355. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  356. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  357. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  358. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  359. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  360. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  361. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  362. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  363. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  364. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  365. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  366. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  367. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  368. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  369. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  370. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  371. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  372. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  373. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  374. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  375. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  376. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  377. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  378. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  379. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  380. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/types.ts +0 -5136
  381. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/checks.ts +0 -30
  382. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  383. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/compat.ts +0 -66
  384. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/errors.ts +0 -75
  385. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/external.ts +0 -50
  386. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/index.ts +0 -5
  387. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/iso.ts +0 -90
  388. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/parse.ts +0 -33
  389. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
  390. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  391. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  392. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  393. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  394. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  395. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  396. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  397. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
  398. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
  399. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  400. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  401. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
  402. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  403. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
  404. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
  405. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
  406. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  407. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
  408. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  409. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
  410. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  411. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
  412. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
  413. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
  414. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  415. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
  416. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
  417. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
  418. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
  419. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  420. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
  421. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
  422. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  423. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  424. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
  425. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  426. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
  427. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
  428. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
  429. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
  430. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
  431. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
  432. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
  433. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
  434. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  435. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  436. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  437. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  438. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
  439. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
  440. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
  441. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
  442. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
  443. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
  444. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
  445. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
  446. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
  447. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
  448. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
  449. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
  450. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
  451. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
  452. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  453. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  454. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/api.ts +0 -1594
  455. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/checks.ts +0 -1283
  456. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/config.ts +0 -15
  457. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/core.ts +0 -134
  458. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/doc.ts +0 -44
  459. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/errors.ts +0 -424
  460. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/function.ts +0 -176
  461. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/index.ts +0 -15
  462. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/json-schema.ts +0 -143
  463. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/parse.ts +0 -94
  464. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/regexes.ts +0 -135
  465. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/registries.ts +0 -96
  466. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/schemas.ts +0 -3842
  467. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
  468. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  469. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  470. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  471. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  472. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  473. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
  474. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/util.ts +0 -775
  475. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/versions.ts +0 -5
  476. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/zsf.ts +0 -323
  477. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/index.ts +0 -4
  478. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ar.ts +0 -125
  479. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/az.ts +0 -121
  480. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/be.ts +0 -184
  481. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ca.ts +0 -127
  482. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/cs.ts +0 -142
  483. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/de.ts +0 -124
  484. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/en.ts +0 -127
  485. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/eo.ts +0 -125
  486. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/es.ts +0 -125
  487. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fa.ts +0 -134
  488. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fi.ts +0 -131
  489. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
  490. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fr.ts +0 -124
  491. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/he.ts +0 -125
  492. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/hu.ts +0 -126
  493. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/id.ts +0 -125
  494. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/index.ts +0 -39
  495. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/it.ts +0 -125
  496. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ja.ts +0 -122
  497. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/kh.ts +0 -126
  498. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ko.ts +0 -131
  499. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/mk.ts +0 -127
  500. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ms.ts +0 -124
  501. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/nl.ts +0 -126
  502. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/no.ts +0 -124
  503. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ota.ts +0 -125
  504. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/pl.ts +0 -126
  505. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ps.ts +0 -133
  506. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/pt.ts +0 -123
  507. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ru.ts +0 -184
  508. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/sl.ts +0 -126
  509. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/sv.ts +0 -127
  510. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ta.ts +0 -125
  511. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/th.ts +0 -126
  512. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/tr.ts +0 -121
  513. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ua.ts +0 -126
  514. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ur.ts +0 -126
  515. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/vi.ts +0 -125
  516. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
  517. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
  518. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/checks.ts +0 -32
  519. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/coerce.ts +0 -22
  520. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/external.ts +0 -40
  521. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/index.ts +0 -3
  522. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/iso.ts +0 -62
  523. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/parse.ts +0 -1
  524. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
  525. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  526. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
  527. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  528. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  529. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  530. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
  531. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
  532. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  533. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
  534. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  535. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  536. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
  537. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4-mini/index.ts +0 -1
  538. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.cjs +0 -138
  539. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.d.cts +0 -164
  540. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.d.ts +0 -164
  541. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.js +0 -133
  542. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.cjs +0 -17
  543. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.d.cts +0 -5
  544. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.d.ts +0 -5
  545. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.js +0 -9
  546. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.cjs +0 -22
  547. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.d.cts +0 -6
  548. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.d.ts +0 -6
  549. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.js +0 -6
  550. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  551. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  552. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  553. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  554. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  555. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  556. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  557. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  558. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  559. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  560. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  561. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  562. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  563. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  564. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  565. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  566. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  567. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  568. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  569. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  570. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.cjs +0 -137
  571. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.d.cts +0 -85
  572. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.d.ts +0 -85
  573. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.js +0 -133
  574. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.cjs +0 -33
  575. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.d.cts +0 -4
  576. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.d.ts +0 -4
  577. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.js +0 -4
  578. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.cjs +0 -111
  579. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.d.cts +0 -3
  580. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.d.ts +0 -3
  581. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.js +0 -109
  582. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.cjs +0 -2
  583. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.d.cts +0 -102
  584. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.d.ts +0 -102
  585. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.js +0 -1
  586. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.cjs +0 -3775
  587. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.d.cts +0 -1031
  588. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.d.ts +0 -1031
  589. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.js +0 -3693
  590. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.cjs +0 -32
  591. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.d.cts +0 -1
  592. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.d.ts +0 -1
  593. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.js +0 -1
  594. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.cjs +0 -47
  595. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  596. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  597. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.js +0 -17
  598. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.cjs +0 -57
  599. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.d.cts +0 -46
  600. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.d.ts +0 -46
  601. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.js +0 -27
  602. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.cjs +0 -67
  603. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.d.cts +0 -30
  604. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.d.ts +0 -30
  605. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.js +0 -41
  606. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.cjs +0 -70
  607. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.d.cts +0 -13
  608. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.d.ts +0 -13
  609. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.js +0 -18
  610. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.cjs +0 -33
  611. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.d.cts +0 -4
  612. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.d.ts +0 -4
  613. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.js +0 -4
  614. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.cjs +0 -60
  615. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.d.cts +0 -22
  616. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.d.ts +0 -22
  617. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.js +0 -30
  618. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.cjs +0 -32
  619. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.d.cts +0 -23
  620. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.d.ts +0 -23
  621. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.js +0 -6
  622. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.cjs +0 -1109
  623. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.d.cts +0 -630
  624. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.d.ts +0 -630
  625. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.js +0 -1006
  626. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.cjs +0 -1039
  627. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.d.cts +0 -284
  628. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.d.ts +0 -284
  629. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.js +0 -906
  630. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.cjs +0 -591
  631. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.d.cts +0 -278
  632. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.d.ts +0 -278
  633. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.js +0 -565
  634. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.cjs +0 -67
  635. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.d.cts +0 -49
  636. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.d.ts +0 -49
  637. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.js +0 -61
  638. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.cjs +0 -39
  639. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.d.cts +0 -14
  640. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.d.ts +0 -14
  641. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.js +0 -35
  642. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.cjs +0 -226
  643. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.d.cts +0 -208
  644. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.d.ts +0 -208
  645. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.js +0 -195
  646. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/function.cjs +0 -102
  647. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/function.d.cts +0 -52
  648. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/function.d.ts +0 -52
  649. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/function.js +0 -75
  650. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.cjs +0 -44
  651. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.d.cts +0 -15
  652. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.d.ts +0 -15
  653. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.js +0 -15
  654. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.cjs +0 -2
  655. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.d.cts +0 -87
  656. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.d.ts +0 -87
  657. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.js +0 -1
  658. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.cjs +0 -87
  659. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.d.cts +0 -25
  660. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.d.ts +0 -25
  661. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.js +0 -57
  662. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.cjs +0 -103
  663. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.d.cts +0 -62
  664. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.d.ts +0 -62
  665. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.js +0 -95
  666. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.cjs +0 -56
  667. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.d.cts +0 -35
  668. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.d.ts +0 -35
  669. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.js +0 -51
  670. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.cjs +0 -1748
  671. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.d.cts +0 -1041
  672. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.d.ts +0 -1041
  673. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.js +0 -1717
  674. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  675. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
  676. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
  677. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.js +0 -1
  678. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
  679. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
  680. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
  681. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.js +0 -849
  682. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.cjs +0 -539
  683. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.d.cts +0 -183
  684. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.d.ts +0 -183
  685. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.js +0 -493
  686. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.cjs +0 -8
  687. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.d.cts +0 -5
  688. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.d.ts +0 -5
  689. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.js +0 -5
  690. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.cjs +0 -22
  691. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.d.cts +0 -3
  692. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.d.ts +0 -3
  693. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.js +0 -3
  694. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.cjs +0 -142
  695. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.d.cts +0 -4
  696. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.d.ts +0 -4
  697. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.js +0 -116
  698. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.cjs +0 -141
  699. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.d.cts +0 -4
  700. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.d.ts +0 -4
  701. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.js +0 -115
  702. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.cjs +0 -190
  703. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.d.cts +0 -4
  704. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.d.ts +0 -4
  705. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.js +0 -164
  706. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.cjs +0 -144
  707. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.d.cts +0 -4
  708. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.d.ts +0 -4
  709. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.js +0 -118
  710. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.cjs +0 -161
  711. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.d.cts +0 -4
  712. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.d.ts +0 -4
  713. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.js +0 -135
  714. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.cjs +0 -142
  715. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.d.cts +0 -4
  716. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.d.ts +0 -4
  717. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.js +0 -116
  718. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.cjs +0 -145
  719. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.d.cts +0 -5
  720. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.d.ts +0 -5
  721. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.js +0 -117
  722. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.cjs +0 -144
  723. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.d.cts +0 -5
  724. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.d.ts +0 -5
  725. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.js +0 -116
  726. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.cjs +0 -143
  727. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.d.cts +0 -4
  728. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.d.ts +0 -4
  729. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.js +0 -117
  730. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.cjs +0 -148
  731. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.d.cts +0 -4
  732. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.d.ts +0 -4
  733. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.js +0 -122
  734. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.cjs +0 -148
  735. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.d.cts +0 -4
  736. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.d.ts +0 -4
  737. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.js +0 -122
  738. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
  739. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
  740. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  741. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.js +0 -117
  742. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.cjs +0 -142
  743. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.d.cts +0 -4
  744. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.d.ts +0 -4
  745. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.js +0 -116
  746. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.cjs +0 -143
  747. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.d.cts +0 -4
  748. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.d.ts +0 -4
  749. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.js +0 -117
  750. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.cjs +0 -143
  751. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.d.cts +0 -4
  752. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.d.ts +0 -4
  753. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.js +0 -117
  754. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.cjs +0 -142
  755. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.d.cts +0 -4
  756. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.d.ts +0 -4
  757. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.js +0 -116
  758. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.cjs +0 -84
  759. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.d.cts +0 -39
  760. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.d.ts +0 -39
  761. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.js +0 -39
  762. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.cjs +0 -143
  763. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.d.cts +0 -4
  764. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.d.ts +0 -4
  765. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.js +0 -117
  766. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.cjs +0 -141
  767. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.d.cts +0 -4
  768. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.d.ts +0 -4
  769. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.js +0 -115
  770. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.cjs +0 -143
  771. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.d.cts +0 -4
  772. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.d.ts +0 -4
  773. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.js +0 -117
  774. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.cjs +0 -147
  775. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.d.cts +0 -4
  776. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.d.ts +0 -4
  777. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.js +0 -121
  778. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.cjs +0 -144
  779. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.d.cts +0 -4
  780. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.d.ts +0 -4
  781. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.js +0 -118
  782. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.cjs +0 -142
  783. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.d.cts +0 -4
  784. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.d.ts +0 -4
  785. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.js +0 -116
  786. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.cjs +0 -143
  787. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.d.cts +0 -4
  788. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.d.ts +0 -4
  789. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.js +0 -117
  790. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.cjs +0 -142
  791. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.d.cts +0 -4
  792. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.d.ts +0 -4
  793. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.js +0 -116
  794. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.cjs +0 -143
  795. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.d.cts +0 -4
  796. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.d.ts +0 -4
  797. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.js +0 -117
  798. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.cjs +0 -143
  799. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.d.cts +0 -4
  800. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.d.ts +0 -4
  801. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.js +0 -117
  802. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.cjs +0 -148
  803. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.d.cts +0 -4
  804. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.d.ts +0 -4
  805. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.js +0 -122
  806. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.cjs +0 -142
  807. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.d.cts +0 -4
  808. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.d.ts +0 -4
  809. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.js +0 -116
  810. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.cjs +0 -190
  811. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.d.cts +0 -4
  812. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.d.ts +0 -4
  813. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.js +0 -164
  814. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.cjs +0 -143
  815. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.d.cts +0 -4
  816. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.d.ts +0 -4
  817. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.js +0 -117
  818. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.cjs +0 -144
  819. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.d.cts +0 -4
  820. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.d.ts +0 -4
  821. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.js +0 -118
  822. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.cjs +0 -143
  823. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.d.cts +0 -4
  824. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.d.ts +0 -4
  825. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.js +0 -117
  826. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.cjs +0 -143
  827. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.d.cts +0 -4
  828. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.d.ts +0 -4
  829. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.js +0 -117
  830. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.cjs +0 -143
  831. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.d.cts +0 -5
  832. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.d.ts +0 -5
  833. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.js +0 -115
  834. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.cjs +0 -143
  835. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.d.cts +0 -4
  836. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.d.ts +0 -4
  837. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.js +0 -117
  838. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.cjs +0 -143
  839. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.d.cts +0 -4
  840. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.d.ts +0 -4
  841. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.js +0 -117
  842. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.cjs +0 -142
  843. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.d.cts +0 -4
  844. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.d.ts +0 -4
  845. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.js +0 -116
  846. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
  847. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
  848. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  849. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.js +0 -116
  850. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
  851. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
  852. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  853. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.js +0 -117
  854. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.cjs +0 -34
  855. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.d.cts +0 -1
  856. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.d.ts +0 -1
  857. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.js +0 -1
  858. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.cjs +0 -47
  859. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  860. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  861. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.js +0 -17
  862. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.cjs +0 -62
  863. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.d.cts +0 -11
  864. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.d.ts +0 -11
  865. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.js +0 -13
  866. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.cjs +0 -32
  867. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.d.cts +0 -3
  868. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.d.ts +0 -3
  869. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.js +0 -3
  870. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.cjs +0 -60
  871. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.d.cts +0 -22
  872. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.d.ts +0 -22
  873. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.js +0 -30
  874. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.cjs +0 -8
  875. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.d.cts +0 -1
  876. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.d.ts +0 -1
  877. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.js +0 -1
  878. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.cjs +0 -839
  879. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.d.cts +0 -356
  880. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.d.ts +0 -356
  881. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.js +0 -732
  882. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.cjs +0 -17
  883. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.d.cts +0 -1
  884. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.d.ts +0 -1
  885. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.js +0 -1
  886. package/node_modules/@discord/embedded-app-sdk/output/Constants.cjs +0 -100
  887. package/node_modules/@discord/embedded-app-sdk/output/Constants.d.ts +0 -88
  888. package/node_modules/@discord/embedded-app-sdk/output/Constants.mjs +0 -96
  889. package/node_modules/@discord/embedded-app-sdk/output/Discord.cjs +0 -286
  890. package/node_modules/@discord/embedded-app-sdk/output/Discord.d.ts +0 -603
  891. package/node_modules/@discord/embedded-app-sdk/output/Discord.mjs +0 -284
  892. package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger.cjs +0 -11
  893. package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger.mjs +0 -7
  894. package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger2.cjs +0 -5
  895. package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger2.mjs +0 -3
  896. package/node_modules/@discord/embedded-app-sdk/output/_virtual/_commonjsHelpers.cjs +0 -10
  897. package/node_modules/@discord/embedded-app-sdk/output/_virtual/_commonjsHelpers.mjs +0 -7
  898. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index.cjs +0 -11
  899. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index.mjs +0 -7
  900. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index2.cjs +0 -11
  901. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index2.mjs +0 -7
  902. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index3.cjs +0 -5
  903. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index3.mjs +0 -3
  904. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index4.cjs +0 -5
  905. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index4.mjs +0 -3
  906. package/node_modules/@discord/embedded-app-sdk/output/commands/authenticate.cjs +0 -11
  907. package/node_modules/@discord/embedded-app-sdk/output/commands/authenticate.d.ts +0 -25
  908. package/node_modules/@discord/embedded-app-sdk/output/commands/authenticate.mjs +0 -9
  909. package/node_modules/@discord/embedded-app-sdk/output/commands/authorize.cjs +0 -16
  910. package/node_modules/@discord/embedded-app-sdk/output/commands/authorize.d.ts +0 -20
  911. package/node_modules/@discord/embedded-app-sdk/output/commands/authorize.mjs +0 -14
  912. package/node_modules/@discord/embedded-app-sdk/output/commands/captureLog.cjs +0 -12
  913. package/node_modules/@discord/embedded-app-sdk/output/commands/captureLog.d.ts +0 -10
  914. package/node_modules/@discord/embedded-app-sdk/output/commands/captureLog.mjs +0 -10
  915. package/node_modules/@discord/embedded-app-sdk/output/commands/encourageHardwareAcceleration.cjs +0 -12
  916. package/node_modules/@discord/embedded-app-sdk/output/commands/encourageHardwareAcceleration.d.ts +0 -7
  917. package/node_modules/@discord/embedded-app-sdk/output/commands/encourageHardwareAcceleration.mjs +0 -10
  918. package/node_modules/@discord/embedded-app-sdk/output/commands/getActivityInstanceConnectedParticipants.cjs +0 -8
  919. package/node_modules/@discord/embedded-app-sdk/output/commands/getActivityInstanceConnectedParticipants.d.ts +0 -18
  920. package/node_modules/@discord/embedded-app-sdk/output/commands/getActivityInstanceConnectedParticipants.mjs +0 -6
  921. package/node_modules/@discord/embedded-app-sdk/output/commands/getChannel.cjs +0 -29
  922. package/node_modules/@discord/embedded-app-sdk/output/commands/getChannel.d.ts +0 -230
  923. package/node_modules/@discord/embedded-app-sdk/output/commands/getChannel.mjs +0 -27
  924. package/node_modules/@discord/embedded-app-sdk/output/commands/getChannelPermissions.cjs +0 -13
  925. package/node_modules/@discord/embedded-app-sdk/output/commands/getChannelPermissions.d.ts +0 -8
  926. package/node_modules/@discord/embedded-app-sdk/output/commands/getChannelPermissions.mjs +0 -11
  927. package/node_modules/@discord/embedded-app-sdk/output/commands/getEntitlements.cjs +0 -12
  928. package/node_modules/@discord/embedded-app-sdk/output/commands/getEntitlements.d.ts +0 -22
  929. package/node_modules/@discord/embedded-app-sdk/output/commands/getEntitlements.mjs +0 -10
  930. package/node_modules/@discord/embedded-app-sdk/output/commands/getPlatformBehaviors.cjs +0 -16
  931. package/node_modules/@discord/embedded-app-sdk/output/commands/getPlatformBehaviors.d.ts +0 -11
  932. package/node_modules/@discord/embedded-app-sdk/output/commands/getPlatformBehaviors.mjs +0 -14
  933. package/node_modules/@discord/embedded-app-sdk/output/commands/getQuest.cjs +0 -8
  934. package/node_modules/@discord/embedded-app-sdk/output/commands/getQuest.d.ts +0 -6
  935. package/node_modules/@discord/embedded-app-sdk/output/commands/getQuest.mjs +0 -6
  936. package/node_modules/@discord/embedded-app-sdk/output/commands/getQuestEnrollmentStatus.cjs +0 -8
  937. package/node_modules/@discord/embedded-app-sdk/output/commands/getQuestEnrollmentStatus.d.ts +0 -7
  938. package/node_modules/@discord/embedded-app-sdk/output/commands/getQuestEnrollmentStatus.mjs +0 -6
  939. package/node_modules/@discord/embedded-app-sdk/output/commands/getRelationships.cjs +0 -8
  940. package/node_modules/@discord/embedded-app-sdk/output/commands/getRelationships.d.ts +0 -70
  941. package/node_modules/@discord/embedded-app-sdk/output/commands/getRelationships.mjs +0 -6
  942. package/node_modules/@discord/embedded-app-sdk/output/commands/getSkus.cjs +0 -12
  943. package/node_modules/@discord/embedded-app-sdk/output/commands/getSkus.d.ts +0 -15
  944. package/node_modules/@discord/embedded-app-sdk/output/commands/getSkus.mjs +0 -10
  945. package/node_modules/@discord/embedded-app-sdk/output/commands/getUser.cjs +0 -8
  946. package/node_modules/@discord/embedded-app-sdk/output/commands/getUser.d.ts +0 -17
  947. package/node_modules/@discord/embedded-app-sdk/output/commands/getUser.mjs +0 -6
  948. package/node_modules/@discord/embedded-app-sdk/output/commands/index.cjs +0 -76
  949. package/node_modules/@discord/embedded-app-sdk/output/commands/index.d.ts +0 -562
  950. package/node_modules/@discord/embedded-app-sdk/output/commands/index.mjs +0 -68
  951. package/node_modules/@discord/embedded-app-sdk/output/commands/initiateImageUpload.cjs +0 -17
  952. package/node_modules/@discord/embedded-app-sdk/output/commands/initiateImageUpload.d.ts +0 -12
  953. package/node_modules/@discord/embedded-app-sdk/output/commands/initiateImageUpload.mjs +0 -15
  954. package/node_modules/@discord/embedded-app-sdk/output/commands/inviteUserEmbedded.cjs +0 -8
  955. package/node_modules/@discord/embedded-app-sdk/output/commands/inviteUserEmbedded.d.ts +0 -4
  956. package/node_modules/@discord/embedded-app-sdk/output/commands/inviteUserEmbedded.mjs +0 -6
  957. package/node_modules/@discord/embedded-app-sdk/output/commands/openExternalLink.cjs +0 -12
  958. package/node_modules/@discord/embedded-app-sdk/output/commands/openExternalLink.d.ts +0 -10
  959. package/node_modules/@discord/embedded-app-sdk/output/commands/openExternalLink.mjs +0 -10
  960. package/node_modules/@discord/embedded-app-sdk/output/commands/openInviteDialog.cjs +0 -14
  961. package/node_modules/@discord/embedded-app-sdk/output/commands/openInviteDialog.d.ts +0 -7
  962. package/node_modules/@discord/embedded-app-sdk/output/commands/openInviteDialog.mjs +0 -12
  963. package/node_modules/@discord/embedded-app-sdk/output/commands/openShareMomentDialog.cjs +0 -14
  964. package/node_modules/@discord/embedded-app-sdk/output/commands/openShareMomentDialog.d.ts +0 -9
  965. package/node_modules/@discord/embedded-app-sdk/output/commands/openShareMomentDialog.mjs +0 -12
  966. package/node_modules/@discord/embedded-app-sdk/output/commands/questStartTimer.cjs +0 -8
  967. package/node_modules/@discord/embedded-app-sdk/output/commands/questStartTimer.d.ts +0 -5
  968. package/node_modules/@discord/embedded-app-sdk/output/commands/questStartTimer.mjs +0 -6
  969. package/node_modules/@discord/embedded-app-sdk/output/commands/requestProxyTicketRefresh.cjs +0 -8
  970. package/node_modules/@discord/embedded-app-sdk/output/commands/requestProxyTicketRefresh.d.ts +0 -3
  971. package/node_modules/@discord/embedded-app-sdk/output/commands/requestProxyTicketRefresh.mjs +0 -6
  972. package/node_modules/@discord/embedded-app-sdk/output/commands/setActivity.cjs +0 -48
  973. package/node_modules/@discord/embedded-app-sdk/output/commands/setActivity.d.ts +0 -304
  974. package/node_modules/@discord/embedded-app-sdk/output/commands/setActivity.mjs +0 -46
  975. package/node_modules/@discord/embedded-app-sdk/output/commands/setConfig.cjs +0 -12
  976. package/node_modules/@discord/embedded-app-sdk/output/commands/setConfig.d.ts +0 -10
  977. package/node_modules/@discord/embedded-app-sdk/output/commands/setConfig.mjs +0 -10
  978. package/node_modules/@discord/embedded-app-sdk/output/commands/setOrientationLockState.cjs +0 -20
  979. package/node_modules/@discord/embedded-app-sdk/output/commands/setOrientationLockState.d.ts +0 -11
  980. package/node_modules/@discord/embedded-app-sdk/output/commands/setOrientationLockState.mjs +0 -18
  981. package/node_modules/@discord/embedded-app-sdk/output/commands/shareInteraction.cjs +0 -8
  982. package/node_modules/@discord/embedded-app-sdk/output/commands/shareInteraction.d.ts +0 -26
  983. package/node_modules/@discord/embedded-app-sdk/output/commands/shareInteraction.mjs +0 -6
  984. package/node_modules/@discord/embedded-app-sdk/output/commands/shareLink.cjs +0 -16
  985. package/node_modules/@discord/embedded-app-sdk/output/commands/shareLink.d.ts +0 -17
  986. package/node_modules/@discord/embedded-app-sdk/output/commands/shareLink.mjs +0 -14
  987. package/node_modules/@discord/embedded-app-sdk/output/commands/startPurchase.cjs +0 -12
  988. package/node_modules/@discord/embedded-app-sdk/output/commands/startPurchase.d.ts +0 -24
  989. package/node_modules/@discord/embedded-app-sdk/output/commands/startPurchase.mjs +0 -10
  990. package/node_modules/@discord/embedded-app-sdk/output/commands/userSettingsGetLocale.cjs +0 -12
  991. package/node_modules/@discord/embedded-app-sdk/output/commands/userSettingsGetLocale.d.ts +0 -7
  992. package/node_modules/@discord/embedded-app-sdk/output/commands/userSettingsGetLocale.mjs +0 -10
  993. package/node_modules/@discord/embedded-app-sdk/output/error.cjs +0 -12
  994. package/node_modules/@discord/embedded-app-sdk/output/error.d.ts +0 -10
  995. package/node_modules/@discord/embedded-app-sdk/output/error.mjs +0 -10
  996. package/node_modules/@discord/embedded-app-sdk/output/generated/schemas.cjs +0 -408
  997. package/node_modules/@discord/embedded-app-sdk/output/generated/schemas.d.ts +0 -2227
  998. package/node_modules/@discord/embedded-app-sdk/output/generated/schemas.mjs +0 -387
  999. package/node_modules/@discord/embedded-app-sdk/output/index.cjs +0 -44
  1000. package/node_modules/@discord/embedded-app-sdk/output/index.d.ts +0 -17
  1001. package/node_modules/@discord/embedded-app-sdk/output/index.mjs +0 -14
  1002. package/node_modules/@discord/embedded-app-sdk/output/interface.d.ts +0 -35
  1003. package/node_modules/@discord/embedded-app-sdk/output/lib/big-integer/BigInteger.cjs +0 -1460
  1004. package/node_modules/@discord/embedded-app-sdk/output/lib/big-integer/BigInteger.mjs +0 -1458
  1005. package/node_modules/@discord/embedded-app-sdk/output/lib/decimal.js-light/decimal.cjs +0 -1991
  1006. package/node_modules/@discord/embedded-app-sdk/output/lib/decimal.js-light/decimal.mjs +0 -1987
  1007. package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index.cjs +0 -10
  1008. package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index.mjs +0 -5
  1009. package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index2.cjs +0 -350
  1010. package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index2.mjs +0 -348
  1011. package/node_modules/@discord/embedded-app-sdk/output/lib/lodash.transform/index.cjs +0 -2343
  1012. package/node_modules/@discord/embedded-app-sdk/output/lib/lodash.transform/index.mjs +0 -2341
  1013. package/node_modules/@discord/embedded-app-sdk/output/lib/tslib/tslib.es6.cjs +0 -37
  1014. package/node_modules/@discord/embedded-app-sdk/output/lib/tslib/tslib.es6.mjs +0 -35
  1015. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/native.cjs +0 -8
  1016. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/native.mjs +0 -4
  1017. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/rng.cjs +0 -17
  1018. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/rng.mjs +0 -13
  1019. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/stringify.cjs +0 -30
  1020. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/stringify.mjs +0 -28
  1021. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/v4.cjs +0 -23
  1022. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/v4.mjs +0 -19
  1023. package/node_modules/@discord/embedded-app-sdk/output/lib/zod/lib/index.cjs +0 -4342
  1024. package/node_modules/@discord/embedded-app-sdk/output/lib/zod/lib/index.mjs +0 -4233
  1025. package/node_modules/@discord/embedded-app-sdk/output/mock.cjs +0 -181
  1026. package/node_modules/@discord/embedded-app-sdk/output/mock.d.ts +0 -579
  1027. package/node_modules/@discord/embedded-app-sdk/output/mock.mjs +0 -178
  1028. package/node_modules/@discord/embedded-app-sdk/output/package.json.cjs +0 -5
  1029. package/node_modules/@discord/embedded-app-sdk/output/package.json.mjs +0 -3
  1030. package/node_modules/@discord/embedded-app-sdk/output/schema/common.cjs +0 -587
  1031. package/node_modules/@discord/embedded-app-sdk/output/schema/common.d.ts +0 -5141
  1032. package/node_modules/@discord/embedded-app-sdk/output/schema/common.mjs +0 -531
  1033. package/node_modules/@discord/embedded-app-sdk/output/schema/events.cjs +0 -221
  1034. package/node_modules/@discord/embedded-app-sdk/output/schema/events.d.ts +0 -3832
  1035. package/node_modules/@discord/embedded-app-sdk/output/schema/events.mjs +0 -213
  1036. package/node_modules/@discord/embedded-app-sdk/output/schema/index.cjs +0 -47
  1037. package/node_modules/@discord/embedded-app-sdk/output/schema/index.d.ts +0 -59
  1038. package/node_modules/@discord/embedded-app-sdk/output/schema/index.mjs +0 -44
  1039. package/node_modules/@discord/embedded-app-sdk/output/schema/responses.cjs +0 -189
  1040. package/node_modules/@discord/embedded-app-sdk/output/schema/responses.d.ts +0 -7224
  1041. package/node_modules/@discord/embedded-app-sdk/output/schema/responses.mjs +0 -163
  1042. package/node_modules/@discord/embedded-app-sdk/output/schema/types.d.ts +0 -61
  1043. package/node_modules/@discord/embedded-app-sdk/output/utils/BigFlagUtils.cjs +0 -235
  1044. package/node_modules/@discord/embedded-app-sdk/output/utils/BigFlagUtils.d.ts +0 -59
  1045. package/node_modules/@discord/embedded-app-sdk/output/utils/BigFlagUtils.mjs +0 -231
  1046. package/node_modules/@discord/embedded-app-sdk/output/utils/PermissionUtils.cjs +0 -14
  1047. package/node_modules/@discord/embedded-app-sdk/output/utils/PermissionUtils.d.ts +0 -6
  1048. package/node_modules/@discord/embedded-app-sdk/output/utils/PermissionUtils.mjs +0 -10
  1049. package/node_modules/@discord/embedded-app-sdk/output/utils/PriceConstants.cjs +0 -373
  1050. package/node_modules/@discord/embedded-app-sdk/output/utils/PriceConstants.d.ts +0 -368
  1051. package/node_modules/@discord/embedded-app-sdk/output/utils/PriceConstants.mjs +0 -371
  1052. package/node_modules/@discord/embedded-app-sdk/output/utils/PriceUtils.cjs +0 -26
  1053. package/node_modules/@discord/embedded-app-sdk/output/utils/PriceUtils.d.ts +0 -8
  1054. package/node_modules/@discord/embedded-app-sdk/output/utils/PriceUtils.mjs +0 -22
  1055. package/node_modules/@discord/embedded-app-sdk/output/utils/assertUnreachable.cjs +0 -13
  1056. package/node_modules/@discord/embedded-app-sdk/output/utils/assertUnreachable.d.ts +0 -5
  1057. package/node_modules/@discord/embedded-app-sdk/output/utils/assertUnreachable.mjs +0 -9
  1058. package/node_modules/@discord/embedded-app-sdk/output/utils/commandFactory.cjs +0 -37
  1059. package/node_modules/@discord/embedded-app-sdk/output/utils/commandFactory.d.ts +0 -9
  1060. package/node_modules/@discord/embedded-app-sdk/output/utils/commandFactory.mjs +0 -34
  1061. package/node_modules/@discord/embedded-app-sdk/output/utils/compatCommandFactory.cjs +0 -39
  1062. package/node_modules/@discord/embedded-app-sdk/output/utils/compatCommandFactory.d.ts +0 -15
  1063. package/node_modules/@discord/embedded-app-sdk/output/utils/compatCommandFactory.mjs +0 -35
  1064. package/node_modules/@discord/embedded-app-sdk/output/utils/console.cjs +0 -19
  1065. package/node_modules/@discord/embedded-app-sdk/output/utils/console.d.ts +0 -3
  1066. package/node_modules/@discord/embedded-app-sdk/output/utils/console.mjs +0 -16
  1067. package/node_modules/@discord/embedded-app-sdk/output/utils/getDefaultSdkConfiguration.cjs +0 -11
  1068. package/node_modules/@discord/embedded-app-sdk/output/utils/getDefaultSdkConfiguration.d.ts +0 -2
  1069. package/node_modules/@discord/embedded-app-sdk/output/utils/getDefaultSdkConfiguration.mjs +0 -7
  1070. package/node_modules/@discord/embedded-app-sdk/output/utils/patchUrlMappings.cjs +0 -153
  1071. package/node_modules/@discord/embedded-app-sdk/output/utils/patchUrlMappings.d.ts +0 -17
  1072. package/node_modules/@discord/embedded-app-sdk/output/utils/patchUrlMappings.mjs +0 -150
  1073. package/node_modules/@discord/embedded-app-sdk/output/utils/url.cjs +0 -62
  1074. package/node_modules/@discord/embedded-app-sdk/output/utils/url.d.ts +0 -17
  1075. package/node_modules/@discord/embedded-app-sdk/output/utils/url.mjs +0 -59
  1076. package/node_modules/@discord/embedded-app-sdk/output/utils/zodUtils.cjs +0 -44
  1077. package/node_modules/@discord/embedded-app-sdk/output/utils/zodUtils.d.ts +0 -28
  1078. package/node_modules/@discord/embedded-app-sdk/output/utils/zodUtils.mjs +0 -41
  1079. package/node_modules/@discord/embedded-app-sdk/package.json +0 -88
  1080. package/node_modules/@types/debug/LICENSE +0 -21
  1081. package/node_modules/@types/debug/README.md +0 -69
  1082. package/node_modules/@types/debug/index.d.ts +0 -50
  1083. package/node_modules/@types/debug/package.json +0 -58
  1084. package/node_modules/@types/lodash/LICENSE +0 -21
  1085. package/node_modules/@types/lodash/README.md +0 -15
  1086. package/node_modules/@types/lodash/add.d.ts +0 -2
  1087. package/node_modules/@types/lodash/after.d.ts +0 -2
  1088. package/node_modules/@types/lodash/ary.d.ts +0 -2
  1089. package/node_modules/@types/lodash/assign.d.ts +0 -2
  1090. package/node_modules/@types/lodash/assignIn.d.ts +0 -2
  1091. package/node_modules/@types/lodash/assignInWith.d.ts +0 -2
  1092. package/node_modules/@types/lodash/assignWith.d.ts +0 -2
  1093. package/node_modules/@types/lodash/at.d.ts +0 -2
  1094. package/node_modules/@types/lodash/attempt.d.ts +0 -2
  1095. package/node_modules/@types/lodash/before.d.ts +0 -2
  1096. package/node_modules/@types/lodash/bind.d.ts +0 -2
  1097. package/node_modules/@types/lodash/bindAll.d.ts +0 -2
  1098. package/node_modules/@types/lodash/bindKey.d.ts +0 -2
  1099. package/node_modules/@types/lodash/camelCase.d.ts +0 -2
  1100. package/node_modules/@types/lodash/capitalize.d.ts +0 -2
  1101. package/node_modules/@types/lodash/castArray.d.ts +0 -2
  1102. package/node_modules/@types/lodash/ceil.d.ts +0 -2
  1103. package/node_modules/@types/lodash/chain.d.ts +0 -2
  1104. package/node_modules/@types/lodash/chunk.d.ts +0 -2
  1105. package/node_modules/@types/lodash/clamp.d.ts +0 -2
  1106. package/node_modules/@types/lodash/clone.d.ts +0 -2
  1107. package/node_modules/@types/lodash/cloneDeep.d.ts +0 -2
  1108. package/node_modules/@types/lodash/cloneDeepWith.d.ts +0 -2
  1109. package/node_modules/@types/lodash/cloneWith.d.ts +0 -2
  1110. package/node_modules/@types/lodash/common/array.d.ts +0 -2160
  1111. package/node_modules/@types/lodash/common/collection.d.ts +0 -1938
  1112. package/node_modules/@types/lodash/common/common.d.ts +0 -287
  1113. package/node_modules/@types/lodash/common/date.d.ts +0 -23
  1114. package/node_modules/@types/lodash/common/function.d.ts +0 -1455
  1115. package/node_modules/@types/lodash/common/lang.d.ts +0 -1696
  1116. package/node_modules/@types/lodash/common/math.d.ts +0 -407
  1117. package/node_modules/@types/lodash/common/number.d.ts +0 -131
  1118. package/node_modules/@types/lodash/common/object.d.ts +0 -2643
  1119. package/node_modules/@types/lodash/common/seq.d.ts +0 -210
  1120. package/node_modules/@types/lodash/common/string.d.ts +0 -788
  1121. package/node_modules/@types/lodash/common/util.d.ts +0 -1220
  1122. package/node_modules/@types/lodash/compact.d.ts +0 -2
  1123. package/node_modules/@types/lodash/concat.d.ts +0 -2
  1124. package/node_modules/@types/lodash/cond.d.ts +0 -2
  1125. package/node_modules/@types/lodash/conformsTo.d.ts +0 -2
  1126. package/node_modules/@types/lodash/constant.d.ts +0 -2
  1127. package/node_modules/@types/lodash/countBy.d.ts +0 -2
  1128. package/node_modules/@types/lodash/create.d.ts +0 -2
  1129. package/node_modules/@types/lodash/curry.d.ts +0 -2
  1130. package/node_modules/@types/lodash/curryRight.d.ts +0 -2
  1131. package/node_modules/@types/lodash/debounce.d.ts +0 -2
  1132. package/node_modules/@types/lodash/deburr.d.ts +0 -2
  1133. package/node_modules/@types/lodash/defaultTo.d.ts +0 -2
  1134. package/node_modules/@types/lodash/defaults.d.ts +0 -2
  1135. package/node_modules/@types/lodash/defaultsDeep.d.ts +0 -2
  1136. package/node_modules/@types/lodash/defer.d.ts +0 -2
  1137. package/node_modules/@types/lodash/delay.d.ts +0 -2
  1138. package/node_modules/@types/lodash/difference.d.ts +0 -2
  1139. package/node_modules/@types/lodash/differenceBy.d.ts +0 -2
  1140. package/node_modules/@types/lodash/differenceWith.d.ts +0 -2
  1141. package/node_modules/@types/lodash/divide.d.ts +0 -2
  1142. package/node_modules/@types/lodash/drop.d.ts +0 -2
  1143. package/node_modules/@types/lodash/dropRight.d.ts +0 -2
  1144. package/node_modules/@types/lodash/dropRightWhile.d.ts +0 -2
  1145. package/node_modules/@types/lodash/dropWhile.d.ts +0 -2
  1146. package/node_modules/@types/lodash/each.d.ts +0 -2
  1147. package/node_modules/@types/lodash/eachRight.d.ts +0 -2
  1148. package/node_modules/@types/lodash/endsWith.d.ts +0 -2
  1149. package/node_modules/@types/lodash/entries.d.ts +0 -2
  1150. package/node_modules/@types/lodash/entriesIn.d.ts +0 -2
  1151. package/node_modules/@types/lodash/eq.d.ts +0 -2
  1152. package/node_modules/@types/lodash/escape.d.ts +0 -2
  1153. package/node_modules/@types/lodash/escapeRegExp.d.ts +0 -2
  1154. package/node_modules/@types/lodash/every.d.ts +0 -2
  1155. package/node_modules/@types/lodash/extend.d.ts +0 -2
  1156. package/node_modules/@types/lodash/extendWith.d.ts +0 -2
  1157. package/node_modules/@types/lodash/fill.d.ts +0 -2
  1158. package/node_modules/@types/lodash/filter.d.ts +0 -2
  1159. package/node_modules/@types/lodash/find.d.ts +0 -2
  1160. package/node_modules/@types/lodash/findIndex.d.ts +0 -2
  1161. package/node_modules/@types/lodash/findKey.d.ts +0 -2
  1162. package/node_modules/@types/lodash/findLast.d.ts +0 -2
  1163. package/node_modules/@types/lodash/findLastIndex.d.ts +0 -2
  1164. package/node_modules/@types/lodash/findLastKey.d.ts +0 -2
  1165. package/node_modules/@types/lodash/first.d.ts +0 -2
  1166. package/node_modules/@types/lodash/flatMap.d.ts +0 -2
  1167. package/node_modules/@types/lodash/flatMapDeep.d.ts +0 -2
  1168. package/node_modules/@types/lodash/flatMapDepth.d.ts +0 -2
  1169. package/node_modules/@types/lodash/flatten.d.ts +0 -2
  1170. package/node_modules/@types/lodash/flattenDeep.d.ts +0 -2
  1171. package/node_modules/@types/lodash/flattenDepth.d.ts +0 -2
  1172. package/node_modules/@types/lodash/flip.d.ts +0 -2
  1173. package/node_modules/@types/lodash/floor.d.ts +0 -2
  1174. package/node_modules/@types/lodash/flow.d.ts +0 -2
  1175. package/node_modules/@types/lodash/flowRight.d.ts +0 -2
  1176. package/node_modules/@types/lodash/forEach.d.ts +0 -2
  1177. package/node_modules/@types/lodash/forEachRight.d.ts +0 -2
  1178. package/node_modules/@types/lodash/forIn.d.ts +0 -2
  1179. package/node_modules/@types/lodash/forInRight.d.ts +0 -2
  1180. package/node_modules/@types/lodash/forOwn.d.ts +0 -2
  1181. package/node_modules/@types/lodash/forOwnRight.d.ts +0 -2
  1182. package/node_modules/@types/lodash/fp/F.d.ts +0 -2
  1183. package/node_modules/@types/lodash/fp/T.d.ts +0 -2
  1184. package/node_modules/@types/lodash/fp/__.d.ts +0 -3
  1185. package/node_modules/@types/lodash/fp/add.d.ts +0 -2
  1186. package/node_modules/@types/lodash/fp/after.d.ts +0 -2
  1187. package/node_modules/@types/lodash/fp/all.d.ts +0 -2
  1188. package/node_modules/@types/lodash/fp/allPass.d.ts +0 -2
  1189. package/node_modules/@types/lodash/fp/always.d.ts +0 -2
  1190. package/node_modules/@types/lodash/fp/any.d.ts +0 -2
  1191. package/node_modules/@types/lodash/fp/anyPass.d.ts +0 -2
  1192. package/node_modules/@types/lodash/fp/apply.d.ts +0 -2
  1193. package/node_modules/@types/lodash/fp/ary.d.ts +0 -2
  1194. package/node_modules/@types/lodash/fp/assign.d.ts +0 -2
  1195. package/node_modules/@types/lodash/fp/assignAll.d.ts +0 -2
  1196. package/node_modules/@types/lodash/fp/assignAllWith.d.ts +0 -2
  1197. package/node_modules/@types/lodash/fp/assignIn.d.ts +0 -2
  1198. package/node_modules/@types/lodash/fp/assignInAll.d.ts +0 -2
  1199. package/node_modules/@types/lodash/fp/assignInAllWith.d.ts +0 -2
  1200. package/node_modules/@types/lodash/fp/assignInWith.d.ts +0 -2
  1201. package/node_modules/@types/lodash/fp/assignWith.d.ts +0 -2
  1202. package/node_modules/@types/lodash/fp/assoc.d.ts +0 -2
  1203. package/node_modules/@types/lodash/fp/assocPath.d.ts +0 -2
  1204. package/node_modules/@types/lodash/fp/at.d.ts +0 -2
  1205. package/node_modules/@types/lodash/fp/attempt.d.ts +0 -2
  1206. package/node_modules/@types/lodash/fp/before.d.ts +0 -2
  1207. package/node_modules/@types/lodash/fp/bind.d.ts +0 -2
  1208. package/node_modules/@types/lodash/fp/bindAll.d.ts +0 -2
  1209. package/node_modules/@types/lodash/fp/bindKey.d.ts +0 -2
  1210. package/node_modules/@types/lodash/fp/camelCase.d.ts +0 -2
  1211. package/node_modules/@types/lodash/fp/capitalize.d.ts +0 -2
  1212. package/node_modules/@types/lodash/fp/castArray.d.ts +0 -2
  1213. package/node_modules/@types/lodash/fp/ceil.d.ts +0 -2
  1214. package/node_modules/@types/lodash/fp/chunk.d.ts +0 -2
  1215. package/node_modules/@types/lodash/fp/clamp.d.ts +0 -2
  1216. package/node_modules/@types/lodash/fp/clone.d.ts +0 -2
  1217. package/node_modules/@types/lodash/fp/cloneDeep.d.ts +0 -2
  1218. package/node_modules/@types/lodash/fp/cloneDeepWith.d.ts +0 -2
  1219. package/node_modules/@types/lodash/fp/cloneWith.d.ts +0 -2
  1220. package/node_modules/@types/lodash/fp/compact.d.ts +0 -2
  1221. package/node_modules/@types/lodash/fp/complement.d.ts +0 -2
  1222. package/node_modules/@types/lodash/fp/compose.d.ts +0 -2
  1223. package/node_modules/@types/lodash/fp/concat.d.ts +0 -2
  1224. package/node_modules/@types/lodash/fp/cond.d.ts +0 -2
  1225. package/node_modules/@types/lodash/fp/conforms.d.ts +0 -2
  1226. package/node_modules/@types/lodash/fp/conformsTo.d.ts +0 -2
  1227. package/node_modules/@types/lodash/fp/constant.d.ts +0 -2
  1228. package/node_modules/@types/lodash/fp/contains.d.ts +0 -2
  1229. package/node_modules/@types/lodash/fp/convert.d.ts +0 -15
  1230. package/node_modules/@types/lodash/fp/countBy.d.ts +0 -2
  1231. package/node_modules/@types/lodash/fp/create.d.ts +0 -2
  1232. package/node_modules/@types/lodash/fp/curry.d.ts +0 -2
  1233. package/node_modules/@types/lodash/fp/curryN.d.ts +0 -2
  1234. package/node_modules/@types/lodash/fp/curryRight.d.ts +0 -2
  1235. package/node_modules/@types/lodash/fp/curryRightN.d.ts +0 -2
  1236. package/node_modules/@types/lodash/fp/debounce.d.ts +0 -2
  1237. package/node_modules/@types/lodash/fp/deburr.d.ts +0 -2
  1238. package/node_modules/@types/lodash/fp/defaultTo.d.ts +0 -2
  1239. package/node_modules/@types/lodash/fp/defaults.d.ts +0 -2
  1240. package/node_modules/@types/lodash/fp/defaultsAll.d.ts +0 -2
  1241. package/node_modules/@types/lodash/fp/defaultsDeep.d.ts +0 -2
  1242. package/node_modules/@types/lodash/fp/defaultsDeepAll.d.ts +0 -2
  1243. package/node_modules/@types/lodash/fp/defer.d.ts +0 -2
  1244. package/node_modules/@types/lodash/fp/delay.d.ts +0 -2
  1245. package/node_modules/@types/lodash/fp/difference.d.ts +0 -2
  1246. package/node_modules/@types/lodash/fp/differenceBy.d.ts +0 -2
  1247. package/node_modules/@types/lodash/fp/differenceWith.d.ts +0 -2
  1248. package/node_modules/@types/lodash/fp/dissoc.d.ts +0 -2
  1249. package/node_modules/@types/lodash/fp/dissocPath.d.ts +0 -2
  1250. package/node_modules/@types/lodash/fp/divide.d.ts +0 -2
  1251. package/node_modules/@types/lodash/fp/drop.d.ts +0 -2
  1252. package/node_modules/@types/lodash/fp/dropLast.d.ts +0 -2
  1253. package/node_modules/@types/lodash/fp/dropLastWhile.d.ts +0 -2
  1254. package/node_modules/@types/lodash/fp/dropRight.d.ts +0 -2
  1255. package/node_modules/@types/lodash/fp/dropRightWhile.d.ts +0 -2
  1256. package/node_modules/@types/lodash/fp/dropWhile.d.ts +0 -2
  1257. package/node_modules/@types/lodash/fp/each.d.ts +0 -2
  1258. package/node_modules/@types/lodash/fp/eachRight.d.ts +0 -2
  1259. package/node_modules/@types/lodash/fp/endsWith.d.ts +0 -2
  1260. package/node_modules/@types/lodash/fp/entries.d.ts +0 -2
  1261. package/node_modules/@types/lodash/fp/entriesIn.d.ts +0 -2
  1262. package/node_modules/@types/lodash/fp/eq.d.ts +0 -2
  1263. package/node_modules/@types/lodash/fp/equals.d.ts +0 -2
  1264. package/node_modules/@types/lodash/fp/escape.d.ts +0 -2
  1265. package/node_modules/@types/lodash/fp/escapeRegExp.d.ts +0 -2
  1266. package/node_modules/@types/lodash/fp/every.d.ts +0 -2
  1267. package/node_modules/@types/lodash/fp/extend.d.ts +0 -2
  1268. package/node_modules/@types/lodash/fp/extendAll.d.ts +0 -2
  1269. package/node_modules/@types/lodash/fp/extendAllWith.d.ts +0 -2
  1270. package/node_modules/@types/lodash/fp/extendWith.d.ts +0 -2
  1271. package/node_modules/@types/lodash/fp/fill.d.ts +0 -2
  1272. package/node_modules/@types/lodash/fp/filter.d.ts +0 -2
  1273. package/node_modules/@types/lodash/fp/find.d.ts +0 -2
  1274. package/node_modules/@types/lodash/fp/findFrom.d.ts +0 -2
  1275. package/node_modules/@types/lodash/fp/findIndex.d.ts +0 -2
  1276. package/node_modules/@types/lodash/fp/findIndexFrom.d.ts +0 -2
  1277. package/node_modules/@types/lodash/fp/findKey.d.ts +0 -2
  1278. package/node_modules/@types/lodash/fp/findLast.d.ts +0 -2
  1279. package/node_modules/@types/lodash/fp/findLastFrom.d.ts +0 -2
  1280. package/node_modules/@types/lodash/fp/findLastIndex.d.ts +0 -2
  1281. package/node_modules/@types/lodash/fp/findLastIndexFrom.d.ts +0 -2
  1282. package/node_modules/@types/lodash/fp/findLastKey.d.ts +0 -2
  1283. package/node_modules/@types/lodash/fp/first.d.ts +0 -2
  1284. package/node_modules/@types/lodash/fp/flatMap.d.ts +0 -2
  1285. package/node_modules/@types/lodash/fp/flatMapDeep.d.ts +0 -2
  1286. package/node_modules/@types/lodash/fp/flatMapDepth.d.ts +0 -2
  1287. package/node_modules/@types/lodash/fp/flatten.d.ts +0 -2
  1288. package/node_modules/@types/lodash/fp/flattenDeep.d.ts +0 -2
  1289. package/node_modules/@types/lodash/fp/flattenDepth.d.ts +0 -2
  1290. package/node_modules/@types/lodash/fp/flip.d.ts +0 -2
  1291. package/node_modules/@types/lodash/fp/floor.d.ts +0 -2
  1292. package/node_modules/@types/lodash/fp/flow.d.ts +0 -2
  1293. package/node_modules/@types/lodash/fp/flowRight.d.ts +0 -2
  1294. package/node_modules/@types/lodash/fp/forEach.d.ts +0 -2
  1295. package/node_modules/@types/lodash/fp/forEachRight.d.ts +0 -2
  1296. package/node_modules/@types/lodash/fp/forIn.d.ts +0 -2
  1297. package/node_modules/@types/lodash/fp/forInRight.d.ts +0 -2
  1298. package/node_modules/@types/lodash/fp/forOwn.d.ts +0 -2
  1299. package/node_modules/@types/lodash/fp/forOwnRight.d.ts +0 -2
  1300. package/node_modules/@types/lodash/fp/fromPairs.d.ts +0 -2
  1301. package/node_modules/@types/lodash/fp/functions.d.ts +0 -2
  1302. package/node_modules/@types/lodash/fp/functionsIn.d.ts +0 -2
  1303. package/node_modules/@types/lodash/fp/get.d.ts +0 -2
  1304. package/node_modules/@types/lodash/fp/getOr.d.ts +0 -2
  1305. package/node_modules/@types/lodash/fp/groupBy.d.ts +0 -2
  1306. package/node_modules/@types/lodash/fp/gt.d.ts +0 -2
  1307. package/node_modules/@types/lodash/fp/gte.d.ts +0 -2
  1308. package/node_modules/@types/lodash/fp/has.d.ts +0 -2
  1309. package/node_modules/@types/lodash/fp/hasIn.d.ts +0 -2
  1310. package/node_modules/@types/lodash/fp/head.d.ts +0 -2
  1311. package/node_modules/@types/lodash/fp/identical.d.ts +0 -2
  1312. package/node_modules/@types/lodash/fp/identity.d.ts +0 -2
  1313. package/node_modules/@types/lodash/fp/inRange.d.ts +0 -2
  1314. package/node_modules/@types/lodash/fp/includes.d.ts +0 -2
  1315. package/node_modules/@types/lodash/fp/includesFrom.d.ts +0 -2
  1316. package/node_modules/@types/lodash/fp/indexBy.d.ts +0 -2
  1317. package/node_modules/@types/lodash/fp/indexOf.d.ts +0 -2
  1318. package/node_modules/@types/lodash/fp/indexOfFrom.d.ts +0 -2
  1319. package/node_modules/@types/lodash/fp/init.d.ts +0 -2
  1320. package/node_modules/@types/lodash/fp/initial.d.ts +0 -2
  1321. package/node_modules/@types/lodash/fp/intersection.d.ts +0 -2
  1322. package/node_modules/@types/lodash/fp/intersectionBy.d.ts +0 -2
  1323. package/node_modules/@types/lodash/fp/intersectionWith.d.ts +0 -2
  1324. package/node_modules/@types/lodash/fp/invert.d.ts +0 -2
  1325. package/node_modules/@types/lodash/fp/invertBy.d.ts +0 -2
  1326. package/node_modules/@types/lodash/fp/invertObj.d.ts +0 -2
  1327. package/node_modules/@types/lodash/fp/invoke.d.ts +0 -2
  1328. package/node_modules/@types/lodash/fp/invokeArgs.d.ts +0 -2
  1329. package/node_modules/@types/lodash/fp/invokeArgsMap.d.ts +0 -2
  1330. package/node_modules/@types/lodash/fp/invokeMap.d.ts +0 -2
  1331. package/node_modules/@types/lodash/fp/isArguments.d.ts +0 -2
  1332. package/node_modules/@types/lodash/fp/isArray.d.ts +0 -2
  1333. package/node_modules/@types/lodash/fp/isArrayBuffer.d.ts +0 -2
  1334. package/node_modules/@types/lodash/fp/isArrayLike.d.ts +0 -2
  1335. package/node_modules/@types/lodash/fp/isArrayLikeObject.d.ts +0 -2
  1336. package/node_modules/@types/lodash/fp/isBoolean.d.ts +0 -2
  1337. package/node_modules/@types/lodash/fp/isBuffer.d.ts +0 -2
  1338. package/node_modules/@types/lodash/fp/isDate.d.ts +0 -2
  1339. package/node_modules/@types/lodash/fp/isElement.d.ts +0 -2
  1340. package/node_modules/@types/lodash/fp/isEmpty.d.ts +0 -2
  1341. package/node_modules/@types/lodash/fp/isEqual.d.ts +0 -2
  1342. package/node_modules/@types/lodash/fp/isEqualWith.d.ts +0 -2
  1343. package/node_modules/@types/lodash/fp/isError.d.ts +0 -2
  1344. package/node_modules/@types/lodash/fp/isFinite.d.ts +0 -2
  1345. package/node_modules/@types/lodash/fp/isFunction.d.ts +0 -2
  1346. package/node_modules/@types/lodash/fp/isInteger.d.ts +0 -2
  1347. package/node_modules/@types/lodash/fp/isLength.d.ts +0 -2
  1348. package/node_modules/@types/lodash/fp/isMap.d.ts +0 -2
  1349. package/node_modules/@types/lodash/fp/isMatch.d.ts +0 -2
  1350. package/node_modules/@types/lodash/fp/isMatchWith.d.ts +0 -2
  1351. package/node_modules/@types/lodash/fp/isNaN.d.ts +0 -2
  1352. package/node_modules/@types/lodash/fp/isNative.d.ts +0 -2
  1353. package/node_modules/@types/lodash/fp/isNil.d.ts +0 -2
  1354. package/node_modules/@types/lodash/fp/isNull.d.ts +0 -2
  1355. package/node_modules/@types/lodash/fp/isNumber.d.ts +0 -2
  1356. package/node_modules/@types/lodash/fp/isObject.d.ts +0 -2
  1357. package/node_modules/@types/lodash/fp/isObjectLike.d.ts +0 -2
  1358. package/node_modules/@types/lodash/fp/isPlainObject.d.ts +0 -2
  1359. package/node_modules/@types/lodash/fp/isRegExp.d.ts +0 -2
  1360. package/node_modules/@types/lodash/fp/isSafeInteger.d.ts +0 -2
  1361. package/node_modules/@types/lodash/fp/isSet.d.ts +0 -2
  1362. package/node_modules/@types/lodash/fp/isString.d.ts +0 -2
  1363. package/node_modules/@types/lodash/fp/isSymbol.d.ts +0 -2
  1364. package/node_modules/@types/lodash/fp/isTypedArray.d.ts +0 -2
  1365. package/node_modules/@types/lodash/fp/isUndefined.d.ts +0 -2
  1366. package/node_modules/@types/lodash/fp/isWeakMap.d.ts +0 -2
  1367. package/node_modules/@types/lodash/fp/isWeakSet.d.ts +0 -2
  1368. package/node_modules/@types/lodash/fp/iteratee.d.ts +0 -2
  1369. package/node_modules/@types/lodash/fp/join.d.ts +0 -2
  1370. package/node_modules/@types/lodash/fp/juxt.d.ts +0 -2
  1371. package/node_modules/@types/lodash/fp/kebabCase.d.ts +0 -2
  1372. package/node_modules/@types/lodash/fp/keyBy.d.ts +0 -2
  1373. package/node_modules/@types/lodash/fp/keys.d.ts +0 -2
  1374. package/node_modules/@types/lodash/fp/keysIn.d.ts +0 -2
  1375. package/node_modules/@types/lodash/fp/last.d.ts +0 -2
  1376. package/node_modules/@types/lodash/fp/lastIndexOf.d.ts +0 -2
  1377. package/node_modules/@types/lodash/fp/lastIndexOfFrom.d.ts +0 -2
  1378. package/node_modules/@types/lodash/fp/lowerCase.d.ts +0 -2
  1379. package/node_modules/@types/lodash/fp/lowerFirst.d.ts +0 -2
  1380. package/node_modules/@types/lodash/fp/lt.d.ts +0 -2
  1381. package/node_modules/@types/lodash/fp/lte.d.ts +0 -2
  1382. package/node_modules/@types/lodash/fp/map.d.ts +0 -2
  1383. package/node_modules/@types/lodash/fp/mapKeys.d.ts +0 -2
  1384. package/node_modules/@types/lodash/fp/mapValues.d.ts +0 -2
  1385. package/node_modules/@types/lodash/fp/matches.d.ts +0 -2
  1386. package/node_modules/@types/lodash/fp/matchesProperty.d.ts +0 -2
  1387. package/node_modules/@types/lodash/fp/max.d.ts +0 -2
  1388. package/node_modules/@types/lodash/fp/maxBy.d.ts +0 -2
  1389. package/node_modules/@types/lodash/fp/mean.d.ts +0 -2
  1390. package/node_modules/@types/lodash/fp/meanBy.d.ts +0 -2
  1391. package/node_modules/@types/lodash/fp/memoize.d.ts +0 -2
  1392. package/node_modules/@types/lodash/fp/merge.d.ts +0 -2
  1393. package/node_modules/@types/lodash/fp/mergeAll.d.ts +0 -2
  1394. package/node_modules/@types/lodash/fp/mergeAllWith.d.ts +0 -2
  1395. package/node_modules/@types/lodash/fp/mergeWith.d.ts +0 -2
  1396. package/node_modules/@types/lodash/fp/method.d.ts +0 -2
  1397. package/node_modules/@types/lodash/fp/methodOf.d.ts +0 -2
  1398. package/node_modules/@types/lodash/fp/min.d.ts +0 -2
  1399. package/node_modules/@types/lodash/fp/minBy.d.ts +0 -2
  1400. package/node_modules/@types/lodash/fp/multiply.d.ts +0 -2
  1401. package/node_modules/@types/lodash/fp/nAry.d.ts +0 -2
  1402. package/node_modules/@types/lodash/fp/negate.d.ts +0 -2
  1403. package/node_modules/@types/lodash/fp/noConflict.d.ts +0 -2
  1404. package/node_modules/@types/lodash/fp/noop.d.ts +0 -2
  1405. package/node_modules/@types/lodash/fp/now.d.ts +0 -2
  1406. package/node_modules/@types/lodash/fp/nth.d.ts +0 -2
  1407. package/node_modules/@types/lodash/fp/nthArg.d.ts +0 -2
  1408. package/node_modules/@types/lodash/fp/omit.d.ts +0 -2
  1409. package/node_modules/@types/lodash/fp/omitAll.d.ts +0 -2
  1410. package/node_modules/@types/lodash/fp/omitBy.d.ts +0 -2
  1411. package/node_modules/@types/lodash/fp/once.d.ts +0 -2
  1412. package/node_modules/@types/lodash/fp/orderBy.d.ts +0 -2
  1413. package/node_modules/@types/lodash/fp/over.d.ts +0 -2
  1414. package/node_modules/@types/lodash/fp/overArgs.d.ts +0 -2
  1415. package/node_modules/@types/lodash/fp/overEvery.d.ts +0 -2
  1416. package/node_modules/@types/lodash/fp/overSome.d.ts +0 -2
  1417. package/node_modules/@types/lodash/fp/pad.d.ts +0 -2
  1418. package/node_modules/@types/lodash/fp/padChars.d.ts +0 -2
  1419. package/node_modules/@types/lodash/fp/padCharsEnd.d.ts +0 -2
  1420. package/node_modules/@types/lodash/fp/padCharsStart.d.ts +0 -2
  1421. package/node_modules/@types/lodash/fp/padEnd.d.ts +0 -2
  1422. package/node_modules/@types/lodash/fp/padStart.d.ts +0 -2
  1423. package/node_modules/@types/lodash/fp/parseInt.d.ts +0 -2
  1424. package/node_modules/@types/lodash/fp/partial.d.ts +0 -2
  1425. package/node_modules/@types/lodash/fp/partialRight.d.ts +0 -2
  1426. package/node_modules/@types/lodash/fp/partition.d.ts +0 -2
  1427. package/node_modules/@types/lodash/fp/path.d.ts +0 -2
  1428. package/node_modules/@types/lodash/fp/pathEq.d.ts +0 -2
  1429. package/node_modules/@types/lodash/fp/pathOr.d.ts +0 -2
  1430. package/node_modules/@types/lodash/fp/paths.d.ts +0 -2
  1431. package/node_modules/@types/lodash/fp/pick.d.ts +0 -2
  1432. package/node_modules/@types/lodash/fp/pickAll.d.ts +0 -2
  1433. package/node_modules/@types/lodash/fp/pickBy.d.ts +0 -2
  1434. package/node_modules/@types/lodash/fp/pipe.d.ts +0 -2
  1435. package/node_modules/@types/lodash/fp/placeholder.d.ts +0 -3
  1436. package/node_modules/@types/lodash/fp/pluck.d.ts +0 -2
  1437. package/node_modules/@types/lodash/fp/prop.d.ts +0 -2
  1438. package/node_modules/@types/lodash/fp/propEq.d.ts +0 -2
  1439. package/node_modules/@types/lodash/fp/propOr.d.ts +0 -2
  1440. package/node_modules/@types/lodash/fp/property.d.ts +0 -2
  1441. package/node_modules/@types/lodash/fp/propertyOf.d.ts +0 -2
  1442. package/node_modules/@types/lodash/fp/props.d.ts +0 -2
  1443. package/node_modules/@types/lodash/fp/pull.d.ts +0 -2
  1444. package/node_modules/@types/lodash/fp/pullAll.d.ts +0 -2
  1445. package/node_modules/@types/lodash/fp/pullAllBy.d.ts +0 -2
  1446. package/node_modules/@types/lodash/fp/pullAllWith.d.ts +0 -2
  1447. package/node_modules/@types/lodash/fp/pullAt.d.ts +0 -2
  1448. package/node_modules/@types/lodash/fp/random.d.ts +0 -2
  1449. package/node_modules/@types/lodash/fp/range.d.ts +0 -2
  1450. package/node_modules/@types/lodash/fp/rangeRight.d.ts +0 -2
  1451. package/node_modules/@types/lodash/fp/rangeStep.d.ts +0 -2
  1452. package/node_modules/@types/lodash/fp/rangeStepRight.d.ts +0 -2
  1453. package/node_modules/@types/lodash/fp/rearg.d.ts +0 -2
  1454. package/node_modules/@types/lodash/fp/reduce.d.ts +0 -2
  1455. package/node_modules/@types/lodash/fp/reduceRight.d.ts +0 -2
  1456. package/node_modules/@types/lodash/fp/reject.d.ts +0 -2
  1457. package/node_modules/@types/lodash/fp/remove.d.ts +0 -2
  1458. package/node_modules/@types/lodash/fp/repeat.d.ts +0 -2
  1459. package/node_modules/@types/lodash/fp/replace.d.ts +0 -2
  1460. package/node_modules/@types/lodash/fp/rest.d.ts +0 -2
  1461. package/node_modules/@types/lodash/fp/restFrom.d.ts +0 -2
  1462. package/node_modules/@types/lodash/fp/result.d.ts +0 -2
  1463. package/node_modules/@types/lodash/fp/reverse.d.ts +0 -2
  1464. package/node_modules/@types/lodash/fp/round.d.ts +0 -2
  1465. package/node_modules/@types/lodash/fp/runInContext.d.ts +0 -2
  1466. package/node_modules/@types/lodash/fp/sample.d.ts +0 -2
  1467. package/node_modules/@types/lodash/fp/sampleSize.d.ts +0 -2
  1468. package/node_modules/@types/lodash/fp/set.d.ts +0 -2
  1469. package/node_modules/@types/lodash/fp/setWith.d.ts +0 -2
  1470. package/node_modules/@types/lodash/fp/shuffle.d.ts +0 -2
  1471. package/node_modules/@types/lodash/fp/size.d.ts +0 -2
  1472. package/node_modules/@types/lodash/fp/slice.d.ts +0 -2
  1473. package/node_modules/@types/lodash/fp/snakeCase.d.ts +0 -2
  1474. package/node_modules/@types/lodash/fp/some.d.ts +0 -2
  1475. package/node_modules/@types/lodash/fp/sortBy.d.ts +0 -2
  1476. package/node_modules/@types/lodash/fp/sortedIndex.d.ts +0 -2
  1477. package/node_modules/@types/lodash/fp/sortedIndexBy.d.ts +0 -2
  1478. package/node_modules/@types/lodash/fp/sortedIndexOf.d.ts +0 -2
  1479. package/node_modules/@types/lodash/fp/sortedLastIndex.d.ts +0 -2
  1480. package/node_modules/@types/lodash/fp/sortedLastIndexBy.d.ts +0 -2
  1481. package/node_modules/@types/lodash/fp/sortedLastIndexOf.d.ts +0 -2
  1482. package/node_modules/@types/lodash/fp/sortedUniq.d.ts +0 -2
  1483. package/node_modules/@types/lodash/fp/sortedUniqBy.d.ts +0 -2
  1484. package/node_modules/@types/lodash/fp/split.d.ts +0 -2
  1485. package/node_modules/@types/lodash/fp/spread.d.ts +0 -2
  1486. package/node_modules/@types/lodash/fp/spreadFrom.d.ts +0 -2
  1487. package/node_modules/@types/lodash/fp/startCase.d.ts +0 -2
  1488. package/node_modules/@types/lodash/fp/startsWith.d.ts +0 -2
  1489. package/node_modules/@types/lodash/fp/stubArray.d.ts +0 -2
  1490. package/node_modules/@types/lodash/fp/stubFalse.d.ts +0 -2
  1491. package/node_modules/@types/lodash/fp/stubObject.d.ts +0 -2
  1492. package/node_modules/@types/lodash/fp/stubString.d.ts +0 -2
  1493. package/node_modules/@types/lodash/fp/stubTrue.d.ts +0 -2
  1494. package/node_modules/@types/lodash/fp/subtract.d.ts +0 -2
  1495. package/node_modules/@types/lodash/fp/sum.d.ts +0 -2
  1496. package/node_modules/@types/lodash/fp/sumBy.d.ts +0 -2
  1497. package/node_modules/@types/lodash/fp/symmetricDifference.d.ts +0 -2
  1498. package/node_modules/@types/lodash/fp/symmetricDifferenceBy.d.ts +0 -2
  1499. package/node_modules/@types/lodash/fp/symmetricDifferenceWith.d.ts +0 -2
  1500. package/node_modules/@types/lodash/fp/tail.d.ts +0 -2
  1501. package/node_modules/@types/lodash/fp/take.d.ts +0 -2
  1502. package/node_modules/@types/lodash/fp/takeLast.d.ts +0 -2
  1503. package/node_modules/@types/lodash/fp/takeLastWhile.d.ts +0 -2
  1504. package/node_modules/@types/lodash/fp/takeRight.d.ts +0 -2
  1505. package/node_modules/@types/lodash/fp/takeRightWhile.d.ts +0 -2
  1506. package/node_modules/@types/lodash/fp/takeWhile.d.ts +0 -2
  1507. package/node_modules/@types/lodash/fp/tap.d.ts +0 -2
  1508. package/node_modules/@types/lodash/fp/template.d.ts +0 -2
  1509. package/node_modules/@types/lodash/fp/throttle.d.ts +0 -2
  1510. package/node_modules/@types/lodash/fp/thru.d.ts +0 -2
  1511. package/node_modules/@types/lodash/fp/times.d.ts +0 -2
  1512. package/node_modules/@types/lodash/fp/toArray.d.ts +0 -2
  1513. package/node_modules/@types/lodash/fp/toFinite.d.ts +0 -2
  1514. package/node_modules/@types/lodash/fp/toInteger.d.ts +0 -2
  1515. package/node_modules/@types/lodash/fp/toLength.d.ts +0 -2
  1516. package/node_modules/@types/lodash/fp/toLower.d.ts +0 -2
  1517. package/node_modules/@types/lodash/fp/toNumber.d.ts +0 -2
  1518. package/node_modules/@types/lodash/fp/toPairs.d.ts +0 -2
  1519. package/node_modules/@types/lodash/fp/toPairsIn.d.ts +0 -2
  1520. package/node_modules/@types/lodash/fp/toPath.d.ts +0 -2
  1521. package/node_modules/@types/lodash/fp/toPlainObject.d.ts +0 -2
  1522. package/node_modules/@types/lodash/fp/toSafeInteger.d.ts +0 -2
  1523. package/node_modules/@types/lodash/fp/toString.d.ts +0 -2
  1524. package/node_modules/@types/lodash/fp/toUpper.d.ts +0 -2
  1525. package/node_modules/@types/lodash/fp/transform.d.ts +0 -2
  1526. package/node_modules/@types/lodash/fp/trim.d.ts +0 -2
  1527. package/node_modules/@types/lodash/fp/trimChars.d.ts +0 -2
  1528. package/node_modules/@types/lodash/fp/trimCharsEnd.d.ts +0 -2
  1529. package/node_modules/@types/lodash/fp/trimCharsStart.d.ts +0 -2
  1530. package/node_modules/@types/lodash/fp/trimEnd.d.ts +0 -2
  1531. package/node_modules/@types/lodash/fp/trimStart.d.ts +0 -2
  1532. package/node_modules/@types/lodash/fp/truncate.d.ts +0 -2
  1533. package/node_modules/@types/lodash/fp/unapply.d.ts +0 -2
  1534. package/node_modules/@types/lodash/fp/unary.d.ts +0 -2
  1535. package/node_modules/@types/lodash/fp/unescape.d.ts +0 -2
  1536. package/node_modules/@types/lodash/fp/union.d.ts +0 -2
  1537. package/node_modules/@types/lodash/fp/unionBy.d.ts +0 -2
  1538. package/node_modules/@types/lodash/fp/unionWith.d.ts +0 -2
  1539. package/node_modules/@types/lodash/fp/uniq.d.ts +0 -2
  1540. package/node_modules/@types/lodash/fp/uniqBy.d.ts +0 -2
  1541. package/node_modules/@types/lodash/fp/uniqWith.d.ts +0 -2
  1542. package/node_modules/@types/lodash/fp/uniqueId.d.ts +0 -2
  1543. package/node_modules/@types/lodash/fp/unnest.d.ts +0 -2
  1544. package/node_modules/@types/lodash/fp/unset.d.ts +0 -2
  1545. package/node_modules/@types/lodash/fp/unzip.d.ts +0 -2
  1546. package/node_modules/@types/lodash/fp/unzipWith.d.ts +0 -2
  1547. package/node_modules/@types/lodash/fp/update.d.ts +0 -2
  1548. package/node_modules/@types/lodash/fp/updateWith.d.ts +0 -2
  1549. package/node_modules/@types/lodash/fp/upperCase.d.ts +0 -2
  1550. package/node_modules/@types/lodash/fp/upperFirst.d.ts +0 -2
  1551. package/node_modules/@types/lodash/fp/useWith.d.ts +0 -2
  1552. package/node_modules/@types/lodash/fp/values.d.ts +0 -2
  1553. package/node_modules/@types/lodash/fp/valuesIn.d.ts +0 -2
  1554. package/node_modules/@types/lodash/fp/where.d.ts +0 -2
  1555. package/node_modules/@types/lodash/fp/whereEq.d.ts +0 -2
  1556. package/node_modules/@types/lodash/fp/without.d.ts +0 -2
  1557. package/node_modules/@types/lodash/fp/words.d.ts +0 -2
  1558. package/node_modules/@types/lodash/fp/wrap.d.ts +0 -2
  1559. package/node_modules/@types/lodash/fp/xor.d.ts +0 -2
  1560. package/node_modules/@types/lodash/fp/xorBy.d.ts +0 -2
  1561. package/node_modules/@types/lodash/fp/xorWith.d.ts +0 -2
  1562. package/node_modules/@types/lodash/fp/zip.d.ts +0 -2
  1563. package/node_modules/@types/lodash/fp/zipAll.d.ts +0 -2
  1564. package/node_modules/@types/lodash/fp/zipObj.d.ts +0 -2
  1565. package/node_modules/@types/lodash/fp/zipObject.d.ts +0 -2
  1566. package/node_modules/@types/lodash/fp/zipObjectDeep.d.ts +0 -2
  1567. package/node_modules/@types/lodash/fp/zipWith.d.ts +0 -2
  1568. package/node_modules/@types/lodash/fp.d.ts +0 -4962
  1569. package/node_modules/@types/lodash/fromPairs.d.ts +0 -2
  1570. package/node_modules/@types/lodash/functions.d.ts +0 -2
  1571. package/node_modules/@types/lodash/functionsIn.d.ts +0 -2
  1572. package/node_modules/@types/lodash/get.d.ts +0 -2
  1573. package/node_modules/@types/lodash/groupBy.d.ts +0 -2
  1574. package/node_modules/@types/lodash/gt.d.ts +0 -2
  1575. package/node_modules/@types/lodash/gte.d.ts +0 -2
  1576. package/node_modules/@types/lodash/has.d.ts +0 -2
  1577. package/node_modules/@types/lodash/hasIn.d.ts +0 -2
  1578. package/node_modules/@types/lodash/head.d.ts +0 -2
  1579. package/node_modules/@types/lodash/identity.d.ts +0 -2
  1580. package/node_modules/@types/lodash/inRange.d.ts +0 -2
  1581. package/node_modules/@types/lodash/includes.d.ts +0 -2
  1582. package/node_modules/@types/lodash/index.d.ts +0 -21
  1583. package/node_modules/@types/lodash/indexOf.d.ts +0 -2
  1584. package/node_modules/@types/lodash/initial.d.ts +0 -2
  1585. package/node_modules/@types/lodash/intersection.d.ts +0 -2
  1586. package/node_modules/@types/lodash/intersectionBy.d.ts +0 -2
  1587. package/node_modules/@types/lodash/intersectionWith.d.ts +0 -2
  1588. package/node_modules/@types/lodash/invert.d.ts +0 -2
  1589. package/node_modules/@types/lodash/invertBy.d.ts +0 -2
  1590. package/node_modules/@types/lodash/invoke.d.ts +0 -2
  1591. package/node_modules/@types/lodash/invokeMap.d.ts +0 -2
  1592. package/node_modules/@types/lodash/isArguments.d.ts +0 -2
  1593. package/node_modules/@types/lodash/isArray.d.ts +0 -2
  1594. package/node_modules/@types/lodash/isArrayBuffer.d.ts +0 -2
  1595. package/node_modules/@types/lodash/isArrayLike.d.ts +0 -2
  1596. package/node_modules/@types/lodash/isArrayLikeObject.d.ts +0 -2
  1597. package/node_modules/@types/lodash/isBoolean.d.ts +0 -2
  1598. package/node_modules/@types/lodash/isBuffer.d.ts +0 -2
  1599. package/node_modules/@types/lodash/isDate.d.ts +0 -2
  1600. package/node_modules/@types/lodash/isElement.d.ts +0 -2
  1601. package/node_modules/@types/lodash/isEmpty.d.ts +0 -2
  1602. package/node_modules/@types/lodash/isEqual.d.ts +0 -2
  1603. package/node_modules/@types/lodash/isEqualWith.d.ts +0 -2
  1604. package/node_modules/@types/lodash/isError.d.ts +0 -2
  1605. package/node_modules/@types/lodash/isFinite.d.ts +0 -2
  1606. package/node_modules/@types/lodash/isFunction.d.ts +0 -2
  1607. package/node_modules/@types/lodash/isInteger.d.ts +0 -2
  1608. package/node_modules/@types/lodash/isLength.d.ts +0 -2
  1609. package/node_modules/@types/lodash/isMap.d.ts +0 -2
  1610. package/node_modules/@types/lodash/isMatch.d.ts +0 -2
  1611. package/node_modules/@types/lodash/isMatchWith.d.ts +0 -2
  1612. package/node_modules/@types/lodash/isNaN.d.ts +0 -2
  1613. package/node_modules/@types/lodash/isNative.d.ts +0 -2
  1614. package/node_modules/@types/lodash/isNil.d.ts +0 -2
  1615. package/node_modules/@types/lodash/isNull.d.ts +0 -2
  1616. package/node_modules/@types/lodash/isNumber.d.ts +0 -2
  1617. package/node_modules/@types/lodash/isObject.d.ts +0 -2
  1618. package/node_modules/@types/lodash/isObjectLike.d.ts +0 -2
  1619. package/node_modules/@types/lodash/isPlainObject.d.ts +0 -2
  1620. package/node_modules/@types/lodash/isRegExp.d.ts +0 -2
  1621. package/node_modules/@types/lodash/isSafeInteger.d.ts +0 -2
  1622. package/node_modules/@types/lodash/isSet.d.ts +0 -2
  1623. package/node_modules/@types/lodash/isString.d.ts +0 -2
  1624. package/node_modules/@types/lodash/isSymbol.d.ts +0 -2
  1625. package/node_modules/@types/lodash/isTypedArray.d.ts +0 -2
  1626. package/node_modules/@types/lodash/isUndefined.d.ts +0 -2
  1627. package/node_modules/@types/lodash/isWeakMap.d.ts +0 -2
  1628. package/node_modules/@types/lodash/isWeakSet.d.ts +0 -2
  1629. package/node_modules/@types/lodash/iteratee.d.ts +0 -2
  1630. package/node_modules/@types/lodash/join.d.ts +0 -2
  1631. package/node_modules/@types/lodash/kebabCase.d.ts +0 -2
  1632. package/node_modules/@types/lodash/keyBy.d.ts +0 -2
  1633. package/node_modules/@types/lodash/keys.d.ts +0 -2
  1634. package/node_modules/@types/lodash/keysIn.d.ts +0 -2
  1635. package/node_modules/@types/lodash/last.d.ts +0 -2
  1636. package/node_modules/@types/lodash/lastIndexOf.d.ts +0 -2
  1637. package/node_modules/@types/lodash/lowerCase.d.ts +0 -2
  1638. package/node_modules/@types/lodash/lowerFirst.d.ts +0 -2
  1639. package/node_modules/@types/lodash/lt.d.ts +0 -2
  1640. package/node_modules/@types/lodash/lte.d.ts +0 -2
  1641. package/node_modules/@types/lodash/map.d.ts +0 -2
  1642. package/node_modules/@types/lodash/mapKeys.d.ts +0 -2
  1643. package/node_modules/@types/lodash/mapValues.d.ts +0 -2
  1644. package/node_modules/@types/lodash/matches.d.ts +0 -2
  1645. package/node_modules/@types/lodash/matchesProperty.d.ts +0 -2
  1646. package/node_modules/@types/lodash/max.d.ts +0 -2
  1647. package/node_modules/@types/lodash/maxBy.d.ts +0 -2
  1648. package/node_modules/@types/lodash/mean.d.ts +0 -2
  1649. package/node_modules/@types/lodash/meanBy.d.ts +0 -2
  1650. package/node_modules/@types/lodash/memoize.d.ts +0 -2
  1651. package/node_modules/@types/lodash/merge.d.ts +0 -2
  1652. package/node_modules/@types/lodash/mergeWith.d.ts +0 -2
  1653. package/node_modules/@types/lodash/method.d.ts +0 -2
  1654. package/node_modules/@types/lodash/methodOf.d.ts +0 -2
  1655. package/node_modules/@types/lodash/min.d.ts +0 -2
  1656. package/node_modules/@types/lodash/minBy.d.ts +0 -2
  1657. package/node_modules/@types/lodash/mixin.d.ts +0 -2
  1658. package/node_modules/@types/lodash/multiply.d.ts +0 -2
  1659. package/node_modules/@types/lodash/negate.d.ts +0 -2
  1660. package/node_modules/@types/lodash/noConflict.d.ts +0 -2
  1661. package/node_modules/@types/lodash/noop.d.ts +0 -2
  1662. package/node_modules/@types/lodash/now.d.ts +0 -2
  1663. package/node_modules/@types/lodash/nth.d.ts +0 -2
  1664. package/node_modules/@types/lodash/nthArg.d.ts +0 -2
  1665. package/node_modules/@types/lodash/omit.d.ts +0 -2
  1666. package/node_modules/@types/lodash/omitBy.d.ts +0 -2
  1667. package/node_modules/@types/lodash/once.d.ts +0 -2
  1668. package/node_modules/@types/lodash/orderBy.d.ts +0 -2
  1669. package/node_modules/@types/lodash/over.d.ts +0 -2
  1670. package/node_modules/@types/lodash/overArgs.d.ts +0 -2
  1671. package/node_modules/@types/lodash/overEvery.d.ts +0 -2
  1672. package/node_modules/@types/lodash/overSome.d.ts +0 -2
  1673. package/node_modules/@types/lodash/package.json +0 -56
  1674. package/node_modules/@types/lodash/pad.d.ts +0 -2
  1675. package/node_modules/@types/lodash/padEnd.d.ts +0 -2
  1676. package/node_modules/@types/lodash/padStart.d.ts +0 -2
  1677. package/node_modules/@types/lodash/parseInt.d.ts +0 -2
  1678. package/node_modules/@types/lodash/partial.d.ts +0 -2
  1679. package/node_modules/@types/lodash/partialRight.d.ts +0 -2
  1680. package/node_modules/@types/lodash/partition.d.ts +0 -2
  1681. package/node_modules/@types/lodash/pick.d.ts +0 -2
  1682. package/node_modules/@types/lodash/pickBy.d.ts +0 -2
  1683. package/node_modules/@types/lodash/property.d.ts +0 -2
  1684. package/node_modules/@types/lodash/propertyOf.d.ts +0 -2
  1685. package/node_modules/@types/lodash/pull.d.ts +0 -2
  1686. package/node_modules/@types/lodash/pullAll.d.ts +0 -2
  1687. package/node_modules/@types/lodash/pullAllBy.d.ts +0 -2
  1688. package/node_modules/@types/lodash/pullAllWith.d.ts +0 -2
  1689. package/node_modules/@types/lodash/pullAt.d.ts +0 -2
  1690. package/node_modules/@types/lodash/random.d.ts +0 -2
  1691. package/node_modules/@types/lodash/range.d.ts +0 -2
  1692. package/node_modules/@types/lodash/rangeRight.d.ts +0 -2
  1693. package/node_modules/@types/lodash/rearg.d.ts +0 -2
  1694. package/node_modules/@types/lodash/reduce.d.ts +0 -2
  1695. package/node_modules/@types/lodash/reduceRight.d.ts +0 -2
  1696. package/node_modules/@types/lodash/reject.d.ts +0 -2
  1697. package/node_modules/@types/lodash/remove.d.ts +0 -2
  1698. package/node_modules/@types/lodash/repeat.d.ts +0 -2
  1699. package/node_modules/@types/lodash/replace.d.ts +0 -2
  1700. package/node_modules/@types/lodash/rest.d.ts +0 -2
  1701. package/node_modules/@types/lodash/result.d.ts +0 -2
  1702. package/node_modules/@types/lodash/reverse.d.ts +0 -2
  1703. package/node_modules/@types/lodash/round.d.ts +0 -2
  1704. package/node_modules/@types/lodash/runInContext.d.ts +0 -2
  1705. package/node_modules/@types/lodash/sample.d.ts +0 -2
  1706. package/node_modules/@types/lodash/sampleSize.d.ts +0 -2
  1707. package/node_modules/@types/lodash/set.d.ts +0 -2
  1708. package/node_modules/@types/lodash/setWith.d.ts +0 -2
  1709. package/node_modules/@types/lodash/shuffle.d.ts +0 -2
  1710. package/node_modules/@types/lodash/size.d.ts +0 -2
  1711. package/node_modules/@types/lodash/slice.d.ts +0 -2
  1712. package/node_modules/@types/lodash/snakeCase.d.ts +0 -2
  1713. package/node_modules/@types/lodash/some.d.ts +0 -2
  1714. package/node_modules/@types/lodash/sortBy.d.ts +0 -2
  1715. package/node_modules/@types/lodash/sortedIndex.d.ts +0 -2
  1716. package/node_modules/@types/lodash/sortedIndexBy.d.ts +0 -2
  1717. package/node_modules/@types/lodash/sortedIndexOf.d.ts +0 -2
  1718. package/node_modules/@types/lodash/sortedLastIndex.d.ts +0 -2
  1719. package/node_modules/@types/lodash/sortedLastIndexBy.d.ts +0 -2
  1720. package/node_modules/@types/lodash/sortedLastIndexOf.d.ts +0 -2
  1721. package/node_modules/@types/lodash/sortedUniq.d.ts +0 -2
  1722. package/node_modules/@types/lodash/sortedUniqBy.d.ts +0 -2
  1723. package/node_modules/@types/lodash/split.d.ts +0 -2
  1724. package/node_modules/@types/lodash/spread.d.ts +0 -2
  1725. package/node_modules/@types/lodash/startCase.d.ts +0 -2
  1726. package/node_modules/@types/lodash/startsWith.d.ts +0 -2
  1727. package/node_modules/@types/lodash/stubFalse.d.ts +0 -2
  1728. package/node_modules/@types/lodash/stubTrue.d.ts +0 -2
  1729. package/node_modules/@types/lodash/subtract.d.ts +0 -2
  1730. package/node_modules/@types/lodash/sum.d.ts +0 -2
  1731. package/node_modules/@types/lodash/sumBy.d.ts +0 -2
  1732. package/node_modules/@types/lodash/tail.d.ts +0 -2
  1733. package/node_modules/@types/lodash/take.d.ts +0 -2
  1734. package/node_modules/@types/lodash/takeRight.d.ts +0 -2
  1735. package/node_modules/@types/lodash/takeRightWhile.d.ts +0 -2
  1736. package/node_modules/@types/lodash/takeWhile.d.ts +0 -2
  1737. package/node_modules/@types/lodash/tap.d.ts +0 -2
  1738. package/node_modules/@types/lodash/template.d.ts +0 -2
  1739. package/node_modules/@types/lodash/throttle.d.ts +0 -2
  1740. package/node_modules/@types/lodash/thru.d.ts +0 -2
  1741. package/node_modules/@types/lodash/times.d.ts +0 -2
  1742. package/node_modules/@types/lodash/toArray.d.ts +0 -2
  1743. package/node_modules/@types/lodash/toFinite.d.ts +0 -2
  1744. package/node_modules/@types/lodash/toInteger.d.ts +0 -2
  1745. package/node_modules/@types/lodash/toLength.d.ts +0 -2
  1746. package/node_modules/@types/lodash/toLower.d.ts +0 -2
  1747. package/node_modules/@types/lodash/toNumber.d.ts +0 -2
  1748. package/node_modules/@types/lodash/toPairs.d.ts +0 -2
  1749. package/node_modules/@types/lodash/toPairsIn.d.ts +0 -2
  1750. package/node_modules/@types/lodash/toPath.d.ts +0 -2
  1751. package/node_modules/@types/lodash/toPlainObject.d.ts +0 -2
  1752. package/node_modules/@types/lodash/toSafeInteger.d.ts +0 -2
  1753. package/node_modules/@types/lodash/toString.d.ts +0 -2
  1754. package/node_modules/@types/lodash/toUpper.d.ts +0 -2
  1755. package/node_modules/@types/lodash/transform.d.ts +0 -2
  1756. package/node_modules/@types/lodash/trim.d.ts +0 -2
  1757. package/node_modules/@types/lodash/trimEnd.d.ts +0 -2
  1758. package/node_modules/@types/lodash/trimStart.d.ts +0 -2
  1759. package/node_modules/@types/lodash/truncate.d.ts +0 -2
  1760. package/node_modules/@types/lodash/unary.d.ts +0 -2
  1761. package/node_modules/@types/lodash/unescape.d.ts +0 -2
  1762. package/node_modules/@types/lodash/union.d.ts +0 -2
  1763. package/node_modules/@types/lodash/unionBy.d.ts +0 -2
  1764. package/node_modules/@types/lodash/unionWith.d.ts +0 -2
  1765. package/node_modules/@types/lodash/uniq.d.ts +0 -2
  1766. package/node_modules/@types/lodash/uniqBy.d.ts +0 -2
  1767. package/node_modules/@types/lodash/uniqWith.d.ts +0 -2
  1768. package/node_modules/@types/lodash/uniqueId.d.ts +0 -2
  1769. package/node_modules/@types/lodash/unset.d.ts +0 -2
  1770. package/node_modules/@types/lodash/unzip.d.ts +0 -2
  1771. package/node_modules/@types/lodash/unzipWith.d.ts +0 -2
  1772. package/node_modules/@types/lodash/update.d.ts +0 -2
  1773. package/node_modules/@types/lodash/updateWith.d.ts +0 -2
  1774. package/node_modules/@types/lodash/upperCase.d.ts +0 -2
  1775. package/node_modules/@types/lodash/upperFirst.d.ts +0 -2
  1776. package/node_modules/@types/lodash/values.d.ts +0 -2
  1777. package/node_modules/@types/lodash/valuesIn.d.ts +0 -2
  1778. package/node_modules/@types/lodash/without.d.ts +0 -2
  1779. package/node_modules/@types/lodash/words.d.ts +0 -2
  1780. package/node_modules/@types/lodash/wrap.d.ts +0 -2
  1781. package/node_modules/@types/lodash/xor.d.ts +0 -2
  1782. package/node_modules/@types/lodash/xorBy.d.ts +0 -2
  1783. package/node_modules/@types/lodash/xorWith.d.ts +0 -2
  1784. package/node_modules/@types/lodash/zip.d.ts +0 -2
  1785. package/node_modules/@types/lodash/zipObject.d.ts +0 -2
  1786. package/node_modules/@types/lodash/zipObjectDeep.d.ts +0 -2
  1787. package/node_modules/@types/lodash/zipWith.d.ts +0 -2
  1788. package/node_modules/@types/lodash.transform/LICENSE +0 -21
  1789. package/node_modules/@types/lodash.transform/README.md +0 -23
  1790. package/node_modules/@types/lodash.transform/index.d.ts +0 -4
  1791. package/node_modules/@types/lodash.transform/package.json +0 -32
  1792. package/node_modules/@types/mdast/LICENSE +0 -21
  1793. package/node_modules/@types/mdast/README.md +0 -15
  1794. package/node_modules/@types/mdast/index.d.ts +0 -1123
  1795. package/node_modules/@types/mdast/package.json +0 -47
  1796. package/node_modules/@types/ms/LICENSE +0 -21
  1797. package/node_modules/@types/ms/README.md +0 -82
  1798. package/node_modules/@types/ms/index.d.ts +0 -63
  1799. package/node_modules/@types/ms/package.json +0 -26
  1800. package/node_modules/@types/unist/LICENSE +0 -21
  1801. package/node_modules/@types/unist/README.md +0 -15
  1802. package/node_modules/@types/unist/index.d.ts +0 -119
  1803. package/node_modules/@types/unist/package.json +0 -60
  1804. package/node_modules/@types/uuid/LICENSE +0 -21
  1805. package/node_modules/@types/uuid/README.md +0 -15
  1806. package/node_modules/@types/uuid/index.d.mts +0 -19
  1807. package/node_modules/@types/uuid/index.d.ts +0 -113
  1808. package/node_modules/@types/uuid/package.json +0 -54
  1809. package/node_modules/big-integer/BigInteger.d.ts +0 -2393
  1810. package/node_modules/big-integer/BigInteger.js +0 -1453
  1811. package/node_modules/big-integer/BigInteger.min.js +0 -1
  1812. package/node_modules/big-integer/LICENSE +0 -24
  1813. package/node_modules/big-integer/README.md +0 -589
  1814. package/node_modules/big-integer/bower.json +0 -29
  1815. package/node_modules/big-integer/package.json +0 -48
  1816. package/node_modules/big-integer/tsconfig.json +0 -24
  1817. package/node_modules/character-entities/index.d.ts +0 -6
  1818. package/node_modules/character-entities/index.js +0 -2132
  1819. package/node_modules/character-entities/license +0 -22
  1820. package/node_modules/character-entities/package.json +0 -78
  1821. package/node_modules/character-entities/readme.md +0 -152
  1822. package/node_modules/debug/LICENSE +0 -20
  1823. package/node_modules/debug/README.md +0 -481
  1824. package/node_modules/debug/package.json +0 -64
  1825. package/node_modules/debug/src/browser.js +0 -272
  1826. package/node_modules/debug/src/common.js +0 -292
  1827. package/node_modules/debug/src/index.js +0 -10
  1828. package/node_modules/debug/src/node.js +0 -263
  1829. package/node_modules/decimal.js-light/CHANGELOG.md +0 -87
  1830. package/node_modules/decimal.js-light/LICENCE.md +0 -23
  1831. package/node_modules/decimal.js-light/README.md +0 -92
  1832. package/node_modules/decimal.js-light/decimal.d.ts +0 -570
  1833. package/node_modules/decimal.js-light/decimal.js +0 -2014
  1834. package/node_modules/decimal.js-light/decimal.min.js +0 -3
  1835. package/node_modules/decimal.js-light/decimal.mjs +0 -1985
  1836. package/node_modules/decimal.js-light/doc/API.html +0 -1312
  1837. package/node_modules/decimal.js-light/doc/decimal.js.map +0 -1
  1838. package/node_modules/decimal.js-light/package.json +0 -36
  1839. package/node_modules/decode-named-character-reference/index.d.ts +0 -13
  1840. package/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
  1841. package/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
  1842. package/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
  1843. package/node_modules/decode-named-character-reference/index.dom.js +0 -32
  1844. package/node_modules/decode-named-character-reference/index.js +0 -19
  1845. package/node_modules/decode-named-character-reference/license +0 -22
  1846. package/node_modules/decode-named-character-reference/package.json +0 -90
  1847. package/node_modules/decode-named-character-reference/readme.md +0 -136
  1848. package/node_modules/dequal/dist/index.js +0 -86
  1849. package/node_modules/dequal/dist/index.min.js +0 -1
  1850. package/node_modules/dequal/dist/index.mjs +0 -84
  1851. package/node_modules/dequal/index.d.ts +0 -1
  1852. package/node_modules/dequal/license +0 -21
  1853. package/node_modules/dequal/lite/index.d.ts +0 -1
  1854. package/node_modules/dequal/lite/index.js +0 -31
  1855. package/node_modules/dequal/lite/index.min.js +0 -1
  1856. package/node_modules/dequal/lite/index.mjs +0 -29
  1857. package/node_modules/dequal/package.json +0 -57
  1858. package/node_modules/dequal/readme.md +0 -112
  1859. package/node_modules/devlop/lib/default.js +0 -9
  1860. package/node_modules/devlop/lib/development.d.ts +0 -84
  1861. package/node_modules/devlop/lib/development.js +0 -238
  1862. package/node_modules/devlop/license +0 -22
  1863. package/node_modules/devlop/package.json +0 -80
  1864. package/node_modules/devlop/readme.md +0 -360
  1865. package/node_modules/eventemitter3/LICENSE +0 -21
  1866. package/node_modules/eventemitter3/README.md +0 -85
  1867. package/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -355
  1868. package/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -1
  1869. package/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -1
  1870. package/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -363
  1871. package/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -1
  1872. package/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -1
  1873. package/node_modules/eventemitter3/index.d.ts +0 -135
  1874. package/node_modules/eventemitter3/index.js +0 -336
  1875. package/node_modules/eventemitter3/index.mjs +0 -4
  1876. package/node_modules/eventemitter3/package.json +0 -62
  1877. package/node_modules/lodash.transform/LICENSE +0 -47
  1878. package/node_modules/lodash.transform/README.md +0 -18
  1879. package/node_modules/lodash.transform/index.js +0 -2329
  1880. package/node_modules/lodash.transform/package.json +0 -17
  1881. package/node_modules/mdast-util-from-markdown/dev/index.d.ts +0 -23
  1882. package/node_modules/mdast-util-from-markdown/dev/index.js +0 -2
  1883. package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +0 -53
  1884. package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +0 -1
  1885. package/node_modules/mdast-util-from-markdown/dev/lib/index.js +0 -1348
  1886. package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +0 -295
  1887. package/node_modules/mdast-util-from-markdown/dev/lib/types.js +0 -2
  1888. package/node_modules/mdast-util-from-markdown/index.d.ts +0 -23
  1889. package/node_modules/mdast-util-from-markdown/index.js +0 -2
  1890. package/node_modules/mdast-util-from-markdown/lib/index.d.ts +0 -53
  1891. package/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +0 -1
  1892. package/node_modules/mdast-util-from-markdown/lib/index.js +0 -1177
  1893. package/node_modules/mdast-util-from-markdown/lib/types.d.ts +0 -295
  1894. package/node_modules/mdast-util-from-markdown/lib/types.js +0 -2
  1895. package/node_modules/mdast-util-from-markdown/license +0 -22
  1896. package/node_modules/mdast-util-from-markdown/package.json +0 -99
  1897. package/node_modules/mdast-util-from-markdown/readme.md +0 -535
  1898. package/node_modules/mdast-util-to-string/index.d.ts +0 -2
  1899. package/node_modules/mdast-util-to-string/index.js +0 -5
  1900. package/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
  1901. package/node_modules/mdast-util-to-string/lib/index.js +0 -108
  1902. package/node_modules/mdast-util-to-string/license +0 -22
  1903. package/node_modules/mdast-util-to-string/package.json +0 -78
  1904. package/node_modules/mdast-util-to-string/readme.md +0 -218
  1905. package/node_modules/micromark/dev/index.d.ts +0 -82
  1906. package/node_modules/micromark/dev/index.d.ts.map +0 -1
  1907. package/node_modules/micromark/dev/index.js +0 -68
  1908. package/node_modules/micromark/dev/lib/compile.d.ts +0 -16
  1909. package/node_modules/micromark/dev/lib/compile.d.ts.map +0 -1
  1910. package/node_modules/micromark/dev/lib/compile.js +0 -1152
  1911. package/node_modules/micromark/dev/lib/constructs.d.ts +0 -73
  1912. package/node_modules/micromark/dev/lib/constructs.d.ts.map +0 -1
  1913. package/node_modules/micromark/dev/lib/constructs.js +0 -101
  1914. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts +0 -46
  1915. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +0 -1
  1916. package/node_modules/micromark/dev/lib/create-tokenizer.js +0 -717
  1917. package/node_modules/micromark/dev/lib/initialize/content.d.ts +0 -4
  1918. package/node_modules/micromark/dev/lib/initialize/content.d.ts.map +0 -1
  1919. package/node_modules/micromark/dev/lib/initialize/content.js +0 -99
  1920. package/node_modules/micromark/dev/lib/initialize/document.d.ts +0 -10
  1921. package/node_modules/micromark/dev/lib/initialize/document.d.ts.map +0 -1
  1922. package/node_modules/micromark/dev/lib/initialize/document.js +0 -445
  1923. package/node_modules/micromark/dev/lib/initialize/flow.d.ts +0 -4
  1924. package/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +0 -1
  1925. package/node_modules/micromark/dev/lib/initialize/flow.js +0 -86
  1926. package/node_modules/micromark/dev/lib/initialize/text.d.ts +0 -8
  1927. package/node_modules/micromark/dev/lib/initialize/text.d.ts.map +0 -1
  1928. package/node_modules/micromark/dev/lib/initialize/text.js +0 -244
  1929. package/node_modules/micromark/dev/lib/parse.d.ts +0 -10
  1930. package/node_modules/micromark/dev/lib/parse.d.ts.map +0 -1
  1931. package/node_modules/micromark/dev/lib/parse.js +0 -58
  1932. package/node_modules/micromark/dev/lib/postprocess.d.ts +0 -9
  1933. package/node_modules/micromark/dev/lib/postprocess.d.ts.map +0 -1
  1934. package/node_modules/micromark/dev/lib/postprocess.js +0 -19
  1935. package/node_modules/micromark/dev/lib/preprocess.d.ts +0 -13
  1936. package/node_modules/micromark/dev/lib/preprocess.d.ts.map +0 -1
  1937. package/node_modules/micromark/dev/lib/preprocess.js +0 -141
  1938. package/node_modules/micromark/dev/stream.d.ts +0 -35
  1939. package/node_modules/micromark/dev/stream.d.ts.map +0 -1
  1940. package/node_modules/micromark/dev/stream.js +0 -270
  1941. package/node_modules/micromark/index.d.ts +0 -82
  1942. package/node_modules/micromark/index.d.ts.map +0 -1
  1943. package/node_modules/micromark/index.js +0 -60
  1944. package/node_modules/micromark/lib/compile.d.ts +0 -16
  1945. package/node_modules/micromark/lib/compile.d.ts.map +0 -1
  1946. package/node_modules/micromark/lib/compile.js +0 -1060
  1947. package/node_modules/micromark/lib/constructs.d.ts +0 -73
  1948. package/node_modules/micromark/lib/constructs.d.ts.map +0 -1
  1949. package/node_modules/micromark/lib/constructs.js +0 -85
  1950. package/node_modules/micromark/lib/create-tokenizer.d.ts +0 -46
  1951. package/node_modules/micromark/lib/create-tokenizer.d.ts.map +0 -1
  1952. package/node_modules/micromark/lib/create-tokenizer.js +0 -611
  1953. package/node_modules/micromark/lib/initialize/content.d.ts +0 -4
  1954. package/node_modules/micromark/lib/initialize/content.d.ts.map +0 -1
  1955. package/node_modules/micromark/lib/initialize/content.js +0 -79
  1956. package/node_modules/micromark/lib/initialize/document.d.ts +0 -10
  1957. package/node_modules/micromark/lib/initialize/document.d.ts.map +0 -1
  1958. package/node_modules/micromark/lib/initialize/document.js +0 -362
  1959. package/node_modules/micromark/lib/initialize/flow.d.ts +0 -4
  1960. package/node_modules/micromark/lib/initialize/flow.d.ts.map +0 -1
  1961. package/node_modules/micromark/lib/initialize/flow.js +0 -58
  1962. package/node_modules/micromark/lib/initialize/text.d.ts +0 -8
  1963. package/node_modules/micromark/lib/initialize/text.d.ts.map +0 -1
  1964. package/node_modules/micromark/lib/initialize/text.js +0 -212
  1965. package/node_modules/micromark/lib/parse.d.ts +0 -10
  1966. package/node_modules/micromark/lib/parse.d.ts.map +0 -1
  1967. package/node_modules/micromark/lib/parse.js +0 -56
  1968. package/node_modules/micromark/lib/postprocess.d.ts +0 -9
  1969. package/node_modules/micromark/lib/postprocess.d.ts.map +0 -1
  1970. package/node_modules/micromark/lib/postprocess.js +0 -18
  1971. package/node_modules/micromark/lib/preprocess.d.ts +0 -13
  1972. package/node_modules/micromark/lib/preprocess.d.ts.map +0 -1
  1973. package/node_modules/micromark/lib/preprocess.js +0 -115
  1974. package/node_modules/micromark/license +0 -22
  1975. package/node_modules/micromark/package.json +0 -100
  1976. package/node_modules/micromark/readme.md +0 -488
  1977. package/node_modules/micromark/stream.d.ts +0 -35
  1978. package/node_modules/micromark/stream.d.ts.map +0 -1
  1979. package/node_modules/micromark/stream.js +0 -256
  1980. package/node_modules/micromark-core-commonmark/dev/index.d.ts +0 -23
  1981. package/node_modules/micromark-core-commonmark/dev/index.d.ts.map +0 -1
  1982. package/node_modules/micromark-core-commonmark/dev/index.js +0 -22
  1983. package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +0 -4
  1984. package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +0 -1
  1985. package/node_modules/micromark-core-commonmark/dev/lib/attention.js +0 -300
  1986. package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +0 -4
  1987. package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +0 -1
  1988. package/node_modules/micromark-core-commonmark/dev/lib/autolink.js +0 -269
  1989. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +0 -4
  1990. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +0 -1
  1991. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +0 -62
  1992. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +0 -4
  1993. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +0 -1
  1994. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +0 -162
  1995. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +0 -4
  1996. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +0 -1
  1997. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +0 -69
  1998. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +0 -4
  1999. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +0 -1
  2000. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +0 -166
  2001. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +0 -4
  2002. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +0 -1
  2003. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +0 -514
  2004. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +0 -4
  2005. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +0 -1
  2006. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +0 -202
  2007. package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +0 -4
  2008. package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +0 -1
  2009. package/node_modules/micromark-core-commonmark/dev/lib/code-text.js +0 -257
  2010. package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +0 -7
  2011. package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +0 -1
  2012. package/node_modules/micromark-core-commonmark/dev/lib/content.js +0 -185
  2013. package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +0 -4
  2014. package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +0 -1
  2015. package/node_modules/micromark-core-commonmark/dev/lib/definition.js +0 -295
  2016. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +0 -4
  2017. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +0 -1
  2018. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +0 -65
  2019. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +0 -4
  2020. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +0 -1
  2021. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +0 -233
  2022. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +0 -4
  2023. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +0 -1
  2024. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +0 -989
  2025. package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +0 -4
  2026. package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +0 -1
  2027. package/node_modules/micromark-core-commonmark/dev/lib/html-text.js +0 -783
  2028. package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +0 -4
  2029. package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +0 -1
  2030. package/node_modules/micromark-core-commonmark/dev/lib/label-end.js +0 -656
  2031. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +0 -4
  2032. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +0 -1
  2033. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +0 -110
  2034. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +0 -4
  2035. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +0 -1
  2036. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +0 -62
  2037. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +0 -4
  2038. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +0 -1
  2039. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +0 -34
  2040. package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +0 -4
  2041. package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +0 -1
  2042. package/node_modules/micromark-core-commonmark/dev/lib/list.js +0 -306
  2043. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +0 -4
  2044. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +0 -1
  2045. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +0 -210
  2046. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +0 -4
  2047. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +0 -1
  2048. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +0 -120
  2049. package/node_modules/micromark-core-commonmark/index.d.ts +0 -23
  2050. package/node_modules/micromark-core-commonmark/index.d.ts.map +0 -1
  2051. package/node_modules/micromark-core-commonmark/index.js +0 -22
  2052. package/node_modules/micromark-core-commonmark/lib/attention.d.ts +0 -4
  2053. package/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +0 -1
  2054. package/node_modules/micromark-core-commonmark/lib/attention.js +0 -241
  2055. package/node_modules/micromark-core-commonmark/lib/autolink.d.ts +0 -4
  2056. package/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +0 -1
  2057. package/node_modules/micromark-core-commonmark/lib/autolink.js +0 -233
  2058. package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +0 -4
  2059. package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +0 -1
  2060. package/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -61
  2061. package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +0 -4
  2062. package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +0 -1
  2063. package/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -143
  2064. package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +0 -4
  2065. package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +0 -1
  2066. package/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -64
  2067. package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +0 -4
  2068. package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +0 -1
  2069. package/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -149
  2070. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +0 -4
  2071. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +0 -1
  2072. package/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -460
  2073. package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +0 -4
  2074. package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +0 -1
  2075. package/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -177
  2076. package/node_modules/micromark-core-commonmark/lib/code-text.d.ts +0 -4
  2077. package/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +0 -1
  2078. package/node_modules/micromark-core-commonmark/lib/code-text.js +0 -225
  2079. package/node_modules/micromark-core-commonmark/lib/content.d.ts +0 -7
  2080. package/node_modules/micromark-core-commonmark/lib/content.d.ts.map +0 -1
  2081. package/node_modules/micromark-core-commonmark/lib/content.js +0 -163
  2082. package/node_modules/micromark-core-commonmark/lib/definition.d.ts +0 -4
  2083. package/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +0 -1
  2084. package/node_modules/micromark-core-commonmark/lib/definition.js +0 -254
  2085. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +0 -4
  2086. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +0 -1
  2087. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -60
  2088. package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +0 -4
  2089. package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +0 -1
  2090. package/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -195
  2091. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +0 -4
  2092. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +0 -1
  2093. package/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -876
  2094. package/node_modules/micromark-core-commonmark/lib/html-text.d.ts +0 -4
  2095. package/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +0 -1
  2096. package/node_modules/micromark-core-commonmark/lib/html-text.js +0 -678
  2097. package/node_modules/micromark-core-commonmark/lib/label-end.d.ts +0 -4
  2098. package/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +0 -1
  2099. package/node_modules/micromark-core-commonmark/lib/label-end.js +0 -560
  2100. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +0 -4
  2101. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +0 -1
  2102. package/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -102
  2103. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +0 -4
  2104. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +0 -1
  2105. package/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -55
  2106. package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +0 -4
  2107. package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +0 -1
  2108. package/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -33
  2109. package/node_modules/micromark-core-commonmark/lib/list.d.ts +0 -4
  2110. package/node_modules/micromark-core-commonmark/lib/list.d.ts.map +0 -1
  2111. package/node_modules/micromark-core-commonmark/lib/list.js +0 -213
  2112. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +0 -4
  2113. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +0 -1
  2114. package/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -185
  2115. package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +0 -4
  2116. package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +0 -1
  2117. package/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -102
  2118. package/node_modules/micromark-core-commonmark/license +0 -22
  2119. package/node_modules/micromark-core-commonmark/package.json +0 -74
  2120. package/node_modules/micromark-core-commonmark/readme.md +0 -171
  2121. package/node_modules/micromark-factory-destination/dev/index.d.ts +0 -42
  2122. package/node_modules/micromark-factory-destination/dev/index.d.ts.map +0 -1
  2123. package/node_modules/micromark-factory-destination/dev/index.js +0 -255
  2124. package/node_modules/micromark-factory-destination/index.d.ts +0 -42
  2125. package/node_modules/micromark-factory-destination/index.d.ts.map +0 -1
  2126. package/node_modules/micromark-factory-destination/index.js +0 -206
  2127. package/node_modules/micromark-factory-destination/license +0 -22
  2128. package/node_modules/micromark-factory-destination/package.json +0 -57
  2129. package/node_modules/micromark-factory-destination/readme.md +0 -234
  2130. package/node_modules/micromark-factory-label/dev/index.d.ts +0 -37
  2131. package/node_modules/micromark-factory-label/dev/index.d.ts.map +0 -1
  2132. package/node_modules/micromark-factory-label/dev/index.js +0 -172
  2133. package/node_modules/micromark-factory-label/index.d.ts +0 -37
  2134. package/node_modules/micromark-factory-label/index.d.ts.map +0 -1
  2135. package/node_modules/micromark-factory-label/index.js +0 -148
  2136. package/node_modules/micromark-factory-label/license +0 -22
  2137. package/node_modules/micromark-factory-label/package.json +0 -60
  2138. package/node_modules/micromark-factory-label/readme.md +0 -224
  2139. package/node_modules/micromark-factory-space/dev/index.d.ts +0 -37
  2140. package/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
  2141. package/node_modules/micromark-factory-space/dev/index.js +0 -67
  2142. package/node_modules/micromark-factory-space/index.d.ts +0 -37
  2143. package/node_modules/micromark-factory-space/index.d.ts.map +0 -1
  2144. package/node_modules/micromark-factory-space/index.js +0 -64
  2145. package/node_modules/micromark-factory-space/license +0 -22
  2146. package/node_modules/micromark-factory-space/package.json +0 -55
  2147. package/node_modules/micromark-factory-space/readme.md +0 -225
  2148. package/node_modules/micromark-factory-title/dev/index.d.ts +0 -36
  2149. package/node_modules/micromark-factory-title/dev/index.d.ts.map +0 -1
  2150. package/node_modules/micromark-factory-title/dev/index.js +0 -169
  2151. package/node_modules/micromark-factory-title/index.d.ts +0 -36
  2152. package/node_modules/micromark-factory-title/index.d.ts.map +0 -1
  2153. package/node_modules/micromark-factory-title/index.js +0 -158
  2154. package/node_modules/micromark-factory-title/license +0 -22
  2155. package/node_modules/micromark-factory-title/package.json +0 -58
  2156. package/node_modules/micromark-factory-title/readme.md +0 -229
  2157. package/node_modules/micromark-factory-whitespace/dev/index.d.ts +0 -22
  2158. package/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +0 -1
  2159. package/node_modules/micromark-factory-whitespace/dev/index.js +0 -53
  2160. package/node_modules/micromark-factory-whitespace/index.d.ts +0 -22
  2161. package/node_modules/micromark-factory-whitespace/index.d.ts.map +0 -1
  2162. package/node_modules/micromark-factory-whitespace/index.js +0 -44
  2163. package/node_modules/micromark-factory-whitespace/license +0 -22
  2164. package/node_modules/micromark-factory-whitespace/package.json +0 -57
  2165. package/node_modules/micromark-factory-whitespace/readme.md +0 -205
  2166. package/node_modules/micromark-util-character/dev/index.d.ts +0 -195
  2167. package/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
  2168. package/node_modules/micromark-util-character/dev/index.js +0 -252
  2169. package/node_modules/micromark-util-character/index.d.ts +0 -195
  2170. package/node_modules/micromark-util-character/index.d.ts.map +0 -1
  2171. package/node_modules/micromark-util-character/index.js +0 -246
  2172. package/node_modules/micromark-util-character/license +0 -22
  2173. package/node_modules/micromark-util-character/package.json +0 -57
  2174. package/node_modules/micromark-util-character/readme.md +0 -446
  2175. package/node_modules/micromark-util-chunked/dev/index.d.ts +0 -41
  2176. package/node_modules/micromark-util-chunked/dev/index.d.ts.map +0 -1
  2177. package/node_modules/micromark-util-chunked/dev/index.js +0 -89
  2178. package/node_modules/micromark-util-chunked/index.d.ts +0 -41
  2179. package/node_modules/micromark-util-chunked/index.d.ts.map +0 -1
  2180. package/node_modules/micromark-util-chunked/index.js +0 -81
  2181. package/node_modules/micromark-util-chunked/license +0 -22
  2182. package/node_modules/micromark-util-chunked/package.json +0 -57
  2183. package/node_modules/micromark-util-chunked/readme.md +0 -219
  2184. package/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
  2185. package/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
  2186. package/node_modules/micromark-util-classify-character/dev/index.js +0 -38
  2187. package/node_modules/micromark-util-classify-character/index.d.ts +0 -18
  2188. package/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
  2189. package/node_modules/micromark-util-classify-character/index.js +0 -27
  2190. package/node_modules/micromark-util-classify-character/license +0 -22
  2191. package/node_modules/micromark-util-classify-character/package.json +0 -59
  2192. package/node_modules/micromark-util-classify-character/readme.md +0 -205
  2193. package/node_modules/micromark-util-combine-extensions/index.d.ts +0 -22
  2194. package/node_modules/micromark-util-combine-extensions/index.d.ts.map +0 -1
  2195. package/node_modules/micromark-util-combine-extensions/index.js +0 -143
  2196. package/node_modules/micromark-util-combine-extensions/license +0 -22
  2197. package/node_modules/micromark-util-combine-extensions/package.json +0 -52
  2198. package/node_modules/micromark-util-combine-extensions/readme.md +0 -201
  2199. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
  2200. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
  2201. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
  2202. package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
  2203. package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
  2204. package/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
  2205. package/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
  2206. package/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
  2207. package/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
  2208. package/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
  2209. package/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
  2210. package/node_modules/micromark-util-decode-string/dev/index.js +0 -53
  2211. package/node_modules/micromark-util-decode-string/index.d.ts +0 -14
  2212. package/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
  2213. package/node_modules/micromark-util-decode-string/index.js +0 -45
  2214. package/node_modules/micromark-util-decode-string/license +0 -22
  2215. package/node_modules/micromark-util-decode-string/package.json +0 -63
  2216. package/node_modules/micromark-util-decode-string/readme.md +0 -179
  2217. package/node_modules/micromark-util-encode/index.d.ts +0 -14
  2218. package/node_modules/micromark-util-encode/index.d.ts.map +0 -1
  2219. package/node_modules/micromark-util-encode/index.js +0 -33
  2220. package/node_modules/micromark-util-encode/license +0 -22
  2221. package/node_modules/micromark-util-encode/package.json +0 -47
  2222. package/node_modules/micromark-util-encode/readme.md +0 -176
  2223. package/node_modules/micromark-util-html-tag-name/index.d.ts +0 -30
  2224. package/node_modules/micromark-util-html-tag-name/index.d.ts.map +0 -1
  2225. package/node_modules/micromark-util-html-tag-name/index.js +0 -93
  2226. package/node_modules/micromark-util-html-tag-name/license +0 -22
  2227. package/node_modules/micromark-util-html-tag-name/package.json +0 -47
  2228. package/node_modules/micromark-util-html-tag-name/readme.md +0 -193
  2229. package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +0 -21
  2230. package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +0 -1
  2231. package/node_modules/micromark-util-normalize-identifier/dev/index.js +0 -38
  2232. package/node_modules/micromark-util-normalize-identifier/index.d.ts +0 -21
  2233. package/node_modules/micromark-util-normalize-identifier/index.d.ts.map +0 -1
  2234. package/node_modules/micromark-util-normalize-identifier/index.js +0 -33
  2235. package/node_modules/micromark-util-normalize-identifier/license +0 -22
  2236. package/node_modules/micromark-util-normalize-identifier/package.json +0 -58
  2237. package/node_modules/micromark-util-normalize-identifier/readme.md +0 -187
  2238. package/node_modules/micromark-util-resolve-all/index.d.ts +0 -22
  2239. package/node_modules/micromark-util-resolve-all/index.d.ts.map +0 -1
  2240. package/node_modules/micromark-util-resolve-all/index.js +0 -32
  2241. package/node_modules/micromark-util-resolve-all/license +0 -22
  2242. package/node_modules/micromark-util-resolve-all/package.json +0 -48
  2243. package/node_modules/micromark-util-resolve-all/readme.md +0 -238
  2244. package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +0 -36
  2245. package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +0 -1
  2246. package/node_modules/micromark-util-sanitize-uri/dev/index.js +0 -124
  2247. package/node_modules/micromark-util-sanitize-uri/index.d.ts +0 -36
  2248. package/node_modules/micromark-util-sanitize-uri/index.d.ts.map +0 -1
  2249. package/node_modules/micromark-util-sanitize-uri/index.js +0 -107
  2250. package/node_modules/micromark-util-sanitize-uri/license +0 -22
  2251. package/node_modules/micromark-util-sanitize-uri/package.json +0 -59
  2252. package/node_modules/micromark-util-sanitize-uri/readme.md +0 -214
  2253. package/node_modules/micromark-util-subtokenize/dev/index.d.ts +0 -12
  2254. package/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +0 -1
  2255. package/node_modules/micromark-util-subtokenize/dev/index.js +0 -284
  2256. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +0 -161
  2257. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +0 -1
  2258. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +0 -288
  2259. package/node_modules/micromark-util-subtokenize/index.d.ts +0 -12
  2260. package/node_modules/micromark-util-subtokenize/index.d.ts.map +0 -1
  2261. package/node_modules/micromark-util-subtokenize/index.js +0 -228
  2262. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +0 -161
  2263. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +0 -1
  2264. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -251
  2265. package/node_modules/micromark-util-subtokenize/license +0 -22
  2266. package/node_modules/micromark-util-subtokenize/package.json +0 -60
  2267. package/node_modules/micromark-util-subtokenize/readme.md +0 -181
  2268. package/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
  2269. package/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
  2270. package/node_modules/micromark-util-symbol/lib/codes.js +0 -158
  2271. package/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
  2272. package/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
  2273. package/node_modules/micromark-util-symbol/lib/constants.js +0 -44
  2274. package/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
  2275. package/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
  2276. package/node_modules/micromark-util-symbol/lib/default.js +0 -4
  2277. package/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
  2278. package/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
  2279. package/node_modules/micromark-util-symbol/lib/types.js +0 -453
  2280. package/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
  2281. package/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
  2282. package/node_modules/micromark-util-symbol/lib/values.js +0 -109
  2283. package/node_modules/micromark-util-symbol/license +0 -22
  2284. package/node_modules/micromark-util-symbol/package.json +0 -43
  2285. package/node_modules/micromark-util-symbol/readme.md +0 -168
  2286. package/node_modules/micromark-util-types/index.d.ts +0 -1312
  2287. package/node_modules/micromark-util-types/index.js +0 -2
  2288. package/node_modules/micromark-util-types/license +0 -22
  2289. package/node_modules/micromark-util-types/package.json +0 -71
  2290. package/node_modules/micromark-util-types/readme.md +0 -151
  2291. package/node_modules/ms/index.js +0 -162
  2292. package/node_modules/ms/license.md +0 -21
  2293. package/node_modules/ms/package.json +0 -38
  2294. package/node_modules/ms/readme.md +0 -59
  2295. package/node_modules/p-map/index.d.ts +0 -155
  2296. package/node_modules/p-map/index.js +0 -284
  2297. package/node_modules/p-map/license +0 -9
  2298. package/node_modules/p-map/package.json +0 -57
  2299. package/node_modules/p-map/readme.md +0 -190
  2300. package/node_modules/unist-util-stringify-position/index.d.ts +0 -1
  2301. package/node_modules/unist-util-stringify-position/index.js +0 -1
  2302. package/node_modules/unist-util-stringify-position/lib/index.d.ts +0 -61
  2303. package/node_modules/unist-util-stringify-position/lib/index.js +0 -84
  2304. package/node_modules/unist-util-stringify-position/license +0 -22
  2305. package/node_modules/unist-util-stringify-position/package.json +0 -80
  2306. package/node_modules/unist-util-stringify-position/readme.md +0 -206
  2307. package/node_modules/uuid/LICENSE.md +0 -9
  2308. package/node_modules/uuid/README.md +0 -491
  2309. package/node_modules/uuid/dist/index.d.ts +0 -15
  2310. package/node_modules/uuid/dist/index.js +0 -14
  2311. package/node_modules/uuid/dist/max.d.ts +0 -2
  2312. package/node_modules/uuid/dist/max.js +0 -1
  2313. package/node_modules/uuid/dist/md5.d.ts +0 -2
  2314. package/node_modules/uuid/dist/md5.js +0 -135
  2315. package/node_modules/uuid/dist/nil.d.ts +0 -2
  2316. package/node_modules/uuid/dist/nil.js +0 -1
  2317. package/node_modules/uuid/dist/parse.d.ts +0 -3
  2318. package/node_modules/uuid/dist/parse.js +0 -9
  2319. package/node_modules/uuid/dist/regex.d.ts +0 -2
  2320. package/node_modules/uuid/dist/regex.js +0 -1
  2321. package/node_modules/uuid/dist/rng.d.ts +0 -1
  2322. package/node_modules/uuid/dist/rng.js +0 -4
  2323. package/node_modules/uuid/dist/sha1.d.ts +0 -2
  2324. package/node_modules/uuid/dist/sha1.js +0 -70
  2325. package/node_modules/uuid/dist/stringify.d.ts +0 -3
  2326. package/node_modules/uuid/dist/stringify.js +0 -35
  2327. package/node_modules/uuid/dist/types.d.ts +0 -22
  2328. package/node_modules/uuid/dist/types.js +0 -1
  2329. package/node_modules/uuid/dist/uuid-bin.d.ts +0 -1
  2330. package/node_modules/uuid/dist/uuid-bin.js +0 -70
  2331. package/node_modules/uuid/dist/v1.d.ts +0 -11
  2332. package/node_modules/uuid/dist/v1.js +0 -83
  2333. package/node_modules/uuid/dist/v1ToV6.d.ts +0 -3
  2334. package/node_modules/uuid/dist/v1ToV6.js +0 -10
  2335. package/node_modules/uuid/dist/v3.d.ts +0 -9
  2336. package/node_modules/uuid/dist/v3.js +0 -9
  2337. package/node_modules/uuid/dist/v35.d.ts +0 -7
  2338. package/node_modules/uuid/dist/v35.js +0 -39
  2339. package/node_modules/uuid/dist/v4.d.ts +0 -4
  2340. package/node_modules/uuid/dist/v4.js +0 -29
  2341. package/node_modules/uuid/dist/v5.d.ts +0 -9
  2342. package/node_modules/uuid/dist/v5.js +0 -9
  2343. package/node_modules/uuid/dist/v6.d.ts +0 -4
  2344. package/node_modules/uuid/dist/v6.js +0 -20
  2345. package/node_modules/uuid/dist/v6ToV1.d.ts +0 -2
  2346. package/node_modules/uuid/dist/v6ToV1.js +0 -10
  2347. package/node_modules/uuid/dist/v7.d.ts +0 -9
  2348. package/node_modules/uuid/dist/v7.js +0 -65
  2349. package/node_modules/uuid/dist/validate.d.ts +0 -2
  2350. package/node_modules/uuid/dist/validate.js +0 -5
  2351. package/node_modules/uuid/dist/version.d.ts +0 -2
  2352. package/node_modules/uuid/dist/version.js +0 -8
  2353. package/node_modules/uuid/dist-node/bin/uuid +0 -2
  2354. package/node_modules/uuid/dist-node/index.js +0 -14
  2355. package/node_modules/uuid/dist-node/max.js +0 -1
  2356. package/node_modules/uuid/dist-node/md5.js +0 -11
  2357. package/node_modules/uuid/dist-node/nil.js +0 -1
  2358. package/node_modules/uuid/dist-node/parse.js +0 -9
  2359. package/node_modules/uuid/dist-node/regex.js +0 -1
  2360. package/node_modules/uuid/dist-node/rng.js +0 -4
  2361. package/node_modules/uuid/dist-node/sha1.js +0 -11
  2362. package/node_modules/uuid/dist-node/stringify.js +0 -35
  2363. package/node_modules/uuid/dist-node/types.js +0 -1
  2364. package/node_modules/uuid/dist-node/uuid-bin.js +0 -70
  2365. package/node_modules/uuid/dist-node/v1.js +0 -83
  2366. package/node_modules/uuid/dist-node/v1ToV6.js +0 -10
  2367. package/node_modules/uuid/dist-node/v3.js +0 -9
  2368. package/node_modules/uuid/dist-node/v35.js +0 -39
  2369. package/node_modules/uuid/dist-node/v4.js +0 -29
  2370. package/node_modules/uuid/dist-node/v5.js +0 -9
  2371. package/node_modules/uuid/dist-node/v6.js +0 -20
  2372. package/node_modules/uuid/dist-node/v6ToV1.js +0 -10
  2373. package/node_modules/uuid/dist-node/v7.js +0 -65
  2374. package/node_modules/uuid/dist-node/validate.js +0 -5
  2375. package/node_modules/uuid/dist-node/version.js +0 -8
  2376. package/node_modules/uuid/package.json +0 -114
  2377. package/node_modules/zod/LICENSE +0 -21
  2378. package/node_modules/zod/README.md +0 -191
  2379. package/node_modules/zod/index.cjs +0 -33
  2380. package/node_modules/zod/index.d.cts +0 -4
  2381. package/node_modules/zod/index.d.ts +0 -4
  2382. package/node_modules/zod/index.js +0 -4
  2383. package/node_modules/zod/locales/index.cjs +0 -17
  2384. package/node_modules/zod/locales/index.d.cts +0 -1
  2385. package/node_modules/zod/locales/index.d.ts +0 -1
  2386. package/node_modules/zod/locales/index.js +0 -1
  2387. package/node_modules/zod/locales/package.json +0 -7
  2388. package/node_modules/zod/mini/index.cjs +0 -32
  2389. package/node_modules/zod/mini/index.d.cts +0 -3
  2390. package/node_modules/zod/mini/index.d.ts +0 -3
  2391. package/node_modules/zod/mini/index.js +0 -3
  2392. package/node_modules/zod/mini/package.json +0 -7
  2393. package/node_modules/zod/package.json +0 -135
  2394. package/node_modules/zod/src/index.ts +0 -4
  2395. package/node_modules/zod/src/locales/index.ts +0 -1
  2396. package/node_modules/zod/src/mini/index.ts +0 -3
  2397. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  2398. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  2399. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  2400. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  2401. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  2402. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  2403. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  2404. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  2405. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  2406. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  2407. package/node_modules/zod/src/v3/errors.ts +0 -13
  2408. package/node_modules/zod/src/v3/external.ts +0 -6
  2409. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  2410. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  2411. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  2412. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  2413. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  2414. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  2415. package/node_modules/zod/src/v3/index.ts +0 -4
  2416. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  2417. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  2418. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  2419. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  2420. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  2421. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  2422. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  2423. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  2424. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  2425. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  2426. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  2427. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  2428. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  2429. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  2430. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  2431. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  2432. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  2433. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  2434. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  2435. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  2436. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  2437. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  2438. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  2439. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  2440. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  2441. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  2442. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  2443. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  2444. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  2445. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  2446. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  2447. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  2448. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  2449. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  2450. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  2451. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  2452. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  2453. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  2454. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  2455. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  2456. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  2457. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  2458. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  2459. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  2460. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  2461. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  2462. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  2463. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  2464. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  2465. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  2466. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  2467. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  2468. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  2469. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  2470. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  2471. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  2472. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  2473. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  2474. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  2475. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  2476. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  2477. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  2478. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  2479. package/node_modules/zod/src/v3/types.ts +0 -5138
  2480. package/node_modules/zod/src/v4/classic/checks.ts +0 -32
  2481. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  2482. package/node_modules/zod/src/v4/classic/compat.ts +0 -70
  2483. package/node_modules/zod/src/v4/classic/errors.ts +0 -82
  2484. package/node_modules/zod/src/v4/classic/external.ts +0 -52
  2485. package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -659
  2486. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  2487. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  2488. package/node_modules/zod/src/v4/classic/parse.ts +0 -82
  2489. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2672
  2490. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  2491. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
  2492. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  2493. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -216
  2494. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  2495. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  2496. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  2497. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  2498. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  2499. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -326
  2500. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  2501. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
  2502. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -703
  2503. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  2504. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  2505. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  2506. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
  2507. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
  2508. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -409
  2509. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  2510. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  2511. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
  2512. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -694
  2513. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  2514. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -807
  2515. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  2516. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  2517. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  2518. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  2519. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -895
  2520. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
  2521. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  2522. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
  2523. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
  2524. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
  2525. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
  2526. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
  2527. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
  2528. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  2529. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  2530. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
  2531. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  2532. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  2533. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
  2534. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  2535. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  2536. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  2537. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  2538. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -325
  2539. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -717
  2540. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -333
  2541. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -450
  2542. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  2543. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  2544. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
  2545. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
  2546. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  2547. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  2548. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  2549. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  2550. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  2551. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -717
  2552. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -631
  2553. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -633
  2554. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  2555. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
  2556. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
  2557. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  2558. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1224
  2559. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
  2560. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
  2561. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  2562. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -3125
  2563. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  2564. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
  2565. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -273
  2566. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  2567. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  2568. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  2569. package/node_modules/zod/src/v4/core/api.ts +0 -1823
  2570. package/node_modules/zod/src/v4/core/checks.ts +0 -1293
  2571. package/node_modules/zod/src/v4/core/config.ts +0 -15
  2572. package/node_modules/zod/src/v4/core/core.ts +0 -153
  2573. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  2574. package/node_modules/zod/src/v4/core/errors.ts +0 -455
  2575. package/node_modules/zod/src/v4/core/index.ts +0 -16
  2576. package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
  2577. package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -666
  2578. package/node_modules/zod/src/v4/core/json-schema.ts +0 -147
  2579. package/node_modules/zod/src/v4/core/parse.ts +0 -195
  2580. package/node_modules/zod/src/v4/core/regexes.ts +0 -190
  2581. package/node_modules/zod/src/v4/core/registries.ts +0 -105
  2582. package/node_modules/zod/src/v4/core/schemas.ts +0 -4730
  2583. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  2584. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  2585. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  2586. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  2587. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
  2588. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  2589. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
  2590. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  2591. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  2592. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  2593. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  2594. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  2595. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  2596. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  2597. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  2598. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  2599. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -622
  2600. package/node_modules/zod/src/v4/core/util.ts +0 -983
  2601. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  2602. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  2603. package/node_modules/zod/src/v4/index.ts +0 -4
  2604. package/node_modules/zod/src/v4/locales/ar.ts +0 -115
  2605. package/node_modules/zod/src/v4/locales/az.ts +0 -111
  2606. package/node_modules/zod/src/v4/locales/be.ts +0 -176
  2607. package/node_modules/zod/src/v4/locales/bg.ts +0 -128
  2608. package/node_modules/zod/src/v4/locales/ca.ts +0 -116
  2609. package/node_modules/zod/src/v4/locales/cs.ts +0 -118
  2610. package/node_modules/zod/src/v4/locales/da.ts +0 -123
  2611. package/node_modules/zod/src/v4/locales/de.ts +0 -116
  2612. package/node_modules/zod/src/v4/locales/el.ts +0 -121
  2613. package/node_modules/zod/src/v4/locales/en.ts +0 -123
  2614. package/node_modules/zod/src/v4/locales/eo.ts +0 -118
  2615. package/node_modules/zod/src/v4/locales/es.ts +0 -141
  2616. package/node_modules/zod/src/v4/locales/fa.ts +0 -126
  2617. package/node_modules/zod/src/v4/locales/fi.ts +0 -121
  2618. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
  2619. package/node_modules/zod/src/v4/locales/fr.ts +0 -132
  2620. package/node_modules/zod/src/v4/locales/he.ts +0 -246
  2621. package/node_modules/zod/src/v4/locales/hr.ts +0 -131
  2622. package/node_modules/zod/src/v4/locales/hu.ts +0 -117
  2623. package/node_modules/zod/src/v4/locales/hy.ts +0 -164
  2624. package/node_modules/zod/src/v4/locales/id.ts +0 -115
  2625. package/node_modules/zod/src/v4/locales/index.ts +0 -52
  2626. package/node_modules/zod/src/v4/locales/is.ts +0 -119
  2627. package/node_modules/zod/src/v4/locales/it.ts +0 -116
  2628. package/node_modules/zod/src/v4/locales/ja.ts +0 -114
  2629. package/node_modules/zod/src/v4/locales/ka.ts +0 -123
  2630. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  2631. package/node_modules/zod/src/v4/locales/km.ts +0 -119
  2632. package/node_modules/zod/src/v4/locales/ko.ts +0 -121
  2633. package/node_modules/zod/src/v4/locales/lt.ts +0 -239
  2634. package/node_modules/zod/src/v4/locales/mk.ts +0 -118
  2635. package/node_modules/zod/src/v4/locales/ms.ts +0 -115
  2636. package/node_modules/zod/src/v4/locales/nl.ts +0 -121
  2637. package/node_modules/zod/src/v4/locales/no.ts +0 -116
  2638. package/node_modules/zod/src/v4/locales/ota.ts +0 -117
  2639. package/node_modules/zod/src/v4/locales/pl.ts +0 -118
  2640. package/node_modules/zod/src/v4/locales/ps.ts +0 -126
  2641. package/node_modules/zod/src/v4/locales/pt.ts +0 -116
  2642. package/node_modules/zod/src/v4/locales/ro.ts +0 -129
  2643. package/node_modules/zod/src/v4/locales/ru.ts +0 -176
  2644. package/node_modules/zod/src/v4/locales/sl.ts +0 -118
  2645. package/node_modules/zod/src/v4/locales/sv.ts +0 -119
  2646. package/node_modules/zod/src/v4/locales/ta.ts +0 -118
  2647. package/node_modules/zod/src/v4/locales/th.ts +0 -119
  2648. package/node_modules/zod/src/v4/locales/tr.ts +0 -111
  2649. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  2650. package/node_modules/zod/src/v4/locales/uk.ts +0 -117
  2651. package/node_modules/zod/src/v4/locales/ur.ts +0 -119
  2652. package/node_modules/zod/src/v4/locales/uz.ts +0 -117
  2653. package/node_modules/zod/src/v4/locales/vi.ts +0 -117
  2654. package/node_modules/zod/src/v4/locales/yo.ts +0 -124
  2655. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
  2656. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
  2657. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  2658. package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  2659. package/node_modules/zod/src/v4/mini/external.ts +0 -41
  2660. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  2661. package/node_modules/zod/src/v4/mini/iso.ts +0 -66
  2662. package/node_modules/zod/src/v4/mini/parse.ts +0 -14
  2663. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1947
  2664. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
  2665. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  2666. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  2667. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  2668. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -548
  2669. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  2670. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  2671. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
  2672. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -993
  2673. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  2674. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
  2675. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  2676. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -325
  2677. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  2678. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -352
  2679. package/node_modules/zod/src/v4-mini/index.ts +0 -3
  2680. package/node_modules/zod/v3/ZodError.cjs +0 -138
  2681. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  2682. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  2683. package/node_modules/zod/v3/ZodError.js +0 -133
  2684. package/node_modules/zod/v3/errors.cjs +0 -17
  2685. package/node_modules/zod/v3/errors.d.cts +0 -5
  2686. package/node_modules/zod/v3/errors.d.ts +0 -5
  2687. package/node_modules/zod/v3/errors.js +0 -9
  2688. package/node_modules/zod/v3/external.cjs +0 -22
  2689. package/node_modules/zod/v3/external.d.cts +0 -6
  2690. package/node_modules/zod/v3/external.d.ts +0 -6
  2691. package/node_modules/zod/v3/external.js +0 -6
  2692. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  2693. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  2694. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  2695. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  2696. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  2697. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  2698. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  2699. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  2700. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  2701. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  2702. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  2703. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  2704. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  2705. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  2706. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  2707. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  2708. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  2709. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  2710. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  2711. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  2712. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  2713. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  2714. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  2715. package/node_modules/zod/v3/helpers/util.js +0 -133
  2716. package/node_modules/zod/v3/index.cjs +0 -33
  2717. package/node_modules/zod/v3/index.d.cts +0 -4
  2718. package/node_modules/zod/v3/index.d.ts +0 -4
  2719. package/node_modules/zod/v3/index.js +0 -4
  2720. package/node_modules/zod/v3/locales/en.cjs +0 -112
  2721. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  2722. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  2723. package/node_modules/zod/v3/locales/en.js +0 -109
  2724. package/node_modules/zod/v3/package.json +0 -7
  2725. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  2726. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  2727. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  2728. package/node_modules/zod/v3/standard-schema.js +0 -1
  2729. package/node_modules/zod/v3/types.cjs +0 -3777
  2730. package/node_modules/zod/v3/types.d.cts +0 -1034
  2731. package/node_modules/zod/v3/types.d.ts +0 -1034
  2732. package/node_modules/zod/v3/types.js +0 -3695
  2733. package/node_modules/zod/v4/classic/checks.cjs +0 -33
  2734. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  2735. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  2736. package/node_modules/zod/v4/classic/checks.js +0 -1
  2737. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  2738. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  2739. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  2740. package/node_modules/zod/v4/classic/coerce.js +0 -17
  2741. package/node_modules/zod/v4/classic/compat.cjs +0 -61
  2742. package/node_modules/zod/v4/classic/compat.d.cts +0 -50
  2743. package/node_modules/zod/v4/classic/compat.d.ts +0 -50
  2744. package/node_modules/zod/v4/classic/compat.js +0 -31
  2745. package/node_modules/zod/v4/classic/errors.cjs +0 -74
  2746. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  2747. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  2748. package/node_modules/zod/v4/classic/errors.js +0 -48
  2749. package/node_modules/zod/v4/classic/external.cjs +0 -73
  2750. package/node_modules/zod/v4/classic/external.d.cts +0 -16
  2751. package/node_modules/zod/v4/classic/external.d.ts +0 -16
  2752. package/node_modules/zod/v4/classic/external.js +0 -20
  2753. package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -625
  2754. package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  2755. package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  2756. package/node_modules/zod/v4/classic/from-json-schema.js +0 -599
  2757. package/node_modules/zod/v4/classic/index.cjs +0 -33
  2758. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  2759. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  2760. package/node_modules/zod/v4/classic/index.js +0 -4
  2761. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  2762. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  2763. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  2764. package/node_modules/zod/v4/classic/iso.js +0 -30
  2765. package/node_modules/zod/v4/classic/package.json +0 -7
  2766. package/node_modules/zod/v4/classic/parse.cjs +0 -41
  2767. package/node_modules/zod/v4/classic/parse.d.cts +0 -31
  2768. package/node_modules/zod/v4/classic/parse.d.ts +0 -31
  2769. package/node_modules/zod/v4/classic/parse.js +0 -15
  2770. package/node_modules/zod/v4/classic/schemas.cjs +0 -1511
  2771. package/node_modules/zod/v4/classic/schemas.d.cts +0 -767
  2772. package/node_modules/zod/v4/classic/schemas.d.ts +0 -767
  2773. package/node_modules/zod/v4/classic/schemas.js +0 -1395
  2774. package/node_modules/zod/v4/core/api.cjs +0 -1227
  2775. package/node_modules/zod/v4/core/api.d.cts +0 -325
  2776. package/node_modules/zod/v4/core/api.d.ts +0 -325
  2777. package/node_modules/zod/v4/core/api.js +0 -1087
  2778. package/node_modules/zod/v4/core/checks.cjs +0 -601
  2779. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  2780. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  2781. package/node_modules/zod/v4/core/checks.js +0 -575
  2782. package/node_modules/zod/v4/core/core.cjs +0 -85
  2783. package/node_modules/zod/v4/core/core.d.cts +0 -70
  2784. package/node_modules/zod/v4/core/core.d.ts +0 -70
  2785. package/node_modules/zod/v4/core/core.js +0 -78
  2786. package/node_modules/zod/v4/core/doc.cjs +0 -39
  2787. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  2788. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  2789. package/node_modules/zod/v4/core/doc.js +0 -35
  2790. package/node_modules/zod/v4/core/errors.cjs +0 -216
  2791. package/node_modules/zod/v4/core/errors.d.cts +0 -221
  2792. package/node_modules/zod/v4/core/errors.d.ts +0 -221
  2793. package/node_modules/zod/v4/core/errors.js +0 -185
  2794. package/node_modules/zod/v4/core/index.cjs +0 -47
  2795. package/node_modules/zod/v4/core/index.d.cts +0 -16
  2796. package/node_modules/zod/v4/core/index.d.ts +0 -16
  2797. package/node_modules/zod/v4/core/index.js +0 -16
  2798. package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
  2799. package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  2800. package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  2801. package/node_modules/zod/v4/core/json-schema-generator.js +0 -95
  2802. package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -644
  2803. package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
  2804. package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
  2805. package/node_modules/zod/v4/core/json-schema-processors.js +0 -601
  2806. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  2807. package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
  2808. package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
  2809. package/node_modules/zod/v4/core/json-schema.js +0 -1
  2810. package/node_modules/zod/v4/core/package.json +0 -7
  2811. package/node_modules/zod/v4/core/parse.cjs +0 -131
  2812. package/node_modules/zod/v4/core/parse.d.cts +0 -49
  2813. package/node_modules/zod/v4/core/parse.d.ts +0 -49
  2814. package/node_modules/zod/v4/core/parse.js +0 -93
  2815. package/node_modules/zod/v4/core/regexes.cjs +0 -172
  2816. package/node_modules/zod/v4/core/regexes.d.cts +0 -85
  2817. package/node_modules/zod/v4/core/regexes.d.ts +0 -85
  2818. package/node_modules/zod/v4/core/regexes.js +0 -139
  2819. package/node_modules/zod/v4/core/registries.cjs +0 -56
  2820. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  2821. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  2822. package/node_modules/zod/v4/core/registries.js +0 -51
  2823. package/node_modules/zod/v4/core/schemas.cjs +0 -2270
  2824. package/node_modules/zod/v4/core/schemas.d.cts +0 -1184
  2825. package/node_modules/zod/v4/core/schemas.d.ts +0 -1184
  2826. package/node_modules/zod/v4/core/schemas.js +0 -2239
  2827. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  2828. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  2829. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  2830. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  2831. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -457
  2832. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
  2833. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
  2834. package/node_modules/zod/v4/core/to-json-schema.js +0 -448
  2835. package/node_modules/zod/v4/core/util.cjs +0 -734
  2836. package/node_modules/zod/v4/core/util.d.cts +0 -200
  2837. package/node_modules/zod/v4/core/util.d.ts +0 -200
  2838. package/node_modules/zod/v4/core/util.js +0 -674
  2839. package/node_modules/zod/v4/core/versions.cjs +0 -8
  2840. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  2841. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  2842. package/node_modules/zod/v4/core/versions.js +0 -5
  2843. package/node_modules/zod/v4/index.cjs +0 -22
  2844. package/node_modules/zod/v4/index.d.cts +0 -3
  2845. package/node_modules/zod/v4/index.d.ts +0 -3
  2846. package/node_modules/zod/v4/index.js +0 -3
  2847. package/node_modules/zod/v4/locales/ar.cjs +0 -133
  2848. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  2849. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  2850. package/node_modules/zod/v4/locales/ar.js +0 -106
  2851. package/node_modules/zod/v4/locales/az.cjs +0 -132
  2852. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  2853. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  2854. package/node_modules/zod/v4/locales/az.js +0 -105
  2855. package/node_modules/zod/v4/locales/be.cjs +0 -183
  2856. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  2857. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  2858. package/node_modules/zod/v4/locales/be.js +0 -156
  2859. package/node_modules/zod/v4/locales/bg.cjs +0 -147
  2860. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  2861. package/node_modules/zod/v4/locales/bg.d.ts +0 -4
  2862. package/node_modules/zod/v4/locales/bg.js +0 -120
  2863. package/node_modules/zod/v4/locales/ca.cjs +0 -134
  2864. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  2865. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  2866. package/node_modules/zod/v4/locales/ca.js +0 -107
  2867. package/node_modules/zod/v4/locales/cs.cjs +0 -138
  2868. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  2869. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  2870. package/node_modules/zod/v4/locales/cs.js +0 -111
  2871. package/node_modules/zod/v4/locales/da.cjs +0 -142
  2872. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  2873. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  2874. package/node_modules/zod/v4/locales/da.js +0 -115
  2875. package/node_modules/zod/v4/locales/de.cjs +0 -135
  2876. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  2877. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  2878. package/node_modules/zod/v4/locales/de.js +0 -108
  2879. package/node_modules/zod/v4/locales/el.cjs +0 -136
  2880. package/node_modules/zod/v4/locales/el.d.cts +0 -5
  2881. package/node_modules/zod/v4/locales/el.d.ts +0 -4
  2882. package/node_modules/zod/v4/locales/el.js +0 -109
  2883. package/node_modules/zod/v4/locales/en.cjs +0 -140
  2884. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  2885. package/node_modules/zod/v4/locales/en.d.ts +0 -4
  2886. package/node_modules/zod/v4/locales/en.js +0 -113
  2887. package/node_modules/zod/v4/locales/eo.cjs +0 -136
  2888. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  2889. package/node_modules/zod/v4/locales/eo.d.ts +0 -4
  2890. package/node_modules/zod/v4/locales/eo.js +0 -109
  2891. package/node_modules/zod/v4/locales/es.cjs +0 -159
  2892. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  2893. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  2894. package/node_modules/zod/v4/locales/es.js +0 -132
  2895. package/node_modules/zod/v4/locales/fa.cjs +0 -141
  2896. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  2897. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  2898. package/node_modules/zod/v4/locales/fa.js +0 -114
  2899. package/node_modules/zod/v4/locales/fi.cjs +0 -139
  2900. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  2901. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  2902. package/node_modules/zod/v4/locales/fi.js +0 -112
  2903. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
  2904. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  2905. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  2906. package/node_modules/zod/v4/locales/fr-CA.js +0 -107
  2907. package/node_modules/zod/v4/locales/fr.cjs +0 -152
  2908. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  2909. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  2910. package/node_modules/zod/v4/locales/fr.js +0 -125
  2911. package/node_modules/zod/v4/locales/he.cjs +0 -241
  2912. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  2913. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  2914. package/node_modules/zod/v4/locales/he.js +0 -214
  2915. package/node_modules/zod/v4/locales/hr.cjs +0 -149
  2916. package/node_modules/zod/v4/locales/hr.d.cts +0 -5
  2917. package/node_modules/zod/v4/locales/hr.d.ts +0 -4
  2918. package/node_modules/zod/v4/locales/hr.js +0 -122
  2919. package/node_modules/zod/v4/locales/hu.cjs +0 -135
  2920. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  2921. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  2922. package/node_modules/zod/v4/locales/hu.js +0 -108
  2923. package/node_modules/zod/v4/locales/hy.cjs +0 -174
  2924. package/node_modules/zod/v4/locales/hy.d.cts +0 -5
  2925. package/node_modules/zod/v4/locales/hy.d.ts +0 -4
  2926. package/node_modules/zod/v4/locales/hy.js +0 -147
  2927. package/node_modules/zod/v4/locales/id.cjs +0 -133
  2928. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  2929. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  2930. package/node_modules/zod/v4/locales/id.js +0 -106
  2931. package/node_modules/zod/v4/locales/index.cjs +0 -111
  2932. package/node_modules/zod/v4/locales/index.d.cts +0 -52
  2933. package/node_modules/zod/v4/locales/index.d.ts +0 -52
  2934. package/node_modules/zod/v4/locales/index.js +0 -52
  2935. package/node_modules/zod/v4/locales/is.cjs +0 -136
  2936. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  2937. package/node_modules/zod/v4/locales/is.d.ts +0 -4
  2938. package/node_modules/zod/v4/locales/is.js +0 -109
  2939. package/node_modules/zod/v4/locales/it.cjs +0 -135
  2940. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  2941. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  2942. package/node_modules/zod/v4/locales/it.js +0 -108
  2943. package/node_modules/zod/v4/locales/ja.cjs +0 -134
  2944. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  2945. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  2946. package/node_modules/zod/v4/locales/ja.js +0 -107
  2947. package/node_modules/zod/v4/locales/ka.cjs +0 -139
  2948. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  2949. package/node_modules/zod/v4/locales/ka.d.ts +0 -4
  2950. package/node_modules/zod/v4/locales/ka.js +0 -112
  2951. package/node_modules/zod/v4/locales/kh.cjs +0 -12
  2952. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  2953. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  2954. package/node_modules/zod/v4/locales/kh.js +0 -5
  2955. package/node_modules/zod/v4/locales/km.cjs +0 -137
  2956. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  2957. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  2958. package/node_modules/zod/v4/locales/km.js +0 -110
  2959. package/node_modules/zod/v4/locales/ko.cjs +0 -138
  2960. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  2961. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  2962. package/node_modules/zod/v4/locales/ko.js +0 -111
  2963. package/node_modules/zod/v4/locales/lt.cjs +0 -230
  2964. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  2965. package/node_modules/zod/v4/locales/lt.d.ts +0 -4
  2966. package/node_modules/zod/v4/locales/lt.js +0 -203
  2967. package/node_modules/zod/v4/locales/mk.cjs +0 -136
  2968. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  2969. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  2970. package/node_modules/zod/v4/locales/mk.js +0 -109
  2971. package/node_modules/zod/v4/locales/ms.cjs +0 -134
  2972. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  2973. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  2974. package/node_modules/zod/v4/locales/ms.js +0 -107
  2975. package/node_modules/zod/v4/locales/nl.cjs +0 -137
  2976. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  2977. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  2978. package/node_modules/zod/v4/locales/nl.js +0 -110
  2979. package/node_modules/zod/v4/locales/no.cjs +0 -135
  2980. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  2981. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  2982. package/node_modules/zod/v4/locales/no.js +0 -108
  2983. package/node_modules/zod/v4/locales/ota.cjs +0 -136
  2984. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  2985. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  2986. package/node_modules/zod/v4/locales/ota.js +0 -109
  2987. package/node_modules/zod/v4/locales/package.json +0 -7
  2988. package/node_modules/zod/v4/locales/pl.cjs +0 -136
  2989. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  2990. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  2991. package/node_modules/zod/v4/locales/pl.js +0 -109
  2992. package/node_modules/zod/v4/locales/ps.cjs +0 -141
  2993. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  2994. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  2995. package/node_modules/zod/v4/locales/ps.js +0 -114
  2996. package/node_modules/zod/v4/locales/pt.cjs +0 -135
  2997. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  2998. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  2999. package/node_modules/zod/v4/locales/pt.js +0 -108
  3000. package/node_modules/zod/v4/locales/ro.cjs +0 -146
  3001. package/node_modules/zod/v4/locales/ro.d.cts +0 -5
  3002. package/node_modules/zod/v4/locales/ro.d.ts +0 -4
  3003. package/node_modules/zod/v4/locales/ro.js +0 -119
  3004. package/node_modules/zod/v4/locales/ru.cjs +0 -183
  3005. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  3006. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  3007. package/node_modules/zod/v4/locales/ru.js +0 -156
  3008. package/node_modules/zod/v4/locales/sl.cjs +0 -136
  3009. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  3010. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  3011. package/node_modules/zod/v4/locales/sl.js +0 -109
  3012. package/node_modules/zod/v4/locales/sv.cjs +0 -137
  3013. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  3014. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  3015. package/node_modules/zod/v4/locales/sv.js +0 -110
  3016. package/node_modules/zod/v4/locales/ta.cjs +0 -137
  3017. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  3018. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  3019. package/node_modules/zod/v4/locales/ta.js +0 -110
  3020. package/node_modules/zod/v4/locales/th.cjs +0 -137
  3021. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  3022. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  3023. package/node_modules/zod/v4/locales/th.js +0 -110
  3024. package/node_modules/zod/v4/locales/tr.cjs +0 -132
  3025. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  3026. package/node_modules/zod/v4/locales/tr.d.ts +0 -4
  3027. package/node_modules/zod/v4/locales/tr.js +0 -105
  3028. package/node_modules/zod/v4/locales/ua.cjs +0 -12
  3029. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  3030. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  3031. package/node_modules/zod/v4/locales/ua.js +0 -5
  3032. package/node_modules/zod/v4/locales/uk.cjs +0 -135
  3033. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  3034. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  3035. package/node_modules/zod/v4/locales/uk.js +0 -108
  3036. package/node_modules/zod/v4/locales/ur.cjs +0 -137
  3037. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  3038. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  3039. package/node_modules/zod/v4/locales/ur.js +0 -110
  3040. package/node_modules/zod/v4/locales/uz.cjs +0 -137
  3041. package/node_modules/zod/v4/locales/uz.d.cts +0 -5
  3042. package/node_modules/zod/v4/locales/uz.d.ts +0 -4
  3043. package/node_modules/zod/v4/locales/uz.js +0 -110
  3044. package/node_modules/zod/v4/locales/vi.cjs +0 -135
  3045. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  3046. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  3047. package/node_modules/zod/v4/locales/vi.js +0 -108
  3048. package/node_modules/zod/v4/locales/yo.cjs +0 -134
  3049. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  3050. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  3051. package/node_modules/zod/v4/locales/yo.js +0 -107
  3052. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
  3053. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  3054. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  3055. package/node_modules/zod/v4/locales/zh-CN.js +0 -109
  3056. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
  3057. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  3058. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  3059. package/node_modules/zod/v4/locales/zh-TW.js +0 -107
  3060. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  3061. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  3062. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  3063. package/node_modules/zod/v4/mini/checks.js +0 -1
  3064. package/node_modules/zod/v4/mini/coerce.cjs +0 -52
  3065. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  3066. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  3067. package/node_modules/zod/v4/mini/coerce.js +0 -22
  3068. package/node_modules/zod/v4/mini/external.cjs +0 -63
  3069. package/node_modules/zod/v4/mini/external.d.cts +0 -13
  3070. package/node_modules/zod/v4/mini/external.d.ts +0 -13
  3071. package/node_modules/zod/v4/mini/external.js +0 -14
  3072. package/node_modules/zod/v4/mini/index.cjs +0 -32
  3073. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  3074. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  3075. package/node_modules/zod/v4/mini/index.js +0 -3
  3076. package/node_modules/zod/v4/mini/iso.cjs +0 -64
  3077. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  3078. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  3079. package/node_modules/zod/v4/mini/iso.js +0 -34
  3080. package/node_modules/zod/v4/mini/package.json +0 -7
  3081. package/node_modules/zod/v4/mini/parse.cjs +0 -16
  3082. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  3083. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  3084. package/node_modules/zod/v4/mini/parse.js +0 -1
  3085. package/node_modules/zod/v4/mini/schemas.cjs +0 -1083
  3086. package/node_modules/zod/v4/mini/schemas.d.cts +0 -445
  3087. package/node_modules/zod/v4/mini/schemas.d.ts +0 -445
  3088. package/node_modules/zod/v4/mini/schemas.js +0 -961
  3089. package/node_modules/zod/v4/package.json +0 -7
  3090. package/node_modules/zod/v4-mini/index.cjs +0 -32
  3091. package/node_modules/zod/v4-mini/index.d.cts +0 -3
  3092. package/node_modules/zod/v4-mini/index.d.ts +0 -3
  3093. package/node_modules/zod/v4-mini/index.js +0 -3
  3094. package/node_modules/zod/v4-mini/package.json +0 -7
  3095. /package/dist/{agent-components.runtime-CEPrf2SY.js → .setup/agent-components.runtime-CEPrf2SY.mjs} +0 -0
  3096. /package/dist/{audit-core-xwjIczO0.js → .setup/audit-core-xwjIczO0.mjs} +0 -0
  3097. /package/dist/{channel-api-CAJ0wMoV.js → .setup/channel-api-CAJ0wMoV.mjs} +0 -0
  3098. /package/dist/{preflight-audio.runtime-CoCXMM8r.js → .setup/preflight-audio.runtime-CoCXMM8r.mjs} +0 -0
  3099. /package/dist/{presence-cache-z1N8MbJ3.js → .setup/presence-cache-z1N8MbJ3.mjs} +0 -0
  3100. /package/dist/{runtime-DgnVQ7zW.js → .setup/runtime-DgnVQ7zW.mjs} +0 -0
  3101. /package/dist/{security-contract-DSHk7I2w.js → .setup/security-contract-DSHk7I2w.mjs} +0 -0
  3102. /package/dist/{session-contract-BO5tlIdl.js → .setup/session-contract-BO5tlIdl.mjs} +0 -0
  3103. /package/dist/{session-key-normalization-wJgsKPNF.js → .setup/session-key-normalization-wJgsKPNF.mjs} +0 -0
@@ -1,3153 +0,0 @@
1
- import { t as parseDiscordRetryAfterBodySeconds } from "./retry-after-DdLPmPoa.js";
2
- import "node:module";
3
- import { ApplicationCommandOptionType, ApplicationCommandType, ButtonStyle, ComponentType, GatewayDispatchEvents, InteractionContextType, InteractionResponseType, InteractionType, MessageFlags, Routes, TextInputStyle } from "discord-api-types/v10";
4
- import { createHash } from "node:crypto";
5
- import { asDateTimestampMs, clampTimerTimeoutMs, parseFiniteNumber, parseStrictNonNegativeInteger, resolveExpiresAtMsFromDurationMs, resolveIntegerOption, resolveTimerTimeoutMs } from "openclaw/plugin-sdk/number-runtime";
6
- import { expectDefined } from "openclaw/plugin-sdk/expect-runtime";
7
- import { Type } from "typebox";
8
- import { Check } from "typebox/value";
9
- import { inspect } from "node:util";
10
- import { gunzipSync } from "node:zlib";
11
- import { readResponseWithLimit } from "openclaw/plugin-sdk/response-limit-runtime";
12
- import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
13
- import { parseRetryAfterHeaderSeconds } from "openclaw/plugin-sdk/retry-runtime";
14
- import { buildMessagingTarget, parseMentionPrefixOrAtUserTarget, requireTargetKind } from "openclaw/plugin-sdk/channel-targets";
15
- import { resolveAllowlistMatchByCandidates } from "openclaw/plugin-sdk/allow-from";
16
- import { chunkMarkdownTextWithMode } from "openclaw/plugin-sdk/reply-chunking";
17
- import { chunkTextForOutbound } from "openclaw/plugin-sdk/text-chunking";
18
- import { isSingleUseReplyToMode } from "openclaw/plugin-sdk/reply-reference";
19
- //#region \0rolldown/runtime.js
20
- var __defProp = Object.defineProperty;
21
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
22
- var __getOwnPropNames = Object.getOwnPropertyNames;
23
- var __hasOwnProp = Object.prototype.hasOwnProperty;
24
- var __exportAll = (all, no_symbols) => {
25
- let target = {};
26
- for (var name in all) __defProp(target, name, {
27
- get: all[name],
28
- enumerable: true
29
- });
30
- if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
31
- return target;
32
- };
33
- var __copyProps = (to, from, except, desc) => {
34
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
35
- key = keys[i];
36
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
37
- get: ((k) => from[k]).bind(null, key),
38
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
39
- });
40
- }
41
- return to;
42
- };
43
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
44
- //#endregion
45
- //#region extensions/discord/src/internal/api.commands.ts
46
- async function listApplicationCommands(rest, clientId) {
47
- return await rest.get(Routes.applicationCommands(clientId));
48
- }
49
- async function createApplicationCommand(rest, clientId, body) {
50
- return await rest.post(Routes.applicationCommands(clientId), { body });
51
- }
52
- async function editApplicationCommand(rest, clientId, commandId, body) {
53
- return await rest.patch(Routes.applicationCommand(clientId, commandId), { body });
54
- }
55
- async function deleteApplicationCommand(rest, clientId, commandId) {
56
- await rest.delete(Routes.applicationCommand(clientId, commandId));
57
- }
58
- async function overwriteApplicationCommands(rest, clientId, body) {
59
- await rest.put(Routes.applicationCommands(clientId), { body });
60
- }
61
- async function overwriteGuildApplicationCommands(rest, clientId, guildId, body) {
62
- await rest.put(Routes.applicationGuildCommands(clientId, guildId), { body });
63
- }
64
- //#endregion
65
- //#region extensions/discord/src/internal/api.guild.ts
66
- async function getGuild(rest, guildId) {
67
- return await rest.get(Routes.guild(guildId));
68
- }
69
- async function createGuildChannel(rest, guildId, data) {
70
- return await rest.post(Routes.guildChannels(guildId), data);
71
- }
72
- async function moveGuildChannels(rest, guildId, data) {
73
- await rest.patch(Routes.guildChannels(guildId), data);
74
- }
75
- async function getGuildMember(rest, guildId, userId) {
76
- return await rest.get(Routes.guildMember(guildId, userId));
77
- }
78
- async function listGuildRoles(rest, guildId) {
79
- return await rest.get(Routes.guildRoles(guildId));
80
- }
81
- async function listGuildChannels(rest, guildId) {
82
- return await rest.get(Routes.guildChannels(guildId));
83
- }
84
- async function putChannelPermission(rest, channelId, targetId, data) {
85
- await rest.put(Routes.channelPermission(channelId, targetId), data);
86
- }
87
- async function deleteChannelPermission(rest, channelId, targetId) {
88
- await rest.delete(Routes.channelPermission(channelId, targetId));
89
- }
90
- async function listGuildActiveThreads(rest, guildId) {
91
- return await rest.get(Routes.guildActiveThreads(guildId));
92
- }
93
- async function getGuildVoiceState(rest, guildId, userId) {
94
- return await rest.get(Routes.guildVoiceState(guildId, userId));
95
- }
96
- async function listGuildScheduledEvents(rest, guildId) {
97
- return await rest.get(Routes.guildScheduledEvents(guildId));
98
- }
99
- async function createGuildScheduledEvent(rest, guildId, body) {
100
- return await rest.post(Routes.guildScheduledEvents(guildId), { body });
101
- }
102
- async function timeoutGuildMember(rest, guildId, userId, data) {
103
- return await rest.patch(Routes.guildMember(guildId, userId), data);
104
- }
105
- async function addGuildMemberRole(rest, guildId, userId, roleId) {
106
- await rest.put(Routes.guildMemberRole(guildId, userId, roleId));
107
- }
108
- async function removeGuildMemberRole(rest, guildId, userId, roleId) {
109
- await rest.delete(Routes.guildMemberRole(guildId, userId, roleId));
110
- }
111
- async function removeGuildMember(rest, guildId, userId, data) {
112
- await rest.delete(Routes.guildMember(guildId, userId), data);
113
- }
114
- async function createGuildBan(rest, guildId, userId, data) {
115
- await rest.put(Routes.guildBan(guildId, userId), data);
116
- }
117
- async function listGuildEmojis(rest, guildId) {
118
- return await rest.get(Routes.guildEmojis(guildId));
119
- }
120
- async function createGuildEmoji(rest, guildId, data) {
121
- return await rest.post(Routes.guildEmojis(guildId), data);
122
- }
123
- async function createGuildSticker(rest, guildId, data) {
124
- return await rest.post(Routes.guildStickers(guildId), data);
125
- }
126
- //#endregion
127
- //#region extensions/discord/src/internal/api.interactions.ts
128
- async function createInteractionCallback(rest, interactionId, token, body) {
129
- return await rest.post(Routes.interactionCallback(interactionId, token), { body });
130
- }
131
- async function editWebhookMessage(rest, applicationId, token, messageId, data, query) {
132
- return query ? await rest.patch(Routes.webhookMessage(applicationId, token, messageId), data, query) : await rest.patch(Routes.webhookMessage(applicationId, token, messageId), data);
133
- }
134
- async function deleteWebhookMessage(rest, applicationId, token, messageId) {
135
- return await rest.delete(Routes.webhookMessage(applicationId, token, messageId));
136
- }
137
- async function getWebhookMessage(rest, applicationId, token, messageId) {
138
- return await rest.get(Routes.webhookMessage(applicationId, token, messageId));
139
- }
140
- async function createWebhookMessage(rest, applicationId, token, data, query) {
141
- return await rest.post(Routes.webhook(applicationId, token), data, query);
142
- }
143
- //#endregion
144
- //#region extensions/discord/src/internal/api.messages.ts
145
- async function getChannel(rest, channelId) {
146
- return await rest.get(Routes.channel(channelId));
147
- }
148
- async function getThreadMember(rest, threadId, userId) {
149
- return await rest.get(Routes.threadMembers(threadId, userId));
150
- }
151
- async function editChannel(rest, channelId, data) {
152
- return await rest.patch(Routes.channel(channelId), data);
153
- }
154
- async function deleteChannel(rest, channelId) {
155
- await rest.delete(Routes.channel(channelId));
156
- }
157
- async function listChannelMessages(rest, channelId, query) {
158
- return await rest.get(Routes.channelMessages(channelId), query);
159
- }
160
- async function getChannelMessage(rest, channelId, messageId) {
161
- return await rest.get(Routes.channelMessage(channelId, messageId));
162
- }
163
- async function createChannelMessage(rest, channelId, data) {
164
- return await rest.post(Routes.channelMessages(channelId), data);
165
- }
166
- async function editChannelMessage(rest, channelId, messageId, data) {
167
- return await rest.patch(Routes.channelMessage(channelId, messageId), data);
168
- }
169
- async function deleteChannelMessage(rest, channelId, messageId) {
170
- await rest.delete(Routes.channelMessage(channelId, messageId));
171
- }
172
- async function pinChannelMessage(rest, channelId, messageId) {
173
- await rest.put(Routes.channelPin(channelId, messageId));
174
- }
175
- async function unpinChannelMessage(rest, channelId, messageId) {
176
- await rest.delete(Routes.channelPin(channelId, messageId));
177
- }
178
- async function listChannelPins(rest, channelId) {
179
- return await rest.get(Routes.channelPins(channelId));
180
- }
181
- async function sendChannelTyping(rest, channelId) {
182
- await rest.post(Routes.channelTyping(channelId));
183
- }
184
- async function createThread(rest, channelId, data, messageId) {
185
- const route = messageId ? Routes.threads(channelId, messageId) : Routes.threads(channelId);
186
- return await rest.post(route, data);
187
- }
188
- async function listChannelArchivedThreads(rest, channelId, query) {
189
- return await rest.get(Routes.channelThreads(channelId, "public"), query);
190
- }
191
- async function searchGuildMessages(rest, guildId, params) {
192
- return await rest.get(`/guilds/${guildId}/messages/search?${params.toString()}`);
193
- }
194
- //#endregion
195
- //#region extensions/discord/src/internal/api.reactions.ts
196
- async function createOwnMessageReaction(rest, channelId, messageId, encodedEmoji) {
197
- await rest.put(Routes.channelMessageOwnReaction(channelId, messageId, encodedEmoji));
198
- }
199
- async function deleteOwnMessageReaction(rest, channelId, messageId, encodedEmoji) {
200
- await rest.delete(Routes.channelMessageOwnReaction(channelId, messageId, encodedEmoji));
201
- }
202
- async function listMessageReactionUsers(rest, channelId, messageId, encodedEmoji, query) {
203
- return await rest.get(Routes.channelMessageReaction(channelId, messageId, encodedEmoji), query);
204
- }
205
- //#endregion
206
- //#region extensions/discord/src/internal/api.users.ts
207
- async function getCurrentUser(rest) {
208
- return await rest.get(Routes.user("@me"));
209
- }
210
- async function getUser(rest, userId) {
211
- return await rest.get(Routes.user(userId));
212
- }
213
- async function createUserDmChannel(rest, recipientId) {
214
- return await rest.post(Routes.userChannels(), { body: { recipient_id: recipientId } });
215
- }
216
- //#endregion
217
- //#region extensions/discord/src/internal/api.webhooks.ts
218
- async function createChannelWebhook(rest, channelId, data) {
219
- return await rest.post(Routes.channelWebhooks(channelId), data);
220
- }
221
- //#endregion
222
- //#region extensions/discord/src/internal/command-comparison.ts
223
- const unorderedCommandArrayFields = /* @__PURE__ */ new Set([
224
- "channel_types",
225
- "contexts",
226
- "integration_types"
227
- ]);
228
- const optionComparisonOmittedFields = /* @__PURE__ */ new Set([
229
- "contexts",
230
- "default_member_permissions",
231
- "description_localized",
232
- "integration_types",
233
- "name_localized"
234
- ]);
235
- const nullableLocalizationFields = /* @__PURE__ */ new Set(["description_localizations", "name_localizations"]);
236
- function comparableCommand(value) {
237
- if (!value || typeof value !== "object") return value;
238
- const omit = /* @__PURE__ */ new Set([
239
- "application_id",
240
- "description_localized",
241
- "dm_permission",
242
- "guild_id",
243
- "id",
244
- "name_localized",
245
- "nsfw",
246
- "version",
247
- "default_permission"
248
- ]);
249
- return stableComparableObject(Object.fromEntries(Object.entries(value).filter(([key, entry]) => !omit.has(key) && entry !== void 0)));
250
- }
251
- function stableComparableObject(value, pathValue = []) {
252
- if (Array.isArray(value)) {
253
- const normalized = value.map((entry) => stableComparableObject(entry, pathValue));
254
- const key = pathValue.at(-1);
255
- if (key && unorderedCommandArrayFields.has(key) && normalized.every((entry) => typeof entry === "string" || typeof entry === "number" || typeof entry === "boolean")) return normalized.toSorted((left, right) => String(left).localeCompare(String(right)));
256
- return normalized;
257
- }
258
- if (!value || typeof value !== "object") return value;
259
- return Object.fromEntries(Object.entries(value).filter(([key, entry]) => {
260
- if (entry === void 0) return false;
261
- if (entry === null && nullableLocalizationFields.has(key)) return false;
262
- if (pathValue.includes("options") && optionComparisonOmittedFields.has(key)) return false;
263
- if ((key === "required" || key === "autocomplete") && entry === false) return false;
264
- return true;
265
- }).toSorted(([a], [b]) => a.localeCompare(b)).map(([key, entry]) => [key, shouldNormalizeDescriptionValue(pathValue, key, entry) ? normalizeDescriptionForComparison(entry) : stableComparableObject(entry, [...pathValue, key])]));
266
- }
267
- function shouldNormalizeDescriptionValue(pathLocal, key, entry) {
268
- return typeof entry === "string" && (key === "description" || pathLocal.at(-1) === "description_localizations");
269
- }
270
- /**
271
- * Normalize descriptions to match Discord's server-side storage semantics.
272
- * Discord collapses whitespace and removes whitespace between CJK characters.
273
- */
274
- function normalizeDescriptionForComparison(description) {
275
- const collapsed = description.replace(/\s+/g, " ");
276
- const cjkBoundaryWhitespace = /([\u3000-\u303F\u4E00-\u9FFF\uFF00-\uFFEF])\s+([\u3000-\u303F\u4E00-\u9FFF\uFF00-\uFFEF])/g;
277
- return collapsed.replace(cjkBoundaryWhitespace, "$1$2").replace(cjkBoundaryWhitespace, "$1$2").trim();
278
- }
279
- function commandsEqual(a, b) {
280
- return JSON.stringify(comparableCommand(a)) === JSON.stringify(comparableCommand(b));
281
- }
282
- //#endregion
283
- //#region extensions/discord/src/internal/command-deploy.ts
284
- const DISCORD_APPLICATION_COMMAND_LIMIT_REACHED = 30032;
285
- var DiscordCommandDeployer = class {
286
- constructor(params) {
287
- this.params = params;
288
- this.hashes = /* @__PURE__ */ new Map();
289
- this.loadedKeys = /* @__PURE__ */ new Set();
290
- }
291
- async getCommands() {
292
- return await listApplicationCommands(this.rest, this.params.clientId);
293
- }
294
- async deploy(options = {}) {
295
- const commands = this.params.commands.filter((command) => command.name !== "*");
296
- const serializedGlobal = commands.filter((command) => !command.guildIds).map((command) => command.serialize());
297
- for (const [guildId, entries] of groupGuildCommands(commands)) await this.putCommandSetIfChanged(this.scopedCacheKey(`guild:${guildId}`), entries, async () => {
298
- await overwriteGuildApplicationCommands(this.rest, this.params.clientId, guildId, entries);
299
- }, options);
300
- if (this.params.devGuilds?.length) {
301
- for (const guildId of this.params.devGuilds) {
302
- const entries = commands.map((command) => command.serialize());
303
- await this.putCommandSetIfChanged(this.scopedCacheKey(`dev-guild:${guildId}`), entries, async () => {
304
- await overwriteGuildApplicationCommands(this.rest, this.params.clientId, guildId, entries);
305
- }, options);
306
- }
307
- return {
308
- mode: options.mode ?? "reconcile",
309
- usedDevGuilds: true
310
- };
311
- }
312
- if (options.mode !== "overwrite") {
313
- await this.putCommandSetIfChanged(this.scopedCacheKey("global:reconcile"), serializedGlobal, async () => {
314
- await this.reconcileGlobalCommands(serializedGlobal);
315
- }, options);
316
- return {
317
- mode: "reconcile",
318
- usedDevGuilds: false
319
- };
320
- }
321
- await this.putCommandSetIfChanged(this.scopedCacheKey("global:overwrite"), serializedGlobal, async () => {
322
- await overwriteApplicationCommands(this.rest, this.params.clientId, serializedGlobal);
323
- }, options);
324
- return {
325
- mode: "overwrite",
326
- usedDevGuilds: false
327
- };
328
- }
329
- /**
330
- * Scope cache keys by Discord application id so multi-bot setups that share a
331
- * single command-deploy store still reconcile each application separately. The
332
- * prior unscoped `global:reconcile` / `guild:<id>` keys let a later account
333
- * with an identical command set reuse the first account's hash and skip its
334
- * own application's reconcile entirely (#77359).
335
- */
336
- scopedCacheKey(suffix) {
337
- return `app:${this.params.clientId}:${suffix}`;
338
- }
339
- async reconcileGlobalCommands(desired) {
340
- const existing = await this.getCommands();
341
- const existingByKey = new Map(existing.map((command) => [stableCommandKey(command), command]));
342
- const desiredCommands = desired.map((command) => ({
343
- command,
344
- key: stableCommandKey(command)
345
- }));
346
- const desiredKeys = new Set(desiredCommands.map(({ key }) => key));
347
- for (const { command, key } of desiredCommands) {
348
- const current = existingByKey.get(key);
349
- if (current && !commandsEqual(current, command)) await editApplicationCommand(this.rest, this.params.clientId, current.id, command);
350
- }
351
- for (const { command, key } of desiredCommands) {
352
- if (existingByKey.has(key)) continue;
353
- try {
354
- await createApplicationCommand(this.rest, this.params.clientId, command);
355
- } catch (error) {
356
- if (!isApplicationCommandLimitError(error)) throw error;
357
- await overwriteApplicationCommands(this.rest, this.params.clientId, desired);
358
- return;
359
- }
360
- }
361
- for (const command of existing) if (!desiredKeys.has(stableCommandKey(command))) await deleteApplicationCommand(this.rest, this.params.clientId, command.id);
362
- }
363
- async putCommandSetIfChanged(key, commands, deploy, options) {
364
- const hash = stableCommandSetHash(commands);
365
- await this.loadPersistedHash(key);
366
- if (!options.force && this.hashes.get(key) === hash) return;
367
- await deploy();
368
- this.hashes.set(key, hash);
369
- try {
370
- await this.params.hashStore?.register(key, hash);
371
- } catch {}
372
- }
373
- async loadPersistedHash(key) {
374
- if (this.loadedKeys.has(key)) return;
375
- this.loadedKeys.add(key);
376
- try {
377
- const hash = await this.params.hashStore?.lookup(key);
378
- if (typeof hash === "string" && hash.trim()) this.hashes.set(key, hash);
379
- } catch {}
380
- }
381
- get rest() {
382
- return this.params.rest();
383
- }
384
- };
385
- function groupGuildCommands(commands) {
386
- const guildCommands = /* @__PURE__ */ new Map();
387
- for (const command of commands.filter((entry) => entry.guildIds)) for (const guildId of command.guildIds ?? []) {
388
- const entries = guildCommands.get(guildId) ?? [];
389
- entries.push(command.serialize());
390
- guildCommands.set(guildId, entries);
391
- }
392
- return guildCommands;
393
- }
394
- function stableCommandKey(command) {
395
- return `${command.type ?? ApplicationCommandType.ChatInput}:${command.name}`;
396
- }
397
- function isApplicationCommandLimitError(error) {
398
- return error !== null && typeof error === "object" && "discordCode" in error && error.discordCode === DISCORD_APPLICATION_COMMAND_LIMIT_REACHED;
399
- }
400
- function stableCommandSetHash(commands) {
401
- const stable = commands.map((command) => stableComparableObject(command)).toSorted((a, b) => stableCommandKey(a).localeCompare(stableCommandKey(b)));
402
- return createHash("sha256").update(JSON.stringify(stable)).digest("hex");
403
- }
404
- //#endregion
405
- //#region extensions/discord/src/internal/components.base.ts
406
- function parseCustomId(id) {
407
- const [rawKeyValue, ...parts] = id.split(";");
408
- const rawKey = expectDefined(rawKeyValue, "custom id split first segment");
409
- const [keyPart, firstValue] = rawKey.split("=");
410
- const definedKeyPart = expectDefined(keyPart, "custom id key segment");
411
- const key = definedKeyPart.includes(":") ? expectDefined(definedKeyPart.split(":").at(0), "namespaced custom id key") : definedKeyPart;
412
- const data = {};
413
- const entries = firstValue === void 0 ? parts : [rawKey.slice(key.length + 1), ...parts];
414
- for (const entry of entries) {
415
- const index = entry.indexOf("=");
416
- if (index < 0) continue;
417
- const name = entry.slice(0, index).replace(/^[^:]+:/, "");
418
- const raw = entry.slice(index + 1);
419
- data[name] = raw === "true" ? true : raw === "false" ? false : raw;
420
- }
421
- return {
422
- key,
423
- data
424
- };
425
- }
426
- function clean$3(value) {
427
- return Object.fromEntries(Object.entries(value).filter(([, entry]) => entry !== void 0));
428
- }
429
- function colorToNumber(value) {
430
- if (typeof value === "number") return Number.isInteger(value) && value >= 0 && value <= 16777215 ? value : void 0;
431
- if (typeof value === "string" && /^#?[0-9a-f]{6}$/i.test(value)) return Number.parseInt(value.replace(/^#/, ""), 16);
432
- }
433
- var BaseComponent = class {
434
- constructor() {
435
- this.isV2 = false;
436
- }
437
- };
438
- var BaseMessageInteractiveComponent = class extends BaseComponent {
439
- constructor(..._args) {
440
- super(..._args);
441
- this.isV2 = false;
442
- this.defer = false;
443
- this.ephemeral = false;
444
- this.customIdParser = parseCustomId;
445
- }
446
- run(_interaction, _data) {}
447
- };
448
- var BaseModalComponent = class extends BaseComponent {};
449
- //#endregion
450
- //#region extensions/discord/src/internal/components.message.ts
451
- var BaseButton = class extends BaseMessageInteractiveComponent {
452
- constructor(..._args) {
453
- super(..._args);
454
- this.type = ComponentType.Button;
455
- this.style = ButtonStyle.Primary;
456
- this.disabled = false;
457
- }
458
- };
459
- var Button = class extends BaseButton {
460
- serialize() {
461
- return clean$3({
462
- type: this.type,
463
- style: this.style,
464
- custom_id: this.customId,
465
- label: this.label,
466
- emoji: this.emoji,
467
- disabled: this.disabled || void 0
468
- });
469
- }
470
- };
471
- var LinkButton = class extends BaseButton {
472
- constructor(..._args2) {
473
- super(..._args2);
474
- this.customId = "";
475
- this.style = ButtonStyle.Link;
476
- }
477
- async run() {
478
- throw new Error("Link buttons do not run handlers");
479
- }
480
- serialize() {
481
- return clean$3({
482
- type: this.type,
483
- style: this.style,
484
- label: this.label,
485
- emoji: this.emoji,
486
- disabled: this.disabled || void 0,
487
- url: this.url
488
- });
489
- }
490
- };
491
- var AnySelectMenu = class extends BaseMessageInteractiveComponent {
492
- constructor(..._args3) {
493
- super(..._args3);
494
- this.disabled = false;
495
- }
496
- serialize() {
497
- return clean$3({
498
- ...this.serializeOptions(),
499
- custom_id: this.customId,
500
- placeholder: this.placeholder,
501
- min_values: this.minValues,
502
- max_values: this.maxValues,
503
- disabled: this.disabled || void 0,
504
- required: this.required
505
- });
506
- }
507
- };
508
- var StringSelectMenu = class extends AnySelectMenu {
509
- constructor(..._args4) {
510
- super(..._args4);
511
- this.type = ComponentType.StringSelect;
512
- }
513
- serializeOptions() {
514
- return {
515
- type: this.type,
516
- options: this.options
517
- };
518
- }
519
- };
520
- var UserSelectMenu = class extends AnySelectMenu {
521
- constructor(..._args5) {
522
- super(..._args5);
523
- this.type = ComponentType.UserSelect;
524
- }
525
- serializeOptions() {
526
- return {
527
- type: this.type,
528
- default_values: this.defaultValues
529
- };
530
- }
531
- };
532
- var RoleSelectMenu = class extends AnySelectMenu {
533
- constructor(..._args6) {
534
- super(..._args6);
535
- this.type = ComponentType.RoleSelect;
536
- }
537
- serializeOptions() {
538
- return {
539
- type: this.type,
540
- default_values: this.defaultValues
541
- };
542
- }
543
- };
544
- var MentionableSelectMenu = class extends AnySelectMenu {
545
- constructor(..._args7) {
546
- super(..._args7);
547
- this.type = ComponentType.MentionableSelect;
548
- }
549
- serializeOptions() {
550
- return {
551
- type: this.type,
552
- default_values: this.defaultValues
553
- };
554
- }
555
- };
556
- var ChannelSelectMenu = class extends AnySelectMenu {
557
- constructor(..._args8) {
558
- super(..._args8);
559
- this.type = ComponentType.ChannelSelect;
560
- }
561
- serializeOptions() {
562
- return {
563
- type: this.type,
564
- default_values: this.defaultValues,
565
- channel_types: this.channelTypes
566
- };
567
- }
568
- };
569
- var Row = class extends BaseComponent {
570
- constructor(components = []) {
571
- super();
572
- this.type = ComponentType.ActionRow;
573
- this.isV2 = false;
574
- this.components = components;
575
- }
576
- addComponent(component) {
577
- this.components.push(component);
578
- }
579
- serialize() {
580
- return {
581
- type: this.type,
582
- components: this.components.map((entry) => entry.serialize())
583
- };
584
- }
585
- };
586
- var TextDisplay = class extends BaseComponent {
587
- constructor(content) {
588
- super();
589
- this.content = content;
590
- this.type = ComponentType.TextDisplay;
591
- this.isV2 = true;
592
- }
593
- serialize() {
594
- return clean$3({
595
- type: this.type,
596
- content: this.content
597
- });
598
- }
599
- };
600
- var Separator = class extends BaseComponent {
601
- constructor(options) {
602
- super();
603
- this.type = ComponentType.Separator;
604
- this.isV2 = true;
605
- this.divider = true;
606
- this.spacing = "small";
607
- this.spacing = options?.spacing ?? this.spacing;
608
- this.divider = options?.divider ?? this.divider;
609
- }
610
- serialize() {
611
- return clean$3({
612
- type: this.type,
613
- divider: this.divider,
614
- spacing: this.spacing === "large" ? 2 : this.spacing === "small" ? 1 : this.spacing
615
- });
616
- }
617
- };
618
- var Thumbnail = class extends BaseComponent {
619
- constructor(url) {
620
- super();
621
- this.url = url;
622
- this.type = ComponentType.Thumbnail;
623
- this.isV2 = true;
624
- }
625
- serialize() {
626
- return clean$3({
627
- type: this.type,
628
- media: this.url ? { url: this.url } : void 0
629
- });
630
- }
631
- };
632
- var Section = class extends BaseComponent {
633
- constructor(components = [], accessory) {
634
- super();
635
- this.components = components;
636
- this.accessory = accessory;
637
- this.type = ComponentType.Section;
638
- this.isV2 = true;
639
- }
640
- serialize() {
641
- return clean$3({
642
- type: this.type,
643
- components: this.components.map((entry) => entry.serialize()),
644
- accessory: this.accessory?.serialize()
645
- });
646
- }
647
- };
648
- var MediaGallery = class extends BaseComponent {
649
- constructor(items = []) {
650
- super();
651
- this.items = items;
652
- this.type = ComponentType.MediaGallery;
653
- this.isV2 = true;
654
- }
655
- serialize() {
656
- return {
657
- type: this.type,
658
- items: this.items.map((entry) => ({
659
- media: { url: entry.url },
660
- description: entry.description,
661
- spoiler: entry.spoiler
662
- }))
663
- };
664
- }
665
- };
666
- var File = class extends BaseComponent {
667
- constructor(file, spoiler = false) {
668
- super();
669
- this.file = file;
670
- this.spoiler = spoiler;
671
- this.type = ComponentType.File;
672
- this.isV2 = true;
673
- }
674
- serialize() {
675
- return clean$3({
676
- type: this.type,
677
- file: this.file ? { url: this.file } : void 0,
678
- spoiler: this.spoiler || void 0
679
- });
680
- }
681
- };
682
- var Container = class extends BaseComponent {
683
- constructor(components = [], options) {
684
- super();
685
- this.type = ComponentType.Container;
686
- this.isV2 = true;
687
- this.spoiler = false;
688
- this.components = components;
689
- this.accentColor = options?.accentColor;
690
- this.spoiler = options?.spoiler ?? false;
691
- }
692
- serialize() {
693
- return clean$3({
694
- type: this.type,
695
- components: this.components.map((entry) => entry.serialize()),
696
- accent_color: colorToNumber(this.accentColor),
697
- spoiler: this.spoiler || void 0
698
- });
699
- }
700
- };
701
- //#endregion
702
- //#region extensions/discord/src/internal/components.modal.ts
703
- var TextInput = class extends BaseModalComponent {
704
- constructor(..._args) {
705
- super(..._args);
706
- this.type = ComponentType.TextInput;
707
- this.customIdParser = parseCustomId;
708
- this.style = TextInputStyle.Short;
709
- }
710
- serialize() {
711
- return clean$3({
712
- type: this.type,
713
- custom_id: this.customId,
714
- style: this.style,
715
- min_length: this.minLength,
716
- max_length: this.maxLength,
717
- required: this.required,
718
- value: this.value,
719
- placeholder: this.placeholder
720
- });
721
- }
722
- };
723
- var CheckboxGroup = class extends BaseModalComponent {
724
- constructor(..._args2) {
725
- super(..._args2);
726
- this.type = 22;
727
- this.options = [];
728
- }
729
- serialize() {
730
- return clean$3({
731
- type: this.type,
732
- custom_id: this.customId,
733
- options: this.options,
734
- required: this.required,
735
- min_values: this.minValues,
736
- max_values: this.maxValues
737
- });
738
- }
739
- };
740
- var RadioGroup = class extends BaseModalComponent {
741
- constructor(..._args3) {
742
- super(..._args3);
743
- this.type = 21;
744
- this.options = [];
745
- }
746
- serialize() {
747
- return clean$3({
748
- type: this.type,
749
- custom_id: this.customId,
750
- options: this.options,
751
- required: this.required,
752
- min_values: this.minValues,
753
- max_values: this.maxValues
754
- });
755
- }
756
- };
757
- var Label = class extends BaseModalComponent {
758
- constructor(component) {
759
- super();
760
- this.component = component;
761
- this.type = ComponentType.Label;
762
- this.customId = "";
763
- }
764
- serialize() {
765
- return clean$3({
766
- type: this.type,
767
- label: this.label,
768
- description: this.description,
769
- component: this.component?.serialize()
770
- });
771
- }
772
- };
773
- var Modal = class {
774
- constructor() {
775
- this.components = [];
776
- this.customIdParser = parseCustomId;
777
- }
778
- serialize() {
779
- return {
780
- title: this.title,
781
- custom_id: this.customId,
782
- components: this.components.map((entry) => entry.serialize())
783
- };
784
- }
785
- };
786
- //#endregion
787
- //#region extensions/discord/src/internal/embeds.ts
788
- function clean$2(value) {
789
- return Object.fromEntries(Object.entries(value).filter(([, entry]) => entry !== void 0));
790
- }
791
- var Embed = class {
792
- constructor(embed) {
793
- Object.assign(this, embed);
794
- }
795
- serialize() {
796
- return clean$2({
797
- title: this.title,
798
- description: this.description,
799
- url: this.url,
800
- timestamp: this.timestamp,
801
- color: this.color,
802
- footer: this.footer,
803
- image: typeof this.image === "string" ? { url: this.image } : this.image,
804
- thumbnail: typeof this.thumbnail === "string" ? { url: this.thumbnail } : this.thumbnail,
805
- author: this.author,
806
- fields: this.fields
807
- });
808
- }
809
- };
810
- //#endregion
811
- //#region extensions/discord/src/internal/payload.ts
812
- function clean$1(value) {
813
- return Object.fromEntries(Object.entries(value).filter(([, entry]) => entry !== void 0));
814
- }
815
- function serializeAnyComponent(component) {
816
- return component.serialize();
817
- }
818
- function payloadHasV2Components(payload) {
819
- return Boolean(payload.components?.some((component) => component.isV2));
820
- }
821
- function normalizePayloadFlags(payload) {
822
- const flags = payload.ephemeral ? (payload.flags ?? 0) | MessageFlags.Ephemeral : payload.flags;
823
- if (!payloadHasV2Components(payload)) return flags;
824
- if (payload.content || payload.embeds?.length) throw new Error("Discord Components V2 payloads cannot include content or embeds");
825
- return (flags ?? 0) | MessageFlags.IsComponentsV2;
826
- }
827
- function serializePayload(payload) {
828
- if (typeof payload === "string") return { content: payload };
829
- const flags = normalizePayloadFlags(payload);
830
- return clean$1({
831
- content: payload.content,
832
- embeds: payload.embeds?.map((entry) => "serialize" in entry ? entry.serialize() : entry),
833
- components: payload.components?.map((entry) => serializeAnyComponent(entry)),
834
- allowed_mentions: payload.allowed_mentions ?? payload.allowedMentions,
835
- flags,
836
- tts: payload.tts,
837
- files: payload.files,
838
- poll: payload.poll,
839
- sticker_ids: payload.stickers
840
- });
841
- }
842
- //#endregion
843
- //#region extensions/discord/src/internal/component-registry.ts
844
- var ComponentRegistry = class {
845
- constructor() {
846
- this.entries = /* @__PURE__ */ new Map();
847
- this.oneOffComponents = /* @__PURE__ */ new Map();
848
- this.wildcardEntries = [];
849
- }
850
- register(entry) {
851
- const key = parseRegistryKey(entry.customId, entry.customIdParser);
852
- if (key === "*") {
853
- if (!this.wildcardEntries.includes(entry)) this.wildcardEntries.push(entry);
854
- return;
855
- }
856
- const entries = this.entries.get(key) ?? [];
857
- if (!entries.includes(entry)) {
858
- entries.push(entry);
859
- this.entries.set(key, entries);
860
- }
861
- }
862
- resolve(customId, options) {
863
- for (const entries of this.entries.values()) {
864
- const match = entries.find((entry) => {
865
- if (options?.componentType !== void 0 && entry.type !== options.componentType) return false;
866
- const parser = entry.customIdParser ?? parseCustomId;
867
- return parseRegistryKey(entry.customId, parser) === parseRegistryKey(customId, parser);
868
- });
869
- if (match) return match;
870
- }
871
- return this.wildcardEntries.find((entry) => {
872
- if (options?.componentType !== void 0 && entry.type !== options.componentType) return false;
873
- return true;
874
- });
875
- }
876
- waitForMessageComponent(message, timeoutMs) {
877
- const key = createOneOffComponentKey(message.id, message.channelId);
878
- return new Promise((resolve) => {
879
- const existing = this.oneOffComponents.get(key);
880
- if (existing) {
881
- clearTimeout(existing.timer);
882
- existing.resolve({
883
- success: false,
884
- message,
885
- reason: "timed out"
886
- });
887
- }
888
- const timer = setTimeout(() => {
889
- this.oneOffComponents.delete(key);
890
- resolve({
891
- success: false,
892
- message,
893
- reason: "timed out"
894
- });
895
- }, resolveTimerTimeoutMs(timeoutMs, 0, 0));
896
- timer.unref?.();
897
- this.oneOffComponents.set(key, {
898
- message,
899
- timer,
900
- resolve
901
- });
902
- });
903
- }
904
- resolveOneOffComponent(params) {
905
- if (!params.messageId || !params.channelId) return false;
906
- const key = createOneOffComponentKey(params.messageId, params.channelId);
907
- const entry = this.oneOffComponents.get(key);
908
- if (!entry) return false;
909
- clearTimeout(entry.timer);
910
- this.oneOffComponents.delete(key);
911
- entry.resolve({
912
- success: true,
913
- customId: params.customId,
914
- message: entry.message,
915
- values: params.values
916
- });
917
- return true;
918
- }
919
- };
920
- function parseRegistryKey(customId, parser = parseCustomId) {
921
- return parser(customId).key;
922
- }
923
- function createOneOffComponentKey(messageId, channelId) {
924
- return `${messageId}:${channelId}`;
925
- }
926
- //#endregion
927
- //#region extensions/discord/src/internal/structures.ts
928
- var Base = class {
929
- constructor(client) {
930
- this.client = client;
931
- }
932
- };
933
- var User = class extends Base {
934
- constructor(client, rawDataOrId) {
935
- super(client);
936
- this.rawDataValue = typeof rawDataOrId === "string" ? null : rawDataOrId;
937
- this.id = typeof rawDataOrId === "string" ? rawDataOrId : rawDataOrId.id;
938
- }
939
- get rawData() {
940
- if (!this.rawDataValue) throw new Error("Partial Discord user has no raw data");
941
- return this.rawDataValue;
942
- }
943
- get partial() {
944
- return this.rawDataValue === null;
945
- }
946
- get username() {
947
- return this.rawDataValue?.username ?? "";
948
- }
949
- get globalName() {
950
- return this.rawDataValue?.global_name;
951
- }
952
- get discriminator() {
953
- return this.rawDataValue?.discriminator;
954
- }
955
- get bot() {
956
- return this.rawDataValue?.bot;
957
- }
958
- get avatar() {
959
- return this.rawDataValue?.avatar;
960
- }
961
- get avatarUrl() {
962
- return this.avatar ? `https://cdn.discordapp.com/avatars/${this.id}/${this.avatar}.png` : null;
963
- }
964
- toString() {
965
- return `<@${this.id}>`;
966
- }
967
- async fetch() {
968
- return this.client.fetchUser(this.id);
969
- }
970
- async createDm() {
971
- return await createUserDmChannel(this.client.rest, this.id);
972
- }
973
- async send(data) {
974
- const dm = await this.createDm();
975
- const message = await createChannelMessage(this.client.rest, dm.id, { body: serializePayload(data) });
976
- return new Message(this.client, message);
977
- }
978
- };
979
- var Role = class extends Base {
980
- constructor(client, rawDataOrId) {
981
- super(client);
982
- this.rawDataValue = typeof rawDataOrId === "string" ? null : rawDataOrId;
983
- this.id = typeof rawDataOrId === "string" ? rawDataOrId : rawDataOrId.id;
984
- }
985
- get name() {
986
- return this.rawDataValue?.name ?? "";
987
- }
988
- };
989
- var Guild = class extends Base {
990
- constructor(client, rawDataOrId) {
991
- super(client);
992
- this.rawDataValue = typeof rawDataOrId === "string" ? null : rawDataOrId;
993
- this.id = typeof rawDataOrId === "string" ? rawDataOrId : rawDataOrId.id;
994
- }
995
- get name() {
996
- return this.rawDataValue?.name ?? "";
997
- }
998
- };
999
- var GuildMember = class extends Base {
1000
- constructor(client, rawData) {
1001
- super(client);
1002
- this.rawData = rawData;
1003
- }
1004
- get user() {
1005
- return this.rawData.user ? new User(this.client, this.rawData.user) : null;
1006
- }
1007
- get roles() {
1008
- return this.rawData.roles ?? [];
1009
- }
1010
- get nickname() {
1011
- return this.rawData.nick ?? void 0;
1012
- }
1013
- };
1014
- var Message = class Message extends Base {
1015
- constructor(client, rawDataOrIds) {
1016
- super(client);
1017
- this.rawDataValue = typeof rawDataOrIds === "string" || !("author" in rawDataOrIds) ? null : rawDataOrIds;
1018
- this.id = typeof rawDataOrIds === "string" ? rawDataOrIds : rawDataOrIds.id;
1019
- this.channelId = typeof rawDataOrIds === "string" ? "" : "channel_id" in rawDataOrIds ? rawDataOrIds.channel_id : rawDataOrIds.channelId ?? "";
1020
- }
1021
- get rawData() {
1022
- if (!this.rawDataValue) throw new Error("Partial Discord message has no raw data");
1023
- return this.rawDataValue;
1024
- }
1025
- get partial() {
1026
- return this.rawDataValue === null;
1027
- }
1028
- get message() {
1029
- return this;
1030
- }
1031
- get channel_id() {
1032
- return this.channelId;
1033
- }
1034
- get guild_id() {
1035
- return this.rawDataValue?.guild_id;
1036
- }
1037
- get guild() {
1038
- return this.guild_id ? new Guild(this.client, this.guild_id) : null;
1039
- }
1040
- get webhookId() {
1041
- return this.webhook_id;
1042
- }
1043
- get webhook_id() {
1044
- return this.rawDataValue?.webhook_id ?? null;
1045
- }
1046
- get member() {
1047
- const member = this.rawDataValue?.member;
1048
- return member ? new GuildMember(this.client, member) : null;
1049
- }
1050
- get rawMember() {
1051
- return this.rawDataValue?.member;
1052
- }
1053
- get content() {
1054
- return this.rawDataValue?.content ?? "";
1055
- }
1056
- get author() {
1057
- return this.rawDataValue?.author ? new User(this.client, this.rawDataValue.author) : null;
1058
- }
1059
- get embeds() {
1060
- return this.rawDataValue?.embeds ?? [];
1061
- }
1062
- get attachments() {
1063
- return this.rawDataValue?.attachments ?? [];
1064
- }
1065
- get stickers() {
1066
- return this.rawDataValue?.sticker_items ?? [];
1067
- }
1068
- get mentionedUsers() {
1069
- return (this.rawDataValue?.mentions ?? []).map((user) => new User(this.client, user));
1070
- }
1071
- get mentionedRoles() {
1072
- return this.rawDataValue?.mention_roles ?? [];
1073
- }
1074
- get mentionedEveryone() {
1075
- return this.rawDataValue?.mention_everyone ?? false;
1076
- }
1077
- get timestamp() {
1078
- return this.rawDataValue?.timestamp;
1079
- }
1080
- get type() {
1081
- return this.rawDataValue?.type;
1082
- }
1083
- get messageReference() {
1084
- return this.rawDataValue?.message_reference;
1085
- }
1086
- get referencedMessage() {
1087
- return this.rawDataValue?.referenced_message ? new Message(this.client, this.rawDataValue.referenced_message) : null;
1088
- }
1089
- get thread() {
1090
- return this.rawDataValue?.thread ? channelFactory(this.client, this.rawDataValue.thread) : null;
1091
- }
1092
- async fetch() {
1093
- const raw = await getChannelMessage(this.client.rest, this.channelId, this.id);
1094
- return new Message(this.client, raw);
1095
- }
1096
- async delete() {
1097
- await deleteChannelMessage(this.client.rest, this.channelId, this.id);
1098
- }
1099
- async edit(data) {
1100
- const raw = await editChannelMessage(this.client.rest, this.channelId, this.id, { body: serializePayload(data) });
1101
- return new Message(this.client, raw);
1102
- }
1103
- async reply(data) {
1104
- const raw = await createChannelMessage(this.client.rest, this.channelId, { body: {
1105
- ...serializePayload(data),
1106
- message_reference: {
1107
- message_id: this.id,
1108
- fail_if_not_exists: false
1109
- }
1110
- } });
1111
- return new Message(this.client, raw);
1112
- }
1113
- async pin() {
1114
- await pinChannelMessage(this.client.rest, this.channelId, this.id);
1115
- }
1116
- async unpin() {
1117
- await unpinChannelMessage(this.client.rest, this.channelId, this.id);
1118
- }
1119
- };
1120
- function channelFactory(clientForTest, channelData, _partial) {
1121
- return {
1122
- ...channelData,
1123
- rawData: channelData,
1124
- guildId: "guild_id" in channelData ? channelData.guild_id : void 0,
1125
- guild: "guild_id" in channelData && typeof channelData.guild_id === "string" ? new Guild(clientForTest, channelData.guild_id) : void 0,
1126
- parentId: "parent_id" in channelData ? channelData.parent_id : void 0,
1127
- ownerId: "owner_id" in channelData ? channelData.owner_id : void 0
1128
- };
1129
- }
1130
- //#endregion
1131
- //#region extensions/discord/src/internal/entity-cache.ts
1132
- const DEFAULT_REST_CACHE_TTL_MS = 3e4;
1133
- const DEFAULT_MAX_ENTRIES = 5e3;
1134
- const DEFAULT_SWEEP_INTERVAL_MS = 3e4;
1135
- var DiscordEntityCache = class {
1136
- constructor(params) {
1137
- this.params = params;
1138
- this.entries = /* @__PURE__ */ new Map();
1139
- this.lastSweepAt = 0;
1140
- }
1141
- get size() {
1142
- return this.entries.size;
1143
- }
1144
- async fetchUser(id) {
1145
- return await this.fetchCached(`user:${id}`, async () => {
1146
- const raw = await getUser(this.rest, id);
1147
- return new User(this.params.client, raw);
1148
- });
1149
- }
1150
- async fetchChannel(id) {
1151
- return await this.fetchCached(`channel:${id}`, async () => {
1152
- const raw = await getChannel(this.rest, id);
1153
- return channelFactory(this.params.client, raw);
1154
- });
1155
- }
1156
- async fetchGuild(id) {
1157
- return await this.fetchCached(`guild:${id}`, async () => {
1158
- const raw = await getGuild(this.rest, id);
1159
- return new Guild(this.params.client, raw);
1160
- });
1161
- }
1162
- async fetchMember(guildId, userId) {
1163
- return await this.fetchCached(`member:${guildId}:${userId}`, async () => {
1164
- const raw = await getGuildMember(this.rest, guildId, userId);
1165
- return new GuildMember(this.params.client, raw);
1166
- });
1167
- }
1168
- invalidateForGatewayEvent(type, data) {
1169
- const raw = data && typeof data === "object" ? data : {};
1170
- const channelUpdate = GatewayDispatchEvents.ChannelUpdate;
1171
- const channelDelete = GatewayDispatchEvents.ChannelDelete;
1172
- const guildUpdate = GatewayDispatchEvents.GuildUpdate;
1173
- const guildMemberUpdate = GatewayDispatchEvents.GuildMemberUpdate;
1174
- if (type === channelUpdate || type === channelDelete) this.deleteId("channel", raw.id);
1175
- if (type === guildUpdate) this.deleteId("guild", raw.id);
1176
- if (type === guildMemberUpdate) {
1177
- const guildId = raw.guild_id;
1178
- const user = raw.user && typeof raw.user === "object" ? raw.user : {};
1179
- if (typeof guildId === "string" && typeof user.id === "string") {
1180
- this.entries.delete(`member:${guildId}:${user.id}`);
1181
- this.entries.delete(`user:${user.id}`);
1182
- }
1183
- }
1184
- }
1185
- deleteId(prefix, id) {
1186
- if (typeof id === "string") this.entries.delete(`${prefix}:${id}`);
1187
- }
1188
- async fetchCached(key, fetcher) {
1189
- const ttl = this.params.ttlMs ?? DEFAULT_REST_CACHE_TTL_MS;
1190
- const rawNow = Date.now();
1191
- const now = asDateTimestampMs(rawNow);
1192
- if (ttl > 0) {
1193
- const cached = this.entries.get(key);
1194
- if (cached && now !== void 0 && cached.expiresAt > now) return cached.value;
1195
- if (cached) this.entries.delete(key);
1196
- }
1197
- const value = await fetcher();
1198
- if (ttl > 0) {
1199
- const expiresAt = resolveExpiresAtMsFromDurationMs(ttl, { nowMs: rawNow });
1200
- if (expiresAt !== void 0) {
1201
- if (now !== void 0) this.maybeSweepExpired(now);
1202
- this.entries.set(key, {
1203
- expiresAt,
1204
- value
1205
- });
1206
- this.enforceMaxEntries();
1207
- }
1208
- }
1209
- return value;
1210
- }
1211
- maybeSweepExpired(now) {
1212
- const interval = this.params.sweepIntervalMs ?? DEFAULT_SWEEP_INTERVAL_MS;
1213
- if (now - this.lastSweepAt < interval) return;
1214
- this.lastSweepAt = now;
1215
- for (const [key, entry] of this.entries) if (entry.expiresAt <= now) this.entries.delete(key);
1216
- }
1217
- enforceMaxEntries() {
1218
- const max = this.params.maxEntries ?? DEFAULT_MAX_ENTRIES;
1219
- if (this.entries.size <= max) return;
1220
- const toRemove = this.entries.size - max;
1221
- let removed = 0;
1222
- for (const key of this.entries.keys()) {
1223
- if (removed >= toRemove) break;
1224
- this.entries.delete(key);
1225
- removed += 1;
1226
- }
1227
- }
1228
- get rest() {
1229
- return typeof this.params.rest === "function" ? this.params.rest() : this.params.rest;
1230
- }
1231
- };
1232
- //#endregion
1233
- //#region extensions/discord/src/internal/event-queue.ts
1234
- const DEFAULT_MAX_QUEUE_SIZE = 1e4;
1235
- const DEFAULT_MAX_CONCURRENCY = 50;
1236
- const DEFAULT_LISTENER_TIMEOUT_MS = 12e4;
1237
- const DEFAULT_SLOW_LISTENER_THRESHOLD_MS = 3e4;
1238
- var DiscordEventQueue = class {
1239
- constructor(options = {}) {
1240
- this.queue = [];
1241
- this.queueHead = 0;
1242
- this.processing = 0;
1243
- this.processedCount = 0;
1244
- this.droppedCount = 0;
1245
- this.timeoutCount = 0;
1246
- this.options = {
1247
- maxQueueSize: normalizePositiveInteger(options.maxQueueSize, DEFAULT_MAX_QUEUE_SIZE),
1248
- maxConcurrency: normalizePositiveInteger(options.maxConcurrency, DEFAULT_MAX_CONCURRENCY),
1249
- listenerTimeout: normalizePositiveInteger(options.listenerTimeout, DEFAULT_LISTENER_TIMEOUT_MS),
1250
- slowListenerThreshold: normalizePositiveInteger(options.slowListenerThreshold, DEFAULT_SLOW_LISTENER_THRESHOLD_MS)
1251
- };
1252
- }
1253
- enqueue(params) {
1254
- if (this.pendingQueueSize >= this.options.maxQueueSize) {
1255
- this.droppedCount += 1;
1256
- return Promise.reject(/* @__PURE__ */ new Error(`Discord event queue is full for ${params.eventType}; maxQueueSize=${this.options.maxQueueSize}`));
1257
- }
1258
- return new Promise((resolve, reject) => {
1259
- this.queue.push({
1260
- ...params,
1261
- resolve,
1262
- reject
1263
- });
1264
- this.processNext();
1265
- });
1266
- }
1267
- getMetrics() {
1268
- return {
1269
- queueSize: this.pendingQueueSize,
1270
- processing: this.processing,
1271
- processed: this.processedCount,
1272
- dropped: this.droppedCount,
1273
- timeouts: this.timeoutCount,
1274
- maxQueueSize: this.options.maxQueueSize,
1275
- maxConcurrency: this.options.maxConcurrency
1276
- };
1277
- }
1278
- get pendingQueueSize() {
1279
- return Math.max(0, this.queue.length - this.queueHead);
1280
- }
1281
- takeNextJob() {
1282
- if (this.queueHead >= this.queue.length) {
1283
- this.queue.length = 0;
1284
- this.queueHead = 0;
1285
- return;
1286
- }
1287
- const job = this.queue[this.queueHead];
1288
- this.queueHead += 1;
1289
- if (this.queueHead >= this.queue.length) {
1290
- this.queue.length = 0;
1291
- this.queueHead = 0;
1292
- } else if (this.queueHead > 256 && this.queueHead * 2 > this.queue.length) {
1293
- this.queue.splice(0, this.queueHead);
1294
- this.queueHead = 0;
1295
- }
1296
- return job;
1297
- }
1298
- processNext() {
1299
- while (this.processing < this.options.maxConcurrency && this.pendingQueueSize > 0) {
1300
- const job = this.takeNextJob();
1301
- if (!job) return;
1302
- this.processing += 1;
1303
- const listenerPromise = Promise.resolve().then(() => job.run());
1304
- const runJobPromise = this.runJob(job, listenerPromise);
1305
- runJobPromise.then(job.resolve, job.reject).finally(() => {
1306
- this.processedCount += 1;
1307
- });
1308
- Promise.allSettled([runJobPromise, listenerPromise]).then(([dispatchResult, listenerResult]) => {
1309
- if (dispatchResult.status === "fulfilled" && dispatchResult.value === "timed-out" && listenerResult.status === "rejected") console.error(`[EventQueue] Listener ${job.listenerName} failed after timeout for event ${job.eventType}:`, listenerResult.reason);
1310
- this.processing -= 1;
1311
- this.processNext();
1312
- });
1313
- }
1314
- }
1315
- async runJob(job, listenerPromise) {
1316
- const startedAt = Date.now();
1317
- try {
1318
- await this.runWithTimeout(listenerPromise);
1319
- this.logSlowListener(job, Date.now() - startedAt);
1320
- return "completed";
1321
- } catch (error) {
1322
- if (isListenerTimeoutError(error)) {
1323
- this.timeoutCount += 1;
1324
- console.error(`[EventQueue] Listener ${job.listenerName} timed out after ${this.options.listenerTimeout}ms for event ${job.eventType}`);
1325
- return "timed-out";
1326
- }
1327
- console.error(`[EventQueue] Listener ${job.listenerName} failed for event ${job.eventType}:`, error);
1328
- return "failed";
1329
- }
1330
- }
1331
- async runWithTimeout(listenerPromise) {
1332
- let timeout;
1333
- try {
1334
- await Promise.race([listenerPromise, new Promise((_, reject) => {
1335
- timeout = setTimeout(() => {
1336
- reject(createListenerTimeoutError(this.options.listenerTimeout));
1337
- }, this.options.listenerTimeout);
1338
- timeout.unref?.();
1339
- })]);
1340
- } finally {
1341
- if (timeout) clearTimeout(timeout);
1342
- }
1343
- }
1344
- logSlowListener(job, durationMs) {
1345
- if (durationMs < this.options.slowListenerThreshold) return;
1346
- console.warn(`[EventQueue] Slow listener detected: ${job.listenerName} took ${durationMs}ms for event ${job.eventType}`);
1347
- }
1348
- };
1349
- function normalizePositiveInteger(value, fallback) {
1350
- if (typeof value !== "number" || !Number.isFinite(value) || value <= 0) return fallback;
1351
- return Math.max(1, Math.floor(value));
1352
- }
1353
- function createListenerTimeoutError(timeoutMs) {
1354
- const error = /* @__PURE__ */ new Error(`Listener timeout after ${timeoutMs}ms`);
1355
- error.name = "DiscordEventQueueListenerTimeoutError";
1356
- return error;
1357
- }
1358
- function isListenerTimeoutError(error) {
1359
- return error instanceof Error && error.name === "DiscordEventQueueListenerTimeoutError";
1360
- }
1361
- //#endregion
1362
- //#region extensions/discord/src/internal/commands.ts
1363
- function clean(value) {
1364
- return Object.fromEntries(Object.entries(value).filter(([, entry]) => entry !== void 0));
1365
- }
1366
- function resolveConditionalCommandOption(value, interaction) {
1367
- return typeof value === "function" ? value(interaction) : value;
1368
- }
1369
- async function deferCommandInteractionIfNeeded(command, interaction) {
1370
- if (!resolveConditionalCommandOption(command.defer, interaction)) return;
1371
- await interaction.defer({ ephemeral: resolveConditionalCommandOption(command.ephemeral, interaction) });
1372
- }
1373
- function readRawCommandOptions(interaction) {
1374
- const options = interaction.rawData.data?.options;
1375
- return Array.isArray(options) ? options : [];
1376
- }
1377
- function findSelectedSubcommand(subcommands, interaction) {
1378
- const subcommandName = readRawCommandOptions(interaction).find((option) => option.type === ApplicationCommandOptionType.Subcommand)?.name;
1379
- return typeof subcommandName === "string" ? subcommands.find((command) => command.name === subcommandName) : void 0;
1380
- }
1381
- function findCommandOption(options, name) {
1382
- if (!name) return;
1383
- return options?.find((option) => option.name === name);
1384
- }
1385
- function hasCommandOptions(command) {
1386
- return "options" in command;
1387
- }
1388
- function resolveFocusedCommandOptionAutocompleteHandler(command, interaction) {
1389
- const focusedName = interaction.options.getFocused()?.name;
1390
- const autocomplete = findCommandOption("subcommands" in command && Array.isArray(command.subcommands) ? findSelectedSubcommand(command.subcommands, interaction)?.options : hasCommandOptions(command) ? command.options : void 0, focusedName)?.autocomplete;
1391
- return typeof autocomplete === "function" ? autocomplete : void 0;
1392
- }
1393
- var BaseCommand = class {
1394
- constructor() {
1395
- this.defer = false;
1396
- this.ephemeral = false;
1397
- this.integrationTypes = [0, 1];
1398
- this.contexts = [
1399
- InteractionContextType.Guild,
1400
- InteractionContextType.BotDM,
1401
- InteractionContextType.PrivateChannel
1402
- ];
1403
- }
1404
- serialize() {
1405
- return clean({
1406
- name: this.name,
1407
- name_localizations: this.nameLocalizations,
1408
- description: this.type === ApplicationCommandType.ChatInput ? this.description ?? "" : void 0,
1409
- description_localizations: this.descriptionLocalizations,
1410
- type: this.type,
1411
- options: this.serializeOptions(),
1412
- integration_types: this.integrationTypes,
1413
- contexts: this.contexts,
1414
- default_member_permissions: Array.isArray(this.permission) ? this.permission.reduce((sum, entry) => sum | entry, 0n).toString() : this.permission ? this.permission.toString() : null
1415
- });
1416
- }
1417
- };
1418
- var Command = class extends BaseCommand {
1419
- constructor(..._args) {
1420
- super(..._args);
1421
- this.type = ApplicationCommandType.ChatInput;
1422
- }
1423
- async autocomplete(interaction) {
1424
- throw new Error(`The ${interaction.rawData?.data?.name ?? this.name} command does not support autocomplete`);
1425
- }
1426
- serializeOptions() {
1427
- return this.options?.map((option) => {
1428
- if (typeof option.autocomplete === "function") {
1429
- const { autocomplete: _autocomplete, ...rest } = option;
1430
- return {
1431
- ...rest,
1432
- autocomplete: true
1433
- };
1434
- }
1435
- return option;
1436
- });
1437
- }
1438
- };
1439
- var CommandWithSubcommands = class extends BaseCommand {
1440
- constructor(..._args2) {
1441
- super(..._args2);
1442
- this.type = ApplicationCommandType.ChatInput;
1443
- }
1444
- async run(interaction) {
1445
- const subcommand = findSelectedSubcommand(this.subcommands, interaction);
1446
- if (!subcommand) {
1447
- const subcommandName = readRawCommandOptions(interaction).find((option) => option.type === ApplicationCommandOptionType.Subcommand)?.name;
1448
- throw new Error(`Unknown Discord subcommand: ${typeof subcommandName === "string" ? subcommandName : "<missing>"}`);
1449
- }
1450
- await deferCommandInteractionIfNeeded(subcommand, interaction);
1451
- return await subcommand.run(interaction);
1452
- }
1453
- serializeOptions() {
1454
- return this.subcommands.map((command) => clean({
1455
- name: command.name,
1456
- name_localizations: command.nameLocalizations,
1457
- description: command.description ?? "",
1458
- description_localizations: command.descriptionLocalizations,
1459
- type: ApplicationCommandOptionType.Subcommand,
1460
- options: command.serializeOptions()
1461
- }));
1462
- }
1463
- };
1464
- //#endregion
1465
- //#region extensions/discord/src/internal/interaction-options.ts
1466
- function readFocusedOption(options) {
1467
- for (const option of options ?? []) {
1468
- if ("focused" in option && option.focused) return option;
1469
- const child = readFocusedOption(readChildOptions(option));
1470
- if (child) return child;
1471
- }
1472
- }
1473
- function findOption(options, name) {
1474
- for (const option of options ?? []) {
1475
- if (option.name === name) return option;
1476
- const child = findOption(readChildOptions(option), name);
1477
- if (child) return child;
1478
- }
1479
- }
1480
- function readChildOptions(option) {
1481
- if (!("options" in option) || !Array.isArray(option.options)) return;
1482
- return option.options;
1483
- }
1484
- var OptionsHandler = class {
1485
- constructor(rawOptions, client, resolvedChannels) {
1486
- this.rawOptions = rawOptions;
1487
- this.client = client;
1488
- this.resolvedChannels = resolvedChannels;
1489
- }
1490
- getString(name) {
1491
- const option = findOption(this.rawOptions, name);
1492
- const value = option && "value" in option ? option.value : void 0;
1493
- return typeof value === "string" ? value : null;
1494
- }
1495
- getNumber(name) {
1496
- const option = findOption(this.rawOptions, name);
1497
- const value = option && "value" in option ? option.value : void 0;
1498
- return typeof value === "number" ? value : null;
1499
- }
1500
- getBoolean(name) {
1501
- const option = findOption(this.rawOptions, name);
1502
- const value = option && "value" in option ? option.value : void 0;
1503
- return typeof value === "boolean" ? value : null;
1504
- }
1505
- async getChannel(name, required = false) {
1506
- const option = findOption(this.rawOptions, name);
1507
- const value = option && "value" in option ? option.value : void 0;
1508
- const id = typeof value === "string" ? value : void 0;
1509
- const resolved = id ? this.resolvedChannels?.[id] : void 0;
1510
- if (resolved) return channelFactory(this.client, resolved);
1511
- if (id) return await this.client.fetchChannel(id);
1512
- if (required) throw new Error(`Missing required channel option ${name}`);
1513
- return null;
1514
- }
1515
- getFocused() {
1516
- return readFocusedOption(this.rawOptions);
1517
- }
1518
- };
1519
- //#endregion
1520
- //#region extensions/discord/src/internal/interaction-response.ts
1521
- var InteractionResponseController = class {
1522
- constructor() {
1523
- this.state = "unacknowledged";
1524
- }
1525
- get acknowledged() {
1526
- return this.state !== "unacknowledged";
1527
- }
1528
- recordCallback(type) {
1529
- if (type === InteractionResponseType.DeferredChannelMessageWithSource) {
1530
- this.state = "deferred";
1531
- return;
1532
- }
1533
- if (type === InteractionResponseType.DeferredMessageUpdate) {
1534
- this.state = "deferred-update";
1535
- return;
1536
- }
1537
- this.state = "replied";
1538
- }
1539
- nextReplyAction() {
1540
- if (this.state === "deferred" || this.state === "deferred-update") return "edit";
1541
- if (this.state === "unacknowledged") return "initial";
1542
- return "follow-up";
1543
- }
1544
- recordReplyEdit() {
1545
- this.state = "replied";
1546
- }
1547
- recordReplyDelete() {
1548
- this.state = "replied";
1549
- }
1550
- };
1551
- function needsComponentsV2Query(body) {
1552
- return body !== null && typeof body === "object" && "flags" in body && typeof body.flags === "number" && (body.flags & MessageFlags.IsComponentsV2) !== 0;
1553
- }
1554
- //#endregion
1555
- //#region extensions/discord/src/internal/modal-fields.ts
1556
- function extractModalFields(components) {
1557
- const out = {};
1558
- for (const component of flattenModalComponents(components)) {
1559
- const raw = component;
1560
- if (typeof raw.custom_id !== "string") continue;
1561
- if (Array.isArray(raw.values)) out[raw.custom_id] = raw.values.map(String);
1562
- else if (typeof raw.value === "string" || typeof raw.value === "number" || typeof raw.value === "boolean") out[raw.custom_id] = String(raw.value);
1563
- }
1564
- return out;
1565
- }
1566
- function flattenModalComponents(components) {
1567
- const out = [];
1568
- for (const entry of components) {
1569
- if (!entry || typeof entry !== "object") continue;
1570
- const component = entry;
1571
- if (component.component && typeof component.component === "object") out.push(component.component);
1572
- if (Array.isArray(component.components)) out.push(...flattenModalComponents(component.components));
1573
- out.push(entry);
1574
- }
1575
- return out;
1576
- }
1577
- var ModalFields = class {
1578
- constructor(values, resolved, client) {
1579
- this.values = values;
1580
- this.resolved = resolved;
1581
- this.client = client;
1582
- }
1583
- value(id, required) {
1584
- const value = this.values[id];
1585
- if (required && (value === void 0 || Array.isArray(value) && value.length === 0)) throw new Error(`Missing required modal field ${id}`);
1586
- return value;
1587
- }
1588
- getText(id, required = false) {
1589
- const value = this.value(id, required);
1590
- return typeof value === "string" ? value : null;
1591
- }
1592
- getStringSelect(id, required = false) {
1593
- const value = this.value(id, required);
1594
- if (Array.isArray(value)) return value;
1595
- return typeof value === "string" ? [value] : [];
1596
- }
1597
- getRoleSelect(id, required = false) {
1598
- return this.getStringSelect(id, required).map((roleId) => {
1599
- const raw = this.resolved?.roles?.[roleId];
1600
- return raw ? new Role(this.client, {
1601
- id: roleId,
1602
- name: raw.name ?? ""
1603
- }) : new Role(this.client, roleId);
1604
- });
1605
- }
1606
- getUserSelect(id, required = false) {
1607
- return this.getStringSelect(id, required).map((userId) => {
1608
- const raw = this.resolved?.users?.[userId];
1609
- return new User(this.client, {
1610
- id: userId,
1611
- username: raw?.username ?? ""
1612
- });
1613
- });
1614
- }
1615
- };
1616
- //#endregion
1617
- //#region extensions/discord/src/internal/schemas.ts
1618
- const discordInteractionPayloadSchema = Type.Object({
1619
- id: Type.String({ minLength: 1 }),
1620
- token: Type.String({ minLength: 1 }),
1621
- type: Type.Number()
1622
- }, { additionalProperties: true });
1623
- const discordRateLimitBodySchema = Type.Object({
1624
- message: Type.Optional(Type.String()),
1625
- retry_after: Type.Optional(Type.Union([Type.Number(), Type.String()])),
1626
- global: Type.Optional(Type.Boolean()),
1627
- code: Type.Optional(Type.Union([Type.Number(), Type.String()]))
1628
- }, { additionalProperties: true });
1629
- function assertDiscordInteractionPayload(value) {
1630
- if (!Check(discordInteractionPayloadSchema, value)) throw new Error("Invalid Discord interaction payload");
1631
- }
1632
- function isDiscordRateLimitBody(value) {
1633
- return Check(discordRateLimitBodySchema, value);
1634
- }
1635
- //#endregion
1636
- //#region extensions/discord/src/internal/interactions.ts
1637
- function toCommandRawInteraction(rawData) {
1638
- return rawData;
1639
- }
1640
- function toMessageComponentRawInteraction(rawData) {
1641
- return rawData;
1642
- }
1643
- function toModalSubmitRawInteraction(rawData) {
1644
- return rawData;
1645
- }
1646
- function readInteractionUser(rawData, client) {
1647
- const directUser = "user" in rawData ? rawData.user : void 0;
1648
- if (directUser && typeof directUser === "object" && "id" in directUser) return new User(client, directUser);
1649
- const memberUser = rawData.member?.user;
1650
- if (memberUser && typeof memberUser === "object" && typeof memberUser.id === "string") {
1651
- const user = { ...memberUser };
1652
- if (typeof user.username !== "string") user.username = "";
1653
- return new User(client, user);
1654
- }
1655
- return null;
1656
- }
1657
- var BaseInteraction = class {
1658
- constructor(client, rawData) {
1659
- this.client = client;
1660
- this.rawData = rawData;
1661
- this.message = null;
1662
- this.response = new InteractionResponseController();
1663
- this.id = rawData.id;
1664
- this.token = rawData.token;
1665
- this.user = readInteractionUser(rawData, client);
1666
- this.userId = this.user?.id ?? "";
1667
- this.guild = rawData.guild_id ? new Guild(client, rawData.guild_id) : null;
1668
- this.channel = "channel" in rawData && rawData.channel ? channelFactory(client, rawData.channel) : null;
1669
- }
1670
- get acknowledged() {
1671
- return this.response.acknowledged;
1672
- }
1673
- get responseState() {
1674
- return this.response.state;
1675
- }
1676
- set responseState(nextState) {
1677
- this.response.state = nextState;
1678
- }
1679
- async callback(type, data) {
1680
- this.response.recordCallback(type);
1681
- return await createInteractionCallback(this.client.rest, this.id, this.token, data === void 0 ? { type } : {
1682
- type,
1683
- data
1684
- });
1685
- }
1686
- async reply(payload) {
1687
- const action = this.response.nextReplyAction();
1688
- if (action === "edit") return await this.editReply(payload);
1689
- if (action === "follow-up") return await this.followUp(payload);
1690
- return await this.callback(InteractionResponseType.ChannelMessageWithSource, serializePayload(payload));
1691
- }
1692
- async defer(options) {
1693
- return await this.callback(InteractionResponseType.DeferredChannelMessageWithSource, options?.ephemeral ? { flags: 64 } : void 0);
1694
- }
1695
- async acknowledge() {
1696
- return await this.defer();
1697
- }
1698
- async editReply(payload) {
1699
- const body = serializePayload(payload);
1700
- const query = needsComponentsV2Query(body) ? { with_components: true } : void 0;
1701
- const result = query ? await editWebhookMessage(this.client.rest, this.client.options.clientId, this.token, "@original", { body }, query) : await editWebhookMessage(this.client.rest, this.client.options.clientId, this.token, "@original", { body });
1702
- this.response.recordReplyEdit();
1703
- return result;
1704
- }
1705
- async deleteReply() {
1706
- const result = await deleteWebhookMessage(this.client.rest, this.client.options.clientId, this.token, "@original");
1707
- this.response.recordReplyDelete();
1708
- return result;
1709
- }
1710
- async fetchReply() {
1711
- return await getWebhookMessage(this.client.rest, this.client.options.clientId, this.token, "@original");
1712
- }
1713
- async replyAndWaitForComponent(payload, timeoutMs = 3e5) {
1714
- const result = await this.reply(payload);
1715
- const rawMessage = isRawMessage(result) ? result : await this.fetchReply();
1716
- if (!isRawMessage(rawMessage)) throw new Error("Discord interaction reply did not return a message");
1717
- const message = new Message(this.client, rawMessage);
1718
- return await this.client.componentHandler.waitForMessageComponent(message, timeoutMs);
1719
- }
1720
- async followUp(payload) {
1721
- const body = serializePayload(payload);
1722
- return await createWebhookMessage(this.client.rest, this.client.options.clientId, this.token, { body }, needsComponentsV2Query(body) ? { with_components: true } : void 0);
1723
- }
1724
- };
1725
- var CommandInteraction = class extends BaseInteraction {
1726
- constructor(client, rawData) {
1727
- super(client, rawData);
1728
- this.options = new OptionsHandler(rawData.data.options, client, rawData.data.resolved?.channels);
1729
- }
1730
- };
1731
- var AutocompleteInteraction = class extends CommandInteraction {
1732
- async respond(choices) {
1733
- return await this.callback(InteractionResponseType.ApplicationCommandAutocompleteResult, { choices });
1734
- }
1735
- };
1736
- var BaseComponentInteraction = class extends BaseInteraction {
1737
- constructor(client, rawData) {
1738
- super(client, rawData);
1739
- this.message = rawData.message && typeof rawData.message === "object" ? new Message(client, rawData.message) : null;
1740
- this.values = Array.isArray(rawData.data.values) ? rawData.data.values.map(String) : [];
1741
- }
1742
- async update(payload) {
1743
- return await this.callback(InteractionResponseType.UpdateMessage, serializePayload(payload));
1744
- }
1745
- async acknowledge() {
1746
- return await this.callback(InteractionResponseType.DeferredMessageUpdate);
1747
- }
1748
- async showModal(modal) {
1749
- return await this.callback(InteractionResponseType.Modal, modal.serialize());
1750
- }
1751
- async launchActivity() {
1752
- return await this.callback(InteractionResponseType.LaunchActivity);
1753
- }
1754
- };
1755
- var ButtonInteraction = class extends BaseComponentInteraction {};
1756
- var StringSelectMenuInteraction = class extends BaseComponentInteraction {};
1757
- var UserSelectMenuInteraction = class extends BaseComponentInteraction {};
1758
- var RoleSelectMenuInteraction = class extends BaseComponentInteraction {};
1759
- var MentionableSelectMenuInteraction = class extends BaseComponentInteraction {};
1760
- var ChannelSelectMenuInteraction = class extends BaseComponentInteraction {};
1761
- var ModalInteraction = class extends BaseInteraction {
1762
- constructor(client, rawData) {
1763
- super(client, rawData);
1764
- this.fields = new ModalFields(extractModalFields(rawData.data.components ?? []), rawData.data.resolved, client);
1765
- }
1766
- async acknowledge() {
1767
- return await this.callback(InteractionResponseType.DeferredMessageUpdate);
1768
- }
1769
- };
1770
- function createInteraction(client, rawData) {
1771
- assertDiscordInteractionPayload(rawData);
1772
- if (rawData.type === InteractionType.ApplicationCommandAutocomplete) return new AutocompleteInteraction(client, toCommandRawInteraction(rawData));
1773
- if (rawData.type === InteractionType.ApplicationCommand) return new CommandInteraction(client, toCommandRawInteraction(rawData));
1774
- if (rawData.type === InteractionType.ModalSubmit) return new ModalInteraction(client, toModalSubmitRawInteraction(rawData));
1775
- if (rawData.type === InteractionType.MessageComponent) {
1776
- const componentRawData = toMessageComponentRawInteraction(rawData);
1777
- switch (rawData.data?.component_type) {
1778
- case ComponentType.Button: return new ButtonInteraction(client, componentRawData);
1779
- case ComponentType.StringSelect: return new StringSelectMenuInteraction(client, componentRawData);
1780
- case ComponentType.UserSelect: return new UserSelectMenuInteraction(client, componentRawData);
1781
- case ComponentType.RoleSelect: return new RoleSelectMenuInteraction(client, componentRawData);
1782
- case ComponentType.MentionableSelect: return new MentionableSelectMenuInteraction(client, componentRawData);
1783
- case ComponentType.ChannelSelect: return new ChannelSelectMenuInteraction(client, componentRawData);
1784
- default: return new BaseComponentInteraction(client, componentRawData);
1785
- }
1786
- }
1787
- return new BaseInteraction(client, rawData);
1788
- }
1789
- function parseComponentInteractionData(component, customId) {
1790
- return component.customIdParser(customId).data;
1791
- }
1792
- function isRawMessage(value) {
1793
- return Boolean(value) && typeof value === "object" && typeof value.id === "string" && typeof value.channel_id === "string";
1794
- }
1795
- //#endregion
1796
- //#region extensions/discord/src/internal/interaction-dispatch.ts
1797
- async function dispatchInteraction(client, rawData) {
1798
- const interaction = createInteraction(client, rawData);
1799
- if (rawData.type === InteractionType.ApplicationCommandAutocomplete) {
1800
- const command = client.commands.find((entry) => entry.name === readInteractionName(rawData));
1801
- if (!command) return;
1802
- const autocompleteInteraction = interaction;
1803
- const optionAutocomplete = resolveFocusedCommandOptionAutocompleteHandler(command, autocompleteInteraction);
1804
- if (optionAutocomplete) {
1805
- await optionAutocomplete(autocompleteInteraction);
1806
- return;
1807
- }
1808
- if ("autocomplete" in command) await command.autocomplete(autocompleteInteraction);
1809
- return;
1810
- }
1811
- if (rawData.type === InteractionType.ApplicationCommand) {
1812
- const command = client.commands.find((entry) => entry.name === readInteractionName(rawData));
1813
- if (command && "run" in command) {
1814
- await deferCommandInteractionIfNeeded(command, interaction);
1815
- await command.run(interaction);
1816
- }
1817
- return;
1818
- }
1819
- if (rawData.type === InteractionType.MessageComponent) {
1820
- const customId = readCustomId(rawData);
1821
- if (!customId) return;
1822
- const componentInteraction = interaction;
1823
- if (client.componentHandler.resolveOneOffComponent({
1824
- channelId: readMessageChannelId(rawData),
1825
- customId,
1826
- messageId: readMessageId(rawData),
1827
- values: readComponentValues(rawData)
1828
- })) {
1829
- await componentInteraction.acknowledge();
1830
- return;
1831
- }
1832
- const component = client.componentHandler.resolve(customId, { componentType: rawData.data?.component_type });
1833
- if (component) {
1834
- await deferComponentInteractionIfNeeded(component, componentInteraction);
1835
- await component.run(componentInteraction, parseComponentInteractionData(component, customId));
1836
- }
1837
- return;
1838
- }
1839
- if (rawData.type === InteractionType.ModalSubmit) {
1840
- const customId = readCustomId(rawData);
1841
- if (!customId) return;
1842
- const modal = client.modalHandler.resolve(customId);
1843
- if (modal) await modal.run(interaction, modal.customIdParser(customId).data);
1844
- }
1845
- }
1846
- function resolveConditionalComponentOption(value, interaction) {
1847
- return typeof value === "function" ? value(interaction) : value;
1848
- }
1849
- async function deferComponentInteractionIfNeeded(component, interaction) {
1850
- if (!resolveConditionalComponentOption(component.defer, interaction)) return;
1851
- if (resolveConditionalComponentOption(component.ephemeral, interaction)) {
1852
- await interaction.defer({ ephemeral: true });
1853
- return;
1854
- }
1855
- await interaction.acknowledge();
1856
- }
1857
- function readInteractionName(rawData) {
1858
- return rawData.data?.name;
1859
- }
1860
- function readCustomId(rawData) {
1861
- return rawData.data?.custom_id;
1862
- }
1863
- function readComponentValues(rawData) {
1864
- const values = rawData.data?.values;
1865
- return Array.isArray(values) ? values.map(String) : void 0;
1866
- }
1867
- function readMessageId(rawData) {
1868
- const messageId = rawData.message?.id;
1869
- return typeof messageId === "string" ? messageId : void 0;
1870
- }
1871
- function readMessageChannelId(rawData) {
1872
- const channelId = rawData.message?.channel_id;
1873
- return typeof channelId === "string" ? channelId : void 0;
1874
- }
1875
- //#endregion
1876
- //#region extensions/discord/src/internal/rest-body.ts
1877
- function serializeRequestBody(data, headers) {
1878
- if (data?.headers) for (const [key, value] of Object.entries(data.headers)) headers.set(key, value);
1879
- if (data?.body == null) return;
1880
- if (typeof data.body === "object") {
1881
- const bodyObject = data.body;
1882
- const topLevelFiles = Array.isArray(bodyObject.files) ? bodyObject.files : void 0;
1883
- const nestedData = bodyObject.data && typeof bodyObject.data === "object" ? bodyObject.data : void 0;
1884
- const nestedFiles = nestedData && Array.isArray(nestedData.files) ? nestedData.files : void 0;
1885
- const files = topLevelFiles ?? nestedFiles;
1886
- const filesContainer = topLevelFiles ? bodyObject : nestedFiles ? nestedData : void 0;
1887
- if (files?.length && filesContainer) {
1888
- if (data.multipartStyle === "form") {
1889
- const formData = new FormData();
1890
- for (const [key, value] of Object.entries(filesContainer)) {
1891
- if (key === "files" || value === void 0 || value === null) continue;
1892
- formData.append(key, typeof value === "string" ? value : JSON.stringify(value));
1893
- }
1894
- for (const file of files) {
1895
- const item = file;
1896
- const name = typeof item.name === "string" && item.name ? item.name : "file";
1897
- const blob = item.data instanceof Blob ? item.data : new Blob([item.data], { type: typeof item.contentType === "string" ? item.contentType : void 0 });
1898
- formData.append(typeof item.fieldName === "string" && item.fieldName ? item.fieldName : "file", blob, name);
1899
- }
1900
- return formData;
1901
- }
1902
- const payloadJson = topLevelFiles ? { ...bodyObject } : {
1903
- ...bodyObject,
1904
- data: { ...nestedData }
1905
- };
1906
- const payloadFilesContainer = topLevelFiles ? payloadJson : payloadJson.data ?? {};
1907
- const formData = new FormData();
1908
- const existingAttachments = Array.isArray(payloadFilesContainer.attachments) ? [...payloadFilesContainer.attachments] : [];
1909
- const uploaded = files.map((file, index) => {
1910
- const item = file;
1911
- const name = typeof item.name === "string" && item.name ? item.name : `file-${index}`;
1912
- const blob = item.data instanceof Blob ? item.data : new Blob([item.data], { type: typeof item.contentType === "string" ? item.contentType : void 0 });
1913
- const id = existingAttachments.length + index;
1914
- formData.append(`files[${id}]`, blob, name);
1915
- const attachment = {
1916
- id,
1917
- filename: name
1918
- };
1919
- if (typeof item.description === "string") attachment.description = item.description;
1920
- if (typeof item.duration_secs === "number") attachment.duration_secs = item.duration_secs;
1921
- if (typeof item.waveform === "string") attachment.waveform = item.waveform;
1922
- return attachment;
1923
- });
1924
- payloadFilesContainer.attachments = [...existingAttachments, ...uploaded];
1925
- delete payloadFilesContainer.files;
1926
- formData.append("payload_json", JSON.stringify(payloadJson));
1927
- return formData;
1928
- }
1929
- }
1930
- if (!data.rawBody) headers.set("Content-Type", "application/json");
1931
- return data.rawBody ? data.body : JSON.stringify(data.body);
1932
- }
1933
- //#endregion
1934
- //#region extensions/discord/src/internal/rest-errors.ts
1935
- const DISCORD_UNKNOWN_VOICE_STATE = 10065;
1936
- function readDiscordCode(body) {
1937
- return parseStrictNonNegativeInteger(body && typeof body === "object" && "code" in body ? body.code : void 0);
1938
- }
1939
- function readDiscordMessage(body, fallback) {
1940
- const value = body && typeof body === "object" && "message" in body ? body.message : void 0;
1941
- return typeof value === "string" && value.trim() ? value : fallback;
1942
- }
1943
- function isUnknownDiscordVoiceStateError(err) {
1944
- return (err && typeof err === "object" && "discordCode" in err ? parseStrictNonNegativeInteger(err.discordCode) : void 0) === DISCORD_UNKNOWN_VOICE_STATE || /unknown voice state/i.test(formatErrorMessage(err));
1945
- }
1946
- function readRetryAfter(body, response, fallbackSeconds = 0) {
1947
- return parseDiscordRetryAfterBodySeconds(body && typeof body === "object" && "retry_after" in body ? body.retry_after : void 0) ?? parseRetryAfterHeaderSeconds(response.headers.get("Retry-After")) ?? fallbackSeconds;
1948
- }
1949
- var DiscordError = class extends Error {
1950
- constructor(response, body) {
1951
- super(readDiscordMessage(body, `Discord API request failed (${response.status})`));
1952
- this.name = "DiscordError";
1953
- this.status = response.status;
1954
- this.statusCode = response.status;
1955
- this.rawBody = body;
1956
- this.rawError = body;
1957
- this.discordCode = readDiscordCode(body);
1958
- }
1959
- };
1960
- var RateLimitError = class extends DiscordError {
1961
- constructor(response, body) {
1962
- super(response, body);
1963
- this.name = "RateLimitError";
1964
- this.retryAfter = readRetryAfter(body, response, 1);
1965
- this.scope = body.global ? "global" : response.headers.get("X-RateLimit-Scope");
1966
- this.bucket = response.headers.get("X-RateLimit-Bucket");
1967
- }
1968
- };
1969
- //#endregion
1970
- //#region extensions/discord/src/internal/rest-routes.ts
1971
- const RATE_LIMIT_HEADER_NUMBER_RE = /^\d+(?:\.\d+)?$/;
1972
- function createRouteKey(method, path) {
1973
- return `${method.toUpperCase()} ${path.split("?")[0] ?? path}`;
1974
- }
1975
- function readTopLevelRouteKey(path) {
1976
- const [pathname = path] = path.split("?");
1977
- const [first, id, token] = pathname.replace(/^\/+/, "").split("/");
1978
- if (!first || !id) return pathname;
1979
- if (first === "channels" || first === "guilds" || first === "webhooks") return first === "webhooks" && token ? `${first}/${id}/${token}` : `${first}/${id}`;
1980
- return first;
1981
- }
1982
- function createBucketKey(bucket, path) {
1983
- return `${bucket}:${readTopLevelRouteKey(path)}`;
1984
- }
1985
- function readHeaderNumber(headers, name) {
1986
- const value = headers.get(name);
1987
- if (!value) return;
1988
- const trimmed = value.trim();
1989
- if (!RATE_LIMIT_HEADER_NUMBER_RE.test(trimmed)) return;
1990
- const parsed = Number(trimmed);
1991
- return Number.isFinite(parsed) && Math.abs(parsed) <= Number.MAX_SAFE_INTEGER ? parsed : void 0;
1992
- }
1993
- function resolveRateLimitResetAt(delayMs) {
1994
- const clampedDelayMs = Math.ceil(Math.max(0, delayMs));
1995
- if (!Number.isSafeInteger(clampedDelayMs)) return;
1996
- if (clampedDelayMs === 0) return asDateTimestampMs(Date.now());
1997
- return resolveExpiresAtMsFromDurationMs(clampedDelayMs);
1998
- }
1999
- function readResetAt(response) {
2000
- const resetAfter = readHeaderNumber(response.headers, "X-RateLimit-Reset-After");
2001
- if (resetAfter !== void 0) return resolveRateLimitResetAt(resetAfter * 1e3);
2002
- const reset = readHeaderNumber(response.headers, "X-RateLimit-Reset");
2003
- return reset !== void 0 ? asDateTimestampMs(reset * 1e3) : void 0;
2004
- }
2005
- function appendQuery(path, query) {
2006
- if (!query || Object.keys(query).length === 0) return path;
2007
- const search = new URLSearchParams();
2008
- for (const [key, value] of Object.entries(query)) search.set(key, String(value));
2009
- return `${path}?${search.toString()}`;
2010
- }
2011
- //#endregion
2012
- //#region extensions/discord/src/internal/rest-scheduler.ts
2013
- const INVALID_REQUEST_WINDOW_MS = 10 * 6e4;
2014
- const requestPriorities = [
2015
- "critical",
2016
- "standard",
2017
- "background"
2018
- ];
2019
- function normalizeRestSchedulerOptions(options) {
2020
- return {
2021
- lanes: {
2022
- critical: normalizeLaneOptions(options.lanes.critical),
2023
- standard: normalizeLaneOptions(options.lanes.standard),
2024
- background: normalizeLaneOptions(options.lanes.background)
2025
- },
2026
- maxConcurrency: resolveIntegerOption(options.maxConcurrency, 1, { min: 1 }),
2027
- maxQueueSize: resolveIntegerOption(options.maxQueueSize, 1, { min: 1 }),
2028
- maxRateLimitRetries: resolveIntegerOption(options.maxRateLimitRetries, 0, { min: 0 })
2029
- };
2030
- }
2031
- function normalizeLaneOptions(options) {
2032
- return {
2033
- maxQueueSize: resolveIntegerOption(options.maxQueueSize, 1, { min: 1 }),
2034
- ...options.staleAfterMs === void 0 ? {} : { staleAfterMs: resolveIntegerOption(options.staleAfterMs, 0, { min: 0 }) },
2035
- weight: resolveIntegerOption(options.weight, 1, { min: 1 })
2036
- };
2037
- }
2038
- function createLaneQueues() {
2039
- return {
2040
- critical: [],
2041
- standard: [],
2042
- background: []
2043
- };
2044
- }
2045
- function countPending(bucket) {
2046
- return requestPriorities.reduce((count, lane) => count + bucket.pending[lane].length, 0);
2047
- }
2048
- var RestScheduler = class {
2049
- constructor(options, executor) {
2050
- this.executor = executor;
2051
- this.activeWorkers = 0;
2052
- this.buckets = /* @__PURE__ */ new Map();
2053
- this.globalRateLimitUntil = 0;
2054
- this.invalidRequestTimestamps = [];
2055
- this.laneCursor = 0;
2056
- this.laneDropped = {
2057
- critical: 0,
2058
- standard: 0,
2059
- background: 0
2060
- };
2061
- this.queuedByLane = {
2062
- critical: 0,
2063
- standard: 0,
2064
- background: 0
2065
- };
2066
- this.queueGeneration = 0;
2067
- this.queuedRequests = 0;
2068
- this.routeBuckets = /* @__PURE__ */ new Map();
2069
- this.options = normalizeRestSchedulerOptions(options);
2070
- this.laneSchedule = this.buildLaneSchedule(this.options.lanes);
2071
- }
2072
- enqueue(params) {
2073
- if (this.queuedRequests >= this.options.maxQueueSize) throw new Error("Discord request queue is full");
2074
- const laneOptions = this.options.lanes[params.priority];
2075
- if (this.queuedByLane[params.priority] >= laneOptions.maxQueueSize) {
2076
- this.laneDropped[params.priority] += 1;
2077
- throw new Error(`Discord ${params.priority} request queue is full (${this.queuedByLane[params.priority]} / ${laneOptions.maxQueueSize})`);
2078
- }
2079
- const routeKey = createRouteKey(params.method, params.path);
2080
- const bucket = this.getBucket(this.routeBuckets.get(routeKey) ?? routeKey);
2081
- return new Promise((resolve, reject) => {
2082
- this.queuedRequests += 1;
2083
- this.queuedByLane[params.priority] += 1;
2084
- bucket.pending[params.priority].push({
2085
- ...params,
2086
- enqueuedAt: Date.now(),
2087
- generation: this.queueGeneration,
2088
- routeKey,
2089
- retryCount: 0,
2090
- resolve,
2091
- reject
2092
- });
2093
- this.drainQueues();
2094
- });
2095
- }
2096
- recordResponse(routeKey, path, response, parsed) {
2097
- this.updateRateLimitState(routeKey, path, response, parsed);
2098
- this.recordInvalidRequest(routeKey, path, response);
2099
- }
2100
- clearQueue() {
2101
- this.queueGeneration += 1;
2102
- if (this.drainTimer) {
2103
- clearTimeout(this.drainTimer);
2104
- this.drainTimer = void 0;
2105
- }
2106
- this.rejectPending(/* @__PURE__ */ new Error("Discord request queue cleared"));
2107
- }
2108
- abortPending() {
2109
- this.queueGeneration += 1;
2110
- this.rejectPending(new DOMException("Aborted", "AbortError"));
2111
- }
2112
- get queueSize() {
2113
- return this.queuedRequests;
2114
- }
2115
- getMetrics() {
2116
- this.pruneInvalidRequests();
2117
- return {
2118
- globalRateLimitUntil: this.globalRateLimitUntil,
2119
- activeBuckets: this.buckets.size,
2120
- routeBucketMappings: this.routeBuckets.size,
2121
- buckets: Array.from(this.buckets.entries()).map(([key, bucket]) => ({
2122
- key,
2123
- active: bucket.active,
2124
- bucket: bucket.bucket,
2125
- invalidRequests: bucket.invalidRequests,
2126
- pending: countPending(bucket),
2127
- pendingByLane: Object.fromEntries(requestPriorities.map((lane) => [lane, bucket.pending[lane].length])),
2128
- rateLimitHits: bucket.rateLimitHits,
2129
- remaining: bucket.remaining,
2130
- resetAt: bucket.resetAt,
2131
- routeKeyCount: bucket.routeKeys.size
2132
- })),
2133
- invalidRequestCount: this.invalidRequestTimestamps.length,
2134
- invalidRequestCountByStatus: this.invalidRequestTimestamps.reduce((counts, entry) => {
2135
- counts[entry.status] = (counts[entry.status] ?? 0) + 1;
2136
- return counts;
2137
- }, {}),
2138
- queueSize: this.queueSize,
2139
- queueSizeByLane: { ...this.queuedByLane },
2140
- droppedByLane: { ...this.laneDropped },
2141
- oldestQueuedByLane: Object.fromEntries(requestPriorities.map((lane) => [lane, this.getOldestQueuedAge(lane)])),
2142
- activeWorkers: this.activeWorkers,
2143
- maxConcurrentWorkers: this.maxConcurrentWorkers
2144
- };
2145
- }
2146
- get maxConcurrentWorkers() {
2147
- return this.options.maxConcurrency;
2148
- }
2149
- get maxRateLimitRetries() {
2150
- return this.options.maxRateLimitRetries;
2151
- }
2152
- getBucket(key) {
2153
- const existing = this.buckets.get(key);
2154
- if (existing) return existing;
2155
- const bucket = {
2156
- active: 0,
2157
- invalidRequests: 0,
2158
- pending: createLaneQueues(),
2159
- rateLimitHits: 0,
2160
- resetAt: 0,
2161
- routeKeys: /* @__PURE__ */ new Set([key])
2162
- };
2163
- this.buckets.set(key, bucket);
2164
- return bucket;
2165
- }
2166
- hasBucketReference(key) {
2167
- for (const bucketKey of this.routeBuckets.values()) if (bucketKey === key) return true;
2168
- return false;
2169
- }
2170
- isBucketRateLimited(bucket, now = Date.now()) {
2171
- return bucket.remaining === 0 && bucket.resetAt > now;
2172
- }
2173
- pruneRouteMapping(routeKey) {
2174
- const bucketKey = this.routeBuckets.get(routeKey);
2175
- if (!bucketKey) return;
2176
- this.routeBuckets.delete(routeKey);
2177
- this.buckets.get(bucketKey)?.routeKeys.delete(routeKey);
2178
- }
2179
- pruneIdleRouteMappings(bucketKey, bucket, now = Date.now()) {
2180
- if (bucket.active > 0 || countPending(bucket) > 0 || this.isBucketRateLimited(bucket, now)) return;
2181
- for (const routeKey of Array.from(bucket.routeKeys)) if (this.routeBuckets.get(routeKey) === bucketKey) this.pruneRouteMapping(routeKey);
2182
- }
2183
- shouldPruneIdleBucket(key) {
2184
- return this.routeBuckets.get(key) !== key && !this.hasBucketReference(key);
2185
- }
2186
- bindRouteToBucket(routeKey, bucketKey) {
2187
- const target = this.getBucket(bucketKey);
2188
- target.routeKeys.add(routeKey);
2189
- this.routeBuckets.set(routeKey, bucketKey);
2190
- const routeBucket = this.buckets.get(routeKey);
2191
- if (routeBucket && routeBucket !== target) {
2192
- for (const lane of requestPriorities) {
2193
- target.pending[lane].push(...routeBucket.pending[lane]);
2194
- routeBucket.pending[lane] = [];
2195
- }
2196
- if (routeBucket.active === 0) this.buckets.delete(routeKey);
2197
- }
2198
- return target;
2199
- }
2200
- updateRateLimitState(routeKey, path, response, parsed) {
2201
- const bucketHeader = response.headers.get("X-RateLimit-Bucket");
2202
- const bucket = bucketHeader ? this.bindRouteToBucket(routeKey, createBucketKey(bucketHeader, path)) : this.getBucket(this.routeBuckets.get(routeKey) ?? routeKey);
2203
- bucket.bucket = bucketHeader ?? bucket.bucket;
2204
- const limit = readHeaderNumber(response.headers, "X-RateLimit-Limit");
2205
- if (limit !== void 0) bucket.limit = limit;
2206
- const remaining = readHeaderNumber(response.headers, "X-RateLimit-Remaining");
2207
- if (remaining !== void 0) bucket.remaining = remaining;
2208
- const resetAt = readResetAt(response);
2209
- if (resetAt !== void 0) bucket.resetAt = resetAt;
2210
- if (response.status !== 429) return;
2211
- bucket.rateLimitHits += 1;
2212
- const retryAt = resolveRateLimitResetAt(Math.max(0, readRetryAfter(parsed, response, 1) * 1e3));
2213
- if (retryAt === void 0) return;
2214
- if (response.headers.get("X-RateLimit-Global") === "true" || isGlobalRateLimit(parsed)) {
2215
- this.globalRateLimitUntil = Math.max(this.globalRateLimitUntil, retryAt);
2216
- return;
2217
- }
2218
- bucket.remaining = 0;
2219
- bucket.resetAt = Math.max(bucket.resetAt, retryAt);
2220
- }
2221
- recordInvalidRequest(routeKey, path, response) {
2222
- if (response.status !== 401 && response.status !== 403 && response.status !== 429) return;
2223
- if (response.status === 429 && response.headers.get("X-RateLimit-Scope") === "shared") return;
2224
- const now = Date.now();
2225
- this.invalidRequestTimestamps.push({
2226
- at: now,
2227
- status: response.status
2228
- });
2229
- this.pruneInvalidRequests(now);
2230
- const bucketHeader = response.headers.get("X-RateLimit-Bucket");
2231
- const bucketKey = bucketHeader ? createBucketKey(bucketHeader, path) : this.routeBuckets.get(routeKey) ?? routeKey;
2232
- const bucket = this.buckets.get(bucketKey);
2233
- if (bucket) bucket.invalidRequests += 1;
2234
- }
2235
- pruneInvalidRequests(now = Date.now()) {
2236
- const cutoff = now - INVALID_REQUEST_WINDOW_MS;
2237
- while (this.invalidRequestTimestamps.length > 0 && (this.invalidRequestTimestamps[0]?.at ?? 0) <= cutoff) this.invalidRequestTimestamps.shift();
2238
- }
2239
- getBucketWaitMs(bucket, now) {
2240
- if (bucket.remaining === 0 && bucket.resetAt > now) return bucket.resetAt - now;
2241
- if (bucket.remaining === 0 && bucket.resetAt <= now) bucket.remaining = bucket.limit;
2242
- return 0;
2243
- }
2244
- scheduleDrain(delayMs = 0) {
2245
- if (this.drainTimer) return;
2246
- this.drainTimer = setTimeout(() => {
2247
- this.drainTimer = void 0;
2248
- this.drainQueues();
2249
- }, resolveTimerTimeoutMs(delayMs, 0, 0));
2250
- this.drainTimer.unref?.();
2251
- }
2252
- drainQueues() {
2253
- let nextDelayMs = Number.POSITIVE_INFINITY;
2254
- while (this.activeWorkers < this.maxConcurrentWorkers) {
2255
- const next = this.takeNextQueuedRequest();
2256
- if (!next.queued) {
2257
- if (next.waitMs !== void 0) nextDelayMs = Math.min(nextDelayMs, next.waitMs);
2258
- break;
2259
- }
2260
- const { bucket, queued } = next;
2261
- if (bucket.remaining !== void 0 && bucket.remaining > 0) bucket.remaining -= 1;
2262
- bucket.active += 1;
2263
- this.activeWorkers += 1;
2264
- this.runQueuedRequest(queued, bucket);
2265
- }
2266
- if (Number.isFinite(nextDelayMs)) this.scheduleDrain(nextDelayMs);
2267
- }
2268
- takeNextQueuedRequest() {
2269
- const now = Date.now();
2270
- if (this.globalRateLimitUntil > now) return { waitMs: this.globalRateLimitUntil - now };
2271
- this.pruneIdleBuckets(now);
2272
- let nextDelayMs;
2273
- const buckets = Array.from(this.buckets.values()).filter((bucket) => countPending(bucket) > 0);
2274
- if (buckets.length === 0) return {};
2275
- for (let laneOffset = 0; laneOffset < this.laneSchedule.length; laneOffset += 1) {
2276
- const lane = this.laneSchedule[(this.laneCursor + laneOffset) % this.laneSchedule.length];
2277
- if (!lane || this.queuedByLane[lane] <= 0) continue;
2278
- for (const bucket of buckets) {
2279
- const queue = bucket.pending[lane];
2280
- this.dropStaleHeadRequests(queue, lane, now);
2281
- if (queue.length === 0) continue;
2282
- if (bucket.active > 0) continue;
2283
- const waitMs = this.getBucketWaitMs(bucket, now);
2284
- if (waitMs > 0) {
2285
- nextDelayMs = Math.min(nextDelayMs ?? waitMs, waitMs);
2286
- continue;
2287
- }
2288
- const queued = queue.shift();
2289
- if (!queued) continue;
2290
- this.queuedByLane[lane] = Math.max(0, this.queuedByLane[lane] - 1);
2291
- this.laneCursor = (this.laneCursor + laneOffset + 1) % this.laneSchedule.length;
2292
- return {
2293
- bucket,
2294
- queued
2295
- };
2296
- }
2297
- }
2298
- return { waitMs: nextDelayMs };
2299
- }
2300
- dropStaleHeadRequests(queue, lane, now) {
2301
- if (lane !== "background") return;
2302
- const staleAfterMs = this.options.lanes[lane].staleAfterMs;
2303
- if (!staleAfterMs || staleAfterMs <= 0) return;
2304
- while (queue.length > 0 && now - (queue[0]?.enqueuedAt ?? now) > staleAfterMs) {
2305
- const stale = queue.shift();
2306
- if (!stale) continue;
2307
- this.queuedRequests = Math.max(0, this.queuedRequests - 1);
2308
- this.queuedByLane[lane] = Math.max(0, this.queuedByLane[lane] - 1);
2309
- this.laneDropped[lane] += 1;
2310
- stale.reject(/* @__PURE__ */ new Error(`Dropped stale ${lane} request after ${now - stale.enqueuedAt}ms`));
2311
- }
2312
- }
2313
- pruneIdleBuckets(now = Date.now()) {
2314
- for (const [key, bucket] of this.buckets) {
2315
- if (bucket.active !== 0 || countPending(bucket) > 0) continue;
2316
- if (this.isBucketRateLimited(bucket, now)) continue;
2317
- this.pruneIdleRouteMappings(key, bucket, now);
2318
- if (this.shouldPruneIdleBucket(key)) this.buckets.delete(key);
2319
- }
2320
- }
2321
- async runQueuedRequest(queued, bucket) {
2322
- let requeued = false;
2323
- try {
2324
- queued.resolve(await this.executor(queued));
2325
- } catch (error) {
2326
- if (error instanceof RateLimitError && this.requeueRateLimitedRequest(queued)) {
2327
- requeued = true;
2328
- return;
2329
- }
2330
- queued.reject(error);
2331
- } finally {
2332
- bucket.active = Math.max(0, bucket.active - 1);
2333
- this.activeWorkers = Math.max(0, this.activeWorkers - 1);
2334
- if (!requeued) this.queuedRequests = Math.max(0, this.queuedRequests - 1);
2335
- if (bucket.active === 0 && countPending(bucket) === 0) {
2336
- for (const routeKey of bucket.routeKeys) if (this.routeBuckets.get(routeKey) === routeKey) this.routeBuckets.delete(routeKey);
2337
- }
2338
- this.drainQueues();
2339
- }
2340
- }
2341
- requeueRateLimitedRequest(queued) {
2342
- if (queued.generation !== this.queueGeneration || queued.retryCount >= this.maxRateLimitRetries) return false;
2343
- const bucketKey = this.routeBuckets.get(queued.routeKey) ?? queued.routeKey;
2344
- this.getBucket(bucketKey).pending[queued.priority].push({
2345
- ...queued,
2346
- enqueuedAt: Date.now(),
2347
- retryCount: queued.retryCount + 1
2348
- });
2349
- this.queuedByLane[queued.priority] += 1;
2350
- return true;
2351
- }
2352
- rejectPending(error) {
2353
- for (const bucket of this.buckets.values()) for (const lane of requestPriorities) for (const queued of bucket.pending[lane].splice(0)) {
2354
- queued.reject(error);
2355
- this.queuedRequests = Math.max(0, this.queuedRequests - 1);
2356
- this.queuedByLane[lane] = Math.max(0, this.queuedByLane[lane] - 1);
2357
- }
2358
- }
2359
- buildLaneSchedule(lanes) {
2360
- const schedule = [];
2361
- for (const lane of requestPriorities) {
2362
- const weight = lanes[lane].weight;
2363
- for (let i = 0; i < weight; i += 1) schedule.push(lane);
2364
- }
2365
- return schedule.length > 0 ? schedule : [...requestPriorities];
2366
- }
2367
- getOldestQueuedAge(lane) {
2368
- const now = Date.now();
2369
- let oldest = 0;
2370
- for (const bucket of this.buckets.values()) {
2371
- const queued = bucket.pending[lane][0];
2372
- if (!queued) continue;
2373
- oldest = Math.max(oldest, now - queued.enqueuedAt);
2374
- }
2375
- return oldest;
2376
- }
2377
- };
2378
- function isGlobalRateLimit(parsed) {
2379
- return parsed && typeof parsed === "object" && "global" in parsed ? Boolean(parsed.global) : false;
2380
- }
2381
- //#endregion
2382
- //#region extensions/discord/src/internal/rest.ts
2383
- const defaultOptions = {
2384
- tokenHeader: "Bot",
2385
- baseUrl: "https://discord.com/api",
2386
- apiVersion: 10,
2387
- userAgent: "OpenClaw Discord",
2388
- timeout: 15e3,
2389
- queueRequests: true,
2390
- maxQueueSize: 1e3,
2391
- runtimeProfile: "persistent"
2392
- };
2393
- const DEFAULT_MAX_CONCURRENT_WORKERS = 4;
2394
- const defaultLaneOptions = {
2395
- critical: { weight: 6 },
2396
- standard: { weight: 3 },
2397
- background: {
2398
- staleAfterMs: 2e4,
2399
- weight: 1
2400
- }
2401
- };
2402
- const DISCORD_REST_RESPONSE_BODY_MAX_BYTES = 8 * 1024 * 1024;
2403
- const GZIP_MAGIC = [31, 139];
2404
- function createResponseBodyOverflowError(size) {
2405
- return /* @__PURE__ */ new Error(`Discord REST response body exceeds ${DISCORD_REST_RESPONSE_BODY_MAX_BYTES} bytes (received ${size})`);
2406
- }
2407
- async function readResponseBodyText(response, idleTimeoutMs) {
2408
- return decodeResponseBody(await readResponseWithLimit(response, DISCORD_REST_RESPONSE_BODY_MAX_BYTES, {
2409
- chunkTimeoutMs: idleTimeoutMs,
2410
- onOverflow: ({ size }) => createResponseBodyOverflowError(size),
2411
- onIdleTimeout: ({ chunkTimeoutMs }) => /* @__PURE__ */ new Error(`Discord REST response stalled: no data received for ${chunkTimeoutMs}ms`)
2412
- }));
2413
- }
2414
- function coerceResponseBody(raw) {
2415
- if (!raw) return;
2416
- try {
2417
- return JSON.parse(raw);
2418
- } catch {
2419
- return raw;
2420
- }
2421
- }
2422
- function decodeResponseBody(buffer) {
2423
- if (!buffer.byteLength) return "";
2424
- if (buffer[0] === GZIP_MAGIC[0] && buffer[1] === GZIP_MAGIC[1]) try {
2425
- return gunzipSync(buffer, { maxOutputLength: DISCORD_REST_RESPONSE_BODY_MAX_BYTES }).toString("utf8");
2426
- } catch (err) {
2427
- if (isZlibMaxOutputLengthError(err)) throw createResponseBodyOverflowError("decompressed output");
2428
- throw err;
2429
- }
2430
- return buffer.toString("utf8");
2431
- }
2432
- function isZlibMaxOutputLengthError(err) {
2433
- return err instanceof RangeError && "code" in err && err.code === "ERR_BUFFER_TOO_LARGE";
2434
- }
2435
- var RequestClient = class {
2436
- constructor(token, options) {
2437
- this.requestControllers = /* @__PURE__ */ new Set();
2438
- this.token = token.replace(/^Bot\s+/i, "");
2439
- this.customFetch = options?.fetch;
2440
- this.options = normalizeRequestClientOptions(options);
2441
- this.scheduler = new RestScheduler({
2442
- lanes: normalizeSchedulerLanes(this.options.maxQueueSize, this.options.scheduler?.lanes),
2443
- maxConcurrency: normalizeIntegerOption(this.options.scheduler?.maxConcurrency, DEFAULT_MAX_CONCURRENT_WORKERS, { min: 1 }),
2444
- maxQueueSize: this.options.maxQueueSize,
2445
- maxRateLimitRetries: normalizeIntegerOption(this.options.scheduler?.maxRateLimitRetries, 3, { min: 0 })
2446
- }, async (request) => await this.executeRequest(request.method, request.path, {
2447
- data: request.data,
2448
- query: request.query
2449
- }, request.routeKey));
2450
- }
2451
- async get(path, query) {
2452
- return await this.request("GET", path, { query });
2453
- }
2454
- async post(path, data, query) {
2455
- return await this.request("POST", path, {
2456
- data,
2457
- query
2458
- });
2459
- }
2460
- async patch(path, data, query) {
2461
- return await this.request("PATCH", path, {
2462
- data,
2463
- query
2464
- });
2465
- }
2466
- async put(path, data, query) {
2467
- return await this.request("PUT", path, {
2468
- data,
2469
- query
2470
- });
2471
- }
2472
- async delete(path, data, query) {
2473
- return await this.request("DELETE", path, {
2474
- data,
2475
- query
2476
- });
2477
- }
2478
- async request(method, path, params) {
2479
- const routeKey = createRouteKey(method, path);
2480
- if (!this.options.queueRequests) return await this.executeRequest(method, path, params, routeKey);
2481
- return await this.scheduler.enqueue({
2482
- method,
2483
- path,
2484
- priority: getRequestPriority(method, path),
2485
- ...params
2486
- });
2487
- }
2488
- async executeRequest(method, path, params, routeKey = createRouteKey(method, path)) {
2489
- const url = `${this.options.baseUrl}/v${this.options.apiVersion}${appendQuery(path, params.query)}`;
2490
- const headers = new Headers({ "User-Agent": this.options.userAgent ?? defaultOptions.userAgent });
2491
- if (this.token !== "webhook") headers.set("Authorization", `${this.options.tokenHeader ?? "Bot"} ${this.token}`);
2492
- const body = serializeRequestBody(params.data, headers);
2493
- const controller = new AbortController();
2494
- const timeout = setTimeout(() => controller.abort(), this.options.timeout ?? 15e3);
2495
- timeout.unref?.();
2496
- const signal = this.options.signal ? AbortSignal.any([this.options.signal, controller.signal]) : controller.signal;
2497
- this.requestControllers.add(controller);
2498
- try {
2499
- const response = await (this.customFetch ?? fetch)(url, {
2500
- method,
2501
- headers,
2502
- body,
2503
- signal
2504
- });
2505
- const parsed = coerceResponseBody(await readResponseBodyText(response, this.options.timeout ?? 15e3));
2506
- this.scheduler.recordResponse(routeKey, path, response, parsed);
2507
- if (response.status === 204) return;
2508
- if (response.status === 429) {
2509
- const rateLimitBody = isDiscordRateLimitBody(parsed) ? parsed : void 0;
2510
- throw new RateLimitError(response, {
2511
- message: readDiscordMessage(rateLimitBody, "Rate limited"),
2512
- retry_after: readRetryAfter(rateLimitBody, response, 1),
2513
- code: readDiscordCode(rateLimitBody),
2514
- global: Boolean(rateLimitBody?.global)
2515
- });
2516
- }
2517
- if (!response.ok) throw new DiscordError(response, parsed);
2518
- return parsed;
2519
- } catch (error) {
2520
- if (error instanceof DOMException && error.name === "AbortError") throw error;
2521
- if (error instanceof Error) throw error;
2522
- throw new Error(`Discord request failed: ${inspect(error)}`, { cause: error });
2523
- } finally {
2524
- clearTimeout(timeout);
2525
- this.requestControllers.delete(controller);
2526
- }
2527
- }
2528
- clearQueue() {
2529
- this.scheduler.clearQueue();
2530
- }
2531
- get queueSize() {
2532
- return this.scheduler.queueSize;
2533
- }
2534
- getSchedulerMetrics() {
2535
- return this.scheduler.getMetrics();
2536
- }
2537
- abortAllRequests() {
2538
- this.scheduler.abortPending();
2539
- for (const controller of this.requestControllers) controller.abort();
2540
- this.requestControllers.clear();
2541
- }
2542
- };
2543
- function normalizeIntegerOption(value, fallback, params) {
2544
- const candidate = parseFiniteNumber(value) ?? fallback;
2545
- return Math.max(params.min, Math.floor(candidate));
2546
- }
2547
- function normalizeRequestClientOptions(options) {
2548
- const merged = {
2549
- ...defaultOptions,
2550
- ...options
2551
- };
2552
- return {
2553
- ...merged,
2554
- apiVersion: normalizeIntegerOption(merged.apiVersion, defaultOptions.apiVersion, { min: 1 }),
2555
- timeout: clampTimerTimeoutMs(merged.timeout, 1) ?? resolveTimerTimeoutMs(defaultOptions.timeout, 1),
2556
- maxQueueSize: normalizeIntegerOption(merged.maxQueueSize, defaultOptions.maxQueueSize, { min: 1 })
2557
- };
2558
- }
2559
- function normalizeSchedulerLanes(maxQueueSize, lanes) {
2560
- const fallbackMaxQueueSize = normalizeIntegerOption(maxQueueSize, defaultOptions.maxQueueSize, { min: 1 });
2561
- return {
2562
- critical: normalizeSchedulerLane("critical", fallbackMaxQueueSize, lanes?.critical),
2563
- standard: normalizeSchedulerLane("standard", fallbackMaxQueueSize, lanes?.standard),
2564
- background: normalizeSchedulerLane("background", fallbackMaxQueueSize, lanes?.background)
2565
- };
2566
- }
2567
- function normalizeSchedulerLane(lane, maxQueueSize, options) {
2568
- const defaults = defaultLaneOptions[lane];
2569
- const staleAfterMs = options?.staleAfterMs !== void 0 ? normalizeIntegerOption(options.staleAfterMs, defaults.staleAfterMs ?? 0, { min: 0 }) : defaults.staleAfterMs;
2570
- return {
2571
- maxQueueSize: options?.maxQueueSize !== void 0 ? normalizeIntegerOption(options.maxQueueSize, maxQueueSize, { min: 1 }) : maxQueueSize,
2572
- ...staleAfterMs !== void 0 ? { staleAfterMs } : {},
2573
- weight: options?.weight !== void 0 ? normalizeIntegerOption(options.weight, defaults.weight, { min: 1 }) : defaults.weight
2574
- };
2575
- }
2576
- function getRequestPriority(method, path) {
2577
- const normalizedMethod = method.toUpperCase();
2578
- const normalizedPath = path.toLowerCase();
2579
- if (/^\/interactions\/\d+\/[^/]+\/callback$/.test(normalizedPath)) return "critical";
2580
- return normalizedMethod === "GET" ? "background" : "standard";
2581
- }
2582
- //#endregion
2583
- //#region extensions/discord/src/internal/client.ts
2584
- var Plugin = class {};
2585
- var Client = class {
2586
- constructor(options, handlers, plugins = []) {
2587
- this.routes = [];
2588
- this.plugins = [];
2589
- this.componentHandler = new ComponentRegistry();
2590
- this.modalHandler = new ComponentRegistry();
2591
- if (!options.clientId) throw new Error("Missing Discord application ID");
2592
- if (!options.token) throw new Error("Missing Discord bot token");
2593
- this.options = {
2594
- ...options,
2595
- baseUrl: options.baseUrl.replace(/\/+$/, "")
2596
- };
2597
- this.commands = handlers.commands ?? [];
2598
- this.listeners = handlers.listeners ?? [];
2599
- this.rest = new RequestClient(options.token, options.requestOptions);
2600
- this.eventQueue = this.options.eventQueue ? new DiscordEventQueue(this.options.eventQueue) : void 0;
2601
- this.entityCache = new DiscordEntityCache({
2602
- client: this,
2603
- rest: () => this.rest,
2604
- ttlMs: this.options.restCacheTtlMs
2605
- });
2606
- this.commandDeployer = new DiscordCommandDeployer({
2607
- clientId: this.options.clientId,
2608
- commands: this.commands,
2609
- devGuilds: this.options.devGuilds,
2610
- hashStore: this.options.commandDeployHashStore,
2611
- rest: () => this.rest
2612
- });
2613
- for (const component of handlers.components ?? []) this.componentHandler.register(component);
2614
- for (const command of this.commands) for (const component of command.components ?? []) this.componentHandler.register(component);
2615
- for (const modal of handlers.modals ?? []) this.modalHandler.register(modal);
2616
- for (const plugin of plugins) {
2617
- plugin.registerClient?.(this);
2618
- plugin.registerRoutes?.(this);
2619
- this.plugins.push({
2620
- id: plugin.id,
2621
- plugin
2622
- });
2623
- }
2624
- }
2625
- getPlugin(id) {
2626
- return this.plugins.find((entry) => entry.id === id)?.plugin;
2627
- }
2628
- registerListener(listener) {
2629
- if (!this.listeners.includes(listener)) this.listeners.push(listener);
2630
- return listener;
2631
- }
2632
- unregisterListener(listener) {
2633
- const index = this.listeners.indexOf(listener);
2634
- if (index < 0) return false;
2635
- this.listeners.splice(index, 1);
2636
- return true;
2637
- }
2638
- getRuntimeMetrics() {
2639
- return {
2640
- request: this.rest.getSchedulerMetrics(),
2641
- eventQueue: this.eventQueue?.getMetrics()
2642
- };
2643
- }
2644
- async fetchUser(id) {
2645
- return await this.entityCache.fetchUser(id);
2646
- }
2647
- async fetchChannel(id) {
2648
- return await this.entityCache.fetchChannel(id);
2649
- }
2650
- async fetchGuild(id) {
2651
- return await this.entityCache.fetchGuild(id);
2652
- }
2653
- async fetchMember(guildId, userId) {
2654
- return await this.entityCache.fetchMember(guildId, userId);
2655
- }
2656
- async deployCommands(options = {}) {
2657
- return await this.commandDeployer.deploy(options);
2658
- }
2659
- async handleInteraction(rawData, _ctx) {
2660
- await dispatchInteraction(this, rawData);
2661
- }
2662
- async dispatchGatewayEvent(type, data) {
2663
- this.entityCache.invalidateForGatewayEvent(type, data);
2664
- const listeners = this.listeners.filter((entry) => entry.type === type);
2665
- if (!this.eventQueue) {
2666
- for (const listener of listeners) await listener.handle(data, this);
2667
- return;
2668
- }
2669
- await Promise.all(listeners.map((listener) => this.eventQueue.enqueue({
2670
- eventType: type,
2671
- listenerName: listener.constructor.name || "AnonymousListener",
2672
- run: async () => {
2673
- await listener.handle(data, this);
2674
- }
2675
- })));
2676
- }
2677
- };
2678
- //#endregion
2679
- //#region extensions/discord/src/internal/listeners.ts
2680
- var BaseListener = class {};
2681
- var ReadyListener = class extends BaseListener {
2682
- constructor(..._args) {
2683
- super(..._args);
2684
- this.type = GatewayDispatchEvents.Ready;
2685
- }
2686
- };
2687
- var ResumedListener = class extends BaseListener {
2688
- constructor(..._args2) {
2689
- super(..._args2);
2690
- this.type = GatewayDispatchEvents.Resumed;
2691
- }
2692
- };
2693
- var GuildCreateListener = class extends BaseListener {
2694
- constructor(..._args3) {
2695
- super(..._args3);
2696
- this.type = GatewayDispatchEvents.GuildCreate;
2697
- }
2698
- };
2699
- var GuildDeleteListener = class extends BaseListener {
2700
- constructor(..._args4) {
2701
- super(..._args4);
2702
- this.type = GatewayDispatchEvents.GuildDelete;
2703
- }
2704
- };
2705
- var MessageCreateListener = class extends BaseListener {
2706
- constructor(..._args5) {
2707
- super(..._args5);
2708
- this.type = GatewayDispatchEvents.MessageCreate;
2709
- }
2710
- };
2711
- var InteractionCreateListener = class extends BaseListener {
2712
- constructor(..._args6) {
2713
- super(..._args6);
2714
- this.type = GatewayDispatchEvents.InteractionCreate;
2715
- }
2716
- };
2717
- var MessageReactionAddListener = class extends BaseListener {
2718
- constructor(..._args7) {
2719
- super(..._args7);
2720
- this.type = GatewayDispatchEvents.MessageReactionAdd;
2721
- }
2722
- };
2723
- var MessageReactionRemoveListener = class extends BaseListener {
2724
- constructor(..._args8) {
2725
- super(..._args8);
2726
- this.type = GatewayDispatchEvents.MessageReactionRemove;
2727
- }
2728
- };
2729
- var PresenceUpdateListener = class extends BaseListener {
2730
- constructor(..._args9) {
2731
- super(..._args9);
2732
- this.type = GatewayDispatchEvents.PresenceUpdate;
2733
- }
2734
- };
2735
- var VoiceStateUpdateListener = class extends BaseListener {
2736
- constructor(..._args10) {
2737
- super(..._args10);
2738
- this.type = GatewayDispatchEvents.VoiceStateUpdate;
2739
- }
2740
- };
2741
- var ThreadUpdateListener = class extends BaseListener {
2742
- constructor(..._args11) {
2743
- super(..._args11);
2744
- this.type = GatewayDispatchEvents.ThreadUpdate;
2745
- }
2746
- };
2747
- //#endregion
2748
- //#region extensions/discord/src/internal/discord.ts
2749
- var discord_exports = /* @__PURE__ */ __exportAll({
2750
- AutocompleteInteraction: () => AutocompleteInteraction,
2751
- BaseCommand: () => BaseCommand,
2752
- BaseComponentInteraction: () => BaseComponentInteraction,
2753
- BaseMessageInteractiveComponent: () => BaseMessageInteractiveComponent,
2754
- Button: () => Button,
2755
- ButtonInteraction: () => ButtonInteraction,
2756
- ChannelSelectMenu: () => ChannelSelectMenu,
2757
- ChannelSelectMenuInteraction: () => ChannelSelectMenuInteraction,
2758
- CheckboxGroup: () => CheckboxGroup,
2759
- Client: () => Client,
2760
- Command: () => Command,
2761
- CommandInteraction: () => CommandInteraction,
2762
- CommandWithSubcommands: () => CommandWithSubcommands,
2763
- Container: () => Container,
2764
- DiscordError: () => DiscordError,
2765
- Embed: () => Embed,
2766
- File: () => File,
2767
- Guild: () => Guild,
2768
- GuildCreateListener: () => GuildCreateListener,
2769
- GuildDeleteListener: () => GuildDeleteListener,
2770
- GuildMember: () => GuildMember,
2771
- InteractionCreateListener: () => InteractionCreateListener,
2772
- Label: () => Label,
2773
- LinkButton: () => LinkButton,
2774
- MediaGallery: () => MediaGallery,
2775
- MentionableSelectMenu: () => MentionableSelectMenu,
2776
- MentionableSelectMenuInteraction: () => MentionableSelectMenuInteraction,
2777
- Message: () => Message,
2778
- MessageCreateListener: () => MessageCreateListener,
2779
- MessageReactionAddListener: () => MessageReactionAddListener,
2780
- MessageReactionRemoveListener: () => MessageReactionRemoveListener,
2781
- Modal: () => Modal,
2782
- ModalInteraction: () => ModalInteraction,
2783
- Plugin: () => Plugin,
2784
- PresenceUpdateListener: () => PresenceUpdateListener,
2785
- RadioGroup: () => RadioGroup,
2786
- RateLimitError: () => RateLimitError,
2787
- ReadyListener: () => ReadyListener,
2788
- RequestClient: () => RequestClient,
2789
- ResumedListener: () => ResumedListener,
2790
- Role: () => Role,
2791
- RoleSelectMenu: () => RoleSelectMenu,
2792
- RoleSelectMenuInteraction: () => RoleSelectMenuInteraction,
2793
- Row: () => Row,
2794
- Section: () => Section,
2795
- Separator: () => Separator,
2796
- StringSelectMenu: () => StringSelectMenu,
2797
- StringSelectMenuInteraction: () => StringSelectMenuInteraction,
2798
- TextDisplay: () => TextDisplay,
2799
- TextInput: () => TextInput,
2800
- ThreadUpdateListener: () => ThreadUpdateListener,
2801
- Thumbnail: () => Thumbnail,
2802
- User: () => User,
2803
- UserSelectMenu: () => UserSelectMenu,
2804
- UserSelectMenuInteraction: () => UserSelectMenuInteraction,
2805
- VoiceStateUpdateListener: () => VoiceStateUpdateListener,
2806
- addGuildMemberRole: () => addGuildMemberRole,
2807
- channelFactory: () => channelFactory,
2808
- createApplicationCommand: () => createApplicationCommand,
2809
- createChannelMessage: () => createChannelMessage,
2810
- createChannelWebhook: () => createChannelWebhook,
2811
- createGuildBan: () => createGuildBan,
2812
- createGuildChannel: () => createGuildChannel,
2813
- createGuildEmoji: () => createGuildEmoji,
2814
- createGuildScheduledEvent: () => createGuildScheduledEvent,
2815
- createGuildSticker: () => createGuildSticker,
2816
- createInteraction: () => createInteraction,
2817
- createInteractionCallback: () => createInteractionCallback,
2818
- createOwnMessageReaction: () => createOwnMessageReaction,
2819
- createThread: () => createThread,
2820
- createUserDmChannel: () => createUserDmChannel,
2821
- createWebhookMessage: () => createWebhookMessage,
2822
- deferCommandInteractionIfNeeded: () => deferCommandInteractionIfNeeded,
2823
- deleteApplicationCommand: () => deleteApplicationCommand,
2824
- deleteChannel: () => deleteChannel,
2825
- deleteChannelMessage: () => deleteChannelMessage,
2826
- deleteChannelPermission: () => deleteChannelPermission,
2827
- deleteOwnMessageReaction: () => deleteOwnMessageReaction,
2828
- deleteWebhookMessage: () => deleteWebhookMessage,
2829
- editApplicationCommand: () => editApplicationCommand,
2830
- editChannel: () => editChannel,
2831
- editChannelMessage: () => editChannelMessage,
2832
- editWebhookMessage: () => editWebhookMessage,
2833
- getChannel: () => getChannel,
2834
- getChannelMessage: () => getChannelMessage,
2835
- getCurrentUser: () => getCurrentUser,
2836
- getGuild: () => getGuild,
2837
- getGuildMember: () => getGuildMember,
2838
- getGuildVoiceState: () => getGuildVoiceState,
2839
- getThreadMember: () => getThreadMember,
2840
- getUser: () => getUser,
2841
- getWebhookMessage: () => getWebhookMessage,
2842
- isUnknownDiscordVoiceStateError: () => isUnknownDiscordVoiceStateError,
2843
- listApplicationCommands: () => listApplicationCommands,
2844
- listChannelArchivedThreads: () => listChannelArchivedThreads,
2845
- listChannelMessages: () => listChannelMessages,
2846
- listChannelPins: () => listChannelPins,
2847
- listGuildActiveThreads: () => listGuildActiveThreads,
2848
- listGuildChannels: () => listGuildChannels,
2849
- listGuildEmojis: () => listGuildEmojis,
2850
- listGuildRoles: () => listGuildRoles,
2851
- listGuildScheduledEvents: () => listGuildScheduledEvents,
2852
- listMessageReactionUsers: () => listMessageReactionUsers,
2853
- moveGuildChannels: () => moveGuildChannels,
2854
- overwriteApplicationCommands: () => overwriteApplicationCommands,
2855
- overwriteGuildApplicationCommands: () => overwriteGuildApplicationCommands,
2856
- parseComponentInteractionData: () => parseComponentInteractionData,
2857
- parseCustomId: () => parseCustomId,
2858
- pinChannelMessage: () => pinChannelMessage,
2859
- putChannelPermission: () => putChannelPermission,
2860
- removeGuildMember: () => removeGuildMember,
2861
- removeGuildMemberRole: () => removeGuildMemberRole,
2862
- resolveFocusedCommandOptionAutocompleteHandler: () => resolveFocusedCommandOptionAutocompleteHandler,
2863
- searchGuildMessages: () => searchGuildMessages,
2864
- sendChannelTyping: () => sendChannelTyping,
2865
- serializePayload: () => serializePayload,
2866
- timeoutGuildMember: () => timeoutGuildMember,
2867
- unpinChannelMessage: () => unpinChannelMessage
2868
- });
2869
- import * as import_discord_api_types_v10 from "discord-api-types/v10";
2870
- __reExport(discord_exports, import_discord_api_types_v10);
2871
- //#endregion
2872
- //#region extensions/discord/src/target-parsing.ts
2873
- function parseDiscordTarget(raw, options = {}) {
2874
- const trimmed = raw.trim();
2875
- if (!trimmed) return;
2876
- const providerPrefixedTarget = parseDiscordProviderPrefixedTarget(trimmed);
2877
- if (providerPrefixedTarget) return providerPrefixedTarget;
2878
- const userTarget = parseMentionPrefixOrAtUserTarget({
2879
- raw: trimmed,
2880
- mentionPattern: /^<@!?(\d+)>$/,
2881
- prefixes: [
2882
- {
2883
- prefix: "user:",
2884
- kind: "user"
2885
- },
2886
- {
2887
- prefix: "channel:",
2888
- kind: "channel"
2889
- },
2890
- {
2891
- prefix: "discord:",
2892
- kind: "user"
2893
- }
2894
- ],
2895
- atUserPattern: /^\d+$/,
2896
- atUserErrorMessage: "Discord DMs require a user id (use user:<id> or a <@id> mention)"
2897
- });
2898
- if (userTarget) return userTarget;
2899
- if (/^\d+$/.test(trimmed)) {
2900
- if (options.defaultKind) return buildMessagingTarget(options.defaultKind, trimmed, trimmed);
2901
- throw new Error(options.ambiguousMessage ?? `Ambiguous Discord recipient "${trimmed}". For DMs use "user:${trimmed}" or "<@${trimmed}>"; for channels use "channel:${trimmed}".`);
2902
- }
2903
- return buildMessagingTarget("channel", trimmed, trimmed);
2904
- }
2905
- function parseDiscordProviderPrefixedTarget(raw) {
2906
- const match = /^discord:(channel|user):(.+)$/i.exec(raw);
2907
- if (!match) return;
2908
- const kind = match[1]?.toLowerCase();
2909
- const id = match[2]?.trim();
2910
- if (!kind || !id) return;
2911
- return buildMessagingTarget(kind, id, `${kind}:${id}`);
2912
- }
2913
- function resolveDiscordChannelId(raw) {
2914
- return requireTargetKind({
2915
- platform: "Discord",
2916
- target: parseDiscordTarget(raw, { defaultKind: "channel" }),
2917
- kind: "channel"
2918
- });
2919
- }
2920
- //#endregion
2921
- //#region extensions/discord/src/normalize.ts
2922
- function normalizeDiscordMessagingTarget(raw) {
2923
- return parseDiscordTarget(raw, { defaultKind: "channel" })?.normalized;
2924
- }
2925
- /**
2926
- * Normalize a Discord outbound target for delivery. Bare numeric IDs are
2927
- * prefixed with "channel:" to avoid the ambiguous-target error in
2928
- * parseDiscordTarget, unless the ID is explicitly configured as an allowed DM
2929
- * sender. All other formats pass through unchanged.
2930
- */
2931
- function normalizeDiscordOutboundTarget(to, allowFrom) {
2932
- const trimmed = to?.trim();
2933
- if (!trimmed) return {
2934
- ok: false,
2935
- error: /* @__PURE__ */ new Error("Discord recipient is required. Use \"channel:<id>\" for channels or \"user:<id>\" for DMs.")
2936
- };
2937
- if (/^\d+$/.test(trimmed)) {
2938
- if (allowFromContainsDiscordUserId(allowFrom, trimmed)) return {
2939
- ok: true,
2940
- to: `user:${trimmed}`
2941
- };
2942
- return {
2943
- ok: true,
2944
- to: `channel:${trimmed}`
2945
- };
2946
- }
2947
- return {
2948
- ok: true,
2949
- to: trimmed
2950
- };
2951
- }
2952
- function allowFromContainsDiscordUserId(allowFrom, userId) {
2953
- const normalizedUserId = userId.trim();
2954
- if (!normalizedUserId) return false;
2955
- return resolveAllowlistMatchByCandidates({
2956
- allowList: (allowFrom ?? []).map(normalizeAllowFromDiscordUserId).filter((entry) => Boolean(entry)),
2957
- candidates: [{
2958
- value: normalizedUserId,
2959
- source: "id"
2960
- }]
2961
- }).allowed;
2962
- }
2963
- function normalizeAllowFromDiscordUserId(entry) {
2964
- const trimmed = entry.trim().toLowerCase();
2965
- if (!trimmed || trimmed === "*") return;
2966
- const mentionMatch = /^<@!?(\d+)>$/.exec(trimmed);
2967
- if (mentionMatch) return mentionMatch[1];
2968
- const prefixedMatch = /^(?:discord:)?user:(\d+)$/.exec(trimmed);
2969
- if (prefixedMatch) return prefixedMatch[1];
2970
- const discordMatch = /^discord:(\d+)$/.exec(trimmed);
2971
- if (discordMatch) return discordMatch[1];
2972
- return /^\d+$/.test(trimmed) ? trimmed : void 0;
2973
- }
2974
- function looksLikeDiscordTargetId(raw) {
2975
- const trimmed = raw.trim();
2976
- if (!trimmed) return false;
2977
- if (/^<@!?\d+>$/.test(trimmed)) return true;
2978
- if (/^(?:(?:user|channel|discord):\d+|discord:(?:user|channel):\d+)$/i.test(trimmed)) return true;
2979
- if (/^\d{6,}$/.test(trimmed)) return true;
2980
- return false;
2981
- }
2982
- //#endregion
2983
- //#region extensions/discord/src/reply-reference.ts
2984
- function resolveDiscordReplyReference(params) {
2985
- if (!params.replyToId) return;
2986
- const singleUse = params.replyToIdSource !== "explicit" && params.replyToMode !== void 0 && isSingleUseReplyToMode(params.replyToMode);
2987
- return {
2988
- messageId: params.replyToId,
2989
- scope: singleUse ? "first" : "all"
2990
- };
2991
- }
2992
- function createReusableDiscordReplyReference(messageId) {
2993
- return messageId ? {
2994
- messageId,
2995
- scope: "all"
2996
- } : void 0;
2997
- }
2998
- function resolveDiscordReplyMessageId(reply, isFirst) {
2999
- return reply && (isFirst || reply.scope === "all") ? reply.messageId : void 0;
3000
- }
3001
- //#endregion
3002
- //#region extensions/discord/src/chunk.ts
3003
- const DEFAULT_MAX_CHARS = 2e3;
3004
- const DEFAULT_MAX_LINES = 17;
3005
- const FENCE_RE = /^( {0,3})(`{3,}|~{3,})(.*)$/;
3006
- function resolveDiscordChunkLimit(value, fallback) {
3007
- return resolveIntegerOption(value, fallback, { min: 1 });
3008
- }
3009
- function countLines(text) {
3010
- if (!text) return 0;
3011
- return text.split("\n").length;
3012
- }
3013
- function parseFenceLine(line) {
3014
- const match = line.match(FENCE_RE);
3015
- if (!match) return null;
3016
- const indent = match[1] ?? "";
3017
- const marker = match[2] ?? "";
3018
- return {
3019
- indent,
3020
- markerChar: marker[0] ?? "`",
3021
- markerLen: marker.length,
3022
- openLine: line
3023
- };
3024
- }
3025
- function closeFenceLine(openFence) {
3026
- return `${openFence.indent}${openFence.markerChar.repeat(openFence.markerLen)}`;
3027
- }
3028
- function canBalanceFence(openFence, maxChars) {
3029
- return closeFenceLine(openFence).length * 2 + 3 <= maxChars;
3030
- }
3031
- function reopenFenceLine(openFence, maxChars) {
3032
- const bareMarker = closeFenceLine(openFence);
3033
- if (!canBalanceFence(openFence, maxChars)) return null;
3034
- if (openFence.openLine.length + bareMarker.length + 3 <= maxChars) return openFence.openLine;
3035
- return bareMarker;
3036
- }
3037
- function closeFenceIfNeeded(text, openFence, maxChars) {
3038
- if (!openFence || !canBalanceFence(openFence, maxChars)) return text;
3039
- const closeLine = closeFenceLine(openFence);
3040
- if (!text) return closeLine;
3041
- if (!text.endsWith("\n")) return `${text}\n${closeLine}`;
3042
- return `${text}${closeLine}`;
3043
- }
3044
- /**
3045
- * Chunks outbound Discord text by both character count and (soft) line count,
3046
- * while keeping fenced code blocks balanced across chunks.
3047
- */
3048
- function chunkDiscordText(text, opts = {}) {
3049
- const maxChars = resolveDiscordChunkLimit(opts.maxChars, DEFAULT_MAX_CHARS);
3050
- const maxLines = resolveDiscordChunkLimit(opts.maxLines, DEFAULT_MAX_LINES);
3051
- const body = text ?? "";
3052
- if (!body) return [];
3053
- if (body.length <= maxChars && countLines(body) <= maxLines) return [body];
3054
- const lines = body.split("\n");
3055
- const chunks = [];
3056
- let current = "";
3057
- let currentLines = 0;
3058
- let openFence = null;
3059
- const flush = () => {
3060
- if (!current) return;
3061
- const payload = closeFenceIfNeeded(current, openFence, maxChars);
3062
- if (payload.trim().length) chunks.push(payload);
3063
- current = "";
3064
- currentLines = 0;
3065
- if (openFence) {
3066
- const reopenLine = reopenFenceLine(openFence, maxChars);
3067
- if (reopenLine) {
3068
- current = reopenLine;
3069
- currentLines = 1;
3070
- }
3071
- }
3072
- };
3073
- for (const originalLine of lines) {
3074
- const fenceInfo = parseFenceLine(originalLine);
3075
- const wasInsideFence = openFence !== null;
3076
- let nextOpenFence = openFence;
3077
- if (fenceInfo) {
3078
- if (!openFence) nextOpenFence = fenceInfo;
3079
- else if (openFence.markerChar === fenceInfo.markerChar && fenceInfo.markerLen >= openFence.markerLen) nextOpenFence = null;
3080
- }
3081
- const candidateFence = nextOpenFence ?? openFence;
3082
- const fenceToReserve = candidateFence && canBalanceFence(candidateFence, maxChars) ? candidateFence : null;
3083
- const reserveChars = fenceToReserve ? closeFenceLine(fenceToReserve).length + 1 : 0;
3084
- const reserveLines = fenceToReserve ? 1 : 0;
3085
- const effectiveMaxChars = maxChars - reserveChars;
3086
- const effectiveMaxLines = maxLines - reserveLines;
3087
- const charLimit = effectiveMaxChars > 0 ? effectiveMaxChars : maxChars;
3088
- const lineLimit = effectiveMaxLines > 0 ? effectiveMaxLines : maxLines;
3089
- const reopenPrefixLen = fenceToReserve ? reopenFenceLine(fenceToReserve, maxChars)?.length ?? 0 : 0;
3090
- const prefixLen = current.length > 0 ? current.length + 1 : 0;
3091
- const reopenBudget = reopenPrefixLen > 0 ? reopenPrefixLen + 1 : 0;
3092
- const segments = chunkTextForOutbound(originalLine, Math.max(1, charLimit - Math.max(prefixLen, reopenBudget)), { preserveWhitespace: wasInsideFence });
3093
- for (let segIndex = 0; segIndex < segments.length; segIndex++) {
3094
- const segment = segments[segIndex];
3095
- const isLineContinuation = segIndex > 0;
3096
- let delimiter = isLineContinuation ? "" : current.length > 0 ? "\n" : "";
3097
- let addition = `${delimiter}${segment}`;
3098
- const nextLen = current.length + addition.length;
3099
- const nextLines = currentLines + (isLineContinuation ? 0 : 1);
3100
- if ((nextLen > charLimit || nextLines > lineLimit) && current.length > 0) {
3101
- flush();
3102
- delimiter = current.length > 0 ? "\n" : "";
3103
- addition = `${delimiter}${segment}`;
3104
- }
3105
- if (current.length > 0) {
3106
- current += addition;
3107
- if (!isLineContinuation || delimiter) currentLines += 1;
3108
- } else {
3109
- current = expectDefined(segment, "current Discord chunk segment");
3110
- currentLines = 1;
3111
- }
3112
- }
3113
- openFence = nextOpenFence;
3114
- }
3115
- if (current.length) {
3116
- const payload = closeFenceIfNeeded(current, openFence, maxChars);
3117
- if (payload.trim().length) chunks.push(payload);
3118
- }
3119
- return rebalanceReasoningItalics(text, chunks);
3120
- }
3121
- function chunkDiscordTextWithMode(text, opts) {
3122
- if ((opts.chunkMode ?? "length") !== "newline") return chunkDiscordText(text, opts);
3123
- const lineChunks = chunkMarkdownTextWithMode(text, resolveDiscordChunkLimit(opts.maxChars, DEFAULT_MAX_CHARS), "newline");
3124
- const chunks = [];
3125
- for (const line of lineChunks) {
3126
- const nested = chunkDiscordText(line, opts);
3127
- if (!nested.length && line) {
3128
- chunks.push(line);
3129
- continue;
3130
- }
3131
- chunks.push(...nested);
3132
- }
3133
- return chunks;
3134
- }
3135
- function rebalanceReasoningItalics(source, chunks) {
3136
- if (chunks.length <= 1) return chunks;
3137
- if (!(/^(?:Reasoning:|Thinking\.{0,3})\n+_/u.test(source) && source.trimEnd().endsWith("_"))) return chunks;
3138
- const adjusted = [...chunks];
3139
- for (let i = 0; i < adjusted.length; i++) {
3140
- const isLast = i === adjusted.length - 1;
3141
- const current = expectDefined(adjusted[i], "Discord chunk adjustment index");
3142
- if (!current.trimEnd().endsWith("_")) adjusted[i] = `${current}_`;
3143
- if (isLast) break;
3144
- const next = expectDefined(adjusted[i + 1], "non-final Discord chunk successor");
3145
- const leadingWhitespaceLen = next.length - next.trimStart().length;
3146
- const leadingWhitespace = next.slice(0, leadingWhitespaceLen);
3147
- const nextBody = next.slice(leadingWhitespaceLen);
3148
- if (!nextBody.startsWith("_")) adjusted[i + 1] = `${leadingWhitespace}_${nextBody}`;
3149
- }
3150
- return adjusted;
3151
- }
3152
- //#endregion
3153
- export { Section as $, readDiscordMessage as A, createGuildBan as At, Label as B, listGuildChannels as Bt, Client as C, listChannelMessages as Ct, RateLimitError as D, sendChannelTyping as Dt, DiscordError as E, searchGuildMessages as Et, Message as F, deleteChannelPermission as Ft, ChannelSelectMenu as G, putChannelPermission as Gt, RadioGroup as H, listGuildRoles as Ht, User as I, getGuild as It, LinkButton as J, timeoutGuildMember as Jt, Container as K, removeGuildMember as Kt, serializePayload as L, getGuildMember as Lt, Command as M, createGuildEmoji as Mt, CommandWithSubcommands as N, createGuildScheduledEvent as Nt, isUnknownDiscordVoiceStateError as O, unpinChannelMessage as Ot, Guild as P, createGuildSticker as Pt, Row as Q, Embed as R, getGuildVoiceState as Rt, VoiceStateUpdateListener as S, listChannelArchivedThreads as St, RequestClient as T, pinChannelMessage as Tt, TextInput as U, listGuildScheduledEvents as Ut, Modal as V, listGuildEmojis as Vt, Button as W, moveGuildChannels as Wt, MentionableSelectMenu as X, MediaGallery as Y, __exportAll as Yt, RoleSelectMenu as Z, MessageReactionRemoveListener as _, editChannel as _t, allowFromContainsDiscordUserId as a, BaseMessageInteractiveComponent as at, ResumedListener as b, getChannelMessage as bt, normalizeDiscordOutboundTarget as c, createUserDmChannel as ct, discord_exports as d, deleteOwnMessageReaction as dt, Separator as et, GuildCreateListener as f, listMessageReactionUsers as ft, MessageReactionAddListener as g, deleteChannelMessage as gt, MessageCreateListener as h, deleteChannel as ht, resolveDiscordReplyReference as i, UserSelectMenu as it, readRetryAfter as j, createGuildChannel as jt, readDiscordCode as k, addGuildMemberRole as kt, parseDiscordTarget as l, getCurrentUser as lt, InteractionCreateListener as m, createThread as mt, createReusableDiscordReplyReference as n, TextDisplay as nt, looksLikeDiscordTargetId as o, parseCustomId as ot, GuildDeleteListener as p, createChannelMessage as pt, File as q, removeGuildMemberRole as qt, resolveDiscordReplyMessageId as r, Thumbnail as rt, normalizeDiscordMessagingTarget as s, createChannelWebhook as st, chunkDiscordTextWithMode as t, StringSelectMenu as tt, resolveDiscordChannelId as u, createOwnMessageReaction as ut, PresenceUpdateListener as v, editChannelMessage as vt, Plugin as w, listChannelPins as wt, ThreadUpdateListener as x, getThreadMember as xt, ReadyListener as y, getChannel as yt, CheckboxGroup as z, listGuildActiveThreads as zt };