@jointhedots/gear 1.0.21 → 1.1.4

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 (334) hide show
  1. package/browser-modules/asap-raw.js +79 -0
  2. package/browser-modules/asap.js +57 -0
  3. package/browser-modules/buffer.js +3 -1
  4. package/browser-modules/child_process.js +145 -0
  5. package/browser-modules/events.js +200 -0
  6. package/browser-modules/side-effects.js +7 -0
  7. package/browser-modules/stream.js +323 -0
  8. package/browser-modules/util.js +170 -0
  9. package/browser-modules/worker_threads.js +85 -0
  10. package/esm/builder/build-app-bundle.js +185 -0
  11. package/esm/builder/build-app-bundle.js.map +1 -0
  12. package/esm/builder/build-app-host.js +170 -0
  13. package/esm/builder/build-app-host.js.map +1 -0
  14. package/esm/builder/build-application.js +219 -63
  15. package/esm/builder/build-application.js.map +1 -1
  16. package/esm/builder/build-library.js +17 -33
  17. package/esm/builder/build-library.js.map +1 -1
  18. package/esm/builder/build-target.js +45 -76
  19. package/esm/builder/build-target.js.map +1 -1
  20. package/esm/builder/emit-dts.js +110 -87
  21. package/esm/builder/emit-dts.js.map +1 -1
  22. package/esm/builder/esbuild-plugins.js +256 -59
  23. package/esm/builder/esbuild-plugins.js.map +1 -1
  24. package/esm/builder/helpers/path-helpers.js +95 -0
  25. package/esm/builder/helpers/path-helpers.js.map +1 -0
  26. package/esm/cli.js +0 -1
  27. package/esm/cli.js.map +1 -1
  28. package/esm/commands/init.js +1 -0
  29. package/esm/commands/init.js.map +1 -1
  30. package/esm/commands/make.js +52 -9
  31. package/esm/commands/make.js.map +1 -1
  32. package/esm/commands/publish.js +1 -0
  33. package/esm/commands/publish.js.map +1 -1
  34. package/esm/commands/run.js +1 -0
  35. package/esm/commands/run.js.map +1 -1
  36. package/esm/commands/serve.js +42 -9
  37. package/esm/commands/serve.js.map +1 -1
  38. package/esm/model/component.js +4 -8
  39. package/esm/model/component.js.map +1 -1
  40. package/esm/model/helpers/create-manifests.js +73 -0
  41. package/esm/model/helpers/create-manifests.js.map +1 -0
  42. package/esm/model/helpers/discover-workspace.js +227 -0
  43. package/esm/model/helpers/discover-workspace.js.map +1 -0
  44. package/esm/model/helpers/logger.js +116 -0
  45. package/esm/model/helpers/logger.js.map +1 -0
  46. package/esm/model/storage.js +82 -24
  47. package/esm/model/storage.js.map +1 -1
  48. package/esm/model/workspace.js +97 -147
  49. package/esm/model/workspace.js.map +1 -1
  50. package/esm/publish/publish_aws_s3.js +1 -0
  51. package/esm/publish/publish_aws_s3.js.map +1 -1
  52. package/esm/utils/file.js +10 -2
  53. package/esm/utils/file.js.map +1 -1
  54. package/esm/utils/graph-ordering.js +86 -0
  55. package/esm/utils/graph-ordering.js.map +1 -0
  56. package/esm/utils/normalized-name.js +94 -0
  57. package/esm/utils/normalized-name.js.map +1 -0
  58. package/node_modules/@jspm/core/.github/workflows/ci.yml +64 -0
  59. package/node_modules/@jspm/core/LICENSE +796 -0
  60. package/node_modules/@jspm/core/README.md +11 -0
  61. package/node_modules/@jspm/core/chompfile.toml +28 -0
  62. package/node_modules/@jspm/core/generate-node-libs.mjs +10 -0
  63. package/node_modules/@jspm/core/nodelibs/@empty.dew.js +7 -0
  64. package/node_modules/@jspm/core/nodelibs/@empty.js +3 -0
  65. package/node_modules/@jspm/core/nodelibs/browser/_stream_duplex.js +13 -0
  66. package/node_modules/@jspm/core/nodelibs/browser/_stream_passthrough.js +12 -0
  67. package/node_modules/@jspm/core/nodelibs/browser/_stream_readable.js +14 -0
  68. package/node_modules/@jspm/core/nodelibs/browser/_stream_transform.js +12 -0
  69. package/node_modules/@jspm/core/nodelibs/browser/_stream_writable.js +13 -0
  70. package/node_modules/@jspm/core/nodelibs/browser/assert/strict.js +29 -0
  71. package/node_modules/@jspm/core/nodelibs/browser/assert.js +2574 -0
  72. package/node_modules/@jspm/core/nodelibs/browser/async_hooks.js +14 -0
  73. package/node_modules/@jspm/core/nodelibs/browser/buffer.js +10 -0
  74. package/node_modules/@jspm/core/nodelibs/browser/child_process.js +17 -0
  75. package/node_modules/@jspm/core/nodelibs/browser/chunk-B6-G-Ftj.js +158 -0
  76. package/node_modules/@jspm/core/nodelibs/browser/chunk-B738Er4n.js +5524 -0
  77. package/node_modules/@jspm/core/nodelibs/browser/chunk-BlJi4mNy.js +448 -0
  78. package/node_modules/@jspm/core/nodelibs/browser/chunk-BsRZ0PEC.js +74 -0
  79. package/node_modules/@jspm/core/nodelibs/browser/chunk-C4rKjYLo.js +20 -0
  80. package/node_modules/@jspm/core/nodelibs/browser/chunk-CbQqNoLO.js +32 -0
  81. package/node_modules/@jspm/core/nodelibs/browser/chunk-CcCWfKp1.js +360 -0
  82. package/node_modules/@jspm/core/nodelibs/browser/chunk-CjPlbOtt.js +47 -0
  83. package/node_modules/@jspm/core/nodelibs/browser/chunk-CkFCi-G1.js +36 -0
  84. package/node_modules/@jspm/core/nodelibs/browser/chunk-D3uu3VYh.js +33 -0
  85. package/node_modules/@jspm/core/nodelibs/browser/chunk-DEMDiNwt.js +275 -0
  86. package/node_modules/@jspm/core/nodelibs/browser/chunk-DHWh-hmB.js +1344 -0
  87. package/node_modules/@jspm/core/nodelibs/browser/chunk-DtDiafJB.js +96 -0
  88. package/node_modules/@jspm/core/nodelibs/browser/chunk-DtcTpLWz.js +826 -0
  89. package/node_modules/@jspm/core/nodelibs/browser/chunk-DtuTasat.js +1923 -0
  90. package/node_modules/@jspm/core/nodelibs/browser/chunk-b0rmRow7.js +246 -0
  91. package/node_modules/@jspm/core/nodelibs/browser/chunk-tHuMsdT0.js +8 -0
  92. package/node_modules/@jspm/core/nodelibs/browser/cluster.js +33 -0
  93. package/node_modules/@jspm/core/nodelibs/browser/console.js +103 -0
  94. package/node_modules/@jspm/core/nodelibs/browser/constants.js +419 -0
  95. package/node_modules/@jspm/core/nodelibs/browser/crypto.js +109730 -0
  96. package/node_modules/@jspm/core/nodelibs/browser/dgram.js +11 -0
  97. package/node_modules/@jspm/core/nodelibs/browser/diagnostics_channel.js +153 -0
  98. package/node_modules/@jspm/core/nodelibs/browser/dns/promises.js +26 -0
  99. package/node_modules/@jspm/core/nodelibs/browser/dns.js +101 -0
  100. package/node_modules/@jspm/core/nodelibs/browser/domain.js +77 -0
  101. package/node_modules/@jspm/core/nodelibs/browser/events.js +491 -0
  102. package/node_modules/@jspm/core/nodelibs/browser/fs/promises.js +50 -0
  103. package/node_modules/@jspm/core/nodelibs/browser/fs.js +4139 -0
  104. package/node_modules/@jspm/core/nodelibs/browser/http.js +3513 -0
  105. package/node_modules/@jspm/core/nodelibs/browser/http2.js +88 -0
  106. package/node_modules/@jspm/core/nodelibs/browser/https.js +873 -0
  107. package/node_modules/@jspm/core/nodelibs/browser/module.js +58 -0
  108. package/node_modules/@jspm/core/nodelibs/browser/net.js +20 -0
  109. package/node_modules/@jspm/core/nodelibs/browser/os.js +94 -0
  110. package/node_modules/@jspm/core/nodelibs/browser/path/posix.js +40 -0
  111. package/node_modules/@jspm/core/nodelibs/browser/path/win32.js +27 -0
  112. package/node_modules/@jspm/core/nodelibs/browser/path.js +20 -0
  113. package/node_modules/@jspm/core/nodelibs/browser/perf_hooks.js +30 -0
  114. package/node_modules/@jspm/core/nodelibs/browser/process-production.js +274 -0
  115. package/node_modules/@jspm/core/nodelibs/browser/process.js +277 -0
  116. package/node_modules/@jspm/core/nodelibs/browser/punycode.js +436 -0
  117. package/node_modules/@jspm/core/nodelibs/browser/querystring.js +118 -0
  118. package/node_modules/@jspm/core/nodelibs/browser/readline.js +15 -0
  119. package/node_modules/@jspm/core/nodelibs/browser/repl.js +21 -0
  120. package/node_modules/@jspm/core/nodelibs/browser/stream/consumers.js +61 -0
  121. package/node_modules/@jspm/core/nodelibs/browser/stream/promises.js +12 -0
  122. package/node_modules/@jspm/core/nodelibs/browser/stream/web.js +35 -0
  123. package/node_modules/@jspm/core/nodelibs/browser/stream.js +6574 -0
  124. package/node_modules/@jspm/core/nodelibs/browser/string_decoder.js +2 -0
  125. package/node_modules/@jspm/core/nodelibs/browser/sys.js +9 -0
  126. package/node_modules/@jspm/core/nodelibs/browser/timers/promises.js +17 -0
  127. package/node_modules/@jspm/core/nodelibs/browser/timers.js +256 -0
  128. package/node_modules/@jspm/core/nodelibs/browser/tls.js +34 -0
  129. package/node_modules/@jspm/core/nodelibs/browser/tty.js +20 -0
  130. package/node_modules/@jspm/core/nodelibs/browser/url.js +2361 -0
  131. package/node_modules/@jspm/core/nodelibs/browser/util/types.js +51 -0
  132. package/node_modules/@jspm/core/nodelibs/browser/util.js +1345 -0
  133. package/node_modules/@jspm/core/nodelibs/browser/v8.js +21 -0
  134. package/node_modules/@jspm/core/nodelibs/browser/vm.js +139 -0
  135. package/node_modules/@jspm/core/nodelibs/browser/wasi.js +160 -0
  136. package/node_modules/@jspm/core/nodelibs/browser/worker_threads.js +140 -0
  137. package/node_modules/@jspm/core/nodelibs/browser/zlib.js +6545 -0
  138. package/node_modules/@jspm/core/nodelibs/deno/_stream_duplex.ts +5 -0
  139. package/node_modules/@jspm/core/nodelibs/deno/_stream_passthrough.ts +1 -0
  140. package/node_modules/@jspm/core/nodelibs/deno/_stream_readable.ts +5 -0
  141. package/node_modules/@jspm/core/nodelibs/deno/_stream_transform.ts +1 -0
  142. package/node_modules/@jspm/core/nodelibs/deno/_stream_writable.ts +5 -0
  143. package/node_modules/@jspm/core/nodelibs/deno/assert/strict.ts +2 -0
  144. package/node_modules/@jspm/core/nodelibs/deno/assert.ts +2 -0
  145. package/node_modules/@jspm/core/nodelibs/deno/async_hooks.ts +2 -0
  146. package/node_modules/@jspm/core/nodelibs/deno/buffer.ts +5 -0
  147. package/node_modules/@jspm/core/nodelibs/deno/child_process.ts +2 -0
  148. package/node_modules/@jspm/core/nodelibs/deno/cluster.ts +2 -0
  149. package/node_modules/@jspm/core/nodelibs/deno/console.ts +2 -0
  150. package/node_modules/@jspm/core/nodelibs/deno/constants.ts +2 -0
  151. package/node_modules/@jspm/core/nodelibs/deno/crypto.ts +2 -0
  152. package/node_modules/@jspm/core/nodelibs/deno/dgram.ts +2 -0
  153. package/node_modules/@jspm/core/nodelibs/deno/diagnostics_channel.ts +2 -0
  154. package/node_modules/@jspm/core/nodelibs/deno/dns/promises.ts +2 -0
  155. package/node_modules/@jspm/core/nodelibs/deno/dns.ts +2 -0
  156. package/node_modules/@jspm/core/nodelibs/deno/domain.ts +2 -0
  157. package/node_modules/@jspm/core/nodelibs/deno/events.ts +2 -0
  158. package/node_modules/@jspm/core/nodelibs/deno/fs/promises.ts +2 -0
  159. package/node_modules/@jspm/core/nodelibs/deno/fs.ts +2 -0
  160. package/node_modules/@jspm/core/nodelibs/deno/http.ts +2 -0
  161. package/node_modules/@jspm/core/nodelibs/deno/http2.ts +2 -0
  162. package/node_modules/@jspm/core/nodelibs/deno/https.ts +2 -0
  163. package/node_modules/@jspm/core/nodelibs/deno/inspector.ts +2 -0
  164. package/node_modules/@jspm/core/nodelibs/deno/module.ts +2 -0
  165. package/node_modules/@jspm/core/nodelibs/deno/net.ts +2 -0
  166. package/node_modules/@jspm/core/nodelibs/deno/os.ts +2 -0
  167. package/node_modules/@jspm/core/nodelibs/deno/path/posix.ts +2 -0
  168. package/node_modules/@jspm/core/nodelibs/deno/path/win32.ts +2 -0
  169. package/node_modules/@jspm/core/nodelibs/deno/path.ts +2 -0
  170. package/node_modules/@jspm/core/nodelibs/deno/perf_hooks.ts +2 -0
  171. package/node_modules/@jspm/core/nodelibs/deno/process-production.ts +4 -0
  172. package/node_modules/@jspm/core/nodelibs/deno/process.ts +2 -0
  173. package/node_modules/@jspm/core/nodelibs/deno/punycode.ts +2 -0
  174. package/node_modules/@jspm/core/nodelibs/deno/querystring.ts +2 -0
  175. package/node_modules/@jspm/core/nodelibs/deno/readline/promises.ts +2 -0
  176. package/node_modules/@jspm/core/nodelibs/deno/readline.ts +2 -0
  177. package/node_modules/@jspm/core/nodelibs/deno/repl.ts +2 -0
  178. package/node_modules/@jspm/core/nodelibs/deno/stream/consumers.ts +2 -0
  179. package/node_modules/@jspm/core/nodelibs/deno/stream/promises.ts +2 -0
  180. package/node_modules/@jspm/core/nodelibs/deno/stream/web.ts +2 -0
  181. package/node_modules/@jspm/core/nodelibs/deno/stream.ts +2 -0
  182. package/node_modules/@jspm/core/nodelibs/deno/string_decoder.ts +2 -0
  183. package/node_modules/@jspm/core/nodelibs/deno/timers/promises.ts +2 -0
  184. package/node_modules/@jspm/core/nodelibs/deno/timers.ts +2 -0
  185. package/node_modules/@jspm/core/nodelibs/deno/tls.ts +2 -0
  186. package/node_modules/@jspm/core/nodelibs/deno/tty.ts +2 -0
  187. package/node_modules/@jspm/core/nodelibs/deno/url.ts +2 -0
  188. package/node_modules/@jspm/core/nodelibs/deno/util/types.ts +2 -0
  189. package/node_modules/@jspm/core/nodelibs/deno/util.ts +2 -0
  190. package/node_modules/@jspm/core/nodelibs/deno/v8.ts +2 -0
  191. package/node_modules/@jspm/core/nodelibs/deno/vm.ts +2 -0
  192. package/node_modules/@jspm/core/nodelibs/deno/wasi.ts +2 -0
  193. package/node_modules/@jspm/core/nodelibs/deno/worker_threads.ts +2 -0
  194. package/node_modules/@jspm/core/nodelibs/deno/zlib.ts +2 -0
  195. package/node_modules/@jspm/core/nodelibs/node/_http_agent.js +2 -0
  196. package/node_modules/@jspm/core/nodelibs/node/_http_client.js +2 -0
  197. package/node_modules/@jspm/core/nodelibs/node/_http_common.js +2 -0
  198. package/node_modules/@jspm/core/nodelibs/node/_http_incoming.js +2 -0
  199. package/node_modules/@jspm/core/nodelibs/node/_http_outgoing.js +2 -0
  200. package/node_modules/@jspm/core/nodelibs/node/_http_server.js +2 -0
  201. package/node_modules/@jspm/core/nodelibs/node/_stream_duplex.js +2 -0
  202. package/node_modules/@jspm/core/nodelibs/node/_stream_passthrough.js +2 -0
  203. package/node_modules/@jspm/core/nodelibs/node/_stream_readable.js +2 -0
  204. package/node_modules/@jspm/core/nodelibs/node/_stream_transform.js +2 -0
  205. package/node_modules/@jspm/core/nodelibs/node/_stream_wrap.js +2 -0
  206. package/node_modules/@jspm/core/nodelibs/node/_stream_writable.js +2 -0
  207. package/node_modules/@jspm/core/nodelibs/node/_tls_common.js +2 -0
  208. package/node_modules/@jspm/core/nodelibs/node/_tls_wrap.js +2 -0
  209. package/node_modules/@jspm/core/nodelibs/node/assert/strict.js +2 -0
  210. package/node_modules/@jspm/core/nodelibs/node/assert.js +2 -0
  211. package/node_modules/@jspm/core/nodelibs/node/async_hooks.js +2 -0
  212. package/node_modules/@jspm/core/nodelibs/node/buffer.js +2 -0
  213. package/node_modules/@jspm/core/nodelibs/node/child_process.js +2 -0
  214. package/node_modules/@jspm/core/nodelibs/node/cluster.js +2 -0
  215. package/node_modules/@jspm/core/nodelibs/node/console.js +2 -0
  216. package/node_modules/@jspm/core/nodelibs/node/constants.js +2 -0
  217. package/node_modules/@jspm/core/nodelibs/node/crypto.js +2 -0
  218. package/node_modules/@jspm/core/nodelibs/node/dgram.js +2 -0
  219. package/node_modules/@jspm/core/nodelibs/node/diagnostics_channel.js +2 -0
  220. package/node_modules/@jspm/core/nodelibs/node/dns/promises.js +2 -0
  221. package/node_modules/@jspm/core/nodelibs/node/dns.js +2 -0
  222. package/node_modules/@jspm/core/nodelibs/node/domain.js +2 -0
  223. package/node_modules/@jspm/core/nodelibs/node/events.js +2 -0
  224. package/node_modules/@jspm/core/nodelibs/node/fs/promises.js +2 -0
  225. package/node_modules/@jspm/core/nodelibs/node/fs.js +2 -0
  226. package/node_modules/@jspm/core/nodelibs/node/http.js +2 -0
  227. package/node_modules/@jspm/core/nodelibs/node/http2.js +2 -0
  228. package/node_modules/@jspm/core/nodelibs/node/https.js +2 -0
  229. package/node_modules/@jspm/core/nodelibs/node/inspector/promises.js +2 -0
  230. package/node_modules/@jspm/core/nodelibs/node/inspector.js +2 -0
  231. package/node_modules/@jspm/core/nodelibs/node/module.js +2 -0
  232. package/node_modules/@jspm/core/nodelibs/node/net.js +2 -0
  233. package/node_modules/@jspm/core/nodelibs/node/os.js +2 -0
  234. package/node_modules/@jspm/core/nodelibs/node/path/posix.js +2 -0
  235. package/node_modules/@jspm/core/nodelibs/node/path/win32.js +2 -0
  236. package/node_modules/@jspm/core/nodelibs/node/path.js +2 -0
  237. package/node_modules/@jspm/core/nodelibs/node/perf_hooks.js +2 -0
  238. package/node_modules/@jspm/core/nodelibs/node/process-production.js +4 -0
  239. package/node_modules/@jspm/core/nodelibs/node/process.js +2 -0
  240. package/node_modules/@jspm/core/nodelibs/node/punycode.js +2 -0
  241. package/node_modules/@jspm/core/nodelibs/node/querystring.js +2 -0
  242. package/node_modules/@jspm/core/nodelibs/node/readline/promises.js +2 -0
  243. package/node_modules/@jspm/core/nodelibs/node/readline.js +2 -0
  244. package/node_modules/@jspm/core/nodelibs/node/repl.js +2 -0
  245. package/node_modules/@jspm/core/nodelibs/node/stream/consumers.js +2 -0
  246. package/node_modules/@jspm/core/nodelibs/node/stream/promises.js +2 -0
  247. package/node_modules/@jspm/core/nodelibs/node/stream/web.js +2 -0
  248. package/node_modules/@jspm/core/nodelibs/node/stream.js +2 -0
  249. package/node_modules/@jspm/core/nodelibs/node/string_decoder.js +2 -0
  250. package/node_modules/@jspm/core/nodelibs/node/sys.js +2 -0
  251. package/node_modules/@jspm/core/nodelibs/node/timers/promises.js +2 -0
  252. package/node_modules/@jspm/core/nodelibs/node/timers.js +2 -0
  253. package/node_modules/@jspm/core/nodelibs/node/tls.js +2 -0
  254. package/node_modules/@jspm/core/nodelibs/node/trace_events.js +2 -0
  255. package/node_modules/@jspm/core/nodelibs/node/tty.js +2 -0
  256. package/node_modules/@jspm/core/nodelibs/node/url.js +2 -0
  257. package/node_modules/@jspm/core/nodelibs/node/util/types.js +2 -0
  258. package/node_modules/@jspm/core/nodelibs/node/util.js +2 -0
  259. package/node_modules/@jspm/core/nodelibs/node/v8.js +2 -0
  260. package/node_modules/@jspm/core/nodelibs/node/vm.js +2 -0
  261. package/node_modules/@jspm/core/nodelibs/node/wasi.js +2 -0
  262. package/node_modules/@jspm/core/nodelibs/node/worker_threads.js +2 -0
  263. package/node_modules/@jspm/core/nodelibs/node/zlib.js +2 -0
  264. package/node_modules/@jspm/core/package.json +75 -0
  265. package/node_modules/@jspm/core/rollup.config.mjs +55 -0
  266. package/node_modules/@jspm/core/src-browser/__tty.js +11 -0
  267. package/node_modules/@jspm/core/src-browser/_stream_duplex.js +3 -0
  268. package/node_modules/@jspm/core/src-browser/_stream_passthrough.js +2 -0
  269. package/node_modules/@jspm/core/src-browser/_stream_readable.js +5 -0
  270. package/node_modules/@jspm/core/src-browser/_stream_transform.js +2 -0
  271. package/node_modules/@jspm/core/src-browser/_stream_writable.js +3 -0
  272. package/node_modules/@jspm/core/src-browser/assert/strict.js +26 -0
  273. package/node_modules/@jspm/core/src-browser/assert.js +19 -0
  274. package/node_modules/@jspm/core/src-browser/async_hooks.js +21 -0
  275. package/node_modules/@jspm/core/src-browser/buffer.js +5 -0
  276. package/node_modules/@jspm/core/src-browser/child_process.js +27 -0
  277. package/node_modules/@jspm/core/src-browser/cluster.js +38 -0
  278. package/node_modules/@jspm/core/src-browser/console.js +25 -0
  279. package/node_modules/@jspm/core/src-browser/constants.js +209 -0
  280. package/node_modules/@jspm/core/src-browser/crypto.js +63 -0
  281. package/node_modules/@jspm/core/src-browser/dgram.js +15 -0
  282. package/node_modules/@jspm/core/src-browser/diagnostics_channel.js +6 -0
  283. package/node_modules/@jspm/core/src-browser/dns/promises.js +45 -0
  284. package/node_modules/@jspm/core/src-browser/dns.js +121 -0
  285. package/node_modules/@jspm/core/src-browser/domain.js +4 -0
  286. package/node_modules/@jspm/core/src-browser/events.js +105 -0
  287. package/node_modules/@jspm/core/src-browser/fs/promises.js +34 -0
  288. package/node_modules/@jspm/core/src-browser/fs.js +209 -0
  289. package/node_modules/@jspm/core/src-browser/http.js +10 -0
  290. package/node_modules/@jspm/core/src-browser/http2.js +86 -0
  291. package/node_modules/@jspm/core/src-browser/https.js +10 -0
  292. package/node_modules/@jspm/core/src-browser/module.js +75 -0
  293. package/node_modules/@jspm/core/src-browser/net.js +33 -0
  294. package/node_modules/@jspm/core/src-browser/os.js +35 -0
  295. package/node_modules/@jspm/core/src-browser/path/posix.js +38 -0
  296. package/node_modules/@jspm/core/src-browser/path/win32.js +42 -0
  297. package/node_modules/@jspm/core/src-browser/path.js +17 -0
  298. package/node_modules/@jspm/core/src-browser/perf_hooks.js +30 -0
  299. package/node_modules/@jspm/core/src-browser/process-production.js +279 -0
  300. package/node_modules/@jspm/core/src-browser/process.js +282 -0
  301. package/node_modules/@jspm/core/src-browser/punycode.js +8 -0
  302. package/node_modules/@jspm/core/src-browser/querystring.js +6 -0
  303. package/node_modules/@jspm/core/src-browser/readline.js +23 -0
  304. package/node_modules/@jspm/core/src-browser/repl.js +26 -0
  305. package/node_modules/@jspm/core/src-browser/stream/consumers.js +57 -0
  306. package/node_modules/@jspm/core/src-browser/stream/promises.js +4 -0
  307. package/node_modules/@jspm/core/src-browser/stream/web.js +33 -0
  308. package/node_modules/@jspm/core/src-browser/stream.js +26 -0
  309. package/node_modules/@jspm/core/src-browser/string_decoder.js +3 -0
  310. package/node_modules/@jspm/core/src-browser/sys.js +3 -0
  311. package/node_modules/@jspm/core/src-browser/timers/promises.js +12 -0
  312. package/node_modules/@jspm/core/src-browser/timers.js +13 -0
  313. package/node_modules/@jspm/core/src-browser/tls.js +46 -0
  314. package/node_modules/@jspm/core/src-browser/tty.js +3 -0
  315. package/node_modules/@jspm/core/src-browser/url.js +154 -0
  316. package/node_modules/@jspm/core/src-browser/util/types.js +48 -0
  317. package/node_modules/@jspm/core/src-browser/util.js +30 -0
  318. package/node_modules/@jspm/core/src-browser/v8.js +35 -0
  319. package/node_modules/@jspm/core/src-browser/vm.js +9 -0
  320. package/node_modules/@jspm/core/src-browser/wasi.js +15 -0
  321. package/node_modules/@jspm/core/src-browser/worker_threads.js +139 -0
  322. package/node_modules/@jspm/core/src-browser/zlib.js +71 -0
  323. package/node_modules/@jspm/core/test/chrome-worker_threads.test.js +14 -0
  324. package/node_modules/@jspm/core/test/cowsay.wasm +0 -0
  325. package/node_modules/@jspm/core/test/exports.test.js +99 -0
  326. package/node_modules/@jspm/core/test/fs.test.js +13 -0
  327. package/node_modules/@jspm/core/test/os.test.js +7 -0
  328. package/node_modules/@jspm/core/test/process.test.js +15 -0
  329. package/node_modules/@jspm/core/test/server.js +177 -0
  330. package/node_modules/@jspm/core/test/test.html +29 -0
  331. package/node_modules/@jspm/core/test/wasi.test.js +13 -0
  332. package/package.json +38 -24
  333. package/esm/utils/helpers.js +0 -32
  334. package/esm/utils/helpers.js.map +0 -1
