lanzz-router 0.5.110 → 0.5.113

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 (897) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +8 -6
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/react-loadable-manifest.json +0 -33
  5. package/app/.next-cli-build/routes-manifest.json +12 -0
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/users/page.js +1 -0
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/users/page.js.nft.json +1 -0
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/users/page_client-reference-manifest.js +1 -0
  78. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  79. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  80. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  81. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  82. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  83. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  84. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  85. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  86. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  87. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  88. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  89. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  90. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  91. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  92. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  93. package/app/.next-cli-build/server/app/api/auth/member-login/route.js +1 -1
  94. package/app/.next-cli-build/server/app/api/auth/member-login/route.js.nft.json +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +2 -2
  106. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  113. package/app/.next-cli-build/server/app/api/branding/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/branding/route.js.nft.json +1 -1
  115. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +3 -3
  116. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +2 -2
  126. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js +2 -2
  128. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  132. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  134. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  136. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
  140. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  142. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  144. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  146. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
  148. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +2 -2
  150. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  156. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  158. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
  162. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  164. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +2 -2
  166. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +1 -1
  168. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  170. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  176. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  180. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  184. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
  198. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/member/quota/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/member/quota/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/member/usage/route.js +2 -2
  214. package/app/.next-cli-build/server/app/api/member/usage/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  258. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +2 -2
  266. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  290. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  304. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  306. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +2 -2
  308. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
  312. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  314. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  316. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  318. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  320. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  322. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  324. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  326. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  328. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  344. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  366. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  370. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  372. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  376. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  380. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  382. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  384. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  386. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  388. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/users/usage/route.js +20 -0
  390. package/app/.next-cli-build/server/app/api/users/usage/route.js.nft.json +1 -0
  391. package/app/.next-cli-build/server/app/api/users/usage/route_client-reference-manifest.js +1 -0
  392. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  393. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  394. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  395. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  396. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  397. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  398. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  399. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  400. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  401. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  402. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  403. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  404. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  405. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  424. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  425. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  426. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  427. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  428. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  429. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  430. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  431. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  432. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  433. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  434. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  435. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  436. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  437. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  438. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  439. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  440. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  441. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  442. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  443. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  444. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  445. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  446. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  447. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  448. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  449. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  450. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  451. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  452. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  453. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  454. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  455. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  456. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  457. package/app/.next-cli-build/server/app/login/page.js +1 -1
  458. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  459. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  460. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  461. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  462. package/app/.next-cli-build/server/app/member/page.js +1 -1
  463. package/app/.next-cli-build/server/app/member/page.js.nft.json +1 -1
  464. package/app/.next-cli-build/server/app/member/page_client-reference-manifest.js +1 -1
  465. package/app/.next-cli-build/server/app/page.js +1 -1
  466. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  467. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  468. package/app/.next-cli-build/server/app-paths-manifest.json +8 -6
  469. package/app/.next-cli-build/server/chunks/1220.js +1 -1
  470. package/app/.next-cli-build/server/chunks/1679.js +1 -1
  471. package/app/.next-cli-build/server/chunks/2116.js +1 -0
  472. package/app/.next-cli-build/server/chunks/412.js +1 -1
  473. package/app/.next-cli-build/server/chunks/5536.js +1 -1
  474. package/app/.next-cli-build/server/chunks/6540.js +1 -1
  475. package/app/.next-cli-build/server/chunks/7594.js +1 -0
  476. package/app/.next-cli-build/server/chunks/7754.js +3 -3
  477. package/app/.next-cli-build/server/chunks/{2741.js → 7857.js} +2 -2
  478. package/app/.next-cli-build/server/chunks/7995.js +8 -8
  479. package/app/.next-cli-build/server/chunks/827.js +1 -1
  480. package/app/.next-cli-build/server/chunks/869.js +1 -1
  481. package/app/.next-cli-build/server/chunks/9100.js +3 -3
  482. package/app/.next-cli-build/server/chunks/9604.js +1 -1
  483. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  484. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  485. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  486. package/app/.next-cli-build/server/middleware.js +3 -3
  487. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  488. package/app/.next-cli-build/server/pages/500.html +1 -1
  489. package/app/.next-cli-build/static/chunks/1181-1ccea5d3ca460bdc.js +5 -0
  490. package/app/.next-cli-build/static/chunks/{1321-586258e799d6534e.js → 1321-f0840bfc7d5fb572.js} +1 -1
  491. package/app/.next-cli-build/static/chunks/{5497-4bffb580af2968ac.js → 5497-f5da6a4f263c502b.js} +2 -2
  492. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/{page-74ccbddc4f8fceec.js → page-2c7f64895d87e0f6.js} +1 -1
  493. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-a6f017a186e3fe01.js +1 -0
  494. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/users/page-b8fcc3ce3135ed37.js +1 -0
  495. package/app/.next-cli-build/static/chunks/app/_global-error/page-623aab0eae7621dd.js +1 -0
  496. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-623aab0eae7621dd.js +1 -0
  497. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-623aab0eae7621dd.js +1 -0
  498. package/app/.next-cli-build/static/chunks/app/api/auth/member-login/route-623aab0eae7621dd.js +1 -0
  499. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-623aab0eae7621dd.js +1 -0
  500. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-623aab0eae7621dd.js +1 -0
  501. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-623aab0eae7621dd.js +1 -0
  502. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-623aab0eae7621dd.js +1 -0
  503. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-623aab0eae7621dd.js +1 -0
  504. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-623aab0eae7621dd.js +1 -0
  505. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-623aab0eae7621dd.js +1 -0
  506. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-623aab0eae7621dd.js +1 -0
  507. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-623aab0eae7621dd.js +1 -0
  508. package/app/.next-cli-build/static/chunks/app/api/branding/route-623aab0eae7621dd.js +1 -0
  509. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-623aab0eae7621dd.js +1 -0
  510. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-623aab0eae7621dd.js +1 -0
  511. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-623aab0eae7621dd.js +1 -0
  512. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-623aab0eae7621dd.js +1 -0
  513. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-623aab0eae7621dd.js +1 -0
  514. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-623aab0eae7621dd.js +1 -0
  515. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-623aab0eae7621dd.js +1 -0
  516. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-623aab0eae7621dd.js +1 -0
  517. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-623aab0eae7621dd.js +1 -0
  518. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-623aab0eae7621dd.js +1 -0
  519. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-623aab0eae7621dd.js +1 -0
  520. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-623aab0eae7621dd.js +1 -0
  521. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-623aab0eae7621dd.js +1 -0
  522. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-623aab0eae7621dd.js +1 -0
  523. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-623aab0eae7621dd.js +1 -0
  524. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-623aab0eae7621dd.js +1 -0
  525. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-623aab0eae7621dd.js +1 -0
  526. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-623aab0eae7621dd.js +1 -0
  527. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-623aab0eae7621dd.js +1 -0
  528. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-623aab0eae7621dd.js +1 -0
  529. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-623aab0eae7621dd.js +1 -0
  530. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-623aab0eae7621dd.js +1 -0
  531. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-623aab0eae7621dd.js +1 -0
  532. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-623aab0eae7621dd.js +1 -0
  533. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-623aab0eae7621dd.js +1 -0
  534. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-623aab0eae7621dd.js +1 -0
  535. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-623aab0eae7621dd.js +1 -0
  536. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-623aab0eae7621dd.js +1 -0
  537. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-623aab0eae7621dd.js +1 -0
  538. package/app/.next-cli-build/static/chunks/app/api/combos/route-623aab0eae7621dd.js +1 -0
  539. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-623aab0eae7621dd.js +1 -0
  540. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-623aab0eae7621dd.js +1 -0
  541. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-623aab0eae7621dd.js +1 -0
  542. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-623aab0eae7621dd.js +1 -0
  543. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-623aab0eae7621dd.js +1 -0
  544. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-623aab0eae7621dd.js +1 -0
  545. package/app/.next-cli-build/static/chunks/app/api/health/route-623aab0eae7621dd.js +1 -0
  546. package/app/.next-cli-build/static/chunks/app/api/init/route-623aab0eae7621dd.js +1 -0
  547. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-623aab0eae7621dd.js +1 -0
  548. package/app/.next-cli-build/static/chunks/app/api/keys/route-623aab0eae7621dd.js +1 -0
  549. package/app/.next-cli-build/static/chunks/app/api/locale/route-623aab0eae7621dd.js +1 -0
  550. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-623aab0eae7621dd.js +1 -0
  551. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-623aab0eae7621dd.js +1 -0
  552. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-623aab0eae7621dd.js +1 -0
  553. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-623aab0eae7621dd.js +1 -0
  554. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-623aab0eae7621dd.js +1 -0
  555. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-623aab0eae7621dd.js +1 -0
  556. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-623aab0eae7621dd.js +1 -0
  557. package/app/.next-cli-build/static/chunks/app/api/member/quota/route-623aab0eae7621dd.js +1 -0
  558. package/app/.next-cli-build/static/chunks/app/api/member/usage/route-623aab0eae7621dd.js +1 -0
  559. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-623aab0eae7621dd.js +1 -0
  560. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-623aab0eae7621dd.js +1 -0
  561. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-623aab0eae7621dd.js +1 -0
  562. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-623aab0eae7621dd.js +1 -0
  563. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-623aab0eae7621dd.js +1 -0
  564. package/app/.next-cli-build/static/chunks/app/api/models/route-623aab0eae7621dd.js +1 -0
  565. package/app/.next-cli-build/static/chunks/app/api/models/test/route-623aab0eae7621dd.js +1 -0
  566. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-623aab0eae7621dd.js +1 -0
  567. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-623aab0eae7621dd.js +1 -0
  568. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-623aab0eae7621dd.js +1 -0
  569. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-623aab0eae7621dd.js +1 -0
  570. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-623aab0eae7621dd.js +1 -0
  571. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-623aab0eae7621dd.js +1 -0
  572. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-623aab0eae7621dd.js +1 -0
  573. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-623aab0eae7621dd.js +1 -0
  574. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-623aab0eae7621dd.js +1 -0
  575. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-623aab0eae7621dd.js +1 -0
  576. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-623aab0eae7621dd.js +1 -0
  577. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-623aab0eae7621dd.js +1 -0
  578. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-623aab0eae7621dd.js +1 -0
  579. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-623aab0eae7621dd.js +1 -0
  580. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-623aab0eae7621dd.js +1 -0
  581. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-623aab0eae7621dd.js +1 -0
  582. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-623aab0eae7621dd.js +1 -0
  583. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-623aab0eae7621dd.js +1 -0
  584. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-623aab0eae7621dd.js +1 -0
  585. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-623aab0eae7621dd.js +1 -0
  586. package/app/.next-cli-build/static/chunks/app/api/pricing/route-623aab0eae7621dd.js +1 -0
  587. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-623aab0eae7621dd.js +1 -0
  588. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-623aab0eae7621dd.js +1 -0
  589. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-623aab0eae7621dd.js +1 -0
  590. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-623aab0eae7621dd.js +1 -0
  591. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-623aab0eae7621dd.js +1 -0
  592. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-623aab0eae7621dd.js +1 -0
  593. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-623aab0eae7621dd.js +1 -0
  594. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-623aab0eae7621dd.js +1 -0
  595. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-623aab0eae7621dd.js +1 -0
  596. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-623aab0eae7621dd.js +1 -0
  597. package/app/.next-cli-build/static/chunks/app/api/providers/route-623aab0eae7621dd.js +1 -0
  598. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-623aab0eae7621dd.js +1 -0
  599. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-623aab0eae7621dd.js +1 -0
  600. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-623aab0eae7621dd.js +1 -0
  601. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-623aab0eae7621dd.js +1 -0
  602. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-623aab0eae7621dd.js +1 -0
  603. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-623aab0eae7621dd.js +1 -0
  604. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-623aab0eae7621dd.js +1 -0
  605. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-623aab0eae7621dd.js +1 -0
  606. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-623aab0eae7621dd.js +1 -0
  607. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-623aab0eae7621dd.js +1 -0
  608. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-623aab0eae7621dd.js +1 -0
  609. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-623aab0eae7621dd.js +1 -0
  610. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-623aab0eae7621dd.js +1 -0
  611. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-623aab0eae7621dd.js +1 -0
  612. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-623aab0eae7621dd.js +1 -0
  613. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-623aab0eae7621dd.js +1 -0
  614. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-623aab0eae7621dd.js +1 -0
  615. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-623aab0eae7621dd.js +1 -0
  616. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-623aab0eae7621dd.js +1 -0
  617. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-623aab0eae7621dd.js +1 -0
  618. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-623aab0eae7621dd.js +1 -0
  619. package/app/.next-cli-build/static/chunks/app/api/settings/route-623aab0eae7621dd.js +1 -0
  620. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-623aab0eae7621dd.js +1 -0
  621. package/app/.next-cli-build/static/chunks/app/api/tags/route-623aab0eae7621dd.js +1 -0
  622. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-623aab0eae7621dd.js +1 -0
  623. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-623aab0eae7621dd.js +1 -0
  624. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-623aab0eae7621dd.js +1 -0
  625. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-623aab0eae7621dd.js +1 -0
  626. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-623aab0eae7621dd.js +1 -0
  627. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-623aab0eae7621dd.js +1 -0
  628. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-623aab0eae7621dd.js +1 -0
  629. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-623aab0eae7621dd.js +1 -0
  630. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-623aab0eae7621dd.js +1 -0
  631. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-623aab0eae7621dd.js +1 -0
  632. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-623aab0eae7621dd.js +1 -0
  633. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-623aab0eae7621dd.js +1 -0
  634. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-623aab0eae7621dd.js +1 -0
  635. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-623aab0eae7621dd.js +1 -0
  636. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-623aab0eae7621dd.js +1 -0
  637. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-623aab0eae7621dd.js +1 -0
  638. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-623aab0eae7621dd.js +1 -0
  639. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-623aab0eae7621dd.js +1 -0
  640. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-623aab0eae7621dd.js +1 -0
  641. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-623aab0eae7621dd.js +1 -0
  642. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-623aab0eae7621dd.js +1 -0
  643. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-623aab0eae7621dd.js +1 -0
  644. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-623aab0eae7621dd.js +1 -0
  645. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-623aab0eae7621dd.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/api/users/usage/route-623aab0eae7621dd.js +1 -0
  647. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-623aab0eae7621dd.js +1 -0
  648. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-623aab0eae7621dd.js +1 -0
  649. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-623aab0eae7621dd.js +1 -0
  650. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-623aab0eae7621dd.js +1 -0
  651. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-623aab0eae7621dd.js +1 -0
  652. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-623aab0eae7621dd.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-623aab0eae7621dd.js +1 -0
  654. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-623aab0eae7621dd.js +1 -0
  655. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-623aab0eae7621dd.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-623aab0eae7621dd.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-623aab0eae7621dd.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-623aab0eae7621dd.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-623aab0eae7621dd.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-623aab0eae7621dd.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/v1/route-623aab0eae7621dd.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-623aab0eae7621dd.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-623aab0eae7621dd.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-623aab0eae7621dd.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-623aab0eae7621dd.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-623aab0eae7621dd.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-623aab0eae7621dd.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-623aab0eae7621dd.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-623aab0eae7621dd.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-623aab0eae7621dd.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/version/route-623aab0eae7621dd.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-623aab0eae7621dd.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/version/update/route-623aab0eae7621dd.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/layout-e85d66c43d0d8d11.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/login/page-de475718e766fd4f.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-623aab0eae7621dd.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/page-623aab0eae7621dd.js +1 -0
  678. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-623aab0eae7621dd.js +1 -0
  679. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-623aab0eae7621dd.js +1 -0
  680. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-623aab0eae7621dd.js +1 -0
  681. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-623aab0eae7621dd.js +1 -0
  682. package/app/.next-cli-build/static/chunks/webpack-8e4add81f5de5a7c.js +1 -0
  683. package/app/.next-cli-build/static/css/50fcf2faa21a2f51.css +1 -0
  684. package/app/.next-cli-build/static/css/9629ab5bd5b43cee.css +1 -0
  685. package/app/.next-cli-build/static/gFETsmw041ETqRuKG7h8T/_buildManifest.js +1 -0
  686. package/app/package.json +1 -1
  687. package/package.json +1 -1
  688. package/app/.next-cli-build/server/chunks/1306.js +0 -1
  689. package/app/.next-cli-build/server/chunks/2760.js +0 -1
  690. package/app/.next-cli-build/server/chunks/3449.js +0 -1
  691. package/app/.next-cli-build/server/chunks/4190.js +0 -1
  692. package/app/.next-cli-build/server/chunks/4613.js +0 -11
  693. package/app/.next-cli-build/server/chunks/6708.js +0 -1
  694. package/app/.next-cli-build/server/chunks/7066.js +0 -1
  695. package/app/.next-cli-build/server/chunks/7121.js +0 -1
  696. package/app/.next-cli-build/server/chunks/7911.js +0 -1
  697. package/app/.next-cli-build/static/chunks/1181-0ec07de00d6d9223.js +0 -5
  698. package/app/.next-cli-build/static/chunks/6808-ada8d917f8f60e64.js +0 -1
  699. package/app/.next-cli-build/static/chunks/8720-ff2fbc98f7d4d51f.js +0 -11
  700. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-54868dffe16b0718.js +0 -1
  701. package/app/.next-cli-build/static/chunks/app/_global-error/page-4efca9d5e21a8e73.js +0 -1
  702. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-4efca9d5e21a8e73.js +0 -1
  703. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-4efca9d5e21a8e73.js +0 -1
  704. package/app/.next-cli-build/static/chunks/app/api/auth/member-login/route-4efca9d5e21a8e73.js +0 -1
  705. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-4efca9d5e21a8e73.js +0 -1
  706. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-4efca9d5e21a8e73.js +0 -1
  707. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-4efca9d5e21a8e73.js +0 -1
  708. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-4efca9d5e21a8e73.js +0 -1
  709. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-4efca9d5e21a8e73.js +0 -1
  710. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-4efca9d5e21a8e73.js +0 -1
  711. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-4efca9d5e21a8e73.js +0 -1
  712. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-4efca9d5e21a8e73.js +0 -1
  713. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-4efca9d5e21a8e73.js +0 -1
  714. package/app/.next-cli-build/static/chunks/app/api/branding/route-4efca9d5e21a8e73.js +0 -1
  715. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-4efca9d5e21a8e73.js +0 -1
  716. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-4efca9d5e21a8e73.js +0 -1
  717. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-4efca9d5e21a8e73.js +0 -1
  718. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-4efca9d5e21a8e73.js +0 -1
  719. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-4efca9d5e21a8e73.js +0 -1
  720. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-4efca9d5e21a8e73.js +0 -1
  721. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-4efca9d5e21a8e73.js +0 -1
  722. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-4efca9d5e21a8e73.js +0 -1
  723. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-4efca9d5e21a8e73.js +0 -1
  724. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-4efca9d5e21a8e73.js +0 -1
  725. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-4efca9d5e21a8e73.js +0 -1
  726. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-4efca9d5e21a8e73.js +0 -1
  727. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-4efca9d5e21a8e73.js +0 -1
  728. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-4efca9d5e21a8e73.js +0 -1
  729. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-4efca9d5e21a8e73.js +0 -1
  730. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-4efca9d5e21a8e73.js +0 -1
  731. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-4efca9d5e21a8e73.js +0 -1
  732. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-4efca9d5e21a8e73.js +0 -1
  733. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-4efca9d5e21a8e73.js +0 -1
  734. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-4efca9d5e21a8e73.js +0 -1
  735. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-4efca9d5e21a8e73.js +0 -1
  736. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-4efca9d5e21a8e73.js +0 -1
  737. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-4efca9d5e21a8e73.js +0 -1
  738. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-4efca9d5e21a8e73.js +0 -1
  739. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-4efca9d5e21a8e73.js +0 -1
  740. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-4efca9d5e21a8e73.js +0 -1
  741. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-4efca9d5e21a8e73.js +0 -1
  742. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-4efca9d5e21a8e73.js +0 -1
  743. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-4efca9d5e21a8e73.js +0 -1
  744. package/app/.next-cli-build/static/chunks/app/api/combos/route-4efca9d5e21a8e73.js +0 -1
  745. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-4efca9d5e21a8e73.js +0 -1
  746. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-4efca9d5e21a8e73.js +0 -1
  747. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-4efca9d5e21a8e73.js +0 -1
  748. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-4efca9d5e21a8e73.js +0 -1
  749. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-4efca9d5e21a8e73.js +0 -1
  750. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-4efca9d5e21a8e73.js +0 -1
  751. package/app/.next-cli-build/static/chunks/app/api/health/route-4efca9d5e21a8e73.js +0 -1
  752. package/app/.next-cli-build/static/chunks/app/api/init/route-4efca9d5e21a8e73.js +0 -1
  753. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-4efca9d5e21a8e73.js +0 -1
  754. package/app/.next-cli-build/static/chunks/app/api/keys/route-4efca9d5e21a8e73.js +0 -1
  755. package/app/.next-cli-build/static/chunks/app/api/locale/route-4efca9d5e21a8e73.js +0 -1
  756. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-4efca9d5e21a8e73.js +0 -1
  757. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-4efca9d5e21a8e73.js +0 -1
  758. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-4efca9d5e21a8e73.js +0 -1
  759. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-4efca9d5e21a8e73.js +0 -1
  760. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-4efca9d5e21a8e73.js +0 -1
  761. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-4efca9d5e21a8e73.js +0 -1
  762. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-4efca9d5e21a8e73.js +0 -1
  763. package/app/.next-cli-build/static/chunks/app/api/member/quota/route-4efca9d5e21a8e73.js +0 -1
  764. package/app/.next-cli-build/static/chunks/app/api/member/usage/route-4efca9d5e21a8e73.js +0 -1
  765. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-4efca9d5e21a8e73.js +0 -1
  766. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-4efca9d5e21a8e73.js +0 -1
  767. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-4efca9d5e21a8e73.js +0 -1
  768. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-4efca9d5e21a8e73.js +0 -1
  769. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-4efca9d5e21a8e73.js +0 -1
  770. package/app/.next-cli-build/static/chunks/app/api/models/route-4efca9d5e21a8e73.js +0 -1
  771. package/app/.next-cli-build/static/chunks/app/api/models/test/route-4efca9d5e21a8e73.js +0 -1
  772. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-4efca9d5e21a8e73.js +0 -1
  773. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-4efca9d5e21a8e73.js +0 -1
  774. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-4efca9d5e21a8e73.js +0 -1
  775. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-4efca9d5e21a8e73.js +0 -1
  776. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-4efca9d5e21a8e73.js +0 -1
  777. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-4efca9d5e21a8e73.js +0 -1
  778. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-4efca9d5e21a8e73.js +0 -1
  779. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-4efca9d5e21a8e73.js +0 -1
  780. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-4efca9d5e21a8e73.js +0 -1
  781. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-4efca9d5e21a8e73.js +0 -1
  782. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-4efca9d5e21a8e73.js +0 -1
  783. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-4efca9d5e21a8e73.js +0 -1
  784. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-4efca9d5e21a8e73.js +0 -1
  785. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-4efca9d5e21a8e73.js +0 -1
  786. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-4efca9d5e21a8e73.js +0 -1
  787. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-4efca9d5e21a8e73.js +0 -1
  788. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-4efca9d5e21a8e73.js +0 -1
  789. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-4efca9d5e21a8e73.js +0 -1
  790. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-4efca9d5e21a8e73.js +0 -1
  791. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-4efca9d5e21a8e73.js +0 -1
  792. package/app/.next-cli-build/static/chunks/app/api/pricing/route-4efca9d5e21a8e73.js +0 -1
  793. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-4efca9d5e21a8e73.js +0 -1
  794. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-4efca9d5e21a8e73.js +0 -1
  795. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-4efca9d5e21a8e73.js +0 -1
  796. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-4efca9d5e21a8e73.js +0 -1
  797. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-4efca9d5e21a8e73.js +0 -1
  798. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-4efca9d5e21a8e73.js +0 -1
  799. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-4efca9d5e21a8e73.js +0 -1
  800. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-4efca9d5e21a8e73.js +0 -1
  801. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-4efca9d5e21a8e73.js +0 -1
  802. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-4efca9d5e21a8e73.js +0 -1
  803. package/app/.next-cli-build/static/chunks/app/api/providers/route-4efca9d5e21a8e73.js +0 -1
  804. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-4efca9d5e21a8e73.js +0 -1
  805. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-4efca9d5e21a8e73.js +0 -1
  806. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-4efca9d5e21a8e73.js +0 -1
  807. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-4efca9d5e21a8e73.js +0 -1
  808. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-4efca9d5e21a8e73.js +0 -1
  809. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-4efca9d5e21a8e73.js +0 -1
  810. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-4efca9d5e21a8e73.js +0 -1
  811. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-4efca9d5e21a8e73.js +0 -1
  812. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-4efca9d5e21a8e73.js +0 -1
  813. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-4efca9d5e21a8e73.js +0 -1
  814. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-4efca9d5e21a8e73.js +0 -1
  815. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-4efca9d5e21a8e73.js +0 -1
  816. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-4efca9d5e21a8e73.js +0 -1
  817. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-4efca9d5e21a8e73.js +0 -1
  818. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-4efca9d5e21a8e73.js +0 -1
  819. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-4efca9d5e21a8e73.js +0 -1
  820. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-4efca9d5e21a8e73.js +0 -1
  821. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-4efca9d5e21a8e73.js +0 -1
  822. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-4efca9d5e21a8e73.js +0 -1
  823. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-4efca9d5e21a8e73.js +0 -1
  824. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-4efca9d5e21a8e73.js +0 -1
  825. package/app/.next-cli-build/static/chunks/app/api/settings/route-4efca9d5e21a8e73.js +0 -1
  826. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-4efca9d5e21a8e73.js +0 -1
  827. package/app/.next-cli-build/static/chunks/app/api/tags/route-4efca9d5e21a8e73.js +0 -1
  828. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-4efca9d5e21a8e73.js +0 -1
  829. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-4efca9d5e21a8e73.js +0 -1
  830. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-4efca9d5e21a8e73.js +0 -1
  831. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-4efca9d5e21a8e73.js +0 -1
  832. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-4efca9d5e21a8e73.js +0 -1
  833. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-4efca9d5e21a8e73.js +0 -1
  834. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-4efca9d5e21a8e73.js +0 -1
  835. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-4efca9d5e21a8e73.js +0 -1
  836. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-4efca9d5e21a8e73.js +0 -1
  837. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-4efca9d5e21a8e73.js +0 -1
  838. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-4efca9d5e21a8e73.js +0 -1
  839. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-4efca9d5e21a8e73.js +0 -1
  840. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-4efca9d5e21a8e73.js +0 -1
  841. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-4efca9d5e21a8e73.js +0 -1
  842. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-4efca9d5e21a8e73.js +0 -1
  843. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-4efca9d5e21a8e73.js +0 -1
  844. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-4efca9d5e21a8e73.js +0 -1
  845. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-4efca9d5e21a8e73.js +0 -1
  846. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-4efca9d5e21a8e73.js +0 -1
  847. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-4efca9d5e21a8e73.js +0 -1
  848. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-4efca9d5e21a8e73.js +0 -1
  849. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-4efca9d5e21a8e73.js +0 -1
  850. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-4efca9d5e21a8e73.js +0 -1
  851. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-4efca9d5e21a8e73.js +0 -1
  852. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-4efca9d5e21a8e73.js +0 -1
  853. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-4efca9d5e21a8e73.js +0 -1
  854. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-4efca9d5e21a8e73.js +0 -1
  855. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-4efca9d5e21a8e73.js +0 -1
  856. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-4efca9d5e21a8e73.js +0 -1
  857. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-4efca9d5e21a8e73.js +0 -1
  858. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-4efca9d5e21a8e73.js +0 -1
  859. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-4efca9d5e21a8e73.js +0 -1
  860. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-4efca9d5e21a8e73.js +0 -1
  861. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-4efca9d5e21a8e73.js +0 -1
  862. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-4efca9d5e21a8e73.js +0 -1
  863. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-4efca9d5e21a8e73.js +0 -1
  864. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-4efca9d5e21a8e73.js +0 -1
  865. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-4efca9d5e21a8e73.js +0 -1
  866. package/app/.next-cli-build/static/chunks/app/api/v1/route-4efca9d5e21a8e73.js +0 -1
  867. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-4efca9d5e21a8e73.js +0 -1
  868. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-4efca9d5e21a8e73.js +0 -1
  869. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-4efca9d5e21a8e73.js +0 -1
  870. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-4efca9d5e21a8e73.js +0 -1
  871. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-4efca9d5e21a8e73.js +0 -1
  872. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-4efca9d5e21a8e73.js +0 -1
  873. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-4efca9d5e21a8e73.js +0 -1
  874. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-4efca9d5e21a8e73.js +0 -1
  875. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-4efca9d5e21a8e73.js +0 -1
  876. package/app/.next-cli-build/static/chunks/app/api/version/route-4efca9d5e21a8e73.js +0 -1
  877. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-4efca9d5e21a8e73.js +0 -1
  878. package/app/.next-cli-build/static/chunks/app/api/version/update/route-4efca9d5e21a8e73.js +0 -1
  879. package/app/.next-cli-build/static/chunks/app/layout-86eb4a08a02ce4a1.js +0 -1
  880. package/app/.next-cli-build/static/chunks/app/login/page-d83e30ec1124bfd2.js +0 -1
  881. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-4efca9d5e21a8e73.js +0 -1
  882. package/app/.next-cli-build/static/chunks/app/page-4efca9d5e21a8e73.js +0 -1
  883. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-4efca9d5e21a8e73.js +0 -1
  884. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-4efca9d5e21a8e73.js +0 -1
  885. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-4efca9d5e21a8e73.js +0 -1
  886. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-4efca9d5e21a8e73.js +0 -1
  887. package/app/.next-cli-build/static/chunks/webpack-245dfba5b2c81869.js +0 -1
  888. package/app/.next-cli-build/static/css/2e1a9a933f2e668f.css +0 -1
  889. package/app/.next-cli-build/static/css/75671d0f3304bcbd.css +0 -1
  890. package/app/.next-cli-build/static/xPeyz6GG22oURgdZz1qOe/_buildManifest.js +0 -1
  891. package/app/cli/.build-home/AppData/Roaming/lanzz-router/db/data.sqlite +0 -0
  892. package/app/cli/.build-home/AppData/Roaming/lanzz-router/db/data.sqlite-shm +0 -0
  893. package/app/cli/.build-home/AppData/Roaming/lanzz-router/db/data.sqlite-wal +0 -0
  894. package/app/cli/.build-home/AppData/Roaming/lanzz-router/jwt-secret +0 -1
  895. package/app/cli/.build-home/AppData/Roaming/lanzz-router/machine-id +0 -1
  896. package/app/cli/.build-home/AppData/Roaming/nextjs-nodejs/Config/config.json +0 -7
  897. /package/app/.next-cli-build/static/{xPeyz6GG22oURgdZz1qOe → gFETsmw041ETqRuKG7h8T}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- "use strict";exports.id=1679,exports.ids=[1679],exports.modules={7768:function(a,b,c){var d=this&&this.__awaiter||function(a,b,c,d){return new(c||(c=Promise))(function(e,f){function g(a){try{i(d.next(a))}catch(a){f(a)}}function h(a){try{i(d.throw(a))}catch(a){f(a)}}function i(a){var b;a.done?e(a.value):((b=a.value)instanceof c?b:new c(function(a){a(b)})).then(g,h)}i((d=d.apply(a,b||[])).next())})};Object.defineProperty(b,"__esModule",{value:!0}),b.SocksClientError=b.SocksClient=void 0;let e=c(94735),f=c(91645),g=c(73419),h=c(60485),i=c(42045),j=c(21783),k=c(26174);Object.defineProperty(b,"SocksClientError",{enumerable:!0,get:function(){return k.SocksClientError}});let l=c(64367);class m extends e.EventEmitter{constructor(a){super(),this.options=Object.assign({},a),(0,i.validateSocksClientOptions)(a),this.setState(h.SocksClientState.Created)}static createConnection(a,b){return new Promise((c,d)=>{try{(0,i.validateSocksClientOptions)(a,["connect"])}catch(a){if("function"==typeof b)return b(a),c(a);return d(a)}let e=new m(a);e.connect(a.existing_socket),e.once("established",a=>{e.removeAllListeners(),"function"==typeof b&&b(null,a),c(a)}),e.once("error",a=>{e.removeAllListeners(),"function"==typeof b?(b(a),c(a)):d(a)})})}static createConnectionChain(a,b){return new Promise((c,e)=>d(this,void 0,void 0,function*(){try{(0,i.validateSocksClientChainOptions)(a)}catch(a){if("function"==typeof b)return b(a),c(a);return e(a)}a.randomizeChain&&(0,k.shuffleArray)(a.proxies);try{let d;for(let b=0;b<a.proxies.length;b++){let c=a.proxies[b],e=b===a.proxies.length-1?a.destination:{host:a.proxies[b+1].host||a.proxies[b+1].ipaddress,port:a.proxies[b+1].port},f=yield m.createConnection({command:"connect",proxy:c,destination:e,existing_socket:d});d=d||f.socket}"function"==typeof b&&b(null,{socket:d}),c({socket:d})}catch(a){"function"==typeof b?(b(a),c(a)):e(a)}}))}static createUDPFrame(a){let b=new g.SmartBuffer;return b.writeUInt16BE(0),b.writeUInt8(a.frameNumber||0),f.isIPv4(a.remoteHost.host)?(b.writeUInt8(h.Socks5HostType.IPv4),b.writeUInt32BE((0,i.ipv4ToInt32)(a.remoteHost.host))):f.isIPv6(a.remoteHost.host)?(b.writeUInt8(h.Socks5HostType.IPv6),b.writeBuffer((0,i.ipToBuffer)(a.remoteHost.host))):(b.writeUInt8(h.Socks5HostType.Hostname),b.writeUInt8(Buffer.byteLength(a.remoteHost.host)),b.writeString(a.remoteHost.host)),b.writeUInt16BE(a.remoteHost.port),b.writeBuffer(a.data),b.toBuffer()}static parseUDPFrame(a){let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c=b.readUInt8(),d=b.readUInt8();return{frameNumber:c,remoteHost:{host:d===h.Socks5HostType.IPv4?(0,i.int32ToIpv4)(b.readUInt32BE()):d===h.Socks5HostType.IPv6?l.Address6.fromByteArray(Array.from(b.readBuffer(16))).canonicalForm():b.readString(b.readUInt8()),port:b.readUInt16BE()},data:b.readBuffer()}}setState(a){this.state!==h.SocksClientState.Error&&(this.state=a)}connect(a){this.onDataReceived=a=>this.onDataReceivedHandler(a),this.onClose=()=>this.onCloseHandler(),this.onError=a=>this.onErrorHandler(a),this.onConnect=()=>this.onConnectHandler();let b=setTimeout(()=>this.onEstablishedTimeout(),this.options.timeout||h.DEFAULT_TIMEOUT);b.unref&&"function"==typeof b.unref&&b.unref(),a?this.socket=a:this.socket=new f.Socket,this.socket.once("close",this.onClose),this.socket.once("error",this.onError),this.socket.once("connect",this.onConnect),this.socket.on("data",this.onDataReceived),this.setState(h.SocksClientState.Connecting),this.receiveBuffer=new j.ReceiveBuffer,a?this.socket.emit("connect"):(this.socket.connect(this.getSocketOptions()),void 0!==this.options.set_tcp_nodelay&&null!==this.options.set_tcp_nodelay&&this.socket.setNoDelay(!!this.options.set_tcp_nodelay)),this.prependOnceListener("established",a=>{setImmediate(()=>{if(this.receiveBuffer.length>0){let b=this.receiveBuffer.get(this.receiveBuffer.length);a.socket.emit("data",b)}a.socket.resume()})})}getSocketOptions(){return Object.assign(Object.assign({},this.options.socket_options),{host:this.options.proxy.host||this.options.proxy.ipaddress,port:this.options.proxy.port})}onEstablishedTimeout(){this.state!==h.SocksClientState.Established&&this.state!==h.SocksClientState.BoundWaitingForConnection&&this.closeSocket(h.ERRORS.ProxyConnectionTimedOut)}onConnectHandler(){this.setState(h.SocksClientState.Connected),4===this.options.proxy.type?this.sendSocks4InitialHandshake():this.sendSocks5InitialHandshake(),this.setState(h.SocksClientState.SentInitialHandshake)}onDataReceivedHandler(a){this.receiveBuffer.append(a),this.processData()}processData(){for(;this.state!==h.SocksClientState.Established&&this.state!==h.SocksClientState.Error&&this.receiveBuffer.length>=this.nextRequiredPacketBufferSize;)if(this.state===h.SocksClientState.SentInitialHandshake)4===this.options.proxy.type?this.handleSocks4FinalHandshakeResponse():this.handleInitialSocks5HandshakeResponse();else if(this.state===h.SocksClientState.SentAuthentication)this.handleInitialSocks5AuthenticationHandshakeResponse();else if(this.state===h.SocksClientState.SentFinalHandshake)this.handleSocks5FinalHandshakeResponse();else if(this.state===h.SocksClientState.BoundWaitingForConnection)4===this.options.proxy.type?this.handleSocks4IncomingConnectionResponse():this.handleSocks5IncomingConnectionResponse();else{this.closeSocket(h.ERRORS.InternalError);break}}onCloseHandler(){this.closeSocket(h.ERRORS.SocketClosed)}onErrorHandler(a){this.closeSocket(a.message)}removeInternalSocketHandlers(){this.socket.pause(),this.socket.removeListener("data",this.onDataReceived),this.socket.removeListener("close",this.onClose),this.socket.removeListener("error",this.onError),this.socket.removeListener("connect",this.onConnect)}closeSocket(a){this.state!==h.SocksClientState.Error&&(this.setState(h.SocksClientState.Error),this.socket.destroy(),this.removeInternalSocketHandlers(),this.emit("error",new k.SocksClientError(a,this.options)))}sendSocks4InitialHandshake(){let a=this.options.proxy.userId||"",b=new g.SmartBuffer;b.writeUInt8(4),b.writeUInt8(h.SocksCommand[this.options.command]),b.writeUInt16BE(this.options.destination.port),f.isIPv4(this.options.destination.host)?(b.writeBuffer((0,i.ipToBuffer)(this.options.destination.host)),b.writeStringNT(a)):(b.writeUInt8(0),b.writeUInt8(0),b.writeUInt8(0),b.writeUInt8(1),b.writeStringNT(a),b.writeStringNT(this.options.destination.host)),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks4Response,this.socket.write(b.toBuffer())}handleSocks4FinalHandshakeResponse(){let a=this.receiveBuffer.get(8);if(a[1]!==h.Socks4Response.Granted)this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedConnection} - (${h.Socks4Response[a[1]]})`);else if(h.SocksCommand[this.options.command]===h.SocksCommand.bind){let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c={port:b.readUInt16BE(),host:(0,i.int32ToIpv4)(b.readUInt32BE())};"0.0.0.0"===c.host&&(c.host=this.options.proxy.ipaddress),this.setState(h.SocksClientState.BoundWaitingForConnection),this.emit("bound",{remoteHost:c,socket:this.socket})}else this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{socket:this.socket})}handleSocks4IncomingConnectionResponse(){let a=this.receiveBuffer.get(8);if(a[1]!==h.Socks4Response.Granted)this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedIncomingBoundConnection} - (${h.Socks4Response[a[1]]})`);else{let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c={port:b.readUInt16BE(),host:(0,i.int32ToIpv4)(b.readUInt32BE())};this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:c,socket:this.socket})}}sendSocks5InitialHandshake(){let a=new g.SmartBuffer,b=[h.Socks5Auth.NoAuth];for(let c of((this.options.proxy.userId||this.options.proxy.password)&&b.push(h.Socks5Auth.UserPass),void 0!==this.options.proxy.custom_auth_method&&b.push(this.options.proxy.custom_auth_method),a.writeUInt8(5),a.writeUInt8(b.length),b))a.writeUInt8(c);this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5InitialHandshakeResponse,this.socket.write(a.toBuffer()),this.setState(h.SocksClientState.SentInitialHandshake)}handleInitialSocks5HandshakeResponse(){let a=this.receiveBuffer.get(2);5!==a[0]?this.closeSocket(h.ERRORS.InvalidSocks5IntiailHandshakeSocksVersion):a[1]===h.SOCKS5_NO_ACCEPTABLE_AUTH?this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeNoAcceptedAuthType):a[1]===h.Socks5Auth.NoAuth?(this.socks5ChosenAuthType=h.Socks5Auth.NoAuth,this.sendSocks5CommandRequest()):a[1]===h.Socks5Auth.UserPass?(this.socks5ChosenAuthType=h.Socks5Auth.UserPass,this.sendSocks5UserPassAuthentication()):a[1]===this.options.proxy.custom_auth_method?(this.socks5ChosenAuthType=this.options.proxy.custom_auth_method,this.sendSocks5CustomAuthentication()):this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeUnknownAuthType)}sendSocks5UserPassAuthentication(){let a=this.options.proxy.userId||"",b=this.options.proxy.password||"",c=new g.SmartBuffer;c.writeUInt8(1),c.writeUInt8(Buffer.byteLength(a)),c.writeString(a),c.writeUInt8(Buffer.byteLength(b)),c.writeString(b),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5UserPassAuthenticationResponse,this.socket.write(c.toBuffer()),this.setState(h.SocksClientState.SentAuthentication)}sendSocks5CustomAuthentication(){return d(this,void 0,void 0,function*(){this.nextRequiredPacketBufferSize=this.options.proxy.custom_auth_response_size,this.socket.write((yield this.options.proxy.custom_auth_request_handler())),this.setState(h.SocksClientState.SentAuthentication)})}handleSocks5CustomAuthHandshakeResponse(a){return d(this,void 0,void 0,function*(){return yield this.options.proxy.custom_auth_response_handler(a)})}handleSocks5AuthenticationNoAuthHandshakeResponse(a){return d(this,void 0,void 0,function*(){return 0===a[1]})}handleSocks5AuthenticationUserPassHandshakeResponse(a){return d(this,void 0,void 0,function*(){return 0===a[1]})}handleInitialSocks5AuthenticationHandshakeResponse(){return d(this,void 0,void 0,function*(){this.setState(h.SocksClientState.ReceivedAuthenticationResponse);let a=!1;this.socks5ChosenAuthType===h.Socks5Auth.NoAuth?a=yield this.handleSocks5AuthenticationNoAuthHandshakeResponse(this.receiveBuffer.get(2)):this.socks5ChosenAuthType===h.Socks5Auth.UserPass?a=yield this.handleSocks5AuthenticationUserPassHandshakeResponse(this.receiveBuffer.get(2)):this.socks5ChosenAuthType===this.options.proxy.custom_auth_method&&(a=yield this.handleSocks5CustomAuthHandshakeResponse(this.receiveBuffer.get(this.options.proxy.custom_auth_response_size))),a?this.sendSocks5CommandRequest():this.closeSocket(h.ERRORS.Socks5AuthenticationFailed)})}sendSocks5CommandRequest(){let a=new g.SmartBuffer;a.writeUInt8(5),a.writeUInt8(h.SocksCommand[this.options.command]),a.writeUInt8(0),f.isIPv4(this.options.destination.host)?(a.writeUInt8(h.Socks5HostType.IPv4),a.writeBuffer((0,i.ipToBuffer)(this.options.destination.host))):f.isIPv6(this.options.destination.host)?(a.writeUInt8(h.Socks5HostType.IPv6),a.writeBuffer((0,i.ipToBuffer)(this.options.destination.host))):(a.writeUInt8(h.Socks5HostType.Hostname),a.writeUInt8(this.options.destination.host.length),a.writeString(this.options.destination.host)),a.writeUInt16BE(this.options.destination.port),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader,this.socket.write(a.toBuffer()),this.setState(h.SocksClientState.SentFinalHandshake)}handleSocks5FinalHandshakeResponse(){let a=this.receiveBuffer.peek(5);if(5!==a[0]||a[1]!==h.Socks5Response.Granted)this.closeSocket(`${h.ERRORS.InvalidSocks5FinalHandshakeRejected} - ${h.Socks5Response[a[1]]}`);else{let b,c,d=a[3];if(d===h.Socks5HostType.IPv4){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),"0.0.0.0"===(b={host:(0,i.int32ToIpv4)(c.readUInt32BE()),port:c.readUInt16BE()}).host&&(b.host=this.options.proxy.ipaddress)}else if(d===h.Socks5HostType.Hostname){let d=a[4],e=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(d);if(this.receiveBuffer.length<e){this.nextRequiredPacketBufferSize=e;return}b={host:(c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(e).slice(5))).readString(d),port:c.readUInt16BE()}}else if(d===h.Socks5HostType.IPv6){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),b={host:l.Address6.fromByteArray(Array.from(c.readBuffer(16))).canonicalForm(),port:c.readUInt16BE()}}this.setState(h.SocksClientState.ReceivedFinalResponse),h.SocksCommand[this.options.command]===h.SocksCommand.connect?(this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket})):h.SocksCommand[this.options.command]===h.SocksCommand.bind?(this.setState(h.SocksClientState.BoundWaitingForConnection),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader,this.emit("bound",{remoteHost:b,socket:this.socket})):h.SocksCommand[this.options.command]===h.SocksCommand.associate&&(this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket}))}}handleSocks5IncomingConnectionResponse(){let a=this.receiveBuffer.peek(5);if(5!==a[0]||a[1]!==h.Socks5Response.Granted)this.closeSocket(`${h.ERRORS.Socks5ProxyRejectedIncomingBoundConnection} - ${h.Socks5Response[a[1]]}`);else{let b,c,d=a[3];if(d===h.Socks5HostType.IPv4){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),"0.0.0.0"===(b={host:(0,i.int32ToIpv4)(c.readUInt32BE()),port:c.readUInt16BE()}).host&&(b.host=this.options.proxy.ipaddress)}else if(d===h.Socks5HostType.Hostname){let d=a[4],e=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(d);if(this.receiveBuffer.length<e){this.nextRequiredPacketBufferSize=e;return}b={host:(c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(e).slice(5))).readString(d),port:c.readUInt16BE()}}else if(d===h.Socks5HostType.IPv6){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),b={host:l.Address6.fromByteArray(Array.from(c.readBuffer(16))).canonicalForm(),port:c.readUInt16BE()}}this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket})}}get socksClientOptions(){return Object.assign({},this.options)}}b.SocksClient=m},13092:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(7768),b)},21783:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ReceiveBuffer=void 0;class c{constructor(a=4096){this.buffer=Buffer.allocUnsafe(a),this.offset=0,this.originalSize=a}get length(){return this.offset}append(a){if(!Buffer.isBuffer(a))throw Error("Attempted to append a non-buffer instance to ReceiveBuffer.");if(this.offset+a.length>=this.buffer.length){let b=this.buffer;this.buffer=Buffer.allocUnsafe(Math.max(this.buffer.length+this.originalSize,this.buffer.length+a.length)),b.copy(this.buffer)}return a.copy(this.buffer,this.offset),this.offset+=a.length}peek(a){if(a>this.offset)throw Error("Attempted to read beyond the bounds of the managed internal data.");return this.buffer.slice(0,a)}get(a){if(a>this.offset)throw Error("Attempted to read beyond the bounds of the managed internal data.");let b=Buffer.allocUnsafe(a);return this.buffer.slice(0,a).copy(b),this.buffer.copyWithin(0,a,a+this.offset-a),this.offset-=a,b}}b.ReceiveBuffer=c},25254:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});let d=c(79428),e={INVALID_ENCODING:"Invalid encoding provided. Please specify a valid encoding the internal Node.js Buffer supports.",INVALID_SMARTBUFFER_SIZE:"Invalid size provided. Size must be a valid integer greater than zero.",INVALID_SMARTBUFFER_BUFFER:"Invalid Buffer provided in SmartBufferOptions.",INVALID_SMARTBUFFER_OBJECT:"Invalid SmartBufferOptions object supplied to SmartBuffer constructor or factory methods.",INVALID_OFFSET:"An invalid offset value was provided.",INVALID_OFFSET_NON_NUMBER:"An invalid offset value was provided. A numeric value is required.",INVALID_LENGTH:"An invalid length value was provided.",INVALID_LENGTH_NON_NUMBER:"An invalid length value was provived. A numeric value is required.",INVALID_TARGET_OFFSET:"Target offset is beyond the bounds of the internal SmartBuffer data.",INVALID_TARGET_LENGTH:"Specified length value moves cursor beyong the bounds of the internal SmartBuffer data.",INVALID_READ_BEYOND_BOUNDS:"Attempted to read beyond the bounds of the managed data.",INVALID_WRITE_BEYOND_BOUNDS:"Attempted to write beyond the bounds of the managed data."};function f(a){var b;return"number"==typeof a&&isFinite(a)&&"number"==typeof(b=a)&&isFinite(b)&&Math.floor(b)===b}function g(a,b){if("number"==typeof a){if(!f(a)||a<0)throw Error(b?e.INVALID_OFFSET:e.INVALID_LENGTH)}else throw Error(b?e.INVALID_OFFSET_NON_NUMBER:e.INVALID_LENGTH_NON_NUMBER)}b.ERRORS=e,b.checkEncoding=function(a){if(!d.Buffer.isEncoding(a))throw Error(e.INVALID_ENCODING)},b.isFiniteInteger=f,b.checkLengthValue=function(a){g(a,!1)},b.checkOffsetValue=function(a){g(a,!0)},b.checkTargetOffset=function(a,b){if(a<0||a>b.length)throw Error(e.INVALID_TARGET_OFFSET)},b.bigIntAndBufferInt64Check=function(a){if("u"<typeof BigInt)throw Error("Platform does not support JS BigInt type.");if(void 0===d.Buffer.prototype[a])throw Error(`Platform does not support Buffer.prototype.${a}.`)}},26174:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SocksClientError=void 0,b.shuffleArray=function(a){for(let b=a.length-1;b>0;b--){let c=Math.floor(Math.random()*(b+1));[a[b],a[c]]=[a[c],a[b]]}};class c extends Error{constructor(a,b){super(a),this.options=b}}b.SocksClientError=c},28673:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SPECIAL_PURPOSE=b.RE_URL_WITH_PORT=b.RE_URL=b.RE_ZONE_STRING=b.RE_SUBNET_STRING=b.RE_BAD_ADDRESS=b.RE_BAD_CHARACTERS=b.TYPES=b.SCOPES=b.GROUPS=b.BITS=void 0,b.BITS=128,b.GROUPS=8,b.SCOPES={0:"Reserved",1:"Interface local",2:"Link local",4:"Admin local",5:"Site local",8:"Organization local",14:"Global",15:"Reserved"},b.TYPES={"ff01::1/128":"Multicast (All nodes on this interface)","ff01::2/128":"Multicast (All routers on this interface)","ff02::1/128":"Multicast (All nodes on this link)","ff02::2/128":"Multicast (All routers on this link)","ff05::2/128":"Multicast (All routers in this site)","ff02::5/128":"Multicast (OSPFv3 AllSPF routers)","ff02::6/128":"Multicast (OSPFv3 AllDR routers)","ff02::9/128":"Multicast (RIP routers)","ff02::a/128":"Multicast (EIGRP routers)","ff02::d/128":"Multicast (PIM routers)","ff02::16/128":"Multicast (MLDv2 reports)","ff01::fb/128":"Multicast (mDNSv6)","ff02::fb/128":"Multicast (mDNSv6)","ff05::fb/128":"Multicast (mDNSv6)","ff02::1:2/128":"Multicast (All DHCP servers and relay agents on this link)","ff05::1:2/128":"Multicast (All DHCP servers and relay agents in this site)","ff02::1:3/128":"Multicast (All DHCP servers on this link)","ff05::1:3/128":"Multicast (All DHCP servers in this site)","::/128":"Unspecified","::1/128":"Loopback","::ffff:0:0/96":"IPv4-mapped","ff00::/8":"Multicast","fe80::/10":"Link-local unicast","fc00::/7":"Unique local","2001::/32":"Teredo","2001:2::/48":"Benchmarking","2002::/16":"6to4","2001:db8::/32":"Documentation","3fff::/20":"Documentation","100::/64":"Discard-only","fec0::/10":"Site-local unicast (deprecated)","::/96":"IPv4-compatible (deprecated)","64:ff9b::/96":"NAT64 (well-known)","64:ff9b:1::/48":"NAT64 (local-use)"},b.RE_BAD_CHARACTERS=/([^0-9a-f:/%])/gi,b.RE_BAD_ADDRESS=/([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/gi,b.RE_SUBNET_STRING=/\/\d{1,3}(?=%|$)/,b.RE_ZONE_STRING=/%.*$/,b.RE_URL=/^(?:\[([0-9a-f:.]+)\]|([0-9a-f:.]+))(?:[/?#].*)?$/i,b.RE_URL_WITH_PORT=/^\[([0-9a-f:.]+)\]:([0-9]{1,5})(?:[/?#].*)?$/i,b.SPECIAL_PURPOSE=[["::1/128","Loopback Address",!1],["::/128","Unspecified Address",!1],["::ffff:0:0/96","IPv4-mapped Address",!1],["64:ff9b::/96","IPv4-IPv6 Translat.",!0],["64:ff9b:1::/48","IPv4-IPv6 Translat.",!1],["100::/64","Discard-Only Address Block",!1],["100:0:0:1::/64","Dummy IPv6 Prefix",!1],["2001::/23","IETF Protocol Assignments",!1],["2001::/32","TEREDO",!1],["2001:1::1/128","Port Control Protocol Anycast",!0],["2001:1::2/128","Traversal Using Relays around NAT Anycast",!0],["2001:1::3/128","DNS-SD Service Registration Protocol Anycast",!0],["2001:2::/48","Benchmarking",!1],["2001:3::/32","AMT",!0],["2001:4:112::/48","AS112-v6",!0],["2001:10::/28","Deprecated (previously ORCHID)",null],["2001:20::/28","ORCHIDv2",!0],["2001:30::/28","Drone Remote ID Protocol Entity Tags (DETs) Prefix",!0],["2001:db8::/32","Documentation",!1],["2002::/16","6to4",!1],["2620:4f:8000::/48","Direct Delegation AS112 Service",!0],["3fff::/20","Documentation",!1],["5f00::/16","Segment Routing (SRv6) SIDs",!1],["fc00::/7","Unique-Local",!1],["fe80::/10","Link-Local Unicast",!1]]},28798:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.Address6=void 0;let g=f(c(97462)),h=f(c(51835)),i=f(c(28673)),j=f(c(75737)),k=c(79440),l=c(29142),m=c(50508),n=c(97462),o=g.isCorrect(i.BITS);function p(a){if(!a)throw Error("Assertion failed.")}function q(a){return(a=a.replace(/^(0{1,})([1-9]+)$/,'<span class="parse-error">$1</span>$2')).replace(/^(0{1,})(0)$/,'<span class="parse-error">$1</span>$2')}function r(a){return parseInt(a,16).toString(16).padStart(4,"0")}function s(a){return 255&a}class t{constructor(a,b){this.addressMinusSuffix="",this.parsedSubnet="",this.subnet="/128",this.subnetMask=128,this.v4=!1,this.zone="",this.isInSubnet=g.isInSubnet,this.isHostInSubnet=g.isHostInSubnet,this.isCorrect=o,void 0===b?this.groups=i.GROUPS:this.groups=b,this.address=a;let c=i.RE_SUBNET_STRING.exec(a);if(c){if(this.parsedSubnet=c[0].replace("/",""),this.subnetMask=parseInt(this.parsedSubnet,10),this.subnet=`/${this.subnetMask}`,Number.isNaN(this.subnetMask)||this.subnetMask<0||this.subnetMask>i.BITS)throw new m.AddressError("Invalid subnet mask.");a=a.replace(i.RE_SUBNET_STRING,"")}if(/\//.test(a))throw new m.AddressError("Invalid subnet mask.");let d=a.indexOf("%");-1!==d&&/^.*$/.test(a.slice(d))&&(this.zone=a.slice(d),a=a.slice(0,d));let e=5*this.groups+5;if(a.length>e)throw new m.AddressError(`IPv6 addresses are at most ${e} characters.`);this.addressMinusSuffix=a,this.parsedAddress=this.parse(this.addressMinusSuffix)}static isValid(a){try{return new t(a),!0}catch{return!1}}static fromBigInt(a){if(a<BigInt(0)||a>(BigInt(1)<<BigInt(i.BITS))-BigInt(1))throw new m.AddressError("IPv6 BigInt must be in the range 0 to 2**128 - 1");let b=a.toString(16).padStart(32,"0"),c=[];for(let a=0;a<i.GROUPS;a++)c.push(b.slice(4*a,(a+1)*4));return new t(c.join(":"))}static fromURL(a){var b;let c,d,e,f,g=null,h=a.replace(/^[a-z][a-z0-9+.-]*:\/\//i,"");if(-1!==h.indexOf("[")&&-1!==h.indexOf("]:")){if(e="failed to parse address with port",null===(d=i.RE_URL_WITH_PORT.exec(h)))return{error:e,address:null,port:null};c=d[1],g=d[2]}else{if(e="failed to parse address from URL",null===(d=i.RE_URL.exec(h)))return{error:e,address:null,port:null};c=null!=(b=d[1])?b:d[2]}g?((g=parseInt(g,10))<0||g>65535)&&(g=null):g=null;try{f=new t(c)}catch{return{error:e,address:null,port:null}}return{address:f,port:g}}static fromAddressAndMask(a,b){let c=g.prefixLengthFromMask(new t(b).bigInt(),i.BITS);return new t(`${a}/${c}`)}static fromAddressAndWildcardMask(a,b){let c=new t(b).bigInt(),d=(BigInt(1)<<BigInt(i.BITS))-BigInt(1),e=g.prefixLengthFromMask(c^d,i.BITS);return new t(`${a}/${e}`)}static fromWildcard(a){let b;if(a.includes("%")||a.includes("/"))throw new m.AddressError("Wildcard pattern must not include a zone or CIDR suffix");let c=a.split("::");if(c.length>2)throw new m.AddressError("Wildcard pattern cannot contain more than one '::'");if(2===c.length){let a=""===c[0]?[]:c[0].split(":"),d=""===c[1]?[]:c[1].split(":"),e=i.GROUPS-a.length-d.length;if(e<1)throw new m.AddressError("Wildcard pattern with '::' has too many groups");b=[...a,...Array(e).fill("0"),...d]}else b=a.split(":");if(b.length!==i.GROUPS)throw new m.AddressError("Wildcard pattern must have 8 groups");let d=-1;for(let a=0;a<b.length;a++)if("*"===b[a])-1===d&&(d=a);else if(-1!==d)throw new m.AddressError("Wildcard `*` must only appear in trailing groups (e.g. `2001:db8:*:*:*:*:*:*`)");let e=-1===d?0:b.length-d,f=b.map(a=>"*"===a?"0":a),g=i.BITS-16*e;return new t(`${f.join(":")}/${g}`)}static fromAddress4(a){let b=new k.Address4(a),c=i.BITS-(h.BITS-b.subnetMask);return new t(`::ffff:${b.correctForm()}/${c}`)}static fromArpa(a){let b=a.replace(/(\.ip6\.arpa)?\.?$/i,"");if(!/^[0-9a-f](\.[0-9a-f]){0,31}$/i.test(b))throw new m.AddressError("Invalid 'ip6.arpa' form.");let c=b.split(".").reverse(),d=4*c.length,e=c.join("").padEnd(32,"0"),f=[];for(let a=0;a<i.GROUPS;a++)f.push(e.slice(4*a,(a+1)*4));return new t(`${f.join(":")}/${d}`)}microsoftTranscription(){return`${this.correctForm().replace(/:/g,"-")}.ipv6-literal.net`}mask(a=this.subnetMask){return this.getBitsBase2(0,a)}possibleSubnets(a=128){let b=i.BITS-this.subnetMask-Math.abs(a-i.BITS);if(b<0)return"0";var c=(BigInt("2")**BigInt(b)).toString(10);let d=/(\d+)(\d{3})/;for(;d.test(c);)c=c.replace(d,"$1,$2");return c}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(i.BITS-this.subnetMask)}`)}startAddress(){return t.fromBigInt(this._startAddress())}startAddressExclusive(){let a=BigInt("1");return t.fromBigInt(this._startAddress()+a)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(i.BITS-this.subnetMask)}`)}endAddress(){return t.fromBigInt(this._endAddress())}endAddressExclusive(){let a=BigInt("1");return t.fromBigInt(this._endAddress()-a)}offset(a){return t.fromBigInt(g.offsetBigInt(this.bigInt(),a,i.BITS,"IPv6")).withSubnetMask(this.subnetMask)}nextNetwork(){return t.fromBigInt(g.offsetBigInt(this._endAddress(),1,i.BITS,"IPv6")).withSubnetMask(this.subnetMask)}withSubnetMask(a){return new t(`${this.correctForm()}/${a}`)}subnetMaskAddress(){return t.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(i.BITS-this.subnetMask)}`))}wildcardMask(){return t.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(i.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}getScope(){let a=this.getType();return"Multicast"===a||a.startsWith("Multicast ")?i.SCOPES[parseInt(this.getBits(12,16).toString(10),10)]||"Unknown":"Link-local unicast"===a||"Loopback"===a?"Link local":"Unspecified"===a?"Unknown":"Global"}getType(){for(let a=0;a<u.length;a++){let b=u[a];if(this.isHostInSubnet(b[0]))return b[1]}return"Global unicast"}getBits(a,b){return BigInt(`0b${this.getBitsBase2(a,b)}`)}getBitsBase2(a,b){return this.binaryZeroPad().slice(a,b)}getBitsBase16(a,b){let c=b-a;if(c%4!=0)throw Error("Length of bits to retrieve must be divisible by four");return this.getBits(a,b).toString(16).padStart(c/4,"0")}getBitsPastSubnet(){return this.getBitsBase2(this.subnetMask,i.BITS)}reverseForm(a){a||(a={});let b=Math.floor(this.subnetMask/4),c=this.canonicalForm().replace(/:/g,"").split("").slice(0,b).reverse().join(".");return b>0?a.omitSuffix?c:`${c}.ip6.arpa.`:a.omitSuffix?"":"ip6.arpa."}correctForm(){let a,b=[],c=0,d=[];for(a=0;a<this.parsedAddress.length;a++){let b=parseInt(this.parsedAddress[a],16);0===b&&c++,0!==b&&c>0&&(c>1&&d.push([a-c,a-1]),c=0)}c>1&&d.push([this.parsedAddress.length-c,this.parsedAddress.length-1]);let e=d.map(a=>a[1]-a[0]+1);if(d.length>0){let a=e.indexOf(Math.max(...e));b=function(a,b){let c,d=[],e=[];for(c=0;c<a.length;c++)c<b[0]?d.push(a[c]):c>b[1]&&e.push(a[c]);return d.concat(["compact"]).concat(e)}(this.parsedAddress,d[a])}else b=this.parsedAddress;for(a=0;a<b.length;a++)"compact"!==b[a]&&(b[a]=parseInt(b[a],16).toString(16));let f=b.join(":");return(f=(f=f.replace(/^compact$/,"::")).replace(/(^compact)|(compact$)/,":")).replace(/compact/,"")}binaryZeroPad(){return void 0===this._binaryZeroPad&&(this._binaryZeroPad=this.bigInt().toString(2).padStart(i.BITS,"0")),this._binaryZeroPad}parse4in6(a){if(-1===a.indexOf("."))return a;let b=a.split(":"),c=b.slice(-1)[0],d=c.split(".");if(d.length===h.GROUPS&&d.every(a=>/^\d{1,3}$/.test(a))&&d.some(a=>/^0\d/.test(a))){let a=d.map(q).join("."),c=b.slice(0,-1).map(j.escapeHtml).join(":"),e=b.length>1?":":"";throw new m.AddressError("IPv4 addresses can't have leading zeroes.",`${c}${e}${a}`)}let e=c.match(h.RE_ADDRESS);if(e){this.parsedAddress4=e[0];let c=this.subnetMask>=96?`/${this.subnetMask-96}`:"";this.address4=new k.Address4(`${this.parsedAddress4}${c}`),this.v4=!0,b[b.length-1]=this.address4.toGroup6(),a=b.join(":")}return a}parse(a){let b=(a=this.parse4in6(a)).match(i.RE_BAD_CHARACTERS);if(b)throw new m.AddressError(`Bad character${b.length>1?"s":""} detected in address: ${b.join("")}`,a.replace(i.RE_BAD_CHARACTERS,'<span class="parse-error">$1</span>'));let c=a.match(i.RE_BAD_ADDRESS);if(c)throw new m.AddressError(`Address failed regex: ${c.join("")}`,a.replace(i.RE_BAD_ADDRESS,'<span class="parse-error">$1</span>'));let d=[],e=a.split("::");if(2===e.length){let a=e[0].split(":"),b=e[1].split(":");1===a.length&&""===a[0]&&(a=[]),1===b.length&&""===b[0]&&(b=[]);let c=this.groups-(a.length+b.length);if(!c)throw new m.AddressError("Error parsing groups");this.elidedGroups=c,this.elisionBegin=a.length,this.elisionEnd=a.length+this.elidedGroups,d=d.concat(a);for(let a=0;a<c;a++)d.push("0");d=d.concat(b)}else if(1===e.length)d=a.split(":"),this.elidedGroups=0;else throw new m.AddressError("Too many :: groups found");if((d=d.map(a=>parseInt(a,16).toString(16))).length!==this.groups)throw new m.AddressError("Incorrect number of groups found");return d}canonicalForm(){return this.parsedAddress.map(r).join(":")}decimal(){return this.parsedAddress.map(a=>parseInt(a,16).toString(10).padStart(5,"0")).join(":")}bigInt(){return BigInt(`0x${this.parsedAddress.map(r).join("")}`)}to4(){let a=this.binaryZeroPad().split(""),b=BigInt(`0b${a.slice(96,128).join("")}`).toString(16).padStart(8,"0");if(this.subnetMask>=96){let a=this.subnetMask-96,c=[];for(let a=0;a<8;a+=2)c.push(parseInt(b.slice(a,a+2),16));return new k.Address4(`${c.join(".")}/${a}`)}return k.Address4.fromHex(b)}to4in6(){let a=this.to4(),b=new t(this.parsedAddress.slice(0,6).join(":"),6).correctForm(),c="";return/:$/.test(b)||(c=":"),b+c+a.correctForm()}inspectTeredo(){let a=this.getBitsBase16(0,32),b=(this.getBits(80,96)^BigInt("0xffff")).toString(),c=k.Address4.fromHex(this.getBitsBase16(32,64)),d=this.getBits(96,128),e=k.Address4.fromHex((d^BigInt("0xffffffff")).toString(16).padStart(8,"0")),f=this.getBitsBase2(64,80),g=(0,n.testBit)(f,15),h=(0,n.testBit)(f,14),i=(0,n.testBit)(f,8),j=(0,n.testBit)(f,9),l=BigInt(`0b${f.slice(2,6)+f.slice(8,16)}`).toString(10);return{prefix:`${a.slice(0,4)}:${a.slice(4,8)}`,server4:c.address,client4:e.address,flags:f,coneNat:g,microsoft:{reserved:h,universalLocal:j,groupIndividual:i,nonce:l},udpPort:b}}inspect6to4(){let a=this.getBitsBase16(0,16),b=k.Address4.fromHex(this.getBitsBase16(16,48));return{prefix:a.slice(0,4),gateway:b.address}}to6to4(){return this.is4()?new t(["2002",this.getBitsBase16(96,112),this.getBitsBase16(112,128),":/16"].join(":")):null}static fromAddress4Nat64(a,b="64:ff9b::/96"){let c,d=new k.Address4(a),e=new t(b),f=e.subnetMask;if(32!==f&&40!==f&&48!==f&&56!==f&&64!==f&&96!==f)throw new m.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96");let g=e.binaryZeroPad(),h=d.binaryZeroPad();if(96===f)c=g.slice(0,96)+h;else{let a=64-f;c=[g.slice(0,f),h.slice(0,a),"00000000",h.slice(a),"0".repeat(56-(32-a))].join("")}let i=BigInt(`0b${c}`).toString(16).padStart(32,"0"),j=[];for(let a=0;a<8;a++)j.push(i.slice(4*a,(a+1)*4));return new t(j.join(":"))}toAddress4Nat64(a="64:ff9b::/96"){let b,c=new t(a),d=c.subnetMask;if(32!==d&&40!==d&&48!==d&&56!==d&&64!==d&&96!==d)throw new m.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96");if(!this.isHostInSubnet(c))return null;let e=this.binaryZeroPad();if(96===d)b=e.slice(96,128);else{let a=64-d;b=e.slice(d,d+a)+e.slice(72,72+(32-a))}let f=[];for(let a=0;a<4;a++)f.push(parseInt(b.slice(8*a,(a+1)*8),2).toString());return new k.Address4(f.join("."))}toByteArray(){let a=this.bigInt().toString(16).padStart(i.BITS/4,"0"),b=[];for(let c=0,d=a.length;c<d;c+=2)b.push(parseInt(a.substring(c,c+2),16));return b}toUnsignedByteArray(){return this.toByteArray().map(s)}static fromByteArray(a){return g.assertByteArray(a,16,"IPv6",-128),this.fromUnsignedByteArray(a.map(s))}static fromUnsignedByteArray(a){g.assertByteArray(a,16,"IPv6",0);let b=BigInt("256"),c=BigInt("0"),d=BigInt("1");for(let e=a.length-1;e>=0;e--)c+=d*BigInt(a[e].toString(10)),d*=b;return t.fromBigInt(c)}isCanonical(){return this.addressMinusSuffix===this.canonicalForm()}isLinkLocal(){let a=this.embeddedIPv4();return a?a.isLinkLocal():this.isHostInSubnet(y)}isMulticast(){let a=this.embeddedIPv4();if(a)return a.isMulticast();let b=this.getType();return"Multicast"===b||b.startsWith("Multicast ")}is4(){return this.v4}isMapped4(){return this.isHostInSubnet(D)}embeddedIPv4(){return this.isMapped4()||this.isHostInSubnet(E)?this.to4():null}isTeredo(){return this.isHostInSubnet(v)}is6to4(){return this.isHostInSubnet(w)}isLoopback(){let a=this.embeddedIPv4();return a?a.isLoopback():"Loopback"===this.getType()}isULA(){return this.isHostInSubnet(x)}isPrivate(){let a=this.embeddedIPv4();return a?a.isPrivate():this.isULA()||this.isHostInSubnet(F)}isCGNAT(){let a=this.embeddedIPv4();return!!a&&a.isCGNAT()}isBroadcast(){let a=this.embeddedIPv4();return!!a&&a.isBroadcast()}isUnspecified(){let a=this.embeddedIPv4();return a?a.isUnspecified():"Unspecified"===this.getType()}isDocumentation(){return z.some(a=>this.isHostInSubnet(a))}isBenchmarking(){let a=this.embeddedIPv4();return a?a.isBenchmarking():this.isHostInSubnet(A)}isGlobal(){let a=this.embeddedIPv4();return a?a.isGlobal():this.isHostInSubnet(B)&&g.isGloballyReachable.call(this,C)}href(a){return a=void 0===a?"":`:${a}`,`http://[${this.correctForm()}]${a}/`}link(a){a||(a={}),void 0===a.className&&(a.className=""),void 0===a.prefix&&(a.prefix="/#address="),void 0===a.v4&&(a.v4=!1);let b=this.correctForm;a.v4&&(b=this.to4in6);let c=b.call(this),d=j.escapeHtml(`${a.prefix}${c}`),e=j.escapeHtml(c);if(a.className){let b=j.escapeHtml(a.className);return`<a href="${d}" class="${b}">${e}</a>`}return`<a href="${d}">${e}</a>`}group(){if(0===this.elidedGroups)return j.simpleGroup(this.addressMinusSuffix).join(":");p("number"==typeof this.elidedGroups),p("number"==typeof this.elisionBegin);let a=[],[b,c]=this.addressMinusSuffix.split("::");b.length?a.push(...j.simpleGroup(b)):a.push("");let d=["hover-group"];for(let a=this.elisionBegin;a<this.elisionBegin+this.elidedGroups;a++)d.push(`group-${a}`);return a.push(`<span class="${d.join(" ")}"></span>`),c.length?a.push(...j.simpleGroup(c,this.elisionEnd)):a.push(""),this.is4()&&(p(this.address4 instanceof k.Address4),a.pop(),a.push(this.address4.groupForV6())),a.join(":")}regularExpressionString(a=!1){let b=[],c=new t(this.correctForm());if(0===c.elidedGroups)b.push((0,l.simpleRegularExpression)(c.parsedAddress));else if(c.elidedGroups===i.GROUPS)b.push((0,l.possibleElisions)(i.GROUPS));else{let a=c.address.split("::");a[0].length&&b.push((0,l.simpleRegularExpression)(a[0].split(":"))),p("number"==typeof c.elidedGroups),b.push((0,l.possibleElisions)(c.elidedGroups,0!==a[0].length,0!==a[1].length)),a[1].length&&b.push((0,l.simpleRegularExpression)(a[1].split(":"))),b=[b.join(":")]}return a||(b=["(?=^|",l.ADDRESS_BOUNDARY,"|[^\\w\\:])(",...b,")(?=[^\\w\\:]|",l.ADDRESS_BOUNDARY,"|$)"]),b.join("")}regularExpression(a=!1){return RegExp(this.regularExpressionString(a),"i")}}b.Address6=t;let u=Object.keys(i.TYPES).map(a=>[new t(a),i.TYPES[a]]),v=new t("2001::/32"),w=new t("2002::/16"),x=new t("fc00::/7"),y=new t("fe80::/10"),z=[new t("2001:db8::/32"),new t("3fff::/20")],A=new t("2001:2::/48"),B=new t("2000::/3"),C=i.SPECIAL_PURPOSE.map(([a,,b])=>({subnet:new t(a),reachable:b})),D=new t("::ffff:0:0/96"),E=new t("64:ff9b::/96"),F=new t("64:ff9b:1::/48")},29142:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.ADDRESS_BOUNDARY=void 0,b.groupPossibilities=h,b.padGroup=i,b.simpleRegularExpression=function(a){let b=[];a.forEach((a,c)=>{0===parseInt(a,16)&&b.push(c)});let c=b.map(b=>a.map((a,c)=>{if(c===b){let b=0===c||c===g.GROUPS-1?":":"";return h([i(a),b])}return i(a)}).join(":"));return c.push(a.map(i).join(":")),h(c)},b.possibleElisions=function(a,b,c){let d=[];b||c||d.push("::"),b&&c&&d.push(""),(c&&!b||!c&&b)&&d.push(":"),d.push(`${b?"":":"}(:0{1,4}){1,${a-1}}`),d.push(`(0{1,4}:){1,${a-1}}${c?"":":"}`),d.push(`(0{1,4}:){${a-1}}0{1,4}`);for(let b=1;b<a-1;b++)for(let c=1;c<a-b;c++)d.push(`(0{1,4}:){${c}}:(0{1,4}:){${a-c-b-1}}0{1,4}`);return h(d)};let g=f(c(28673));function h(a){return`(${a.join("|")})`}function i(a){return a.length<4?`0{0,${4-a.length}}${a}`:a}b.ADDRESS_BOUNDARY="[^A-Fa-f0-9:]"},42045:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.validateSocksClientOptions=function(a,b=["connect","bind","associate"]){if(!e.SocksCommand[a.command])throw new d.SocksClientError(e.ERRORS.InvalidSocksCommand,a);if(-1===b.indexOf(a.command))throw new d.SocksClientError(e.ERRORS.InvalidSocksCommandForOperation,a);if(!j(a.destination))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsDestination,a);if(!k(a.proxy))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxy,a);if(i(a.proxy,a),a.timeout&&!l(a.timeout))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsTimeout,a);if(a.existing_socket&&!(a.existing_socket instanceof f.Duplex))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsExistingSocket,a)},b.validateSocksClientChainOptions=function(a){if("connect"!==a.command)throw new d.SocksClientError(e.ERRORS.InvalidSocksCommandChain,a);if(!j(a.destination))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsDestination,a);if(!(a.proxies&&Array.isArray(a.proxies)&&a.proxies.length>=2))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxiesLength,a);if(a.proxies.forEach(b=>{if(!k(b))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxy,a);i(b,a)}),a.timeout&&!l(a.timeout))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsTimeout,a)},b.ipv4ToInt32=function(a){return new g.Address4(a).toArray().reduce((a,b)=>(a<<8)+b,0)>>>0},b.int32ToIpv4=function(a){return[a>>>24&255,a>>>16&255,a>>>8&255,255&a].join(".")},b.ipToBuffer=function(a){if(h.isIPv4(a)){let b=new g.Address4(a);return Buffer.from(b.toArray())}if(h.isIPv6(a)){let b=new g.Address6(a);return Buffer.from(b.canonicalForm().split(":").map(a=>a.padStart(4,"0")).join(""),"hex")}throw Error("Invalid IP address format")};let d=c(26174),e=c(60485),f=c(27910),g=c(64367),h=c(91645);function i(a,b){if(void 0!==a.custom_auth_method){if(a.custom_auth_method<e.SOCKS5_CUSTOM_AUTH_START||a.custom_auth_method>e.SOCKS5_CUSTOM_AUTH_END)throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsCustomAuthRange,b);if(void 0===a.custom_auth_request_handler||"function"!=typeof a.custom_auth_request_handler||void 0===a.custom_auth_response_size||void 0===a.custom_auth_response_handler||"function"!=typeof a.custom_auth_response_handler)throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsCustomAuthOptions,b)}}function j(a){return a&&"string"==typeof a.host&&256>Buffer.byteLength(a.host)&&"number"==typeof a.port&&a.port>=0&&a.port<=65535}function k(a){return a&&("string"==typeof a.host||"string"==typeof a.ipaddress)&&"number"==typeof a.port&&a.port>=0&&a.port<=65535&&(4===a.type||5===a.type)}function l(a){return"number"==typeof a&&a>0}},48326:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.req=b.json=b.toBuffer=void 0;let g=f(c(81630)),h=f(c(55591));async function i(a){let b=0,c=[];for await(let d of a)b+=d.length,c.push(d);return Buffer.concat(c,b)}b.toBuffer=i,b.json=async function(a){let b=(await i(a)).toString("utf8");try{return JSON.parse(b)}catch(a){throw a.message+=` (input: ${b})`,a}},b.req=function(a,b={}){let c=(("string"==typeof a?a:a.href).startsWith("https:")?h:g).request(a,b),d=new Promise((a,b)=>{c.once("response",a).once("error",b).end()});return c.then=d.then.bind(d),c}},50508:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.AddressError=void 0;class c extends Error{constructor(a,b){super(a),this.name="AddressError",this.parseMessage=b}}b.AddressError=c},51835:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SPECIAL_PURPOSE=b.RE_SUBNET_STRING=b.RE_ADDRESS=b.GROUPS=b.BITS=void 0,b.BITS=32,b.GROUPS=4,b.RE_ADDRESS=/^(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])$/g,b.RE_SUBNET_STRING=/\/\d{1,2}$/,b.SPECIAL_PURPOSE=[["0.0.0.0/8","This network",!1],["0.0.0.0/32","This host on this network",!1],["10.0.0.0/8","Private-Use",!1],["100.64.0.0/10","Shared Address Space",!1],["127.0.0.0/8","Loopback",!1],["169.254.0.0/16","Link Local",!1],["172.16.0.0/12","Private-Use",!1],["192.0.0.0/24","IETF Protocol Assignments",!1],["192.0.0.0/29","IPv4 Service Continuity Prefix",!1],["192.0.0.8/32","IPv4 dummy address",!1],["192.0.0.9/32","Port Control Protocol Anycast",!0],["192.0.0.10/32","Traversal Using Relays around NAT Anycast",!0],["192.0.0.170/32","NAT64/DNS64 Discovery",!1],["192.0.0.171/32","NAT64/DNS64 Discovery",!1],["192.0.2.0/24","Documentation (TEST-NET-1)",!1],["192.31.196.0/24","AS112-v4",!0],["192.52.193.0/24","AMT",!0],["192.88.99.0/24","Deprecated (6to4 Relay Anycast)",null],["192.88.99.2/32","6a44-relay anycast address",!1],["192.168.0.0/16","Private-Use",!1],["192.175.48.0/24","Direct Delegation AS112 Service",!0],["198.18.0.0/15","Benchmarking",!1],["198.51.100.0/24","Documentation (TEST-NET-2)",!1],["203.0.113.0/24","Documentation (TEST-NET-3)",!1],["240.0.0.0/4","Reserved",!1],["255.255.255.255/32","Limited Broadcast",!1]]},60485:(a,b)=>{var c,d,e,f,g,h,i,j,k,l,m,n;Object.defineProperty(b,"__esModule",{value:!0}),b.SOCKS5_NO_ACCEPTABLE_AUTH=b.SOCKS5_CUSTOM_AUTH_END=b.SOCKS5_CUSTOM_AUTH_START=b.SOCKS_INCOMING_PACKET_SIZES=b.SocksClientState=b.Socks5Response=b.Socks5HostType=b.Socks5Auth=b.Socks4Response=b.SocksCommand=b.ERRORS=b.DEFAULT_TIMEOUT=void 0,b.DEFAULT_TIMEOUT=3e4,b.ERRORS={InvalidSocksCommand:"An invalid SOCKS command was provided. Valid options are connect, bind, and associate.",InvalidSocksCommandForOperation:"An invalid SOCKS command was provided. Only a subset of commands are supported for this operation.",InvalidSocksCommandChain:"An invalid SOCKS command was provided. Chaining currently only supports the connect command.",InvalidSocksClientOptionsDestination:"An invalid destination host was provided.",InvalidSocksClientOptionsExistingSocket:"An invalid existing socket was provided. This should be an instance of stream.Duplex.",InvalidSocksClientOptionsProxy:"Invalid SOCKS proxy details were provided.",InvalidSocksClientOptionsTimeout:"An invalid timeout value was provided. Please enter a value above 0 (in ms).",InvalidSocksClientOptionsProxiesLength:"At least two socks proxies must be provided for chaining.",InvalidSocksClientOptionsCustomAuthRange:"Custom auth must be a value between 0x80 and 0xFE.",InvalidSocksClientOptionsCustomAuthOptions:"When a custom_auth_method is provided, custom_auth_request_handler, custom_auth_response_size, and custom_auth_response_handler must also be provided and valid.",NegotiationError:"Negotiation error",SocketClosed:"Socket closed",ProxyConnectionTimedOut:"Proxy connection timed out",InternalError:"SocksClient internal error (this should not happen)",InvalidSocks4HandshakeResponse:"Received invalid Socks4 handshake response",Socks4ProxyRejectedConnection:"Socks4 Proxy rejected connection",InvalidSocks4IncomingConnectionResponse:"Socks4 invalid incoming connection response",Socks4ProxyRejectedIncomingBoundConnection:"Socks4 Proxy rejected incoming bound connection",InvalidSocks5InitialHandshakeResponse:"Received invalid Socks5 initial handshake response",InvalidSocks5IntiailHandshakeSocksVersion:"Received invalid Socks5 initial handshake (invalid socks version)",InvalidSocks5InitialHandshakeNoAcceptedAuthType:"Received invalid Socks5 initial handshake (no accepted authentication type)",InvalidSocks5InitialHandshakeUnknownAuthType:"Received invalid Socks5 initial handshake (unknown authentication type)",Socks5AuthenticationFailed:"Socks5 Authentication failed",InvalidSocks5FinalHandshake:"Received invalid Socks5 final handshake response",InvalidSocks5FinalHandshakeRejected:"Socks5 proxy rejected connection",InvalidSocks5IncomingConnectionResponse:"Received invalid Socks5 incoming connection response",Socks5ProxyRejectedIncomingBoundConnection:"Socks5 Proxy rejected incoming bound connection"},b.SOCKS_INCOMING_PACKET_SIZES={Socks5InitialHandshakeResponse:2,Socks5UserPassAuthenticationResponse:2,Socks5ResponseHeader:5,Socks5ResponseIPv4:10,Socks5ResponseIPv6:22,Socks5ResponseHostname:a=>a+7,Socks4Response:8},(i=c||(b.SocksCommand=c={}))[i.connect=1]="connect",i[i.bind=2]="bind",i[i.associate=3]="associate",(j=d||(b.Socks4Response=d={}))[j.Granted=90]="Granted",j[j.Failed=91]="Failed",j[j.Rejected=92]="Rejected",j[j.RejectedIdent=93]="RejectedIdent",(k=e||(b.Socks5Auth=e={}))[k.NoAuth=0]="NoAuth",k[k.GSSApi=1]="GSSApi",k[k.UserPass=2]="UserPass",b.SOCKS5_CUSTOM_AUTH_START=128,b.SOCKS5_CUSTOM_AUTH_END=254,b.SOCKS5_NO_ACCEPTABLE_AUTH=255,(l=f||(b.Socks5Response=f={}))[l.Granted=0]="Granted",l[l.Failure=1]="Failure",l[l.NotAllowed=2]="NotAllowed",l[l.NetworkUnreachable=3]="NetworkUnreachable",l[l.HostUnreachable=4]="HostUnreachable",l[l.ConnectionRefused=5]="ConnectionRefused",l[l.TTLExpired=6]="TTLExpired",l[l.CommandNotSupported=7]="CommandNotSupported",l[l.AddressNotSupported=8]="AddressNotSupported",(m=g||(b.Socks5HostType=g={}))[m.IPv4=1]="IPv4",m[m.Hostname=3]="Hostname",m[m.IPv6=4]="IPv6",(n=h||(b.SocksClientState=h={}))[n.Created=0]="Created",n[n.Connecting=1]="Connecting",n[n.Connected=2]="Connected",n[n.SentInitialHandshake=3]="SentInitialHandshake",n[n.ReceivedInitialHandshakeResponse=4]="ReceivedInitialHandshakeResponse",n[n.SentAuthentication=5]="SentAuthentication",n[n.ReceivedAuthenticationResponse=6]="ReceivedAuthenticationResponse",n[n.SentFinalHandshake=7]="SentFinalHandshake",n[n.ReceivedFinalResponse=8]="ReceivedFinalResponse",n[n.BoundWaitingForConnection=9]="BoundWaitingForConnection",n[n.Established=10]="Established",n[n.Disconnected=11]="Disconnected",n[n.Error=99]="Error"},61679:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b},g=this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(b,"__esModule",{value:!0}),b.SocksProxyAgent=void 0;let h=c(13092),i=c(98748),j=g(c(46140)),k=f(c(14985)),l=f(c(91645)),m=f(c(34631)),n=c(1932),o=(0,j.default)("socks-proxy-agent");class p extends i.Agent{constructor(a,b){super(b);let{proxy:c,lookup:d}=function(a){let b=!1,c=5,d=a.hostname,e=parseInt(a.port,10)||1080;switch(a.protocol.replace(":","")){case"socks4":b=!0,c=4;break;case"socks4a":c=4;break;case"socks5":b=!0,c=5;break;case"socks":case"socks5h":c=5;break;default:throw TypeError(`A "socks" protocol must be specified! Got: ${String(a.protocol)}`)}let f={host:d,port:e,type:c};return a.username&&Object.defineProperty(f,"userId",{value:decodeURIComponent(a.username),enumerable:!1}),null!=a.password&&Object.defineProperty(f,"password",{value:decodeURIComponent(a.password),enumerable:!1}),{lookup:b,proxy:f}}("string"==typeof a?new n.URL(a):a);this.shouldLookup=d,this.proxy=c,this.timeout=b?.timeout??null,this.socketOptions=b?.socketOptions??null}async connect(a,b){let{shouldLookup:c,proxy:d,timeout:e}=this;if(!b.host)throw Error("No `host` defined!");let{host:f}=b,{port:g,lookup:i=k.lookup}=b;c&&(f=await new Promise((a,b)=>{i(f,{},(c,d)=>{c?b(c):a(d)})}));let j={proxy:d,destination:{host:f,port:"number"==typeof g?g:parseInt(g,10)},command:"connect",timeout:e??void 0,socket_options:this.socketOptions??void 0},n=b=>{a.destroy(),p.destroy(),b&&b.destroy()};o("Creating socks proxy connection: %o",j);let{socket:p}=await h.SocksClient.createConnection(j);if(o("Successfully created socks proxy connection"),null!==e&&(p.setTimeout(e),p.on("timeout",()=>n())),b.secureEndpoint){o("Upgrading socket connection to TLS");let a=m.connect({...function(a,...b){let c,d={};for(c in a)b.includes(c)||(d[c]=a[c]);return d}(void 0===b.servername&&b.host&&!l.isIP(b.host)?{...b,servername:b.host}:b,"host","path","port"),socket:p});return a.once("error",b=>{o("Socket TLS error",b.message),n(a)}),a}return p}}p.protocols=["socks","socks4","socks4a","socks5","socks5h"],b.SocksProxyAgent=p},64367:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.v6=b.AddressError=b.Address6=b.Address4=void 0;var g=c(79440);Object.defineProperty(b,"Address4",{enumerable:!0,get:function(){return g.Address4}});var h=c(28798);Object.defineProperty(b,"Address6",{enumerable:!0,get:function(){return h.Address6}});var i=c(50508);Object.defineProperty(b,"AddressError",{enumerable:!0,get:function(){return i.AddressError}}),b.v6={helpers:f(c(75737))}},73419:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});let d=c(25254);class e{constructor(a){if(this.length=0,this._encoding="utf8",this._writeOffset=0,this._readOffset=0,e.isSmartBufferOptions(a))if(a.encoding&&(d.checkEncoding(a.encoding),this._encoding=a.encoding),a.size)if(d.isFiniteInteger(a.size)&&a.size>0)this._buff=Buffer.allocUnsafe(a.size);else throw Error(d.ERRORS.INVALID_SMARTBUFFER_SIZE);else if(a.buff)if(Buffer.isBuffer(a.buff))this._buff=a.buff,this.length=a.buff.length;else throw Error(d.ERRORS.INVALID_SMARTBUFFER_BUFFER);else this._buff=Buffer.allocUnsafe(4096);else{if(void 0!==a)throw Error(d.ERRORS.INVALID_SMARTBUFFER_OBJECT);this._buff=Buffer.allocUnsafe(4096)}}static fromSize(a,b){return new this({size:a,encoding:b})}static fromBuffer(a,b){return new this({buff:a,encoding:b})}static fromOptions(a){return new this(a)}static isSmartBufferOptions(a){return a&&(void 0!==a.encoding||void 0!==a.size||void 0!==a.buff)}readInt8(a){return this._readNumberValue(Buffer.prototype.readInt8,1,a)}readInt16BE(a){return this._readNumberValue(Buffer.prototype.readInt16BE,2,a)}readInt16LE(a){return this._readNumberValue(Buffer.prototype.readInt16LE,2,a)}readInt32BE(a){return this._readNumberValue(Buffer.prototype.readInt32BE,4,a)}readInt32LE(a){return this._readNumberValue(Buffer.prototype.readInt32LE,4,a)}readBigInt64BE(a){return d.bigIntAndBufferInt64Check("readBigInt64BE"),this._readNumberValue(Buffer.prototype.readBigInt64BE,8,a)}readBigInt64LE(a){return d.bigIntAndBufferInt64Check("readBigInt64LE"),this._readNumberValue(Buffer.prototype.readBigInt64LE,8,a)}writeInt8(a,b){return this._writeNumberValue(Buffer.prototype.writeInt8,1,a,b),this}insertInt8(a,b){return this._insertNumberValue(Buffer.prototype.writeInt8,1,a,b)}writeInt16BE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt16BE,2,a,b)}insertInt16BE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt16BE,2,a,b)}writeInt16LE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt16LE,2,a,b)}insertInt16LE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt16LE,2,a,b)}writeInt32BE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt32BE,4,a,b)}insertInt32BE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt32BE,4,a,b)}writeInt32LE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt32LE,4,a,b)}insertInt32LE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt32LE,4,a,b)}writeBigInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigInt64BE,8,a,b)}insertBigInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigInt64BE,8,a,b)}writeBigInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigInt64LE,8,a,b)}insertBigInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigInt64LE,8,a,b)}readUInt8(a){return this._readNumberValue(Buffer.prototype.readUInt8,1,a)}readUInt16BE(a){return this._readNumberValue(Buffer.prototype.readUInt16BE,2,a)}readUInt16LE(a){return this._readNumberValue(Buffer.prototype.readUInt16LE,2,a)}readUInt32BE(a){return this._readNumberValue(Buffer.prototype.readUInt32BE,4,a)}readUInt32LE(a){return this._readNumberValue(Buffer.prototype.readUInt32LE,4,a)}readBigUInt64BE(a){return d.bigIntAndBufferInt64Check("readBigUInt64BE"),this._readNumberValue(Buffer.prototype.readBigUInt64BE,8,a)}readBigUInt64LE(a){return d.bigIntAndBufferInt64Check("readBigUInt64LE"),this._readNumberValue(Buffer.prototype.readBigUInt64LE,8,a)}writeUInt8(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt8,1,a,b)}insertUInt8(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt8,1,a,b)}writeUInt16BE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt16BE,2,a,b)}insertUInt16BE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt16BE,2,a,b)}writeUInt16LE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt16LE,2,a,b)}insertUInt16LE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt16LE,2,a,b)}writeUInt32BE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt32BE,4,a,b)}insertUInt32BE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt32BE,4,a,b)}writeUInt32LE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt32LE,4,a,b)}insertUInt32LE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt32LE,4,a,b)}writeBigUInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64BE,8,a,b)}insertBigUInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64BE,8,a,b)}writeBigUInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64LE,8,a,b)}insertBigUInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64LE,8,a,b)}readFloatBE(a){return this._readNumberValue(Buffer.prototype.readFloatBE,4,a)}readFloatLE(a){return this._readNumberValue(Buffer.prototype.readFloatLE,4,a)}writeFloatBE(a,b){return this._writeNumberValue(Buffer.prototype.writeFloatBE,4,a,b)}insertFloatBE(a,b){return this._insertNumberValue(Buffer.prototype.writeFloatBE,4,a,b)}writeFloatLE(a,b){return this._writeNumberValue(Buffer.prototype.writeFloatLE,4,a,b)}insertFloatLE(a,b){return this._insertNumberValue(Buffer.prototype.writeFloatLE,4,a,b)}readDoubleBE(a){return this._readNumberValue(Buffer.prototype.readDoubleBE,8,a)}readDoubleLE(a){return this._readNumberValue(Buffer.prototype.readDoubleLE,8,a)}writeDoubleBE(a,b){return this._writeNumberValue(Buffer.prototype.writeDoubleBE,8,a,b)}insertDoubleBE(a,b){return this._insertNumberValue(Buffer.prototype.writeDoubleBE,8,a,b)}writeDoubleLE(a,b){return this._writeNumberValue(Buffer.prototype.writeDoubleLE,8,a,b)}insertDoubleLE(a,b){return this._insertNumberValue(Buffer.prototype.writeDoubleLE,8,a,b)}readString(a,b){let c;"number"==typeof a?(d.checkLengthValue(a),c=Math.min(a,this.length-this._readOffset)):(b=a,c=this.length-this._readOffset),void 0!==b&&d.checkEncoding(b);let e=this._buff.slice(this._readOffset,this._readOffset+c).toString(b||this._encoding);return this._readOffset+=c,e}insertString(a,b,c){return d.checkOffsetValue(b),this._handleString(a,!0,b,c)}writeString(a,b,c){return this._handleString(a,!1,b,c)}readStringNT(a){void 0!==a&&d.checkEncoding(a);let b=this.length;for(let a=this._readOffset;a<this.length;a++)if(0===this._buff[a]){b=a;break}let c=this._buff.slice(this._readOffset,b);return this._readOffset=b+1,c.toString(a||this._encoding)}insertStringNT(a,b,c){return d.checkOffsetValue(b),this.insertString(a,b,c),this.insertUInt8(0,b+a.length),this}writeStringNT(a,b,c){return this.writeString(a,b,c),this.writeUInt8(0,"number"==typeof b?b+a.length:this.writeOffset),this}readBuffer(a){void 0!==a&&d.checkLengthValue(a);let b="number"==typeof a?a:this.length,c=Math.min(this.length,this._readOffset+b),e=this._buff.slice(this._readOffset,c);return this._readOffset=c,e}insertBuffer(a,b){return d.checkOffsetValue(b),this._handleBuffer(a,!0,b)}writeBuffer(a,b){return this._handleBuffer(a,!1,b)}readBufferNT(){let a=this.length;for(let b=this._readOffset;b<this.length;b++)if(0===this._buff[b]){a=b;break}let b=this._buff.slice(this._readOffset,a);return this._readOffset=a+1,b}insertBufferNT(a,b){return d.checkOffsetValue(b),this.insertBuffer(a,b),this.insertUInt8(0,b+a.length),this}writeBufferNT(a,b){return void 0!==b&&d.checkOffsetValue(b),this.writeBuffer(a,b),this.writeUInt8(0,"number"==typeof b?b+a.length:this._writeOffset),this}clear(){return this._writeOffset=0,this._readOffset=0,this.length=0,this}remaining(){return this.length-this._readOffset}get readOffset(){return this._readOffset}set readOffset(a){d.checkOffsetValue(a),d.checkTargetOffset(a,this),this._readOffset=a}get writeOffset(){return this._writeOffset}set writeOffset(a){d.checkOffsetValue(a),d.checkTargetOffset(a,this),this._writeOffset=a}get encoding(){return this._encoding}set encoding(a){d.checkEncoding(a),this._encoding=a}get internalBuffer(){return this._buff}toBuffer(){return this._buff.slice(0,this.length)}toString(a){let b="string"==typeof a?a:this._encoding;return d.checkEncoding(b),this._buff.toString(b,0,this.length)}destroy(){return this.clear(),this}_handleString(a,b,c,e){let f=this._writeOffset,g=this._encoding;"number"==typeof c?f=c:"string"==typeof c&&(d.checkEncoding(c),g=c),"string"==typeof e&&(d.checkEncoding(e),g=e);let h=Buffer.byteLength(a,g);return b?this.ensureInsertable(h,f):this._ensureWriteable(h,f),this._buff.write(a,f,h,g),b?this._writeOffset+=h:"number"==typeof c?this._writeOffset=Math.max(this._writeOffset,f+h):this._writeOffset+=h,this}_handleBuffer(a,b,c){let d="number"==typeof c?c:this._writeOffset;return b?this.ensureInsertable(a.length,d):this._ensureWriteable(a.length,d),a.copy(this._buff,d),b?this._writeOffset+=a.length:"number"==typeof c?this._writeOffset=Math.max(this._writeOffset,d+a.length):this._writeOffset+=a.length,this}ensureReadable(a,b){let c=this._readOffset;if(void 0!==b&&(d.checkOffsetValue(b),c=b),c<0||c+a>this.length)throw Error(d.ERRORS.INVALID_READ_BEYOND_BOUNDS)}ensureInsertable(a,b){d.checkOffsetValue(b),this._ensureCapacity(this.length+a),b<this.length&&this._buff.copy(this._buff,b+a,b,this._buff.length),b+a>this.length?this.length=b+a:this.length+=a}_ensureWriteable(a,b){let c="number"==typeof b?b:this._writeOffset;this._ensureCapacity(c+a),c+a>this.length&&(this.length=c+a)}_ensureCapacity(a){let b=this._buff.length;if(a>b){let c=this._buff,d=3*b/2+1;d<a&&(d=a),this._buff=Buffer.allocUnsafe(d),c.copy(this._buff,0,0,b)}}_readNumberValue(a,b,c){this.ensureReadable(b,c);let d=a.call(this._buff,"number"==typeof c?c:this._readOffset);return void 0===c&&(this._readOffset+=b),d}_insertNumberValue(a,b,c,e){return d.checkOffsetValue(e),this.ensureInsertable(b,e),a.call(this._buff,c,e),this._writeOffset+=b,this}_writeNumberValue(a,b,c,e){if("number"==typeof e){if(e<0)throw Error(d.ERRORS.INVALID_WRITE_BEYOND_BOUNDS);d.checkOffsetValue(e)}let f="number"==typeof e?e:this._writeOffset;return this._ensureWriteable(b,f),a.call(this._buff,c,f),"number"==typeof e?this._writeOffset=Math.max(this._writeOffset,f+b):this._writeOffset+=b,this}}b.SmartBuffer=e},75737:(a,b)=>{function c(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function d(a){return c(a).replace(/(0+)/g,'<span class="zero">$1</span>')}function e(a){return c(a).replace(/^(0+)/,'<span class="zero">$1</span>')}Object.defineProperty(b,"__esModule",{value:!0}),b.escapeHtml=c,b.spanAllZeroes=d,b.spanAll=function(a,b=0){return a.split("").map((a,e)=>`<span class="digit value-${c(a)} position-${e+b}">${d(a)}</span>`).join("")},b.spanLeadingZeroes=function(a){return a.split(":").map(a=>e(a)).join(":")},b.simpleGroup=function(a,b=0){return a.split(":").map((a,c)=>/group-v4/.test(a)?a:`<span class="hover-group group-${c+b}">${e(a)}</span>`)}},79440:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.Address4=void 0;let g=f(c(97462)),h=f(c(51835)),i=c(50508),j=g.isCorrect(h.BITS);class k{constructor(a){this.addressMinusSuffix="",this.groups=h.GROUPS,this.parsedAddress=[],this.parsedSubnet="",this.subnet="/32",this.subnetMask=32,this.v4=!0,this.isCorrect=j,this.isInSubnet=g.isInSubnet,this.isHostInSubnet=g.isHostInSubnet,this.address=a;let b=h.RE_SUBNET_STRING.exec(a);if(b){if(this.parsedSubnet=b[0].replace("/",""),this.subnetMask=parseInt(this.parsedSubnet,10),this.subnet=`/${this.subnetMask}`,this.subnetMask<0||this.subnetMask>h.BITS)throw new i.AddressError("Invalid subnet mask.");a=a.replace(h.RE_SUBNET_STRING,"")}let c=4*h.GROUPS-1;if(a.length>c)throw new i.AddressError(`IPv4 addresses are at most ${c} characters.`);this.addressMinusSuffix=a,this.parsedAddress=this.parse(a)}static isValid(a){try{return new k(a),!0}catch{return!1}}parse(a){let b=a.split(".");if(b.some(a=>/^0\d/.test(a)))throw new i.AddressError("IPv4 addresses can't have leading zeroes.");if(!a.match(h.RE_ADDRESS))throw new i.AddressError("Invalid IPv4 address.");return b}correctForm(){return this.parsedAddress.map(a=>parseInt(a,10)).join(".")}static fromAddressAndMask(a,b){let c=g.prefixLengthFromMask(new k(b).bigInt(),h.BITS);return new k(`${a}/${c}`)}static fromAddressAndWildcardMask(a,b){let c=new k(b).bigInt(),d=(BigInt(1)<<BigInt(h.BITS))-BigInt(1),e=g.prefixLengthFromMask(c^d,h.BITS);return new k(`${a}/${e}`)}static fromWildcard(a){let b=a.split(".");if(b.length!==h.GROUPS)throw new i.AddressError("Wildcard pattern must have 4 octets");let c=-1;for(let a=0;a<b.length;a++)if("*"===b[a])-1===c&&(c=a);else if(-1!==c)throw new i.AddressError("Wildcard `*` must only appear in trailing octets (e.g. `192.168.0.*`)");let d=-1===c?0:b.length-c,e=b.map(a=>"*"===a?"0":a),f=h.BITS-8*d;return new k(`${e.join(".")}/${f}`)}static fromHex(a){let b=a.replace(/:/g,"");if(!/^[0-9a-fA-F]{8}$/.test(b))throw new i.AddressError("IPv4 hex must be exactly 8 hex digits");let c=[];for(let a=0;a<8;a+=2)c.push(parseInt(b.slice(a,a+2),16));return new k(c.join("."))}static fromInteger(a){if(!Number.isInteger(a)||a<0||a>0xffffffff)throw new i.AddressError("IPv4 integer must be in the range 0 to 2**32 - 1");return k.fromHex(a.toString(16).padStart(8,"0"))}static fromArpa(a){let b=4*h.GROUPS-1+3+14;if(a.length>b)throw new i.AddressError(`in-addr.arpa names are at most ${b} characters.`);return new k(a.replace(/(\.in-addr\.arpa)?\.?$/i,"").split(".").reverse().join("."))}toHex(){return this.parsedAddress.map(a=>g.stringToPaddedHex(a)).join(":")}toArray(){return this.parsedAddress.map(a=>parseInt(a,10))}toGroup6(){let a,b=[];for(a=0;a<h.GROUPS;a+=2)b.push(`${g.stringToPaddedHex(this.parsedAddress[a])}${g.stringToPaddedHex(this.parsedAddress[a+1])}`);return b.join(":")}bigInt(){return BigInt(`0x${this.parsedAddress.map(a=>g.stringToPaddedHex(a)).join("")}`)}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(h.BITS-this.subnetMask)}`)}startAddress(){return k.fromBigInt(this._startAddress())}startAddressExclusive(){let a=BigInt("1");return k.fromBigInt(this._startAddress()+a)}offset(a){return k.fromBigInt(g.offsetBigInt(this.bigInt(),a,h.BITS,"IPv4")).withSubnetMask(this.subnetMask)}nextNetwork(){return k.fromBigInt(g.offsetBigInt(this._endAddress(),1,h.BITS,"IPv4")).withSubnetMask(this.subnetMask)}withSubnetMask(a){return new k(`${this.correctForm()}/${a}`)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(h.BITS-this.subnetMask)}`)}endAddress(){return k.fromBigInt(this._endAddress())}endAddressExclusive(){let a=BigInt("1");return k.fromBigInt(this._endAddress()-a)}subnetMaskAddress(){return k.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(h.BITS-this.subnetMask)}`))}wildcardMask(){return k.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(h.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}static fromBigInt(a){if(a<BigInt(0)||a>BigInt(0xffffffff))throw new i.AddressError("IPv4 BigInt must be in the range 0 to 2**32 - 1");return k.fromHex(a.toString(16).padStart(8,"0"))}static fromByteArray(a){return g.assertByteArray(a,4,"IPv4",0),this.fromUnsignedByteArray(a)}static fromUnsignedByteArray(a){if(4!==a.length)throw new i.AddressError("IPv4 addresses require exactly 4 bytes");return new k(a.join("."))}mask(a){return void 0===a&&(a=this.subnetMask),this.getBitsBase2(0,a)}getBitsBase2(a,b){return this.binaryZeroPad().slice(a,b)}reverseForm(a){a||(a={});let b=this.correctForm().split(".").reverse().join(".");return a.omitSuffix?b:`${b}.in-addr.arpa.`}isMulticast(){return this.isHostInSubnet(l)}isPrivate(){return m.some(a=>this.isHostInSubnet(a))}isLoopback(){return this.isHostInSubnet(n)}isLinkLocal(){return this.isHostInSubnet(o)}isUnspecified(){return this.isHostInSubnet(p)}isBroadcast(){return this.isHostInSubnet(q)}isCGNAT(){return this.isHostInSubnet(r)}isDocumentation(){return s.some(a=>this.isHostInSubnet(a))}isBenchmarking(){return this.isHostInSubnet(t)}isReserved(){return this.isHostInSubnet(u)}isGlobal(){return!this.isMulticast()&&g.isGloballyReachable.call(this,v)}binaryZeroPad(){return void 0===this._binaryZeroPad&&(this._binaryZeroPad=this.bigInt().toString(2).padStart(h.BITS,"0")),this._binaryZeroPad}groupForV6(){let a=this.parsedAddress;return this.correctForm().replace(h.RE_ADDRESS,`<span class="hover-group group-v4 group-6">${a.slice(0,2).join(".")}</span>.<span class="hover-group group-v4 group-7">${a.slice(2,4).join(".")}</span>`)}}b.Address4=k;let l=new k("224.0.0.0/4"),m=[new k("10.0.0.0/8"),new k("172.16.0.0/12"),new k("192.168.0.0/16")],n=new k("127.0.0.0/8"),o=new k("169.254.0.0/16"),p=new k("0.0.0.0/32"),q=new k("255.255.255.255/32"),r=new k("100.64.0.0/10"),s=[new k("192.0.2.0/24"),new k("198.51.100.0/24"),new k("203.0.113.0/24")],t=new k("198.18.0.0/15"),u=new k("240.0.0.0/4"),v=h.SPECIAL_PURPOSE.map(([a,,b])=>({subnet:new k(a),reachable:b}))},97462:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.isInSubnet=function(a){return!(this.subnetMask<a.subnetMask)&&e.call(this,a)},b.isHostInSubnet=e,b.isGloballyReachable=function(a){let b=null;for(let c=0;c<a.length;c++){let d=a[c];null!==d.reachable&&e.call(this,d.subnet)&&(null===b||d.subnet.subnetMask>b.subnet.subnetMask)&&(b=d)}return null===b||b.reachable},b.offsetBigInt=function(a,b,c,e){if("number"==typeof b&&!Number.isSafeInteger(b)||"number"!=typeof b&&"bigint"!=typeof b)throw new d.AddressError(`${e} offset must be an integer`);let f=a+BigInt(b);if(f<BigInt(0)||f>(BigInt(1)<<BigInt(c))-BigInt(1))throw new d.AddressError(`${e} offset leaves the address space`);return f},b.isCorrect=function(a){return function(){return this.addressMinusSuffix===this.correctForm()&&(this.subnetMask===a&&!this.parsedSubnet||this.parsedSubnet===String(this.subnetMask))}},b.prefixLengthFromMask=function(a,b){let c=a.toString(2).padStart(b,"0");if(c.length>b)throw new d.AddressError("Invalid subnet mask.");let e=c.indexOf("0");if(-1===e)return b;if(c.slice(e).includes("1"))throw new d.AddressError("Invalid subnet mask.");return e},b.assertByteArray=function(a,b,c,e){if(a.length!==b)throw new d.AddressError(`${c} addresses require exactly ${b} bytes`);for(let b=0;b<a.length;b++)if(!Number.isInteger(a[b])||a[b]<e||a[b]>255)throw new d.AddressError(`All bytes must be integers between ${e} and 255`)},b.numberToPaddedHex=f,b.stringToPaddedHex=function(a){return f(parseInt(a,10))},b.testBit=function(a,b){let{length:c}=a;if(b>c)return!1;let d=c-b;return"1"===a.substring(d,d+1)};let d=c(50508);function e(a){return this.binaryZeroPad().length===a.binaryZeroPad().length&&this.mask(a.subnetMask)===a.mask()}function f(a){return a.toString(16).padStart(2,"0")}},98748:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b},g=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),b.Agent=void 0;let h=f(c(91645)),i=f(c(81630)),j=c(55591);g(c(48326),b);let k=Symbol("AgentBaseInternalState");class l extends i.Agent{constructor(a){super(a),this[k]={}}isSecureEndpoint(a){if(a){if("boolean"==typeof a.secureEndpoint)return a.secureEndpoint;if("string"==typeof a.protocol)return"https:"===a.protocol}let{stack:b}=Error();return"string"==typeof b&&b.split("\n").some(a=>-1!==a.indexOf("(https.js:")||-1!==a.indexOf("node:https:"))}incrementSockets(a){if(1/0===this.maxSockets&&1/0===this.maxTotalSockets)return null;this.sockets[a]||(this.sockets[a]=[]);let b=new h.Socket({writable:!1});return this.sockets[a].push(b),this.totalSocketCount++,b}decrementSockets(a,b){if(!this.sockets[a]||null===b)return;let c=this.sockets[a],d=c.indexOf(b);-1!==d&&(c.splice(d,1),this.totalSocketCount--,0===c.length&&delete this.sockets[a])}getName(a){return this.isSecureEndpoint(a)?j.Agent.prototype.getName.call(this,a):super.getName(a)}createSocket(a,b,c){let d={...b,secureEndpoint:this.isSecureEndpoint(b)},e=this.getName(d),f=this.incrementSockets(e);Promise.resolve().then(()=>this.connect(a,d)).then(g=>{if(this.decrementSockets(e,f),g instanceof i.Agent)try{return g.addRequest(a,d)}catch(a){return c(a)}this[k].currentSocket=g,super.createSocket(a,b,c)},a=>{this.decrementSockets(e,f),c(a)})}createConnection(){let a=this[k].currentSocket;if(this[k].currentSocket=void 0,!a)throw Error("No socket was returned in the `connect()` function");return a}get defaultPort(){return this[k].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(a){this[k]&&(this[k].defaultPort=a)}get protocol(){return this[k].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(a){this[k]&&(this[k].protocol=a)}}b.Agent=l}};
1
+ "use strict";exports.id=1679,exports.ids=[1679],exports.modules={7768:function(a,b,c){var d=this&&this.__awaiter||function(a,b,c,d){return new(c||(c=Promise))(function(e,f){function g(a){try{i(d.next(a))}catch(a){f(a)}}function h(a){try{i(d.throw(a))}catch(a){f(a)}}function i(a){var b;a.done?e(a.value):((b=a.value)instanceof c?b:new c(function(a){a(b)})).then(g,h)}i((d=d.apply(a,b||[])).next())})};Object.defineProperty(b,"__esModule",{value:!0}),b.SocksClientError=b.SocksClient=void 0;let e=c(94735),f=c(91645),g=c(95800),h=c(60485),i=c(42045),j=c(21783),k=c(26174);Object.defineProperty(b,"SocksClientError",{enumerable:!0,get:function(){return k.SocksClientError}});let l=c(64367);class m extends e.EventEmitter{constructor(a){super(),this.options=Object.assign({},a),(0,i.validateSocksClientOptions)(a),this.setState(h.SocksClientState.Created)}static createConnection(a,b){return new Promise((c,d)=>{try{(0,i.validateSocksClientOptions)(a,["connect"])}catch(a){if("function"==typeof b)return b(a),c(a);return d(a)}let e=new m(a);e.connect(a.existing_socket),e.once("established",a=>{e.removeAllListeners(),"function"==typeof b&&b(null,a),c(a)}),e.once("error",a=>{e.removeAllListeners(),"function"==typeof b?(b(a),c(a)):d(a)})})}static createConnectionChain(a,b){return new Promise((c,e)=>d(this,void 0,void 0,function*(){try{(0,i.validateSocksClientChainOptions)(a)}catch(a){if("function"==typeof b)return b(a),c(a);return e(a)}a.randomizeChain&&(0,k.shuffleArray)(a.proxies);try{let d;for(let b=0;b<a.proxies.length;b++){let c=a.proxies[b],e=b===a.proxies.length-1?a.destination:{host:a.proxies[b+1].host||a.proxies[b+1].ipaddress,port:a.proxies[b+1].port},f=yield m.createConnection({command:"connect",proxy:c,destination:e,existing_socket:d});d=d||f.socket}"function"==typeof b&&b(null,{socket:d}),c({socket:d})}catch(a){"function"==typeof b?(b(a),c(a)):e(a)}}))}static createUDPFrame(a){let b=new g.SmartBuffer;return b.writeUInt16BE(0),b.writeUInt8(a.frameNumber||0),f.isIPv4(a.remoteHost.host)?(b.writeUInt8(h.Socks5HostType.IPv4),b.writeUInt32BE((0,i.ipv4ToInt32)(a.remoteHost.host))):f.isIPv6(a.remoteHost.host)?(b.writeUInt8(h.Socks5HostType.IPv6),b.writeBuffer((0,i.ipToBuffer)(a.remoteHost.host))):(b.writeUInt8(h.Socks5HostType.Hostname),b.writeUInt8(Buffer.byteLength(a.remoteHost.host)),b.writeString(a.remoteHost.host)),b.writeUInt16BE(a.remoteHost.port),b.writeBuffer(a.data),b.toBuffer()}static parseUDPFrame(a){let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c=b.readUInt8(),d=b.readUInt8();return{frameNumber:c,remoteHost:{host:d===h.Socks5HostType.IPv4?(0,i.int32ToIpv4)(b.readUInt32BE()):d===h.Socks5HostType.IPv6?l.Address6.fromByteArray(Array.from(b.readBuffer(16))).canonicalForm():b.readString(b.readUInt8()),port:b.readUInt16BE()},data:b.readBuffer()}}setState(a){this.state!==h.SocksClientState.Error&&(this.state=a)}connect(a){this.onDataReceived=a=>this.onDataReceivedHandler(a),this.onClose=()=>this.onCloseHandler(),this.onError=a=>this.onErrorHandler(a),this.onConnect=()=>this.onConnectHandler();let b=setTimeout(()=>this.onEstablishedTimeout(),this.options.timeout||h.DEFAULT_TIMEOUT);b.unref&&"function"==typeof b.unref&&b.unref(),a?this.socket=a:this.socket=new f.Socket,this.socket.once("close",this.onClose),this.socket.once("error",this.onError),this.socket.once("connect",this.onConnect),this.socket.on("data",this.onDataReceived),this.setState(h.SocksClientState.Connecting),this.receiveBuffer=new j.ReceiveBuffer,a?this.socket.emit("connect"):(this.socket.connect(this.getSocketOptions()),void 0!==this.options.set_tcp_nodelay&&null!==this.options.set_tcp_nodelay&&this.socket.setNoDelay(!!this.options.set_tcp_nodelay)),this.prependOnceListener("established",a=>{setImmediate(()=>{if(this.receiveBuffer.length>0){let b=this.receiveBuffer.get(this.receiveBuffer.length);a.socket.emit("data",b)}a.socket.resume()})})}getSocketOptions(){return Object.assign(Object.assign({},this.options.socket_options),{host:this.options.proxy.host||this.options.proxy.ipaddress,port:this.options.proxy.port})}onEstablishedTimeout(){this.state!==h.SocksClientState.Established&&this.state!==h.SocksClientState.BoundWaitingForConnection&&this.closeSocket(h.ERRORS.ProxyConnectionTimedOut)}onConnectHandler(){this.setState(h.SocksClientState.Connected),4===this.options.proxy.type?this.sendSocks4InitialHandshake():this.sendSocks5InitialHandshake(),this.setState(h.SocksClientState.SentInitialHandshake)}onDataReceivedHandler(a){this.receiveBuffer.append(a),this.processData()}processData(){for(;this.state!==h.SocksClientState.Established&&this.state!==h.SocksClientState.Error&&this.receiveBuffer.length>=this.nextRequiredPacketBufferSize;)if(this.state===h.SocksClientState.SentInitialHandshake)4===this.options.proxy.type?this.handleSocks4FinalHandshakeResponse():this.handleInitialSocks5HandshakeResponse();else if(this.state===h.SocksClientState.SentAuthentication)this.handleInitialSocks5AuthenticationHandshakeResponse();else if(this.state===h.SocksClientState.SentFinalHandshake)this.handleSocks5FinalHandshakeResponse();else if(this.state===h.SocksClientState.BoundWaitingForConnection)4===this.options.proxy.type?this.handleSocks4IncomingConnectionResponse():this.handleSocks5IncomingConnectionResponse();else{this.closeSocket(h.ERRORS.InternalError);break}}onCloseHandler(){this.closeSocket(h.ERRORS.SocketClosed)}onErrorHandler(a){this.closeSocket(a.message)}removeInternalSocketHandlers(){this.socket.pause(),this.socket.removeListener("data",this.onDataReceived),this.socket.removeListener("close",this.onClose),this.socket.removeListener("error",this.onError),this.socket.removeListener("connect",this.onConnect)}closeSocket(a){this.state!==h.SocksClientState.Error&&(this.setState(h.SocksClientState.Error),this.socket.destroy(),this.removeInternalSocketHandlers(),this.emit("error",new k.SocksClientError(a,this.options)))}sendSocks4InitialHandshake(){let a=this.options.proxy.userId||"",b=new g.SmartBuffer;b.writeUInt8(4),b.writeUInt8(h.SocksCommand[this.options.command]),b.writeUInt16BE(this.options.destination.port),f.isIPv4(this.options.destination.host)?(b.writeBuffer((0,i.ipToBuffer)(this.options.destination.host)),b.writeStringNT(a)):(b.writeUInt8(0),b.writeUInt8(0),b.writeUInt8(0),b.writeUInt8(1),b.writeStringNT(a),b.writeStringNT(this.options.destination.host)),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks4Response,this.socket.write(b.toBuffer())}handleSocks4FinalHandshakeResponse(){let a=this.receiveBuffer.get(8);if(a[1]!==h.Socks4Response.Granted)this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedConnection} - (${h.Socks4Response[a[1]]})`);else if(h.SocksCommand[this.options.command]===h.SocksCommand.bind){let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c={port:b.readUInt16BE(),host:(0,i.int32ToIpv4)(b.readUInt32BE())};"0.0.0.0"===c.host&&(c.host=this.options.proxy.ipaddress),this.setState(h.SocksClientState.BoundWaitingForConnection),this.emit("bound",{remoteHost:c,socket:this.socket})}else this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{socket:this.socket})}handleSocks4IncomingConnectionResponse(){let a=this.receiveBuffer.get(8);if(a[1]!==h.Socks4Response.Granted)this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedIncomingBoundConnection} - (${h.Socks4Response[a[1]]})`);else{let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c={port:b.readUInt16BE(),host:(0,i.int32ToIpv4)(b.readUInt32BE())};this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:c,socket:this.socket})}}sendSocks5InitialHandshake(){let a=new g.SmartBuffer,b=[h.Socks5Auth.NoAuth];for(let c of((this.options.proxy.userId||this.options.proxy.password)&&b.push(h.Socks5Auth.UserPass),void 0!==this.options.proxy.custom_auth_method&&b.push(this.options.proxy.custom_auth_method),a.writeUInt8(5),a.writeUInt8(b.length),b))a.writeUInt8(c);this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5InitialHandshakeResponse,this.socket.write(a.toBuffer()),this.setState(h.SocksClientState.SentInitialHandshake)}handleInitialSocks5HandshakeResponse(){let a=this.receiveBuffer.get(2);5!==a[0]?this.closeSocket(h.ERRORS.InvalidSocks5IntiailHandshakeSocksVersion):a[1]===h.SOCKS5_NO_ACCEPTABLE_AUTH?this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeNoAcceptedAuthType):a[1]===h.Socks5Auth.NoAuth?(this.socks5ChosenAuthType=h.Socks5Auth.NoAuth,this.sendSocks5CommandRequest()):a[1]===h.Socks5Auth.UserPass?(this.socks5ChosenAuthType=h.Socks5Auth.UserPass,this.sendSocks5UserPassAuthentication()):a[1]===this.options.proxy.custom_auth_method?(this.socks5ChosenAuthType=this.options.proxy.custom_auth_method,this.sendSocks5CustomAuthentication()):this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeUnknownAuthType)}sendSocks5UserPassAuthentication(){let a=this.options.proxy.userId||"",b=this.options.proxy.password||"",c=new g.SmartBuffer;c.writeUInt8(1),c.writeUInt8(Buffer.byteLength(a)),c.writeString(a),c.writeUInt8(Buffer.byteLength(b)),c.writeString(b),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5UserPassAuthenticationResponse,this.socket.write(c.toBuffer()),this.setState(h.SocksClientState.SentAuthentication)}sendSocks5CustomAuthentication(){return d(this,void 0,void 0,function*(){this.nextRequiredPacketBufferSize=this.options.proxy.custom_auth_response_size,this.socket.write((yield this.options.proxy.custom_auth_request_handler())),this.setState(h.SocksClientState.SentAuthentication)})}handleSocks5CustomAuthHandshakeResponse(a){return d(this,void 0,void 0,function*(){return yield this.options.proxy.custom_auth_response_handler(a)})}handleSocks5AuthenticationNoAuthHandshakeResponse(a){return d(this,void 0,void 0,function*(){return 0===a[1]})}handleSocks5AuthenticationUserPassHandshakeResponse(a){return d(this,void 0,void 0,function*(){return 0===a[1]})}handleInitialSocks5AuthenticationHandshakeResponse(){return d(this,void 0,void 0,function*(){this.setState(h.SocksClientState.ReceivedAuthenticationResponse);let a=!1;this.socks5ChosenAuthType===h.Socks5Auth.NoAuth?a=yield this.handleSocks5AuthenticationNoAuthHandshakeResponse(this.receiveBuffer.get(2)):this.socks5ChosenAuthType===h.Socks5Auth.UserPass?a=yield this.handleSocks5AuthenticationUserPassHandshakeResponse(this.receiveBuffer.get(2)):this.socks5ChosenAuthType===this.options.proxy.custom_auth_method&&(a=yield this.handleSocks5CustomAuthHandshakeResponse(this.receiveBuffer.get(this.options.proxy.custom_auth_response_size))),a?this.sendSocks5CommandRequest():this.closeSocket(h.ERRORS.Socks5AuthenticationFailed)})}sendSocks5CommandRequest(){let a=new g.SmartBuffer;a.writeUInt8(5),a.writeUInt8(h.SocksCommand[this.options.command]),a.writeUInt8(0),f.isIPv4(this.options.destination.host)?(a.writeUInt8(h.Socks5HostType.IPv4),a.writeBuffer((0,i.ipToBuffer)(this.options.destination.host))):f.isIPv6(this.options.destination.host)?(a.writeUInt8(h.Socks5HostType.IPv6),a.writeBuffer((0,i.ipToBuffer)(this.options.destination.host))):(a.writeUInt8(h.Socks5HostType.Hostname),a.writeUInt8(this.options.destination.host.length),a.writeString(this.options.destination.host)),a.writeUInt16BE(this.options.destination.port),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader,this.socket.write(a.toBuffer()),this.setState(h.SocksClientState.SentFinalHandshake)}handleSocks5FinalHandshakeResponse(){let a=this.receiveBuffer.peek(5);if(5!==a[0]||a[1]!==h.Socks5Response.Granted)this.closeSocket(`${h.ERRORS.InvalidSocks5FinalHandshakeRejected} - ${h.Socks5Response[a[1]]}`);else{let b,c,d=a[3];if(d===h.Socks5HostType.IPv4){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),"0.0.0.0"===(b={host:(0,i.int32ToIpv4)(c.readUInt32BE()),port:c.readUInt16BE()}).host&&(b.host=this.options.proxy.ipaddress)}else if(d===h.Socks5HostType.Hostname){let d=a[4],e=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(d);if(this.receiveBuffer.length<e){this.nextRequiredPacketBufferSize=e;return}b={host:(c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(e).slice(5))).readString(d),port:c.readUInt16BE()}}else if(d===h.Socks5HostType.IPv6){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),b={host:l.Address6.fromByteArray(Array.from(c.readBuffer(16))).canonicalForm(),port:c.readUInt16BE()}}this.setState(h.SocksClientState.ReceivedFinalResponse),h.SocksCommand[this.options.command]===h.SocksCommand.connect?(this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket})):h.SocksCommand[this.options.command]===h.SocksCommand.bind?(this.setState(h.SocksClientState.BoundWaitingForConnection),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader,this.emit("bound",{remoteHost:b,socket:this.socket})):h.SocksCommand[this.options.command]===h.SocksCommand.associate&&(this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket}))}}handleSocks5IncomingConnectionResponse(){let a=this.receiveBuffer.peek(5);if(5!==a[0]||a[1]!==h.Socks5Response.Granted)this.closeSocket(`${h.ERRORS.Socks5ProxyRejectedIncomingBoundConnection} - ${h.Socks5Response[a[1]]}`);else{let b,c,d=a[3];if(d===h.Socks5HostType.IPv4){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),"0.0.0.0"===(b={host:(0,i.int32ToIpv4)(c.readUInt32BE()),port:c.readUInt16BE()}).host&&(b.host=this.options.proxy.ipaddress)}else if(d===h.Socks5HostType.Hostname){let d=a[4],e=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(d);if(this.receiveBuffer.length<e){this.nextRequiredPacketBufferSize=e;return}b={host:(c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(e).slice(5))).readString(d),port:c.readUInt16BE()}}else if(d===h.Socks5HostType.IPv6){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),b={host:l.Address6.fromByteArray(Array.from(c.readBuffer(16))).canonicalForm(),port:c.readUInt16BE()}}this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket})}}get socksClientOptions(){return Object.assign({},this.options)}}b.SocksClient=m},13092:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(7768),b)},21783:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ReceiveBuffer=void 0;class c{constructor(a=4096){this.buffer=Buffer.allocUnsafe(a),this.offset=0,this.originalSize=a}get length(){return this.offset}append(a){if(!Buffer.isBuffer(a))throw Error("Attempted to append a non-buffer instance to ReceiveBuffer.");if(this.offset+a.length>=this.buffer.length){let b=this.buffer;this.buffer=Buffer.allocUnsafe(Math.max(this.buffer.length+this.originalSize,this.buffer.length+a.length)),b.copy(this.buffer)}return a.copy(this.buffer,this.offset),this.offset+=a.length}peek(a){if(a>this.offset)throw Error("Attempted to read beyond the bounds of the managed internal data.");return this.buffer.slice(0,a)}get(a){if(a>this.offset)throw Error("Attempted to read beyond the bounds of the managed internal data.");let b=Buffer.allocUnsafe(a);return this.buffer.slice(0,a).copy(b),this.buffer.copyWithin(0,a,a+this.offset-a),this.offset-=a,b}}b.ReceiveBuffer=c},25254:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});let d=c(79428),e={INVALID_ENCODING:"Invalid encoding provided. Please specify a valid encoding the internal Node.js Buffer supports.",INVALID_SMARTBUFFER_SIZE:"Invalid size provided. Size must be a valid integer greater than zero.",INVALID_SMARTBUFFER_BUFFER:"Invalid Buffer provided in SmartBufferOptions.",INVALID_SMARTBUFFER_OBJECT:"Invalid SmartBufferOptions object supplied to SmartBuffer constructor or factory methods.",INVALID_OFFSET:"An invalid offset value was provided.",INVALID_OFFSET_NON_NUMBER:"An invalid offset value was provided. A numeric value is required.",INVALID_LENGTH:"An invalid length value was provided.",INVALID_LENGTH_NON_NUMBER:"An invalid length value was provived. A numeric value is required.",INVALID_TARGET_OFFSET:"Target offset is beyond the bounds of the internal SmartBuffer data.",INVALID_TARGET_LENGTH:"Specified length value moves cursor beyong the bounds of the internal SmartBuffer data.",INVALID_READ_BEYOND_BOUNDS:"Attempted to read beyond the bounds of the managed data.",INVALID_WRITE_BEYOND_BOUNDS:"Attempted to write beyond the bounds of the managed data."};function f(a){var b;return"number"==typeof a&&isFinite(a)&&"number"==typeof(b=a)&&isFinite(b)&&Math.floor(b)===b}function g(a,b){if("number"==typeof a){if(!f(a)||a<0)throw Error(b?e.INVALID_OFFSET:e.INVALID_LENGTH)}else throw Error(b?e.INVALID_OFFSET_NON_NUMBER:e.INVALID_LENGTH_NON_NUMBER)}b.ERRORS=e,b.checkEncoding=function(a){if(!d.Buffer.isEncoding(a))throw Error(e.INVALID_ENCODING)},b.isFiniteInteger=f,b.checkLengthValue=function(a){g(a,!1)},b.checkOffsetValue=function(a){g(a,!0)},b.checkTargetOffset=function(a,b){if(a<0||a>b.length)throw Error(e.INVALID_TARGET_OFFSET)},b.bigIntAndBufferInt64Check=function(a){if("u"<typeof BigInt)throw Error("Platform does not support JS BigInt type.");if(void 0===d.Buffer.prototype[a])throw Error(`Platform does not support Buffer.prototype.${a}.`)}},26174:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SocksClientError=void 0,b.shuffleArray=function(a){for(let b=a.length-1;b>0;b--){let c=Math.floor(Math.random()*(b+1));[a[b],a[c]]=[a[c],a[b]]}};class c extends Error{constructor(a,b){super(a),this.options=b}}b.SocksClientError=c},28673:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SPECIAL_PURPOSE=b.RE_URL_WITH_PORT=b.RE_URL=b.RE_ZONE_STRING=b.RE_SUBNET_STRING=b.RE_BAD_ADDRESS=b.RE_BAD_CHARACTERS=b.TYPES=b.SCOPES=b.GROUPS=b.BITS=void 0,b.BITS=128,b.GROUPS=8,b.SCOPES={0:"Reserved",1:"Interface local",2:"Link local",4:"Admin local",5:"Site local",8:"Organization local",14:"Global",15:"Reserved"},b.TYPES={"ff01::1/128":"Multicast (All nodes on this interface)","ff01::2/128":"Multicast (All routers on this interface)","ff02::1/128":"Multicast (All nodes on this link)","ff02::2/128":"Multicast (All routers on this link)","ff05::2/128":"Multicast (All routers in this site)","ff02::5/128":"Multicast (OSPFv3 AllSPF routers)","ff02::6/128":"Multicast (OSPFv3 AllDR routers)","ff02::9/128":"Multicast (RIP routers)","ff02::a/128":"Multicast (EIGRP routers)","ff02::d/128":"Multicast (PIM routers)","ff02::16/128":"Multicast (MLDv2 reports)","ff01::fb/128":"Multicast (mDNSv6)","ff02::fb/128":"Multicast (mDNSv6)","ff05::fb/128":"Multicast (mDNSv6)","ff02::1:2/128":"Multicast (All DHCP servers and relay agents on this link)","ff05::1:2/128":"Multicast (All DHCP servers and relay agents in this site)","ff02::1:3/128":"Multicast (All DHCP servers on this link)","ff05::1:3/128":"Multicast (All DHCP servers in this site)","::/128":"Unspecified","::1/128":"Loopback","::ffff:0:0/96":"IPv4-mapped","ff00::/8":"Multicast","fe80::/10":"Link-local unicast","fc00::/7":"Unique local","2001::/32":"Teredo","2001:2::/48":"Benchmarking","2002::/16":"6to4","2001:db8::/32":"Documentation","3fff::/20":"Documentation","100::/64":"Discard-only","fec0::/10":"Site-local unicast (deprecated)","::/96":"IPv4-compatible (deprecated)","64:ff9b::/96":"NAT64 (well-known)","64:ff9b:1::/48":"NAT64 (local-use)"},b.RE_BAD_CHARACTERS=/([^0-9a-f:/%])/gi,b.RE_BAD_ADDRESS=/([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/gi,b.RE_SUBNET_STRING=/\/\d{1,3}(?=%|$)/,b.RE_ZONE_STRING=/%.*$/,b.RE_URL=/^(?:\[([0-9a-f:.]+)\]|([0-9a-f:.]+))(?:[/?#].*)?$/i,b.RE_URL_WITH_PORT=/^\[([0-9a-f:.]+)\]:([0-9]{1,5})(?:[/?#].*)?$/i,b.SPECIAL_PURPOSE=[["::1/128","Loopback Address",!1],["::/128","Unspecified Address",!1],["::ffff:0:0/96","IPv4-mapped Address",!1],["64:ff9b::/96","IPv4-IPv6 Translat.",!0],["64:ff9b:1::/48","IPv4-IPv6 Translat.",!1],["100::/64","Discard-Only Address Block",!1],["100:0:0:1::/64","Dummy IPv6 Prefix",!1],["2001::/23","IETF Protocol Assignments",!1],["2001::/32","TEREDO",!1],["2001:1::1/128","Port Control Protocol Anycast",!0],["2001:1::2/128","Traversal Using Relays around NAT Anycast",!0],["2001:1::3/128","DNS-SD Service Registration Protocol Anycast",!0],["2001:2::/48","Benchmarking",!1],["2001:3::/32","AMT",!0],["2001:4:112::/48","AS112-v6",!0],["2001:10::/28","Deprecated (previously ORCHID)",null],["2001:20::/28","ORCHIDv2",!0],["2001:30::/28","Drone Remote ID Protocol Entity Tags (DETs) Prefix",!0],["2001:db8::/32","Documentation",!1],["2002::/16","6to4",!1],["2620:4f:8000::/48","Direct Delegation AS112 Service",!0],["3fff::/20","Documentation",!1],["5f00::/16","Segment Routing (SRv6) SIDs",!1],["fc00::/7","Unique-Local",!1],["fe80::/10","Link-Local Unicast",!1]]},28798:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.Address6=void 0;let g=f(c(97462)),h=f(c(51835)),i=f(c(28673)),j=f(c(75737)),k=c(79440),l=c(29142),m=c(50508),n=c(97462),o=g.isCorrect(i.BITS);function p(a){if(!a)throw Error("Assertion failed.")}function q(a){return(a=a.replace(/^(0{1,})([1-9]+)$/,'<span class="parse-error">$1</span>$2')).replace(/^(0{1,})(0)$/,'<span class="parse-error">$1</span>$2')}function r(a){return parseInt(a,16).toString(16).padStart(4,"0")}function s(a){return 255&a}class t{constructor(a,b){this.addressMinusSuffix="",this.parsedSubnet="",this.subnet="/128",this.subnetMask=128,this.v4=!1,this.zone="",this.isInSubnet=g.isInSubnet,this.isHostInSubnet=g.isHostInSubnet,this.isCorrect=o,void 0===b?this.groups=i.GROUPS:this.groups=b,this.address=a;let c=i.RE_SUBNET_STRING.exec(a);if(c){if(this.parsedSubnet=c[0].replace("/",""),this.subnetMask=parseInt(this.parsedSubnet,10),this.subnet=`/${this.subnetMask}`,Number.isNaN(this.subnetMask)||this.subnetMask<0||this.subnetMask>i.BITS)throw new m.AddressError("Invalid subnet mask.");a=a.replace(i.RE_SUBNET_STRING,"")}if(/\//.test(a))throw new m.AddressError("Invalid subnet mask.");let d=a.indexOf("%");-1!==d&&/^.*$/.test(a.slice(d))&&(this.zone=a.slice(d),a=a.slice(0,d));let e=5*this.groups+5;if(a.length>e)throw new m.AddressError(`IPv6 addresses are at most ${e} characters.`);this.addressMinusSuffix=a,this.parsedAddress=this.parse(this.addressMinusSuffix)}static isValid(a){try{return new t(a),!0}catch{return!1}}static fromBigInt(a){if(a<BigInt(0)||a>(BigInt(1)<<BigInt(i.BITS))-BigInt(1))throw new m.AddressError("IPv6 BigInt must be in the range 0 to 2**128 - 1");let b=a.toString(16).padStart(32,"0"),c=[];for(let a=0;a<i.GROUPS;a++)c.push(b.slice(4*a,(a+1)*4));return new t(c.join(":"))}static fromURL(a){var b;let c,d,e,f,g=null,h=a.replace(/^[a-z][a-z0-9+.-]*:\/\//i,"");if(-1!==h.indexOf("[")&&-1!==h.indexOf("]:")){if(e="failed to parse address with port",null===(d=i.RE_URL_WITH_PORT.exec(h)))return{error:e,address:null,port:null};c=d[1],g=d[2]}else{if(e="failed to parse address from URL",null===(d=i.RE_URL.exec(h)))return{error:e,address:null,port:null};c=null!=(b=d[1])?b:d[2]}g?((g=parseInt(g,10))<0||g>65535)&&(g=null):g=null;try{f=new t(c)}catch{return{error:e,address:null,port:null}}return{address:f,port:g}}static fromAddressAndMask(a,b){let c=g.prefixLengthFromMask(new t(b).bigInt(),i.BITS);return new t(`${a}/${c}`)}static fromAddressAndWildcardMask(a,b){let c=new t(b).bigInt(),d=(BigInt(1)<<BigInt(i.BITS))-BigInt(1),e=g.prefixLengthFromMask(c^d,i.BITS);return new t(`${a}/${e}`)}static fromWildcard(a){let b;if(a.includes("%")||a.includes("/"))throw new m.AddressError("Wildcard pattern must not include a zone or CIDR suffix");let c=a.split("::");if(c.length>2)throw new m.AddressError("Wildcard pattern cannot contain more than one '::'");if(2===c.length){let a=""===c[0]?[]:c[0].split(":"),d=""===c[1]?[]:c[1].split(":"),e=i.GROUPS-a.length-d.length;if(e<1)throw new m.AddressError("Wildcard pattern with '::' has too many groups");b=[...a,...Array(e).fill("0"),...d]}else b=a.split(":");if(b.length!==i.GROUPS)throw new m.AddressError("Wildcard pattern must have 8 groups");let d=-1;for(let a=0;a<b.length;a++)if("*"===b[a])-1===d&&(d=a);else if(-1!==d)throw new m.AddressError("Wildcard `*` must only appear in trailing groups (e.g. `2001:db8:*:*:*:*:*:*`)");let e=-1===d?0:b.length-d,f=b.map(a=>"*"===a?"0":a),g=i.BITS-16*e;return new t(`${f.join(":")}/${g}`)}static fromAddress4(a){let b=new k.Address4(a),c=i.BITS-(h.BITS-b.subnetMask);return new t(`::ffff:${b.correctForm()}/${c}`)}static fromArpa(a){let b=a.replace(/(\.ip6\.arpa)?\.?$/i,"");if(!/^[0-9a-f](\.[0-9a-f]){0,31}$/i.test(b))throw new m.AddressError("Invalid 'ip6.arpa' form.");let c=b.split(".").reverse(),d=4*c.length,e=c.join("").padEnd(32,"0"),f=[];for(let a=0;a<i.GROUPS;a++)f.push(e.slice(4*a,(a+1)*4));return new t(`${f.join(":")}/${d}`)}microsoftTranscription(){return`${this.correctForm().replace(/:/g,"-")}.ipv6-literal.net`}mask(a=this.subnetMask){return this.getBitsBase2(0,a)}possibleSubnets(a=128){let b=i.BITS-this.subnetMask-Math.abs(a-i.BITS);if(b<0)return"0";var c=(BigInt("2")**BigInt(b)).toString(10);let d=/(\d+)(\d{3})/;for(;d.test(c);)c=c.replace(d,"$1,$2");return c}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(i.BITS-this.subnetMask)}`)}startAddress(){return t.fromBigInt(this._startAddress())}startAddressExclusive(){let a=BigInt("1");return t.fromBigInt(this._startAddress()+a)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(i.BITS-this.subnetMask)}`)}endAddress(){return t.fromBigInt(this._endAddress())}endAddressExclusive(){let a=BigInt("1");return t.fromBigInt(this._endAddress()-a)}offset(a){return t.fromBigInt(g.offsetBigInt(this.bigInt(),a,i.BITS,"IPv6")).withSubnetMask(this.subnetMask)}nextNetwork(){return t.fromBigInt(g.offsetBigInt(this._endAddress(),1,i.BITS,"IPv6")).withSubnetMask(this.subnetMask)}withSubnetMask(a){return new t(`${this.correctForm()}/${a}`)}subnetMaskAddress(){return t.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(i.BITS-this.subnetMask)}`))}wildcardMask(){return t.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(i.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}getScope(){let a=this.getType();return"Multicast"===a||a.startsWith("Multicast ")?i.SCOPES[parseInt(this.getBits(12,16).toString(10),10)]||"Unknown":"Link-local unicast"===a||"Loopback"===a?"Link local":"Unspecified"===a?"Unknown":"Global"}getType(){for(let a=0;a<u.length;a++){let b=u[a];if(this.isHostInSubnet(b[0]))return b[1]}return"Global unicast"}getBits(a,b){return BigInt(`0b${this.getBitsBase2(a,b)}`)}getBitsBase2(a,b){return this.binaryZeroPad().slice(a,b)}getBitsBase16(a,b){let c=b-a;if(c%4!=0)throw Error("Length of bits to retrieve must be divisible by four");return this.getBits(a,b).toString(16).padStart(c/4,"0")}getBitsPastSubnet(){return this.getBitsBase2(this.subnetMask,i.BITS)}reverseForm(a){a||(a={});let b=Math.floor(this.subnetMask/4),c=this.canonicalForm().replace(/:/g,"").split("").slice(0,b).reverse().join(".");return b>0?a.omitSuffix?c:`${c}.ip6.arpa.`:a.omitSuffix?"":"ip6.arpa."}correctForm(){let a,b=[],c=0,d=[];for(a=0;a<this.parsedAddress.length;a++){let b=parseInt(this.parsedAddress[a],16);0===b&&c++,0!==b&&c>0&&(c>1&&d.push([a-c,a-1]),c=0)}c>1&&d.push([this.parsedAddress.length-c,this.parsedAddress.length-1]);let e=d.map(a=>a[1]-a[0]+1);if(d.length>0){let a=e.indexOf(Math.max(...e));b=function(a,b){let c,d=[],e=[];for(c=0;c<a.length;c++)c<b[0]?d.push(a[c]):c>b[1]&&e.push(a[c]);return d.concat(["compact"]).concat(e)}(this.parsedAddress,d[a])}else b=this.parsedAddress;for(a=0;a<b.length;a++)"compact"!==b[a]&&(b[a]=parseInt(b[a],16).toString(16));let f=b.join(":");return(f=(f=f.replace(/^compact$/,"::")).replace(/(^compact)|(compact$)/,":")).replace(/compact/,"")}binaryZeroPad(){return void 0===this._binaryZeroPad&&(this._binaryZeroPad=this.bigInt().toString(2).padStart(i.BITS,"0")),this._binaryZeroPad}parse4in6(a){if(-1===a.indexOf("."))return a;let b=a.split(":"),c=b.slice(-1)[0],d=c.split(".");if(d.length===h.GROUPS&&d.every(a=>/^\d{1,3}$/.test(a))&&d.some(a=>/^0\d/.test(a))){let a=d.map(q).join("."),c=b.slice(0,-1).map(j.escapeHtml).join(":"),e=b.length>1?":":"";throw new m.AddressError("IPv4 addresses can't have leading zeroes.",`${c}${e}${a}`)}let e=c.match(h.RE_ADDRESS);if(e){this.parsedAddress4=e[0];let c=this.subnetMask>=96?`/${this.subnetMask-96}`:"";this.address4=new k.Address4(`${this.parsedAddress4}${c}`),this.v4=!0,b[b.length-1]=this.address4.toGroup6(),a=b.join(":")}return a}parse(a){let b=(a=this.parse4in6(a)).match(i.RE_BAD_CHARACTERS);if(b)throw new m.AddressError(`Bad character${b.length>1?"s":""} detected in address: ${b.join("")}`,a.replace(i.RE_BAD_CHARACTERS,'<span class="parse-error">$1</span>'));let c=a.match(i.RE_BAD_ADDRESS);if(c)throw new m.AddressError(`Address failed regex: ${c.join("")}`,a.replace(i.RE_BAD_ADDRESS,'<span class="parse-error">$1</span>'));let d=[],e=a.split("::");if(2===e.length){let a=e[0].split(":"),b=e[1].split(":");1===a.length&&""===a[0]&&(a=[]),1===b.length&&""===b[0]&&(b=[]);let c=this.groups-(a.length+b.length);if(!c)throw new m.AddressError("Error parsing groups");this.elidedGroups=c,this.elisionBegin=a.length,this.elisionEnd=a.length+this.elidedGroups,d=d.concat(a);for(let a=0;a<c;a++)d.push("0");d=d.concat(b)}else if(1===e.length)d=a.split(":"),this.elidedGroups=0;else throw new m.AddressError("Too many :: groups found");if((d=d.map(a=>parseInt(a,16).toString(16))).length!==this.groups)throw new m.AddressError("Incorrect number of groups found");return d}canonicalForm(){return this.parsedAddress.map(r).join(":")}decimal(){return this.parsedAddress.map(a=>parseInt(a,16).toString(10).padStart(5,"0")).join(":")}bigInt(){return BigInt(`0x${this.parsedAddress.map(r).join("")}`)}to4(){let a=this.binaryZeroPad().split(""),b=BigInt(`0b${a.slice(96,128).join("")}`).toString(16).padStart(8,"0");if(this.subnetMask>=96){let a=this.subnetMask-96,c=[];for(let a=0;a<8;a+=2)c.push(parseInt(b.slice(a,a+2),16));return new k.Address4(`${c.join(".")}/${a}`)}return k.Address4.fromHex(b)}to4in6(){let a=this.to4(),b=new t(this.parsedAddress.slice(0,6).join(":"),6).correctForm(),c="";return/:$/.test(b)||(c=":"),b+c+a.correctForm()}inspectTeredo(){let a=this.getBitsBase16(0,32),b=(this.getBits(80,96)^BigInt("0xffff")).toString(),c=k.Address4.fromHex(this.getBitsBase16(32,64)),d=this.getBits(96,128),e=k.Address4.fromHex((d^BigInt("0xffffffff")).toString(16).padStart(8,"0")),f=this.getBitsBase2(64,80),g=(0,n.testBit)(f,15),h=(0,n.testBit)(f,14),i=(0,n.testBit)(f,8),j=(0,n.testBit)(f,9),l=BigInt(`0b${f.slice(2,6)+f.slice(8,16)}`).toString(10);return{prefix:`${a.slice(0,4)}:${a.slice(4,8)}`,server4:c.address,client4:e.address,flags:f,coneNat:g,microsoft:{reserved:h,universalLocal:j,groupIndividual:i,nonce:l},udpPort:b}}inspect6to4(){let a=this.getBitsBase16(0,16),b=k.Address4.fromHex(this.getBitsBase16(16,48));return{prefix:a.slice(0,4),gateway:b.address}}to6to4(){return this.is4()?new t(["2002",this.getBitsBase16(96,112),this.getBitsBase16(112,128),":/16"].join(":")):null}static fromAddress4Nat64(a,b="64:ff9b::/96"){let c,d=new k.Address4(a),e=new t(b),f=e.subnetMask;if(32!==f&&40!==f&&48!==f&&56!==f&&64!==f&&96!==f)throw new m.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96");let g=e.binaryZeroPad(),h=d.binaryZeroPad();if(96===f)c=g.slice(0,96)+h;else{let a=64-f;c=[g.slice(0,f),h.slice(0,a),"00000000",h.slice(a),"0".repeat(56-(32-a))].join("")}let i=BigInt(`0b${c}`).toString(16).padStart(32,"0"),j=[];for(let a=0;a<8;a++)j.push(i.slice(4*a,(a+1)*4));return new t(j.join(":"))}toAddress4Nat64(a="64:ff9b::/96"){let b,c=new t(a),d=c.subnetMask;if(32!==d&&40!==d&&48!==d&&56!==d&&64!==d&&96!==d)throw new m.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96");if(!this.isHostInSubnet(c))return null;let e=this.binaryZeroPad();if(96===d)b=e.slice(96,128);else{let a=64-d;b=e.slice(d,d+a)+e.slice(72,72+(32-a))}let f=[];for(let a=0;a<4;a++)f.push(parseInt(b.slice(8*a,(a+1)*8),2).toString());return new k.Address4(f.join("."))}toByteArray(){let a=this.bigInt().toString(16).padStart(i.BITS/4,"0"),b=[];for(let c=0,d=a.length;c<d;c+=2)b.push(parseInt(a.substring(c,c+2),16));return b}toUnsignedByteArray(){return this.toByteArray().map(s)}static fromByteArray(a){return g.assertByteArray(a,16,"IPv6",-128),this.fromUnsignedByteArray(a.map(s))}static fromUnsignedByteArray(a){g.assertByteArray(a,16,"IPv6",0);let b=BigInt("256"),c=BigInt("0"),d=BigInt("1");for(let e=a.length-1;e>=0;e--)c+=d*BigInt(a[e].toString(10)),d*=b;return t.fromBigInt(c)}isCanonical(){return this.addressMinusSuffix===this.canonicalForm()}isLinkLocal(){let a=this.embeddedIPv4();return a?a.isLinkLocal():this.isHostInSubnet(y)}isMulticast(){let a=this.embeddedIPv4();if(a)return a.isMulticast();let b=this.getType();return"Multicast"===b||b.startsWith("Multicast ")}is4(){return this.v4}isMapped4(){return this.isHostInSubnet(D)}embeddedIPv4(){return this.isMapped4()||this.isHostInSubnet(E)?this.to4():null}isTeredo(){return this.isHostInSubnet(v)}is6to4(){return this.isHostInSubnet(w)}isLoopback(){let a=this.embeddedIPv4();return a?a.isLoopback():"Loopback"===this.getType()}isULA(){return this.isHostInSubnet(x)}isPrivate(){let a=this.embeddedIPv4();return a?a.isPrivate():this.isULA()||this.isHostInSubnet(F)}isCGNAT(){let a=this.embeddedIPv4();return!!a&&a.isCGNAT()}isBroadcast(){let a=this.embeddedIPv4();return!!a&&a.isBroadcast()}isUnspecified(){let a=this.embeddedIPv4();return a?a.isUnspecified():"Unspecified"===this.getType()}isDocumentation(){return z.some(a=>this.isHostInSubnet(a))}isBenchmarking(){let a=this.embeddedIPv4();return a?a.isBenchmarking():this.isHostInSubnet(A)}isGlobal(){let a=this.embeddedIPv4();return a?a.isGlobal():this.isHostInSubnet(B)&&g.isGloballyReachable.call(this,C)}href(a){return a=void 0===a?"":`:${a}`,`http://[${this.correctForm()}]${a}/`}link(a){a||(a={}),void 0===a.className&&(a.className=""),void 0===a.prefix&&(a.prefix="/#address="),void 0===a.v4&&(a.v4=!1);let b=this.correctForm;a.v4&&(b=this.to4in6);let c=b.call(this),d=j.escapeHtml(`${a.prefix}${c}`),e=j.escapeHtml(c);if(a.className){let b=j.escapeHtml(a.className);return`<a href="${d}" class="${b}">${e}</a>`}return`<a href="${d}">${e}</a>`}group(){if(0===this.elidedGroups)return j.simpleGroup(this.addressMinusSuffix).join(":");p("number"==typeof this.elidedGroups),p("number"==typeof this.elisionBegin);let a=[],[b,c]=this.addressMinusSuffix.split("::");b.length?a.push(...j.simpleGroup(b)):a.push("");let d=["hover-group"];for(let a=this.elisionBegin;a<this.elisionBegin+this.elidedGroups;a++)d.push(`group-${a}`);return a.push(`<span class="${d.join(" ")}"></span>`),c.length?a.push(...j.simpleGroup(c,this.elisionEnd)):a.push(""),this.is4()&&(p(this.address4 instanceof k.Address4),a.pop(),a.push(this.address4.groupForV6())),a.join(":")}regularExpressionString(a=!1){let b=[],c=new t(this.correctForm());if(0===c.elidedGroups)b.push((0,l.simpleRegularExpression)(c.parsedAddress));else if(c.elidedGroups===i.GROUPS)b.push((0,l.possibleElisions)(i.GROUPS));else{let a=c.address.split("::");a[0].length&&b.push((0,l.simpleRegularExpression)(a[0].split(":"))),p("number"==typeof c.elidedGroups),b.push((0,l.possibleElisions)(c.elidedGroups,0!==a[0].length,0!==a[1].length)),a[1].length&&b.push((0,l.simpleRegularExpression)(a[1].split(":"))),b=[b.join(":")]}return a||(b=["(?=^|",l.ADDRESS_BOUNDARY,"|[^\\w\\:])(",...b,")(?=[^\\w\\:]|",l.ADDRESS_BOUNDARY,"|$)"]),b.join("")}regularExpression(a=!1){return RegExp(this.regularExpressionString(a),"i")}}b.Address6=t;let u=Object.keys(i.TYPES).map(a=>[new t(a),i.TYPES[a]]),v=new t("2001::/32"),w=new t("2002::/16"),x=new t("fc00::/7"),y=new t("fe80::/10"),z=[new t("2001:db8::/32"),new t("3fff::/20")],A=new t("2001:2::/48"),B=new t("2000::/3"),C=i.SPECIAL_PURPOSE.map(([a,,b])=>({subnet:new t(a),reachable:b})),D=new t("::ffff:0:0/96"),E=new t("64:ff9b::/96"),F=new t("64:ff9b:1::/48")},29142:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.ADDRESS_BOUNDARY=void 0,b.groupPossibilities=h,b.padGroup=i,b.simpleRegularExpression=function(a){let b=[];a.forEach((a,c)=>{0===parseInt(a,16)&&b.push(c)});let c=b.map(b=>a.map((a,c)=>{if(c===b){let b=0===c||c===g.GROUPS-1?":":"";return h([i(a),b])}return i(a)}).join(":"));return c.push(a.map(i).join(":")),h(c)},b.possibleElisions=function(a,b,c){let d=[];b||c||d.push("::"),b&&c&&d.push(""),(c&&!b||!c&&b)&&d.push(":"),d.push(`${b?"":":"}(:0{1,4}){1,${a-1}}`),d.push(`(0{1,4}:){1,${a-1}}${c?"":":"}`),d.push(`(0{1,4}:){${a-1}}0{1,4}`);for(let b=1;b<a-1;b++)for(let c=1;c<a-b;c++)d.push(`(0{1,4}:){${c}}:(0{1,4}:){${a-c-b-1}}0{1,4}`);return h(d)};let g=f(c(28673));function h(a){return`(${a.join("|")})`}function i(a){return a.length<4?`0{0,${4-a.length}}${a}`:a}b.ADDRESS_BOUNDARY="[^A-Fa-f0-9:]"},42045:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.validateSocksClientOptions=function(a,b=["connect","bind","associate"]){if(!e.SocksCommand[a.command])throw new d.SocksClientError(e.ERRORS.InvalidSocksCommand,a);if(-1===b.indexOf(a.command))throw new d.SocksClientError(e.ERRORS.InvalidSocksCommandForOperation,a);if(!j(a.destination))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsDestination,a);if(!k(a.proxy))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxy,a);if(i(a.proxy,a),a.timeout&&!l(a.timeout))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsTimeout,a);if(a.existing_socket&&!(a.existing_socket instanceof f.Duplex))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsExistingSocket,a)},b.validateSocksClientChainOptions=function(a){if("connect"!==a.command)throw new d.SocksClientError(e.ERRORS.InvalidSocksCommandChain,a);if(!j(a.destination))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsDestination,a);if(!(a.proxies&&Array.isArray(a.proxies)&&a.proxies.length>=2))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxiesLength,a);if(a.proxies.forEach(b=>{if(!k(b))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxy,a);i(b,a)}),a.timeout&&!l(a.timeout))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsTimeout,a)},b.ipv4ToInt32=function(a){return new g.Address4(a).toArray().reduce((a,b)=>(a<<8)+b,0)>>>0},b.int32ToIpv4=function(a){return[a>>>24&255,a>>>16&255,a>>>8&255,255&a].join(".")},b.ipToBuffer=function(a){if(h.isIPv4(a)){let b=new g.Address4(a);return Buffer.from(b.toArray())}if(h.isIPv6(a)){let b=new g.Address6(a);return Buffer.from(b.canonicalForm().split(":").map(a=>a.padStart(4,"0")).join(""),"hex")}throw Error("Invalid IP address format")};let d=c(26174),e=c(60485),f=c(27910),g=c(64367),h=c(91645);function i(a,b){if(void 0!==a.custom_auth_method){if(a.custom_auth_method<e.SOCKS5_CUSTOM_AUTH_START||a.custom_auth_method>e.SOCKS5_CUSTOM_AUTH_END)throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsCustomAuthRange,b);if(void 0===a.custom_auth_request_handler||"function"!=typeof a.custom_auth_request_handler||void 0===a.custom_auth_response_size||void 0===a.custom_auth_response_handler||"function"!=typeof a.custom_auth_response_handler)throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsCustomAuthOptions,b)}}function j(a){return a&&"string"==typeof a.host&&256>Buffer.byteLength(a.host)&&"number"==typeof a.port&&a.port>=0&&a.port<=65535}function k(a){return a&&("string"==typeof a.host||"string"==typeof a.ipaddress)&&"number"==typeof a.port&&a.port>=0&&a.port<=65535&&(4===a.type||5===a.type)}function l(a){return"number"==typeof a&&a>0}},48326:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.req=b.json=b.toBuffer=void 0;let g=f(c(81630)),h=f(c(55591));async function i(a){let b=0,c=[];for await(let d of a)b+=d.length,c.push(d);return Buffer.concat(c,b)}b.toBuffer=i,b.json=async function(a){let b=(await i(a)).toString("utf8");try{return JSON.parse(b)}catch(a){throw a.message+=` (input: ${b})`,a}},b.req=function(a,b={}){let c=(("string"==typeof a?a:a.href).startsWith("https:")?h:g).request(a,b),d=new Promise((a,b)=>{c.once("response",a).once("error",b).end()});return c.then=d.then.bind(d),c}},50508:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.AddressError=void 0;class c extends Error{constructor(a,b){super(a),this.name="AddressError",this.parseMessage=b}}b.AddressError=c},51835:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SPECIAL_PURPOSE=b.RE_SUBNET_STRING=b.RE_ADDRESS=b.GROUPS=b.BITS=void 0,b.BITS=32,b.GROUPS=4,b.RE_ADDRESS=/^(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])$/g,b.RE_SUBNET_STRING=/\/\d{1,2}$/,b.SPECIAL_PURPOSE=[["0.0.0.0/8","This network",!1],["0.0.0.0/32","This host on this network",!1],["10.0.0.0/8","Private-Use",!1],["100.64.0.0/10","Shared Address Space",!1],["127.0.0.0/8","Loopback",!1],["169.254.0.0/16","Link Local",!1],["172.16.0.0/12","Private-Use",!1],["192.0.0.0/24","IETF Protocol Assignments",!1],["192.0.0.0/29","IPv4 Service Continuity Prefix",!1],["192.0.0.8/32","IPv4 dummy address",!1],["192.0.0.9/32","Port Control Protocol Anycast",!0],["192.0.0.10/32","Traversal Using Relays around NAT Anycast",!0],["192.0.0.170/32","NAT64/DNS64 Discovery",!1],["192.0.0.171/32","NAT64/DNS64 Discovery",!1],["192.0.2.0/24","Documentation (TEST-NET-1)",!1],["192.31.196.0/24","AS112-v4",!0],["192.52.193.0/24","AMT",!0],["192.88.99.0/24","Deprecated (6to4 Relay Anycast)",null],["192.88.99.2/32","6a44-relay anycast address",!1],["192.168.0.0/16","Private-Use",!1],["192.175.48.0/24","Direct Delegation AS112 Service",!0],["198.18.0.0/15","Benchmarking",!1],["198.51.100.0/24","Documentation (TEST-NET-2)",!1],["203.0.113.0/24","Documentation (TEST-NET-3)",!1],["240.0.0.0/4","Reserved",!1],["255.255.255.255/32","Limited Broadcast",!1]]},60485:(a,b)=>{var c,d,e,f,g,h,i,j,k,l,m,n;Object.defineProperty(b,"__esModule",{value:!0}),b.SOCKS5_NO_ACCEPTABLE_AUTH=b.SOCKS5_CUSTOM_AUTH_END=b.SOCKS5_CUSTOM_AUTH_START=b.SOCKS_INCOMING_PACKET_SIZES=b.SocksClientState=b.Socks5Response=b.Socks5HostType=b.Socks5Auth=b.Socks4Response=b.SocksCommand=b.ERRORS=b.DEFAULT_TIMEOUT=void 0,b.DEFAULT_TIMEOUT=3e4,b.ERRORS={InvalidSocksCommand:"An invalid SOCKS command was provided. Valid options are connect, bind, and associate.",InvalidSocksCommandForOperation:"An invalid SOCKS command was provided. Only a subset of commands are supported for this operation.",InvalidSocksCommandChain:"An invalid SOCKS command was provided. Chaining currently only supports the connect command.",InvalidSocksClientOptionsDestination:"An invalid destination host was provided.",InvalidSocksClientOptionsExistingSocket:"An invalid existing socket was provided. This should be an instance of stream.Duplex.",InvalidSocksClientOptionsProxy:"Invalid SOCKS proxy details were provided.",InvalidSocksClientOptionsTimeout:"An invalid timeout value was provided. Please enter a value above 0 (in ms).",InvalidSocksClientOptionsProxiesLength:"At least two socks proxies must be provided for chaining.",InvalidSocksClientOptionsCustomAuthRange:"Custom auth must be a value between 0x80 and 0xFE.",InvalidSocksClientOptionsCustomAuthOptions:"When a custom_auth_method is provided, custom_auth_request_handler, custom_auth_response_size, and custom_auth_response_handler must also be provided and valid.",NegotiationError:"Negotiation error",SocketClosed:"Socket closed",ProxyConnectionTimedOut:"Proxy connection timed out",InternalError:"SocksClient internal error (this should not happen)",InvalidSocks4HandshakeResponse:"Received invalid Socks4 handshake response",Socks4ProxyRejectedConnection:"Socks4 Proxy rejected connection",InvalidSocks4IncomingConnectionResponse:"Socks4 invalid incoming connection response",Socks4ProxyRejectedIncomingBoundConnection:"Socks4 Proxy rejected incoming bound connection",InvalidSocks5InitialHandshakeResponse:"Received invalid Socks5 initial handshake response",InvalidSocks5IntiailHandshakeSocksVersion:"Received invalid Socks5 initial handshake (invalid socks version)",InvalidSocks5InitialHandshakeNoAcceptedAuthType:"Received invalid Socks5 initial handshake (no accepted authentication type)",InvalidSocks5InitialHandshakeUnknownAuthType:"Received invalid Socks5 initial handshake (unknown authentication type)",Socks5AuthenticationFailed:"Socks5 Authentication failed",InvalidSocks5FinalHandshake:"Received invalid Socks5 final handshake response",InvalidSocks5FinalHandshakeRejected:"Socks5 proxy rejected connection",InvalidSocks5IncomingConnectionResponse:"Received invalid Socks5 incoming connection response",Socks5ProxyRejectedIncomingBoundConnection:"Socks5 Proxy rejected incoming bound connection"},b.SOCKS_INCOMING_PACKET_SIZES={Socks5InitialHandshakeResponse:2,Socks5UserPassAuthenticationResponse:2,Socks5ResponseHeader:5,Socks5ResponseIPv4:10,Socks5ResponseIPv6:22,Socks5ResponseHostname:a=>a+7,Socks4Response:8},(i=c||(b.SocksCommand=c={}))[i.connect=1]="connect",i[i.bind=2]="bind",i[i.associate=3]="associate",(j=d||(b.Socks4Response=d={}))[j.Granted=90]="Granted",j[j.Failed=91]="Failed",j[j.Rejected=92]="Rejected",j[j.RejectedIdent=93]="RejectedIdent",(k=e||(b.Socks5Auth=e={}))[k.NoAuth=0]="NoAuth",k[k.GSSApi=1]="GSSApi",k[k.UserPass=2]="UserPass",b.SOCKS5_CUSTOM_AUTH_START=128,b.SOCKS5_CUSTOM_AUTH_END=254,b.SOCKS5_NO_ACCEPTABLE_AUTH=255,(l=f||(b.Socks5Response=f={}))[l.Granted=0]="Granted",l[l.Failure=1]="Failure",l[l.NotAllowed=2]="NotAllowed",l[l.NetworkUnreachable=3]="NetworkUnreachable",l[l.HostUnreachable=4]="HostUnreachable",l[l.ConnectionRefused=5]="ConnectionRefused",l[l.TTLExpired=6]="TTLExpired",l[l.CommandNotSupported=7]="CommandNotSupported",l[l.AddressNotSupported=8]="AddressNotSupported",(m=g||(b.Socks5HostType=g={}))[m.IPv4=1]="IPv4",m[m.Hostname=3]="Hostname",m[m.IPv6=4]="IPv6",(n=h||(b.SocksClientState=h={}))[n.Created=0]="Created",n[n.Connecting=1]="Connecting",n[n.Connected=2]="Connected",n[n.SentInitialHandshake=3]="SentInitialHandshake",n[n.ReceivedInitialHandshakeResponse=4]="ReceivedInitialHandshakeResponse",n[n.SentAuthentication=5]="SentAuthentication",n[n.ReceivedAuthenticationResponse=6]="ReceivedAuthenticationResponse",n[n.SentFinalHandshake=7]="SentFinalHandshake",n[n.ReceivedFinalResponse=8]="ReceivedFinalResponse",n[n.BoundWaitingForConnection=9]="BoundWaitingForConnection",n[n.Established=10]="Established",n[n.Disconnected=11]="Disconnected",n[n.Error=99]="Error"},61679:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b},g=this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(b,"__esModule",{value:!0}),b.SocksProxyAgent=void 0;let h=c(13092),i=c(98748),j=g(c(46140)),k=f(c(14985)),l=f(c(91645)),m=f(c(34631)),n=c(1932),o=(0,j.default)("socks-proxy-agent");class p extends i.Agent{constructor(a,b){super(b);let{proxy:c,lookup:d}=function(a){let b=!1,c=5,d=a.hostname,e=parseInt(a.port,10)||1080;switch(a.protocol.replace(":","")){case"socks4":b=!0,c=4;break;case"socks4a":c=4;break;case"socks5":b=!0,c=5;break;case"socks":case"socks5h":c=5;break;default:throw TypeError(`A "socks" protocol must be specified! Got: ${String(a.protocol)}`)}let f={host:d,port:e,type:c};return a.username&&Object.defineProperty(f,"userId",{value:decodeURIComponent(a.username),enumerable:!1}),null!=a.password&&Object.defineProperty(f,"password",{value:decodeURIComponent(a.password),enumerable:!1}),{lookup:b,proxy:f}}("string"==typeof a?new n.URL(a):a);this.shouldLookup=d,this.proxy=c,this.timeout=b?.timeout??null,this.socketOptions=b?.socketOptions??null}async connect(a,b){let{shouldLookup:c,proxy:d,timeout:e}=this;if(!b.host)throw Error("No `host` defined!");let{host:f}=b,{port:g,lookup:i=k.lookup}=b;c&&(f=await new Promise((a,b)=>{i(f,{},(c,d)=>{c?b(c):a(d)})}));let j={proxy:d,destination:{host:f,port:"number"==typeof g?g:parseInt(g,10)},command:"connect",timeout:e??void 0,socket_options:this.socketOptions??void 0},n=b=>{a.destroy(),p.destroy(),b&&b.destroy()};o("Creating socks proxy connection: %o",j);let{socket:p}=await h.SocksClient.createConnection(j);if(o("Successfully created socks proxy connection"),null!==e&&(p.setTimeout(e),p.on("timeout",()=>n())),b.secureEndpoint){o("Upgrading socket connection to TLS");let a=m.connect({...function(a,...b){let c,d={};for(c in a)b.includes(c)||(d[c]=a[c]);return d}(void 0===b.servername&&b.host&&!l.isIP(b.host)?{...b,servername:b.host}:b,"host","path","port"),socket:p});return a.once("error",b=>{o("Socket TLS error",b.message),n(a)}),a}return p}}p.protocols=["socks","socks4","socks4a","socks5","socks5h"],b.SocksProxyAgent=p},64367:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.v6=b.AddressError=b.Address6=b.Address4=void 0;var g=c(79440);Object.defineProperty(b,"Address4",{enumerable:!0,get:function(){return g.Address4}});var h=c(28798);Object.defineProperty(b,"Address6",{enumerable:!0,get:function(){return h.Address6}});var i=c(50508);Object.defineProperty(b,"AddressError",{enumerable:!0,get:function(){return i.AddressError}}),b.v6={helpers:f(c(75737))}},75737:(a,b)=>{function c(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function d(a){return c(a).replace(/(0+)/g,'<span class="zero">$1</span>')}function e(a){return c(a).replace(/^(0+)/,'<span class="zero">$1</span>')}Object.defineProperty(b,"__esModule",{value:!0}),b.escapeHtml=c,b.spanAllZeroes=d,b.spanAll=function(a,b=0){return a.split("").map((a,e)=>`<span class="digit value-${c(a)} position-${e+b}">${d(a)}</span>`).join("")},b.spanLeadingZeroes=function(a){return a.split(":").map(a=>e(a)).join(":")},b.simpleGroup=function(a,b=0){return a.split(":").map((a,c)=>/group-v4/.test(a)?a:`<span class="hover-group group-${c+b}">${e(a)}</span>`)}},79440:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.Address4=void 0;let g=f(c(97462)),h=f(c(51835)),i=c(50508),j=g.isCorrect(h.BITS);class k{constructor(a){this.addressMinusSuffix="",this.groups=h.GROUPS,this.parsedAddress=[],this.parsedSubnet="",this.subnet="/32",this.subnetMask=32,this.v4=!0,this.isCorrect=j,this.isInSubnet=g.isInSubnet,this.isHostInSubnet=g.isHostInSubnet,this.address=a;let b=h.RE_SUBNET_STRING.exec(a);if(b){if(this.parsedSubnet=b[0].replace("/",""),this.subnetMask=parseInt(this.parsedSubnet,10),this.subnet=`/${this.subnetMask}`,this.subnetMask<0||this.subnetMask>h.BITS)throw new i.AddressError("Invalid subnet mask.");a=a.replace(h.RE_SUBNET_STRING,"")}let c=4*h.GROUPS-1;if(a.length>c)throw new i.AddressError(`IPv4 addresses are at most ${c} characters.`);this.addressMinusSuffix=a,this.parsedAddress=this.parse(a)}static isValid(a){try{return new k(a),!0}catch{return!1}}parse(a){let b=a.split(".");if(b.some(a=>/^0\d/.test(a)))throw new i.AddressError("IPv4 addresses can't have leading zeroes.");if(!a.match(h.RE_ADDRESS))throw new i.AddressError("Invalid IPv4 address.");return b}correctForm(){return this.parsedAddress.map(a=>parseInt(a,10)).join(".")}static fromAddressAndMask(a,b){let c=g.prefixLengthFromMask(new k(b).bigInt(),h.BITS);return new k(`${a}/${c}`)}static fromAddressAndWildcardMask(a,b){let c=new k(b).bigInt(),d=(BigInt(1)<<BigInt(h.BITS))-BigInt(1),e=g.prefixLengthFromMask(c^d,h.BITS);return new k(`${a}/${e}`)}static fromWildcard(a){let b=a.split(".");if(b.length!==h.GROUPS)throw new i.AddressError("Wildcard pattern must have 4 octets");let c=-1;for(let a=0;a<b.length;a++)if("*"===b[a])-1===c&&(c=a);else if(-1!==c)throw new i.AddressError("Wildcard `*` must only appear in trailing octets (e.g. `192.168.0.*`)");let d=-1===c?0:b.length-c,e=b.map(a=>"*"===a?"0":a),f=h.BITS-8*d;return new k(`${e.join(".")}/${f}`)}static fromHex(a){let b=a.replace(/:/g,"");if(!/^[0-9a-fA-F]{8}$/.test(b))throw new i.AddressError("IPv4 hex must be exactly 8 hex digits");let c=[];for(let a=0;a<8;a+=2)c.push(parseInt(b.slice(a,a+2),16));return new k(c.join("."))}static fromInteger(a){if(!Number.isInteger(a)||a<0||a>0xffffffff)throw new i.AddressError("IPv4 integer must be in the range 0 to 2**32 - 1");return k.fromHex(a.toString(16).padStart(8,"0"))}static fromArpa(a){let b=4*h.GROUPS-1+3+14;if(a.length>b)throw new i.AddressError(`in-addr.arpa names are at most ${b} characters.`);return new k(a.replace(/(\.in-addr\.arpa)?\.?$/i,"").split(".").reverse().join("."))}toHex(){return this.parsedAddress.map(a=>g.stringToPaddedHex(a)).join(":")}toArray(){return this.parsedAddress.map(a=>parseInt(a,10))}toGroup6(){let a,b=[];for(a=0;a<h.GROUPS;a+=2)b.push(`${g.stringToPaddedHex(this.parsedAddress[a])}${g.stringToPaddedHex(this.parsedAddress[a+1])}`);return b.join(":")}bigInt(){return BigInt(`0x${this.parsedAddress.map(a=>g.stringToPaddedHex(a)).join("")}`)}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(h.BITS-this.subnetMask)}`)}startAddress(){return k.fromBigInt(this._startAddress())}startAddressExclusive(){let a=BigInt("1");return k.fromBigInt(this._startAddress()+a)}offset(a){return k.fromBigInt(g.offsetBigInt(this.bigInt(),a,h.BITS,"IPv4")).withSubnetMask(this.subnetMask)}nextNetwork(){return k.fromBigInt(g.offsetBigInt(this._endAddress(),1,h.BITS,"IPv4")).withSubnetMask(this.subnetMask)}withSubnetMask(a){return new k(`${this.correctForm()}/${a}`)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(h.BITS-this.subnetMask)}`)}endAddress(){return k.fromBigInt(this._endAddress())}endAddressExclusive(){let a=BigInt("1");return k.fromBigInt(this._endAddress()-a)}subnetMaskAddress(){return k.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(h.BITS-this.subnetMask)}`))}wildcardMask(){return k.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(h.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}static fromBigInt(a){if(a<BigInt(0)||a>BigInt(0xffffffff))throw new i.AddressError("IPv4 BigInt must be in the range 0 to 2**32 - 1");return k.fromHex(a.toString(16).padStart(8,"0"))}static fromByteArray(a){return g.assertByteArray(a,4,"IPv4",0),this.fromUnsignedByteArray(a)}static fromUnsignedByteArray(a){if(4!==a.length)throw new i.AddressError("IPv4 addresses require exactly 4 bytes");return new k(a.join("."))}mask(a){return void 0===a&&(a=this.subnetMask),this.getBitsBase2(0,a)}getBitsBase2(a,b){return this.binaryZeroPad().slice(a,b)}reverseForm(a){a||(a={});let b=this.correctForm().split(".").reverse().join(".");return a.omitSuffix?b:`${b}.in-addr.arpa.`}isMulticast(){return this.isHostInSubnet(l)}isPrivate(){return m.some(a=>this.isHostInSubnet(a))}isLoopback(){return this.isHostInSubnet(n)}isLinkLocal(){return this.isHostInSubnet(o)}isUnspecified(){return this.isHostInSubnet(p)}isBroadcast(){return this.isHostInSubnet(q)}isCGNAT(){return this.isHostInSubnet(r)}isDocumentation(){return s.some(a=>this.isHostInSubnet(a))}isBenchmarking(){return this.isHostInSubnet(t)}isReserved(){return this.isHostInSubnet(u)}isGlobal(){return!this.isMulticast()&&g.isGloballyReachable.call(this,v)}binaryZeroPad(){return void 0===this._binaryZeroPad&&(this._binaryZeroPad=this.bigInt().toString(2).padStart(h.BITS,"0")),this._binaryZeroPad}groupForV6(){let a=this.parsedAddress;return this.correctForm().replace(h.RE_ADDRESS,`<span class="hover-group group-v4 group-6">${a.slice(0,2).join(".")}</span>.<span class="hover-group group-v4 group-7">${a.slice(2,4).join(".")}</span>`)}}b.Address4=k;let l=new k("224.0.0.0/4"),m=[new k("10.0.0.0/8"),new k("172.16.0.0/12"),new k("192.168.0.0/16")],n=new k("127.0.0.0/8"),o=new k("169.254.0.0/16"),p=new k("0.0.0.0/32"),q=new k("255.255.255.255/32"),r=new k("100.64.0.0/10"),s=[new k("192.0.2.0/24"),new k("198.51.100.0/24"),new k("203.0.113.0/24")],t=new k("198.18.0.0/15"),u=new k("240.0.0.0/4"),v=h.SPECIAL_PURPOSE.map(([a,,b])=>({subnet:new k(a),reachable:b}))},95800:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});let d=c(25254);class e{constructor(a){if(this.length=0,this._encoding="utf8",this._writeOffset=0,this._readOffset=0,e.isSmartBufferOptions(a))if(a.encoding&&(d.checkEncoding(a.encoding),this._encoding=a.encoding),a.size)if(d.isFiniteInteger(a.size)&&a.size>0)this._buff=Buffer.allocUnsafe(a.size);else throw Error(d.ERRORS.INVALID_SMARTBUFFER_SIZE);else if(a.buff)if(Buffer.isBuffer(a.buff))this._buff=a.buff,this.length=a.buff.length;else throw Error(d.ERRORS.INVALID_SMARTBUFFER_BUFFER);else this._buff=Buffer.allocUnsafe(4096);else{if(void 0!==a)throw Error(d.ERRORS.INVALID_SMARTBUFFER_OBJECT);this._buff=Buffer.allocUnsafe(4096)}}static fromSize(a,b){return new this({size:a,encoding:b})}static fromBuffer(a,b){return new this({buff:a,encoding:b})}static fromOptions(a){return new this(a)}static isSmartBufferOptions(a){return a&&(void 0!==a.encoding||void 0!==a.size||void 0!==a.buff)}readInt8(a){return this._readNumberValue(Buffer.prototype.readInt8,1,a)}readInt16BE(a){return this._readNumberValue(Buffer.prototype.readInt16BE,2,a)}readInt16LE(a){return this._readNumberValue(Buffer.prototype.readInt16LE,2,a)}readInt32BE(a){return this._readNumberValue(Buffer.prototype.readInt32BE,4,a)}readInt32LE(a){return this._readNumberValue(Buffer.prototype.readInt32LE,4,a)}readBigInt64BE(a){return d.bigIntAndBufferInt64Check("readBigInt64BE"),this._readNumberValue(Buffer.prototype.readBigInt64BE,8,a)}readBigInt64LE(a){return d.bigIntAndBufferInt64Check("readBigInt64LE"),this._readNumberValue(Buffer.prototype.readBigInt64LE,8,a)}writeInt8(a,b){return this._writeNumberValue(Buffer.prototype.writeInt8,1,a,b),this}insertInt8(a,b){return this._insertNumberValue(Buffer.prototype.writeInt8,1,a,b)}writeInt16BE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt16BE,2,a,b)}insertInt16BE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt16BE,2,a,b)}writeInt16LE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt16LE,2,a,b)}insertInt16LE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt16LE,2,a,b)}writeInt32BE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt32BE,4,a,b)}insertInt32BE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt32BE,4,a,b)}writeInt32LE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt32LE,4,a,b)}insertInt32LE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt32LE,4,a,b)}writeBigInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigInt64BE,8,a,b)}insertBigInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigInt64BE,8,a,b)}writeBigInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigInt64LE,8,a,b)}insertBigInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigInt64LE,8,a,b)}readUInt8(a){return this._readNumberValue(Buffer.prototype.readUInt8,1,a)}readUInt16BE(a){return this._readNumberValue(Buffer.prototype.readUInt16BE,2,a)}readUInt16LE(a){return this._readNumberValue(Buffer.prototype.readUInt16LE,2,a)}readUInt32BE(a){return this._readNumberValue(Buffer.prototype.readUInt32BE,4,a)}readUInt32LE(a){return this._readNumberValue(Buffer.prototype.readUInt32LE,4,a)}readBigUInt64BE(a){return d.bigIntAndBufferInt64Check("readBigUInt64BE"),this._readNumberValue(Buffer.prototype.readBigUInt64BE,8,a)}readBigUInt64LE(a){return d.bigIntAndBufferInt64Check("readBigUInt64LE"),this._readNumberValue(Buffer.prototype.readBigUInt64LE,8,a)}writeUInt8(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt8,1,a,b)}insertUInt8(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt8,1,a,b)}writeUInt16BE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt16BE,2,a,b)}insertUInt16BE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt16BE,2,a,b)}writeUInt16LE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt16LE,2,a,b)}insertUInt16LE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt16LE,2,a,b)}writeUInt32BE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt32BE,4,a,b)}insertUInt32BE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt32BE,4,a,b)}writeUInt32LE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt32LE,4,a,b)}insertUInt32LE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt32LE,4,a,b)}writeBigUInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64BE,8,a,b)}insertBigUInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64BE,8,a,b)}writeBigUInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64LE,8,a,b)}insertBigUInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64LE,8,a,b)}readFloatBE(a){return this._readNumberValue(Buffer.prototype.readFloatBE,4,a)}readFloatLE(a){return this._readNumberValue(Buffer.prototype.readFloatLE,4,a)}writeFloatBE(a,b){return this._writeNumberValue(Buffer.prototype.writeFloatBE,4,a,b)}insertFloatBE(a,b){return this._insertNumberValue(Buffer.prototype.writeFloatBE,4,a,b)}writeFloatLE(a,b){return this._writeNumberValue(Buffer.prototype.writeFloatLE,4,a,b)}insertFloatLE(a,b){return this._insertNumberValue(Buffer.prototype.writeFloatLE,4,a,b)}readDoubleBE(a){return this._readNumberValue(Buffer.prototype.readDoubleBE,8,a)}readDoubleLE(a){return this._readNumberValue(Buffer.prototype.readDoubleLE,8,a)}writeDoubleBE(a,b){return this._writeNumberValue(Buffer.prototype.writeDoubleBE,8,a,b)}insertDoubleBE(a,b){return this._insertNumberValue(Buffer.prototype.writeDoubleBE,8,a,b)}writeDoubleLE(a,b){return this._writeNumberValue(Buffer.prototype.writeDoubleLE,8,a,b)}insertDoubleLE(a,b){return this._insertNumberValue(Buffer.prototype.writeDoubleLE,8,a,b)}readString(a,b){let c;"number"==typeof a?(d.checkLengthValue(a),c=Math.min(a,this.length-this._readOffset)):(b=a,c=this.length-this._readOffset),void 0!==b&&d.checkEncoding(b);let e=this._buff.slice(this._readOffset,this._readOffset+c).toString(b||this._encoding);return this._readOffset+=c,e}insertString(a,b,c){return d.checkOffsetValue(b),this._handleString(a,!0,b,c)}writeString(a,b,c){return this._handleString(a,!1,b,c)}readStringNT(a){void 0!==a&&d.checkEncoding(a);let b=this.length;for(let a=this._readOffset;a<this.length;a++)if(0===this._buff[a]){b=a;break}let c=this._buff.slice(this._readOffset,b);return this._readOffset=b+1,c.toString(a||this._encoding)}insertStringNT(a,b,c){return d.checkOffsetValue(b),this.insertString(a,b,c),this.insertUInt8(0,b+a.length),this}writeStringNT(a,b,c){return this.writeString(a,b,c),this.writeUInt8(0,"number"==typeof b?b+a.length:this.writeOffset),this}readBuffer(a){void 0!==a&&d.checkLengthValue(a);let b="number"==typeof a?a:this.length,c=Math.min(this.length,this._readOffset+b),e=this._buff.slice(this._readOffset,c);return this._readOffset=c,e}insertBuffer(a,b){return d.checkOffsetValue(b),this._handleBuffer(a,!0,b)}writeBuffer(a,b){return this._handleBuffer(a,!1,b)}readBufferNT(){let a=this.length;for(let b=this._readOffset;b<this.length;b++)if(0===this._buff[b]){a=b;break}let b=this._buff.slice(this._readOffset,a);return this._readOffset=a+1,b}insertBufferNT(a,b){return d.checkOffsetValue(b),this.insertBuffer(a,b),this.insertUInt8(0,b+a.length),this}writeBufferNT(a,b){return void 0!==b&&d.checkOffsetValue(b),this.writeBuffer(a,b),this.writeUInt8(0,"number"==typeof b?b+a.length:this._writeOffset),this}clear(){return this._writeOffset=0,this._readOffset=0,this.length=0,this}remaining(){return this.length-this._readOffset}get readOffset(){return this._readOffset}set readOffset(a){d.checkOffsetValue(a),d.checkTargetOffset(a,this),this._readOffset=a}get writeOffset(){return this._writeOffset}set writeOffset(a){d.checkOffsetValue(a),d.checkTargetOffset(a,this),this._writeOffset=a}get encoding(){return this._encoding}set encoding(a){d.checkEncoding(a),this._encoding=a}get internalBuffer(){return this._buff}toBuffer(){return this._buff.slice(0,this.length)}toString(a){let b="string"==typeof a?a:this._encoding;return d.checkEncoding(b),this._buff.toString(b,0,this.length)}destroy(){return this.clear(),this}_handleString(a,b,c,e){let f=this._writeOffset,g=this._encoding;"number"==typeof c?f=c:"string"==typeof c&&(d.checkEncoding(c),g=c),"string"==typeof e&&(d.checkEncoding(e),g=e);let h=Buffer.byteLength(a,g);return b?this.ensureInsertable(h,f):this._ensureWriteable(h,f),this._buff.write(a,f,h,g),b?this._writeOffset+=h:"number"==typeof c?this._writeOffset=Math.max(this._writeOffset,f+h):this._writeOffset+=h,this}_handleBuffer(a,b,c){let d="number"==typeof c?c:this._writeOffset;return b?this.ensureInsertable(a.length,d):this._ensureWriteable(a.length,d),a.copy(this._buff,d),b?this._writeOffset+=a.length:"number"==typeof c?this._writeOffset=Math.max(this._writeOffset,d+a.length):this._writeOffset+=a.length,this}ensureReadable(a,b){let c=this._readOffset;if(void 0!==b&&(d.checkOffsetValue(b),c=b),c<0||c+a>this.length)throw Error(d.ERRORS.INVALID_READ_BEYOND_BOUNDS)}ensureInsertable(a,b){d.checkOffsetValue(b),this._ensureCapacity(this.length+a),b<this.length&&this._buff.copy(this._buff,b+a,b,this._buff.length),b+a>this.length?this.length=b+a:this.length+=a}_ensureWriteable(a,b){let c="number"==typeof b?b:this._writeOffset;this._ensureCapacity(c+a),c+a>this.length&&(this.length=c+a)}_ensureCapacity(a){let b=this._buff.length;if(a>b){let c=this._buff,d=3*b/2+1;d<a&&(d=a),this._buff=Buffer.allocUnsafe(d),c.copy(this._buff,0,0,b)}}_readNumberValue(a,b,c){this.ensureReadable(b,c);let d=a.call(this._buff,"number"==typeof c?c:this._readOffset);return void 0===c&&(this._readOffset+=b),d}_insertNumberValue(a,b,c,e){return d.checkOffsetValue(e),this.ensureInsertable(b,e),a.call(this._buff,c,e),this._writeOffset+=b,this}_writeNumberValue(a,b,c,e){if("number"==typeof e){if(e<0)throw Error(d.ERRORS.INVALID_WRITE_BEYOND_BOUNDS);d.checkOffsetValue(e)}let f="number"==typeof e?e:this._writeOffset;return this._ensureWriteable(b,f),a.call(this._buff,c,f),"number"==typeof e?this._writeOffset=Math.max(this._writeOffset,f+b):this._writeOffset+=b,this}}b.SmartBuffer=e},97462:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.isInSubnet=function(a){return!(this.subnetMask<a.subnetMask)&&e.call(this,a)},b.isHostInSubnet=e,b.isGloballyReachable=function(a){let b=null;for(let c=0;c<a.length;c++){let d=a[c];null!==d.reachable&&e.call(this,d.subnet)&&(null===b||d.subnet.subnetMask>b.subnet.subnetMask)&&(b=d)}return null===b||b.reachable},b.offsetBigInt=function(a,b,c,e){if("number"==typeof b&&!Number.isSafeInteger(b)||"number"!=typeof b&&"bigint"!=typeof b)throw new d.AddressError(`${e} offset must be an integer`);let f=a+BigInt(b);if(f<BigInt(0)||f>(BigInt(1)<<BigInt(c))-BigInt(1))throw new d.AddressError(`${e} offset leaves the address space`);return f},b.isCorrect=function(a){return function(){return this.addressMinusSuffix===this.correctForm()&&(this.subnetMask===a&&!this.parsedSubnet||this.parsedSubnet===String(this.subnetMask))}},b.prefixLengthFromMask=function(a,b){let c=a.toString(2).padStart(b,"0");if(c.length>b)throw new d.AddressError("Invalid subnet mask.");let e=c.indexOf("0");if(-1===e)return b;if(c.slice(e).includes("1"))throw new d.AddressError("Invalid subnet mask.");return e},b.assertByteArray=function(a,b,c,e){if(a.length!==b)throw new d.AddressError(`${c} addresses require exactly ${b} bytes`);for(let b=0;b<a.length;b++)if(!Number.isInteger(a[b])||a[b]<e||a[b]>255)throw new d.AddressError(`All bytes must be integers between ${e} and 255`)},b.numberToPaddedHex=f,b.stringToPaddedHex=function(a){return f(parseInt(a,10))},b.testBit=function(a,b){let{length:c}=a;if(b>c)return!1;let d=c-b;return"1"===a.substring(d,d+1)};let d=c(50508);function e(a){return this.binaryZeroPad().length===a.binaryZeroPad().length&&this.mask(a.subnetMask)===a.mask()}function f(a){return a.toString(16).padStart(2,"0")}},98748:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b},g=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),b.Agent=void 0;let h=f(c(91645)),i=f(c(81630)),j=c(55591);g(c(48326),b);let k=Symbol("AgentBaseInternalState");class l extends i.Agent{constructor(a){super(a),this[k]={}}isSecureEndpoint(a){if(a){if("boolean"==typeof a.secureEndpoint)return a.secureEndpoint;if("string"==typeof a.protocol)return"https:"===a.protocol}let{stack:b}=Error();return"string"==typeof b&&b.split("\n").some(a=>-1!==a.indexOf("(https.js:")||-1!==a.indexOf("node:https:"))}incrementSockets(a){if(1/0===this.maxSockets&&1/0===this.maxTotalSockets)return null;this.sockets[a]||(this.sockets[a]=[]);let b=new h.Socket({writable:!1});return this.sockets[a].push(b),this.totalSocketCount++,b}decrementSockets(a,b){if(!this.sockets[a]||null===b)return;let c=this.sockets[a],d=c.indexOf(b);-1!==d&&(c.splice(d,1),this.totalSocketCount--,0===c.length&&delete this.sockets[a])}getName(a){return this.isSecureEndpoint(a)?j.Agent.prototype.getName.call(this,a):super.getName(a)}createSocket(a,b,c){let d={...b,secureEndpoint:this.isSecureEndpoint(b)},e=this.getName(d),f=this.incrementSockets(e);Promise.resolve().then(()=>this.connect(a,d)).then(g=>{if(this.decrementSockets(e,f),g instanceof i.Agent)try{return g.addRequest(a,d)}catch(a){return c(a)}this[k].currentSocket=g,super.createSocket(a,b,c)},a=>{this.decrementSockets(e,f),c(a)})}createConnection(){let a=this[k].currentSocket;if(this[k].currentSocket=void 0,!a)throw Error("No socket was returned in the `connect()` function");return a}get defaultPort(){return this[k].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(a){this[k]&&(this[k].defaultPort=a)}get protocol(){return this[k].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(a){this[k]&&(this[k].protocol=a)}}b.Agent=l}};
@@ -0,0 +1 @@
1
+ "use strict";exports.id=2116,exports.ids=[2116],exports.modules={2116:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});var d={default:function(){return p},useLinkStatus:function(){return r}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(24814),g=c(48249),h=f._(c(67484)),i=c(79925),j=c(30836),k=c(57272),l=c(30167),m=c(75729);c(52204);let n=c(78756);c(52836);let o=c(10881);function p(a){var b;let c,d,e,[f,p]=(0,h.useOptimistic)(n.IDLE_LINK_STATUS),r=(0,h.useRef)(null),{href:s,as:t,children:u,prefetch:v=null,passHref:w,replace:x,shallow:y,scroll:z,onClick:A,onMouseEnter:B,onTouchStart:C,legacyBehavior:D=!1,onNavigate:E,transitionTypes:F,ref:G,unstable_dynamicOnHover:H,...I}=a;c=u,D&&("string"==typeof c||"number"==typeof c)&&(c=(0,g.jsx)("a",{children:c}));let J=h.default.useContext(j.AppRouterContext),K=!1!==v,L=!1===v?"none":!0===v?"full":"auto",M="none"!==L?"auto"===L?o.FetchStrategy.PPR:o.FetchStrategy.Full:o.FetchStrategy.PPR,N="string"==typeof(b=t||s)?b:(0,i.formatUrl)(b);if(D){if(c?.$$typeof===Symbol.for("react.lazy"))throw Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag.");d=h.default.Children.only(c)}let O=D?d&&"object"==typeof d&&d.ref:G,P,Q=h.default.useCallback(a=>(null!==J&&(r.current=(0,n.mountLinkInstance)(a,N,J,M,K,p,P)),()=>{r.current&&((0,n.unmountLinkForCurrentNavigation)(r.current),r.current=null),(0,n.unmountPrefetchableInstance)(a)}),[K,N,J,M,p,P]),R={ref:(0,k.useMergedRef)(Q,O),onClick(a){D||"function"!=typeof A||A(a),D&&d.props&&"function"==typeof d.props.onClick&&d.props.onClick(a),!J||a.defaultPrevented||function(a="none"){}(L)},onMouseEnter(a){D||"function"!=typeof B||B(a),D&&d.props&&"function"==typeof d.props.onMouseEnter&&d.props.onMouseEnter(a),J&&K&&(0,n.onNavigationIntent)(a.currentTarget,!0===H)},onTouchStart:function(a){D||"function"!=typeof C||C(a),D&&d.props&&"function"==typeof d.props.onTouchStart&&d.props.onTouchStart(a),J&&K&&(0,n.onNavigationIntent)(a.currentTarget,!0===H)}};return(0,l.isAbsoluteUrl)(N)?R.href=N:D&&!w&&("a"!==d.type||"href"in d.props)||(R.href=(0,m.addBasePath)(N)),e=D?h.default.cloneElement(d,R):(0,g.jsx)("a",{...I,...R,children:c}),(0,g.jsx)(q.Provider,{value:f,children:e})}let q=(0,h.createContext)(n.IDLE_LINK_STATUS),r=()=>(0,h.useContext)(q);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},52836:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"isLocalURL",{enumerable:!0,get:function(){return f}});let d=c(30167),e=c(71742);function f(a){if(!(0,d.isAbsoluteUrl)(a))return!0;try{let b=(0,d.getLocationOrigin)(),c=new URL(a,b);return c.origin===b&&(0,e.hasBasePath)(c.pathname)}catch(a){return!1}}},57272:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"useMergedRef",{enumerable:!0,get:function(){return e}});let d=c(67484);function e(a,b){let c=(0,d.useRef)(null),e=(0,d.useRef)(null);return(0,d.useCallback)(d=>{if(null===d){let a=c.current;a&&(c.current=null,a());let b=e.current;b&&(e.current=null,b())}else a&&(c.current=f(a,d)),b&&(e.current=f(b,d))},[a,b])}function f(a,b){if("function"!=typeof a)return a.current=b,()=>{a.current=null};{let c=a(b);return"function"==typeof c?c:()=>a(null)}}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},71e3:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"addPathPrefix",{enumerable:!0,get:function(){return e}});let d=c(10571);function e(a,b){if(!a.startsWith("/")||!b)return a;let{pathname:c,query:e,hash:f}=(0,d.parsePath)(a);return`${b}${c}${e}${f}`}},75729:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"addBasePath",{enumerable:!0,get:function(){return f}});let d=c(71e3),e=c(34956);function f(a,b){return(0,e.normalizePathTrailingSlash)((0,d.addPathPrefix)(a,""))}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},79925:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});var d={formatUrl:function(){return h},formatWithValidation:function(){return j},urlObjectKeys:function(){return i}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(24814)._(c(90485)),g=/https?|ftp|gopher|file/;function h(a){let{auth:b,hostname:c}=a,d=a.protocol||"",e=a.pathname||"",h=a.hash||"",i=a.query||"",j=!1;b=b?encodeURIComponent(b).replace(/%3A/i,":")+"@":"",a.host?j=b+a.host:c&&(j=b+(~c.indexOf(":")?`[${c}]`:c),a.port&&(j+=":"+a.port)),i&&"object"==typeof i&&(i=String(f.urlQueryToSearchParams(i)));let k=a.search||i&&`?${i}`||"";return d&&!d.endsWith(":")&&(d+=":"),a.slashes||(!d||g.test(d))&&!1!==j?(j="//"+(j||""),e&&"/"!==e[0]&&(e="/"+e)):j||(j=""),h&&"#"!==h[0]&&(h="#"+h),k&&"?"!==k[0]&&(k="?"+k),e=e.replace(/[?#]/g,encodeURIComponent),k=k.replace("#","%23"),`${d}${j}${e}${k}${h}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function j(a){return h(a)}}};