@hivemagnus/magnus-ui 1.0.1 → 1.0.2

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 (461) hide show
  1. package/dist/app/apps/dashboard/.next/BUILD_ID +1 -1
  2. package/dist/app/apps/dashboard/.next/build-manifest.json +56 -56
  3. package/dist/app/apps/dashboard/.next/prerender-manifest.json +3 -3
  4. package/dist/app/apps/dashboard/.next/required-server-files.json +1 -1
  5. package/dist/app/apps/dashboard/.next/server/app/_global-error/page/build-manifest.json +2 -2
  6. package/dist/app/apps/dashboard/.next/server/app/_global-error/page.js +1 -1
  7. package/dist/app/apps/dashboard/.next/server/app/_global-error/page.js.nft.json +1 -1
  8. package/dist/app/apps/dashboard/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  9. package/dist/app/apps/dashboard/.next/server/app/_global-error.html +1 -1
  10. package/dist/app/apps/dashboard/.next/server/app/_global-error.rsc +1 -1
  11. package/dist/app/apps/dashboard/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  12. package/dist/app/apps/dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  13. package/dist/app/apps/dashboard/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  14. package/dist/app/apps/dashboard/.next/server/app/_not-found/page/build-manifest.json +2 -2
  15. package/dist/app/apps/dashboard/.next/server/app/_not-found/page.js +3 -3
  16. package/dist/app/apps/dashboard/.next/server/app/_not-found/page.js.nft.json +1 -1
  17. package/dist/app/apps/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/dist/app/apps/dashboard/.next/server/app/anomalies/[anomalyId]/page/build-manifest.json +2 -2
  19. package/dist/app/apps/dashboard/.next/server/app/anomalies/[anomalyId]/page.js +3 -3
  20. package/dist/app/apps/dashboard/.next/server/app/anomalies/[anomalyId]/page.js.nft.json +1 -1
  21. package/dist/app/apps/dashboard/.next/server/app/anomalies/[anomalyId]/page_client-reference-manifest.js +1 -1
  22. package/dist/app/apps/dashboard/.next/server/app/anomalies/page/build-manifest.json +2 -2
  23. package/dist/app/apps/dashboard/.next/server/app/anomalies/page.js +3 -3
  24. package/dist/app/apps/dashboard/.next/server/app/anomalies/page.js.nft.json +1 -1
  25. package/dist/app/apps/dashboard/.next/server/app/anomalies/page_client-reference-manifest.js +1 -1
  26. package/dist/app/apps/dashboard/.next/server/app/anomalies/remediation/page/build-manifest.json +2 -2
  27. package/dist/app/apps/dashboard/.next/server/app/anomalies/remediation/page.js +3 -3
  28. package/dist/app/apps/dashboard/.next/server/app/anomalies/remediation/page.js.nft.json +1 -1
  29. package/dist/app/apps/dashboard/.next/server/app/anomalies/remediation/page_client-reference-manifest.js +1 -1
  30. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/callback/route.js +6 -6
  31. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/callback/route.js.nft.json +1 -1
  32. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/configured/route.js +2 -2
  33. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/configured/route.js.nft.json +1 -1
  34. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/start/route.js +2 -2
  35. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/start/route.js.nft.json +1 -1
  36. package/dist/app/apps/dashboard/.next/server/app/api/auth/login/route.js +6 -6
  37. package/dist/app/apps/dashboard/.next/server/app/api/auth/login/route.js.nft.json +1 -1
  38. package/dist/app/apps/dashboard/.next/server/app/api/auth/logout/route.js +8 -8
  39. package/dist/app/apps/dashboard/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
  40. package/dist/app/apps/dashboard/.next/server/app/api/auth/me/route.js +5 -5
  41. package/dist/app/apps/dashboard/.next/server/app/api/auth/me/route.js.nft.json +1 -1
  42. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/[id]/route.js +2 -2
  43. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/[id]/route.js.nft.json +1 -1
  44. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/migrate/route.js +1 -1
  45. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/migrate/route.js.nft.json +1 -1
  46. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/route.js +2 -2
  47. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/route.js.nft.json +1 -1
  48. package/dist/app/apps/dashboard/.next/server/app/api/federation/route.js +9 -9
  49. package/dist/app/apps/dashboard/.next/server/app/api/federation/route.js.nft.json +1 -1
  50. package/dist/app/apps/dashboard/.next/server/app/api/health/route.js +1 -1
  51. package/dist/app/apps/dashboard/.next/server/app/api/health/route.js.nft.json +1 -1
  52. package/dist/app/apps/dashboard/.next/server/app/api/hermes/dashboard/[[...path]]/route.js +6 -6
  53. package/dist/app/apps/dashboard/.next/server/app/api/hermes/dashboard/[[...path]]/route.js.nft.json +1 -1
  54. package/dist/app/apps/dashboard/.next/server/app/api/hive-router/dashboard/[[...path]]/route.js +5 -5
  55. package/dist/app/apps/dashboard/.next/server/app/api/hive-router/dashboard/[[...path]]/route.js.nft.json +1 -1
  56. package/dist/app/apps/dashboard/.next/server/app/api/internal/resource-enrollment/drain/route.js +3 -3
  57. package/dist/app/apps/dashboard/.next/server/app/api/internal/resource-enrollment/drain/route.js.nft.json +1 -1
  58. package/dist/app/apps/dashboard/.next/server/app/api/proxy/[...path]/route.js +9 -9
  59. package/dist/app/apps/dashboard/.next/server/app/api/proxy/[...path]/route.js.nft.json +1 -1
  60. package/dist/app/apps/dashboard/.next/server/app/api/terminal/close/route.js +7 -7
  61. package/dist/app/apps/dashboard/.next/server/app/api/terminal/close/route.js.nft.json +1 -1
  62. package/dist/app/apps/dashboard/.next/server/app/api/terminal/input/route.js +7 -7
  63. package/dist/app/apps/dashboard/.next/server/app/api/terminal/input/route.js.nft.json +1 -1
  64. package/dist/app/apps/dashboard/.next/server/app/api/terminal/join/route.js +2 -2
  65. package/dist/app/apps/dashboard/.next/server/app/api/terminal/join/route.js.nft.json +1 -1
  66. package/dist/app/apps/dashboard/.next/server/app/api/terminal/open/route.js +12 -12
  67. package/dist/app/apps/dashboard/.next/server/app/api/terminal/open/route.js.nft.json +1 -1
  68. package/dist/app/apps/dashboard/.next/server/app/api/terminal/promote/route.js +7 -7
  69. package/dist/app/apps/dashboard/.next/server/app/api/terminal/promote/route.js.nft.json +1 -1
  70. package/dist/app/apps/dashboard/.next/server/app/api/terminal/resize/route.js +7 -7
  71. package/dist/app/apps/dashboard/.next/server/app/api/terminal/resize/route.js.nft.json +1 -1
  72. package/dist/app/apps/dashboard/.next/server/app/api/terminal/share/route.js +7 -7
  73. package/dist/app/apps/dashboard/.next/server/app/api/terminal/share/route.js.nft.json +1 -1
  74. package/dist/app/apps/dashboard/.next/server/app/api/terminal/stream/route.js +2 -2
  75. package/dist/app/apps/dashboard/.next/server/app/api/terminal/stream/route.js.nft.json +1 -1
  76. package/dist/app/apps/dashboard/.next/server/app/api/terminal/ws/route.js +1 -1
  77. package/dist/app/apps/dashboard/.next/server/app/api/terminal/ws/route.js.nft.json +1 -1
  78. package/dist/app/apps/dashboard/.next/server/app/api-docs/page/build-manifest.json +2 -2
  79. package/dist/app/apps/dashboard/.next/server/app/api-docs/page.js +3 -3
  80. package/dist/app/apps/dashboard/.next/server/app/api-docs/page.js.nft.json +1 -1
  81. package/dist/app/apps/dashboard/.next/server/app/api-docs/page_client-reference-manifest.js +1 -1
  82. package/dist/app/apps/dashboard/.next/server/app/application-operations/page/build-manifest.json +2 -2
  83. package/dist/app/apps/dashboard/.next/server/app/application-operations/page.js +3 -3
  84. package/dist/app/apps/dashboard/.next/server/app/application-operations/page.js.nft.json +1 -1
  85. package/dist/app/apps/dashboard/.next/server/app/application-operations/page_client-reference-manifest.js +1 -1
  86. package/dist/app/apps/dashboard/.next/server/app/ardent/installations/page/build-manifest.json +2 -2
  87. package/dist/app/apps/dashboard/.next/server/app/ardent/installations/page.js +3 -3
  88. package/dist/app/apps/dashboard/.next/server/app/ardent/installations/page.js.nft.json +1 -1
  89. package/dist/app/apps/dashboard/.next/server/app/ardent/installations/page_client-reference-manifest.js +1 -1
  90. package/dist/app/apps/dashboard/.next/server/app/ardent/page/build-manifest.json +2 -2
  91. package/dist/app/apps/dashboard/.next/server/app/ardent/page.js +3 -3
  92. package/dist/app/apps/dashboard/.next/server/app/ardent/page.js.nft.json +1 -1
  93. package/dist/app/apps/dashboard/.next/server/app/ardent/page_client-reference-manifest.js +1 -1
  94. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/[id]/page/build-manifest.json +2 -2
  95. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/[id]/page.js +3 -3
  96. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/[id]/page.js.nft.json +1 -1
  97. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/[id]/page_client-reference-manifest.js +1 -1
  98. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/page/build-manifest.json +2 -2
  99. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/page.js +3 -3
  100. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/page.js.nft.json +1 -1
  101. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/page_client-reference-manifest.js +1 -1
  102. package/dist/app/apps/dashboard/.next/server/app/audit/page/build-manifest.json +2 -2
  103. package/dist/app/apps/dashboard/.next/server/app/audit/page.js +4 -4
  104. package/dist/app/apps/dashboard/.next/server/app/audit/page.js.nft.json +1 -1
  105. package/dist/app/apps/dashboard/.next/server/app/audit/page_client-reference-manifest.js +1 -1
  106. package/dist/app/apps/dashboard/.next/server/app/codex/installations/page/build-manifest.json +2 -2
  107. package/dist/app/apps/dashboard/.next/server/app/codex/installations/page.js +3 -3
  108. package/dist/app/apps/dashboard/.next/server/app/codex/installations/page.js.nft.json +1 -1
  109. package/dist/app/apps/dashboard/.next/server/app/codex/installations/page_client-reference-manifest.js +1 -1
  110. package/dist/app/apps/dashboard/.next/server/app/codex/page/build-manifest.json +2 -2
  111. package/dist/app/apps/dashboard/.next/server/app/codex/page.js +3 -3
  112. package/dist/app/apps/dashboard/.next/server/app/codex/page.js.nft.json +1 -1
  113. package/dist/app/apps/dashboard/.next/server/app/codex/page_client-reference-manifest.js +1 -1
  114. package/dist/app/apps/dashboard/.next/server/app/commands/page/build-manifest.json +2 -2
  115. package/dist/app/apps/dashboard/.next/server/app/commands/page.js +3 -3
  116. package/dist/app/apps/dashboard/.next/server/app/commands/page.js.nft.json +1 -1
  117. package/dist/app/apps/dashboard/.next/server/app/commands/page_client-reference-manifest.js +1 -1
  118. package/dist/app/apps/dashboard/.next/server/app/cron/page/build-manifest.json +2 -2
  119. package/dist/app/apps/dashboard/.next/server/app/cron/page/server-reference-manifest.json +1 -1
  120. package/dist/app/apps/dashboard/.next/server/app/cron/page.js +4 -4
  121. package/dist/app/apps/dashboard/.next/server/app/cron/page.js.nft.json +1 -1
  122. package/dist/app/apps/dashboard/.next/server/app/cron/page_client-reference-manifest.js +1 -1
  123. package/dist/app/apps/dashboard/.next/server/app/files/page/build-manifest.json +2 -2
  124. package/dist/app/apps/dashboard/.next/server/app/files/page.js +3 -3
  125. package/dist/app/apps/dashboard/.next/server/app/files/page.js.nft.json +1 -1
  126. package/dist/app/apps/dashboard/.next/server/app/files/page_client-reference-manifest.js +1 -1
  127. package/dist/app/apps/dashboard/.next/server/app/fleet-map/page/build-manifest.json +2 -2
  128. package/dist/app/apps/dashboard/.next/server/app/fleet-map/page.js +3 -3
  129. package/dist/app/apps/dashboard/.next/server/app/fleet-map/page.js.nft.json +1 -1
  130. package/dist/app/apps/dashboard/.next/server/app/fleet-map/page_client-reference-manifest.js +1 -1
  131. package/dist/app/apps/dashboard/.next/server/app/fleet-readiness/page/build-manifest.json +2 -2
  132. package/dist/app/apps/dashboard/.next/server/app/fleet-readiness/page.js +4 -4
  133. package/dist/app/apps/dashboard/.next/server/app/fleet-readiness/page.js.nft.json +1 -1
  134. package/dist/app/apps/dashboard/.next/server/app/fleet-readiness/page_client-reference-manifest.js +1 -1
  135. package/dist/app/apps/dashboard/.next/server/app/fleet-timeline/page/build-manifest.json +2 -2
  136. package/dist/app/apps/dashboard/.next/server/app/fleet-timeline/page.js +4 -4
  137. package/dist/app/apps/dashboard/.next/server/app/fleet-timeline/page.js.nft.json +1 -1
  138. package/dist/app/apps/dashboard/.next/server/app/fleet-timeline/page_client-reference-manifest.js +1 -1
  139. package/dist/app/apps/dashboard/.next/server/app/governor/operations/page/build-manifest.json +2 -2
  140. package/dist/app/apps/dashboard/.next/server/app/governor/operations/page.js +3 -3
  141. package/dist/app/apps/dashboard/.next/server/app/governor/operations/page.js.nft.json +1 -1
  142. package/dist/app/apps/dashboard/.next/server/app/governor/operations/page_client-reference-manifest.js +1 -1
  143. package/dist/app/apps/dashboard/.next/server/app/governor/share/[token]/page/build-manifest.json +2 -2
  144. package/dist/app/apps/dashboard/.next/server/app/governor/share/[token]/page.js +3 -3
  145. package/dist/app/apps/dashboard/.next/server/app/governor/share/[token]/page.js.nft.json +1 -1
  146. package/dist/app/apps/dashboard/.next/server/app/governor/share/[token]/page_client-reference-manifest.js +1 -1
  147. package/dist/app/apps/dashboard/.next/server/app/hermes-drift/page/build-manifest.json +2 -2
  148. package/dist/app/apps/dashboard/.next/server/app/hermes-drift/page.js +4 -4
  149. package/dist/app/apps/dashboard/.next/server/app/hermes-drift/page.js.nft.json +1 -1
  150. package/dist/app/apps/dashboard/.next/server/app/hermes-drift/page_client-reference-manifest.js +1 -1
  151. package/dist/app/apps/dashboard/.next/server/app/hermes-security/page/build-manifest.json +2 -2
  152. package/dist/app/apps/dashboard/.next/server/app/hermes-security/page.js +3 -3
  153. package/dist/app/apps/dashboard/.next/server/app/hermes-security/page.js.nft.json +1 -1
  154. package/dist/app/apps/dashboard/.next/server/app/hermes-security/page_client-reference-manifest.js +1 -1
  155. package/dist/app/apps/dashboard/.next/server/app/icon.svg/route.js +1 -1
  156. package/dist/app/apps/dashboard/.next/server/app/icon.svg/route.js.nft.json +1 -1
  157. package/dist/app/apps/dashboard/.next/server/app/incidents/page/build-manifest.json +2 -2
  158. package/dist/app/apps/dashboard/.next/server/app/incidents/page.js +4 -4
  159. package/dist/app/apps/dashboard/.next/server/app/incidents/page.js.nft.json +1 -1
  160. package/dist/app/apps/dashboard/.next/server/app/incidents/page_client-reference-manifest.js +1 -1
  161. package/dist/app/apps/dashboard/.next/server/app/library/page/build-manifest.json +2 -2
  162. package/dist/app/apps/dashboard/.next/server/app/library/page.js +4 -4
  163. package/dist/app/apps/dashboard/.next/server/app/library/page.js.nft.json +1 -1
  164. package/dist/app/apps/dashboard/.next/server/app/library/page_client-reference-manifest.js +1 -1
  165. package/dist/app/apps/dashboard/.next/server/app/login/page/build-manifest.json +2 -2
  166. package/dist/app/apps/dashboard/.next/server/app/login/page.js +3 -3
  167. package/dist/app/apps/dashboard/.next/server/app/login/page.js.nft.json +1 -1
  168. package/dist/app/apps/dashboard/.next/server/app/login/page_client-reference-manifest.js +1 -1
  169. package/dist/app/apps/dashboard/.next/server/app/logs/page/build-manifest.json +2 -2
  170. package/dist/app/apps/dashboard/.next/server/app/logs/page.js +3 -3
  171. package/dist/app/apps/dashboard/.next/server/app/logs/page.js.nft.json +1 -1
  172. package/dist/app/apps/dashboard/.next/server/app/logs/page_client-reference-manifest.js +1 -1
  173. package/dist/app/apps/dashboard/.next/server/app/mission-control/page/build-manifest.json +2 -2
  174. package/dist/app/apps/dashboard/.next/server/app/mission-control/page.js +4 -4
  175. package/dist/app/apps/dashboard/.next/server/app/mission-control/page.js.nft.json +1 -1
  176. package/dist/app/apps/dashboard/.next/server/app/mission-control/page_client-reference-manifest.js +1 -1
  177. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page/build-manifest.json +2 -2
  178. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page/react-loadable-manifest.json +1 -1
  179. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page.js +3 -3
  180. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page.js.nft.json +1 -1
  181. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page_client-reference-manifest.js +1 -1
  182. package/dist/app/apps/dashboard/.next/server/app/nodes/page/build-manifest.json +2 -2
  183. package/dist/app/apps/dashboard/.next/server/app/nodes/page.js +4 -4
  184. package/dist/app/apps/dashboard/.next/server/app/nodes/page.js.nft.json +1 -1
  185. package/dist/app/apps/dashboard/.next/server/app/nodes/page_client-reference-manifest.js +1 -1
  186. package/dist/app/apps/dashboard/.next/server/app/notifications/page/build-manifest.json +2 -2
  187. package/dist/app/apps/dashboard/.next/server/app/notifications/page.js +3 -3
  188. package/dist/app/apps/dashboard/.next/server/app/notifications/page.js.nft.json +1 -1
  189. package/dist/app/apps/dashboard/.next/server/app/notifications/page_client-reference-manifest.js +1 -1
  190. package/dist/app/apps/dashboard/.next/server/app/orchestra/installations/page/build-manifest.json +2 -2
  191. package/dist/app/apps/dashboard/.next/server/app/orchestra/installations/page.js +3 -3
  192. package/dist/app/apps/dashboard/.next/server/app/orchestra/installations/page.js.nft.json +1 -1
  193. package/dist/app/apps/dashboard/.next/server/app/orchestra/installations/page_client-reference-manifest.js +1 -1
  194. package/dist/app/apps/dashboard/.next/server/app/orchestra/page/build-manifest.json +2 -2
  195. package/dist/app/apps/dashboard/.next/server/app/orchestra/page.js +3 -3
  196. package/dist/app/apps/dashboard/.next/server/app/orchestra/page.js.nft.json +1 -1
  197. package/dist/app/apps/dashboard/.next/server/app/orchestra/page_client-reference-manifest.js +1 -1
  198. package/dist/app/apps/dashboard/.next/server/app/orchestra/profiles/page/build-manifest.json +2 -2
  199. package/dist/app/apps/dashboard/.next/server/app/orchestra/profiles/page.js +3 -3
  200. package/dist/app/apps/dashboard/.next/server/app/orchestra/profiles/page.js.nft.json +1 -1
  201. package/dist/app/apps/dashboard/.next/server/app/orchestra/profiles/page_client-reference-manifest.js +1 -1
  202. package/dist/app/apps/dashboard/.next/server/app/orchestra/web-gateway/page/build-manifest.json +2 -2
  203. package/dist/app/apps/dashboard/.next/server/app/orchestra/web-gateway/page.js +3 -3
  204. package/dist/app/apps/dashboard/.next/server/app/orchestra/web-gateway/page.js.nft.json +1 -1
  205. package/dist/app/apps/dashboard/.next/server/app/orchestra/web-gateway/page_client-reference-manifest.js +1 -1
  206. package/dist/app/apps/dashboard/.next/server/app/page/build-manifest.json +2 -2
  207. package/dist/app/apps/dashboard/.next/server/app/page/react-loadable-manifest.json +1 -1
  208. package/dist/app/apps/dashboard/.next/server/app/page.js +4 -4
  209. package/dist/app/apps/dashboard/.next/server/app/page.js.nft.json +1 -1
  210. package/dist/app/apps/dashboard/.next/server/app/page_client-reference-manifest.js +1 -1
  211. package/dist/app/apps/dashboard/.next/server/app/retention/page/build-manifest.json +2 -2
  212. package/dist/app/apps/dashboard/.next/server/app/retention/page.js +4 -4
  213. package/dist/app/apps/dashboard/.next/server/app/retention/page.js.nft.json +1 -1
  214. package/dist/app/apps/dashboard/.next/server/app/retention/page_client-reference-manifest.js +1 -1
  215. package/dist/app/apps/dashboard/.next/server/app/roles/page/build-manifest.json +2 -2
  216. package/dist/app/apps/dashboard/.next/server/app/roles/page.js +4 -4
  217. package/dist/app/apps/dashboard/.next/server/app/roles/page.js.nft.json +1 -1
  218. package/dist/app/apps/dashboard/.next/server/app/roles/page_client-reference-manifest.js +1 -1
  219. package/dist/app/apps/dashboard/.next/server/app/rollouts/page/build-manifest.json +2 -2
  220. package/dist/app/apps/dashboard/.next/server/app/rollouts/page.js +3 -3
  221. package/dist/app/apps/dashboard/.next/server/app/rollouts/page.js.nft.json +1 -1
  222. package/dist/app/apps/dashboard/.next/server/app/rollouts/page_client-reference-manifest.js +1 -1
  223. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/[caseId]/page/build-manifest.json +2 -2
  224. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/[caseId]/page.js +3 -3
  225. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/[caseId]/page.js.nft.json +1 -1
  226. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/[caseId]/page_client-reference-manifest.js +1 -1
  227. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/page/build-manifest.json +2 -2
  228. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/page.js +3 -3
  229. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/page.js.nft.json +1 -1
  230. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/page_client-reference-manifest.js +1 -1
  231. package/dist/app/apps/dashboard/.next/server/app/security-fusion/entities/page/build-manifest.json +2 -2
  232. package/dist/app/apps/dashboard/.next/server/app/security-fusion/entities/page.js +3 -3
  233. package/dist/app/apps/dashboard/.next/server/app/security-fusion/entities/page.js.nft.json +1 -1
  234. package/dist/app/apps/dashboard/.next/server/app/security-fusion/entities/page_client-reference-manifest.js +1 -1
  235. package/dist/app/apps/dashboard/.next/server/app/security-fusion/events/page/build-manifest.json +2 -2
  236. package/dist/app/apps/dashboard/.next/server/app/security-fusion/events/page.js +3 -3
  237. package/dist/app/apps/dashboard/.next/server/app/security-fusion/events/page.js.nft.json +1 -1
  238. package/dist/app/apps/dashboard/.next/server/app/security-fusion/events/page_client-reference-manifest.js +1 -1
  239. package/dist/app/apps/dashboard/.next/server/app/security-fusion/evidence/page/build-manifest.json +2 -2
  240. package/dist/app/apps/dashboard/.next/server/app/security-fusion/evidence/page.js +3 -3
  241. package/dist/app/apps/dashboard/.next/server/app/security-fusion/evidence/page.js.nft.json +1 -1
  242. package/dist/app/apps/dashboard/.next/server/app/security-fusion/evidence/page_client-reference-manifest.js +1 -1
  243. package/dist/app/apps/dashboard/.next/server/app/security-fusion/page/build-manifest.json +2 -2
  244. package/dist/app/apps/dashboard/.next/server/app/security-fusion/page.js +4 -4
  245. package/dist/app/apps/dashboard/.next/server/app/security-fusion/page.js.nft.json +1 -1
  246. package/dist/app/apps/dashboard/.next/server/app/security-fusion/page_client-reference-manifest.js +1 -1
  247. package/dist/app/apps/dashboard/.next/server/app/security-fusion/policies/page/build-manifest.json +2 -2
  248. package/dist/app/apps/dashboard/.next/server/app/security-fusion/policies/page.js +3 -3
  249. package/dist/app/apps/dashboard/.next/server/app/security-fusion/policies/page.js.nft.json +1 -1
  250. package/dist/app/apps/dashboard/.next/server/app/security-fusion/policies/page_client-reference-manifest.js +1 -1
  251. package/dist/app/apps/dashboard/.next/server/app/security-fusion/sources/page/build-manifest.json +2 -2
  252. package/dist/app/apps/dashboard/.next/server/app/security-fusion/sources/page.js +3 -3
  253. package/dist/app/apps/dashboard/.next/server/app/security-fusion/sources/page.js.nft.json +1 -1
  254. package/dist/app/apps/dashboard/.next/server/app/security-fusion/sources/page_client-reference-manifest.js +1 -1
  255. package/dist/app/apps/dashboard/.next/server/app/skills/page/build-manifest.json +2 -2
  256. package/dist/app/apps/dashboard/.next/server/app/skills/page/server-reference-manifest.json +1 -1
  257. package/dist/app/apps/dashboard/.next/server/app/skills/page.js +4 -4
  258. package/dist/app/apps/dashboard/.next/server/app/skills/page.js.nft.json +1 -1
  259. package/dist/app/apps/dashboard/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  260. package/dist/app/apps/dashboard/.next/server/app/webhooks/[id]/page/build-manifest.json +2 -2
  261. package/dist/app/apps/dashboard/.next/server/app/webhooks/[id]/page.js +3 -3
  262. package/dist/app/apps/dashboard/.next/server/app/webhooks/[id]/page.js.nft.json +1 -1
  263. package/dist/app/apps/dashboard/.next/server/app/webhooks/[id]/page_client-reference-manifest.js +1 -1
  264. package/dist/app/apps/dashboard/.next/server/app/webhooks/new/page/build-manifest.json +2 -2
  265. package/dist/app/apps/dashboard/.next/server/app/webhooks/new/page.js +3 -3
  266. package/dist/app/apps/dashboard/.next/server/app/webhooks/new/page.js.nft.json +1 -1
  267. package/dist/app/apps/dashboard/.next/server/app/webhooks/new/page_client-reference-manifest.js +1 -1
  268. package/dist/app/apps/dashboard/.next/server/app/webhooks/page/build-manifest.json +2 -2
  269. package/dist/app/apps/dashboard/.next/server/app/webhooks/page.js +3 -3
  270. package/dist/app/apps/dashboard/.next/server/app/webhooks/page.js.nft.json +1 -1
  271. package/dist/app/apps/dashboard/.next/server/app/webhooks/page_client-reference-manifest.js +1 -1
  272. package/dist/app/apps/dashboard/.next/server/chunks/{[externals]__008p31tyfke4p._.js → [externals]__04mrhyqb1ufrv._.js} +1 -1
  273. package/dist/app/apps/dashboard/.next/server/chunks/[externals]__0c8llxdk0vw6c._.js +3 -0
  274. package/dist/app/apps/dashboard/.next/server/chunks/{[externals]__127ju0a21em5b._.js → [externals]__1-nhjrs611jhq._.js} +1 -1
  275. package/dist/app/apps/dashboard/.next/server/chunks/{[externals]__19s3z4xub-s5g._.js → [externals]__12udgi92o71ao._.js} +1 -1
  276. package/dist/app/apps/dashboard/.next/server/chunks/{[externals]__0oquf_joz4imb._.js → [externals]__16ij4oi2sj-rr._.js} +1 -1
  277. package/dist/app/apps/dashboard/.next/server/chunks/{[externals]__03sskbmq69qzo._.js → [externals]__187hm276lglag._.js} +1 -1
  278. package/dist/app/apps/dashboard/.next/server/chunks/{[externals]__1j9d977zxln9e._.js → [externals]__1fagjmvrmd51m._.js} +1 -1
  279. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__1gbe_ef7h5s4s._.js → [root-of-the-server]__0-yqr0-10hc0_._.js} +1 -1
  280. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__11j8mz2i5lxvn._.js → [root-of-the-server]__06nhceb5uf63i._.js} +1 -1
  281. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__14aadvs_w6cq9._.js → [root-of-the-server]__09q7ixy9dkn77._.js} +1 -1
  282. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__18bl_zdpbstlo._.js → [root-of-the-server]__0a3vv554ltxx-._.js} +1 -1
  283. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__16mwoo9uguylg._.js → [root-of-the-server]__0cn86kzz3hpv3._.js} +1 -1
  284. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__0kyzfsxt0lqmw._.js +7 -7
  285. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__0tva5tfgfuthn._.js +206 -0
  286. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__0xlbop91l63ny._.js → [root-of-the-server]__0uj0ijk3ozu-l._.js} +1 -1
  287. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__0y71f5krqzyd9._.js +3 -0
  288. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__150x74j-d_djz._.js +3 -0
  289. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__15bjnu5yieigz._.js +3 -3
  290. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__0dbkbse3ahd2w._.js → [root-of-the-server]__16rqx2oazfcv5._.js} +1 -1
  291. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__0wwd68idziz8p._.js → [root-of-the-server]__1i35sr1_-chih._.js} +1 -1
  292. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__1vywioi0uxxp2._.js +3 -0
  293. package/dist/app/apps/dashboard/.next/server/chunks/_0-w_jq1-cxsud._.js +1 -1
  294. package/dist/app/apps/dashboard/.next/server/chunks/_00ln_4foby9k6._.js +1 -1
  295. package/dist/app/apps/dashboard/.next/server/chunks/_0_fjgwmia8tfa._.js +1 -1
  296. package/dist/app/apps/dashboard/.next/server/chunks/_0cz-sjd6cade0._.js +1 -1
  297. package/dist/app/apps/dashboard/.next/server/chunks/_0h965a-fek_i1._.js +1 -1
  298. package/dist/app/apps/dashboard/.next/server/chunks/_0j68riv96qwg8._.js +1 -1
  299. package/dist/app/apps/dashboard/.next/server/chunks/_0jaugku4pdkak._.js +1 -1
  300. package/dist/app/apps/dashboard/.next/server/chunks/_0jpo8wzqrpdsu._.js +1 -1
  301. package/dist/app/apps/dashboard/.next/server/chunks/_0jvoc4-ta3zc0._.js +1 -1
  302. package/dist/app/apps/dashboard/.next/server/chunks/_0rpixw8k9f_1q._.js +1 -1
  303. package/dist/app/apps/dashboard/.next/server/chunks/_0s788ryrplkp6._.js +1 -1
  304. package/dist/app/apps/dashboard/.next/server/chunks/_0ss4gyka2xwtu._.js +1 -1
  305. package/dist/app/apps/dashboard/.next/server/chunks/_0ti6qpnzqaoee._.js +1 -1
  306. package/dist/app/apps/dashboard/.next/server/chunks/_0z1bwl42i7kyh._.js +1 -1
  307. package/dist/app/apps/dashboard/.next/server/chunks/_109zj-srrib-n._.js +1 -1
  308. package/dist/app/apps/dashboard/.next/server/chunks/_158j5k3z37xqq._.js +1 -1
  309. package/dist/app/apps/dashboard/.next/server/chunks/_1bbph2o31ut9-._.js +1 -1
  310. package/dist/app/apps/dashboard/.next/server/chunks/_1bnwf9dhenncq._.js +1 -1
  311. package/dist/app/apps/dashboard/.next/server/chunks/_1di30nby6-dr0._.js +1 -1
  312. package/dist/app/apps/dashboard/.next/server/chunks/_1e42zgily9-_5._.js +1 -1
  313. package/dist/app/apps/dashboard/.next/server/chunks/_1j9ys57oirxn5._.js +1 -1
  314. package/dist/app/apps/dashboard/.next/server/chunks/_1pyikdwas349f._.js +1 -1
  315. package/dist/app/apps/dashboard/.next/server/chunks/_1vpikd37nriwr._.js +1 -1
  316. package/dist/app/apps/dashboard/.next/server/chunks/_1xodprib7qa_j._.js +2 -2
  317. package/dist/app/apps/dashboard/.next/server/chunks/_1xoy6p0t2si_y._.js +1 -1
  318. package/dist/app/apps/dashboard/.next/server/chunks/apps_dashboard_src_lib_auth_ts_1hhq1tq6hjj-e._.js +2 -2
  319. package/dist/app/apps/dashboard/.next/server/chunks/apps_dashboard_src_lib_hive-login_ts_0ab2iq7-rpy13._.js +1 -1
  320. package/dist/app/apps/dashboard/.next/server/chunks/{node_modules_0d7iiw_gb9ie_._.js → node_modules_04l42sk4k7jqc._.js} +3 -3
  321. package/dist/app/apps/dashboard/.next/server/chunks/{node_modules_0oydwsbt-8fj0._.js → node_modules_11zk8u7fu3bfa._.js} +3 -3
  322. package/dist/app/apps/dashboard/.next/server/chunks/{node_modules_1j205d3rrp_ve._.js → node_modules_1ze5f5ud32ii7._.js} +3 -3
  323. package/dist/app/apps/dashboard/.next/server/chunks/node_modules_next_0g8xe7c6fvfgl._.js +61 -0
  324. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__03u0iwrsol58b._.js +1 -1
  325. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__01fwdfqdnpl41._.js → [root-of-the-server]__08qjsqx5xg5sp._.js} +1 -1
  326. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0l_h8q81ktozu._.js → [root-of-the-server]__0bpezsts2nk27._.js} +1 -1
  327. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1jsl-i6vpy67t._.js → [root-of-the-server]__0cjs7a6nlno3a._.js} +1 -1
  328. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0ayqtni_d_zat._.js → [root-of-the-server]__0iw2gybtg_uwp._.js} +1 -1
  329. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1vgcdwjm3kky8._.js → [root-of-the-server]__0l8hx5fmmz73w._.js} +1 -1
  330. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__14v2mw9pp87q5._.js → [root-of-the-server]__0l8uocvha6qpv._.js} +1 -1
  331. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1iu3g_aey5-2t._.js → [root-of-the-server]__0p95c61y11y6q._.js} +1 -1
  332. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1c2-kff21qbp1._.js → [root-of-the-server]__0wly91np9rak4._.js} +1 -1
  333. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0gg--jhi4nfke._.js → [root-of-the-server]__0z6dblsnzx20l._.js} +2 -2
  334. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__10vlrswrzvf4x._.js +1 -1
  335. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__136kygh22io_q._.js → [root-of-the-server]__12tzy7fpv7mea._.js} +1 -1
  336. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1_nim1fz4p-f5._.js → [root-of-the-server]__1477x3csbkdfa._.js} +1 -1
  337. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1-p4bt5_oohm8._.js → [root-of-the-server]__16q4-tbu02sit._.js} +2 -2
  338. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0wygzdp44n944._.js → [root-of-the-server]__19kgtx10ey2jw._.js} +1 -1
  339. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1vjevhqrszq2x._.js → [root-of-the-server]__1cdwjg6sttmzq._.js} +1 -1
  340. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0fwb-62ncs-g8._.js → [root-of-the-server]__1cnr5ucuq-tas._.js} +2 -2
  341. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1i_lf6u7i-ce7._.js → [root-of-the-server]__1s0tp902hhgv5._.js} +1 -1
  342. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_033mw4lb6hg5v._.js +1 -1
  343. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_05_jycpmoagp2._.js +3 -3
  344. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_083obx7eqpdb6._.js +1 -1
  345. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0pgm38c_ix0jk._.js +3 -0
  346. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1ml_bvfb1fitq._.js +3 -0
  347. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_0gs_s688kgg1i._.js +1 -1
  348. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_cron_page_tsx_1i3duyygc0_tg._.js +1 -1
  349. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_files_page_tsx_1kls9-qinldks._.js +1 -1
  350. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_nodes_nodes-client_tsx_0pt4iarhpqbgn._.js +2 -2
  351. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_skills_page_tsx_0n5zp4xad38in._.js +1 -1
  352. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_lib_api-client_ts_0tho-kkk5ez7h._.js +2 -1
  353. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_lib_cn_ts_0038m9h2x02mo._.js +1 -1
  354. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_lib_cn_ts_1p8--q21wpxcq._.js +1 -1
  355. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{node_modules_0baa492_t21ua._.js → node_modules_01i0ukei4d8fh._.js} +2 -2
  356. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_0r87b6r_5hggb._.js +3 -0
  357. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_1unf5c-k6rle8._.js +3 -0
  358. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{node_modules_@xterm_0a9mhzkkyaexr._.js → node_modules_@xterm_0igvl11h9lkh1._.js} +1 -1
  359. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_refresh-ccw-dot_1bka5q1p8_fx4.js +1 -1
  360. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_06ob4w68jmryj._.js +32 -0
  361. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js +3 -3
  362. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{node_modules_next_dist_1_6--c12g_0c8._.js → node_modules_next_dist_0n6z_kn7rdm9s._.js} +22 -2
  363. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_112u6z88a3g80._.js +54 -0
  364. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_1khq67j4vo9y4._.js +3 -0
  365. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_1qrfck6kfdp-h._.js +3 -3
  366. package/dist/app/apps/dashboard/.next/server/middleware-build-manifest.js +56 -56
  367. package/dist/app/apps/dashboard/.next/server/middleware.js +2 -2
  368. package/dist/app/apps/dashboard/.next/server/pages/500.html +1 -1
  369. package/dist/app/apps/dashboard/.next/server/preview-props.json +3 -3
  370. package/dist/app/apps/dashboard/.next/server/server-reference-manifest.js +1 -1
  371. package/dist/app/apps/dashboard/.next/server/server-reference-manifest.json +3 -3
  372. package/dist/app/apps/dashboard/.next/static/chunks/{3zkikie0jjdck.js → 07pjhg_to7dzv.js} +1 -1
  373. package/dist/app/apps/dashboard/.next/static/chunks/{3sp2cijnoequi.js → 0akep08qly94l.js} +1 -1
  374. package/dist/app/apps/dashboard/.next/static/chunks/{3rnduuxf48bud.js → 0rb485ohk6md7.js} +1 -1
  375. package/dist/app/apps/dashboard/.next/static/chunks/0u4hpe9c52_j7.js +1 -0
  376. package/dist/app/apps/dashboard/.next/static/chunks/{19uky_q8p2lq7.js → 144lduiqejqn6.js} +1 -1
  377. package/dist/app/apps/dashboard/.next/static/chunks/1dldgklwy-d1m.js +1 -0
  378. package/dist/app/apps/dashboard/.next/static/chunks/{200t8wg-mkgcl.js → 1ka4ptby_22zq.js} +2 -2
  379. package/dist/app/apps/dashboard/.next/static/chunks/230jc2e9pxyrn.js +2 -0
  380. package/dist/app/apps/dashboard/.next/static/chunks/{0-dikax-7opx9.js → 28q140y6b7-89.js} +1 -1
  381. package/dist/app/apps/dashboard/.next/static/chunks/2_46_b2fwiefm.js +1 -0
  382. package/dist/app/apps/dashboard/.next/static/chunks/2f_8x6hbx8hcy.js +1 -0
  383. package/dist/app/apps/dashboard/.next/static/chunks/2koijmn3fv51d.js +1 -0
  384. package/dist/app/apps/dashboard/.next/static/chunks/{1dv7-6iv0mmpc.js → 2w06s_csq4lq9.js} +1 -1
  385. package/dist/app/apps/dashboard/.next/static/chunks/{1t-inm5k6qdjb.js → 2zfns6xyegode.js} +1 -1
  386. package/dist/app/apps/dashboard/.next/static/chunks/36hoxd3zs7thr.js +4 -0
  387. package/dist/app/apps/dashboard/.next/static/chunks/{2v8qi2um3ebh8.js → 3ltx1we1130yf.js} +1 -1
  388. package/dist/app/apps/dashboard/.next/static/chunks/3vpeqic83hqi4.js +1 -0
  389. package/dist/app/apps/dashboard/.next/static/chunks/3x0jzyr-nzhaj.js +1 -0
  390. package/dist/app/apps/dashboard/package.json +21 -21
  391. package/dist/app/apps/dashboard/server.js +1 -1
  392. package/dist/app/node_modules/@next/env/package.json +1 -1
  393. package/dist/app/node_modules/next/dist/build/swc/index.js +1 -1
  394. package/dist/app/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +24 -24
  395. package/dist/app/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +26 -26
  396. package/dist/app/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +3 -3
  397. package/dist/app/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +13 -13
  398. package/dist/app/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
  399. package/dist/app/node_modules/next/dist/server/app-render/app-render.js +41 -40
  400. package/dist/app/node_modules/next/dist/server/app-render/async-local-storage.js +1 -1
  401. package/dist/app/node_modules/next/dist/server/app-render/dynamic-rendering-validation.js +814 -0
  402. package/dist/app/node_modules/next/dist/server/app-render/dynamic-rendering.js +1 -799
  403. package/dist/app/node_modules/next/dist/server/base-server.js +39 -5
  404. package/dist/app/node_modules/next/dist/server/config.js +1 -1
  405. package/dist/app/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +2 -2
  406. package/dist/app/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
  407. package/dist/app/node_modules/next/dist/server/lib/app-info-log.js +1 -1
  408. package/dist/app/node_modules/next/dist/server/lib/dedupe-fetch.js +4 -43
  409. package/dist/app/node_modules/next/dist/server/lib/patch-fetch-symbol.js +13 -0
  410. package/dist/app/node_modules/next/dist/server/lib/patch-fetch.js +3 -7
  411. package/dist/app/node_modules/next/dist/server/lib/router-server.js +3 -3
  412. package/dist/app/node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js +77 -12
  413. package/dist/app/node_modules/next/dist/server/lib/start-server.js +1 -1
  414. package/dist/app/node_modules/next/dist/server/lib/trace/constants.js +12 -0
  415. package/dist/app/node_modules/next/dist/server/lib/trace/tracer.js +30 -14
  416. package/dist/app/node_modules/next/dist/server/next-server.js +10 -11
  417. package/dist/app/node_modules/next/dist/server/route-modules/pages/pages-handler.js +29 -23
  418. package/dist/app/node_modules/next/dist/server/route-modules/route-module.js +85 -8
  419. package/dist/app/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +1 -1
  420. package/dist/app/node_modules/next/dist/server/web/adapter.js +124 -65
  421. package/dist/app/node_modules/next/dist/server/web/forward-trace-context.js +102 -0
  422. package/dist/app/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  423. package/dist/app/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  424. package/dist/app/node_modules/next/dist/telemetry/events/version.js +2 -2
  425. package/dist/app/node_modules/next/package.json +10 -10
  426. package/dist/app/node_modules/react/cjs/react.production.js +112 -89
  427. package/dist/app/node_modules/react/package.json +3 -3
  428. package/dist/app/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +1165 -790
  429. package/dist/app/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.js +1171 -791
  430. package/dist/app/node_modules/react-dom/cjs/react-dom-server.browser.production.js +1321 -885
  431. package/dist/app/node_modules/react-dom/cjs/react-dom-server.edge.production.js +1331 -888
  432. package/dist/app/node_modules/react-dom/cjs/react-dom-server.node.production.js +1345 -918
  433. package/dist/app/node_modules/react-dom/cjs/react-dom.production.js +24 -5
  434. package/dist/app/node_modules/react-dom/package.json +6 -6
  435. package/package.json +21 -21
  436. package/dist/app/apps/dashboard/.next/server/chunks/[externals]__20foc2fayer1h._.js +0 -3
  437. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__0fj6mr59tcyhd._.js +0 -465
  438. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__1gtv08z8_5n1d._.js +0 -3
  439. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__1hov5of4utc4i._.js +0 -3
  440. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__1p_4c8q9368we._.js +0 -3
  441. package/dist/app/apps/dashboard/.next/server/chunks/node_modules_next_0sx6ib_cz483a._.js +0 -320
  442. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1rwff962kyi-f._.js +0 -11
  443. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_0yc0r3jgbz1n2._.js +0 -3
  444. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_0y2ixgupgmqjw._.js +0 -3
  445. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_1rs5fyuw7ryji._.js +0 -271
  446. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_02gi-7dkkyj58._.js +0 -313
  447. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js +0 -3
  448. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_shared_lib_1p_7c7q9c7kdw._.js +0 -23
  449. package/dist/app/apps/dashboard/.next/static/chunks/0emw9pnglrabk.js +0 -1
  450. package/dist/app/apps/dashboard/.next/static/chunks/0nk_updyz_tfq.js +0 -1
  451. package/dist/app/apps/dashboard/.next/static/chunks/228pxgpdddlyl.js +0 -1
  452. package/dist/app/apps/dashboard/.next/static/chunks/2id56ot_k0n72.js +0 -1
  453. package/dist/app/apps/dashboard/.next/static/chunks/3igqsagsgmp14.js +0 -1
  454. package/dist/app/apps/dashboard/.next/static/chunks/3j3pw8h_ynhqf.js +0 -4
  455. package/dist/app/apps/dashboard/.next/static/chunks/3myt7_smzzvme.js +0 -1
  456. package/dist/app/apps/dashboard/.next/static/chunks/3r1n-vlupwlqx.js +0 -9
  457. package/dist/app/apps/dashboard/.next/static/chunks/3y7ljiq4dptwp.js +0 -1
  458. package/dist/app/node_modules/react/cjs/react.development.js +0 -1284
  459. /package/dist/app/apps/dashboard/.next/static/{Dg-cuGMpBrY-PQC6V5cDi → UZn0mscl5hk5YJtZnvSnK}/_buildManifest.js +0 -0
  460. /package/dist/app/apps/dashboard/.next/static/{Dg-cuGMpBrY-PQC6V5cDi → UZn0mscl5hk5YJtZnvSnK}/_clientMiddlewareManifest.js +0 -0
  461. /package/dist/app/apps/dashboard/.next/static/{Dg-cuGMpBrY-PQC6V5cDi → UZn0mscl5hk5YJtZnvSnK}/_ssgManifest.js +0 -0
