openplanr 3.0.1 → 3.1.0

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 (223) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/cli/commands/init-deterministic.d.ts.map +1 -1
  3. package/dist/cli/commands/init-deterministic.js +49 -6
  4. package/dist/cli/commands/init-deterministic.js.map +1 -1
  5. package/dist/dashboard/.vite/manifest.json +2 -2
  6. package/dist/dashboard/assets/{index-Bk8DyO_2.css → index-BU5fzjyz.css} +1 -1
  7. package/dist/dashboard/assets/index-G7ygVDGg.js +572 -0
  8. package/dist/dashboard/assets/index-G7ygVDGg.js.map +1 -0
  9. package/dist/dashboard/dashboard-manifest.json +14 -14
  10. package/dist/dashboard/index.html +2 -2
  11. package/dist/models/types.d.ts +0 -46
  12. package/dist/models/types.d.ts.map +1 -1
  13. package/dist/services/capability-map-service.d.ts +4 -0
  14. package/dist/services/capability-map-service.d.ts.map +1 -1
  15. package/dist/services/capability-map-service.js +7 -1
  16. package/dist/services/capability-map-service.js.map +1 -1
  17. package/dist/services/claude-plugin-service.d.ts +6 -1
  18. package/dist/services/claude-plugin-service.d.ts.map +1 -1
  19. package/dist/services/claude-plugin-service.js +54 -15
  20. package/dist/services/claude-plugin-service.js.map +1 -1
  21. package/dist/services/config-service.d.ts +24 -1
  22. package/dist/services/config-service.d.ts.map +1 -1
  23. package/dist/services/config-service.js +69 -2
  24. package/dist/services/config-service.js.map +1 -1
  25. package/dist/services/git-service.d.ts +5 -0
  26. package/dist/services/git-service.d.ts.map +1 -1
  27. package/dist/services/git-service.js +27 -0
  28. package/dist/services/git-service.js.map +1 -1
  29. package/dist/services/linear-pull-service.d.ts.map +1 -1
  30. package/dist/services/linear-pull-service.js +1 -2
  31. package/dist/services/linear-pull-service.js.map +1 -1
  32. package/dist/services/pipeline-package-service.d.ts +2 -0
  33. package/dist/services/pipeline-package-service.d.ts.map +1 -1
  34. package/dist/services/pipeline-package-service.js +2 -1
  35. package/dist/services/pipeline-package-service.js.map +1 -1
  36. package/dist/services/runtime-change-summary.d.ts.map +1 -1
  37. package/dist/services/runtime-change-summary.js +4 -0
  38. package/dist/services/runtime-change-summary.js.map +1 -1
  39. package/dist/services/runtime-manager-service.d.ts.map +1 -1
  40. package/dist/services/runtime-manager-service.js +14 -3
  41. package/dist/services/runtime-manager-service.js.map +1 -1
  42. package/dist/services/spec-service.d.ts.map +1 -1
  43. package/dist/services/spec-service.js +11 -22
  44. package/dist/services/spec-service.js.map +1 -1
  45. package/dist/services/upgrade-service.d.ts.map +1 -1
  46. package/dist/services/upgrade-service.js +3 -1
  47. package/dist/services/upgrade-service.js.map +1 -1
  48. package/dist/templates/rules/shared/capability-map.md.hbs +2 -2
  49. package/lib/host-packages/adapter-registry.json +5 -5
  50. package/lib/host-packages/capability-map.json +89 -29
  51. package/lib/host-packages/claude/.claude-plugin/marketplace.json +2 -2
  52. package/lib/host-packages/claude/openplanr/.claude-plugin/plugin.json +1 -1
  53. package/lib/host-packages/claude/openplanr/.openplanr-content.json +69 -37
  54. package/lib/host-packages/claude/openplanr/CONNECTORS.md +62 -0
  55. package/lib/host-packages/claude/openplanr/README.md +1 -1
  56. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-share.mjs +1 -1
  57. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-protocol-contracts-31a760fc.mjs +259 -36
  58. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +54 -54
  59. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +1 -1
  60. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +259 -36
  61. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +4 -4
  62. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/package.json +3 -3
  63. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +43 -24
  64. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +279 -58
  65. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +50 -42
  66. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +282 -146
  67. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +949 -316
  68. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/07-react-dom-client-work-loop-scheduling.js +143 -87
  69. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/08-react-dom-client-dom-events-properties-hydration.js +930 -183
  70. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +17 -15
  71. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-interface-primitives.js +375 -191
  72. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-interface-primitives.js +140 -105
  73. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +23 -23
  74. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +4 -4
  75. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +259 -36
  76. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +4 -4
  77. package/lib/host-packages/claude/openplanr/skills/connect/SKILL.md +60 -0
  78. package/lib/host-packages/claude/openplanr/skills/connect/references/connectors.md +62 -0
  79. package/lib/host-packages/claude/openplanr/skills/openplanr/SKILL.md +4 -0
  80. package/lib/host-packages/claude/openplanr/skills/plan/SKILL.md +4 -1
  81. package/lib/host-packages/claude/openplanr/skills/plan/scripts/planning-ids.mjs +49 -3
  82. package/lib/host-packages/claude/openplanr/skills/share/SKILL.md +87 -0
  83. package/lib/host-packages/claude/openplanr/skills/share/references/connectors.md +62 -0
  84. package/lib/host-packages/claude/openplanr/skills/ship/SKILL.md +6 -3
  85. package/lib/host-packages/claude/openplanr/skills/ship/scripts/discover-verification.mjs +2 -1
  86. package/lib/host-packages/claude/openplanr/skills/sprint/SKILL.md +15 -6
  87. package/lib/host-packages/claude/openplanr/skills/sprint/references/connectors.md +62 -0
  88. package/lib/host-packages/claude/openplanr/skills/sprint/references/tracker-connections.md +9 -13
  89. package/lib/host-packages/claude/openplanr/skills/status/SKILL.md +14 -3
  90. package/lib/host-packages/claude/openplanr/skills/status/references/connectors.md +62 -0
  91. package/lib/host-packages/claude/openplanr/skills/status/references/tracker-connections.md +9 -13
  92. package/lib/host-packages/claude/openplanr/skills/sync/SKILL.md +25 -10
  93. package/lib/host-packages/claude/openplanr/skills/sync/references/connectors.md +62 -0
  94. package/lib/host-packages/claude/openplanr/skills/sync/references/tracker-connections.md +9 -13
  95. package/lib/host-packages/cursor/openplanr/.openplanr-content.json +68 -36
  96. package/lib/host-packages/cursor/openplanr/CONNECTORS.md +62 -0
  97. package/lib/host-packages/cursor/openplanr/manifest.json +4 -2
  98. package/lib/host-packages/cursor/openplanr/rules/planr-connect/references/connectors.md +62 -0
  99. package/lib/host-packages/cursor/openplanr/rules/planr-connect.mdc +58 -0
  100. package/lib/host-packages/cursor/openplanr/rules/planr-openplanr.mdc +4 -0
  101. package/lib/host-packages/cursor/openplanr/rules/planr-plan/scripts/planning-ids.mjs +49 -3
  102. package/lib/host-packages/cursor/openplanr/rules/planr-plan.mdc +4 -1
  103. package/lib/host-packages/cursor/openplanr/rules/planr-share/references/connectors.md +62 -0
  104. package/lib/host-packages/cursor/openplanr/rules/planr-share.mdc +85 -0
  105. package/lib/host-packages/cursor/openplanr/rules/planr-ship/scripts/discover-verification.mjs +2 -1
  106. package/lib/host-packages/cursor/openplanr/rules/planr-ship.mdc +6 -3
  107. package/lib/host-packages/cursor/openplanr/rules/planr-sprint/references/connectors.md +62 -0
  108. package/lib/host-packages/cursor/openplanr/rules/planr-sprint/references/tracker-connections.md +9 -13
  109. package/lib/host-packages/cursor/openplanr/rules/planr-sprint.mdc +15 -6
  110. package/lib/host-packages/cursor/openplanr/rules/planr-status/references/connectors.md +62 -0
  111. package/lib/host-packages/cursor/openplanr/rules/planr-status/references/tracker-connections.md +9 -13
  112. package/lib/host-packages/cursor/openplanr/rules/planr-status.mdc +14 -3
  113. package/lib/host-packages/cursor/openplanr/rules/planr-sync/references/connectors.md +62 -0
  114. package/lib/host-packages/cursor/openplanr/rules/planr-sync/references/tracker-connections.md +9 -13
  115. package/lib/host-packages/cursor/openplanr/rules/planr-sync.mdc +25 -10
  116. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-share.mjs +1 -1
  117. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-protocol-contracts-31a760fc.mjs +259 -36
  118. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +54 -54
  119. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +1 -1
  120. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +259 -36
  121. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +4 -4
  122. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/package.json +3 -3
  123. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +43 -24
  124. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +279 -58
  125. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +50 -42
  126. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +282 -146
  127. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +949 -316
  128. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/07-react-dom-client-work-loop-scheduling.js +143 -87
  129. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/08-react-dom-client-dom-events-properties-hydration.js +930 -183
  130. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +17 -15
  131. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-interface-primitives.js +375 -191
  132. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-interface-primitives.js +140 -105
  133. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +23 -23
  134. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +4 -4
  135. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +259 -36
  136. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +4 -4
  137. package/lib/host-packages/openai/.claude-plugin/marketplace.json +2 -2
  138. package/lib/host-packages/openai/openplanr/.codex-plugin/plugin.json +1 -1
  139. package/lib/host-packages/openai/openplanr/.openplanr-content.json +87 -39
  140. package/lib/host-packages/openai/openplanr/CONNECTORS.md +62 -0
  141. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-share.mjs +1 -1
  142. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-protocol-contracts-31a760fc.mjs +259 -36
  143. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +54 -54
  144. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +1 -1
  145. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +259 -36
  146. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +4 -4
  147. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/package.json +3 -3
  148. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +43 -24
  149. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +279 -58
  150. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +50 -42
  151. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +282 -146
  152. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +949 -316
  153. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/07-react-dom-client-work-loop-scheduling.js +143 -87
  154. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/08-react-dom-client-dom-events-properties-hydration.js +930 -183
  155. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +17 -15
  156. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-interface-primitives.js +375 -191
  157. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-interface-primitives.js +140 -105
  158. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +23 -23
  159. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +4 -4
  160. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +259 -36
  161. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +4 -4
  162. package/lib/host-packages/openai/openplanr/skills/connect/SKILL.md +59 -0
  163. package/lib/host-packages/openai/openplanr/skills/connect/agents/openai.yaml +6 -0
  164. package/lib/host-packages/openai/openplanr/skills/connect/openplanr.skill.json +37 -0
  165. package/lib/host-packages/openai/openplanr/skills/connect/references/connectors.md +62 -0
  166. package/lib/host-packages/openai/openplanr/skills/openplanr/SKILL.md +4 -0
  167. package/lib/host-packages/openai/openplanr/skills/plan/SKILL.md +4 -1
  168. package/lib/host-packages/openai/openplanr/skills/plan/scripts/planning-ids.mjs +49 -3
  169. package/lib/host-packages/openai/openplanr/skills/share/SKILL.md +86 -0
  170. package/lib/host-packages/openai/openplanr/skills/share/agents/openai.yaml +6 -0
  171. package/lib/host-packages/openai/openplanr/skills/share/openplanr.skill.json +37 -0
  172. package/lib/host-packages/openai/openplanr/skills/share/references/connectors.md +62 -0
  173. package/lib/host-packages/openai/openplanr/skills/ship/SKILL.md +6 -3
  174. package/lib/host-packages/openai/openplanr/skills/ship/scripts/discover-verification.mjs +2 -1
  175. package/lib/host-packages/openai/openplanr/skills/sprint/SKILL.md +15 -6
  176. package/lib/host-packages/openai/openplanr/skills/sprint/openplanr.skill.json +11 -0
  177. package/lib/host-packages/openai/openplanr/skills/sprint/references/connectors.md +62 -0
  178. package/lib/host-packages/openai/openplanr/skills/sprint/references/tracker-connections.md +9 -13
  179. package/lib/host-packages/openai/openplanr/skills/status/SKILL.md +14 -3
  180. package/lib/host-packages/openai/openplanr/skills/status/openplanr.skill.json +11 -0
  181. package/lib/host-packages/openai/openplanr/skills/status/references/connectors.md +62 -0
  182. package/lib/host-packages/openai/openplanr/skills/status/references/tracker-connections.md +9 -13
  183. package/lib/host-packages/openai/openplanr/skills/sync/SKILL.md +25 -10
  184. package/lib/host-packages/openai/openplanr/skills/sync/openplanr.skill.json +11 -0
  185. package/lib/host-packages/openai/openplanr/skills/sync/references/connectors.md +62 -0
  186. package/lib/host-packages/openai/openplanr/skills/sync/references/tracker-connections.md +9 -13
  187. package/lib/json-schema.mjs +313 -36
  188. package/lib/schemas/v1.0.0/spec.schema.json +120 -0
  189. package/lib/schemas/v1.0.0/story.schema.json +95 -0
  190. package/lib/schemas/v1.0.0/task.schema.json +171 -0
  191. package/lib/schemas/v1.7.0/spec.schema.json +117 -0
  192. package/lib/schemas/v1.7.0/story.schema.json +107 -0
  193. package/lib/schemas/v1.7.0/task.schema.json +217 -0
  194. package/package.json +31 -31
  195. package/dist/dashboard/assets/index-n08LJ6bK.js +0 -557
  196. package/dist/dashboard/assets/index-n08LJ6bK.js.map +0 -1
  197. package/dist/services/audit-log-service.d.ts +0 -47
  198. package/dist/services/audit-log-service.d.ts.map +0 -1
  199. package/dist/services/audit-log-service.js +0 -211
  200. package/dist/services/audit-log-service.js.map +0 -1
  201. package/dist/services/delta-apply-service.d.ts +0 -16
  202. package/dist/services/delta-apply-service.d.ts.map +0 -1
  203. package/dist/services/delta-apply-service.js +0 -74
  204. package/dist/services/delta-apply-service.js.map +0 -1
  205. package/dist/services/evidence-verifier.d.ts +0 -71
  206. package/dist/services/evidence-verifier.d.ts.map +0 -1
  207. package/dist/services/evidence-verifier.js +0 -174
  208. package/dist/services/evidence-verifier.js.map +0 -1
  209. package/dist/services/revise-apply-service.d.ts +0 -55
  210. package/dist/services/revise-apply-service.d.ts.map +0 -1
  211. package/dist/services/revise-apply-service.js +0 -265
  212. package/dist/services/revise-apply-service.js.map +0 -1
  213. package/dist/services/revise-cache-service.d.ts +0 -46
  214. package/dist/services/revise-cache-service.d.ts.map +0 -1
  215. package/dist/services/revise-cache-service.js +0 -89
  216. package/dist/services/revise-cache-service.js.map +0 -1
  217. package/dist/services/revise-plan-service.d.ts +0 -38
  218. package/dist/services/revise-plan-service.d.ts.map +0 -1
  219. package/dist/services/revise-plan-service.js +0 -153
  220. package/dist/services/revise-plan-service.js.map +0 -1
  221. /package/lib/host-packages/claude/openplanr/runtime/design/scripts/{design-runtime-support-336900df0d39.mjs → design-runtime-support-e34c388a8e59.mjs} +0 -0
  222. /package/lib/host-packages/cursor/openplanr/runtime/design/scripts/{design-runtime-support-336900df0d39.mjs → design-runtime-support-e34c388a8e59.mjs} +0 -0
  223. /package/lib/host-packages/openai/openplanr/runtime/design/scripts/{design-runtime-support-336900df0d39.mjs → design-runtime-support-e34c388a8e59.mjs} +0 -0
