@syengup/fridaynext-hermes-channel 0.1.0-beta.4 → 0.1.0-beta.7

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 (877) hide show
  1. package/README.md +2 -2
  2. package/install-config.js +22 -5
  3. package/install-host.py +95 -0
  4. package/install-runtime.js +158 -38
  5. package/install.js +19 -4
  6. package/package.json +5 -5
  7. package/plugin.bundle +0 -0
  8. package/validation.json +1 -0
  9. package/plugin/README.md +0 -21
  10. package/plugin/__init__.py +0 -3
  11. package/plugin/fridaynext_plugin/__init__.py +0 -81
  12. package/plugin/fridaynext_plugin/adapter.py +0 -1333
  13. package/plugin/fridaynext_plugin/agent_defaults.py +0 -107
  14. package/plugin/fridaynext_plugin/agent_management.py +0 -158
  15. package/plugin/fridaynext_plugin/canonical_control.py +0 -517
  16. package/plugin/fridaynext_plugin/compat_v0225.py +0 -2080
  17. package/plugin/fridaynext_plugin/continuations.py +0 -271
  18. package/plugin/fridaynext_plugin/control_cli.py +0 -101
  19. package/plugin/fridaynext_plugin/controls.py +0 -296
  20. package/plugin/fridaynext_plugin/delivery_context.py +0 -210
  21. package/plugin/fridaynext_plugin/device-tools-v1.json +0 -302
  22. package/plugin/fridaynext_plugin/device_tools.py +0 -144
  23. package/plugin/fridaynext_plugin/diagnostics.py +0 -165
  24. package/plugin/fridaynext_plugin/history.py +0 -443
  25. package/plugin/fridaynext_plugin/host.py +0 -320
  26. package/plugin/fridaynext_plugin/initial_settings.py +0 -184
  27. package/plugin/fridaynext_plugin/inline_media.py +0 -58
  28. package/plugin/fridaynext_plugin/media_input.py +0 -186
  29. package/plugin/fridaynext_plugin/media_observations.py +0 -172
  30. package/plugin/fridaynext_plugin/media_output.py +0 -277
  31. package/plugin/fridaynext_plugin/message_speech.py +0 -143
  32. package/plugin/fridaynext_plugin/multi_agent.py +0 -221
  33. package/plugin/fridaynext_plugin/recovery.py +0 -214
  34. package/plugin/fridaynext_plugin/reply_context.py +0 -39
  35. package/plugin/fridaynext_plugin/runtime_port.py +0 -593
  36. package/plugin/fridaynext_plugin/scheduled_tasks.py +0 -229
  37. package/plugin/fridaynext_plugin/sessions.py +0 -184
  38. package/plugin/fridaynext_plugin/settings.py +0 -699
  39. package/plugin/fridaynext_plugin/settings_control.py +0 -101
  40. package/plugin/fridaynext_plugin/slash_commands.py +0 -163
  41. package/plugin/fridaynext_plugin/state.py +0 -155
  42. package/plugin/fridaynext_plugin/stream_bridge.py +0 -550
  43. package/plugin/fridaynext_plugin/stream_media.py +0 -59
  44. package/plugin/fridaynext_plugin/stream_projection.py +0 -293
  45. package/plugin/fridaynext_plugin/subagents.py +0 -228
  46. package/plugin/plugin.yaml +0 -29
  47. package/plugin/runtime/dist/commands-routes.js +0 -94
  48. package/plugin/runtime/dist/device-tools-v1.json +0 -302
  49. package/plugin/runtime/dist/host-peer.js +0 -106
  50. package/plugin/runtime/dist/hosted-artifacts.js +0 -189
  51. package/plugin/runtime/dist/hosted-backend.js +0 -436
  52. package/plugin/runtime/dist/hosted-continuations.js +0 -41
  53. package/plugin/runtime/dist/hosted-delivery-observations.js +0 -91
  54. package/plugin/runtime/dist/hosted-device-tools.js +0 -82
  55. package/plugin/runtime/dist/hosted-media.js +0 -368
  56. package/plugin/runtime/dist/hosted-recovery.js +0 -55
  57. package/plugin/runtime/dist/hosted-settings.js +0 -26
  58. package/plugin/runtime/dist/hosted-stream.js +0 -214
  59. package/plugin/runtime/dist/hosted-subagents.js +0 -78
  60. package/plugin/runtime/dist/identity.js +0 -55
  61. package/plugin/runtime/dist/kit-contract.json +0 -1
  62. package/plugin/runtime/dist/media-transport.js +0 -168
  63. package/plugin/runtime/dist/oss-upload-worker.js +0 -7
  64. package/plugin/runtime/dist/oss-upload.js +0 -94
  65. package/plugin/runtime/dist/ownership.js +0 -21
  66. package/plugin/runtime/dist/platform-service.js +0 -36
  67. package/plugin/runtime/dist/plugin-control.js +0 -193
  68. package/plugin/runtime/dist/plugin-worker.js +0 -43
  69. package/plugin/runtime/dist/private-files.js +0 -24
  70. package/plugin/runtime/dist/process-lock.js +0 -40
  71. package/plugin/runtime/dist/public-config.js +0 -58
  72. package/plugin/runtime/dist/scheduled-routes.js +0 -63
  73. package/plugin/runtime/dist/service-errors.js +0 -11
  74. package/plugin/runtime/dist/service-host.js +0 -275
  75. package/plugin/runtime/dist/speech-routes.js +0 -111
  76. package/plugin/runtime/dist/tool-presentation.js +0 -399
  77. package/plugin/runtime/node_modules/.package-lock.json +0 -436
  78. package/plugin/runtime/node_modules/@noble/hashes/LICENSE +0 -21
  79. package/plugin/runtime/node_modules/@noble/hashes/README.md +0 -521
  80. package/plugin/runtime/node_modules/@noble/hashes/_assert.d.ts +0 -17
  81. package/plugin/runtime/node_modules/@noble/hashes/_assert.d.ts.map +0 -1
  82. package/plugin/runtime/node_modules/@noble/hashes/_assert.js +0 -18
  83. package/plugin/runtime/node_modules/@noble/hashes/_assert.js.map +0 -1
  84. package/plugin/runtime/node_modules/@noble/hashes/_blake.d.ts +0 -14
  85. package/plugin/runtime/node_modules/@noble/hashes/_blake.d.ts.map +0 -1
  86. package/plugin/runtime/node_modules/@noble/hashes/_blake.js +0 -50
  87. package/plugin/runtime/node_modules/@noble/hashes/_blake.js.map +0 -1
  88. package/plugin/runtime/node_modules/@noble/hashes/_md.d.ts +0 -51
  89. package/plugin/runtime/node_modules/@noble/hashes/_md.d.ts.map +0 -1
  90. package/plugin/runtime/node_modules/@noble/hashes/_md.js +0 -162
  91. package/plugin/runtime/node_modules/@noble/hashes/_md.js.map +0 -1
  92. package/plugin/runtime/node_modules/@noble/hashes/_u64.d.ts +0 -55
  93. package/plugin/runtime/node_modules/@noble/hashes/_u64.d.ts.map +0 -1
  94. package/plugin/runtime/node_modules/@noble/hashes/_u64.js +0 -90
  95. package/plugin/runtime/node_modules/@noble/hashes/_u64.js.map +0 -1
  96. package/plugin/runtime/node_modules/@noble/hashes/argon2.d.ts +0 -32
  97. package/plugin/runtime/node_modules/@noble/hashes/argon2.d.ts.map +0 -1
  98. package/plugin/runtime/node_modules/@noble/hashes/argon2.js +0 -401
  99. package/plugin/runtime/node_modules/@noble/hashes/argon2.js.map +0 -1
  100. package/plugin/runtime/node_modules/@noble/hashes/blake1.d.ts +0 -106
  101. package/plugin/runtime/node_modules/@noble/hashes/blake1.d.ts.map +0 -1
  102. package/plugin/runtime/node_modules/@noble/hashes/blake1.js +0 -459
  103. package/plugin/runtime/node_modules/@noble/hashes/blake1.js.map +0 -1
  104. package/plugin/runtime/node_modules/@noble/hashes/blake2.d.ts +0 -116
  105. package/plugin/runtime/node_modules/@noble/hashes/blake2.d.ts.map +0 -1
  106. package/plugin/runtime/node_modules/@noble/hashes/blake2.js +0 -420
  107. package/plugin/runtime/node_modules/@noble/hashes/blake2.js.map +0 -1
  108. package/plugin/runtime/node_modules/@noble/hashes/blake2b.d.ts +0 -11
  109. package/plugin/runtime/node_modules/@noble/hashes/blake2b.d.ts.map +0 -1
  110. package/plugin/runtime/node_modules/@noble/hashes/blake2b.js +0 -14
  111. package/plugin/runtime/node_modules/@noble/hashes/blake2b.js.map +0 -1
  112. package/plugin/runtime/node_modules/@noble/hashes/blake2s.d.ts +0 -20
  113. package/plugin/runtime/node_modules/@noble/hashes/blake2s.d.ts.map +0 -1
  114. package/plugin/runtime/node_modules/@noble/hashes/blake2s.js +0 -24
  115. package/plugin/runtime/node_modules/@noble/hashes/blake2s.js.map +0 -1
  116. package/plugin/runtime/node_modules/@noble/hashes/blake3.d.ts +0 -54
  117. package/plugin/runtime/node_modules/@noble/hashes/blake3.d.ts.map +0 -1
  118. package/plugin/runtime/node_modules/@noble/hashes/blake3.js +0 -255
  119. package/plugin/runtime/node_modules/@noble/hashes/blake3.js.map +0 -1
  120. package/plugin/runtime/node_modules/@noble/hashes/crypto.d.ts +0 -2
  121. package/plugin/runtime/node_modules/@noble/hashes/crypto.d.ts.map +0 -1
  122. package/plugin/runtime/node_modules/@noble/hashes/crypto.js +0 -5
  123. package/plugin/runtime/node_modules/@noble/hashes/crypto.js.map +0 -1
  124. package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.d.ts +0 -2
  125. package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.d.ts.map +0 -1
  126. package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.js +0 -18
  127. package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.js.map +0 -1
  128. package/plugin/runtime/node_modules/@noble/hashes/eskdf.d.ts +0 -47
  129. package/plugin/runtime/node_modules/@noble/hashes/eskdf.d.ts.map +0 -1
  130. package/plugin/runtime/node_modules/@noble/hashes/eskdf.js +0 -166
  131. package/plugin/runtime/node_modules/@noble/hashes/eskdf.js.map +0 -1
  132. package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.d.ts +0 -17
  133. package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.d.ts.map +0 -1
  134. package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.js +0 -15
  135. package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.js.map +0 -1
  136. package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.d.ts +0 -14
  137. package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.d.ts.map +0 -1
  138. package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.js +0 -45
  139. package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.js.map +0 -1
  140. package/plugin/runtime/node_modules/@noble/hashes/esm/_md.d.ts +0 -51
  141. package/plugin/runtime/node_modules/@noble/hashes/esm/_md.d.ts.map +0 -1
  142. package/plugin/runtime/node_modules/@noble/hashes/esm/_md.js +0 -155
  143. package/plugin/runtime/node_modules/@noble/hashes/esm/_md.js.map +0 -1
  144. package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.d.ts +0 -55
  145. package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.d.ts.map +0 -1
  146. package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.js +0 -67
  147. package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.js.map +0 -1
  148. package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.d.ts +0 -32
  149. package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.d.ts.map +0 -1
  150. package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.js +0 -392
  151. package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.js.map +0 -1
  152. package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.d.ts +0 -106
  153. package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.d.ts.map +0 -1
  154. package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.js +0 -452
  155. package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.js.map +0 -1
  156. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.d.ts +0 -116
  157. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.d.ts.map +0 -1
  158. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.js +0 -413
  159. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.js.map +0 -1
  160. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.d.ts +0 -11
  161. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.d.ts.map +0 -1
  162. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.js +0 -11
  163. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.js.map +0 -1
  164. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.d.ts +0 -20
  165. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.d.ts.map +0 -1
  166. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.js +0 -21
  167. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.js.map +0 -1
  168. package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.d.ts +0 -54
  169. package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.d.ts.map +0 -1
  170. package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.js +0 -251
  171. package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.js.map +0 -1
  172. package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.d.ts +0 -2
  173. package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.d.ts.map +0 -1
  174. package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.js +0 -2
  175. package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.js.map +0 -1
  176. package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.d.ts +0 -2
  177. package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.d.ts.map +0 -1
  178. package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.js +0 -15
  179. package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.js.map +0 -1
  180. package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.d.ts +0 -47
  181. package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.d.ts.map +0 -1
  182. package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.js +0 -160
  183. package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.js.map +0 -1
  184. package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.d.ts +0 -36
  185. package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.d.ts.map +0 -1
  186. package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.js +0 -82
  187. package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.js.map +0 -1
  188. package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.d.ts +0 -35
  189. package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.d.ts.map +0 -1
  190. package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.js +0 -86
  191. package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.js.map +0 -1
  192. package/plugin/runtime/node_modules/@noble/hashes/esm/index.d.ts +0 -2
  193. package/plugin/runtime/node_modules/@noble/hashes/esm/index.d.ts.map +0 -1
  194. package/plugin/runtime/node_modules/@noble/hashes/esm/index.js +0 -33
  195. package/plugin/runtime/node_modules/@noble/hashes/esm/index.js.map +0 -1
  196. package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.d.ts +0 -71
  197. package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.d.ts.map +0 -1
  198. package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.js +0 -281
  199. package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.js.map +0 -1
  200. package/plugin/runtime/node_modules/@noble/hashes/esm/package.json +0 -10
  201. package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.d.ts +0 -23
  202. package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.d.ts.map +0 -1
  203. package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.js +0 -97
  204. package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.js.map +0 -1
  205. package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.d.ts +0 -13
  206. package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.d.ts.map +0 -1
  207. package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.js +0 -13
  208. package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.js.map +0 -1
  209. package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.d.ts +0 -34
  210. package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.d.ts.map +0 -1
  211. package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.js +0 -228
  212. package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.js.map +0 -1
  213. package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.d.ts +0 -11
  214. package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.d.ts.map +0 -1
  215. package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.js +0 -11
  216. package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.js.map +0 -1
  217. package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.d.ts +0 -159
  218. package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.d.ts.map +0 -1
  219. package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.js +0 -375
  220. package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.js.map +0 -1
  221. package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.d.ts +0 -20
  222. package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.d.ts.map +0 -1
  223. package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.js +0 -20
  224. package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.js.map +0 -1
  225. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.d.ts +0 -142
  226. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.d.ts.map +0 -1
  227. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.js +0 -393
  228. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.js.map +0 -1
  229. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.d.ts +0 -53
  230. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.d.ts.map +0 -1
  231. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.js +0 -234
  232. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.js.map +0 -1
  233. package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.d.ts +0 -26
  234. package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.d.ts.map +0 -1
  235. package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.js +0 -26
  236. package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.js.map +0 -1
  237. package/plugin/runtime/node_modules/@noble/hashes/esm/utils.d.ts +0 -161
  238. package/plugin/runtime/node_modules/@noble/hashes/esm/utils.d.ts.map +0 -1
  239. package/plugin/runtime/node_modules/@noble/hashes/esm/utils.js +0 -281
  240. package/plugin/runtime/node_modules/@noble/hashes/esm/utils.js.map +0 -1
  241. package/plugin/runtime/node_modules/@noble/hashes/hkdf.d.ts +0 -36
  242. package/plugin/runtime/node_modules/@noble/hashes/hkdf.d.ts.map +0 -1
  243. package/plugin/runtime/node_modules/@noble/hashes/hkdf.js +0 -88
  244. package/plugin/runtime/node_modules/@noble/hashes/hkdf.js.map +0 -1
  245. package/plugin/runtime/node_modules/@noble/hashes/hmac.d.ts +0 -35
  246. package/plugin/runtime/node_modules/@noble/hashes/hmac.d.ts.map +0 -1
  247. package/plugin/runtime/node_modules/@noble/hashes/hmac.js +0 -91
  248. package/plugin/runtime/node_modules/@noble/hashes/hmac.js.map +0 -1
  249. package/plugin/runtime/node_modules/@noble/hashes/index.d.ts +0 -1
  250. package/plugin/runtime/node_modules/@noble/hashes/index.d.ts.map +0 -1
  251. package/plugin/runtime/node_modules/@noble/hashes/index.js +0 -33
  252. package/plugin/runtime/node_modules/@noble/hashes/index.js.map +0 -1
  253. package/plugin/runtime/node_modules/@noble/hashes/legacy.d.ts +0 -71
  254. package/plugin/runtime/node_modules/@noble/hashes/legacy.d.ts.map +0 -1
  255. package/plugin/runtime/node_modules/@noble/hashes/legacy.js +0 -287
  256. package/plugin/runtime/node_modules/@noble/hashes/legacy.js.map +0 -1
  257. package/plugin/runtime/node_modules/@noble/hashes/package.json +0 -266
  258. package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.d.ts +0 -23
  259. package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.d.ts.map +0 -1
  260. package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.js +0 -101
  261. package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.js.map +0 -1
  262. package/plugin/runtime/node_modules/@noble/hashes/ripemd160.d.ts +0 -13
  263. package/plugin/runtime/node_modules/@noble/hashes/ripemd160.d.ts.map +0 -1
  264. package/plugin/runtime/node_modules/@noble/hashes/ripemd160.js +0 -16
  265. package/plugin/runtime/node_modules/@noble/hashes/ripemd160.js.map +0 -1
  266. package/plugin/runtime/node_modules/@noble/hashes/scrypt.d.ts +0 -34
  267. package/plugin/runtime/node_modules/@noble/hashes/scrypt.d.ts.map +0 -1
  268. package/plugin/runtime/node_modules/@noble/hashes/scrypt.js +0 -232
  269. package/plugin/runtime/node_modules/@noble/hashes/scrypt.js.map +0 -1
  270. package/plugin/runtime/node_modules/@noble/hashes/sha1.d.ts +0 -11
  271. package/plugin/runtime/node_modules/@noble/hashes/sha1.d.ts.map +0 -1
  272. package/plugin/runtime/node_modules/@noble/hashes/sha1.js +0 -14
  273. package/plugin/runtime/node_modules/@noble/hashes/sha1.js.map +0 -1
  274. package/plugin/runtime/node_modules/@noble/hashes/sha2.d.ts +0 -159
  275. package/plugin/runtime/node_modules/@noble/hashes/sha2.d.ts.map +0 -1
  276. package/plugin/runtime/node_modules/@noble/hashes/sha2.js +0 -384
  277. package/plugin/runtime/node_modules/@noble/hashes/sha2.js.map +0 -1
  278. package/plugin/runtime/node_modules/@noble/hashes/sha256.d.ts +0 -20
  279. package/plugin/runtime/node_modules/@noble/hashes/sha256.d.ts.map +0 -1
  280. package/plugin/runtime/node_modules/@noble/hashes/sha256.js +0 -23
  281. package/plugin/runtime/node_modules/@noble/hashes/sha256.js.map +0 -1
  282. package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.d.ts +0 -142
  283. package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.d.ts.map +0 -1
  284. package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.js +0 -402
  285. package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.js.map +0 -1
  286. package/plugin/runtime/node_modules/@noble/hashes/sha3.d.ts +0 -53
  287. package/plugin/runtime/node_modules/@noble/hashes/sha3.d.ts.map +0 -1
  288. package/plugin/runtime/node_modules/@noble/hashes/sha3.js +0 -239
  289. package/plugin/runtime/node_modules/@noble/hashes/sha3.js.map +0 -1
  290. package/plugin/runtime/node_modules/@noble/hashes/sha512.d.ts +0 -26
  291. package/plugin/runtime/node_modules/@noble/hashes/sha512.d.ts.map +0 -1
  292. package/plugin/runtime/node_modules/@noble/hashes/sha512.js +0 -29
  293. package/plugin/runtime/node_modules/@noble/hashes/sha512.js.map +0 -1
  294. package/plugin/runtime/node_modules/@noble/hashes/src/_assert.ts +0 -22
  295. package/plugin/runtime/node_modules/@noble/hashes/src/_blake.ts +0 -50
  296. package/plugin/runtime/node_modules/@noble/hashes/src/_md.ts +0 -176
  297. package/plugin/runtime/node_modules/@noble/hashes/src/_u64.ts +0 -91
  298. package/plugin/runtime/node_modules/@noble/hashes/src/argon2.ts +0 -497
  299. package/plugin/runtime/node_modules/@noble/hashes/src/blake1.ts +0 -534
  300. package/plugin/runtime/node_modules/@noble/hashes/src/blake2.ts +0 -486
  301. package/plugin/runtime/node_modules/@noble/hashes/src/blake2b.ts +0 -10
  302. package/plugin/runtime/node_modules/@noble/hashes/src/blake2s.ts +0 -20
  303. package/plugin/runtime/node_modules/@noble/hashes/src/blake3.ts +0 -272
  304. package/plugin/runtime/node_modules/@noble/hashes/src/crypto.ts +0 -9
  305. package/plugin/runtime/node_modules/@noble/hashes/src/cryptoNode.ts +0 -15
  306. package/plugin/runtime/node_modules/@noble/hashes/src/eskdf.ts +0 -187
  307. package/plugin/runtime/node_modules/@noble/hashes/src/hkdf.ts +0 -88
  308. package/plugin/runtime/node_modules/@noble/hashes/src/hmac.ts +0 -94
  309. package/plugin/runtime/node_modules/@noble/hashes/src/index.ts +0 -31
  310. package/plugin/runtime/node_modules/@noble/hashes/src/legacy.ts +0 -293
  311. package/plugin/runtime/node_modules/@noble/hashes/src/pbkdf2.ts +0 -122
  312. package/plugin/runtime/node_modules/@noble/hashes/src/ripemd160.ts +0 -12
  313. package/plugin/runtime/node_modules/@noble/hashes/src/scrypt.ts +0 -257
  314. package/plugin/runtime/node_modules/@noble/hashes/src/sha1.ts +0 -10
  315. package/plugin/runtime/node_modules/@noble/hashes/src/sha2.ts +0 -402
  316. package/plugin/runtime/node_modules/@noble/hashes/src/sha256.ts +0 -24
  317. package/plugin/runtime/node_modules/@noble/hashes/src/sha3-addons.ts +0 -499
  318. package/plugin/runtime/node_modules/@noble/hashes/src/sha3.ts +0 -258
  319. package/plugin/runtime/node_modules/@noble/hashes/src/sha512.ts +0 -34
  320. package/plugin/runtime/node_modules/@noble/hashes/src/utils.ts +0 -395
  321. package/plugin/runtime/node_modules/@noble/hashes/utils.d.ts +0 -161
  322. package/plugin/runtime/node_modules/@noble/hashes/utils.d.ts.map +0 -1
  323. package/plugin/runtime/node_modules/@noble/hashes/utils.js +0 -313
  324. package/plugin/runtime/node_modules/@noble/hashes/utils.js.map +0 -1
  325. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/API.md +0 -536
  326. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/LICENSE +0 -21
  327. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/README.md +0 -97
  328. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attachment/store.d.ts +0 -57
  329. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attachment/store.js +0 -618
  330. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-gate.d.ts +0 -29
  331. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-gate.js +0 -58
  332. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-key-prune.d.ts +0 -17
  333. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-key-prune.js +0 -37
  334. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-store.d.ts +0 -27
  335. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-store.js +0 -146
  336. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/verifier.d.ts +0 -1
  337. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/verifier.js +0 -2
  338. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/delivery-observations.d.ts +0 -38
  339. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/delivery-observations.js +0 -85
  340. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/history.d.ts +0 -89
  341. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/history.js +0 -179
  342. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/operations.d.ts +0 -136
  343. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/operations.js +0 -105
  344. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/pairing-codec.d.ts +0 -39
  345. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/pairing-codec.js +0 -233
  346. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/reconciliation.d.ts +0 -6
  347. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/reconciliation.js +0 -17
  348. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/settings-schema.d.ts +0 -3
  349. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/settings-schema.js +0 -45
  350. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/tool-presentation.d.ts +0 -10
  351. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/tool-presentation.js +0 -2
  352. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/types.d.ts +0 -259
  353. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/types.js +0 -33
  354. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/work-context.d.ts +0 -56
  355. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/work-context.js +0 -60
  356. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/coordinator.d.ts +0 -19
  357. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/coordinator.js +0 -113
  358. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/pending-store.d.ts +0 -37
  359. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/pending-store.js +0 -67
  360. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/results.d.ts +0 -14
  361. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/results.js +0 -39
  362. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/index.d.ts +0 -21
  363. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/index.js +0 -20
  364. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/og-parse.d.ts +0 -21
  365. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/og-parse.js +0 -234
  366. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/preview-service.d.ts +0 -39
  367. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/preview-service.js +0 -232
  368. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/ssrf-guard.d.ts +0 -52
  369. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/ssrf-guard.js +0 -236
  370. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/prompt-capsules/capsules-store.d.ts +0 -38
  371. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/prompt-capsules/capsules-store.js +0 -149
  372. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/attachment-crypto.d.ts +0 -4
  373. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/attachment-crypto.js +0 -73
  374. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/cert-selfsign.d.ts +0 -6
  375. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/cert-selfsign.js +0 -88
  376. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/filter-proxy.d.ts +0 -17
  377. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/filter-proxy.js +0 -231
  378. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/frpc-manager.d.ts +0 -76
  379. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/frpc-manager.js +0 -1332
  380. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/oss-transfer.d.ts +0 -43
  381. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/oss-transfer.js +0 -280
  382. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/pairing-voucher.d.ts +0 -13
  383. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/pairing-voucher.js +0 -58
  384. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/private-file.d.ts +0 -2
  385. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/private-file.js +0 -11
  386. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/standby-loop-guard.d.ts +0 -9
  387. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/standby-loop-guard.js +0 -24
  388. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tls-identity.d.ts +0 -36
  389. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tls-identity.js +0 -151
  390. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tunnel-watchdog-policy.d.ts +0 -24
  391. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tunnel-watchdog-policy.js +0 -49
  392. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/push-runtime.d.ts +0 -45
  393. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/push-runtime.js +0 -233
  394. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/relay-transport.d.ts +0 -8
  395. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/relay-transport.js +0 -27
  396. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/canonical-update-batcher.d.ts +0 -26
  397. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/canonical-update-batcher.js +0 -112
  398. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-kernel.d.ts +0 -52
  399. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-kernel.js +0 -332
  400. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-runtime.d.ts +0 -2
  401. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-runtime.js +0 -2
  402. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/delivery-observation-publisher.d.ts +0 -43
  403. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/delivery-observation-publisher.js +0 -211
  404. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/durable-run-store.d.ts +0 -264
  405. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/durable-run-store.js +0 -1661
  406. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/runner.d.ts +0 -37
  407. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/runner.js +0 -319
  408. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/scheduler.d.ts +0 -13
  409. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/scheduler.js +0 -130
  410. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/work-context.d.ts +0 -13
  411. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/work-context.js +0 -73
  412. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/server-name/server-name-store.d.ts +0 -21
  413. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/server-name/server-name-store.js +0 -52
  414. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/channel-service.d.ts +0 -38
  415. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/channel-service.js +0 -266
  416. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/infrastructure.d.ts +0 -87
  417. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/infrastructure.js +0 -179
  418. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/contract-harness.d.ts +0 -25
  419. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/contract-harness.js +0 -44
  420. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/reference-adapter.d.ts +0 -39
  421. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/reference-adapter.js +0 -76
  422. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/weaknet-server.d.ts +0 -6
  423. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/weaknet-server.js +0 -130
  424. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/attest.d.ts +0 -39
  425. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/attest.js +0 -114
  426. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/body.d.ts +0 -2
  427. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/body.js +0 -24
  428. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/command-lifecycle.d.ts +0 -47
  429. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/command-lifecycle.js +0 -184
  430. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/controls.d.ts +0 -9
  431. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/controls.js +0 -123
  432. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-download.d.ts +0 -18
  433. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-download.js +0 -197
  434. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-upload.d.ts +0 -20
  435. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-upload.js +0 -227
  436. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/link-preview.d.ts +0 -15
  437. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/link-preview.js +0 -45
  438. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/messages.d.ts +0 -10
  439. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/messages.js +0 -111
  440. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/operations.d.ts +0 -13
  441. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/operations.js +0 -336
  442. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/pairing.d.ts +0 -22
  443. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/pairing.js +0 -138
  444. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/prompt-capsules.d.ts +0 -8
  445. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/prompt-capsules.js +0 -65
  446. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/push.d.ts +0 -13
  447. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/push.js +0 -65
  448. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/runtime.d.ts +0 -51
  449. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/runtime.js +0 -442
  450. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/server-name.d.ts +0 -8
  451. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/server-name.js +0 -43
  452. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/session-settings.d.ts +0 -5
  453. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/session-settings.js +0 -153
  454. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/sessions.d.ts +0 -20
  455. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/sessions.js +0 -118
  456. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/package.json +0 -39
  457. package/plugin/runtime/node_modules/ansi-regex/index.d.ts +0 -37
  458. package/plugin/runtime/node_modules/ansi-regex/index.js +0 -10
  459. package/plugin/runtime/node_modules/ansi-regex/license +0 -9
  460. package/plugin/runtime/node_modules/ansi-regex/package.json +0 -55
  461. package/plugin/runtime/node_modules/ansi-regex/readme.md +0 -78
  462. package/plugin/runtime/node_modules/ansi-styles/index.d.ts +0 -345
  463. package/plugin/runtime/node_modules/ansi-styles/index.js +0 -163
  464. package/plugin/runtime/node_modules/ansi-styles/license +0 -9
  465. package/plugin/runtime/node_modules/ansi-styles/package.json +0 -56
  466. package/plugin/runtime/node_modules/ansi-styles/readme.md +0 -152
  467. package/plugin/runtime/node_modules/asn1js/LICENSE +0 -30
  468. package/plugin/runtime/node_modules/asn1js/README.md +0 -222
  469. package/plugin/runtime/node_modules/asn1js/build/index.d.ts +0 -1412
  470. package/plugin/runtime/node_modules/asn1js/build/index.es.js +0 -3705
  471. package/plugin/runtime/node_modules/asn1js/build/index.js +0 -3773
  472. package/plugin/runtime/node_modules/asn1js/package.json +0 -89
  473. package/plugin/runtime/node_modules/bytestreamjs/LICENSE +0 -29
  474. package/plugin/runtime/node_modules/bytestreamjs/README.MD +0 -196
  475. package/plugin/runtime/node_modules/bytestreamjs/build/cjs/bit.js +0 -91
  476. package/plugin/runtime/node_modules/bytestreamjs/build/cjs/bit_stream.js +0 -400
  477. package/plugin/runtime/node_modules/bytestreamjs/build/cjs/byte_stream.js +0 -648
  478. package/plugin/runtime/node_modules/bytestreamjs/build/cjs/helpers.js +0 -59
  479. package/plugin/runtime/node_modules/bytestreamjs/build/cjs/index.js +0 -21
  480. package/plugin/runtime/node_modules/bytestreamjs/build/cjs/seq_bit_stream.js +0 -114
  481. package/plugin/runtime/node_modules/bytestreamjs/build/cjs/seq_stream.js +0 -437
  482. package/plugin/runtime/node_modules/bytestreamjs/build/mjs/bit.js +0 -88
  483. package/plugin/runtime/node_modules/bytestreamjs/build/mjs/bit_stream.js +0 -396
  484. package/plugin/runtime/node_modules/bytestreamjs/build/mjs/byte_stream.js +0 -644
  485. package/plugin/runtime/node_modules/bytestreamjs/build/mjs/helpers.js +0 -55
  486. package/plugin/runtime/node_modules/bytestreamjs/build/mjs/index.js +0 -5
  487. package/plugin/runtime/node_modules/bytestreamjs/build/mjs/seq_bit_stream.js +0 -110
  488. package/plugin/runtime/node_modules/bytestreamjs/build/mjs/seq_stream.js +0 -433
  489. package/plugin/runtime/node_modules/bytestreamjs/build/types/bit.d.ts +0 -1
  490. package/plugin/runtime/node_modules/bytestreamjs/build/types/bit_stream.d.ts +0 -222
  491. package/plugin/runtime/node_modules/bytestreamjs/build/types/byte_stream.d.ts +0 -292
  492. package/plugin/runtime/node_modules/bytestreamjs/build/types/helpers.d.ts +0 -23
  493. package/plugin/runtime/node_modules/bytestreamjs/build/types/index.d.ts +0 -5
  494. package/plugin/runtime/node_modules/bytestreamjs/build/types/seq_bit_stream.d.ts +0 -47
  495. package/plugin/runtime/node_modules/bytestreamjs/build/types/seq_stream.d.ts +0 -255
  496. package/plugin/runtime/node_modules/bytestreamjs/package.json +0 -66
  497. package/plugin/runtime/node_modules/camelcase/index.d.ts +0 -63
  498. package/plugin/runtime/node_modules/camelcase/index.js +0 -76
  499. package/plugin/runtime/node_modules/camelcase/license +0 -9
  500. package/plugin/runtime/node_modules/camelcase/package.json +0 -43
  501. package/plugin/runtime/node_modules/camelcase/readme.md +0 -99
  502. package/plugin/runtime/node_modules/cbor/LICENSE.md +0 -20
  503. package/plugin/runtime/node_modules/cbor/README.md +0 -282
  504. package/plugin/runtime/node_modules/cbor/lib/cbor.js +0 -114
  505. package/plugin/runtime/node_modules/cbor/lib/commented.js +0 -382
  506. package/plugin/runtime/node_modules/cbor/lib/constants.js +0 -79
  507. package/plugin/runtime/node_modules/cbor/lib/decoder.js +0 -680
  508. package/plugin/runtime/node_modules/cbor/lib/diagnose.js +0 -274
  509. package/plugin/runtime/node_modules/cbor/lib/encoder.js +0 -1121
  510. package/plugin/runtime/node_modules/cbor/lib/map.js +0 -185
  511. package/plugin/runtime/node_modules/cbor/lib/objectRecorder.js +0 -71
  512. package/plugin/runtime/node_modules/cbor/lib/sharedValueEncoder.js +0 -141
  513. package/plugin/runtime/node_modules/cbor/lib/simple.js +0 -104
  514. package/plugin/runtime/node_modules/cbor/lib/tagged.js +0 -378
  515. package/plugin/runtime/node_modules/cbor/lib/utils.js +0 -308
  516. package/plugin/runtime/node_modules/cbor/package.json +0 -47
  517. package/plugin/runtime/node_modules/cbor/types/lib/cbor.d.ts +0 -34
  518. package/plugin/runtime/node_modules/cbor/types/lib/commented.d.ts +0 -109
  519. package/plugin/runtime/node_modules/cbor/types/lib/constants.d.ts +0 -63
  520. package/plugin/runtime/node_modules/cbor/types/lib/decoder.d.ts +0 -199
  521. package/plugin/runtime/node_modules/cbor/types/lib/diagnose.d.ts +0 -91
  522. package/plugin/runtime/node_modules/cbor/types/lib/encoder.d.ts +0 -477
  523. package/plugin/runtime/node_modules/cbor/types/lib/map.d.ts +0 -78
  524. package/plugin/runtime/node_modules/cbor/types/lib/objectRecorder.d.ts +0 -36
  525. package/plugin/runtime/node_modules/cbor/types/lib/sharedValueEncoder.d.ts +0 -21
  526. package/plugin/runtime/node_modules/cbor/types/lib/simple.d.ts +0 -47
  527. package/plugin/runtime/node_modules/cbor/types/lib/tagged.d.ts +0 -74
  528. package/plugin/runtime/node_modules/cbor/types/lib/utils.d.ts +0 -20
  529. package/plugin/runtime/node_modules/cbor/types/vendor/binary-parse-stream/index.d.ts +0 -34
  530. package/plugin/runtime/node_modules/cbor/vendor/binary-parse-stream/README.md +0 -49
  531. package/plugin/runtime/node_modules/cbor/vendor/binary-parse-stream/index.js +0 -111
  532. package/plugin/runtime/node_modules/cliui/CHANGELOG.md +0 -76
  533. package/plugin/runtime/node_modules/cliui/LICENSE.txt +0 -14
  534. package/plugin/runtime/node_modules/cliui/README.md +0 -115
  535. package/plugin/runtime/node_modules/cliui/index.js +0 -354
  536. package/plugin/runtime/node_modules/cliui/package.json +0 -65
  537. package/plugin/runtime/node_modules/color-convert/CHANGELOG.md +0 -54
  538. package/plugin/runtime/node_modules/color-convert/LICENSE +0 -21
  539. package/plugin/runtime/node_modules/color-convert/README.md +0 -68
  540. package/plugin/runtime/node_modules/color-convert/conversions.js +0 -839
  541. package/plugin/runtime/node_modules/color-convert/index.js +0 -81
  542. package/plugin/runtime/node_modules/color-convert/package.json +0 -48
  543. package/plugin/runtime/node_modules/color-convert/route.js +0 -97
  544. package/plugin/runtime/node_modules/color-name/LICENSE +0 -8
  545. package/plugin/runtime/node_modules/color-name/README.md +0 -11
  546. package/plugin/runtime/node_modules/color-name/index.js +0 -152
  547. package/plugin/runtime/node_modules/color-name/package.json +0 -28
  548. package/plugin/runtime/node_modules/decamelize/index.js +0 -13
  549. package/plugin/runtime/node_modules/decamelize/license +0 -21
  550. package/plugin/runtime/node_modules/decamelize/package.json +0 -38
  551. package/plugin/runtime/node_modules/decamelize/readme.md +0 -48
  552. package/plugin/runtime/node_modules/dijkstrajs/.travis.yml +0 -4
  553. package/plugin/runtime/node_modules/dijkstrajs/CONTRIBUTING.md +0 -8
  554. package/plugin/runtime/node_modules/dijkstrajs/LICENSE.md +0 -19
  555. package/plugin/runtime/node_modules/dijkstrajs/README.md +0 -18
  556. package/plugin/runtime/node_modules/dijkstrajs/dijkstra.js +0 -165
  557. package/plugin/runtime/node_modules/dijkstrajs/package.json +0 -60
  558. package/plugin/runtime/node_modules/dijkstrajs/test/dijkstra.test.js +0 -96
  559. package/plugin/runtime/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  560. package/plugin/runtime/node_modules/emoji-regex/README.md +0 -73
  561. package/plugin/runtime/node_modules/emoji-regex/es2015/index.js +0 -6
  562. package/plugin/runtime/node_modules/emoji-regex/es2015/text.js +0 -6
  563. package/plugin/runtime/node_modules/emoji-regex/index.d.ts +0 -23
  564. package/plugin/runtime/node_modules/emoji-regex/index.js +0 -6
  565. package/plugin/runtime/node_modules/emoji-regex/package.json +0 -50
  566. package/plugin/runtime/node_modules/emoji-regex/text.js +0 -6
  567. package/plugin/runtime/node_modules/find-up/index.d.ts +0 -137
  568. package/plugin/runtime/node_modules/find-up/index.js +0 -89
  569. package/plugin/runtime/node_modules/find-up/license +0 -9
  570. package/plugin/runtime/node_modules/find-up/package.json +0 -53
  571. package/plugin/runtime/node_modules/find-up/readme.md +0 -156
  572. package/plugin/runtime/node_modules/get-caller-file/LICENSE.md +0 -6
  573. package/plugin/runtime/node_modules/get-caller-file/README.md +0 -41
  574. package/plugin/runtime/node_modules/get-caller-file/index.d.ts +0 -2
  575. package/plugin/runtime/node_modules/get-caller-file/index.js +0 -22
  576. package/plugin/runtime/node_modules/get-caller-file/index.js.map +0 -1
  577. package/plugin/runtime/node_modules/get-caller-file/package.json +0 -42
  578. package/plugin/runtime/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  579. package/plugin/runtime/node_modules/is-fullwidth-code-point/index.js +0 -50
  580. package/plugin/runtime/node_modules/is-fullwidth-code-point/license +0 -9
  581. package/plugin/runtime/node_modules/is-fullwidth-code-point/package.json +0 -42
  582. package/plugin/runtime/node_modules/is-fullwidth-code-point/readme.md +0 -39
  583. package/plugin/runtime/node_modules/locate-path/index.d.ts +0 -83
  584. package/plugin/runtime/node_modules/locate-path/index.js +0 -65
  585. package/plugin/runtime/node_modules/locate-path/license +0 -9
  586. package/plugin/runtime/node_modules/locate-path/package.json +0 -45
  587. package/plugin/runtime/node_modules/locate-path/readme.md +0 -122
  588. package/plugin/runtime/node_modules/node-app-attest/.github/dependabot.yml +0 -6
  589. package/plugin/runtime/node_modules/node-app-attest/.github/workflows/ci.yml +0 -43
  590. package/plugin/runtime/node_modules/node-app-attest/.prettierrc +0 -1
  591. package/plugin/runtime/node_modules/node-app-attest/.yarnrc.yml +0 -1
  592. package/plugin/runtime/node_modules/node-app-attest/LICENSE +0 -21
  593. package/plugin/runtime/node_modules/node-app-attest/README.md +0 -300
  594. package/plugin/runtime/node_modules/node-app-attest/eslint.config.js +0 -30
  595. package/plugin/runtime/node_modules/node-app-attest/package.json +0 -44
  596. package/plugin/runtime/node_modules/node-app-attest/src/index.js +0 -4
  597. package/plugin/runtime/node_modules/node-app-attest/src/verifyAssertion.js +0 -81
  598. package/plugin/runtime/node_modules/node-app-attest/src/verifyAttestation.js +0 -211
  599. package/plugin/runtime/node_modules/node-app-attest/test/fixtures/attestation-development.json +0 -5
  600. package/plugin/runtime/node_modules/node-app-attest/test/fixtures/attestation-production.json +0 -5
  601. package/plugin/runtime/node_modules/node-app-attest/test/verifyAssertion.test.js +0 -119
  602. package/plugin/runtime/node_modules/node-app-attest/test/verifyAttestation.test.js +0 -303
  603. package/plugin/runtime/node_modules/node-app-attest/tsconfig.json +0 -11
  604. package/plugin/runtime/node_modules/node-app-attest/types/index.d.ts +0 -4
  605. package/plugin/runtime/node_modules/node-app-attest/types/index.d.ts.map +0 -1
  606. package/plugin/runtime/node_modules/node-app-attest/types/verifyAssertion.d.ts +0 -5
  607. package/plugin/runtime/node_modules/node-app-attest/types/verifyAssertion.d.ts.map +0 -1
  608. package/plugin/runtime/node_modules/node-app-attest/types/verifyAttestation.d.ts +0 -8
  609. package/plugin/runtime/node_modules/node-app-attest/types/verifyAttestation.d.ts.map +0 -1
  610. package/plugin/runtime/node_modules/nofilter/LICENSE.md +0 -20
  611. package/plugin/runtime/node_modules/nofilter/README.md +0 -36
  612. package/plugin/runtime/node_modules/nofilter/lib/index.js +0 -1055
  613. package/plugin/runtime/node_modules/nofilter/package.json +0 -60
  614. package/plugin/runtime/node_modules/nofilter/types/index.d.ts +0 -573
  615. package/plugin/runtime/node_modules/p-limit/index.d.ts +0 -38
  616. package/plugin/runtime/node_modules/p-limit/index.js +0 -57
  617. package/plugin/runtime/node_modules/p-limit/license +0 -9
  618. package/plugin/runtime/node_modules/p-limit/package.json +0 -52
  619. package/plugin/runtime/node_modules/p-limit/readme.md +0 -101
  620. package/plugin/runtime/node_modules/p-locate/index.d.ts +0 -64
  621. package/plugin/runtime/node_modules/p-locate/index.js +0 -52
  622. package/plugin/runtime/node_modules/p-locate/license +0 -9
  623. package/plugin/runtime/node_modules/p-locate/package.json +0 -53
  624. package/plugin/runtime/node_modules/p-locate/readme.md +0 -90
  625. package/plugin/runtime/node_modules/p-try/index.d.ts +0 -39
  626. package/plugin/runtime/node_modules/p-try/index.js +0 -9
  627. package/plugin/runtime/node_modules/p-try/license +0 -9
  628. package/plugin/runtime/node_modules/p-try/package.json +0 -42
  629. package/plugin/runtime/node_modules/p-try/readme.md +0 -58
  630. package/plugin/runtime/node_modules/path-exists/index.d.ts +0 -28
  631. package/plugin/runtime/node_modules/path-exists/index.js +0 -23
  632. package/plugin/runtime/node_modules/path-exists/license +0 -9
  633. package/plugin/runtime/node_modules/path-exists/package.json +0 -39
  634. package/plugin/runtime/node_modules/path-exists/readme.md +0 -52
  635. package/plugin/runtime/node_modules/pkijs/LICENSE +0 -30
  636. package/plugin/runtime/node_modules/pkijs/README.md +0 -81
  637. package/plugin/runtime/node_modules/pkijs/build/index.d.ts +0 -9419
  638. package/plugin/runtime/node_modules/pkijs/build/index.es.js +0 -18789
  639. package/plugin/runtime/node_modules/pkijs/build/index.js +0 -19014
  640. package/plugin/runtime/node_modules/pkijs/package.json +0 -98
  641. package/plugin/runtime/node_modules/pngjs/.eslintignore +0 -2
  642. package/plugin/runtime/node_modules/pngjs/.eslintrc.json +0 -19
  643. package/plugin/runtime/node_modules/pngjs/.prettierignore +0 -3
  644. package/plugin/runtime/node_modules/pngjs/LICENSE +0 -20
  645. package/plugin/runtime/node_modules/pngjs/README.md +0 -429
  646. package/plugin/runtime/node_modules/pngjs/browser.js +0 -16096
  647. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/base.css +0 -354
  648. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/bitmapper.js.html +0 -881
  649. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/bitpacker.js.html +0 -554
  650. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/block-navigation.js +0 -77
  651. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/chunkstream.js.html +0 -647
  652. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/constants.js.html +0 -176
  653. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/crc.js.html +0 -200
  654. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/favicon.png +0 -0
  655. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-pack.js.html +0 -593
  656. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-parse-async.js.html +0 -152
  657. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-parse-sync.js.html +0 -143
  658. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-parse.js.html +0 -611
  659. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/format-normaliser.js.html +0 -359
  660. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/index.html +0 -426
  661. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/interlace.js.html +0 -365
  662. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/packer-async.js.html +0 -230
  663. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/packer-sync.js.html +0 -248
  664. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/packer.js.html +0 -467
  665. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/paeth-predictor.js.html +0 -128
  666. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/parser-async.js.html +0 -575
  667. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/parser-sync.js.html +0 -404
  668. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/parser.js.html +0 -950
  669. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/png-sync.js.html +0 -116
  670. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/png.js.html +0 -662
  671. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/prettify.css +0 -101
  672. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/prettify.js +0 -1007
  673. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  674. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sorter.js +0 -169
  675. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sync-inflate.js.html +0 -584
  676. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sync-reader.js.html +0 -215
  677. package/plugin/runtime/node_modules/pngjs/coverage/lcov.info +0 -2177
  678. package/plugin/runtime/node_modules/pngjs/lib/bitmapper.js +0 -267
  679. package/plugin/runtime/node_modules/pngjs/lib/bitpacker.js +0 -158
  680. package/plugin/runtime/node_modules/pngjs/lib/chunkstream.js +0 -189
  681. package/plugin/runtime/node_modules/pngjs/lib/constants.js +0 -32
  682. package/plugin/runtime/node_modules/pngjs/lib/crc.js +0 -40
  683. package/plugin/runtime/node_modules/pngjs/lib/filter-pack.js +0 -171
  684. package/plugin/runtime/node_modules/pngjs/lib/filter-parse-async.js +0 -24
  685. package/plugin/runtime/node_modules/pngjs/lib/filter-parse-sync.js +0 -21
  686. package/plugin/runtime/node_modules/pngjs/lib/filter-parse.js +0 -177
  687. package/plugin/runtime/node_modules/pngjs/lib/format-normaliser.js +0 -93
  688. package/plugin/runtime/node_modules/pngjs/lib/interlace.js +0 -95
  689. package/plugin/runtime/node_modules/pngjs/lib/packer-async.js +0 -50
  690. package/plugin/runtime/node_modules/pngjs/lib/packer-sync.js +0 -56
  691. package/plugin/runtime/node_modules/pngjs/lib/packer.js +0 -129
  692. package/plugin/runtime/node_modules/pngjs/lib/paeth-predictor.js +0 -16
  693. package/plugin/runtime/node_modules/pngjs/lib/parser-async.js +0 -165
  694. package/plugin/runtime/node_modules/pngjs/lib/parser-sync.js +0 -108
  695. package/plugin/runtime/node_modules/pngjs/lib/parser.js +0 -290
  696. package/plugin/runtime/node_modules/pngjs/lib/png-sync.js +0 -12
  697. package/plugin/runtime/node_modules/pngjs/lib/png.js +0 -194
  698. package/plugin/runtime/node_modules/pngjs/lib/sync-inflate.js +0 -168
  699. package/plugin/runtime/node_modules/pngjs/lib/sync-reader.js +0 -45
  700. package/plugin/runtime/node_modules/pngjs/package.json +0 -73
  701. package/plugin/runtime/node_modules/pvtsutils/LICENSE +0 -21
  702. package/plugin/runtime/node_modules/pvtsutils/README.md +0 -80
  703. package/plugin/runtime/node_modules/pvtsutils/build/index.d.ts +0 -208
  704. package/plugin/runtime/node_modules/pvtsutils/build/index.es.js +0 -393
  705. package/plugin/runtime/node_modules/pvtsutils/build/index.js +0 -399
  706. package/plugin/runtime/node_modules/pvtsutils/package.json +0 -76
  707. package/plugin/runtime/node_modules/pvutils/LICENSE +0 -24
  708. package/plugin/runtime/node_modules/pvutils/README.md +0 -24
  709. package/plugin/runtime/node_modules/pvutils/build/index.d.ts +0 -116
  710. package/plugin/runtime/node_modules/pvutils/build/utils.es.js +0 -340
  711. package/plugin/runtime/node_modules/pvutils/build/utils.js +0 -361
  712. package/plugin/runtime/node_modules/pvutils/package.json +0 -63
  713. package/plugin/runtime/node_modules/qrcode/README.md +0 -770
  714. package/plugin/runtime/node_modules/qrcode/bin/qrcode +0 -159
  715. package/plugin/runtime/node_modules/qrcode/helper/to-sjis-browser.js +0 -2
  716. package/plugin/runtime/node_modules/qrcode/helper/to-sjis.js +0 -105
  717. package/plugin/runtime/node_modules/qrcode/lib/browser.js +0 -76
  718. package/plugin/runtime/node_modules/qrcode/lib/can-promise.js +0 -7
  719. package/plugin/runtime/node_modules/qrcode/lib/core/alignment-pattern.js +0 -83
  720. package/plugin/runtime/node_modules/qrcode/lib/core/alphanumeric-data.js +0 -59
  721. package/plugin/runtime/node_modules/qrcode/lib/core/bit-buffer.js +0 -37
  722. package/plugin/runtime/node_modules/qrcode/lib/core/bit-matrix.js +0 -65
  723. package/plugin/runtime/node_modules/qrcode/lib/core/byte-data.js +0 -30
  724. package/plugin/runtime/node_modules/qrcode/lib/core/error-correction-code.js +0 -135
  725. package/plugin/runtime/node_modules/qrcode/lib/core/error-correction-level.js +0 -50
  726. package/plugin/runtime/node_modules/qrcode/lib/core/finder-pattern.js +0 -22
  727. package/plugin/runtime/node_modules/qrcode/lib/core/format-info.js +0 -29
  728. package/plugin/runtime/node_modules/qrcode/lib/core/galois-field.js +0 -69
  729. package/plugin/runtime/node_modules/qrcode/lib/core/kanji-data.js +0 -54
  730. package/plugin/runtime/node_modules/qrcode/lib/core/mask-pattern.js +0 -234
  731. package/plugin/runtime/node_modules/qrcode/lib/core/mode.js +0 -167
  732. package/plugin/runtime/node_modules/qrcode/lib/core/numeric-data.js +0 -43
  733. package/plugin/runtime/node_modules/qrcode/lib/core/polynomial.js +0 -62
  734. package/plugin/runtime/node_modules/qrcode/lib/core/qrcode.js +0 -495
  735. package/plugin/runtime/node_modules/qrcode/lib/core/reed-solomon-encoder.js +0 -56
  736. package/plugin/runtime/node_modules/qrcode/lib/core/regex.js +0 -31
  737. package/plugin/runtime/node_modules/qrcode/lib/core/segments.js +0 -330
  738. package/plugin/runtime/node_modules/qrcode/lib/core/utils.js +0 -63
  739. package/plugin/runtime/node_modules/qrcode/lib/core/version-check.js +0 -9
  740. package/plugin/runtime/node_modules/qrcode/lib/core/version.js +0 -163
  741. package/plugin/runtime/node_modules/qrcode/lib/index.js +0 -12
  742. package/plugin/runtime/node_modules/qrcode/lib/renderer/canvas.js +0 -63
  743. package/plugin/runtime/node_modules/qrcode/lib/renderer/png.js +0 -78
  744. package/plugin/runtime/node_modules/qrcode/lib/renderer/svg-tag.js +0 -81
  745. package/plugin/runtime/node_modules/qrcode/lib/renderer/svg.js +0 -19
  746. package/plugin/runtime/node_modules/qrcode/lib/renderer/terminal/terminal-small.js +0 -85
  747. package/plugin/runtime/node_modules/qrcode/lib/renderer/terminal/terminal.js +0 -49
  748. package/plugin/runtime/node_modules/qrcode/lib/renderer/terminal.js +0 -9
  749. package/plugin/runtime/node_modules/qrcode/lib/renderer/utf8.js +0 -71
  750. package/plugin/runtime/node_modules/qrcode/lib/renderer/utils.js +0 -99
  751. package/plugin/runtime/node_modules/qrcode/lib/server.js +0 -138
  752. package/plugin/runtime/node_modules/qrcode/license +0 -10
  753. package/plugin/runtime/node_modules/qrcode/package.json +0 -77
  754. package/plugin/runtime/node_modules/require-directory/.jshintrc +0 -67
  755. package/plugin/runtime/node_modules/require-directory/.travis.yml +0 -3
  756. package/plugin/runtime/node_modules/require-directory/LICENSE +0 -22
  757. package/plugin/runtime/node_modules/require-directory/README.markdown +0 -184
  758. package/plugin/runtime/node_modules/require-directory/index.js +0 -86
  759. package/plugin/runtime/node_modules/require-directory/package.json +0 -40
  760. package/plugin/runtime/node_modules/require-main-filename/CHANGELOG.md +0 -26
  761. package/plugin/runtime/node_modules/require-main-filename/LICENSE.txt +0 -14
  762. package/plugin/runtime/node_modules/require-main-filename/README.md +0 -26
  763. package/plugin/runtime/node_modules/require-main-filename/index.js +0 -18
  764. package/plugin/runtime/node_modules/require-main-filename/package.json +0 -35
  765. package/plugin/runtime/node_modules/set-blocking/CHANGELOG.md +0 -26
  766. package/plugin/runtime/node_modules/set-blocking/LICENSE.txt +0 -14
  767. package/plugin/runtime/node_modules/set-blocking/README.md +0 -31
  768. package/plugin/runtime/node_modules/set-blocking/index.js +0 -7
  769. package/plugin/runtime/node_modules/set-blocking/package.json +0 -42
  770. package/plugin/runtime/node_modules/string-width/index.d.ts +0 -29
  771. package/plugin/runtime/node_modules/string-width/index.js +0 -47
  772. package/plugin/runtime/node_modules/string-width/license +0 -9
  773. package/plugin/runtime/node_modules/string-width/package.json +0 -56
  774. package/plugin/runtime/node_modules/string-width/readme.md +0 -50
  775. package/plugin/runtime/node_modules/strip-ansi/index.d.ts +0 -17
  776. package/plugin/runtime/node_modules/strip-ansi/index.js +0 -4
  777. package/plugin/runtime/node_modules/strip-ansi/license +0 -9
  778. package/plugin/runtime/node_modules/strip-ansi/package.json +0 -54
  779. package/plugin/runtime/node_modules/strip-ansi/readme.md +0 -46
  780. package/plugin/runtime/node_modules/tslib/CopyrightNotice.txt +0 -15
  781. package/plugin/runtime/node_modules/tslib/LICENSE.txt +0 -12
  782. package/plugin/runtime/node_modules/tslib/README.md +0 -159
  783. package/plugin/runtime/node_modules/tslib/SECURITY.md +0 -41
  784. package/plugin/runtime/node_modules/tslib/modules/index.d.ts +0 -38
  785. package/plugin/runtime/node_modules/tslib/modules/index.js +0 -70
  786. package/plugin/runtime/node_modules/tslib/modules/package.json +0 -3
  787. package/plugin/runtime/node_modules/tslib/package.json +0 -47
  788. package/plugin/runtime/node_modules/tslib/tslib.d.ts +0 -462
  789. package/plugin/runtime/node_modules/tslib/tslib.es6.html +0 -1
  790. package/plugin/runtime/node_modules/tslib/tslib.es6.js +0 -411
  791. package/plugin/runtime/node_modules/tslib/tslib.es6.mjs +0 -410
  792. package/plugin/runtime/node_modules/tslib/tslib.html +0 -1
  793. package/plugin/runtime/node_modules/tslib/tslib.js +0 -493
  794. package/plugin/runtime/node_modules/which-module/LICENSE +0 -13
  795. package/plugin/runtime/node_modules/which-module/README.md +0 -58
  796. package/plugin/runtime/node_modules/which-module/index.js +0 -9
  797. package/plugin/runtime/node_modules/which-module/package.json +0 -41
  798. package/plugin/runtime/node_modules/wrap-ansi/index.js +0 -186
  799. package/plugin/runtime/node_modules/wrap-ansi/license +0 -9
  800. package/plugin/runtime/node_modules/wrap-ansi/package.json +0 -61
  801. package/plugin/runtime/node_modules/wrap-ansi/readme.md +0 -97
  802. package/plugin/runtime/node_modules/y18n/CHANGELOG.md +0 -35
  803. package/plugin/runtime/node_modules/y18n/LICENSE +0 -13
  804. package/plugin/runtime/node_modules/y18n/README.md +0 -109
  805. package/plugin/runtime/node_modules/y18n/index.js +0 -188
  806. package/plugin/runtime/node_modules/y18n/package.json +0 -39
  807. package/plugin/runtime/node_modules/yargs/CHANGELOG.md +0 -420
  808. package/plugin/runtime/node_modules/yargs/LICENSE +0 -21
  809. package/plugin/runtime/node_modules/yargs/README.md +0 -140
  810. package/plugin/runtime/node_modules/yargs/build/lib/apply-extends.d.ts +0 -2
  811. package/plugin/runtime/node_modules/yargs/build/lib/apply-extends.js +0 -65
  812. package/plugin/runtime/node_modules/yargs/build/lib/argsert.d.ts +0 -2
  813. package/plugin/runtime/node_modules/yargs/build/lib/argsert.js +0 -65
  814. package/plugin/runtime/node_modules/yargs/build/lib/command.d.ts +0 -64
  815. package/plugin/runtime/node_modules/yargs/build/lib/command.js +0 -416
  816. package/plugin/runtime/node_modules/yargs/build/lib/common-types.d.ts +0 -36
  817. package/plugin/runtime/node_modules/yargs/build/lib/common-types.js +0 -25
  818. package/plugin/runtime/node_modules/yargs/build/lib/completion-templates.d.ts +0 -2
  819. package/plugin/runtime/node_modules/yargs/build/lib/completion-templates.js +0 -50
  820. package/plugin/runtime/node_modules/yargs/build/lib/completion.d.ts +0 -21
  821. package/plugin/runtime/node_modules/yargs/build/lib/completion.js +0 -135
  822. package/plugin/runtime/node_modules/yargs/build/lib/is-promise.d.ts +0 -1
  823. package/plugin/runtime/node_modules/yargs/build/lib/is-promise.js +0 -9
  824. package/plugin/runtime/node_modules/yargs/build/lib/levenshtein.d.ts +0 -1
  825. package/plugin/runtime/node_modules/yargs/build/lib/levenshtein.js +0 -58
  826. package/plugin/runtime/node_modules/yargs/build/lib/middleware.d.ts +0 -10
  827. package/plugin/runtime/node_modules/yargs/build/lib/middleware.js +0 -57
  828. package/plugin/runtime/node_modules/yargs/build/lib/obj-filter.d.ts +0 -1
  829. package/plugin/runtime/node_modules/yargs/build/lib/obj-filter.js +0 -14
  830. package/plugin/runtime/node_modules/yargs/build/lib/parse-command.d.ts +0 -11
  831. package/plugin/runtime/node_modules/yargs/build/lib/parse-command.js +0 -36
  832. package/plugin/runtime/node_modules/yargs/build/lib/process-argv.d.ts +0 -2
  833. package/plugin/runtime/node_modules/yargs/build/lib/process-argv.js +0 -31
  834. package/plugin/runtime/node_modules/yargs/build/lib/usage.d.ts +0 -49
  835. package/plugin/runtime/node_modules/yargs/build/lib/usage.js +0 -540
  836. package/plugin/runtime/node_modules/yargs/build/lib/validation.d.ts +0 -34
  837. package/plugin/runtime/node_modules/yargs/build/lib/validation.js +0 -330
  838. package/plugin/runtime/node_modules/yargs/build/lib/yargs.d.ts +0 -274
  839. package/plugin/runtime/node_modules/yargs/build/lib/yargs.js +0 -1190
  840. package/plugin/runtime/node_modules/yargs/build/lib/yerror.d.ts +0 -4
  841. package/plugin/runtime/node_modules/yargs/build/lib/yerror.js +0 -11
  842. package/plugin/runtime/node_modules/yargs/index.js +0 -40
  843. package/plugin/runtime/node_modules/yargs/locales/be.json +0 -46
  844. package/plugin/runtime/node_modules/yargs/locales/de.json +0 -46
  845. package/plugin/runtime/node_modules/yargs/locales/en.json +0 -51
  846. package/plugin/runtime/node_modules/yargs/locales/es.json +0 -46
  847. package/plugin/runtime/node_modules/yargs/locales/fi.json +0 -49
  848. package/plugin/runtime/node_modules/yargs/locales/fr.json +0 -53
  849. package/plugin/runtime/node_modules/yargs/locales/hi.json +0 -49
  850. package/plugin/runtime/node_modules/yargs/locales/hu.json +0 -46
  851. package/plugin/runtime/node_modules/yargs/locales/id.json +0 -50
  852. package/plugin/runtime/node_modules/yargs/locales/it.json +0 -46
  853. package/plugin/runtime/node_modules/yargs/locales/ja.json +0 -51
  854. package/plugin/runtime/node_modules/yargs/locales/ko.json +0 -49
  855. package/plugin/runtime/node_modules/yargs/locales/nb.json +0 -44
  856. package/plugin/runtime/node_modules/yargs/locales/nl.json +0 -49
  857. package/plugin/runtime/node_modules/yargs/locales/nn.json +0 -44
  858. package/plugin/runtime/node_modules/yargs/locales/pirate.json +0 -13
  859. package/plugin/runtime/node_modules/yargs/locales/pl.json +0 -49
  860. package/plugin/runtime/node_modules/yargs/locales/pt.json +0 -45
  861. package/plugin/runtime/node_modules/yargs/locales/pt_BR.json +0 -48
  862. package/plugin/runtime/node_modules/yargs/locales/ru.json +0 -46
  863. package/plugin/runtime/node_modules/yargs/locales/th.json +0 -46
  864. package/plugin/runtime/node_modules/yargs/locales/tr.json +0 -48
  865. package/plugin/runtime/node_modules/yargs/locales/zh_CN.json +0 -48
  866. package/plugin/runtime/node_modules/yargs/locales/zh_TW.json +0 -47
  867. package/plugin/runtime/node_modules/yargs/package.json +0 -92
  868. package/plugin/runtime/node_modules/yargs/yargs.js +0 -14
  869. package/plugin/runtime/node_modules/yargs-parser/CHANGELOG.md +0 -601
  870. package/plugin/runtime/node_modules/yargs-parser/LICENSE.txt +0 -14
  871. package/plugin/runtime/node_modules/yargs-parser/README.md +0 -449
  872. package/plugin/runtime/node_modules/yargs-parser/index.js +0 -1032
  873. package/plugin/runtime/node_modules/yargs-parser/lib/tokenize-arg-string.js +0 -40
  874. package/plugin/runtime/node_modules/yargs-parser/package.json +0 -46
  875. package/plugin/runtime/package-lock.json +0 -447
  876. package/plugin/runtime/package.json +0 -13
  877. package/plugin/tools.py +0 -3
