@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
@@ -67,6 +67,7 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
67
67
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
68
68
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
69
69
  REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
70
+ REACT_RECOVERABLE_TYPE = Symbol.for("react.recoverable"),
70
71
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
71
72
  function getIteratorFn(maybeIterable) {
72
73
  if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
@@ -75,7 +76,9 @@ function getIteratorFn(maybeIterable) {
75
76
  maybeIterable["@@iterator"];
76
77
  return "function" === typeof maybeIterable ? maybeIterable : null;
77
78
  }
78
- var isArrayImpl = Array.isArray;
79
+ var REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"),
80
+ isArrayImpl = Array.isArray,
81
+ hasOwnProperty = Object.prototype.hasOwnProperty;
79
82
  function murmurhash3_32_gc(key, seed) {
80
83
  var remainder = key.length & 3;
81
84
  var bytes = key.length - remainder;
@@ -135,6 +138,10 @@ channel.port1.onmessage = function () {
135
138
  var task = taskQueue.shift();
136
139
  task && task();
137
140
  };
141
+ var supportsArrayBufferDetached = hasOwnProperty.call(
142
+ ArrayBuffer.prototype,
143
+ "detached"
144
+ );
138
145
  function scheduleWork(callback) {
139
146
  taskQueue.push(callback);
140
147
  channel.port2.postMessage(null);
@@ -156,28 +163,28 @@ var LocalPromise = Promise,
156
163
  currentView = null,
157
164
  writtenBytes = 0;
158
165
  function writeChunk(destination, chunk) {
159
- if (0 !== chunk.byteLength)
160
- if (2048 < chunk.byteLength)
161
- 0 < writtenBytes &&
162
- (destination.enqueue(
163
- new Uint8Array(currentView.buffer, 0, writtenBytes)
164
- ),
165
- (currentView = new Uint8Array(2048)),
166
- (writtenBytes = 0)),
167
- destination.enqueue(chunk);
168
- else {
169
- var allowableBytes = currentView.length - writtenBytes;
170
- allowableBytes < chunk.byteLength &&
171
- (0 === allowableBytes
172
- ? destination.enqueue(currentView)
173
- : (currentView.set(chunk.subarray(0, allowableBytes), writtenBytes),
174
- destination.enqueue(currentView),
175
- (chunk = chunk.subarray(allowableBytes))),
176
- (currentView = new Uint8Array(2048)),
177
- (writtenBytes = 0));
178
- currentView.set(chunk, writtenBytes);
179
- writtenBytes += chunk.byteLength;
180
- }
166
+ if (0 === chunk.byteLength) {
167
+ if (supportsArrayBufferDetached && chunk.buffer.detached)
168
+ throw Error(formatProdErrorMessage(612));
169
+ } else if (2048 < chunk.byteLength)
170
+ 0 < writtenBytes &&
171
+ (destination.enqueue(new Uint8Array(currentView.buffer, 0, writtenBytes)),
172
+ (currentView = new Uint8Array(2048)),
173
+ (writtenBytes = 0)),
174
+ destination.enqueue(chunk);
175
+ else {
176
+ var allowableBytes = currentView.length - writtenBytes;
177
+ allowableBytes < chunk.byteLength &&
178
+ (0 === allowableBytes
179
+ ? destination.enqueue(currentView)
180
+ : (currentView.set(chunk.subarray(0, allowableBytes), writtenBytes),
181
+ destination.enqueue(currentView),
182
+ (chunk = chunk.subarray(allowableBytes))),
183
+ (currentView = new Uint8Array(2048)),
184
+ (writtenBytes = 0));
185
+ currentView.set(chunk, writtenBytes);
186
+ writtenBytes += chunk.byteLength;
187
+ }
181
188
  }
182
189
  function writeChunkAndReturn(destination, chunk) {
183
190
  writeChunk(destination, chunk);
@@ -206,7 +213,6 @@ function closeWithError(destination, error) {
206
213
  : destination.close();
207
214
  }
208
215
  var assign = Object.assign,
209
- hasOwnProperty = Object.prototype.hasOwnProperty,
210
216
  VALID_ATTRIBUTE_NAME_REGEX = RegExp(
211
217
  "^[: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]*$"
212
218
  ),
@@ -266,6 +272,7 @@ var unitlessNumbers = new Set(
266
272
  ["markerEnd", "marker-end"],
267
273
  ["markerMid", "marker-mid"],
268
274
  ["markerStart", "marker-start"],
275
+ ["maskType", "mask-type"],
269
276
  ["overlinePosition", "overline-position"],
270
277
  ["overlineThickness", "overline-thickness"],
271
278
  ["paintOrder", "paint-order"],
@@ -441,7 +448,15 @@ function createRenderState(
441
448
  ));
442
449
  bootstrapScriptContent = [];
443
450
  void 0 !== importMap &&
444
- (bootstrapScriptContent.push(importMapScriptStart),
451
+ (bootstrapScriptContent.push(
452
+ void 0 === externalRuntimeConfig
453
+ ? importMapScriptStart
454
+ : stringToPrecomputedChunk(
455
+ '<script type="importmap" nonce="' +
456
+ escapeTextForBrowser(externalRuntimeConfig) +
457
+ '">'
458
+ )
459
+ ),
445
460
  bootstrapScriptContent.push(
446
461
  stringToChunk(
447
462
  ("" + JSON.stringify(importMap)).replace(scriptRegex, scriptReplacer)
@@ -702,7 +717,8 @@ function getChildFormatContext(parentContext, type, props) {
702
717
  }
703
718
  return 6 <= parentContext.insertionMode || 2 > parentContext.insertionMode
704
719
  ? createFormatContext(2, null, subtreeScope, null)
705
- : parentContext.tagScope !== subtreeScope
720
+ : null !== parentContext.viewTransition ||
721
+ parentContext.tagScope !== subtreeScope
706
722
  ? createFormatContext(
707
723
  parentContext.insertionMode,
708
724
  parentContext.selectedValue,
@@ -719,6 +735,8 @@ function getSuspenseViewTransition(parentViewTransition) {
719
735
  enter: "none",
720
736
  exit: "none",
721
737
  share: parentViewTransition.update,
738
+ parentEnter: "none",
739
+ parentExit: "none",
722
740
  name: parentViewTransition.autoName,
723
741
  autoName: parentViewTransition.autoName,
724
742
  nameIdx: 0
@@ -746,6 +764,11 @@ function getSuspenseContentFormatContext(resumableState, parentContext) {
746
764
  resumableState
747
765
  );
748
766
  }
767
+ function makeId(resumableState, treeId, localId) {
768
+ resumableState = "_" + resumableState.idPrefix + "R_" + treeId;
769
+ 0 < localId && (resumableState += "H" + localId.toString(32));
770
+ return resumableState + "_";
771
+ }
749
772
  var textSeparator = stringToPrecomputedChunk("\x3c!-- --\x3e");
750
773
  function pushTextInstance(target, text, renderState, textEmbedded) {
751
774
  if ("" === text) return textEmbedded;
@@ -753,6 +776,26 @@ function pushTextInstance(target, text, renderState, textEmbedded) {
753
776
  target.push(stringToChunk(escapeTextForBrowser(text)));
754
777
  return !0;
755
778
  }
779
+ function pushViewTransitionAttributes(target, formatContext) {
780
+ formatContext = formatContext.viewTransition;
781
+ null !== formatContext &&
782
+ ("auto" !== formatContext.name &&
783
+ (pushStringAttribute(
784
+ target,
785
+ "vt-name",
786
+ 0 === formatContext.nameIdx
787
+ ? formatContext.name
788
+ : formatContext.name + "_" + formatContext.nameIdx
789
+ ),
790
+ formatContext.nameIdx++),
791
+ pushStringAttribute(target, "vt-update", formatContext.update),
792
+ "none" !== formatContext.enter &&
793
+ pushStringAttribute(target, "vt-enter", formatContext.enter),
794
+ "none" !== formatContext.exit &&
795
+ pushStringAttribute(target, "vt-exit", formatContext.exit),
796
+ "none" !== formatContext.share &&
797
+ pushStringAttribute(target, "vt-share", formatContext.share));
798
+ }
756
799
  var styleNameCache = new Map(),
757
800
  styleAttributeStart = stringToPrecomputedChunk(' style="'),
758
801
  styleAssign = stringToPrecomputedChunk(":"),
@@ -990,6 +1033,7 @@ function pushAttribute(target, name, value) {
990
1033
  case "async":
991
1034
  case "autoPlay":
992
1035
  case "controls":
1036
+ case "credentialless":
993
1037
  case "default":
994
1038
  case "defer":
995
1039
  case "disabled":
@@ -1139,7 +1183,7 @@ function flattenOptionChildren(children) {
1139
1183
  }
1140
1184
  var selectedMarkerAttribute = stringToPrecomputedChunk(' selected=""'),
1141
1185
  formReplayingRuntimeScript = stringToPrecomputedChunk(
1142
- '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))}});'
1186
+ '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))}});'
1143
1187
  );
1144
1188
  function injectFormReplayingRuntime(resumableState, renderState) {
1145
1189
  if (0 === (resumableState.instructions & 16)) {
@@ -1185,7 +1229,7 @@ var styleRegex = /(<\/|<)(s)(tyle)/gi;
1185
1229
  function styleReplacer(match, prefix, s, suffix) {
1186
1230
  return "" + prefix + ("s" === s ? "\\73 " : "\\53 ") + suffix;
1187
1231
  }
1188
- function pushSelfClosing(target, props, tag) {
1232
+ function pushSelfClosing(target, props, tag, formatContext) {
1189
1233
  target.push(startChunkForTag(tag));
1190
1234
  for (var propKey in props)
1191
1235
  if (hasOwnProperty.call(props, propKey)) {
@@ -1199,6 +1243,7 @@ function pushSelfClosing(target, props, tag) {
1199
1243
  pushAttribute(target, propKey, propValue);
1200
1244
  }
1201
1245
  }
1246
+ pushViewTransitionAttributes(target, formatContext);
1202
1247
  target.push(endOfStartTagSelfClosing);
1203
1248
  return null;
1204
1249
  }
@@ -1270,7 +1315,7 @@ function pushScriptImpl(target, props) {
1270
1315
  target.push(endChunkForTag("script"));
1271
1316
  return null;
1272
1317
  }
1273
- function pushStartSingletonElement(target, props, tag) {
1318
+ function pushStartSingletonElement(target, props, tag, formatContext) {
1274
1319
  target.push(startChunkForTag(tag));
1275
1320
  var innerHTML = (tag = null),
1276
1321
  propKey;
@@ -1289,11 +1334,12 @@ function pushStartSingletonElement(target, props, tag) {
1289
1334
  pushAttribute(target, propKey, propValue);
1290
1335
  }
1291
1336
  }
1337
+ pushViewTransitionAttributes(target, formatContext);
1292
1338
  target.push(endOfStartTag);
1293
1339
  pushInnerHTML(target, innerHTML, tag);
1294
1340
  return tag;
1295
1341
  }
1296
- function pushStartGenericElement(target, props, tag) {
1342
+ function pushStartGenericElement(target, props, tag, formatContext) {
1297
1343
  target.push(startChunkForTag(tag));
1298
1344
  var innerHTML = (tag = null),
1299
1345
  propKey;
@@ -1312,6 +1358,7 @@ function pushStartGenericElement(target, props, tag) {
1312
1358
  pushAttribute(target, propKey, propValue);
1313
1359
  }
1314
1360
  }
1361
+ pushViewTransitionAttributes(target, formatContext);
1315
1362
  target.push(endOfStartTag);
1316
1363
  pushInnerHTML(target, innerHTML, tag);
1317
1364
  return "string" === typeof tag
@@ -1374,6 +1421,7 @@ function pushStartInstance(
1374
1421
  pushAttribute(target$jscomp$0, propKey, propValue);
1375
1422
  }
1376
1423
  }
1424
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1377
1425
  target$jscomp$0.push(endOfStartTag);
1378
1426
  pushInnerHTML(target$jscomp$0, innerHTML, children);
1379
1427
  if ("string" === typeof children) {
@@ -1412,6 +1460,7 @@ function pushStartInstance(
1412
1460
  );
1413
1461
  }
1414
1462
  }
1463
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1415
1464
  target$jscomp$0.push(endOfStartTag);
1416
1465
  pushInnerHTML(target$jscomp$0, innerHTML$jscomp$0, children$jscomp$0);
1417
1466
  return children$jscomp$0;
@@ -1499,6 +1548,7 @@ function pushStartInstance(
1499
1548
  null === value$jscomp$0 &&
1500
1549
  null !== defaultValue &&
1501
1550
  (value$jscomp$0 = defaultValue);
1551
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1502
1552
  target$jscomp$0.push(endOfStartTag);
1503
1553
  if (null != children$jscomp$2) {
1504
1554
  if (null != value$jscomp$0) throw Error(formatProdErrorMessage(92));
@@ -1590,6 +1640,7 @@ function pushStartInstance(
1590
1640
  ? pushAttribute(target$jscomp$0, "value", value$jscomp$1)
1591
1641
  : null !== defaultValue$jscomp$0 &&
1592
1642
  pushAttribute(target$jscomp$0, "value", defaultValue$jscomp$0);
1643
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1593
1644
  target$jscomp$0.push(endOfStartTagSelfClosing);
1594
1645
  null != formData &&
1595
1646
  formData.forEach(pushAdditionalFormField, target$jscomp$0);
@@ -1648,6 +1699,7 @@ function pushStartInstance(
1648
1699
  formTarget$jscomp$0,
1649
1700
  name$jscomp$0
1650
1701
  );
1702
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1651
1703
  target$jscomp$0.push(endOfStartTag);
1652
1704
  null != formData$jscomp$0 &&
1653
1705
  formData$jscomp$0.forEach(pushAdditionalFormField, target$jscomp$0);
@@ -1735,6 +1787,7 @@ function pushStartInstance(
1735
1787
  pushAttribute(target$jscomp$0, "method", formMethod$jscomp$1);
1736
1788
  null != formTarget$jscomp$1 &&
1737
1789
  pushAttribute(target$jscomp$0, "target", formTarget$jscomp$1);
1790
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1738
1791
  target$jscomp$0.push(endOfStartTag);
1739
1792
  null !== formActionName &&
1740
1793
  (target$jscomp$0.push(startHiddenInputChunk),
@@ -1768,6 +1821,7 @@ function pushStartInstance(
1768
1821
  );
1769
1822
  }
1770
1823
  }
1824
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1771
1825
  target$jscomp$0.push(endOfStartTag);
1772
1826
  return null;
1773
1827
  case "object":
@@ -1805,6 +1859,7 @@ function pushStartInstance(
1805
1859
  );
1806
1860
  }
1807
1861
  }
1862
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1808
1863
  target$jscomp$0.push(endOfStartTag);
1809
1864
  pushInnerHTML(target$jscomp$0, innerHTML$jscomp$4, children$jscomp$5);
1810
1865
  if ("string" === typeof children$jscomp$5) {
@@ -2086,17 +2141,33 @@ function pushStartInstance(
2086
2141
  var JSCompiler_inline_result$jscomp$7 = pushSelfClosing(
2087
2142
  target$jscomp$0,
2088
2143
  props,
2089
- "meta"
2144
+ "meta",
2145
+ formatContext
2090
2146
  );
2091
2147
  else
2092
2148
  textEmbedded && target$jscomp$0.push(textSeparator),
2093
2149
  (JSCompiler_inline_result$jscomp$7 = isFallback$jscomp$1
2094
2150
  ? null
2095
2151
  : "string" === typeof props.charSet
2096
- ? pushSelfClosing(renderState.charsetChunks, props, "meta")
2152
+ ? pushSelfClosing(
2153
+ renderState.charsetChunks,
2154
+ props,
2155
+ "meta",
2156
+ formatContext
2157
+ )
2097
2158
  : "viewport" === props.name
2098
- ? pushSelfClosing(renderState.viewportChunks, props, "meta")
2099
- : pushSelfClosing(renderState.hoistableChunks, props, "meta"));
2159
+ ? pushSelfClosing(
2160
+ renderState.viewportChunks,
2161
+ props,
2162
+ "meta",
2163
+ formatContext
2164
+ )
2165
+ : pushSelfClosing(
2166
+ renderState.hoistableChunks,
2167
+ props,
2168
+ "meta",
2169
+ formatContext
2170
+ ));
2100
2171
  return JSCompiler_inline_result$jscomp$7;
2101
2172
  case "listing":
2102
2173
  case "pre":
@@ -2123,6 +2194,7 @@ function pushStartInstance(
2123
2194
  );
2124
2195
  }
2125
2196
  }
2197
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
2126
2198
  target$jscomp$0.push(endOfStartTag);
2127
2199
  if (null != innerHTML$jscomp$7) {
2128
2200
  if (null != children$jscomp$8) throw Error(formatProdErrorMessage(60));
@@ -2208,7 +2280,7 @@ function pushStartInstance(
2208
2280
  nonce: props.nonce,
2209
2281
  type: props.type,
2210
2282
  fetchPriority: props.fetchPriority,
2211
- referrerPolicy: props.refererPolicy
2283
+ referrerPolicy: props.referrerPolicy
2212
2284
  })),
2213
2285
  0 <= (headers.remainingCapacity -= header.length + 2))
2214
2286
  ? ((renderState.resets.image[key$jscomp$0] = PRELOAD_NO_CREDS),
@@ -2234,7 +2306,7 @@ function pushStartInstance(
2234
2306
  promotablePreloads.set(key$jscomp$0, resource$jscomp$1)));
2235
2307
  }
2236
2308
  }
2237
- return pushSelfClosing(target$jscomp$0, props, "img");
2309
+ return pushSelfClosing(target$jscomp$0, props, "img", formatContext);
2238
2310
  case "base":
2239
2311
  case "area":
2240
2312
  case "br":
@@ -2246,7 +2318,7 @@ function pushStartInstance(
2246
2318
  case "source":
2247
2319
  case "track":
2248
2320
  case "wbr":
2249
- return pushSelfClosing(target$jscomp$0, props, type);
2321
+ return pushSelfClosing(target$jscomp$0, props, type, formatContext);
2250
2322
  case "annotation-xml":
2251
2323
  case "color-profile":
2252
2324
  case "font-face":
@@ -2267,13 +2339,15 @@ function pushStartInstance(
2267
2339
  var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
2268
2340
  preamble.headChunks,
2269
2341
  props,
2270
- "head"
2342
+ "head",
2343
+ formatContext
2271
2344
  );
2272
2345
  } else
2273
2346
  JSCompiler_inline_result$jscomp$9 = pushStartGenericElement(
2274
2347
  target$jscomp$0,
2275
2348
  props,
2276
- "head"
2349
+ "head",
2350
+ formatContext
2277
2351
  );
2278
2352
  return JSCompiler_inline_result$jscomp$9;
2279
2353
  case "body":
@@ -2287,13 +2361,15 @@ function pushStartInstance(
2287
2361
  var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
2288
2362
  preamble$jscomp$0.bodyChunks,
2289
2363
  props,
2290
- "body"
2364
+ "body",
2365
+ formatContext
2291
2366
  );
2292
2367
  } else
2293
2368
  JSCompiler_inline_result$jscomp$10 = pushStartGenericElement(
2294
2369
  target$jscomp$0,
2295
2370
  props,
2296
- "body"
2371
+ "body",
2372
+ formatContext
2297
2373
  );
2298
2374
  return JSCompiler_inline_result$jscomp$10;
2299
2375
  case "html":
@@ -2307,13 +2383,15 @@ function pushStartInstance(
2307
2383
  var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
2308
2384
  preamble$jscomp$1.htmlChunks,
2309
2385
  props,
2310
- "html"
2386
+ "html",
2387
+ formatContext
2311
2388
  );
2312
2389
  } else
2313
2390
  JSCompiler_inline_result$jscomp$11 = pushStartGenericElement(
2314
2391
  target$jscomp$0,
2315
2392
  props,
2316
- "html"
2393
+ "html",
2394
+ formatContext
2317
2395
  );
2318
2396
  return JSCompiler_inline_result$jscomp$11;
2319
2397
  default:
@@ -2363,12 +2441,13 @@ function pushStartInstance(
2363
2441
  }
2364
2442
  }
2365
2443
  }
2444
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
2366
2445
  target$jscomp$0.push(endOfStartTag);
2367
2446
  pushInnerHTML(target$jscomp$0, innerHTML$jscomp$8, children$jscomp$9);
2368
2447
  return children$jscomp$9;
2369
2448
  }
2370
2449
  }
2371
- return pushStartGenericElement(target$jscomp$0, props, type);
2450
+ return pushStartGenericElement(target$jscomp$0, props, type, formatContext);
2372
2451
  }
2373
2452
  var endTagCache = new Map();
2374
2453
  function endChunkForTag(tag) {
@@ -2549,12 +2628,12 @@ var completeSegmentScript1Full = stringToPrecomputedChunk(
2549
2628
  stringToPrecomputedChunk('<template data-rsi="" data-sid="');
2550
2629
  stringToPrecomputedChunk('" data-pid="');
2551
2630
  var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
2552
- '$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)};'
2553
- );
2554
- stringToChunk(
2555
- '$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);'
2556
- );
2557
- var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
2631
+ '$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)};'
2632
+ ),
2633
+ completeBoundaryUpgradeToViewTransitionsInstruction = stringToChunk(
2634
+ '$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);'
2635
+ ),
2636
+ completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
2558
2637
  completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
2559
2638
  '$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("'
2560
2639
  ),
@@ -2568,14 +2647,15 @@ stringToPrecomputedChunk('<template data-rri="" data-bid="');
2568
2647
  stringToPrecomputedChunk('" data-sid="');
2569
2648
  stringToPrecomputedChunk('" data-sty="');
2570
2649
  var clientRenderScriptFunctionOnly = stringToPrecomputedChunk(
2571
- '$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())};'
2650
+ '$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())};'
2572
2651
  ),
2573
2652
  clientRenderScript1Full = stringToPrecomputedChunk(
2574
- '$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("'
2653
+ '$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("'
2575
2654
  ),
2576
2655
  clientRenderScript1Partial = stringToPrecomputedChunk('$RX("'),
2577
2656
  clientRenderScript1A = stringToPrecomputedChunk('"'),
2578
2657
  clientRenderErrorScriptArgInterstitial = stringToPrecomputedChunk(","),
2658
+ clientRenderErrorScriptNull = stringToPrecomputedChunk("null"),
2579
2659
  clientRenderScriptEnd = stringToPrecomputedChunk(")\x3c/script>");
2580
2660
  stringToPrecomputedChunk('<template data-rxi="" data-bid="');
2581
2661
  stringToPrecomputedChunk('" data-dgst="');
@@ -3097,7 +3177,7 @@ function preloadModule(href, options) {
3097
3177
  break;
3098
3178
  default:
3099
3179
  if (resumableState.moduleUnknownResources.hasOwnProperty(as)) {
3100
- var resources = resumableState.unknownResources[as];
3180
+ var resources = resumableState.moduleUnknownResources[as];
3101
3181
  if (resources.hasOwnProperty(href)) return;
3102
3182
  } else
3103
3183
  (resources = {}),
@@ -3279,8 +3359,10 @@ function hoistHoistables(parentState, childState) {
3279
3359
  childState.stylesheets.forEach(hoistStylesheetDependency, parentState);
3280
3360
  childState.suspenseyImages && (parentState.suspenseyImages = !0);
3281
3361
  }
3282
- function hasSuspenseyContent(hoistableState) {
3283
- return 0 < hoistableState.stylesheets.size || hoistableState.suspenseyImages;
3362
+ function hasSuspenseyContent(hoistableState, flushingInShell) {
3363
+ return flushingInShell
3364
+ ? hoistableState.suspenseyImages
3365
+ : 0 < hoistableState.stylesheets.size || hoistableState.suspenseyImages;
3284
3366
  }
3285
3367
  var bind = Function.prototype.bind,
3286
3368
  REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
@@ -3304,6 +3386,8 @@ function getComponentNameFromType(type) {
3304
3386
  return "SuspenseList";
3305
3387
  case REACT_ACTIVITY_TYPE:
3306
3388
  return "Activity";
3389
+ case REACT_VIEW_TRANSITION_TYPE:
3390
+ return "ViewTransition";
3307
3391
  }
3308
3392
  if ("object" === typeof type)
3309
3393
  switch (type.$$typeof) {
@@ -3405,6 +3489,11 @@ var classComponentUpdater = {
3405
3489
  enqueueForceUpdate: function () {}
3406
3490
  },
3407
3491
  emptyTreeContext = { id: 1, overflow: "" };
3492
+ function getTreeId(context) {
3493
+ var overflow = context.overflow;
3494
+ context = context.id;
3495
+ return (context & ~(1 << (32 - clz32(context) - 1))).toString(32) + overflow;
3496
+ }
3408
3497
  function pushTreeContext(baseContext, totalChildren, index) {
3409
3498
  var baseIdWithLeadingBit = baseContext.id;
3410
3499
  baseContext = baseContext.overflow;
@@ -3451,7 +3540,10 @@ function trackUsedThenable(thenableState, thenable, index) {
3451
3540
  case "fulfilled":
3452
3541
  return thenable.value;
3453
3542
  case "rejected":
3454
- throw thenable.reason;
3543
+ thenableState = thenable.reason;
3544
+ if (void 0 === thenableState && !("reason" in thenable))
3545
+ throw Error(formatProdErrorMessage(600));
3546
+ throw thenableState;
3455
3547
  default:
3456
3548
  "string" === typeof thenable.status
3457
3549
  ? thenable.then(noop, noop)
@@ -3506,8 +3598,50 @@ var objectIs = "function" === typeof Object.is ? Object.is : is,
3506
3598
  actionStateCounter = 0,
3507
3599
  actionStateMatchingIndex = -1,
3508
3600
  thenableIndexCounter = 0,
3509
- thenableState = null,
3510
- renderPhaseUpdates = null,
3601
+ thenableState = null;
3602
+ function createRecoverableError(recoverable) {
3603
+ recoverable = recoverable._reason;
3604
+ if ("function" === typeof recoverable)
3605
+ try {
3606
+ var initializedReason = recoverable();
3607
+ } catch ($jscomp$unused$catch) {
3608
+ initializedReason =
3609
+ "The reason for browser-only rendering could not be determined because its initializer threw.";
3610
+ }
3611
+ else initializedReason = recoverable;
3612
+ initializedReason = Error(
3613
+ formatProdErrorMessage(603),
3614
+ void 0 === recoverable ? void 0 : { cause: initializedReason }
3615
+ );
3616
+ Object.defineProperty(initializedReason, REACT_RECOVERABLE_TYPE, {
3617
+ value: !0
3618
+ });
3619
+ return initializedReason;
3620
+ }
3621
+ function isRecoverableError(error) {
3622
+ return "object" !== typeof error || null === error
3623
+ ? !1
3624
+ : !0 === error[REACT_RECOVERABLE_TYPE];
3625
+ }
3626
+ function cloneRecoverableErrorAsFatal(recoverableError) {
3627
+ var fatalRecoverableError = Error(
3628
+ formatProdErrorMessage(604),
3629
+ hasOwnProperty.call(recoverableError, "cause")
3630
+ ? { cause: recoverableError.cause }
3631
+ : void 0
3632
+ );
3633
+ recoverableError = recoverableError.stack;
3634
+ if (void 0 !== recoverableError) {
3635
+ var frameStart = recoverableError.indexOf("\n");
3636
+ fatalRecoverableError.stack =
3637
+ fatalRecoverableError.name +
3638
+ ": " +
3639
+ fatalRecoverableError.message +
3640
+ (-1 === frameStart ? "" : recoverableError.slice(frameStart));
3641
+ } else fatalRecoverableError.stack = void 0;
3642
+ return fatalRecoverableError;
3643
+ }
3644
+ var renderPhaseUpdates = null,
3511
3645
  numberOfReRenders = 0;
3512
3646
  function resolveCurrentlyRenderingComponent() {
3513
3647
  if (null === currentlyRenderingComponent)
@@ -3712,6 +3846,8 @@ var HooksDispatcher = {
3712
3846
  use: function (usable) {
3713
3847
  if (null !== usable && "object" === typeof usable) {
3714
3848
  if ("function" === typeof usable.then) return unwrapThenable(usable);
3849
+ if (usable.$$typeof === REACT_RECOVERABLE_TYPE)
3850
+ throw createRecoverableError(usable);
3715
3851
  if (usable.$$typeof === REACT_CONTEXT_TYPE) return usable._currentValue;
3716
3852
  }
3717
3853
  throw Error(formatProdErrorMessage(438, String(usable)));
@@ -3753,21 +3889,11 @@ var HooksDispatcher = {
3753
3889
  return [!1, unsupportedStartTransition];
3754
3890
  },
3755
3891
  useId: function () {
3756
- var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
3757
- var overflow = JSCompiler_inline_result.overflow;
3758
- JSCompiler_inline_result = JSCompiler_inline_result.id;
3759
- JSCompiler_inline_result =
3760
- (
3761
- JSCompiler_inline_result &
3762
- ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
3763
- ).toString(32) + overflow;
3764
- var resumableState = currentResumableState;
3892
+ var treeId = getTreeId(currentlyRenderingTask.treeContext),
3893
+ resumableState = currentResumableState;
3765
3894
  if (null === resumableState) throw Error(formatProdErrorMessage(404));
3766
- overflow = localIdCounter++;
3767
- JSCompiler_inline_result =
3768
- "_" + resumableState.idPrefix + "R_" + JSCompiler_inline_result;
3769
- 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
3770
- return JSCompiler_inline_result + "_";
3895
+ var localId = localIdCounter++;
3896
+ return makeId(resumableState, treeId, localId);
3771
3897
  },
3772
3898
  useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
3773
3899
  if (void 0 === getServerSnapshot)
@@ -3855,7 +3981,26 @@ function describeNativeComponentFrame(fn, construct) {
3855
3981
  } catch (x$24) {
3856
3982
  control = x$24;
3857
3983
  }
3858
- fn.call(Fake.prototype);
3984
+ Fake = !1;
3985
+ try {
3986
+ var prevProps = Object.getOwnPropertyDescriptor(
3987
+ fn.prototype,
3988
+ "props"
3989
+ );
3990
+ Object.defineProperty(fn.prototype, "props", {
3991
+ configurable: !0,
3992
+ set: function () {
3993
+ throw Error();
3994
+ }
3995
+ });
3996
+ Fake = !0;
3997
+ new fn();
3998
+ } finally {
3999
+ Fake &&
4000
+ (void 0 !== prevProps
4001
+ ? Object.defineProperty(fn.prototype, "props", prevProps)
4002
+ : delete fn.prototype.props);
4003
+ }
3859
4004
  }
3860
4005
  } else {
3861
4006
  try {
@@ -4017,13 +4162,34 @@ function describeComponentStackByType(type) {
4017
4162
  return describeBuiltInComponentFrame("SuspenseList");
4018
4163
  case REACT_SUSPENSE_TYPE:
4019
4164
  return describeBuiltInComponentFrame("Suspense");
4165
+ case REACT_VIEW_TRANSITION_TYPE:
4166
+ return describeBuiltInComponentFrame("ViewTransition");
4020
4167
  }
4021
4168
  return "";
4022
4169
  }
4170
+ function getViewTransitionClassName(defaultClass, eventClass) {
4171
+ defaultClass =
4172
+ null == defaultClass || "string" === typeof defaultClass
4173
+ ? defaultClass
4174
+ : defaultClass.default;
4175
+ eventClass =
4176
+ null == eventClass || "string" === typeof eventClass
4177
+ ? eventClass
4178
+ : eventClass.default;
4179
+ return null == eventClass
4180
+ ? "auto" === defaultClass
4181
+ ? null
4182
+ : defaultClass
4183
+ : "auto" === eventClass
4184
+ ? null
4185
+ : eventClass;
4186
+ }
4023
4187
  function isEligibleForOutlining(request, boundary) {
4024
4188
  return (
4025
- (500 < boundary.byteSize || hasSuspenseyContent(boundary.contentState)) &&
4026
- null === boundary.contentPreamble
4189
+ (500 < boundary.byteSize ||
4190
+ hasSuspenseyContent(boundary.contentState, !1) ||
4191
+ boundary.defer) &&
4192
+ null === boundary.preamble
4027
4193
  );
4028
4194
  }
4029
4195
  function defaultErrorHandler(error) {
@@ -4063,11 +4229,11 @@ function RequestInstance(
4063
4229
  rootFormatContext,
4064
4230
  progressiveChunkSize,
4065
4231
  onError,
4232
+ onBrowserBailout,
4066
4233
  onAllReady,
4067
4234
  onShellReady,
4068
4235
  onShellError,
4069
4236
  onFatalError,
4070
- onPostpone,
4071
4237
  formState
4072
4238
  ) {
4073
4239
  var abortSet = new Set();
@@ -4080,21 +4246,24 @@ function RequestInstance(
4080
4246
  void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize;
4081
4247
  this.status = 10;
4082
4248
  this.fatalError = null;
4249
+ this.aborted = !1;
4083
4250
  this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
4084
4251
  this.completedPreambleSegments = this.completedRootSegment = null;
4085
4252
  this.byteSize = 0;
4086
4253
  this.abortableTasks = abortSet;
4087
4254
  this.pingedTasks = [];
4255
+ this.currentTask = null;
4088
4256
  this.clientRenderedBoundaries = [];
4089
4257
  this.completedBoundaries = [];
4090
4258
  this.partialBoundaries = [];
4091
- this.trackedPostpones = null;
4259
+ this.postponedState = this.trackedPostpones = null;
4092
4260
  this.onError = void 0 === onError ? defaultErrorHandler : onError;
4093
- this.onPostpone = void 0 === onPostpone ? noop : onPostpone;
4261
+ this.onBrowserBailout = void 0 === onBrowserBailout ? noop : onBrowserBailout;
4094
4262
  this.onAllReady = void 0 === onAllReady ? noop : onAllReady;
4095
4263
  this.onShellReady = void 0 === onShellReady ? noop : onShellReady;
4096
4264
  this.onShellError = void 0 === onShellError ? noop : onShellError;
4097
4265
  this.onFatalError = void 0 === onFatalError ? noop : onFatalError;
4266
+ this.renderLifetimeController = null;
4098
4267
  this.formState = void 0 === formState ? null : formState;
4099
4268
  }
4100
4269
  function createRequest(
@@ -4104,11 +4273,11 @@ function createRequest(
4104
4273
  rootFormatContext,
4105
4274
  progressiveChunkSize,
4106
4275
  onError,
4276
+ onBrowserBailout,
4107
4277
  onAllReady,
4108
4278
  onShellReady,
4109
4279
  onShellError,
4110
4280
  onFatalError,
4111
- onPostpone,
4112
4281
  formState
4113
4282
  ) {
4114
4283
  resumableState = new RequestInstance(
@@ -4117,11 +4286,11 @@ function createRequest(
4117
4286
  rootFormatContext,
4118
4287
  progressiveChunkSize,
4119
4288
  onError,
4289
+ onBrowserBailout,
4120
4290
  onAllReady,
4121
4291
  onShellReady,
4122
4292
  onShellError,
4123
4293
  onFatalError,
4124
- onPostpone,
4125
4294
  formState
4126
4295
  );
4127
4296
  renderState = createPendingSegment(
@@ -4161,11 +4330,11 @@ function createPrerenderRequest(
4161
4330
  rootFormatContext,
4162
4331
  progressiveChunkSize,
4163
4332
  onError,
4333
+ onBrowserBailout,
4164
4334
  onAllReady,
4165
4335
  onShellReady,
4166
4336
  onShellError,
4167
- onFatalError,
4168
- onPostpone
4337
+ onFatalError
4169
4338
  ) {
4170
4339
  children = createRequest(
4171
4340
  children,
@@ -4174,11 +4343,11 @@ function createPrerenderRequest(
4174
4343
  rootFormatContext,
4175
4344
  progressiveChunkSize,
4176
4345
  onError,
4346
+ onBrowserBailout,
4177
4347
  onAllReady,
4178
4348
  onShellReady,
4179
4349
  onShellError,
4180
4350
  onFatalError,
4181
- onPostpone,
4182
4351
  void 0
4183
4352
  );
4184
4353
  children.trackedPostpones = {
@@ -4193,11 +4362,11 @@ function resumeRequest(
4193
4362
  postponedState,
4194
4363
  renderState,
4195
4364
  onError,
4365
+ onBrowserBailout,
4196
4366
  onAllReady,
4197
4367
  onShellReady,
4198
4368
  onShellError,
4199
- onFatalError,
4200
- onPostpone
4369
+ onFatalError
4201
4370
  ) {
4202
4371
  renderState = new RequestInstance(
4203
4372
  postponedState.resumableState,
@@ -4205,11 +4374,11 @@ function resumeRequest(
4205
4374
  postponedState.rootFormatContext,
4206
4375
  postponedState.progressiveChunkSize,
4207
4376
  onError,
4377
+ onBrowserBailout,
4208
4378
  onAllReady,
4209
4379
  onShellReady,
4210
4380
  onShellError,
4211
4381
  onFatalError,
4212
- onPostpone,
4213
4382
  null
4214
4383
  );
4215
4384
  renderState.nextSegmentId = postponedState.nextSegmentId;
@@ -4274,22 +4443,22 @@ function resumeAndPrerenderRequest(
4274
4443
  postponedState,
4275
4444
  renderState,
4276
4445
  onError,
4446
+ onBrowserBailout,
4277
4447
  onAllReady,
4278
4448
  onShellReady,
4279
4449
  onShellError,
4280
- onFatalError,
4281
- onPostpone
4450
+ onFatalError
4282
4451
  ) {
4283
4452
  children = resumeRequest(
4284
4453
  children,
4285
4454
  postponedState,
4286
4455
  renderState,
4287
4456
  onError,
4457
+ onBrowserBailout,
4288
4458
  onAllReady,
4289
4459
  onShellReady,
4290
4460
  onShellError,
4291
- onFatalError,
4292
- onPostpone
4461
+ onFatalError
4293
4462
  );
4294
4463
  children.trackedPostpones = {
4295
4464
  workingMap: new Map(),
@@ -4315,8 +4484,8 @@ function createSuspenseBoundary(
4315
4484
  request,
4316
4485
  row,
4317
4486
  fallbackAbortableTasks,
4318
- contentPreamble,
4319
- fallbackPreamble
4487
+ preamble,
4488
+ defer
4320
4489
  ) {
4321
4490
  fallbackAbortableTasks = {
4322
4491
  status: 0,
@@ -4326,22 +4495,21 @@ function createSuspenseBoundary(
4326
4495
  row: row,
4327
4496
  completedSegments: [],
4328
4497
  byteSize: 0,
4498
+ defer: defer,
4329
4499
  fallbackAbortableTasks: fallbackAbortableTasks,
4330
4500
  errorDigest: null,
4331
4501
  contentState: createHoistableState(),
4332
4502
  fallbackState: createHoistableState(),
4333
- contentPreamble: contentPreamble,
4334
- fallbackPreamble: fallbackPreamble,
4335
- trackedContentKeyPath: null,
4336
- trackedFallbackNode: null
4503
+ preamble: preamble,
4504
+ tracked: null
4337
4505
  };
4338
4506
  null !== row &&
4339
4507
  (row.pendingTasks++,
4340
- (contentPreamble = row.boundaries),
4341
- null !== contentPreamble &&
4508
+ (preamble = row.boundaries),
4509
+ null !== preamble &&
4342
4510
  (request.allPendingTasks++,
4343
4511
  fallbackAbortableTasks.pendingTasks++,
4344
- contentPreamble.push(fallbackAbortableTasks)),
4512
+ preamble.push(fallbackAbortableTasks)),
4345
4513
  (request = row.inheritedHoistables),
4346
4514
  null !== request &&
4347
4515
  hoistHoistables(fallbackAbortableTasks.contentState, request));
@@ -4373,8 +4541,16 @@ function createRenderTask(
4373
4541
  replay: null,
4374
4542
  node: node,
4375
4543
  childIndex: childIndex,
4376
- ping: function () {
4377
- return pingTask(request, task);
4544
+ ping: {
4545
+ resolve: function () {
4546
+ return pingTask(request, task);
4547
+ },
4548
+ reject: function (error) {
4549
+ request.aborted
4550
+ ? task.abortSet.delete(task) &&
4551
+ finishAbortedTask(task, request, error)
4552
+ : pingTask(request, task);
4553
+ }
4378
4554
  },
4379
4555
  blockedBoundary: blockedBoundary,
4380
4556
  blockedSegment: blockedSegment,
@@ -4418,8 +4594,16 @@ function createReplayTask(
4418
4594
  replay: replay,
4419
4595
  node: node,
4420
4596
  childIndex: childIndex,
4421
- ping: function () {
4422
- return pingTask(request, task);
4597
+ ping: {
4598
+ resolve: function () {
4599
+ return pingTask(request, task);
4600
+ },
4601
+ reject: function (error) {
4602
+ request.aborted
4603
+ ? task.abortSet.delete(task) &&
4604
+ finishAbortedTask(task, request, error)
4605
+ : pingTask(request, task);
4606
+ }
4423
4607
  },
4424
4608
  blockedBoundary: blockedBoundary,
4425
4609
  blockedSegment: null,
@@ -4502,18 +4686,22 @@ function getThrownInfo(node$jscomp$0) {
4502
4686
  return errorInfo;
4503
4687
  }
4504
4688
  function logRecoverableError(request, error, errorInfo) {
4689
+ if (isRecoverableError(error))
4690
+ return (request = request.onBrowserBailout), request(error, errorInfo), "";
4505
4691
  request = request.onError;
4506
4692
  error = request(error, errorInfo);
4507
- if (null == error || "string" === typeof error) return error;
4693
+ if (null == error || "string" === typeof error)
4694
+ return "" === error ? void 0 : error;
4508
4695
  }
4509
4696
  function fatalError(request, error) {
4510
4697
  var onShellError = request.onShellError,
4511
4698
  onFatalError = request.onFatalError;
4512
- onShellError(error);
4699
+ 0 !== request.pendingRootTasks && onShellError(error);
4513
4700
  onFatalError(error);
4701
+ endRenderLifetime(request);
4514
4702
  null !== request.destination
4515
- ? ((request.status = 14), closeWithError(request.destination, error))
4516
- : ((request.status = 13), (request.fatalError = error));
4703
+ ? ((request.status = 13), closeWithError(request.destination, error))
4704
+ : ((request.status = 12), request.aborted || (request.fatalError = error));
4517
4705
  }
4518
4706
  function finishSuspenseListRow(request, row) {
4519
4707
  unblockSuspenseListRow(request, row.next, row.hoistables);
@@ -4633,43 +4821,46 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
4633
4821
  0 === --previousSuspenseListRow.pendingTasks &&
4634
4822
  finishSuspenseListRow(request, previousSuspenseListRow);
4635
4823
  else {
4636
- revealOrder = task.blockedSegment;
4637
- resumeSlots = revealOrder.children.length;
4638
- n = revealOrder.chunks.length;
4639
- for (i = keyPath - 1; 0 <= i; i--) {
4640
- node = rows[i];
4824
+ resumeSlots = task.blockedSegment;
4825
+ n = resumeSlots.children.length;
4826
+ i = resumeSlots.chunks.length;
4827
+ for (node = 0; node < keyPath; node++) {
4828
+ resumeSegmentID =
4829
+ "unstable_legacy-backwards" === revealOrder ? keyPath - 1 - node : node;
4830
+ var node$40 = rows[resumeSegmentID];
4641
4831
  task.row = previousSuspenseListRow = createSuspenseListRow(
4642
4832
  previousSuspenseListRow
4643
4833
  );
4644
- task.treeContext = pushTreeContext(prevTreeContext, keyPath, i);
4645
- resumeSegmentID = createPendingSegment(
4834
+ task.treeContext = pushTreeContext(
4835
+ prevTreeContext,
4836
+ keyPath,
4837
+ resumeSegmentID
4838
+ );
4839
+ var newSegment = createPendingSegment(
4646
4840
  request,
4647
- n,
4841
+ i,
4648
4842
  null,
4649
4843
  task.formatContext,
4650
- 0 === i ? revealOrder.lastPushedText : !0,
4844
+ 0 === resumeSegmentID ? resumeSlots.lastPushedText : !0,
4651
4845
  !0
4652
4846
  );
4653
- revealOrder.children.splice(resumeSlots, 0, resumeSegmentID);
4654
- task.blockedSegment = resumeSegmentID;
4847
+ resumeSlots.children.splice(n, 0, newSegment);
4848
+ task.blockedSegment = newSegment;
4655
4849
  try {
4656
- renderNode(request, task, node, i),
4657
- resumeSegmentID.lastPushedText &&
4658
- resumeSegmentID.textEmbedded &&
4659
- resumeSegmentID.chunks.push(textSeparator),
4660
- (resumeSegmentID.status = 1),
4661
- finishedSegment(request, task.blockedBoundary, resumeSegmentID),
4850
+ renderNode(request, task, node$40, resumeSegmentID),
4851
+ newSegment.lastPushedText &&
4852
+ newSegment.textEmbedded &&
4853
+ newSegment.chunks.push(textSeparator),
4854
+ (newSegment.status = 1),
4855
+ finishedSegment(request, task.blockedBoundary, newSegment),
4662
4856
  0 === --previousSuspenseListRow.pendingTasks &&
4663
4857
  finishSuspenseListRow(request, previousSuspenseListRow);
4664
4858
  } catch (thrownValue) {
4665
- throw (
4666
- ((resumeSegmentID.status = 12 === request.status ? 3 : 4),
4667
- thrownValue)
4668
- );
4859
+ throw ((newSegment.status = request.aborted ? 3 : 4), thrownValue);
4669
4860
  }
4670
4861
  }
4671
- task.blockedSegment = revealOrder;
4672
- revealOrder.lastPushedText = !1;
4862
+ task.blockedSegment = resumeSlots;
4863
+ resumeSlots.lastPushedText = !1;
4673
4864
  }
4674
4865
  null !== prevRow &&
4675
4866
  null !== previousSuspenseListRow &&
@@ -4746,113 +4937,143 @@ function renderElement(request, task, keyPath, type, props, ref) {
4746
4937
  var defaultProps = type.defaultProps;
4747
4938
  if (defaultProps) {
4748
4939
  newProps === props && (newProps = assign({}, newProps, props));
4749
- for (var propName$44 in defaultProps)
4750
- void 0 === newProps[propName$44] &&
4751
- (newProps[propName$44] = defaultProps[propName$44]);
4940
+ for (var propName$45 in defaultProps)
4941
+ void 0 === newProps[propName$45] &&
4942
+ (newProps[propName$45] = defaultProps[propName$45]);
4752
4943
  }
4753
- props = newProps;
4754
- newProps = emptyContextObject;
4755
- defaultProps = type.contextType;
4756
- "object" === typeof defaultProps &&
4757
- null !== defaultProps &&
4758
- (newProps = defaultProps._currentValue);
4759
- newProps = new type(props, newProps);
4760
- var initialState = void 0 !== newProps.state ? newProps.state : null;
4761
- newProps.updater = classComponentUpdater;
4762
- newProps.props = props;
4763
- newProps.state = initialState;
4764
- defaultProps = { queue: [], replace: !1 };
4765
- newProps._reactInternals = defaultProps;
4766
- ref = type.contextType;
4767
- newProps.context =
4768
- "object" === typeof ref && null !== ref
4769
- ? ref._currentValue
4944
+ var JSCompiler_inline_result = newProps;
4945
+ var context = emptyContextObject,
4946
+ contextType = type.contextType;
4947
+ "object" === typeof contextType &&
4948
+ null !== contextType &&
4949
+ (context = contextType._currentValue);
4950
+ var JSCompiler_inline_result$jscomp$0 = new type(
4951
+ JSCompiler_inline_result,
4952
+ context
4953
+ );
4954
+ var initialState =
4955
+ void 0 !== JSCompiler_inline_result$jscomp$0.state
4956
+ ? JSCompiler_inline_result$jscomp$0.state
4957
+ : null;
4958
+ JSCompiler_inline_result$jscomp$0.updater = classComponentUpdater;
4959
+ JSCompiler_inline_result$jscomp$0.props = JSCompiler_inline_result;
4960
+ JSCompiler_inline_result$jscomp$0.state = initialState;
4961
+ var internalInstance = { queue: [], replace: !1 };
4962
+ JSCompiler_inline_result$jscomp$0._reactInternals = internalInstance;
4963
+ var contextType$jscomp$0 = type.contextType;
4964
+ JSCompiler_inline_result$jscomp$0.context =
4965
+ "object" === typeof contextType$jscomp$0 &&
4966
+ null !== contextType$jscomp$0
4967
+ ? contextType$jscomp$0._currentValue
4770
4968
  : emptyContextObject;
4771
- ref = type.getDerivedStateFromProps;
4772
- "function" === typeof ref &&
4773
- ((ref = ref(props, initialState)),
4774
- (initialState =
4775
- null === ref || void 0 === ref
4969
+ var getDerivedStateFromProps = type.getDerivedStateFromProps;
4970
+ if ("function" === typeof getDerivedStateFromProps) {
4971
+ var partialState = getDerivedStateFromProps(
4972
+ JSCompiler_inline_result,
4973
+ initialState
4974
+ );
4975
+ var JSCompiler_inline_result$jscomp$1 =
4976
+ null === partialState || void 0 === partialState
4776
4977
  ? initialState
4777
- : assign({}, initialState, ref)),
4778
- (newProps.state = initialState));
4978
+ : assign({}, initialState, partialState);
4979
+ JSCompiler_inline_result$jscomp$0.state =
4980
+ JSCompiler_inline_result$jscomp$1;
4981
+ }
4779
4982
  if (
4780
4983
  "function" !== typeof type.getDerivedStateFromProps &&
4781
- "function" !== typeof newProps.getSnapshotBeforeUpdate &&
4782
- ("function" === typeof newProps.UNSAFE_componentWillMount ||
4783
- "function" === typeof newProps.componentWillMount)
4784
- )
4984
+ "function" !==
4985
+ typeof JSCompiler_inline_result$jscomp$0.getSnapshotBeforeUpdate &&
4986
+ ("function" ===
4987
+ typeof JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount ||
4988
+ "function" ===
4989
+ typeof JSCompiler_inline_result$jscomp$0.componentWillMount)
4990
+ ) {
4991
+ var oldState = JSCompiler_inline_result$jscomp$0.state;
4992
+ "function" ===
4993
+ typeof JSCompiler_inline_result$jscomp$0.componentWillMount &&
4994
+ JSCompiler_inline_result$jscomp$0.componentWillMount();
4995
+ "function" ===
4996
+ typeof JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount &&
4997
+ JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount();
4998
+ oldState !== JSCompiler_inline_result$jscomp$0.state &&
4999
+ classComponentUpdater.enqueueReplaceState(
5000
+ JSCompiler_inline_result$jscomp$0,
5001
+ JSCompiler_inline_result$jscomp$0.state,
5002
+ null
5003
+ );
4785
5004
  if (
4786
- ((type = newProps.state),
4787
- "function" === typeof newProps.componentWillMount &&
4788
- newProps.componentWillMount(),
4789
- "function" === typeof newProps.UNSAFE_componentWillMount &&
4790
- newProps.UNSAFE_componentWillMount(),
4791
- type !== newProps.state &&
4792
- classComponentUpdater.enqueueReplaceState(
4793
- newProps,
4794
- newProps.state,
4795
- null
4796
- ),
4797
- null !== defaultProps.queue && 0 < defaultProps.queue.length)
4798
- )
4799
- if (
4800
- ((type = defaultProps.queue),
4801
- (ref = defaultProps.replace),
4802
- (defaultProps.queue = null),
4803
- (defaultProps.replace = !1),
4804
- ref && 1 === type.length)
4805
- )
4806
- newProps.state = type[0];
5005
+ null !== internalInstance.queue &&
5006
+ 0 < internalInstance.queue.length
5007
+ ) {
5008
+ var oldQueue = internalInstance.queue,
5009
+ oldReplace = internalInstance.replace;
5010
+ internalInstance.queue = null;
5011
+ internalInstance.replace = !1;
5012
+ if (oldReplace && 1 === oldQueue.length)
5013
+ JSCompiler_inline_result$jscomp$0.state = oldQueue[0];
4807
5014
  else {
4808
- defaultProps = ref ? type[0] : newProps.state;
4809
- initialState = !0;
4810
- for (ref = ref ? 1 : 0; ref < type.length; ref++)
4811
- (propName$44 = type[ref]),
4812
- (propName$44 =
4813
- "function" === typeof propName$44
4814
- ? propName$44.call(newProps, defaultProps, props, void 0)
4815
- : propName$44),
4816
- null != propName$44 &&
4817
- (initialState
4818
- ? ((initialState = !1),
4819
- (defaultProps = assign({}, defaultProps, propName$44)))
4820
- : assign(defaultProps, propName$44));
4821
- newProps.state = defaultProps;
5015
+ for (
5016
+ var nextState = oldReplace
5017
+ ? oldQueue[0]
5018
+ : JSCompiler_inline_result$jscomp$0.state,
5019
+ dontMutate = !0,
5020
+ i = oldReplace ? 1 : 0;
5021
+ i < oldQueue.length;
5022
+ i++
5023
+ ) {
5024
+ var partial = oldQueue[i],
5025
+ partialState$jscomp$0 =
5026
+ "function" === typeof partial
5027
+ ? partial.call(
5028
+ JSCompiler_inline_result$jscomp$0,
5029
+ nextState,
5030
+ JSCompiler_inline_result,
5031
+ void 0
5032
+ )
5033
+ : partial;
5034
+ null != partialState$jscomp$0 &&
5035
+ (dontMutate
5036
+ ? ((dontMutate = !1),
5037
+ (nextState = assign({}, nextState, partialState$jscomp$0)))
5038
+ : assign(nextState, partialState$jscomp$0));
5039
+ }
5040
+ JSCompiler_inline_result$jscomp$0.state = nextState;
4822
5041
  }
4823
- else defaultProps.queue = null;
4824
- type = newProps.render();
4825
- if (12 === request.status) throw null;
4826
- props = task.keyPath;
5042
+ } else internalInstance.queue = null;
5043
+ }
5044
+ var nextChildren = JSCompiler_inline_result$jscomp$0.render();
5045
+ if (request.aborted) throw null;
5046
+ var prevKeyPath = task.keyPath;
4827
5047
  task.keyPath = keyPath;
4828
- renderNodeDestructive(request, task, type, -1);
4829
- task.keyPath = props;
5048
+ renderNodeDestructive(request, task, nextChildren, -1);
5049
+ task.keyPath = prevKeyPath;
4830
5050
  } else {
4831
- type = renderWithHooks(request, task, keyPath, type, props, void 0);
4832
- if (12 === request.status) throw null;
5051
+ var value = renderWithHooks(request, task, keyPath, type, props, void 0);
5052
+ if (request.aborted) throw null;
4833
5053
  finishFunctionComponent(
4834
5054
  request,
4835
5055
  task,
4836
5056
  keyPath,
4837
- type,
5057
+ value,
4838
5058
  0 !== localIdCounter,
4839
5059
  actionStateCounter,
4840
5060
  actionStateMatchingIndex
4841
5061
  );
4842
5062
  }
4843
- else if ("string" === typeof type)
4844
- if (((newProps = task.blockedSegment), null === newProps))
4845
- (newProps = props.children),
4846
- (defaultProps = task.formatContext),
4847
- (initialState = task.keyPath),
4848
- (task.formatContext = getChildFormatContext(defaultProps, type, props)),
4849
- (task.keyPath = keyPath),
4850
- renderNode(request, task, newProps, -1),
4851
- (task.formatContext = defaultProps),
4852
- (task.keyPath = initialState);
4853
- else {
4854
- initialState = pushStartInstance(
4855
- newProps.chunks,
5063
+ else if ("string" === typeof type) {
5064
+ var segment = task.blockedSegment;
5065
+ if (null === segment) {
5066
+ var children = props.children,
5067
+ prevContext = task.formatContext,
5068
+ prevKeyPath$jscomp$0 = task.keyPath;
5069
+ task.formatContext = getChildFormatContext(prevContext, type, props);
5070
+ task.keyPath = keyPath;
5071
+ renderNode(request, task, children, -1);
5072
+ task.formatContext = prevContext;
5073
+ task.keyPath = prevKeyPath$jscomp$0;
5074
+ } else {
5075
+ var children$42 = pushStartInstance(
5076
+ segment.chunks,
4856
5077
  type,
4857
5078
  props,
4858
5079
  request.resumableState,
@@ -4860,18 +5081,21 @@ function renderElement(request, task, keyPath, type, props, ref) {
4860
5081
  task.blockedPreamble,
4861
5082
  task.hoistableState,
4862
5083
  task.formatContext,
4863
- newProps.lastPushedText
5084
+ segment.lastPushedText
4864
5085
  );
4865
- newProps.lastPushedText = !1;
4866
- defaultProps = task.formatContext;
4867
- ref = task.keyPath;
5086
+ segment.lastPushedText = !1;
5087
+ var prevContext$43 = task.formatContext,
5088
+ prevKeyPath$44 = task.keyPath;
4868
5089
  task.keyPath = keyPath;
4869
5090
  if (
4870
5091
  3 ===
4871
- (task.formatContext = getChildFormatContext(defaultProps, type, props))
4872
- .insertionMode
5092
+ (task.formatContext = getChildFormatContext(
5093
+ prevContext$43,
5094
+ type,
5095
+ props
5096
+ )).insertionMode
4873
5097
  ) {
4874
- keyPath = createPendingSegment(
5098
+ var preambleSegment = createPendingSegment(
4875
5099
  request,
4876
5100
  0,
4877
5101
  null,
@@ -4879,25 +5103,24 @@ function renderElement(request, task, keyPath, type, props, ref) {
4879
5103
  !1,
4880
5104
  !1
4881
5105
  );
4882
- newProps.preambleChildren.push(keyPath);
4883
- task.blockedSegment = keyPath;
5106
+ segment.preambleChildren.push(preambleSegment);
5107
+ task.blockedSegment = preambleSegment;
4884
5108
  try {
4885
- (keyPath.status = 6),
4886
- renderNode(request, task, initialState, -1),
4887
- keyPath.lastPushedText &&
4888
- keyPath.textEmbedded &&
4889
- keyPath.chunks.push(textSeparator),
4890
- (keyPath.status = 1),
4891
- finishedSegment(request, task.blockedBoundary, keyPath);
5109
+ renderNode(request, task, children$42, -1),
5110
+ preambleSegment.lastPushedText &&
5111
+ preambleSegment.textEmbedded &&
5112
+ preambleSegment.chunks.push(textSeparator),
5113
+ (preambleSegment.status = 1),
5114
+ finishedSegment(request, task.blockedBoundary, preambleSegment);
4892
5115
  } finally {
4893
- task.blockedSegment = newProps;
5116
+ task.blockedSegment = segment;
4894
5117
  }
4895
- } else renderNode(request, task, initialState, -1);
4896
- task.formatContext = defaultProps;
4897
- task.keyPath = ref;
5118
+ } else renderNode(request, task, children$42, -1);
5119
+ task.formatContext = prevContext$43;
5120
+ task.keyPath = prevKeyPath$44;
4898
5121
  a: {
4899
- task = newProps.chunks;
4900
- request = request.resumableState;
5122
+ var target = segment.chunks,
5123
+ resumableState = request.resumableState;
4901
5124
  switch (type) {
4902
5125
  case "title":
4903
5126
  case "style":
@@ -4919,157 +5142,239 @@ function renderElement(request, task, keyPath, type, props, ref) {
4919
5142
  case "wbr":
4920
5143
  break a;
4921
5144
  case "body":
4922
- if (1 >= defaultProps.insertionMode) {
4923
- request.hasBody = !0;
5145
+ if (1 >= prevContext$43.insertionMode) {
5146
+ resumableState.hasBody = !0;
4924
5147
  break a;
4925
5148
  }
4926
5149
  break;
4927
5150
  case "html":
4928
- if (0 === defaultProps.insertionMode) {
4929
- request.hasHtml = !0;
5151
+ if (0 === prevContext$43.insertionMode) {
5152
+ resumableState.hasHtml = !0;
4930
5153
  break a;
4931
5154
  }
4932
5155
  break;
4933
5156
  case "head":
4934
- if (1 >= defaultProps.insertionMode) break a;
5157
+ if (1 >= prevContext$43.insertionMode) break a;
4935
5158
  }
4936
- task.push(endChunkForTag(type));
5159
+ target.push(endChunkForTag(type));
4937
5160
  }
4938
- newProps.lastPushedText = !1;
5161
+ segment.lastPushedText = !1;
4939
5162
  }
4940
- else {
5163
+ } else {
4941
5164
  switch (type) {
4942
5165
  case REACT_LEGACY_HIDDEN_TYPE:
4943
5166
  case REACT_STRICT_MODE_TYPE:
4944
5167
  case REACT_PROFILER_TYPE:
4945
5168
  case REACT_FRAGMENT_TYPE:
4946
- type = task.keyPath;
5169
+ var prevKeyPath$jscomp$1 = task.keyPath;
4947
5170
  task.keyPath = keyPath;
4948
5171
  renderNodeDestructive(request, task, props.children, -1);
4949
- task.keyPath = type;
5172
+ task.keyPath = prevKeyPath$jscomp$1;
4950
5173
  return;
4951
5174
  case REACT_ACTIVITY_TYPE:
4952
- type = task.blockedSegment;
4953
- null === type
4954
- ? "hidden" !== props.mode &&
4955
- ((type = task.keyPath),
4956
- (task.keyPath = keyPath),
4957
- renderNode(request, task, props.children, -1),
4958
- (task.keyPath = type))
4959
- : "hidden" !== props.mode &&
4960
- (type.chunks.push(startActivityBoundary),
4961
- (type.lastPushedText = !1),
4962
- (newProps = task.keyPath),
4963
- (task.keyPath = keyPath),
4964
- renderNode(request, task, props.children, -1),
4965
- (task.keyPath = newProps),
4966
- type.chunks.push(endActivityBoundary),
4967
- (type.lastPushedText = !1));
5175
+ var segment$jscomp$0 = task.blockedSegment;
5176
+ if (null === segment$jscomp$0) {
5177
+ if ("hidden" !== props.mode) {
5178
+ var prevKeyPath$jscomp$2 = task.keyPath;
5179
+ task.keyPath = keyPath;
5180
+ renderNode(request, task, props.children, -1);
5181
+ task.keyPath = prevKeyPath$jscomp$2;
5182
+ }
5183
+ } else if ("hidden" !== props.mode) {
5184
+ segment$jscomp$0.chunks.push(startActivityBoundary);
5185
+ segment$jscomp$0.lastPushedText = !1;
5186
+ var prevKeyPath$47 = task.keyPath;
5187
+ task.keyPath = keyPath;
5188
+ renderNode(request, task, props.children, -1);
5189
+ task.keyPath = prevKeyPath$47;
5190
+ segment$jscomp$0.chunks.push(endActivityBoundary);
5191
+ segment$jscomp$0.lastPushedText = !1;
5192
+ }
4968
5193
  return;
4969
5194
  case REACT_SUSPENSE_LIST_TYPE:
4970
5195
  a: {
4971
- type = props.children;
4972
- props = props.revealOrder;
4973
- if (
4974
- "forwards" === props ||
4975
- "backwards" === props ||
4976
- "unstable_legacy-backwards" === props
4977
- ) {
4978
- if (isArrayImpl(type)) {
4979
- renderSuspenseListRows(request, task, keyPath, type, props);
5196
+ var children$jscomp$0 = props.children,
5197
+ revealOrder = props.revealOrder;
5198
+ if ("independent" !== revealOrder && "together" !== revealOrder) {
5199
+ if (isArrayImpl(children$jscomp$0)) {
5200
+ renderSuspenseListRows(
5201
+ request,
5202
+ task,
5203
+ keyPath,
5204
+ children$jscomp$0,
5205
+ revealOrder
5206
+ );
4980
5207
  break a;
4981
5208
  }
4982
- if ((newProps = getIteratorFn(type)))
4983
- if ((newProps = newProps.call(type))) {
4984
- defaultProps = newProps.next();
4985
- if (!defaultProps.done) {
4986
- do defaultProps = newProps.next();
4987
- while (!defaultProps.done);
4988
- renderSuspenseListRows(request, task, keyPath, type, props);
5209
+ var iteratorFn = getIteratorFn(children$jscomp$0);
5210
+ if (iteratorFn) {
5211
+ var iterator = iteratorFn.call(children$jscomp$0);
5212
+ if (iterator) {
5213
+ var step = iterator.next();
5214
+ if (!step.done) {
5215
+ do step = iterator.next();
5216
+ while (!step.done);
5217
+ renderSuspenseListRows(
5218
+ request,
5219
+ task,
5220
+ keyPath,
5221
+ children$jscomp$0,
5222
+ revealOrder
5223
+ );
4989
5224
  }
4990
5225
  break a;
4991
5226
  }
5227
+ }
5228
+ }
5229
+ if ("together" === revealOrder) {
5230
+ var prevKeyPath$41 = task.keyPath,
5231
+ prevRow = task.row,
5232
+ newRow = (task.row = createSuspenseListRow(null));
5233
+ newRow.boundaries = [];
5234
+ newRow.together = !0;
5235
+ task.keyPath = keyPath;
5236
+ renderNodeDestructive(request, task, children$jscomp$0, -1);
5237
+ 0 === --newRow.pendingTasks &&
5238
+ finishSuspenseListRow(request, newRow);
5239
+ task.keyPath = prevKeyPath$41;
5240
+ task.row = prevRow;
5241
+ null !== prevRow &&
5242
+ 0 < newRow.pendingTasks &&
5243
+ (prevRow.pendingTasks++, (newRow.next = prevRow));
5244
+ } else {
5245
+ var prevKeyPath$jscomp$3 = task.keyPath;
5246
+ task.keyPath = keyPath;
5247
+ renderNodeDestructive(request, task, children$jscomp$0, -1);
5248
+ task.keyPath = prevKeyPath$jscomp$3;
4992
5249
  }
4993
- "together" === props
4994
- ? ((props = task.keyPath),
4995
- (newProps = task.row),
4996
- (defaultProps = task.row = createSuspenseListRow(null)),
4997
- (defaultProps.boundaries = []),
4998
- (defaultProps.together = !0),
4999
- (task.keyPath = keyPath),
5000
- renderNodeDestructive(request, task, type, -1),
5001
- 0 === --defaultProps.pendingTasks &&
5002
- finishSuspenseListRow(request, defaultProps),
5003
- (task.keyPath = props),
5004
- (task.row = newProps),
5005
- null !== newProps &&
5006
- 0 < defaultProps.pendingTasks &&
5007
- (newProps.pendingTasks++, (defaultProps.next = newProps)))
5008
- : ((props = task.keyPath),
5009
- (task.keyPath = keyPath),
5010
- renderNodeDestructive(request, task, type, -1),
5011
- (task.keyPath = props));
5012
5250
  }
5013
5251
  return;
5014
5252
  case REACT_VIEW_TRANSITION_TYPE:
5253
+ var prevContext$jscomp$0 = task.formatContext,
5254
+ prevKeyPath$jscomp$4 = task.keyPath;
5255
+ var resumableState$jscomp$0 = request.resumableState;
5256
+ if (null != props.name && "auto" !== props.name)
5257
+ var JSCompiler_inline_result$jscomp$2 = props.name;
5258
+ else {
5259
+ var treeId = getTreeId(task.treeContext);
5260
+ JSCompiler_inline_result$jscomp$2 = makeId(
5261
+ resumableState$jscomp$0,
5262
+ treeId,
5263
+ 0
5264
+ );
5265
+ }
5266
+ var autoName = JSCompiler_inline_result$jscomp$2,
5267
+ resumableState$jscomp$1 = request.resumableState,
5268
+ update = getViewTransitionClassName(props.default, props.update),
5269
+ enter = getViewTransitionClassName(props.default, props.enter),
5270
+ exit = getViewTransitionClassName(props.default, props.exit),
5271
+ share = getViewTransitionClassName(props.default, props.share),
5272
+ name = props.name;
5273
+ null == update && (update = "auto");
5274
+ null == enter && (enter = "auto");
5275
+ null == exit && (exit = "auto");
5276
+ if (null == name) {
5277
+ var parentViewTransition = prevContext$jscomp$0.viewTransition;
5278
+ null !== parentViewTransition
5279
+ ? ((name = parentViewTransition.name),
5280
+ (share = parentViewTransition.share))
5281
+ : ((name = "auto"), (share = "none"));
5282
+ } else
5283
+ null == share && (share = "auto"),
5284
+ prevContext$jscomp$0.tagScope & 4 &&
5285
+ (resumableState$jscomp$1.instructions |= 128);
5286
+ prevContext$jscomp$0.tagScope & 8
5287
+ ? (resumableState$jscomp$1.instructions |= 128)
5288
+ : (exit = "none");
5289
+ prevContext$jscomp$0.tagScope & 16
5290
+ ? (resumableState$jscomp$1.instructions |= 128)
5291
+ : (enter = "none");
5292
+ var viewTransition = {
5293
+ update: update,
5294
+ enter: enter,
5295
+ exit: exit,
5296
+ share: share,
5297
+ parentEnter: "none",
5298
+ parentExit: "none",
5299
+ name: name,
5300
+ autoName: autoName,
5301
+ nameIdx: 0
5302
+ },
5303
+ subtreeScope = prevContext$jscomp$0.tagScope & -25;
5304
+ subtreeScope =
5305
+ "none" !== update ? subtreeScope | 32 : subtreeScope & -33;
5306
+ "none" !== enter && (subtreeScope |= 64);
5307
+ var JSCompiler_inline_result$jscomp$3 = createFormatContext(
5308
+ prevContext$jscomp$0.insertionMode,
5309
+ prevContext$jscomp$0.selectedValue,
5310
+ subtreeScope,
5311
+ viewTransition
5312
+ );
5313
+ task.formatContext = JSCompiler_inline_result$jscomp$3;
5314
+ task.keyPath = keyPath;
5315
+ if (null != props.name && "auto" !== props.name)
5316
+ renderNodeDestructive(request, task, props.children, -1);
5317
+ else {
5318
+ var prevTreeContext = task.treeContext;
5319
+ task.treeContext = pushTreeContext(prevTreeContext, 1, 0);
5320
+ renderNode(request, task, props.children, -1);
5321
+ task.treeContext = prevTreeContext;
5322
+ }
5323
+ task.formatContext = prevContext$jscomp$0;
5324
+ task.keyPath = prevKeyPath$jscomp$4;
5325
+ return;
5015
5326
  case REACT_SCOPE_TYPE:
5016
5327
  throw Error(formatProdErrorMessage(343));
5017
5328
  case REACT_SUSPENSE_TYPE:
5018
5329
  a: if (null !== task.replay) {
5019
- type = task.keyPath;
5020
- newProps = task.formatContext;
5021
- defaultProps = task.row;
5330
+ var prevKeyPath$27 = task.keyPath,
5331
+ prevContext$28 = task.formatContext,
5332
+ prevRow$29 = task.row;
5022
5333
  task.keyPath = keyPath;
5023
5334
  task.formatContext = getSuspenseContentFormatContext(
5024
5335
  request.resumableState,
5025
- newProps
5336
+ prevContext$28
5026
5337
  );
5027
5338
  task.row = null;
5028
- keyPath = props.children;
5339
+ var content$30 = props.children;
5029
5340
  try {
5030
- renderNode(request, task, keyPath, -1);
5341
+ renderNode(request, task, content$30, -1);
5031
5342
  } finally {
5032
- (task.keyPath = type),
5033
- (task.formatContext = newProps),
5034
- (task.row = defaultProps);
5343
+ (task.keyPath = prevKeyPath$27),
5344
+ (task.formatContext = prevContext$28),
5345
+ (task.row = prevRow$29);
5035
5346
  }
5036
5347
  } else {
5037
- type = task.keyPath;
5038
- ref = task.formatContext;
5039
- var prevRow = task.row;
5040
- propName$44 = task.blockedBoundary;
5041
- propName = task.blockedPreamble;
5042
- var parentHoistableState = task.hoistableState,
5348
+ var prevKeyPath$jscomp$5 = task.keyPath,
5349
+ prevContext$jscomp$1 = task.formatContext,
5350
+ prevRow$jscomp$0 = task.row,
5351
+ parentBoundary = task.blockedBoundary,
5352
+ parentPreamble = task.blockedPreamble,
5353
+ parentHoistableState = task.hoistableState,
5043
5354
  parentSegment = task.blockedSegment,
5044
- fallback = props.fallback;
5045
- props = props.children;
5046
- var fallbackAbortSet = new Set();
5047
- var newBoundary =
5048
- 2 > task.formatContext.insertionMode
5049
- ? createSuspenseBoundary(
5050
- request,
5051
- task.row,
5052
- fallbackAbortSet,
5053
- createPreambleState(),
5054
- createPreambleState()
5055
- )
5056
- : createSuspenseBoundary(
5057
- request,
5058
- task.row,
5059
- fallbackAbortSet,
5060
- null,
5061
- null
5062
- );
5063
- null !== request.trackedPostpones &&
5064
- (newBoundary.trackedContentKeyPath = keyPath);
5065
- var boundarySegment = createPendingSegment(
5066
- request,
5067
- parentSegment.chunks.length,
5068
- newBoundary,
5069
- task.formatContext,
5070
- !1,
5071
- !1
5072
- );
5355
+ fallback = props.fallback,
5356
+ content = props.children,
5357
+ fallbackAbortSet = new Set(),
5358
+ newBoundary = createSuspenseBoundary(
5359
+ request,
5360
+ task.row,
5361
+ fallbackAbortSet,
5362
+ 2 > task.formatContext.insertionMode
5363
+ ? {
5364
+ content: createPreambleState(),
5365
+ fallback: createPreambleState()
5366
+ }
5367
+ : null,
5368
+ !1
5369
+ ),
5370
+ boundarySegment = createPendingSegment(
5371
+ request,
5372
+ parentSegment.chunks.length,
5373
+ newBoundary,
5374
+ task.formatContext,
5375
+ !1,
5376
+ !1
5377
+ );
5073
5378
  parentSegment.children.push(boundarySegment);
5074
5379
  parentSegment.lastPushedText = !1;
5075
5380
  var contentRootSegment = createPendingSegment(
@@ -5081,48 +5386,68 @@ function renderElement(request, task, keyPath, type, props, ref) {
5081
5386
  !1
5082
5387
  );
5083
5388
  contentRootSegment.parentFlushed = !0;
5084
- if (null !== request.trackedPostpones) {
5085
- newProps = task.componentStack;
5086
- defaultProps = [keyPath[0], "Suspense Fallback", keyPath[2]];
5087
- initialState = [defaultProps[1], defaultProps[2], [], null];
5088
- request.trackedPostpones.workingMap.set(defaultProps, initialState);
5089
- newBoundary.trackedFallbackNode = initialState;
5389
+ var trackedPostpones = request.trackedPostpones;
5390
+ if (null !== trackedPostpones) {
5391
+ var suspenseComponentStack = task.componentStack,
5392
+ fallbackKeyPath = [keyPath[0], "Suspense Fallback", keyPath[2]];
5393
+ if (null !== trackedPostpones) {
5394
+ var fallbackReplayNode = [
5395
+ fallbackKeyPath[1],
5396
+ fallbackKeyPath[2],
5397
+ [],
5398
+ null
5399
+ ];
5400
+ trackedPostpones.workingMap.set(
5401
+ fallbackKeyPath,
5402
+ fallbackReplayNode
5403
+ );
5404
+ newBoundary.tracked = {
5405
+ contentKeyPath: keyPath,
5406
+ fallbackNode: fallbackReplayNode
5407
+ };
5408
+ }
5090
5409
  task.blockedSegment = boundarySegment;
5091
- task.blockedPreamble = newBoundary.fallbackPreamble;
5092
- task.keyPath = defaultProps;
5410
+ task.blockedPreamble =
5411
+ null === newBoundary.preamble
5412
+ ? null
5413
+ : newBoundary.preamble.fallback;
5414
+ task.keyPath = fallbackKeyPath;
5093
5415
  task.formatContext = getSuspenseFallbackFormatContext(
5094
5416
  request.resumableState,
5095
- ref
5417
+ prevContext$jscomp$1
5096
5418
  );
5097
5419
  task.componentStack =
5098
- replaceSuspenseComponentStackWithSuspenseFallbackStack(newProps);
5099
- boundarySegment.status = 6;
5420
+ replaceSuspenseComponentStackWithSuspenseFallbackStack(
5421
+ suspenseComponentStack
5422
+ );
5100
5423
  try {
5101
5424
  renderNode(request, task, fallback, -1),
5102
5425
  boundarySegment.lastPushedText &&
5103
5426
  boundarySegment.textEmbedded &&
5104
5427
  boundarySegment.chunks.push(textSeparator),
5105
5428
  (boundarySegment.status = 1),
5106
- finishedSegment(request, propName$44, boundarySegment);
5429
+ finishedSegment(request, parentBoundary, boundarySegment);
5107
5430
  } catch (thrownValue) {
5108
5431
  throw (
5109
- ((boundarySegment.status = 12 === request.status ? 3 : 4),
5432
+ ((boundarySegment.status = request.aborted ? 3 : 4),
5110
5433
  thrownValue)
5111
5434
  );
5112
5435
  } finally {
5113
5436
  (task.blockedSegment = parentSegment),
5114
- (task.blockedPreamble = propName),
5115
- (task.keyPath = type),
5116
- (task.formatContext = ref);
5437
+ (task.blockedPreamble = parentPreamble),
5438
+ (task.keyPath = prevKeyPath$jscomp$5),
5439
+ (task.formatContext = prevContext$jscomp$1);
5117
5440
  }
5118
- task = createRenderTask(
5441
+ var suspendedPrimaryTask = createRenderTask(
5119
5442
  request,
5120
5443
  null,
5121
- props,
5444
+ content,
5122
5445
  -1,
5123
5446
  newBoundary,
5124
5447
  contentRootSegment,
5125
- newBoundary.contentPreamble,
5448
+ null === newBoundary.preamble
5449
+ ? null
5450
+ : newBoundary.preamble.content,
5126
5451
  newBoundary.contentState,
5127
5452
  task.abortSet,
5128
5453
  keyPath,
@@ -5133,25 +5458,27 @@ function renderElement(request, task, keyPath, type, props, ref) {
5133
5458
  task.context,
5134
5459
  task.treeContext,
5135
5460
  null,
5136
- newProps
5461
+ suspenseComponentStack
5137
5462
  );
5138
- pushComponentStack(task);
5139
- request.pingedTasks.push(task);
5463
+ pushComponentStack(suspendedPrimaryTask);
5464
+ request.pingedTasks.push(suspendedPrimaryTask);
5140
5465
  } else {
5141
5466
  task.blockedBoundary = newBoundary;
5142
- task.blockedPreamble = newBoundary.contentPreamble;
5467
+ task.blockedPreamble =
5468
+ null === newBoundary.preamble
5469
+ ? null
5470
+ : newBoundary.preamble.content;
5143
5471
  task.hoistableState = newBoundary.contentState;
5144
5472
  task.blockedSegment = contentRootSegment;
5145
5473
  task.keyPath = keyPath;
5146
5474
  task.formatContext = getSuspenseContentFormatContext(
5147
5475
  request.resumableState,
5148
- ref
5476
+ prevContext$jscomp$1
5149
5477
  );
5150
5478
  task.row = null;
5151
- contentRootSegment.status = 6;
5152
5479
  try {
5153
5480
  if (
5154
- (renderNode(request, task, props, -1),
5481
+ (renderNode(request, task, content, -1),
5155
5482
  contentRootSegment.lastPushedText &&
5156
5483
  contentRootSegment.textEmbedded &&
5157
5484
  contentRootSegment.chunks.push(textSeparator),
@@ -5164,50 +5491,47 @@ function renderElement(request, task, keyPath, type, props, ref) {
5164
5491
  ((newBoundary.status = 1),
5165
5492
  !isEligibleForOutlining(request, newBoundary))
5166
5493
  ) {
5167
- null !== prevRow &&
5168
- 0 === --prevRow.pendingTasks &&
5169
- finishSuspenseListRow(request, prevRow);
5494
+ null !== prevRow$jscomp$0 &&
5495
+ 0 === --prevRow$jscomp$0.pendingTasks &&
5496
+ finishSuspenseListRow(request, prevRow$jscomp$0);
5170
5497
  0 === request.pendingRootTasks &&
5171
5498
  task.blockedPreamble &&
5172
5499
  preparePreamble(request);
5173
5500
  break a;
5174
5501
  }
5175
5502
  } else
5176
- null !== prevRow &&
5177
- prevRow.together &&
5178
- tryToResolveTogetherRow(request, prevRow);
5503
+ null !== prevRow$jscomp$0 &&
5504
+ prevRow$jscomp$0.together &&
5505
+ tryToResolveTogetherRow(request, prevRow$jscomp$0);
5179
5506
  } catch (thrownValue$31) {
5180
- (newBoundary.status = 4),
5181
- 12 === request.status
5182
- ? ((contentRootSegment.status = 3),
5183
- (newProps = request.fatalError))
5184
- : ((contentRootSegment.status = 4),
5185
- (newProps = thrownValue$31)),
5186
- (defaultProps = getThrownInfo(task.componentStack)),
5187
- (initialState = logRecoverableError(
5188
- request,
5189
- newProps,
5190
- defaultProps
5191
- )),
5192
- (newBoundary.errorDigest = initialState),
5193
- untrackBoundary(request, newBoundary);
5507
+ newBoundary.status = 4;
5508
+ if (request.aborted) {
5509
+ contentRootSegment.status = 3;
5510
+ var error = request.fatalError;
5511
+ } else (contentRootSegment.status = 4), (error = thrownValue$31);
5512
+ var thrownInfo = getThrownInfo(task.componentStack),
5513
+ errorDigest = logRecoverableError(request, error, thrownInfo);
5514
+ newBoundary.errorDigest = errorDigest;
5515
+ untrackBoundary(request, newBoundary);
5194
5516
  } finally {
5195
- (task.blockedBoundary = propName$44),
5196
- (task.blockedPreamble = propName),
5517
+ (task.blockedBoundary = parentBoundary),
5518
+ (task.blockedPreamble = parentPreamble),
5197
5519
  (task.hoistableState = parentHoistableState),
5198
5520
  (task.blockedSegment = parentSegment),
5199
- (task.keyPath = type),
5200
- (task.formatContext = ref),
5201
- (task.row = prevRow);
5521
+ (task.keyPath = prevKeyPath$jscomp$5),
5522
+ (task.formatContext = prevContext$jscomp$1),
5523
+ (task.row = prevRow$jscomp$0);
5202
5524
  }
5203
- task = createRenderTask(
5525
+ var suspendedFallbackTask = createRenderTask(
5204
5526
  request,
5205
5527
  null,
5206
5528
  fallback,
5207
5529
  -1,
5208
- propName$44,
5530
+ parentBoundary,
5209
5531
  boundarySegment,
5210
- newBoundary.fallbackPreamble,
5532
+ null === newBoundary.preamble
5533
+ ? null
5534
+ : newBoundary.preamble.fallback,
5211
5535
  newBoundary.fallbackState,
5212
5536
  fallbackAbortSet,
5213
5537
  [keyPath[0], "Suspense Fallback", keyPath[2]],
@@ -5222,8 +5546,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
5222
5546
  task.componentStack
5223
5547
  )
5224
5548
  );
5225
- pushComponentStack(task);
5226
- request.pingedTasks.push(task);
5549
+ pushComponentStack(suspendedFallbackTask);
5550
+ request.pingedTasks.push(suspendedFallbackTask);
5227
5551
  }
5228
5552
  }
5229
5553
  return;
@@ -5231,24 +5555,24 @@ function renderElement(request, task, keyPath, type, props, ref) {
5231
5555
  if ("object" === typeof type && null !== type)
5232
5556
  switch (type.$$typeof) {
5233
5557
  case REACT_FORWARD_REF_TYPE:
5234
- if ("ref" in props)
5235
- for (parentSegment in ((newProps = {}), props))
5236
- "ref" !== parentSegment &&
5237
- (newProps[parentSegment] = props[parentSegment]);
5238
- else newProps = props;
5239
- type = renderWithHooks(
5558
+ if ("ref" in props) {
5559
+ var propsWithoutRef = {};
5560
+ for (var key in props)
5561
+ "ref" !== key && (propsWithoutRef[key] = props[key]);
5562
+ } else propsWithoutRef = props;
5563
+ var children$jscomp$1 = renderWithHooks(
5240
5564
  request,
5241
5565
  task,
5242
5566
  keyPath,
5243
5567
  type.render,
5244
- newProps,
5568
+ propsWithoutRef,
5245
5569
  ref
5246
5570
  );
5247
5571
  finishFunctionComponent(
5248
5572
  request,
5249
5573
  task,
5250
5574
  keyPath,
5251
- type,
5575
+ children$jscomp$1,
5252
5576
  0 !== localIdCounter,
5253
5577
  actionStateCounter,
5254
5578
  actionStateMatchingIndex
@@ -5258,42 +5582,44 @@ function renderElement(request, task, keyPath, type, props, ref) {
5258
5582
  renderElement(request, task, keyPath, type.type, props, ref);
5259
5583
  return;
5260
5584
  case REACT_CONTEXT_TYPE:
5261
- defaultProps = props.children;
5262
- newProps = task.keyPath;
5263
- props = props.value;
5264
- initialState = type._currentValue;
5265
- type._currentValue = props;
5266
- ref = currentActiveSnapshot;
5267
- currentActiveSnapshot = type = {
5268
- parent: ref,
5269
- depth: null === ref ? 0 : ref.depth + 1,
5270
- context: type,
5271
- parentValue: initialState,
5272
- value: props
5273
- };
5274
- task.context = type;
5585
+ var children$jscomp$2 = props.children,
5586
+ prevKeyPath$jscomp$6 = task.keyPath,
5587
+ nextValue = props.value;
5588
+ var prevValue = type._currentValue;
5589
+ type._currentValue = nextValue;
5590
+ var prevNode = currentActiveSnapshot,
5591
+ newNode = {
5592
+ parent: prevNode,
5593
+ depth: null === prevNode ? 0 : prevNode.depth + 1,
5594
+ context: type,
5595
+ parentValue: prevValue,
5596
+ value: nextValue
5597
+ };
5598
+ currentActiveSnapshot = newNode;
5599
+ task.context = newNode;
5275
5600
  task.keyPath = keyPath;
5276
- renderNodeDestructive(request, task, defaultProps, -1);
5277
- request = currentActiveSnapshot;
5278
- if (null === request) throw Error(formatProdErrorMessage(403));
5279
- request.context._currentValue = request.parentValue;
5280
- request = currentActiveSnapshot = request.parent;
5281
- task.context = request;
5282
- task.keyPath = newProps;
5601
+ renderNodeDestructive(request, task, children$jscomp$2, -1);
5602
+ var prevSnapshot = currentActiveSnapshot;
5603
+ if (null === prevSnapshot) throw Error(formatProdErrorMessage(403));
5604
+ prevSnapshot.context._currentValue = prevSnapshot.parentValue;
5605
+ var JSCompiler_inline_result$jscomp$4 = (currentActiveSnapshot =
5606
+ prevSnapshot.parent);
5607
+ task.context = JSCompiler_inline_result$jscomp$4;
5608
+ task.keyPath = prevKeyPath$jscomp$6;
5283
5609
  return;
5284
5610
  case REACT_CONSUMER_TYPE:
5285
- props = props.children;
5286
- type = props(type._context._currentValue);
5287
- props = task.keyPath;
5611
+ var render = props.children,
5612
+ newChildren = render(type._context._currentValue),
5613
+ prevKeyPath$jscomp$7 = task.keyPath;
5288
5614
  task.keyPath = keyPath;
5289
- renderNodeDestructive(request, task, type, -1);
5290
- task.keyPath = props;
5615
+ renderNodeDestructive(request, task, newChildren, -1);
5616
+ task.keyPath = prevKeyPath$jscomp$7;
5291
5617
  return;
5292
5618
  case REACT_LAZY_TYPE:
5293
- newProps = type._init;
5294
- type = newProps(type._payload);
5295
- if (12 === request.status) throw null;
5296
- renderElement(request, task, keyPath, type, props, ref);
5619
+ var init = type._init;
5620
+ var Component = init(type._payload);
5621
+ if (request.aborted) throw null;
5622
+ renderElement(request, task, keyPath, Component, props, ref);
5297
5623
  return;
5298
5624
  }
5299
5625
  throw Error(
@@ -5353,7 +5679,11 @@ function retryNode(request, task) {
5353
5679
  var ref = void 0 !== node ? node : null,
5354
5680
  name = getComponentNameFromType(type),
5355
5681
  keyOrIndex =
5356
- null == key ? (-1 === childIndex ? 0 : childIndex) : key;
5682
+ null == key || key === REACT_OPTIMISTIC_KEY
5683
+ ? -1 === childIndex
5684
+ ? 0
5685
+ : childIndex
5686
+ : key;
5357
5687
  key = [task.keyPath, name, keyOrIndex];
5358
5688
  if (null !== task.replay)
5359
5689
  a: {
@@ -5367,12 +5697,12 @@ function retryNode(request, task) {
5367
5697
  throw Error(
5368
5698
  formatProdErrorMessage(490, node$jscomp$0[0], name)
5369
5699
  );
5370
- var childNodes = node$jscomp$0[2];
5371
- name = node$jscomp$0[3];
5372
- keyOrIndex = task.node;
5700
+ var childNodes = node$jscomp$0[2],
5701
+ childSlots = node$jscomp$0[3],
5702
+ currentNode = task.node;
5373
5703
  task.replay = {
5374
5704
  nodes: childNodes,
5375
- slots: name,
5705
+ slots: childSlots,
5376
5706
  pendingTasks: 1
5377
5707
  };
5378
5708
  try {
@@ -5388,27 +5718,28 @@ function retryNode(request, task) {
5388
5718
  "object" === typeof x &&
5389
5719
  null !== x &&
5390
5720
  (x === SuspenseException ||
5391
- "function" === typeof x.then)
5721
+ "function" === typeof x.then ||
5722
+ "Maximum call stack size exceeded" === x.message)
5392
5723
  )
5393
5724
  throw (
5394
- (task.node === keyOrIndex
5725
+ (task.node === currentNode
5395
5726
  ? (task.replay = replay)
5396
5727
  : childIndex.splice(node, 1),
5397
5728
  x)
5398
5729
  );
5399
5730
  task.replay.pendingTasks--;
5400
- props = getThrownInfo(task.componentStack);
5401
- key = request;
5402
- request = task.blockedBoundary;
5403
- type = x;
5404
- props = logRecoverableError(key, type, props);
5731
+ key = getThrownInfo(task.componentStack);
5732
+ currentNode = request;
5733
+ props = task.blockedBoundary;
5734
+ request = request.aborted ? request.fatalError : x;
5735
+ key = logRecoverableError(currentNode, request, key);
5405
5736
  abortRemainingReplayNodes(
5406
- key,
5407
- request,
5737
+ currentNode,
5738
+ props,
5408
5739
  childNodes,
5409
- name,
5410
- type,
5411
- props
5740
+ childSlots,
5741
+ request,
5742
+ key
5412
5743
  );
5413
5744
  }
5414
5745
  task.replay = replay;
@@ -5422,43 +5753,38 @@ function retryNode(request, task) {
5422
5753
  )
5423
5754
  );
5424
5755
  b: {
5425
- replay = void 0;
5426
- type = node$jscomp$0[5];
5427
- ref = node$jscomp$0[2];
5428
- name = node$jscomp$0[3];
5429
- keyOrIndex =
5756
+ replay = node$jscomp$0[5];
5757
+ type = node$jscomp$0[2];
5758
+ ref = node$jscomp$0[3];
5759
+ name =
5430
5760
  null === node$jscomp$0[4] ? [] : node$jscomp$0[4][2];
5431
5761
  node$jscomp$0 =
5432
5762
  null === node$jscomp$0[4] ? null : node$jscomp$0[4][3];
5433
- var prevKeyPath = task.keyPath,
5434
- prevContext = task.formatContext,
5763
+ keyOrIndex = task.keyPath;
5764
+ var prevContext = task.formatContext,
5435
5765
  prevRow = task.row,
5436
5766
  previousReplaySet = task.replay,
5437
5767
  parentBoundary = task.blockedBoundary,
5438
5768
  parentHoistableState = task.hoistableState,
5439
- content = props.children,
5440
- fallback = props.fallback,
5441
- fallbackAbortSet = new Set();
5442
- props =
5443
- 2 > task.formatContext.insertionMode
5444
- ? createSuspenseBoundary(
5445
- request,
5446
- task.row,
5447
- fallbackAbortSet,
5448
- createPreambleState(),
5449
- createPreambleState()
5450
- )
5451
- : createSuspenseBoundary(
5452
- request,
5453
- task.row,
5454
- fallbackAbortSet,
5455
- null,
5456
- null
5457
- );
5458
- props.parentFlushed = !0;
5459
- props.rootSegmentID = type;
5460
- task.blockedBoundary = props;
5461
- task.hoistableState = props.contentState;
5769
+ content = props.children;
5770
+ props = props.fallback;
5771
+ var fallbackAbortSet = new Set(),
5772
+ resumedBoundary = createSuspenseBoundary(
5773
+ request,
5774
+ task.row,
5775
+ fallbackAbortSet,
5776
+ 2 > task.formatContext.insertionMode
5777
+ ? {
5778
+ content: createPreambleState(),
5779
+ fallback: createPreambleState()
5780
+ }
5781
+ : null,
5782
+ !1
5783
+ );
5784
+ resumedBoundary.parentFlushed = !0;
5785
+ resumedBoundary.rootSegmentID = replay;
5786
+ task.blockedBoundary = resumedBoundary;
5787
+ task.hoistableState = resumedBoundary.contentState;
5462
5788
  task.keyPath = key;
5463
5789
  task.formatContext = getSuspenseContentFormatContext(
5464
5790
  request.resumableState,
@@ -5466,8 +5792,8 @@ function retryNode(request, task) {
5466
5792
  );
5467
5793
  task.row = null;
5468
5794
  task.replay = {
5469
- nodes: ref,
5470
- slots: name,
5795
+ nodes: type,
5796
+ slots: ref,
5471
5797
  pendingTasks: 1
5472
5798
  };
5473
5799
  try {
@@ -5478,42 +5804,46 @@ function retryNode(request, task) {
5478
5804
  )
5479
5805
  throw Error(formatProdErrorMessage(488));
5480
5806
  task.replay.pendingTasks--;
5481
- if (0 === props.pendingTasks && 0 === props.status) {
5482
- props.status = 1;
5483
- request.completedBoundaries.push(props);
5807
+ if (
5808
+ 0 === resumedBoundary.pendingTasks &&
5809
+ 0 === resumedBoundary.status
5810
+ ) {
5811
+ resumedBoundary.status = 1;
5812
+ request.completedBoundaries.push(resumedBoundary);
5484
5813
  break b;
5485
5814
  }
5486
- } catch (error) {
5487
- (props.status = 4),
5488
- (childNodes = getThrownInfo(task.componentStack)),
5489
- (replay = logRecoverableError(
5815
+ } catch (thrownValue) {
5816
+ (resumedBoundary.status = 4),
5817
+ (childNodes = request.aborted
5818
+ ? request.fatalError
5819
+ : thrownValue),
5820
+ (childSlots = getThrownInfo(task.componentStack)),
5821
+ (currentNode = logRecoverableError(
5490
5822
  request,
5491
- error,
5492
- childNodes
5823
+ childNodes,
5824
+ childSlots
5493
5825
  )),
5494
- (props.errorDigest = replay),
5826
+ (resumedBoundary.errorDigest = currentNode),
5495
5827
  task.replay.pendingTasks--,
5496
- request.clientRenderedBoundaries.push(props);
5828
+ request.clientRenderedBoundaries.push(
5829
+ resumedBoundary
5830
+ );
5497
5831
  } finally {
5498
5832
  (task.blockedBoundary = parentBoundary),
5499
5833
  (task.hoistableState = parentHoistableState),
5500
5834
  (task.replay = previousReplaySet),
5501
- (task.keyPath = prevKeyPath),
5835
+ (task.keyPath = keyOrIndex),
5502
5836
  (task.formatContext = prevContext),
5503
5837
  (task.row = prevRow);
5504
5838
  }
5505
5839
  childNodes = createReplayTask(
5506
5840
  request,
5507
5841
  null,
5508
- {
5509
- nodes: keyOrIndex,
5510
- slots: node$jscomp$0,
5511
- pendingTasks: 0
5512
- },
5513
- fallback,
5842
+ { nodes: name, slots: node$jscomp$0, pendingTasks: 0 },
5843
+ props,
5514
5844
  -1,
5515
5845
  parentBoundary,
5516
- props.fallbackState,
5846
+ resumedBoundary.fallbackState,
5517
5847
  fallbackAbortSet,
5518
5848
  [key[0], "Suspense Fallback", key[2]],
5519
5849
  getSuspenseFallbackFormatContext(
@@ -5543,7 +5873,7 @@ function retryNode(request, task) {
5543
5873
  case REACT_LAZY_TYPE:
5544
5874
  childNodes = node._init;
5545
5875
  node = childNodes(node._payload);
5546
- if (12 === request.status) throw null;
5876
+ if (request.aborted) throw null;
5547
5877
  renderNodeDestructive(request, task, node, childIndex);
5548
5878
  return;
5549
5879
  }
@@ -5555,10 +5885,10 @@ function retryNode(request, task) {
5555
5885
  if ((childNodes = childNodes.call(node))) {
5556
5886
  node = childNodes.next();
5557
5887
  if (!node.done) {
5558
- props = [];
5559
- do props.push(node.value), (node = childNodes.next());
5888
+ childSlots = [];
5889
+ do childSlots.push(node.value), (node = childNodes.next());
5560
5890
  while (!node.done);
5561
- renderChildrenArray(request, task, props, childIndex);
5891
+ renderChildrenArray(request, task, childSlots, childIndex);
5562
5892
  }
5563
5893
  return;
5564
5894
  }
@@ -5634,17 +5964,18 @@ function renderChildrenArray(request, task, children, childIndex) {
5634
5964
  )
5635
5965
  throw x;
5636
5966
  task.replay.pendingTasks--;
5637
- children = getThrownInfo(task.componentStack);
5638
- var boundary = task.blockedBoundary,
5639
- error = x;
5640
- children = logRecoverableError(request, error, children);
5967
+ var thrownInfo = getThrownInfo(task.componentStack);
5968
+ children = request;
5969
+ var boundary = task.blockedBoundary;
5970
+ request = request.aborted ? request.fatalError : x;
5971
+ thrownInfo = logRecoverableError(children, request, thrownInfo);
5641
5972
  abortRemainingReplayNodes(
5642
- request,
5973
+ children,
5643
5974
  boundary,
5644
5975
  childIndex,
5645
5976
  node,
5646
- error,
5647
- children
5977
+ request,
5978
+ thrownInfo
5648
5979
  );
5649
5980
  }
5650
5981
  task.replay = replay;
@@ -5683,10 +6014,12 @@ function renderChildrenArray(request, task, children, childIndex) {
5683
6014
  function trackPostponedBoundary(request, trackedPostpones, boundary) {
5684
6015
  boundary.status = 5;
5685
6016
  boundary.rootSegmentID = request.nextSegmentId++;
5686
- request = boundary.trackedContentKeyPath;
6017
+ var tracked = boundary.tracked;
6018
+ if (null === tracked) throw Error(formatProdErrorMessage(486));
6019
+ request = tracked.contentKeyPath;
5687
6020
  if (null === request) throw Error(formatProdErrorMessage(486));
5688
- var fallbackReplayNode = boundary.trackedFallbackNode,
5689
- children = [],
6021
+ tracked = tracked.fallbackNode;
6022
+ var children = [],
5690
6023
  boundaryNode = trackedPostpones.workingMap.get(request);
5691
6024
  if (void 0 === boundaryNode)
5692
6025
  return (
@@ -5695,14 +6028,14 @@ function trackPostponedBoundary(request, trackedPostpones, boundary) {
5695
6028
  request[2],
5696
6029
  children,
5697
6030
  null,
5698
- fallbackReplayNode,
6031
+ tracked,
5699
6032
  boundary.rootSegmentID
5700
6033
  ]),
5701
6034
  trackedPostpones.workingMap.set(request, boundary),
5702
6035
  addToReplayParent(boundary, request[0], trackedPostpones),
5703
6036
  boundary
5704
6037
  );
5705
- boundaryNode[4] = fallbackReplayNode;
6038
+ boundaryNode[4] = tracked;
5706
6039
  boundaryNode[5] = boundary.rootSegmentID;
5707
6040
  return boundaryNode;
5708
6041
  }
@@ -5723,7 +6056,8 @@ function trackPostpone(request, trackedPostpones, task, segment) {
5723
6056
  boundary
5724
6057
  );
5725
6058
  if (
5726
- boundary.trackedContentKeyPath === keyPath &&
6059
+ null !== boundary.tracked &&
6060
+ boundary.tracked.contentKeyPath === keyPath &&
5727
6061
  -1 === task.childIndex
5728
6062
  ) {
5729
6063
  -1 === segment.id &&
@@ -5775,11 +6109,13 @@ function trackPostpone(request, trackedPostpones, task, segment) {
5775
6109
  function untrackBoundary(request, boundary) {
5776
6110
  request = request.trackedPostpones;
5777
6111
  null !== request &&
5778
- ((boundary = boundary.trackedContentKeyPath),
6112
+ ((boundary = boundary.tracked),
5779
6113
  null !== boundary &&
5780
- ((boundary = request.workingMap.get(boundary)),
5781
- void 0 !== boundary &&
5782
- ((boundary.length = 4), (boundary[2] = []), (boundary[3] = null))));
6114
+ ((boundary = boundary.contentKeyPath),
6115
+ null !== boundary &&
6116
+ ((request = request.workingMap.get(boundary)),
6117
+ void 0 !== request &&
6118
+ ((request.length = 4), (request[2] = []), (request[3] = null)))));
5783
6119
  }
5784
6120
  function spawnNewSuspendedReplayTask(request, task, thenableState) {
5785
6121
  return createReplayTask(
@@ -5847,7 +6183,7 @@ function renderNode(request, task, node, childIndex) {
5847
6183
  thrownValue === SuspenseException
5848
6184
  ? getSuspendedThenable()
5849
6185
  : thrownValue),
5850
- 12 !== request.status && "object" === typeof node && null !== node)
6186
+ !request.aborted && "object" === typeof node && null !== node)
5851
6187
  ) {
5852
6188
  if ("function" === typeof node.then) {
5853
6189
  childIndex =
@@ -5855,7 +6191,7 @@ function renderNode(request, task, node, childIndex) {
5855
6191
  ? getThenableStateAfterSuspending()
5856
6192
  : null;
5857
6193
  request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
5858
- node.then(request, request);
6194
+ node.then(request.resolve, request.reject);
5859
6195
  task.formatContext = previousFormatContext;
5860
6196
  task.context = previousContext;
5861
6197
  task.keyPath = previousKeyPath;
@@ -5888,25 +6224,25 @@ function renderNode(request, task, node, childIndex) {
5888
6224
  chunkLength = segment.chunks.length;
5889
6225
  try {
5890
6226
  return renderNodeDestructive(request, task, node, childIndex);
5891
- } catch (thrownValue$63) {
6227
+ } catch (thrownValue$64) {
5892
6228
  if (
5893
6229
  (resetHooksState(),
5894
6230
  (segment.children.length = childrenLength),
5895
6231
  (segment.chunks.length = chunkLength),
5896
6232
  (node =
5897
- thrownValue$63 === SuspenseException
6233
+ thrownValue$64 === SuspenseException
5898
6234
  ? getSuspendedThenable()
5899
- : thrownValue$63),
5900
- 12 !== request.status && "object" === typeof node && null !== node)
6235
+ : thrownValue$64),
6236
+ !request.aborted && "object" === typeof node && null !== node)
5901
6237
  ) {
5902
6238
  if ("function" === typeof node.then) {
5903
6239
  segment = node;
5904
6240
  node =
5905
- thrownValue$63 === SuspenseException
6241
+ thrownValue$64 === SuspenseException
5906
6242
  ? getThenableStateAfterSuspending()
5907
6243
  : null;
5908
6244
  request = spawnNewSuspendedRenderTask(request, task, node).ping;
5909
- segment.then(request, request);
6245
+ segment.then(request.resolve, request.reject);
5910
6246
  task.formatContext = previousFormatContext;
5911
6247
  task.context = previousContext;
5912
6248
  task.keyPath = previousKeyPath;
@@ -5917,7 +6253,7 @@ function renderNode(request, task, node, childIndex) {
5917
6253
  }
5918
6254
  if ("Maximum call stack size exceeded" === node.message) {
5919
6255
  segment =
5920
- thrownValue$63 === SuspenseException
6256
+ thrownValue$64 === SuspenseException
5921
6257
  ? getThenableStateAfterSuspending()
5922
6258
  : null;
5923
6259
  segment = spawnNewSuspendedRenderTask(request, task, segment);
@@ -5974,7 +6310,7 @@ function abortRemainingReplayNodes(
5974
6310
  null,
5975
6311
  new Set(),
5976
6312
  null,
5977
- null
6313
+ !1
5978
6314
  );
5979
6315
  resumedBoundary.parentFlushed = !0;
5980
6316
  resumedBoundary.rootSegmentID = node;
@@ -5995,78 +6331,104 @@ function abortRemainingReplayNodes(
5995
6331
  if ("object" === typeof slots) for (var index in slots) delete slots[index];
5996
6332
  }
5997
6333
  }
5998
- function abortTask(task, request, error) {
5999
- var boundary = task.blockedBoundary,
6000
- segment = task.blockedSegment;
6001
- if (null !== segment) {
6002
- if (6 === segment.status) return;
6003
- segment.status = 3;
6334
+ function abortTask(task, request) {
6335
+ if (task !== request.currentTask) {
6336
+ var boundary = task.blockedBoundary;
6337
+ task = task.blockedSegment;
6338
+ null !== task && (task.status = 3);
6339
+ null !== boundary &&
6340
+ boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6341
+ return abortTask(fallbackTask, request);
6342
+ });
6004
6343
  }
6005
- var errorInfo = getThrownInfo(task.componentStack);
6006
- if (null === boundary) {
6007
- if (13 !== request.status && 14 !== request.status) {
6008
- boundary = task.replay;
6344
+ }
6345
+ function finishAbortedTask(task, request, error) {
6346
+ if (task !== request.currentTask) {
6347
+ var boundary = task.blockedBoundary,
6348
+ segment = task.blockedSegment;
6349
+ if (null === segment || 3 === segment.status) {
6350
+ var errorInfo = getThrownInfo(task.componentStack),
6351
+ isRecoverableReason = isRecoverableError(error);
6009
6352
  if (null === boundary) {
6010
- null !== request.trackedPostpones && null !== segment
6011
- ? ((boundary = request.trackedPostpones),
6012
- logRecoverableError(request, error, errorInfo),
6013
- trackPostpone(request, boundary, task, segment),
6014
- finishedTask(request, null, task.row, segment))
6015
- : (logRecoverableError(request, error, errorInfo),
6016
- fatalError(request, error));
6017
- return;
6353
+ boundary = task.replay;
6354
+ if (null === boundary) {
6355
+ isRecoverableReason ||
6356
+ null === request.trackedPostpones ||
6357
+ null === segment
6358
+ ? isRecoverableReason
6359
+ ? ((task = cloneRecoverableErrorAsFatal(error)),
6360
+ logRecoverableError(request, task, errorInfo),
6361
+ 12 !== request.status &&
6362
+ 13 !== request.status &&
6363
+ fatalError(request, task))
6364
+ : (logRecoverableError(request, error, errorInfo),
6365
+ 12 !== request.status &&
6366
+ 13 !== request.status &&
6367
+ fatalError(request, error))
6368
+ : ((boundary = request.trackedPostpones),
6369
+ logRecoverableError(request, error, errorInfo),
6370
+ trackPostpone(request, boundary, task, segment),
6371
+ finishedTask(request, null, task.row, segment));
6372
+ return;
6373
+ }
6374
+ 12 !== request.status &&
6375
+ 13 !== request.status &&
6376
+ (boundary.pendingTasks--,
6377
+ 0 === boundary.pendingTasks &&
6378
+ 0 < boundary.nodes.length &&
6379
+ ((errorInfo = logRecoverableError(request, error, errorInfo)),
6380
+ abortRemainingReplayNodes(
6381
+ request,
6382
+ null,
6383
+ boundary.nodes,
6384
+ boundary.slots,
6385
+ error,
6386
+ errorInfo
6387
+ )),
6388
+ request.pendingRootTasks--,
6389
+ 0 === request.pendingRootTasks && completeShell(request));
6390
+ } else {
6391
+ var trackedPostpones$65 = request.trackedPostpones;
6392
+ if (4 !== boundary.status) {
6393
+ if (
6394
+ !isRecoverableReason &&
6395
+ null !== trackedPostpones$65 &&
6396
+ null !== segment
6397
+ )
6398
+ return (
6399
+ logRecoverableError(request, error, errorInfo),
6400
+ trackPostpone(request, trackedPostpones$65, task, segment),
6401
+ boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6402
+ return finishAbortedTask(fallbackTask, request, error);
6403
+ }),
6404
+ boundary.fallbackAbortableTasks.clear(),
6405
+ finishedTask(request, boundary, task.row, segment)
6406
+ );
6407
+ boundary.status = 4;
6408
+ errorInfo = logRecoverableError(request, error, errorInfo);
6409
+ boundary.errorDigest = errorInfo;
6410
+ untrackBoundary(request, boundary);
6411
+ boundary.parentFlushed &&
6412
+ request.clientRenderedBoundaries.push(boundary);
6413
+ }
6414
+ boundary.pendingTasks--;
6415
+ errorInfo = boundary.row;
6416
+ null !== errorInfo &&
6417
+ 0 === --errorInfo.pendingTasks &&
6418
+ finishSuspenseListRow(request, errorInfo);
6419
+ boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6420
+ return finishAbortedTask(fallbackTask, request, error);
6421
+ });
6422
+ boundary.fallbackAbortableTasks.clear();
6018
6423
  }
6019
- boundary.pendingTasks--;
6020
- 0 === boundary.pendingTasks &&
6021
- 0 < boundary.nodes.length &&
6022
- ((segment = logRecoverableError(request, error, errorInfo)),
6023
- abortRemainingReplayNodes(
6024
- request,
6025
- null,
6026
- boundary.nodes,
6027
- boundary.slots,
6028
- error,
6029
- segment
6030
- ));
6031
- request.pendingRootTasks--;
6032
- 0 === request.pendingRootTasks && completeShell(request);
6424
+ task = task.row;
6425
+ null !== task &&
6426
+ 0 === --task.pendingTasks &&
6427
+ finishSuspenseListRow(request, task);
6428
+ request.allPendingTasks--;
6429
+ 0 === request.allPendingTasks && completeAll(request);
6033
6430
  }
6034
- } else {
6035
- var trackedPostpones$64 = request.trackedPostpones;
6036
- if (4 !== boundary.status) {
6037
- if (null !== trackedPostpones$64 && null !== segment)
6038
- return (
6039
- logRecoverableError(request, error, errorInfo),
6040
- trackPostpone(request, trackedPostpones$64, task, segment),
6041
- boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6042
- return abortTask(fallbackTask, request, error);
6043
- }),
6044
- boundary.fallbackAbortableTasks.clear(),
6045
- finishedTask(request, boundary, task.row, segment)
6046
- );
6047
- boundary.status = 4;
6048
- segment = logRecoverableError(request, error, errorInfo);
6049
- boundary.status = 4;
6050
- boundary.errorDigest = segment;
6051
- untrackBoundary(request, boundary);
6052
- boundary.parentFlushed && request.clientRenderedBoundaries.push(boundary);
6053
- }
6054
- boundary.pendingTasks--;
6055
- segment = boundary.row;
6056
- null !== segment &&
6057
- 0 === --segment.pendingTasks &&
6058
- finishSuspenseListRow(request, segment);
6059
- boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6060
- return abortTask(fallbackTask, request, error);
6061
- });
6062
- boundary.fallbackAbortableTasks.clear();
6063
6431
  }
6064
- task = task.row;
6065
- null !== task &&
6066
- 0 === --task.pendingTasks &&
6067
- finishSuspenseListRow(request, task);
6068
- request.allPendingTasks--;
6069
- 0 === request.allPendingTasks && completeAll(request);
6070
6432
  }
6071
6433
  function safelyEmitEarlyPreloads(request, shellComplete) {
6072
6434
  try {
@@ -6132,7 +6494,6 @@ function safelyEmitEarlyPreloads(request, shellComplete) {
6132
6494
  function completeShell(request) {
6133
6495
  null === request.trackedPostpones && safelyEmitEarlyPreloads(request, !0);
6134
6496
  null === request.trackedPostpones && preparePreamble(request);
6135
- request.onShellError = noop;
6136
6497
  request = request.onShellReady;
6137
6498
  request();
6138
6499
  }
@@ -6203,14 +6564,16 @@ function finishedTask(request, boundary, row, segment) {
6203
6564
  null !== row &&
6204
6565
  hoistHoistables(row.hoistables, boundary.contentState),
6205
6566
  isEligibleForOutlining(request, boundary) ||
6206
- (boundary.fallbackAbortableTasks.forEach(abortTaskSoft, request),
6567
+ (request.allPendingTasks++,
6568
+ boundary.fallbackAbortableTasks.forEach(abortTaskSoft, request),
6207
6569
  boundary.fallbackAbortableTasks.clear(),
6208
6570
  null !== row &&
6209
6571
  0 === --row.pendingTasks &&
6210
- finishSuspenseListRow(request, row)),
6572
+ finishSuspenseListRow(request, row),
6573
+ request.allPendingTasks--),
6211
6574
  0 === request.pendingRootTasks &&
6212
6575
  null === request.trackedPostpones &&
6213
- null !== boundary.contentPreamble &&
6576
+ null !== boundary.preamble &&
6214
6577
  preparePreamble(request);
6215
6578
  else {
6216
6579
  if (
@@ -6234,8 +6597,10 @@ function finishedTask(request, boundary, row, segment) {
6234
6597
  finishedTask(request, postponedBoundary, null, null);
6235
6598
  }
6236
6599
  }
6600
+ request.allPendingTasks++;
6237
6601
  0 === --boundary.pendingTasks &&
6238
6602
  finishSuspenseListRow(request, boundary);
6603
+ request.allPendingTasks--;
6239
6604
  }
6240
6605
  }
6241
6606
  else
@@ -6252,207 +6617,255 @@ function finishedTask(request, boundary, row, segment) {
6252
6617
  tryToResolveTogetherRow(request, boundary);
6253
6618
  0 === request.allPendingTasks && completeAll(request);
6254
6619
  }
6255
- function performWork(request$jscomp$2) {
6256
- if (14 !== request$jscomp$2.status && 13 !== request$jscomp$2.status) {
6620
+ function performWork(request$jscomp$1) {
6621
+ if (!(request$jscomp$1.aborted || 11 < request$jscomp$1.status)) {
6257
6622
  var prevContext = currentActiveSnapshot,
6258
6623
  prevDispatcher = ReactSharedInternals.H;
6259
6624
  ReactSharedInternals.H = HooksDispatcher;
6260
6625
  var prevAsyncDispatcher = ReactSharedInternals.A;
6261
6626
  ReactSharedInternals.A = DefaultAsyncDispatcher;
6262
6627
  var prevRequest = currentRequest;
6263
- currentRequest = request$jscomp$2;
6628
+ currentRequest = request$jscomp$1;
6264
6629
  var prevResumableState = currentResumableState;
6265
- currentResumableState = request$jscomp$2.resumableState;
6630
+ currentResumableState = request$jscomp$1.resumableState;
6266
6631
  try {
6267
- var pingedTasks = request$jscomp$2.pingedTasks,
6632
+ var pingedTasks = request$jscomp$1.pingedTasks,
6268
6633
  i;
6269
6634
  for (i = 0; i < pingedTasks.length; i++) {
6270
6635
  var task = pingedTasks[i],
6271
- request = request$jscomp$2,
6636
+ request = request$jscomp$1,
6272
6637
  segment = task.blockedSegment;
6273
- if (null === segment) {
6274
- var request$jscomp$0 = request;
6275
- if (0 !== task.replay.pendingTasks) {
6638
+ if (null === segment)
6639
+ a: {
6640
+ if (0 !== task.replay.pendingTasks) {
6641
+ var prevTask = request.currentTask;
6642
+ request.currentTask = task;
6643
+ switchContext(task.context);
6644
+ var startNode = task.node;
6645
+ try {
6646
+ "number" === typeof task.replay.slots
6647
+ ? resumeNode(
6648
+ request,
6649
+ task,
6650
+ task.replay.slots,
6651
+ task.node,
6652
+ task.childIndex
6653
+ )
6654
+ : retryNode(request, task);
6655
+ if (
6656
+ 1 === task.replay.pendingTasks &&
6657
+ 0 < task.replay.nodes.length
6658
+ )
6659
+ throw Error(formatProdErrorMessage(488));
6660
+ task.replay.pendingTasks--;
6661
+ task.abortSet.delete(task);
6662
+ finishedTask(request, task.blockedBoundary, task.row, null);
6663
+ } catch (thrownValue) {
6664
+ resetHooksState();
6665
+ var x =
6666
+ thrownValue === SuspenseException
6667
+ ? getSuspendedThenable()
6668
+ : thrownValue;
6669
+ if (request.aborted) {
6670
+ thrownValue === SuspenseException &&
6671
+ (task.thenableState = getThenableStateAfterSuspending());
6672
+ request.currentTask = prevTask;
6673
+ var request$jscomp$0 = request;
6674
+ abortTask(task, request$jscomp$0);
6675
+ task.abortSet.delete(task);
6676
+ finishAbortedTask(
6677
+ task,
6678
+ request$jscomp$0,
6679
+ request$jscomp$0.fatalError
6680
+ );
6681
+ } else {
6682
+ if ("object" === typeof x && null !== x) {
6683
+ if ("function" === typeof x.then) {
6684
+ var ping = task.ping;
6685
+ x.then(ping.resolve, ping.reject);
6686
+ task.thenableState =
6687
+ thrownValue === SuspenseException
6688
+ ? getThenableStateAfterSuspending()
6689
+ : null;
6690
+ break a;
6691
+ }
6692
+ if (
6693
+ "Maximum call stack size exceeded" === x.message &&
6694
+ task.node !== startNode
6695
+ ) {
6696
+ task.thenableState = null;
6697
+ request.pingedTasks.push(task);
6698
+ break a;
6699
+ }
6700
+ }
6701
+ task.replay.pendingTasks--;
6702
+ task.abortSet.delete(task);
6703
+ var errorInfo = getThrownInfo(task.componentStack);
6704
+ request$jscomp$0 = request;
6705
+ var boundary = task.blockedBoundary,
6706
+ error$jscomp$0 = request.aborted ? request.fatalError : x,
6707
+ replayNodes = task.replay.nodes,
6708
+ resumeSlots = task.replay.slots,
6709
+ errorDigest = logRecoverableError(
6710
+ request$jscomp$0,
6711
+ error$jscomp$0,
6712
+ errorInfo
6713
+ );
6714
+ abortRemainingReplayNodes(
6715
+ request$jscomp$0,
6716
+ boundary,
6717
+ replayNodes,
6718
+ resumeSlots,
6719
+ error$jscomp$0,
6720
+ errorDigest
6721
+ );
6722
+ request.pendingRootTasks--;
6723
+ 0 === request.pendingRootTasks && completeShell(request);
6724
+ request.allPendingTasks--;
6725
+ 0 === request.allPendingTasks && completeAll(request);
6726
+ }
6727
+ } finally {
6728
+ request.currentTask = prevTask;
6729
+ }
6730
+ }
6731
+ }
6732
+ else
6733
+ a: if (
6734
+ ((request$jscomp$0 = segment), 0 === request$jscomp$0.status)
6735
+ ) {
6736
+ var prevTask$jscomp$0 = request.currentTask;
6737
+ request.currentTask = task;
6276
6738
  switchContext(task.context);
6739
+ var childrenLength = request$jscomp$0.children.length,
6740
+ chunkLength = request$jscomp$0.chunks.length,
6741
+ startNode$jscomp$0 = task.node;
6277
6742
  try {
6278
- "number" === typeof task.replay.slots
6279
- ? resumeNode(
6280
- request$jscomp$0,
6281
- task,
6282
- task.replay.slots,
6283
- task.node,
6284
- task.childIndex
6285
- )
6286
- : retryNode(request$jscomp$0, task);
6287
- if (
6288
- 1 === task.replay.pendingTasks &&
6289
- 0 < task.replay.nodes.length
6290
- )
6291
- throw Error(formatProdErrorMessage(488));
6292
- task.replay.pendingTasks--;
6293
- task.abortSet.delete(task);
6294
- finishedTask(
6295
- request$jscomp$0,
6296
- task.blockedBoundary,
6297
- task.row,
6298
- null
6299
- );
6743
+ retryNode(request, task),
6744
+ request$jscomp$0.lastPushedText &&
6745
+ request$jscomp$0.textEmbedded &&
6746
+ request$jscomp$0.chunks.push(textSeparator),
6747
+ task.abortSet.delete(task),
6748
+ (request$jscomp$0.status = 1),
6749
+ finishedSegment(
6750
+ request,
6751
+ task.blockedBoundary,
6752
+ request$jscomp$0
6753
+ ),
6754
+ finishedTask(
6755
+ request,
6756
+ task.blockedBoundary,
6757
+ task.row,
6758
+ request$jscomp$0
6759
+ );
6300
6760
  } catch (thrownValue) {
6301
6761
  resetHooksState();
6302
- var x =
6762
+ request$jscomp$0.children.length = childrenLength;
6763
+ request$jscomp$0.chunks.length = chunkLength;
6764
+ var x$jscomp$0 =
6303
6765
  thrownValue === SuspenseException
6304
6766
  ? getSuspendedThenable()
6305
6767
  : thrownValue;
6306
- if (
6307
- "object" === typeof x &&
6308
- null !== x &&
6309
- "function" === typeof x.then
6310
- ) {
6311
- var ping = task.ping;
6312
- x.then(ping, ping);
6313
- task.thenableState =
6314
- thrownValue === SuspenseException
6315
- ? getThenableStateAfterSuspending()
6316
- : null;
6317
- } else {
6318
- task.replay.pendingTasks--;
6768
+ if (request.aborted)
6769
+ thrownValue === SuspenseException &&
6770
+ (task.thenableState = getThenableStateAfterSuspending()),
6771
+ (request.currentTask = prevTask$jscomp$0),
6772
+ (request$jscomp$0 = request),
6773
+ abortTask(task, request$jscomp$0),
6774
+ task.abortSet.delete(task),
6775
+ finishAbortedTask(
6776
+ task,
6777
+ request$jscomp$0,
6778
+ request$jscomp$0.fatalError
6779
+ );
6780
+ else {
6781
+ if ("object" === typeof x$jscomp$0 && null !== x$jscomp$0) {
6782
+ if ("function" === typeof x$jscomp$0.then) {
6783
+ request$jscomp$0.status = 0;
6784
+ task.thenableState =
6785
+ thrownValue === SuspenseException
6786
+ ? getThenableStateAfterSuspending()
6787
+ : null;
6788
+ var ping$jscomp$0 = task.ping;
6789
+ x$jscomp$0.then(
6790
+ ping$jscomp$0.resolve,
6791
+ ping$jscomp$0.reject
6792
+ );
6793
+ break a;
6794
+ }
6795
+ if (
6796
+ "Maximum call stack size exceeded" === x$jscomp$0.message &&
6797
+ task.node !== startNode$jscomp$0
6798
+ ) {
6799
+ request$jscomp$0.status = 0;
6800
+ task.thenableState = null;
6801
+ request.pingedTasks.push(task);
6802
+ break a;
6803
+ }
6804
+ }
6805
+ var errorInfo$jscomp$0 = getThrownInfo(task.componentStack);
6319
6806
  task.abortSet.delete(task);
6320
- var errorInfo = getThrownInfo(task.componentStack);
6321
- request = void 0;
6322
- var request$jscomp$1 = request$jscomp$0,
6323
- boundary = task.blockedBoundary,
6324
- error$jscomp$0 =
6325
- 12 === request$jscomp$0.status
6326
- ? request$jscomp$0.fatalError
6327
- : x,
6328
- replayNodes = task.replay.nodes,
6329
- resumeSlots = task.replay.slots;
6330
- request = logRecoverableError(
6331
- request$jscomp$1,
6332
- error$jscomp$0,
6333
- errorInfo
6334
- );
6335
- abortRemainingReplayNodes(
6336
- request$jscomp$1,
6337
- boundary,
6338
- replayNodes,
6339
- resumeSlots,
6340
- error$jscomp$0,
6341
- request
6342
- );
6343
- request$jscomp$0.pendingRootTasks--;
6344
- 0 === request$jscomp$0.pendingRootTasks &&
6345
- completeShell(request$jscomp$0);
6346
- request$jscomp$0.allPendingTasks--;
6347
- 0 === request$jscomp$0.allPendingTasks &&
6348
- completeAll(request$jscomp$0);
6807
+ request$jscomp$0.status = 4;
6808
+ var boundary$jscomp$0 = task.blockedBoundary,
6809
+ row = task.row;
6810
+ null !== row &&
6811
+ 0 === --row.pendingTasks &&
6812
+ finishSuspenseListRow(request, row);
6813
+ request.allPendingTasks--;
6814
+ if (null === boundary$jscomp$0)
6815
+ if (isRecoverableError(x$jscomp$0)) {
6816
+ var fatalRecoverableError =
6817
+ cloneRecoverableErrorAsFatal(x$jscomp$0);
6818
+ logRecoverableError(
6819
+ request,
6820
+ fatalRecoverableError,
6821
+ errorInfo$jscomp$0
6822
+ );
6823
+ fatalError(request, fatalRecoverableError);
6824
+ } else
6825
+ logRecoverableError(
6826
+ request,
6827
+ x$jscomp$0,
6828
+ errorInfo$jscomp$0
6829
+ ),
6830
+ fatalError(request, x$jscomp$0);
6831
+ else {
6832
+ var errorDigest$jscomp$0 = logRecoverableError(
6833
+ request,
6834
+ x$jscomp$0,
6835
+ errorInfo$jscomp$0
6836
+ );
6837
+ boundary$jscomp$0.pendingTasks--;
6838
+ if (4 !== boundary$jscomp$0.status) {
6839
+ boundary$jscomp$0.status = 4;
6840
+ boundary$jscomp$0.errorDigest = errorDigest$jscomp$0;
6841
+ untrackBoundary(request, boundary$jscomp$0);
6842
+ var boundaryRow = boundary$jscomp$0.row;
6843
+ null !== boundaryRow &&
6844
+ (request.allPendingTasks++,
6845
+ 0 === --boundaryRow.pendingTasks &&
6846
+ finishSuspenseListRow(request, boundaryRow),
6847
+ request.allPendingTasks--);
6848
+ boundary$jscomp$0.parentFlushed &&
6849
+ request.clientRenderedBoundaries.push(boundary$jscomp$0);
6850
+ 0 === request.pendingRootTasks &&
6851
+ null === request.trackedPostpones &&
6852
+ null !== boundary$jscomp$0.preamble &&
6853
+ preparePreamble(request);
6854
+ }
6855
+ 0 === request.allPendingTasks && completeAll(request);
6856
+ }
6349
6857
  }
6350
6858
  } finally {
6859
+ request.currentTask = prevTask$jscomp$0;
6351
6860
  }
6352
6861
  }
6353
- } else if (
6354
- ((request$jscomp$0 = void 0),
6355
- (request$jscomp$1 = segment),
6356
- 0 === request$jscomp$1.status)
6357
- ) {
6358
- request$jscomp$1.status = 6;
6359
- switchContext(task.context);
6360
- var childrenLength = request$jscomp$1.children.length,
6361
- chunkLength = request$jscomp$1.chunks.length;
6362
- try {
6363
- retryNode(request, task),
6364
- request$jscomp$1.lastPushedText &&
6365
- request$jscomp$1.textEmbedded &&
6366
- request$jscomp$1.chunks.push(textSeparator),
6367
- task.abortSet.delete(task),
6368
- (request$jscomp$1.status = 1),
6369
- finishedSegment(request, task.blockedBoundary, request$jscomp$1),
6370
- finishedTask(
6371
- request,
6372
- task.blockedBoundary,
6373
- task.row,
6374
- request$jscomp$1
6375
- );
6376
- } catch (thrownValue) {
6377
- resetHooksState();
6378
- request$jscomp$1.children.length = childrenLength;
6379
- request$jscomp$1.chunks.length = chunkLength;
6380
- var x$jscomp$0 =
6381
- thrownValue === SuspenseException
6382
- ? getSuspendedThenable()
6383
- : 12 === request.status
6384
- ? request.fatalError
6385
- : thrownValue;
6386
- if (12 === request.status && null !== request.trackedPostpones) {
6387
- var trackedPostpones = request.trackedPostpones,
6388
- thrownInfo = getThrownInfo(task.componentStack);
6389
- task.abortSet.delete(task);
6390
- logRecoverableError(request, x$jscomp$0, thrownInfo);
6391
- trackPostpone(request, trackedPostpones, task, request$jscomp$1);
6392
- finishedTask(
6393
- request,
6394
- task.blockedBoundary,
6395
- task.row,
6396
- request$jscomp$1
6397
- );
6398
- } else if (
6399
- "object" === typeof x$jscomp$0 &&
6400
- null !== x$jscomp$0 &&
6401
- "function" === typeof x$jscomp$0.then
6402
- ) {
6403
- request$jscomp$1.status = 0;
6404
- task.thenableState =
6405
- thrownValue === SuspenseException
6406
- ? getThenableStateAfterSuspending()
6407
- : null;
6408
- var ping$jscomp$0 = task.ping;
6409
- x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
6410
- } else {
6411
- var errorInfo$jscomp$0 = getThrownInfo(task.componentStack);
6412
- task.abortSet.delete(task);
6413
- request$jscomp$1.status = 4;
6414
- var boundary$jscomp$0 = task.blockedBoundary,
6415
- row = task.row;
6416
- null !== row &&
6417
- 0 === --row.pendingTasks &&
6418
- finishSuspenseListRow(request, row);
6419
- request.allPendingTasks--;
6420
- request$jscomp$0 = logRecoverableError(
6421
- request,
6422
- x$jscomp$0,
6423
- errorInfo$jscomp$0
6424
- );
6425
- if (null === boundary$jscomp$0) fatalError(request, x$jscomp$0);
6426
- else if (
6427
- (boundary$jscomp$0.pendingTasks--,
6428
- 4 !== boundary$jscomp$0.status)
6429
- ) {
6430
- boundary$jscomp$0.status = 4;
6431
- boundary$jscomp$0.errorDigest = request$jscomp$0;
6432
- untrackBoundary(request, boundary$jscomp$0);
6433
- var boundaryRow = boundary$jscomp$0.row;
6434
- null !== boundaryRow &&
6435
- 0 === --boundaryRow.pendingTasks &&
6436
- finishSuspenseListRow(request, boundaryRow);
6437
- boundary$jscomp$0.parentFlushed &&
6438
- request.clientRenderedBoundaries.push(boundary$jscomp$0);
6439
- 0 === request.pendingRootTasks &&
6440
- null === request.trackedPostpones &&
6441
- null !== boundary$jscomp$0.contentPreamble &&
6442
- preparePreamble(request);
6443
- }
6444
- 0 === request.allPendingTasks && completeAll(request);
6445
- }
6446
- } finally {
6447
- }
6448
- }
6449
6862
  }
6450
6863
  pingedTasks.splice(0, i);
6451
- null !== request$jscomp$2.destination &&
6452
- flushCompletedQueues(request$jscomp$2, request$jscomp$2.destination);
6864
+ null !== request$jscomp$1.destination &&
6865
+ flushCompletedQueues(request$jscomp$1, request$jscomp$1.destination);
6453
6866
  } catch (error) {
6454
- logRecoverableError(request$jscomp$2, error, {}),
6455
- fatalError(request$jscomp$2, error);
6867
+ logRecoverableError(request$jscomp$1, error, {}),
6868
+ fatalError(request$jscomp$1, error);
6456
6869
  } finally {
6457
6870
  (currentResumableState = prevResumableState),
6458
6871
  (ReactSharedInternals.H = prevDispatcher),
@@ -6490,12 +6903,11 @@ function preparePreambleFromSegment(
6490
6903
  segment,
6491
6904
  collectedPreambleSegments
6492
6905
  );
6493
- var preamble = boundary.contentPreamble,
6494
- fallbackPreamble = boundary.fallbackPreamble;
6495
- if (null === preamble || null === fallbackPreamble) return !1;
6906
+ var preamble = boundary.preamble;
6907
+ if (null === preamble) return !1;
6496
6908
  switch (boundary.status) {
6497
6909
  case 1:
6498
- hoistPreambleState(request.renderState, preamble);
6910
+ hoistPreambleState(request.renderState, preamble.content);
6499
6911
  request.byteSize += boundary.byteSize;
6500
6912
  segment = boundary.completedSegments[0];
6501
6913
  if (!segment) throw Error(formatProdErrorMessage(391));
@@ -6509,7 +6921,7 @@ function preparePreambleFromSegment(
6509
6921
  case 4:
6510
6922
  if (1 === segment.status)
6511
6923
  return (
6512
- hoistPreambleState(request.renderState, fallbackPreamble),
6924
+ hoistPreambleState(request.renderState, preamble.fallback),
6513
6925
  preparePreambleFromSubtree(
6514
6926
  request,
6515
6927
  segment,
@@ -6582,6 +6994,7 @@ function flushSegment(request, destination, segment, hoistableState) {
6582
6994
  var boundary = segment.boundary;
6583
6995
  if (null === boundary)
6584
6996
  return flushSubtree(request, destination, segment, hoistableState);
6997
+ segment.boundary = null;
6585
6998
  boundary.parentFlushed = !0;
6586
6999
  if (4 === boundary.status) {
6587
7000
  var row = boundary.row;
@@ -6591,7 +7004,7 @@ function flushSegment(request, destination, segment, hoistableState) {
6591
7004
  boundary = boundary.errorDigest;
6592
7005
  writeChunkAndReturn(destination, startClientRenderedSuspenseBoundary);
6593
7006
  writeChunk(destination, clientRenderedSuspenseBoundaryError1);
6594
- boundary &&
7007
+ null != boundary &&
6595
7008
  (writeChunk(destination, clientRenderedSuspenseBoundaryError1A),
6596
7009
  writeChunk(destination, stringToChunk(escapeTextForBrowser(boundary))),
6597
7010
  writeChunk(
@@ -6615,7 +7028,8 @@ function flushSegment(request, destination, segment, hoistableState) {
6615
7028
  !flushingPartialBoundaries &&
6616
7029
  isEligibleForOutlining(request, boundary) &&
6617
7030
  (flushedByteSize + boundary.byteSize > request.progressiveChunkSize ||
6618
- hasSuspenseyContent(boundary.contentState))
7031
+ hasSuspenseyContent(boundary.contentState, flushingShell) ||
7032
+ boundary.defer)
6619
7033
  )
6620
7034
  (boundary.rootSegmentID = request.nextSegmentId++),
6621
7035
  request.completedBoundaries.push(boundary),
@@ -6678,7 +7092,8 @@ function flushCompletedBoundary(request, destination, boundary) {
6678
7092
  request = request.renderState;
6679
7093
  i = boundary.rootSegmentID;
6680
7094
  boundary = boundary.contentState;
6681
- var requiresStyleInsertion = request.stylesToHoist;
7095
+ var requiresStyleInsertion = request.stylesToHoist,
7096
+ requiresViewTransitions = 0 !== (completedSegments.instructions & 128);
6682
7097
  request.stylesToHoist = !1;
6683
7098
  writeChunk(destination, request.startInlineScript);
6684
7099
  writeChunk(destination, endOfStartTag);
@@ -6689,6 +7104,13 @@ function flushCompletedBoundary(request, destination, boundary) {
6689
7104
  0 === (completedSegments.instructions & 2) &&
6690
7105
  ((completedSegments.instructions |= 2),
6691
7106
  writeChunk(destination, completeBoundaryScriptFunctionOnly)),
7107
+ requiresViewTransitions &&
7108
+ 0 === (completedSegments.instructions & 256) &&
7109
+ ((completedSegments.instructions |= 256),
7110
+ writeChunk(
7111
+ destination,
7112
+ completeBoundaryUpgradeToViewTransitionsInstruction
7113
+ )),
6692
7114
  0 === (completedSegments.instructions & 8)
6693
7115
  ? ((completedSegments.instructions |= 8),
6694
7116
  writeChunk(destination, completeBoundaryWithStylesScript1FullPartial))
@@ -6696,6 +7118,13 @@ function flushCompletedBoundary(request, destination, boundary) {
6696
7118
  : (0 === (completedSegments.instructions & 2) &&
6697
7119
  ((completedSegments.instructions |= 2),
6698
7120
  writeChunk(destination, completeBoundaryScriptFunctionOnly)),
7121
+ requiresViewTransitions &&
7122
+ 0 === (completedSegments.instructions & 256) &&
7123
+ ((completedSegments.instructions |= 256),
7124
+ writeChunk(
7125
+ destination,
7126
+ completeBoundaryUpgradeToViewTransitionsInstruction
7127
+ )),
6699
7128
  writeChunk(destination, completeBoundaryScript1Partial));
6700
7129
  completedSegments = stringToChunk(i.toString(16));
6701
7130
  writeChunk(destination, request.boundaryPrefix);
@@ -6744,7 +7173,8 @@ function flushPartiallyCompletedSegment(
6744
7173
  destination = writeChunkAndReturn(destination, completeSegmentScriptEnd);
6745
7174
  return destination;
6746
7175
  }
6747
- var flushingPartialBoundaries = !1;
7176
+ var flushingPartialBoundaries = !1,
7177
+ flushingShell = !1;
6748
7178
  function flushCompletedQueues(request, destination) {
6749
7179
  currentView = new Uint8Array(2048);
6750
7180
  writtenBytes = 0;
@@ -6826,7 +7256,9 @@ function flushCompletedQueues(request, destination) {
6826
7256
  completedPreambleSegments++
6827
7257
  )
6828
7258
  writeChunk(destination, bodyChunks[completedPreambleSegments]);
7259
+ flushingShell = !0;
6829
7260
  flushSegment(request, destination, completedRootSegment, null);
7261
+ flushingShell = !1;
6830
7262
  request.completedRootSegment = null;
6831
7263
  var renderState$jscomp$0 = request.renderState;
6832
7264
  if (
@@ -6910,17 +7342,17 @@ function flushCompletedQueues(request, destination) {
6910
7342
  writeChunk(renderState$jscomp$1, renderState$jscomp$2.boundaryPrefix);
6911
7343
  writeChunk(renderState$jscomp$1, stringToChunk(id.toString(16)));
6912
7344
  writeChunk(renderState$jscomp$1, clientRenderScript1A);
6913
- errorDigest &&
7345
+ null != errorDigest &&
6914
7346
  (writeChunk(
6915
7347
  renderState$jscomp$1,
6916
7348
  clientRenderErrorScriptArgInterstitial
6917
7349
  ),
6918
- writeChunk(
6919
- renderState$jscomp$1,
6920
- stringToChunk(
6921
- escapeJSStringsForInstructionScripts(errorDigest || "")
6922
- )
6923
- ));
7350
+ null == errorDigest
7351
+ ? writeChunk(renderState$jscomp$1, clientRenderErrorScriptNull)
7352
+ : writeChunk(
7353
+ renderState$jscomp$1,
7354
+ stringToChunk(escapeJSStringsForInstructionScripts(errorDigest))
7355
+ ));
6924
7356
  var JSCompiler_inline_result = writeChunkAndReturn(
6925
7357
  renderState$jscomp$1,
6926
7358
  clientRenderScriptEnd
@@ -6950,12 +7382,12 @@ function flushCompletedQueues(request, destination) {
6950
7382
  flushingPartialBoundaries = !0;
6951
7383
  var partialBoundaries = request.partialBoundaries;
6952
7384
  for (i = 0; i < partialBoundaries.length; i++) {
6953
- var boundary$70 = partialBoundaries[i];
7385
+ var boundary$71 = partialBoundaries[i];
6954
7386
  a: {
6955
7387
  clientRenderedBoundaries = request;
6956
7388
  boundary = destination;
6957
- flushedByteSize = boundary$70.byteSize;
6958
- var completedSegments = boundary$70.completedSegments;
7389
+ flushedByteSize = boundary$71.byteSize;
7390
+ var completedSegments = boundary$71.completedSegments;
6959
7391
  for (
6960
7392
  JSCompiler_inline_result = 0;
6961
7393
  JSCompiler_inline_result < completedSegments.length;
@@ -6965,7 +7397,7 @@ function flushCompletedQueues(request, destination) {
6965
7397
  !flushPartiallyCompletedSegment(
6966
7398
  clientRenderedBoundaries,
6967
7399
  boundary,
6968
- boundary$70,
7400
+ boundary$71,
6969
7401
  completedSegments[JSCompiler_inline_result]
6970
7402
  )
6971
7403
  ) {
@@ -6975,10 +7407,10 @@ function flushCompletedQueues(request, destination) {
6975
7407
  break a;
6976
7408
  }
6977
7409
  completedSegments.splice(0, JSCompiler_inline_result);
6978
- var row = boundary$70.row;
7410
+ var row = boundary$71.row;
6979
7411
  null !== row &&
6980
7412
  row.together &&
6981
- 1 === boundary$70.pendingTasks &&
7413
+ 1 === boundary$71.pendingTasks &&
6982
7414
  (1 === row.pendingTasks
6983
7415
  ? unblockSuspenseListRow(
6984
7416
  clientRenderedBoundaries,
@@ -6988,7 +7420,7 @@ function flushCompletedQueues(request, destination) {
6988
7420
  : row.pendingTasks--);
6989
7421
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
6990
7422
  boundary,
6991
- boundary$70.contentState,
7423
+ boundary$71.contentState,
6992
7424
  clientRenderedBoundaries.renderState
6993
7425
  );
6994
7426
  }
@@ -7013,6 +7445,8 @@ function flushCompletedQueues(request, destination) {
7013
7445
  }
7014
7446
  } finally {
7015
7447
  (flushingPartialBoundaries = !1),
7448
+ (i = request.postponedState),
7449
+ null !== i && (i.nextSegmentId = request.nextSegmentId),
7016
7450
  0 === request.allPendingTasks &&
7017
7451
  0 === request.clientRenderedBoundaries.length &&
7018
7452
  0 === request.completedBoundaries.length
@@ -7021,7 +7455,8 @@ function flushCompletedQueues(request, destination) {
7021
7455
  i.hasBody && writeChunk(destination, endChunkForTag("body")),
7022
7456
  i.hasHtml && writeChunk(destination, endChunkForTag("html")),
7023
7457
  completeWriting(destination),
7024
- (request.status = 14),
7458
+ endRenderLifetime(request),
7459
+ (request.status = 13),
7025
7460
  destination.close(),
7026
7461
  (request.destination = null))
7027
7462
  : completeWriting(destination);
@@ -7051,40 +7486,79 @@ function enqueueFlush(request) {
7051
7486
  }));
7052
7487
  }
7053
7488
  function startFlowing(request, destination) {
7054
- if (13 === request.status)
7055
- (request.status = 14), closeWithError(destination, request.fatalError);
7056
- else if (14 !== request.status && null === request.destination) {
7489
+ if (12 === request.status)
7490
+ (request.status = 13),
7491
+ (request = request.fatalError),
7492
+ isRecoverableError(request) &&
7493
+ (request = cloneRecoverableErrorAsFatal(request)),
7494
+ closeWithError(destination, request);
7495
+ else if (13 !== request.status && null === request.destination) {
7057
7496
  request.destination = destination;
7058
7497
  try {
7059
7498
  flushCompletedQueues(request, destination);
7060
- } catch (error) {
7061
- logRecoverableError(request, error, {}), fatalError(request, error);
7499
+ } catch (error$73) {
7500
+ logRecoverableError(request, error$73, {}), fatalError(request, error$73);
7062
7501
  }
7063
7502
  }
7064
7503
  }
7065
- function abort(request, reason) {
7066
- if (11 === request.status || 10 === request.status) request.status = 12;
7504
+ function finishAbort(request, abortableTasks) {
7067
7505
  try {
7068
- var abortableTasks = request.abortableTasks;
7069
7506
  if (0 < abortableTasks.size) {
7070
- var error =
7071
- void 0 === reason
7072
- ? Error(formatProdErrorMessage(432))
7073
- : "object" === typeof reason &&
7074
- null !== reason &&
7075
- "function" === typeof reason.then
7076
- ? Error(formatProdErrorMessage(530))
7077
- : reason;
7078
- request.fatalError = error;
7507
+ var error = request.fatalError;
7079
7508
  abortableTasks.forEach(function (task) {
7080
- return abortTask(task, request, error);
7509
+ return finishAbortedTask(task, request, error);
7081
7510
  });
7082
7511
  abortableTasks.clear();
7083
7512
  }
7084
7513
  null !== request.destination &&
7085
7514
  flushCompletedQueues(request, request.destination);
7086
- } catch (error$72) {
7087
- logRecoverableError(request, error$72, {}), fatalError(request, error$72);
7515
+ } catch (error$74) {
7516
+ logRecoverableError(request, error$74, {}), fatalError(request, error$74);
7517
+ }
7518
+ }
7519
+ function endRenderLifetime(request) {
7520
+ request = request.renderLifetimeController;
7521
+ null !== request && request.abort("The render ended.");
7522
+ }
7523
+ function attachAbortSignal(request, signal) {
7524
+ if (signal.aborted) abort(request, signal.reason);
7525
+ else {
7526
+ var renderLifetimeController = new AbortController();
7527
+ request.renderLifetimeController = renderLifetimeController;
7528
+ signal.addEventListener(
7529
+ "abort",
7530
+ function () {
7531
+ abort(request, signal.reason);
7532
+ },
7533
+ { signal: renderLifetimeController.signal }
7534
+ );
7535
+ }
7536
+ }
7537
+ function abort(request, reason) {
7538
+ if (!(request.aborted || (11 !== request.status && 10 !== request.status))) {
7539
+ endRenderLifetime(request);
7540
+ var isRecoverableReason =
7541
+ "object" === typeof reason &&
7542
+ null !== reason &&
7543
+ reason.$$typeof === REACT_RECOVERABLE_TYPE;
7544
+ request.aborted = !0;
7545
+ reason = isRecoverableReason
7546
+ ? createRecoverableError(reason)
7547
+ : void 0 === reason
7548
+ ? Error(formatProdErrorMessage(432))
7549
+ : "object" === typeof reason &&
7550
+ null !== reason &&
7551
+ "function" === typeof reason.then
7552
+ ? Error(formatProdErrorMessage(530))
7553
+ : reason;
7554
+ request.fatalError = reason;
7555
+ var abortableTasks = request.abortableTasks;
7556
+ abortableTasks.forEach(function (task) {
7557
+ return abortTask(task, request);
7558
+ });
7559
+ scheduleWork(function () {
7560
+ return finishAbort(request, abortableTasks);
7561
+ });
7088
7562
  }
7089
7563
  }
7090
7564
  function addToReplayParent(node, parentKeyPath, trackedPostpones) {
@@ -7107,11 +7581,11 @@ function getPostponedState(request) {
7107
7581
  null === trackedPostpones.rootSlots)
7108
7582
  )
7109
7583
  return (request.trackedPostpones = null);
7110
- if (
7584
+ var hasFlushableShell =
7111
7585
  null === request.completedRootSegment ||
7112
7586
  (5 !== request.completedRootSegment.status &&
7113
- null !== request.completedPreambleSegments)
7114
- ) {
7587
+ null !== request.completedPreambleSegments);
7588
+ if (hasFlushableShell) {
7115
7589
  var nextSegmentId = request.nextSegmentId;
7116
7590
  var replaySlots = trackedPostpones.rootSlots;
7117
7591
  var resumableState = request.resumableState;
@@ -7136,7 +7610,7 @@ function getPostponedState(request) {
7136
7610
  resumableState.moduleScriptResources = {};
7137
7611
  resumableState.instructions = 0;
7138
7612
  }
7139
- return {
7613
+ trackedPostpones = {
7140
7614
  nextSegmentId: nextSegmentId,
7141
7615
  rootFormatContext: request.rootFormatContext,
7142
7616
  progressiveChunkSize: request.progressiveChunkSize,
@@ -7144,15 +7618,17 @@ function getPostponedState(request) {
7144
7618
  replayNodes: trackedPostpones.rootNodes,
7145
7619
  replaySlots: replaySlots
7146
7620
  };
7621
+ hasFlushableShell && (request.postponedState = trackedPostpones);
7622
+ return trackedPostpones;
7147
7623
  }
7148
7624
  function ensureCorrectIsomorphicReactVersion() {
7149
7625
  var isomorphicReactPackageVersion = React.version;
7150
- if ("19.2.7" !== isomorphicReactPackageVersion)
7626
+ if ("19.3.1" !== isomorphicReactPackageVersion)
7151
7627
  throw Error(
7152
7628
  formatProdErrorMessage(
7153
7629
  527,
7154
7630
  isomorphicReactPackageVersion,
7155
- "19.2.7"
7631
+ "19.3.1"
7156
7632
  )
7157
7633
  );
7158
7634
  }
@@ -7187,6 +7663,7 @@ exports.prerender = function (children, options) {
7187
7663
  createRootFormatContext(options ? options.namespaceURI : void 0),
7188
7664
  options ? options.progressiveChunkSize : void 0,
7189
7665
  options ? options.onError : void 0,
7666
+ options ? options.onBrowserBailout : void 0,
7190
7667
  function () {
7191
7668
  var stream = new ReadableStream(
7192
7669
  {
@@ -7206,20 +7683,9 @@ exports.prerender = function (children, options) {
7206
7683
  },
7207
7684
  void 0,
7208
7685
  void 0,
7209
- reject,
7210
- options ? options.onPostpone : void 0
7686
+ reject
7211
7687
  );
7212
- if (options && options.signal) {
7213
- var signal = options.signal;
7214
- if (signal.aborted) abort(request, signal.reason);
7215
- else {
7216
- var listener = function () {
7217
- abort(request, signal.reason);
7218
- signal.removeEventListener("abort", listener);
7219
- };
7220
- signal.addEventListener("abort", listener);
7221
- }
7222
- }
7688
+ options && options.signal && attachAbortSignal(request, options.signal);
7223
7689
  startWork(request);
7224
7690
  });
7225
7691
  };
@@ -7258,6 +7724,7 @@ exports.renderToReadableStream = function (children, options) {
7258
7724
  createRootFormatContext(options ? options.namespaceURI : void 0),
7259
7725
  options ? options.progressiveChunkSize : void 0,
7260
7726
  options ? options.onError : void 0,
7727
+ options ? options.onBrowserBailout : void 0,
7261
7728
  onAllReady,
7262
7729
  function () {
7263
7730
  var stream = new ReadableStream(
@@ -7281,20 +7748,9 @@ exports.renderToReadableStream = function (children, options) {
7281
7748
  reject(error);
7282
7749
  },
7283
7750
  onFatalError,
7284
- options ? options.onPostpone : void 0,
7285
7751
  options ? options.formState : void 0
7286
7752
  );
7287
- if (options && options.signal) {
7288
- var signal = options.signal;
7289
- if (signal.aborted) abort(request, signal.reason);
7290
- else {
7291
- var listener = function () {
7292
- abort(request, signal.reason);
7293
- signal.removeEventListener("abort", listener);
7294
- };
7295
- signal.addEventListener("abort", listener);
7296
- }
7297
- }
7753
+ options && options.signal && attachAbortSignal(request, options.signal);
7298
7754
  startWork(request);
7299
7755
  });
7300
7756
  };
@@ -7318,6 +7774,7 @@ exports.resume = function (children, postponedState, options) {
7318
7774
  void 0
7319
7775
  ),
7320
7776
  options ? options.onError : void 0,
7777
+ options ? options.onBrowserBailout : void 0,
7321
7778
  onAllReady,
7322
7779
  function () {
7323
7780
  var stream = new ReadableStream(
@@ -7340,20 +7797,9 @@ exports.resume = function (children, postponedState, options) {
7340
7797
  allReady.catch(function () {});
7341
7798
  reject(error);
7342
7799
  },
7343
- onFatalError,
7344
- options ? options.onPostpone : void 0
7800
+ onFatalError
7345
7801
  );
7346
- if (options && options.signal) {
7347
- var signal = options.signal;
7348
- if (signal.aborted) abort(request, signal.reason);
7349
- else {
7350
- var listener = function () {
7351
- abort(request, signal.reason);
7352
- signal.removeEventListener("abort", listener);
7353
- };
7354
- signal.addEventListener("abort", listener);
7355
- }
7356
- }
7802
+ options && options.signal && attachAbortSignal(request, options.signal);
7357
7803
  startWork(request);
7358
7804
  });
7359
7805
  };
@@ -7371,6 +7817,7 @@ exports.resumeAndPrerender = function (children, postponedState, options) {
7371
7817
  void 0
7372
7818
  ),
7373
7819
  options ? options.onError : void 0,
7820
+ options ? options.onBrowserBailout : void 0,
7374
7821
  function () {
7375
7822
  var stream = new ReadableStream(
7376
7823
  {
@@ -7390,21 +7837,10 @@ exports.resumeAndPrerender = function (children, postponedState, options) {
7390
7837
  },
7391
7838
  void 0,
7392
7839
  void 0,
7393
- reject,
7394
- options ? options.onPostpone : void 0
7840
+ reject
7395
7841
  );
7396
- if (options && options.signal) {
7397
- var signal = options.signal;
7398
- if (signal.aborted) abort(request, signal.reason);
7399
- else {
7400
- var listener = function () {
7401
- abort(request, signal.reason);
7402
- signal.removeEventListener("abort", listener);
7403
- };
7404
- signal.addEventListener("abort", listener);
7405
- }
7406
- }
7842
+ options && options.signal && attachAbortSignal(request, options.signal);
7407
7843
  startWork(request);
7408
7844
  });
7409
7845
  };
7410
- exports.version = "19.2.7";
7846
+ exports.version = "19.3.1";