@@ -45,8 +45,8 @@
45
45
  }
46
46
  if (Component = Component.defaultProps) {
47
47
  newProps === baseProps && (newProps = assign({}, newProps));
48
- for (var propName$73 in Component)
49
- void 0 === newProps[propName$73] && (newProps[propName$73] = Component[propName$73]);
48
+ for (var propName$77 in Component)
49
+ void 0 === newProps[propName$77] && (newProps[propName$77] = Component[propName$77]);
50
50
  }
51
51
  return newProps;
52
52
  }
@@ -63,9 +63,9 @@
63
63
  try {
64
64
  var onUncaughtError = root2.onUncaughtError;
65
65
  onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack });
66
- } catch (e$74) {
66
+ } catch (e$78) {
67
67
  setTimeout(function() {
68
- throw e$74;
68
+ throw e$78;
69
69
  });
70
70
  }
71
71
  }
@@ -76,9 +76,9 @@
76
76
  componentStack: errorInfo.stack,
77
77
  errorBoundary: 1 === boundary.tag ? boundary.stateNode : null
78
78
  });
79
- } catch (e$75) {
79
+ } catch (e$79) {
80
80
  setTimeout(function() {
81
- throw e$75;
81
+ throw e$79;
82
82
  });
83
83
  }
84
84
  }
