antigravity-mobile-proxy 0.1.1 → 0.1.3

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 (600) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/build-manifest.json +2 -2
  3. package/.next/standalone/.next/prerender-manifest.json +3 -3
  4. package/.next/standalone/.next/required-server-files.json +5 -2
  5. package/.next/standalone/.next/server/app/_global-error/page.js +1 -1
  6. package/.next/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
  7. package/.next/standalone/.next/server/app/_global-error.html +2 -2
  8. package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
  9. package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  10. package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  11. package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  12. package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  13. package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  14. package/.next/standalone/.next/server/app/_not-found/page.js +1 -1
  15. package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
  16. package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  17. package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/[filename]/route.js +2 -2
  18. package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/[filename]/route.js.nft.json +1 -1
  19. package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/route.js +2 -2
  20. package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/route.js.nft.json +1 -1
  21. package/.next/standalone/.next/server/app/api/v1/artifacts/active/[filename]/route.js +2 -2
  22. package/.next/standalone/.next/server/app/api/v1/artifacts/active/[filename]/route.js.nft.json +1 -1
  23. package/.next/standalone/.next/server/app/api/v1/artifacts/active/route.js +2 -2
  24. package/.next/standalone/.next/server/app/api/v1/artifacts/active/route.js.nft.json +1 -1
  25. package/.next/standalone/.next/server/app/api/v1/artifacts/route.js +2 -2
  26. package/.next/standalone/.next/server/app/api/v1/artifacts/route.js.nft.json +1 -1
  27. package/.next/standalone/.next/server/app/api/v1/chat/action/route.js +6 -2
  28. package/.next/standalone/.next/server/app/api/v1/chat/action/route.js.nft.json +1 -1
  29. package/.next/standalone/.next/server/app/api/v1/chat/approve/route.js +6 -2
  30. package/.next/standalone/.next/server/app/api/v1/chat/approve/route.js.nft.json +1 -1
  31. package/.next/standalone/.next/server/app/api/v1/chat/history/route.js +6 -2
  32. package/.next/standalone/.next/server/app/api/v1/chat/history/route.js.nft.json +1 -1
  33. package/.next/standalone/.next/server/app/api/v1/chat/mode/route.js +6 -2
  34. package/.next/standalone/.next/server/app/api/v1/chat/mode/route.js.nft.json +1 -1
  35. package/.next/standalone/.next/server/app/api/v1/chat/new/route.js +6 -2
  36. package/.next/standalone/.next/server/app/api/v1/chat/new/route.js.nft.json +1 -1
  37. package/.next/standalone/.next/server/app/api/v1/chat/reject/route.js +6 -2
  38. package/.next/standalone/.next/server/app/api/v1/chat/reject/route.js.nft.json +1 -1
  39. package/.next/standalone/.next/server/app/api/v1/chat/route.js +6 -2
  40. package/.next/standalone/.next/server/app/api/v1/chat/route.js.nft.json +1 -1
  41. package/.next/standalone/.next/server/app/api/v1/chat/state/route.js +6 -2
  42. package/.next/standalone/.next/server/app/api/v1/chat/state/route.js.nft.json +1 -1
  43. package/.next/standalone/.next/server/app/api/v1/chat/stream/route.js +6 -3
  44. package/.next/standalone/.next/server/app/api/v1/chat/stream/route.js.nft.json +1 -1
  45. package/.next/standalone/.next/server/app/api/v1/conversations/active/route.js +2 -2
  46. package/.next/standalone/.next/server/app/api/v1/conversations/active/route.js.nft.json +1 -1
  47. package/.next/standalone/.next/server/app/api/v1/conversations/route.js +6 -3
  48. package/.next/standalone/.next/server/app/api/v1/conversations/route.js.nft.json +1 -1
  49. package/.next/standalone/.next/server/app/api/v1/conversations/select/route.js +6 -2
  50. package/.next/standalone/.next/server/app/api/v1/conversations/select/route.js.nft.json +1 -1
  51. package/.next/standalone/.next/server/app/api/v1/debug/dom/route.js +6 -2
  52. package/.next/standalone/.next/server/app/api/v1/debug/dom/route.js.nft.json +1 -1
  53. package/.next/standalone/.next/server/app/api/v1/debug/scrape/route.js +6 -2
  54. package/.next/standalone/.next/server/app/api/v1/debug/scrape/route.js.nft.json +1 -1
  55. package/.next/standalone/.next/server/app/api/v1/health/route.js +6 -2
  56. package/.next/standalone/.next/server/app/api/v1/health/route.js.nft.json +1 -1
  57. package/.next/standalone/.next/server/app/api/v1/windows/cdp-start/route.js +2 -2
  58. package/.next/standalone/.next/server/app/api/v1/windows/cdp-start/route.js.nft.json +1 -1
  59. package/.next/standalone/.next/server/app/api/v1/windows/cdp-status/route.js +2 -2
  60. package/.next/standalone/.next/server/app/api/v1/windows/cdp-status/route.js.nft.json +1 -1
  61. package/.next/standalone/.next/server/app/api/v1/windows/close/route.js +6 -2
  62. package/.next/standalone/.next/server/app/api/v1/windows/close/route.js.nft.json +1 -1
  63. package/.next/standalone/.next/server/app/api/v1/windows/open/route.js +6 -2
  64. package/.next/standalone/.next/server/app/api/v1/windows/open/route.js.nft.json +1 -1
  65. package/.next/standalone/.next/server/app/api/v1/windows/recent/route.js +2 -2
  66. package/.next/standalone/.next/server/app/api/v1/windows/recent/route.js.nft.json +1 -1
  67. package/.next/standalone/.next/server/app/api/v1/windows/route.js +6 -2
  68. package/.next/standalone/.next/server/app/api/v1/windows/route.js.nft.json +1 -1
  69. package/.next/standalone/.next/server/app/api/v1/windows/select/route.js +6 -2
  70. package/.next/standalone/.next/server/app/api/v1/windows/select/route.js.nft.json +1 -1
  71. package/.next/standalone/.next/server/app/debug/page.js +1 -1
  72. package/.next/standalone/.next/server/app/debug/page.js.nft.json +1 -1
  73. package/.next/standalone/.next/server/app/debug/page_client-reference-manifest.js +1 -1
  74. package/.next/standalone/.next/server/app/favicon.ico/route.js +1 -1
  75. package/.next/standalone/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  76. package/.next/standalone/.next/server/app/page.js +1 -1
  77. package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
  78. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  79. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0d31b133._.js +3 -0
  80. package/.next/standalone/.next/server/chunks/[root-of-the-server]__133ac672._.js +3 -0
  81. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1535be2d._.js +3 -0
  82. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1ee7d416._.js +3 -0
  83. package/.next/standalone/.next/server/chunks/[root-of-the-server]__22df301c._.js +3 -0
  84. package/.next/standalone/.next/server/chunks/[root-of-the-server]__25f5f8ec._.js +3 -0
  85. package/.next/standalone/.next/server/chunks/[root-of-the-server]__26662154._.js +3 -0
  86. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__2ec5ba30._.js → [root-of-the-server]__3fe6d12c._.js} +2 -2
  87. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4b17d628._.js +3 -0
  88. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4c540a38._.js +3 -0
  89. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__8d2624da._.js → [root-of-the-server]__4d161104._.js} +2 -2
  90. package/.next/standalone/.next/server/chunks/[root-of-the-server]__53c4f34d._.js +3 -0
  91. package/.next/standalone/.next/server/chunks/[root-of-the-server]__68965284._.js +3 -0
  92. package/.next/standalone/.next/server/chunks/[root-of-the-server]__8cb67283._.js +5 -0
  93. package/.next/standalone/.next/server/chunks/[root-of-the-server]__8f5ebbc3._.js +7 -0
  94. package/.next/standalone/.next/server/chunks/[root-of-the-server]__8f8bd59f._.js +20 -0
  95. package/.next/standalone/.next/server/chunks/[root-of-the-server]__9166d84a._.js +3 -0
  96. package/.next/standalone/.next/server/chunks/[root-of-the-server]__94275f7f._.js +3 -0
  97. package/.next/standalone/.next/server/chunks/[root-of-the-server]__c34d50c8._.js +3 -0
  98. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__8fdd2340._.js → [root-of-the-server]__c696771d._.js} +2 -2
  99. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0bd52b41._.js → [root-of-the-server]__cd7ccfdd._.js} +2 -2
  100. package/.next/standalone/.next/server/chunks/[root-of-the-server]__d5818e20._.js +3 -0
  101. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__360475ac._.js → [root-of-the-server]__db7b3604._.js} +2 -2
  102. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__eeb89c13._.js → [root-of-the-server]__dc1db6cb._.js} +2 -2
  103. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__4effd91a._.js → [root-of-the-server]__e9181374._.js} +2 -2
  104. package/.next/standalone/.next/server/chunks/[root-of-the-server]__eb9ef4db._.js +3 -0
  105. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__4448d3d4._.js → [root-of-the-server]__ec32b318._.js} +2 -2
  106. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__7f18ffd0._.js → [root-of-the-server]__f54bea3d._.js} +2 -2
  107. package/.next/standalone/.next/server/chunks/[root-of-the-server]__fabd57e0._.js +3 -0
  108. package/.next/standalone/.next/server/chunks/[root-of-the-server]__fd0215df._.js +3 -0
  109. package/.next/standalone/.next/server/chunks/lib_cdp_connection_ts_075c799e._.js +41 -0
  110. package/.next/standalone/.next/server/chunks/node_modules_151ca6ae._.js +3 -0
  111. package/.next/standalone/.next/server/chunks/node_modules_1f8a2929._.js +3 -0
  112. package/.next/standalone/.next/server/chunks/node_modules_2d9a2f12._.js +4 -0
  113. package/.next/standalone/.next/server/chunks/node_modules_3b486fee._.js +3 -0
  114. package/.next/standalone/.next/server/chunks/node_modules_64199bef._.js +3 -0
  115. package/.next/standalone/.next/server/chunks/node_modules_@puppeteer_browsers_lib_esm_main_83020de3.js +3 -0
  116. package/.next/standalone/.next/server/chunks/node_modules_f81d3958._.js +3 -0
  117. package/.next/standalone/.next/server/chunks/node_modules_next_1402a1da._.js +2 -2
  118. package/.next/standalone/.next/server/chunks/node_modules_yargs_helpers_helpers_mjs_abe15519._.js +3 -0
  119. package/.next/standalone/.next/server/chunks/node_modules_yargs_index_mjs_c4f6f97b._.js +56 -0
  120. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__703e5e24._.js +3 -0
  121. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__edab6069._.js +3 -0
  122. package/.next/standalone/.next/server/chunks/ssr/node_modules_63dba3f8._.js +1 -1
  123. package/.next/standalone/.next/server/pages/500.html +2 -2
  124. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  125. package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
  126. package/.next/standalone/app/globals.css +20 -14
  127. package/.next/standalone/next.config.js +19 -0
  128. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +46 -0
  129. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +221 -0
  130. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +1 -0
  131. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  132. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +42 -0
  133. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +30 -0
  134. package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
  135. package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +46 -0
  136. package/.next/standalone/node_modules/next/dist/build/generate-build-id.js +5 -1
  137. package/.next/standalone/package-lock.json +140 -129
  138. package/.next/standalone/package.json +4 -3
  139. package/.next/standalone/scripts/patch-next.js +69 -0
  140. package/.next/standalone/server.js +1 -1
  141. package/.next/standalone/tsconfig.json +14 -4
  142. package/.next/static/chunks/54866979a976deea.css +1 -0
  143. package/package.json +4 -3
  144. package/.next/standalone/.next/server/chunks/[root-of-the-server]__08f06ee9._.js +0 -3
  145. package/.next/standalone/.next/server/chunks/[root-of-the-server]__15c96786._.js +0 -3
  146. package/.next/standalone/.next/server/chunks/[root-of-the-server]__19ee93c1._.js +0 -3
  147. package/.next/standalone/.next/server/chunks/[root-of-the-server]__324dc867._.js +0 -3
  148. package/.next/standalone/.next/server/chunks/[root-of-the-server]__38025e07._.js +0 -3
  149. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4a837477._.js +0 -3
  150. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4f9fdc77._.js +0 -3
  151. package/.next/standalone/.next/server/chunks/[root-of-the-server]__556e6cd5._.js +0 -3
  152. package/.next/standalone/.next/server/chunks/[root-of-the-server]__6479a312._.js +0 -3
  153. package/.next/standalone/.next/server/chunks/[root-of-the-server]__693625a1._.js +0 -3
  154. package/.next/standalone/.next/server/chunks/[root-of-the-server]__6ec98c1f._.js +0 -3
  155. package/.next/standalone/.next/server/chunks/[root-of-the-server]__7f696ede._.js +0 -3
  156. package/.next/standalone/.next/server/chunks/[root-of-the-server]__8aa4aa02._.js +0 -3
  157. package/.next/standalone/.next/server/chunks/[root-of-the-server]__9d217c47._.js +0 -7
  158. package/.next/standalone/.next/server/chunks/[root-of-the-server]__9e54cdc1._.js +0 -3
  159. package/.next/standalone/.next/server/chunks/[root-of-the-server]__a73e4e4f._.js +0 -3
  160. package/.next/standalone/.next/server/chunks/[root-of-the-server]__cd1b9505._.js +0 -3
  161. package/.next/standalone/.next/server/chunks/[root-of-the-server]__d850c12e._.js +0 -3
  162. package/.next/standalone/.next/server/chunks/[root-of-the-server]__ef121746._.js +0 -3
  163. package/.next/standalone/.next/server/chunks/_7273dcfc._.js +0 -3
  164. package/.next/standalone/.next/server/chunks/_8dd0f398._.js +0 -5
  165. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4fe85c38._.js +0 -3
  166. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__85930638._.js +0 -3
  167. package/.next/standalone/next.config.ts +0 -10
  168. package/.next/standalone/node_modules/@puppeteer/browsers/package.json +0 -125
  169. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js +0 -53
  170. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js +0 -58
  171. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/context.js +0 -691
  172. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js +0 -6
  173. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js +0 -96
  174. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js +0 -58
  175. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js +0 -19
  176. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js +0 -387
  177. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js +0 -71
  178. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/index.js +0 -128
  179. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js +0 -227
  180. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js +0 -41
  181. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js +0 -97
  182. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js +0 -77
  183. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module.js +0 -302
  184. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js +0 -49
  185. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js +0 -300
  186. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js +0 -38
  187. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/types.js +0 -58
  188. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js +0 -169
  189. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js +0 -12
  190. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/package.json +0 -60
  191. package/.next/standalone/node_modules/agent-base/dist/helpers.js +0 -66
  192. package/.next/standalone/node_modules/agent-base/dist/index.js +0 -178
  193. package/.next/standalone/node_modules/agent-base/package.json +0 -46
  194. package/.next/standalone/node_modules/ast-types/def/babel-core.js +0 -256
  195. package/.next/standalone/node_modules/ast-types/def/babel.js +0 -11
  196. package/.next/standalone/node_modules/ast-types/def/core.js +0 -298
  197. package/.next/standalone/node_modules/ast-types/def/es-proposals.js +0 -33
  198. package/.next/standalone/node_modules/ast-types/def/es2020.js +0 -16
  199. package/.next/standalone/node_modules/ast-types/def/es6.js +0 -210
  200. package/.next/standalone/node_modules/ast-types/def/es7.js +0 -34
  201. package/.next/standalone/node_modules/ast-types/def/esprima.js +0 -49
  202. package/.next/standalone/node_modules/ast-types/def/flow.js +0 -292
  203. package/.next/standalone/node_modules/ast-types/def/jsx.js +0 -103
  204. package/.next/standalone/node_modules/ast-types/def/type-annotations.js +0 -40
  205. package/.next/standalone/node_modules/ast-types/def/typescript.js +0 -344
  206. package/.next/standalone/node_modules/ast-types/fork.js +0 -52
  207. package/.next/standalone/node_modules/ast-types/gen/namedTypes.js +0 -6
  208. package/.next/standalone/node_modules/ast-types/lib/equiv.js +0 -154
  209. package/.next/standalone/node_modules/ast-types/lib/node-path.js +0 -411
  210. package/.next/standalone/node_modules/ast-types/lib/path-visitor.js +0 -343
  211. package/.next/standalone/node_modules/ast-types/lib/path.js +0 -331
  212. package/.next/standalone/node_modules/ast-types/lib/scope.js +0 -318
  213. package/.next/standalone/node_modules/ast-types/lib/shared.js +0 -47
  214. package/.next/standalone/node_modules/ast-types/lib/types.js +0 -780
  215. package/.next/standalone/node_modules/ast-types/main.js +0 -53
  216. package/.next/standalone/node_modules/ast-types/package.json +0 -65
  217. package/.next/standalone/node_modules/b4a/index.js +0 -188
  218. package/.next/standalone/node_modules/b4a/package.json +0 -49
  219. package/.next/standalone/node_modules/basic-ftp/dist/Client.js +0 -782
  220. package/.next/standalone/node_modules/basic-ftp/dist/FileInfo.js +0 -92
  221. package/.next/standalone/node_modules/basic-ftp/dist/FtpContext.js +0 -365
  222. package/.next/standalone/node_modules/basic-ftp/dist/ProgressTracker.js +0 -72
  223. package/.next/standalone/node_modules/basic-ftp/dist/StringEncoding.js +0 -2
  224. package/.next/standalone/node_modules/basic-ftp/dist/StringWriter.js +0 -23
  225. package/.next/standalone/node_modules/basic-ftp/dist/index.js +0 -28
  226. package/.next/standalone/node_modules/basic-ftp/dist/netUtils.js +0 -66
  227. package/.next/standalone/node_modules/basic-ftp/dist/parseControlResponse.js +0 -66
  228. package/.next/standalone/node_modules/basic-ftp/dist/parseList.js +0 -79
  229. package/.next/standalone/node_modules/basic-ftp/dist/parseListDOS.js +0 -52
  230. package/.next/standalone/node_modules/basic-ftp/dist/parseListMLSD.js +0 -187
  231. package/.next/standalone/node_modules/basic-ftp/dist/parseListUnix.js +0 -155
  232. package/.next/standalone/node_modules/basic-ftp/dist/transfer.js +0 -318
  233. package/.next/standalone/node_modules/basic-ftp/package.json +0 -52
  234. package/.next/standalone/node_modules/buffer-crc32/index.js +0 -111
  235. package/.next/standalone/node_modules/buffer-crc32/package.json +0 -39
  236. package/.next/standalone/node_modules/cliui/build/lib/index.js +0 -287
  237. package/.next/standalone/node_modules/cliui/build/lib/string-utils.js +0 -27
  238. package/.next/standalone/node_modules/cliui/index.mjs +0 -13
  239. package/.next/standalone/node_modules/cliui/package.json +0 -83
  240. package/.next/standalone/node_modules/data-uri-to-buffer/dist/common.js +0 -54
  241. package/.next/standalone/node_modules/data-uri-to-buffer/dist/node.js +0 -26
  242. package/.next/standalone/node_modules/data-uri-to-buffer/package.json +0 -48
  243. package/.next/standalone/node_modules/debug/package.json +0 -64
  244. package/.next/standalone/node_modules/debug/src/browser.js +0 -272
  245. package/.next/standalone/node_modules/debug/src/common.js +0 -292
  246. package/.next/standalone/node_modules/debug/src/index.js +0 -10
  247. package/.next/standalone/node_modules/debug/src/node.js +0 -263
  248. package/.next/standalone/node_modules/degenerator/dist/compile.js +0 -107
  249. package/.next/standalone/node_modules/degenerator/dist/degenerator.js +0 -156
  250. package/.next/standalone/node_modules/degenerator/dist/index.js +0 -19
  251. package/.next/standalone/node_modules/degenerator/package.json +0 -42
  252. package/.next/standalone/node_modules/end-of-stream/index.js +0 -96
  253. package/.next/standalone/node_modules/end-of-stream/package.json +0 -37
  254. package/.next/standalone/node_modules/escalade/package.json +0 -74
  255. package/.next/standalone/node_modules/escodegen/escodegen.js +0 -2667
  256. package/.next/standalone/node_modules/escodegen/package.json +0 -63
  257. package/.next/standalone/node_modules/esprima/dist/esprima.js +0 -6709
  258. package/.next/standalone/node_modules/esprima/package.json +0 -112
  259. package/.next/standalone/node_modules/estraverse/estraverse.js +0 -805
  260. package/.next/standalone/node_modules/estraverse/package.json +0 -40
  261. package/.next/standalone/node_modules/esutils/lib/ast.js +0 -144
  262. package/.next/standalone/node_modules/esutils/lib/code.js +0 -135
  263. package/.next/standalone/node_modules/esutils/lib/keyword.js +0 -165
  264. package/.next/standalone/node_modules/esutils/lib/utils.js +0 -33
  265. package/.next/standalone/node_modules/esutils/package.json +0 -44
  266. package/.next/standalone/node_modules/events-universal/default.js +0 -1
  267. package/.next/standalone/node_modules/events-universal/package.json +0 -39
  268. package/.next/standalone/node_modules/extract-zip/LICENSE +0 -23
  269. package/.next/standalone/node_modules/extract-zip/cli.js +0 -19
  270. package/.next/standalone/node_modules/extract-zip/index.js +0 -173
  271. package/.next/standalone/node_modules/extract-zip/package.json +0 -80
  272. package/.next/standalone/node_modules/extract-zip/readme.md +0 -57
  273. package/.next/standalone/node_modules/fast-fifo/fixed-size.js +0 -39
  274. package/.next/standalone/node_modules/fast-fifo/index.js +0 -48
  275. package/.next/standalone/node_modules/fast-fifo/package.json +0 -28
  276. package/.next/standalone/node_modules/fd-slicer/index.js +0 -296
  277. package/.next/standalone/node_modules/fd-slicer/package.json +0 -36
  278. package/.next/standalone/node_modules/get-stream/buffer-stream.js +0 -52
  279. package/.next/standalone/node_modules/get-stream/index.js +0 -60
  280. package/.next/standalone/node_modules/get-stream/package.json +0 -50
  281. package/.next/standalone/node_modules/get-uri/dist/data.js +0 -43
  282. package/.next/standalone/node_modules/get-uri/dist/file.js +0 -57
  283. package/.next/standalone/node_modules/get-uri/dist/ftp.js +0 -93
  284. package/.next/standalone/node_modules/get-uri/dist/http-error.js +0 -15
  285. package/.next/standalone/node_modules/get-uri/dist/http.js +0 -191
  286. package/.next/standalone/node_modules/get-uri/dist/https.js +0 -16
  287. package/.next/standalone/node_modules/get-uri/dist/index.js +0 -57
  288. package/.next/standalone/node_modules/get-uri/dist/notfound.js +0 -16
  289. package/.next/standalone/node_modules/get-uri/dist/notmodified.js +0 -17
  290. package/.next/standalone/node_modules/get-uri/package.json +0 -58
  291. package/.next/standalone/node_modules/has-flag/index.js +0 -8
  292. package/.next/standalone/node_modules/has-flag/package.json +0 -46
  293. package/.next/standalone/node_modules/http-proxy-agent/dist/index.js +0 -148
  294. package/.next/standalone/node_modules/http-proxy-agent/package.json +0 -47
  295. package/.next/standalone/node_modules/https-proxy-agent/dist/index.js +0 -180
  296. package/.next/standalone/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -101
  297. package/.next/standalone/node_modules/https-proxy-agent/package.json +0 -50
  298. package/.next/standalone/node_modules/ip-address/dist/address-error.js +0 -12
  299. package/.next/standalone/node_modules/ip-address/dist/common.js +0 -46
  300. package/.next/standalone/node_modules/ip-address/dist/ip-address.js +0 -35
  301. package/.next/standalone/node_modules/ip-address/dist/ipv4.js +0 -360
  302. package/.next/standalone/node_modules/ip-address/dist/ipv6.js +0 -1003
  303. package/.next/standalone/node_modules/ip-address/dist/v4/constants.js +0 -8
  304. package/.next/standalone/node_modules/ip-address/dist/v6/constants.js +0 -76
  305. package/.next/standalone/node_modules/ip-address/dist/v6/helpers.js +0 -45
  306. package/.next/standalone/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
  307. package/.next/standalone/node_modules/ip-address/package.json +0 -78
  308. package/.next/standalone/node_modules/lru-cache/index.js +0 -1227
  309. package/.next/standalone/node_modules/lru-cache/package.json +0 -96
  310. package/.next/standalone/node_modules/ms/index.js +0 -162
  311. package/.next/standalone/node_modules/ms/package.json +0 -38
  312. package/.next/standalone/node_modules/netmask/lib/netmask.js +0 -208
  313. package/.next/standalone/node_modules/netmask/package.json +0 -36
  314. package/.next/standalone/node_modules/once/once.js +0 -42
  315. package/.next/standalone/node_modules/once/package.json +0 -33
  316. package/.next/standalone/node_modules/pac-proxy-agent/dist/index.js +0 -238
  317. package/.next/standalone/node_modules/pac-proxy-agent/package.json +0 -58
  318. package/.next/standalone/node_modules/pac-resolver/dist/dateRange.js +0 -73
  319. package/.next/standalone/node_modules/pac-resolver/dist/dnsDomainIs.js +0 -30
  320. package/.next/standalone/node_modules/pac-resolver/dist/dnsDomainLevels.js +0 -28
  321. package/.next/standalone/node_modules/pac-resolver/dist/dnsResolve.js +0 -32
  322. package/.next/standalone/node_modules/pac-resolver/dist/index.js +0 -87
  323. package/.next/standalone/node_modules/pac-resolver/dist/ip.js +0 -50
  324. package/.next/standalone/node_modules/pac-resolver/dist/isInNet.js +0 -42
  325. package/.next/standalone/node_modules/pac-resolver/dist/isPlainHostName.js +0 -23
  326. package/.next/standalone/node_modules/pac-resolver/dist/isResolvable.js +0 -23
  327. package/.next/standalone/node_modules/pac-resolver/dist/localHostOrDomainIs.js +0 -40
  328. package/.next/standalone/node_modules/pac-resolver/dist/myIpAddress.js +0 -50
  329. package/.next/standalone/node_modules/pac-resolver/dist/shExpMatch.js +0 -41
  330. package/.next/standalone/node_modules/pac-resolver/dist/timeRange.js +0 -92
  331. package/.next/standalone/node_modules/pac-resolver/dist/util.js +0 -22
  332. package/.next/standalone/node_modules/pac-resolver/dist/weekdayRange.js +0 -91
  333. package/.next/standalone/node_modules/pac-resolver/package.json +0 -47
  334. package/.next/standalone/node_modules/pend/index.js +0 -55
  335. package/.next/standalone/node_modules/pend/package.json +0 -18
  336. package/.next/standalone/node_modules/progress/index.js +0 -1
  337. package/.next/standalone/node_modules/progress/lib/node-progress.js +0 -236
  338. package/.next/standalone/node_modules/progress/package.json +0 -26
  339. package/.next/standalone/node_modules/proxy-agent/dist/index.js +0 -138
  340. package/.next/standalone/node_modules/proxy-agent/package.json +0 -60
  341. package/.next/standalone/node_modules/proxy-from-env/index.js +0 -108
  342. package/.next/standalone/node_modules/proxy-from-env/package.json +0 -34
  343. package/.next/standalone/node_modules/pump/index.js +0 -86
  344. package/.next/standalone/node_modules/pump/package.json +0 -30
  345. package/.next/standalone/node_modules/puppeteer-core/lib/esm/package.json +0 -1
  346. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Browser.js +0 -204
  347. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/BrowserContext.js +0 -182
  348. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/CDPSession.js +0 -68
  349. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/DeviceRequestPrompt.js +0 -34
  350. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Dialog.js +0 -90
  351. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js +0 -1406
  352. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandleSymbol.js +0 -10
  353. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Frame.js +0 -904
  354. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPRequest.js +0 -461
  355. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPResponse.js +0 -56
  356. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Input.js +0 -211
  357. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/JSHandle.js +0 -227
  358. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js +0 -1511
  359. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Realm.js +0 -44
  360. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Target.js +0 -49
  361. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/WebWorker.js +0 -106
  362. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/api.js +0 -22
  363. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/locators/locators.js +0 -769
  364. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BrowserConnector.js +0 -83
  365. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Accessibility.js +0 -591
  366. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Binding.js +0 -162
  367. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BluetoothEmulation.js +0 -26
  368. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Browser.js +0 -327
  369. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserConnector.js +0 -26
  370. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserContext.js +0 -192
  371. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpPreloadScript.js +0 -39
  372. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpSession.js +0 -129
  373. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Connection.js +0 -244
  374. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Coverage.js +0 -372
  375. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js +0 -151
  376. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Dialog.js +0 -23
  377. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ElementHandle.js +0 -206
  378. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/EmulationManager.js +0 -458
  379. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js +0 -457
  380. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExtensionTransport.js +0 -175
  381. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js +0 -358
  382. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js +0 -455
  383. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManagerEvents.js +0 -24
  384. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameTree.js +0 -91
  385. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPRequest.js +0 -195
  386. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPResponse.js +0 -126
  387. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Input.js +0 -499
  388. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js +0 -157
  389. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorlds.js +0 -20
  390. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/JSHandle.js +0 -101
  391. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/LifecycleWatcher.js +0 -174
  392. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkEventManager.js +0 -162
  393. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkManager.js +0 -601
  394. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js +0 -1011
  395. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.js +0 -69
  396. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Target.js +0 -243
  397. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/TargetManageEvents.js +0 -7
  398. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/TargetManager.js +0 -320
  399. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Tracing.js +0 -110
  400. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/WebWorker.js +0 -73
  401. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/cdp.js +0 -43
  402. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/utils.js +0 -216
  403. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js +0 -54
  404. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +0 -129
  405. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +0 -39
  406. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CSSQueryHandler.js +0 -18
  407. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js +0 -133
  408. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js +0 -78
  409. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.js +0 -114
  410. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js +0 -109
  411. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Device.js +0 -1604
  412. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +0 -94
  413. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +0 -128
  414. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js +0 -75
  415. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js +0 -70
  416. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/HandleIterator.js +0 -142
  417. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/LazyArg.js +0 -23
  418. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManagerEvents.js +0 -21
  419. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js +0 -58
  420. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.js +0 -18
  421. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PSelectorParser.js +0 -100
  422. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.js +0 -18
  423. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js +0 -98
  424. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js +0 -225
  425. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js +0 -51
  426. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js +0 -69
  427. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js +0 -24
  428. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.js +0 -15
  429. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js +0 -39
  430. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js +0 -394
  431. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.js +0 -197
  432. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.js +0 -21
  433. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/common.js +0 -35
  434. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/util.js +0 -375
  435. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js +0 -24
  436. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/generated/injected.js +0 -9
  437. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/index-browser.js +0 -11
  438. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/index.js +0 -8
  439. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.js +0 -41
  440. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js +0 -14
  441. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/AsyncIterableUtil.js +0 -29
  442. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js +0 -105
  443. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/ErrorLike.js +0 -41
  444. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Function.js +0 -70
  445. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Mutex.js +0 -46
  446. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/assert.js +0 -18
  447. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js +0 -232
  448. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/disposable.js +0 -342
  449. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/encoding.js +0 -63
  450. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/incremental-id-generator.js +0 -18
  451. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/util.js +0 -13
  452. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/version.js +0 -10
  453. package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js +0 -44
  454. package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/parsel-js/parsel-js.js +0 -196
  455. package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/rxjs/rxjs.js +0 -2887
  456. package/.next/standalone/node_modules/puppeteer-core/package.json +0 -169
  457. package/.next/standalone/node_modules/semver/functions/clean.js +0 -8
  458. package/.next/standalone/node_modules/semver/functions/compare-build.js +0 -9
  459. package/.next/standalone/node_modules/semver/functions/compare-loose.js +0 -5
  460. package/.next/standalone/node_modules/semver/functions/diff.js +0 -60
  461. package/.next/standalone/node_modules/semver/functions/inc.js +0 -21
  462. package/.next/standalone/node_modules/semver/functions/major.js +0 -5
  463. package/.next/standalone/node_modules/semver/functions/minor.js +0 -5
  464. package/.next/standalone/node_modules/semver/functions/patch.js +0 -5
  465. package/.next/standalone/node_modules/semver/functions/prerelease.js +0 -8
  466. package/.next/standalone/node_modules/semver/functions/rcompare.js +0 -5
  467. package/.next/standalone/node_modules/semver/functions/rsort.js +0 -5
  468. package/.next/standalone/node_modules/semver/functions/sort.js +0 -5
  469. package/.next/standalone/node_modules/semver/functions/valid.js +0 -8
  470. package/.next/standalone/node_modules/semver/index.js +0 -91
  471. package/.next/standalone/node_modules/semver/ranges/gtr.js +0 -6
  472. package/.next/standalone/node_modules/semver/ranges/intersects.js +0 -9
  473. package/.next/standalone/node_modules/semver/ranges/ltr.js +0 -6
  474. package/.next/standalone/node_modules/semver/ranges/max-satisfying.js +0 -27
  475. package/.next/standalone/node_modules/semver/ranges/min-satisfying.js +0 -26
  476. package/.next/standalone/node_modules/semver/ranges/min-version.js +0 -63
  477. package/.next/standalone/node_modules/semver/ranges/outside.js +0 -82
  478. package/.next/standalone/node_modules/semver/ranges/simplify.js +0 -49
  479. package/.next/standalone/node_modules/semver/ranges/subset.js +0 -249
  480. package/.next/standalone/node_modules/semver/ranges/to-comparators.js +0 -10
  481. package/.next/standalone/node_modules/semver/ranges/valid.js +0 -13
  482. package/.next/standalone/node_modules/smart-buffer/build/smartbuffer.js +0 -1233
  483. package/.next/standalone/node_modules/smart-buffer/build/utils.js +0 -108
  484. package/.next/standalone/node_modules/smart-buffer/package.json +0 -79
  485. package/.next/standalone/node_modules/socks/build/client/socksclient.js +0 -793
  486. package/.next/standalone/node_modules/socks/build/common/constants.js +0 -108
  487. package/.next/standalone/node_modules/socks/build/common/helpers.js +0 -167
  488. package/.next/standalone/node_modules/socks/build/common/receivebuffer.js +0 -43
  489. package/.next/standalone/node_modules/socks/build/common/util.js +0 -25
  490. package/.next/standalone/node_modules/socks/build/index.js +0 -18
  491. package/.next/standalone/node_modules/socks/package.json +0 -58
  492. package/.next/standalone/node_modules/socks-proxy-agent/dist/index.js +0 -195
  493. package/.next/standalone/node_modules/socks-proxy-agent/package.json +0 -142
  494. package/.next/standalone/node_modules/source-map/lib/array-set.js +0 -121
  495. package/.next/standalone/node_modules/source-map/lib/base64-vlq.js +0 -140
  496. package/.next/standalone/node_modules/source-map/lib/base64.js +0 -67
  497. package/.next/standalone/node_modules/source-map/lib/binary-search.js +0 -111
  498. package/.next/standalone/node_modules/source-map/lib/mapping-list.js +0 -79
  499. package/.next/standalone/node_modules/source-map/lib/quick-sort.js +0 -114
  500. package/.next/standalone/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  501. package/.next/standalone/node_modules/source-map/lib/source-map-generator.js +0 -425
  502. package/.next/standalone/node_modules/source-map/lib/source-node.js +0 -413
  503. package/.next/standalone/node_modules/source-map/lib/util.js +0 -488
  504. package/.next/standalone/node_modules/source-map/package.json +0 -73
  505. package/.next/standalone/node_modules/source-map/source-map.js +0 -8
  506. package/.next/standalone/node_modules/streamx/index.js +0 -1184
  507. package/.next/standalone/node_modules/streamx/package.json +0 -34
  508. package/.next/standalone/node_modules/supports-color/index.js +0 -135
  509. package/.next/standalone/node_modules/supports-color/package.json +0 -53
  510. package/.next/standalone/node_modules/tar-stream/constants.js +0 -14
  511. package/.next/standalone/node_modules/tar-stream/extract.js +0 -406
  512. package/.next/standalone/node_modules/tar-stream/headers.js +0 -321
  513. package/.next/standalone/node_modules/tar-stream/index.js +0 -2
  514. package/.next/standalone/node_modules/tar-stream/pack.js +0 -287
  515. package/.next/standalone/node_modules/tar-stream/package.json +0 -42
  516. package/.next/standalone/node_modules/text-decoder/index.js +0 -64
  517. package/.next/standalone/node_modules/text-decoder/lib/pass-through-decoder.js +0 -19
  518. package/.next/standalone/node_modules/text-decoder/lib/utf8-decoder.js +0 -185
  519. package/.next/standalone/node_modules/text-decoder/package.json +0 -39
  520. package/.next/standalone/node_modules/tslib/package.json +0 -47
  521. package/.next/standalone/node_modules/tslib/tslib.js +0 -484
  522. package/.next/standalone/node_modules/wrappy/package.json +0 -29
  523. package/.next/standalone/node_modules/wrappy/wrappy.js +0 -33
  524. package/.next/standalone/node_modules/ws/lib/buffer-util.js +0 -131
  525. package/.next/standalone/node_modules/ws/lib/constants.js +0 -19
  526. package/.next/standalone/node_modules/ws/lib/event-target.js +0 -292
  527. package/.next/standalone/node_modules/ws/lib/extension.js +0 -203
  528. package/.next/standalone/node_modules/ws/lib/limiter.js +0 -55
  529. package/.next/standalone/node_modules/ws/lib/permessage-deflate.js +0 -528
  530. package/.next/standalone/node_modules/ws/lib/receiver.js +0 -706
  531. package/.next/standalone/node_modules/ws/lib/sender.js +0 -602
  532. package/.next/standalone/node_modules/ws/lib/stream.js +0 -161
  533. package/.next/standalone/node_modules/ws/lib/subprotocol.js +0 -62
  534. package/.next/standalone/node_modules/ws/lib/validation.js +0 -152
  535. package/.next/standalone/node_modules/ws/lib/websocket-server.js +0 -554
  536. package/.next/standalone/node_modules/ws/lib/websocket.js +0 -1393
  537. package/.next/standalone/node_modules/ws/package.json +0 -69
  538. package/.next/standalone/node_modules/ws/wrapper.mjs +0 -8
  539. package/.next/standalone/node_modules/y18n/build/lib/index.js +0 -174
  540. package/.next/standalone/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
  541. package/.next/standalone/node_modules/y18n/index.mjs +0 -8
  542. package/.next/standalone/node_modules/y18n/package.json +0 -70
  543. package/.next/standalone/node_modules/yargs/build/lib/argsert.js +0 -62
  544. package/.next/standalone/node_modules/yargs/build/lib/command.js +0 -449
  545. package/.next/standalone/node_modules/yargs/build/lib/completion-templates.js +0 -48
  546. package/.next/standalone/node_modules/yargs/build/lib/completion.js +0 -243
  547. package/.next/standalone/node_modules/yargs/build/lib/middleware.js +0 -88
  548. package/.next/standalone/node_modules/yargs/build/lib/parse-command.js +0 -32
  549. package/.next/standalone/node_modules/yargs/build/lib/typings/common-types.js +0 -9
  550. package/.next/standalone/node_modules/yargs/build/lib/usage.js +0 -584
  551. package/.next/standalone/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
  552. package/.next/standalone/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
  553. package/.next/standalone/node_modules/yargs/build/lib/utils/levenshtein.js +0 -34
  554. package/.next/standalone/node_modules/yargs/build/lib/utils/maybe-async-result.js +0 -17
  555. package/.next/standalone/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
  556. package/.next/standalone/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
  557. package/.next/standalone/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
  558. package/.next/standalone/node_modules/yargs/build/lib/utils/which-module.js +0 -10
  559. package/.next/standalone/node_modules/yargs/build/lib/validation.js +0 -305
  560. package/.next/standalone/node_modules/yargs/build/lib/yargs-factory.js +0 -1512
  561. package/.next/standalone/node_modules/yargs/build/lib/yerror.js +0 -9
  562. package/.next/standalone/node_modules/yargs/helpers/helpers.mjs +0 -10
  563. package/.next/standalone/node_modules/yargs/index.mjs +0 -8
  564. package/.next/standalone/node_modules/yargs/lib/platform-shims/esm.mjs +0 -73
  565. package/.next/standalone/node_modules/yargs/package.json +0 -123
  566. package/.next/standalone/node_modules/yargs-parser/build/lib/index.js +0 -62
  567. package/.next/standalone/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
  568. package/.next/standalone/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
  569. package/.next/standalone/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
  570. package/.next/standalone/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1045
  571. package/.next/standalone/node_modules/yargs-parser/package.json +0 -92
  572. package/.next/standalone/node_modules/yauzl/LICENSE +0 -21
  573. package/.next/standalone/node_modules/yauzl/README.md +0 -658
  574. package/.next/standalone/node_modules/yauzl/index.js +0 -796
  575. package/.next/standalone/node_modules/yauzl/package.json +0 -40
  576. package/.next/static/chunks/6f8d5b34a0746c30.css +0 -1
  577. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/comparator.js +0 -0
  578. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/range.js +0 -0
  579. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/semver.js +0 -0
  580. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/cmp.js +0 -0
  581. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/coerce.js +0 -0
  582. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/compare.js +0 -0
  583. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/eq.js +0 -0
  584. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gt.js +0 -0
  585. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gte.js +0 -0
  586. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lt.js +0 -0
  587. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lte.js +0 -0
  588. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/neq.js +0 -0
  589. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/parse.js +0 -0
  590. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/satisfies.js +0 -0
  591. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/constants.js +0 -0
  592. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/debug.js +0 -0
  593. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/identifiers.js +0 -0
  594. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/lrucache.js +0 -0
  595. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/parse-options.js +0 -0
  596. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/re.js +0 -0
  597. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/package.json +0 -0
  598. /package/.next/static/{kjjeNNqdepzMMavZeMWoK → standalone-build}/_buildManifest.js +0 -0
  599. /package/.next/static/{kjjeNNqdepzMMavZeMWoK → standalone-build}/_clientMiddlewareManifest.json +0 -0
  600. /package/.next/static/{kjjeNNqdepzMMavZeMWoK → standalone-build}/_ssgManifest.js +0 -0