@@ -0,0 +1,360 @@
1
+ import { d as dew$2 } from './chunk-DtuTasat.js';
2
+
3
+ var exports$2 = {},
4
+ _dewExec$1 = false;
5
+ function dew$1() {
6
+ if (_dewExec$1) return exports$2;
7
+ _dewExec$1 = true;
8
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
9
+ /* eslint-disable node/no-deprecated-api */
10
+ var buffer = dew$2();
11
+ var Buffer = buffer.Buffer;
12
+
13
+ // alternative to using Object.keys for old browsers
14
+ function copyProps(src, dst) {
15
+ for (var key in src) {
16
+ dst[key] = src[key];
17
+ }
18
+ }
19
+ if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {
20
+ exports$2 = buffer;
21
+ } else {
22
+ // Copy properties from require('buffer')
23
+ copyProps(buffer, exports$2);
24
+ exports$2.Buffer = SafeBuffer;
25
+ }
26
+ function SafeBuffer(arg, encodingOrOffset, length) {
27
+ return Buffer(arg, encodingOrOffset, length);
28
+ }
29
+ SafeBuffer.prototype = Object.create(Buffer.prototype);
30
+
31
+ // Copy static methods from Buffer
32
+ copyProps(Buffer, SafeBuffer);
33
+ SafeBuffer.from = function (arg, encodingOrOffset, length) {
34
+ if (typeof arg === "number") {
35
+ throw new TypeError("Argument must not be a number");
36
+ }
37
+ return Buffer(arg, encodingOrOffset, length);
38
+ };
39
+ SafeBuffer.alloc = function (size, fill, encoding) {
40
+ if (typeof size !== "number") {
41
+ throw new TypeError("Argument must be a number");
42
+ }
43
+ var buf = Buffer(size);
44
+ if (fill !== undefined) {
45
+ if (typeof encoding === "string") {
46
+ buf.fill(fill, encoding);
47
+ } else {
48
+ buf.fill(fill);
49
+ }
50
+ } else {
51
+ buf.fill(0);
52
+ }
53
+ return buf;
54
+ };
55
+ SafeBuffer.allocUnsafe = function (size) {
56
+ if (typeof size !== "number") {
57
+ throw new TypeError("Argument must be a number");
58
+ }
59
+ return Buffer(size);
60
+ };
61
+ SafeBuffer.allocUnsafeSlow = function (size) {
62
+ if (typeof size !== "number") {
63
+ throw new TypeError("Argument must be a number");
64
+ }
65
+ return buffer.SlowBuffer(size);
66
+ };
67
+ return exports$2;
68
+ }
69
+
70
+ var exports$1 = {},
71
+ _dewExec = false;
72
+ function dew() {
73
+ if (_dewExec) return exports$1;
74
+ _dewExec = true;
75
+ /*<replacement>*/
76
+
77
+ var Buffer = dew$1().Buffer;
78
+ /*</replacement>*/
79
+
80
+ var isEncoding = Buffer.isEncoding || function (encoding) {
81
+ encoding = "" + encoding;
82
+ switch (encoding && encoding.toLowerCase()) {
83
+ case "hex":
84
+ case "utf8":
85
+ case "utf-8":
86
+ case "ascii":
87
+ case "binary":
88
+ case "base64":
89
+ case "ucs2":
90
+ case "ucs-2":
91
+ case "utf16le":
92
+ case "utf-16le":
93
+ case "raw":
94
+ return true;
95
+ default:
96
+ return false;
97
+ }
98
+ };
99
+ function _normalizeEncoding(enc) {
100
+ if (!enc) return "utf8";
101
+ var retried;
102
+ while (true) {
103
+ switch (enc) {
104
+ case "utf8":
105
+ case "utf-8":
106
+ return "utf8";
107
+ case "ucs2":
108
+ case "ucs-2":
109
+ case "utf16le":
110
+ case "utf-16le":
111
+ return "utf16le";
112
+ case "latin1":
113
+ case "binary":
114
+ return "latin1";
115
+ case "base64":
116
+ case "ascii":
117
+ case "hex":
118
+ return enc;
119
+ default:
120
+ if (retried) return; // undefined
121
+ enc = ("" + enc).toLowerCase();
122
+ retried = true;
123
+ }
124
+ }
125
+ }
126
+
127
+ // Do not cache `Buffer.isEncoding` when checking encoding names as some
128
+ // modules monkey-patch it to support additional encodings
129
+ function normalizeEncoding(enc) {
130
+ var nenc = _normalizeEncoding(enc);
131
+ if (typeof nenc !== "string" && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error("Unknown encoding: " + enc);
132
+ return nenc || enc;
133
+ }
134
+
135
+ // StringDecoder provides an interface for efficiently splitting a series of
136
+ // buffers into a series of JS strings without breaking apart multi-byte
137
+ // characters.
138
+ exports$1.StringDecoder = StringDecoder;
139
+ function StringDecoder(encoding) {
140
+ this.encoding = normalizeEncoding(encoding);
141
+ var nb;
142
+ switch (this.encoding) {
143
+ case "utf16le":
144
+ this.text = utf16Text;
145
+ this.end = utf16End;
146
+ nb = 4;
147
+ break;
148
+ case "utf8":
149
+ this.fillLast = utf8FillLast;
150
+ nb = 4;
151
+ break;
152
+ case "base64":
153
+ this.text = base64Text;
154
+ this.end = base64End;
155
+ nb = 3;
156
+ break;
157
+ default:
158
+ this.write = simpleWrite;
159
+ this.end = simpleEnd;
160
+ return;
161
+ }
162
+ this.lastNeed = 0;
163
+ this.lastTotal = 0;
164
+ this.lastChar = Buffer.allocUnsafe(nb);
165
+ }
166
+ StringDecoder.prototype.write = function (buf) {
167
+ if (buf.length === 0) return "";
168
+ var r;
169
+ var i;
170
+ if (this.lastNeed) {
171
+ r = this.fillLast(buf);
172
+ if (r === undefined) return "";
173
+ i = this.lastNeed;
174
+ this.lastNeed = 0;
175
+ } else {
176
+ i = 0;
177
+ }
178
+ if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);
179
+ return r || "";
180
+ };
181
+ StringDecoder.prototype.end = utf8End;
182
+
183
+ // Returns only complete characters in a Buffer
184
+ StringDecoder.prototype.text = utf8Text;
185
+
186
+ // Attempts to complete a partial non-UTF-8 character using bytes from a Buffer
187
+ StringDecoder.prototype.fillLast = function (buf) {
188
+ if (this.lastNeed <= buf.length) {
189
+ buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);
190
+ return this.lastChar.toString(this.encoding, 0, this.lastTotal);
191
+ }
192
+ buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);
193
+ this.lastNeed -= buf.length;
194
+ };
195
+
196
+ // Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a
197
+ // continuation byte. If an invalid byte is detected, -2 is returned.
198
+ function utf8CheckByte(byte) {
199
+ if (byte <= 127) return 0;else if (byte >> 5 === 6) return 2;else if (byte >> 4 === 14) return 3;else if (byte >> 3 === 30) return 4;
200
+ return byte >> 6 === 2 ? -1 : -2;
201
+ }
202
+
203
+ // Checks at most 3 bytes at the end of a Buffer in order to detect an
204
+ // incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)
205
+ // needed to complete the UTF-8 character (if applicable) are returned.
206
+ function utf8CheckIncomplete(self, buf, i) {
207
+ var j = buf.length - 1;
208
+ if (j < i) return 0;
209
+ var nb = utf8CheckByte(buf[j]);
210
+ if (nb >= 0) {
211
+ if (nb > 0) self.lastNeed = nb - 1;
212
+ return nb;
213
+ }
214
+ if (--j < i || nb === -2) return 0;
215
+ nb = utf8CheckByte(buf[j]);
216
+ if (nb >= 0) {
217
+ if (nb > 0) self.lastNeed = nb - 2;
218
+ return nb;
219
+ }
220
+ if (--j < i || nb === -2) return 0;
221
+ nb = utf8CheckByte(buf[j]);
222
+ if (nb >= 0) {
223
+ if (nb > 0) {
224
+ if (nb === 2) nb = 0;else self.lastNeed = nb - 3;
225
+ }
226
+ return nb;
227
+ }
228
+ return 0;
229
+ }
230
+
231
+ // Validates as many continuation bytes for a multi-byte UTF-8 character as
232
+ // needed or are available. If we see a non-continuation byte where we expect
233
+ // one, we "replace" the validated continuation bytes we've seen so far with
234
+ // a single UTF-8 replacement character ('\ufffd'), to match v8's UTF-8 decoding
235
+ // behavior. The continuation byte check is included three times in the case
236
+ // where all of the continuation bytes for a character exist in the same buffer.
237
+ // It is also done this way as a slight performance increase instead of using a
238
+ // loop.
239
+ function utf8CheckExtraBytes(self, buf, p) {
240
+ if ((buf[0] & 192) !== 128) {
241
+ self.lastNeed = 0;
242
+ return "\uFFFD";
243
+ }
244
+ if (self.lastNeed > 1 && buf.length > 1) {
245
+ if ((buf[1] & 192) !== 128) {
246
+ self.lastNeed = 1;
247
+ return "\uFFFD";
248
+ }
249
+ if (self.lastNeed > 2 && buf.length > 2) {
250
+ if ((buf[2] & 192) !== 128) {
251
+ self.lastNeed = 2;
252
+ return "\uFFFD";
253
+ }
254
+ }
255
+ }
256
+ }
257
+
258
+ // Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.
259
+ function utf8FillLast(buf) {
260
+ var p = this.lastTotal - this.lastNeed;
261
+ var r = utf8CheckExtraBytes(this, buf);
262
+ if (r !== undefined) return r;
263
+ if (this.lastNeed <= buf.length) {
264
+ buf.copy(this.lastChar, p, 0, this.lastNeed);
265
+ return this.lastChar.toString(this.encoding, 0, this.lastTotal);
266
+ }
267
+ buf.copy(this.lastChar, p, 0, buf.length);
268
+ this.lastNeed -= buf.length;
269
+ }
270
+
271
+ // Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a
272
+ // partial character, the character's bytes are buffered until the required
273
+ // number of bytes are available.
274
+ function utf8Text(buf, i) {
275
+ var total = utf8CheckIncomplete(this, buf, i);
276
+ if (!this.lastNeed) return buf.toString("utf8", i);
277
+ this.lastTotal = total;
278
+ var end = buf.length - (total - this.lastNeed);
279
+ buf.copy(this.lastChar, 0, end);
280
+ return buf.toString("utf8", i, end);
281
+ }
282
+
283
+ // For UTF-8, a replacement character is added when ending on a partial
284
+ // character.
285
+ function utf8End(buf) {
286
+ var r = buf && buf.length ? this.write(buf) : "";
287
+ if (this.lastNeed) return r + "\uFFFD";
288
+ return r;
289
+ }
290
+
291
+ // UTF-16LE typically needs two bytes per character, but even if we have an even
292
+ // number of bytes available, we need to check if we end on a leading/high
293
+ // surrogate. In that case, we need to wait for the next two bytes in order to
294
+ // decode the last character properly.
295
+ function utf16Text(buf, i) {
296
+ if ((buf.length - i) % 2 === 0) {
297
+ var r = buf.toString("utf16le", i);
298
+ if (r) {
299
+ var c = r.charCodeAt(r.length - 1);
300
+ if (c >= 55296 && c <= 56319) {
301
+ this.lastNeed = 2;
302
+ this.lastTotal = 4;
303
+ this.lastChar[0] = buf[buf.length - 2];
304
+ this.lastChar[1] = buf[buf.length - 1];
305
+ return r.slice(0, -1);
306
+ }
307
+ }
308
+ return r;
309
+ }
310
+ this.lastNeed = 1;
311
+ this.lastTotal = 2;
312
+ this.lastChar[0] = buf[buf.length - 1];
313
+ return buf.toString("utf16le", i, buf.length - 1);
314
+ }
315
+
316
+ // For UTF-16LE we do not explicitly append special replacement characters if we
317
+ // end on a partial character, we simply let v8 handle that.
318
+ function utf16End(buf) {
319
+ var r = buf && buf.length ? this.write(buf) : "";
320
+ if (this.lastNeed) {
321
+ var end = this.lastTotal - this.lastNeed;
322
+ return r + this.lastChar.toString("utf16le", 0, end);
323
+ }
324
+ return r;
325
+ }
326
+ function base64Text(buf, i) {
327
+ var n = (buf.length - i) % 3;
328
+ if (n === 0) return buf.toString("base64", i);
329
+ this.lastNeed = 3 - n;
330
+ this.lastTotal = 3;
331
+ if (n === 1) {
332
+ this.lastChar[0] = buf[buf.length - 1];
333
+ } else {
334
+ this.lastChar[0] = buf[buf.length - 2];
335
+ this.lastChar[1] = buf[buf.length - 1];
336
+ }
337
+ return buf.toString("base64", i, buf.length - n);
338
+ }
339
+ function base64End(buf) {
340
+ var r = buf && buf.length ? this.write(buf) : "";
341
+ if (this.lastNeed) return r + this.lastChar.toString("base64", 0, 3 - this.lastNeed);
342
+ return r;
343
+ }
344
+
345
+ // Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)
346
+ function simpleWrite(buf) {
347
+ return buf.toString(this.encoding);
348
+ }
349
+ function simpleEnd(buf) {
350
+ return buf && buf.length ? this.write(buf) : "";
351
+ }
352
+ return exports$1;
353
+ }
354
+
355
+ const exports = dew();
356
+ exports['StringDecoder'];
357
+
358
+ var StringDecoder = exports.StringDecoder;
359
+
360
+ export { StringDecoder as S, dew$1 as d, exports as e };
@@ -0,0 +1,47 @@
1
+ import { X as X$1, T as T$1 } from './chunk-D3uu3VYh.js';
2
+
3
+ function e(e,r){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var t=Object(e),n=1;n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var a=Object.keys(Object(o)),l=0,i=a.length;l<i;l++){var c=a[l],b=Object.getOwnPropertyDescriptor(o,c);void 0!==b&&b.enumerable&&(t[c]=o[c]);}}return t}var r={assign:e,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:e});}};var t,e$1=Object.prototype.toString,r$1=function(t){var r=e$1.call(t),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===e$1.call(t.callee)),n};if(!Object.keys){var n=Object.prototype.hasOwnProperty,o=Object.prototype.toString,c=r$1,l=Object.prototype.propertyIsEnumerable,i=!l.call({toString:null},"toString"),a=l.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(t){var e=t.constructor;return e&&e.prototype===t},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},s=function(){if("undefined"==typeof window)return !1;for(var t in window)try{if(!p["$"+t]&&n.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{f(window[t]);}catch(t){return !0}}catch(t){return !0}return !1}();t=function(t){var e=null!==t&&"object"==typeof t,r="[object Function]"===o.call(t),l=c(t),p=e&&"[object String]"===o.call(t),y=[];if(!e&&!r&&!l)throw new TypeError("Object.keys called on a non-object");var b=a&&r;if(p&&t.length>0&&!n.call(t,0))for(var g=0;g<t.length;++g)y.push(String(g));if(l&&t.length>0)for(var h=0;h<t.length;++h)y.push(String(h));else for(var $ in t)b&&"prototype"===$||!n.call(t,$)||y.push(String($));if(i)for(var j=function(t){if("undefined"==typeof window||!s)return f(t);try{return f(t)}catch(t){return !1}}(t),w=0;w<u.length;++w)j&&"constructor"===u[w]||!n.call(t,u[w])||y.push(u[w]);return y};}var y=t,b=Array.prototype.slice,g=r$1,h=Object.keys,$=h?function(t){return h(t)}:y,j=Object.keys;$.shim=function(){Object.keys?function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2)||(Object.keys=function(t){return g(t)?j(b.call(t)):j(t)}):Object.keys=$;return Object.keys||$};var w=$;var r$2=w,e$2="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o$1=Object.prototype.toString,n$1=Array.prototype.concat,a$1=Object.defineProperty,c$1=a$1&&function(){var t={};try{for(var r in a$1(t,"x",{enumerable:!1,value:t}),t)return !1;return t.x===t}catch(t){return !1}}(),l$1=function(t,r,e,n){var l;(!(r in t)||"function"==typeof(l=n)&&"[object Function]"===o$1.call(l)&&n())&&(c$1?a$1(t,r,{configurable:!0,enumerable:!1,value:e,writable:!0}):t[r]=e);},u$1=function(t,o){var a=arguments.length>2?arguments[2]:{},c=r$2(o);e$2&&(c=n$1.call(c,Object.getOwnPropertySymbols(o)));for(var u=0;u<c.length;u+=1)l$1(t,c[u],o[c[u]],a[c[u]]);};u$1.supportsDescriptors=!!c$1;var f$1=u$1;var t$1=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return !1;if("symbol"==typeof Symbol.iterator)return !0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return !1;if("[object Symbol]"!==Object.prototype.toString.call(e))return !1;if("[object Symbol]"!==Object.prototype.toString.call(r))return !1;for(e in t[e]=42,t)return !1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return !1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return !1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return !1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return !1;if("function"==typeof Object.getOwnPropertyDescriptor){var n=Object.getOwnPropertyDescriptor(t,e);if(42!==n.value||!0!==n.enumerable)return !1}return !0};var f$2=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:global).Symbol,e$3=t$1,l$2=function(){return "function"==typeof f$2&&("function"==typeof Symbol&&("symbol"==typeof f$2("foo")&&("symbol"==typeof Symbol("bar")&&e$3())))};var t$2="Function.prototype.bind called on incompatible ",n$2=Array.prototype.slice,o$2=Object.prototype.toString,r$3=function(r){var e=this;if("function"!=typeof e||"[object Function]"!==o$2.call(e))throw new TypeError(t$2+e);for(var p,i=n$2.call(arguments,1),c=function(){if(this instanceof p){var t=e.apply(this,i.concat(n$2.call(arguments)));return Object(t)===t?t:this}return e.apply(r,i.concat(n$2.call(arguments)))},a=Math.max(0,e.length-i.length),l=[],u=0;u<a;u++)l.push("$"+u);if(p=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(c),e.prototype){var y=function(){};y.prototype=e.prototype,p.prototype=new y,y.prototype=null;}return p},e$4=Function.prototype.bind||r$3;var o$3=TypeError,t$3=Object.getOwnPropertyDescriptor;if(t$3)try{t$3({},"");}catch(r){t$3=null;}var n$3=function(){throw new o$3},y$1=t$3?function(){try{return arguments.callee,n$3}catch(r){try{return t$3(arguments,"callee").get}catch(r){return n$3}}}():n$3,a$2=l$2(),i$1=Object.getPrototypeOf||function(r){return r.__proto__},d="undefined"==typeof Uint8Array?void 0:i$1(Uint8Array),f$3={"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":a$2?i$1([][Symbol.iterator]()):void 0,"%ArrayPrototype%":Array.prototype,"%ArrayProto_entries%":Array.prototype.entries,"%ArrayProto_forEach%":Array.prototype.forEach,"%ArrayProto_keys%":Array.prototype.keys,"%ArrayProto_values%":Array.prototype.values,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":void 0,"%AsyncFunctionPrototype%":void 0,"%AsyncGenerator%":void 0,"%AsyncGeneratorFunction%":void 0,"%AsyncGeneratorPrototype%":void 0,"%AsyncIteratorPrototype%":void 0,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%Boolean%":Boolean,"%BooleanPrototype%":Boolean.prototype,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"%Date%":Date,"%DatePrototype%":Date.prototype,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%ErrorPrototype%":Error.prototype,"%eval%":eval,"%EvalError%":EvalError,"%EvalErrorPrototype%":EvalError.prototype,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"%Function%":Function,"%FunctionPrototype%":Function.prototype,"%Generator%":void 0,"%GeneratorFunction%":void 0,"%GeneratorPrototype%":void 0,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":a$2?i$1(i$1([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%JSONParse%":"object"==typeof JSON?JSON.parse:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&a$2?i$1((new Map)[Symbol.iterator]()):void 0,"%MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"%Math%":Math,"%Number%":Number,"%NumberPrototype%":Number.prototype,"%Object%":Object,"%ObjectPrototype%":Object.prototype,"%ObjProto_toString%":Object.prototype.toString,"%ObjProto_valueOf%":Object.prototype.valueOf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"%PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"%Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"%Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"%Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%RangeErrorPrototype%":RangeError.prototype,"%ReferenceError%":ReferenceError,"%ReferenceErrorPrototype%":ReferenceError.prototype,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%RegExpPrototype%":RegExp.prototype,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&a$2?i$1((new Set)[Symbol.iterator]()):void 0,"%SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"%String%":String,"%StringIteratorPrototype%":a$2?i$1(""[Symbol.iterator]()):void 0,"%StringPrototype%":String.prototype,"%Symbol%":a$2?Symbol:void 0,"%SymbolPrototype%":a$2?Symbol.prototype:void 0,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":y$1,"%TypedArray%":d,"%TypedArrayPrototype%":d?d.prototype:void 0,"%TypeError%":o$3,"%TypeErrorPrototype%":o$3.prototype,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"%URIError%":URIError,"%URIErrorPrototype%":URIError.prototype,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"%WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype},u$2=e$4.call(Function.call,String.prototype.replace),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,l$3=/\\(\\)?/g,v=function(r){var e=[];return u$2(r,A,(function(r,o,t,n){e[e.length]=t?u$2(n,l$3,"$1"):o||r;})),e},P=function(r,e){if(!(r in f$3))throw new SyntaxError("intrinsic "+r+" does not exist!");if(void 0===f$3[r]&&!e)throw new o$3("intrinsic "+r+" exists, but is not available. Please file an issue!");return f$3[r]},c$2=function(r,e){if(0===r.length)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new TypeError('"allowMissing" argument must be a boolean');for(var n=v(r),y=P("%"+(n.length>0?n[0]:"")+"%",e),a=1;a<n.length;a+=1)if(null!=y)if(t$3&&a+1>=n.length){var i=t$3(y,n[a]);if(!(n[a]in y))throw new o$3("base intrinsic for "+r+" exists, but the property is not available.");y=i?i.get||i.value:y[n[a]];}else y=y[n[a]];return y};var t$4,p$1=e$4,o$4=c$2("%Function%"),i$2=o$4.apply,a$3=o$4.call;(t$4=function(){return p$1.apply(a$3,arguments)}).apply=function(){return p$1.apply(i$2,arguments)};var l$4=t$4;var r$4,n$4,i$3=function(t){return t!=t},o$5=(r$4=function(t,e){return 0===t&&0===e?1/t==1/e:t===e||!(!i$3(t)||!i$3(e))},r$4),c$3=(n$4=function(){return "function"==typeof Object.is?Object.is:o$5},n$4),f$4=f$1,u$3=f$1,s$1=r$4,a$4=n$4,l$5=function(){var t=c$3();return f$4(Object,{is:t},{is:function(){return Object.is!==t}}),t},p$2=l$4(a$4(),Object);u$3(p$2,{getPolyfill:a$4,implementation:s$1,shim:l$5});var m=p$2;N=function(r){return r!=r};var N,e$5,i$4=N,n$5=(e$5=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:i$4},f$1),t$5=e$5,u$4=f$1,a$5=N,m$1=e$5,o$6=function(){var r=t$5();return n$5(Number,{isNaN:r},{isNaN:function(){return Number.isNaN!==r}}),r},s$2=m$1();u$4(s$2,{getPolyfill:m$1,implementation:a$5,shim:o$6});var f$5=s$2;var c$4={},a$6=!1;function i$5(){if(a$6)return c$4;function e(t){return (e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,n){return !n||"object"!==e(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function r(t){return (r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function o(t,e){return (o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}a$6=!0;var i,u,l={};function f(t,e,c){c||(c=Error);var a=function(c){function a(o,c,i){var u;return !function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(u=n(this,r(a).call(this,function(t,n,r){return "string"==typeof e?e:e(t,n,r)}(o,c,i)))).code=t,u}return !function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e);}(a,c),a}(c);l[t]=a;}function s(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return "of ".concat(e," ").concat(String(t))}return f("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),f("ERR_INVALID_ARG_TYPE",(function(t,n,r){var o,c,u;if(void 0===i&&(i=tt()),i("string"==typeof t,"'name' must be a string"),"string"==typeof n&&(c="not ",n.substr(0,c.length)===c)?(o="must not be",n=n.replace(/^not /,"")):o="must be",function(t,e,n){return (void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}(t," argument"))u="The ".concat(t," ").concat(o," ").concat(s(n,"type"));else {var l=function(t,e,n){return "number"!=typeof n&&(n=0),!(n+e.length>t.length)&&-1!==t.indexOf(e,n)}(t,".")?"property":"argument";u='The "'.concat(t,'" ').concat(l," ").concat(o," ").concat(s(n,"type"));}return u+=". Received type ".concat(e(r))}),TypeError),f("ERR_INVALID_ARG_VALUE",(function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===u&&(u=X$1);var o=u.inspect(n);return o.length>128&&(o="".concat(o.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(o)}),TypeError),f("ERR_INVALID_RETURN_VALUE",(function(t,n,r){var o;return o=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(e(r)),"Expected ".concat(t,' to be returned from the "').concat(n,'"')+" function but got ".concat(o,".")}),TypeError),f("ERR_MISSING_ARGS",(function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];void 0===i&&(i=tt()),i(e.length>0,"At least one arg needs to be specified");var r="The ",o=e.length;switch(e=e.map((function(t){return '"'.concat(t,'"')})),o){case 1:r+="".concat(e[0]," argument");break;case 2:r+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:r+=e.slice(0,o-1).join(", "),r+=", and ".concat(e[o-1]," arguments");}return "".concat(r," must be specified")}),TypeError),c$4.codes=l,c$4}var u$5={},l$6=!1;function f$6(){if(l$6)return u$5;l$6=!0;var n=T$1;function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r);}}function c(t,e){return !e||"object"!==y(e)&&"function"!=typeof e?a(t):e}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){var e="function"==typeof Map?new Map:void 0;return (f=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r);}function r(){return p(t,arguments,h(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),g(r,t)})(t)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return !1;if(Reflect.construct.sham)return !1;if("function"==typeof Proxy)return !0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return !1}}function p(t,e,n){return (p=s()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&g(o,n.prototype),o}).apply(null,arguments)}function g(t,e){return (g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){return (h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t){return (y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var b=X$1.inspect,v=i$5().codes.ERR_INVALID_ARG_TYPE;function d(t,e,n){return (void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}var m="",E="",w="",S="",j={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function O(t){var e=Object.keys(t),n=Object.create(Object.getPrototypeOf(t));return e.forEach((function(e){n[e]=t[e];})),Object.defineProperty(n,"message",{value:t.message}),n}function x(t){return b(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function q(t,e,r){var o="",c="",a=0,i="",u=!1,l=x(t),f=l.split("\n"),s=x(e).split("\n"),p=0,g="";if("strictEqual"===r&&"object"===y(t)&&"object"===y(e)&&null!==t&&null!==e&&(r="strictEqualObject"),1===f.length&&1===s.length&&f[0]!==s[0]){var h=f[0].length+s[0].length;if(h<=10){if(!("object"===y(t)&&null!==t||"object"===y(e)&&null!==e||0===t&&0===e))return "".concat(j[r],"\n\n")+"".concat(f[0]," !== ").concat(s[0],"\n")}else if("strictEqualObject"!==r){if(h<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;f[0][p]===s[0][p];)p++;p>2&&(g="\n ".concat(function(t,e){if(e=Math.floor(e),0==t.length||0==e)return "";var n=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+=t.substring(0,n-t.length)}(" ",p),"^"),p=0);}}}for(var b=f[f.length-1],v=s[s.length-1];b===v&&(p++<2?i="\n ".concat(b).concat(i):o=b,f.pop(),s.pop(),0!==f.length&&0!==s.length);)b=f[f.length-1],v=s[s.length-1];var O=Math.max(f.length,s.length);if(0===O){var q=l.split("\n");if(q.length>30)for(q[26]="".concat(m,"...").concat(S);q.length>27;)q.pop();return "".concat(j.notIdentical,"\n\n").concat(q.join("\n"),"\n")}p>3&&(i="\n".concat(m,"...").concat(S).concat(i),u=!0),""!==o&&(i="\n ".concat(o).concat(i),o="");var R=0,A=j[r]+"\n".concat(E,"+ actual").concat(S," ").concat(w,"- expected").concat(S),k=" ".concat(m,"...").concat(S," Lines skipped");for(p=0;p<O;p++){var _=p-a;if(f.length<p+1)_>1&&p>2&&(_>4?(c+="\n".concat(m,"...").concat(S),u=!0):_>3&&(c+="\n ".concat(s[p-2]),R++),c+="\n ".concat(s[p-1]),R++),a=p,o+="\n".concat(w,"-").concat(S," ").concat(s[p]),R++;else if(s.length<p+1)_>1&&p>2&&(_>4?(c+="\n".concat(m,"...").concat(S),u=!0):_>3&&(c+="\n ".concat(f[p-2]),R++),c+="\n ".concat(f[p-1]),R++),a=p,c+="\n".concat(E,"+").concat(S," ").concat(f[p]),R++;else {var T=s[p],P=f[p],I=P!==T&&(!d(P,",")||P.slice(0,-1)!==T);I&&d(T,",")&&T.slice(0,-1)===P&&(I=!1,P+=","),I?(_>1&&p>2&&(_>4?(c+="\n".concat(m,"...").concat(S),u=!0):_>3&&(c+="\n ".concat(f[p-2]),R++),c+="\n ".concat(f[p-1]),R++),a=p,c+="\n".concat(E,"+").concat(S," ").concat(P),o+="\n".concat(w,"-").concat(S," ").concat(T),R+=2):(c+=o,o="",1!==_&&0!==p||(c+="\n ".concat(P),R++));}if(R>20&&p<O-2)return "".concat(A).concat(k,"\n").concat(c,"\n").concat(m,"...").concat(S).concat(o,"\n")+"".concat(m,"...").concat(S)}return "".concat(A).concat(u?k:"","\n").concat(c).concat(o).concat(i).concat(g)}var R=function(t){function e(t){var r;if(!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),"object"!==y(t)||null===t)throw new v("options","Object",t);var o=t.message,i=t.operator,u=t.stackStartFn,l=t.actual,f=t.expected,s=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=o)r=c(this,h(e).call(this,String(o)));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(m="",E="",S="",w=""):(m="",E="",S="",w="")),"object"===y(l)&&null!==l&&"object"===y(f)&&null!==f&&"stack"in l&&l instanceof Error&&"stack"in f&&f instanceof Error&&(l=O(l),f=O(f)),"deepStrictEqual"===i||"strictEqual"===i)r=c(this,h(e).call(this,q(l,f,i)));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var p=j[i],g=x(l).split("\n");if("notStrictEqual"===i&&"object"===y(l)&&null!==l&&(p=j.notStrictEqualObject),g.length>30)for(g[26]="".concat(m,"...").concat(S);g.length>27;)g.pop();r=1===g.length?c(this,h(e).call(this,"".concat(p," ").concat(g[0]))):c(this,h(e).call(this,"".concat(p,"\n\n").concat(g.join("\n"),"\n")));}else {var b=x(l),d="",R=j[i];"notDeepEqual"===i||"notEqual"===i?(b="".concat(j[i],"\n\n").concat(b)).length>1024&&(b="".concat(b.slice(0,1021),"...")):(d="".concat(x(f)),b.length>512&&(b="".concat(b.slice(0,509),"...")),d.length>512&&(d="".concat(d.slice(0,509),"...")),"deepEqual"===i||"equal"===i?b="".concat(R,"\n\n").concat(b,"\n\nshould equal\n\n"):d=" ".concat(i," ").concat(d)),r=c(this,h(e).call(this,"".concat(b).concat(d)));}return Error.stackTraceLimit=s,r.generatedMessage=!o,Object.defineProperty(a(r),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),r.code="ERR_ASSERTION",r.actual=l,r.expected=f,r.operator=i,Error.captureStackTrace&&Error.captureStackTrace(a(r),u),r.stack,r.name="AssertionError",c(r)}var i,u;return !function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e);}(e,t),i=e,(u=[{key:"toString",value:function(){return "".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:b.custom,value:function(t,e){return b(this,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e]);}));}return t}({},e,{customInspect:!1,depth:0}))}}])&&o(i.prototype,u),e}(f(Error));return u$5=R}function s$3(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=t[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,c=t;}finally{try{r||null==i.return||i.return();}finally{if(o)throw c}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function p$3(t){return (p$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var g$1=void 0!==/a/g.flags,h$1=function(t){var e=[];return t.forEach((function(t){return e.push(t)})),e},y$2=function(t){var e=[];return t.forEach((function(t,n){return e.push([n,t])})),e},b$1=Object.is?Object.is:m,v$1=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return []},d$1=Number.isNaN?Number.isNaN:f$5;function m$2(t){return t.call.bind(t)}var E=m$2(Object.prototype.hasOwnProperty),w$1=m$2(Object.prototype.propertyIsEnumerable),S=m$2(Object.prototype.toString),j$1=X$1.types,O=j$1.isAnyArrayBuffer,x=j$1.isArrayBufferView,q=j$1.isDate,R=j$1.isMap,A$1=j$1.isRegExp,k=j$1.isSet,_=j$1.isNativeError,T=j$1.isBoxedPrimitive,P$1=j$1.isNumberObject,I=j$1.isStringObject,D=j$1.isBooleanObject,F=j$1.isBigIntObject,N$1=j$1.isSymbolObject,L=j$1.isFloat32Array,M=j$1.isFloat64Array;function U(t){if(0===t.length||t.length>10)return !0;for(var e=0;e<t.length;e++){var n=t.charCodeAt(e);if(n<48||n>57)return !0}return 10===t.length&&t>=Math.pow(2,32)}function G(t){return Object.keys(t).filter(U).concat(v$1(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}
4
+ /*!
5
+ * The buffer module from node.js, for the browser.
6
+ *
7
+ * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
8
+ * @license MIT
9
+ */function V(t,e){if(t===e)return 0;for(var n=t.length,r=e.length,o=0,c=Math.min(n,r);o<c;++o)if(t[o]!==e[o]){n=t[o],r=e[o];break}return n<r?-1:r<n?1:0}function B(t,e,n,r){if(t===e)return 0!==t||(!n||b$1(t,e));if(n){if("object"!==p$3(t))return "number"==typeof t&&d$1(t)&&d$1(e);if("object"!==p$3(e)||null===t||null===e)return !1;if(Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return !1}else {if(null===t||"object"!==p$3(t))return (null===e||"object"!==p$3(e))&&t==e;if(null===e||"object"!==p$3(e))return !1}var o,c,a,i,u=S(t);if(u!==S(e))return !1;if(Array.isArray(t)){if(t.length!==e.length)return !1;var l=G(t),f=G(e);return l.length===f.length&&C(t,e,n,r,1,l)}if("[object Object]"===u&&(!R(t)&&R(e)||!k(t)&&k(e)))return !1;if(q(t)){if(!q(e)||Date.prototype.getTime.call(t)!==Date.prototype.getTime.call(e))return !1}else if(A$1(t)){if(!A$1(e)||(a=t,i=e,!(g$1?a.source===i.source&&a.flags===i.flags:RegExp.prototype.toString.call(a)===RegExp.prototype.toString.call(i))))return !1}else if(_(t)||t instanceof Error){if(t.message!==e.message||t.name!==e.name)return !1}else {if(x(t)){if(n||!L(t)&&!M(t)){if(!function(t,e){return t.byteLength===e.byteLength&&0===V(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}(t,e))return !1}else if(!function(t,e){if(t.byteLength!==e.byteLength)return !1;for(var n=0;n<t.byteLength;n++)if(t[n]!==e[n])return !1;return !0}(t,e))return !1;var s=G(t),h=G(e);return s.length===h.length&&C(t,e,n,r,0,s)}if(k(t))return !(!k(e)||t.size!==e.size)&&C(t,e,n,r,2);if(R(t))return !(!R(e)||t.size!==e.size)&&C(t,e,n,r,3);if(O(t)){if(c=e,(o=t).byteLength!==c.byteLength||0!==V(new Uint8Array(o),new Uint8Array(c)))return !1}else if(T(t)&&!function(t,e){return P$1(t)?P$1(e)&&b$1(Number.prototype.valueOf.call(t),Number.prototype.valueOf.call(e)):I(t)?I(e)&&String.prototype.valueOf.call(t)===String.prototype.valueOf.call(e):D(t)?D(e)&&Boolean.prototype.valueOf.call(t)===Boolean.prototype.valueOf.call(e):F(t)?F(e)&&BigInt.prototype.valueOf.call(t)===BigInt.prototype.valueOf.call(e):N$1(e)&&Symbol.prototype.valueOf.call(t)===Symbol.prototype.valueOf.call(e)}(t,e))return !1}return C(t,e,n,r,0)}function z(t,e){return e.filter((function(e){return w$1(t,e)}))}function C(t,e,n,r,o,c){if(5===arguments.length){c=Object.keys(t);var a=Object.keys(e);if(c.length!==a.length)return !1}for(var i=0;i<c.length;i++)if(!E(e,c[i]))return !1;if(n&&5===arguments.length){var u=v$1(t);if(0!==u.length){var l=0;for(i=0;i<u.length;i++){var f=u[i];if(w$1(t,f)){if(!w$1(e,f))return !1;c.push(f),l++;}else if(w$1(e,f))return !1}var s=v$1(e);if(u.length!==s.length&&z(e,s).length!==l)return !1}else {var p=v$1(e);if(0!==p.length&&0!==z(e,p).length)return !1}}if(0===c.length&&(0===o||1===o&&0===t.length||0===t.size))return !0;if(void 0===r)r={val1:new Map,val2:new Map,position:0};else {var g=r.val1.get(t);if(void 0!==g){var h=r.val2.get(e);if(void 0!==h)return g===h}r.position++;}r.val1.set(t,r.position),r.val2.set(e,r.position);var y=Q(t,e,n,c,r,o);return r.val1.delete(t),r.val2.delete(e),y}function Y(t,e,n,r){for(var o=h$1(t),c=0;c<o.length;c++){var a=o[c];if(B(e,a,n,r))return t.delete(a),!0}return !1}function W(t){switch(p$3(t)){case"undefined":return null;case"object":return;case"symbol":return !1;case"string":t=+t;case"number":if(d$1(t))return !1}return !0}function H(t,e,n){var r=W(n);return null!=r?r:e.has(r)&&!t.has(r)}function J(t,e,n,r,o){var c=W(n);if(null!=c)return c;var a=e.get(c);return !(void 0===a&&!e.has(c)||!B(r,a,!1,o))&&(!t.has(c)&&B(r,a,!1,o))}function K(t,e,n,r,o,c){for(var a=h$1(t),i=0;i<a.length;i++){var u=a[i];if(B(n,u,o,c)&&B(r,e.get(u),o,c))return t.delete(u),!0}return !1}function Q(t,e,n,r,o,c){var a=0;if(2===c){if(!function(t,e,n,r){for(var o=null,c=h$1(t),a=0;a<c.length;a++){var i=c[a];if("object"===p$3(i)&&null!==i)null===o&&(o=new Set),o.add(i);else if(!e.has(i)){if(n)return !1;if(!H(t,e,i))return !1;null===o&&(o=new Set),o.add(i);}}if(null!==o){for(var u=h$1(e),l=0;l<u.length;l++){var f=u[l];if("object"===p$3(f)&&null!==f){if(!Y(o,f,n,r))return !1}else if(!n&&!t.has(f)&&!Y(o,f,n,r))return !1}return 0===o.size}return !0}(t,e,n,o))return !1}else if(3===c){if(!function(t,e,n,r){for(var o=null,c=y$2(t),a=0;a<c.length;a++){var i=s$3(c[a],2),u=i[0],l=i[1];if("object"===p$3(u)&&null!==u)null===o&&(o=new Set),o.add(u);else {var f=e.get(u);if(void 0===f&&!e.has(u)||!B(l,f,n,r)){if(n)return !1;if(!J(t,e,u,l,r))return !1;null===o&&(o=new Set),o.add(u);}}}if(null!==o){for(var g=y$2(e),h=0;h<g.length;h++){var b=s$3(g[h],2),v=(u=b[0],b[1]);if("object"===p$3(u)&&null!==u){if(!K(o,t,u,v,n,r))return !1}else if(!(n||t.has(u)&&B(t.get(u),v,!1,r)||K(o,t,u,v,!1,r)))return !1}return 0===o.size}return !0}(t,e,n,o))return !1}else if(1===c)for(;a<t.length;a++){if(!E(t,a)){if(E(e,a))return !1;for(var i=Object.keys(t);a<i.length;a++){var u=i[a];if(!E(e,u)||!B(t[u],e[u],n,o))return !1}return i.length===Object.keys(e).length}if(!E(e,a)||!B(t[a],e[a],n,o))return !1}for(a=0;a<r.length;a++){var l=r[a];if(!B(t[l],e[l],n,o))return !1}return !0}var X={isDeepEqual:function(t,e){return B(t,e,!1)},isDeepStrictEqual:function(t,e){return B(t,e,!0)}},Z={},$$1=!1;function tt(){if($$1)return Z;$$1=!0;var o=T$1;function c(t){return (c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a,u,l=i$5().codes,s=l.ERR_AMBIGUOUS_ARGUMENT,p=l.ERR_INVALID_ARG_TYPE,g=l.ERR_INVALID_ARG_VALUE,h=l.ERR_INVALID_RETURN_VALUE,y=l.ERR_MISSING_ARGS,b=f$6(),v=X$1.inspect,d=X$1.types,m$1=d.isPromise,E=d.isRegExp,w=Object.assign?Object.assign:r.assign,S=Object.is?Object.is:m;function j(){a=X.isDeepEqual,u=X.isDeepStrictEqual;}var O=!1,x=Z=k,q={};function R(t){if(t.message instanceof Error)throw t.message;throw new b(t)}function A(t,e,n,r){if(!n){var o=!1;if(0===e)o=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var c=new b({actual:n,expected:!0,message:r,operator:"==",stackStartFn:t});throw c.generatedMessage=o,c}}function k(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];A.apply(void 0,[k,e.length].concat(e));}x.fail=function t(e,n,r,c,a){var i,u=arguments.length;if(0===u)i="Failed";else if(1===u)r=e,e=void 0;else {if(!1===O){O=!0;var l=o.emitWarning?o.emitWarning:console.warn.bind(console);l("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094");}2===u&&(c="!=");}if(r instanceof Error)throw r;var f={actual:e,expected:n,operator:void 0===c?"fail":c,stackStartFn:a||t};void 0!==r&&(f.message=r);var s=new b(f);throw i&&(s.message=i,s.generatedMessage=!0),s},x.AssertionError=b,x.ok=k,x.equal=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");e!=n&&R({actual:e,expected:n,message:r,operator:"==",stackStartFn:t});},x.notEqual=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");e==n&&R({actual:e,expected:n,message:r,operator:"!=",stackStartFn:t});},x.deepEqual=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");void 0===a&&j(),a(e,n)||R({actual:e,expected:n,message:r,operator:"deepEqual",stackStartFn:t});},x.notDeepEqual=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");void 0===a&&j(),a(e,n)&&R({actual:e,expected:n,message:r,operator:"notDeepEqual",stackStartFn:t});},x.deepStrictEqual=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");void 0===a&&j(),u(e,n)||R({actual:e,expected:n,message:r,operator:"deepStrictEqual",stackStartFn:t});},x.notDeepStrictEqual=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");void 0===a&&j();u(e,n)&&R({actual:e,expected:n,message:r,operator:"notDeepStrictEqual",stackStartFn:t});},x.strictEqual=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");S(e,n)||R({actual:e,expected:n,message:r,operator:"strictEqual",stackStartFn:t});},x.notStrictEqual=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");S(e,n)&&R({actual:e,expected:n,message:r,operator:"notStrictEqual",stackStartFn:t});};var _=function t(e,n,r){var o=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n.forEach((function(t){t in e&&(void 0!==r&&"string"==typeof r[t]&&E(e[t])&&e[t].test(r[t])?o[t]=r[t]:o[t]=e[t]);}));};function T(t,e,n,r,o,c){if(!(n in t)||!u(t[n],e[n])){if(!r){var a=new _(t,o),i=new _(e,o,t),l=new b({actual:a,expected:i,operator:"deepStrictEqual",stackStartFn:c});throw l.actual=t,l.expected=e,l.operator=c.name,l}R({actual:t,expected:e,message:r,operator:c.name,stackStartFn:c});}}function P(t,e,n,r){if("function"!=typeof e){if(E(e))return e.test(t);if(2===arguments.length)throw new p("expected",["Function","RegExp"],e);if("object"!==c(t)||null===t){var o=new b({actual:t,expected:e,message:n,operator:"deepStrictEqual",stackStartFn:r});throw o.operator=r.name,o}var i=Object.keys(e);if(e instanceof Error)i.push("name","message");else if(0===i.length)throw new g("error",e,"may not be an empty object");return void 0===a&&j(),i.forEach((function(o){"string"==typeof t[o]&&E(e[o])&&e[o].test(t[o])||T(t,e,o,n,i,r);})),!0}return void 0!==e.prototype&&t instanceof e||!Error.isPrototypeOf(e)&&!0===e.call({},t)}function I(t){if("function"!=typeof t)throw new p("fn","Function",t);try{t();}catch(t){return t}return q}function D(t){return m$1(t)||null!==t&&"object"===c(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function F(t){return Promise.resolve().then((function(){var e;if("function"==typeof t){if(!D(e=t()))throw new h("instance of Promise","promiseFn",e)}else {if(!D(t))throw new p("promiseFn",["Function","Promise"],t);e=t;}return Promise.resolve().then((function(){return e})).then((function(){return q})).catch((function(t){return t}))}))}function N(t,e,n,r){if("string"==typeof n){if(4===arguments.length)throw new p("error",["Object","Error","Function","RegExp"],n);if("object"===c(e)&&null!==e){if(e.message===n)throw new s("error/message",'The error message "'.concat(e.message,'" is identical to the message.'))}else if(e===n)throw new s("error/message",'The error "'.concat(e,'" is identical to the message.'));r=n,n=void 0;}else if(null!=n&&"object"!==c(n)&&"function"!=typeof n)throw new p("error",["Object","Error","Function","RegExp"],n);if(e===q){var o="";n&&n.name&&(o+=" (".concat(n.name,")")),o+=r?": ".concat(r):".";var a="rejects"===t.name?"rejection":"exception";R({actual:void 0,expected:n,operator:t.name,message:"Missing expected ".concat(a).concat(o),stackStartFn:t});}if(n&&!P(e,n,r,t))throw e}function L(t,e,n,r){if(e!==q){if("string"==typeof n&&(r=n,n=void 0),!n||P(e,n)){var o=r?": ".concat(r):".",c="doesNotReject"===t.name?"rejection":"exception";R({actual:e,expected:n,operator:t.name,message:"Got unwanted ".concat(c).concat(o,"\n")+'Actual message: "'.concat(e&&e.message,'"'),stackStartFn:t});}throw e}}function M(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];A.apply(void 0,[M,e.length].concat(e));}return x.throws=function t(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];N.apply(void 0,[t,I(e)].concat(r));},x.rejects=function t(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return F(e).then((function(e){return N.apply(void 0,[t,e].concat(r))}))},x.doesNotThrow=function t(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];L.apply(void 0,[t,I(e)].concat(r));},x.doesNotReject=function t(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return F(e).then((function(e){return L.apply(void 0,[t,e].concat(r))}))},x.ifError=function t(e){if(null!=e){var n="ifError got unwanted exception: ";"object"===c(e)&&"string"==typeof e.message?0===e.message.length&&e.constructor?n+=e.constructor.name:n+=e.message:n+=v(e);var r=new b({actual:e,expected:null,operator:"ifError",message:n,stackStartFn:t}),o=e.stack;if("string"==typeof o){var a=o.split("\n");a.shift();for(var i=r.stack.split("\n"),u=0;u<a.length;u++){var l=i.indexOf(a[u]);if(-1!==l){i=i.slice(0,l);break}}r.stack="".concat(i.join("\n"),"\n").concat(a.join("\n"));}throw r}},x.strict=w(M,x,{equal:x.strictEqual,deepEqual:x.deepStrictEqual,notEqual:x.notStrictEqual,notDeepEqual:x.notDeepStrictEqual}),x.strict.strict=x.strict,Z}var et=tt();et.AssertionError;et.deepEqual;et.deepStrictEqual;et.doesNotReject;et.doesNotThrow;et.equal;et.fail;et.ifError;et.notDeepEqual;et.notDeepStrictEqual;et.notEqual;et.notStrictEqual;et.ok;et.rejects;et.strict;et.strictEqual;et.throws;
10
+
11
+ et.AssertionError;
12
+ et.deepEqual;
13
+ et.deepStrictEqual;
14
+ et.doesNotReject;
15
+ et.doesNotThrow;
16
+ et.equal;
17
+ et.fail;
18
+ et.ifError;
19
+ et.notDeepEqual;
20
+ et.notDeepStrictEqual;
21
+ et.notEqual;
22
+ et.notStrictEqual;
23
+ et.ok;
24
+ et.rejects;
25
+ et.strict;
26
+ et.strictEqual;
27
+ et.throws;
28
+
29
+ et.AssertionError;
30
+ et.deepEqual;
31
+ et.deepStrictEqual;
32
+ et.doesNotReject;
33
+ et.doesNotThrow;
34
+ et.equal;
35
+ et.fail;
36
+ et.ifError;
37
+ et.notDeepEqual;
38
+ et.notDeepStrictEqual;
39
+ et.notEqual;
40
+ et.notStrictEqual;
41
+ et.ok;
42
+ et.rejects;
43
+ et.strict;
44
+ et.strictEqual;
45
+ et.throws;
46
+
47
+ export { et as e };
@@ -0,0 +1,36 @@
1
+ var exports = {},
2
+ _dewExec = false;
3
+ function dew() {
4
+ if (_dewExec) return exports;
5
+ _dewExec = true;
6
+ if (typeof Object.create === "function") {
7
+ // implementation from standard node.js 'util' module
8
+ exports = function inherits(ctor, superCtor) {
9
+ if (superCtor) {
10
+ ctor.super_ = superCtor;
11
+ ctor.prototype = Object.create(superCtor.prototype, {
12
+ constructor: {
13
+ value: ctor,
14
+ enumerable: false,
15
+ writable: true,
16
+ configurable: true
17
+ }
18
+ });
19
+ }
20
+ };
21
+ } else {
22
+ // old school shim for old browsers
23
+ exports = function inherits(ctor, superCtor) {
24
+ if (superCtor) {
25
+ ctor.super_ = superCtor;
26
+ var TempCtor = function () {};
27
+ TempCtor.prototype = superCtor.prototype;
28
+ ctor.prototype = new TempCtor();
29
+ ctor.prototype.constructor = ctor;
30
+ }
31
+ };
32
+ }
33
+ return exports;
34
+ }
35
+
36
+ export { dew as d };
@@ -0,0 +1,33 @@
1
+ var e$2,t$3,n$2,r$2="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:global,o$3=e$2={};function i$2(){throw new Error("setTimeout has not been defined")}function u$2(){throw new Error("clearTimeout has not been defined")}function c$2(e){if(t$3===setTimeout)return setTimeout(e,0);if((t$3===i$2||!t$3)&&setTimeout)return t$3=setTimeout,setTimeout(e,0);try{return t$3(e,0)}catch(n){try{return t$3.call(null,e,0)}catch(n){return t$3.call(this||r$2,e,0)}}}!function(){try{t$3="function"==typeof setTimeout?setTimeout:i$2;}catch(e){t$3=i$2;}try{n$2="function"==typeof clearTimeout?clearTimeout:u$2;}catch(e){n$2=u$2;}}();var l$2,s$1=[],f$1=!1,a$1=-1;function h$1(){f$1&&l$2&&(f$1=!1,l$2.length?s$1=l$2.concat(s$1):a$1=-1,s$1.length&&d$1());}function d$1(){if(!f$1){var e=c$2(h$1);f$1=!0;for(var t=s$1.length;t;){for(l$2=s$1,s$1=[];++a$1<t;)l$2&&l$2[a$1].run();a$1=-1,t=s$1.length;}l$2=null,f$1=!1,function(e){if(n$2===clearTimeout)return clearTimeout(e);if((n$2===u$2||!n$2)&&clearTimeout)return n$2=clearTimeout,clearTimeout(e);try{n$2(e);}catch(t){try{return n$2.call(null,e)}catch(t){return n$2.call(this||r$2,e)}}}(e);}}function m$1(e,t){(this||r$2).fun=e,(this||r$2).array=t;}function p$1(){}o$3.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s$1.push(new m$1(e,t)),1!==s$1.length||f$1||c$2(d$1);},m$1.prototype.run=function(){(this||r$2).fun.apply(null,(this||r$2).array);},o$3.title="browser",o$3.browser=!0,o$3.env={},o$3.argv=[],o$3.version="",o$3.versions={},o$3.on=p$1,o$3.addListener=p$1,o$3.once=p$1,o$3.off=p$1,o$3.removeListener=p$1,o$3.removeAllListeners=p$1,o$3.emit=p$1,o$3.prependListener=p$1,o$3.prependOnceListener=p$1,o$3.listeners=function(e){return []},o$3.binding=function(e){throw new Error("process.binding is not supported")},o$3.cwd=function(){return "/"},o$3.chdir=function(e){throw new Error("process.chdir is not supported")},o$3.umask=function(){return 0};var T$1=e$2;T$1.addListener;T$1.argv;T$1.binding;T$1.browser;T$1.chdir;T$1.cwd;T$1.emit;T$1.env;T$1.listeners;T$1.nextTick;T$1.off;T$1.on;T$1.once;T$1.prependListener;T$1.prependOnceListener;T$1.removeAllListeners;T$1.removeListener;T$1.title;T$1.umask;T$1.version;T$1.versions;
2
+
3
+ var t="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,e=Object.prototype.toString,o=function(o){return !(t&&o&&"object"==typeof o&&Symbol.toStringTag in o)&&"[object Arguments]"===e.call(o)},n=function(t){return !!o(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==e.call(t)&&"[object Function]"===e.call(t.callee)},r=function(){return o(arguments)}();o.isLegacyArguments=n;var l=r?o:n;var t$1=Object.prototype.toString,o$1=Function.prototype.toString,n$1=/^\s*(?:function)?\*/,e$1="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,r$1=Object.getPrototypeOf,c=function(){if(!e$1)return !1;try{return Function("return function*() {}")()}catch(t){}}(),u=c?r$1(c):{},i=function(c){return "function"==typeof c&&(!!n$1.test(o$1.call(c))||(e$1?r$1(c)===u:"[object GeneratorFunction]"===t$1.call(c)))};var t$2="function"==typeof Object.create?function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}));}:function(t,e){if(e){t.super_=e;var o=function(){};o.prototype=e.prototype,t.prototype=new o,t.prototype.constructor=t;}};var i$1=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8},o$2={},u$1=i$1,f=l,a=i;function c$1(e){return e.call.bind(e)}var s="undefined"!=typeof BigInt,p="undefined"!=typeof Symbol,y=p&&void 0!==Symbol.toStringTag,l$1="undefined"!=typeof Uint8Array,d="undefined"!=typeof ArrayBuffer;if(l$1&&y)var g=Object.getPrototypeOf(Uint8Array.prototype),b=c$1(Object.getOwnPropertyDescriptor(g,Symbol.toStringTag).get);var m=c$1(Object.prototype.toString),h=c$1(Number.prototype.valueOf),j=c$1(String.prototype.valueOf),A=c$1(Boolean.prototype.valueOf);if(s)var w=c$1(BigInt.prototype.valueOf);if(p)var v=c$1(Symbol.prototype.valueOf);function O(e,t){if("object"!=typeof e)return !1;try{return t(e),!0}catch(e){return !1}}function S(e){return l$1&&y?void 0!==b(e):B(e)||k(e)||E(e)||D(e)||U(e)||P(e)||x(e)||I(e)||M(e)||z(e)||F(e)}function B(e){return l$1&&y?"Uint8Array"===b(e):"[object Uint8Array]"===m(e)||u$1(e)&&void 0!==e.buffer}function k(e){return l$1&&y?"Uint8ClampedArray"===b(e):"[object Uint8ClampedArray]"===m(e)}function E(e){return l$1&&y?"Uint16Array"===b(e):"[object Uint16Array]"===m(e)}function D(e){return l$1&&y?"Uint32Array"===b(e):"[object Uint32Array]"===m(e)}function U(e){return l$1&&y?"Int8Array"===b(e):"[object Int8Array]"===m(e)}function P(e){return l$1&&y?"Int16Array"===b(e):"[object Int16Array]"===m(e)}function x(e){return l$1&&y?"Int32Array"===b(e):"[object Int32Array]"===m(e)}function I(e){return l$1&&y?"Float32Array"===b(e):"[object Float32Array]"===m(e)}function M(e){return l$1&&y?"Float64Array"===b(e):"[object Float64Array]"===m(e)}function z(e){return l$1&&y?"BigInt64Array"===b(e):"[object BigInt64Array]"===m(e)}function F(e){return l$1&&y?"BigUint64Array"===b(e):"[object BigUint64Array]"===m(e)}function T(e){return "[object Map]"===m(e)}function N(e){return "[object Set]"===m(e)}function W(e){return "[object WeakMap]"===m(e)}function $(e){return "[object WeakSet]"===m(e)}function C(e){return "[object ArrayBuffer]"===m(e)}function V(e){return "undefined"!=typeof ArrayBuffer&&(C.working?C(e):e instanceof ArrayBuffer)}function G(e){return "[object DataView]"===m(e)}function R(e){return "undefined"!=typeof DataView&&(G.working?G(e):e instanceof DataView)}function J(e){return "[object SharedArrayBuffer]"===m(e)}function _(e){return "undefined"!=typeof SharedArrayBuffer&&(J.working?J(e):e instanceof SharedArrayBuffer)}function H(e){return O(e,h)}function Z(e){return O(e,j)}function q(e){return O(e,A)}function K(e){return s&&O(e,w)}function L(e){return p&&O(e,v)}o$2.isArgumentsObject=f,o$2.isGeneratorFunction=a,o$2.isPromise=function(e){return "undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},o$2.isArrayBufferView=function(e){return d&&ArrayBuffer.isView?ArrayBuffer.isView(e):S(e)||R(e)},o$2.isTypedArray=S,o$2.isUint8Array=B,o$2.isUint8ClampedArray=k,o$2.isUint16Array=E,o$2.isUint32Array=D,o$2.isInt8Array=U,o$2.isInt16Array=P,o$2.isInt32Array=x,o$2.isFloat32Array=I,o$2.isFloat64Array=M,o$2.isBigInt64Array=z,o$2.isBigUint64Array=F,T.working="undefined"!=typeof Map&&T(new Map),o$2.isMap=function(e){return "undefined"!=typeof Map&&(T.working?T(e):e instanceof Map)},N.working="undefined"!=typeof Set&&N(new Set),o$2.isSet=function(e){return "undefined"!=typeof Set&&(N.working?N(e):e instanceof Set)},W.working="undefined"!=typeof WeakMap&&W(new WeakMap),o$2.isWeakMap=function(e){return "undefined"!=typeof WeakMap&&(W.working?W(e):e instanceof WeakMap)},$.working="undefined"!=typeof WeakSet&&$(new WeakSet),o$2.isWeakSet=function(e){return $(e)},C.working="undefined"!=typeof ArrayBuffer&&C(new ArrayBuffer),o$2.isArrayBuffer=V,G.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&G(new DataView(new ArrayBuffer(1),0,1)),o$2.isDataView=R,J.working="undefined"!=typeof SharedArrayBuffer&&J(new SharedArrayBuffer),o$2.isSharedArrayBuffer=_,o$2.isAsyncFunction=function(e){return "[object AsyncFunction]"===m(e)},o$2.isMapIterator=function(e){return "[object Map Iterator]"===m(e)},o$2.isSetIterator=function(e){return "[object Set Iterator]"===m(e)},o$2.isGeneratorObject=function(e){return "[object Generator]"===m(e)},o$2.isWebAssemblyCompiledModule=function(e){return "[object WebAssembly.Module]"===m(e)},o$2.isNumberObject=H,o$2.isStringObject=Z,o$2.isBooleanObject=q,o$2.isBigIntObject=K,o$2.isSymbolObject=L,o$2.isBoxedPrimitive=function(e){return H(e)||Z(e)||q(e)||K(e)||L(e)},o$2.isAnyArrayBuffer=function(e){return l$1&&(V(e)||_(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(o$2,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}});}));var Q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:global,X={},Y=T$1,ee=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},te=/%[sdj%]/g;X.format=function(e){if(!ge(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(oe(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,o=String(e).replace(te,(function(e){if("%%"===e)return "%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return "[Circular]"}default:return e}})),u=n[r];r<i;u=n[++r])le(u)||!he(u)?o+=" "+u:o+=" "+oe(u);return o},X.deprecate=function(e,t){if(void 0!==Y&&!0===Y.noDeprecation)return e;if(void 0===Y)return function(){return X.deprecate(e,t).apply(this||Q,arguments)};var r=!1;return function(){if(!r){if(Y.throwDeprecation)throw new Error(t);Y.traceDeprecation?console.trace(t):console.error(t),r=!0;}return e.apply(this||Q,arguments)}};var re={},ne=/^$/;if(Y.env.NODE_DEBUG){var ie=Y.env.NODE_DEBUG;ie=ie.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),ne=new RegExp("^"+ie+"$","i");}function oe(e,t){var r={seen:[],stylize:fe};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),ye(t)?r.showHidden=t:t&&X._extend(r,t),be(r.showHidden)&&(r.showHidden=!1),be(r.depth)&&(r.depth=2),be(r.colors)&&(r.colors=!1),be(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=ue),ae(r,e,r.depth)}function ue(e,t){var r=oe.styles[t];return r?"["+oe.colors[r][0]+"m"+e+"["+oe.colors[r][1]+"m":e}function fe(e,t){return e}function ae(e,t,r){if(e.customInspect&&t&&we(t.inspect)&&t.inspect!==X.inspect&&(!t.constructor||t.constructor.prototype!==t)){var n=t.inspect(r,e);return ge(n)||(n=ae(e,n,r)),n}var i=function(e,t){if(be(t))return e.stylize("undefined","undefined");if(ge(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(de(t))return e.stylize(""+t,"number");if(ye(t))return e.stylize(""+t,"boolean");if(le(t))return e.stylize("null","null")}(e,t);if(i)return i;var o=Object.keys(t),u=function(e){var t={};return e.forEach((function(e,r){t[e]=!0;})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),Ae(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return ce(t);if(0===o.length){if(we(t)){var f=t.name?": "+t.name:"";return e.stylize("[Function"+f+"]","special")}if(me(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(je(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Ae(t))return ce(t)}var a,c="",s=!1,p=["{","}"];(pe(t)&&(s=!0,p=["[","]"]),we(t))&&(c=" [Function"+(t.name?": "+t.name:"")+"]");return me(t)&&(c=" "+RegExp.prototype.toString.call(t)),je(t)&&(c=" "+Date.prototype.toUTCString.call(t)),Ae(t)&&(c=" "+ce(t)),0!==o.length||s&&0!=t.length?r<0?me(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),a=s?function(e,t,r,n,i){for(var o=[],u=0,f=t.length;u<f;++u)ke(t,String(u))?o.push(se(e,t,r,n,String(u),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(se(e,t,r,n,i,!0));})),o}(e,t,r,u,o):o.map((function(n){return se(e,t,r,u,n,s)})),e.seen.pop(),function(e,t,r){var n=0;if(e.reduce((function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(a,c,p)):p[0]+c+p[1]}function ce(e){return "["+Error.prototype.toString.call(e)+"]"}function se(e,t,r,n,i,o){var u,f,a;if((a=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?f=a.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):a.set&&(f=e.stylize("[Setter]","special")),ke(n,i)||(u="["+i+"]"),f||(e.seen.indexOf(a.value)<0?(f=le(r)?ae(e,a.value,null):ae(e,a.value,r-1)).indexOf("\n")>-1&&(f=o?f.split("\n").map((function(e){return " "+e})).join("\n").substr(2):"\n"+f.split("\n").map((function(e){return " "+e})).join("\n")):f=e.stylize("[Circular]","special")),be(u)){if(o&&i.match(/^\d+$/))return f;(u=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"));}return u+": "+f}function pe(e){return Array.isArray(e)}function ye(e){return "boolean"==typeof e}function le(e){return null===e}function de(e){return "number"==typeof e}function ge(e){return "string"==typeof e}function be(e){return void 0===e}function me(e){return he(e)&&"[object RegExp]"===ve(e)}function he(e){return "object"==typeof e&&null!==e}function je(e){return he(e)&&"[object Date]"===ve(e)}function Ae(e){return he(e)&&("[object Error]"===ve(e)||e instanceof Error)}function we(e){return "function"==typeof e}function ve(e){return Object.prototype.toString.call(e)}function Oe(e){return e<10?"0"+e.toString(10):e.toString(10)}X.debuglog=function(e){if(e=e.toUpperCase(),!re[e])if(ne.test(e)){var t=Y.pid;re[e]=function(){var r=X.format.apply(X,arguments);console.error("%s %d: %s",e,t,r);};}else re[e]=function(){};return re[e]},X.inspect=oe,oe.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},oe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},X.types=o$2,X.isArray=pe,X.isBoolean=ye,X.isNull=le,X.isNullOrUndefined=function(e){return null==e},X.isNumber=de,X.isString=ge,X.isSymbol=function(e){return "symbol"==typeof e},X.isUndefined=be,X.isRegExp=me,X.types.isRegExp=me,X.isObject=he,X.isDate=je,X.types.isDate=je,X.isError=Ae,X.types.isNativeError=Ae,X.isFunction=we,X.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},X.isBuffer=i$1;var Se=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Be(){var e=new Date,t=[Oe(e.getHours()),Oe(e.getMinutes()),Oe(e.getSeconds())].join(":");return [e.getDate(),Se[e.getMonth()],t].join(" ")}function ke(e,t){return Object.prototype.hasOwnProperty.call(e,t)}X.log=function(){console.log("%s - %s",Be(),X.format.apply(X,arguments));},X.inherits=t$2,X._extend=function(e,t){if(!t||!he(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var Ee="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function De(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r;}return t(e)}X.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(Ee&&e[Ee]){var t;if("function"!=typeof(t=e[Ee]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,Ee,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n;})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,n){e?r(e):t(n);}));try{e.apply(this||Q,i);}catch(e){r(e);}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Ee&&Object.defineProperty(t,Ee,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,ee(e))},X.promisify.custom=Ee,X.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var n=t.pop();if("function"!=typeof n)throw new TypeError("The last argument must be of type Function");var i=this||Q,o=function(){return n.apply(i,arguments)};e.apply(this||Q,t).then((function(e){Y.nextTick(o.bind(null,null,e));}),(function(e){Y.nextTick(De.bind(null,e,o));}));}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,ee(e)),t};
4
+
5
+ X._extend;X.callbackify;X.debuglog;X.deprecate;X.format;X.inherits;X.inspect;X.isArray;X.isBoolean;X.isBuffer;X.isDate;X.isError;X.isFunction;X.isNull;X.isNullOrUndefined;X.isNumber;X.isObject;X.isPrimitive;X.isRegExp;X.isString;X.isSymbol;X.isUndefined;X.log;X.promisify;
6
+
7
+ X._extend;
8
+ X.callbackify;
9
+ X.debuglog;
10
+ X.deprecate;
11
+ X.format;
12
+ X.inherits;
13
+ X.inspect;
14
+ X.isArray;
15
+ X.isBoolean;
16
+ X.isBuffer;
17
+ X.isDate;
18
+ X.isError;
19
+ X.isFunction;
20
+ X.isNull;
21
+ X.isNullOrUndefined;
22
+ X.isNumber;
23
+ X.isObject;
24
+ X.isPrimitive;
25
+ X.isRegExp;
26
+ X.isString;
27
+ X.isSymbol;
28
+ X.isUndefined;
29
+ X.log;
30
+ var promisify = X.promisify;
31
+ X.types;
32
+
33
+ export { T$1 as T, X, promisify as p, t$2 as t };