@@ -132,6 +132,7 @@
132
132
  switch (sourceFiber.tag) {
133
133
  case 31:
134
134
  case 13:
135
+ case 19:
135
136
  return null === shellBoundary ? renderDidSuspendDelayIfPossible() : null === sourceFiber.alternate && 0 === workInProgressRootExitStatus && (workInProgressRootExitStatus = 3), sourceFiber.flags &= -257, sourceFiber.flags |= 65536, sourceFiber.lanes = rootRenderLanes, value === noopSuspenseyCommitThenable ? sourceFiber.flags |= 16384 : (returnFiber = sourceFiber.updateQueue, null === returnFiber ? sourceFiber.updateQueue = /* @__PURE__ */ new Set([value]) : returnFiber.add(value), attachPingListener(root2, value, rootRenderLanes)), false;
136
137
  case 22:
137
138
  return sourceFiber.flags |= 65536, value === noopSuspenseyCommitThenable ? sourceFiber.flags |= 16384 : (returnFiber = sourceFiber.updateQueue, null === returnFiber ? (returnFiber = {
@@ -168,13 +169,19 @@
168
169
  case 3:
169
170
  return sourceFiber.flags |= 65536, root2 = rootRenderLanes & -rootRenderLanes, sourceFiber.lanes |= root2, root2 = createRootErrorUpdate(sourceFiber.stateNode, value, root2), enqueueCapturedUpdate(sourceFiber, root2), false;
170
171
  case 1:
171
- if (returnFiber = sourceFiber.type, wrapperError = sourceFiber.stateNode, 0 === (sourceFiber.flags & 128) && ("function" === typeof returnFiber.getDerivedStateFromError || null !== wrapperError && "function" === typeof wrapperError.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(wrapperError))))
172
+ returnFiber = sourceFiber.type;
173
+ wrapperError = sourceFiber.stateNode;
174
+ if (0 === (sourceFiber.flags & 128) && ("function" === typeof returnFiber.getDerivedStateFromError || null !== wrapperError && "function" === typeof wrapperError.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(wrapperError))))
172
175
  return sourceFiber.flags |= 65536, rootRenderLanes &= -rootRenderLanes, sourceFiber.lanes |= rootRenderLanes, rootRenderLanes = createClassErrorUpdate(rootRenderLanes), initializeClassErrorUpdate(
173
176
  rootRenderLanes,
174
177
  root2,
175
178
  sourceFiber,
176
179
  value
177
180
  ), enqueueCapturedUpdate(sourceFiber, rootRenderLanes), false;
181
+ break;
182
+ case 22:
183
+ if (null !== sourceFiber.memoizedState)
184
+ return sourceFiber.flags |= 65536, false;
178
185
  }
179
186
  sourceFiber = sourceFiber.return;
180
187
  } while (null !== sourceFiber);
@@ -308,7 +315,7 @@
308
315
  nextProps
309
316
  );
310
317
  } else
311
- null !== prevState ? (pushTransition(workInProgress2, prevState.cachePool), pushHiddenContext(workInProgress2, prevState), reuseSuspenseHandlerOnStack(workInProgress2), workInProgress2.memoizedState = null) : (null !== current && pushTransition(workInProgress2, null), reuseHiddenContextOnStack(), reuseSuspenseHandlerOnStack(workInProgress2));
318
+ null !== prevState ? (pushTransition(workInProgress2, prevState.cachePool), pushHiddenContext(workInProgress2, prevState), reuseSuspenseHandlerOnStack(), workInProgress2.memoizedState = null) : (null !== current && pushTransition(workInProgress2, null), reuseHiddenContextOnStack(), reuseSuspenseHandlerOnStack());
312
319
  reconcileChildren(current, workInProgress2, nextChildren, renderLanes2);
313
320
  return workInProgress2.child;
314
321
  }
