trybeacon 0.1.32 → 0.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +14 -14
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/next-server.js.nft.json +1 -1
  5. package/.next/prerender-manifest.json +3 -3
  6. package/.next/required-server-files.js +4 -4
  7. package/.next/required-server-files.json +4 -4
  8. package/.next/server/app/_global-error/page.js +3 -3
  9. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/_global-error.html +1 -1
  11. package/.next/server/app/_global-error.rsc +1 -1
  12. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  13. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  14. package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  15. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  16. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  17. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  18. package/.next/server/app/_not-found/page.js +2 -2
  19. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  20. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  21. package/.next/server/app/_not-found.html +1 -1
  22. package/.next/server/app/_not-found.rsc +10 -10
  23. package/.next/server/app/_not-found.segments/_full.segment.rsc +10 -10
  24. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  25. package/.next/server/app/_not-found.segments/_index.segment.rsc +10 -10
  26. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  27. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  28. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  29. package/.next/server/app/api/board-annotations/[id]/route.js +1 -1
  30. package/.next/server/app/api/board-annotations/[id]/route.js.nft.json +1 -1
  31. package/.next/server/app/api/board-annotations/[id]/route_client-reference-manifest.js +1 -1
  32. package/.next/server/app/api/board-annotations/route.js +1 -1
  33. package/.next/server/app/api/board-annotations/route.js.nft.json +1 -1
  34. package/.next/server/app/api/board-annotations/route_client-reference-manifest.js +1 -1
  35. package/.next/server/app/api/board-layout/route.js +1 -1
  36. package/.next/server/app/api/board-layout/route.js.nft.json +1 -1
  37. package/.next/server/app/api/board-layout/route_client-reference-manifest.js +1 -1
  38. package/.next/server/app/api/bug-flags/[id]/route.js +1 -1
  39. package/.next/server/app/api/bug-flags/[id]/route.js.nft.json +1 -1
  40. package/.next/server/app/api/bug-flags/[id]/route_client-reference-manifest.js +1 -1
  41. package/.next/server/app/api/bug-flags/route.js +1 -1
  42. package/.next/server/app/api/bug-flags/route.js.nft.json +1 -1
  43. package/.next/server/app/api/bug-flags/route_client-reference-manifest.js +1 -1
  44. package/.next/server/app/api/code-graph/position/route.js +1 -1
  45. package/.next/server/app/api/code-graph/position/route.js.nft.json +1 -1
  46. package/.next/server/app/api/code-graph/position/route_client-reference-manifest.js +1 -1
  47. package/.next/server/app/api/code-graph/route.js +1 -1
  48. package/.next/server/app/api/code-graph/route.js.nft.json +1 -1
  49. package/.next/server/app/api/code-graph/route_client-reference-manifest.js +1 -1
  50. package/.next/server/app/api/context/feature/route.js +1 -1
  51. package/.next/server/app/api/context/feature/route.js.nft.json +1 -1
  52. package/.next/server/app/api/context/feature/route_client-reference-manifest.js +1 -1
  53. package/.next/server/app/api/context/file/route.js +1 -1
  54. package/.next/server/app/api/context/file/route.js.nft.json +1 -1
  55. package/.next/server/app/api/context/file/route_client-reference-manifest.js +1 -1
  56. package/.next/server/app/api/context/route.js +2 -2
  57. package/.next/server/app/api/context/route.js.nft.json +1 -1
  58. package/.next/server/app/api/context/route_client-reference-manifest.js +1 -1
  59. package/.next/server/app/api/db/arrange/route.js +1 -1
  60. package/.next/server/app/api/db/arrange/route.js.nft.json +1 -1
  61. package/.next/server/app/api/db/arrange/route_client-reference-manifest.js +1 -1
  62. package/.next/server/app/api/db/backfill-access/route.js +1 -1
  63. package/.next/server/app/api/db/backfill-access/route.js.nft.json +1 -1
  64. package/.next/server/app/api/db/backfill-access/route_client-reference-manifest.js +1 -1
  65. package/.next/server/app/api/db/position/route.js +1 -1
  66. package/.next/server/app/api/db/position/route.js.nft.json +1 -1
  67. package/.next/server/app/api/db/position/route_client-reference-manifest.js +1 -1
  68. package/.next/server/app/api/db/prune-planned/route.js +1 -1
  69. package/.next/server/app/api/db/prune-planned/route.js.nft.json +1 -1
  70. package/.next/server/app/api/db/prune-planned/route_client-reference-manifest.js +1 -1
  71. package/.next/server/app/api/db/reconcile-endpoints/route.js +1 -1
  72. package/.next/server/app/api/db/reconcile-endpoints/route.js.nft.json +1 -1
  73. package/.next/server/app/api/db/reconcile-endpoints/route_client-reference-manifest.js +1 -1
  74. package/.next/server/app/api/db/relations/[id]/route.js +1 -1
  75. package/.next/server/app/api/db/relations/[id]/route.js.nft.json +1 -1
  76. package/.next/server/app/api/db/relations/[id]/route_client-reference-manifest.js +1 -1
  77. package/.next/server/app/api/db/tables/[id]/route.js +1 -1
  78. package/.next/server/app/api/db/tables/[id]/route.js.nft.json +1 -1
  79. package/.next/server/app/api/db/tables/[id]/route_client-reference-manifest.js +1 -1
  80. package/.next/server/app/api/draft/approve/route.js +1 -1
  81. package/.next/server/app/api/draft/approve/route.js.nft.json +1 -1
  82. package/.next/server/app/api/draft/approve/route_client-reference-manifest.js +1 -1
  83. package/.next/server/app/api/draft/route.js +1 -1
  84. package/.next/server/app/api/draft/route.js.nft.json +1 -1
  85. package/.next/server/app/api/draft/route_client-reference-manifest.js +1 -1
  86. package/.next/server/app/api/draft/status/route.js +1 -1
  87. package/.next/server/app/api/draft/status/route.js.nft.json +1 -1
  88. package/.next/server/app/api/draft/status/route_client-reference-manifest.js +1 -1
  89. package/.next/server/app/api/edges/[id]/route.js +1 -1
  90. package/.next/server/app/api/edges/[id]/route.js.nft.json +1 -1
  91. package/.next/server/app/api/edges/[id]/route_client-reference-manifest.js +1 -1
  92. package/.next/server/app/api/edges/route.js +1 -1
  93. package/.next/server/app/api/edges/route.js.nft.json +1 -1
  94. package/.next/server/app/api/edges/route_client-reference-manifest.js +1 -1
  95. package/.next/server/app/api/endpoints/[id]/route.js +1 -1
  96. package/.next/server/app/api/endpoints/[id]/route.js.nft.json +1 -1
  97. package/.next/server/app/api/endpoints/[id]/route_client-reference-manifest.js +1 -1
  98. package/.next/server/app/api/entities/route.js +1 -1
  99. package/.next/server/app/api/entities/route.js.nft.json +1 -1
  100. package/.next/server/app/api/entities/route_client-reference-manifest.js +1 -1
  101. package/.next/server/app/api/feedback/[id]/route.js +1 -1
  102. package/.next/server/app/api/feedback/[id]/route_client-reference-manifest.js +1 -1
  103. package/.next/server/app/api/feedback/[id]/vote/route.js +1 -1
  104. package/.next/server/app/api/feedback/[id]/vote/route_client-reference-manifest.js +1 -1
  105. package/.next/server/app/api/feedback/route.js +1 -1
  106. package/.next/server/app/api/feedback/route_client-reference-manifest.js +1 -1
  107. package/.next/server/app/api/ingest/route.js +2 -2
  108. package/.next/server/app/api/ingest/route.js.nft.json +1 -1
  109. package/.next/server/app/api/ingest/route_client-reference-manifest.js +1 -1
  110. package/.next/server/app/api/init/route.js +2 -2
  111. package/.next/server/app/api/init/route.js.nft.json +1 -1
  112. package/.next/server/app/api/init/route_client-reference-manifest.js +1 -1
  113. package/.next/server/app/api/map/describe/route.js +2 -2
  114. package/.next/server/app/api/map/describe/route.js.nft.json +1 -1
  115. package/.next/server/app/api/map/describe/route_client-reference-manifest.js +1 -1
  116. package/.next/server/app/api/map/files/route.js +1 -1
  117. package/.next/server/app/api/map/files/route.js.nft.json +1 -1
  118. package/.next/server/app/api/map/files/route_client-reference-manifest.js +1 -1
  119. package/.next/server/app/api/map/finish/route.js +1 -1
  120. package/.next/server/app/api/map/finish/route.js.nft.json +1 -1
  121. package/.next/server/app/api/map/finish/route_client-reference-manifest.js +1 -1
  122. package/.next/server/app/api/map/route.js +1 -1
  123. package/.next/server/app/api/map/route.js.nft.json +1 -1
  124. package/.next/server/app/api/map/route_client-reference-manifest.js +1 -1
  125. package/.next/server/app/api/map/start/route.js +1 -1
  126. package/.next/server/app/api/map/start/route.js.nft.json +1 -1
  127. package/.next/server/app/api/map/start/route_client-reference-manifest.js +1 -1
  128. package/.next/server/app/api/map/touch-active/route.js +1 -1
  129. package/.next/server/app/api/map/touch-active/route.js.nft.json +1 -1
  130. package/.next/server/app/api/map/touch-active/route_client-reference-manifest.js +1 -1
  131. package/.next/server/app/api/nodes/[id]/position/route.js +1 -1
  132. package/.next/server/app/api/nodes/[id]/position/route.js.nft.json +1 -1
  133. package/.next/server/app/api/nodes/[id]/position/route_client-reference-manifest.js +1 -1
  134. package/.next/server/app/api/nodes/[id]/route.js +1 -1
  135. package/.next/server/app/api/nodes/[id]/route.js.nft.json +1 -1
  136. package/.next/server/app/api/nodes/[id]/route_client-reference-manifest.js +1 -1
  137. package/.next/server/app/api/nodes/positions/route.js +1 -1
  138. package/.next/server/app/api/nodes/positions/route.js.nft.json +1 -1
  139. package/.next/server/app/api/nodes/positions/route_client-reference-manifest.js +1 -1
  140. package/.next/server/app/api/nodes/route.js +1 -1
  141. package/.next/server/app/api/nodes/route.js.nft.json +1 -1
  142. package/.next/server/app/api/nodes/route_client-reference-manifest.js +1 -1
  143. package/.next/server/app/api/nodes/subtasks/route.js +1 -1
  144. package/.next/server/app/api/nodes/subtasks/route.js.nft.json +1 -1
  145. package/.next/server/app/api/nodes/subtasks/route_client-reference-manifest.js +1 -1
  146. package/.next/server/app/api/notes/[id]/route.js +1 -1
  147. package/.next/server/app/api/notes/[id]/route.js.nft.json +1 -1
  148. package/.next/server/app/api/notes/[id]/route_client-reference-manifest.js +1 -1
  149. package/.next/server/app/api/notes/route.js +1 -1
  150. package/.next/server/app/api/notes/route.js.nft.json +1 -1
  151. package/.next/server/app/api/notes/route_client-reference-manifest.js +1 -1
  152. package/.next/server/app/api/open/route.js +1 -1
  153. package/.next/server/app/api/open/route.js.nft.json +1 -1
  154. package/.next/server/app/api/open/route_client-reference-manifest.js +1 -1
  155. package/.next/server/app/api/plan/annotations/route.js +3 -3
  156. package/.next/server/app/api/plan/annotations/route.js.nft.json +1 -1
  157. package/.next/server/app/api/plan/annotations/route_client-reference-manifest.js +1 -1
  158. package/.next/server/app/api/plan/approve/route.js +2 -2
  159. package/.next/server/app/api/plan/approve/route.js.nft.json +1 -1
  160. package/.next/server/app/api/plan/approve/route_client-reference-manifest.js +1 -1
  161. package/.next/server/app/api/plan/history/route.js +1 -1
  162. package/.next/server/app/api/plan/history/route.js.nft.json +1 -1
  163. package/.next/server/app/api/plan/history/route_client-reference-manifest.js +1 -1
  164. package/.next/server/app/api/plan/markdown/route.js +1 -1
  165. package/.next/server/app/api/plan/markdown/route.js.nft.json +1 -1
  166. package/.next/server/app/api/plan/markdown/route_client-reference-manifest.js +1 -1
  167. package/.next/server/app/api/plan/presence/route.js +1 -1
  168. package/.next/server/app/api/plan/presence/route.js.nft.json +1 -1
  169. package/.next/server/app/api/plan/presence/route_client-reference-manifest.js +1 -1
  170. package/.next/server/app/api/plan/route.js +1 -1
  171. package/.next/server/app/api/plan/route.js.nft.json +1 -1
  172. package/.next/server/app/api/plan/route_client-reference-manifest.js +1 -1
  173. package/.next/server/app/api/plan/verdict/route.js +1 -1
  174. package/.next/server/app/api/plan/verdict/route.js.nft.json +1 -1
  175. package/.next/server/app/api/plan/verdict/route_client-reference-manifest.js +1 -1
  176. package/.next/server/app/api/preferences/route.js +1 -1
  177. package/.next/server/app/api/preferences/route.js.nft.json +1 -1
  178. package/.next/server/app/api/preferences/route_client-reference-manifest.js +1 -1
  179. package/.next/server/app/api/reset/route.js +1 -1
  180. package/.next/server/app/api/reset/route.js.nft.json +1 -1
  181. package/.next/server/app/api/reset/route_client-reference-manifest.js +1 -1
  182. package/.next/server/app/api/stream/route.js +2 -2
  183. package/.next/server/app/api/stream/route.js.nft.json +1 -1
  184. package/.next/server/app/api/stream/route_client-reference-manifest.js +1 -1
  185. package/.next/server/app/api/version/route.js +1 -1
  186. package/.next/server/app/api/version/route.js.nft.json +1 -1
  187. package/.next/server/app/api/version/route_client-reference-manifest.js +1 -1
  188. package/.next/server/app/api/workspace/activate/route.js +1 -1
  189. package/.next/server/app/api/workspace/activate/route.js.nft.json +1 -1
  190. package/.next/server/app/api/workspace/activate/route_client-reference-manifest.js +1 -1
  191. package/.next/server/app/api/workspace/route.js +1 -1
  192. package/.next/server/app/api/workspace/route.js.nft.json +1 -1
  193. package/.next/server/app/api/workspace/route_client-reference-manifest.js +1 -1
  194. package/.next/server/app/apple-icon.png/route.js +1 -1
  195. package/.next/server/app/docs/page.js +2 -2
  196. package/.next/server/app/docs/page.js.nft.json +1 -1
  197. package/.next/server/app/docs/page_client-reference-manifest.js +1 -1
  198. package/.next/server/app/docs.html +1 -1
  199. package/.next/server/app/docs.rsc +11 -11
  200. package/.next/server/app/docs.segments/_full.segment.rsc +11 -11
  201. package/.next/server/app/docs.segments/_head.segment.rsc +1 -1
  202. package/.next/server/app/docs.segments/_index.segment.rsc +10 -10
  203. package/.next/server/app/docs.segments/_tree.segment.rsc +2 -2
  204. package/.next/server/app/docs.segments/docs/__PAGE__.segment.rsc +2 -2
  205. package/.next/server/app/docs.segments/docs.segment.rsc +1 -1
  206. package/.next/server/app/feedback/page.js +2 -2
  207. package/.next/server/app/feedback/page.js.nft.json +1 -1
  208. package/.next/server/app/feedback/page_client-reference-manifest.js +1 -1
  209. package/.next/server/app/feedback.html +1 -1
  210. package/.next/server/app/feedback.rsc +11 -11
  211. package/.next/server/app/feedback.segments/_full.segment.rsc +11 -11
  212. package/.next/server/app/feedback.segments/_head.segment.rsc +1 -1
  213. package/.next/server/app/feedback.segments/_index.segment.rsc +10 -10
  214. package/.next/server/app/feedback.segments/_tree.segment.rsc +2 -2
  215. package/.next/server/app/feedback.segments/feedback/__PAGE__.segment.rsc +2 -2
  216. package/.next/server/app/feedback.segments/feedback.segment.rsc +1 -1
  217. package/.next/server/app/help/page.js +2 -2
  218. package/.next/server/app/help/page.js.nft.json +1 -1
  219. package/.next/server/app/help/page_client-reference-manifest.js +1 -1
  220. package/.next/server/app/help.html +1 -1
  221. package/.next/server/app/help.rsc +29 -30
  222. package/.next/server/app/help.segments/_full.segment.rsc +29 -30
  223. package/.next/server/app/help.segments/_head.segment.rsc +1 -1
  224. package/.next/server/app/help.segments/_index.segment.rsc +10 -10
  225. package/.next/server/app/help.segments/_tree.segment.rsc +2 -2
  226. package/.next/server/app/help.segments/help/__PAGE__.segment.rsc +3 -3
  227. package/.next/server/app/help.segments/help.segment.rsc +1 -1
  228. package/.next/server/app/icon.svg/route.js +1 -1
  229. package/.next/server/app/index.html +1 -1
  230. package/.next/server/app/index.rsc +11 -11
  231. package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  232. package/.next/server/app/index.segments/_full.segment.rsc +11 -11
  233. package/.next/server/app/index.segments/_head.segment.rsc +1 -1
  234. package/.next/server/app/index.segments/_index.segment.rsc +10 -10
  235. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  236. package/.next/server/app/map/page.js +2 -2
  237. package/.next/server/app/map/page.js.nft.json +1 -1
  238. package/.next/server/app/map/page_client-reference-manifest.js +1 -1
  239. package/.next/server/app/page.js +2 -2
  240. package/.next/server/app/page.js.nft.json +1 -1
  241. package/.next/server/app/page_client-reference-manifest.js +1 -1
  242. package/.next/server/app/plan/page.js +2 -2
  243. package/.next/server/app/plan/page.js.nft.json +1 -1
  244. package/.next/server/app/plan/page_client-reference-manifest.js +1 -1
  245. package/.next/server/app/settings/page.js +2 -2
  246. package/.next/server/app/settings/page.js.nft.json +1 -1
  247. package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  248. package/.next/server/app-paths-manifest.json +14 -14
  249. package/.next/server/chunks/2877.js +1 -1
  250. package/.next/server/chunks/2981.js +1 -1
  251. package/.next/server/chunks/3015.js +1 -0
  252. package/.next/server/chunks/319.js +3 -3
  253. package/.next/server/chunks/5258.js +1 -1
  254. package/.next/server/chunks/7138.js +1 -0
  255. package/.next/server/chunks/9127.js +1 -1
  256. package/.next/server/chunks/9313.js +3 -3
  257. package/.next/server/instrumentation.js.nft.json +1 -1
  258. package/.next/server/middleware-build-manifest.js +1 -1
  259. package/.next/server/middleware.js +2 -2
  260. package/.next/server/next-font-manifest.js +1 -1
  261. package/.next/server/next-font-manifest.json +1 -1
  262. package/.next/server/pages/404.html +1 -1
  263. package/.next/server/pages/500.html +1 -1
  264. package/.next/server/server-reference-manifest.js +1 -1
  265. package/.next/server/server-reference-manifest.json +1 -1
  266. package/.next/static/chunks/8252-326851ad274762f5.js +1 -0
  267. package/.next/static/chunks/app/_not-found/page-57c7dfeb659fcab6.js +1 -0
  268. package/.next/static/chunks/app/docs/page-402d7f2c9321710a.js +1 -0
  269. package/.next/static/chunks/app/feedback/{page-5538af3c0677cc71.js → page-ea7f66503f2a4ca6.js} +1 -1
  270. package/.next/static/chunks/app/help/page-d720609312abff8b.js +1 -0
  271. package/.next/static/chunks/app/layout-9b750c41268879f0.js +1 -0
  272. package/.next/static/chunks/app/map/page-ac03f88297a40d47.js +1 -0
  273. package/.next/static/chunks/app/{page-92284d5d81118e0d.js → page-cdddef7fb0346b0f.js} +1 -1
  274. package/.next/static/chunks/app/plan/{page-7be8419fc56d5f1d.js → page-47e880f3e83a2753.js} +1 -1
  275. package/.next/static/chunks/app/settings/page-4d4879990a4f14fc.js +1 -0
  276. package/.next/static/chunks/main-app-1a32dc335629e4e4.js +1 -0
  277. package/.next/static/chunks/next/dist/client/components/builtin/global-error-df87398e192c5e45.js +1 -0
  278. package/.next/static/css/cb2ba3334a6b2336.css +1 -0
  279. package/.next/trace +38 -38
  280. package/.next/trace-build +1 -1
  281. package/.next/types/app/api/board-annotations/[id]/route.ts +1 -1
  282. package/.next/types/app/api/board-annotations/route.ts +1 -1
  283. package/.next/types/app/api/board-layout/route.ts +1 -1
  284. package/.next/types/app/api/bug-flags/[id]/route.ts +1 -1
  285. package/.next/types/app/api/bug-flags/route.ts +1 -1
  286. package/.next/types/app/api/code-graph/position/route.ts +1 -1
  287. package/.next/types/app/api/code-graph/route.ts +1 -1
  288. package/.next/types/app/api/context/feature/route.ts +1 -1
  289. package/.next/types/app/api/context/file/route.ts +1 -1
  290. package/.next/types/app/api/context/route.ts +1 -1
  291. package/.next/types/app/api/db/arrange/route.ts +1 -1
  292. package/.next/types/app/api/db/backfill-access/route.ts +1 -1
  293. package/.next/types/app/api/db/position/route.ts +1 -1
  294. package/.next/types/app/api/db/prune-planned/route.ts +1 -1
  295. package/.next/types/app/api/db/reconcile-endpoints/route.ts +1 -1
  296. package/.next/types/app/api/db/relations/[id]/route.ts +1 -1
  297. package/.next/types/app/api/db/tables/[id]/route.ts +1 -1
  298. package/.next/types/app/api/draft/approve/route.ts +1 -1
  299. package/.next/types/app/api/draft/route.ts +1 -1
  300. package/.next/types/app/api/draft/status/route.ts +1 -1
  301. package/.next/types/app/api/edges/[id]/route.ts +1 -1
  302. package/.next/types/app/api/edges/route.ts +1 -1
  303. package/.next/types/app/api/endpoints/[id]/route.ts +1 -1
  304. package/.next/types/app/api/entities/route.ts +1 -1
  305. package/.next/types/app/api/feedback/[id]/route.ts +1 -1
  306. package/.next/types/app/api/feedback/[id]/vote/route.ts +1 -1
  307. package/.next/types/app/api/feedback/route.ts +1 -1
  308. package/.next/types/app/api/ingest/route.ts +1 -1
  309. package/.next/types/app/api/init/route.ts +1 -1
  310. package/.next/types/app/api/map/describe/route.ts +1 -1
  311. package/.next/types/app/api/map/files/route.ts +1 -1
  312. package/.next/types/app/api/map/finish/route.ts +1 -1
  313. package/.next/types/app/api/map/route.ts +1 -1
  314. package/.next/types/app/api/map/start/route.ts +1 -1
  315. package/.next/types/app/api/map/touch-active/route.ts +1 -1
  316. package/.next/types/app/api/nodes/[id]/position/route.ts +1 -1
  317. package/.next/types/app/api/nodes/[id]/route.ts +1 -1
  318. package/.next/types/app/api/nodes/positions/route.ts +1 -1
  319. package/.next/types/app/api/nodes/route.ts +1 -1
  320. package/.next/types/app/api/nodes/subtasks/route.ts +1 -1
  321. package/.next/types/app/api/notes/[id]/route.ts +1 -1
  322. package/.next/types/app/api/notes/route.ts +1 -1
  323. package/.next/types/app/api/open/route.ts +1 -1
  324. package/.next/types/app/api/plan/annotations/route.ts +1 -1
  325. package/.next/types/app/api/plan/approve/route.ts +1 -1
  326. package/.next/types/app/api/plan/history/route.ts +1 -1
  327. package/.next/types/app/api/plan/markdown/route.ts +1 -1
  328. package/.next/types/app/api/plan/presence/route.ts +1 -1
  329. package/.next/types/app/api/plan/route.ts +1 -1
  330. package/.next/types/app/api/plan/verdict/route.ts +1 -1
  331. package/.next/types/app/api/preferences/route.ts +1 -1
  332. package/.next/types/app/api/reset/route.ts +1 -1
  333. package/.next/types/app/api/stream/route.ts +1 -1
  334. package/.next/types/app/api/version/route.ts +1 -1
  335. package/.next/types/app/api/workspace/activate/route.ts +1 -1
  336. package/.next/types/app/api/workspace/route.ts +1 -1
  337. package/.next/types/app/docs/page.ts +1 -1
  338. package/.next/types/app/feedback/page.ts +1 -1
  339. package/.next/types/app/help/page.ts +1 -1
  340. package/.next/types/app/map/page.ts +1 -1
  341. package/.next/types/app/page.ts +1 -1
  342. package/.next/types/app/plan/page.ts +1 -1
  343. package/.next/types/app/settings/page.ts +1 -1
  344. package/package.json +1 -1
  345. package/.next/dev/build-manifest.json +0 -50
  346. package/.next/dev/fallback-build-manifest.json +0 -37
  347. package/.next/dev/logs/next-development.log +0 -101
  348. package/.next/dev/server/chunks/ssr/[externals]__1vp7etu._.js +0 -32
  349. package/.next/dev/server/chunks/ssr/[externals]__1vp7etu._.js.map +0 -5
  350. package/.next/dev/server/chunks/ssr/[externals]_next_dist_shared_lib_no-fallback-error_external_0r3u29k.js +0 -8
  351. package/.next/dev/server/chunks/ssr/[externals]_next_dist_shared_lib_no-fallback-error_external_0r3u29k.js.map +0 -5
  352. package/.next/dev/server/chunks/ssr/[root-of-the-server]__0y0_snu._.js +0 -285
  353. package/.next/dev/server/chunks/ssr/[root-of-the-server]__0y0_snu._.js.map +0 -9
  354. package/.next/dev/server/chunks/ssr/node_modules_02es85m._.js +0 -6621
  355. package/.next/dev/server/chunks/ssr/node_modules_02es85m._.js.map +0 -76
  356. package/.next/dev/server/chunks/ssr/node_modules_1_aarlg._.js +0 -4399
  357. package/.next/dev/server/chunks/ssr/node_modules_1_aarlg._.js.map +0 -35
  358. package/.next/dev/server/chunks/ssr/node_modules_next_1_o5zxs._.js +0 -55
  359. package/.next/dev/server/chunks/ssr/node_modules_next_1_o5zxs._.js.map +0 -7
  360. package/.next/dev/server/middleware-build-manifest.js +0 -50
  361. package/.next/dev/server/next-font-manifest.js +0 -1
  362. package/.next/dev/server/next-font-manifest.json +0 -23
  363. package/.next/dev/server/pages/_app/build-manifest.json +0 -23
  364. package/.next/dev/server/pages/_app/client-build-manifest.json +0 -5
  365. package/.next/dev/server/pages/_app/next-font-manifest.json +0 -6
  366. package/.next/dev/server/pages/_app/pages-manifest.json +0 -3
  367. package/.next/dev/server/pages/_app/react-loadable-manifest.json +0 -1
  368. package/.next/dev/server/pages/_app.js +0 -4
  369. package/.next/dev/server/pages/_app.js.map +0 -5
  370. package/.next/dev/server/pages/_document/next-font-manifest.json +0 -6
  371. package/.next/dev/server/pages/_document/pages-manifest.json +0 -3
  372. package/.next/dev/server/pages/_document/react-loadable-manifest.json +0 -1
  373. package/.next/dev/server/pages/_document.js +0 -5
  374. package/.next/dev/server/pages/_document.js.map +0 -5
  375. package/.next/dev/server/pages/_error/build-manifest.json +0 -22
  376. package/.next/dev/server/pages/_error/client-build-manifest.json +0 -5
  377. package/.next/dev/server/pages/_error/next-font-manifest.json +0 -6
  378. package/.next/dev/server/pages/_error/pages-manifest.json +0 -3
  379. package/.next/dev/server/pages/_error/react-loadable-manifest.json +0 -1
  380. package/.next/dev/server/pages/_error.js +0 -8
  381. package/.next/dev/server/pages/_error.js.map +0 -5
  382. package/.next/dev/server/pages-manifest.json +0 -5
  383. package/.next/dev/static/chunks/[next]_entry_page-loader_ts_0z3haqk._.js +0 -23
  384. package/.next/dev/static/chunks/[next]_entry_page-loader_ts_0z3haqk._.js.map +0 -6
  385. package/.next/dev/static/chunks/[next]_entry_page-loader_ts_1aoli7m._.js +0 -23
  386. package/.next/dev/static/chunks/[next]_entry_page-loader_ts_1aoli7m._.js.map +0 -6
  387. package/.next/dev/static/chunks/[root-of-the-server]__02sxxph._.js +0 -476
  388. package/.next/dev/static/chunks/[root-of-the-server]__02sxxph._.js.map +0 -6
  389. package/.next/dev/static/chunks/[root-of-the-server]__0l4r13l._.js +0 -476
  390. package/.next/dev/static/chunks/[root-of-the-server]__0l4r13l._.js.map +0 -6
  391. package/.next/dev/static/chunks/node_modules_10e2-xo._.js +0 -1343
  392. package/.next/dev/static/chunks/node_modules_10e2-xo._.js.map +0 -13
  393. package/.next/dev/static/chunks/node_modules_next_app_0yrdk3r.js +0 -8
  394. package/.next/dev/static/chunks/node_modules_next_app_0yrdk3r.js.map +0 -6
  395. package/.next/dev/static/chunks/node_modules_next_dist_1atto1n._.js +0 -2334
  396. package/.next/dev/static/chunks/node_modules_next_dist_1atto1n._.js.map +0 -26
  397. package/.next/dev/static/chunks/node_modules_next_dist_1gdrd03._.js +0 -2165
  398. package/.next/dev/static/chunks/node_modules_next_dist_1gdrd03._.js.map +0 -25
  399. package/.next/dev/static/chunks/node_modules_next_dist_client_16lnmlo._.js +0 -4084
  400. package/.next/dev/static/chunks/node_modules_next_dist_client_16lnmlo._.js.map +0 -49
  401. package/.next/dev/static/chunks/node_modules_next_dist_compiled_14ibvna._.js +0 -6064
  402. package/.next/dev/static/chunks/node_modules_next_dist_compiled_14ibvna._.js.map +0 -17
  403. package/.next/dev/static/chunks/node_modules_next_dist_shared_lib_0pizcwv._.js +0 -7311
  404. package/.next/dev/static/chunks/node_modules_next_dist_shared_lib_0pizcwv._.js.map +0 -72
  405. package/.next/dev/static/chunks/node_modules_next_dist_shared_lib_12jmhie._.js +0 -7070
  406. package/.next/dev/static/chunks/node_modules_next_dist_shared_lib_12jmhie._.js.map +0 -70
  407. package/.next/dev/static/chunks/node_modules_react-dom_0kla17-._.js +0 -15381
  408. package/.next/dev/static/chunks/node_modules_react-dom_0kla17-._.js.map +0 -9
  409. package/.next/dev/static/chunks/pages/_app.js +0 -13
  410. package/.next/dev/static/chunks/pages/_error.js +0 -12
  411. package/.next/dev/static/chunks/pages__app_0du2_q-._.js +0 -5
  412. package/.next/dev/static/chunks/pages__app_1ouknez._.js.map +0 -11
  413. package/.next/dev/static/chunks/pages__error_0du2_q-._.js +0 -5
  414. package/.next/dev/static/chunks/pages__error_18oj9bx._.js.map +0 -11
  415. package/.next/dev/static/chunks/turbopack-pages__app_1ouknez._.js +0 -2236
  416. package/.next/dev/static/chunks/turbopack-pages__error_18oj9bx._.js +0 -2236
  417. package/.next/server/chunks/333.js +0 -1
  418. package/.next/server/chunks/9972.js +0 -1
  419. package/.next/static/chunks/2420-fa8df70262f420d0.js +0 -1
  420. package/.next/static/chunks/app/_not-found/page-b2c1eefe2cdbb8c3.js +0 -1
  421. package/.next/static/chunks/app/docs/page-53e546dabf1b1ad3.js +0 -1
  422. package/.next/static/chunks/app/help/page-7ece210a72cf4a67.js +0 -1
  423. package/.next/static/chunks/app/layout-33b2dea4a7ce242e.js +0 -1
  424. package/.next/static/chunks/app/map/page-02ad8e3650faa96a.js +0 -1
  425. package/.next/static/chunks/app/settings/page-8a6efc095447310f.js +0 -1
  426. package/.next/static/chunks/main-app-cb1a040ffaced80b.js +0 -1
  427. package/.next/static/chunks/next/dist/client/components/builtin/global-error-c82bd7a72a198de4.js +0 -1
  428. package/.next/static/css/f57cbca8ad454630.css +0 -1
  429. /package/.next/static/{fyHHiCSkZnragXxrsGMEr → kJSpkyKRHr2jFBQoOGP8P}/_buildManifest.js +0 -0
  430. /package/.next/static/{fyHHiCSkZnragXxrsGMEr → kJSpkyKRHr2jFBQoOGP8P}/_ssgManifest.js +0 -0