@@ -52,6 +52,7 @@ var React = require("react"),
52
52
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
53
53
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
54
54
  REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
55
+ REACT_RECOVERABLE_TYPE = Symbol.for("react.recoverable"),
55
56
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
56
57
  function getIteratorFn(maybeIterable) {
57
58
  if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
@@ -60,7 +61,9 @@ function getIteratorFn(maybeIterable) {
60
61
  maybeIterable["@@iterator"];
61
62
  return "function" === typeof maybeIterable ? maybeIterable : null;
62
63
  }
63
- var isArrayImpl = Array.isArray;
64
+ var REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"),
65
+ isArrayImpl = Array.isArray,
66
+ hasOwnProperty = Object.prototype.hasOwnProperty;
64
67
  function murmurhash3_32_gc(key, seed) {
65
68
  var remainder = key.length & 3;
66
69
  var bytes = key.length - remainder;
@@ -114,6 +117,10 @@ function murmurhash3_32_gc(key, seed) {
114
117
  4294967295;
115
118
  return (h1 ^ (h1 >>> 16)) >>> 0;
116
119
  }
120
+ var supportsArrayBufferDetached = hasOwnProperty.call(
121
+ ArrayBuffer.prototype,
122
+ "detached"
123
+ );
117
124
  function handleErrorInNextTick(error) {
118
125
  setTimeout(function () {
119
126
  throw error;
@@ -131,28 +138,30 @@ var LocalPromise = Promise,
131
138
  currentView = null,
132
139
  writtenBytes = 0;
133
140
  function writeChunk(destination, chunk) {
134
- if (0 !== chunk.byteLength)
135
- if (2048 < chunk.byteLength)
136
- 0 < writtenBytes &&
137
- (destination.enqueue(
138
- new Uint8Array(currentView.buffer, 0, writtenBytes)
139
- ),
140
- (currentView = new Uint8Array(2048)),
141
- (writtenBytes = 0)),
142
- destination.enqueue(chunk);
143
- else {
144
- var allowableBytes = currentView.length - writtenBytes;
145
- allowableBytes < chunk.byteLength &&
146
- (0 === allowableBytes
147
- ? destination.enqueue(currentView)
148
- : (currentView.set(chunk.subarray(0, allowableBytes), writtenBytes),
149
- destination.enqueue(currentView),
150
- (chunk = chunk.subarray(allowableBytes))),
151
- (currentView = new Uint8Array(2048)),
152
- (writtenBytes = 0));
153
- currentView.set(chunk, writtenBytes);
154
- writtenBytes += chunk.byteLength;
155
- }
141
+ if (0 === chunk.byteLength) {
142
+ if (supportsArrayBufferDetached && chunk.buffer.detached)
143
+ throw Error(
144
+ "Cannot transport a detached buffer. This usually happens when trying to transport multiple buffer-spanning views on the same underyling buffer. Either reuse the exact same view by identity or copy the underlying buffer manually via `view.slice()`."
145
+ );
146
+ } else if (4096 < chunk.byteLength)
147
+ 0 < writtenBytes &&
148
+ (destination.enqueue(new Uint8Array(currentView.buffer, 0, writtenBytes)),
149
+ (currentView = new Uint8Array(4096)),
150
+ (writtenBytes = 0)),
151
+ destination.enqueue(chunk);
152
+ else {
153
+ var allowableBytes = currentView.length - writtenBytes;
154
+ allowableBytes < chunk.byteLength &&
155
+ (0 === allowableBytes
156
+ ? destination.enqueue(currentView)
157
+ : (currentView.set(chunk.subarray(0, allowableBytes), writtenBytes),
158
+ destination.enqueue(currentView),
159
+ (chunk = chunk.subarray(allowableBytes))),
160
+ (currentView = new Uint8Array(4096)),
161
+ (writtenBytes = 0));
162
+ currentView.set(chunk, writtenBytes);
163
+ writtenBytes += chunk.byteLength;
164
+ }
156
165
  }
157
166
  function writeChunkAndReturn(destination, chunk) {
158
167
  writeChunk(destination, chunk);
@@ -181,7 +190,6 @@ function closeWithError(destination, error) {
181
190
  : destination.close();
182
191
  }
183
192
  var assign = Object.assign,
184
- hasOwnProperty = Object.prototype.hasOwnProperty,
185
193
  VALID_ATTRIBUTE_NAME_REGEX = RegExp(
186
194
  "^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
187
195
  ),
@@ -241,6 +249,7 @@ var unitlessNumbers = new Set(
241
249
  ["markerEnd", "marker-end"],
242
250
  ["markerMid", "marker-mid"],
243
251
  ["markerStart", "marker-start"],
252
+ ["maskType", "mask-type"],
244
253
  ["overlinePosition", "overline-position"],
245
254
  ["overlineThickness", "overline-thickness"],
246
255
  ["paintOrder", "paint-order"],
@@ -416,7 +425,15 @@ function createRenderState(
416
425
  ));
417
426
  bootstrapScriptContent = [];
418
427
  void 0 !== importMap &&
419
- (bootstrapScriptContent.push(importMapScriptStart),
428
+ (bootstrapScriptContent.push(
429
+ void 0 === externalRuntimeConfig
430
+ ? importMapScriptStart
431
+ : stringToPrecomputedChunk(
432
+ '<script type="importmap" nonce="' +
433
+ escapeTextForBrowser(externalRuntimeConfig) +
434
+ '">'
435
+ )
436
+ ),
420
437
  bootstrapScriptContent.push(
421
438
  stringToChunk(
422
439
  ("" + JSON.stringify(importMap)).replace(scriptRegex, scriptReplacer)
@@ -677,7 +694,8 @@ function getChildFormatContext(parentContext, type, props) {
677
694
  }
678
695
  return 6 <= parentContext.insertionMode || 2 > parentContext.insertionMode
679
696
  ? createFormatContext(2, null, subtreeScope, null)
680
- : parentContext.tagScope !== subtreeScope
697
+ : null !== parentContext.viewTransition ||
698
+ parentContext.tagScope !== subtreeScope
681
699
  ? createFormatContext(
682
700
  parentContext.insertionMode,
683
701
  parentContext.selectedValue,
@@ -694,6 +712,8 @@ function getSuspenseViewTransition(parentViewTransition) {
694
712
  enter: "none",
695
713
  exit: "none",
696
714
  share: parentViewTransition.update,
715
+ parentEnter: "none",
716
+ parentExit: "none",
697
717
  name: parentViewTransition.autoName,
698
718
  autoName: parentViewTransition.autoName,
699
719
  nameIdx: 0
@@ -721,6 +741,11 @@ function getSuspenseContentFormatContext(resumableState, parentContext) {
721
741
  resumableState
722
742
  );
723
743
  }
744
+ function makeId(resumableState, treeId, localId) {
745
+ resumableState = "_" + resumableState.idPrefix + "R_" + treeId;
746
+ 0 < localId && (resumableState += "H" + localId.toString(32));
747
+ return resumableState + "_";
748
+ }
724
749
  var textSeparator = stringToPrecomputedChunk("\x3c!-- --\x3e");
725
750
  function pushTextInstance(target, text, renderState, textEmbedded) {
726
751
  if ("" === text) return textEmbedded;
@@ -728,6 +753,26 @@ function pushTextInstance(target, text, renderState, textEmbedded) {
728
753
  target.push(stringToChunk(escapeTextForBrowser(text)));
729
754
  return !0;
730
755
  }
756
+ function pushViewTransitionAttributes(target, formatContext) {
757
+ formatContext = formatContext.viewTransition;
758
+ null !== formatContext &&
759
+ ("auto" !== formatContext.name &&
760
+ (pushStringAttribute(
761
+ target,
762
+ "vt-name",
763
+ 0 === formatContext.nameIdx
764
+ ? formatContext.name
765
+ : formatContext.name + "_" + formatContext.nameIdx
766
+ ),
767
+ formatContext.nameIdx++),
768
+ pushStringAttribute(target, "vt-update", formatContext.update),
769
+ "none" !== formatContext.enter &&
770
+ pushStringAttribute(target, "vt-enter", formatContext.enter),
771
+ "none" !== formatContext.exit &&
772
+ pushStringAttribute(target, "vt-exit", formatContext.exit),
773
+ "none" !== formatContext.share &&
774
+ pushStringAttribute(target, "vt-share", formatContext.share));
775
+ }
731
776
  var styleNameCache = new Map(),
732
777
  styleAttributeStart = stringToPrecomputedChunk(' style="'),
733
778
  styleAssign = stringToPrecomputedChunk(":"),
@@ -971,6 +1016,7 @@ function pushAttribute(target, name, value) {
971
1016
  case "async":
972
1017
  case "autoPlay":
973
1018
  case "controls":
1019
+ case "credentialless":
974
1020
  case "default":
975
1021
  case "defer":
976
1022
  case "disabled":
@@ -1125,7 +1171,7 @@ function flattenOptionChildren(children) {
1125
1171
  }
1126
1172
  var selectedMarkerAttribute = stringToPrecomputedChunk(' selected=""'),
1127
1173
  formReplayingRuntimeScript = stringToPrecomputedChunk(
1128
- 'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});'
1174
+ 'addEventListener("submit",function(a){if(!a.defaultPrevented){var b=a.target,d=a.submitter,c=b.action,e=d;if(d){var f=d.getAttribute("formAction");null!=f&&(c=f,e=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===c&&(a.preventDefault(),a=new FormData(b,e),c=b.ownerDocument||b,(c.$$reactFormReplay=c.$$reactFormReplay||[]).push(b,d,a))}});'
1129
1175
  );
1130
1176
  function injectFormReplayingRuntime(resumableState, renderState) {
1131
1177
  if (0 === (resumableState.instructions & 16)) {
@@ -1173,7 +1219,7 @@ var styleRegex = /(<\/|<)(s)(tyle)/gi;
1173
1219
  function styleReplacer(match, prefix, s, suffix) {
1174
1220
  return "" + prefix + ("s" === s ? "\\73 " : "\\53 ") + suffix;
1175
1221
  }
1176
- function pushSelfClosing(target, props, tag) {
1222
+ function pushSelfClosing(target, props, tag, formatContext) {
1177
1223
  target.push(startChunkForTag(tag));
1178
1224
  for (var propKey in props)
1179
1225
  if (hasOwnProperty.call(props, propKey)) {
@@ -1190,6 +1236,7 @@ function pushSelfClosing(target, props, tag) {
1190
1236
  pushAttribute(target, propKey, propValue);
1191
1237
  }
1192
1238
  }
1239
+ pushViewTransitionAttributes(target, formatContext);
1193
1240
  target.push(endOfStartTagSelfClosing);
1194
1241
  return null;
1195
1242
  }
@@ -1261,7 +1308,7 @@ function pushScriptImpl(target, props) {
1261
1308
  target.push(endChunkForTag("script"));
1262
1309
  return null;
1263
1310
  }
1264
- function pushStartSingletonElement(target, props, tag) {
1311
+ function pushStartSingletonElement(target, props, tag, formatContext) {
1265
1312
  target.push(startChunkForTag(tag));
1266
1313
  var innerHTML = (tag = null),
1267
1314
  propKey;
@@ -1280,11 +1327,12 @@ function pushStartSingletonElement(target, props, tag) {
1280
1327
  pushAttribute(target, propKey, propValue);
1281
1328
  }
1282
1329
  }
1330
+ pushViewTransitionAttributes(target, formatContext);
1283
1331
  target.push(endOfStartTag);
1284
1332
  pushInnerHTML(target, innerHTML, tag);
1285
1333
  return tag;
1286
1334
  }
1287
- function pushStartGenericElement(target, props, tag) {
1335
+ function pushStartGenericElement(target, props, tag, formatContext) {
1288
1336
  target.push(startChunkForTag(tag));
1289
1337
  var innerHTML = (tag = null),
1290
1338
  propKey;
@@ -1303,6 +1351,7 @@ function pushStartGenericElement(target, props, tag) {
1303
1351
  pushAttribute(target, propKey, propValue);
1304
1352
  }
1305
1353
  }
1354
+ pushViewTransitionAttributes(target, formatContext);
1306
1355
  target.push(endOfStartTag);
1307
1356
  pushInnerHTML(target, innerHTML, tag);
1308
1357
  return "string" === typeof tag
@@ -1364,6 +1413,7 @@ function pushStartInstance(
1364
1413
  pushAttribute(target$jscomp$0, propKey, propValue);
1365
1414
  }
1366
1415
  }
1416
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1367
1417
  target$jscomp$0.push(endOfStartTag);
1368
1418
  pushInnerHTML(target$jscomp$0, innerHTML, children);
1369
1419
  if ("string" === typeof children) {
@@ -1402,6 +1452,7 @@ function pushStartInstance(
1402
1452
  );
1403
1453
  }
1404
1454
  }
1455
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1405
1456
  target$jscomp$0.push(endOfStartTag);
1406
1457
  pushInnerHTML(target$jscomp$0, innerHTML$jscomp$0, children$jscomp$0);
1407
1458
  return children$jscomp$0;
@@ -1491,6 +1542,7 @@ function pushStartInstance(
1491
1542
  null === value$jscomp$0 &&
1492
1543
  null !== defaultValue &&
1493
1544
  (value$jscomp$0 = defaultValue);
1545
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1494
1546
  target$jscomp$0.push(endOfStartTag);
1495
1547
  if (null != children$jscomp$2) {
1496
1548
  if (null != value$jscomp$0)
@@ -1587,6 +1639,7 @@ function pushStartInstance(
1587
1639
  ? pushAttribute(target$jscomp$0, "value", value$jscomp$1)
1588
1640
  : null !== defaultValue$jscomp$0 &&
1589
1641
  pushAttribute(target$jscomp$0, "value", defaultValue$jscomp$0);
1642
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1590
1643
  target$jscomp$0.push(endOfStartTagSelfClosing);
1591
1644
  null != formData &&
1592
1645
  formData.forEach(pushAdditionalFormField, target$jscomp$0);
@@ -1645,6 +1698,7 @@ function pushStartInstance(
1645
1698
  formTarget$jscomp$0,
1646
1699
  name$jscomp$0
1647
1700
  );
1701
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1648
1702
  target$jscomp$0.push(endOfStartTag);
1649
1703
  null != formData$jscomp$0 &&
1650
1704
  formData$jscomp$0.forEach(pushAdditionalFormField, target$jscomp$0);
@@ -1732,6 +1786,7 @@ function pushStartInstance(
1732
1786
  pushAttribute(target$jscomp$0, "method", formMethod$jscomp$1);
1733
1787
  null != formTarget$jscomp$1 &&
1734
1788
  pushAttribute(target$jscomp$0, "target", formTarget$jscomp$1);
1789
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1735
1790
  target$jscomp$0.push(endOfStartTag);
1736
1791
  null !== formActionName &&
1737
1792
  (target$jscomp$0.push(startHiddenInputChunk),
@@ -1767,6 +1822,7 @@ function pushStartInstance(
1767
1822
  );
1768
1823
  }
1769
1824
  }
1825
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1770
1826
  target$jscomp$0.push(endOfStartTag);
1771
1827
  return null;
1772
1828
  case "object":
@@ -1804,6 +1860,7 @@ function pushStartInstance(
1804
1860
  );
1805
1861
  }
1806
1862
  }
1863
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1807
1864
  target$jscomp$0.push(endOfStartTag);
1808
1865
  pushInnerHTML(target$jscomp$0, innerHTML$jscomp$4, children$jscomp$5);
1809
1866
  if ("string" === typeof children$jscomp$5) {
@@ -2085,17 +2142,33 @@ function pushStartInstance(
2085
2142
  var JSCompiler_inline_result$jscomp$7 = pushSelfClosing(
2086
2143
  target$jscomp$0,
2087
2144
  props,
2088
- "meta"
2145
+ "meta",
2146
+ formatContext
2089
2147
  );
2090
2148
  else
2091
2149
  textEmbedded && target$jscomp$0.push(textSeparator),
2092
2150
  (JSCompiler_inline_result$jscomp$7 = isFallback$jscomp$1
2093
2151
  ? null
2094
2152
  : "string" === typeof props.charSet
2095
- ? pushSelfClosing(renderState.charsetChunks, props, "meta")
2153
+ ? pushSelfClosing(
2154
+ renderState.charsetChunks,
2155
+ props,
2156
+ "meta",
2157
+ formatContext
2158
+ )
2096
2159
  : "viewport" === props.name
2097
- ? pushSelfClosing(renderState.viewportChunks, props, "meta")
2098
- : pushSelfClosing(renderState.hoistableChunks, props, "meta"));
2160
+ ? pushSelfClosing(
2161
+ renderState.viewportChunks,
2162
+ props,
2163
+ "meta",
2164
+ formatContext
2165
+ )
2166
+ : pushSelfClosing(
2167
+ renderState.hoistableChunks,
2168
+ props,
2169
+ "meta",
2170
+ formatContext
2171
+ ));
2099
2172
  return JSCompiler_inline_result$jscomp$7;
2100
2173
  case "listing":
2101
2174
  case "pre":
@@ -2122,6 +2195,7 @@ function pushStartInstance(
2122
2195
  );
2123
2196
  }
2124
2197
  }
2198
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
2125
2199
  target$jscomp$0.push(endOfStartTag);
2126
2200
  if (null != innerHTML$jscomp$7) {
2127
2201
  if (null != children$jscomp$8)
@@ -2212,7 +2286,7 @@ function pushStartInstance(
2212
2286
  nonce: props.nonce,
2213
2287
  type: props.type,
2214
2288
  fetchPriority: props.fetchPriority,
2215
- referrerPolicy: props.refererPolicy
2289
+ referrerPolicy: props.referrerPolicy
2216
2290
  })),
2217
2291
  0 <= (headers.remainingCapacity -= header.length + 2))
2218
2292
  ? ((renderState.resets.image[key$jscomp$0] = PRELOAD_NO_CREDS),
@@ -2238,7 +2312,7 @@ function pushStartInstance(
2238
2312
  promotablePreloads.set(key$jscomp$0, resource$jscomp$1)));
2239
2313
  }
2240
2314
  }
2241
- return pushSelfClosing(target$jscomp$0, props, "img");
2315
+ return pushSelfClosing(target$jscomp$0, props, "img", formatContext);
2242
2316
  case "base":
2243
2317
  case "area":
2244
2318
  case "br":
@@ -2250,7 +2324,7 @@ function pushStartInstance(
2250
2324
  case "source":
2251
2325
  case "track":
2252
2326
  case "wbr":
2253
- return pushSelfClosing(target$jscomp$0, props, type);
2327
+ return pushSelfClosing(target$jscomp$0, props, type, formatContext);
2254
2328
  case "annotation-xml":
2255
2329
  case "color-profile":
2256
2330
  case "font-face":
@@ -2271,13 +2345,15 @@ function pushStartInstance(
2271
2345
  var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
2272
2346
  preamble.headChunks,
2273
2347
  props,
2274
- "head"
2348
+ "head",
2349
+ formatContext
2275
2350
  );
2276
2351
  } else
2277
2352
  JSCompiler_inline_result$jscomp$9 = pushStartGenericElement(
2278
2353
  target$jscomp$0,
2279
2354
  props,
2280
- "head"
2355
+ "head",
2356
+ formatContext
2281
2357
  );
2282
2358
  return JSCompiler_inline_result$jscomp$9;
2283
2359
  case "body":
@@ -2291,13 +2367,15 @@ function pushStartInstance(
2291
2367
  var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
2292
2368
  preamble$jscomp$0.bodyChunks,
2293
2369
  props,
2294
- "body"
2370
+ "body",
2371
+ formatContext
2295
2372
  );
2296
2373
  } else
2297
2374
  JSCompiler_inline_result$jscomp$10 = pushStartGenericElement(
2298
2375
  target$jscomp$0,
2299
2376
  props,
2300
- "body"
2377
+ "body",
2378
+ formatContext
2301
2379
  );
2302
2380
  return JSCompiler_inline_result$jscomp$10;
2303
2381
  case "html":
@@ -2311,13 +2389,15 @@ function pushStartInstance(
2311
2389
  var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
2312
2390
  preamble$jscomp$1.htmlChunks,
2313
2391
  props,
2314
- "html"
2392
+ "html",
2393
+ formatContext
2315
2394
  );
2316
2395
  } else
2317
2396
  JSCompiler_inline_result$jscomp$11 = pushStartGenericElement(
2318
2397
  target$jscomp$0,
2319
2398
  props,
2320
- "html"
2399
+ "html",
2400
+ formatContext
2321
2401
  );
2322
2402
  return JSCompiler_inline_result$jscomp$11;
2323
2403
  default:
@@ -2367,12 +2447,13 @@ function pushStartInstance(
2367
2447
  }
2368
2448
  }
2369
2449
  }
2450
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
2370
2451
  target$jscomp$0.push(endOfStartTag);
2371
2452
  pushInnerHTML(target$jscomp$0, innerHTML$jscomp$8, children$jscomp$9);
2372
2453
  return children$jscomp$9;
2373
2454
  }
2374
2455
  }
2375
- return pushStartGenericElement(target$jscomp$0, props, type);
2456
+ return pushStartGenericElement(target$jscomp$0, props, type, formatContext);
2376
2457
  }
2377
2458
  var endTagCache = new Map();
2378
2459
  function endChunkForTag(tag) {
@@ -2556,12 +2637,12 @@ var completeSegmentScript1Full = stringToPrecomputedChunk(
2556
2637
  stringToPrecomputedChunk('<template data-rsi="" data-sid="');
2557
2638
  stringToPrecomputedChunk('" data-pid="');
2558
2639
  var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
2559
- '$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};'
2560
- );
2561
- stringToChunk(
2562
- '$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),\nH=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(B){var z=\ndocument.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=\nperformance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}.bind(null,$RV);'
2563
- );
2564
- var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
2640
+ '$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};'
2641
+ ),
2642
+ completeBoundaryUpgradeToViewTransitionsInstruction = stringToChunk(
2643
+ '$RV=function(B,g){function h(a,c){var e=a.getAttribute(c);e&&(c=a.style,l.push(a,c.viewTransitionName,c.viewTransitionClass),"auto"!==e&&(c.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+N++ +"_"),a=CSS.escape(a)!==a?"r-"+btoa(a).replace(/=/g,""):a,c.viewTransitionName=a,C=!0)}var C=!1,N=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var k=g[f].querySelectorAll("[vt-share]"),d=0;d<k.length;d++){var b=k[d];m.set(b.getAttribute("vt-name"),b)}var u=[];for(k=0;k<g.length;k+=2){var D=g[k],x=D.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){b=D;for(f=0;b;){if(8===b.nodeType){var t=b.data;if("/$"===t)if(0===f)break;else f--;else"$"!==t&&"$?"!==t&&"$~"!==t&&"$!"!==t||f++}else if(1===b.nodeType){d=b;var E=d.getAttribute("vt-name"),y=m.get(E);h(d,y?"vt-share":"vt-exit");y&&(h(y,"vt-share"),m.set(E,null));for(var F=d.querySelectorAll("[vt-share]"),\nz=0;z<F.length;z++){var G=F[z],H=G.getAttribute("vt-name"),I=m.get(H);I&&(h(G,"vt-share"),h(I,"vt-share"),m.set(H,null))}var J=d.querySelectorAll("[vt-parent-exit]");for(d=0;d<J.length;d++)h(J[d],"vt-parent-exit")}b=b.nextSibling}for(var K=g[k+1],n=K.firstElementChild;n;){null!==m.get(n.getAttribute("vt-name"))&&h(n,"vt-enter");var L=n.querySelectorAll("[vt-parent-enter]");for(b=0;b<L.length;b++)h(L[b],"vt-parent-enter");n=n.nextElementSibling}b=x;do for(var p=b.firstElementChild;p;){var M=p.getAttribute("vt-update");\nM&&"none"!==M&&!l.includes(p)&&h(p,"vt-update");p=p.nextElementSibling}while((b=b.parentNode)&&1===b.nodeType&&"none"!==b.getAttribute("vt-update"));u.push.apply(u,K.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(C){var A=document.__reactViewTransition=document.startViewTransition({update:function(){B(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],c={},e=0;e<u.length;c={g:c.g},e++)if(c.g=u[e],!c.g.complete){var q=c.g.getBoundingClientRect();0<q.bottom&&0<q.right&&\nq.top<window.innerHeight&&q.left<window.innerWidth&&(q=new Promise(function(w){return function(r){w.g.addEventListener("load",r);w.g.addEventListener("error",r)}}(c)),a.push(q))}return Promise.race([Promise.all(a),new Promise(function(w){var r=performance.now();setTimeout(w,2300>r&&2E3<r?2300-r:500)})])},types:[]});A.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var c=l[a],e=c.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===c.getAttribute("style")&&c.removeAttribute("style")}});\nA.finished.finally(function(){document.__reactViewTransition===A&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}B(g)}.bind(null,$RV);'
2644
+ ),
2645
+ completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
2565
2646
  completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
2566
2647
  '$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'
2567
2648
  ),
@@ -2575,14 +2656,15 @@ stringToPrecomputedChunk('<template data-rri="" data-bid="');
2575
2656
  stringToPrecomputedChunk('" data-sid="');
2576
2657
  stringToPrecomputedChunk('" data-sty="');
2577
2658
  var clientRenderScriptFunctionOnly = stringToPrecomputedChunk(
2578
- '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'
2659
+ '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,null!=c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'
2579
2660
  ),
2580
2661
  clientRenderScript1Full = stringToPrecomputedChunk(
2581
- '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'
2662
+ '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,null!=c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'
2582
2663
  ),
2583
2664
  clientRenderScript1Partial = stringToPrecomputedChunk('$RX("'),
2584
2665
  clientRenderScript1A = stringToPrecomputedChunk('"'),
2585
2666
  clientRenderErrorScriptArgInterstitial = stringToPrecomputedChunk(","),
2667
+ clientRenderErrorScriptNull = stringToPrecomputedChunk("null"),
2586
2668
  clientRenderScriptEnd = stringToPrecomputedChunk(")\x3c/script>");
2587
2669
  stringToPrecomputedChunk('<template data-rxi="" data-bid="');
2588
2670
  stringToPrecomputedChunk('" data-dgst="');
@@ -3106,7 +3188,7 @@ function preloadModule(href, options) {
3106
3188
  break;
3107
3189
  default:
3108
3190
  if (resumableState.moduleUnknownResources.hasOwnProperty(as)) {
3109
- var resources = resumableState.unknownResources[as];
3191
+ var resources = resumableState.moduleUnknownResources[as];
3110
3192
  if (resources.hasOwnProperty(href)) return;
3111
3193
  } else
3112
3194
  (resources = {}),
@@ -3288,8 +3370,10 @@ function hoistHoistables(parentState, childState) {
3288
3370
  childState.stylesheets.forEach(hoistStylesheetDependency, parentState);
3289
3371
  childState.suspenseyImages && (parentState.suspenseyImages = !0);
3290
3372
  }
3291
- function hasSuspenseyContent(hoistableState) {
3292
- return 0 < hoistableState.stylesheets.size || hoistableState.suspenseyImages;
3373
+ function hasSuspenseyContent(hoistableState, flushingInShell) {
3374
+ return flushingInShell
3375
+ ? hoistableState.suspenseyImages
3376
+ : 0 < hoistableState.stylesheets.size || hoistableState.suspenseyImages;
3293
3377
  }
3294
3378
  var bind = Function.prototype.bind,
3295
3379
  supportsRequestStorage = "function" === typeof AsyncLocalStorage,
@@ -3315,6 +3399,8 @@ function getComponentNameFromType(type) {
3315
3399
  return "SuspenseList";
3316
3400
  case REACT_ACTIVITY_TYPE:
3317
3401
  return "Activity";
3402
+ case REACT_VIEW_TRANSITION_TYPE:
3403
+ return "ViewTransition";
3318
3404
  }
3319
3405
  if ("object" === typeof type)
3320
3406
  switch (type.$$typeof) {
@@ -3428,6 +3514,11 @@ var classComponentUpdater = {
3428
3514
  enqueueForceUpdate: function () {}
3429
3515
  },
3430
3516
  emptyTreeContext = { id: 1, overflow: "" };
3517
+ function getTreeId(context) {
3518
+ var overflow = context.overflow;
3519
+ context = context.id;
3520
+ return (context & ~(1 << (32 - clz32(context) - 1))).toString(32) + overflow;
3521
+ }
3431
3522
  function pushTreeContext(baseContext, totalChildren, index) {
3432
3523
  var baseIdWithLeadingBit = baseContext.id;
3433
3524
  baseContext = baseContext.overflow;
@@ -3476,7 +3567,12 @@ function trackUsedThenable(thenableState, thenable, index) {
3476
3567
  case "fulfilled":
3477
3568
  return thenable.value;
3478
3569
  case "rejected":
3479
- throw thenable.reason;
3570
+ thenableState = thenable.reason;
3571
+ if (void 0 === thenableState && !("reason" in thenable))
3572
+ throw Error(
3573
+ "A rejected Promise was passed to React without a `reason` property. React threw a generic error from where the Promise was used to assist in identifying the problematic Promise. Make sure that instrumented Promises correctly set the `reason` property when setting `status` to `'rejected'`."
3574
+ );
3575
+ throw thenableState;
3480
3576
  default:
3481
3577
  "string" === typeof thenable.status
3482
3578
  ? thenable.then(noop, noop)
@@ -3534,8 +3630,50 @@ var objectIs = "function" === typeof Object.is ? Object.is : is,
3534
3630
  actionStateCounter = 0,
3535
3631
  actionStateMatchingIndex = -1,
3536
3632
  thenableIndexCounter = 0,
3537
- thenableState = null,
3538
- renderPhaseUpdates = null,
3633
+ thenableState = null;
3634
+ function createRecoverableError(recoverable) {
3635
+ recoverable = recoverable._reason;
3636
+ if ("function" === typeof recoverable)
3637
+ try {
3638
+ var initializedReason = recoverable();
3639
+ } catch ($jscomp$unused$catch) {
3640
+ initializedReason =
3641
+ "The reason for browser-only rendering could not be determined because its initializer threw.";
3642
+ }
3643
+ else initializedReason = recoverable;
3644
+ initializedReason = Error(
3645
+ "Browser-only rendering was requested by `browser()`.",
3646
+ void 0 === recoverable ? void 0 : { cause: initializedReason }
3647
+ );
3648
+ Object.defineProperty(initializedReason, REACT_RECOVERABLE_TYPE, {
3649
+ value: !0
3650
+ });
3651
+ return initializedReason;
3652
+ }
3653
+ function isRecoverableError(error) {
3654
+ return "object" !== typeof error || null === error
3655
+ ? !1
3656
+ : !0 === error[REACT_RECOVERABLE_TYPE];
3657
+ }
3658
+ function cloneRecoverableErrorAsFatal(recoverableError) {
3659
+ var fatalRecoverableError = Error(
3660
+ "The server render could not complete because client rendering was requested outside a Suspense boundary. See this error's cause for additional details.",
3661
+ hasOwnProperty.call(recoverableError, "cause")
3662
+ ? { cause: recoverableError.cause }
3663
+ : void 0
3664
+ );
3665
+ recoverableError = recoverableError.stack;
3666
+ if (void 0 !== recoverableError) {
3667
+ var frameStart = recoverableError.indexOf("\n");
3668
+ fatalRecoverableError.stack =
3669
+ fatalRecoverableError.name +
3670
+ ": " +
3671
+ fatalRecoverableError.message +
3672
+ (-1 === frameStart ? "" : recoverableError.slice(frameStart));
3673
+ } else fatalRecoverableError.stack = void 0;
3674
+ return fatalRecoverableError;
3675
+ }
3676
+ var renderPhaseUpdates = null,
3539
3677
  numberOfReRenders = 0;
3540
3678
  function resolveCurrentlyRenderingComponent() {
3541
3679
  if (null === currentlyRenderingComponent)
@@ -3748,6 +3886,8 @@ var HooksDispatcher = {
3748
3886
  use: function (usable) {
3749
3887
  if (null !== usable && "object" === typeof usable) {
3750
3888
  if ("function" === typeof usable.then) return unwrapThenable(usable);
3889
+ if (usable.$$typeof === REACT_RECOVERABLE_TYPE)
3890
+ throw createRecoverableError(usable);
3751
3891
  if (usable.$$typeof === REACT_CONTEXT_TYPE) return usable._currentValue;
3752
3892
  }
3753
3893
  throw Error("An unsupported type was passed to use(): " + String(usable));
@@ -3789,24 +3929,14 @@ var HooksDispatcher = {
3789
3929
  return [!1, unsupportedStartTransition];
3790
3930
  },
3791
3931
  useId: function () {
3792
- var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
3793
- var overflow = JSCompiler_inline_result.overflow;
3794
- JSCompiler_inline_result = JSCompiler_inline_result.id;
3795
- JSCompiler_inline_result =
3796
- (
3797
- JSCompiler_inline_result &
3798
- ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
3799
- ).toString(32) + overflow;
3800
- var resumableState = currentResumableState;
3932
+ var treeId = getTreeId(currentlyRenderingTask.treeContext),
3933
+ resumableState = currentResumableState;
3801
3934
  if (null === resumableState)
3802
3935
  throw Error(
3803
3936
  "Invalid hook call. Hooks can only be called inside of the body of a function component."
3804
3937
  );
3805
- overflow = localIdCounter++;
3806
- JSCompiler_inline_result =
3807
- "_" + resumableState.idPrefix + "R_" + JSCompiler_inline_result;
3808
- 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
3809
- return JSCompiler_inline_result + "_";
3938
+ var localId = localIdCounter++;
3939
+ return makeId(resumableState, treeId, localId);
3810
3940
  },
3811
3941
  useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
3812
3942
  if (void 0 === getServerSnapshot)
@@ -3901,7 +4031,26 @@ function describeNativeComponentFrame(fn, construct) {
3901
4031
  } catch (x$24) {
3902
4032
  control = x$24;
3903
4033
  }
3904
- fn.call(Fake.prototype);
4034
+ Fake = !1;
4035
+ try {
4036
+ var prevProps = Object.getOwnPropertyDescriptor(
4037
+ fn.prototype,
4038
+ "props"
4039
+ );
4040
+ Object.defineProperty(fn.prototype, "props", {
4041
+ configurable: !0,
4042
+ set: function () {
4043
+ throw Error();
4044
+ }
4045
+ });
4046
+ Fake = !0;
4047
+ new fn();
4048
+ } finally {
4049
+ Fake &&
4050
+ (void 0 !== prevProps
4051
+ ? Object.defineProperty(fn.prototype, "props", prevProps)
4052
+ : delete fn.prototype.props);
4053
+ }
3905
4054
  }
3906
4055
  } else {
3907
4056
  try {
@@ -4063,13 +4212,34 @@ function describeComponentStackByType(type) {
4063
4212
  return describeBuiltInComponentFrame("SuspenseList");
4064
4213
  case REACT_SUSPENSE_TYPE:
4065
4214
  return describeBuiltInComponentFrame("Suspense");
4215
+ case REACT_VIEW_TRANSITION_TYPE:
4216
+ return describeBuiltInComponentFrame("ViewTransition");
4066
4217
  }
4067
4218
  return "";
4068
4219
  }
4220
+ function getViewTransitionClassName(defaultClass, eventClass) {
4221
+ defaultClass =
4222
+ null == defaultClass || "string" === typeof defaultClass
4223
+ ? defaultClass
4224
+ : defaultClass.default;
4225
+ eventClass =
4226
+ null == eventClass || "string" === typeof eventClass
4227
+ ? eventClass
4228
+ : eventClass.default;
4229
+ return null == eventClass
4230
+ ? "auto" === defaultClass
4231
+ ? null
4232
+ : defaultClass
4233
+ : "auto" === eventClass
4234
+ ? null
4235
+ : eventClass;
4236
+ }
4069
4237
  function isEligibleForOutlining(request, boundary) {
4070
4238
  return (
4071
- (500 < boundary.byteSize || hasSuspenseyContent(boundary.contentState)) &&
4072
- null === boundary.contentPreamble
4239
+ (500 < boundary.byteSize ||
4240
+ hasSuspenseyContent(boundary.contentState, !1) ||
4241
+ boundary.defer) &&
4242
+ null === boundary.preamble
4073
4243
  );
4074
4244
  }
4075
4245
  function defaultErrorHandler(error) {
@@ -4109,11 +4279,11 @@ function RequestInstance(
4109
4279
  rootFormatContext,
4110
4280
  progressiveChunkSize,
4111
4281
  onError,
4282
+ onBrowserBailout,
4112
4283
  onAllReady,
4113
4284
  onShellReady,
4114
4285
  onShellError,
4115
4286
  onFatalError,
4116
- onPostpone,
4117
4287
  formState
4118
4288
  ) {
4119
4289
  var abortSet = new Set();
@@ -4126,21 +4296,24 @@ function RequestInstance(
4126
4296
  void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize;
4127
4297
  this.status = 10;
4128
4298
  this.fatalError = null;
4299
+ this.aborted = !1;
4129
4300
  this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
4130
4301
  this.completedPreambleSegments = this.completedRootSegment = null;
4131
4302
  this.byteSize = 0;
4132
4303
  this.abortableTasks = abortSet;
4133
4304
  this.pingedTasks = [];
4305
+ this.currentTask = null;
4134
4306
  this.clientRenderedBoundaries = [];
4135
4307
  this.completedBoundaries = [];
4136
4308
  this.partialBoundaries = [];
4137
- this.trackedPostpones = null;
4309
+ this.postponedState = this.trackedPostpones = null;
4138
4310
  this.onError = void 0 === onError ? defaultErrorHandler : onError;
4139
- this.onPostpone = void 0 === onPostpone ? noop : onPostpone;
4311
+ this.onBrowserBailout = void 0 === onBrowserBailout ? noop : onBrowserBailout;
4140
4312
  this.onAllReady = void 0 === onAllReady ? noop : onAllReady;
4141
4313
  this.onShellReady = void 0 === onShellReady ? noop : onShellReady;
4142
4314
  this.onShellError = void 0 === onShellError ? noop : onShellError;
4143
4315
  this.onFatalError = void 0 === onFatalError ? noop : onFatalError;
4316
+ this.renderLifetimeController = null;
4144
4317
  this.formState = void 0 === formState ? null : formState;
4145
4318
  }
4146
4319
  function createRequest(
@@ -4150,11 +4323,11 @@ function createRequest(
4150
4323
  rootFormatContext,
4151
4324
  progressiveChunkSize,
4152
4325
  onError,
4326
+ onBrowserBailout,
4153
4327
  onAllReady,
4154
4328
  onShellReady,
4155
4329
  onShellError,
4156
4330
  onFatalError,
4157
- onPostpone,
4158
4331
  formState
4159
4332
  ) {
4160
4333
  resumableState = new RequestInstance(
@@ -4163,11 +4336,11 @@ function createRequest(
4163
4336
  rootFormatContext,
4164
4337
  progressiveChunkSize,
4165
4338
  onError,
4339
+ onBrowserBailout,
4166
4340
  onAllReady,
4167
4341
  onShellReady,
4168
4342
  onShellError,
4169
4343
  onFatalError,
4170
- onPostpone,
4171
4344
  formState
4172
4345
  );
4173
4346
  renderState = createPendingSegment(
@@ -4207,11 +4380,11 @@ function createPrerenderRequest(
4207
4380
  rootFormatContext,
4208
4381
  progressiveChunkSize,
4209
4382
  onError,
4383
+ onBrowserBailout,
4210
4384
  onAllReady,
4211
4385
  onShellReady,
4212
4386
  onShellError,
4213
- onFatalError,
4214
- onPostpone
4387
+ onFatalError
4215
4388
  ) {
4216
4389
  children = createRequest(
4217
4390
  children,
@@ -4220,11 +4393,11 @@ function createPrerenderRequest(
4220
4393
  rootFormatContext,
4221
4394
  progressiveChunkSize,
4222
4395
  onError,
4396
+ onBrowserBailout,
4223
4397
  onAllReady,
4224
4398
  onShellReady,
4225
4399
  onShellError,
4226
4400
  onFatalError,
4227
- onPostpone,
4228
4401
  void 0
4229
4402
  );
4230
4403
  children.trackedPostpones = {
@@ -4239,11 +4412,11 @@ function resumeRequest(
4239
4412
  postponedState,
4240
4413
  renderState,
4241
4414
  onError,
4415
+ onBrowserBailout,
4242
4416
  onAllReady,
4243
4417
  onShellReady,
4244
4418
  onShellError,
4245
- onFatalError,
4246
- onPostpone
4419
+ onFatalError
4247
4420
  ) {
4248
4421
  renderState = new RequestInstance(
4249
4422
  postponedState.resumableState,
@@ -4251,11 +4424,11 @@ function resumeRequest(
4251
4424
  postponedState.rootFormatContext,
4252
4425
  postponedState.progressiveChunkSize,
4253
4426
  onError,
4427
+ onBrowserBailout,
4254
4428
  onAllReady,
4255
4429
  onShellReady,
4256
4430
  onShellError,
4257
4431
  onFatalError,
4258
- onPostpone,
4259
4432
  null
4260
4433
  );
4261
4434
  renderState.nextSegmentId = postponedState.nextSegmentId;
@@ -4320,22 +4493,22 @@ function resumeAndPrerenderRequest(
4320
4493
  postponedState,
4321
4494
  renderState,
4322
4495
  onError,
4496
+ onBrowserBailout,
4323
4497
  onAllReady,
4324
4498
  onShellReady,
4325
4499
  onShellError,
4326
- onFatalError,
4327
- onPostpone
4500
+ onFatalError
4328
4501
  ) {
4329
4502
  children = resumeRequest(
4330
4503
  children,
4331
4504
  postponedState,
4332
4505
  renderState,
4333
4506
  onError,
4507
+ onBrowserBailout,
4334
4508
  onAllReady,
4335
4509
  onShellReady,
4336
4510
  onShellError,
4337
- onFatalError,
4338
- onPostpone
4511
+ onFatalError
4339
4512
  );
4340
4513
  children.trackedPostpones = {
4341
4514
  workingMap: new Map(),
@@ -4369,8 +4542,8 @@ function createSuspenseBoundary(
4369
4542
  request,
4370
4543
  row,
4371
4544
  fallbackAbortableTasks,
4372
- contentPreamble,
4373
- fallbackPreamble
4545
+ preamble,
4546
+ defer
4374
4547
  ) {
4375
4548
  fallbackAbortableTasks = {
4376
4549
  status: 0,
@@ -4380,22 +4553,21 @@ function createSuspenseBoundary(
4380
4553
  row: row,
4381
4554
  completedSegments: [],
4382
4555
  byteSize: 0,
4556
+ defer: defer,
4383
4557
  fallbackAbortableTasks: fallbackAbortableTasks,
4384
4558
  errorDigest: null,
4385
4559
  contentState: createHoistableState(),
4386
4560
  fallbackState: createHoistableState(),
4387
- contentPreamble: contentPreamble,
4388
- fallbackPreamble: fallbackPreamble,
4389
- trackedContentKeyPath: null,
4390
- trackedFallbackNode: null
4561
+ preamble: preamble,
4562
+ tracked: null
4391
4563
  };
4392
4564
  null !== row &&
4393
4565
  (row.pendingTasks++,
4394
- (contentPreamble = row.boundaries),
4395
- null !== contentPreamble &&
4566
+ (preamble = row.boundaries),
4567
+ null !== preamble &&
4396
4568
  (request.allPendingTasks++,
4397
4569
  fallbackAbortableTasks.pendingTasks++,
4398
- contentPreamble.push(fallbackAbortableTasks)),
4570
+ preamble.push(fallbackAbortableTasks)),
4399
4571
  (request = row.inheritedHoistables),
4400
4572
  null !== request &&
4401
4573
  hoistHoistables(fallbackAbortableTasks.contentState, request));
@@ -4427,8 +4599,16 @@ function createRenderTask(
4427
4599
  replay: null,
4428
4600
  node: node,
4429
4601
  childIndex: childIndex,
4430
- ping: function () {
4431
- return pingTask(request, task);
4602
+ ping: {
4603
+ resolve: function () {
4604
+ return pingTask(request, task);
4605
+ },
4606
+ reject: function (error) {
4607
+ request.aborted
4608
+ ? task.abortSet.delete(task) &&
4609
+ finishAbortedTask(task, request, error)
4610
+ : pingTask(request, task);
4611
+ }
4432
4612
  },
4433
4613
  blockedBoundary: blockedBoundary,
4434
4614
  blockedSegment: blockedSegment,
@@ -4472,8 +4652,16 @@ function createReplayTask(
4472
4652
  replay: replay,
4473
4653
  node: node,
4474
4654
  childIndex: childIndex,
4475
- ping: function () {
4476
- return pingTask(request, task);
4655
+ ping: {
4656
+ resolve: function () {
4657
+ return pingTask(request, task);
4658
+ },
4659
+ reject: function (error) {
4660
+ request.aborted
4661
+ ? task.abortSet.delete(task) &&
4662
+ finishAbortedTask(task, request, error)
4663
+ : pingTask(request, task);
4664
+ }
4477
4665
  },
4478
4666
  blockedBoundary: blockedBoundary,
4479
4667
  blockedSegment: null,
@@ -4556,18 +4744,22 @@ function getThrownInfo(node$jscomp$0) {
4556
4744
  return errorInfo;
4557
4745
  }
4558
4746
  function logRecoverableError(request, error, errorInfo) {
4747
+ if (isRecoverableError(error))
4748
+ return (request = request.onBrowserBailout), request(error, errorInfo), "";
4559
4749
  request = request.onError;
4560
4750
  error = request(error, errorInfo);
4561
- if (null == error || "string" === typeof error) return error;
4751
+ if (null == error || "string" === typeof error)
4752
+ return "" === error ? void 0 : error;
4562
4753
  }
4563
4754
  function fatalError(request, error) {
4564
4755
  var onShellError = request.onShellError,
4565
4756
  onFatalError = request.onFatalError;
4566
- onShellError(error);
4757
+ 0 !== request.pendingRootTasks && onShellError(error);
4567
4758
  onFatalError(error);
4759
+ endRenderLifetime(request);
4568
4760
  null !== request.destination
4569
- ? ((request.status = 14), closeWithError(request.destination, error))
4570
- : ((request.status = 13), (request.fatalError = error));
4761
+ ? ((request.status = 13), closeWithError(request.destination, error))
4762
+ : ((request.status = 12), request.aborted || (request.fatalError = error));
4571
4763
  }
4572
4764
  function finishSuspenseListRow(request, row) {
4573
4765
  unblockSuspenseListRow(request, row.next, row.hoistables);
@@ -4687,43 +4879,46 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
4687
4879
  0 === --previousSuspenseListRow.pendingTasks &&
4688
4880
  finishSuspenseListRow(request, previousSuspenseListRow);
4689
4881
  else {
4690
- revealOrder = task.blockedSegment;
4691
- resumeSlots = revealOrder.children.length;
4692
- n = revealOrder.chunks.length;
4693
- for (i = keyPath - 1; 0 <= i; i--) {
4694
- node = rows[i];
4882
+ resumeSlots = task.blockedSegment;
4883
+ n = resumeSlots.children.length;
4884
+ i = resumeSlots.chunks.length;
4885
+ for (node = 0; node < keyPath; node++) {
4886
+ resumeSegmentID =
4887
+ "unstable_legacy-backwards" === revealOrder ? keyPath - 1 - node : node;
4888
+ var node$40 = rows[resumeSegmentID];
4695
4889
  task.row = previousSuspenseListRow = createSuspenseListRow(
4696
4890
  previousSuspenseListRow
4697
4891
  );
4698
- task.treeContext = pushTreeContext(prevTreeContext, keyPath, i);
4699
- resumeSegmentID = createPendingSegment(
4892
+ task.treeContext = pushTreeContext(
4893
+ prevTreeContext,
4894
+ keyPath,
4895
+ resumeSegmentID
4896
+ );
4897
+ var newSegment = createPendingSegment(
4700
4898
  request,
4701
- n,
4899
+ i,
4702
4900
  null,
4703
4901
  task.formatContext,
4704
- 0 === i ? revealOrder.lastPushedText : !0,
4902
+ 0 === resumeSegmentID ? resumeSlots.lastPushedText : !0,
4705
4903
  !0
4706
4904
  );
4707
- revealOrder.children.splice(resumeSlots, 0, resumeSegmentID);
4708
- task.blockedSegment = resumeSegmentID;
4905
+ resumeSlots.children.splice(n, 0, newSegment);
4906
+ task.blockedSegment = newSegment;
4709
4907
  try {
4710
- renderNode(request, task, node, i),
4711
- resumeSegmentID.lastPushedText &&
4712
- resumeSegmentID.textEmbedded &&
4713
- resumeSegmentID.chunks.push(textSeparator),
4714
- (resumeSegmentID.status = 1),
4715
- finishedSegment(request, task.blockedBoundary, resumeSegmentID),
4908
+ renderNode(request, task, node$40, resumeSegmentID),
4909
+ newSegment.lastPushedText &&
4910
+ newSegment.textEmbedded &&
4911
+ newSegment.chunks.push(textSeparator),
4912
+ (newSegment.status = 1),
4913
+ finishedSegment(request, task.blockedBoundary, newSegment),
4716
4914
  0 === --previousSuspenseListRow.pendingTasks &&
4717
4915
  finishSuspenseListRow(request, previousSuspenseListRow);
4718
4916
  } catch (thrownValue) {
4719
- throw (
4720
- ((resumeSegmentID.status = 12 === request.status ? 3 : 4),
4721
- thrownValue)
4722
- );
4917
+ throw ((newSegment.status = request.aborted ? 3 : 4), thrownValue);
4723
4918
  }
4724
4919
  }
4725
- task.blockedSegment = revealOrder;
4726
- revealOrder.lastPushedText = !1;
4920
+ task.blockedSegment = resumeSlots;
4921
+ resumeSlots.lastPushedText = !1;
4727
4922
  }
4728
4923
  null !== prevRow &&
4729
4924
  null !== previousSuspenseListRow &&
@@ -4800,113 +4995,143 @@ function renderElement(request, task, keyPath, type, props, ref) {
4800
4995
  var defaultProps = type.defaultProps;
4801
4996
  if (defaultProps) {
4802
4997
  newProps === props && (newProps = assign({}, newProps, props));
4803
- for (var propName$44 in defaultProps)
4804
- void 0 === newProps[propName$44] &&
4805
- (newProps[propName$44] = defaultProps[propName$44]);
4998
+ for (var propName$45 in defaultProps)
4999
+ void 0 === newProps[propName$45] &&
5000
+ (newProps[propName$45] = defaultProps[propName$45]);
4806
5001
  }
4807
- props = newProps;
4808
- newProps = emptyContextObject;
4809
- defaultProps = type.contextType;
4810
- "object" === typeof defaultProps &&
4811
- null !== defaultProps &&
4812
- (newProps = defaultProps._currentValue);
4813
- newProps = new type(props, newProps);
4814
- var initialState = void 0 !== newProps.state ? newProps.state : null;
4815
- newProps.updater = classComponentUpdater;
4816
- newProps.props = props;
4817
- newProps.state = initialState;
4818
- defaultProps = { queue: [], replace: !1 };
4819
- newProps._reactInternals = defaultProps;
4820
- ref = type.contextType;
4821
- newProps.context =
4822
- "object" === typeof ref && null !== ref
4823
- ? ref._currentValue
5002
+ var JSCompiler_inline_result = newProps;
5003
+ var context = emptyContextObject,
5004
+ contextType = type.contextType;
5005
+ "object" === typeof contextType &&
5006
+ null !== contextType &&
5007
+ (context = contextType._currentValue);
5008
+ var JSCompiler_inline_result$jscomp$0 = new type(
5009
+ JSCompiler_inline_result,
5010
+ context
5011
+ );
5012
+ var initialState =
5013
+ void 0 !== JSCompiler_inline_result$jscomp$0.state
5014
+ ? JSCompiler_inline_result$jscomp$0.state
5015
+ : null;
5016
+ JSCompiler_inline_result$jscomp$0.updater = classComponentUpdater;
5017
+ JSCompiler_inline_result$jscomp$0.props = JSCompiler_inline_result;
5018
+ JSCompiler_inline_result$jscomp$0.state = initialState;
5019
+ var internalInstance = { queue: [], replace: !1 };
5020
+ JSCompiler_inline_result$jscomp$0._reactInternals = internalInstance;
5021
+ var contextType$jscomp$0 = type.contextType;
5022
+ JSCompiler_inline_result$jscomp$0.context =
5023
+ "object" === typeof contextType$jscomp$0 &&
5024
+ null !== contextType$jscomp$0
5025
+ ? contextType$jscomp$0._currentValue
4824
5026
  : emptyContextObject;
4825
- ref = type.getDerivedStateFromProps;
4826
- "function" === typeof ref &&
4827
- ((ref = ref(props, initialState)),
4828
- (initialState =
4829
- null === ref || void 0 === ref
5027
+ var getDerivedStateFromProps = type.getDerivedStateFromProps;
5028
+ if ("function" === typeof getDerivedStateFromProps) {
5029
+ var partialState = getDerivedStateFromProps(
5030
+ JSCompiler_inline_result,
5031
+ initialState
5032
+ );
5033
+ var JSCompiler_inline_result$jscomp$1 =
5034
+ null === partialState || void 0 === partialState
4830
5035
  ? initialState
4831
- : assign({}, initialState, ref)),
4832
- (newProps.state = initialState));
5036
+ : assign({}, initialState, partialState);
5037
+ JSCompiler_inline_result$jscomp$0.state =
5038
+ JSCompiler_inline_result$jscomp$1;
5039
+ }
4833
5040
  if (
4834
5041
  "function" !== typeof type.getDerivedStateFromProps &&
4835
- "function" !== typeof newProps.getSnapshotBeforeUpdate &&
4836
- ("function" === typeof newProps.UNSAFE_componentWillMount ||
4837
- "function" === typeof newProps.componentWillMount)
4838
- )
5042
+ "function" !==
5043
+ typeof JSCompiler_inline_result$jscomp$0.getSnapshotBeforeUpdate &&
5044
+ ("function" ===
5045
+ typeof JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount ||
5046
+ "function" ===
5047
+ typeof JSCompiler_inline_result$jscomp$0.componentWillMount)
5048
+ ) {
5049
+ var oldState = JSCompiler_inline_result$jscomp$0.state;
5050
+ "function" ===
5051
+ typeof JSCompiler_inline_result$jscomp$0.componentWillMount &&
5052
+ JSCompiler_inline_result$jscomp$0.componentWillMount();
5053
+ "function" ===
5054
+ typeof JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount &&
5055
+ JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount();
5056
+ oldState !== JSCompiler_inline_result$jscomp$0.state &&
5057
+ classComponentUpdater.enqueueReplaceState(
5058
+ JSCompiler_inline_result$jscomp$0,
5059
+ JSCompiler_inline_result$jscomp$0.state,
5060
+ null
5061
+ );
4839
5062
  if (
4840
- ((type = newProps.state),
4841
- "function" === typeof newProps.componentWillMount &&
4842
- newProps.componentWillMount(),
4843
- "function" === typeof newProps.UNSAFE_componentWillMount &&
4844
- newProps.UNSAFE_componentWillMount(),
4845
- type !== newProps.state &&
4846
- classComponentUpdater.enqueueReplaceState(
4847
- newProps,
4848
- newProps.state,
4849
- null
4850
- ),
4851
- null !== defaultProps.queue && 0 < defaultProps.queue.length)
4852
- )
4853
- if (
4854
- ((type = defaultProps.queue),
4855
- (ref = defaultProps.replace),
4856
- (defaultProps.queue = null),
4857
- (defaultProps.replace = !1),
4858
- ref && 1 === type.length)
4859
- )
4860
- newProps.state = type[0];
5063
+ null !== internalInstance.queue &&
5064
+ 0 < internalInstance.queue.length
5065
+ ) {
5066
+ var oldQueue = internalInstance.queue,
5067
+ oldReplace = internalInstance.replace;
5068
+ internalInstance.queue = null;
5069
+ internalInstance.replace = !1;
5070
+ if (oldReplace && 1 === oldQueue.length)
5071
+ JSCompiler_inline_result$jscomp$0.state = oldQueue[0];
4861
5072
  else {
4862
- defaultProps = ref ? type[0] : newProps.state;
4863
- initialState = !0;
4864
- for (ref = ref ? 1 : 0; ref < type.length; ref++)
4865
- (propName$44 = type[ref]),
4866
- (propName$44 =
4867
- "function" === typeof propName$44
4868
- ? propName$44.call(newProps, defaultProps, props, void 0)
4869
- : propName$44),
4870
- null != propName$44 &&
4871
- (initialState
4872
- ? ((initialState = !1),
4873
- (defaultProps = assign({}, defaultProps, propName$44)))
4874
- : assign(defaultProps, propName$44));
4875
- newProps.state = defaultProps;
5073
+ for (
5074
+ var nextState = oldReplace
5075
+ ? oldQueue[0]
5076
+ : JSCompiler_inline_result$jscomp$0.state,
5077
+ dontMutate = !0,
5078
+ i = oldReplace ? 1 : 0;
5079
+ i < oldQueue.length;
5080
+ i++
5081
+ ) {
5082
+ var partial = oldQueue[i],
5083
+ partialState$jscomp$0 =
5084
+ "function" === typeof partial
5085
+ ? partial.call(
5086
+ JSCompiler_inline_result$jscomp$0,
5087
+ nextState,
5088
+ JSCompiler_inline_result,
5089
+ void 0
5090
+ )
5091
+ : partial;
5092
+ null != partialState$jscomp$0 &&
5093
+ (dontMutate
5094
+ ? ((dontMutate = !1),
5095
+ (nextState = assign({}, nextState, partialState$jscomp$0)))
5096
+ : assign(nextState, partialState$jscomp$0));
5097
+ }
5098
+ JSCompiler_inline_result$jscomp$0.state = nextState;
4876
5099
  }
4877
- else defaultProps.queue = null;
4878
- type = newProps.render();
4879
- if (12 === request.status) throw null;
4880
- props = task.keyPath;
5100
+ } else internalInstance.queue = null;
5101
+ }
5102
+ var nextChildren = JSCompiler_inline_result$jscomp$0.render();
5103
+ if (request.aborted) throw null;
5104
+ var prevKeyPath = task.keyPath;
4881
5105
  task.keyPath = keyPath;
4882
- renderNodeDestructive(request, task, type, -1);
4883
- task.keyPath = props;
5106
+ renderNodeDestructive(request, task, nextChildren, -1);
5107
+ task.keyPath = prevKeyPath;
4884
5108
  } else {
4885
- type = renderWithHooks(request, task, keyPath, type, props, void 0);
4886
- if (12 === request.status) throw null;
5109
+ var value = renderWithHooks(request, task, keyPath, type, props, void 0);
5110
+ if (request.aborted) throw null;
4887
5111
  finishFunctionComponent(
4888
5112
  request,
4889
5113
  task,
4890
5114
  keyPath,
4891
- type,
5115
+ value,
4892
5116
  0 !== localIdCounter,
4893
5117
  actionStateCounter,
4894
5118
  actionStateMatchingIndex
4895
5119
  );
4896
5120
  }
4897
- else if ("string" === typeof type)
4898
- if (((newProps = task.blockedSegment), null === newProps))
4899
- (newProps = props.children),
4900
- (defaultProps = task.formatContext),
4901
- (initialState = task.keyPath),
4902
- (task.formatContext = getChildFormatContext(defaultProps, type, props)),
4903
- (task.keyPath = keyPath),
4904
- renderNode(request, task, newProps, -1),
4905
- (task.formatContext = defaultProps),
4906
- (task.keyPath = initialState);
4907
- else {
4908
- initialState = pushStartInstance(
4909
- newProps.chunks,
5121
+ else if ("string" === typeof type) {
5122
+ var segment = task.blockedSegment;
5123
+ if (null === segment) {
5124
+ var children = props.children,
5125
+ prevContext = task.formatContext,
5126
+ prevKeyPath$jscomp$0 = task.keyPath;
5127
+ task.formatContext = getChildFormatContext(prevContext, type, props);
5128
+ task.keyPath = keyPath;
5129
+ renderNode(request, task, children, -1);
5130
+ task.formatContext = prevContext;
5131
+ task.keyPath = prevKeyPath$jscomp$0;
5132
+ } else {
5133
+ var children$42 = pushStartInstance(
5134
+ segment.chunks,
4910
5135
  type,
4911
5136
  props,
4912
5137
  request.resumableState,
@@ -4914,18 +5139,21 @@ function renderElement(request, task, keyPath, type, props, ref) {
4914
5139
  task.blockedPreamble,
4915
5140
  task.hoistableState,
4916
5141
  task.formatContext,
4917
- newProps.lastPushedText
5142
+ segment.lastPushedText
4918
5143
  );
4919
- newProps.lastPushedText = !1;
4920
- defaultProps = task.formatContext;
4921
- ref = task.keyPath;
5144
+ segment.lastPushedText = !1;
5145
+ var prevContext$43 = task.formatContext,
5146
+ prevKeyPath$44 = task.keyPath;
4922
5147
  task.keyPath = keyPath;
4923
5148
  if (
4924
5149
  3 ===
4925
- (task.formatContext = getChildFormatContext(defaultProps, type, props))
4926
- .insertionMode
5150
+ (task.formatContext = getChildFormatContext(
5151
+ prevContext$43,
5152
+ type,
5153
+ props
5154
+ )).insertionMode
4927
5155
  ) {
4928
- keyPath = createPendingSegment(
5156
+ var preambleSegment = createPendingSegment(
4929
5157
  request,
4930
5158
  0,
4931
5159
  null,
@@ -4933,25 +5161,24 @@ function renderElement(request, task, keyPath, type, props, ref) {
4933
5161
  !1,
4934
5162
  !1
4935
5163
  );
4936
- newProps.preambleChildren.push(keyPath);
4937
- task.blockedSegment = keyPath;
5164
+ segment.preambleChildren.push(preambleSegment);
5165
+ task.blockedSegment = preambleSegment;
4938
5166
  try {
4939
- (keyPath.status = 6),
4940
- renderNode(request, task, initialState, -1),
4941
- keyPath.lastPushedText &&
4942
- keyPath.textEmbedded &&
4943
- keyPath.chunks.push(textSeparator),
4944
- (keyPath.status = 1),
4945
- finishedSegment(request, task.blockedBoundary, keyPath);
5167
+ renderNode(request, task, children$42, -1),
5168
+ preambleSegment.lastPushedText &&
5169
+ preambleSegment.textEmbedded &&
5170
+ preambleSegment.chunks.push(textSeparator),
5171
+ (preambleSegment.status = 1),
5172
+ finishedSegment(request, task.blockedBoundary, preambleSegment);
4946
5173
  } finally {
4947
- task.blockedSegment = newProps;
5174
+ task.blockedSegment = segment;
4948
5175
  }
4949
- } else renderNode(request, task, initialState, -1);
4950
- task.formatContext = defaultProps;
4951
- task.keyPath = ref;
5176
+ } else renderNode(request, task, children$42, -1);
5177
+ task.formatContext = prevContext$43;
5178
+ task.keyPath = prevKeyPath$44;
4952
5179
  a: {
4953
- task = newProps.chunks;
4954
- request = request.resumableState;
5180
+ var target = segment.chunks,
5181
+ resumableState = request.resumableState;
4955
5182
  switch (type) {
4956
5183
  case "title":
4957
5184
  case "style":
@@ -4973,157 +5200,239 @@ function renderElement(request, task, keyPath, type, props, ref) {
4973
5200
  case "wbr":
4974
5201
  break a;
4975
5202
  case "body":
4976
- if (1 >= defaultProps.insertionMode) {
4977
- request.hasBody = !0;
5203
+ if (1 >= prevContext$43.insertionMode) {
5204
+ resumableState.hasBody = !0;
4978
5205
  break a;
4979
5206
  }
4980
5207
  break;
4981
5208
  case "html":
4982
- if (0 === defaultProps.insertionMode) {
4983
- request.hasHtml = !0;
5209
+ if (0 === prevContext$43.insertionMode) {
5210
+ resumableState.hasHtml = !0;
4984
5211
  break a;
4985
5212
  }
4986
5213
  break;
4987
5214
  case "head":
4988
- if (1 >= defaultProps.insertionMode) break a;
5215
+ if (1 >= prevContext$43.insertionMode) break a;
4989
5216
  }
4990
- task.push(endChunkForTag(type));
5217
+ target.push(endChunkForTag(type));
4991
5218
  }
4992
- newProps.lastPushedText = !1;
5219
+ segment.lastPushedText = !1;
4993
5220
  }
4994
- else {
5221
+ } else {
4995
5222
  switch (type) {
4996
5223
  case REACT_LEGACY_HIDDEN_TYPE:
4997
5224
  case REACT_STRICT_MODE_TYPE:
4998
5225
  case REACT_PROFILER_TYPE:
4999
5226
  case REACT_FRAGMENT_TYPE:
5000
- type = task.keyPath;
5227
+ var prevKeyPath$jscomp$1 = task.keyPath;
5001
5228
  task.keyPath = keyPath;
5002
5229
  renderNodeDestructive(request, task, props.children, -1);
5003
- task.keyPath = type;
5230
+ task.keyPath = prevKeyPath$jscomp$1;
5004
5231
  return;
5005
5232
  case REACT_ACTIVITY_TYPE:
5006
- type = task.blockedSegment;
5007
- null === type
5008
- ? "hidden" !== props.mode &&
5009
- ((type = task.keyPath),
5010
- (task.keyPath = keyPath),
5011
- renderNode(request, task, props.children, -1),
5012
- (task.keyPath = type))
5013
- : "hidden" !== props.mode &&
5014
- (type.chunks.push(startActivityBoundary),
5015
- (type.lastPushedText = !1),
5016
- (newProps = task.keyPath),
5017
- (task.keyPath = keyPath),
5018
- renderNode(request, task, props.children, -1),
5019
- (task.keyPath = newProps),
5020
- type.chunks.push(endActivityBoundary),
5021
- (type.lastPushedText = !1));
5233
+ var segment$jscomp$0 = task.blockedSegment;
5234
+ if (null === segment$jscomp$0) {
5235
+ if ("hidden" !== props.mode) {
5236
+ var prevKeyPath$jscomp$2 = task.keyPath;
5237
+ task.keyPath = keyPath;
5238
+ renderNode(request, task, props.children, -1);
5239
+ task.keyPath = prevKeyPath$jscomp$2;
5240
+ }
5241
+ } else if ("hidden" !== props.mode) {
5242
+ segment$jscomp$0.chunks.push(startActivityBoundary);
5243
+ segment$jscomp$0.lastPushedText = !1;
5244
+ var prevKeyPath$47 = task.keyPath;
5245
+ task.keyPath = keyPath;
5246
+ renderNode(request, task, props.children, -1);
5247
+ task.keyPath = prevKeyPath$47;
5248
+ segment$jscomp$0.chunks.push(endActivityBoundary);
5249
+ segment$jscomp$0.lastPushedText = !1;
5250
+ }
5022
5251
  return;
5023
5252
  case REACT_SUSPENSE_LIST_TYPE:
5024
5253
  a: {
5025
- type = props.children;
5026
- props = props.revealOrder;
5027
- if (
5028
- "forwards" === props ||
5029
- "backwards" === props ||
5030
- "unstable_legacy-backwards" === props
5031
- ) {
5032
- if (isArrayImpl(type)) {
5033
- renderSuspenseListRows(request, task, keyPath, type, props);
5254
+ var children$jscomp$0 = props.children,
5255
+ revealOrder = props.revealOrder;
5256
+ if ("independent" !== revealOrder && "together" !== revealOrder) {
5257
+ if (isArrayImpl(children$jscomp$0)) {
5258
+ renderSuspenseListRows(
5259
+ request,
5260
+ task,
5261
+ keyPath,
5262
+ children$jscomp$0,
5263
+ revealOrder
5264
+ );
5034
5265
  break a;
5035
5266
  }
5036
- if ((newProps = getIteratorFn(type)))
5037
- if ((newProps = newProps.call(type))) {
5038
- defaultProps = newProps.next();
5039
- if (!defaultProps.done) {
5040
- do defaultProps = newProps.next();
5041
- while (!defaultProps.done);
5042
- renderSuspenseListRows(request, task, keyPath, type, props);
5267
+ var iteratorFn = getIteratorFn(children$jscomp$0);
5268
+ if (iteratorFn) {
5269
+ var iterator = iteratorFn.call(children$jscomp$0);
5270
+ if (iterator) {
5271
+ var step = iterator.next();
5272
+ if (!step.done) {
5273
+ do step = iterator.next();
5274
+ while (!step.done);
5275
+ renderSuspenseListRows(
5276
+ request,
5277
+ task,
5278
+ keyPath,
5279
+ children$jscomp$0,
5280
+ revealOrder
5281
+ );
5043
5282
  }
5044
5283
  break a;
5045
5284
  }
5285
+ }
5286
+ }
5287
+ if ("together" === revealOrder) {
5288
+ var prevKeyPath$41 = task.keyPath,
5289
+ prevRow = task.row,
5290
+ newRow = (task.row = createSuspenseListRow(null));
5291
+ newRow.boundaries = [];
5292
+ newRow.together = !0;
5293
+ task.keyPath = keyPath;
5294
+ renderNodeDestructive(request, task, children$jscomp$0, -1);
5295
+ 0 === --newRow.pendingTasks &&
5296
+ finishSuspenseListRow(request, newRow);
5297
+ task.keyPath = prevKeyPath$41;
5298
+ task.row = prevRow;
5299
+ null !== prevRow &&
5300
+ 0 < newRow.pendingTasks &&
5301
+ (prevRow.pendingTasks++, (newRow.next = prevRow));
5302
+ } else {
5303
+ var prevKeyPath$jscomp$3 = task.keyPath;
5304
+ task.keyPath = keyPath;
5305
+ renderNodeDestructive(request, task, children$jscomp$0, -1);
5306
+ task.keyPath = prevKeyPath$jscomp$3;
5046
5307
  }
5047
- "together" === props
5048
- ? ((props = task.keyPath),
5049
- (newProps = task.row),
5050
- (defaultProps = task.row = createSuspenseListRow(null)),
5051
- (defaultProps.boundaries = []),
5052
- (defaultProps.together = !0),
5053
- (task.keyPath = keyPath),
5054
- renderNodeDestructive(request, task, type, -1),
5055
- 0 === --defaultProps.pendingTasks &&
5056
- finishSuspenseListRow(request, defaultProps),
5057
- (task.keyPath = props),
5058
- (task.row = newProps),
5059
- null !== newProps &&
5060
- 0 < defaultProps.pendingTasks &&
5061
- (newProps.pendingTasks++, (defaultProps.next = newProps)))
5062
- : ((props = task.keyPath),
5063
- (task.keyPath = keyPath),
5064
- renderNodeDestructive(request, task, type, -1),
5065
- (task.keyPath = props));
5066
5308
  }
5067
5309
  return;
5068
5310
  case REACT_VIEW_TRANSITION_TYPE:
5311
+ var prevContext$jscomp$0 = task.formatContext,
5312
+ prevKeyPath$jscomp$4 = task.keyPath;
5313
+ var resumableState$jscomp$0 = request.resumableState;
5314
+ if (null != props.name && "auto" !== props.name)
5315
+ var JSCompiler_inline_result$jscomp$2 = props.name;
5316
+ else {
5317
+ var treeId = getTreeId(task.treeContext);
5318
+ JSCompiler_inline_result$jscomp$2 = makeId(
5319
+ resumableState$jscomp$0,
5320
+ treeId,
5321
+ 0
5322
+ );
5323
+ }
5324
+ var autoName = JSCompiler_inline_result$jscomp$2,
5325
+ resumableState$jscomp$1 = request.resumableState,
5326
+ update = getViewTransitionClassName(props.default, props.update),
5327
+ enter = getViewTransitionClassName(props.default, props.enter),
5328
+ exit = getViewTransitionClassName(props.default, props.exit),
5329
+ share = getViewTransitionClassName(props.default, props.share),
5330
+ name = props.name;
5331
+ null == update && (update = "auto");
5332
+ null == enter && (enter = "auto");
5333
+ null == exit && (exit = "auto");
5334
+ if (null == name) {
5335
+ var parentViewTransition = prevContext$jscomp$0.viewTransition;
5336
+ null !== parentViewTransition
5337
+ ? ((name = parentViewTransition.name),
5338
+ (share = parentViewTransition.share))
5339
+ : ((name = "auto"), (share = "none"));
5340
+ } else
5341
+ null == share && (share = "auto"),
5342
+ prevContext$jscomp$0.tagScope & 4 &&
5343
+ (resumableState$jscomp$1.instructions |= 128);
5344
+ prevContext$jscomp$0.tagScope & 8
5345
+ ? (resumableState$jscomp$1.instructions |= 128)
5346
+ : (exit = "none");
5347
+ prevContext$jscomp$0.tagScope & 16
5348
+ ? (resumableState$jscomp$1.instructions |= 128)
5349
+ : (enter = "none");
5350
+ var viewTransition = {
5351
+ update: update,
5352
+ enter: enter,
5353
+ exit: exit,
5354
+ share: share,
5355
+ parentEnter: "none",
5356
+ parentExit: "none",
5357
+ name: name,
5358
+ autoName: autoName,
5359
+ nameIdx: 0
5360
+ },
5361
+ subtreeScope = prevContext$jscomp$0.tagScope & -25;
5362
+ subtreeScope =
5363
+ "none" !== update ? subtreeScope | 32 : subtreeScope & -33;
5364
+ "none" !== enter && (subtreeScope |= 64);
5365
+ var JSCompiler_inline_result$jscomp$3 = createFormatContext(
5366
+ prevContext$jscomp$0.insertionMode,
5367
+ prevContext$jscomp$0.selectedValue,
5368
+ subtreeScope,
5369
+ viewTransition
5370
+ );
5371
+ task.formatContext = JSCompiler_inline_result$jscomp$3;
5372
+ task.keyPath = keyPath;
5373
+ if (null != props.name && "auto" !== props.name)
5374
+ renderNodeDestructive(request, task, props.children, -1);
5375
+ else {
5376
+ var prevTreeContext = task.treeContext;
5377
+ task.treeContext = pushTreeContext(prevTreeContext, 1, 0);
5378
+ renderNode(request, task, props.children, -1);
5379
+ task.treeContext = prevTreeContext;
5380
+ }
5381
+ task.formatContext = prevContext$jscomp$0;
5382
+ task.keyPath = prevKeyPath$jscomp$4;
5383
+ return;
5069
5384
  case REACT_SCOPE_TYPE:
5070
5385
  throw Error("ReactDOMServer does not yet support scope components.");
5071
5386
  case REACT_SUSPENSE_TYPE:
5072
5387
  a: if (null !== task.replay) {
5073
- type = task.keyPath;
5074
- newProps = task.formatContext;
5075
- defaultProps = task.row;
5388
+ var prevKeyPath$27 = task.keyPath,
5389
+ prevContext$28 = task.formatContext,
5390
+ prevRow$29 = task.row;
5076
5391
  task.keyPath = keyPath;
5077
5392
  task.formatContext = getSuspenseContentFormatContext(
5078
5393
  request.resumableState,
5079
- newProps
5394
+ prevContext$28
5080
5395
  );
5081
5396
  task.row = null;
5082
- keyPath = props.children;
5397
+ var content$30 = props.children;
5083
5398
  try {
5084
- renderNode(request, task, keyPath, -1);
5399
+ renderNode(request, task, content$30, -1);
5085
5400
  } finally {
5086
- (task.keyPath = type),
5087
- (task.formatContext = newProps),
5088
- (task.row = defaultProps);
5401
+ (task.keyPath = prevKeyPath$27),
5402
+ (task.formatContext = prevContext$28),
5403
+ (task.row = prevRow$29);
5089
5404
  }
5090
5405
  } else {
5091
- type = task.keyPath;
5092
- ref = task.formatContext;
5093
- var prevRow = task.row;
5094
- propName$44 = task.blockedBoundary;
5095
- propName = task.blockedPreamble;
5096
- var parentHoistableState = task.hoistableState,
5406
+ var prevKeyPath$jscomp$5 = task.keyPath,
5407
+ prevContext$jscomp$1 = task.formatContext,
5408
+ prevRow$jscomp$0 = task.row,
5409
+ parentBoundary = task.blockedBoundary,
5410
+ parentPreamble = task.blockedPreamble,
5411
+ parentHoistableState = task.hoistableState,
5097
5412
  parentSegment = task.blockedSegment,
5098
- fallback = props.fallback;
5099
- props = props.children;
5100
- var fallbackAbortSet = new Set();
5101
- var newBoundary =
5102
- 2 > task.formatContext.insertionMode
5103
- ? createSuspenseBoundary(
5104
- request,
5105
- task.row,
5106
- fallbackAbortSet,
5107
- createPreambleState(),
5108
- createPreambleState()
5109
- )
5110
- : createSuspenseBoundary(
5111
- request,
5112
- task.row,
5113
- fallbackAbortSet,
5114
- null,
5115
- null
5116
- );
5117
- null !== request.trackedPostpones &&
5118
- (newBoundary.trackedContentKeyPath = keyPath);
5119
- var boundarySegment = createPendingSegment(
5120
- request,
5121
- parentSegment.chunks.length,
5122
- newBoundary,
5123
- task.formatContext,
5124
- !1,
5125
- !1
5126
- );
5413
+ fallback = props.fallback,
5414
+ content = props.children,
5415
+ fallbackAbortSet = new Set(),
5416
+ newBoundary = createSuspenseBoundary(
5417
+ request,
5418
+ task.row,
5419
+ fallbackAbortSet,
5420
+ 2 > task.formatContext.insertionMode
5421
+ ? {
5422
+ content: createPreambleState(),
5423
+ fallback: createPreambleState()
5424
+ }
5425
+ : null,
5426
+ !1
5427
+ ),
5428
+ boundarySegment = createPendingSegment(
5429
+ request,
5430
+ parentSegment.chunks.length,
5431
+ newBoundary,
5432
+ task.formatContext,
5433
+ !1,
5434
+ !1
5435
+ );
5127
5436
  parentSegment.children.push(boundarySegment);
5128
5437
  parentSegment.lastPushedText = !1;
5129
5438
  var contentRootSegment = createPendingSegment(
@@ -5135,48 +5444,68 @@ function renderElement(request, task, keyPath, type, props, ref) {
5135
5444
  !1
5136
5445
  );
5137
5446
  contentRootSegment.parentFlushed = !0;
5138
- if (null !== request.trackedPostpones) {
5139
- newProps = task.componentStack;
5140
- defaultProps = [keyPath[0], "Suspense Fallback", keyPath[2]];
5141
- initialState = [defaultProps[1], defaultProps[2], [], null];
5142
- request.trackedPostpones.workingMap.set(defaultProps, initialState);
5143
- newBoundary.trackedFallbackNode = initialState;
5447
+ var trackedPostpones = request.trackedPostpones;
5448
+ if (null !== trackedPostpones) {
5449
+ var suspenseComponentStack = task.componentStack,
5450
+ fallbackKeyPath = [keyPath[0], "Suspense Fallback", keyPath[2]];
5451
+ if (null !== trackedPostpones) {
5452
+ var fallbackReplayNode = [
5453
+ fallbackKeyPath[1],
5454
+ fallbackKeyPath[2],
5455
+ [],
5456
+ null
5457
+ ];
5458
+ trackedPostpones.workingMap.set(
5459
+ fallbackKeyPath,
5460
+ fallbackReplayNode
5461
+ );
5462
+ newBoundary.tracked = {
5463
+ contentKeyPath: keyPath,
5464
+ fallbackNode: fallbackReplayNode
5465
+ };
5466
+ }
5144
5467
  task.blockedSegment = boundarySegment;
5145
- task.blockedPreamble = newBoundary.fallbackPreamble;
5146
- task.keyPath = defaultProps;
5468
+ task.blockedPreamble =
5469
+ null === newBoundary.preamble
5470
+ ? null
5471
+ : newBoundary.preamble.fallback;
5472
+ task.keyPath = fallbackKeyPath;
5147
5473
  task.formatContext = getSuspenseFallbackFormatContext(
5148
5474
  request.resumableState,
5149
- ref
5475
+ prevContext$jscomp$1
5150
5476
  );
5151
5477
  task.componentStack =
5152
- replaceSuspenseComponentStackWithSuspenseFallbackStack(newProps);
5153
- boundarySegment.status = 6;
5478
+ replaceSuspenseComponentStackWithSuspenseFallbackStack(
5479
+ suspenseComponentStack
5480
+ );
5154
5481
  try {
5155
5482
  renderNode(request, task, fallback, -1),
5156
5483
  boundarySegment.lastPushedText &&
5157
5484
  boundarySegment.textEmbedded &&
5158
5485
  boundarySegment.chunks.push(textSeparator),
5159
5486
  (boundarySegment.status = 1),
5160
- finishedSegment(request, propName$44, boundarySegment);
5487
+ finishedSegment(request, parentBoundary, boundarySegment);
5161
5488
  } catch (thrownValue) {
5162
5489
  throw (
5163
- ((boundarySegment.status = 12 === request.status ? 3 : 4),
5490
+ ((boundarySegment.status = request.aborted ? 3 : 4),
5164
5491
  thrownValue)
5165
5492
  );
5166
5493
  } finally {
5167
5494
  (task.blockedSegment = parentSegment),
5168
- (task.blockedPreamble = propName),
5169
- (task.keyPath = type),
5170
- (task.formatContext = ref);
5495
+ (task.blockedPreamble = parentPreamble),
5496
+ (task.keyPath = prevKeyPath$jscomp$5),
5497
+ (task.formatContext = prevContext$jscomp$1);
5171
5498
  }
5172
- task = createRenderTask(
5499
+ var suspendedPrimaryTask = createRenderTask(
5173
5500
  request,
5174
5501
  null,
5175
- props,
5502
+ content,
5176
5503
  -1,
5177
5504
  newBoundary,
5178
5505
  contentRootSegment,
5179
- newBoundary.contentPreamble,
5506
+ null === newBoundary.preamble
5507
+ ? null
5508
+ : newBoundary.preamble.content,
5180
5509
  newBoundary.contentState,
5181
5510
  task.abortSet,
5182
5511
  keyPath,
@@ -5187,25 +5516,27 @@ function renderElement(request, task, keyPath, type, props, ref) {
5187
5516
  task.context,
5188
5517
  task.treeContext,
5189
5518
  null,
5190
- newProps
5519
+ suspenseComponentStack
5191
5520
  );
5192
- pushComponentStack(task);
5193
- request.pingedTasks.push(task);
5521
+ pushComponentStack(suspendedPrimaryTask);
5522
+ request.pingedTasks.push(suspendedPrimaryTask);
5194
5523
  } else {
5195
5524
  task.blockedBoundary = newBoundary;
5196
- task.blockedPreamble = newBoundary.contentPreamble;
5525
+ task.blockedPreamble =
5526
+ null === newBoundary.preamble
5527
+ ? null
5528
+ : newBoundary.preamble.content;
5197
5529
  task.hoistableState = newBoundary.contentState;
5198
5530
  task.blockedSegment = contentRootSegment;
5199
5531
  task.keyPath = keyPath;
5200
5532
  task.formatContext = getSuspenseContentFormatContext(
5201
5533
  request.resumableState,
5202
- ref
5534
+ prevContext$jscomp$1
5203
5535
  );
5204
5536
  task.row = null;
5205
- contentRootSegment.status = 6;
5206
5537
  try {
5207
5538
  if (
5208
- (renderNode(request, task, props, -1),
5539
+ (renderNode(request, task, content, -1),
5209
5540
  contentRootSegment.lastPushedText &&
5210
5541
  contentRootSegment.textEmbedded &&
5211
5542
  contentRootSegment.chunks.push(textSeparator),
@@ -5218,50 +5549,47 @@ function renderElement(request, task, keyPath, type, props, ref) {
5218
5549
  ((newBoundary.status = 1),
5219
5550
  !isEligibleForOutlining(request, newBoundary))
5220
5551
  ) {
5221
- null !== prevRow &&
5222
- 0 === --prevRow.pendingTasks &&
5223
- finishSuspenseListRow(request, prevRow);
5552
+ null !== prevRow$jscomp$0 &&
5553
+ 0 === --prevRow$jscomp$0.pendingTasks &&
5554
+ finishSuspenseListRow(request, prevRow$jscomp$0);
5224
5555
  0 === request.pendingRootTasks &&
5225
5556
  task.blockedPreamble &&
5226
5557
  preparePreamble(request);
5227
5558
  break a;
5228
5559
  }
5229
5560
  } else
5230
- null !== prevRow &&
5231
- prevRow.together &&
5232
- tryToResolveTogetherRow(request, prevRow);
5561
+ null !== prevRow$jscomp$0 &&
5562
+ prevRow$jscomp$0.together &&
5563
+ tryToResolveTogetherRow(request, prevRow$jscomp$0);
5233
5564
  } catch (thrownValue$31) {
5234
- (newBoundary.status = 4),
5235
- 12 === request.status
5236
- ? ((contentRootSegment.status = 3),
5237
- (newProps = request.fatalError))
5238
- : ((contentRootSegment.status = 4),
5239
- (newProps = thrownValue$31)),
5240
- (defaultProps = getThrownInfo(task.componentStack)),
5241
- (initialState = logRecoverableError(
5242
- request,
5243
- newProps,
5244
- defaultProps
5245
- )),
5246
- (newBoundary.errorDigest = initialState),
5247
- untrackBoundary(request, newBoundary);
5565
+ newBoundary.status = 4;
5566
+ if (request.aborted) {
5567
+ contentRootSegment.status = 3;
5568
+ var error = request.fatalError;
5569
+ } else (contentRootSegment.status = 4), (error = thrownValue$31);
5570
+ var thrownInfo = getThrownInfo(task.componentStack),
5571
+ errorDigest = logRecoverableError(request, error, thrownInfo);
5572
+ newBoundary.errorDigest = errorDigest;
5573
+ untrackBoundary(request, newBoundary);
5248
5574
  } finally {
5249
- (task.blockedBoundary = propName$44),
5250
- (task.blockedPreamble = propName),
5575
+ (task.blockedBoundary = parentBoundary),
5576
+ (task.blockedPreamble = parentPreamble),
5251
5577
  (task.hoistableState = parentHoistableState),
5252
5578
  (task.blockedSegment = parentSegment),
5253
- (task.keyPath = type),
5254
- (task.formatContext = ref),
5255
- (task.row = prevRow);
5579
+ (task.keyPath = prevKeyPath$jscomp$5),
5580
+ (task.formatContext = prevContext$jscomp$1),
5581
+ (task.row = prevRow$jscomp$0);
5256
5582
  }
5257
- task = createRenderTask(
5583
+ var suspendedFallbackTask = createRenderTask(
5258
5584
  request,
5259
5585
  null,
5260
5586
  fallback,
5261
5587
  -1,
5262
- propName$44,
5588
+ parentBoundary,
5263
5589
  boundarySegment,
5264
- newBoundary.fallbackPreamble,
5590
+ null === newBoundary.preamble
5591
+ ? null
5592
+ : newBoundary.preamble.fallback,
5265
5593
  newBoundary.fallbackState,
5266
5594
  fallbackAbortSet,
5267
5595
  [keyPath[0], "Suspense Fallback", keyPath[2]],
@@ -5276,8 +5604,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
5276
5604
  task.componentStack
5277
5605
  )
5278
5606
  );
5279
- pushComponentStack(task);
5280
- request.pingedTasks.push(task);
5607
+ pushComponentStack(suspendedFallbackTask);
5608
+ request.pingedTasks.push(suspendedFallbackTask);
5281
5609
  }
5282
5610
  }
5283
5611
  return;
@@ -5285,24 +5613,24 @@ function renderElement(request, task, keyPath, type, props, ref) {
5285
5613
  if ("object" === typeof type && null !== type)
5286
5614
  switch (type.$$typeof) {
5287
5615
  case REACT_FORWARD_REF_TYPE:
5288
- if ("ref" in props)
5289
- for (parentSegment in ((newProps = {}), props))
5290
- "ref" !== parentSegment &&
5291
- (newProps[parentSegment] = props[parentSegment]);
5292
- else newProps = props;
5293
- type = renderWithHooks(
5616
+ if ("ref" in props) {
5617
+ var propsWithoutRef = {};
5618
+ for (var key in props)
5619
+ "ref" !== key && (propsWithoutRef[key] = props[key]);
5620
+ } else propsWithoutRef = props;
5621
+ var children$jscomp$1 = renderWithHooks(
5294
5622
  request,
5295
5623
  task,
5296
5624
  keyPath,
5297
5625
  type.render,
5298
- newProps,
5626
+ propsWithoutRef,
5299
5627
  ref
5300
5628
  );
5301
5629
  finishFunctionComponent(
5302
5630
  request,
5303
5631
  task,
5304
5632
  keyPath,
5305
- type,
5633
+ children$jscomp$1,
5306
5634
  0 !== localIdCounter,
5307
5635
  actionStateCounter,
5308
5636
  actionStateMatchingIndex
@@ -5312,45 +5640,47 @@ function renderElement(request, task, keyPath, type, props, ref) {
5312
5640
  renderElement(request, task, keyPath, type.type, props, ref);
5313
5641
  return;
5314
5642
  case REACT_CONTEXT_TYPE:
5315
- defaultProps = props.children;
5316
- newProps = task.keyPath;
5317
- props = props.value;
5318
- initialState = type._currentValue;
5319
- type._currentValue = props;
5320
- ref = currentActiveSnapshot;
5321
- currentActiveSnapshot = type = {
5322
- parent: ref,
5323
- depth: null === ref ? 0 : ref.depth + 1,
5324
- context: type,
5325
- parentValue: initialState,
5326
- value: props
5327
- };
5328
- task.context = type;
5643
+ var children$jscomp$2 = props.children,
5644
+ prevKeyPath$jscomp$6 = task.keyPath,
5645
+ nextValue = props.value;
5646
+ var prevValue = type._currentValue;
5647
+ type._currentValue = nextValue;
5648
+ var prevNode = currentActiveSnapshot,
5649
+ newNode = {
5650
+ parent: prevNode,
5651
+ depth: null === prevNode ? 0 : prevNode.depth + 1,
5652
+ context: type,
5653
+ parentValue: prevValue,
5654
+ value: nextValue
5655
+ };
5656
+ currentActiveSnapshot = newNode;
5657
+ task.context = newNode;
5329
5658
  task.keyPath = keyPath;
5330
- renderNodeDestructive(request, task, defaultProps, -1);
5331
- request = currentActiveSnapshot;
5332
- if (null === request)
5659
+ renderNodeDestructive(request, task, children$jscomp$2, -1);
5660
+ var prevSnapshot = currentActiveSnapshot;
5661
+ if (null === prevSnapshot)
5333
5662
  throw Error(
5334
5663
  "Tried to pop a Context at the root of the app. This is a bug in React."
5335
5664
  );
5336
- request.context._currentValue = request.parentValue;
5337
- request = currentActiveSnapshot = request.parent;
5338
- task.context = request;
5339
- task.keyPath = newProps;
5665
+ prevSnapshot.context._currentValue = prevSnapshot.parentValue;
5666
+ var JSCompiler_inline_result$jscomp$4 = (currentActiveSnapshot =
5667
+ prevSnapshot.parent);
5668
+ task.context = JSCompiler_inline_result$jscomp$4;
5669
+ task.keyPath = prevKeyPath$jscomp$6;
5340
5670
  return;
5341
5671
  case REACT_CONSUMER_TYPE:
5342
- props = props.children;
5343
- type = props(type._context._currentValue);
5344
- props = task.keyPath;
5672
+ var render = props.children,
5673
+ newChildren = render(type._context._currentValue),
5674
+ prevKeyPath$jscomp$7 = task.keyPath;
5345
5675
  task.keyPath = keyPath;
5346
- renderNodeDestructive(request, task, type, -1);
5347
- task.keyPath = props;
5676
+ renderNodeDestructive(request, task, newChildren, -1);
5677
+ task.keyPath = prevKeyPath$jscomp$7;
5348
5678
  return;
5349
5679
  case REACT_LAZY_TYPE:
5350
- newProps = type._init;
5351
- type = newProps(type._payload);
5352
- if (12 === request.status) throw null;
5353
- renderElement(request, task, keyPath, type, props, ref);
5680
+ var init = type._init;
5681
+ var Component = init(type._payload);
5682
+ if (request.aborted) throw null;
5683
+ renderElement(request, task, keyPath, Component, props, ref);
5354
5684
  return;
5355
5685
  }
5356
5686
  throw Error(
@@ -5411,7 +5741,11 @@ function retryNode(request, task) {
5411
5741
  var ref = void 0 !== node ? node : null,
5412
5742
  name = getComponentNameFromType(type),
5413
5743
  keyOrIndex =
5414
- null == key ? (-1 === childIndex ? 0 : childIndex) : key;
5744
+ null == key || key === REACT_OPTIMISTIC_KEY
5745
+ ? -1 === childIndex
5746
+ ? 0
5747
+ : childIndex
5748
+ : key;
5415
5749
  key = [task.keyPath, name, keyOrIndex];
5416
5750
  if (null !== task.replay)
5417
5751
  a: {
@@ -5429,12 +5763,12 @@ function retryNode(request, task) {
5429
5763
  name +
5430
5764
  ">. The tree doesn't match so React will fallback to client rendering."
5431
5765
  );
5432
- var childNodes = node$jscomp$0[2];
5433
- name = node$jscomp$0[3];
5434
- keyOrIndex = task.node;
5766
+ var childNodes = node$jscomp$0[2],
5767
+ childSlots = node$jscomp$0[3],
5768
+ currentNode = task.node;
5435
5769
  task.replay = {
5436
5770
  nodes: childNodes,
5437
- slots: name,
5771
+ slots: childSlots,
5438
5772
  pendingTasks: 1
5439
5773
  };
5440
5774
  try {
@@ -5452,27 +5786,28 @@ function retryNode(request, task) {
5452
5786
  "object" === typeof x &&
5453
5787
  null !== x &&
5454
5788
  (x === SuspenseException ||
5455
- "function" === typeof x.then)
5789
+ "function" === typeof x.then ||
5790
+ "Maximum call stack size exceeded" === x.message)
5456
5791
  )
5457
5792
  throw (
5458
- (task.node === keyOrIndex
5793
+ (task.node === currentNode
5459
5794
  ? (task.replay = replay)
5460
5795
  : childIndex.splice(node, 1),
5461
5796
  x)
5462
5797
  );
5463
5798
  task.replay.pendingTasks--;
5464
- props = getThrownInfo(task.componentStack);
5465
- key = request;
5466
- request = task.blockedBoundary;
5467
- type = x;
5468
- props = logRecoverableError(key, type, props);
5799
+ key = getThrownInfo(task.componentStack);
5800
+ currentNode = request;
5801
+ props = task.blockedBoundary;
5802
+ request = request.aborted ? request.fatalError : x;
5803
+ key = logRecoverableError(currentNode, request, key);
5469
5804
  abortRemainingReplayNodes(
5470
- key,
5471
- request,
5805
+ currentNode,
5806
+ props,
5472
5807
  childNodes,
5473
- name,
5474
- type,
5475
- props
5808
+ childSlots,
5809
+ request,
5810
+ key
5476
5811
  );
5477
5812
  }
5478
5813
  task.replay = replay;
@@ -5484,43 +5819,38 @@ function retryNode(request, task) {
5484
5819
  ">. The tree doesn't match so React will fallback to client rendering."
5485
5820
  );
5486
5821
  b: {
5487
- replay = void 0;
5488
- type = node$jscomp$0[5];
5489
- ref = node$jscomp$0[2];
5490
- name = node$jscomp$0[3];
5491
- keyOrIndex =
5822
+ replay = node$jscomp$0[5];
5823
+ type = node$jscomp$0[2];
5824
+ ref = node$jscomp$0[3];
5825
+ name =
5492
5826
  null === node$jscomp$0[4] ? [] : node$jscomp$0[4][2];
5493
5827
  node$jscomp$0 =
5494
5828
  null === node$jscomp$0[4] ? null : node$jscomp$0[4][3];
5495
- var prevKeyPath = task.keyPath,
5496
- prevContext = task.formatContext,
5829
+ keyOrIndex = task.keyPath;
5830
+ var prevContext = task.formatContext,
5497
5831
  prevRow = task.row,
5498
5832
  previousReplaySet = task.replay,
5499
5833
  parentBoundary = task.blockedBoundary,
5500
5834
  parentHoistableState = task.hoistableState,
5501
- content = props.children,
5502
- fallback = props.fallback,
5503
- fallbackAbortSet = new Set();
5504
- props =
5505
- 2 > task.formatContext.insertionMode
5506
- ? createSuspenseBoundary(
5507
- request,
5508
- task.row,
5509
- fallbackAbortSet,
5510
- createPreambleState(),
5511
- createPreambleState()
5512
- )
5513
- : createSuspenseBoundary(
5514
- request,
5515
- task.row,
5516
- fallbackAbortSet,
5517
- null,
5518
- null
5519
- );
5520
- props.parentFlushed = !0;
5521
- props.rootSegmentID = type;
5522
- task.blockedBoundary = props;
5523
- task.hoistableState = props.contentState;
5835
+ content = props.children;
5836
+ props = props.fallback;
5837
+ var fallbackAbortSet = new Set(),
5838
+ resumedBoundary = createSuspenseBoundary(
5839
+ request,
5840
+ task.row,
5841
+ fallbackAbortSet,
5842
+ 2 > task.formatContext.insertionMode
5843
+ ? {
5844
+ content: createPreambleState(),
5845
+ fallback: createPreambleState()
5846
+ }
5847
+ : null,
5848
+ !1
5849
+ );
5850
+ resumedBoundary.parentFlushed = !0;
5851
+ resumedBoundary.rootSegmentID = replay;
5852
+ task.blockedBoundary = resumedBoundary;
5853
+ task.hoistableState = resumedBoundary.contentState;
5524
5854
  task.keyPath = key;
5525
5855
  task.formatContext = getSuspenseContentFormatContext(
5526
5856
  request.resumableState,
@@ -5528,8 +5858,8 @@ function retryNode(request, task) {
5528
5858
  );
5529
5859
  task.row = null;
5530
5860
  task.replay = {
5531
- nodes: ref,
5532
- slots: name,
5861
+ nodes: type,
5862
+ slots: ref,
5533
5863
  pendingTasks: 1
5534
5864
  };
5535
5865
  try {
@@ -5542,42 +5872,46 @@ function retryNode(request, task) {
5542
5872
  "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
5543
5873
  );
5544
5874
  task.replay.pendingTasks--;
5545
- if (0 === props.pendingTasks && 0 === props.status) {
5546
- props.status = 1;
5547
- request.completedBoundaries.push(props);
5875
+ if (
5876
+ 0 === resumedBoundary.pendingTasks &&
5877
+ 0 === resumedBoundary.status
5878
+ ) {
5879
+ resumedBoundary.status = 1;
5880
+ request.completedBoundaries.push(resumedBoundary);
5548
5881
  break b;
5549
5882
  }
5550
- } catch (error) {
5551
- (props.status = 4),
5552
- (childNodes = getThrownInfo(task.componentStack)),
5553
- (replay = logRecoverableError(
5883
+ } catch (thrownValue) {
5884
+ (resumedBoundary.status = 4),
5885
+ (childNodes = request.aborted
5886
+ ? request.fatalError
5887
+ : thrownValue),
5888
+ (childSlots = getThrownInfo(task.componentStack)),
5889
+ (currentNode = logRecoverableError(
5554
5890
  request,
5555
- error,
5556
- childNodes
5891
+ childNodes,
5892
+ childSlots
5557
5893
  )),
5558
- (props.errorDigest = replay),
5894
+ (resumedBoundary.errorDigest = currentNode),
5559
5895
  task.replay.pendingTasks--,
5560
- request.clientRenderedBoundaries.push(props);
5896
+ request.clientRenderedBoundaries.push(
5897
+ resumedBoundary
5898
+ );
5561
5899
  } finally {
5562
5900
  (task.blockedBoundary = parentBoundary),
5563
5901
  (task.hoistableState = parentHoistableState),
5564
5902
  (task.replay = previousReplaySet),
5565
- (task.keyPath = prevKeyPath),
5903
+ (task.keyPath = keyOrIndex),
5566
5904
  (task.formatContext = prevContext),
5567
5905
  (task.row = prevRow);
5568
5906
  }
5569
5907
  childNodes = createReplayTask(
5570
5908
  request,
5571
5909
  null,
5572
- {
5573
- nodes: keyOrIndex,
5574
- slots: node$jscomp$0,
5575
- pendingTasks: 0
5576
- },
5577
- fallback,
5910
+ { nodes: name, slots: node$jscomp$0, pendingTasks: 0 },
5911
+ props,
5578
5912
  -1,
5579
5913
  parentBoundary,
5580
- props.fallbackState,
5914
+ resumedBoundary.fallbackState,
5581
5915
  fallbackAbortSet,
5582
5916
  [key[0], "Suspense Fallback", key[2]],
5583
5917
  getSuspenseFallbackFormatContext(
@@ -5609,7 +5943,7 @@ function retryNode(request, task) {
5609
5943
  case REACT_LAZY_TYPE:
5610
5944
  childNodes = node._init;
5611
5945
  node = childNodes(node._payload);
5612
- if (12 === request.status) throw null;
5946
+ if (request.aborted) throw null;
5613
5947
  renderNodeDestructive(request, task, node, childIndex);
5614
5948
  return;
5615
5949
  }
@@ -5621,10 +5955,10 @@ function retryNode(request, task) {
5621
5955
  if ((childNodes = childNodes.call(node))) {
5622
5956
  node = childNodes.next();
5623
5957
  if (!node.done) {
5624
- props = [];
5625
- do props.push(node.value), (node = childNodes.next());
5958
+ childSlots = [];
5959
+ do childSlots.push(node.value), (node = childNodes.next());
5626
5960
  while (!node.done);
5627
- renderChildrenArray(request, task, props, childIndex);
5961
+ renderChildrenArray(request, task, childSlots, childIndex);
5628
5962
  }
5629
5963
  return;
5630
5964
  }
@@ -5701,17 +6035,18 @@ function renderChildrenArray(request, task, children, childIndex) {
5701
6035
  )
5702
6036
  throw x;
5703
6037
  task.replay.pendingTasks--;
5704
- children = getThrownInfo(task.componentStack);
5705
- var boundary = task.blockedBoundary,
5706
- error = x;
5707
- children = logRecoverableError(request, error, children);
6038
+ var thrownInfo = getThrownInfo(task.componentStack);
6039
+ children = request;
6040
+ var boundary = task.blockedBoundary;
6041
+ request = request.aborted ? request.fatalError : x;
6042
+ thrownInfo = logRecoverableError(children, request, thrownInfo);
5708
6043
  abortRemainingReplayNodes(
5709
- request,
6044
+ children,
5710
6045
  boundary,
5711
6046
  childIndex,
5712
6047
  node,
5713
- error,
5714
- children
6048
+ request,
6049
+ thrownInfo
5715
6050
  );
5716
6051
  }
5717
6052
  task.replay = replay;
@@ -5750,13 +6085,18 @@ function renderChildrenArray(request, task, children, childIndex) {
5750
6085
  function trackPostponedBoundary(request, trackedPostpones, boundary) {
5751
6086
  boundary.status = 5;
5752
6087
  boundary.rootSegmentID = request.nextSegmentId++;
5753
- request = boundary.trackedContentKeyPath;
6088
+ var tracked = boundary.tracked;
6089
+ if (null === tracked)
6090
+ throw Error(
6091
+ "It should not be possible to postpone at the root. This is a bug in React."
6092
+ );
6093
+ request = tracked.contentKeyPath;
5754
6094
  if (null === request)
5755
6095
  throw Error(
5756
6096
  "It should not be possible to postpone at the root. This is a bug in React."
5757
6097
  );
5758
- var fallbackReplayNode = boundary.trackedFallbackNode,
5759
- children = [],
6098
+ tracked = tracked.fallbackNode;
6099
+ var children = [],
5760
6100
  boundaryNode = trackedPostpones.workingMap.get(request);
5761
6101
  if (void 0 === boundaryNode)
5762
6102
  return (
@@ -5765,14 +6105,14 @@ function trackPostponedBoundary(request, trackedPostpones, boundary) {
5765
6105
  request[2],
5766
6106
  children,
5767
6107
  null,
5768
- fallbackReplayNode,
6108
+ tracked,
5769
6109
  boundary.rootSegmentID
5770
6110
  ]),
5771
6111
  trackedPostpones.workingMap.set(request, boundary),
5772
6112
  addToReplayParent(boundary, request[0], trackedPostpones),
5773
6113
  boundary
5774
6114
  );
5775
- boundaryNode[4] = fallbackReplayNode;
6115
+ boundaryNode[4] = tracked;
5776
6116
  boundaryNode[5] = boundary.rootSegmentID;
5777
6117
  return boundaryNode;
5778
6118
  }
@@ -5793,7 +6133,8 @@ function trackPostpone(request, trackedPostpones, task, segment) {
5793
6133
  boundary
5794
6134
  );
5795
6135
  if (
5796
- boundary.trackedContentKeyPath === keyPath &&
6136
+ null !== boundary.tracked &&
6137
+ boundary.tracked.contentKeyPath === keyPath &&
5797
6138
  -1 === task.childIndex
5798
6139
  ) {
5799
6140
  -1 === segment.id &&
@@ -5849,11 +6190,13 @@ function trackPostpone(request, trackedPostpones, task, segment) {
5849
6190
  function untrackBoundary(request, boundary) {
5850
6191
  request = request.trackedPostpones;
5851
6192
  null !== request &&
5852
- ((boundary = boundary.trackedContentKeyPath),
6193
+ ((boundary = boundary.tracked),
5853
6194
  null !== boundary &&
5854
- ((boundary = request.workingMap.get(boundary)),
5855
- void 0 !== boundary &&
5856
- ((boundary.length = 4), (boundary[2] = []), (boundary[3] = null))));
6195
+ ((boundary = boundary.contentKeyPath),
6196
+ null !== boundary &&
6197
+ ((request = request.workingMap.get(boundary)),
6198
+ void 0 !== request &&
6199
+ ((request.length = 4), (request[2] = []), (request[3] = null)))));
5857
6200
  }
5858
6201
  function spawnNewSuspendedReplayTask(request, task, thenableState) {
5859
6202
  return createReplayTask(
@@ -5921,7 +6264,7 @@ function renderNode(request, task, node, childIndex) {
5921
6264
  thrownValue === SuspenseException
5922
6265
  ? getSuspendedThenable()
5923
6266
  : thrownValue),
5924
- 12 !== request.status && "object" === typeof node && null !== node)
6267
+ !request.aborted && "object" === typeof node && null !== node)
5925
6268
  ) {
5926
6269
  if ("function" === typeof node.then) {
5927
6270
  childIndex =
@@ -5929,7 +6272,7 @@ function renderNode(request, task, node, childIndex) {
5929
6272
  ? getThenableStateAfterSuspending()
5930
6273
  : null;
5931
6274
  request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
5932
- node.then(request, request);
6275
+ node.then(request.resolve, request.reject);
5933
6276
  task.formatContext = previousFormatContext;
5934
6277
  task.context = previousContext;
5935
6278
  task.keyPath = previousKeyPath;
@@ -5962,25 +6305,25 @@ function renderNode(request, task, node, childIndex) {
5962
6305
  chunkLength = segment.chunks.length;
5963
6306
  try {
5964
6307
  return renderNodeDestructive(request, task, node, childIndex);
5965
- } catch (thrownValue$63) {
6308
+ } catch (thrownValue$64) {
5966
6309
  if (
5967
6310
  (resetHooksState(),
5968
6311
  (segment.children.length = childrenLength),
5969
6312
  (segment.chunks.length = chunkLength),
5970
6313
  (node =
5971
- thrownValue$63 === SuspenseException
6314
+ thrownValue$64 === SuspenseException
5972
6315
  ? getSuspendedThenable()
5973
- : thrownValue$63),
5974
- 12 !== request.status && "object" === typeof node && null !== node)
6316
+ : thrownValue$64),
6317
+ !request.aborted && "object" === typeof node && null !== node)
5975
6318
  ) {
5976
6319
  if ("function" === typeof node.then) {
5977
6320
  segment = node;
5978
6321
  node =
5979
- thrownValue$63 === SuspenseException
6322
+ thrownValue$64 === SuspenseException
5980
6323
  ? getThenableStateAfterSuspending()
5981
6324
  : null;
5982
6325
  request = spawnNewSuspendedRenderTask(request, task, node).ping;
5983
- segment.then(request, request);
6326
+ segment.then(request.resolve, request.reject);
5984
6327
  task.formatContext = previousFormatContext;
5985
6328
  task.context = previousContext;
5986
6329
  task.keyPath = previousKeyPath;
@@ -5991,7 +6334,7 @@ function renderNode(request, task, node, childIndex) {
5991
6334
  }
5992
6335
  if ("Maximum call stack size exceeded" === node.message) {
5993
6336
  segment =
5994
- thrownValue$63 === SuspenseException
6337
+ thrownValue$64 === SuspenseException
5995
6338
  ? getThenableStateAfterSuspending()
5996
6339
  : null;
5997
6340
  segment = spawnNewSuspendedRenderTask(request, task, segment);
@@ -6048,7 +6391,7 @@ function abortRemainingReplayNodes(
6048
6391
  null,
6049
6392
  new Set(),
6050
6393
  null,
6051
- null
6394
+ !1
6052
6395
  );
6053
6396
  resumedBoundary.parentFlushed = !0;
6054
6397
  resumedBoundary.rootSegmentID = node;
@@ -6072,78 +6415,104 @@ function abortRemainingReplayNodes(
6072
6415
  if ("object" === typeof slots) for (var index in slots) delete slots[index];
6073
6416
  }
6074
6417
  }
6075
- function abortTask(task, request, error) {
6076
- var boundary = task.blockedBoundary,
6077
- segment = task.blockedSegment;
6078
- if (null !== segment) {
6079
- if (6 === segment.status) return;
6080
- segment.status = 3;
6418
+ function abortTask(task, request) {
6419
+ if (task !== request.currentTask) {
6420
+ var boundary = task.blockedBoundary;
6421
+ task = task.blockedSegment;
6422
+ null !== task && (task.status = 3);
6423
+ null !== boundary &&
6424
+ boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6425
+ return abortTask(fallbackTask, request);
6426
+ });
6081
6427
  }
6082
- var errorInfo = getThrownInfo(task.componentStack);
6083
- if (null === boundary) {
6084
- if (13 !== request.status && 14 !== request.status) {
6085
- boundary = task.replay;
6428
+ }
6429
+ function finishAbortedTask(task, request, error) {
6430
+ if (task !== request.currentTask) {
6431
+ var boundary = task.blockedBoundary,
6432
+ segment = task.blockedSegment;
6433
+ if (null === segment || 3 === segment.status) {
6434
+ var errorInfo = getThrownInfo(task.componentStack),
6435
+ isRecoverableReason = isRecoverableError(error);
6086
6436
  if (null === boundary) {
6087
- null !== request.trackedPostpones && null !== segment
6088
- ? ((boundary = request.trackedPostpones),
6089
- logRecoverableError(request, error, errorInfo),
6090
- trackPostpone(request, boundary, task, segment),
6091
- finishedTask(request, null, task.row, segment))
6092
- : (logRecoverableError(request, error, errorInfo),
6093
- fatalError(request, error));
6094
- return;
6437
+ boundary = task.replay;
6438
+ if (null === boundary) {
6439
+ isRecoverableReason ||
6440
+ null === request.trackedPostpones ||
6441
+ null === segment
6442
+ ? isRecoverableReason
6443
+ ? ((task = cloneRecoverableErrorAsFatal(error)),
6444
+ logRecoverableError(request, task, errorInfo),
6445
+ 12 !== request.status &&
6446
+ 13 !== request.status &&
6447
+ fatalError(request, task))
6448
+ : (logRecoverableError(request, error, errorInfo),
6449
+ 12 !== request.status &&
6450
+ 13 !== request.status &&
6451
+ fatalError(request, error))
6452
+ : ((boundary = request.trackedPostpones),
6453
+ logRecoverableError(request, error, errorInfo),
6454
+ trackPostpone(request, boundary, task, segment),
6455
+ finishedTask(request, null, task.row, segment));
6456
+ return;
6457
+ }
6458
+ 12 !== request.status &&
6459
+ 13 !== request.status &&
6460
+ (boundary.pendingTasks--,
6461
+ 0 === boundary.pendingTasks &&
6462
+ 0 < boundary.nodes.length &&
6463
+ ((errorInfo = logRecoverableError(request, error, errorInfo)),
6464
+ abortRemainingReplayNodes(
6465
+ request,
6466
+ null,
6467
+ boundary.nodes,
6468
+ boundary.slots,
6469
+ error,
6470
+ errorInfo
6471
+ )),
6472
+ request.pendingRootTasks--,
6473
+ 0 === request.pendingRootTasks && completeShell(request));
6474
+ } else {
6475
+ var trackedPostpones$65 = request.trackedPostpones;
6476
+ if (4 !== boundary.status) {
6477
+ if (
6478
+ !isRecoverableReason &&
6479
+ null !== trackedPostpones$65 &&
6480
+ null !== segment
6481
+ )
6482
+ return (
6483
+ logRecoverableError(request, error, errorInfo),
6484
+ trackPostpone(request, trackedPostpones$65, task, segment),
6485
+ boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6486
+ return finishAbortedTask(fallbackTask, request, error);
6487
+ }),
6488
+ boundary.fallbackAbortableTasks.clear(),
6489
+ finishedTask(request, boundary, task.row, segment)
6490
+ );
6491
+ boundary.status = 4;
6492
+ errorInfo = logRecoverableError(request, error, errorInfo);
6493
+ boundary.errorDigest = errorInfo;
6494
+ untrackBoundary(request, boundary);
6495
+ boundary.parentFlushed &&
6496
+ request.clientRenderedBoundaries.push(boundary);
6497
+ }
6498
+ boundary.pendingTasks--;
6499
+ errorInfo = boundary.row;
6500
+ null !== errorInfo &&
6501
+ 0 === --errorInfo.pendingTasks &&
6502
+ finishSuspenseListRow(request, errorInfo);
6503
+ boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6504
+ return finishAbortedTask(fallbackTask, request, error);
6505
+ });
6506
+ boundary.fallbackAbortableTasks.clear();
6095
6507
  }
6096
- boundary.pendingTasks--;
6097
- 0 === boundary.pendingTasks &&
6098
- 0 < boundary.nodes.length &&
6099
- ((segment = logRecoverableError(request, error, errorInfo)),
6100
- abortRemainingReplayNodes(
6101
- request,
6102
- null,
6103
- boundary.nodes,
6104
- boundary.slots,
6105
- error,
6106
- segment
6107
- ));
6108
- request.pendingRootTasks--;
6109
- 0 === request.pendingRootTasks && completeShell(request);
6508
+ task = task.row;
6509
+ null !== task &&
6510
+ 0 === --task.pendingTasks &&
6511
+ finishSuspenseListRow(request, task);
6512
+ request.allPendingTasks--;
6513
+ 0 === request.allPendingTasks && completeAll(request);
6110
6514
  }
6111
- } else {
6112
- var trackedPostpones$64 = request.trackedPostpones;
6113
- if (4 !== boundary.status) {
6114
- if (null !== trackedPostpones$64 && null !== segment)
6115
- return (
6116
- logRecoverableError(request, error, errorInfo),
6117
- trackPostpone(request, trackedPostpones$64, task, segment),
6118
- boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6119
- return abortTask(fallbackTask, request, error);
6120
- }),
6121
- boundary.fallbackAbortableTasks.clear(),
6122
- finishedTask(request, boundary, task.row, segment)
6123
- );
6124
- boundary.status = 4;
6125
- segment = logRecoverableError(request, error, errorInfo);
6126
- boundary.status = 4;
6127
- boundary.errorDigest = segment;
6128
- untrackBoundary(request, boundary);
6129
- boundary.parentFlushed && request.clientRenderedBoundaries.push(boundary);
6130
- }
6131
- boundary.pendingTasks--;
6132
- segment = boundary.row;
6133
- null !== segment &&
6134
- 0 === --segment.pendingTasks &&
6135
- finishSuspenseListRow(request, segment);
6136
- boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6137
- return abortTask(fallbackTask, request, error);
6138
- });
6139
- boundary.fallbackAbortableTasks.clear();
6140
6515
  }
6141
- task = task.row;
6142
- null !== task &&
6143
- 0 === --task.pendingTasks &&
6144
- finishSuspenseListRow(request, task);
6145
- request.allPendingTasks--;
6146
- 0 === request.allPendingTasks && completeAll(request);
6147
6516
  }
6148
6517
  function safelyEmitEarlyPreloads(request, shellComplete) {
6149
6518
  try {
@@ -6209,7 +6578,6 @@ function safelyEmitEarlyPreloads(request, shellComplete) {
6209
6578
  function completeShell(request) {
6210
6579
  null === request.trackedPostpones && safelyEmitEarlyPreloads(request, !0);
6211
6580
  null === request.trackedPostpones && preparePreamble(request);
6212
- request.onShellError = noop;
6213
6581
  request = request.onShellReady;
6214
6582
  request();
6215
6583
  }
@@ -6282,14 +6650,16 @@ function finishedTask(request, boundary, row, segment) {
6282
6650
  null !== row &&
6283
6651
  hoistHoistables(row.hoistables, boundary.contentState),
6284
6652
  isEligibleForOutlining(request, boundary) ||
6285
- (boundary.fallbackAbortableTasks.forEach(abortTaskSoft, request),
6653
+ (request.allPendingTasks++,
6654
+ boundary.fallbackAbortableTasks.forEach(abortTaskSoft, request),
6286
6655
  boundary.fallbackAbortableTasks.clear(),
6287
6656
  null !== row &&
6288
6657
  0 === --row.pendingTasks &&
6289
- finishSuspenseListRow(request, row)),
6658
+ finishSuspenseListRow(request, row),
6659
+ request.allPendingTasks--),
6290
6660
  0 === request.pendingRootTasks &&
6291
6661
  null === request.trackedPostpones &&
6292
- null !== boundary.contentPreamble &&
6662
+ null !== boundary.preamble &&
6293
6663
  preparePreamble(request);
6294
6664
  else {
6295
6665
  if (
@@ -6313,8 +6683,10 @@ function finishedTask(request, boundary, row, segment) {
6313
6683
  finishedTask(request, postponedBoundary, null, null);
6314
6684
  }
6315
6685
  }
6686
+ request.allPendingTasks++;
6316
6687
  0 === --boundary.pendingTasks &&
6317
6688
  finishSuspenseListRow(request, boundary);
6689
+ request.allPendingTasks--;
6318
6690
  }
6319
6691
  }
6320
6692
  else
@@ -6331,209 +6703,257 @@ function finishedTask(request, boundary, row, segment) {
6331
6703
  tryToResolveTogetherRow(request, boundary);
6332
6704
  0 === request.allPendingTasks && completeAll(request);
6333
6705
  }
6334
- function performWork(request$jscomp$2) {
6335
- if (14 !== request$jscomp$2.status && 13 !== request$jscomp$2.status) {
6706
+ function performWork(request$jscomp$1) {
6707
+ if (!(request$jscomp$1.aborted || 11 < request$jscomp$1.status)) {
6336
6708
  var prevContext = currentActiveSnapshot,
6337
6709
  prevDispatcher = ReactSharedInternals.H;
6338
6710
  ReactSharedInternals.H = HooksDispatcher;
6339
6711
  var prevAsyncDispatcher = ReactSharedInternals.A;
6340
6712
  ReactSharedInternals.A = DefaultAsyncDispatcher;
6341
6713
  var prevRequest = currentRequest;
6342
- currentRequest = request$jscomp$2;
6714
+ currentRequest = request$jscomp$1;
6343
6715
  var prevResumableState = currentResumableState;
6344
- currentResumableState = request$jscomp$2.resumableState;
6716
+ currentResumableState = request$jscomp$1.resumableState;
6345
6717
  try {
6346
- var pingedTasks = request$jscomp$2.pingedTasks,
6718
+ var pingedTasks = request$jscomp$1.pingedTasks,
6347
6719
  i;
6348
6720
  for (i = 0; i < pingedTasks.length; i++) {
6349
6721
  var task = pingedTasks[i],
6350
- request = request$jscomp$2,
6722
+ request = request$jscomp$1,
6351
6723
  segment = task.blockedSegment;
6352
- if (null === segment) {
6353
- var request$jscomp$0 = request;
6354
- if (0 !== task.replay.pendingTasks) {
6724
+ if (null === segment)
6725
+ a: {
6726
+ if (0 !== task.replay.pendingTasks) {
6727
+ var prevTask = request.currentTask;
6728
+ request.currentTask = task;
6729
+ switchContext(task.context);
6730
+ var startNode = task.node;
6731
+ try {
6732
+ "number" === typeof task.replay.slots
6733
+ ? resumeNode(
6734
+ request,
6735
+ task,
6736
+ task.replay.slots,
6737
+ task.node,
6738
+ task.childIndex
6739
+ )
6740
+ : retryNode(request, task);
6741
+ if (
6742
+ 1 === task.replay.pendingTasks &&
6743
+ 0 < task.replay.nodes.length
6744
+ )
6745
+ throw Error(
6746
+ "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
6747
+ );
6748
+ task.replay.pendingTasks--;
6749
+ task.abortSet.delete(task);
6750
+ finishedTask(request, task.blockedBoundary, task.row, null);
6751
+ } catch (thrownValue) {
6752
+ resetHooksState();
6753
+ var x =
6754
+ thrownValue === SuspenseException
6755
+ ? getSuspendedThenable()
6756
+ : thrownValue;
6757
+ if (request.aborted) {
6758
+ thrownValue === SuspenseException &&
6759
+ (task.thenableState = getThenableStateAfterSuspending());
6760
+ request.currentTask = prevTask;
6761
+ var request$jscomp$0 = request;
6762
+ abortTask(task, request$jscomp$0);
6763
+ task.abortSet.delete(task);
6764
+ finishAbortedTask(
6765
+ task,
6766
+ request$jscomp$0,
6767
+ request$jscomp$0.fatalError
6768
+ );
6769
+ } else {
6770
+ if ("object" === typeof x && null !== x) {
6771
+ if ("function" === typeof x.then) {
6772
+ var ping = task.ping;
6773
+ x.then(ping.resolve, ping.reject);
6774
+ task.thenableState =
6775
+ thrownValue === SuspenseException
6776
+ ? getThenableStateAfterSuspending()
6777
+ : null;
6778
+ break a;
6779
+ }
6780
+ if (
6781
+ "Maximum call stack size exceeded" === x.message &&
6782
+ task.node !== startNode
6783
+ ) {
6784
+ task.thenableState = null;
6785
+ request.pingedTasks.push(task);
6786
+ break a;
6787
+ }
6788
+ }
6789
+ task.replay.pendingTasks--;
6790
+ task.abortSet.delete(task);
6791
+ var errorInfo = getThrownInfo(task.componentStack);
6792
+ request$jscomp$0 = request;
6793
+ var boundary = task.blockedBoundary,
6794
+ error$jscomp$0 = request.aborted ? request.fatalError : x,
6795
+ replayNodes = task.replay.nodes,
6796
+ resumeSlots = task.replay.slots,
6797
+ errorDigest = logRecoverableError(
6798
+ request$jscomp$0,
6799
+ error$jscomp$0,
6800
+ errorInfo
6801
+ );
6802
+ abortRemainingReplayNodes(
6803
+ request$jscomp$0,
6804
+ boundary,
6805
+ replayNodes,
6806
+ resumeSlots,
6807
+ error$jscomp$0,
6808
+ errorDigest
6809
+ );
6810
+ request.pendingRootTasks--;
6811
+ 0 === request.pendingRootTasks && completeShell(request);
6812
+ request.allPendingTasks--;
6813
+ 0 === request.allPendingTasks && completeAll(request);
6814
+ }
6815
+ } finally {
6816
+ request.currentTask = prevTask;
6817
+ }
6818
+ }
6819
+ }
6820
+ else
6821
+ a: if (
6822
+ ((request$jscomp$0 = segment), 0 === request$jscomp$0.status)
6823
+ ) {
6824
+ var prevTask$jscomp$0 = request.currentTask;
6825
+ request.currentTask = task;
6355
6826
  switchContext(task.context);
6827
+ var childrenLength = request$jscomp$0.children.length,
6828
+ chunkLength = request$jscomp$0.chunks.length,
6829
+ startNode$jscomp$0 = task.node;
6356
6830
  try {
6357
- "number" === typeof task.replay.slots
6358
- ? resumeNode(
6359
- request$jscomp$0,
6360
- task,
6361
- task.replay.slots,
6362
- task.node,
6363
- task.childIndex
6364
- )
6365
- : retryNode(request$jscomp$0, task);
6366
- if (
6367
- 1 === task.replay.pendingTasks &&
6368
- 0 < task.replay.nodes.length
6369
- )
6370
- throw Error(
6371
- "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
6831
+ retryNode(request, task),
6832
+ request$jscomp$0.lastPushedText &&
6833
+ request$jscomp$0.textEmbedded &&
6834
+ request$jscomp$0.chunks.push(textSeparator),
6835
+ task.abortSet.delete(task),
6836
+ (request$jscomp$0.status = 1),
6837
+ finishedSegment(
6838
+ request,
6839
+ task.blockedBoundary,
6840
+ request$jscomp$0
6841
+ ),
6842
+ finishedTask(
6843
+ request,
6844
+ task.blockedBoundary,
6845
+ task.row,
6846
+ request$jscomp$0
6372
6847
  );
6373
- task.replay.pendingTasks--;
6374
- task.abortSet.delete(task);
6375
- finishedTask(
6376
- request$jscomp$0,
6377
- task.blockedBoundary,
6378
- task.row,
6379
- null
6380
- );
6381
6848
  } catch (thrownValue) {
6382
6849
  resetHooksState();
6383
- var x =
6850
+ request$jscomp$0.children.length = childrenLength;
6851
+ request$jscomp$0.chunks.length = chunkLength;
6852
+ var x$jscomp$0 =
6384
6853
  thrownValue === SuspenseException
6385
6854
  ? getSuspendedThenable()
6386
6855
  : thrownValue;
6387
- if (
6388
- "object" === typeof x &&
6389
- null !== x &&
6390
- "function" === typeof x.then
6391
- ) {
6392
- var ping = task.ping;
6393
- x.then(ping, ping);
6394
- task.thenableState =
6395
- thrownValue === SuspenseException
6396
- ? getThenableStateAfterSuspending()
6397
- : null;
6398
- } else {
6399
- task.replay.pendingTasks--;
6856
+ if (request.aborted)
6857
+ thrownValue === SuspenseException &&
6858
+ (task.thenableState = getThenableStateAfterSuspending()),
6859
+ (request.currentTask = prevTask$jscomp$0),
6860
+ (request$jscomp$0 = request),
6861
+ abortTask(task, request$jscomp$0),
6862
+ task.abortSet.delete(task),
6863
+ finishAbortedTask(
6864
+ task,
6865
+ request$jscomp$0,
6866
+ request$jscomp$0.fatalError
6867
+ );
6868
+ else {
6869
+ if ("object" === typeof x$jscomp$0 && null !== x$jscomp$0) {
6870
+ if ("function" === typeof x$jscomp$0.then) {
6871
+ request$jscomp$0.status = 0;
6872
+ task.thenableState =
6873
+ thrownValue === SuspenseException
6874
+ ? getThenableStateAfterSuspending()
6875
+ : null;
6876
+ var ping$jscomp$0 = task.ping;
6877
+ x$jscomp$0.then(
6878
+ ping$jscomp$0.resolve,
6879
+ ping$jscomp$0.reject
6880
+ );
6881
+ break a;
6882
+ }
6883
+ if (
6884
+ "Maximum call stack size exceeded" === x$jscomp$0.message &&
6885
+ task.node !== startNode$jscomp$0
6886
+ ) {
6887
+ request$jscomp$0.status = 0;
6888
+ task.thenableState = null;
6889
+ request.pingedTasks.push(task);
6890
+ break a;
6891
+ }
6892
+ }
6893
+ var errorInfo$jscomp$0 = getThrownInfo(task.componentStack);
6400
6894
  task.abortSet.delete(task);
6401
- var errorInfo = getThrownInfo(task.componentStack);
6402
- request = void 0;
6403
- var request$jscomp$1 = request$jscomp$0,
6404
- boundary = task.blockedBoundary,
6405
- error$jscomp$0 =
6406
- 12 === request$jscomp$0.status
6407
- ? request$jscomp$0.fatalError
6408
- : x,
6409
- replayNodes = task.replay.nodes,
6410
- resumeSlots = task.replay.slots;
6411
- request = logRecoverableError(
6412
- request$jscomp$1,
6413
- error$jscomp$0,
6414
- errorInfo
6415
- );
6416
- abortRemainingReplayNodes(
6417
- request$jscomp$1,
6418
- boundary,
6419
- replayNodes,
6420
- resumeSlots,
6421
- error$jscomp$0,
6422
- request
6423
- );
6424
- request$jscomp$0.pendingRootTasks--;
6425
- 0 === request$jscomp$0.pendingRootTasks &&
6426
- completeShell(request$jscomp$0);
6427
- request$jscomp$0.allPendingTasks--;
6428
- 0 === request$jscomp$0.allPendingTasks &&
6429
- completeAll(request$jscomp$0);
6895
+ request$jscomp$0.status = 4;
6896
+ var boundary$jscomp$0 = task.blockedBoundary,
6897
+ row = task.row;
6898
+ null !== row &&
6899
+ 0 === --row.pendingTasks &&
6900
+ finishSuspenseListRow(request, row);
6901
+ request.allPendingTasks--;
6902
+ if (null === boundary$jscomp$0)
6903
+ if (isRecoverableError(x$jscomp$0)) {
6904
+ var fatalRecoverableError =
6905
+ cloneRecoverableErrorAsFatal(x$jscomp$0);
6906
+ logRecoverableError(
6907
+ request,
6908
+ fatalRecoverableError,
6909
+ errorInfo$jscomp$0
6910
+ );
6911
+ fatalError(request, fatalRecoverableError);
6912
+ } else
6913
+ logRecoverableError(
6914
+ request,
6915
+ x$jscomp$0,
6916
+ errorInfo$jscomp$0
6917
+ ),
6918
+ fatalError(request, x$jscomp$0);
6919
+ else {
6920
+ var errorDigest$jscomp$0 = logRecoverableError(
6921
+ request,
6922
+ x$jscomp$0,
6923
+ errorInfo$jscomp$0
6924
+ );
6925
+ boundary$jscomp$0.pendingTasks--;
6926
+ if (4 !== boundary$jscomp$0.status) {
6927
+ boundary$jscomp$0.status = 4;
6928
+ boundary$jscomp$0.errorDigest = errorDigest$jscomp$0;
6929
+ untrackBoundary(request, boundary$jscomp$0);
6930
+ var boundaryRow = boundary$jscomp$0.row;
6931
+ null !== boundaryRow &&
6932
+ (request.allPendingTasks++,
6933
+ 0 === --boundaryRow.pendingTasks &&
6934
+ finishSuspenseListRow(request, boundaryRow),
6935
+ request.allPendingTasks--);
6936
+ boundary$jscomp$0.parentFlushed &&
6937
+ request.clientRenderedBoundaries.push(boundary$jscomp$0);
6938
+ 0 === request.pendingRootTasks &&
6939
+ null === request.trackedPostpones &&
6940
+ null !== boundary$jscomp$0.preamble &&
6941
+ preparePreamble(request);
6942
+ }
6943
+ 0 === request.allPendingTasks && completeAll(request);
6944
+ }
6430
6945
  }
6431
6946
  } finally {
6947
+ request.currentTask = prevTask$jscomp$0;
6432
6948
  }
6433
6949
  }
6434
- } else if (
6435
- ((request$jscomp$0 = void 0),
6436
- (request$jscomp$1 = segment),
6437
- 0 === request$jscomp$1.status)
6438
- ) {
6439
- request$jscomp$1.status = 6;
6440
- switchContext(task.context);
6441
- var childrenLength = request$jscomp$1.children.length,
6442
- chunkLength = request$jscomp$1.chunks.length;
6443
- try {
6444
- retryNode(request, task),
6445
- request$jscomp$1.lastPushedText &&
6446
- request$jscomp$1.textEmbedded &&
6447
- request$jscomp$1.chunks.push(textSeparator),
6448
- task.abortSet.delete(task),
6449
- (request$jscomp$1.status = 1),
6450
- finishedSegment(request, task.blockedBoundary, request$jscomp$1),
6451
- finishedTask(
6452
- request,
6453
- task.blockedBoundary,
6454
- task.row,
6455
- request$jscomp$1
6456
- );
6457
- } catch (thrownValue) {
6458
- resetHooksState();
6459
- request$jscomp$1.children.length = childrenLength;
6460
- request$jscomp$1.chunks.length = chunkLength;
6461
- var x$jscomp$0 =
6462
- thrownValue === SuspenseException
6463
- ? getSuspendedThenable()
6464
- : 12 === request.status
6465
- ? request.fatalError
6466
- : thrownValue;
6467
- if (12 === request.status && null !== request.trackedPostpones) {
6468
- var trackedPostpones = request.trackedPostpones,
6469
- thrownInfo = getThrownInfo(task.componentStack);
6470
- task.abortSet.delete(task);
6471
- logRecoverableError(request, x$jscomp$0, thrownInfo);
6472
- trackPostpone(request, trackedPostpones, task, request$jscomp$1);
6473
- finishedTask(
6474
- request,
6475
- task.blockedBoundary,
6476
- task.row,
6477
- request$jscomp$1
6478
- );
6479
- } else if (
6480
- "object" === typeof x$jscomp$0 &&
6481
- null !== x$jscomp$0 &&
6482
- "function" === typeof x$jscomp$0.then
6483
- ) {
6484
- request$jscomp$1.status = 0;
6485
- task.thenableState =
6486
- thrownValue === SuspenseException
6487
- ? getThenableStateAfterSuspending()
6488
- : null;
6489
- var ping$jscomp$0 = task.ping;
6490
- x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
6491
- } else {
6492
- var errorInfo$jscomp$0 = getThrownInfo(task.componentStack);
6493
- task.abortSet.delete(task);
6494
- request$jscomp$1.status = 4;
6495
- var boundary$jscomp$0 = task.blockedBoundary,
6496
- row = task.row;
6497
- null !== row &&
6498
- 0 === --row.pendingTasks &&
6499
- finishSuspenseListRow(request, row);
6500
- request.allPendingTasks--;
6501
- request$jscomp$0 = logRecoverableError(
6502
- request,
6503
- x$jscomp$0,
6504
- errorInfo$jscomp$0
6505
- );
6506
- if (null === boundary$jscomp$0) fatalError(request, x$jscomp$0);
6507
- else if (
6508
- (boundary$jscomp$0.pendingTasks--,
6509
- 4 !== boundary$jscomp$0.status)
6510
- ) {
6511
- boundary$jscomp$0.status = 4;
6512
- boundary$jscomp$0.errorDigest = request$jscomp$0;
6513
- untrackBoundary(request, boundary$jscomp$0);
6514
- var boundaryRow = boundary$jscomp$0.row;
6515
- null !== boundaryRow &&
6516
- 0 === --boundaryRow.pendingTasks &&
6517
- finishSuspenseListRow(request, boundaryRow);
6518
- boundary$jscomp$0.parentFlushed &&
6519
- request.clientRenderedBoundaries.push(boundary$jscomp$0);
6520
- 0 === request.pendingRootTasks &&
6521
- null === request.trackedPostpones &&
6522
- null !== boundary$jscomp$0.contentPreamble &&
6523
- preparePreamble(request);
6524
- }
6525
- 0 === request.allPendingTasks && completeAll(request);
6526
- }
6527
- } finally {
6528
- }
6529
- }
6530
6950
  }
6531
6951
  pingedTasks.splice(0, i);
6532
- null !== request$jscomp$2.destination &&
6533
- flushCompletedQueues(request$jscomp$2, request$jscomp$2.destination);
6952
+ null !== request$jscomp$1.destination &&
6953
+ flushCompletedQueues(request$jscomp$1, request$jscomp$1.destination);
6534
6954
  } catch (error) {
6535
- logRecoverableError(request$jscomp$2, error, {}),
6536
- fatalError(request$jscomp$2, error);
6955
+ logRecoverableError(request$jscomp$1, error, {}),
6956
+ fatalError(request$jscomp$1, error);
6537
6957
  } finally {
6538
6958
  (currentResumableState = prevResumableState),
6539
6959
  (ReactSharedInternals.H = prevDispatcher),
@@ -6571,12 +6991,11 @@ function preparePreambleFromSegment(
6571
6991
  segment,
6572
6992
  collectedPreambleSegments
6573
6993
  );
6574
- var preamble = boundary.contentPreamble,
6575
- fallbackPreamble = boundary.fallbackPreamble;
6576
- if (null === preamble || null === fallbackPreamble) return !1;
6994
+ var preamble = boundary.preamble;
6995
+ if (null === preamble) return !1;
6577
6996
  switch (boundary.status) {
6578
6997
  case 1:
6579
- hoistPreambleState(request.renderState, preamble);
6998
+ hoistPreambleState(request.renderState, preamble.content);
6580
6999
  request.byteSize += boundary.byteSize;
6581
7000
  segment = boundary.completedSegments[0];
6582
7001
  if (!segment)
@@ -6593,7 +7012,7 @@ function preparePreambleFromSegment(
6593
7012
  case 4:
6594
7013
  if (1 === segment.status)
6595
7014
  return (
6596
- hoistPreambleState(request.renderState, fallbackPreamble),
7015
+ hoistPreambleState(request.renderState, preamble.fallback),
6597
7016
  preparePreambleFromSubtree(
6598
7017
  request,
6599
7018
  segment,
@@ -6668,6 +7087,7 @@ function flushSegment(request, destination, segment, hoistableState) {
6668
7087
  var boundary = segment.boundary;
6669
7088
  if (null === boundary)
6670
7089
  return flushSubtree(request, destination, segment, hoistableState);
7090
+ segment.boundary = null;
6671
7091
  boundary.parentFlushed = !0;
6672
7092
  if (4 === boundary.status) {
6673
7093
  var row = boundary.row;
@@ -6677,7 +7097,7 @@ function flushSegment(request, destination, segment, hoistableState) {
6677
7097
  boundary = boundary.errorDigest;
6678
7098
  writeChunkAndReturn(destination, startClientRenderedSuspenseBoundary);
6679
7099
  writeChunk(destination, clientRenderedSuspenseBoundaryError1);
6680
- boundary &&
7100
+ null != boundary &&
6681
7101
  (writeChunk(destination, clientRenderedSuspenseBoundaryError1A),
6682
7102
  writeChunk(destination, stringToChunk(escapeTextForBrowser(boundary))),
6683
7103
  writeChunk(
@@ -6701,7 +7121,8 @@ function flushSegment(request, destination, segment, hoistableState) {
6701
7121
  !flushingPartialBoundaries &&
6702
7122
  isEligibleForOutlining(request, boundary) &&
6703
7123
  (flushedByteSize + boundary.byteSize > request.progressiveChunkSize ||
6704
- hasSuspenseyContent(boundary.contentState))
7124
+ hasSuspenseyContent(boundary.contentState, flushingShell) ||
7125
+ boundary.defer)
6705
7126
  )
6706
7127
  (boundary.rootSegmentID = request.nextSegmentId++),
6707
7128
  request.completedBoundaries.push(boundary),
@@ -6767,7 +7188,8 @@ function flushCompletedBoundary(request, destination, boundary) {
6767
7188
  request = request.renderState;
6768
7189
  i = boundary.rootSegmentID;
6769
7190
  boundary = boundary.contentState;
6770
- var requiresStyleInsertion = request.stylesToHoist;
7191
+ var requiresStyleInsertion = request.stylesToHoist,
7192
+ requiresViewTransitions = 0 !== (completedSegments.instructions & 128);
6771
7193
  request.stylesToHoist = !1;
6772
7194
  writeChunk(destination, request.startInlineScript);
6773
7195
  writeChunk(destination, endOfStartTag);
@@ -6778,6 +7200,13 @@ function flushCompletedBoundary(request, destination, boundary) {
6778
7200
  0 === (completedSegments.instructions & 2) &&
6779
7201
  ((completedSegments.instructions |= 2),
6780
7202
  writeChunk(destination, completeBoundaryScriptFunctionOnly)),
7203
+ requiresViewTransitions &&
7204
+ 0 === (completedSegments.instructions & 256) &&
7205
+ ((completedSegments.instructions |= 256),
7206
+ writeChunk(
7207
+ destination,
7208
+ completeBoundaryUpgradeToViewTransitionsInstruction
7209
+ )),
6781
7210
  0 === (completedSegments.instructions & 8)
6782
7211
  ? ((completedSegments.instructions |= 8),
6783
7212
  writeChunk(destination, completeBoundaryWithStylesScript1FullPartial))
@@ -6785,6 +7214,13 @@ function flushCompletedBoundary(request, destination, boundary) {
6785
7214
  : (0 === (completedSegments.instructions & 2) &&
6786
7215
  ((completedSegments.instructions |= 2),
6787
7216
  writeChunk(destination, completeBoundaryScriptFunctionOnly)),
7217
+ requiresViewTransitions &&
7218
+ 0 === (completedSegments.instructions & 256) &&
7219
+ ((completedSegments.instructions |= 256),
7220
+ writeChunk(
7221
+ destination,
7222
+ completeBoundaryUpgradeToViewTransitionsInstruction
7223
+ )),
6788
7224
  writeChunk(destination, completeBoundaryScript1Partial));
6789
7225
  completedSegments = stringToChunk(i.toString(16));
6790
7226
  writeChunk(destination, request.boundaryPrefix);
@@ -6835,9 +7271,10 @@ function flushPartiallyCompletedSegment(
6835
7271
  destination = writeChunkAndReturn(destination, completeSegmentScriptEnd);
6836
7272
  return destination;
6837
7273
  }
6838
- var flushingPartialBoundaries = !1;
7274
+ var flushingPartialBoundaries = !1,
7275
+ flushingShell = !1;
6839
7276
  function flushCompletedQueues(request, destination) {
6840
- currentView = new Uint8Array(2048);
7277
+ currentView = new Uint8Array(4096);
6841
7278
  writtenBytes = 0;
6842
7279
  try {
6843
7280
  if (!(0 < request.pendingRootTasks)) {
@@ -6917,7 +7354,9 @@ function flushCompletedQueues(request, destination) {
6917
7354
  completedPreambleSegments++
6918
7355
  )
6919
7356
  writeChunk(destination, bodyChunks[completedPreambleSegments]);
7357
+ flushingShell = !0;
6920
7358
  flushSegment(request, destination, completedRootSegment, null);
7359
+ flushingShell = !1;
6921
7360
  request.completedRootSegment = null;
6922
7361
  var renderState$jscomp$0 = request.renderState;
6923
7362
  if (
@@ -7001,17 +7440,17 @@ function flushCompletedQueues(request, destination) {
7001
7440
  writeChunk(renderState$jscomp$1, renderState$jscomp$2.boundaryPrefix);
7002
7441
  writeChunk(renderState$jscomp$1, stringToChunk(id.toString(16)));
7003
7442
  writeChunk(renderState$jscomp$1, clientRenderScript1A);
7004
- errorDigest &&
7443
+ null != errorDigest &&
7005
7444
  (writeChunk(
7006
7445
  renderState$jscomp$1,
7007
7446
  clientRenderErrorScriptArgInterstitial
7008
7447
  ),
7009
- writeChunk(
7010
- renderState$jscomp$1,
7011
- stringToChunk(
7012
- escapeJSStringsForInstructionScripts(errorDigest || "")
7013
- )
7014
- ));
7448
+ null == errorDigest
7449
+ ? writeChunk(renderState$jscomp$1, clientRenderErrorScriptNull)
7450
+ : writeChunk(
7451
+ renderState$jscomp$1,
7452
+ stringToChunk(escapeJSStringsForInstructionScripts(errorDigest))
7453
+ ));
7015
7454
  var JSCompiler_inline_result = writeChunkAndReturn(
7016
7455
  renderState$jscomp$1,
7017
7456
  clientRenderScriptEnd
@@ -7036,17 +7475,17 @@ function flushCompletedQueues(request, destination) {
7036
7475
  }
7037
7476
  completedBoundaries.splice(0, i);
7038
7477
  completeWriting(destination);
7039
- currentView = new Uint8Array(2048);
7478
+ currentView = new Uint8Array(4096);
7040
7479
  writtenBytes = 0;
7041
7480
  flushingPartialBoundaries = !0;
7042
7481
  var partialBoundaries = request.partialBoundaries;
7043
7482
  for (i = 0; i < partialBoundaries.length; i++) {
7044
- var boundary$70 = partialBoundaries[i];
7483
+ var boundary$71 = partialBoundaries[i];
7045
7484
  a: {
7046
7485
  clientRenderedBoundaries = request;
7047
7486
  boundary = destination;
7048
- flushedByteSize = boundary$70.byteSize;
7049
- var completedSegments = boundary$70.completedSegments;
7487
+ flushedByteSize = boundary$71.byteSize;
7488
+ var completedSegments = boundary$71.completedSegments;
7050
7489
  for (
7051
7490
  JSCompiler_inline_result = 0;
7052
7491
  JSCompiler_inline_result < completedSegments.length;
@@ -7056,7 +7495,7 @@ function flushCompletedQueues(request, destination) {
7056
7495
  !flushPartiallyCompletedSegment(
7057
7496
  clientRenderedBoundaries,
7058
7497
  boundary,
7059
- boundary$70,
7498
+ boundary$71,
7060
7499
  completedSegments[JSCompiler_inline_result]
7061
7500
  )
7062
7501
  ) {
@@ -7066,10 +7505,10 @@ function flushCompletedQueues(request, destination) {
7066
7505
  break a;
7067
7506
  }
7068
7507
  completedSegments.splice(0, JSCompiler_inline_result);
7069
- var row = boundary$70.row;
7508
+ var row = boundary$71.row;
7070
7509
  null !== row &&
7071
7510
  row.together &&
7072
- 1 === boundary$70.pendingTasks &&
7511
+ 1 === boundary$71.pendingTasks &&
7073
7512
  (1 === row.pendingTasks
7074
7513
  ? unblockSuspenseListRow(
7075
7514
  clientRenderedBoundaries,
@@ -7079,7 +7518,7 @@ function flushCompletedQueues(request, destination) {
7079
7518
  : row.pendingTasks--);
7080
7519
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
7081
7520
  boundary,
7082
- boundary$70.contentState,
7521
+ boundary$71.contentState,
7083
7522
  clientRenderedBoundaries.renderState
7084
7523
  );
7085
7524
  }
@@ -7104,6 +7543,8 @@ function flushCompletedQueues(request, destination) {
7104
7543
  }
7105
7544
  } finally {
7106
7545
  (flushingPartialBoundaries = !1),
7546
+ (i = request.postponedState),
7547
+ null !== i && (i.nextSegmentId = request.nextSegmentId),
7107
7548
  0 === request.allPendingTasks &&
7108
7549
  0 === request.clientRenderedBoundaries.length &&
7109
7550
  0 === request.completedBoundaries.length
@@ -7112,7 +7553,8 @@ function flushCompletedQueues(request, destination) {
7112
7553
  i.hasBody && writeChunk(destination, endChunkForTag("body")),
7113
7554
  i.hasHtml && writeChunk(destination, endChunkForTag("html")),
7114
7555
  completeWriting(destination),
7115
- (request.status = 14),
7556
+ endRenderLifetime(request),
7557
+ (request.status = 13),
7116
7558
  destination.close(),
7117
7559
  (request.destination = null))
7118
7560
  : completeWriting(destination);
@@ -7155,40 +7597,79 @@ function enqueueFlush(request) {
7155
7597
  }, 0));
7156
7598
  }
7157
7599
  function startFlowing(request, destination) {
7158
- if (13 === request.status)
7159
- (request.status = 14), closeWithError(destination, request.fatalError);
7160
- else if (14 !== request.status && null === request.destination) {
7600
+ if (12 === request.status)
7601
+ (request.status = 13),
7602
+ (request = request.fatalError),
7603
+ isRecoverableError(request) &&
7604
+ (request = cloneRecoverableErrorAsFatal(request)),
7605
+ closeWithError(destination, request);
7606
+ else if (13 !== request.status && null === request.destination) {
7161
7607
  request.destination = destination;
7162
7608
  try {
7163
7609
  flushCompletedQueues(request, destination);
7164
- } catch (error) {
7165
- logRecoverableError(request, error, {}), fatalError(request, error);
7610
+ } catch (error$73) {
7611
+ logRecoverableError(request, error$73, {}), fatalError(request, error$73);
7166
7612
  }
7167
7613
  }
7168
7614
  }
7169
- function abort(request, reason) {
7170
- if (11 === request.status || 10 === request.status) request.status = 12;
7615
+ function finishAbort(request, abortableTasks) {
7171
7616
  try {
7172
- var abortableTasks = request.abortableTasks;
7173
7617
  if (0 < abortableTasks.size) {
7174
- var error =
7175
- void 0 === reason
7176
- ? Error("The render was aborted by the server without a reason.")
7177
- : "object" === typeof reason &&
7178
- null !== reason &&
7179
- "function" === typeof reason.then
7180
- ? Error("The render was aborted by the server with a promise.")
7181
- : reason;
7182
- request.fatalError = error;
7618
+ var error = request.fatalError;
7183
7619
  abortableTasks.forEach(function (task) {
7184
- return abortTask(task, request, error);
7620
+ return finishAbortedTask(task, request, error);
7185
7621
  });
7186
7622
  abortableTasks.clear();
7187
7623
  }
7188
7624
  null !== request.destination &&
7189
7625
  flushCompletedQueues(request, request.destination);
7190
- } catch (error$72) {
7191
- logRecoverableError(request, error$72, {}), fatalError(request, error$72);
7626
+ } catch (error$74) {
7627
+ logRecoverableError(request, error$74, {}), fatalError(request, error$74);
7628
+ }
7629
+ }
7630
+ function endRenderLifetime(request) {
7631
+ request = request.renderLifetimeController;
7632
+ null !== request && request.abort("The render ended.");
7633
+ }
7634
+ function attachAbortSignal(request, signal) {
7635
+ if (signal.aborted) abort(request, signal.reason);
7636
+ else {
7637
+ var renderLifetimeController = new AbortController();
7638
+ request.renderLifetimeController = renderLifetimeController;
7639
+ signal.addEventListener(
7640
+ "abort",
7641
+ function () {
7642
+ abort(request, signal.reason);
7643
+ },
7644
+ { signal: renderLifetimeController.signal }
7645
+ );
7646
+ }
7647
+ }
7648
+ function abort(request, reason) {
7649
+ if (!(request.aborted || (11 !== request.status && 10 !== request.status))) {
7650
+ endRenderLifetime(request);
7651
+ var isRecoverableReason =
7652
+ "object" === typeof reason &&
7653
+ null !== reason &&
7654
+ reason.$$typeof === REACT_RECOVERABLE_TYPE;
7655
+ request.aborted = !0;
7656
+ reason = isRecoverableReason
7657
+ ? createRecoverableError(reason)
7658
+ : void 0 === reason
7659
+ ? Error("The render was aborted by the server without a reason.")
7660
+ : "object" === typeof reason &&
7661
+ null !== reason &&
7662
+ "function" === typeof reason.then
7663
+ ? Error("The render was aborted by the server with a promise.")
7664
+ : reason;
7665
+ request.fatalError = reason;
7666
+ var abortableTasks = request.abortableTasks;
7667
+ abortableTasks.forEach(function (task) {
7668
+ return abortTask(task, request);
7669
+ });
7670
+ setTimeout(function () {
7671
+ return finishAbort(request, abortableTasks);
7672
+ }, 0);
7192
7673
  }
7193
7674
  }
7194
7675
  function addToReplayParent(node, parentKeyPath, trackedPostpones) {
@@ -7211,11 +7692,11 @@ function getPostponedState(request) {
7211
7692
  null === trackedPostpones.rootSlots)
7212
7693
  )
7213
7694
  return (request.trackedPostpones = null);
7214
- if (
7695
+ var hasFlushableShell =
7215
7696
  null === request.completedRootSegment ||
7216
7697
  (5 !== request.completedRootSegment.status &&
7217
- null !== request.completedPreambleSegments)
7218
- ) {
7698
+ null !== request.completedPreambleSegments);
7699
+ if (hasFlushableShell) {
7219
7700
  var nextSegmentId = request.nextSegmentId;
7220
7701
  var replaySlots = trackedPostpones.rootSlots;
7221
7702
  var resumableState = request.resumableState;
@@ -7240,7 +7721,7 @@ function getPostponedState(request) {
7240
7721
  resumableState.moduleScriptResources = {};
7241
7722
  resumableState.instructions = 0;
7242
7723
  }
7243
- return {
7724
+ trackedPostpones = {
7244
7725
  nextSegmentId: nextSegmentId,
7245
7726
  rootFormatContext: request.rootFormatContext,
7246
7727
  progressiveChunkSize: request.progressiveChunkSize,
@@ -7248,14 +7729,16 @@ function getPostponedState(request) {
7248
7729
  replayNodes: trackedPostpones.rootNodes,
7249
7730
  replaySlots: replaySlots
7250
7731
  };
7732
+ hasFlushableShell && (request.postponedState = trackedPostpones);
7733
+ return trackedPostpones;
7251
7734
  }
7252
7735
  function ensureCorrectIsomorphicReactVersion() {
7253
7736
  var isomorphicReactPackageVersion = React.version;
7254
- if ("19.2.7" !== isomorphicReactPackageVersion)
7737
+ if ("19.3.1" !== isomorphicReactPackageVersion)
7255
7738
  throw Error(
7256
7739
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7257
7740
  (isomorphicReactPackageVersion +
7258
- "\n - react-dom: 19.2.7\nLearn more: https://react.dev/warnings/version-mismatch")
7741
+ "\n - react-dom: 19.3.1\nLearn more: https://react.dev/warnings/version-mismatch")
7259
7742
  );
7260
7743
  }
7261
7744
  ensureCorrectIsomorphicReactVersion();
@@ -7289,6 +7772,7 @@ exports.prerender = function (children, options) {
7289
7772
  createRootFormatContext(options ? options.namespaceURI : void 0),
7290
7773
  options ? options.progressiveChunkSize : void 0,
7291
7774
  options ? options.onError : void 0,
7775
+ options ? options.onBrowserBailout : void 0,
7292
7776
  function () {
7293
7777
  var stream = new ReadableStream(
7294
7778
  {
@@ -7308,20 +7792,9 @@ exports.prerender = function (children, options) {
7308
7792
  },
7309
7793
  void 0,
7310
7794
  void 0,
7311
- reject,
7312
- options ? options.onPostpone : void 0
7795
+ reject
7313
7796
  );
7314
- if (options && options.signal) {
7315
- var signal = options.signal;
7316
- if (signal.aborted) abort(request, signal.reason);
7317
- else {
7318
- var listener = function () {
7319
- abort(request, signal.reason);
7320
- signal.removeEventListener("abort", listener);
7321
- };
7322
- signal.addEventListener("abort", listener);
7323
- }
7324
- }
7797
+ options && options.signal && attachAbortSignal(request, options.signal);
7325
7798
  startWork(request);
7326
7799
  });
7327
7800
  };
@@ -7360,6 +7833,7 @@ exports.renderToReadableStream = function (children, options) {
7360
7833
  createRootFormatContext(options ? options.namespaceURI : void 0),
7361
7834
  options ? options.progressiveChunkSize : void 0,
7362
7835
  options ? options.onError : void 0,
7836
+ options ? options.onBrowserBailout : void 0,
7363
7837
  onAllReady,
7364
7838
  function () {
7365
7839
  var stream = new ReadableStream(
@@ -7383,20 +7857,9 @@ exports.renderToReadableStream = function (children, options) {
7383
7857
  reject(error);
7384
7858
  },
7385
7859
  onFatalError,
7386
- options ? options.onPostpone : void 0,
7387
7860
  options ? options.formState : void 0
7388
7861
  );
7389
- if (options && options.signal) {
7390
- var signal = options.signal;
7391
- if (signal.aborted) abort(request, signal.reason);
7392
- else {
7393
- var listener = function () {
7394
- abort(request, signal.reason);
7395
- signal.removeEventListener("abort", listener);
7396
- };
7397
- signal.addEventListener("abort", listener);
7398
- }
7399
- }
7862
+ options && options.signal && attachAbortSignal(request, options.signal);
7400
7863
  startWork(request);
7401
7864
  });
7402
7865
  };
@@ -7420,6 +7883,7 @@ exports.resume = function (children, postponedState, options) {
7420
7883
  void 0
7421
7884
  ),
7422
7885
  options ? options.onError : void 0,
7886
+ options ? options.onBrowserBailout : void 0,
7423
7887
  onAllReady,
7424
7888
  function () {
7425
7889
  var stream = new ReadableStream(
@@ -7442,20 +7906,9 @@ exports.resume = function (children, postponedState, options) {
7442
7906
  allReady.catch(function () {});
7443
7907
  reject(error);
7444
7908
  },
7445
- onFatalError,
7446
- options ? options.onPostpone : void 0
7909
+ onFatalError
7447
7910
  );
7448
- if (options && options.signal) {
7449
- var signal = options.signal;
7450
- if (signal.aborted) abort(request, signal.reason);
7451
- else {
7452
- var listener = function () {
7453
- abort(request, signal.reason);
7454
- signal.removeEventListener("abort", listener);
7455
- };
7456
- signal.addEventListener("abort", listener);
7457
- }
7458
- }
7911
+ options && options.signal && attachAbortSignal(request, options.signal);
7459
7912
  startWork(request);
7460
7913
  });
7461
7914
  };
@@ -7473,6 +7926,7 @@ exports.resumeAndPrerender = function (children, postponedState, options) {
7473
7926
  void 0
7474
7927
  ),
7475
7928
  options ? options.onError : void 0,
7929
+ options ? options.onBrowserBailout : void 0,
7476
7930
  function () {
7477
7931
  var stream = new ReadableStream(
7478
7932
  {
@@ -7492,21 +7946,10 @@ exports.resumeAndPrerender = function (children, postponedState, options) {
7492
7946
  },
7493
7947
  void 0,
7494
7948
  void 0,
7495
- reject,
7496
- options ? options.onPostpone : void 0
7949
+ reject
7497
7950
  );
7498
- if (options && options.signal) {
7499
- var signal = options.signal;
7500
- if (signal.aborted) abort(request, signal.reason);
7501
- else {
7502
- var listener = function () {
7503
- abort(request, signal.reason);
7504
- signal.removeEventListener("abort", listener);
7505
- };
7506
- signal.addEventListener("abort", listener);
7507
- }
7508
- }
7951
+ options && options.signal && attachAbortSignal(request, options.signal);
7509
7952
  startWork(request);
7510
7953
  });
7511
7954
  };
7512
- exports.version = "19.2.7";
7955
+ exports.version = "19.3.1";