@@ -359,7 +366,7 @@
359
366
  if (null === current) {
360
367
  if (isHydrating) {
361
368
  if ("hidden" === nextProps.mode)
362
- return current = mountActivityChildren(workInProgress2, nextProps), workInProgress2.lanes = 536870912, bailoutOffscreenComponent(null, current);
369
+ return current = mountActivityChildren(workInProgress2, nextProps), workInProgress2.lanes = 536870912, current.memoizedState = { baseLanes: 0, cachePool: null }, bailoutOffscreenComponent(null, current);
363
370
  pushDehydratedActivitySuspenseHandler(workInProgress2);
364
371
  (current = nextHydratableInstance) ? (current = canHydrateHydrationBoundary(
365
372
  current,
@@ -391,17 +398,19 @@
391
398
  workInProgress2.child = current.child, workInProgress2.flags |= 128, workInProgress2 = null;
392
399
  else throw Error(formatProdErrorMessage(558));
393
400
  else if (didReceiveUpdate || propagateParentContextChanges(current, workInProgress2, renderLanes2, false), didSuspend = 0 !== (renderLanes2 & current.childLanes), didReceiveUpdate || didSuspend) {
394
- nextProps = workInProgressRoot;
395
- if (null !== nextProps && (dehydrated = getBumpedLaneForHydration(nextProps, renderLanes2), 0 !== dehydrated && dehydrated !== prevState.retryLane))
396
- throw prevState.retryLane = dehydrated, enqueueConcurrentRenderForLane(current, dehydrated), scheduleUpdateOnFiber(nextProps, current, dehydrated), SelectiveHydrationException;
397
- renderDidSuspendDelayIfPossible();
401
+ if (null === currentTreeHiddenStackCursor.current) {
402
+ nextProps = workInProgressRoot;
403
+ if (null !== nextProps && (dehydrated = getBumpedLaneForHydration(nextProps, renderLanes2), 0 !== dehydrated && dehydrated !== prevState.retryLane))
404
+ throw prevState.retryLane = dehydrated, enqueueConcurrentRenderForLane(current, dehydrated), scheduleUpdateOnFiber(nextProps, current, dehydrated), SelectiveHydrationException;
405
+ renderDidSuspendDelayIfPossible();
406
+ }
398
407
  workInProgress2 = retryActivityComponentWithoutHydrating(
399
408
  current,
400
409
  workInProgress2,
401
410
  renderLanes2
402
411
  );
403
412
  } else
404
- current = prevState.treeContext, nextHydratableInstance = getNextHydratable(dehydrated.nextSibling), hydrationParentFiber = workInProgress2, isHydrating = true, hydrationErrors = null, rootOrSingletonContext = false, null !== current && restoreSuspendedTreeContext(workInProgress2, current), workInProgress2 = mountActivityChildren(workInProgress2, nextProps), workInProgress2.flags |= 4096;
413
+ current = prevState.treeContext, nextHydratableInstance = getNextHydratable(dehydrated.nextSibling), hydrationParentFiber = workInProgress2, isHydrating = true, hydrationErrors = null, rootOrSingletonContext = false, null !== current && restoreSuspendedTreeContext(workInProgress2, current), workInProgress2 = mountActivityChildren(workInProgress2, nextProps), workInProgress2.flags |= 134221824;
405
414
  return workInProgress2;
406
415
  }
407
416
  current = createWorkInProgress(current.child, {
@@ -615,7 +624,7 @@
615
624
  workInProgress2.flags &= -33;
616
625
  if (null === current) {
617
626
  if (isHydrating) {
618
- showFallback ? pushPrimaryTreeSuspenseHandler(workInProgress2) : reuseSuspenseHandlerOnStack(workInProgress2);
627
+ showFallback ? pushPrimaryTreeSuspenseHandler(workInProgress2) : reuseSuspenseHandlerOnStack();
619
628
  (current = nextHydratableInstance) ? (current = canHydrateHydrationBoundary(
620
629
  current,
621
630
  rootOrSingletonContext
@@ -629,98 +638,53 @@
629
638
  isSuspenseInstanceFallback(current) ? workInProgress2.lanes = 32 : workInProgress2.lanes = 536870912;
630
639
  return null;
631
640
  }
632
- var nextPrimaryChildren = nextProps.children;
641
+ didSuspend = nextProps.children;
633
642
  nextProps = nextProps.fallback;
634
643
  if (showFallback)
635
- return reuseSuspenseHandlerOnStack(workInProgress2), showFallback = workInProgress2.mode, nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
636
- { mode: "hidden", children: nextPrimaryChildren },
644
+ return reuseSuspenseHandlerOnStack(), showFallback = workInProgress2.mode, didSuspend = mountWorkInProgressOffscreenFiber(
645
+ { mode: "hidden", children: didSuspend },
637
646
  showFallback
638
647
  ), nextProps = createFiberFromFragment(
639
648
  nextProps,
640
649
  showFallback,
641
650
  renderLanes2,
642
651
  null
643
- ), nextPrimaryChildren.return = workInProgress2, nextProps.return = workInProgress2, nextPrimaryChildren.sibling = nextProps, workInProgress2.child = nextPrimaryChildren, nextProps = workInProgress2.child, nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes2), nextProps.childLanes = getRemainingWorkInPrimaryTree(
652
+ ), didSuspend.return = workInProgress2, nextProps.return = workInProgress2, didSuspend.sibling = nextProps, workInProgress2.child = didSuspend, nextProps = workInProgress2.child, nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes2), nextProps.childLanes = getRemainingWorkInPrimaryTree(
644
653
  current,
645
654
  JSCompiler_temp,
646
655
  renderLanes2
647
656
  ), workInProgress2.memoizedState = SUSPENDED_MARKER, bailoutOffscreenComponent(null, nextProps);
648
657
  pushPrimaryTreeSuspenseHandler(workInProgress2);
649
- return mountSuspensePrimaryChildren(workInProgress2, nextPrimaryChildren);
658
+ return mountSuspensePrimaryChildren(workInProgress2, didSuspend);
650
659
  }
651
660
  var prevState = current.memoizedState;
652
- if (null !== prevState && (nextPrimaryChildren = prevState.dehydrated, null !== nextPrimaryChildren)) {
653
- if (didSuspend)
654
- workInProgress2.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress2), workInProgress2.flags &= -257, workInProgress2 = retrySuspenseComponentWithoutHydrating(
661
+ if (null !== prevState) {
662
+ var dehydrated$96 = prevState.dehydrated;
663
+ if (null !== dehydrated$96)
664
+ return updateDehydratedSuspenseComponent(
655
665
  current,
656
666
  workInProgress2,
657
- renderLanes2
658
- )) : null !== workInProgress2.memoizedState ? (reuseSuspenseHandlerOnStack(workInProgress2), workInProgress2.child = current.child, workInProgress2.flags |= 128, workInProgress2 = null) : (reuseSuspenseHandlerOnStack(workInProgress2), nextPrimaryChildren = nextProps.fallback, showFallback = workInProgress2.mode, nextProps = mountWorkInProgressOffscreenFiber(
659
- { mode: "visible", children: nextProps.children },
660
- showFallback
661
- ), nextPrimaryChildren = createFiberFromFragment(
662
- nextPrimaryChildren,
663
- showFallback,
664
- renderLanes2,
665
- null
666
- ), nextPrimaryChildren.flags |= 2, nextProps.return = workInProgress2, nextPrimaryChildren.return = workInProgress2, nextProps.sibling = nextPrimaryChildren, workInProgress2.child = nextProps, reconcileChildFibers(
667
- workInProgress2,
668
- current.child,
669
- null,
670
- renderLanes2
671
- ), nextProps = workInProgress2.child, nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes2), nextProps.childLanes = getRemainingWorkInPrimaryTree(
672
- current,
667
+ didSuspend,
673
668
  JSCompiler_temp,
674
- renderLanes2
675
- ), workInProgress2.memoizedState = SUSPENDED_MARKER, workInProgress2 = bailoutOffscreenComponent(null, nextProps));
676
- else if (pushPrimaryTreeSuspenseHandler(workInProgress2), isSuspenseInstanceFallback(nextPrimaryChildren)) {
677
- JSCompiler_temp = nextPrimaryChildren.nextSibling && nextPrimaryChildren.nextSibling.dataset;
678
- if (JSCompiler_temp) var digest = JSCompiler_temp.dgst;
679
- JSCompiler_temp = digest;
680
- nextProps = Error(formatProdErrorMessage(419));
681
- nextProps.stack = "";
682
- nextProps.digest = JSCompiler_temp;
683
- queueHydrationError({ value: nextProps, source: null, stack: null });
684
- workInProgress2 = retrySuspenseComponentWithoutHydrating(
685
- current,
686
- workInProgress2,
687
- renderLanes2
688
- );
689
- } else if (didReceiveUpdate || propagateParentContextChanges(current, workInProgress2, renderLanes2, false), JSCompiler_temp = 0 !== (renderLanes2 & current.childLanes), didReceiveUpdate || JSCompiler_temp) {
690
- JSCompiler_temp = workInProgressRoot;
691
- if (null !== JSCompiler_temp && (nextProps = getBumpedLaneForHydration(JSCompiler_temp, renderLanes2), 0 !== nextProps && nextProps !== prevState.retryLane))
692
- throw prevState.retryLane = nextProps, enqueueConcurrentRenderForLane(current, nextProps), scheduleUpdateOnFiber(JSCompiler_temp, current, nextProps), SelectiveHydrationException;
693
- isSuspenseInstancePending(nextPrimaryChildren) || renderDidSuspendDelayIfPossible();
694
- workInProgress2 = retrySuspenseComponentWithoutHydrating(
695
- current,
696
- workInProgress2,
669
+ nextProps,
670
+ dehydrated$96,
671
+ prevState,
697
672
  renderLanes2
698
673
  );
699
- } else
700
- isSuspenseInstancePending(nextPrimaryChildren) ? (workInProgress2.flags |= 192, workInProgress2.child = current.child, workInProgress2 = null) : (current = prevState.treeContext, nextHydratableInstance = getNextHydratable(
701
- nextPrimaryChildren.nextSibling
702
- ), hydrationParentFiber = workInProgress2, isHydrating = true, hydrationErrors = null, rootOrSingletonContext = false, null !== current && restoreSuspendedTreeContext(workInProgress2, current), workInProgress2 = mountSuspensePrimaryChildren(
703
- workInProgress2,
704
- nextProps.children
705
- ), workInProgress2.flags |= 4096);
706
- return workInProgress2;
707
674
  }
708
675
  if (showFallback)
709
- return reuseSuspenseHandlerOnStack(workInProgress2), nextPrimaryChildren = nextProps.fallback, showFallback = workInProgress2.mode, prevState = current.child, digest = prevState.sibling, nextProps = createWorkInProgress(prevState, {
676
+ return reuseSuspenseHandlerOnStack(), showFallback = nextProps.fallback, didSuspend = workInProgress2.mode, prevState = current.child, dehydrated$96 = prevState.sibling, nextProps = createWorkInProgress(prevState, {
710
677
  mode: "hidden",
711
678
  children: nextProps.children
712
- }), nextProps.subtreeFlags = prevState.subtreeFlags & 65011712, null !== digest ? nextPrimaryChildren = createWorkInProgress(
713
- digest,
714
- nextPrimaryChildren
715
- ) : (nextPrimaryChildren = createFiberFromFragment(
716
- nextPrimaryChildren,
679
+ }), nextProps.subtreeFlags = prevState.subtreeFlags & 1206910976, null !== dehydrated$96 ? showFallback = createWorkInProgress(dehydrated$96, showFallback) : (showFallback = createFiberFromFragment(
717
680
  showFallback,
681
+ didSuspend,
718
682
  renderLanes2,
719
683
  null
720
- ), nextPrimaryChildren.flags |= 2), nextPrimaryChildren.return = workInProgress2, nextProps.return = workInProgress2, nextProps.sibling = nextPrimaryChildren, workInProgress2.child = nextProps, bailoutOffscreenComponent(null, nextProps), nextProps = workInProgress2.child, nextPrimaryChildren = current.child.memoizedState, null === nextPrimaryChildren ? nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes2) : (showFallback = nextPrimaryChildren.cachePool, null !== showFallback ? (prevState = CacheContext._currentValue, showFallback = showFallback.parent !== prevState ? { parent: prevState, pool: prevState } : showFallback) : showFallback = getSuspendedCache(), nextPrimaryChildren = {
721
- baseLanes: nextPrimaryChildren.baseLanes | renderLanes2,
722
- cachePool: showFallback
723
- }), nextProps.memoizedState = nextPrimaryChildren, nextProps.childLanes = getRemainingWorkInPrimaryTree(
684
+ ), showFallback.flags |= 2), showFallback.return = workInProgress2, nextProps.return = workInProgress2, nextProps.sibling = showFallback, workInProgress2.child = nextProps, bailoutOffscreenComponent(null, nextProps), nextProps = workInProgress2.child, showFallback = current.child.memoizedState, null === showFallback ? showFallback = mountSuspenseOffscreenState(renderLanes2) : (didSuspend = showFallback.cachePool, null !== didSuspend ? (prevState = CacheContext._currentValue, didSuspend = didSuspend.parent !== prevState ? { parent: prevState, pool: prevState } : didSuspend) : didSuspend = getSuspendedCache(), showFallback = {
685
+ baseLanes: showFallback.baseLanes | renderLanes2,
686
+ cachePool: didSuspend
687
+ }), nextProps.memoizedState = showFallback, nextProps.childLanes = getRemainingWorkInPrimaryTree(
724
688
  current,
725
689
  JSCompiler_temp,
726
690
  renderLanes2
@@ -762,12 +726,109 @@
762
726
  workInProgress2.memoizedState = null;
763
727
  return current;
764
728
  }
729
+ function updateDehydratedSuspenseComponent(current, workInProgress2, didSuspend, didPrimaryChildrenDefer, nextProps, suspenseInstance, suspenseState, renderLanes2) {
730
+ if (didSuspend) {
731
+ if (workInProgress2.flags & 256)
732
+ return pushPrimaryTreeSuspenseHandler(workInProgress2), workInProgress2.flags &= -257, retrySuspenseComponentWithoutHydrating(
733
+ current,
734
+ workInProgress2,
735
+ renderLanes2
736
+ );
737
+ if (null !== workInProgress2.memoizedState)
738
+ return reuseSuspenseHandlerOnStack(), workInProgress2.child = current.child, workInProgress2.flags |= 128, null;
739
+ reuseSuspenseHandlerOnStack();
740
+ suspenseInstance = nextProps.fallback;
741
+ suspenseState = workInProgress2.mode;
742
+ nextProps = mountWorkInProgressOffscreenFiber(
743
+ { mode: "visible", children: nextProps.children },
744
+ suspenseState
745
+ );
746
+ suspenseInstance = createFiberFromFragment(
747
+ suspenseInstance,
748
+ suspenseState,
749
+ renderLanes2,
750
+ null
751
+ );
752
+ suspenseInstance.flags |= 2;
753
+ nextProps.return = workInProgress2;
754
+ suspenseInstance.return = workInProgress2;
755
+ nextProps.sibling = suspenseInstance;
756
+ workInProgress2.child = nextProps;
757
+ reconcileChildFibers(workInProgress2, current.child, null, renderLanes2);
758
+ nextProps = workInProgress2.child;
759
+ nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes2);
760
+ nextProps.childLanes = getRemainingWorkInPrimaryTree(
761
+ current,
762
+ didPrimaryChildrenDefer,
763
+ renderLanes2
764
+ );
765
+ workInProgress2.memoizedState = SUSPENDED_MARKER;
766
+ return bailoutOffscreenComponent(null, nextProps);
767
+ }
768
+ pushPrimaryTreeSuspenseHandler(workInProgress2);
769
+ if (isSuspenseInstanceFallback(suspenseInstance)) {
770
+ didPrimaryChildrenDefer = suspenseInstance.nextSibling && suspenseInstance.nextSibling.dataset;
771
+ if (didPrimaryChildrenDefer) var digest = didPrimaryChildrenDefer.dgst;
772
+ didPrimaryChildrenDefer = digest;
773
+ "" !== didPrimaryChildrenDefer && (nextProps = Error(formatProdErrorMessage(419)), nextProps.stack = "", nextProps.digest = didPrimaryChildrenDefer, queueHydrationError({ value: nextProps, source: null, stack: null }));
774
+ return retrySuspenseComponentWithoutHydrating(
775
+ current,
776
+ workInProgress2,
777
+ renderLanes2
778
+ );
779
+ }
780
+ didReceiveUpdate || propagateParentContextChanges(current, workInProgress2, renderLanes2, false);
781
+ didPrimaryChildrenDefer = 0 !== (renderLanes2 & current.childLanes);
782
+ if (didReceiveUpdate || didPrimaryChildrenDefer) {
783
+ if (null !== currentTreeHiddenStackCursor.current)
784
+ return retrySuspenseComponentWithoutHydrating(
785
+ current,
786
+ workInProgress2,
787
+ renderLanes2
788
+ );
789
+ didPrimaryChildrenDefer = workInProgressRoot;
790
+ if (null !== didPrimaryChildrenDefer && (nextProps = getBumpedLaneForHydration(
791
+ didPrimaryChildrenDefer,
792
+ renderLanes2
793
+ ), 0 !== nextProps && nextProps !== suspenseState.retryLane))
794
+ throw suspenseState.retryLane = nextProps, enqueueConcurrentRenderForLane(current, nextProps), scheduleUpdateOnFiber(didPrimaryChildrenDefer, current, nextProps), SelectiveHydrationException;
795
+ isSuspenseInstancePending(suspenseInstance) || renderDidSuspendDelayIfPossible();
796
+ return retrySuspenseComponentWithoutHydrating(
797
+ current,
798
+ workInProgress2,
799
+ renderLanes2
800
+ );
801
+ }
802
+ if (isSuspenseInstancePending(suspenseInstance))
803
+ return workInProgress2.flags |= 192, workInProgress2.child = current.child, null;
804
+ current = suspenseState.treeContext;
805
+ nextHydratableInstance = getNextHydratable(suspenseInstance.nextSibling);
806
+ hydrationParentFiber = workInProgress2;
807
+ isHydrating = true;
808
+ hydrationErrors = null;
809
+ rootOrSingletonContext = false;
810
+ null !== current && restoreSuspendedTreeContext(workInProgress2, current);
811
+ workInProgress2 = mountSuspensePrimaryChildren(
812
+ workInProgress2,
813
+ nextProps.children
814
+ );
815
+ workInProgress2.flags |= 134221824;
816
+ return workInProgress2;
817
+ }
765
818
  function scheduleSuspenseWorkOnFiber(fiber, renderLanes2, propagationRoot) {
766
819
  fiber.lanes |= renderLanes2;
767
820
  var alternate = fiber.alternate;
768
821
  null !== alternate && (alternate.lanes |= renderLanes2);
769
822
  scheduleContextWorkOnParentPath(fiber.return, renderLanes2, propagationRoot);
770
823
  }
824
+ function findLastContentRow(firstChild) {
825
+ for (var lastContentRow = null; null !== firstChild; ) {
826
+ var currentRow = firstChild.alternate;
827
+ null !== currentRow && null === findFirstSuspended(currentRow) && (lastContentRow = firstChild);
828
+ firstChild = firstChild.sibling;
829
+ }
830
+ return lastContentRow;
831
+ }
771
832
  function initSuspenseListRenderState(workInProgress2, isBackwards, tail, lastContentRow, tailMode, treeForkCount2) {
772
833
  var renderState = workInProgress2.memoizedState;
773
834
  null === renderState ? workInProgress2.memoizedState = {
@@ -780,13 +841,25 @@
780
841
  treeForkCount: treeForkCount2
781
842
  } : (renderState.isBackwards = isBackwards, renderState.rendering = null, renderState.renderingStartTime = 0, renderState.last = lastContentRow, renderState.tail = tail, renderState.tailMode = tailMode, renderState.treeForkCount = treeForkCount2);
782
843
  }
844
+ function reverseChildren(fiber) {
845
+ var row = fiber.child;
846
+ for (fiber.child = null; null !== row; ) {
847
+ var nextRow = row.sibling;
848
+ row.sibling = fiber.child;
849
+ fiber.child = row;
850
+ row = nextRow;
851
+ }
852
+ }
783
853
  function updateSuspenseListComponent(current, workInProgress2, renderLanes2) {
784
854
  var nextProps = workInProgress2.pendingProps, revealOrder = nextProps.revealOrder, tailMode = nextProps.tail;
785
855
  nextProps = nextProps.children;
786
- var suspenseContext = suspenseStackCursor.current, shouldForceFallback = 0 !== (suspenseContext & 2);
856
+ var suspenseContext = suspenseStackCursor.current;
857
+ if (workInProgress2.flags & 128)
858
+ return pushSuspenseListContext(workInProgress2, suspenseContext), null;
859
+ var shouldForceFallback = 0 !== (suspenseContext & 2);
787
860
  shouldForceFallback ? (suspenseContext = suspenseContext & 1 | 2, workInProgress2.flags |= 128) : suspenseContext &= 1;
788
- push(suspenseStackCursor, suspenseContext);
789
- reconcileChildren(current, workInProgress2, nextProps, renderLanes2);
861
+ pushSuspenseListContext(workInProgress2, suspenseContext);
862
+ "backwards" === revealOrder && null !== current ? (reverseChildren(current), reconcileChildren(current, workInProgress2, nextProps, renderLanes2), reverseChildren(current)) : reconcileChildren(current, workInProgress2, nextProps, renderLanes2);
790
863
  nextProps = isHydrating ? treeForkCount : 0;
791
864
  if (!shouldForceFallback && null !== current && 0 !== (current.flags & 128))
792
865
  a: for (current = workInProgress2.child; null !== current; ) {
@@ -809,22 +882,18 @@
809
882
  current = current.sibling;
810
883
  }
811
884
  switch (revealOrder) {
812
- case "forwards":
813
- renderLanes2 = workInProgress2.child;
814
- for (revealOrder = null; null !== renderLanes2; )
815
- current = renderLanes2.alternate, null !== current && null === findFirstSuspended(current) && (revealOrder = renderLanes2), renderLanes2 = renderLanes2.sibling;
816
- renderLanes2 = revealOrder;
817
- null === renderLanes2 ? (revealOrder = workInProgress2.child, workInProgress2.child = null) : (revealOrder = renderLanes2.sibling, renderLanes2.sibling = null);
885
+ case "backwards":
886
+ renderLanes2 = findLastContentRow(workInProgress2.child);
887
+ null === renderLanes2 ? (revealOrder = workInProgress2.child, workInProgress2.child = null) : (revealOrder = renderLanes2.sibling, renderLanes2.sibling = null, reverseChildren(workInProgress2));
818
888
  initSuspenseListRenderState(
819
889
  workInProgress2,
820
- false,
890
+ true,
821
891
  revealOrder,
822
- renderLanes2,
892
+ null,
823
893
  tailMode,
824
894
  nextProps
825
895
  );
826
896
  break;
827
- case "backwards":
828
897
  case "unstable_legacy-backwards":
829
898
  renderLanes2 = null;
830
899
  revealOrder = workInProgress2.child;
@@ -858,11 +927,27 @@
858
927
  nextProps
859
928
  );
860
929
  break;
861
- default:
930
+ case "independent":
862
931
  workInProgress2.memoizedState = null;
932
+ break;
933
+ default:
934
+ renderLanes2 = findLastContentRow(workInProgress2.child), null === renderLanes2 ? (revealOrder = workInProgress2.child, workInProgress2.child = null) : (revealOrder = renderLanes2.sibling, renderLanes2.sibling = null), initSuspenseListRenderState(
935
+ workInProgress2,
936
+ false,
937
+ revealOrder,
938
+ renderLanes2,
939
+ tailMode,
940
+ nextProps
941
+ );
863
942
  }
864
943
  return workInProgress2.child;
865
944
  }
945
+ function updateContextProvider(current, workInProgress2, renderLanes2) {
946
+ var newProps = workInProgress2.pendingProps;
947
+ pushProvider(workInProgress2, workInProgress2.type, newProps.value);
948
+ reconcileChildren(current, workInProgress2, newProps.children, renderLanes2);
949
+ return workInProgress2.child;
950
+ }
866
951
  function bailoutOnAlreadyFinishedWork(current, workInProgress2, renderLanes2) {
867
952
  null !== current && (workInProgress2.dependencies = current.dependencies);
868
953
  workInProgressRootSkippedLanes |= workInProgress2.lanes;
@@ -919,11 +1004,18 @@
919
1004
  return workInProgress2.flags |= 128, pushDehydratedActivitySuspenseHandler(workInProgress2), null;
920
1005
  break;
921
1006
  case 13:
922
- var state$102 = workInProgress2.memoizedState;
923
- if (null !== state$102) {
924
- if (null !== state$102.dehydrated)
1007
+ var state$108 = workInProgress2.memoizedState;
1008
+ if (null !== state$108) {
1009
+ if (null !== state$108.dehydrated)
925
1010
  return pushPrimaryTreeSuspenseHandler(workInProgress2), workInProgress2.flags |= 128, null;
926
- if (0 !== (renderLanes2 & workInProgress2.child.childLanes))
1011
+ state$108 = propagateParentContextChanges(
1012
+ current,
1013
+ workInProgress2,
1014
+ renderLanes2,
1015
+ false
1016
+ );
1017
+ var primaryChildLanes = workInProgress2.child.childLanes;
1018
+ if (state$108 || 0 !== (renderLanes2 & primaryChildLanes))
927
1019
  return updateSuspenseComponent(current, workInProgress2, renderLanes2);
928
1020
  pushPrimaryTreeSuspenseHandler(workInProgress2);
929
1021
  current = bailoutOnAlreadyFinishedWork(
@@ -936,16 +1028,22 @@
936
1028
  pushPrimaryTreeSuspenseHandler(workInProgress2);
937
1029
  break;
938
1030
  case 19:
939
- var didSuspendBefore = 0 !== (current.flags & 128);
940
- state$102 = 0 !== (renderLanes2 & workInProgress2.childLanes);
941
- state$102 || (propagateParentContextChanges(
1031
+ if (workInProgress2.flags & 128)
1032
+ return updateSuspenseListComponent(
1033
+ current,
1034
+ workInProgress2,
1035
+ renderLanes2
1036
+ );
1037
+ primaryChildLanes = 0 !== (current.flags & 128);
1038
+ state$108 = 0 !== (renderLanes2 & workInProgress2.childLanes);
1039
+ state$108 || (propagateParentContextChanges(
942
1040
  current,
943
1041
  workInProgress2,
944
1042
  renderLanes2,
945
1043
  false
946
- ), state$102 = 0 !== (renderLanes2 & workInProgress2.childLanes));
947
- if (didSuspendBefore) {
948
- if (state$102)
1044
+ ), state$108 = 0 !== (renderLanes2 & workInProgress2.childLanes));
1045
+ if (primaryChildLanes) {
1046
+ if (state$108)
949
1047
  return updateSuspenseListComponent(
950
1048
  current,
951
1049
  workInProgress2,
@@ -953,10 +1051,10 @@
953
1051
  );
954
1052
  workInProgress2.flags |= 128;
955
1053
  }
956
- didSuspendBefore = workInProgress2.memoizedState;
957
- null !== didSuspendBefore && (didSuspendBefore.rendering = null, didSuspendBefore.tail = null, didSuspendBefore.lastEffect = null);
958
- push(suspenseStackCursor, suspenseStackCursor.current);
959
- if (state$102) break;
1054
+ primaryChildLanes = workInProgress2.memoizedState;
1055
+ null !== primaryChildLanes && (primaryChildLanes.rendering = null, primaryChildLanes.tail = null, primaryChildLanes.lastEffect = null);
1056
+ pushSuspenseListContext(workInProgress2, suspenseStackCursor.current);
1057
+ if (state$108) break;
960
1058
  else return null;
961
1059
  case 22:
962
1060
  return workInProgress2.lanes = 0, updateOffscreenComponent(
@@ -1029,6 +1127,15 @@
1029
1127
  renderLanes2
1030
1128
  );
1031
1129
  break a;
1130
+ } else if ($$typeof === REACT_CONTEXT_TYPE) {
1131
+ workInProgress2.tag = 10;
1132
+ workInProgress2.type = current;
1133
+ workInProgress2 = updateContextProvider(
1134
+ null,
1135
+ workInProgress2,
1136
+ renderLanes2
1137
+ );
1138
+ break a;
1032
1139
  }
1033
1140
  }
1034
1141
  workInProgress2 = getComponentNameFromType(current) || current;
@@ -1125,7 +1232,7 @@
1125
1232
  renderLanes2
1126
1233
  );
1127
1234
  for (workInProgress2.child = renderLanes2; renderLanes2; )
1128
- renderLanes2.flags = renderLanes2.flags & -3 | 4096, renderLanes2 = renderLanes2.sibling;
1235
+ renderLanes2.flags = renderLanes2.flags & -3 | 134221824, renderLanes2 = renderLanes2.sibling;
1129
1236
  }
1130
1237
  else {
1131
1238
  resetHydrationState();
@@ -1148,9 +1255,12 @@
1148
1255
  null,
1149
1256
  workInProgress2.pendingProps,
1150
1257
  null
1151
- )) ? workInProgress2.memoizedState = renderLanes2 : isHydrating || (renderLanes2 = workInProgress2.type, current = workInProgress2.pendingProps, props = getOwnerDocumentFromRootContainer(
1152
- rootInstanceStackCursor.current
1153
- ).createElement(renderLanes2), props[internalInstanceKey] = workInProgress2, props[internalPropsKey] = current, setInitialProperties(props, renderLanes2, current), markNodeAsHoistable(props), workInProgress2.stateNode = props) : workInProgress2.memoizedState = getResource(
1258
+ )) ? workInProgress2.memoizedState = renderLanes2 : isHydrating || (workInProgress2.stateNode = createHoistableInstance(
1259
+ workInProgress2.type,
1260
+ workInProgress2.pendingProps,
1261
+ rootInstanceStackCursor.current,
1262
+ workInProgress2
1263
+ )) : workInProgress2.memoizedState = getResource(
1154
1264
  workInProgress2.type,
1155
1265
  current.memoizedProps,
1156
1266
  workInProgress2.pendingProps,
@@ -1227,12 +1337,7 @@
1227
1337
  renderLanes2
1228
1338
  );
1229
1339
  case 7:
1230
- return reconcileChildren(
1231
- current,
1232
- workInProgress2,
1233
- workInProgress2.pendingProps,
1234
- renderLanes2
1235
- ), workInProgress2.child;
1340
+ return props = workInProgress2.pendingProps, markRef(current, workInProgress2), reconcileChildren(current, workInProgress2, props, renderLanes2), workInProgress2.child;
1236
1341
  case 8:
1237
1342
  return reconcileChildren(
1238
1343
  current,
@@ -1248,7 +1353,7 @@
1248
1353
  renderLanes2
1249
1354
  ), workInProgress2.child;
1250
1355
  case 10:
1251
- return props = workInProgress2.pendingProps, pushProvider(workInProgress2, workInProgress2.type, props.value), reconcileChildren(current, workInProgress2, props.children, renderLanes2), workInProgress2.child;
1356
+ return updateContextProvider(current, workInProgress2, renderLanes2);
1252
1357
  case 9:
1253
1358
  return $$typeof = workInProgress2.type._context, props = workInProgress2.pendingProps.children, prepareToReadContext(workInProgress2), $$typeof = readContext($$typeof), props = props($$typeof), workInProgress2.flags |= 1, reconcileChildren(current, workInProgress2, props, renderLanes2), workInProgress2.child;
1254
1359
  case 14:
@@ -1290,6 +1395,13 @@
1290
1395
  workInProgress2.pendingProps.children,
1291
1396
  renderLanes2
1292
1397
  ), workInProgress2.child;