@@ -1,255 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.blake3 = exports.BLAKE3 = void 0;
4
- /**
5
- * Blake3 fast hash is Blake2 with reduced security (round count). Can also be used as MAC & KDF.
6
- *
7
- * It is advertised as "the fastest cryptographic hash". However, it isn't true in JS.
8
- * Why is this so slow? While it should be 6x faster than blake2b, perf diff is only 20%:
9
- *
10
- * * There is only 30% reduction in number of rounds from blake2s
11
- * * Speed-up comes from tree structure, which is parallelized using SIMD & threading.
12
- * These features are not present in JS, so we only get overhead from trees.
13
- * * Parallelization only happens on 1024-byte chunks: there is no benefit for small inputs.
14
- * * It is still possible to make it faster using: a) loop unrolling b) web workers c) wasm
15
- * @module
16
- */
17
- const _md_ts_1 = require("./_md.js");
18
- const _u64_ts_1 = require("./_u64.js");
19
- const blake2_ts_1 = require("./blake2.js");
20
- // prettier-ignore
21
- const utils_ts_1 = require("./utils.js");
22
- // Flag bitset
23
- const B3_Flags = {
24
- CHUNK_START: 0b1,
25
- CHUNK_END: 0b10,
26
- PARENT: 0b100,
27
- ROOT: 0b1000,
28
- KEYED_HASH: 0b10000,
29
- DERIVE_KEY_CONTEXT: 0b100000,
30
- DERIVE_KEY_MATERIAL: 0b1000000,
31
- };
32
- const B3_IV = _md_ts_1.SHA256_IV.slice();
33
- const B3_SIGMA = /* @__PURE__ */ (() => {
34
- const Id = Array.from({ length: 16 }, (_, i) => i);
35
- const permute = (arr) => [2, 6, 3, 10, 7, 0, 4, 13, 1, 11, 12, 5, 9, 14, 15, 8].map((i) => arr[i]);
36
- const res = [];
37
- for (let i = 0, v = Id; i < 7; i++, v = permute(v))
38
- res.push(...v);
39
- return Uint8Array.from(res);
40
- })();
41
- /** Blake3 hash. Can be used as MAC and KDF. */
42
- class BLAKE3 extends blake2_ts_1.BLAKE2 {
43
- constructor(opts = {}, flags = 0) {
44
- super(64, opts.dkLen === undefined ? 32 : opts.dkLen);
45
- this.chunkPos = 0; // Position of current block in chunk
46
- this.chunksDone = 0; // How many chunks we already have
47
- this.flags = 0 | 0;
48
- this.stack = [];
49
- // Output
50
- this.posOut = 0;
51
- this.bufferOut32 = new Uint32Array(16);
52
- this.chunkOut = 0; // index of output chunk
53
- this.enableXOF = true;
54
- const { key, context } = opts;
55
- const hasContext = context !== undefined;
56
- if (key !== undefined) {
57
- if (hasContext)
58
- throw new Error('Only "key" or "context" can be specified at same time');
59
- const k = (0, utils_ts_1.toBytes)(key).slice();
60
- (0, utils_ts_1.abytes)(k, 32);
61
- this.IV = (0, utils_ts_1.u32)(k);
62
- (0, utils_ts_1.swap32IfBE)(this.IV);
63
- this.flags = flags | B3_Flags.KEYED_HASH;
64
- }
65
- else if (hasContext) {
66
- const ctx = (0, utils_ts_1.toBytes)(context);
67
- const contextKey = new BLAKE3({ dkLen: 32 }, B3_Flags.DERIVE_KEY_CONTEXT)
68
- .update(ctx)
69
- .digest();
70
- this.IV = (0, utils_ts_1.u32)(contextKey);
71
- (0, utils_ts_1.swap32IfBE)(this.IV);
72
- this.flags = flags | B3_Flags.DERIVE_KEY_MATERIAL;
73
- }
74
- else {
75
- this.IV = B3_IV.slice();
76
- this.flags = flags;
77
- }
78
- this.state = this.IV.slice();
79
- this.bufferOut = (0, utils_ts_1.u8)(this.bufferOut32);
80
- }
81
- // Unused
82
- get() {
83
- return [];
84
- }
85
- set() { }
86
- b2Compress(counter, flags, buf, bufPos = 0) {
87
- const { state: s, pos } = this;
88
- const { h, l } = (0, _u64_ts_1.fromBig)(BigInt(counter), true);
89
- // prettier-ignore
90
- const { v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15 } = (0, blake2_ts_1.compress)(B3_SIGMA, bufPos, buf, 7, s[0], s[1], s[2], s[3], s[4], s[5], s[6], s[7], B3_IV[0], B3_IV[1], B3_IV[2], B3_IV[3], h, l, pos, flags);
91
- s[0] = v0 ^ v8;
92
- s[1] = v1 ^ v9;
93
- s[2] = v2 ^ v10;
94
- s[3] = v3 ^ v11;
95
- s[4] = v4 ^ v12;
96
- s[5] = v5 ^ v13;
97
- s[6] = v6 ^ v14;
98
- s[7] = v7 ^ v15;
99
- }
100
- compress(buf, bufPos = 0, isLast = false) {
101
- // Compress last block
102
- let flags = this.flags;
103
- if (!this.chunkPos)
104
- flags |= B3_Flags.CHUNK_START;
105
- if (this.chunkPos === 15 || isLast)
106
- flags |= B3_Flags.CHUNK_END;
107
- if (!isLast)
108
- this.pos = this.blockLen;
109
- this.b2Compress(this.chunksDone, flags, buf, bufPos);
110
- this.chunkPos += 1;
111
- // If current block is last in chunk (16 blocks), then compress chunks
112
- if (this.chunkPos === 16 || isLast) {
113
- let chunk = this.state;
114
- this.state = this.IV.slice();
115
- // If not the last one, compress only when there are trailing zeros in chunk counter
116
- // chunks used as binary tree where current stack is path. Zero means current leaf is finished and can be compressed.
117
- // 1 (001) - leaf not finished (just push current chunk to stack)
118
- // 2 (010) - leaf finished at depth=1 (merge with last elm on stack and push back)
119
- // 3 (011) - last leaf not finished
120
- // 4 (100) - leafs finished at depth=1 and depth=2
121
- for (let last, chunks = this.chunksDone + 1; isLast || !(chunks & 1); chunks >>= 1) {
122
- if (!(last = this.stack.pop()))
123
- break;
124
- this.buffer32.set(last, 0);
125
- this.buffer32.set(chunk, 8);
126
- this.pos = this.blockLen;
127
- this.b2Compress(0, this.flags | B3_Flags.PARENT, this.buffer32, 0);
128
- chunk = this.state;
129
- this.state = this.IV.slice();
130
- }
131
- this.chunksDone++;
132
- this.chunkPos = 0;
133
- this.stack.push(chunk);
134
- }
135
- this.pos = 0;
136
- }
137
- _cloneInto(to) {
138
- to = super._cloneInto(to);
139
- const { IV, flags, state, chunkPos, posOut, chunkOut, stack, chunksDone } = this;
140
- to.state.set(state.slice());
141
- to.stack = stack.map((i) => Uint32Array.from(i));
142
- to.IV.set(IV);
143
- to.flags = flags;
144
- to.chunkPos = chunkPos;
145
- to.chunksDone = chunksDone;
146
- to.posOut = posOut;
147
- to.chunkOut = chunkOut;
148
- to.enableXOF = this.enableXOF;
149
- to.bufferOut32.set(this.bufferOut32);
150
- return to;
151
- }
152
- destroy() {
153
- this.destroyed = true;
154
- (0, utils_ts_1.clean)(this.state, this.buffer32, this.IV, this.bufferOut32);
155
- (0, utils_ts_1.clean)(...this.stack);
156
- }
157
- // Same as b2Compress, but doesn't modify state and returns 16 u32 array (instead of 8)
158
- b2CompressOut() {
159
- const { state: s, pos, flags, buffer32, bufferOut32: out32 } = this;
160
- const { h, l } = (0, _u64_ts_1.fromBig)(BigInt(this.chunkOut++));
161
- (0, utils_ts_1.swap32IfBE)(buffer32);
162
- // prettier-ignore
163
- const { v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15 } = (0, blake2_ts_1.compress)(B3_SIGMA, 0, buffer32, 7, s[0], s[1], s[2], s[3], s[4], s[5], s[6], s[7], B3_IV[0], B3_IV[1], B3_IV[2], B3_IV[3], l, h, pos, flags);
164
- out32[0] = v0 ^ v8;
165
- out32[1] = v1 ^ v9;
166
- out32[2] = v2 ^ v10;
167
- out32[3] = v3 ^ v11;
168
- out32[4] = v4 ^ v12;
169
- out32[5] = v5 ^ v13;
170
- out32[6] = v6 ^ v14;
171
- out32[7] = v7 ^ v15;
172
- out32[8] = s[0] ^ v8;
173
- out32[9] = s[1] ^ v9;
174
- out32[10] = s[2] ^ v10;
175
- out32[11] = s[3] ^ v11;
176
- out32[12] = s[4] ^ v12;
177
- out32[13] = s[5] ^ v13;
178
- out32[14] = s[6] ^ v14;
179
- out32[15] = s[7] ^ v15;
180
- (0, utils_ts_1.swap32IfBE)(buffer32);
181
- (0, utils_ts_1.swap32IfBE)(out32);
182
- this.posOut = 0;
183
- }
184
- finish() {
185
- if (this.finished)
186
- return;
187
- this.finished = true;
188
- // Padding
189
- (0, utils_ts_1.clean)(this.buffer.subarray(this.pos));
190
- // Process last chunk
191
- let flags = this.flags | B3_Flags.ROOT;
192
- if (this.stack.length) {
193
- flags |= B3_Flags.PARENT;
194
- (0, utils_ts_1.swap32IfBE)(this.buffer32);
195
- this.compress(this.buffer32, 0, true);
196
- (0, utils_ts_1.swap32IfBE)(this.buffer32);
197
- this.chunksDone = 0;
198
- this.pos = this.blockLen;
199
- }
200
- else {
201
- flags |= (!this.chunkPos ? B3_Flags.CHUNK_START : 0) | B3_Flags.CHUNK_END;
202
- }
203
- this.flags = flags;
204
- this.b2CompressOut();
205
- }
206
- writeInto(out) {
207
- (0, utils_ts_1.aexists)(this, false);
208
- (0, utils_ts_1.abytes)(out);
209
- this.finish();
210
- const { blockLen, bufferOut } = this;
211
- for (let pos = 0, len = out.length; pos < len;) {
212
- if (this.posOut >= blockLen)
213
- this.b2CompressOut();
214
- const take = Math.min(blockLen - this.posOut, len - pos);
215
- out.set(bufferOut.subarray(this.posOut, this.posOut + take), pos);
216
- this.posOut += take;
217
- pos += take;
218
- }
219
- return out;
220
- }
221
- xofInto(out) {
222
- if (!this.enableXOF)
223
- throw new Error('XOF is not possible after digest call');
224
- return this.writeInto(out);
225
- }
226
- xof(bytes) {
227
- (0, utils_ts_1.anumber)(bytes);
228
- return this.xofInto(new Uint8Array(bytes));
229
- }
230
- digestInto(out) {
231
- (0, utils_ts_1.aoutput)(out, this);
232
- if (this.finished)
233
- throw new Error('digest() was already called');
234
- this.enableXOF = false;
235
- this.writeInto(out);
236
- this.destroy();
237
- return out;
238
- }
239
- digest() {
240
- return this.digestInto(new Uint8Array(this.outputLen));
241
- }
242
- }
243
- exports.BLAKE3 = BLAKE3;
244
- /**
245
- * BLAKE3 hash function. Can be used as MAC and KDF.
246
- * @param msg - message that would be hashed
247
- * @param opts - `dkLen` for output length, `key` for MAC mode, `context` for KDF mode
248
- * @example
249
- * const data = new Uint8Array(32);
250
- * const hash = blake3(data);
251
- * const mac = blake3(data, { key: new Uint8Array(32) });
252
- * const kdf = blake3(data, { context: 'application name' });
253
- */
254
- exports.blake3 = (0, utils_ts_1.createXOFer)((opts) => new BLAKE3(opts));
255
- //# sourceMappingURL=blake3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blake3.js","sourceRoot":"","sources":["src/blake3.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;GAYG;AACH,qCAAqC;AACrC,uCAAoC;AACpC,2CAA+C;AAC/C,kBAAkB;AAClB,yCAIoB;AAEpB,cAAc;AACd,MAAM,QAAQ,GAAG;IACf,WAAW,EAAE,GAAG;IAChB,SAAS,EAAE,IAAI;IACf,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,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":3,"file":"crypto.d.ts","sourceRoot":"","sources":["src/crypto.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,MAAM,EAAE,GACqE,CAAC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.crypto = void 0;
4
- exports.crypto = typeof globalThis === 'object' && 'crypto' in globalThis ? globalThis.crypto : undefined;
5
- //# sourceMappingURL=crypto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crypto.js","sourceRoot":"","sources":["src/crypto.ts"],"names":[],"mappings":";;;AAOa,QAAA,MAAM,GACjB,OAAO,UAAU,KAAK,QAAQ,IAAI,QAAQ,IAAI,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const crypto: any;
2
- //# sourceMappingURL=cryptoNode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cryptoNode.d.ts","sourceRoot":"","sources":["src/cryptoNode.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,MAAM,EAAE,GAKJ,CAAC"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.crypto = void 0;
4
- /**
5
- * Internal webcrypto alias.
6
- * We prefer WebCrypto aka globalThis.crypto, which exists in node.js 16+.
7
- * Falls back to Node.js built-in crypto for Node.js <=v14.
8
- * See utils.ts for details.
9
- * @module
10
- */
11
- // @ts-ignore
12
- const nc = require("node:crypto");
13
- exports.crypto = nc && typeof nc === 'object' && 'webcrypto' in nc
14
- ? nc.webcrypto
15
- : nc && typeof nc === 'object' && 'randomBytes' in nc
16
- ? nc
17
- : undefined;
18
- //# sourceMappingURL=cryptoNode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cryptoNode.js","sourceRoot":"","sources":["src/cryptoNode.ts"],"names":[],"mappings":";;;AAAA;;;;;;GAMG;AACH,aAAa;AACb,kCAAkC;AACrB,QAAA,MAAM,GACjB,EAAE,IAAI,OAAO,EAAE,KAAK,QAAQ,IAAI,WAAW,IAAI,EAAE;IAC/C,CAAC,CAAE,EAAE,CAAC,SAAiB;IACvB,CAAC,CAAC,EAAE,IAAI,OAAO,EAAE,KAAK,QAAQ,IAAI,aAAa,IAAI,EAAE;QACnD,CAAC,CAAC,EAAE;QACJ,CAAC,CAAC,SAAS,CAAC"}
@@ -1,47 +0,0 @@
1
- export declare function scrypt(password: string, salt: string): Uint8Array;
2
- export declare function pbkdf2(password: string, salt: string): Uint8Array;
3
- /**
4
- * Derives main seed. Takes a lot of time. Prefer `eskdf` method instead.
5
- */
6
- export declare function deriveMainSeed(username: string, password: string): Uint8Array;
7
- type AccountID = number | string;
8
- type OptsLength = {
9
- keyLength: number;
10
- };
11
- type OptsMod = {
12
- modulus: bigint;
13
- };
14
- type KeyOpts = undefined | OptsLength | OptsMod;
15
- export interface ESKDF {
16
- /**
17
- * Derives a child key. Child key will not be associated with any
18
- * other child key because of properties of underlying KDF.
19
- *
20
- * @param protocol - 3-15 character protocol name
21
- * @param accountId - numeric identifier of account
22
- * @param options - `keyLength: 64` or `modulus: 41920438n`
23
- * @example deriveChildKey('aes', 0)
24
- */
25
- deriveChildKey: (protocol: string, accountId: AccountID, options?: KeyOpts) => Uint8Array;
26
- /**
27
- * Deletes the main seed from eskdf instance
28
- */
29
- expire: () => void;
30
- /**
31
- * Account fingerprint
32
- */
33
- fingerprint: string;
34
- }
35
- /**
36
- * ESKDF
37
- * @param username - username, email, or identifier, min: 8 characters, should have enough entropy
38
- * @param password - password, min: 8 characters, should have enough entropy
39
- * @example
40
- * const kdf = await eskdf('example-university', 'beginning-new-example');
41
- * const key = kdf.deriveChildKey('aes', 0);
42
- * console.log(kdf.fingerprint);
43
- * kdf.expire();
44
- */
45
- export declare function eskdf(username: string, password: string): Promise<ESKDF>;
46
- export {};
47
- //# sourceMappingURL=eskdf.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eskdf.d.ts","sourceRoot":"","sources":["src/eskdf.ts"],"names":[],"mappings":"AAiBA,wBAAgB,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,UAAU,CAEjE;AAGD,wBAAgB,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,UAAU,CAEjE;AAiBD;;GAEG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,UAAU,CAY7E;AAED,KAAK,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAgCjC,KAAK,UAAU,GAAG;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AACxC,KAAK,OAAO,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AACnC,KAAK,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC;AAwChD,MAAM,WAAW,KAAK;IACpB;;;;;;;;OAQG;IACH,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,UAAU,CAAC;IAC1F;;OAEG;IACH,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;;GASG;AACH,wBAAsB,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAuB9E"}
@@ -1,166 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.scrypt = scrypt;
4
- exports.pbkdf2 = pbkdf2;
5
- exports.deriveMainSeed = deriveMainSeed;
6
- exports.eskdf = eskdf;
7
- /**
8
- * Experimental KDF for AES.
9
- */
10
- const hkdf_ts_1 = require("./hkdf.js");
11
- const pbkdf2_ts_1 = require("./pbkdf2.js");
12
- const scrypt_ts_1 = require("./scrypt.js");
13
- const sha256_ts_1 = require("./sha256.js");
14
- const utils_ts_1 = require("./utils.js");
15
- // A tiny KDF for various applications like AES key-gen.
16
- // Uses HKDF in a non-standard way, so it's not "KDF-secure", only "PRF-secure".
17
- // Which is good enough: assume sha2-256 retained preimage resistance.
18
- const SCRYPT_FACTOR = 2 ** 19;
19
- const PBKDF2_FACTOR = 2 ** 17;
20
- // Scrypt KDF
21
- function scrypt(password, salt) {
22
- return (0, scrypt_ts_1.scrypt)(password, salt, { N: SCRYPT_FACTOR, r: 8, p: 1, dkLen: 32 });
23
- }
24
- // PBKDF2-HMAC-SHA256
25
- function pbkdf2(password, salt) {
26
- return (0, pbkdf2_ts_1.pbkdf2)(sha256_ts_1.sha256, password, salt, { c: PBKDF2_FACTOR, dkLen: 32 });
27
- }
28
- // Combines two 32-byte byte arrays
29
- function xor32(a, b) {
30
- (0, utils_ts_1.abytes)(a, 32);
31
- (0, utils_ts_1.abytes)(b, 32);
32
- const arr = new Uint8Array(32);
33
- for (let i = 0; i < 32; i++) {
34
- arr[i] = a[i] ^ b[i];
35
- }
36
- return arr;
37
- }
38
- function strHasLength(str, min, max) {
39
- return typeof str === 'string' && str.length >= min && str.length <= max;
40
- }
41
- /**
42
- * Derives main seed. Takes a lot of time. Prefer `eskdf` method instead.
43
- */
44
- function deriveMainSeed(username, password) {
45
- if (!strHasLength(username, 8, 255))
46
- throw new Error('invalid username');
47
- if (!strHasLength(password, 8, 255))
48
- throw new Error('invalid password');
49
- // Declared like this to throw off minifiers which auto-convert .fromCharCode(1) to actual string.
50
- // String with non-ascii may be problematic in some envs
51
- const codes = { _1: 1, _2: 2 };
52
- const sep = { s: String.fromCharCode(codes._1), p: String.fromCharCode(codes._2) };
53
- const scr = scrypt(password + sep.s, username + sep.s);
54
- const pbk = pbkdf2(password + sep.p, username + sep.p);
55
- const res = xor32(scr, pbk);
56
- (0, utils_ts_1.clean)(scr, pbk);
57
- return res;
58
- }
59
- /**
60
- * Converts protocol & accountId pair to HKDF salt & info params.
61
- */
62
- function getSaltInfo(protocol, accountId = 0) {
63
- // Note that length here also repeats two lines below
64
- // We do an additional length check here to reduce the scope of DoS attacks
65
- if (!(strHasLength(protocol, 3, 15) && /^[a-z0-9]{3,15}$/.test(protocol))) {
66
- throw new Error('invalid protocol');
67
- }
68
- // Allow string account ids for some protocols
69
- const allowsStr = /^password\d{0,3}|ssh|tor|file$/.test(protocol);
70
- let salt; // Extract salt. Default is undefined.
71
- if (typeof accountId === 'string') {
72
- if (!allowsStr)
73
- throw new Error('accountId must be a number');
74
- if (!strHasLength(accountId, 1, 255))
75
- throw new Error('accountId must be string of length 1..255');
76
- salt = (0, utils_ts_1.kdfInputToBytes)(accountId);
77
- }
78
- else if (Number.isSafeInteger(accountId)) {
79
- if (accountId < 0 || accountId > Math.pow(2, 32) - 1)
80
- throw new Error('invalid accountId');
81
- // Convert to Big Endian Uint32
82
- salt = new Uint8Array(4);
83
- (0, utils_ts_1.createView)(salt).setUint32(0, accountId, false);
84
- }
85
- else {
86
- throw new Error('accountId must be a number' + (allowsStr ? ' or string' : ''));
87
- }
88
- const info = (0, utils_ts_1.kdfInputToBytes)(protocol);
89
- return { salt, info };
90
- }
91
- function countBytes(num) {
92
- if (typeof num !== 'bigint' || num <= BigInt(128))
93
- throw new Error('invalid number');
94
- return Math.ceil(num.toString(2).length / 8);
95
- }
96
- /**
97
- * Parses keyLength and modulus options to extract length of result key.
98
- * If modulus is used, adds 64 bits to it as per FIPS 186 B.4.1 to combat modulo bias.
99
- */
100
- function getKeyLength(options) {
101
- if (!options || typeof options !== 'object')
102
- return 32;
103
- const hasLen = 'keyLength' in options;
104
- const hasMod = 'modulus' in options;
105
- if (hasLen && hasMod)
106
- throw new Error('cannot combine keyLength and modulus options');
107
- if (!hasLen && !hasMod)
108
- throw new Error('must have either keyLength or modulus option');
109
- // FIPS 186 B.4.1 requires at least 64 more bits
110
- const l = hasMod ? countBytes(options.modulus) + 8 : options.keyLength;
111
- if (!(typeof l === 'number' && l >= 16 && l <= 8192))
112
- throw new Error('invalid keyLength');
113
- return l;
114
- }
115
- /**
116
- * Converts key to bigint and divides it by modulus. Big Endian.
117
- * Implements FIPS 186 B.4.1, which removes 0 and modulo bias from output.
118
- */
119
- function modReduceKey(key, modulus) {
120
- const _1 = BigInt(1);
121
- const num = BigInt('0x' + (0, utils_ts_1.bytesToHex)(key)); // check for ui8a, then bytesToNumber()
122
- const res = (num % (modulus - _1)) + _1; // Remove 0 from output
123
- if (res < _1)
124
- throw new Error('expected positive number'); // Guard against bad values
125
- const len = key.length - 8; // FIPS requires 64 more bits = 8 bytes
126
- const hex = res.toString(16).padStart(len * 2, '0'); // numberToHex()
127
- const bytes = (0, utils_ts_1.hexToBytes)(hex);
128
- if (bytes.length !== len)
129
- throw new Error('invalid length of result key');
130
- return bytes;
131
- }
132
- /**
133
- * ESKDF
134
- * @param username - username, email, or identifier, min: 8 characters, should have enough entropy
135
- * @param password - password, min: 8 characters, should have enough entropy
136
- * @example
137
- * const kdf = await eskdf('example-university', 'beginning-new-example');
138
- * const key = kdf.deriveChildKey('aes', 0);
139
- * console.log(kdf.fingerprint);
140
- * kdf.expire();
141
- */
142
- async function eskdf(username, password) {
143
- // We are using closure + object instead of class because
144
- // we want to make `seed` non-accessible for any external function.
145
- let seed = deriveMainSeed(username, password);
146
- function deriveCK(protocol, accountId = 0, options) {
147
- (0, utils_ts_1.abytes)(seed, 32);
148
- const { salt, info } = getSaltInfo(protocol, accountId); // validate protocol & accountId
149
- const keyLength = getKeyLength(options); // validate options
150
- const key = (0, hkdf_ts_1.hkdf)(sha256_ts_1.sha256, seed, salt, info, keyLength);
151
- // Modulus has already been validated
152
- return options && 'modulus' in options ? modReduceKey(key, options.modulus) : key;
153
- }
154
- function expire() {
155
- if (seed)
156
- seed.fill(1);
157
- seed = undefined;
158
- }
159
- // prettier-ignore
160
- const fingerprint = Array.from(deriveCK('fingerprint', 0))
161
- .slice(0, 6)
162
- .map((char) => char.toString(16).padStart(2, '0').toUpperCase())
163
- .join(':');
164
- return Object.freeze({ deriveChildKey: deriveCK, expire, fingerprint });
165
- }
166
- //# sourceMappingURL=eskdf.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eskdf.js","sourceRoot":"","sources":["src/eskdf.ts"],"names":[],"mappings":";;AAiBA,wBAEC;AAGD,wBAEC;AAoBD,wCAYC;AA2GD,sBAuBC;AA1LD;;GAEG;AACH,uCAAiC;AACjC,2CAAgD;AAChD,2CAAgD;AAChD,2CAAqC;AACrC,yCAAgG;AAEhG,wDAAwD;AACxD,gFAAgF;AAChF,sEAAsE;AAEtE,MAAM,aAAa,GAAG,CAAC,IAAI,EAAE,CAAC;AAC9B,MAAM,aAAa,GAAG,CAAC,IAAI,EAAE,CAAC;AAE9B,aAAa;AACb,SAAgB,MAAM,CAAC,QAAgB,EAAE,IAAY;IACnD,OAAO,IAAA,kBAAO,EAAC,QAAQ,EAAE,IAAI,EAAE,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9E,CAAC;AAED,qBAAqB;AACrB,SAAgB,MAAM,CAAC,QAAgB,EAAE,IAAY;IACnD,OAAO,IAAA,kBAAO,EAAC,kBAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1E,CAAC;AAED,mCAAmC;AACnC,SAAS,KAAK,CAAC,CAAa,EAAE,CAAa;IACzC,IAAA,iBAAM,EAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,IAAA,iBAAM,EAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,MAAM,GAAG,GAAG,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC;IAC/B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,E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AAC,CAAC,gCAAgC;QACzF,MAAM,SAAS,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,mBAAmB;QAC5D,MAAM,GAAG,GAAG,IAAA,cAAI,EAAC,kBAAM,EAAE,IAAK,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;QACvD,qCAAqC;QACrC,OAAO,OAAO,IAAI,SAAS,IAAI,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;IACpF,CAAC;IACD,SAAS,MAAM;QACb,IAAI,IAAI;YAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACvB,IAAI,GAAG,SAAS,CAAC;IACnB,CAAC;IACD,kBAAkB;IAClB,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;SACvD,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;SACX,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC;SAC/D,IAAI,CAAC,GAAG,CAAC,CAAC;IACb,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;AAC1E,CAAC"}
@@ -1,17 +0,0 @@
1
- /**
2
- * Internal assertion helpers.
3
- * @module
4
- * @deprecated
5
- */
6
- import { abytes as ab, aexists as ae, anumber as an, aoutput as ao, type IHash as H } from './utils.ts';
7
- /** @deprecated Use import from `noble/hashes/utils` module */
8
- export declare const abytes: typeof ab;
9
- /** @deprecated Use import from `noble/hashes/utils` module */
10
- export declare const aexists: typeof ae;
11
- /** @deprecated Use import from `noble/hashes/utils` module */
12
- export declare const anumber: typeof an;
13
- /** @deprecated Use import from `noble/hashes/utils` module */
14
- export declare const aoutput: typeof ao;
15
- /** @deprecated Use import from `noble/hashes/utils` module */
16
- export type Hash = H;
17
- //# sourceMappingURL=_assert.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_assert.d.ts","sourceRoot":"","sources":["../src/_assert.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,MAAM,IAAI,EAAE,EACZ,OAAO,IAAI,EAAE,EACb,OAAO,IAAI,EAAE,EACb,OAAO,IAAI,EAAE,EACb,KAAK,KAAK,IAAI,CAAC,EAChB,MAAM,YAAY,CAAC;AACpB,8DAA8D;AAC9D,eAAO,MAAM,MAAM,EAAE,OAAO,EAAO,CAAC;AACpC,8DAA8D;AAC9D,eAAO,MAAM,OAAO,EAAE,OAAO,EAAO,CAAC;AACrC,8DAA8D;AAC9D,eAAO,MAAM,OAAO,EAAE,OAAO,EAAO,CAAC;AACrC,8DAA8D;AAC9D,eAAO,MAAM,OAAO,EAAE,OAAO,EAAO,CAAC;AACrC,8DAA8D;AAC9D,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC"}
@@ -1,15 +0,0 @@
1
- /**
2
- * Internal assertion helpers.
3
- * @module
4
- * @deprecated
5
- */
6
- import { abytes as ab, aexists as ae, anumber as an, aoutput as ao, } from "./utils.js";
7
- /** @deprecated Use import from `noble/hashes/utils` module */
8
- export const abytes = ab;
9
- /** @deprecated Use import from `noble/hashes/utils` module */
10
- export const aexists = ae;
11
- /** @deprecated Use import from `noble/hashes/utils` module */
12
- export const anumber = an;
13
- /** @deprecated Use import from `noble/hashes/utils` module */
14
- export const aoutput = ao;
15
- //# sourceMappingURL=_assert.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_assert.js","sourceRoot":"","sources":["../src/_assert.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,MAAM,IAAI,EAAE,EACZ,OAAO,IAAI,EAAE,EACb,OAAO,IAAI,EAAE,EACb,OAAO,IAAI,EAAE,GAEd,MAAM,YAAY,CAAC;AACpB,8DAA8D;AAC9D,MAAM,CAAC,MAAM,MAAM,GAAc,EAAE,CAAC;AACpC,8DAA8D;AAC9D,MAAM,CAAC,MAAM,OAAO,GAAc,EAAE,CAAC;AACrC,8DAA8D;AAC9D,MAAM,CAAC,MAAM,OAAO,GAAc,EAAE,CAAC;AACrC,8DAA8D;AAC9D,MAAM,CAAC,MAAM,OAAO,GAAc,EAAE,CAAC"}
@@ -1,14 +0,0 @@
1
- /**
2
- * Internal blake variable.
3
- * For BLAKE2b, the two extra permutations for rounds 10 and 11 are SIGMA[10..11] = SIGMA[0..1].
4
- */
5
- export declare const BSIGMA: Uint8Array;
6
- export type Num4 = {
7
- a: number;
8
- b: number;
9
- c: number;
10
- d: number;
11
- };
12
- export declare function G1s(a: number, b: number, c: number, d: number, x: number): Num4;
13
- export declare function G2s(a: number, b: number, c: number, d: number, x: number): Num4;
14
- //# sourceMappingURL=_blake.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_blake.d.ts","sourceRoot":"","sources":["../src/_blake.ts"],"names":[],"mappings":"AAMA;;;GAGG;AAEH,eAAO,MAAM,MAAM,EAAE,UAkBnB,CAAC;AAGH,MAAM,MAAM,IAAI,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;CAAE,CAAC;AAGnE,wBAAgB,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAM/E;AAED,wBAAgB,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAM/E"}