@@ -1,1003 +0,0 @@
1
- "use strict";
2
- /* eslint-disable prefer-destructuring */
3
- /* eslint-disable no-param-reassign */
4
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- var desc = Object.getOwnPropertyDescriptor(m, k);
7
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
- desc = { enumerable: true, get: function() { return m[k]; } };
9
- }
10
- Object.defineProperty(o, k2, desc);
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
- Object.defineProperty(o, "default", { enumerable: true, value: v });
17
- }) : function(o, v) {
18
- o["default"] = v;
19
- });
20
- var __importStar = (this && this.__importStar) || function (mod) {
21
- if (mod && mod.__esModule) return mod;
22
- var result = {};
23
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
- __setModuleDefault(result, mod);
25
- return result;
26
- };
27
- Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.Address6 = void 0;
29
- const common = __importStar(require("./common"));
30
- const constants4 = __importStar(require("./v4/constants"));
31
- const constants6 = __importStar(require("./v6/constants"));
32
- const helpers = __importStar(require("./v6/helpers"));
33
- const ipv4_1 = require("./ipv4");
34
- const regular_expressions_1 = require("./v6/regular-expressions");
35
- const address_error_1 = require("./address-error");
36
- const common_1 = require("./common");
37
- function assert(condition) {
38
- if (!condition) {
39
- throw new Error('Assertion failed.');
40
- }
41
- }
42
- function addCommas(number) {
43
- const r = /(\d+)(\d{3})/;
44
- while (r.test(number)) {
45
- number = number.replace(r, '$1,$2');
46
- }
47
- return number;
48
- }
49
- function spanLeadingZeroes4(n) {
50
- n = n.replace(/^(0{1,})([1-9]+)$/, '<span class="parse-error">$1</span>$2');
51
- n = n.replace(/^(0{1,})(0)$/, '<span class="parse-error">$1</span>$2');
52
- return n;
53
- }
54
- /*
55
- * A helper function to compact an array
56
- */
57
- function compact(address, slice) {
58
- const s1 = [];
59
- const s2 = [];
60
- let i;
61
- for (i = 0; i < address.length; i++) {
62
- if (i < slice[0]) {
63
- s1.push(address[i]);
64
- }
65
- else if (i > slice[1]) {
66
- s2.push(address[i]);
67
- }
68
- }
69
- return s1.concat(['compact']).concat(s2);
70
- }
71
- function paddedHex(octet) {
72
- return parseInt(octet, 16).toString(16).padStart(4, '0');
73
- }
74
- function unsignByte(b) {
75
- // eslint-disable-next-line no-bitwise
76
- return b & 0xff;
77
- }
78
- /**
79
- * Represents an IPv6 address
80
- * @class Address6
81
- * @param {string} address - An IPv6 address string
82
- * @param {number} [groups=8] - How many octets to parse
83
- * @example
84
- * var address = new Address6('2001::/32');
85
- */
86
- class Address6 {
87
- constructor(address, optionalGroups) {
88
- this.addressMinusSuffix = '';
89
- this.parsedSubnet = '';
90
- this.subnet = '/128';
91
- this.subnetMask = 128;
92
- this.v4 = false;
93
- this.zone = '';
94
- // #region Attributes
95
- /**
96
- * Returns true if the given address is in the subnet of the current address
97
- * @memberof Address6
98
- * @instance
99
- * @returns {boolean}
100
- */
101
- this.isInSubnet = common.isInSubnet;
102
- /**
103
- * Returns true if the address is correct, false otherwise
104
- * @memberof Address6
105
- * @instance
106
- * @returns {boolean}
107
- */
108
- this.isCorrect = common.isCorrect(constants6.BITS);
109
- if (optionalGroups === undefined) {
110
- this.groups = constants6.GROUPS;
111
- }
112
- else {
113
- this.groups = optionalGroups;
114
- }
115
- this.address = address;
116
- const subnet = constants6.RE_SUBNET_STRING.exec(address);
117
- if (subnet) {
118
- this.parsedSubnet = subnet[0].replace('/', '');
119
- this.subnetMask = parseInt(this.parsedSubnet, 10);
120
- this.subnet = `/${this.subnetMask}`;
121
- if (Number.isNaN(this.subnetMask) ||
122
- this.subnetMask < 0 ||
123
- this.subnetMask > constants6.BITS) {
124
- throw new address_error_1.AddressError('Invalid subnet mask.');
125
- }
126
- address = address.replace(constants6.RE_SUBNET_STRING, '');
127
- }
128
- else if (/\//.test(address)) {
129
- throw new address_error_1.AddressError('Invalid subnet mask.');
130
- }
131
- const zone = constants6.RE_ZONE_STRING.exec(address);
132
- if (zone) {
133
- this.zone = zone[0];
134
- address = address.replace(constants6.RE_ZONE_STRING, '');
135
- }
136
- this.addressMinusSuffix = address;
137
- this.parsedAddress = this.parse(this.addressMinusSuffix);
138
- }
139
- static isValid(address) {
140
- try {
141
- // eslint-disable-next-line no-new
142
- new Address6(address);
143
- return true;
144
- }
145
- catch (e) {
146
- return false;
147
- }
148
- }
149
- /**
150
- * Convert a BigInt to a v6 address object
151
- * @memberof Address6
152
- * @static
153
- * @param {bigint} bigInt - a BigInt to convert
154
- * @returns {Address6}
155
- * @example
156
- * var bigInt = BigInt('1000000000000');
157
- * var address = Address6.fromBigInt(bigInt);
158
- * address.correctForm(); // '::e8:d4a5:1000'
159
- */
160
- static fromBigInt(bigInt) {
161
- const hex = bigInt.toString(16).padStart(32, '0');
162
- const groups = [];
163
- let i;
164
- for (i = 0; i < constants6.GROUPS; i++) {
165
- groups.push(hex.slice(i * 4, (i + 1) * 4));
166
- }
167
- return new Address6(groups.join(':'));
168
- }
169
- /**
170
- * Convert a URL (with optional port number) to an address object
171
- * @memberof Address6
172
- * @static
173
- * @param {string} url - a URL with optional port number
174
- * @example
175
- * var addressAndPort = Address6.fromURL('http://[ffff::]:8080/foo/');
176
- * addressAndPort.address.correctForm(); // 'ffff::'
177
- * addressAndPort.port; // 8080
178
- */
179
- static fromURL(url) {
180
- let host;
181
- let port = null;
182
- let result;
183
- // If we have brackets parse them and find a port
184
- if (url.indexOf('[') !== -1 && url.indexOf(']:') !== -1) {
185
- result = constants6.RE_URL_WITH_PORT.exec(url);
186
- if (result === null) {
187
- return {
188
- error: 'failed to parse address with port',
189
- address: null,
190
- port: null,
191
- };
192
- }
193
- host = result[1];
194
- port = result[2];
195
- // If there's a URL extract the address
196
- }
197
- else if (url.indexOf('/') !== -1) {
198
- // Remove the protocol prefix
199
- url = url.replace(/^[a-z0-9]+:\/\//, '');
200
- // Parse the address
201
- result = constants6.RE_URL.exec(url);
202
- if (result === null) {
203
- return {
204
- error: 'failed to parse address from URL',
205
- address: null,
206
- port: null,
207
- };
208
- }
209
- host = result[1];
210
- // Otherwise just assign the URL to the host and let the library parse it
211
- }
212
- else {
213
- host = url;
214
- }
215
- // If there's a port convert it to an integer
216
- if (port) {
217
- port = parseInt(port, 10);
218
- // squelch out of range ports
219
- if (port < 0 || port > 65536) {
220
- port = null;
221
- }
222
- }
223
- else {
224
- // Standardize `undefined` to `null`
225
- port = null;
226
- }
227
- return {
228
- address: new Address6(host),
229
- port,
230
- };
231
- }
232
- /**
233
- * Create an IPv6-mapped address given an IPv4 address
234
- * @memberof Address6
235
- * @static
236
- * @param {string} address - An IPv4 address string
237
- * @returns {Address6}
238
- * @example
239
- * var address = Address6.fromAddress4('192.168.0.1');
240
- * address.correctForm(); // '::ffff:c0a8:1'
241
- * address.to4in6(); // '::ffff:192.168.0.1'
242
- */
243
- static fromAddress4(address) {
244
- const address4 = new ipv4_1.Address4(address);
245
- const mask6 = constants6.BITS - (constants4.BITS - address4.subnetMask);
246
- return new Address6(`::ffff:${address4.correctForm()}/${mask6}`);
247
- }
248
- /**
249
- * Return an address from ip6.arpa form
250
- * @memberof Address6
251
- * @static
252
- * @param {string} arpaFormAddress - an 'ip6.arpa' form address
253
- * @returns {Adress6}
254
- * @example
255
- * var address = Address6.fromArpa(e.f.f.f.3.c.2.6.f.f.f.e.6.6.8.e.1.0.6.7.9.4.e.c.0.0.0.0.1.0.0.2.ip6.arpa.)
256
- * address.correctForm(); // '2001:0:ce49:7601:e866:efff:62c3:fffe'
257
- */
258
- static fromArpa(arpaFormAddress) {
259
- // remove ending ".ip6.arpa." or just "."
260
- let address = arpaFormAddress.replace(/(\.ip6\.arpa)?\.$/, '');
261
- const semicolonAmount = 7;
262
- // correct ip6.arpa form with ending removed will be 63 characters
263
- if (address.length !== 63) {
264
- throw new address_error_1.AddressError("Invalid 'ip6.arpa' form.");
265
- }
266
- const parts = address.split('.').reverse();
267
- for (let i = semicolonAmount; i > 0; i--) {
268
- const insertIndex = i * 4;
269
- parts.splice(insertIndex, 0, ':');
270
- }
271
- address = parts.join('');
272
- return new Address6(address);
273
- }
274
- /**
275
- * Return the Microsoft UNC transcription of the address
276
- * @memberof Address6
277
- * @instance
278
- * @returns {String} the Microsoft UNC transcription of the address
279
- */
280
- microsoftTranscription() {
281
- return `${this.correctForm().replace(/:/g, '-')}.ipv6-literal.net`;
282
- }
283
- /**
284
- * Return the first n bits of the address, defaulting to the subnet mask
285
- * @memberof Address6
286
- * @instance
287
- * @param {number} [mask=subnet] - the number of bits to mask
288
- * @returns {String} the first n bits of the address as a string
289
- */
290
- mask(mask = this.subnetMask) {
291
- return this.getBitsBase2(0, mask);
292
- }
293
- /**
294
- * Return the number of possible subnets of a given size in the address
295
- * @memberof Address6
296
- * @instance
297
- * @param {number} [subnetSize=128] - the subnet size
298
- * @returns {String}
299
- */
300
- // TODO: probably useful to have a numeric version of this too
301
- possibleSubnets(subnetSize = 128) {
302
- const availableBits = constants6.BITS - this.subnetMask;
303
- const subnetBits = Math.abs(subnetSize - constants6.BITS);
304
- const subnetPowers = availableBits - subnetBits;
305
- if (subnetPowers < 0) {
306
- return '0';
307
- }
308
- return addCommas((BigInt('2') ** BigInt(subnetPowers)).toString(10));
309
- }
310
- /**
311
- * Helper function getting start address.
312
- * @memberof Address6
313
- * @instance
314
- * @returns {bigint}
315
- */
316
- _startAddress() {
317
- return BigInt(`0b${this.mask() + '0'.repeat(constants6.BITS - this.subnetMask)}`);
318
- }
319
- /**
320
- * The first address in the range given by this address' subnet
321
- * Often referred to as the Network Address.
322
- * @memberof Address6
323
- * @instance
324
- * @returns {Address6}
325
- */
326
- startAddress() {
327
- return Address6.fromBigInt(this._startAddress());
328
- }
329
- /**
330
- * The first host address in the range given by this address's subnet ie
331
- * the first address after the Network Address
332
- * @memberof Address6
333
- * @instance
334
- * @returns {Address6}
335
- */
336
- startAddressExclusive() {
337
- const adjust = BigInt('1');
338
- return Address6.fromBigInt(this._startAddress() + adjust);
339
- }
340
- /**
341
- * Helper function getting end address.
342
- * @memberof Address6
343
- * @instance
344
- * @returns {bigint}
345
- */
346
- _endAddress() {
347
- return BigInt(`0b${this.mask() + '1'.repeat(constants6.BITS - this.subnetMask)}`);
348
- }
349
- /**
350
- * The last address in the range given by this address' subnet
351
- * Often referred to as the Broadcast
352
- * @memberof Address6
353
- * @instance
354
- * @returns {Address6}
355
- */
356
- endAddress() {
357
- return Address6.fromBigInt(this._endAddress());
358
- }
359
- /**
360
- * The last host address in the range given by this address's subnet ie
361
- * the last address prior to the Broadcast Address
362
- * @memberof Address6
363
- * @instance
364
- * @returns {Address6}
365
- */
366
- endAddressExclusive() {
367
- const adjust = BigInt('1');
368
- return Address6.fromBigInt(this._endAddress() - adjust);
369
- }
370
- /**
371
- * Return the scope of the address
372
- * @memberof Address6
373
- * @instance
374
- * @returns {String}
375
- */
376
- getScope() {
377
- let scope = constants6.SCOPES[parseInt(this.getBits(12, 16).toString(10), 10)];
378
- if (this.getType() === 'Global unicast' && scope !== 'Link local') {
379
- scope = 'Global';
380
- }
381
- return scope || 'Unknown';
382
- }
383
- /**
384
- * Return the type of the address
385
- * @memberof Address6
386
- * @instance
387
- * @returns {String}
388
- */
389
- getType() {
390
- for (const subnet of Object.keys(constants6.TYPES)) {
391
- if (this.isInSubnet(new Address6(subnet))) {
392
- return constants6.TYPES[subnet];
393
- }
394
- }
395
- return 'Global unicast';
396
- }
397
- /**
398
- * Return the bits in the given range as a BigInt
399
- * @memberof Address6
400
- * @instance
401
- * @returns {bigint}
402
- */
403
- getBits(start, end) {
404
- return BigInt(`0b${this.getBitsBase2(start, end)}`);
405
- }
406
- /**
407
- * Return the bits in the given range as a base-2 string
408
- * @memberof Address6
409
- * @instance
410
- * @returns {String}
411
- */
412
- getBitsBase2(start, end) {
413
- return this.binaryZeroPad().slice(start, end);
414
- }
415
- /**
416
- * Return the bits in the given range as a base-16 string
417
- * @memberof Address6
418
- * @instance
419
- * @returns {String}
420
- */
421
- getBitsBase16(start, end) {
422
- const length = end - start;
423
- if (length % 4 !== 0) {
424
- throw new Error('Length of bits to retrieve must be divisible by four');
425
- }
426
- return this.getBits(start, end)
427
- .toString(16)
428
- .padStart(length / 4, '0');
429
- }
430
- /**
431
- * Return the bits that are set past the subnet mask length
432
- * @memberof Address6
433
- * @instance
434
- * @returns {String}
435
- */
436
- getBitsPastSubnet() {
437
- return this.getBitsBase2(this.subnetMask, constants6.BITS);
438
- }
439
- /**
440
- * Return the reversed ip6.arpa form of the address
441
- * @memberof Address6
442
- * @param {Object} options
443
- * @param {boolean} options.omitSuffix - omit the "ip6.arpa" suffix
444
- * @instance
445
- * @returns {String}
446
- */
447
- reverseForm(options) {
448
- if (!options) {
449
- options = {};
450
- }
451
- const characters = Math.floor(this.subnetMask / 4);
452
- const reversed = this.canonicalForm()
453
- .replace(/:/g, '')
454
- .split('')
455
- .slice(0, characters)
456
- .reverse()
457
- .join('.');
458
- if (characters > 0) {
459
- if (options.omitSuffix) {
460
- return reversed;
461
- }
462
- return `${reversed}.ip6.arpa.`;
463
- }
464
- if (options.omitSuffix) {
465
- return '';
466
- }
467
- return 'ip6.arpa.';
468
- }
469
- /**
470
- * Return the correct form of the address
471
- * @memberof Address6
472
- * @instance
473
- * @returns {String}
474
- */
475
- correctForm() {
476
- let i;
477
- let groups = [];
478
- let zeroCounter = 0;
479
- const zeroes = [];
480
- for (i = 0; i < this.parsedAddress.length; i++) {
481
- const value = parseInt(this.parsedAddress[i], 16);
482
- if (value === 0) {
483
- zeroCounter++;
484
- }
485
- if (value !== 0 && zeroCounter > 0) {
486
- if (zeroCounter > 1) {
487
- zeroes.push([i - zeroCounter, i - 1]);
488
- }
489
- zeroCounter = 0;
490
- }
491
- }
492
- // Do we end with a string of zeroes?
493
- if (zeroCounter > 1) {
494
- zeroes.push([this.parsedAddress.length - zeroCounter, this.parsedAddress.length - 1]);
495
- }
496
- const zeroLengths = zeroes.map((n) => n[1] - n[0] + 1);
497
- if (zeroes.length > 0) {
498
- const index = zeroLengths.indexOf(Math.max(...zeroLengths));
499
- groups = compact(this.parsedAddress, zeroes[index]);
500
- }
501
- else {
502
- groups = this.parsedAddress;
503
- }
504
- for (i = 0; i < groups.length; i++) {
505
- if (groups[i] !== 'compact') {
506
- groups[i] = parseInt(groups[i], 16).toString(16);
507
- }
508
- }
509
- let correct = groups.join(':');
510
- correct = correct.replace(/^compact$/, '::');
511
- correct = correct.replace(/(^compact)|(compact$)/, ':');
512
- correct = correct.replace(/compact/, '');
513
- return correct;
514
- }
515
- /**
516
- * Return a zero-padded base-2 string representation of the address
517
- * @memberof Address6
518
- * @instance
519
- * @returns {String}
520
- * @example
521
- * var address = new Address6('2001:4860:4001:803::1011');
522
- * address.binaryZeroPad();
523
- * // '0010000000000001010010000110000001000000000000010000100000000011
524
- * // 0000000000000000000000000000000000000000000000000001000000010001'
525
- */
526
- binaryZeroPad() {
527
- return this.bigInt().toString(2).padStart(constants6.BITS, '0');
528
- }
529
- // TODO: Improve the semantics of this helper function
530
- parse4in6(address) {
531
- const groups = address.split(':');
532
- const lastGroup = groups.slice(-1)[0];
533
- const address4 = lastGroup.match(constants4.RE_ADDRESS);
534
- if (address4) {
535
- this.parsedAddress4 = address4[0];
536
- this.address4 = new ipv4_1.Address4(this.parsedAddress4);
537
- for (let i = 0; i < this.address4.groups; i++) {
538
- if (/^0[0-9]+/.test(this.address4.parsedAddress[i])) {
539
- throw new address_error_1.AddressError("IPv4 addresses can't have leading zeroes.", address.replace(constants4.RE_ADDRESS, this.address4.parsedAddress.map(spanLeadingZeroes4).join('.')));
540
- }
541
- }
542
- this.v4 = true;
543
- groups[groups.length - 1] = this.address4.toGroup6();
544
- address = groups.join(':');
545
- }
546
- return address;
547
- }
548
- // TODO: Make private?
549
- parse(address) {
550
- address = this.parse4in6(address);
551
- const badCharacters = address.match(constants6.RE_BAD_CHARACTERS);
552
- if (badCharacters) {
553
- throw new address_error_1.AddressError(`Bad character${badCharacters.length > 1 ? 's' : ''} detected in address: ${badCharacters.join('')}`, address.replace(constants6.RE_BAD_CHARACTERS, '<span class="parse-error">$1</span>'));
554
- }
555
- const badAddress = address.match(constants6.RE_BAD_ADDRESS);
556
- if (badAddress) {
557
- throw new address_error_1.AddressError(`Address failed regex: ${badAddress.join('')}`, address.replace(constants6.RE_BAD_ADDRESS, '<span class="parse-error">$1</span>'));
558
- }
559
- let groups = [];
560
- const halves = address.split('::');
561
- if (halves.length === 2) {
562
- let first = halves[0].split(':');
563
- let last = halves[1].split(':');
564
- if (first.length === 1 && first[0] === '') {
565
- first = [];
566
- }
567
- if (last.length === 1 && last[0] === '') {
568
- last = [];
569
- }
570
- const remaining = this.groups - (first.length + last.length);
571
- if (!remaining) {
572
- throw new address_error_1.AddressError('Error parsing groups');
573
- }
574
- this.elidedGroups = remaining;
575
- this.elisionBegin = first.length;
576
- this.elisionEnd = first.length + this.elidedGroups;
577
- groups = groups.concat(first);
578
- for (let i = 0; i < remaining; i++) {
579
- groups.push('0');
580
- }
581
- groups = groups.concat(last);
582
- }
583
- else if (halves.length === 1) {
584
- groups = address.split(':');
585
- this.elidedGroups = 0;
586
- }
587
- else {
588
- throw new address_error_1.AddressError('Too many :: groups found');
589
- }
590
- groups = groups.map((group) => parseInt(group, 16).toString(16));
591
- if (groups.length !== this.groups) {
592
- throw new address_error_1.AddressError('Incorrect number of groups found');
593
- }
594
- return groups;
595
- }
596
- /**
597
- * Return the canonical form of the address
598
- * @memberof Address6
599
- * @instance
600
- * @returns {String}
601
- */
602
- canonicalForm() {
603
- return this.parsedAddress.map(paddedHex).join(':');
604
- }
605
- /**
606
- * Return the decimal form of the address
607
- * @memberof Address6
608
- * @instance
609
- * @returns {String}
610
- */
611
- decimal() {
612
- return this.parsedAddress.map((n) => parseInt(n, 16).toString(10).padStart(5, '0')).join(':');
613
- }
614
- /**
615
- * Return the address as a BigInt
616
- * @memberof Address6
617
- * @instance
618
- * @returns {bigint}
619
- */
620
- bigInt() {
621
- return BigInt(`0x${this.parsedAddress.map(paddedHex).join('')}`);
622
- }
623
- /**
624
- * Return the last two groups of this address as an IPv4 address string
625
- * @memberof Address6
626
- * @instance
627
- * @returns {Address4}
628
- * @example
629
- * var address = new Address6('2001:4860:4001::1825:bf11');
630
- * address.to4().correctForm(); // '24.37.191.17'
631
- */
632
- to4() {
633
- const binary = this.binaryZeroPad().split('');
634
- return ipv4_1.Address4.fromHex(BigInt(`0b${binary.slice(96, 128).join('')}`).toString(16));
635
- }
636
- /**
637
- * Return the v4-in-v6 form of the address
638
- * @memberof Address6
639
- * @instance
640
- * @returns {String}
641
- */
642
- to4in6() {
643
- const address4 = this.to4();
644
- const address6 = new Address6(this.parsedAddress.slice(0, 6).join(':'), 6);
645
- const correct = address6.correctForm();
646
- let infix = '';
647
- if (!/:$/.test(correct)) {
648
- infix = ':';
649
- }
650
- return correct + infix + address4.address;
651
- }
652
- /**
653
- * Return an object containing the Teredo properties of the address
654
- * @memberof Address6
655
- * @instance
656
- * @returns {Object}
657
- */
658
- inspectTeredo() {
659
- /*
660
- - Bits 0 to 31 are set to the Teredo prefix (normally 2001:0000::/32).
661
- - Bits 32 to 63 embed the primary IPv4 address of the Teredo server that
662
- is used.
663
- - Bits 64 to 79 can be used to define some flags. Currently only the
664
- higher order bit is used; it is set to 1 if the Teredo client is
665
- located behind a cone NAT, 0 otherwise. For Microsoft's Windows Vista
666
- and Windows Server 2008 implementations, more bits are used. In those
667
- implementations, the format for these 16 bits is "CRAAAAUG AAAAAAAA",
668
- where "C" remains the "Cone" flag. The "R" bit is reserved for future
669
- use. The "U" bit is for the Universal/Local flag (set to 0). The "G" bit
670
- is Individual/Group flag (set to 0). The A bits are set to a 12-bit
671
- randomly generated number chosen by the Teredo client to introduce
672
- additional protection for the Teredo node against IPv6-based scanning
673
- attacks.
674
- - Bits 80 to 95 contains the obfuscated UDP port number. This is the
675
- port number that is mapped by the NAT to the Teredo client with all
676
- bits inverted.
677
- - Bits 96 to 127 contains the obfuscated IPv4 address. This is the
678
- public IPv4 address of the NAT with all bits inverted.
679
- */
680
- const prefix = this.getBitsBase16(0, 32);
681
- const bitsForUdpPort = this.getBits(80, 96);
682
- // eslint-disable-next-line no-bitwise
683
- const udpPort = (bitsForUdpPort ^ BigInt('0xffff')).toString();
684
- const server4 = ipv4_1.Address4.fromHex(this.getBitsBase16(32, 64));
685
- const bitsForClient4 = this.getBits(96, 128);
686
- // eslint-disable-next-line no-bitwise
687
- const client4 = ipv4_1.Address4.fromHex((bitsForClient4 ^ BigInt('0xffffffff')).toString(16));
688
- const flagsBase2 = this.getBitsBase2(64, 80);
689
- const coneNat = (0, common_1.testBit)(flagsBase2, 15);
690
- const reserved = (0, common_1.testBit)(flagsBase2, 14);
691
- const groupIndividual = (0, common_1.testBit)(flagsBase2, 8);
692
- const universalLocal = (0, common_1.testBit)(flagsBase2, 9);
693
- const nonce = BigInt(`0b${flagsBase2.slice(2, 6) + flagsBase2.slice(8, 16)}`).toString(10);
694
- return {
695
- prefix: `${prefix.slice(0, 4)}:${prefix.slice(4, 8)}`,
696
- server4: server4.address,
697
- client4: client4.address,
698
- flags: flagsBase2,
699
- coneNat,
700
- microsoft: {
701
- reserved,
702
- universalLocal,
703
- groupIndividual,
704
- nonce,
705
- },
706
- udpPort,
707
- };
708
- }
709
- /**
710
- * Return an object containing the 6to4 properties of the address
711
- * @memberof Address6
712
- * @instance
713
- * @returns {Object}
714
- */
715
- inspect6to4() {
716
- /*
717
- - Bits 0 to 15 are set to the 6to4 prefix (2002::/16).
718
- - Bits 16 to 48 embed the IPv4 address of the 6to4 gateway that is used.
719
- */
720
- const prefix = this.getBitsBase16(0, 16);
721
- const gateway = ipv4_1.Address4.fromHex(this.getBitsBase16(16, 48));
722
- return {
723
- prefix: prefix.slice(0, 4),
724
- gateway: gateway.address,
725
- };
726
- }
727
- /**
728
- * Return a v6 6to4 address from a v6 v4inv6 address
729
- * @memberof Address6
730
- * @instance
731
- * @returns {Address6}
732
- */
733
- to6to4() {
734
- if (!this.is4()) {
735
- return null;
736
- }
737
- const addr6to4 = [
738
- '2002',
739
- this.getBitsBase16(96, 112),
740
- this.getBitsBase16(112, 128),
741
- '',
742
- '/16',
743
- ].join(':');
744
- return new Address6(addr6to4);
745
- }
746
- /**
747
- * Return a byte array
748
- * @memberof Address6
749
- * @instance
750
- * @returns {Array}
751
- */
752
- toByteArray() {
753
- const valueWithoutPadding = this.bigInt().toString(16);
754
- const leadingPad = '0'.repeat(valueWithoutPadding.length % 2);
755
- const value = `${leadingPad}${valueWithoutPadding}`;
756
- const bytes = [];
757
- for (let i = 0, length = value.length; i < length; i += 2) {
758
- bytes.push(parseInt(value.substring(i, i + 2), 16));
759
- }
760
- return bytes;
761
- }
762
- /**
763
- * Return an unsigned byte array
764
- * @memberof Address6
765
- * @instance
766
- * @returns {Array}
767
- */
768
- toUnsignedByteArray() {
769
- return this.toByteArray().map(unsignByte);
770
- }
771
- /**
772
- * Convert a byte array to an Address6 object
773
- * @memberof Address6
774
- * @static
775
- * @returns {Address6}
776
- */
777
- static fromByteArray(bytes) {
778
- return this.fromUnsignedByteArray(bytes.map(unsignByte));
779
- }
780
- /**
781
- * Convert an unsigned byte array to an Address6 object
782
- * @memberof Address6
783
- * @static
784
- * @returns {Address6}
785
- */
786
- static fromUnsignedByteArray(bytes) {
787
- const BYTE_MAX = BigInt('256');
788
- let result = BigInt('0');
789
- let multiplier = BigInt('1');
790
- for (let i = bytes.length - 1; i >= 0; i--) {
791
- result += multiplier * BigInt(bytes[i].toString(10));
792
- multiplier *= BYTE_MAX;
793
- }
794
- return Address6.fromBigInt(result);
795
- }
796
- /**
797
- * Returns true if the address is in the canonical form, false otherwise
798
- * @memberof Address6
799
- * @instance
800
- * @returns {boolean}
801
- */
802
- isCanonical() {
803
- return this.addressMinusSuffix === this.canonicalForm();
804
- }
805
- /**
806
- * Returns true if the address is a link local address, false otherwise
807
- * @memberof Address6
808
- * @instance
809
- * @returns {boolean}
810
- */
811
- isLinkLocal() {
812
- // Zeroes are required, i.e. we can't check isInSubnet with 'fe80::/10'
813
- if (this.getBitsBase2(0, 64) ===
814
- '1111111010000000000000000000000000000000000000000000000000000000') {
815
- return true;
816
- }
817
- return false;
818
- }
819
- /**
820
- * Returns true if the address is a multicast address, false otherwise
821
- * @memberof Address6
822
- * @instance
823
- * @returns {boolean}
824
- */
825
- isMulticast() {
826
- return this.getType() === 'Multicast';
827
- }
828
- /**
829
- * Returns true if the address is a v4-in-v6 address, false otherwise
830
- * @memberof Address6
831
- * @instance
832
- * @returns {boolean}
833
- */
834
- is4() {
835
- return this.v4;
836
- }
837
- /**
838
- * Returns true if the address is a Teredo address, false otherwise
839
- * @memberof Address6
840
- * @instance
841
- * @returns {boolean}
842
- */
843
- isTeredo() {
844
- return this.isInSubnet(new Address6('2001::/32'));
845
- }
846
- /**
847
- * Returns true if the address is a 6to4 address, false otherwise
848
- * @memberof Address6
849
- * @instance
850
- * @returns {boolean}
851
- */
852
- is6to4() {
853
- return this.isInSubnet(new Address6('2002::/16'));
854
- }
855
- /**
856
- * Returns true if the address is a loopback address, false otherwise
857
- * @memberof Address6
858
- * @instance
859
- * @returns {boolean}
860
- */
861
- isLoopback() {
862
- return this.getType() === 'Loopback';
863
- }
864
- // #endregion
865
- // #region HTML
866
- /**
867
- * @returns {String} the address in link form with a default port of 80
868
- */
869
- href(optionalPort) {
870
- if (optionalPort === undefined) {
871
- optionalPort = '';
872
- }
873
- else {
874
- optionalPort = `:${optionalPort}`;
875
- }
876
- return `http://[${this.correctForm()}]${optionalPort}/`;
877
- }
878
- /**
879
- * @returns {String} a link suitable for conveying the address via a URL hash
880
- */
881
- link(options) {
882
- if (!options) {
883
- options = {};
884
- }
885
- if (options.className === undefined) {
886
- options.className = '';
887
- }
888
- if (options.prefix === undefined) {
889
- options.prefix = '/#address=';
890
- }
891
- if (options.v4 === undefined) {
892
- options.v4 = false;
893
- }
894
- let formFunction = this.correctForm;
895
- if (options.v4) {
896
- formFunction = this.to4in6;
897
- }
898
- const form = formFunction.call(this);
899
- if (options.className) {
900
- return `<a href="${options.prefix}${form}" class="${options.className}">${form}</a>`;
901
- }
902
- return `<a href="${options.prefix}${form}">${form}</a>`;
903
- }
904
- /**
905
- * Groups an address
906
- * @returns {String}
907
- */
908
- group() {
909
- if (this.elidedGroups === 0) {
910
- // The simple case
911
- return helpers.simpleGroup(this.address).join(':');
912
- }
913
- assert(typeof this.elidedGroups === 'number');
914
- assert(typeof this.elisionBegin === 'number');
915
- // The elided case
916
- const output = [];
917
- const [left, right] = this.address.split('::');
918
- if (left.length) {
919
- output.push(...helpers.simpleGroup(left));
920
- }
921
- else {
922
- output.push('');
923
- }
924
- const classes = ['hover-group'];
925
- for (let i = this.elisionBegin; i < this.elisionBegin + this.elidedGroups; i++) {
926
- classes.push(`group-${i}`);
927
- }
928
- output.push(`<span class="${classes.join(' ')}"></span>`);
929
- if (right.length) {
930
- output.push(...helpers.simpleGroup(right, this.elisionEnd));
931
- }
932
- else {
933
- output.push('');
934
- }
935
- if (this.is4()) {
936
- assert(this.address4 instanceof ipv4_1.Address4);
937
- output.pop();
938
- output.push(this.address4.groupForV6());
939
- }
940
- return output.join(':');
941
- }
942
- // #endregion
943
- // #region Regular expressions
944
- /**
945
- * Generate a regular expression string that can be used to find or validate
946
- * all variations of this address
947
- * @memberof Address6
948
- * @instance
949
- * @param {boolean} substringSearch
950
- * @returns {string}
951
- */
952
- regularExpressionString(substringSearch = false) {
953
- let output = [];
954
- // TODO: revisit why this is necessary
955
- const address6 = new Address6(this.correctForm());
956
- if (address6.elidedGroups === 0) {
957
- // The simple case
958
- output.push((0, regular_expressions_1.simpleRegularExpression)(address6.parsedAddress));
959
- }
960
- else if (address6.elidedGroups === constants6.GROUPS) {
961
- // A completely elided address
962
- output.push((0, regular_expressions_1.possibleElisions)(constants6.GROUPS));
963
- }
964
- else {
965
- // A partially elided address
966
- const halves = address6.address.split('::');
967
- if (halves[0].length) {
968
- output.push((0, regular_expressions_1.simpleRegularExpression)(halves[0].split(':')));
969
- }
970
- assert(typeof address6.elidedGroups === 'number');
971
- output.push((0, regular_expressions_1.possibleElisions)(address6.elidedGroups, halves[0].length !== 0, halves[1].length !== 0));
972
- if (halves[1].length) {
973
- output.push((0, regular_expressions_1.simpleRegularExpression)(halves[1].split(':')));
974
- }
975
- output = [output.join(':')];
976
- }
977
- if (!substringSearch) {
978
- output = [
979
- '(?=^|',
980
- regular_expressions_1.ADDRESS_BOUNDARY,
981
- '|[^\\w\\:])(',
982
- ...output,
983
- ')(?=[^\\w\\:]|',
984
- regular_expressions_1.ADDRESS_BOUNDARY,
985
- '|$)',
986
- ];
987
- }
988
- return output.join('');
989
- }
990
- /**
991
- * Generate a regular expression that can be used to find or validate all
992
- * variations of this address.
993
- * @memberof Address6
994
- * @instance
995
- * @param {boolean} substringSearch
996
- * @returns {RegExp}
997
- */
998
- regularExpression(substringSearch = false) {
999
- return new RegExp(this.regularExpressionString(substringSearch), 'i');
1000
- }
1001
- }
1002
- exports.Address6 = Address6;
1003
- //# sourceMappingURL=ipv6.js.map