1398
+ case 30:
1399
+ return null === workInProgress2.stateNode && (workInProgress2.stateNode = {
1400
+ autoName: null,
1401
+ paired: null,
1402
+ clones: null,
1403
+ ref: null
1404
+ }), props = workInProgress2.pendingProps, null != props.name && "auto" !== props.name ? workInProgress2.flags |= null === current ? 18882560 : 18874368 : isHydrating && pushMaterializedTreeId(workInProgress2), null !== current && current.memoizedProps.name !== props.name ? workInProgress2.flags |= 4194816 : markRef(current, workInProgress2), reconcileChildren(current, workInProgress2, props.children, renderLanes2), workInProgress2.child;
1293
1405
  case 29:
1294
1406
  throw workInProgress2.pendingProps;
1295
1407
  }
@@ -1299,8 +1411,10 @@
1299
1411
  workInProgress2.flags |= 4;
1300
1412
  }
1301
1413
  function preloadInstanceAndSuspendIfNeeded(workInProgress2, type, oldProps, newProps, renderLanes2) {
1302
- if (type = 0 !== (workInProgress2.mode & 32)) type = false;
1303
- if (type) {
1414
+ var JSCompiler_temp;
1415
+ if (JSCompiler_temp = 0 !== (workInProgress2.mode & 32))
1416
+ JSCompiler_temp = null === oldProps ? maySuspendCommit(type, newProps) : maySuspendCommit(type, newProps) && (newProps.src !== oldProps.src || newProps.srcSet !== oldProps.srcSet);
1417
+ if (JSCompiler_temp) {
1304
1418
  if (workInProgress2.flags |= 16777216, (renderLanes2 & 335544128) === renderLanes2)
1305
1419
  if (workInProgress2.stateNode.complete) workInProgress2.flags |= 8192;
1306
1420
  else if (shouldRemainOnPreviousScreen()) workInProgress2.flags |= 8192;
@@ -1323,27 +1437,28 @@
1323
1437
  function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
1324
1438
  if (!isHydrating)
1325
1439
  switch (renderState.tailMode) {
1326
- case "hidden":
1327
- hasRenderedATailFallback = renderState.tail;
1328
- for (var lastTailNode = null; null !== hasRenderedATailFallback; )
1329
- null !== hasRenderedATailFallback.alternate && (lastTailNode = hasRenderedATailFallback), hasRenderedATailFallback = hasRenderedATailFallback.sibling;
1330
- null === lastTailNode ? renderState.tail = null : lastTailNode.sibling = null;
1440
+ case "visible":
1331
1441
  break;
1332
1442
  case "collapsed":
1333
- lastTailNode = renderState.tail;
1334
- for (var lastTailNode$106 = null; null !== lastTailNode; )
1335
- null !== lastTailNode.alternate && (lastTailNode$106 = lastTailNode), lastTailNode = lastTailNode.sibling;
1336
- null === lastTailNode$106 ? hasRenderedATailFallback || null === renderState.tail ? renderState.tail = null : renderState.tail.sibling = null : lastTailNode$106.sibling = null;
1443
+ for (var tailNode = renderState.tail, lastTailNode = null; null !== tailNode; )
1444
+ null !== tailNode.alternate && (lastTailNode = tailNode), tailNode = tailNode.sibling;
1445
+ null === lastTailNode ? hasRenderedATailFallback || null === renderState.tail ? renderState.tail = null : renderState.tail.sibling = null : lastTailNode.sibling = null;
1446
+ break;
1447
+ default:
1448
+ hasRenderedATailFallback = renderState.tail;
1449
+ for (tailNode = null; null !== hasRenderedATailFallback; )
1450
+ null !== hasRenderedATailFallback.alternate && (tailNode = hasRenderedATailFallback), hasRenderedATailFallback = hasRenderedATailFallback.sibling;
1451
+ null === tailNode ? renderState.tail = null : tailNode.sibling = null;
1337
1452
  }
1338
1453
  }
1339
1454
  function bubbleProperties(completedWork) {
1340
1455
  var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child, newChildLanes = 0, subtreeFlags = 0;
1341
1456
  if (didBailout)
1342
- for (var child$107 = completedWork.child; null !== child$107; )
1343
- newChildLanes |= child$107.lanes | child$107.childLanes, subtreeFlags |= child$107.subtreeFlags & 65011712, subtreeFlags |= child$107.flags & 65011712, child$107.return = completedWork, child$107 = child$107.sibling;
1457
+ for (var child$113 = completedWork.child; null !== child$113; )
1458
+ newChildLanes |= child$113.lanes | child$113.childLanes, subtreeFlags |= child$113.subtreeFlags & 1206910976, subtreeFlags |= child$113.flags & 1206910976, child$113.return = completedWork, child$113 = child$113.sibling;
1344
1459
  else
1345
- for (child$107 = completedWork.child; null !== child$107; )
1346
- newChildLanes |= child$107.lanes | child$107.childLanes, subtreeFlags |= child$107.subtreeFlags, subtreeFlags |= child$107.flags, child$107.return = completedWork, child$107 = child$107.sibling;
1460
+ for (child$113 = completedWork.child; null !== child$113; )
1461
+ newChildLanes |= child$113.lanes | child$113.childLanes, subtreeFlags |= child$113.subtreeFlags, subtreeFlags |= child$113.flags, child$113.return = completedWork, child$113 = child$113.sibling;
1347
1462
  completedWork.subtreeFlags |= subtreeFlags;
1348
1463
  completedWork.childLanes = newChildLanes;
1349
1464
  return didBailout;
@@ -1403,12 +1518,14 @@
1403
1518
  if (null === workInProgress2.stateNode)
1404
1519
  throw Error(formatProdErrorMessage(166));
1405
1520
  bubbleProperties(workInProgress2);
1521
+ workInProgress2.subtreeFlags &= -33554433;
1406
1522
  return null;
1407
1523
  }
1408
1524
  current = contextStackCursor.current;
1409
1525
  popHydrationState(workInProgress2) ? prepareToHydrateHostInstance(workInProgress2, current) : (current = resolveSingletonInstance(type, newProps, renderLanes2), workInProgress2.stateNode = current, markUpdate(workInProgress2));
1410
1526
  }
1411
1527
  bubbleProperties(workInProgress2);
1528
+ workInProgress2.subtreeFlags &= -33554433;
1412
1529
  return null;
1413
1530
  case 5:
1414
1531
  popHostContext(workInProgress2);
@@ -1420,6 +1537,7 @@
1420
1537
  if (null === workInProgress2.stateNode)
1421
1538
  throw Error(formatProdErrorMessage(166));
1422
1539
  bubbleProperties(workInProgress2);
1540
+ workInProgress2.subtreeFlags &= -33554433;
1423
1541
  return null;
1424
1542
  }