@@ -1,2334 +0,0 @@
1
- (globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([typeof document === "object" ? document.currentScript : undefined,
2
- "[project]/node_modules/next/dist/build/polyfills/process.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
3
- "use strict";
4
-
5
- var _global_process, _global_process1;
6
- module.exports = ((_global_process = /*TURBOPACK member replacement*/ __turbopack_context__.g.process) == null ? void 0 : _global_process.env) && typeof ((_global_process1 = /*TURBOPACK member replacement*/ __turbopack_context__.g.process) == null ? void 0 : _global_process1.env) === 'object' ? /*TURBOPACK member replacement*/ __turbopack_context__.g.process : __turbopack_context__.r("[project]/node_modules/next/dist/compiled/process/browser.js [client] (ecmascript)");
7
- }),
8
- "[project]/node_modules/next/dist/build/polyfills/polyfill-module.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
9
-
10
- "trimStart" in String.prototype || (String.prototype.trimStart = String.prototype.trimLeft), "trimEnd" in String.prototype || (String.prototype.trimEnd = String.prototype.trimRight), "description" in Symbol.prototype || Object.defineProperty(Symbol.prototype, "description", {
11
- configurable: !0,
12
- get: function() {
13
- var t = /\((.*)\)/.exec(this.toString());
14
- return t ? t[1] : void 0;
15
- }
16
- }), Array.prototype.flat || (Array.prototype.flat = function(t, r) {
17
- return r = this.concat.apply([], this), t > 1 && r.some(Array.isArray) ? r.flat(t - 1) : r;
18
- }, Array.prototype.flatMap = function(t, r) {
19
- return this.map(t, r).flat();
20
- }), Promise.prototype.finally || (Promise.prototype.finally = function(t) {
21
- if ("function" != typeof t) return this.then(t, t);
22
- var r = this.constructor || Promise;
23
- return this.then(function(n) {
24
- return r.resolve(t()).then(function() {
25
- return n;
26
- });
27
- }, function(n) {
28
- return r.resolve(t()).then(function() {
29
- throw n;
30
- });
31
- });
32
- }), Object.fromEntries || (Object.fromEntries = function(t) {
33
- return Array.from(t).reduce(function(t, r) {
34
- return t[r[0]] = r[1], t;
35
- }, {});
36
- }), Array.prototype.at || (Array.prototype.at = function(t) {
37
- var r = Math.trunc(t) || 0;
38
- if (r < 0 && (r += this.length), !(r < 0 || r >= this.length)) return this[r];
39
- }), Object.hasOwn || (Object.hasOwn = function(t, r) {
40
- if (null == t) throw new TypeError("Cannot convert undefined or null to object");
41
- return Object.prototype.hasOwnProperty.call(Object(t), r);
42
- }), "canParse" in URL || (URL.canParse = function(t, r) {
43
- try {
44
- return !!new URL(t, r);
45
- } catch (t) {
46
- return !1;
47
- }
48
- });
49
- }),
50
- "[project]/node_modules/next/dist/lib/route-pattern-normalizer.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
51
- "use strict";
52
-
53
- Object.defineProperty(exports, "__esModule", {
54
- value: true
55
- });
56
- 0 && (module.exports = {
57
- PARAM_SEPARATOR: null,
58
- hasAdjacentParameterIssues: null,
59
- normalizeAdjacentParameters: null,
60
- normalizeTokensForRegexp: null,
61
- stripNormalizedSeparators: null,
62
- stripParameterSeparators: null
63
- });
64
- function _export(target, all) {
65
- for(var name in all)Object.defineProperty(target, name, {
66
- enumerable: true,
67
- get: all[name]
68
- });
69
- }
70
- _export(exports, {
71
- PARAM_SEPARATOR: function() {
72
- return PARAM_SEPARATOR;
73
- },
74
- hasAdjacentParameterIssues: function() {
75
- return hasAdjacentParameterIssues;
76
- },
77
- normalizeAdjacentParameters: function() {
78
- return normalizeAdjacentParameters;
79
- },
80
- normalizeTokensForRegexp: function() {
81
- return normalizeTokensForRegexp;
82
- },
83
- stripNormalizedSeparators: function() {
84
- return stripNormalizedSeparators;
85
- },
86
- stripParameterSeparators: function() {
87
- return stripParameterSeparators;
88
- }
89
- });
90
- const PARAM_SEPARATOR = '_NEXTSEP_';
91
- function hasAdjacentParameterIssues(route) {
92
- if (typeof route !== 'string') return false;
93
- // Check for interception route markers followed immediately by parameters
94
- // Pattern: /(.):param, /(..):param, /(...):param, /(.)(.):param etc.
95
- // These patterns cause "Must have text between two parameters" errors
96
- if (/\/\(\.{1,3}\):[^/\s]+/.test(route)) {
97
- return true;
98
- }
99
- // Check for basic adjacent parameters without separators
100
- // Pattern: :param1:param2 (but not :param* or other URL patterns)
101
- if (/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(route)) {
102
- return true;
103
- }
104
- return false;
105
- }
106
- function normalizeAdjacentParameters(route) {
107
- let normalized = route;
108
- // Handle interception route patterns: (.):param -> (.)_NEXTSEP_:param
109
- normalized = normalized.replace(/(\([^)]*\)):([^/\s]+)/g, `$1${PARAM_SEPARATOR}:$2`);
110
- // Handle other adjacent parameter patterns: :param1:param2 -> :param1_NEXTSEP_:param2
111
- normalized = normalized.replace(/:([^:/\s)]+)(?=:)/g, `:$1${PARAM_SEPARATOR}`);
112
- return normalized;
113
- }
114
- function normalizeTokensForRegexp(tokens) {
115
- return tokens.map((token)=>{
116
- // Token union type: Token = string | TokenObject
117
- // Literal path segments are strings, parameters/wildcards are objects
118
- if (typeof token === 'object' && token !== null && // Not all token objects have 'modifier' property (e.g., simple text tokens)
119
- 'modifier' in token && // Only repeating modifiers (* or +) cause the validation error
120
- // Other modifiers like '?' (optional) are fine
121
- (token.modifier === '*' || token.modifier === '+') && // Token objects can have different shapes depending on route pattern
122
- 'prefix' in token && 'suffix' in token && // Both prefix and suffix must be empty strings
123
- // This is what causes the validation error in path-to-regexp
124
- token.prefix === '' && token.suffix === '') {
125
- // Add minimal prefix to satisfy path-to-regexp validation
126
- // We use '/' as it's the most common path delimiter and won't break route matching
127
- // The prefix gets used in regex generation but doesn't affect parameter extraction
128
- return {
129
- ...token,
130
- prefix: '/'
131
- };
132
- }
133
- return token;
134
- });
135
- }
136
- function stripNormalizedSeparators(pathname) {
137
- // Remove separator after interception route markers
138
- // Pattern: (.)_NEXTSEP_ -> (.), (..)_NEXTSEP_ -> (..), etc.
139
- // The separator appears after the closing paren of interception markers
140
- return pathname.replace(new RegExp(`\\)${PARAM_SEPARATOR}`, 'g'), ')');
141
- }
142
- function stripParameterSeparators(params) {
143
- const cleaned = {};
144
- for (const [key, value] of Object.entries(params)){
145
- if (typeof value === 'string') {
146
- // Remove the separator if it appears at the start of parameter values
147
- cleaned[key] = value.replace(new RegExp(`^${PARAM_SEPARATOR}`), '');
148
- } else if (Array.isArray(value)) {
149
- // Handle array parameters (from repeated route segments)
150
- cleaned[key] = value.map((item)=>typeof item === 'string' ? item.replace(new RegExp(`^${PARAM_SEPARATOR}`), '') : item);
151
- } else {
152
- cleaned[key] = value;
153
- }
154
- }
155
- return cleaned;
156
- }
157
- }),
158
- "[project]/node_modules/next/dist/lib/constants.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
159
- "use strict";
160
-
161
- Object.defineProperty(exports, "__esModule", {
162
- value: true
163
- });
164
- 0 && (module.exports = {
165
- ACTION_SUFFIX: null,
166
- APP_DIR_ALIAS: null,
167
- CACHE_ONE_YEAR_SECONDS: null,
168
- DOT_NEXT_ALIAS: null,
169
- ESLINT_DEFAULT_DIRS: null,
170
- GSP_NO_RETURNED_VALUE: null,
171
- GSSP_COMPONENT_MEMBER_ERROR: null,
172
- GSSP_NO_RETURNED_VALUE: null,
173
- HTML_CONTENT_TYPE_HEADER: null,
174
- INFINITE_CACHE: null,
175
- INSTRUMENTATION_HOOK_FILENAME: null,
176
- JSON_CONTENT_TYPE_HEADER: null,
177
- MATCHED_PATH_HEADER: null,
178
- MIDDLEWARE_FILENAME: null,
179
- MIDDLEWARE_LOCATION_REGEXP: null,
180
- NEXT_BODY_SUFFIX: null,
181
- NEXT_CACHE_IMPLICIT_TAG_ID: null,
182
- NEXT_CACHE_REVALIDATED_TAGS_HEADER: null,
183
- NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: null,
184
- NEXT_CACHE_ROOT_PARAM_TAG_ID: null,
185
- NEXT_CACHE_SOFT_TAG_MAX_LENGTH: null,
186
- NEXT_CACHE_TAGS_HEADER: null,
187
- NEXT_CACHE_TAG_MAX_ITEMS: null,
188
- NEXT_CACHE_TAG_MAX_LENGTH: null,
189
- NEXT_DATA_SUFFIX: null,
190
- NEXT_INTERCEPTION_MARKER_PREFIX: null,
191
- NEXT_META_SUFFIX: null,
192
- NEXT_NAV_DEPLOYMENT_ID_HEADER: null,
193
- NEXT_QUERY_PARAM_PREFIX: null,
194
- NEXT_RESUME_HEADER: null,
195
- NEXT_RESUME_STATE_LENGTH_HEADER: null,
196
- NON_STANDARD_NODE_ENV: null,
197
- PAGES_DIR_ALIAS: null,
198
- PRERENDER_REVALIDATE_HEADER: null,
199
- PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER: null,
200
- PROXY_FILENAME: null,
201
- PROXY_LOCATION_REGEXP: null,
202
- PUBLIC_DIR_MIDDLEWARE_CONFLICT: null,
203
- ROOT_DIR_ALIAS: null,
204
- RSC_ACTION_CLIENT_WRAPPER_ALIAS: null,
205
- RSC_ACTION_ENCRYPTION_ALIAS: null,
206
- RSC_ACTION_PROXY_ALIAS: null,
207
- RSC_ACTION_VALIDATE_ALIAS: null,
208
- RSC_CACHE_WRAPPER_ALIAS: null,
209
- RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS: null,
210
- RSC_MOD_REF_PROXY_ALIAS: null,
211
- RSC_SEGMENTS_DIR_SUFFIX: null,
212
- RSC_SEGMENT_SUFFIX: null,
213
- RSC_SUFFIX: null,
214
- SERVER_PROPS_EXPORT_ERROR: null,
215
- SERVER_PROPS_GET_INIT_PROPS_CONFLICT: null,
216
- SERVER_PROPS_SSG_CONFLICT: null,
217
- SERVER_RUNTIME: null,
218
- SSG_FALLBACK_EXPORT_ERROR: null,
219
- SSG_GET_INITIAL_PROPS_CONFLICT: null,
220
- STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: null,
221
- TEXT_PLAIN_CONTENT_TYPE_HEADER: null,
222
- UNSTABLE_REVALIDATE_RENAME_ERROR: null,
223
- WEBPACK_LAYERS: null,
224
- WEBPACK_RESOURCE_QUERIES: null,
225
- WEB_SOCKET_MAX_RECONNECTIONS: null
226
- });
227
- function _export(target, all) {
228
- for(var name in all)Object.defineProperty(target, name, {
229
- enumerable: true,
230
- get: all[name]
231
- });
232
- }
233
- _export(exports, {
234
- ACTION_SUFFIX: function() {
235
- return ACTION_SUFFIX;
236
- },
237
- APP_DIR_ALIAS: function() {
238
- return APP_DIR_ALIAS;
239
- },
240
- CACHE_ONE_YEAR_SECONDS: function() {
241
- return CACHE_ONE_YEAR_SECONDS;
242
- },
243
- DOT_NEXT_ALIAS: function() {
244
- return DOT_NEXT_ALIAS;
245
- },
246
- ESLINT_DEFAULT_DIRS: function() {
247
- return ESLINT_DEFAULT_DIRS;
248
- },
249
- GSP_NO_RETURNED_VALUE: function() {
250
- return GSP_NO_RETURNED_VALUE;
251
- },
252
- GSSP_COMPONENT_MEMBER_ERROR: function() {
253
- return GSSP_COMPONENT_MEMBER_ERROR;
254
- },
255
- GSSP_NO_RETURNED_VALUE: function() {
256
- return GSSP_NO_RETURNED_VALUE;
257
- },
258
- HTML_CONTENT_TYPE_HEADER: function() {
259
- return HTML_CONTENT_TYPE_HEADER;
260
- },
261
- INFINITE_CACHE: function() {
262
- return INFINITE_CACHE;
263
- },
264
- INSTRUMENTATION_HOOK_FILENAME: function() {
265
- return INSTRUMENTATION_HOOK_FILENAME;
266
- },
267
- JSON_CONTENT_TYPE_HEADER: function() {
268
- return JSON_CONTENT_TYPE_HEADER;
269
- },
270
- MATCHED_PATH_HEADER: function() {
271
- return MATCHED_PATH_HEADER;
272
- },
273
- MIDDLEWARE_FILENAME: function() {
274
- return MIDDLEWARE_FILENAME;
275
- },
276
- MIDDLEWARE_LOCATION_REGEXP: function() {
277
- return MIDDLEWARE_LOCATION_REGEXP;
278
- },
279
- NEXT_BODY_SUFFIX: function() {
280
- return NEXT_BODY_SUFFIX;
281
- },
282
- NEXT_CACHE_IMPLICIT_TAG_ID: function() {
283
- return NEXT_CACHE_IMPLICIT_TAG_ID;
284
- },
285
- NEXT_CACHE_REVALIDATED_TAGS_HEADER: function() {
286
- return NEXT_CACHE_REVALIDATED_TAGS_HEADER;
287
- },
288
- NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: function() {
289
- return NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER;
290
- },
291
- NEXT_CACHE_ROOT_PARAM_TAG_ID: function() {
292
- return NEXT_CACHE_ROOT_PARAM_TAG_ID;
293
- },
294
- NEXT_CACHE_SOFT_TAG_MAX_LENGTH: function() {
295
- return NEXT_CACHE_SOFT_TAG_MAX_LENGTH;
296
- },
297
- NEXT_CACHE_TAGS_HEADER: function() {
298
- return NEXT_CACHE_TAGS_HEADER;
299
- },
300
- NEXT_CACHE_TAG_MAX_ITEMS: function() {
301
- return NEXT_CACHE_TAG_MAX_ITEMS;
302
- },
303
- NEXT_CACHE_TAG_MAX_LENGTH: function() {
304
- return NEXT_CACHE_TAG_MAX_LENGTH;
305
- },
306
- NEXT_DATA_SUFFIX: function() {
307
- return NEXT_DATA_SUFFIX;
308
- },
309
- NEXT_INTERCEPTION_MARKER_PREFIX: function() {
310
- return NEXT_INTERCEPTION_MARKER_PREFIX;
311
- },
312
- NEXT_META_SUFFIX: function() {
313
- return NEXT_META_SUFFIX;
314
- },
315
- NEXT_NAV_DEPLOYMENT_ID_HEADER: function() {
316
- return NEXT_NAV_DEPLOYMENT_ID_HEADER;
317
- },
318
- NEXT_QUERY_PARAM_PREFIX: function() {
319
- return NEXT_QUERY_PARAM_PREFIX;
320
- },
321
- NEXT_RESUME_HEADER: function() {
322
- return NEXT_RESUME_HEADER;
323
- },
324
- NEXT_RESUME_STATE_LENGTH_HEADER: function() {
325
- return NEXT_RESUME_STATE_LENGTH_HEADER;
326
- },
327
- NON_STANDARD_NODE_ENV: function() {
328
- return NON_STANDARD_NODE_ENV;
329
- },
330
- PAGES_DIR_ALIAS: function() {
331
- return PAGES_DIR_ALIAS;
332
- },
333
- PRERENDER_REVALIDATE_HEADER: function() {
334
- return PRERENDER_REVALIDATE_HEADER;
335
- },
336
- PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER: function() {
337
- return PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER;
338
- },
339
- PROXY_FILENAME: function() {
340
- return PROXY_FILENAME;
341
- },
342
- PROXY_LOCATION_REGEXP: function() {
343
- return PROXY_LOCATION_REGEXP;
344
- },
345
- PUBLIC_DIR_MIDDLEWARE_CONFLICT: function() {
346
- return PUBLIC_DIR_MIDDLEWARE_CONFLICT;
347
- },
348
- ROOT_DIR_ALIAS: function() {
349
- return ROOT_DIR_ALIAS;
350
- },
351
- RSC_ACTION_CLIENT_WRAPPER_ALIAS: function() {
352
- return RSC_ACTION_CLIENT_WRAPPER_ALIAS;
353
- },
354
- RSC_ACTION_ENCRYPTION_ALIAS: function() {
355
- return RSC_ACTION_ENCRYPTION_ALIAS;
356
- },
357
- RSC_ACTION_PROXY_ALIAS: function() {
358
- return RSC_ACTION_PROXY_ALIAS;
359
- },
360
- RSC_ACTION_VALIDATE_ALIAS: function() {
361
- return RSC_ACTION_VALIDATE_ALIAS;
362
- },
363
- RSC_CACHE_WRAPPER_ALIAS: function() {
364
- return RSC_CACHE_WRAPPER_ALIAS;
365
- },
366
- RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS: function() {
367
- return RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS;
368
- },
369
- RSC_MOD_REF_PROXY_ALIAS: function() {
370
- return RSC_MOD_REF_PROXY_ALIAS;
371
- },
372
- RSC_SEGMENTS_DIR_SUFFIX: function() {
373
- return RSC_SEGMENTS_DIR_SUFFIX;
374
- },
375
- RSC_SEGMENT_SUFFIX: function() {
376
- return RSC_SEGMENT_SUFFIX;
377
- },
378
- RSC_SUFFIX: function() {
379
- return RSC_SUFFIX;
380
- },
381
- SERVER_PROPS_EXPORT_ERROR: function() {
382
- return SERVER_PROPS_EXPORT_ERROR;
383
- },
384
- SERVER_PROPS_GET_INIT_PROPS_CONFLICT: function() {
385
- return SERVER_PROPS_GET_INIT_PROPS_CONFLICT;
386
- },
387
- SERVER_PROPS_SSG_CONFLICT: function() {
388
- return SERVER_PROPS_SSG_CONFLICT;
389
- },
390
- SERVER_RUNTIME: function() {
391
- return SERVER_RUNTIME;
392
- },
393
- SSG_FALLBACK_EXPORT_ERROR: function() {
394
- return SSG_FALLBACK_EXPORT_ERROR;
395
- },
396
- SSG_GET_INITIAL_PROPS_CONFLICT: function() {
397
- return SSG_GET_INITIAL_PROPS_CONFLICT;
398
- },
399
- STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: function() {
400
- return STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR;
401
- },
402
- TEXT_PLAIN_CONTENT_TYPE_HEADER: function() {
403
- return TEXT_PLAIN_CONTENT_TYPE_HEADER;
404
- },
405
- UNSTABLE_REVALIDATE_RENAME_ERROR: function() {
406
- return UNSTABLE_REVALIDATE_RENAME_ERROR;
407
- },
408
- WEBPACK_LAYERS: function() {
409
- return WEBPACK_LAYERS;
410
- },
411
- WEBPACK_RESOURCE_QUERIES: function() {
412
- return WEBPACK_RESOURCE_QUERIES;
413
- },
414
- WEB_SOCKET_MAX_RECONNECTIONS: function() {
415
- return WEB_SOCKET_MAX_RECONNECTIONS;
416
- }
417
- });
418
- const TEXT_PLAIN_CONTENT_TYPE_HEADER = 'text/plain';
419
- const HTML_CONTENT_TYPE_HEADER = 'text/html; charset=utf-8';
420
- const JSON_CONTENT_TYPE_HEADER = 'application/json; charset=utf-8';
421
- const NEXT_QUERY_PARAM_PREFIX = 'nxtP';
422
- const NEXT_INTERCEPTION_MARKER_PREFIX = 'nxtI';
423
- const MATCHED_PATH_HEADER = 'x-matched-path';
424
- const PRERENDER_REVALIDATE_HEADER = 'x-prerender-revalidate';
425
- const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER = 'x-prerender-revalidate-if-generated';
426
- const RSC_SEGMENTS_DIR_SUFFIX = '.segments';
427
- const RSC_SEGMENT_SUFFIX = '.segment.rsc';
428
- const RSC_SUFFIX = '.rsc';
429
- const ACTION_SUFFIX = '.action';
430
- const NEXT_DATA_SUFFIX = '.json';
431
- const NEXT_META_SUFFIX = '.meta';
432
- const NEXT_BODY_SUFFIX = '.body';
433
- const NEXT_NAV_DEPLOYMENT_ID_HEADER = 'x-nextjs-deployment-id';
434
- const NEXT_CACHE_TAGS_HEADER = 'x-next-cache-tags';
435
- const NEXT_CACHE_REVALIDATED_TAGS_HEADER = 'x-next-revalidated-tags';
436
- const NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER = 'x-next-revalidate-tag-token';
437
- const NEXT_RESUME_HEADER = 'next-resume';
438
- const NEXT_RESUME_STATE_LENGTH_HEADER = 'x-next-resume-state-length';
439
- const NEXT_CACHE_TAG_MAX_ITEMS = 128;
440
- const NEXT_CACHE_TAG_MAX_LENGTH = 256;
441
- const NEXT_CACHE_SOFT_TAG_MAX_LENGTH = 1024;
442
- const NEXT_CACHE_IMPLICIT_TAG_ID = '_N_T_';
443
- const NEXT_CACHE_ROOT_PARAM_TAG_ID = '_N_RP_';
444
- const CACHE_ONE_YEAR_SECONDS = 31536000;
445
- const INFINITE_CACHE = 0xfffffffe;
446
- const MIDDLEWARE_FILENAME = 'middleware';
447
- const MIDDLEWARE_LOCATION_REGEXP = `(?:src/)?${MIDDLEWARE_FILENAME}`;
448
- const PROXY_FILENAME = 'proxy';
449
- const PROXY_LOCATION_REGEXP = `(?:src/)?${PROXY_FILENAME}`;
450
- const INSTRUMENTATION_HOOK_FILENAME = 'instrumentation';
451
- const PAGES_DIR_ALIAS = 'private-next-pages';
452
- const DOT_NEXT_ALIAS = 'private-dot-next';
453
- const ROOT_DIR_ALIAS = 'private-next-root-dir';
454
- const APP_DIR_ALIAS = 'private-next-app-dir';
455
- const RSC_MOD_REF_PROXY_ALIAS = 'private-next-rsc-mod-ref-proxy';
456
- const RSC_ACTION_VALIDATE_ALIAS = 'private-next-rsc-action-validate';
457
- const RSC_ACTION_PROXY_ALIAS = 'private-next-rsc-server-reference';
458
- const RSC_CACHE_WRAPPER_ALIAS = 'private-next-rsc-cache-wrapper';
459
- const RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS = 'private-next-rsc-track-dynamic-import';
460
- const RSC_ACTION_ENCRYPTION_ALIAS = 'private-next-rsc-action-encryption';
461
- const RSC_ACTION_CLIENT_WRAPPER_ALIAS = 'private-next-rsc-action-client-wrapper';
462
- const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict`;
463
- const SSG_GET_INITIAL_PROPS_CONFLICT = `You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps`;
464
- const SERVER_PROPS_GET_INIT_PROPS_CONFLICT = `You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.`;
465
- const SERVER_PROPS_SSG_CONFLICT = `You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps`;
466
- const STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR = `can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props`;
467
- const SERVER_PROPS_EXPORT_ERROR = `pages with \`getServerSideProps\` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export`;
468
- const GSP_NO_RETURNED_VALUE = 'Your `getStaticProps` function did not return an object. Did you forget to add a `return`?';
469
- const GSSP_NO_RETURNED_VALUE = 'Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?';
470
- const UNSTABLE_REVALIDATE_RENAME_ERROR = 'The `unstable_revalidate` property is available for general use.\n' + 'Please use `revalidate` instead.';
471
- const GSSP_COMPONENT_MEMBER_ERROR = `can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member`;
472
- const NON_STANDARD_NODE_ENV = `You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env`;
473
- const SSG_FALLBACK_EXPORT_ERROR = `Pages with \`fallback\` enabled in \`getStaticPaths\` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export`;
474
- const ESLINT_DEFAULT_DIRS = [
475
- 'app',
476
- 'pages',
477
- 'components',
478
- 'lib',
479
- 'src'
480
- ];
481
- const SERVER_RUNTIME = {
482
- edge: 'edge',
483
- experimentalEdge: 'experimental-edge',
484
- nodejs: 'nodejs'
485
- };
486
- const WEB_SOCKET_MAX_RECONNECTIONS = 12;
487
- /**
488
- * The names of the webpack layers. These layers are the primitives for the
489
- * webpack chunks.
490
- */ const WEBPACK_LAYERS_NAMES = {
491
- /**
492
- * The layer for the shared code between the client and server bundles.
493
- */ shared: 'shared',
494
- /**
495
- * The layer for server-only runtime and picking up `react-server` export conditions.
496
- * Including app router RSC pages and app router custom routes and metadata routes.
497
- */ reactServerComponents: 'rsc',
498
- /**
499
- * Server Side Rendering layer for app (ssr).
500
- */ serverSideRendering: 'ssr',
501
- /**
502
- * The browser client bundle layer for actions.
503
- */ actionBrowser: 'action-browser',
504
- /**
505
- * The Node.js bundle layer for the API routes.
506
- */ apiNode: 'api-node',
507
- /**
508
- * The Edge Lite bundle layer for the API routes.
509
- */ apiEdge: 'api-edge',
510
- /**
511
- * The layer for the middleware code.
512
- */ middleware: 'middleware',
513
- /**
514
- * The layer for the instrumentation hooks.
515
- */ instrument: 'instrument',
516
- /**
517
- * The layer for assets on the edge.
518
- */ edgeAsset: 'edge-asset',
519
- /**
520
- * The browser client bundle layer for App directory.
521
- */ appPagesBrowser: 'app-pages-browser',
522
- /**
523
- * The browser client bundle layer for Pages directory.
524
- */ pagesDirBrowser: 'pages-dir-browser',
525
- /**
526
- * The Edge Lite bundle layer for Pages directory.
527
- */ pagesDirEdge: 'pages-dir-edge',
528
- /**
529
- * The Node.js bundle layer for Pages directory.
530
- */ pagesDirNode: 'pages-dir-node'
531
- };
532
- const WEBPACK_LAYERS = {
533
- ...WEBPACK_LAYERS_NAMES,
534
- GROUP: {
535
- builtinReact: [
536
- WEBPACK_LAYERS_NAMES.reactServerComponents,
537
- WEBPACK_LAYERS_NAMES.actionBrowser
538
- ],
539
- serverOnly: [
540
- WEBPACK_LAYERS_NAMES.reactServerComponents,
541
- WEBPACK_LAYERS_NAMES.actionBrowser,
542
- WEBPACK_LAYERS_NAMES.instrument,
543
- WEBPACK_LAYERS_NAMES.middleware
544
- ],
545
- neutralTarget: [
546
- // pages api
547
- WEBPACK_LAYERS_NAMES.apiNode,
548
- WEBPACK_LAYERS_NAMES.apiEdge
549
- ],
550
- clientOnly: [
551
- WEBPACK_LAYERS_NAMES.serverSideRendering,
552
- WEBPACK_LAYERS_NAMES.appPagesBrowser
553
- ],
554
- bundled: [
555
- WEBPACK_LAYERS_NAMES.reactServerComponents,
556
- WEBPACK_LAYERS_NAMES.actionBrowser,
557
- WEBPACK_LAYERS_NAMES.serverSideRendering,
558
- WEBPACK_LAYERS_NAMES.appPagesBrowser,
559
- WEBPACK_LAYERS_NAMES.shared,
560
- WEBPACK_LAYERS_NAMES.instrument,
561
- WEBPACK_LAYERS_NAMES.middleware
562
- ],
563
- appPages: [
564
- // app router pages and layouts
565
- WEBPACK_LAYERS_NAMES.reactServerComponents,
566
- WEBPACK_LAYERS_NAMES.serverSideRendering,
567
- WEBPACK_LAYERS_NAMES.appPagesBrowser,
568
- WEBPACK_LAYERS_NAMES.actionBrowser
569
- ]
570
- }
571
- };
572
- const WEBPACK_RESOURCE_QUERIES = {
573
- edgeSSREntry: '__next_edge_ssr_entry__',
574
- metadata: '__next_metadata__',
575
- metadataRoute: '__next_metadata_route__',
576
- metadataImageMeta: '__next_metadata_image_meta__'
577
- };
578
- }),
579
- "[project]/node_modules/next/dist/lib/is-error.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
580
- "use strict";
581
-
582
- var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [client] (ecmascript)");
583
- "use strict";
584
- Object.defineProperty(exports, "__esModule", {
585
- value: true
586
- });
587
- 0 && (module.exports = {
588
- default: null,
589
- getProperError: null
590
- });
591
- function _export(target, all) {
592
- for(var name in all)Object.defineProperty(target, name, {
593
- enumerable: true,
594
- get: all[name]
595
- });
596
- }
597
- _export(exports, {
598
- /**
599
- * Checks whether the given value is a NextError.
600
- * This can be used to print a more detailed error message with properties like `code` & `digest`.
601
- */ default: function() {
602
- return isError;
603
- },
604
- getProperError: function() {
605
- return getProperError;
606
- }
607
- });
608
- const _isplainobject = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/is-plain-object.js [client] (ecmascript)");
609
- /**
610
- * This is a safe stringify function that handles circular references.
611
- * We're using a simpler version here to avoid introducing
612
- * the dependency `safe-stable-stringify` into production bundle.
613
- *
614
- * This helper is used both in development and production.
615
- */ function safeStringifyLite(obj) {
616
- const seen = new WeakSet();
617
- return JSON.stringify(obj, (_key, value)=>{
618
- // If value is an object and already seen, replace with "[Circular]"
619
- if (typeof value === 'object' && value !== null) {
620
- if (seen.has(value)) {
621
- return '[Circular]';
622
- }
623
- seen.add(value);
624
- }
625
- return value;
626
- });
627
- }
628
- function isError(err) {
629
- return typeof err === 'object' && err !== null && 'name' in err && 'message' in err;
630
- }
631
- function getProperError(err) {
632
- if (isError(err)) {
633
- return err;
634
- }
635
- if ("TURBOPACK compile-time truthy", 1) {
636
- // provide better error for case where `throw undefined`
637
- // is called in development
638
- if (typeof err === 'undefined') {
639
- return Object.defineProperty(new Error('An undefined error was thrown, ' + 'see here for more info: https://nextjs.org/docs/messages/threw-undefined'), "__NEXT_ERROR_CODE", {
640
- value: "E98",
641
- enumerable: false,
642
- configurable: true
643
- });
644
- }
645
- if (err === null) {
646
- return Object.defineProperty(new Error('A null error was thrown, ' + 'see here for more info: https://nextjs.org/docs/messages/threw-undefined'), "__NEXT_ERROR_CODE", {
647
- value: "E336",
648
- enumerable: false,
649
- configurable: true
650
- });
651
- }
652
- }
653
- return Object.defineProperty(new Error((0, _isplainobject.isPlainObject)(err) ? safeStringifyLite(err) : err + ''), "__NEXT_ERROR_CODE", {
654
- value: "E394",
655
- enumerable: false,
656
- configurable: true
657
- });
658
- }
659
- }),
660
- "[project]/node_modules/next/dist/lib/is-api-route.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
661
- "use strict";
662
-
663
- Object.defineProperty(exports, "__esModule", {
664
- value: true
665
- });
666
- Object.defineProperty(exports, "isAPIRoute", {
667
- enumerable: true,
668
- get: function() {
669
- return isAPIRoute;
670
- }
671
- });
672
- function isAPIRoute(value) {
673
- return value === '/api' || Boolean(value == null ? void 0 : value.startsWith('/api/'));
674
- }
675
- }),
676
- "[project]/node_modules/next/dist/lib/require-instrumentation-client.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
677
- "use strict";
678
-
679
- var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [client] (ecmascript)");
680
- /**
681
- * This module imports the client instrumentation hook from the project root.
682
- *
683
- * The `private-next-instrumentation-client` module is automatically aliased to
684
- * the `instrumentation-client.ts` file in the project root by webpack or turbopack.
685
- */ "use strict";
686
- if ("TURBOPACK compile-time truthy", 1) {
687
- const measureName = 'Client Instrumentation Hook';
688
- const startTime = performance.now();
689
- // eslint-disable-next-line @next/internal/typechecked-require -- Not a module.
690
- module.exports = {};
691
- const endTime = performance.now();
692
- const duration = endTime - startTime;
693
- // Using 16ms threshold as it represents one frame (1000ms/60fps)
694
- // This helps identify if the instrumentation hook initialization
695
- // could potentially cause frame drops during development.
696
- const THRESHOLD = 16;
697
- if (duration > THRESHOLD) {
698
- console.log(`[${measureName}] Slow execution detected: ${duration.toFixed(0)}ms (Note: Code download overhead is not included in this measurement)`);
699
- }
700
- } else //TURBOPACK unreachable
701
- ;
702
- }),
703
- "[project]/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
704
- "use strict";
705
-
706
- Object.defineProperty(exports, "__esModule", {
707
- value: true
708
- });
709
- 0 && (module.exports = {
710
- coerceError: null,
711
- decorateDevError: null,
712
- getOwnerStack: null,
713
- setOwnerStack: null,
714
- setOwnerStackIfAvailable: null
715
- });
716
- function _export(target, all) {
717
- for(var name in all)Object.defineProperty(target, name, {
718
- enumerable: true,
719
- get: all[name]
720
- });
721
- }
722
- _export(exports, {
723
- coerceError: function() {
724
- return coerceError;
725
- },
726
- decorateDevError: function() {
727
- return decorateDevError;
728
- },
729
- getOwnerStack: function() {
730
- return getOwnerStack;
731
- },
732
- setOwnerStack: function() {
733
- return setOwnerStack;
734
- },
735
- setOwnerStackIfAvailable: function() {
736
- return setOwnerStackIfAvailable;
737
- }
738
- });
739
- const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [client] (ecmascript)");
740
- const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/react/index.js [client] (ecmascript)"));
741
- const _iserror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/lib/is-error.js [client] (ecmascript)"));
742
- const ownerStacks = new WeakMap();
743
- function getOwnerStack(error) {
744
- return ownerStacks.get(error);
745
- }
746
- function setOwnerStack(error, stack) {
747
- ownerStacks.set(error, stack);
748
- }
749
- function coerceError(value) {
750
- return (0, _iserror.default)(value) ? value : Object.defineProperty(new Error('' + value), "__NEXT_ERROR_CODE", {
751
- value: "E394",
752
- enumerable: false,
753
- configurable: true
754
- });
755
- }
756
- function setOwnerStackIfAvailable(error) {
757
- // React 18 and prod does not have `captureOwnerStack`
758
- if ('captureOwnerStack' in _react.default) {
759
- const ownerStack = _react.default.captureOwnerStack();
760
- // Only set if we captured a valid owner stack, or if none exists yet.
761
- // This prevents overwriting a valid owner stack captured earlier
762
- // (e.g., in onRecoverableError) with null captured later.
763
- if (ownerStack || !ownerStacks.has(error)) {
764
- setOwnerStack(error, ownerStack);
765
- }
766
- }
767
- }
768
- function decorateDevError(thrownValue) {
769
- const error = coerceError(thrownValue);
770
- setOwnerStackIfAvailable(error);
771
- return error;
772
- }
773
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
774
- Object.defineProperty(exports.default, '__esModule', {
775
- value: true
776
- });
777
- Object.assign(exports.default, exports);
778
- module.exports = exports.default;
779
- }
780
- }),
781
- "[project]/node_modules/next/dist/next-devtools/shared/react-18-hydration-error.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
782
- "use strict";
783
-
784
- Object.defineProperty(exports, "__esModule", {
785
- value: true
786
- });
787
- 0 && (module.exports = {
788
- getHydrationWarningType: null,
789
- isHydrationError: null,
790
- isHydrationWarning: null
791
- });
792
- function _export(target, all) {
793
- for(var name in all)Object.defineProperty(target, name, {
794
- enumerable: true,
795
- get: all[name]
796
- });
797
- }
798
- _export(exports, {
799
- getHydrationWarningType: function() {
800
- return getHydrationWarningType;
801
- },
802
- isHydrationError: function() {
803
- return isHydrationError;
804
- },
805
- isHydrationWarning: function() {
806
- return isHydrationWarning;
807
- }
808
- });
809
- const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [client] (ecmascript)");
810
- const _iserror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/lib/is-error.js [client] (ecmascript)"));
811
- function isHydrationError(error) {
812
- return (0, _iserror.default)(error) && (error.message === 'Hydration failed because the initial UI does not match what was rendered on the server.' || error.message === 'Text content does not match server-rendered HTML.');
813
- }
814
- function isHydrationWarning(message) {
815
- return isHtmlTagsWarning(message) || isTextInTagsMismatchWarning(message) || isTextWarning(message);
816
- }
817
- // https://github.com/facebook/react/blob/main/packages/react-dom/src/__tests__/ReactDOMHydrationDiff-test.js used as a reference
818
- const htmlTagsWarnings = new Set([
819
- 'Warning: Expected server HTML to contain a matching <%s> in <%s>.%s',
820
- 'Warning: Did not expect server HTML to contain a <%s> in <%s>.%s'
821
- ]);
822
- const textAndTagsMismatchWarnings = new Set([
823
- 'Warning: Expected server HTML to contain a matching text node for "%s" in <%s>.%s',
824
- 'Warning: Did not expect server HTML to contain the text node "%s" in <%s>.%s'
825
- ]);
826
- const textWarnings = new Set([
827
- 'Warning: Text content did not match. Server: "%s" Client: "%s"%s'
828
- ]);
829
- const getHydrationWarningType = (message)=>{
830
- if (typeof message !== 'string') {
831
- // TODO: Doesn't make sense to treat no message as a hydration error message.
832
- // We should bail out somewhere earlier.
833
- return 'text';
834
- }
835
- const normalizedMessage = message.startsWith('Warning: ') ? message : `Warning: ${message}`;
836
- if (isHtmlTagsWarning(normalizedMessage)) return 'tag';
837
- if (isTextInTagsMismatchWarning(normalizedMessage)) return 'text-in-tag';
838
- return 'text';
839
- };
840
- const isHtmlTagsWarning = (message)=>typeof message === 'string' && htmlTagsWarnings.has(message);
841
- const isTextInTagsMismatchWarning = (msg)=>typeof msg === 'string' && textAndTagsMismatchWarnings.has(msg);
842
- const isTextWarning = (msg)=>typeof msg === 'string' && textWarnings.has(msg);
843
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
844
- Object.defineProperty(exports.default, '__esModule', {
845
- value: true
846
- });
847
- Object.assign(exports.default, exports);
848
- module.exports = exports.default;
849
- }
850
- }),
851
- "[project]/node_modules/next/dist/next-devtools/shared/react-19-hydration-error.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
852
- "use strict";
853
-
854
- Object.defineProperty(exports, "__esModule", {
855
- value: true
856
- });
857
- 0 && (module.exports = {
858
- NEXTJS_HYDRATION_ERROR_LINK: null,
859
- REACT_HYDRATION_ERROR_LINK: null,
860
- getHydrationErrorStackInfo: null,
861
- isErrorMessageWithComponentStackDiff: null,
862
- isHydrationError: null
863
- });
864
- function _export(target, all) {
865
- for(var name in all)Object.defineProperty(target, name, {
866
- enumerable: true,
867
- get: all[name]
868
- });
869
- }
870
- _export(exports, {
871
- NEXTJS_HYDRATION_ERROR_LINK: function() {
872
- return NEXTJS_HYDRATION_ERROR_LINK;
873
- },
874
- REACT_HYDRATION_ERROR_LINK: function() {
875
- return REACT_HYDRATION_ERROR_LINK;
876
- },
877
- getHydrationErrorStackInfo: function() {
878
- return getHydrationErrorStackInfo;
879
- },
880
- isErrorMessageWithComponentStackDiff: function() {
881
- return isErrorMessageWithComponentStackDiff;
882
- },
883
- isHydrationError: function() {
884
- return isHydrationError;
885
- }
886
- });
887
- const REACT_HYDRATION_ERROR_LINK = 'https://react.dev/link/hydration-mismatch';
888
- const NEXTJS_HYDRATION_ERROR_LINK = 'https://nextjs.org/docs/messages/react-hydration-error';
889
- /**
890
- * Only React 19+ contains component stack diff in the error message
891
- */ const errorMessagesWithComponentStackDiff = [
892
- /^In HTML, (.+?) cannot be a child of <(.+?)>\.(.*)\nThis will cause a hydration error\.(.*)/,
893
- /^In HTML, (.+?) cannot be a descendant of <(.+?)>\.\nThis will cause a hydration error\.(.*)/,
894
- /^In HTML, text nodes cannot be a child of <(.+?)>\.\nThis will cause a hydration error\./,
895
- /^In HTML, whitespace text nodes cannot be a child of <(.+?)>\. Make sure you don't have any extra whitespace between tags on each line of your source code\.\nThis will cause a hydration error\./
896
- ];
897
- function isHydrationError(error) {
898
- return isErrorMessageWithComponentStackDiff(error.message) || /Hydration failed because the server rendered (text|HTML) didn't match the client\./.test(error.message) || /A tree hydrated but some attributes of the server rendered HTML didn't match the client properties./.test(error.message);
899
- }
900
- function isErrorMessageWithComponentStackDiff(msg) {
901
- return errorMessagesWithComponentStackDiff.some((regex)=>regex.test(msg));
902
- }
903
- function getHydrationErrorStackInfo(error) {
904
- const errorMessage = error.message;
905
- if (isErrorMessageWithComponentStackDiff(errorMessage)) {
906
- const [message, diffLog = ''] = errorMessage.split('\n\n');
907
- const diff = diffLog.trim();
908
- return {
909
- message: diff === '' ? errorMessage.trim() : message.trim(),
910
- diff,
911
- notes: null
912
- };
913
- }
914
- const [message, maybeComponentStackDiff] = errorMessage.split(`${REACT_HYDRATION_ERROR_LINK}`);
915
- const trimmedMessage = message.trim();
916
- // React built-in hydration diff starts with a newline
917
- if (maybeComponentStackDiff !== undefined && maybeComponentStackDiff.length > 1) {
918
- const diffs = [];
919
- maybeComponentStackDiff.split('\n').forEach((line)=>{
920
- if (line.trim() === '') return;
921
- if (!line.trim().startsWith('at ')) {
922
- diffs.push(line);
923
- }
924
- });
925
- const [displayedMessage, ...notes] = trimmedMessage.split('\n\n');
926
- return {
927
- message: displayedMessage,
928
- diff: diffs.join('\n'),
929
- notes: notes.join('\n\n') || null
930
- };
931
- } else {
932
- const [displayedMessage, ...notes] = trimmedMessage.split('\n\n');
933
- return {
934
- message: displayedMessage,
935
- diff: null,
936
- notes: notes.join('\n\n')
937
- };
938
- }
939
- }
940
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
941
- Object.defineProperty(exports.default, '__esModule', {
942
- value: true
943
- });
944
- Object.assign(exports.default, exports);
945
- module.exports = exports.default;
946
- }
947
- }),
948
- "[project]/node_modules/next/dist/next-devtools/userspace/pages/hydration-error-state.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
949
- "use strict";
950
-
951
- Object.defineProperty(exports, "__esModule", {
952
- value: true
953
- });
954
- 0 && (module.exports = {
955
- attachHydrationErrorState: null,
956
- getSquashedHydrationErrorDetails: null,
957
- storeHydrationErrorStateFromConsoleArgs: null
958
- });
959
- function _export(target, all) {
960
- for(var name in all)Object.defineProperty(target, name, {
961
- enumerable: true,
962
- get: all[name]
963
- });
964
- }
965
- _export(exports, {
966
- attachHydrationErrorState: function() {
967
- return attachHydrationErrorState;
968
- },
969
- getSquashedHydrationErrorDetails: function() {
970
- return getSquashedHydrationErrorDetails;
971
- },
972
- storeHydrationErrorStateFromConsoleArgs: function() {
973
- return storeHydrationErrorStateFromConsoleArgs;
974
- }
975
- });
976
- const _react18hydrationerror = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/shared/react-18-hydration-error.js [client] (ecmascript)");
977
- const _react19hydrationerror = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/shared/react-19-hydration-error.js [client] (ecmascript)");
978
- // We only need this for React 18 or hydration console errors in React 19.
979
- // Once we surface console.error in the dev overlay in pages router, we should only
980
- // use this for React 18.
981
- let hydrationErrorState = {};
982
- const squashedHydrationErrorDetails = new WeakMap();
983
- function getSquashedHydrationErrorDetails(error) {
984
- return squashedHydrationErrorDetails.has(error) ? squashedHydrationErrorDetails.get(error) : null;
985
- }
986
- function attachHydrationErrorState(error) {
987
- if (!(0, _react18hydrationerror.isHydrationError)(error) && !(0, _react19hydrationerror.isHydrationError)(error)) {
988
- return;
989
- }
990
- let parsedHydrationErrorState = {};
991
- // If there's any extra information in the error message to display,
992
- // append it to the error message details property
993
- if (hydrationErrorState.warning) {
994
- // The patched console.error found hydration errors logged by React
995
- // Append the logged warning to the error message
996
- parsedHydrationErrorState = {
997
- // It contains the warning, component stack, server and client tag names
998
- ...hydrationErrorState
999
- };
1000
- // Consume the cached hydration diff.
1001
- // This is only required for now when we still squashed the hydration diff log into hydration error.
1002
- // Once the all error is logged to dev overlay in order, this will go away.
1003
- if (hydrationErrorState.reactOutputComponentDiff) {
1004
- parsedHydrationErrorState.reactOutputComponentDiff = hydrationErrorState.reactOutputComponentDiff;
1005
- }
1006
- squashedHydrationErrorDetails.set(error, parsedHydrationErrorState);
1007
- }
1008
- }
1009
- function storeHydrationErrorStateFromConsoleArgs(...args) {
1010
- let [message, firstContent, secondContent, ...rest] = args;
1011
- if ((0, _react18hydrationerror.isHydrationWarning)(message)) {
1012
- // Some hydration warnings has 4 arguments, some has 3, fallback to the last argument
1013
- // when the 3rd argument is not the component stack but an empty string
1014
- // For some warnings, there's only 1 argument for template.
1015
- // The second argument is the diff or component stack.
1016
- if (args.length === 3) {
1017
- secondContent = '';
1018
- }
1019
- const warning = message.replace(/Warning: /, '').replace('%s', firstContent).replace('%s', secondContent) // remove the last %s from the message
1020
- .replace(/%s/g, '');
1021
- const lastArg = (rest[rest.length - 1] || '').trim();
1022
- hydrationErrorState.reactOutputComponentDiff = generateHydrationDiffReact18(message, firstContent, secondContent, lastArg);
1023
- hydrationErrorState.warning = warning;
1024
- } else if ((0, _react19hydrationerror.isErrorMessageWithComponentStackDiff)(message)) {
1025
- // Some hydration warnings has 4 arguments, some has 3, fallback to the last argument
1026
- // when the 3rd argument is not the component stack but an empty string
1027
- // For some warnings, there's only 1 argument for template.
1028
- // The second argument is the diff or component stack.
1029
- if (args.length === 3) {
1030
- secondContent = '';
1031
- }
1032
- const warning = message.replace('%s', firstContent).replace('%s', secondContent) // remove the last %s from the message
1033
- .replace(/%s/g, '');
1034
- const lastArg = (args[args.length - 1] || '').trim();
1035
- hydrationErrorState.reactOutputComponentDiff = lastArg;
1036
- hydrationErrorState.warning = warning;
1037
- }
1038
- }
1039
- /*
1040
- * Some hydration errors in React 18 does not have the diff in the error message.
1041
- * Instead it has the error stack trace which is component stack that we can leverage.
1042
- * Will parse the diff from the error stack trace
1043
- * e.g.
1044
- * Warning: Expected server HTML to contain a matching <div> in <p>.
1045
- * at div
1046
- * at p
1047
- * at div
1048
- * at div
1049
- * at Page
1050
- * output:
1051
- * <Page>
1052
- * <div>
1053
- * <p>
1054
- * > <div>
1055
- *
1056
- */ function generateHydrationDiffReact18(message, firstContent, secondContent, lastArg) {
1057
- const componentStack = lastArg;
1058
- let firstIndex = -1;
1059
- let secondIndex = -1;
1060
- const hydrationWarningType = (0, _react18hydrationerror.getHydrationWarningType)(message);
1061
- // at div\n at Foo\n at Bar (....)\n -> [div, Foo]
1062
- const components = componentStack.split('\n') // .reverse()
1063
- .map((line, index)=>{
1064
- // `<space>at <component> (<location>)` -> `at <component> (<location>)`
1065
- line = line.trim();
1066
- // extract `<space>at <component>` to `<<component>>`
1067
- // e.g. ` at Foo` -> `<Foo>`
1068
- const [, component, location] = /at (\w+)( \((.*)\))?/.exec(line) || [];
1069
- // If there's no location then it's user-land stack frame
1070
- if (!location) {
1071
- if (component === firstContent && firstIndex === -1) {
1072
- firstIndex = index;
1073
- } else if (component === secondContent && secondIndex === -1) {
1074
- secondIndex = index;
1075
- }
1076
- }
1077
- return location ? '' : component;
1078
- }).filter(Boolean).reverse();
1079
- let diff = '';
1080
- for(let i = 0; i < components.length; i++){
1081
- const component = components[i];
1082
- const matchFirstContent = hydrationWarningType === 'tag' && i === components.length - firstIndex - 1;
1083
- const matchSecondContent = hydrationWarningType === 'tag' && i === components.length - secondIndex - 1;
1084
- if (matchFirstContent || matchSecondContent) {
1085
- const spaces = ' '.repeat(Math.max(i * 2 - 2, 0) + 2);
1086
- diff += `> ${spaces}<${component}>\n`;
1087
- } else {
1088
- const spaces = ' '.repeat(i * 2 + 2);
1089
- diff += `${spaces}<${component}>\n`;
1090
- }
1091
- }
1092
- if (hydrationWarningType === 'text') {
1093
- const spaces = ' '.repeat(components.length * 2);
1094
- diff += `+ ${spaces}"${firstContent}"\n`;
1095
- diff += `- ${spaces}"${secondContent}"\n`;
1096
- } else if (hydrationWarningType === 'text-in-tag') {
1097
- const spaces = ' '.repeat(components.length * 2);
1098
- diff += `> ${spaces}<${secondContent}>\n`;
1099
- diff += `> ${spaces}"${firstContent}"\n`;
1100
- }
1101
- return diff;
1102
- }
1103
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
1104
- Object.defineProperty(exports.default, '__esModule', {
1105
- value: true
1106
- });
1107
- Object.assign(exports.default, exports);
1108
- module.exports = exports.default;
1109
- }
1110
- }),
1111
- "[project]/node_modules/next/dist/next-devtools/userspace/pages/pages-dev-overlay-error-boundary.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1112
- "use strict";
1113
-
1114
- Object.defineProperty(exports, "__esModule", {
1115
- value: true
1116
- });
1117
- Object.defineProperty(exports, "PagesDevOverlayErrorBoundary", {
1118
- enumerable: true,
1119
- get: function() {
1120
- return PagesDevOverlayErrorBoundary;
1121
- }
1122
- });
1123
- const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [client] (ecmascript)");
1124
- const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/react/index.js [client] (ecmascript)"));
1125
- class PagesDevOverlayErrorBoundary extends _react.default.PureComponent {
1126
- static getDerivedStateFromError(error) {
1127
- return {
1128
- error
1129
- };
1130
- }
1131
- // Explicit type is needed to avoid the generated `.d.ts` having a wide return type that could be specific to the `@types/react` version.
1132
- render() {
1133
- // The component has to be unmounted or else it would continue to error
1134
- return this.state.error ? null : this.props.children;
1135
- }
1136
- constructor(...args){
1137
- super(...args), this.state = {
1138
- error: null
1139
- };
1140
- }
1141
- }
1142
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
1143
- Object.defineProperty(exports.default, '__esModule', {
1144
- value: true
1145
- });
1146
- Object.assign(exports.default, exports);
1147
- module.exports = exports.default;
1148
- }
1149
- }),
1150
- "[project]/node_modules/next/dist/next-devtools/userspace/app/terminal-logging-config.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1151
- "use strict";
1152
-
1153
- var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [client] (ecmascript)");
1154
- "use strict";
1155
- Object.defineProperty(exports, "__esModule", {
1156
- value: true
1157
- });
1158
- 0 && (module.exports = {
1159
- getIsTerminalLoggingEnabled: null,
1160
- getTerminalLoggingConfig: null
1161
- });
1162
- function _export(target, all) {
1163
- for(var name in all)Object.defineProperty(target, name, {
1164
- enumerable: true,
1165
- get: all[name]
1166
- });
1167
- }
1168
- _export(exports, {
1169
- getIsTerminalLoggingEnabled: function() {
1170
- return getIsTerminalLoggingEnabled;
1171
- },
1172
- getTerminalLoggingConfig: function() {
1173
- return getTerminalLoggingConfig;
1174
- }
1175
- });
1176
- function getTerminalLoggingConfig() {
1177
- try {
1178
- return JSON.parse(("TURBOPACK compile-time value", '"warn"') || 'false');
1179
- } catch {
1180
- return false;
1181
- }
1182
- }
1183
- function getIsTerminalLoggingEnabled() {
1184
- const config = getTerminalLoggingConfig();
1185
- return Boolean(config);
1186
- }
1187
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
1188
- Object.defineProperty(exports.default, '__esModule', {
1189
- value: true
1190
- });
1191
- Object.assign(exports.default, exports);
1192
- module.exports = exports.default;
1193
- }
1194
- }),
1195
- "[project]/node_modules/next/dist/next-devtools/shared/forward-logs-shared.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1196
- "use strict";
1197
-
1198
- Object.defineProperty(exports, "__esModule", {
1199
- value: true
1200
- });
1201
- 0 && (module.exports = {
1202
- UNDEFINED_MARKER: null,
1203
- patchConsoleMethod: null
1204
- });
1205
- function _export(target, all) {
1206
- for(var name in all)Object.defineProperty(target, name, {
1207
- enumerable: true,
1208
- get: all[name]
1209
- });
1210
- }
1211
- _export(exports, {
1212
- UNDEFINED_MARKER: function() {
1213
- return UNDEFINED_MARKER;
1214
- },
1215
- patchConsoleMethod: function() {
1216
- return patchConsoleMethod;
1217
- }
1218
- });
1219
- const UNDEFINED_MARKER = '__next_tagged_undefined';
1220
- function patchConsoleMethod(methodName, wrapper) {
1221
- const descriptor = Object.getOwnPropertyDescriptor(console, methodName);
1222
- if (descriptor && (descriptor.configurable || descriptor.writable) && typeof descriptor.value === 'function') {
1223
- const originalMethod = descriptor.value;
1224
- const originalName = Object.getOwnPropertyDescriptor(originalMethod, 'name');
1225
- const wrapperMethod = function(...args) {
1226
- wrapper(methodName, ...args);
1227
- originalMethod.apply(this, args);
1228
- };
1229
- if (originalName) {
1230
- Object.defineProperty(wrapperMethod, 'name', originalName);
1231
- }
1232
- Object.defineProperty(console, methodName, {
1233
- value: wrapperMethod
1234
- });
1235
- return ()=>{
1236
- Object.defineProperty(console, methodName, {
1237
- value: originalMethod,
1238
- writable: descriptor.writable,
1239
- configurable: descriptor.configurable
1240
- });
1241
- };
1242
- }
1243
- return ()=>{};
1244
- }
1245
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
1246
- Object.defineProperty(exports.default, '__esModule', {
1247
- value: true
1248
- });
1249
- Object.assign(exports.default, exports);
1250
- module.exports = exports.default;
1251
- }
1252
- }),
1253
- "[project]/node_modules/next/dist/next-devtools/userspace/app/forward-logs-utils.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1254
- "use strict";
1255
-
1256
- Object.defineProperty(exports, "__esModule", {
1257
- value: true
1258
- });
1259
- 0 && (module.exports = {
1260
- logStringify: null,
1261
- preLogSerializationClone: null,
1262
- safeStringifyWithDepth: null
1263
- });
1264
- function _export(target, all) {
1265
- for(var name in all)Object.defineProperty(target, name, {
1266
- enumerable: true,
1267
- get: all[name]
1268
- });
1269
- }
1270
- _export(exports, {
1271
- logStringify: function() {
1272
- return logStringify;
1273
- },
1274
- preLogSerializationClone: function() {
1275
- return preLogSerializationClone;
1276
- },
1277
- safeStringifyWithDepth: function() {
1278
- return safeStringifyWithDepth;
1279
- }
1280
- });
1281
- const _safestablestringify = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/safe-stable-stringify/index.js [client] (ecmascript)");
1282
- const _terminalloggingconfig = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/terminal-logging-config.js [client] (ecmascript)");
1283
- const _forwardlogsshared = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/shared/forward-logs-shared.js [client] (ecmascript)");
1284
- const terminalLoggingConfig = (0, _terminalloggingconfig.getTerminalLoggingConfig)();
1285
- const PROMISE_MARKER = 'Promise {}';
1286
- const UNAVAILABLE_MARKER = '[Unable to view]';
1287
- const maximumDepth = typeof terminalLoggingConfig === 'object' && terminalLoggingConfig.depthLimit ? terminalLoggingConfig.depthLimit : 5;
1288
- const maximumBreadth = typeof terminalLoggingConfig === 'object' && terminalLoggingConfig.edgeLimit ? terminalLoggingConfig.edgeLimit : 100;
1289
- const safeStringifyWithDepth = (0, _safestablestringify.configure)({
1290
- maximumDepth,
1291
- maximumBreadth
1292
- });
1293
- function preLogSerializationClone(value, seen = new WeakMap()) {
1294
- if (value === undefined) return _forwardlogsshared.UNDEFINED_MARKER;
1295
- if (value === null || typeof value !== 'object') return value;
1296
- if (seen.has(value)) return seen.get(value);
1297
- try {
1298
- Object.keys(value);
1299
- } catch {
1300
- return UNAVAILABLE_MARKER;
1301
- }
1302
- try {
1303
- if (typeof value.then === 'function') return PROMISE_MARKER;
1304
- } catch {
1305
- return UNAVAILABLE_MARKER;
1306
- }
1307
- if (Array.isArray(value)) {
1308
- const out = [];
1309
- seen.set(value, out);
1310
- for (const item of value){
1311
- try {
1312
- out.push(preLogSerializationClone(item, seen));
1313
- } catch {
1314
- out.push(UNAVAILABLE_MARKER);
1315
- }
1316
- }
1317
- return out;
1318
- }
1319
- const proto = Object.getPrototypeOf(value);
1320
- if (proto === Object.prototype || proto === null) {
1321
- const out = {};
1322
- seen.set(value, out);
1323
- for (const key of Object.keys(value)){
1324
- try {
1325
- out[key] = preLogSerializationClone(value[key], seen);
1326
- } catch {
1327
- out[key] = UNAVAILABLE_MARKER;
1328
- }
1329
- }
1330
- return out;
1331
- }
1332
- return Object.prototype.toString.call(value);
1333
- }
1334
- const logStringify = (data)=>{
1335
- try {
1336
- const result = safeStringifyWithDepth(data);
1337
- return result ?? `"${UNAVAILABLE_MARKER}"`;
1338
- } catch {
1339
- return `"${UNAVAILABLE_MARKER}"`;
1340
- }
1341
- };
1342
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
1343
- Object.defineProperty(exports.default, '__esModule', {
1344
- value: true
1345
- });
1346
- Object.assign(exports.default, exports);
1347
- module.exports = exports.default;
1348
- }
1349
- }),
1350
- "[project]/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1351
- "use strict";
1352
-
1353
- var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [client] (ecmascript)");
1354
- "use strict";
1355
- Object.defineProperty(exports, "__esModule", {
1356
- value: true
1357
- });
1358
- 0 && (module.exports = {
1359
- forwardErrorLog: null,
1360
- forwardUnhandledError: null,
1361
- initializeDebugLogForwarding: null,
1362
- logQueue: null,
1363
- logUnhandledRejection: null
1364
- });
1365
- function _export(target, all) {
1366
- for(var name in all)Object.defineProperty(target, name, {
1367
- enumerable: true,
1368
- get: all[name]
1369
- });
1370
- }
1371
- _export(exports, {
1372
- forwardErrorLog: function() {
1373
- return forwardErrorLog;
1374
- },
1375
- forwardUnhandledError: function() {
1376
- return forwardUnhandledError;
1377
- },
1378
- initializeDebugLogForwarding: function() {
1379
- return initializeDebugLogForwarding;
1380
- },
1381
- logQueue: function() {
1382
- return logQueue;
1383
- },
1384
- logUnhandledRejection: function() {
1385
- return logUnhandledRejection;
1386
- }
1387
- });
1388
- const _errorsource = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/error-source.js [client] (ecmascript)");
1389
- const _terminalloggingconfig = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/terminal-logging-config.js [client] (ecmascript)");
1390
- const _forwardlogsshared = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/shared/forward-logs-shared.js [client] (ecmascript)");
1391
- const _forwardlogsutils = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/forward-logs-utils.js [client] (ecmascript)");
1392
- const _stitchederror = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js [client] (ecmascript)");
1393
- // Client-side file logger for browser logs
1394
- class ClientFileLogger {
1395
- formatTimestamp() {
1396
- const now = new Date();
1397
- const hours = now.getHours().toString().padStart(2, '0');
1398
- const minutes = now.getMinutes().toString().padStart(2, '0');
1399
- const seconds = now.getSeconds().toString().padStart(2, '0');
1400
- const milliseconds = now.getMilliseconds().toString().padStart(3, '0');
1401
- return `${hours}:${minutes}:${seconds}.${milliseconds}`;
1402
- }
1403
- log(level, args) {
1404
- if (isReactServerReplayedLog(args)) {
1405
- return;
1406
- }
1407
- // Format the args into a message string
1408
- const message = args.map((arg)=>{
1409
- if (typeof arg === 'string') return arg;
1410
- if (typeof arg === 'number' || typeof arg === 'boolean') return String(arg);
1411
- if (arg === null) return 'null';
1412
- if (arg === undefined) return 'undefined';
1413
- // Handle DOM nodes - only log the tag name to avoid React proxied elements
1414
- if (arg instanceof Element) {
1415
- return `<${arg.tagName.toLowerCase()}>`;
1416
- }
1417
- return (0, _forwardlogsutils.safeStringifyWithDepth)(arg);
1418
- }).join(' ');
1419
- const logEntry = {
1420
- timestamp: this.formatTimestamp(),
1421
- level: level.toUpperCase(),
1422
- message
1423
- };
1424
- this.logEntries.push(logEntry);
1425
- // Schedule flush when new log is added
1426
- scheduleLogFlush();
1427
- }
1428
- getLogs() {
1429
- return [
1430
- ...this.logEntries
1431
- ];
1432
- }
1433
- clear() {
1434
- this.logEntries = [];
1435
- }
1436
- constructor(){
1437
- this.logEntries = [];
1438
- }
1439
- }
1440
- const clientFileLogger = new ClientFileLogger();
1441
- // Set up flush-based sending of client file logs
1442
- let logFlushTimeout = null;
1443
- let heartbeatInterval = null;
1444
- const scheduleLogFlush = ()=>{
1445
- if (logFlushTimeout) {
1446
- clearTimeout(logFlushTimeout);
1447
- }
1448
- logFlushTimeout = setTimeout(()=>{
1449
- sendClientFileLogs();
1450
- logFlushTimeout = null;
1451
- }, 100) // Send after 100ms (much faster with debouncing)
1452
- ;
1453
- };
1454
- const cancelLogFlush = ()=>{
1455
- if (logFlushTimeout) {
1456
- clearTimeout(logFlushTimeout);
1457
- logFlushTimeout = null;
1458
- }
1459
- };
1460
- const startHeartbeat = ()=>{
1461
- if (heartbeatInterval) return;
1462
- heartbeatInterval = setInterval(()=>{
1463
- if (logQueue.socket && logQueue.socket.readyState === WebSocket.OPEN) {
1464
- try {
1465
- // Send a ping to keep the connection alive
1466
- logQueue.socket.send(JSON.stringify({
1467
- event: 'ping'
1468
- }));
1469
- } catch (error) {
1470
- // Connection might be closed, stop heartbeat
1471
- stopHeartbeat();
1472
- }
1473
- } else {
1474
- stopHeartbeat();
1475
- }
1476
- }, 5000) // Send ping every 5 seconds
1477
- ;
1478
- };
1479
- const stopHeartbeat = ()=>{
1480
- if (heartbeatInterval) {
1481
- clearInterval(heartbeatInterval);
1482
- heartbeatInterval = null;
1483
- }
1484
- };
1485
- const isTerminalLoggingEnabled = (0, _terminalloggingconfig.getIsTerminalLoggingEnabled)();
1486
- const methods = [
1487
- 'log',
1488
- 'info',
1489
- 'warn',
1490
- 'debug',
1491
- 'table',
1492
- 'assert',
1493
- 'dir',
1494
- 'dirxml',
1495
- 'group',
1496
- 'groupCollapsed',
1497
- 'groupEnd',
1498
- 'trace'
1499
- ];
1500
- const afterThisFrame = (cb)=>{
1501
- let timeout;
1502
- const rafId = requestAnimationFrame(()=>{
1503
- timeout = setTimeout(()=>{
1504
- cb();
1505
- });
1506
- });
1507
- return ()=>{
1508
- cancelAnimationFrame(rafId);
1509
- clearTimeout(timeout);
1510
- };
1511
- };
1512
- let isPatched = false;
1513
- const serializeEntries = (entries)=>entries.map((clientEntry)=>{
1514
- switch(clientEntry.kind){
1515
- case 'any-logged-error':
1516
- case 'console':
1517
- {
1518
- return {
1519
- ...clientEntry,
1520
- args: clientEntry.args.map(stringifyUserArg)
1521
- };
1522
- }
1523
- case 'formatted-error':
1524
- {
1525
- return clientEntry;
1526
- }
1527
- default:
1528
- {
1529
- return null;
1530
- }
1531
- }
1532
- });
1533
- // Function to send client file logs to server
1534
- const sendClientFileLogs = ()=>{
1535
- if (!logQueue.socket || logQueue.socket.readyState !== WebSocket.OPEN) {
1536
- return;
1537
- }
1538
- const logs = clientFileLogger.getLogs();
1539
- if (logs.length === 0) {
1540
- return;
1541
- }
1542
- try {
1543
- const payload = JSON.stringify({
1544
- event: 'client-file-logs',
1545
- logs: logs
1546
- });
1547
- logQueue.socket.send(payload);
1548
- } catch (error) {
1549
- console.error(error);
1550
- } finally{
1551
- // Clear logs regardless of send success to prevent memory leaks
1552
- clientFileLogger.clear();
1553
- }
1554
- };
1555
- const logQueue = {
1556
- entries: [],
1557
- flushScheduled: false,
1558
- cancelFlush: null,
1559
- socket: null,
1560
- sourceType: undefined,
1561
- router: null,
1562
- scheduleLogSend: (entry)=>{
1563
- logQueue.entries.push(entry);
1564
- if (logQueue.flushScheduled) {
1565
- return;
1566
- }
1567
- // safe to deref and use in setTimeout closure since we cancel on new socket
1568
- const socket = logQueue.socket;
1569
- if (!socket) {
1570
- return;
1571
- }
1572
- // we probably dont need this
1573
- logQueue.flushScheduled = true;
1574
- // non blocking log flush, runs at most once per frame
1575
- logQueue.cancelFlush = afterThisFrame(()=>{
1576
- logQueue.flushScheduled = false;
1577
- // just incase
1578
- try {
1579
- const payload = JSON.stringify({
1580
- event: 'browser-logs',
1581
- entries: serializeEntries(logQueue.entries),
1582
- router: logQueue.router,
1583
- // needed for source mapping, we just assign the sourceType from the last error for the whole batch
1584
- sourceType: logQueue.sourceType
1585
- });
1586
- socket.send(payload);
1587
- logQueue.entries = [];
1588
- logQueue.sourceType = undefined;
1589
- // Also send client file logs
1590
- sendClientFileLogs();
1591
- } catch {
1592
- // error (make sure u don't infinite loop)
1593
- /* noop */ }
1594
- });
1595
- },
1596
- onSocketReady: (socket)=>{
1597
- // When MCP or terminal logging is enabled, we enable the socket connection,
1598
- // otherwise it will not proceed.
1599
- if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable
1600
- ;
1601
- if (socket.readyState !== WebSocket.OPEN) {
1602
- // invariant
1603
- return;
1604
- }
1605
- // incase an existing timeout was going to run with a stale socket
1606
- logQueue.cancelFlush?.();
1607
- logQueue.socket = socket;
1608
- // Add socket event listeners to track connection state
1609
- socket.addEventListener('close', ()=>{
1610
- cancelLogFlush();
1611
- stopHeartbeat();
1612
- });
1613
- // Only send terminal logs if enabled
1614
- if (isTerminalLoggingEnabled) {
1615
- try {
1616
- const payload = JSON.stringify({
1617
- event: 'browser-logs',
1618
- entries: serializeEntries(logQueue.entries),
1619
- router: logQueue.router,
1620
- sourceType: logQueue.sourceType
1621
- });
1622
- socket.send(payload);
1623
- logQueue.entries = [];
1624
- logQueue.sourceType = undefined;
1625
- } catch {
1626
- /** noop just incase */ }
1627
- }
1628
- // Always send client file logs when socket is ready
1629
- sendClientFileLogs();
1630
- // Start heartbeat to keep connection alive
1631
- startHeartbeat();
1632
- }
1633
- };
1634
- const stringifyUserArg = (arg)=>{
1635
- if (arg.kind !== 'arg') {
1636
- return arg;
1637
- }
1638
- return {
1639
- ...arg,
1640
- data: (0, _forwardlogsutils.logStringify)(arg.data)
1641
- };
1642
- };
1643
- const createErrorArg = (error)=>{
1644
- return {
1645
- kind: 'formatted-error-arg',
1646
- prefix: error.message ? `${error.name}: ${error.message}` : `${error.name}`,
1647
- stack: getErrorStackWithOwnerStack(error)
1648
- };
1649
- };
1650
- const createLogEntry = (level, args)=>{
1651
- // Always log to client file logger with args (formatting done inside log method)
1652
- clientFileLogger.log(level, args);
1653
- // Only forward to terminal if enabled
1654
- if (!isTerminalLoggingEnabled) {
1655
- return;
1656
- }
1657
- // do not abstract this, it implicitly relies on which functions call it. forcing the inlined implementation makes you think about callers
1658
- // error capture stack trace maybe
1659
- const stack = getErrorStack(new Error());
1660
- const stackLines = stack?.split('\n');
1661
- const cleanStack = stackLines?.slice(3).join('\n') // this is probably ignored anyways
1662
- ;
1663
- const entry = {
1664
- kind: 'console',
1665
- consoleMethodStack: cleanStack ?? null,
1666
- method: level,
1667
- args: args.map((arg)=>{
1668
- if (arg instanceof Error) {
1669
- return createErrorArg(arg);
1670
- }
1671
- return {
1672
- kind: 'arg',
1673
- data: (0, _forwardlogsutils.preLogSerializationClone)(arg)
1674
- };
1675
- })
1676
- };
1677
- logQueue.scheduleLogSend(entry);
1678
- };
1679
- const forwardErrorLog = (args)=>{
1680
- // Skip React server replayed logs - they were already logged on the server
1681
- if (isReactServerReplayedLog(args)) {
1682
- return;
1683
- }
1684
- // Always log to client file logger with args (formatting done inside log method)
1685
- clientFileLogger.log('error', args);
1686
- // Only forward to terminal if enabled
1687
- if (!isTerminalLoggingEnabled) {
1688
- return;
1689
- }
1690
- const errorObjects = args.filter((arg)=>arg instanceof Error);
1691
- const first = errorObjects.at(0);
1692
- if (first) {
1693
- const source = (0, _errorsource.getErrorSource)(first);
1694
- if (source) {
1695
- logQueue.sourceType = source;
1696
- }
1697
- }
1698
- /**
1699
- * browser shows stack regardless of type of data passed to console.error, so we should do the same
1700
- *
1701
- * do not abstract this, it implicitly relies on which functions call it. forcing the inlined implementation makes you think about callers
1702
- */ const stack = getErrorStack(new Error());
1703
- const stackLines = stack?.split('\n');
1704
- const cleanStack = stackLines?.slice(3).join('\n');
1705
- const entry = {
1706
- kind: 'any-logged-error',
1707
- method: 'error',
1708
- consoleErrorStack: cleanStack ?? '',
1709
- args: args.map((arg)=>{
1710
- if (arg instanceof Error) {
1711
- return createErrorArg(arg);
1712
- }
1713
- return {
1714
- kind: 'arg',
1715
- data: (0, _forwardlogsutils.preLogSerializationClone)(arg)
1716
- };
1717
- })
1718
- };
1719
- logQueue.scheduleLogSend(entry);
1720
- };
1721
- const createUncaughtErrorEntry = (errorName, errorMessage, fullStack)=>{
1722
- const entry = {
1723
- kind: 'formatted-error',
1724
- prefix: `Uncaught ${errorName}: ${errorMessage}`,
1725
- stack: fullStack,
1726
- method: 'error'
1727
- };
1728
- logQueue.scheduleLogSend(entry);
1729
- };
1730
- const getErrorStack = (error)=>{
1731
- return error.stack || '';
1732
- };
1733
- // Get error stack with owner stack appended for source mapping on the server
1734
- const getErrorStackWithOwnerStack = (error)=>{
1735
- const errorStack = getErrorStack(error);
1736
- const ownerStack = (0, _stitchederror.getOwnerStack)(error);
1737
- return ownerStack ? `${errorStack}\n${ownerStack}` : errorStack;
1738
- };
1739
- function logUnhandledRejection(reason) {
1740
- // Always log to client file logger
1741
- const message = reason instanceof Error ? `${reason.name}: ${reason.message}` : JSON.stringify(reason);
1742
- clientFileLogger.log('error', [
1743
- `unhandledRejection: ${message}`
1744
- ]);
1745
- // Only forward to terminal if enabled
1746
- if (!isTerminalLoggingEnabled) {
1747
- return;
1748
- }
1749
- if (reason instanceof Error) {
1750
- createUnhandledRejectionErrorEntry(reason, getErrorStackWithOwnerStack(reason));
1751
- return;
1752
- }
1753
- createUnhandledRejectionNonErrorEntry(reason);
1754
- }
1755
- const createUnhandledRejectionErrorEntry = (error, fullStack)=>{
1756
- const source = (0, _errorsource.getErrorSource)(error);
1757
- if (source) {
1758
- logQueue.sourceType = source;
1759
- }
1760
- const entry = {
1761
- kind: 'formatted-error',
1762
- prefix: `⨯ unhandledRejection: ${error.name}: ${error.message}`,
1763
- stack: fullStack,
1764
- method: 'error'
1765
- };
1766
- logQueue.scheduleLogSend(entry);
1767
- };
1768
- const createUnhandledRejectionNonErrorEntry = (reason)=>{
1769
- const entry = {
1770
- kind: 'any-logged-error',
1771
- // we can't access the stack since the event is dispatched async and creating an inline error would be meaningless
1772
- consoleErrorStack: '',
1773
- method: 'error',
1774
- args: [
1775
- {
1776
- kind: 'arg',
1777
- data: `⨯ unhandledRejection:`,
1778
- isRejectionMessage: true
1779
- },
1780
- {
1781
- kind: 'arg',
1782
- data: (0, _forwardlogsutils.preLogSerializationClone)(reason)
1783
- }
1784
- ]
1785
- };
1786
- logQueue.scheduleLogSend(entry);
1787
- };
1788
- const isHMR = (args)=>{
1789
- const firstArg = args[0];
1790
- if (typeof firstArg !== 'string') {
1791
- return false;
1792
- }
1793
- if (firstArg.startsWith('[Fast Refresh]')) {
1794
- return true;
1795
- }
1796
- if (firstArg.startsWith('[HMR]')) {
1797
- return true;
1798
- }
1799
- return false;
1800
- };
1801
- /**
1802
- * Matches the format of logs arguments React replayed from the RSC.
1803
- */ const isReactServerReplayedLog = (args)=>{
1804
- if (args.length < 3) {
1805
- return false;
1806
- }
1807
- const [format, styles, label] = args;
1808
- if (typeof format !== 'string' || typeof styles !== 'string' || typeof label !== 'string') {
1809
- return false;
1810
- }
1811
- return format.startsWith('%c%s%c') && styles.includes('background:');
1812
- };
1813
- function forwardUnhandledError(error) {
1814
- // Always log to client file logger
1815
- clientFileLogger.log('error', [
1816
- `uncaughtError: ${error.name}: ${error.message}`
1817
- ]);
1818
- // Only forward to terminal if enabled
1819
- if (!isTerminalLoggingEnabled) {
1820
- return;
1821
- }
1822
- createUncaughtErrorEntry(error.name, error.message, getErrorStackWithOwnerStack(error));
1823
- }
1824
- const initializeDebugLogForwarding = (router)=>{
1825
- // probably don't need this
1826
- if (isPatched) {
1827
- return;
1828
- }
1829
- // TODO(rob): why does this break rendering on server, important to know incase the same bug appears in browser
1830
- if (typeof window === 'undefined') {
1831
- return;
1832
- }
1833
- // better to be safe than sorry
1834
- try {
1835
- methods.forEach((method)=>(0, _forwardlogsshared.patchConsoleMethod)(method, (_, ...args)=>{
1836
- if (isHMR(args)) {
1837
- return;
1838
- }
1839
- if (isReactServerReplayedLog(args)) {
1840
- return;
1841
- }
1842
- createLogEntry(method, args);
1843
- }));
1844
- } catch {}
1845
- logQueue.router = router;
1846
- isPatched = true;
1847
- // Cleanup on page unload
1848
- window.addEventListener('beforeunload', ()=>{
1849
- cancelLogFlush();
1850
- stopHeartbeat();
1851
- // Send any remaining logs before page unloads
1852
- sendClientFileLogs();
1853
- });
1854
- };
1855
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
1856
- Object.defineProperty(exports.default, '__esModule', {
1857
- value: true
1858
- });
1859
- Object.assign(exports.default, exports);
1860
- module.exports = exports.default;
1861
- }
1862
- }),
1863
- "[project]/node_modules/next/dist/next-devtools/userspace/pages/pages-dev-overlay-setup.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1864
- "use strict";
1865
-
1866
- var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [client] (ecmascript)");
1867
- "use strict";
1868
- Object.defineProperty(exports, "__esModule", {
1869
- value: true
1870
- });
1871
- 0 && (module.exports = {
1872
- PagesDevOverlayBridge: null,
1873
- register: null
1874
- });
1875
- function _export(target, all) {
1876
- for(var name in all)Object.defineProperty(target, name, {
1877
- enumerable: true,
1878
- get: all[name]
1879
- });
1880
- }
1881
- _export(exports, {
1882
- PagesDevOverlayBridge: function() {
1883
- return PagesDevOverlayBridge;
1884
- },
1885
- register: function() {
1886
- return register;
1887
- }
1888
- });
1889
- const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [client] (ecmascript)");
1890
- const _jsxruntime = __turbopack_context__.r("[project]/node_modules/react/jsx-runtime.js [client] (ecmascript)");
1891
- const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/react/index.js [client] (ecmascript)"));
1892
- const _nextdevtools = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/next-devtools/index.js (raw)");
1893
- const _hydrationerrorstate = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/pages/hydration-error-state.js [client] (ecmascript)");
1894
- const _router = __turbopack_context__.r("[project]/node_modules/next/dist/client/router.js [client] (ecmascript)");
1895
- const _stitchederror = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js [client] (ecmascript)");
1896
- const _onrecoverableerror = __turbopack_context__.r("[project]/node_modules/next/dist/client/react-client-callbacks/on-recoverable-error.js [client] (ecmascript)");
1897
- const _pagesdevoverlayerrorboundary = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/pages/pages-dev-overlay-error-boundary.js [client] (ecmascript)");
1898
- const _forwardlogs = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js [client] (ecmascript)");
1899
- const usePagesDevOverlayBridge = ()=>{
1900
- _react.default.useInsertionEffect({
1901
- "usePagesDevOverlayBridge.useInsertionEffect": ()=>{
1902
- // NDT uses a different React instance so it's not technically a state update
1903
- // scheduled from useInsertionEffect.
1904
- (0, _nextdevtools.renderPagesDevOverlay)(_stitchederror.getOwnerStack, _hydrationerrorstate.getSquashedHydrationErrorDetails, _onrecoverableerror.isRecoverableError);
1905
- }
1906
- }["usePagesDevOverlayBridge.useInsertionEffect"], []);
1907
- _react.default.useEffect({
1908
- "usePagesDevOverlayBridge.useEffect": ()=>{
1909
- const { handleStaticIndicator } = __turbopack_context__.r("[project]/node_modules/next/dist/client/dev/hot-reloader/pages/hot-reloader-pages.js [client] (ecmascript)");
1910
- _router.Router.events.on('routeChangeComplete', handleStaticIndicator);
1911
- return ({
1912
- "usePagesDevOverlayBridge.useEffect": function() {
1913
- _router.Router.events.off('routeChangeComplete', handleStaticIndicator);
1914
- }
1915
- })["usePagesDevOverlayBridge.useEffect"];
1916
- }
1917
- }["usePagesDevOverlayBridge.useEffect"], []);
1918
- };
1919
- function PagesDevOverlayBridge({ children }) {
1920
- usePagesDevOverlayBridge();
1921
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pagesdevoverlayerrorboundary.PagesDevOverlayErrorBoundary, {
1922
- children: children
1923
- });
1924
- }
1925
- let isRegistered = false;
1926
- function handleError(error) {
1927
- if (!error || !(error instanceof Error) || typeof error.stack !== 'string') {
1928
- // A non-error was thrown, we don't have anything to show. :-(
1929
- return;
1930
- }
1931
- (0, _hydrationerrorstate.attachHydrationErrorState)(error);
1932
- // Skip ModuleBuildError and ModuleNotFoundError, as it will be sent through onBuildError callback.
1933
- // This is to avoid same error as different type showing up on client to cause flashing.
1934
- if (error.name !== 'ModuleBuildError' && error.name !== 'ModuleNotFoundError') {
1935
- _nextdevtools.dispatcher.onUnhandledError(error);
1936
- }
1937
- }
1938
- let origConsoleError = console.error;
1939
- function nextJsHandleConsoleError(...args) {
1940
- // See https://github.com/facebook/react/blob/d50323eb845c5fde0d720cae888bf35dedd05506/packages/react-reconciler/src/ReactFiberErrorLogger.js#L78
1941
- const maybeError = ("TURBOPACK compile-time truthy", 1) ? args[1] : "TURBOPACK unreachable";
1942
- (0, _hydrationerrorstate.storeHydrationErrorStateFromConsoleArgs)(...args);
1943
- // TODO: Surfaces non-errors logged via `console.error`.
1944
- handleError(maybeError);
1945
- (0, _forwardlogs.forwardErrorLog)(args);
1946
- origConsoleError.apply(window.console, args);
1947
- }
1948
- function onUnhandledError(event) {
1949
- const error = event?.error;
1950
- handleError(error);
1951
- if (error) {
1952
- (0, _forwardlogs.forwardUnhandledError)(error);
1953
- }
1954
- }
1955
- function onUnhandledRejection(ev) {
1956
- const reason = ev?.reason;
1957
- if (!reason || !(reason instanceof Error) || typeof reason.stack !== 'string') {
1958
- // A non-error was thrown, we don't have anything to show. :-(
1959
- return;
1960
- }
1961
- _nextdevtools.dispatcher.onUnhandledRejection(reason);
1962
- (0, _forwardlogs.logUnhandledRejection)(reason);
1963
- }
1964
- function register() {
1965
- if (isRegistered) {
1966
- return;
1967
- }
1968
- isRegistered = true;
1969
- try {
1970
- Error.stackTraceLimit = 50;
1971
- } catch {}
1972
- (0, _forwardlogs.initializeDebugLogForwarding)('pages');
1973
- window.addEventListener('error', onUnhandledError);
1974
- window.addEventListener('unhandledrejection', onUnhandledRejection);
1975
- window.console.error = nextJsHandleConsoleError;
1976
- }
1977
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
1978
- Object.defineProperty(exports.default, '__esModule', {
1979
- value: true
1980
- });
1981
- Object.assign(exports.default, exports);
1982
- module.exports = exports.default;
1983
- }
1984
- }),
1985
- "[project]/node_modules/next/dist/server/dev/hot-reloader-types.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1986
- "use strict";
1987
-
1988
- Object.defineProperty(exports, "__esModule", {
1989
- value: true
1990
- });
1991
- 0 && (module.exports = {
1992
- HMR_MESSAGE_SENT_TO_BROWSER: null,
1993
- HMR_MESSAGE_SENT_TO_SERVER: null
1994
- });
1995
- function _export(target, all) {
1996
- for(var name in all)Object.defineProperty(target, name, {
1997
- enumerable: true,
1998
- get: all[name]
1999
- });
2000
- }
2001
- _export(exports, {
2002
- HMR_MESSAGE_SENT_TO_BROWSER: function() {
2003
- return HMR_MESSAGE_SENT_TO_BROWSER;
2004
- },
2005
- HMR_MESSAGE_SENT_TO_SERVER: function() {
2006
- return HMR_MESSAGE_SENT_TO_SERVER;
2007
- }
2008
- });
2009
- var HMR_MESSAGE_SENT_TO_BROWSER = /*#__PURE__*/ function(HMR_MESSAGE_SENT_TO_BROWSER) {
2010
- // JSON messages:
2011
- HMR_MESSAGE_SENT_TO_BROWSER["ADDED_PAGE"] = "addedPage";
2012
- HMR_MESSAGE_SENT_TO_BROWSER["REMOVED_PAGE"] = "removedPage";
2013
- HMR_MESSAGE_SENT_TO_BROWSER["RELOAD_PAGE"] = "reloadPage";
2014
- HMR_MESSAGE_SENT_TO_BROWSER["SERVER_COMPONENT_CHANGES"] = "serverComponentChanges";
2015
- HMR_MESSAGE_SENT_TO_BROWSER["MIDDLEWARE_CHANGES"] = "middlewareChanges";
2016
- HMR_MESSAGE_SENT_TO_BROWSER["CLIENT_CHANGES"] = "clientChanges";
2017
- HMR_MESSAGE_SENT_TO_BROWSER["SERVER_ONLY_CHANGES"] = "serverOnlyChanges";
2018
- HMR_MESSAGE_SENT_TO_BROWSER["SYNC"] = "sync";
2019
- HMR_MESSAGE_SENT_TO_BROWSER["BUILT"] = "built";
2020
- HMR_MESSAGE_SENT_TO_BROWSER["BUILDING"] = "building";
2021
- HMR_MESSAGE_SENT_TO_BROWSER["DEV_PAGES_MANIFEST_UPDATE"] = "devPagesManifestUpdate";
2022
- HMR_MESSAGE_SENT_TO_BROWSER["TURBOPACK_MESSAGE"] = "turbopack-message";
2023
- HMR_MESSAGE_SENT_TO_BROWSER["SERVER_ERROR"] = "serverError";
2024
- HMR_MESSAGE_SENT_TO_BROWSER["TURBOPACK_CONNECTED"] = "turbopack-connected";
2025
- HMR_MESSAGE_SENT_TO_BROWSER["ISR_MANIFEST"] = "isrManifest";
2026
- HMR_MESSAGE_SENT_TO_BROWSER["CACHE_INDICATOR"] = "cacheIndicator";
2027
- HMR_MESSAGE_SENT_TO_BROWSER["DEV_INDICATOR"] = "devIndicator";
2028
- HMR_MESSAGE_SENT_TO_BROWSER["DEVTOOLS_CONFIG"] = "devtoolsConfig";
2029
- HMR_MESSAGE_SENT_TO_BROWSER["REQUEST_CURRENT_ERROR_STATE"] = "requestCurrentErrorState";
2030
- HMR_MESSAGE_SENT_TO_BROWSER["REQUEST_PAGE_METADATA"] = "requestPageMetadata";
2031
- // Binary messages:
2032
- HMR_MESSAGE_SENT_TO_BROWSER[HMR_MESSAGE_SENT_TO_BROWSER["REACT_DEBUG_CHUNK"] = 0] = "REACT_DEBUG_CHUNK";
2033
- HMR_MESSAGE_SENT_TO_BROWSER[HMR_MESSAGE_SENT_TO_BROWSER["ERRORS_TO_SHOW_IN_BROWSER"] = 1] = "ERRORS_TO_SHOW_IN_BROWSER";
2034
- return HMR_MESSAGE_SENT_TO_BROWSER;
2035
- }({});
2036
- var HMR_MESSAGE_SENT_TO_SERVER = /*#__PURE__*/ function(HMR_MESSAGE_SENT_TO_SERVER) {
2037
- // JSON messages:
2038
- HMR_MESSAGE_SENT_TO_SERVER["MCP_ERROR_STATE_RESPONSE"] = "mcp-error-state-response";
2039
- HMR_MESSAGE_SENT_TO_SERVER["MCP_PAGE_METADATA_RESPONSE"] = "mcp-page-metadata-response";
2040
- HMR_MESSAGE_SENT_TO_SERVER["PING"] = "ping";
2041
- return HMR_MESSAGE_SENT_TO_SERVER;
2042
- }({});
2043
- }),
2044
- "[project]/node_modules/next/dist/server/dev/node-stack-frames.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
2045
- "use strict";
2046
-
2047
- Object.defineProperty(exports, "__esModule", {
2048
- value: true
2049
- });
2050
- Object.defineProperty(exports, "getServerError", {
2051
- enumerable: true,
2052
- get: function() {
2053
- return getServerError;
2054
- }
2055
- });
2056
- const _stacktraceparser = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js [client] (ecmascript)");
2057
- const _errorsource = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/error-source.js [client] (ecmascript)");
2058
- function getFilesystemFrame(frame) {
2059
- const f = {
2060
- ...frame
2061
- };
2062
- if (typeof f.file === 'string') {
2063
- if (f.file.startsWith('/') || // Win32:
2064
- /^[a-z]:\\/i.test(f.file) || // Win32 UNC:
2065
- f.file.startsWith('\\\\')) {
2066
- f.file = `file://${f.file}`;
2067
- }
2068
- }
2069
- return f;
2070
- }
2071
- function getServerError(error, type) {
2072
- if (error.name === 'TurbopackInternalError') {
2073
- // If this is an internal Turbopack error we shouldn't show internal details
2074
- // to the user. These are written to a log file instead.
2075
- const turbopackInternalError = Object.defineProperty(new Error('An unexpected Turbopack error occurred. Please see the output of `next dev` for more details.'), "__NEXT_ERROR_CODE", {
2076
- value: "E167",
2077
- enumerable: false,
2078
- configurable: true
2079
- });
2080
- (0, _errorsource.decorateServerError)(turbopackInternalError, type);
2081
- return turbopackInternalError;
2082
- }
2083
- let n;
2084
- try {
2085
- throw Object.defineProperty(new Error(error.message), "__NEXT_ERROR_CODE", {
2086
- value: "E394",
2087
- enumerable: false,
2088
- configurable: true
2089
- });
2090
- } catch (e) {
2091
- n = e;
2092
- }
2093
- n.name = error.name;
2094
- try {
2095
- n.stack = `${n.toString()}\n${(0, _stacktraceparser.parse)(error.stack).map(getFilesystemFrame).map((f)=>{
2096
- let str = ` at ${f.methodName}`;
2097
- if (f.file) {
2098
- let loc = f.file;
2099
- if (f.lineNumber) {
2100
- loc += `:${f.lineNumber}`;
2101
- if (f.column) {
2102
- loc += `:${f.column}`;
2103
- }
2104
- }
2105
- str += ` (${loc})`;
2106
- }
2107
- return str;
2108
- }).join('\n')}`;
2109
- } catch {
2110
- n.stack = error.stack;
2111
- }
2112
- (0, _errorsource.decorateServerError)(n, type);
2113
- return n;
2114
- }
2115
- }),
2116
- "[project]/node_modules/next/dist/server/request-meta.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
2117
- "use strict";
2118
-
2119
- Object.defineProperty(exports, "__esModule", {
2120
- value: true
2121
- });
2122
- 0 && (module.exports = {
2123
- NEXT_REQUEST_META: null,
2124
- addRequestMeta: null,
2125
- getRequestMeta: null,
2126
- removeRequestMeta: null,
2127
- setRequestMeta: null
2128
- });
2129
- function _export(target, all) {
2130
- for(var name in all)Object.defineProperty(target, name, {
2131
- enumerable: true,
2132
- get: all[name]
2133
- });
2134
- }
2135
- _export(exports, {
2136
- NEXT_REQUEST_META: function() {
2137
- return NEXT_REQUEST_META;
2138
- },
2139
- addRequestMeta: function() {
2140
- return addRequestMeta;
2141
- },
2142
- getRequestMeta: function() {
2143
- return getRequestMeta;
2144
- },
2145
- removeRequestMeta: function() {
2146
- return removeRequestMeta;
2147
- },
2148
- setRequestMeta: function() {
2149
- return setRequestMeta;
2150
- }
2151
- });
2152
- const NEXT_REQUEST_META = Symbol.for('NextInternalRequestMeta');
2153
- function getRequestMeta(req, key) {
2154
- const meta = req[NEXT_REQUEST_META] || {};
2155
- return typeof key === 'string' ? meta[key] : meta;
2156
- }
2157
- function setRequestMeta(req, meta) {
2158
- req[NEXT_REQUEST_META] = meta;
2159
- return meta;
2160
- }
2161
- function addRequestMeta(request, key, value) {
2162
- const meta = getRequestMeta(request);
2163
- meta[key] = value;
2164
- return setRequestMeta(request, meta);
2165
- }
2166
- function removeRequestMeta(request, key) {
2167
- const meta = getRequestMeta(request);
2168
- delete meta[key];
2169
- return setRequestMeta(request, meta);
2170
- }
2171
- }),
2172
- "[project]/node_modules/next/dist/pages/_error.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
2173
- "use strict";
2174
-
2175
- Object.defineProperty(exports, "__esModule", {
2176
- value: true
2177
- });
2178
- Object.defineProperty(exports, /**
2179
- * `Error` component used for handling errors.
2180
- */ "default", {
2181
- enumerable: true,
2182
- get: function() {
2183
- return Error;
2184
- }
2185
- });
2186
- const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [client] (ecmascript)");
2187
- const _jsxruntime = __turbopack_context__.r("[project]/node_modules/react/jsx-runtime.js [client] (ecmascript)");
2188
- const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/react/index.js [client] (ecmascript)"));
2189
- const _head = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/head.js [client] (ecmascript)"));
2190
- const statusCodes = {
2191
- 400: 'Bad Request',
2192
- 404: 'This page could not be found',
2193
- 405: 'Method Not Allowed',
2194
- 500: 'Internal Server Error'
2195
- };
2196
- function _getInitialProps({ req, res, err }) {
2197
- const statusCode = res && res.statusCode ? res.statusCode : err ? err.statusCode : 404;
2198
- let hostname;
2199
- if (typeof window !== 'undefined') {
2200
- hostname = window.location.hostname;
2201
- } else if (req) {
2202
- const { getRequestMeta } = __turbopack_context__.r("[project]/node_modules/next/dist/server/request-meta.js [client] (ecmascript)");
2203
- const initUrl = getRequestMeta(req, 'initURL');
2204
- if (initUrl) {
2205
- const url = new URL(initUrl);
2206
- hostname = url.hostname;
2207
- }
2208
- }
2209
- return {
2210
- statusCode,
2211
- hostname
2212
- };
2213
- }
2214
- const styles = {
2215
- error: {
2216
- // https://github.com/sindresorhus/modern-normalize/blob/main/modern-normalize.css#L38-L52
2217
- fontFamily: 'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',
2218
- height: '100vh',
2219
- textAlign: 'center',
2220
- display: 'flex',
2221
- flexDirection: 'column',
2222
- alignItems: 'center',
2223
- justifyContent: 'center'
2224
- },
2225
- desc: {
2226
- lineHeight: '48px'
2227
- },
2228
- h1: {
2229
- display: 'inline-block',
2230
- margin: '0 20px 0 0',
2231
- paddingRight: 23,
2232
- fontSize: 24,
2233
- fontWeight: 500,
2234
- verticalAlign: 'top'
2235
- },
2236
- h2: {
2237
- fontSize: 14,
2238
- fontWeight: 400,
2239
- lineHeight: '28px'
2240
- },
2241
- wrap: {
2242
- display: 'inline-block'
2243
- }
2244
- };
2245
- class Error extends _react.default.Component {
2246
- static{
2247
- this.displayName = 'ErrorPage';
2248
- }
2249
- static{
2250
- this.getInitialProps = _getInitialProps;
2251
- }
2252
- static{
2253
- this.origGetInitialProps = _getInitialProps;
2254
- }
2255
- render() {
2256
- const { statusCode, withDarkMode = true } = this.props;
2257
- const title = this.props.title || statusCodes[statusCode] || 'An unexpected error has occurred';
2258
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)("div", {
2259
- style: styles.error,
2260
- children: [
2261
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_head.default, {
2262
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)("title", {
2263
- children: statusCode ? `${statusCode}: ${title}` : 'Application error: a client-side exception has occurred'
2264
- })
2265
- }),
2266
- /*#__PURE__*/ (0, _jsxruntime.jsxs)("div", {
2267
- style: styles.desc,
2268
- children: [
2269
- /*#__PURE__*/ (0, _jsxruntime.jsx)("style", {
2270
- dangerouslySetInnerHTML: {
2271
- /* CSS minified from
2272
- body { margin: 0; color: #000; background: #fff; }
2273
- .next-error-h1 {
2274
- border-right: 1px solid rgba(0, 0, 0, .3);
2275
- }
2276
-
2277
- ${
2278
- withDarkMode
2279
- ? `@media (prefers-color-scheme: dark) {
2280
- body { color: #fff; background: #000; }
2281
- .next-error-h1 {
2282
- border-right: 1px solid rgba(255, 255, 255, .3);
2283
- }
2284
- }`
2285
- : ''
2286
- }
2287
- */ __html: `body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}${withDarkMode ? '@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}' : ''}`
2288
- }
2289
- }),
2290
- statusCode ? /*#__PURE__*/ (0, _jsxruntime.jsx)("h1", {
2291
- className: "next-error-h1",
2292
- style: styles.h1,
2293
- children: statusCode
2294
- }) : null,
2295
- /*#__PURE__*/ (0, _jsxruntime.jsx)("div", {
2296
- style: styles.wrap,
2297
- children: /*#__PURE__*/ (0, _jsxruntime.jsxs)("h2", {
2298
- style: styles.h2,
2299
- children: [
2300
- this.props.title || statusCode ? title : /*#__PURE__*/ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
2301
- children: [
2302
- "Application error: a client-side exception has occurred",
2303
- ' ',
2304
- Boolean(this.props.hostname) && /*#__PURE__*/ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
2305
- children: [
2306
- "while loading ",
2307
- this.props.hostname
2308
- ]
2309
- }),
2310
- ' ',
2311
- "(see the browser console for more information)"
2312
- ]
2313
- }),
2314
- "."
2315
- ]
2316
- })
2317
- })
2318
- ]
2319
- })
2320
- ]
2321
- });
2322
- }
2323
- }
2324
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
2325
- Object.defineProperty(exports.default, '__esModule', {
2326
- value: true
2327
- });
2328
- Object.assign(exports.default, exports);
2329
- module.exports = exports.default;
2330
- }
2331
- }),
2332
- ]);
2333
-
2334
- //# sourceMappingURL=node_modules_next_dist_1atto1n._.js.map