1425
1543
  nextResource = contextStackCursor.current;
@@ -1510,6 +1628,7 @@
1510
1628
  }
1511
1629
  }
1512
1630
  bubbleProperties(workInProgress2);
1631
+ workInProgress2.subtreeFlags &= -33554433;
1513
1632
  preloadInstanceAndSuspendIfNeeded(
1514
1633
  workInProgress2,
1515
1634
  workInProgress2.type,
@@ -1609,11 +1728,11 @@
1609
1728
  bubbleProperties(workInProgress2);
1610
1729
  return null;
1611
1730
  case 4:
1612
- return popHostContainer(), null === current && listenToAllSupportedEvents(workInProgress2.stateNode.containerInfo), bubbleProperties(workInProgress2), null;
1731
+ return popHostContainer(), null === current && listenToAllSupportedEvents(workInProgress2.stateNode.containerInfo), workInProgress2.flags |= 67108864, bubbleProperties(workInProgress2), null;
1613
1732
  case 10:
1614
1733
  return popProvider(workInProgress2.type), bubbleProperties(workInProgress2), null;
1615
1734
  case 19:
1616
- pop(suspenseStackCursor);
1735
+ popSuspenseListContext(workInProgress2);
1617
1736
  newProps = workInProgress2.memoizedState;
1618
1737
  if (null === newProps) return bubbleProperties(workInProgress2), null;
1619
1738
  type = 0 !== (workInProgress2.flags & 128);
@@ -1634,8 +1753,8 @@
1634
1753
  current = renderLanes2;
1635
1754
  for (renderLanes2 = workInProgress2.child; null !== renderLanes2; )
1636
1755
  resetWorkInProgress(renderLanes2, current), renderLanes2 = renderLanes2.sibling;
1637
- push(
1638
- suspenseStackCursor,
1756
+ pushSuspenseListContext(
1757
+ workInProgress2,
1639
1758
  suspenseStackCursor.current & 1 | 2
1640
1759
  );
1641
1760
  isHydrating && pushTreeFork(workInProgress2, newProps.treeForkCount);
@@ -1648,17 +1767,34 @@
1648
1767
  else {
1649
1768
  if (!type)
1650
1769
  if (current = findFirstSuspended(nextResource), null !== current) {
1651
- if (workInProgress2.flags |= 128, type = true, current = current.updateQueue, workInProgress2.updateQueue = current, scheduleRetryEffect(workInProgress2, current), cutOffTailIfNeeded(newProps, true), null === newProps.tail && "hidden" === newProps.tailMode && !nextResource.alternate && !isHydrating)
1770
+ if (workInProgress2.flags |= 128, type = true, current = current.updateQueue, workInProgress2.updateQueue = current, scheduleRetryEffect(workInProgress2, current), cutOffTailIfNeeded(newProps, true), null === newProps.tail && "collapsed" !== newProps.tailMode && "visible" !== newProps.tailMode && !nextResource.alternate && !isHydrating)
1652
1771
  return bubbleProperties(workInProgress2), null;
1653
1772
  } else
1654
1773
  2 * now() - newProps.renderingStartTime > workInProgressRootRenderTargetTime && 536870912 !== renderLanes2 && (workInProgress2.flags |= 128, type = true, cutOffTailIfNeeded(newProps, false), workInProgress2.lanes = 4194304);
1655
1774
  newProps.isBackwards ? (nextResource.sibling = workInProgress2.child, workInProgress2.child = nextResource) : (current = newProps.last, null !== current ? current.sibling = nextResource : workInProgress2.child = nextResource, newProps.last = nextResource);
1656
1775
  }
1657
- if (null !== newProps.tail)
1658
- return current = newProps.tail, newProps.rendering = current, newProps.tail = current.sibling, newProps.renderingStartTime = now(), current.sibling = null, renderLanes2 = suspenseStackCursor.current, push(
1659
- suspenseStackCursor,
1660
- type ? renderLanes2 & 1 | 2 : renderLanes2 & 1
1661
- ), isHydrating && pushTreeFork(workInProgress2, newProps.treeForkCount), current;
1776
+ if (null !== newProps.tail) {
1777
+ current = newProps.tail;
1778
+ a: {
1779
+ for (renderLanes2 = current; null !== renderLanes2; ) {
1780
+ if (null !== renderLanes2.alternate) {
1781
+ renderLanes2 = false;
1782
+ break a;
1783
+ }
1784
+ renderLanes2 = renderLanes2.sibling;
1785
+ }
1786
+ renderLanes2 = true;
1787
+ }
1788
+ newProps.rendering = current;
1789
+ newProps.tail = current.sibling;
1790
+ newProps.renderingStartTime = now();
1791
+ current.sibling = null;
1792
+ nextResource = suspenseStackCursor.current;
1793
+ nextResource = type ? nextResource & 1 | 2 : nextResource & 1;
1794
+ "visible" === newProps.tailMode || "collapsed" === newProps.tailMode || !renderLanes2 || isHydrating ? pushSuspenseListContext(workInProgress2, nextResource) : (renderLanes2 = nextResource, push(suspenseHandlerStackCursor, workInProgress2), push(suspenseStackCursor, renderLanes2), null === shellBoundary && (shellBoundary = workInProgress2));
1795
+ isHydrating && pushTreeFork(workInProgress2, newProps.treeForkCount);
1796
+ return current;
1797
+ }
1662
1798
  bubbleProperties(workInProgress2);
1663
1799
  return null;
1664
1800
  case 22:
@@ -1669,7 +1805,7 @@
1669
1805
  case 25:
1670
1806
  return null;
1671
1807
  case 30:
1672
- return null;
1808
+ return workInProgress2.flags |= 33554432, bubbleProperties(workInProgress2), null;
1673
1809
  }
1674
1810
  throw Error(formatProdErrorMessage(156, workInProgress2.tag));
1675
1811
  }
@@ -1704,7 +1840,7 @@
1704
1840
  current = workInProgress2.flags;
1705
1841
  return current & 65536 ? (workInProgress2.flags = current & -65537 | 128, workInProgress2) : null;
1706
1842
  case 19:
1707
- return pop(suspenseStackCursor), null;
1843
+ return popSuspenseListContext(workInProgress2), current = workInProgress2.flags, current & 65536 ? (workInProgress2.flags = current & -65537 | 128, current = workInProgress2.memoizedState, null !== current && (current.rendering = null, current.tail = null), workInProgress2.flags |= 4, workInProgress2) : null;
1708
1844
  case 4:
1709
1845
  return popHostContainer(), null;
1710
1846
  case 10:
@@ -1742,7 +1878,7 @@
1742
1878
  popSuspenseHandler(interruptedWork);
1743
1879
  break;
1744
1880
  case 19:
1745
- pop(suspenseStackCursor);
1881
+ popSuspenseListContext(interruptedWork);
1746
1882
  break;
1747
1883
  case 10:
1748
1884
  popProvider(interruptedWork.type);